Files
phanpy-cz/assets/pwa-viewport-CJ-1bFP1.js

19 lines
230 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./compose-BR9Aa_dR.js","./ScheduledAtField-C2dSuh6f.js","./ICONS-DaAGffIM.js","./__vite-browser-external-D7Ct-6yo.js"])))=>i.map(i=>d[i]);
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();"AbortSignal"in window&&(AbortSignal.timeout=AbortSignal.timeout||(t=>{const e=new AbortController;return setTimeout(()=>e.abort(),t),e.signal}));"AbortSignal"in window&&!AbortSignal.any&&(AbortSignal.any=function(t){const e=new AbortController,{signal:r}=e;for(const n of t)if(n.aborted)return e.abort(n.reason),r;for(const n of t)n.addEventListener("abort",()=>{e.abort(n.reason)},{signal:r});return r});"URL"in window&&typeof URL.parse!="function"&&(URL.parse=function(t,e){if(!t)return null;try{return e?new URL(t,e):new URL(t)}catch{return null}});function Mi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function qf(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var Ue={},rt={},Et={exports:{}},Ni=Et.exports,vn;function Di(){return vn||(vn=1,(function(t){(function(e,r){t.exports?t.exports=r():e.moo=r()})(Ni,function(){"use strict";var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=typeof new RegExp().sticky=="boolean";function o(_){return _&&r.call(_)==="[object RegExp]"}function a(_){return _&&typeof _=="object"&&!o(_)&&!Array.isArray(_)}function i(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(_){var v=new RegExp("|"+_);return v.exec("").length-1}function l(_){return"("+_+")"}function c(_){if(!_.length)return"(?!)";var v=_.map(function(S){return"(?:"+S+")"}).join("|");return"(?:"+v+")"}function d(_){if(typeof _=="string")return"(?:"+i(_)+")";if(o(_)){if(_.ignoreCase)throw new Error("RegExp /i flag not allowed");if(_.global)throw new Error("RegExp /g flag is implied");if(_.sticky)throw new Error("RegExp /y flag is implied");if(_.multiline)throw new Error("RegExp /m flag is implied");return _.source}else throw new Error("Not a pattern: "+_)}function u(_,v){return _.length>v?_:Array(v-_.length+1).join(" ")+_}function h(_,v){for(var S=_.length,A=0;;){var x=_.lastIndexOf(`
`,S-1);if(x===-1||(A++,S=x,A===v)||S===0)break}var C=A<v?0:S+1;return _.substring(C).split(`
`)}function f(_){for(var v=Object.getOwnPropertyNames(_),S=[],A=0;A<v.length;A++){var x=v[A],C=_[x],k=[].concat(C);if(x==="include"){for(var j=0;j<k.length;j++)S.push({include:k[j]});continue}var M=[];k.forEach(function(R){a(R)?(M.length&&S.push(g(x,M)),S.push(g(x,R)),M=[]):M.push(R)}),M.length&&S.push(g(x,M))}return S}function p(_){for(var v=[],S=0;S<_.length;S++){var A=_[S];if(A.include){for(var x=[].concat(A.include),C=0;C<x.length;C++)v.push({include:x[C]});continue}if(!A.type)throw new Error("Rule has no type: "+JSON.stringify(A));v.push(g(A.type,A))}return v}function g(_,v){if(a(v)||(v={match:v}),v.include)throw new Error("Matching rules cannot also include states");var S={defaultType:_,lineBreaks:!!v.error||!!v.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var A in v)e.call(v,A)&&(S[A]=v[A]);if(typeof S.type=="string"&&_!==S.type)throw new Error("Type transform cannot be a string (type '"+S.type+"' for token '"+_+"')");var x=S.match;return S.match=Array.isArray(x)?x:x?[x]:[],S.match.sort(function(C,k){return o(C)&&o(k)?0:o(k)?-1:o(C)?1:k.length-C.length}),S}function m(_){return Array.isArray(_)?p(_):f(_)}var y=g("error",{lineBreaks:!0,shouldThrow:!0});function w(_,v){for(var S=null,A=Object.create(null),x=!0,C=null,k=[],j=[],M=0;M<_.length;M++)_[M].fallback&&(x=!1);for(var M=0;M<_.length;M++){var R=_[M];if(R.include)throw new Error("Inheritance is not allowed in stateless lexers");if(R.error||R.fallback){if(S)throw!R.fallback==!S.fallback?new Error("Multiple "+(R.fallback?"fallback":"error")+" rules not allowed (for token '"+R.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+R.defaultType+"')");S=R}var G=R.match.slice();if(x)for(;G.length&&typeof G[0]=="string"&&G[0].length===1;){var Se=G.shift();A[Se.charCodeAt(0)]=R}if(R.pop||R.push||R.next){if(!v)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+R.defaultType+"')");if(R.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+R.defaultType+"')")}if(G.length!==0){x=!1,k.push(R);for(var Ee=0;Ee<G.length;Ee++){var Ae=G[Ee];if(o(Ae)){if(C===null)C=Ae.unicode;else if(C!==Ae.unicode&&R.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Ne=c(G.map(d)),Q=new RegExp(Ne);if(Q.test(""))throw new Error("RegExp matches empty string: "+Q);var et=s(Ne);if(et>0)throw new Error("RegExp has capture groups: "+Q+`
Use (?: … ) instead`);if(!R.lineBreaks&&Q.test(`
`))throw new Error("Rule should declare lineBreaks: "+Q);j.push(l(Ne))}}var De=S&&S.fallback,tt=n&&!De?"ym":"gm",yt=n||De?"":"|";C===!0&&(tt+="u");var Ii=new RegExp(c(j)+yt,tt);return{regexp:Ii,groups:k,fast:A,error:S||y}}function b(_){var v=w(m(_));return new D({start:v},"start")}function L(_,v,S){var A=_&&(_.push||_.next);if(A&&!S[A])throw new Error("Missing state '"+A+"' (in token '"+_.defaultType+"' of state '"+v+"')");if(_&&_.pop&&+_.pop!=1)throw new Error("pop must be 1 (in token '"+_.defaultType+"' of state '"+v+"')")}function O(_,v){var S=_.$all?m(_.$all):[];delete _.$all;var A=Object.getOwnPropertyNames(_);v||(v=A[0]);for(var x=Object.create(null),C=0;C<A.length;C++){var k=A[C];x[k]=m(_[k]).concat(S)}for(var C=0;C<A.length;C++)for(var k=A[C],j=x[k],M=Object.create(null),R=0;R<j.length;R++){var G=j[R];if(G.include){var Se=[R,1];if(G.include!==k&&!M[G.include]){M[G.include]=!0;var Ee=x[G.include];if(!Ee)throw new Error("Cannot include nonexistent state '"+G.include+"' (in state '"+k+"')");for(var Ae=0;Ae<Ee.length;Ae++){var Ne=Ee[Ae];j.indexOf(Ne)===-1&&Se.push(Ne)}}j.splice.apply(j,Se),R--}}for(var Q=Object.create(null),C=0;C<A.length;C++){var k=A[C];Q[k]=w(x[k],!0)}for(var C=0;C<A.length;C++){for(var et=A[C],De=Q[et],tt=De.groups,R=0;R<tt.length;R++)L(tt[R],et,Q);for(var yt=Object.getOwnPropertyNames(De.fast),R=0;R<yt.length;R++)L(De.fast[yt[R]],et,Q)}return new D(Q,v)}function F(_){for(var v=typeof Map<"u",S=v?new Map:Object.create(null),A=Object.getOwnPropertyNames(_),x=0;x<A.length;x++){var C=A[x],k=_[C],j=Array.isArray(k)?k:[k];j.forEach(function(M){if(typeof M!="string")throw new Error("keyword must be string (in keyword '"+C+"')");v?S.set(M,C):S[M]=C})}return function(M){return v?S.get(M):S[M]}}var D=function(_,v){this.startState=v,this.states=_,this.buffer="",this.stack=[],this.reset()};D.prototype.reset=function(_,v){return this.buffer=_||"",this.index=0,this.line=v?v.line:1,this.col=v?v.col:1,this.queuedToken=v?v.queuedToken:null,this.queuedText=v?v.queuedText:"",this.queuedThrow=v?v.queuedThrow:null,this.setState(v?v.state:this.startState),this.stack=v&&v.stack?v.stack.slice():[],this},D.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},D.prototype.setState=function(_){if(!(!_||this.state===_)){this.state=_;var v=this.states[_];this.groups=v.groups,this.error=v.error,this.re=v.regexp,this.fast=v.fast}},D.prototype.popState=function(){this.setState(this.stack.pop())},D.prototype.pushState=function(_){this.stack.push(this.state),this.setState(_)};var oe=n?function(_,v){return _.exec(v)}:function(_,v){var S=_.exec(v);return S[0].length===0?null:S};D.prototype._getGroup=function(_){for(var v=this.groups.length,S=0;S<v;S++)if(_[S+1]!==void 0)return this.groups[S];throw new Error("Cannot find token type for matched text")};function J(){return this.value}if(D.prototype.next=function(){var _=this.index;if(this.queuedGroup){var v=this._token(this.queuedGroup,this.queuedText,_);return this.queuedGroup=null,this.queuedText="",v}var S=this.buffer;if(_!==S.length){var k=this.fast[S.charCodeAt(_)];if(k)return this._token(k,S.charAt(_),_);var A=this.re;A.lastIndex=_;var x=oe(A,S),C=this.error;if(x==null)return this._token(C,S.slice(_,S.length),_);var k=this._getGroup(x),j=x[0];return C.fallback&&x.index!==_?(this.queuedGroup=k,this.queuedText=j,this._token(C,S.slice(_,x.index),_)):this._token(k,j,_)}},D.prototype._token=function(_,v,S){var A=0;if(_.lineBreaks){var x=/\n/g,C=1;if(v===`
`)A=1;else for(;x.exec(v);)A++,C=x.lastIndex}var k={type:typeof _.type=="function"&&_.type(v)||_.defaultType,value:typeof _.value=="function"?_.value(v):v,text:v,toString:J,offset:S,lineBreaks:A,line:this.line,col:this.col},j=v.length;if(this.index+=j,this.line+=A,A!==0?this.col=j-C+1:this.col+=j,_.shouldThrow){var M=new Error(this.formatError(k,"invalid syntax"));throw M}return _.pop?this.popState():_.push?this.pushState(_.push):_.next&&this.setState(_.next),k},typeof Symbol<"u"&&Symbol.iterator){var $=function(_){this.lexer=_};$.prototype.next=function(){var _=this.lexer.next();return{value:_,done:!_}},$.prototype[Symbol.iterator]=function(){return this},D.prototype[Symbol.iterator]=function(){return new $(this)}}return D.prototype.formatError=function(_,v){if(_==null)var S=this.buffer.slice(this.index),_={text:S,offset:this.index,lineBreaks:S.indexOf(`
`)===-1?0:1,line:this.line,col:this.col};var A=2,x=Math.max(_.line-A,1),C=_.line+A,k=String(C).length,j=h(this.buffer,this.line-_.line+A+1).slice(0,5),M=[];M.push(v+" at line "+_.line+" col "+_.col+":"),M.push("");for(var R=0;R<j.length;R++){var G=j[R],Se=x+R;M.push(u(String(Se),k)+" "+G),Se===_.line&&M.push(u("",k+_.col+1)+"^")}return M.join(`
`)},D.prototype.clone=function(){return new D(this.states,this.state)},D.prototype.has=function(_){return!0},{compile:b,states:O,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:F}})})(Et)),Et.exports}var bn;function Ui(){return bn||(bn=1,(function(t){"use strict";var e=rt&&rt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(t,"__esModule",{value:!0}),t.lexer=t.states=void 0;const r=e(Di());t.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:n=>n.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:n=>n.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:n=>n.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:n=>n.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:n=>n.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:n=>n.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:n=>n.substring(0,n.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},t.lexer=r.default.states(t.states)})(rt)),rt}var Sn;function Fi(){if(Sn)return Ue;Sn=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.ParseError=void 0,Ue.parse=l;const t=Ui(),e=c=>({offset:c.offset,line:c.line,col:c.col,text:c.text,lineBreaks:c.lineBreaks}),r=c=>c==="plural"||c==="select"||c==="selectordinal";function n(c,d){let u="",h="";for(const p of d){const g=p.ctx.text;switch(h+=g,p.type){case"content":u+=p.value;break;case"argument":case"function":case"octothorpe":u+=g;break;default:throw new i(c,`Unsupported part in strict mode function arg style: ${g}`)}}return[{type:"content",value:u.trim(),ctx:Object.assign({},d[0].ctx,{text:h})}]}const o=["number","date","time","spellout","ordinal","duration"],a=["zero","one","two","few","many","other"];class i extends Error{constructor(d,u){super(t.lexer.formatError(d,u))}}Ue.ParseError=i;class s{constructor(d,u){var h,f,p,g;this.lexer=t.lexer.reset(d),this.cardinalKeys=(h=u?.cardinal)!==null&&h!==void 0?h:a,this.ordinalKeys=(f=u?.ordinal)!==null&&f!==void 0?f:a,this.strict=(p=u?.strict)!==null&&p!==void 0?p:!1,this.strictPluralKeys=(g=u?.strictPluralKeys)!==null&&g!==void 0?g:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(d,u,h){if(h[0]==="="){if(u==="select")throw new i(d,`The case ${h} is not valid with select`)}else if(u!=="select"){const f=u==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&f.length>0&&!f.includes(h)){const p=`The ${u} case ${h} is not valid in this locale`;throw new i(d,p)}}}parseSelect({value:d},u,h,f){const p={type:f,arg:d,cases:[],ctx:h};f==="plural"||f==="selectordinal"?u=!0:this.strict&&(u=!1);for(const g of this.lexer)switch(g.type){case"offset":if(f==="select")throw new i(g,"Unexpected plural offset for select");if(p.cases.length>0)throw new i(g,"Plural offset must be set before cases");p.pluralOffset=Number(g.value),h.text+=g.text,h.lineBreaks+=g.lineBreaks;break;case"case":{this.checkSelectKey(g,f,g.value),p.cases.push({key:g.value,tokens:this.parseBody(u),ctx:e(g)});break}case"end":return p;default:throw new i(g,`Unexpected lexer token: ${g.type}`)}throw new i(null,"Unexpected message end")}parseArgToken(d,u){const h=e(d),f=this.lexer.next();if(!f)throw new i(null,"Unexpected message end");if(h.text+=f.text,h.lineBreaks+=f.lineBreaks,this.strict&&(f.type==="func-simple"||f.type==="func-args")&&!o.includes(f.value)){const p=`Invalid strict mode function arg type: ${f.value}`;throw new i(d,p)}switch(f.type){case"end":return{type:"argument",arg:d.value,ctx:h};case"func-simple":{const p=this.lexer.next();if(!p)throw new i(null,"Unexpected message end");if(p.type!=="end")throw new i(p,`Unexpected lexer token: ${p.type}`);if(h.text+=p.text,r(f.value.toLowerCase()))throw new i(f,`Invalid type identifier: ${f.value}`);return{type:"function",arg:d.value,key:f.value,ctx:h}}case"func-args":{if(r(f.value.toLowerCase())){const g=`Invalid type identifier: ${f.value}`;throw new i(f,g)}let p=this.parseBody(this.strict?!1:u);return this.strict&&p.length>0&&(p=n(d,p)),{type:"function",arg:d.value,key:f.value,param:p,ctx:h}}case"select":if(r(f.value))return this.parseSelect(d,u,h,f.value);throw new i(f,`Unexpected select type ${f.value}`);default:throw new i(f,`Unexpected lexer token: ${f.type}`)}}parseBody(d,u){const h=[];let f=null;for(const p of this.lexer)if(p.type==="argument")f&&(f=null),h.push(this.parseArgToken(p,d));else if(p.type==="octothorpe"&&d)f&&(f=null),h.push({type:"octothorpe",ctx:e(p)});else{if(p.type==="end"&&!u)return h;{let g=p.value;if(!d&&p.type==="quoted"&&g[0]==="#"){if(g.includes("{")){const m=`Unsupported escape pattern: ${g}`;throw new i(p,m)}g=p.text}f?(f.value+=g,f.ctx.text+=p.text,f.ctx.lineBreaks+=p.lineBreaks):(f={type:"content",value:g,ctx:e(p)},h.push(f))}}if(u)return h;throw new i(null,"Unexpected message end")}}function l(c,d={}){return new s(c,d).parse()}return Ue}var $f=Fi();const pe=t=>typeof t=="string",ji=t=>typeof t=="function",En=new Map,Bo="en";function Mr(t){return[...Array.isArray(t)?t:[t],Bo]}function Nr(t,e,r){const n=Mr(t);r||(r="default");let o;if(typeof r=="string")switch(o={day:"numeric",month:"short",year:"numeric"},r){case"full":o.weekday="long";case"long":o.month="long";break;case"short":o.month="numeric";break}else o=r;return xt(()=>Ot("date",n,r),()=>new Intl.DateTimeFormat(n,o)).format(pe(e)?new Date(e):e)}function Bi(t,e,r){let n;if(r||(r="default"),typeof r=="string")switch(n={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}else n=r;return Nr(t,e,n)}function fr(t,e,r){const n=Mr(t);return xt(()=>Ot("number",n,r),()=>new Intl.NumberFormat(n,r)).format(e)}function An(t,e,r,{offset:n=0,...o}){const a=Mr(t),i=e?xt(()=>Ot("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):xt(()=>Ot("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return o[r]??o[i.select(r-n)]??o.other}function xt(t,e){const r=t();let n=En.get(r);return n||(n=e(),En.set(r,n)),n}function Ot(t,e,r){const n=e.join("-");return`${t}-${n}-${JSON.stringify(r)}`}const qo=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,$o=t=>t.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,r,n)=>{if(r){const o=parseInt(r,16);return String.fromCharCode(o)}else{const o=parseInt(n,16);return String.fromCharCode(o)}}),Ho="%__lingui_octothorpe__%",qi=(t,e,r={})=>{const n=e||t,o=i=>typeof i=="object"?i:r[i],a=(i,s)=>{const l=Object.keys(r).length?o("number"):void 0,c=fr(n,i,l);return s.replace(new RegExp(Ho,"g"),c)};return{plural:(i,s)=>{const{offset:l=0}=s,c=An(n,!1,i,s);return a(i-l,c)},selectordinal:(i,s)=>{const{offset:l=0}=s,c=An(n,!0,i,s);return a(i-l,c)},select:$i,number:(i,s)=>fr(n,i,o(s)||{style:s}),date:(i,s)=>Nr(n,i,o(s)||s),time:(i,s)=>Bi(n,i,o(s)||s)}},$i=(t,e)=>e[t]??e.other;function Hi(t,e,r){return(n={},o)=>{const a=qi(e,r,o),i=(l,c=!1)=>Array.isArray(l)?l.reduce((d,u)=>{if(u==="#"&&c)return d+Ho;if(pe(u))return d+u;const[h,f,p]=u;let g={};f==="plural"||f==="selectordinal"||f==="select"?Object.entries(p).forEach(([y,w])=>{g[y]=i(w,f==="plural"||f==="selectordinal")}):g=p;let m;if(f){const y=a[f];m=y(n[h],g)}else m=n[h];return m==null?d:d+m},""):l,s=i(t);return pe(s)&&qo.test(s)?$o(s):pe(s)?s:s?String(s):""}}var zi=Object.defineProperty,Gi=(t,e,r)=>e in t?zi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Vi=(t,e,r)=>(Gi(t,typeof e!="symbol"?e+"":e,r),r);let Wi=class{constructor(){Vi(this,"_events",{})}on(e,r){var n;return(n=this._events)[e]??(n[e]=[]),this._events[e].push(r),()=>this.removeListener(e,r)}removeListener(e,r){const n=this._getListeners(e);if(!n)return;const o=n.indexOf(r);~o&&n.splice(o,1)}emit(e,...r){const n=this._getListeners(e);n&&n.map(o=>o.apply(this,r))}_getListeners(e){const r=this._events[e];return Array.isArray(r)?r:!1}};var Ki=Object.defineProperty,Yi=(t,e,r)=>e in t?Ki(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Pe=(t,e,r)=>(Yi(t,typeof e!="symbol"?e+"":e,r),r);class Zi extends Wi{constructor(e){super(),Pe(this,"_locale",""),Pe(this,"_locales"),Pe(this,"_localeData",{}),Pe(this,"_messages",{}),Pe(this,"_missing"),Pe(this,"_messageCompiler"),Pe(this,"t",this._.bind(this)),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),e.localeData!=null&&this.loadLocaleData(e.localeData),(typeof e.locale=="string"||e.locales)&&this.activate(e.locale??Bo,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(e,r){const n=this._localeData[e];n?Object.assign(n,r):this._localeData[e]=r}setMessagesCompiler(e){return this._messageCompiler=e,this}loadLocaleData(e,r){typeof e=="string"?this._loadLocaleData(e,r):Object.keys(e).forEach(n=>this._loadLocaleData(n,e[n])),this.emit("change")}_load(e,r){const n=this._messages[e];n?Object.assign(n,r):this._messages[e]=r}load(e,r){typeof e=="string"&&typeof r=="object"?this._load(e,r):Object.entries(e).forEach(([n,o])=>this._load(n,o)),this.emit("change")}loadAndActivate({locale:e,locales:r,messages:n}){this._locale=e,this._locales=r||void 0,this._messages[this._locale]=n,this.emit("change")}activate(e,r){this._locale=e,this._locales=r,this.emit("change")}_(e,r,n){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let o=n?.message;e||(e=""),pe(e)||(r=e.values||r,o=e.message,e=e.id);const a=this.messages[e],i=a===void 0,s=this._missing;if(s&&i)return ji(s)?s(this._locale,e):s;i&&this.emit("missing",{id:e,locale:this._locale});let l=a||o||e;return pe(l)&&(this._messageCompiler?l=this._messageCompiler(l):console.warn(`Uncompiled message detected! Message:
> ${l}
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
ICU features such as interpolation and plurals will not work properly for that message.
Please compile your catalog first.
`)),pe(l)&&qo.test(l)?$o(l):pe(l)?l:Hi(l,this._locale,this._locales)(r,n?.formats)}date(e,r){return Nr(this._locales||this._locale,e,r)}number(e,r){return fr(this._locales||this._locale,e,r)}}function Ji(t={}){return new Zi(t)}const $e=Ji();var pt,T,zo,Qi,Ce,Pn,Go,Vo,Wo,Dr,hr,pr,Ko,ct={},Yo=[],Xi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,mt=Array.isArray;function X(t,e){for(var r in e)t[r]=e[r];return t}function Ur(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function N(t,e,r){var n,o,a,i={};for(a in e)a=="key"?n=e[a]:a=="ref"?o=e[a]:i[a]=e[a];if(arguments.length>2&&(i.children=arguments.length>3?pt.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(a in t.defaultProps)i[a]===void 0&&(i[a]=t.defaultProps[a]);return it(t,i,n,o,null)}function it(t,e,r,n,o){var a={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++zo,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(a),a}function Zo(){return{current:null}}function Z(t){return t.children}function Y(t,e){this.props=t,this.context=e}function We(t,e){if(e==null)return t.__?We(t.__,t.__i+1):null;for(var r;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?We(t):null}function Jo(t){var e,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return Jo(t)}}function mr(t){(!t.__d&&(t.__d=!0)&&Ce.push(t)&&!kt.__r++||Pn!=T.debounceRendering)&&((Pn=T.debounceRendering)||Go)(kt)}function kt(){for(var t,e,r,n,o,a,i,s=1;Ce.length;)Ce.length>s&&Ce.sort(Vo),t=Ce.shift(),s=Ce.length,t.__d&&(r=void 0,n=void 0,o=(n=(e=t).__v).__e,a=[],i=[],e.__P&&((r=X({},n)).__v=n.__v+1,T.vnode&&T.vnode(r),Fr(e.__P,r,n,e.__n,e.__P.namespaceURI,32&n.__u?[o]:null,a,o??We(n),!!(32&n.__u),i),r.__v=n.__v,r.__.__k[r.__i]=r,ea(a,r,i),n.__e=n.__=null,r.__e!=o&&Jo(r)));kt.__r=0}function Qo(t,e,r,n,o,a,i,s,l,c,d){var u,h,f,p,g,m,y,w=n&&n.__k||Yo,b=e.length;for(l=es(r,e,w,l,b),u=0;u<b;u++)(f=r.__k[u])!=null&&(h=f.__i==-1?ct:w[f.__i]||ct,f.__i=u,m=Fr(t,f,h,o,a,i,s,l,c,d),p=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&jr(h.ref,null,f),d.push(f.ref,f.__c||p,f)),g==null&&p!=null&&(g=p),(y=!!(4&f.__u))||h.__k===f.__k?l=Xo(f,l,t,y):typeof f.type=="function"&&m!==void 0?l=m:p&&(l=p.nextSibling),f.__u&=-7);return r.__e=g,l}function es(t,e,r,n,o){var a,i,s,l,c,d=r.length,u=d,h=0;for(t.__k=new Array(o),a=0;a<o;a++)(i=e[a])!=null&&typeof i!="boolean"&&typeof i!="function"?(l=a+h,(i=t.__k[a]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?it(null,i,null,null,null):mt(i)?it(Z,{children:i},null,null,null):i.constructor==null&&i.__b>0?it(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=t,i.__b=t.__b+1,s=null,(c=i.__i=ts(i,r,l,u))!=-1&&(u--,(s=r[c])&&(s.__u|=2)),s==null||s.__v==null?(c==-1&&(o>d?h--:o<d&&h++),typeof i.type!="function"&&(i.__u|=4)):c!=l&&(c==l-1?h--:c==l+1?h++:(c>l?h--:h++,i.__u|=4))):t.__k[a]=null;if(u)for(a=0;a<d;a++)(s=r[a])!=null&&(2&s.__u)==0&&(s.__e==n&&(n=We(s)),ra(s,s));return n}function Xo(t,e,r,n){var o,a;if(typeof t.type=="function"){for(o=t.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=t,e=Xo(o[a],e,r,n));return e}t.__e!=e&&(n&&(e&&t.type&&!e.parentNode&&(e=We(t)),r.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function ie(t,e){return e=e||[],t==null||typeof t=="boolean"||(mt(t)?t.some(function(r){ie(r,e)}):e.push(t)),e}function ts(t,e,r,n){var o,a,i,s=t.key,l=t.type,c=e[r],d=c!=null&&(2&c.__u)==0;if(c===null&&t.key==null||d&&s==c.key&&l==c.type)return r;if(n>(d?1:0)){for(o=r-1,a=r+1;o>=0||a<e.length;)if((c=e[i=o>=0?o--:a++])!=null&&(2&c.__u)==0&&s==c.key&&l==c.type)return i}return-1}function Cn(t,e,r){e[0]=="-"?t.setProperty(e,r??""):t[e]=r==null?"":typeof r!="number"||Xi.test(e)?r:r+"px"}function gt(t,e,r,n,o){var a,i;e:if(e=="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof n=="string"&&(t.style.cssText=n=""),n)for(e in n)r&&e in r||Cn(t.style,e,"");if(r)for(e in r)n&&r[e]==n[e]||Cn(t.style,e,r[e])}else if(e[0]=="o"&&e[1]=="n")a=e!=(e=e.replace(Wo,"$1")),i=e.toLowerCase(),e=i in t||e=="onFocusOut"||e=="onFocusIn"?i.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+a]=r,r?n?r.u=n.u:(r.u=Dr,t.addEventListener(e,a?pr:hr,a)):t.removeEventListener(e,a?pr:hr,a);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&r==1?"":r))}}function Rn(t){return function(e){if(this.l){var r=this.l[e.type+t];if(e.t==null)e.t=Dr++;else if(e.t<r.u)return;return r(T.event?T.event(e):e)}}}function Fr(t,e,r,n,o,a,i,s,l,c){var d,u,h,f,p,g,m,y,w,b,L,O,F,D,oe,J,$,_=e.type;if(e.constructor!=null)return null;128&r.__u&&(l=!!(32&r.__u),a=[s=e.__e=r.__e]),(d=T.__b)&&d(e);e:if(typeof _=="function")try{if(y=e.props,w="prototype"in _&&_.prototype.render,b=(d=_.contextType)&&n[d.__c],L=d?b?b.props.value:d.__:n,r.__c?m=(u=e.__c=r.__c).__=u.__E:(w?e.__c=u=new _(y,L):(e.__c=u=new Y(y,L),u.constructor=_,u.render=ns),b&&b.sub(u),u.props=y,u.state||(u.state={}),u.context=L,u.__n=n,h=u.__d=!0,u.__h=[],u._sb=[]),w&&u.__s==null&&(u.__s=u.state),w&&_.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=X({},u.__s)),X(u.__s,_.getDerivedStateFromProps(y,u.__s))),f=u.props,p=u.state,u.__v=e,h)w&&_.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),w&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(w&&_.getDerivedStateFromProps==null&&y!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(y,L),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(y,u.__s,L)===!1||e.__v==r.__v){for(e.__v!=r.__v&&(u.props=y,u.state=u.__s,u.__d=!1),e.__e=r.__e,e.__k=r.__k,e.__k.some(function(v){v&&(v.__=e)}),O=0;O<u._sb.length;O++)u.__h.push(u._sb[O]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(y,u.__s,L),w&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,p,g)})}if(u.context=L,u.props=y,u.__P=t,u.__e=!1,F=T.__r,D=0,w){for(u.state=u.__s,u.__d=!1,F&&F(e),d=u.render(u.props,u.state,u.context),oe=0;oe<u._sb.length;oe++)u.__h.push(u._sb[oe]);u._sb=[]}else do u.__d=!1,F&&F(e),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++D<25);u.state=u.__s,u.getChildContext!=null&&(n=X(X({},n),u.getChildContext())),w&&!h&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(f,p)),J=d,d!=null&&d.type===Z&&d.key==null&&(J=ta(d.props.children)),s=Qo(t,mt(J)?J:[J],e,r,n,o,a,i,s,l,c),u.base=e.__e,e.__u&=-161,u.__h.length&&i.push(u),m&&(u.__E=u.__=null)}catch(v){if(e.__v=null,l||a!=null)if(v.then){for(e.__u|=l?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,e.__e=s}else{for($=a.length;$--;)Ur(a[$]);_r(e)}else e.__e=r.__e,e.__k=r.__k,v.then||_r(e);T.__e(v,e,r)}else a==null&&e.__v==r.__v?(e.__k=r.__k,e.__e=r.__e):s=e.__e=rs(r.__e,e,r,n,o,a,i,l,c);return(d=T.diffed)&&d(e),128&e.__u?void 0:s}function _r(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(_r)}function ea(t,e,r){for(var n=0;n<r.length;n++)jr(r[n],r[++n],r[++n]);T.__c&&T.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(a){a.call(o)})}catch(a){T.__e(a,o.__v)}})}function ta(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:mt(t)?t.map(ta):X({},t)}function rs(t,e,r,n,o,a,i,s,l){var c,d,u,h,f,p,g,m=r.props,y=e.props,w=e.type;if(w=="svg"?o="http://www.w3.org/2000/svg":w=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(c=0;c<a.length;c++)if((f=a[c])&&"setAttribute"in f==!!w&&(w?f.localName==w:f.nodeType==3)){t=f,a[c]=null;break}}if(t==null){if(w==null)return document.createTextNode(y);t=document.createElementNS(o,w,y.is&&y),s&&(T.__m&&T.__m(e,a),s=!1),a=null}if(w==null)m===y||s&&t.data==y||(t.data=y);else{if(a=a&&pt.call(t.childNodes),m=r.props||ct,!s&&a!=null)for(m={},c=0;c<t.attributes.length;c++)m[(f=t.attributes[c]).name]=f.value;for(c in m)if(f=m[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=f;else if(!(c in y)){if(c=="value"&&"defaultValue"in y||c=="checked"&&"defaultChecked"in y)continue;gt(t,c,null,f,o)}}for(c in y)f=y[c],c=="children"?h=f:c=="dangerouslySetInnerHTML"?d=f:c=="value"?p=f:c=="checked"?g=f:s&&typeof f!="function"||m[c]===f||gt(t,c,f,m[c],o);if(d)s||u&&(d.__html==u.__html||d.__html==t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(u&&(t.innerHTML=""),Qo(e.type=="template"?t.content:t,mt(h)?h:[h],e,r,n,w=="foreignObject"?"http://www.w3.org/1999/xhtml":o,a,i,a?a[0]:r.__k&&We(r,0),s,l),a!=null)for(c=a.length;c--;)Ur(a[c]);s||(c="value",w=="progress"&&p==null?t.removeAttribute("value"):p!=null&&(p!==t[c]||w=="progress"&&!p||w=="option"&&p!=m[c])&&gt(t,c,p,m[c],o),c="checked",g!=null&&g!=t[c]&&gt(t,c,g,m[c],o))}return t}function jr(t,e,r){try{if(typeof t=="function"){var n=typeof t.__u=="function";n&&t.__u(),n&&e==null||(t.__u=t(e))}else t.current=e}catch(o){T.__e(o,r)}}function ra(t,e,r){var n,o;if(T.unmount&&T.unmount(t),(n=t.ref)&&(n.current&&n.current!=t.__e||jr(n,null,e)),(n=t.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){T.__e(a,e)}n.base=n.__P=null}if(n=t.__k)for(o=0;o<n.length;o++)n[o]&&ra(n[o],e,r||typeof t.type!="function");r||Ur(t.__e),t.__c=t.__=t.__e=void 0}function ns(t,e,r){return this.constructor(t,r)}function ut(t,e,r){var n,o,a,i;e==document&&(e=document.documentElement),T.__&&T.__(t,e),o=(n=typeof r=="function")?null:r&&r.__k||e.__k,a=[],i=[],Fr(e,t=(!n&&r||e).__k=N(Z,null,[t]),o||ct,ct,e.namespaceURI,!n&&r?[r]:o?null:e.firstChild?pt.call(e.childNodes):null,a,!n&&r?r:o?o.__e:e.firstChild,n,i),ea(a,t,i)}function na(t,e){ut(t,e,na)}function os(t,e,r){var n,o,a,i,s=X({},t.props);for(a in t.type&&t.type.defaultProps&&(i=t.type.defaultProps),e)a=="key"?n=e[a]:a=="ref"?o=e[a]:s[a]=e[a]===void 0&&i!=null?i[a]:e[a];return arguments.length>2&&(s.children=arguments.length>3?pt.call(arguments,2):r),it(t.type,s,n||t.key,o||t.ref,null)}function ce(t){function e(r){var n,o;return this.getChildContext||(n=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!=a.value&&n.forEach(function(i){i.__e=!0,mr(i)})},this.sub=function(a){n.add(a);var i=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.delete(a),i&&i.call(a)}}),r.children}return e.__c="__cC"+Ko++,e.__=t,e.Provider=e.__l=(e.Consumer=function(r,n){return r.children(n)}).contextType=e,e}pt=Yo.slice,T={__e:function(t,e,r,n){for(var o,a,i;e=e.__;)if((o=e.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(t)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,n||{}),i=o.__d),i)return o.__E=o}catch(s){t=s}throw t}},zo=0,Qi=function(t){return t!=null&&t.constructor==null},Y.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=X({},this.state),typeof t=="function"&&(t=t(X({},r),this.props)),t&&X(r,t),t!=null&&this.__v&&(e&&this._sb.push(e),mr(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),mr(this))},Y.prototype.render=Z,Ce=[],Go=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vo=function(t,e){return t.__v.__b-e.__v.__b},kt.__r=0,Wo=/(PointerCapture)$|Capture$/i,Dr=0,hr=Rn(!1),pr=Rn(!0),Ko=0;var se,U,Jt,Tn,Ke=0,oa=[],B=T,Ln=B.__b,xn=B.__r,On=B.diffed,kn=B.__c,In=B.unmount,Mn=B.__;function xe(t,e){B.__h&&B.__h(U,t,Ke||e),Ke=0;var r=U.__H||(U.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({}),r.__[t]}function le(t){return Ke=1,Gt(aa,t)}function Gt(t,e,r){var n=xe(se++,2);if(n.t=t,!n.__c&&(n.__=[r?r(e):aa(void 0,e),function(s){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,s);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=U,!U.__f)){var o=function(s,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!a||a.call(this,s,l,c);var u=n.__c.props!==s;return d.forEach(function(h){if(h.__N){var f=h.__[0];h.__=h.__N,h.__N=void 0,f!==h.__[0]&&(u=!0)}}),a&&a.call(this,s,l,c)||u};U.__f=!0;var a=U.shouldComponentUpdate,i=U.componentWillUpdate;U.componentWillUpdate=function(s,l,c){if(this.__e){var d=a;a=void 0,o(s,l,c),a=d}i&&i.call(this,s,l,c)},U.shouldComponentUpdate=o}return n.__N||n.__}function Oe(t,e){var r=xe(se++,3);!B.__s&&$r(r.__H,e)&&(r.__=t,r.u=e,U.__H.__h.push(r))}function ue(t,e){var r=xe(se++,4);!B.__s&&$r(r.__H,e)&&(r.__=t,r.u=e,U.__h.push(r))}function we(t){return Ke=5,ne(function(){return{current:t}},[])}function Br(t,e,r){Ke=6,ue(function(){if(typeof t=="function"){var n=t(e());return function(){t(null),n&&typeof n=="function"&&n()}}if(t)return t.current=e(),function(){return t.current=null}},r==null?r:r.concat(t))}function ne(t,e){var r=xe(se++,7);return $r(r.__H,e)&&(r.__=t(),r.__H=e,r.__h=t),r.__}function ye(t,e){return Ke=8,ne(function(){return t},e)}function V(t){var e=U.context[t.__c],r=xe(se++,9);return r.c=t,e?(r.__==null&&(r.__=!0,e.sub(U)),e.props.value):t.__}function Vt(t,e){B.useDebugValue&&B.useDebugValue(e?e(t):t)}function as(t){var e=xe(se++,10),r=le();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(n,o){e.__&&e.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function qr(){var t=xe(se++,11);if(!t.__){for(var e=U.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var r=e.__m||(e.__m=[0,0]);t.__="P"+r[0]+"-"+r[1]++}return t.__}function is(){for(var t;t=oa.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(At),t.__H.__h.forEach(yr),t.__H.__h=[]}catch(e){t.__H.__h=[],B.__e(e,t.__v)}}B.__b=function(t){U=null,Ln&&Ln(t)},B.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Mn&&Mn(t,e)},B.__r=function(t){xn&&xn(t),se=0;var e=(U=t.__c).__H;e&&(Jt===U?(e.__h=[],U.__h=[],e.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(e.__h.forEach(At),e.__h.forEach(yr),e.__h=[],se=0)),Jt=U},B.diffed=function(t){On&&On(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(oa.push(e)!==1&&Tn===B.requestAnimationFrame||((Tn=B.requestAnimationFrame)||ss)(is)),e.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Jt=U=null},B.__c=function(t,e){e.some(function(r){try{r.__h.forEach(At),r.__h=r.__h.filter(function(n){return!n.__||yr(n)})}catch(n){e.some(function(o){o.__h&&(o.__h=[])}),e=[],B.__e(n,r.__v)}}),kn&&kn(t,e)},B.unmount=function(t){In&&In(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{At(n)}catch(o){e=o}}),r.__H=void 0,e&&B.__e(e,r.__v))};var Nn=typeof requestAnimationFrame=="function";function ss(t){var e,r=function(){clearTimeout(n),Nn&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(r,35);Nn&&(e=requestAnimationFrame(r))}function At(t){var e=U,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),U=e}function yr(t){var e=U;t.__c=t.__(),U=e}function $r(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function aa(t,e){return typeof e=="function"?e(t):e}function ia(t,e){for(var r in e)t[r]=e[r];return t}function gr(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function Wt(t,e){var r=e(),n=le({t:{__:r,u:e}}),o=n[0].t,a=n[1];return ue(function(){o.__=r,o.u=e,Qt(o)&&a({t:o})},[t,r,e]),Oe(function(){return Qt(o)&&a({t:o}),t(function(){Qt(o)&&a({t:o})})},[t]),r}function Qt(t){var e,r,n=t.u,o=t.__;try{var a=n();return!((e=o)===(r=a)&&(e!==0||1/e==1/r)||e!=e&&r!=r)}catch{return!0}}function Hr(t){t()}function zr(t){return t}function Gr(){return[!1,Hr]}var Vr=ue;function It(t,e){this.props=t,this.context=e}function Wr(t,e){function r(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),e?!e(this.props,o)||!i:gr(this.props,o)}function n(o){return this.shouldComponentUpdate=r,N(t,o)}return n.displayName="Memo("+(t.displayName||t.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n.type=t,n}(It.prototype=new Y).isPureReactComponent=!0,It.prototype.shouldComponentUpdate=function(t,e){return gr(this.props,t)||gr(this.state,e)};var Dn=T.__b;T.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Dn&&Dn(t)};var ls=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function sa(t){function e(r){var n=ia({},r);return delete n.ref,t(n,r.ref||null)}return e.$$typeof=ls,e.render=t,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Un=function(t,e){return t==null?null:ie(ie(t).map(e))},Kr={map:Un,forEach:Un,count:function(t){return t?ie(t).length:0},only:function(t){var e=ie(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:ie},cs=T.__e;T.__e=function(t,e,r,n){if(t.then){for(var o,a=e;a=a.__;)if((o=a.__c)&&o.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),o.__c(t,e)}cs(t,e,r,n)};var Fn=T.unmount;function la(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),t.__c.__H=null),(t=ia({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=e),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(n){return la(n,e,r)})),t}function ca(t,e,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(n){return ca(n,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}function st(){this.__u=0,this.o=null,this.__b=null}function ua(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function da(t){var e,r,n;function o(a){if(e||(e=t()).then(function(i){r=i.default||i},function(i){n=i}),n)throw n;if(!r)throw e;return N(r,a)}return o.displayName="Lazy",o.__f=!0,o}function je(){this.i=null,this.l=null}T.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Fn&&Fn(t)},(st.prototype=new Y).__c=function(t,e){var r=e.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var o=ua(n.__v),a=!1,i=function(){a||(a=!0,r.__R=null,o?o(s):s())};r.__R=i;var s=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=ca(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(i,i)},st.prototype.componentWillUnmount=function(){this.o=[]},st.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=la(this.__b,r,n.__O=n.__P)}this.__b=null}var o=e.__a&&N(Z,null,t.fallback);return o&&(o.__u&=-33),[N(Z,null,e.__a?null:t.children),o]};var jn=function(t,e,r){if(++r[1]===r[0]&&t.l.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.l.size))for(r=t.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.i=r=r[2]}};function us(t){return this.getChildContext=function(){return t.context},t.children}function ds(t){var e=this,r=t.h;if(e.componentWillUnmount=function(){ut(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),!e.v){for(var n=e.__v;n!==null&&!n.__m&&n.__!==null;)n=n.__;e.h=r,e.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:n.__m},contains:function(){return!0},insertBefore:function(o,a){this.childNodes.push(o),e.h.insertBefore(o,a)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),e.h.removeChild(o)}}}ut(N(us,{context:e.context},t.__v),e.v)}function fa(t,e){var r=N(ds,{__v:t,h:e});return r.containerInfo=e,r}(je.prototype=new Y).__a=function(t){var e=this,r=ua(e.__v),n=e.l.get(t);return n[0]++,function(o){var a=function(){e.props.revealOrder?(n.push(o),jn(e,t,n)):o()};r?r(a):a()}},je.prototype.render=function(t){this.i=null,this.l=new Map;var e=ie(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.l.set(e[r],this.i=[1,0,this.i]);return t.children},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var t=this;this.l.forEach(function(e,r){jn(t,r,e)})};var ha=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,fs=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,hs=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ps=/[A-Z0-9]/g,ms=typeof document<"u",_s=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function pa(t,e,r){return e.__k==null&&(e.textContent=""),ut(t,e),typeof r=="function"&&r(),t?t.__c:null}function ma(t,e,r){return na(t,e),typeof r=="function"&&r(),t?t.__c:null}Y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(Y.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Bn=T.event;function ys(){}function gs(){return this.cancelBubble}function ws(){return this.defaultPrevented}T.event=function(t){return Bn&&(t=Bn(t)),t.persist=ys,t.isPropagationStopped=gs,t.isDefaultPrevented=ws,t.nativeEvent=t};var Yr,vs={enumerable:!1,configurable:!0,get:function(){return this.class}},qn=T.vnode;T.vnode=function(t){typeof t.type=="string"&&(function(e){var r=e.props,n=e.type,o={},a=n.indexOf("-")===-1;for(var i in r){var s=r[i];if(!(i==="value"&&"defaultValue"in r&&s==null||ms&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||_s(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":hs.test(i)&&(i=l):l=i="oninput":a&&fs.test(i)?i=i.replace(ps,"-$&").toLowerCase():s===null&&(s=void 0),l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=s}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=ie(r.children).forEach(function(c){c.props.selected=o.value.indexOf(c.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=ie(r.children).forEach(function(c){c.props.selected=o.multiple?o.defaultValue.indexOf(c.props.value)!=-1:o.defaultValue==c.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",vs)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),e.props=o})(t),t.$$typeof=ha,qn&&qn(t)};var $n=T.__r;T.__r=function(t){$n&&$n(t),Yr=t.__c};var Hn=T.diffed;T.diffed=function(t){Hn&&Hn(t);var e=t.props,r=t.__e;r!=null&&t.type==="textarea"&&"value"in e&&e.value!==r.value&&(r.value=e.value==null?"":e.value),Yr=null};var _a={ReactCurrentDispatcher:{current:{readContext:function(t){return Yr.__n[t.__c].props.value},useCallback:ye,useContext:V,useDebugValue:Vt,useDeferredValue:zr,useEffect:Oe,useId:qr,useImperativeHandle:Br,useInsertionEffect:Vr,useLayoutEffect:ue,useMemo:ne,useReducer:Gt,useRef:we,useState:le,useSyncExternalStore:Wt,useTransition:Gr}}},bs="18.3.1";function ya(t){return N.bind(null,t)}function Ye(t){return!!t&&t.$$typeof===ha}function ga(t){return Ye(t)&&t.type===Z}function wa(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function va(t){return Ye(t)?os.apply(null,arguments):t}function ba(t){return!!t.__k&&(ut(null,t),!0)}function Sa(t){return t&&(t.base||t.nodeType===1&&t)||null}var Ea=function(t,e){return t(e)},Aa=function(t,e){return t(e)},Pa=Z,Ca=Ye,q={useState:le,useId:qr,useReducer:Gt,useEffect:Oe,useLayoutEffect:ue,useInsertionEffect:Vr,useTransition:Gr,useDeferredValue:zr,useSyncExternalStore:Wt,startTransition:Hr,useRef:we,useImperativeHandle:Br,useMemo:ne,useCallback:ye,useContext:V,useDebugValue:Vt,version:"18.3.1",Children:Kr,render:pa,hydrate:ma,unmountComponentAtNode:ba,createPortal:fa,createElement:N,createContext:ce,createFactory:ya,cloneElement:va,createRef:Zo,Fragment:Z,isValidElement:Ye,isElement:Ca,isFragment:ga,isMemo:wa,findDOMNode:Sa,Component:Y,PureComponent:It,memo:Wr,forwardRef:sa,flushSync:Aa,unstable_batchedUpdates:Ea,StrictMode:Pa,Suspense:st,SuspenseList:je,lazy:da,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_a};const Ra=Object.freeze(Object.defineProperty({__proto__:null,Children:Kr,Component:Y,Fragment:Z,PureComponent:It,StrictMode:Pa,Suspense:st,SuspenseList:je,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_a,cloneElement:va,createContext:ce,createElement:N,createFactory:ya,createPortal:fa,createRef:Zo,default:q,findDOMNode:Sa,flushSync:Aa,forwardRef:sa,hydrate:ma,isElement:Ca,isFragment:ga,isMemo:wa,isValidElement:Ye,lazy:da,memo:Wr,render:pa,startTransition:Hr,unmountComponentAtNode:ba,unstable_batchedUpdates:Ea,useCallback:ye,useContext:V,useDebugValue:Vt,useDeferredValue:zr,useEffect:Oe,useErrorBoundary:as,useId:qr,useImperativeHandle:Br,useInsertionEffect:Vr,useLayoutEffect:ue,useMemo:ne,useReducer:Gt,useRef:we,useState:le,useSyncExternalStore:Wt,useTransition:Gr,version:bs},Symbol.toStringTag,{value:"Module"})),Ss=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,Es={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0};function Ta(t,e={}){const r=t.split(Ss);if(r.length===1)return t;const n=As(0,"$lingui$"),o=[],a=r.shift();a&&o.push(a);for(const[i,s,l]of La(r)){let c=typeof i<"u"?e[i]:void 0;(!c||Es[c.type]&&s)&&(console.error(c?`${c.type} is a void element tag therefore it must have no children`:`Can't use element at index '${i}' as it is not declared in the original translation`),c=q.createElement(q.Fragment)),Array.isArray(c)&&(c=q.createElement(q.Fragment,{},c)),o.push(q.cloneElement(c,{key:n()},s?Ta(s,e):c.props.children)),l&&o.push(l)}return o.length===1?o[0]:o}function La(t){if(!t.length)return[];const[e,r,n,o]=t.slice(0,4);return[[e||n,r||"",o]].concat(La(t.slice(4,t.length)))}const As=(t=0,e="")=>()=>`${e}_${t++}`;function Ps(t){const{render:e,component:r,id:n,message:o,formats:a,lingui:{i18n:i,defaultComponent:s}}=t,{values:l,components:c}=Rs(t),d=i&&typeof i._=="function"?i._(n,l,{message:o,formats:a}):n,u=d?Ta(d,c):null;if(e===null||r===null)return u;const h=s||Cs,f={id:n,message:o,translation:u,children:u};if(e&&r)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(e&&typeof e!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${e}`);else if(r&&typeof r!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${r}`),q.createElement(h,f,u);if(typeof e=="function")return e(f);const p=r||h;return q.createElement(p,f,u)}const Cs=({children:t})=>q.createElement(q.Fragment,null,t),Rs=t=>{if(!t.values)return{values:void 0,components:t.components};const e={...t.values},r={...t.components};return Object.entries(t.values).forEach(([n,o])=>{if(typeof o=="string"||typeof o=="number")return;const a=Object.keys(r).length;r[a]=q.createElement(q.Fragment,null,o),e[n]=`<${a}/>`}),{values:e,components:r}},xa=q.createContext(null),Oa=t=>q.useContext(xa);function zf(){return Oa()}function Gf({i18n:t,defaultComponent:e,children:r}){const n=q.useRef(t.locale),o=q.useCallback(()=>({i18n:t,defaultComponent:e,_:t.t.bind(t)}),[t,e]),[a,i]=q.useState(o());return q.useEffect(()=>{const s=()=>{n.current=t.locale,i(o())},l=t.on("change",s);return n.current!==t.locale&&s(),l},[t,o]),n.current?q.createElement(xa.Provider,{value:a},r):null}function Vf(t){const r=Oa(void 0);return q.createElement(Ps,{...t,lingui:r})}function Mt(){return Mt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Mt.apply(this,arguments)}var me;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(me||(me={}));const zn="popstate";function Ts(t){t===void 0&&(t={});function e(o,a){let{pathname:i="/",search:s="",hash:l=""}=ke(o.location.hash.substr(1));return wr("",{pathname:i,search:s,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(o,a){let i=o.document.querySelector("base"),s="";if(i&&i.getAttribute("href")){let l=o.location.href,c=l.indexOf("#");s=c===-1?l:l.slice(0,c)}return s+"#"+(typeof a=="string"?a:Zr(a))}function n(o,a){Ls(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(a)+")")}return ks(e,r,n,t)}function z(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Ls(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function xs(){return Math.random().toString(36).substr(2,8)}function Gn(t){return{usr:t.state,key:t.key}}function wr(t,e,r,n){return r===void 0&&(r=null),Mt({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?ke(e):e,{state:r,key:e&&e.key||n||xs()})}function Zr(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function ke(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function Os(t){let e=typeof window<"u"&&typeof window.location<"u"&&window.location.origin!=="null"?window.location.origin:window.location.href,r=typeof t=="string"?t:Zr(t);return z(e,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,e)}function ks(t,e,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=me.Pop,l=null;function c(){s=me.Pop,l&&l({action:s,location:h.location})}function d(f,p){s=me.Push;let g=wr(h.location,f,p);r&&r(g,f);let m=Gn(g),y=h.createHref(g);try{i.pushState(m,"",y)}catch{o.location.assign(y)}a&&l&&l({action:s,location:h.location})}function u(f,p){s=me.Replace;let g=wr(h.location,f,p);r&&r(g,f);let m=Gn(g),y=h.createHref(g);i.replaceState(m,"",y),a&&l&&l({action:s,location:h.location})}let h={get action(){return s},get location(){return t(o,i)},listen(f){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(zn,c),l=f,()=>{o.removeEventListener(zn,c),l=null}},createHref(f){return e(o,f)},encodeLocation(f){let p=Os(typeof f=="string"?f:Zr(f));return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:u,go(f){return i.go(f)}};return h}var Vn;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Vn||(Vn={}));function Is(t,e,r){r===void 0&&(r="/");let n=typeof e=="string"?ke(e):e,o=Ma(n.pathname||"/",r);if(o==null)return null;let a=ka(t);Ms(a);let i=null;for(let s=0;i==null&&s<a.length;++s)i=Hs(a[s],Gs(o));return i}function ka(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let o=(a,i,s)=>{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(z(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let c=Re([n,l.relativePath]),d=r.concat(l);a.children&&a.children.length>0&&(z(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),ka(a.children,e,d,c)),!(a.path==null&&!a.index)&&e.push({path:c,score:qs(c,a.index),routesMeta:d})};return t.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of Ia(a.path))o(a,i,l)}),e}function Ia(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=Ia(n.join("/")),s=[];return s.push(...i.map(l=>l===""?a:[a,l].join("/"))),o&&s.push(...i),s.map(l=>t.startsWith("/")&&l===""?"/":l)}function Ms(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:$s(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Ns=/^:\w+$/,Ds=3,Us=2,Fs=1,js=10,Bs=-2,Wn=t=>t==="*";function qs(t,e){let r=t.split("/"),n=r.length;return r.some(Wn)&&(n+=Bs),e&&(n+=Us),r.filter(o=>!Wn(o)).reduce((o,a)=>o+(Ns.test(a)?Ds:a===""?Fs:js),n)}function $s(t,e){return t.length===e.length&&t.slice(0,-1).every((n,o)=>n===e[o])?t[t.length-1]-e[e.length-1]:0}function Hs(t,e){let{routesMeta:r}=t,n={},o="/",a=[];for(let i=0;i<r.length;++i){let s=r[i],l=i===r.length-1,c=o==="/"?e:e.slice(o.length)||"/",d=vr({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c);if(!d)return null;Object.assign(n,d.params);let u=s.route;a.push({params:n,pathname:Re([o,d.pathname]),pathnameBase:Js(Re([o,d.pathnameBase])),route:u}),d.pathnameBase!=="/"&&(o=Re([o,d.pathnameBase]))}return a}function vr(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=zs(t.path,t.caseSensitive,t.end),o=e.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce((c,d,u)=>{if(d==="*"){let h=s[u]||"";i=a.slice(0,a.length-h.length).replace(/(.)\/+$/,"$1")}return c[d]=Vs(s[u]||"",d),c},{}),pathname:a,pathnameBase:i,pattern:t}}function zs(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),Jr(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let n=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,s)=>(n.push(s),"/([^\\/]+)"));return t.endsWith("*")?(n.push("*"),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),n]}function Gs(t){try{return decodeURI(t)}catch(e){return Jr(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Vs(t,e){try{return decodeURIComponent(t)}catch(r){return Jr(!1,'The value for the URL param "'+e+'" will not be decoded because'+(' the string "'+t+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),t}}function Ma(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function Jr(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ws(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:o=""}=typeof t=="string"?ke(t):t;return{pathname:r?r.startsWith("/")?r:Ks(r,e):e,search:Qs(n),hash:Xs(o)}}function Ks(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Xt(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Ys(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function Zs(t,e,r,n){n===void 0&&(n=!1);let o;typeof t=="string"?o=ke(t):(o=Mt({},t),z(!o.pathname||!o.pathname.includes("?"),Xt("?","pathname","search",o)),z(!o.pathname||!o.pathname.includes("#"),Xt("#","pathname","hash",o)),z(!o.search||!o.search.includes("#"),Xt("#","search","hash",o)));let a=t===""||o.pathname==="",i=a?"/":o.pathname,s;if(n||i==null)s=r;else{let u=e.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),u-=1;o.pathname=h.join("/")}s=u>=0?e[u]:"/"}let l=Ws(o,s),c=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const Re=t=>t.join("/").replace(/\/\/+/g,"/"),Js=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Qs=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Xs=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class el{constructor(e,r,n,o){o===void 0&&(o=!1),this.status=e,this.statusText=r||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function tl(t){return t instanceof el}const Na=["post","put","patch","delete"],Wf=new Set(Na),rl=["get",...Na],Kf=new Set(rl);const Yf=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function br(){return br=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},br.apply(this,arguments)}const{useState:Zf,useEffect:Jf,useLayoutEffect:Qf,useDebugValue:Xf}=Ra;const eh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";const th=(t=>t.useSyncExternalStore)(Ra),Da=ce(null),Ua=ce(null);const Qr=ce(null),Kt=ce(null),Ze=ce({outlet:null,matches:[]}),Fa=ce(null);function Yt(){return V(Kt)!=null}function Xr(){return Yt()||z(!1),V(Kt).location}function nl(){Yt()||z(!1);let{basename:t,navigator:e}=V(Qr),{matches:r}=V(Ze),{pathname:n}=Xr(),o=JSON.stringify(Ys(r).map(s=>s.pathnameBase)),a=we(!1);return Oe(()=>{a.current=!0}),ye(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){e.go(s);return}let c=Zs(s,JSON.parse(o),n,l.relative==="path");t!=="/"&&(c.pathname=c.pathname==="/"?t:Re([t,c.pathname])),(l.replace?e.replace:e.push)(c,l.state,l)},[t,e,o,n])}function rh(){let{matches:t}=V(Ze),e=t[t.length-1];return e?e.params:{}}function ol(t,e){Yt()||z(!1);let{navigator:r}=V(Qr),n=V(Ua),{matches:o}=V(Ze),a=o[o.length-1],i=a?a.params:{},s=a?a.pathname:"/",l=a?a.pathnameBase:"/",c=a&&a.route,d=Xr(),u;if(e){var h;let y=typeof e=="string"?ke(e):e;l==="/"||(h=y.pathname)!=null&&h.startsWith(l)||z(!1),u=y}else u=d;let f=u.pathname||"/",p=l==="/"?f:f.slice(l.length)||"/",g=Is(t,{pathname:p}),m=ll(g&&g.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:Re([l,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:Re([l,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n||void 0);return e&&m?N(Kt.Provider,{value:{location:br({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:me.Pop}},m):m}function al(){let t=fl(),e=tl(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n};return N(Z,null,N("h2",null,"Unhandled Thrown Error!"),N("h3",{style:{fontStyle:"italic"}},e),r?N("pre",{style:o},r):null,N("p",null,"💿 Hey developer 👋"),N("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N("code",{style:a},"errorElement")," props on ",N("code",{style:a},"<Route>")))}class il extends Y{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location?{error:e.error,location:e.location}:{error:e.error||r.error,location:r.location}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error?N(Ze.Provider,{value:this.props.routeContext},N(Fa.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function sl(t){let{routeContext:e,match:r,children:n}=t,o=V(Da);return o&&o.static&&o.staticContext&&r.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),N(Ze.Provider,{value:e},n)}function ll(t,e,r){if(e===void 0&&(e=[]),t==null)if(r!=null&&r.errors)t=r.matches;else return null;let n=t,o=r?.errors;if(o!=null){let a=n.findIndex(i=>i.route.id&&o?.[i.route.id]);a>=0||z(!1),n=n.slice(0,Math.min(n.length,a+1))}return n.reduceRight((a,i,s)=>{let l=i.route.id?o?.[i.route.id]:null,c=r?i.route.errorElement||N(al,null):null,d=e.concat(n.slice(0,s+1)),u=()=>N(sl,{match:i,routeContext:{outlet:a,matches:d}},l?c:i.route.element!==void 0?i.route.element:a);return r&&(i.route.errorElement||s===0)?N(il,{location:r.location,component:c,error:l,children:u(),routeContext:{outlet:null,matches:d}}):u()},null)}var Kn;(function(t){t.UseRevalidator="useRevalidator"})(Kn||(Kn={}));var Nt;(function(t){t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator"})(Nt||(Nt={}));function cl(t){let e=V(Ua);return e||z(!1),e}function ul(t){let e=V(Ze);return e||z(!1),e}function dl(t){let e=ul(t),r=e.matches[e.matches.length-1];return r.route.id||z(!1),r.route.id}function fl(){var t;let e=V(Fa),r=cl(Nt.UseRouteError),n=dl(Nt.UseRouteError);return e||((t=r.errors)==null?void 0:t[n])}function hl(t){z(!1)}function pl(t){let{basename:e="/",children:r=null,location:n,navigationType:o=me.Pop,navigator:a,static:i=!1}=t;Yt()&&z(!1);let s=e.replace(/^\/*/,"/"),l=ne(()=>({basename:s,navigator:a,static:i}),[s,a,i]);typeof n=="string"&&(n=ke(n));let{pathname:c="/",search:d="",hash:u="",state:h=null,key:f="default"}=n,p=ne(()=>{let g=Ma(c,s);return g==null?null:{pathname:g,search:d,hash:u,state:h,key:f}},[s,c,d,u,h,f]);return p==null?null:N(Qr.Provider,{value:l},N(Kt.Provider,{children:r,value:{location:p,navigationType:o}}))}function nh(t){let{children:e,location:r}=t,n=V(Da),o=n&&!e?n.router.routes:Sr(e);return ol(o,r)}var Yn;(function(t){t[t.pending=0]="pending",t[t.success=1]="success",t[t.error=2]="error"})(Yn||(Yn={}));const oh=new Promise(()=>{});function Sr(t,e){e===void 0&&(e=[]);let r=[];return Kr.forEach(t,(n,o)=>{if(!Ye(n))return;if(n.type===Z){r.push.apply(r,Sr(n.props.children,e));return}n.type!==hl&&z(!1),!n.props.index||!n.props.children||z(!1);let a=[...e,o],i={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,hasErrorBoundary:n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle};n.props.children&&(i.children=Sr(n.props.children,a)),r.push(i)}),r}function Er(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(Array.isArray(n)?n.map(o=>[r,o]):[[r,n]])},[]))}function ml(t,e){let r=Er(t);for(let n of e.keys())r.has(n)||e.getAll(n).forEach(o=>{r.append(n,o)});return r}function ah(t){let{basename:e,children:r,window:n}=t,o=we();o.current==null&&(o.current=Ts({window:n,v5Compat:!0}));let a=o.current,[i,s]=le({action:a.action,location:a.location});return ue(()=>a.listen(s),[a]),N(pl,{basename:e,children:r,location:i.location,navigationType:i.action,navigator:a})}var Zn;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmitImpl="useSubmitImpl",t.UseFetcher="useFetcher"})(Zn||(Zn={}));var Jn;(function(t){t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Jn||(Jn={}));function ih(t){let e=we(Er(t)),r=Xr(),n=ne(()=>ml(r.search,e.current),[r.search]),o=nl(),a=ye((i,s)=>{const l=Er(typeof i=="function"?i(n):i);o("?"+l,s)},[o,n]);return[n,a]}const _l="modulepreload",yl=function(t,e){return new URL(t,e).href},Qn={},I=function(e,r,n){let o=Promise.resolve();if(r&&r.length>0){let c=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");o=c(r.map(d=>{if(d=yl(d,n),d in Qn)return;Qn[d]=!0;const u=d.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(n)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===d&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":_l,u||(f.as="script"),f.crossOrigin="",f.href=d,l&&f.setAttribute("nonce",l),document.head.appendChild(f),u)return new Promise((p,g)=>{f.addEventListener("load",p),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return e().catch(a)})},gl=Symbol(),en=Symbol(),at="a",ja="f",Xn="p",Ba="c",qa="t",tn="h",lt="w",rn="o",nn="k";let wl=(t,e)=>new Proxy(t,e);const Ar=Object.getPrototypeOf,Pr=new WeakMap,$a=t=>t&&(Pr.has(t)?Pr.get(t):Ar(t)===Object.prototype||Ar(t)===Array.prototype),Dt=t=>typeof t=="object"&&t!==null,vl=t=>Object.values(Object.getOwnPropertyDescriptors(t)).some(e=>!e.configurable&&!e.writable),bl=t=>{if(Array.isArray(t))return Array.from(t);const e=Object.getOwnPropertyDescriptors(t);return Object.values(e).forEach(r=>{r.configurable=!0}),Object.create(Ar(t),e)},Sl=(t,e)=>{const r={[ja]:e};let n=!1;const o=(s,l)=>{if(!n){let c=r[at].get(t);if(c||(c={},r[at].set(t,c)),s===lt)c[lt]=!0;else{let d=c[s];d||(d=new Set,c[s]=d),d.add(l)}}},a=()=>{n=!0,r[at].delete(t)},i={get(s,l){return l===en?t:(o(nn,l),Ha(Reflect.get(s,l),r[at],r[Ba],r[qa]))},has(s,l){return l===gl?(a(),!0):(o(tn,l),Reflect.has(s,l))},getOwnPropertyDescriptor(s,l){return o(rn,l),Reflect.getOwnPropertyDescriptor(s,l)},ownKeys(s){return o(lt),Reflect.ownKeys(s)}};return e&&(i.set=i.deleteProperty=()=>!1),[i,r]},on=t=>t[en]||t,Ha=(t,e,r,n)=>{if(!$a(t))return t;let o=n&&n.get(t);if(!o){const l=on(t);vl(l)?o=[l,bl(l)]:o=[l],n?.set(t,o)}const[a,i]=o;let s=r&&r.get(a);return(!s||s[1][ja]!==!!i)&&(s=Sl(a,!!i),s[1][Xn]=wl(i||a,s[0]),r&&r.set(a,s)),s[1][at]=e,s[1][Ba]=r,s[1][qa]=n,s[1][Xn]},El=(t,e)=>{const r=Reflect.ownKeys(t),n=Reflect.ownKeys(e);return r.length!==n.length||r.some((o,a)=>o!==n[a])},za=(t,e,r,n,o=Object.is)=>{if(o(t,e))return!1;if(!Dt(t)||!Dt(e))return!0;const a=r.get(on(t));if(!a)return!0;if(n){if(n.get(t)===e)return!1;n.set(t,e)}let i=null;for(const s of a[tn]||[])if(i=Reflect.has(t,s)!==Reflect.has(e,s),i)return i;if(a[lt]===!0){if(i=El(t,e),i)return i}else for(const s of a[rn]||[]){const l=!!Reflect.getOwnPropertyDescriptor(t,s),c=!!Reflect.getOwnPropertyDescriptor(e,s);if(i=l!==c,i)return i}for(const s of a[nn]||[])if(i=za(t[s],e[s],r,n,o),i)return i;if(i===null)throw new Error("invalid used");return i};const Al=t=>$a(t)&&t[en]||null,eo=(t,e=!0)=>{Pr.set(t,e)},Pl=(t,e,r)=>{const n=[],o=new WeakSet,a=(i,s)=>{var l,c,d;if(o.has(i))return;Dt(i)&&o.add(i);const u=Dt(i)&&e.get(on(i));if(u){if((l=u[tn])===null||l===void 0||l.forEach(h=>{const f=`:has(${String(h)})`;n.push(s?[...s,f]:[f])}),u[lt]===!0){const h=":ownKeys";n.push(s?[...s,h]:[h])}else(c=u[rn])===null||c===void 0||c.forEach(h=>{const f=`:hasOwn(${String(h)})`;n.push(s?[...s,f]:[f])});(d=u[nn])===null||d===void 0||d.forEach(h=>{(!r||"value"in(Object.getOwnPropertyDescriptor(i,h)||{}))&&a(i[h],s?[...s,h]:[h])})}else s&&n.push(s)};return a(t),n};const Ut={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},an=t=>typeof t=="object"&&t!==null,Cl=t=>an(t)&&!Zt.has(t)&&(Array.isArray(t)||!(Symbol.iterator in t))&&!(t instanceof WeakMap)&&!(t instanceof WeakSet)&&!(t instanceof Error)&&!(t instanceof Number)&&!(t instanceof Date)&&!(t instanceof String)&&!(t instanceof RegExp)&&!(t instanceof ArrayBuffer)&&!(t instanceof Promise),Ga=(t,e)=>{const r=Cr.get(t);if(r?.[0]===e)return r[1];const n=Array.isArray(t)?[]:Object.create(Object.getPrototypeOf(t));return eo(n,!0),Cr.set(t,[e,n]),Reflect.ownKeys(t).forEach(o=>{if(Object.getOwnPropertyDescriptor(n,o))return;const a=Reflect.get(t,o),{enumerable:i}=Reflect.getOwnPropertyDescriptor(t,o),s={value:a,enumerable:i,configurable:!0};if(Zt.has(a))eo(a,!1);else if(ge.has(a)){const[l,c]=ge.get(a);s.value=Ga(l,c())}Object.defineProperty(n,o,s)}),Object.preventExtensions(n)},Rl=(t,e,r,n)=>({deleteProperty(o,a){const i=Reflect.get(o,a);r(a);const s=Reflect.deleteProperty(o,a);return s&&n(["delete",[a],i]),s},set(o,a,i,s){const l=!t()&&Reflect.has(o,a),c=Reflect.get(o,a,s);if(l&&(to(c,i)||dt.has(i)&&to(c,dt.get(i))))return!0;r(a),an(i)&&(i=Al(i)||i);const d=!ge.has(i)&&Ll(i)?Va(i):i;return e(a,d),Reflect.set(o,a,d,s),n(["set",[a],i,c]),!0}}),ge=new WeakMap,Zt=new WeakSet,Cr=new WeakMap,Pt=[1],dt=new WeakMap;let to=Object.is,Tl=(t,e)=>new Proxy(t,e),Ll=Cl,xl=Ga,Ol=Rl;function Va(t={}){if(!an(t))throw new Error("object required");const e=dt.get(t);if(e)return e;let r=Pt[0];const n=new Set,o=(m,y=++Pt[0])=>{r!==y&&(a=r=y,n.forEach(w=>w(m,y)))};let a=r;const i=(m=Pt[0])=>(a!==m&&(a=m,l.forEach(([y])=>{const w=y[1](m);w>r&&(r=w)})),r),s=m=>(y,w)=>{const b=[...y];b[1]=[m,...b[1]],o(b,w)},l=new Map,c=(m,y)=>{const w=!Zt.has(y)&&ge.get(y);if(w){if((Ut?"production":void 0)!=="production"&&l.has(m))throw new Error("prop listener already exists");if(n.size){const b=w[2](s(m));l.set(m,[w,b])}else l.set(m,[w])}},d=m=>{var y;const w=l.get(m);w&&(l.delete(m),(y=w[1])==null||y.call(w))},u=m=>(n.add(m),n.size===1&&l.forEach(([w,b],L)=>{if((Ut?"production":void 0)!=="production"&&b)throw new Error("remove already exists");const O=w[2](s(L));l.set(L,[w,O])}),()=>{n.delete(m),n.size===0&&l.forEach(([w,b],L)=>{b&&(b(),l.set(L,[w]))})});let h=!0;const f=Ol(()=>h,c,d,o),p=Tl(t,f);dt.set(t,p);const g=[t,i,u];return ge.set(p,g),Reflect.ownKeys(t).forEach(m=>{const y=Object.getOwnPropertyDescriptor(t,m);"value"in y&&y.writable&&(p[m]=t[m])}),h=!1,p}function sn(t,e,r){const n=ge.get(t);(Ut?"production":void 0)!=="production"&&!n&&console.warn("Please use proxy object");let o;const a=[],i=n[2];let s=!1;const c=i(d=>{if(a.push(d),r){e(a.splice(0));return}o||(o=Promise.resolve().then(()=>{o=void 0,s&&e(a.splice(0))}))});return s=!0,()=>{s=!1,c()}}function Rr(t){const e=ge.get(t);(Ut?"production":void 0)!=="production"&&!e&&console.warn("Please use proxy object");const[r,n]=e;return xl(r,n())}function Wa(){return{proxyStateMap:ge,refSet:Zt,snapCache:Cr,versionHolder:Pt,proxyCache:dt}}const kl={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},Il=(t,e)=>{const r=we(void 0);Oe(()=>{r.current=Pl(t,e,!0)}),Vt(r.current)},Ml=Il,Nl=new WeakMap;function sh(t,e){const r=e?.sync,n=ne(()=>t&&new WeakMap,[t]),o=we(void 0);let a=!0;const i=Wt(ye(l=>{const c=sn(t,l,r);return l(),c},[t,r]),()=>{const l=Rr(t);try{if(!a&&o.current&&!za(o.current,l,n,new WeakMap))return o.current}catch{}return l},()=>Rr(t));a=!1,ue(()=>{o.current=i}),(kl?"production":void 0)!=="production"&&Ml(i,n);const s=ne(()=>new WeakMap,[]);return Ha(i,n,s,Nl)}var Dl=0;function re(t,e,r,n,o,a){e||(e={});var i,s,l=e;if("ref"in l)for(s in l={},e)s=="ref"?i=e[s]:l[s]=e[s];var c={type:t,props:l,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Dl,__i:-1,__u:0,__source:o,__self:a};if(typeof t=="function"&&(i=t.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return T.vnode&&T.vnode(c),c}const Ka=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ft=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(Ka);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},ro=t=>t==="*"||t==="x"||t==="X",no=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Ul=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],Fl=(t,e)=>{if(ro(t)||ro(e))return 0;const[r,n]=Ul(no(t),no(e));return r>n?1:r<n?-1:0},Be=(t,e)=>{for(let r=0;r<Math.max(t.length,e.length);r++){const n=Fl(t[r]||"0",e[r]||"0");if(n!==0)return n}return 0},Ya=(t,e)=>{const r=Ft(t),n=Ft(e),o=r.pop(),a=n.pop(),i=Be(r,n);return i!==0?i:o&&a?Be(o.split("."),a.split(".")):o||a?o?-1:1:0},jl=(t,e,r)=>{Bl(r);const n=Ya(t,e);return Za[r].includes(n)},Za={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},oo=Object.keys(Za),Bl=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(oo.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${oo.join("|")}`)},Ct=(t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(m=>Ct(t,m));if(e.includes(" - ")){const[m,y]=e.split(" - ",2);return Ct(t,`>=${m} <=${y}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(m=>Ct(t,m));const r=e.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return jl(t,e,n);const[o,a,i,,s]=Ft(t),[l,c,d,,u]=Ft(e),h=[o,a,i],f=[l,c??"x",d??"x"];if(u&&(!s||Be(h,f)!==0||Be(s.split("."),u.split("."))===-1))return!1;const p=f.findIndex(m=>m!=="0")+1,g=n==="~"?2:p>1?p:1;return!(Be(h.slice(0,g),f.slice(0,g))!==0||Be(h.slice(g),f.slice(g))===-1)},ql=t=>typeof t=="string"&&/^[v\d]/.test(t)&&Ka.test(t);function $l(t,e){var r=Object.setPrototypeOf;r?r(t,e):t.__proto__=e}function Hl(t,e){e===void 0&&(e=t.constructor);var r=Error.captureStackTrace;r&&r(t,e)}var zl=(function(){var t=function(r,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(r,n)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),Je=(function(t){zl(e,t);function e(r,n){var o=this.constructor,a=t.call(this,r,n)||this;return Object.defineProperty(a,"name",{value:o.name,enumerable:!1,configurable:!0}),$l(a,o.prototype),Hl(a),a}return e})(Error);class Le extends Je{}class ao extends Je{contentType;data;constructor(e,r,n,o){super(e,o),this.contentType=r,this.data=n}}class Ja extends Je{statusCode;description;details;additionalProperties;constructor(e,r){super(e.message,r),this.statusCode=e.statusCode,this.message=e.message,this.description=e.description,this.additionalProperties=e.additionalProperties,this.details=e.details}}class Qa extends Je{}class er extends Je{constructor(e,r){super(e,r),this.message=e}}const Gl=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Vl=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Wl=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Kl=/[^\p{L}\d]+/giu,io="$1\0$2",so="";function Xa(t){let e=t.trim();e=e.replace(Gl,io).replace(Vl,io),e=e.replace(Kl,"\0");let r=0,n=e.length;for(;e.charAt(r)==="\0";)r++;if(r===n)return[];for(;e.charAt(n-1)==="\0";)n--;return e.slice(r,n).split(/\0/g)}function Yl(t){const e=Xa(t);for(let r=0;r<e.length;r++){const n=e[r],o=Wl.exec(n);if(o){const a=o.index+(o[1]??o[2]).length;e.splice(r,1,n.slice(0,a),n.slice(a))}}return e}function Zl(t,e){const[r,n,o]=ti(t,e);return r+n.map(ei(e?.locale)).join(e?.delimiter??" ")+o}function Jl(t,e){const[r,n,o]=ti(t,e),a=ei(e?.locale),i=Ql(e?.locale),s=e?.mergeAmbiguousCharacters?Xl(a,i):ec(a,i);return r+n.map((l,c)=>c===0?a(l):s(l,c)).join(e?.delimiter??"")+o}function ln(t,e){return Zl(t,{delimiter:"_",...e})}function ei(t){return t===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t)}function Ql(t){return t===!1?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t)}function Xl(t,e){return r=>`${e(r[0])}${t(r.slice(1))}`}function ec(t,e){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:e(o))+t(r.slice(1))}}function ti(t,e={}){const r=e.split??(e.separateNumbers?Yl:Xa),n=e.prefixCharacters??so,o=e.suffixCharacters??so;let a=0,i=t.length;for(;a<t.length;){const s=t.charAt(a);if(!n.includes(s))break;a++}for(;i>a;){const s=i-1,l=t.charAt(s);if(!o.includes(l))break;i=s}return[t.slice(0,a),r(t.slice(a,i)),t.slice(i)]}const ri=t=>new Promise(e=>setTimeout(()=>e(),t)),cn=t=>typeof t=="object"&&t!==null&&t.constructor.name==="Object";function tc(){}class rc extends Je{constructor(e,r){super(`Maximum number of attempts reached: ${e}`,r)}}class nc{props;attempts=0;constructor(e={}){this.props=e}async sleep(){if(this.attempts>=this.maxAttempts)throw new rc(this.attempts);await ri(this.timeout),this.attempts++}clear(){this.attempts=0}get factor(){return this.props.factor??1e3}get base(){return this.props.base??2}get maxAttempts(){return this.props.maxAttempts??Number.POSITIVE_INFINITY}get timeout(){return this.factor*this.base**this.attempts}}const oc=()=>{let t,e;return{promise:new Promise((n,o)=>{t=n,e=o}),resolve:t,reject:e}},ac=t=>{const e=new Map;for(const r of t.split(",")){const n=r.match(/<([^>]+)>;\s*rel="([^"]+)"/);n&&e.set(n[2],n[1])}return e};function ni(t){return["fetch","create","update","remove","list"].includes(t)}function ic(t){if(ni(t))return t;switch(t){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function sc(t,e){return t==="create"&&e==="/api/v1/accounts"||t==="update"&&e==="/api/v1/accounts/update_credentials"||t==="create"&&e==="/api/v1/email"||t==="create"&&e==="/api/v1/featured_tag"||t==="create"&&e==="/api/v1/media"||t==="create"&&e==="/api/v2/media"?"multipart-form":"json"}async function lo(t,e,r){let n;const o=AbortSignal.timeout(e);for(;!n;){if(o.aborted)throw new Qa(`Media processing timed out of ${e}ms`);try{await ri(1e3);const a=await r.get(`/api/v1/media/${t}`).then(i=>i.data);a.url&&(n=a)}catch(a){if(a instanceof Ja&&a.statusCode===404)continue;throw a}}return n}class lc{http;mediaTimeout;constructor(e,r=1e3*60){this.http=e,this.mediaTimeout=r}beforeDispatch(e){const r=ic(e.type),n=ni(e.type)?e.path:e.path+"/"+ln(e.type),o=sc(r,n),a={...e.meta,encoding:o};return{...e,type:r,path:n,meta:a}}dispatch(e){return e.type==="update"&&e.path==="/api/v1/accounts/update_credentials"?this.http.patch(e.path,e.data,e.meta).then(r=>r.data):!1}afterDispatch(e,r){if(e.type==="create"&&e.path==="/api/v2/media"){if(cn(e.data)&&e.data?.skipPolling===!0)return r;if(e.raw){const n=r;return lo(n.data.id,this.mediaTimeout,this.http).then(o=>({headers:n.headers,data:o}))}else return lo(r.id,this.mediaTimeout,this.http)}return r}}class un{http;raw;path;params;meta;direction;constructor(e,r,n,o,a,i="next"){this.http=e,this.raw=r,this.path=n,this.params=o,this.meta=a,this.direction=i}async*values(){let e=this.path,r=this.params;for(;e!=null;){const n=await this.http.request({method:"GET",path:e,search:r,...this.meta}),o=this.getLink(n.headers.get("link"));e=o?.pathname,r=o?.search.replace(/^\?/,""),yield this.raw?n:n.data}}then(e=Promise.resolve.bind(Promise),r=Promise.reject.bind(Promise)){return this.values().next().then(n=>e(n.value),r)}getDirection(){return this.direction}setDirection(e){return new un(this.http,this.raw,this.path,this.params,this.meta,e)}[Symbol.asyncIterator](){return this.values()}getLink(e){if(!e)return;const r=ac(e).get(this.direction);if(r)return new URL(r)}}class cc{http;hook;constructor(e,r){this.http=e,this.hook=r}dispatch(e){this.hook&&(e=this.hook.beforeDispatch(e));let r=this.hook.dispatch(e);if(r!==!1)return r;switch(e.type){case"fetch":{r=this.http.get(e.path,e.data,e.meta).then(n=>e.raw?n:n.data);break}case"create":{r=this.http.post(e.path,e.data,e.meta).then(n=>e.raw?n:n.data);break}case"update":{r=this.http.put(e.path,e.data,e.meta).then(n=>e.raw?n:n.data);break}case"remove":{r=this.http.delete(e.path,e.data,e.meta).then(n=>e.raw?n:n.data);break}case"list":{r=new un(this.http,e.raw,e.path,e.data);break}}return r instanceof Promise?r.then(n=>this.hook?.afterDispatch(e,n)):this.hook.afterDispatch(e,r)}}var Fe=null;typeof WebSocket<"u"?Fe=WebSocket:typeof MozWebSocket<"u"?Fe=MozWebSocket:typeof global<"u"?Fe=global.WebSocket||global.MozWebSocket:typeof window<"u"?Fe=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(Fe=self.WebSocket||self.MozWebSocket);const dn=Fe;function uc(t){return t.readyState===dn.OPEN?Promise.resolve():new Promise((e,r)=>{const n=i=>{r(i)},o=()=>{r(new Error("WebSocket closed"))},a=()=>{e()};t.addEventListener("error",n,{once:!0}),t.addEventListener("close",o,{once:!0}),t.addEventListener("open",a,{once:!0})})}function dc(t){return t.readyState===dn.CLOSED?Promise.resolve():new Promise(e=>{const r=()=>{e()};t.addEventListener("error",r,{once:!0}),t.addEventListener("close",r,{once:!0})})}class fc{props;logger;ws;killed=!1;queue=[];backoff;constructor(e,r){this.props=e,this.logger=r,this.backoff=new nc({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new er("WebSocket closed");if(this.ws)return Promise.resolve(this.ws);const e=oc();return this.queue.push(e),e.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(const{reject:e}of this.queue)e(new er("WebSocket closed"));this.queue=[]}async spawn(){for(;!this.killed;){try{await this.backoff.sleep()}catch{break}try{this.logger?.log("info","Connecting to WebSocket...");{const e=this.props.implementation??dn,r=new e(...this.props.constructorParameters);await uc(r),this.ws=r}this.logger?.log("info","Connected to WebSocket");for(const{resolve:e}of this.queue)e(this.ws);this.queue=[],await dc(this.ws),this.logger?.log("info","WebSocket closed"),this.backoff.clear()}catch(e){this.logger?.log("error","WebSocket error:",e)}this.ws=void 0}for(const{reject:e}of this.queue)e(new er(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}}function hc(){let t,e;const r=new Promise((...n)=>[t,e]=n);return Object.freeze({resolve:t,reject:e,promise:r})}function pc(t,e){const r=[],n=[],o=t((...d)=>{const u=n.shift();u?u.resolve({value:d,done:!1}):r.push(d)}),a=e?.signal;let i=!1,s=null;const l=()=>{s=new Error("Abort Error")},c=()=>{o?.(),a?.removeEventListener("abort",l)};return a?.addEventListener("abort",l,{once:!0}),{async next(){const d=r.shift();if(d)return{value:d,done:!1};if(i)return{value:void 0,done:!0};if(s)return Promise.reject(s);const u=hc();return n.push(u),u.promise},async return(){i=!0,c();for(const d of n)d.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(d){return s=d,c(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*mc(t){const e=async o=>{if(!n.return)throw new Le("events.return is undefined");await n.return(o)},r=async o=>{if(!n.return)throw new Le("events.return is undefined");await n.return(o)},n=pc(o=>(t.addEventListener("message",o),t.addEventListener("error",r),t.addEventListener("close",e),()=>{t.removeEventListener("message",o),t.removeEventListener("error",r),t.removeEventListener("close",e)}));for await(const[o]of n)yield o}class _c{connector;counter;serializer;stream;logger;params;connection;constructor(e,r,n,o,a,i){this.connector=e,this.counter=r,this.serializer=n,this.stream=o,this.logger=a,this.params=i}async*values(){try{this.logger?.log("info","Subscribing to stream",this.stream);for await(this.connection of this.connector){const e=this.serializer.serialize("json",{type:"subscribe",stream:this.stream,...this.params});this.logger?.log("debug","↑ WEBSOCKET",e),this.connection.send(e),this.counter.increment(this.stream,this.params);const r=mc(this.connection);for await(const n of r){const o=this.parseMessage(n.data);this.test(o)&&(this.logger?.log("debug","↓ WEBSOCKET",o),yield o)}}}finally{this.unsubscribe()}}unsubscribe(){if(this.connection){if(this.counter.decrement(this.stream,this.params),this.counter.count(this.stream,this.params)<=0){const e=this.serializer.serialize("json",{type:"unsubscribe",stream:this.stream,...this.params});this.connection.send(e)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(e){const r=this.params??{},n=Object.values(r);return[this.stream,...n].every(a=>e.stream.includes(a))}parseMessage(e){const r=this.serializer.deserialize("json",e);if("error"in r)throw new Le(r.error);const n=r.event==="delete"||r.payload==null?r.payload:this.serializer.deserialize("json",r.payload);return{stream:r.stream,event:r.event,payload:n}}}class yc{counts=new Map;count(e,r){const n=this.hash(e,r);return this.counts.get(n)??0}increment(e,r){const n=this.hash(e,r);this.counts.has(n)||this.counts.set(n,0),this.counts.set(n,this.counts.get(n)+1)}decrement(e,r){const n=this.hash(e,r);if(!this.counts.has(n))throw new Error("Cannot decrement non-existent count");this.counts.set(n,this.counts.get(n)-1)}hash(e,r){return JSON.stringify({stream:e,params:r})}}class gc{connector;counter;serializer;logger;constructor(e,r,n,o){this.connector=e,this.counter=r,this.serializer=n,this.logger=o}dispatch(e){if(e.type==="close")return this.connector.kill(),{};if(e.type==="prepare")return this.connector.acquire();if(e.type!=="subscribe")throw new Le(`Unknown action type ${e.type}`);const r=e.data??{},n=e.path.replace(/^\//,"").replaceAll("/",":");return new _c(this.connector,this.counter,this.serializer,n,this.logger,{...r})}[Symbol.dispose](){this.connector.kill()}}const ft=(t,e={})=>{const{context:r=[],applicable:n=!1}=e;let o={};const a={get:vc(t,r)};return n&&(o=tc,a.apply=bc(t,r)),new Proxy(o,a)},wc=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),vc=(t,e)=>(r,n)=>{if(!(typeof n=="string"&&wc.has(n))){if(n===Symbol.dispose)return t[Symbol.dispose];if(typeof n!="symbol")return n.startsWith("$")?ft(t,{context:[...e,n],applicable:!0}):ft(t,{context:[...e,ln(n)],applicable:!0})}},bc=(t,e)=>(r,n,o)=>{let a=e.pop(),i=!1;if(a==="$select")return ft(t,{context:[...e,...o],applicable:!0});if(a==="$raw"&&(a=e.pop(),i=!0),!a)throw new Error("No action specified");const s="/"+e.join("/"),[l,c]=o;return t.dispatch({type:a,path:s,data:l,meta:c,raw:i})},Sc=([t,...e])=>{const r=new Headers(t);for(const n of e)for(const[o,a]of new Headers(n).entries())r.set(o,a);return r};class Ec{props;serializer;constructor(e,r){this.props=e,this.serializer=r}mergeRequestInitWithDefaults(e={}){const r={...this.props.requestInit};{const{headers:n,signal:o,...a}=e;Object.assign(r,a),r.headers=this.mergeHeadersWithDefaults(n),r.signal=this.mergeAbortSignalWithDefaults(o)}return r}resolvePath(e,r){const n=new URL(e,this.props.url);return typeof r=="string"?n.search=r:r&&(n.search=this.serializer.serialize("querystring",r)),n}mergeHeadersWithDefaults(e={}){const r=Sc([this.props.requestInit?.headers??{},e]),n=new Headers(r);return this.props.accessToken&&n.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(n)}mergeAbortSignalWithDefaults(e){const r=[];return this.props.timeout&&r.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&r.push(this.props.requestInit.signal),e&&r.push(e),AbortSignal.any(r)}}class Ac{props;serializer;constructor(e,r){this.props=e,this.serializer=r}getProtocols(e=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...e]:[this.props.accessToken,...e]}resolvePath(e,r={}){const n=new URL(e,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(r.accessToken=this.props.accessToken),n.search=this.serializer.serialize("querystring",r),n}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?Number.POSITIVE_INFINITY:this.props.retry===!1?1:this.props.retry}}class Pc{get(e,r,n={}){return this.request({method:"GET",path:e,search:r,...n})}post(e,r,n={}){return this.request({method:"POST",path:e,body:r,...n})}delete(e,r,n={}){return this.request({method:"DELETE",path:e,body:r,...n})}put(e,r,n={}){return this.request({method:"PUT",path:e,body:r,...n})}patch(e,r,n={}){return this.request({method:"PATCH",path:e,body:r,...n})}}const co=t=>{const e=t.get("Content-Type")?.replace(/\s*;.*$/,"");if(typeof e=="string")switch(e){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class Cc extends Pc{serializer;config;logger;constructor(e,r,n){super(),this.serializer=e,this.config=r,this.logger=n}async request(e){const r=this.createRequest(e);try{this.logger?.log("info",`${r.method} ${r.url}`),this.logger?.log("debug"," body",{encoding:e.encoding,body:e.body});const n=await fetch(r);if(!n.ok)throw n;const o=await n.text(),a=co(n.headers);if(!a)throw new Le("The server returned data with an unknown encoding.");const i=this.serializer.deserialize(a,o);return this.logger?.log("info",`${r.method} ${r.url}`),this.logger?.log("debug"," body",o),{headers:n.headers,data:i}}catch(n){throw this.logger?.log("debug","HTTP failed",n),await this.createError(n)}}createRequest(e){const{method:r,path:n,search:o,encoding:a="json",requestInit:i={}}=e,s=this.config.resolvePath(n,o),l=this.serializer.serialize(a,e.body),c=this.config.mergeRequestInitWithDefaults(i),d=new Request(s,{method:r,body:l,...c});return typeof l=="string"&&a==="json"&&d.headers.set("Content-Type","application/json"),d}async createError(e){if(e instanceof Response){const r=co(e.headers);if(!r)throw new Le("The server returned data with an unknown encoding. The server may be down.");const n=this.serializer.deserialize(r,await e.text()),{error:o,errorDescription:a,details:i,...s}=n;return new Ja({statusCode:e.status,message:o,description:a,details:i,additionalProperties:s},{cause:e})}return e instanceof DOMException&&e.name==="TimeoutError"?new Qa("Request timed out",{cause:e}):e}}class Rc{level;constructor(e){this.level=e}log(e,r,n){if(!this.level.satisfies(e))return;const o=n==null?[r]:[r,n];switch(e){case"debug":{console.debug(...o);return}case"info":{console.info(...o);return}case"warn":{console.warn(...o);return}case"error":{console.error(...o);return}}}}const W=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class qe{level;constructor(e){this.level=e}satisfies(e){switch(e){case"debug":return!!(this.level&W.DEBUG);case"info":return!!(this.level&W.INFO);case"warn":return!!(this.level&W.WARN);case"error":return!!(this.level&W.ERROR)}}static from(e){switch(e){case"debug":return new qe(W.DEBUG|W.INFO|W.WARN|W.ERROR);case"info":return new qe(W.INFO|W.WARN|W.ERROR);case"warn":return new qe(W.WARN|W.ERROR);case"error":return new qe(W.ERROR)}}}const oi=t=>{const e=qe.from(t??"warn");return new Rc(e)},ai=t=>{const e=(r,n="")=>Array.isArray(r)?r.flatMap((o,a)=>e(o,n==""?a.toString():t.onArray(n,a))):cn(r)?Object.entries(r).flatMap(([o,a])=>e(a,n===""?o:t.onObject(n,o))):[[n,r]];return e},Tc=t=>{const e=ai({onArray:(r,n)=>`${r}[${n}]`,onObject:(r,n)=>`${r}[${n}]`});return Object.fromEntries(e(t))},Lc=t=>ai({onArray:r=>`${r}[]`,onObject:(r,n)=>`${r}[${n}]`})(t).filter(([,r])=>r!=null).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&"),Tr=(t,e)=>Array.isArray(t)?t.map(r=>Tr(r,e)):cn(t)?Object.fromEntries(Object.entries(t).map(([r,n])=>[e(r),Tr(n,e)])):t,uo=(t,e)=>Tr(t,n=>n.includes(":")||n.startsWith("_")?n:e(n));class ii{serialize(e,r){const n=uo(r,ln);switch(e){case"json":return JSON.stringify(n);case"multipart-form":{const o=new FormData;for(const[a,i]of Object.entries(Tc(n)))o.append(a,i);return o}case"querystring":return Lc(n);default:throw new Le(`Unknown content type ${e} to serialize.`)}}deserialize(e,r){switch(e){case"json":try{return uo(JSON.parse(r),Jl)}catch{throw new ao(`Malformed JSON ${r} returned from the server.`,e,r)}default:throw new ao(`Unknown content type ${e} returned from the server.`,e,r)}}}const xc=t=>{const e=new ii,r=new Ec(t,e),n=oi(t.log),o=new Cc(e,r,n),a=new lc(o,t.mediaTimeout),i=new cc(o,a);return ft(i,{context:["api"]})};function Oc(t){const e=new ii,r=new Ac(t,e),n=oi(t.log),o=new fc({constructorParameters:[r.resolvePath("/api/v1/streaming"),r.getProtocols()],implementation:t.implementation,maxAttempts:r.getMaxAttempts()},n),a=new yc,i=new gc(o,a,e,n);return ft(i)}const{getOwnPropertyNames:kc,getOwnPropertySymbols:Ic}=Object,{hasOwnProperty:Mc}=Object.prototype;function tr(t,e){return function(n,o,a){return t(n,o,a)&&e(n,o,a)}}function wt(t){return function(r,n,o){if(!r||!n||typeof r!="object"||typeof n!="object")return t(r,n,o);const{cache:a}=o,i=a.get(r),s=a.get(n);if(i&&s)return i===n&&s===r;a.set(r,n),a.set(n,r);const l=t(r,n,o);return a.delete(r),a.delete(n),l}}function Nc(t){return t?.[Symbol.toStringTag]}function fo(t){return kc(t).concat(Ic(t))}const Dc=Object.hasOwn||((t,e)=>Mc.call(t,e));function Ie(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const Uc="__v",Fc="__o",jc="_owner",{getOwnPropertyDescriptor:ho,keys:po}=Object;function Bc(t,e){return t.byteLength===e.byteLength&&jt(new Uint8Array(t),new Uint8Array(e))}function qc(t,e,r){let n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function $c(t,e){return t.byteLength===e.byteLength&&jt(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function Hc(t,e){return Ie(t.getTime(),e.getTime())}function zc(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function Gc(t,e){return t===e}function mo(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),a=t.entries();let i,s,l=0;for(;(i=a.next())&&!i.done;){const c=e.entries();let d=!1,u=0;for(;(s=c.next())&&!s.done;){if(o[u]){u++;continue}const h=i.value,f=s.value;if(r.equals(h[0],f[0],l,u,t,e,r)&&r.equals(h[1],f[1],h[0],f[0],t,e,r)){d=o[u]=!0;break}u++}if(!d)return!1;l++}return!0}const Vc=Ie;function Wc(t,e,r){const n=po(t);let o=n.length;if(po(e).length!==o)return!1;for(;o-- >0;)if(!si(t,e,r,n[o]))return!1;return!0}function nt(t,e,r){const n=fo(t);let o=n.length;if(fo(e).length!==o)return!1;let a,i,s;for(;o-- >0;)if(a=n[o],!si(t,e,r,a)||(i=ho(t,a),s=ho(e,a),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function Kc(t,e){return Ie(t.valueOf(),e.valueOf())}function Yc(t,e){return t.source===e.source&&t.flags===e.flags}function _o(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),a=t.values();let i,s;for(;(i=a.next())&&!i.done;){const l=e.values();let c=!1,d=0;for(;(s=l.next())&&!s.done;){if(!o[d]&&r.equals(i.value,s.value,i.value,s.value,t,e,r)){c=o[d]=!0;break}d++}if(!c)return!1}return!0}function jt(t,e){let r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function Zc(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function si(t,e,r,n){return(n===jc||n===Fc||n===Uc)&&(t.$$typeof||e.$$typeof)?!0:Dc(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}const Jc="[object ArrayBuffer]",Qc="[object Arguments]",Xc="[object Boolean]",eu="[object DataView]",tu="[object Date]",ru="[object Error]",nu="[object Map]",ou="[object Number]",au="[object Object]",iu="[object RegExp]",su="[object Set]",lu="[object String]",cu={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},uu="[object URL]",du=Object.prototype.toString;function fu({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:a,areMapsEqual:i,areNumbersEqual:s,areObjectsEqual:l,arePrimitiveWrappersEqual:c,areRegExpsEqual:d,areSetsEqual:u,areTypedArraysEqual:h,areUrlsEqual:f,unknownTagComparators:p}){return function(m,y,w){if(m===y)return!0;if(m==null||y==null)return!1;const b=typeof m;if(b!==typeof y)return!1;if(b!=="object")return b==="number"?s(m,y,w):b==="function"?a(m,y,w):!1;const L=m.constructor;if(L!==y.constructor)return!1;if(L===Object)return l(m,y,w);if(Array.isArray(m))return e(m,y,w);if(L===Date)return n(m,y,w);if(L===RegExp)return d(m,y,w);if(L===Map)return i(m,y,w);if(L===Set)return u(m,y,w);const O=du.call(m);if(O===tu)return n(m,y,w);if(O===iu)return d(m,y,w);if(O===nu)return i(m,y,w);if(O===su)return u(m,y,w);if(O===au)return typeof m.then!="function"&&typeof y.then!="function"&&l(m,y,w);if(O===uu)return f(m,y,w);if(O===ru)return o(m,y,w);if(O===Qc)return l(m,y,w);if(cu[O])return h(m,y,w);if(O===Jc)return t(m,y,w);if(O===eu)return r(m,y,w);if(O===Xc||O===ou||O===lu)return c(m,y,w);if(p){let F=p[O];if(!F){const D=Nc(m);D&&(F=p[D])}if(F)return F(m,y,w)}return!1}}function hu({circular:t,createCustomConfig:e,strict:r}){let n={areArrayBuffersEqual:Bc,areArraysEqual:r?nt:qc,areDataViewsEqual:$c,areDatesEqual:Hc,areErrorsEqual:zc,areFunctionsEqual:Gc,areMapsEqual:r?tr(mo,nt):mo,areNumbersEqual:Vc,areObjectsEqual:r?nt:Wc,arePrimitiveWrappersEqual:Kc,areRegExpsEqual:Yc,areSetsEqual:r?tr(_o,nt):_o,areTypedArraysEqual:r?tr(jt,nt):jt,areUrlsEqual:Zc,unknownTagComparators:void 0};if(e&&(n=Object.assign({},n,e(n))),t){const o=wt(n.areArraysEqual),a=wt(n.areMapsEqual),i=wt(n.areObjectsEqual),s=wt(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:i,areSetsEqual:s})}return n}function pu(t){return function(e,r,n,o,a,i,s){return t(e,r,s)}}function mu({circular:t,comparator:e,createState:r,equals:n,strict:o}){if(r)return function(s,l){const{cache:c=t?new WeakMap:void 0,meta:d}=r();return e(s,l,{cache:c,equals:n,meta:d,strict:o})};if(t)return function(s,l){return e(s,l,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};const a={cache:void 0,equals:n,meta:void 0,strict:o};return function(s,l){return e(s,l,a)}}const _u=ve(),lh=ve({strict:!0}),ch=ve({circular:!0}),uh=ve({circular:!0,strict:!0}),yu=ve({createInternalComparator:()=>Ie}),dh=ve({strict:!0,createInternalComparator:()=>Ie}),fh=ve({circular:!0,createInternalComparator:()=>Ie}),hh=ve({circular:!0,createInternalComparator:()=>Ie,strict:!0});function ve(t={}){const{circular:e=!1,createInternalComparator:r,createState:n,strict:o=!1}=t,a=hu(t),i=fu(a),s=r?r(i):pu(i);return mu({circular:e,comparator:i,createState:n,equals:s,strict:o})}var gu={};function wu(t,e){var r=e===void 0?gu:e,n=r.indent,o=r.replacer,a=r.circularReplacer,i=r.stable,s=r.stabilizer,l=[],c=[],d=i&&s?function(u){var h={get:function(f){return u[f]}};return function(f,p){return s({key:f,value:u[f]},{key:p,value:u[p]},h)}}:void 0;return JSON.stringify(t,function(h,f){var p=f;if(typeof p=="object"&&p!==null){if(l.length){var g=l.indexOf(this)+1;g===0?l[l.length]=this:(l.splice(g),c.splice(g)),c[c.length]=h;var m=l.indexOf(p)+1;if(m>0){var y=c.slice(0,m).join(".")||".";return a?a.call(this,h,p,y):"[ref="+y+"]"}}else l[0]=p,c[0]=h;i&&!Array.isArray(p)&&(p=Object.keys(p).sort(d?.(p)).reduce(function(w,b){return w[b]=p[b],w},{}))}return o?o.call(this,h,p):p},n)}class vu{constructor(e){this.l={},this.c=e}a(e,r){const n=this.l[e];n?n.has(r)||n.add(r):this.l[e]=new Set([r])}n(e,r,n){const o=this.l[e];o&&o.forEach(a=>{a({cache:this.c,key:r.k,reason:n,value:r.v,type:e})})}r(e,r){const n=this.l[e];n&&(n.delete(r),n.size||(this.l[e]=void 0))}}function bu(t){return t===1?e=>t>=e.length?e:[e[0]]:t===2?e=>t>=e.length?e:[e[0],e[1]]:e=>{if(t>=e.length)return e;const r=new Array(t);for(let n=0;n<t;++n)r[n]=e[n];return r}}function Su(t,e){const r=typeof e;return r==="function"||r==="symbol"?e.toString():e}function Eu(t){return[wu(t,{replacer:Su})]}function Au(t,e){return t[0]===e[0]}function Pu(t){return typeof t=="function"&&t.isMemoized}function fn(t){return typeof t=="number"&&t>=0&&Number.isFinite(t)}class Cu{constructor(e){this.c=0;const{async:r,maxSize:n}=e;this.e=Ru(e),this.k=Tu(e),this.p=typeof r=="boolean"&&r,this.s=fn(n)?n:1}get size(){return this.c}get snapshot(){const e=[],r=[],n=[];let o=this.h,a=0;for(;o!=null;)r.push(o.k),n.push(o.v),e.push([o.k,o.v]),++a,o=o.n;return{entries:e,keys:r,size:a,values:n}}clear(e="explicit clear"){if(!this.h)return;const r=this.o;let n;if(r){n=[];let o=this.h;for(;o!=null;)n.push(o),o=o.n}if(this.h=this.t=void 0,this.c=0,r&&n)for(let o=0;o<n.length;++o)r.n("delete",n[o],e)}delete(e,r="explicit delete"){const n=this.g(this.k?this.k(e):e);return n?(this.d(n,r),!0):!1}get(e,r="explicit get"){const n=this.g(this.k?this.k(e):e);if(n)return n!==this.h?this.u(n,r,!0):this.o&&this.o.n("hit",n,r),n.v}has(e){return!!this.g(this.k?this.k(e):e)}off(e,r){this.o&&this.o.r(e,r)}on(e,r){this.o||(this.o=new vu(this)),this.o.a(e,r)}set(e,r,n="explicit set"){const o=this.k?this.k(e):e;let a=this.g(o);if(a){const i=a.v;a.v=r,this.p&&r!==i&&(a.v=this.w(a)),a!==this.h&&this.u(a,n,!1)}else a=this.n(o,r)}d(e,r){const n=e.n,o=e.p;n?n.p=o:this.t=o,o?o.n=n:this.h=n,--this.c,e.r=!0,this.o&&this.o.n("delete",e,r)}g(e){let r=this.h;if(!(!r||r.r)){if(this.e(r.k,e))return r;if(this.h!==this.t)for(r=r.n;r;){if(r.r)return;if(this.e(r.k,e))return r;r=r.n}}}n(e,r,n){const o=this.h,a=this.t,i={k:e,n:o,p:void 0,v:r};return this.p&&(i.v=this.w(i)),this.h=i,o?o.p=i:this.t=i,++this.c>this.s&&a&&this.d(a,"evicted"),this.o&&this.o.n("add",i,n),i}u(e,r,n){const o=e.n,a=e.p;o&&(o.p=a),a&&(a.n=o),this.h&&(this.h.p=e),e.n=this.h,e.p=void 0,this.h=e,e===this.t&&(this.t=a),this.o&&(n&&this.o.n("hit",e,r),this.o.n("update",e,r))}w(e){const{v:r}=e;return r==null||typeof r.then!="function"?r:r.then(n=>(!e.r&&this.o&&this.o.n("update",e,"resolved"),n),n=>{throw!e.r&&this.d(e,"rejected"),n})}}function Ru({isKeyEqual:t,isKeyItemEqual:e,serialize:r}){if(typeof t=="function")return t;if(r)return Au;const n=typeof e=="function"?e:e==="deep"?_u:e==="shallow"?yu:Object.is;return function(a,i){const s=i.length;if(a.length!==s)return!1;if(s===1)return n(a[0],i[0],0);for(let l=0;l<s;++l)if(!n(a[l],i[l],l))return!1;return!0}}function Tu(t){const{maxArgs:e,serialize:r,transformKey:n}=t,o=[r?typeof r=="function"?r:Eu:void 0,fn(e)?bu(e):void 0,typeof n=="function"?n:void 0].filter(Boolean);return o.length?o.reduce((a,i)=>(...s)=>a(i(...s))):void 0}class Lu{constructor(e,r){if(this.e=new Map,this.c=e,typeof r=="object"?(this.t=r.after,this.p=r.shouldPersist,this.r=r.shouldRemove,this.u=!!r.update):(this.t=r,this.u=!1),this.c.on("add",({key:n,value:o})=>{this.a(n,o)&&this.s(n,o)}),this.u&&(this.c.on("hit",({key:n,value:o})=>{this.a(n,o)&&this.s(n,o)}),this.c.p)){const n=({key:o,reason:a,value:i})=>{a==="resolved"&&this.a(o,i)&&(this.s(o,i),this.c.off("update",n))};this.c.on("update",n)}this.c.on("delete",({key:n})=>{this.e.has(n)&&this.d(n)})}get size(){return this.e.size}a(e,r){var n;return!!(this.c.g(e)&&!(!((n=this.p)===null||n===void 0)&&n.call(this,e,r,this.c)))}d(e){const r=this.e.get(e);r&&(clearTimeout(r),this.e.delete(e))}s(e,r){this.e.has(e)&&this.d(e);const n=this.c,o=typeof this.t=="function"?this.t(e,r,n):this.t;if(!fn(o))throw new TypeError(`The expiration time must be a finite, non-negative number; received ${o}`);const a=setTimeout(()=>{this.d(e);const i=n.g(e);i&&(typeof this.r=="function"&&!this.r(e,i.v,o,n)?(i!==n.h?n.u(i,"expiration reset",!1):n.o&&n.o.n("update",i,"expiration reset"),this.s(e,i.v)):n.d(i,"expired"))},o);typeof a.unref=="function"&&a.unref(),this.e.set(e,a)}}const xu=new Map;let Ou=!1;class ku{constructor(e,r){this.p={c:0,h:0},this.c=e,this.n=r,xu.set(r,this),Ou&&this.s()}m(){const{c:e,h:r}=this.p,n=e?`${(r/e*100).toFixed(4)}%`:"0.0000%";return{calls:e,hits:r,name:this.n,usage:n}}r(){this.p={c:0,h:0}}s(){const e=()=>{++this.p.c},r=()=>{++this.p.c,++this.p.h};this.d=()=>{this.c.off("add",e),this.c.off("hit",r),this.d=void 0,this.p.c=this.p.h=0},this.c.on("add",e),this.c.on("hit",r)}}const li=function t(e,r={}){if(Pu(e))return t(e.fn,Object.assign({},e.options,r));if(typeof e!="function")throw new TypeError(`Expected first parameter to be function; received ${typeof e}`);const n=new Cu(r),o=Iu(e,n,r.forceUpdate),{expires:a,statsName:i}=r;return o.cache=n,o.expirationManager=a!=null?new Lu(n,a):null,o.fn=e,o.isMemoized=!0,o.options=r,o.statsManager=i!=null?new ku(n,i):null,o};function Iu(t,e,r){const n=function(...a){const i=e.k?e.k(a):a;let s=e.g(i);return s?s!==e.h?e.u(s,void 0,!0):e.o&&e.o.n("hit",s):s=e.n(i,t.apply(this,a)),s.v};return r?function(...a){if(!r(a)||!e.has(a))return n.apply(this,a);const i=t.apply(this,a);return e.set(a,i,"forced"),i}:n}typeof window<"u"&&(window._memoize=li);function Qe(t,e={}){return li(t,{...e,maxSize:30,isKeyItemEqual:"deep"})}function vt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}var Mu={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Lr(t,e){function r(o,a,i){if(!(typeof document>"u")){i=vt({},e,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,i[l]!==!0&&(s+="="+i[l].split(";")[0]));return document.cookie=o+"="+t.write(a,o)+s}}function n(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],i={},s=0;s<a.length;s++){var l=a[s].split("="),c=l.slice(1).join("=");try{var d=decodeURIComponent(l[0]);if(i[d]=t.read(c,d),o===d)break}catch{}}return o?i[o]:i}}return Object.create({set:r,get:n,remove:function(o,a){r(o,"",vt({},a,{expires:-1}))},withAttributes:function(o){return Lr(this.converter,vt({},this.attributes,o))},withConverter:function(o){return Lr(vt({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Nu=Lr(Mu,{path:"/"});function Xe(){return P.local.getJSON("accounts")||[]}function hn(t){P.local.setJSON("accounts",t)}const Du=300*1e3;function xr(t){const e=Xe(),r=t?e.find(o=>o.info.id===t):e[0];if(!r)return null;const n=Date.now();return n-r.lastAccessedAt>Du&&(r.lastAccessedAt=n,hn(e)),r}function Uu(t){return Xe().find(r=>r.accessToken===t)}function Fu(t){return Xe().find(r=>r.instanceURL===t)}function ph(t){return Xe().some(r=>r.instanceURL===t)}const ci=typeof window<"u"?window.matchMedia("(display-mode: standalone)"):null;function ui(){try{const t=P.session.get("currentAccount");if(t)return t}catch{}if(ci?.matches)try{const t=P.local.get("currentAccount");if(t)return t}catch{}return null}const mh=Qe(ui,{expires:60*1e3});function ju(t){try{P.session.set("currentAccount",t)}catch{}if(ci?.matches)try{P.local.set("currentAccount",t)}catch{}}function _t(){window.__IGNORE_GET_ACCOUNT_ERROR__;const t=ui();let e=xr(t);return e||(e=xr()),e}const Bu=Qe(_t,{expires:60*1e3});function rr(){const t=_t(),{instanceURL:e,info:{id:r}}=t;return`${r}@${e}`}function qu(t){const e=Xe(),r=e.find(n=>n.info.id===t.info.id);r?(r.info=t.info,r.instanceURL=t.instanceURL,r.accessToken=t.accessToken,r.vapidKey=t.vapidKey,r.updatedAt=Date.now()):e.push(t),hn(e)}function _h(t){const e=Xe(),r=e.find(n=>n.info.id===t.id);r&&(r.info.displayName!==t.displayName||r.info.avatar!==t.avatar||r.info.avatar_static!==t.avatar_static)&&(r.info={...r.info,...t},hn(e))}let nr=null;function pn(){if(nr)return nr;try{const t=_t(),e=P.local.getJSON("instances"),r=t.instanceURL.toLowerCase();return nr=e[r]}catch{return{}}}let or=null;function yh(){if(or)return or;try{const t=_t(),e=P.local.getJSON("nodeInfos")||{},r=t.instanceURL.toLowerCase();return or=e[r]||{}}catch{return{}}}function di(t){const{configuration:e,maxMediaAttachments:r,maxTootChars:n,pollLimits:o}=t,a=e?.statuses||{};r&&(a.maxMediaAttachments??=r),n&&(a.maxCharacters??=n);const i=e?.polls||{};return o&&(i.maxCharactersPerOption??=o.maxOptionChars,i.maxExpiration??=o.maxExpiration,i.maxOptions??=o.maxOptions,i.minExpiration??=o.minExpiration),{...e,statuses:a,polls:i}}function $u(){const t=pn();return di(t)}function gh(){return pn()?.apiVersions||{}}function wh(t){const e=t?di(t):$u();return e?.vapid?.publicKey||e?.vapid?.public_key||_t()?.vapidKey}function vh(){const t=pn();return/pixelfed/i.test(t?.version)}const Or="credentialApplications";function bh(t,e){const r=P.local.getJSON(Or)||{};r[t]=e,P.local.setJSON(Or,r)}function Sh(t){return(P.local.getJSON(Or)||{})[t]||null}const He=Nu.withAttributes({sameSite:"strict",secure:!0}),ar=navigator.cookieEnabled&&(()=>{try{const t="__phanpy_can_set_secure_cookie__";He.set(t,"1");const r=He.get(t)==="1";return He.remove(t),r}catch{return!1}})(),he={get:t=>{try{return localStorage.getItem(t)}catch{return null}},getJSON:t=>{try{return JSON.parse(he.get(t))}catch{return null}},set:(t,e)=>{try{return localStorage.setItem(t,e)}catch{return null}},setJSON:(t,e)=>{try{return he.set(t,JSON.stringify(e))}catch{return null}},del:t=>{try{return localStorage.removeItem(t)}catch{return null}}},ze={get:t=>{try{return sessionStorage.getItem(t)}catch{return null}},getJSON:t=>{try{return JSON.parse(ze.get(t))}catch{return null}},set:(t,e)=>{try{return sessionStorage.setItem(t,e)}catch{return null}},setJSON:(t,e)=>{try{return ze.set(t,JSON.stringify(e))}catch{return null}},del:t=>{try{return sessionStorage.removeItem(t)}catch{return null}}},Rt={get:t=>He.get(t),set:(t,e)=>He.set(t,e),del:t=>He.remove(t)},Hu={get:t=>ar?Rt.get(t):ze.get(t),set:(t,e)=>ar?Rt.set(t,e):ze.set(t,e),del:t=>ar?Rt.del(t):ze.del(t)},zu={get:t=>{try{return he.getJSON(t)[rr()]}catch{return null}},set:(t,e)=>{try{const r=he.getJSON(t)||{};return r[rr()]=e,he.setJSON(t,r)}catch{return null}},del:t=>{try{const e=he.getJSON(t)||{};return delete e[rr()],he.setJSON(t,e)}catch{return null}}},P={local:he,session:ze,sessionCookie:Hu,cookie:Rt,account:zu},Tt="mastodon.social",Bt={},K={};window.__ACCOUNT_APIS__=K;let H;function de({instance:t,accessToken:e}){/^https?:\/\//.test(t)&&(t=t.replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase());const r=t?`https://${t}`:`https://${Tt}`,o={masto:xc({url:r,accessToken:e,timeout:2*6e4,mediaTimeout:10*6e4}),instance:t,accessToken:e,onStreamingReady:function(a){this._streamingCallback=a}};return Bt[t]=o,K[t]||(K[t]={}),e&&(K[t][e]=o),o}function Eh(t){return!!(P.local.getJSON("instances")||{})[t]}async function Ah(t,e){const{masto:r,accessToken:n}=t;let o;__BENCHMARK.start("fetch-instance");try{o=await r.v2.instance.fetch()}catch{}if(!o)try{o=await r.v1.instance.fetch()}catch{}if(__BENCHMARK.end("fetch-instance"),!o)return;const{uri:a,urls:{streamingApi:i}={},domain:s,configuration:{urls:{streaming:l}={}}={}}=o,c=P.local.getJSON("instances")||{};(a||s)&&(c[(s||a).replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase()]=o),e&&(c[e.toLowerCase()]=o),P.local.setJSON("instances",c);let d;try{if(a||s){let f=a||`https://${s}`;const p=await(await fetch(`${f}/.well-known/nodeinfo`)).json();if(Array.isArray(p?.links)){const g="http://nodeinfo.diaspora.software/ns/schema/",m=p.links.filter(y=>typeof y.rel=="string"&&y.rel.startsWith(g)&&ql(y.rel.slice(g.length))).map(y=>({version:y.rel.slice(g.length),href:y.href})).sort((y,w)=>-Ya(y.version,w.version)).find(y=>Ct(y.version,"<=2"))?.href;m&&(d=await(await fetch(m)).json())}}}catch{}const u=P.local.getJSON("nodeInfos")||{};if(d&&(u[e.toLowerCase()]=d),P.local.setJSON("nodeInfos",u),"WebSocket"in window&&(i||l)){const f=Oc({streamingApiUrl:l||i,accessToken:n,implementation:WebSocket});if(t.streaming=f,t._streamingCallback){try{t._streamingCallback(f)}catch{}t._streamingCallback=null}}__BENCHMARK.end("init-instance")}async function Ph(t,e,r,n){const{masto:o}=t,a=await o.v1.accounts.verifyCredentials();ju(a.id),qu({info:a,instanceURL:e.toLowerCase(),accessToken:r,vapidKey:n,createdAt:Date.now()})}const fi=Qe(()=>P.account.get("preferences")||{},{expires:60*1e3});function Gu(t){fi.cache.clear(),P.account.set("preferences",t)}function Ch(){return!!fi()}async function Rh(t){try{const{masto:e}=t;__BENCHMARK.start("fetch-preferences");const r=await e.v1.preferences.fetch();__BENCHMARK.end("fetch-preferences"),Gu(r)}catch{}}function qt({instance:t,accessToken:e,accountID:r,account:n}={}){if(t&&(t=t.toLowerCase().trim()),t&&e){const l=K[t]?.[e]||de({instance:t,accessToken:e}),{masto:c,streaming:d}=l;return{masto:c,streaming:d,client:l,authenticated:!0,instance:t}}if(e)for(const l in K)if(K[l][e]){const c=K[l][e],{masto:d,streaming:u}=c;return{masto:d,streaming:u,client:c,authenticated:!0,instance:l}}else{const c=Uu(e);if(c){const d=c.accessToken,u=c.instanceURL.toLowerCase().trim(),h=de({instance:u,accessToken:d}),{masto:f,streaming:p}=h;return{masto:f,streaming:p,client:h,authenticated:!0,instance:u}}else throw new Error("Access token not found")}if(n||r)if(n=n||xr(r),n){const l=n.accessToken,c=n.instanceURL.toLowerCase().trim(),d=K[c]?.[l]||de({instance:c,accessToken:l}),{masto:u,streaming:h}=d;return{masto:u,streaming:h,client:d,authenticated:!0,instance:c}}else throw new Error(`Account ${r} not found`);const o=Bu();if(t){if(H?.instance===t)return{masto:H.masto,streaming:H.streaming,client:H,authenticated:!0,instance:t};if(o?.instanceURL===t){const{accessToken:f}=o;return H=K[t]?.[f]||de({instance:t,accessToken:f}),{masto:H.masto,streaming:H.streaming,client:H,authenticated:!0,instance:t}}const l=Fu(t);if(l){const f=l.accessToken,p=K[t]?.[f]||de({instance:t,accessToken:f}),{masto:g,streaming:m}=p;return{masto:g,streaming:m,client:p,authenticated:!0,instance:t}}const c=Bt[t]||de({instance:t}),{masto:d,streaming:u,accessToken:h}=c;return{masto:d,streaming:u,client:c,authenticated:!!h,instance:t}}if(H)return{masto:H.masto,streaming:H.streaming,client:H,authenticated:!0,instance:H.instance};if(o){const{accessToken:l,instanceURL:c}=o;return H=K[c]?.[l]||de({instance:c,accessToken:l}),{masto:H.masto,streaming:H.streaming,client:H,authenticated:!0,instance:c}}const a=Bt[Tt]||de({instance:Tt}),{masto:i,streaming:s}=a;return{masto:i,streaming:s,client:a,authenticated:!1,instance:Tt}}window.__API__={currentAccountApi:H,apis:Bt,accountApis:K};const{getOwnPropertyNames:Vu,getOwnPropertySymbols:Wu}=Object,{hasOwnProperty:Ku}=Object.prototype;function ir(t,e){return function(n,o,a){return t(n,o,a)&&e(n,o,a)}}function bt(t){return function(r,n,o){if(!r||!n||typeof r!="object"||typeof n!="object")return t(r,n,o);const{cache:a}=o,i=a.get(r),s=a.get(n);if(i&&s)return i===n&&s===r;a.set(r,n),a.set(n,r);const l=t(r,n,o);return a.delete(r),a.delete(n),l}}function yo(t){return Vu(t).concat(Wu(t))}const Yu=Object.hasOwn||((t,e)=>Ku.call(t,e)),Zu="__v",Ju="__o",Qu="_owner",{getOwnPropertyDescriptor:go,keys:wo}=Object,Me=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r};function Xu(t,e){return t===e}function ed(t,e){return t.byteLength===e.byteLength&&$t(new Uint8Array(t),new Uint8Array(e))}function td(t,e,r){let n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function rd(t,e){return t.byteLength===e.byteLength&&$t(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function nd(t,e){return Me(t.getTime(),e.getTime())}function od(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function vo(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),a=t.entries();let i,s,l=0;for(;(i=a.next())&&!i.done;){const c=e.entries();let d=!1,u=0;for(;(s=c.next())&&!s.done;){if(o[u]){u++;continue}const h=i.value,f=s.value;if(r.equals(h[0],f[0],l,u,t,e,r)&&r.equals(h[1],f[1],h[0],f[0],t,e,r)){d=o[u]=!0;break}u++}if(!d)return!1;l++}return!0}function ad(t,e,r){const n=wo(t);let o=n.length;if(wo(e).length!==o)return!1;for(;o-- >0;)if(!hi(t,e,r,n[o]))return!1;return!0}function ot(t,e,r){const n=yo(t);let o=n.length;if(yo(e).length!==o)return!1;let a,i,s;for(;o-- >0;)if(a=n[o],!hi(t,e,r,a)||(i=go(t,a),s=go(e,a),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function id(t,e){return Me(t.valueOf(),e.valueOf())}function sd(t,e){return t.source===e.source&&t.flags===e.flags}function bo(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),a=t.values();let i,s;for(;(i=a.next())&&!i.done;){const l=e.values();let c=!1,d=0;for(;(s=l.next())&&!s.done;){if(!o[d]&&r.equals(i.value,s.value,i.value,s.value,t,e,r)){c=o[d]=!0;break}d++}if(!c)return!1}return!0}function $t(t,e){let r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function ld(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function hi(t,e,r,n){return(n===Qu||n===Ju||n===Zu)&&(t.$$typeof||e.$$typeof)?!0:Yu(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}const cd=Object.prototype.toString;function ud(t){const e=pd(t),{areArraysEqual:r,areDatesEqual:n,areFunctionsEqual:o,areMapsEqual:a,areNumbersEqual:i,areObjectsEqual:s,areRegExpsEqual:l,areSetsEqual:c,getUnsupportedCustomComparator:d}=t;return function(h,f,p){if(h===f)return!0;if(h==null||f==null)return!1;const g=typeof h;if(g!==typeof f)return!1;if(g!=="object")return g==="number"||g==="bigint"?i(h,f,p):g==="function"?o(h,f,p):!1;const m=h.constructor;if(m!==f.constructor)return!1;if(m===Object)return s(h,f,p);if(m===Array)return r(h,f,p);if(m===Date)return n(h,f,p);if(m===RegExp)return l(h,f,p);if(m===Map)return a(h,f,p);if(m===Set)return c(h,f,p);if(m===Promise)return!1;if(Array.isArray(h))return r(h,f,p);const y=cd.call(h),w=e[y];if(w)return w(h,f,p);const b=d&&d(h,f,p,y);return b?b(h,f,p):!1}}function dd({circular:t,createCustomConfig:e,strict:r}){let n={areArrayBuffersEqual:ed,areArraysEqual:r?ot:td,areDataViewsEqual:rd,areDatesEqual:nd,areErrorsEqual:od,areFunctionsEqual:Xu,areMapsEqual:r?ir(vo,ot):vo,areNumbersEqual:Me,areObjectsEqual:r?ot:ad,arePrimitiveWrappersEqual:id,areRegExpsEqual:sd,areSetsEqual:r?ir(bo,ot):bo,areTypedArraysEqual:r?ir($t,ot):$t,areUrlsEqual:ld,getUnsupportedCustomComparator:void 0};if(e&&(n=Object.assign({},n,e(n))),t){const o=bt(n.areArraysEqual),a=bt(n.areMapsEqual),i=bt(n.areObjectsEqual),s=bt(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:i,areSetsEqual:s})}return n}function fd(t){return function(e,r,n,o,a,i,s){return t(e,r,s)}}function hd({circular:t,comparator:e,createState:r,equals:n,strict:o}){if(r)return function(s,l){const{cache:c=t?new WeakMap:void 0,meta:d}=r();return e(s,l,{cache:c,equals:n,meta:d,strict:o})};if(t)return function(s,l){return e(s,l,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};const a={cache:void 0,equals:n,meta:void 0,strict:o};return function(s,l){return e(s,l,a)}}function pd({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:a,areMapsEqual:i,areNumbersEqual:s,areObjectsEqual:l,arePrimitiveWrappersEqual:c,areRegExpsEqual:d,areSetsEqual:u,areTypedArraysEqual:h,areUrlsEqual:f}){return{"[object Arguments]":l,"[object Array]":e,"[object ArrayBuffer]":t,"[object AsyncGeneratorFunction]":a,"[object BigInt]":s,"[object BigInt64Array]":h,"[object BigUint64Array]":h,"[object Boolean]":c,"[object DataView]":r,"[object Date]":n,"[object Error]":o,"[object Float16Array]":h,"[object Float32Array]":h,"[object Float64Array]":h,"[object Function]":a,"[object GeneratorFunction]":a,"[object Int8Array]":h,"[object Int16Array]":h,"[object Int32Array]":h,"[object Map]":i,"[object Number]":c,"[object Object]":(p,g,m)=>typeof p.then!="function"&&typeof g.then!="function"&&l(p,g,m),"[object RegExp]":d,"[object Set]":u,"[object String]":c,"[object URL]":f,"[object Uint8Array]":h,"[object Uint8ClampedArray]":h,"[object Uint16Array]":h,"[object Uint32Array]":h}}const md=be(),Th=be({strict:!0}),Lh=be({circular:!0}),xh=be({circular:!0,strict:!0}),Oh=be({createInternalComparator:()=>Me}),kh=be({strict:!0,createInternalComparator:()=>Me}),Ih=be({circular:!0,createInternalComparator:()=>Me}),Mh=be({circular:!0,createInternalComparator:()=>Me,strict:!0});function be(t={}){const{circular:e=!1,createInternalComparator:r,createState:n,strict:o=!1}=t,a=dd(t),i=ud(a),s=r?r(i):fd(i);return hd({circular:e,comparator:i,createState:n,equals:s,strict:o})}function pi(t,e,r,n){let o=t[e];return sn(t,()=>{const a=t[e];Object.is(o,a)||r(o=a)},n)}const{proxyStateMap:Nh,snapCache:Dh}=Wa();const{proxyStateMap:Uh,snapCache:Fh}=Wa();function _d(t){try{const{pathname:e,hash:r,hostname:n}=URL.parse(t);return/^\/.*\/\d+$/i.test(e)||/^\/(@[^/]+|users\/[^/]+)\/(statuses|posts)\/[\w-]+\/?$/i.test(e)||/^\/notes\/[a-z0-9]+$/i.test(e)||/^\/(notice|objects)\/[a-z0-9-]+$/i.test(e)||/^\/@[^/]+\/post\/[a-z0-9\-_]+$/i.test(e)||/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(e)||/^\/ap\/note\/[a-z0-9\-_]+$/i.test(e)||/(fed|bsky)\.brid\.gy/i.test(n)&&e.startsWith("/r/http")||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(e)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(e)||/^\/v\/[a-z0-9]+$/i.test(e)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(r)}catch{return!1}}function yd(t,e={}){return Qe(t,{async:!0,...e})}function gd(t,e){let r=[],n=!1;function o(){if(r.length===0){n=!1;return}r.shift()(),setTimeout(o,e)}return function(...a){const i=()=>t.apply(this,a);r.push(i),n||(n=!0,setTimeout(o,e))}}var Lt={exports:{}},jh=Lt.exports,So;function wd(){return So||(So=1,(function(t){"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(l,c,d){this.fn=l,this.context=c,this.once=d||!1}function a(l,c,d,u,h){if(typeof d!="function")throw new TypeError("The listener must be a function");var f=new o(d,u||l,h),p=r?r+c:c;return l._events[p]?l._events[p].fn?l._events[p]=[l._events[p],f]:l._events[p].push(f):(l._events[p]=f,l._eventsCount++),l}function i(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var c=[],d,u;if(this._eventsCount===0)return c;for(u in d=this._events)e.call(d,u)&&c.push(r?u.slice(1):u);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(d)):c},s.prototype.listeners=function(c){var d=r?r+c:c,u=this._events[d];if(!u)return[];if(u.fn)return[u.fn];for(var h=0,f=u.length,p=new Array(f);h<f;h++)p[h]=u[h].fn;return p},s.prototype.listenerCount=function(c){var d=r?r+c:c,u=this._events[d];return u?u.fn?1:u.length:0},s.prototype.emit=function(c,d,u,h,f,p){var g=r?r+c:c;if(!this._events[g])return!1;var m=this._events[g],y=arguments.length,w,b;if(m.fn){switch(m.once&&this.removeListener(c,m.fn,void 0,!0),y){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,d),!0;case 3:return m.fn.call(m.context,d,u),!0;case 4:return m.fn.call(m.context,d,u,h),!0;case 5:return m.fn.call(m.context,d,u,h,f),!0;case 6:return m.fn.call(m.context,d,u,h,f,p),!0}for(b=1,w=new Array(y-1);b<y;b++)w[b-1]=arguments[b];m.fn.apply(m.context,w)}else{var L=m.length,O;for(b=0;b<L;b++)switch(m[b].once&&this.removeListener(c,m[b].fn,void 0,!0),y){case 1:m[b].fn.call(m[b].context);break;case 2:m[b].fn.call(m[b].context,d);break;case 3:m[b].fn.call(m[b].context,d,u);break;case 4:m[b].fn.call(m[b].context,d,u,h);break;default:if(!w)for(O=1,w=new Array(y-1);O<y;O++)w[O-1]=arguments[O];m[b].fn.apply(m[b].context,w)}}return!0},s.prototype.on=function(c,d,u){return a(this,c,d,u,!1)},s.prototype.once=function(c,d,u){return a(this,c,d,u,!0)},s.prototype.removeListener=function(c,d,u,h){var f=r?r+c:c;if(!this._events[f])return this;if(!d)return i(this,f),this;var p=this._events[f];if(p.fn)p.fn===d&&(!h||p.once)&&(!u||p.context===u)&&i(this,f);else{for(var g=0,m=[],y=p.length;g<y;g++)(p[g].fn!==d||h&&!p[g].once||u&&p[g].context!==u)&&m.push(p[g]);m.length?this._events[f]=m.length===1?m[0]:m:i(this,f)}return this},s.prototype.removeAllListeners=function(c){var d;return c?(d=r?r+c:c,this._events[d]&&i(this,d)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,t.exports=s})(Lt)),Lt.exports}var vd=wd();const bd=Mi(vd);class mn extends Error{name="TimeoutError";constructor(e,r){super(e,r),Error.captureStackTrace?.(this,mn)}}const Eo=t=>t.reason??new DOMException("This operation was aborted.","AbortError");function Sd(t,e){const{milliseconds:r,fallback:n,message:o,customTimers:a={setTimeout,clearTimeout},signal:i}=e;let s,l;const d=new Promise((u,h)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(i?.aborted){h(Eo(i));return}if(i&&(l=()=>{h(Eo(i))},i.addEventListener("abort",l,{once:!0})),t.then(u,h),r===Number.POSITIVE_INFINITY)return;const f=new mn;s=a.setTimeout.call(void 0,()=>{if(n){try{u(n())}catch(p){h(p)}return}typeof t.cancel=="function"&&t.cancel(),o===!1?u():o instanceof Error?h(o):(f.message=o??`Promise timed out after ${r} milliseconds`,h(f))},r)}).finally(()=>{d.clear(),l&&i&&i.removeEventListener("abort",l)});return d.clear=()=>{a.clearTimeout.call(void 0,s),s=void 0},d}function Ed(t,e,r){let n=0,o=t.length;for(;o>0;){const a=Math.trunc(o/2);let i=n+a;r(t[i],e)<=0?(n=++i,o-=a+1):o=a}return n}class Ad{#r=[];enqueue(e,r){const{priority:n=0,id:o}=r??{},a={priority:n,id:o,run:e};if(this.size===0||this.#r[this.size-1].priority>=n){this.#r.push(a);return}const i=Ed(this.#r,a,(s,l)=>l.priority-s.priority);this.#r.splice(i,0,a)}setPriority(e,r){const n=this.#r.findIndex(a=>a.id===e);if(n===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[o]=this.#r.splice(n,1);this.enqueue(o.run,{priority:r,id:e})}dequeue(){return this.#r.shift()?.run}filter(e){return this.#r.filter(r=>r.priority===e.priority).map(r=>r.run)}get size(){return this.#r.length}}class Pd extends bd{#r;#i;#s=0;#h;#m=!1;#g=!1;#l;#C=0;#w=0;#c;#u;#a;#o=[];#n=0;#e;#R;#t=0;#_;#d;#k=1n;#y=new Map;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:Ad,strict:!1,...e},!(typeof e.intervalCap=="number"&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw new TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(this.#r=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#i=e.intervalCap===Number.POSITIVE_INFINITY||e.interval===0,this.#h=e.intervalCap,this.#l=e.interval,this.#a=e.strict,this.#e=new e.queueClass,this.#R=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#d=e.autoStart===!1,this.#B()}#v(e){for(;this.#n<this.#o.length;){const n=this.#o[this.#n];if(n!==void 0&&e-n>=this.#l)this.#n++;else break}(this.#n>100&&this.#n>this.#o.length/2||this.#n===this.#o.length)&&(this.#o=this.#o.slice(this.#n),this.#n=0)}#I(e){this.#a?this.#o.push(e):this.#s++}#M(){this.#a?this.#o.length>this.#n&&this.#o.pop():this.#s>0&&this.#s--}#b(){return this.#o.length-this.#n}get#N(){return this.#i?!0:this.#a?this.#b()<this.#h:this.#s<this.#h}get#D(){return this.#t<this.#_}#U(){this.#t--,this.#t===0&&this.emit("pendingZero"),this.#A(),this.emit("next")}#F(){this.#u=void 0,this.#x(),this.#L()}#j(e){if(this.#a){if(this.#v(e),this.#b()>=this.#h){const n=this.#o[this.#n],o=this.#l-(e-n);return this.#S(o),!0}return!1}if(this.#c===void 0){const r=this.#C-e;if(r<0){if(this.#w>0){const n=e-this.#w;if(n<this.#l)return this.#S(this.#l-n),!0}this.#s=this.#r?this.#t:0}else return this.#S(r),!0}return!1}#S(e){this.#u===void 0&&(this.#u=setTimeout(()=>{this.#F()},e))}#E(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}#T(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#A(){if(this.#e.size===0){if(this.#E(),this.emit("empty"),this.#t===0){if(this.#T(),this.#a&&this.#n>0){const r=Date.now();this.#v(r)}this.emit("idle")}return!1}let e=!1;if(!this.#d){const r=Date.now(),n=!this.#j(r);if(this.#N&&this.#D){const o=this.#e.dequeue();this.#i||(this.#I(r),this.#p()),this.emit("active"),o(),n&&this.#L(),e=!0}}return e}#L(){this.#i||this.#c!==void 0||this.#a||(this.#c=setInterval(()=>{this.#x()},this.#l),this.#C=Date.now()+this.#l)}#x(){this.#a||(this.#s===0&&this.#t===0&&this.#c&&this.#E(),this.#s=this.#r?this.#t:0),this.#P(),this.#p()}#P(){for(;this.#A(););}get concurrency(){return this.#_}set concurrency(e){if(!(typeof e=="number"&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#_=e,this.#P()}setPriority(e,r){if(typeof r!="number"||!Number.isFinite(r))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${r}\` (${typeof r})`);this.#e.setPriority(e,r)}async add(e,r={}){return r={timeout:this.timeout,...r,id:r.id??(this.#k++).toString()},new Promise((n,o)=>{const a=Symbol(`task-${r.id}`);this.#e.enqueue(async()=>{this.#t++,this.#y.set(a,{id:r.id,priority:r.priority??0,startTime:Date.now(),timeout:r.timeout});let i;try{try{r.signal?.throwIfAborted()}catch(c){throw this.#q(),this.#y.delete(a),c}this.#w=Date.now();let s=e({signal:r.signal});if(r.timeout&&(s=Sd(Promise.resolve(s),{milliseconds:r.timeout,message:`Task timed out after ${r.timeout}ms (queue has ${this.#t} running, ${this.#e.size} waiting)`})),r.signal){const{signal:c}=r;s=Promise.race([s,new Promise((d,u)=>{i=()=>{u(c.reason)},c.addEventListener("abort",i,{once:!0})})])}const l=await s;n(l),this.emit("completed",l)}catch(s){o(s),this.emit("error",s)}finally{i&&r.signal?.removeEventListener("abort",i),this.#y.delete(a),queueMicrotask(()=>{this.#U()})}},r),this.emit("add"),this.#A()})}async addAll(e,r){return Promise.all(e.map(async n=>this.add(n,r)))}start(){return this.#d?(this.#d=!1,this.#P(),this):this}pause(){this.#d=!0}clear(){this.#e=new this.#R,this.#E(),this.#O(),this.emit("empty"),this.#t===0&&(this.#T(),this.emit("idle")),this.emit("next")}async onEmpty(){this.#e.size!==0&&await this.#f("empty")}async onSizeLessThan(e){this.#e.size<e||await this.#f("next",()=>this.#e.size<e)}async onIdle(){this.#t===0&&this.#e.size===0||await this.#f("idle")}async onPendingZero(){this.#t!==0&&await this.#f("pendingZero")}async onRateLimit(){this.isRateLimited||await this.#f("rateLimit")}async onRateLimitCleared(){this.isRateLimited&&await this.#f("rateLimitCleared")}onError(){return new Promise((e,r)=>{const n=o=>{this.off("error",n),r(o)};this.on("error",n)})}async#f(e,r){return new Promise(n=>{const o=()=>{r&&!r()||(this.off(e,o),n())};this.on(e,o)})}get size(){return this.#e.size}sizeBy(e){return this.#e.filter(e).length}get pending(){return this.#t}get isPaused(){return this.#d}#B(){this.#i||(this.on("add",()=>{this.#e.size>0&&this.#p()}),this.on("next",()=>{this.#p()}))}#p(){this.#i||this.#g||(this.#g=!0,queueMicrotask(()=>{this.#g=!1,this.#O()}))}#q(){this.#i||(this.#M(),this.#p())}#O(){const e=this.#m;if(this.#i||this.#e.size===0){e&&(this.#m=!1,this.emit("rateLimitCleared"));return}let r;if(this.#a){const o=Date.now();this.#v(o),r=this.#b()}else r=this.#s;const n=r>=this.#h;n!==e&&(this.#m=n,this.emit(n?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#m}get isSaturated(){return this.#t===this.#_&&this.#e.size>0||this.isRateLimited&&this.#e.size>0}get runningTasks(){return[...this.#y.values()].map(e=>({...e}))}}const Ge=2147483647,ee=36,_n=1,ht=26,Cd=38,Rd=700,mi=72,_i=128,yi="-",Td=/^xn--/,Ld=/[^\0-\x7F]/,xd=/[\x2E\u3002\uFF0E\uFF61]/g,Od={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},sr=ee-_n,te=Math.floor,lr=String.fromCharCode;function fe(t){throw new RangeError(Od[t])}function kd(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function gi(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(xd,".");const o=t.split("."),a=kd(o,e).join(".");return n+a}function wi(t){const e=[];let r=0;const n=t.length;for(;r<n;){const o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const a=t.charCodeAt(r++);(a&64512)==56320?e.push(((o&1023)<<10)+(a&1023)+65536):(e.push(o),r--)}else e.push(o)}return e}const Id=t=>String.fromCodePoint(...t),Md=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:ee},Ao=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},vi=function(t,e,r){let n=0;for(t=r?te(t/Rd):t>>1,t+=te(t/e);t>sr*ht>>1;n+=ee)t=te(t/sr);return te(n+(sr+1)*t/(t+Cd))},bi=function(t){const e=[],r=t.length;let n=0,o=_i,a=mi,i=t.lastIndexOf(yi);i<0&&(i=0);for(let s=0;s<i;++s)t.charCodeAt(s)>=128&&fe("not-basic"),e.push(t.charCodeAt(s));for(let s=i>0?i+1:0;s<r;){const l=n;for(let d=1,u=ee;;u+=ee){s>=r&&fe("invalid-input");const h=Md(t.charCodeAt(s++));h>=ee&&fe("invalid-input"),h>te((Ge-n)/d)&&fe("overflow"),n+=h*d;const f=u<=a?_n:u>=a+ht?ht:u-a;if(h<f)break;const p=ee-f;d>te(Ge/p)&&fe("overflow"),d*=p}const c=e.length+1;a=vi(n-l,c,l==0),te(n/c)>Ge-o&&fe("overflow"),o+=te(n/c),n%=c,e.splice(n++,0,o)}return String.fromCodePoint(...e)},Si=function(t){const e=[];t=wi(t);const r=t.length;let n=_i,o=0,a=mi;for(const l of t)l<128&&e.push(lr(l));const i=e.length;let s=i;for(i&&e.push(yi);s<r;){let l=Ge;for(const d of t)d>=n&&d<l&&(l=d);const c=s+1;l-n>te((Ge-o)/c)&&fe("overflow"),o+=(l-n)*c,n=l;for(const d of t)if(d<n&&++o>Ge&&fe("overflow"),d===n){let u=o;for(let h=ee;;h+=ee){const f=h<=a?_n:h>=a+ht?ht:h-a;if(u<f)break;const p=u-f,g=ee-f;e.push(lr(Ao(f+p%g,0))),u=te(p/g)}e.push(lr(Ao(u,0))),a=vi(o,c,s===i),o=0,++s}++o,++n}return e.join("")},Nd=function(t){return gi(t,function(e){return Td.test(e)?bi(e.slice(4).toLowerCase()):e})},Dd=function(t){return gi(t,function(e){return Ld.test(e)?"xn--"+Si(e):e})},Ud={version:"2.3.1",ucs2:{decode:wi,encode:Id},decode:bi,encode:Si,toASCII:Dd,toUnicode:Nd};function Fd(t){try{return Ud.toUnicode(URL.parse(t).hostname.replace(/^www\./,"").replace(/\/$/,""))}catch{return""}}const Po=Qe(Fd),jd=new Pd({concurrency:1,interval:1e3,intervalCap:1}),Co=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function Bd(t){for(let e=0;e<Co.length;e++){const r=t.match(Co[e])?.[1];if(r)return r}return null}const qd=/(twitter|github)\.com/i,Ro={};function $d(t,e){const r=Rr(E);if(qd.test(e)||Ro[e])return;if(new RegExp(t+"/").test(r.unfurledLinks[e]?.url))return Promise.resolve(r.unfurledLinks[e]);let o,a=e;/\/\/elk\.[^\/]+\/[^\/]+\.[^\/]+/i.test(a)&&(a=a.replace(/elk\.[^\/]+\//i,"")),/\/\/trunks\.[^\/]+\/status\/[^\/]+\.[^\/]+/i.test(a)&&(a=a.replace(/trunks\.[^\/]+\/status\//i,"")),/\/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(a)&&(a=`https://${a.split("/#/")[1].replace(/\/s\//i,"/@fakeUsername/")}`);const i=URL.parse(a);if(!i)return;const s=i.hostname,l=i.pathname;let c=Bd(l);if(c){const p=c,{masto:g}=qt({instance:s});o=g.v1.statuses.$select(p).fetch().then(m=>{if(m?.id)return{status:m,instance:s};throw new Error("No results")})}const{masto:d}=qt({instance:t}),u=d.v2.search.fetch({q:a,type:"statuses",resolve:!0,limit:1}).then(p=>{const{statuses:g}=p;if(g.length>0){const m=g.filter(y=>!y.content?.toLowerCase().includes(a.toLowerCase()));if(m.length===1)return{status:m[0],instance:t}}throw new Error("No results")});function h(p){const{status:g,instance:m}=p,{id:y}=g,w=`/${m}/s/${y}`,b=a!==e,L={id:y,instance:m,url:w,originalURL:e,originalDomain:Po(e),canonicalURL:b?a:void 0,canonicalDomain:b?Po(a):void 0};return E.unfurledLinks[e]=L,Ei(g,m,{skipThreading:!0}),L}function f(p){Ro[e]=!0}return o?Promise.race([u,new Promise((g,m)=>setTimeout(m,3e3))]).catch(()=>o.catch(()=>u)).then(h).catch(f):u.then(h).catch(f)}const Hd=(t,e,r)=>jd.add(()=>$d(t,e),{signal:r}),E=Va({appVersion:{},prevLocation:null,currentLocation:null,statuses:{},statusThreadNumber:{},home:[],homeNew:[],homeLast:null,homeLastFetchTime:null,notifications:[],notificationsLast:null,notificationsNew:[],notificationsShowNew:!1,notificationsLastFetchTime:null,reloadStatusPage:0,reloadGenericAccounts:{id:null,counter:0},reloadScheduledPosts:0,spoilers:{},spoilersMedia:{},revealedQuotes:{},scrollPositions:{},unfurledLinks:{},statusQuotes:{},statusFollowedTags:{},statusReply:{},accounts:{},routeNotification:null,composerState:{},showCompose:!1,showSettings:!1,showAccount:!1,showAccounts:!1,showDrafts:!1,showMediaModal:!1,showShortcutsSettings:!1,showKeyboardShortcutsHelp:!1,showGenericAccounts:!1,showMediaAlt:!1,showEmbedModal:!1,showReportModal:!1,showQrCodeModal:!1,showQrScannerModal:!1,showImportExportAccounts:!1,showSearchCommand:!1,shortcuts:[],settings:{autoRefresh:!1,shortcutsViewMode:null,shortcutsColumnsMode:!1,boostsCarousel:!0,contentTranslation:!0,contentTranslationTargetLanguage:null,contentTranslationHideLanguages:[],contentTranslationAutoInline:!1,shortcutSettingsCloudImportExport:!1,mediaAltGenerator:!1,composerGIFPicker:!1,cloakMode:!1}});function Bh(){E.notificationsLast=P.account.get("notificationsLast")||null,E.shortcuts=P.account.get("shortcuts")??[],E.settings.autoRefresh=P.account.get("settings-autoRefresh")??!1,E.settings.shortcutsViewMode=P.account.get("settings-shortcutsViewMode")??null,P.account.get("settings-shortcutsColumnsMode")&&(E.settings.shortcutsColumnsMode=!0),E.settings.boostsCarousel=P.account.get("settings-boostsCarousel")??!0,E.settings.contentTranslation=P.account.get("settings-contentTranslation")??!0,E.settings.contentTranslationTargetLanguage=P.account.get("settings-contentTranslationTargetLanguage")||null,E.settings.contentTranslationHideLanguages=P.account.get("settings-contentTranslationHideLanguages")||[],E.settings.contentTranslationAutoInline=P.account.get("settings-contentTranslationAutoInline")??!1,E.settings.shortcutSettingsCloudImportExport=P.account.get("settings-shortcutSettingsCloudImportExport")??!1,E.settings.mediaAltGenerator=P.account.get("settings-mediaAltGenerator")??!1,E.settings.composerGIFPicker=P.account.get("settings-composerGIFPicker")??!1,E.settings.cloakMode=P.account.get("settings-cloakMode")??!1}pi(E,"notificationsLast",t=>{P.account.set("notificationsLast",E.notificationsLast)});sn(E,t=>{for(const[e,r,n,o]of t)r.join(".")==="settings.autoRefresh"&&P.account.set("settings-autoRefresh",!!n),r.join(".")==="settings.boostsCarousel"&&P.account.set("settings-boostsCarousel",!!n),r.join(".")==="settings.shortcutsViewMode"&&P.account.set("settings-shortcutsViewMode",n),r.join(".")==="settings.contentTranslation"&&P.account.set("settings-contentTranslation",!!n),r.join(".")==="settings.contentTranslationAutoInline"&&P.account.set("settings-contentTranslationAutoInline",!!n),r.join(".")==="settings.shortcutSettingsCloudImportExport"&&P.account.set("settings-shortcutSettingsCloudImportExport",!!n),r.join(".")==="settings.contentTranslationTargetLanguage"&&P.account.set("settings-contentTranslationTargetLanguage",n),/^settings\.contentTranslationHideLanguages/i.test(r.join("."))&&P.account.set("settings-contentTranslationHideLanguages",E.settings.contentTranslationHideLanguages),r.join(".")==="settings.mediaAltGenerator"&&P.account.set("settings-mediaAltGenerator",!!n),r.join(".")==="settings.composerGIFPicker"&&P.account.set("settings-composerGIFPicker",!!n),r?.[0]==="shortcuts"&&P.account.set("shortcuts",E.shortcuts),r.join(".")==="settings.cloakMode"&&P.account.set("settings-cloakMode",!!n)});function qh(){E.showCompose=!1,E.showSettings=!1,E.showAccount=!1,E.showAccounts=!1,E.showDrafts=!1,E.showMediaModal=!1,E.showShortcutsSettings=!1,E.showKeyboardShortcutsHelp=!1,E.showGenericAccounts=!1,E.showMediaAlt=!1,E.showEmbedModal=!1,E.showReportModal=!1,E.showQrCodeModal=!1,E.showQrScannerModal=!1,E.showImportExportAccounts=!1}function _e(t,e){if(t)return e?`${e}/${t}`:t}function zd(t,e){if(e){const r=_e(t,e);return E.statuses[r]}return E.statuses[t]}function Ei(t,e,r){typeof e=="object"&&(r=e,e=null);const{override:n=!0,skipThreading:o=!1,skipUnfurling:a=!1}=r||{};if(!t)return;const i=zd(t.id,e);!n&&i||md(t,i)||(queueMicrotask(()=>{let s=_e(t.id,e);if(i?._pinned&&(t._pinned=i._pinned),E.statuses[s]=t,t.reblog?.id){const c=_e(t.reblog.id,e);E.statuses[c]=t.reblog,s=c}const l=t.reblog?.quote||t.quote;if(l?.id){const{id:c}=l,d=_e(c,e);E.statuses[d]=l;const u=`/${e}/s/${c}`;E.statusQuotes[s]=[{id:c,instance:e,url:u,native:!0}]}if(l?.state){const{quotedStatus:c,state:d}=l;if(c?.id){const{id:u,account:h}=c,f=`/${e}/s/${u}`,p=_e(u,e);E.statuses[p]=c,E.statusQuotes[s]=[{id:u,instance:e,url:f,state:d,account:h,native:!0}]}else E.statusQuotes[s]=[{state:d,native:!0}]}}),o||setTimeout(()=>{Vd(t.reblog||t,e)},100),a||setTimeout(()=>{Wd(t.reblog||t,e)},100))}function Gd(t,e){const{masto:r,instance:n}=qt({instance:e});let o=0;async function a(i,s=0){const{inReplyToId:l,inReplyToAccountId:c}=i;if(!l||c!==i.account.id)return[i];if(l&&c!==i.account.id)throw"Not a thread";const d=_e(l,n);let u=E.statuses[d];if(!u){if(o++>3)throw"Too many fetches for thread";await new Promise(h=>setTimeout(h,500*o)),u=await Kd(l,r),Ei(u,n,{skipThreading:!0})}return[...await a(u,++s),i]}return a(t).then(i=>{i.length>1&&i.forEach((s,l)=>{const c=_e(s.id,n);E.statusThreadNumber[c]=l+1})}).catch(i=>{})}const Vd=gd(Gd,100),To=document.createElement("div");function Wd(t,e){const{instance:r}=qt(),n=t?.content;if(/<a/i.test(n)){const a=_e(t?.id,e);To.innerHTML=n,[...To.querySelectorAll("a[href]:not(.u-url):not(.mention):not(.hashtag)")].filter(s=>{const l=s.href;return!(l===t.url||l===t.uri)&&_d(l)}).forEach((s,l)=>{Hd(r,s.href).then(c=>{c&&a&&c?.id!==t.id&&(Array.isArray(E.statusQuotes[a])||(E.statusQuotes[a]=[]),E.statusQuotes[a][l]||E.statusQuotes[a].splice(l,0,c))})})}}const Kd=yd((t,e)=>e.v1.statuses.$select(t).fetch());function Yd(t){return Intl.getCanonicalLocales(t)}var kr=function(t,e){return kr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},kr(t,e)};function $h(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");kr(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Lo=function(){return Lo=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Lo.apply(this,arguments)};function Ht(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,a;n<o;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}function Zd(t,e){var r=e&&e.cache?e.cache:nf,n=e&&e.serializer?e.serializer:tf,o=e&&e.strategy?e.strategy:Qd;return o(t,{cache:r,serializer:n})}function Jd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Ai(t,e,r,n){var o=Jd(n)?n:r(n),a=e.get(o);return typeof a>"u"&&(a=t.call(this,n),e.set(o,a)),a}function Pi(t,e,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=e.get(o);return typeof a>"u"&&(a=t.apply(this,n),e.set(o,a)),a}function yn(t,e,r,n,o){return r.bind(e,t,n,o)}function Qd(t,e){var r=t.length===1?Ai:Pi;return yn(t,this,r,e.cache.create(),e.serializer)}function Xd(t,e){return yn(t,this,Pi,e.cache.create(),e.serializer)}function ef(t,e){return yn(t,this,Ai,e.cache.create(),e.serializer)}var tf=function(){return JSON.stringify(arguments)},rf=(function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,r){this.cache[e]=r},t})(),nf={create:function(){return new rf}},Hh={variadic:Xd,monadic:ef},cr={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},of={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},gn=/-u(?:-[0-9a-z]{2,8})+/gi;function ae(t,e,r){if(r===void 0&&(r=Error),!t)throw new r(e)}var af=838,ur;function sf(){var t,e;if(!ur){var r=(e=(t=cr.supplemental.languageMatching["written-new"][0])===null||t===void 0?void 0:t.paradigmLocales)===null||e===void 0?void 0:e._locales.split(" "),n=cr.supplemental.languageMatching["written-new"].slice(1,5),o=cr.supplemental.languageMatching["written-new"].slice(5),a=o.map(function(i){var s=Object.keys(i)[0],l=i[s];return{supported:s,desired:l._desired,distance:+l._distance,oneway:l.oneway==="true"}},{});ur={matches:a,matchVariables:n.reduce(function(i,s){var l=Object.keys(s)[0],c=s[l];return i[l.slice(1)]=c._value.split("+"),i},{}),paradigmLocales:Ht(Ht([],r,!0),r.map(function(i){return new Intl.Locale(i.replace(/_/g,"-")).maximize().toString()}),!0)}}return ur}function St(t,e,r){var n=e.split("-"),o=n[0],a=n[1],i=n[2],s=!0;if(i&&i[0]==="$"){var l=i[1]!=="!",c=l?r[i.slice(1)]:r[i.slice(2)],d=c.map(function(u){return of[u]||[u]}).reduce(function(u,h){return Ht(Ht([],u,!0),h,!0)},[]);s&&(s=d.indexOf(t.region||"")>-1==l)}else s&&(s=t.region?i==="*"||i===t.region:!0);return s&&(s=t.script?a==="*"||a===t.script:!0),s&&(s=t.language?o==="*"||o===t.language:!0),s}function xo(t){return[t.language,t.script,t.region].filter(Boolean).join("-")}function dr(t,e,r){for(var n=0,o=r.matches;n<o.length;n++){var a=o[n],i=St(t,a.desired,r.matchVariables)&&St(e,a.supported,r.matchVariables);if(!a.oneway&&!i&&(i=St(t,a.supported,r.matchVariables)&&St(e,a.desired,r.matchVariables)),i){var s=a.distance*10;return r.paradigmLocales.indexOf(xo(t))>-1!=r.paradigmLocales.indexOf(xo(e))>-1?s-1:s}}throw new Error("No matching distance found")}function lf(t,e){var r=new Intl.Locale(t).maximize(),n=new Intl.Locale(e).maximize(),o={language:r.language,script:r.script||"",region:r.region||""},a={language:n.language,script:n.script||"",region:n.region||""},i=0,s=sf();return o.language!==a.language&&(i+=dr({language:r.language,script:"",region:""},{language:n.language,script:"",region:""},s)),o.script!==a.script&&(i+=dr({language:r.language,script:o.script,region:""},{language:n.language,script:a.script,region:""},s)),o.region!==a.region&&(i+=dr(o,a,s)),i}var cf=Zd(lf,{serializer:function(t){return"".concat(t[0],"|").concat(t[1])}});function uf(t){for(var e=[],r=t;r;){e.push(r);var n=r.lastIndexOf("-");if(n===-1)break;r=r.substring(0,n)}return e}var Oo=new WeakMap;function df(t,e,r){var n;r===void 0&&(r=af);var o=1/0,a={matchedDesiredLocale:"",distances:{}},i=Oo.get(e);i||(i=e.map(function(m){try{var y=Intl.getCanonicalLocales([m]);return y[0]||m}catch{return m}}),Oo.set(e,i));for(var s=new Set(i),l=0;l<t.length;l++){var c=t[l];if(s.has(c)){var d=0+l*40;if(a.distances[c]=(n={},n[c]=d,n),d<o&&(o=d,a.matchedDesiredLocale=c,a.matchedSupportedLocale=c),l===0)return a}}for(var l=0;l<t.length;l++){var c=t[l];try{var u=new Intl.Locale(c).maximize().toString();if(u!==c)for(var h=uf(u),f=0;f<h.length;f++){var p=h[f];if(p!==c&&s.has(p)){var d=void 0;try{var g=new Intl.Locale(p).maximize().toString();d=g===u?0+l*40:f*10+l*40}catch{d=f*10+l*40}a.distances[c]||(a.distances[c]={}),a.distances[c][p]=d,d<o&&(o=d,a.matchedDesiredLocale=c,a.matchedSupportedLocale=p);break}}}catch{}}return a.matchedSupportedLocale&&o===0||(t.forEach(function(m,y){a.distances[m]||(a.distances[m]={}),i.forEach(function(w,b){var L=e[b],O=cf(m,w),F=O+0+y*40;a.distances[m][L]=F,F<o&&(o=F,a.matchedDesiredLocale=m,a.matchedSupportedLocale=L)})}),o>=r&&(a.matchedDesiredLocale=void 0,a.matchedSupportedLocale=void 0)),a}function ff(t,e,r){var n,o,a=[],i=e.reduce(function(l,c){var d=c.replace(gn,"");return a.push(d),l[d]=c,l},{}),s=df(a,t);return s.matchedSupportedLocale&&s.matchedDesiredLocale&&(n=s.matchedSupportedLocale,o=i[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length)||void 0),n?{locale:n,extension:o}:{locale:r()}}function hf(t,e){var r=e.toLowerCase();ae(t!==void 0,"ukey must be defined");var n=r;return n}function ko(t){return Intl.getCanonicalLocales(t)[0]}function pf(t,e,r){ae(t.indexOf("-u-")===-1,"Expected locale to not have a Unicode locale extension");for(var n="-u",o=0,a=e;o<a.length;o++){var i=a[o];n+="-".concat(i)}for(var s=0,l=r;s<l.length;s++){var c=l[s],d=c.key,u=c.value;n+="-".concat(d),u!==""&&(n+="-".concat(u))}if(n==="-u")return ko(t);var h=t.indexOf("-x-"),f;if(h===-1)f=t+n;else{var p=t.slice(0,h),g=t.slice(h);f=p+n+g}return ko(f)}var Io=new WeakMap;function Ci(t,e){var r=Io.get(t);r||(r=new Set(t),Io.set(t,r));for(var n=e;;){if(r.has(n))return n;var o=n.lastIndexOf("-");if(!~o)return;o>=2&&n[o-2]==="-"&&(o-=2),n=n.slice(0,o)}}function mf(t,e,r){for(var n={locale:""},o=0,a=e;o<a.length;o++){var i=a[o],s=i.replace(gn,""),l=Ci(t,s);if(l)return n.locale=l,i!==s&&(n.extension=i.slice(s.length,i.length)),n}return n.locale=r(),n}function _f(t){ae(t===t.toLowerCase(),"Expected extension to be lowercase"),ae(t.slice(0,3)==="-u-","Expected extension to be a Unicode locale extension");for(var e=[],r=[],n,o=t.length,a=3;a<o;){var i=t.indexOf("-",a),s=void 0;i===-1?s=o-a:s=i-a;var l=t.slice(a,a+s);ae(s>=2,"Expected a subtag to have at least 2 characters"),n===void 0&&s!=2?e.indexOf(l)===-1&&e.push(l):s===2?(n={key:l,value:""},r.find(function(c){return c.key===n?.key})===void 0&&r.push(n)):n?.value===""?n.value=l:(ae(n!==void 0,"Expected keyword to be defined"),n.value+="-"+l),a+=s+1}return{attributes:e,keywords:r}}function yf(t,e,r,n,o,a){var i,s=r.localeMatcher,l;s==="lookup"?l=mf(Array.from(t),e,a):l=ff(Array.from(t),e,a),l==null&&(l={locale:a(),extension:""});var c=l.locale,d=o[c],u={locale:"en",dataLocale:c},h,f;l.extension?(h=_f(l.extension),f=h.keywords):f=[];for(var p=[],g=function(L){var O=(i=d?.[L])!==null&&i!==void 0?i:[];ae(Array.isArray(O),"keyLocaleData for ".concat(L," must be an array"));var F=O[0];ae(F===void 0||typeof F=="string","value must be a string or undefined");var D=void 0,oe=f.find(function(v){return v.key===L});if(oe){var J=oe.value;J!==""?O.indexOf(J)>-1&&(F=J,D={key:L,value:F}):O.indexOf("true")>-1&&(F="true",D={key:L,value:F})}var $=r[L];if(ae($==null||typeof $=="string","optionsValue must be a string or undefined"),typeof $=="string"){var _=L.toLowerCase();$=hf(_,$),$===""&&($="true")}$!==F&&O.indexOf($)>-1&&(F=$,D=void 0),D&&p.push(D),u[L]=F},m=0,y=n;m<y.length;m++){var w=y[m];g(w)}var b=[];return p.length>0&&(b=[],c=pf(c,b,p)),u.locale=c,u}function zh(t,e){for(var r=[],n=0,o=e;n<o.length;n++){var a=o[n],i=a.replace(gn,""),s=Ci(t,i);s&&r.push(s)}return r}function gf(t,e,r,n){return yf(e,Yd(t),{localeMatcher:n?.algorithm||"best fit"},[],{},function(){return r}).locale}const Mo="localeMatchCache";function Ri(...t){try{return gf(...t)}catch{return t[2]||!1}}typeof window<"u"&&(window._localeMatch=Ri);function wf(t){return function(...e){const r=e.map(a=>Array.isArray(a)?a.join(","):a).join("|");let n;try{n=P.session.getJSON(Mo)||{}}catch{return t(...e)}if(n[r])return n[r];const o=t(...e);try{n[r]=o,P.session.setJSON(Mo,n)}catch{}return o}}const vf=Qe(wf(Ri)),Ti=ce(),bf="sprite-icon";function Gh({children:t}){const[e,r]=le(new Set),[n,o]=le({}),a=ye(async l=>{if(!e.has(l))try{const{ICONS:c}=await I(async()=>{const{ICONS:p}=await import("./ICONS-DaAGffIM.js");return{ICONS:p}},[],import.meta.url),d=c[l];if(!d)return;let u;Array.isArray(d)?u=d[0]:typeof d=="object"?u=d.module:u=d;const f=(await u()).default;o(p=>({...p,[l]:f})),r(p=>new Set([...p,l]))}catch{}},[e]),i=ye(l=>e.has(l),[e]),s={loadIcon:a,isIconLoaded:i,loadedIcons:e,iconData:n};return re(Ti.Provider,{value:s,children:[t,re(Sf,{})]})}function Sf(){const{loadedIcons:t,iconData:e}=Af();return t.size===0?null:re("svg",{style:{display:"none"},"aria-hidden":"true",children:re("defs",{children:Array.from(t).map(r=>{const n=e[r];return n?re(Ef,{iconName:r,data:n},r):null})})})}const Ef=Wr(function({iconName:t,data:e}){return re("symbol",{id:`${bf}-${t}`,viewBox:`0 0 ${e.width} ${e.height}`,dangerouslySetInnerHTML:{__html:e.body}})},(t,e)=>t.iconName===e.iconName);function Af(){const t=V(Ti);if(!t)throw new Error("useIconSprite must be used within IconSpriteProvider");return t}function Pf({abrupt:t,hidden:e,...r}){return re("span",{...r,class:`loader-container ${t?"abrupt":""} ${e?"hidden":""}`,children:re("span",{class:"loader"})})}const wn=[{code:"ar-SA",nativeName:"العربية",name:"Arabic",completion:21,listed:!1},{code:"ca-ES",nativeName:"català",name:"Catalan",completion:100,listed:!0},{code:"cs-CZ",nativeName:"čeština",name:"Czech",completion:71,listed:!0},{code:"de-DE",nativeName:"Deutsch",name:"German",completion:93,listed:!0},{code:"eo-UY",nativeName:"Esperanto",name:"Esperanto",completion:93,listed:!0},{code:"es-ES",nativeName:"español",name:"Spanish",completion:100,listed:!0},{code:"eu-ES",nativeName:"euskara",name:"Basque",completion:100,listed:!0},{code:"fa-IR",nativeName:"فارسی",name:"Persian",completion:62,listed:!0},{code:"fi-FI",nativeName:"suomi",name:"Finnish",completion:100,listed:!0},{code:"fr-FR",nativeName:"français",name:"French",completion:91,listed:!0},{code:"gl-ES",nativeName:"galego",name:"Galician",completion:100,listed:!0},{code:"he-IL",nativeName:"עברית",name:"Hebrew",completion:21,listed:!1},{code:"it-IT",nativeName:"italiano",name:"Italian",completion:100,listed:!0},{code:"ja-JP",nativeName:"日本語",name:"Japanese",completion:66,listed:!0},{code:"kab",nativeName:"Taqbaylit",name:"Kabyle",completion:87,listed:!0},{code:"ko-KR",nativeName:"한국어",name:"Korean",completion:77,listed:!0},{code:"lt-LT",nativeName:"lietuvių",name:"Lithuanian",completion:89,listed:!0},{code:"nb-NO",nativeName:"norsk bokmål",name:"Norwegian Bokmål",completion:43,listed:!1},{code:"nl-NL",nativeName:"Nederlands",name:"Dutch",completion:66,listed:!0},{code:"pl-PL",nativeName:"polski",name:"Polish",completion:100,listed:!0},{code:"pt-BR",nativeName:"português",name:"Portuguese",completion:90,listed:!0},{code:"pt-PT",nativeName:"português",name:"Portuguese",completion:90,listed:!0},{code:"ru-RU",nativeName:"русский",name:"Russian",completion:98,listed:!0},{code:"th-TH",nativeName:"ไทย",name:"Thai",completion:7,listed:!1},{code:"tr-TR",nativeName:"Türkçe",name:"Turkish",completion:41,listed:!1},{code:"uk-UA",nativeName:"українська",name:"Ukrainian",completion:84,listed:!0},{code:"zh-CN",nativeName:"简体中文",name:"Simplified Chinese",completion:100,listed:!0},{code:"zh-TW",nativeName:"繁體中文",name:"Traditional Chinese",completion:35,listed:!1}],Cf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},Ve="en",Vh=wn,Li=[Ve,...wn.filter(({listed:t})=>t).map(({code:t})=>t)],Wh=Li;let zt=[];Cf?.PHANPY_SHOW_DEV_LOCALES&&(zt=wn.filter(({listed:t})=>!t).map(({code:t})=>t),zt.push("pseudo-LOCALE"));const Kh=zt,No=[...Li,...zt],Rf=(t,e,r)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};function Tf(t,e={useSessionStorage:!1}){return e.useSessionStorage?globalThis.sessionStorage.getItem(t):globalThis.localStorage.getItem(t)}function Lf(t=globalThis.navigator){return t.language||t.userLanguage}function xf(t){const e=/([^=?#&]+)=?([^&]*)/g,r={};let n;for(;n=e.exec(t);){const o=Do(n[1]),a=Do(n[2]);o===null||a===null||o in r||(r[o]=a)}return r}function Do(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return null}}function Of(t,e=globalThis.location){if(!t)throw new Error("fromUrl parameter is required");return xf(e.search)[t]||null}function kf(...t){const e=[];for(let r=0;r<t.length;r++){const n=typeof t[r]=="function"?t[r]():t[r];n&&e.push(n)}return e}const If=/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,Uo=/^([a-zA-Z]{2,3}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-(?:[a-zA-Z]{2}|\d{3}))?(-(?:[a-zA-Z\d]{5,8}|\d[a-zA-Z\d]{3}))?$/;class Te{constructor(e){if(typeof e!="string")throw new TypeError("A string argument is expected");if(!Uo.test(e))throw new RangeError("A proper locale must be provided");this._locale=e}static _escapeRegExpPattern(e){return typeof e!="string"?e:e.replace(If,"\\$1")}static _toLowerCase(e,r){return typeof e!="string"?r&&e:e.toLowerCase()}static _toUpperCase(e,r){return typeof e!="string"?r&&e:e.toUpperCase()}static _trim(e,r,n){const o=[];let a;const i=function(l){o.push("^"+l+"+|"+l+"+$")};if(typeof r=="boolean"&&(n=r,r=null),typeof e!="string")return n?e:void 0;if(Array.isArray(r)&&r.map(l=>{const c=this._escapeRegExpPattern(l);i(c)}),typeof r=="string"){const l=this._escapeRegExpPattern(r);i(l)}r||i("\\s");const s="("+o.join("|")+")";for(a=new RegExp(s,"g");e.match(a);)e=e.replace(a,"");return e}static _parseLocale(e){if(typeof e!="string")return;const r=Uo.exec(e);let n,o,a;if(!e||!r)return;const i=this._trim(r[2],["-","_"]),s=this._trim(r[3],["-","_"]);return n=this._toLowerCase(r[1]),o=this._toLowerCase(i)||o,a=this._toUpperCase(s)||a,{lang:n,script:o,countryCode:a}}_isRtlLang(){const{lang:e,script:r}=Te._parseLocale(this._locale);return r?Te._RTL_SCRIPTS.indexOf(r)>=0:Te._BIDI_RTL_LANGS.indexOf(e)>=0}getTextInfo(){return{direction:this._isRtlLang()?"rtl":"ltr"}}}Te._RTL_SCRIPTS=["adlm","arab","armi","avst","chrs","cprt","elym","hatr","hebr","hung","khar","lydi","mand","mani","mend","merc","mero","narb","nbat","nkoo","orkh","ougr","palm","phli","phlp","phnx","prti","rohg","samr","sarb","sogd","sogo","syrc","thaa","yezi"];Te._BIDI_RTL_LANGS=["ae","aeb","ajt","apc","apd","ar","ara","arb","arc","arq","ars","ary","arz","ave","avl","bal","bcc","bej","bft","bgn","bqi","brh","cja","ckb","cld","dcc","dgl","div","drw","dv","fa","fas","fia","fub","gbz","gjk","gju","glk","grc","gwc","gwt","haz","he","heb","hnd","hno","iw","ji","kas","kby","khw","ks","kvx","kxp","kzh","lad","lah","lki","lrc","luz","mde","mfa","mki","mvy","myz","mzn","nqo","oru","ota","otk","oui","pal","pbu","per","pes","phl","phn","pnb","pra","prd","prs","ps","pus","rhg","rmt","scl","sd","sdh","shu","skr","smp","snd","sog","swb","syr","tnf","trw","ug","uig","ur","urd","wni","xco","xld","xmn","xmr","xna","xpr","xsa","ydd","yi","yid","zdj"];const xi=JSON.parse(`{"+/xYEI":["Switch to Side Peek view"],"+38pse":["Reply scheduled"],"+3FjPq":["Unable to report post"],"+71G9C":[["count","plural",{"1":[["account"]," followed you."],"other":["<0><1>",["0"],"</1> people</0> followed you."]}]],"+9E7iR":["Connected on ",["0"]," (<0/>)"],"+Cxvld":["<0>Shift</0> + <1>c</1>"],"+GkIdc":["Scheduled Posts"],"+IJm1Z":["Muted"],"+Kq2vY":["Shortcut settings copied"],"+RZyRm":["Post hidden because you've blocked ",["domain"],"."],"+XOeb+":["Boosted/Liked by…"],"+ZzjRY":[["hashtagTitle"]],"+bAQ3S":["Only you can quote"],"+k97fV":["Nothing to see here yet."],"+kQ/cY":["Delete this list?"],"+kQy/G":["Edit notes"],"+niKJH":["anyone"],"+owNNn":["Posts"],"+syLpm":[["optionVotesCount","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"/2mUza":["Media attachments:"],"/3LJfX":["Unblock <0>@",["username"],"</0>"],"/4fHR1":["A draft post is currently minimized. Post or discard it before creating a new one."],"/5ZKeE":["Pop in"],"/7UQ7y":["Whole word"],"/BGBeF":["Muted ",["username"]],"/CLBTL":["Note: This feature uses external GIF search service, powered by <0>GIPHY</0>. G-rated (suitable for viewing by all ages), tracking parameters are stripped, referrer information is omitted from requests, but search queries and IP address information will still reach their servers."],"/Cw4Tx":["Downloading GIF…"],"/IX/7x":["Other"],"/JFxxT":["Switch to account's instance ",["0"]],"/KEBaP":["Unable to copy HTML code"],"/MJ7gZ":["No lists."],"/OvbEC":["e.g. “mastodon.social”"],"/W5yFF":["Delete this draft?"],"/WA/tl":["View all notifications"],"/Xg6f6":["No quotes yet"],"/bZzdR":["Mentions"],"/cKnpj":["Account posts"],"/dlmrZ":["Show all authors"],"/fY1js":["Ask a question"],"/nf2x7":["Math expressions found."],"/plB9m":["Muted @",["username"]," for ",["0"]],"/zL/Mq":["Scheduled post deleted"],"03Qqf9":["Filtered"],"03jFGT":["No one mentioned you :("],"03vjxE":["Replying to @",["0"]],"08IojR":["Unable to access camera. Please check permissions."],"09u3Kk":["Delete scheduled post?"],"0J4sZq":["Error deleting drafts! Please try again."],"0MgdN+":["Back to top"],"0NXzv9":["Private posts cannot be quoted"],"0OHPem":["This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."],"0SdaOt":["Post translation"],"0WUFGD":["Showing posts in ",["0"]],"0X2KC8":["Boosts from @",["username"]," enabled."],"0YgcH9":["Go to Notifications"],"0h4/9h":[" Notifications disabled for @",["username"],"'s posts."],"0mC0SF":["Auto refresh timeline posts"],"0mebiX":[["selectedCount","plural",{"one":["Import ","#"," account"],"other":["Import ","#"," accounts"]}]],"0tG4wG":["Unable to unblock @",["username"]],"0tQ7AD":["Density"],"0tZAhT":["⚠️⚠️⚠️ Very experimental.<0/>Stored in your own profiles notes. Profile (private) notes are mainly used for other profiles, and hidden for own profile."],"0udtPI":["Only mentions"],"0whvLM":[["0","plural",{"one":["Announcement"],"other":["Announcements"]}]],"10OlfF":["Nothing to show"],"1C/9Sa":["Bookmarked"],"1DBGsz":["Notes"],"1JZ175":[["0","plural",{"one":["#"," keyword"],"other":["#"," keywords"]}]],"1QfxQT":["Dismiss"],"1RfGk7":["Let's catch up on the posts from your followings."],"1TNIig":["Open"],"1dyGG/":["Catch-up ",["0"]," removed"],"1lGm1k":["A separate timeline for followings. Email-inspired interface to sort and filter posts."],"1njn7W":["Light"],"1o+mEC":["last 4 hours"],"1pKapz":["Send post"],"1qL+L+":["Specific list is optional. For multi-column mode, list is required, else the column will not be shown."],"1t/NnN":["Reject"],"237hSL":["Ended"],"24misb":["More…"],"24w+FD":[["years","plural",{"one":["#"," year later"],"other":["#"," years later"]}]],"27x6gl":["Copy handle"],"2AeREO":["Unable to load followed hashtags."],"2BApYc":["Private mentions"],"2BBAbc":["List"],"2C0g0G":["Post unavailable"],"2EYeAZ":["The end."],"2FYpfJ":["More"],"2LiWsE":["Switch to Full view"],"2MQ2cd":["Enter a new instance e.g. \\"mastodon.social\\""],"2S/uvJ":[["0","plural",{"one":["#"," hashtag"],"other":["#"," hashtags"]}]],"2WtL62":["Pending review"],"2jI8hh":["Let's catch up"],"2oZ4Iw":["Error fetching quoted status!"],"2xahsi":["Continue with ",["selectedInstanceText"]],"2yr1/p":["New posts"],"32TndD":["Blocked"],"3IakFR":["Delete all drafts?"],"3Ib6FN":["Move down"],"3LkfZu":["Mention <0>@",["username"],"</0>"],"3OLv47":["Unable to unfeature on profile"],"3P1r1z":["Quote settings updated"],"3TSz9S":["Minimize"],"3Uoj83":["Error loading quotes"],"3Xq4Zi":["Add more than one shortcut/column to make this work."],"3ePd3I":["What's new"],"3mOee6":["Edit filter"],"3t/Nrv":["Switch to this account"],"3wG7HI":["Uploaded"],"3xIN+E":["No columns yet. Tap on the Add column button."],"4+7X9i":["Notifications settings updated"],"4/RpOy":["Open in new window"],"4/iCqx":["Trending"],"40naR1":["Scheduled post rescheduled"],"40z2Fm":["View profile…"],"41gejM":["Expand content warning or<0/>toggle expanded/collapsed thread"],"44hICK":["Unable to load account."],"48oDit":[["query"]," <0> accounts, hashtags & posts</0>"],"4Dh9J1":["Unable to delete filter."],"4ERYY7":["Federated"],"4LHHK6":["More from <0/>"],"4MFM3P":["No hashtags found."],"4R1B1H":["Recent searches"],"4S86wI":["Looks like your browser is blocking popups."],"4UOm4A":[["0","plural",{"other":["<0>@",["1"],"</0> first, ","#"," others below"]}]],"4WUbF1":["Poll"],"4XF0BB":["Profile picture"],"4b3oEV":["Content"],"4cijjm":["Send Report"],"4uflEE":["Default visibility updated"],"5+87Pq":["Notification"],"52x24e":["Note: <0>Default</0> account will always be used for first load. Switched accounts will persist during the session."],"570qTm":["\\"Cloud\\" import/export for shortcuts settings"],"5BFynH":["+ Replies"],"5GFQTh":["Unable to fetch notifications."],"5KJFnN":["Not available in current view mode"],"5Lvp3B":["Existing"],"5LwCCI":["Ended <0/>"],"5PGPvG":["View #Wrapstodon"],"5bAOta":["Post removed by author"],"5gfDMm":["Media description"],"5hXGws":["Open original media in new window"],"5t4KSs":["View Quotes"],"5vzJxv":[["0","plural",{"one":["#"," filter"],"other":["#"," filters"]}]],"5w02SH":["Shortcuts saved"],"5ykMJ1":["Reply all"],"6Fs1Ba":["Follow requests"],"6HA9+s":["No trending posts."],"6KkH+2":["<0>Version:</0> <1/> ",["0"]],"6LUsk7":["Push notifications are blocked. Please enable them in your browser settings."],"6MzUUU":["Append to current shortcuts?"],"6XYpYY":["Previous post"],"6YeoAt":["Search: ",["q"]," (Posts)"],"6YtxFj":["Name"],"6ZjzWP":["Override current shortcuts?"],"6lGV3K":["Show less"],"6yILME":["Describe image…"],"73lp8c":["View profile"],"77Emn0":["Keyboard shortcuts"],"7FGvtQ":["Filtered: ",["filterTitleStr"]],"7Ff7ia":["Bookmarks"],"7I3sDQ":["Note: This feature uses external translation services, powered by <0>",["TRANSLATION_API_NAME"],"</0>."],"7KnEYa":["Unable to remove from list."],"7PQAMY":["Report post…"],"7QSeK6":["Unable to load posts."],"7Vb+qD":["last 11 hours"],"7WYl2I":["View profile image"],"7WddtO":["Invalid instance"],"7ZJHdw":["Home / Following"],"7d1a0d":["Public"],"7dHKu4":[["0","plural",{"one":["#"," follow request"],"other":["#"," follow requests"]}]],"7defFj":["Optional, e.g. mastodon.social"],"7e0O8Z":["Accounts…"],"7jyUKe":["Sorry, your current logged-in instance can't interact with this post from another instance."],"7oRLbi":["Mutual"],"7r6sCa":["Text size"],"8+HOWa":["last 3 hours"],"80sOCm":["<0>Enter</0> or <1>o</1>"],"84WuL2":["<0>l</0> or <1>f</1>"],"87a/t/":["Label"],"8GjLvB":[["accountDisplay"]," (",["monthYear"],")"],"8Kudkr":["Shortcuts / Columns…"],"8MkSAW":["View post by <0>@",["0"],"</0>"],"8SN9kN":["Unable to mute conversation"],"8ab1sR":["Liked"],"8d0b8B":["Push permission was not granted since your last login. You'll need to <0><1>log in</1> again to grant push permission</0>."],"8fZueG":["Read more →"],"8i6Ueo":["Custom emojis"],"8iQ+jk":["No drafts found."],"8k2w6G":["No bookmarks yet. Go bookmark something!"],"8prZNK":[["0","plural",{"one":["#"," list"],"other":["#"," lists"]}]],"8r8KmB":["Show all sensitive content"],"8zsp51":["Generating description. Please wait…"],"95IFnD":["New update available…"],"98E0aM":[["index"],"/",["total"]],"9J6biQ":["Unable to switch"],"9KEidY":["Type to search GIFs"],"9Ko+Xp":["Your followers can quote"],"9OpVZg":["Edit profile"],"9Q/4xJ":["Back to showing trending posts"],"9Vdq+j":["Automated"],"9ZCilh":["Show media"],"9ZP9cc":["Forever"],"9ZYiLz":["Saving shortcuts to instance server…"],"9groMz":["Translated Bio"],"9npOH9":["Open file"],"9q5uor":["Image description generator"],"9ra4hn":["Featured on profile"],"9tmn6W":["Add shortcut…"],"9veeTb":["Trending News"],"A/CX5F":[["accountDisplay"]," (- Boosts)"],"A05Pj6":["Thread ",["index"],"/",["total"]],"A1As8l":["beta"],"A1taO8":["Search"],"A6cs15":["Unable to unpin post"],"A7kMZX":[["0","plural",{"one":["#"," account"],"other":["#"," accounts"]}]],"AB/GtR":["Looks like you already have a compose field open in the parent window. Popping in this window will discard the changes you made in the parent window. Continue?"],"ACul2G":["Report @",["username"]],"AGyV7s":["Overlaps with your last catch-up"],"AIa/f7":["Compose new post"],"AJqQb+":["Show markup"],"AThL/k":["Error loading accounts"],"AWOSPo":["Zoom in"],"AZ2EoP":["<0>Built</0> by <1>@cheeaun</1>"],"Aadw0+":["Go to account page"],"AeM/di":["Account Emojis:"],"AeXO77":["Account"],"AgkUZa":["No featured profiles."],"AgkcM/":["@",["username"]," removed from followers"],"Ap/10+":["Looks like you have unsent drafts. Let's continue where you left off."],"AuiMZZ":["Search: ",["q"]," (Hashtags)"],"AzZ5zv":["Polls are not interactive, becomes a list with vote counts."],"B4Xkly":["Unmuted @",["username"]],"B6cG3J":["Download shortcuts from instance server"],"BATCqf":["Showing posts mentioning <0>",["0"],"</0>"],"BC0lSD":["Unable to copy handle"],"BEVzjL":["Import failed"],"BHObg8":["Quote chain"],"BHWx+g":["All Lists"],"BMmtZ8":["See more accounts"],"BPjyR2":["Delete this filter?"],"BRV/wh":["This user has chosen to not make this information available."],"BcNdg+":["Change expiry"],"BiZJ6G":["No one has posted anything yet."],"BmW9JG":["Search my posts"],"BskFI2":["<0>Built</0> by <1>@cheeaun</1>. <2>Privacy Policy</2>."],"Buy2bt":["Home and lists"],"Bz5hLl":["Go to original profile page"],"Bze3gr":["Auto (",["0"],")"],"C4T6O/":["Import/export settings from/to instance server (Very experimental)"],"C4x3+X":[["statusesCount","plural",{"one":["<0>",["0"],"</0> Post"],"other":["<1>",["1"],"</1> Posts"]}]],"C5zXYJ":["Header picture"],"C6cVP/":["<0>",["displayName"],"</0> has indicated that their new account is now:"],"C7ujRh":["Toggle Cloak mode"],"CDpQAX":["Remove poll"],"CGQ27z":["Screenshot of nested comments thread"],"CIHAsy":["Specify a list of shortcuts that'll appear as:"],"CKHUZ2":[["0"]," original posts, ",["1"]," replies, ",["2"]," quotes, ",["3"]," boosts"],"CNSLAW":["No one has posted anything with this tag yet."],"CTqTgr":["Shortcuts"],"CXk1bI":["Log out…"],"CeInO2":["Preview of Catch-up UI"],"CeJHfb":["Display language"],"CxKPv6":["What is this?"],"D3vX+9":["Login required."],"D7/2jB":["GIF Picker for composer"],"D9CmP2":["Remove this catch-up?"],"DHhJ7s":["Previous"],"DOQUen":[["0","plural",{"one":["#"," reply"],"other":["<0>",["1"],"</0> replies"]}]],"DPfwMq":["Done"],"DUMt1y":["List ID"],"DWumLi":["Import shortcuts?"],"DYowFe":["Skip carousel to next post"],"Djbaby":["Reload page now to update?"],"DlhB4J":["<0/> <1>boosted</1>"],"DnepCE":["Error: ",["e"]],"DqsEm+":[["months","plural",{"one":["#"," month later"],"other":["#"," months later"]}]],"DuJJm9":["Edited: ",["editedDateText"]],"DuvOX/":["Dimension too large. Uploading might encounter issues. Try reduce dimension from ",["0"],"×",["1"],"px to ",["2"],"×",["3"],"px."],"E+oKCO":["Bio"],"E8laYz":["Multiple hashtags are supported. Space-separated."],"EANWES":["Failed to load history"],"EAjFM0":["Note: your instance might only show a maximum of 800 posts in the Home timeline regardless of the time range. Could be less or more."],"EIZREX":["Top links"],"EVRO/o":["Max ",["SHORTCUTS_LIMIT"]," shortcuts"],"EarrCe":["Search emoji"],"EdQY6l":["None"],"EkH9pt":["Update"],"EnJuK0":["Conversations"],"F3cM1G":["Last post: <0>",["0"],"</0>"],"FFmj1D":["Volunteer translations"],"FKojeB":["Sensitive media"],"FMGfUd":["Remove my post from <0>@",["0"],"</0>'s post?"],"FNptcJ":["Posts on this list are hidden from Home/Following"],"Fb2K8h":["Bookmarked @",["0"],"'s post"],"FbPNuJ":["Delete this post?"],"Fd8FaU":["<0>Shift</0> + <1>k</1>"],"FgdLx0":["Unable to fetch account info"],"FjkaiT":["Zoom out"],"Fm6c4W":["Add GIF"],"Fq4zw3":["Not sure what to add?<0/>Try adding <1>Home / Following and Notifications</1> first."],"Fr0hAN":["Unable to create filter"],"FwMMx0":["Unable to update profile."],"Fz4lZ1":["Your account has been suspended."],"G2fuEb":["Locked"],"GKuKcZ":["Posting on <0/>"],"GMe2XV":["Post"],"GP8RLS":["Hashtag"],"GRUr8d":["Disable boosts"],"GS+Mus":["Export"],"Gj4mrz":["Open link?"],"GkS6YG":["HTML Code"],"GlfmCu":["Pinned posts"],"GquPwe":["Add notes"],"Gy9P9T":["Next post"],"H0wUNM":["View notifications from <0>@",["0"],"</0>"],"H8RP+h":["Unable to edit filter"],"HBIZeo":["Unable to format math"],"HHtYi7":[["0","plural",{"one":["#"," author"],"other":["#"," authors"]}]],"HKrBPX":["Unfollow…"],"HLqLGx":["Downloading saved shortcuts from instance server…"],"HOSk7R":["Following…"],"HQJU6W":["Unable to load replies."],"HSA2au":["Edit History Snapshots"],"HajiZl":["Month"],"HkuyOu":["Switch to my instance (<0>",["currentInstance"],"</0>)"],"Hp1l6f":["Current"],"HxF6Fk":["Original"],"Hzi9AA":["No posts found."],"I6pdY3":["Failed to update subscription. Please try again."],"I92Z+b":["Enable notifications"],"I9EnzM":["Reset filters"],"I9uBFA":["last 8 hours"],"IDC5Uw":["Who unsolicitedly private mention you"],"IK0zKi":[["hashtagTitle"]," on ",["instance"]],"INLTzH":["Your ",["year"]," #Wrapstodon is here!"],"IPXOXm":[["0","plural",{"one":["#"," character"],"other":["#"," characters"]}]],"ISg5SQ":["View post"],"IV4QaU":["Private mention"],"IXZLPs":["Cloak mode enabled"],"IeO7us":["Voted"],"Ih01jh":["Followed by…"],"IjKdHM":["Illegal"],"ImOQa9":["Reply"],"IrX0sj":["Post scheduled"],"Is7/PB":["Add an existing account"],"IvPikw":["No lists yet."],"J6hrEy":["Dismissed"],"J6ypuD":["A"],"JRswkR":["Block <0>@",["username"],"</0>…"],"JWxodU":["Unable to load post"],"Jb6/SB":["Delete…"],"JsU2En":["Pop out"],"JvA7Mo":[["0","plural",{"one":["Last 1 post in the past year(s)"],"other":["Last ",["1"]," posts in the past year(s)"]}]],"Jy9RU/":["New notifications"],"JybQca":["Send Report <0>+ Block profile</0>"],"K/EtE6":["Post edits"],"KDw4GX":["Try again"],"KFs8c6":["Reply (new window)"],"KMtgtM":["Edit audio description"],"KPFHM2":["Server rule violation"],"KPoj8w":["Unable to create list."],"KS7iJH":["You're all caught up."],"KiyvHV":["Post deleted"],"KkDhfU":["Nothing yet."],"Kp9SAs":["Switch to post's instance (",["0"],")"],"Kzwsg2":["Error loading custom emojis"],"L+HFfr":["Showing posts tagged with #",["0"]],"L8fEEm":["Group"],"L96xSt":["Hide results"],"L9fUm+":["What's the issue with this post?"],"LCX3ys":["Search <0>@",["username"],"</0>'s posts"],"LDUSXg":["Choice ",["0"]],"LFKLqp":["Share…"],"LQFF6J":["Liked by…"],"LUnwPh":["Screenshot of Catch-up"],"LYCgej":["See more posts"],"LcET2C":["Privacy Policy"],"LcOiWS":["Don't have an account? Create one!"],"Lh8B0N":["Image description"],"Lsxpe5":["Add shortcut"],"LwOr4P":["Add to thread"],"M1RnFv":["Expired"],"MB+wJL":["Some media have no descriptions."],"MHrjPM":["Title"],"MIhb91":["Hashtag shortcut added"],"MKEPCY":["Follow"],"MQYucx":["Some media have no descriptions. Continue?"],"MRZxAn":["Edited"],"MWIaew":["Remove…"],"MXOmPt":["Notifications from <0>@",["0"],"</0>"],"MfJ43d":["Add media"],"MmYpxT":["Reply…"],"Mn1E9C":[["followersCount","plural",{"one":["#"," follower"],"other":["#"," followers"]}]],"Mr53YX":["Show replies to people I follow"],"N1MyiN":["Unable to copy post text"],"N2FcBE":["Synced"],"N3Bq0f":[["0","plural",{"one":["Filtered notifications from ","#"," person"],"other":["Filtered notifications from ","#"," people"]}]],"N40H+G":["All"],"N4z4P/":["List may not work if it's from a different account."],"N8UzTV":["Replies"],"NAjVvt":["Default visibility"],"NCy+Nw":["Go to main post"],"NMNiaO":["until the max"],"NNrlf5":[["index"],"/X"],"NPXprJ":["Only followers can quote this post"],"NSSJsj":[["0"],"h"],"NU7wa/":["Media attachments can be images, videos, audios or any file types."],"Nc/W5J":["See more hashtags"],"Ng063n":["Donate"],"Ni40GV":["Failed to unwrap quote chain"],"NnRCUm":[["0"],"s"],"NoG5wD":[["accountDisplay"]," (Media)"],"NuKR0h":["Others"],"NunZZQ":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted & liked your reply."],"other":[["account"]," boosted & liked your post."]}]],"other":[["account"]," boosted & liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"],"</1> people</0> boosted & liked your reply."],"other":["<2><3>",["1"],"</3> people</2> boosted & liked your post."]}]]}]],"NuqppG":[["0","plural",{"one":["#"," Boost"],"other":["#"," Boosts"]}]],"O1Aswy":["Never expires"],"O2tNG0":["Ending"],"O4cLCR":["Sponsor"],"ODqZt1":["[Unknown notification type: ",["type"],"]"],"OISAkj":["Remove hashtag"],"OKiofn":["Edit History"],"OOEonE":["Show me all posts from…"],"OOa7/5":["Import/Export <0>Shortcuts</0>"],"OcUmcH":["Unlike"],"OdVhdR":["<0>New</0> <1>Follow Requests</1>"],"Ogtv0V":["A minimalistic opinionated Mastodon web client."],"OgyJSr":["Local only"],"OiUYO5":["Mute conversation"],"OqaQnE":["View Edit History Snapshots"],"Ov9hfp":["last 1 hour"],"Owr/5+":["Unable to feature @",["username"]," on your profile."],"PBFNgg":["followers"],"PCcEFZ":["Joined <0>",["0"],"</0>"],"PHIrMr":["No likes yet. Go like something!"],"PIWNSQ":["Showing post with replies"],"PM7llw":["Don't show replies"],"PPcets":["Set as default"],"PZgZtY":["Switch in new tab/window"],"PZlHt8":["Bookmark"],"PbFw9n":["Error loading GIFs"],"PbHARL":["Automatically show translation for posts in timeline. Only works for <0>short</0> posts without content warning, media and poll."],"Pc7QKh":["Effortlessly follow conversations. Semi-collapsible replies."],"PcoS3v":["Posting"],"PgVqvd":["Federated timeline (",["instance"],")"],"PiPfua":["Version string copied"],"PiVIlD":["Boost…"],"PjP87f":["View post stats"],"Pm+5jw":["Conversation unmuted"],"Pwqkdw":["Loading…"],"Q/HUhC":["Unmute <0>@",["username"],"</0>"],"Q1Huya":["Replying to @",["0"],"s post (<0>",["1"],"</0>)"],"Q3yArs":["An admin from <0>",["from"],"</0> has blocked <1>",["targetName"],"</1>. Affected followers: ",["followersCount"],", followings: ",["followingCount"],"."],"QDEWii":["Verified"],"QL+7Jw":["Show Edit History"],"QO9uTx":["Shortcuts imported"],"QOhkyl":["Compose"],"QQrO94":[["accountDisplay"]," (#",["tagged"],")"],"Qd13i0":["Showing posts without boosts"],"Qh+0sm":["<0>",["key1"],"</0> then <1>",["key2"],"</1>"],"Qopbnd":["Show featured profiles"],"QqW27M":["Reschedule"],"QyioBP":["Move up"],"QzzGsY":["Unboost"],"R+Pgtr":["No login information or account access details are stored in the exported files. You will need to log in again for each account after importing."],"R0yu2l":["Catch up"],"R20Yf9":["Translate from ",["sourceLangText"]," (auto-detected)"],"R4PmPA":["Post could be edited or deleted later."],"R7ep1i":["Unable to edit list."],"R8CUl0":[["0"]," posts above Go to top"],"R8mSiS":["Translate bio"],"R9+aEN":["Followed #",["hashtag"]],"R9Khdg":["Auto"],"R9kjEL":["Profile reported"],"RO10dm":["Public timelines"],"RQKWUa":["You have blocked <0>",["targetName"],"</0>. Removed followers: ",["followersCount"],", followings: ",["followingCount"],"."],"RTAr/z":["Resolving…"],"RXmXDR":[["repliesCount","plural",{"one":["#"," reply"],"other":["#"," replies"]}]],"RqX1mR":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," liked your reply."],"other":[["account"]," liked your post."]}]],"other":[["account"]," liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"],"</1> people</0> liked your reply."],"other":["<2><3>",["1"],"</3> people</2> liked your post."]}]]}]],"RqXfsz":["Max ",["SHORTCUTS_LIMIT"]," columns"],"Rsjgm0":["Experimental"],"S1fBwy":["Frame rate too high. Uploading might encounter issues."],"S5aemF":["Unable to dismiss notification request"],"S5cYrQ":["Screenshot of Boosts Carousel"],"S5ez7Y":["Skip carousel to previous post"],"S6P6E+":["Post pinned to profile"],"S6XZwv":[["0","plural",{"one":["#"," post"],"other":["#"," posts"]}]],"S92JKG":["Unable to accept notification request"],"S9JvjK":["Don't feature on profile"],"SBmqmC":["Shortcuts imported. Exceeded max ",["SHORTCUTS_LIMIT"],", so the rest are not imported."],"SGcIK+":[["followingCount","plural",{"other":["<0>",["0"],"</0> Following"]}]],"SYKm3p":["No keywords. Add one."],"Sb2gYF":["New list"],"ScQBC/":["Group: Authors"],"SdA74G":["Select file…"],"Sjj+EN":["Post your reply"],"Sjnlwj":["Import…"],"SlfejT":["Error"],"Sq04Yc":["Go to another instance…"],"Srs8u7":["With a new account"],"SrwrEj":["Save & close"],"T/hglb":["Replace text as blocks, useful when taking screenshots, for privacy reasons."],"T4I119":["Extra fields"],"TSbnoW":["Boosts carousel"],"TbFrLc":["Updated <0>",["0"],"</0>"],"Tba8uO":["Unable to add to list."],"TbrCz2":["Take photo or video"],"TbttfX":[["followersCount","plural",{"one":["<0>",["0"],"</0> Follower"],"other":["<1>",["1"],"</1> Followers"]}]],"TnJgwX":["Notes:"],"TtG3Uh":["Sharing doesn't seem to work."],"Tu+sCN":["Boosts Carousel"],"Txus+H":["Editing source status"],"Tz0i8g":["Settings"],"UHDQDE":["Optional, unless for multi-column mode"],"UIfdY1":["Profiles featured by @",["0"]],"UQR9OT":["Continue unwrapping…"],"UUrqX1":["Posts are sorted by information density or depth. Shorter posts are \\"lighter\\" while longer posts are \\"heavier\\". Posts with photos are \\"heavier\\" than posts without photos."],"UWSCwN":["Quote settings for this post"],"UYZxOy":["Replace current quote"],"UefSZg":["Turn link into a quote?"],"UlJ3QN":["Feature on profile"],"UmuIdg":["Go to Home"],"UoL+FC":["Unable to load bookmarks."],"UxBoCm":["Tab/Menu bar"],"V1fa9u":["See more"],"VCZ0OT":["Remove follower…"],"VH+Tf9":["Unfeatured on profile"],"VKDnAx":["Failed to download GIF"],"VLKtvP":["Screenshot of multi-column UI"],"VU1Pnd":["last 12 hours"],"VbyRUy":["Comments"],"Vh3ADI":["Add column…"],"VkLESX":["Load new posts"],"Vosm4k":["Trending posts"],"VwUsHI":["Hashtags"],"Vyeh4F":["You're not logged in. Interactions (reply, boost, etc) are not possible."],"VzLGaA":["Unable to remove quote"],"W+eFn3":[["account"]," edited a post."],"W1ewR0":["Unable to copy link"],"W9FRBT":["Like"],"WUHLnz":["Push Notifications (beta)"],"WZw+zB":["Edit video description"],"Wi1Ov0":["Multi-hashtag timeline"],"WrkPTf":["Filter out notifications from people:"],"XC9Jpz":["Post hidden by your filters"],"XDwkfO":["Scan QR code"],"XHVHK2":["Only visible to you"],"XKZRZ/":["Showing ",["selectedFilterCategory","select",{"all":["all posts"],"original":["original posts"],"replies":["replies"],"boosts":["boosts"],"quotes":["quotes"],"followedTags":["followed tags"],"groups":["groups"],"filtered":["filtered posts"]}],", ",["sortBy","select",{"createdAt":[["sortOrder","select",{"asc":["oldest"],"desc":["latest"]}]],"reblogsCount":[["sortOrder","select",{"asc":["fewest boosts"],"desc":["most boosts"]}]],"favouritesCount":[["sortOrder","select",{"asc":["fewest likes"],"desc":["most likes"]}]],"repliesCount":[["sortOrder","select",{"asc":["fewest replies"],"desc":["most replies"]}]],"density":[["sortOrder","select",{"asc":["least dense"],"desc":["most dense"]}]]}]," first",["groupBy","select",{"account":[", grouped by authors"],"other":[]}]],"XMGM2e":["Who are limited by server moderators"],"XN1xAY":[["SHORTCUTS_LIMIT","plural",{"one":["Max ","#"," shortcut reached. Unable to add shortcut."],"other":["Max ","#"," shortcuts reached. Unable to add shortcut."]}]],"XQMQZw":["Unpin from profile"],"Xi1/bw":["Followed Hashtags"],"Xl9v6+":["Lost connections with <0>",["name"],"</0>."],"XpQLJF":["<0>Shift</0> + <1>r</1>"],"YL6Y8P":["Learn more <0/>"],"YMU1CK":["Catch-up is a separate timeline for your followings, offering a high-level view at a glance, with a simple, email-inspired interface to effortlessly sort and filter through posts."],"YYB61U":["No accounts found."],"Yb6p2q":["Unable to delete post"],"Yfb9A8":["Previously…"],"YgM2yU":["Quote removed"],"YmGrIy":["Links shared by followings, sorted by shared counts, boosts and likes."],"YqffEv":["Moderation warning"],"YrR3Co":["Focus next column in multi-column mode"],"Yx0Ud8":["Requested"],"Yx809+":["Post unpinned from profile"],"Z/Vnvj":["Quotes can't be embedded in private mentions."],"Z2l5Bt":["Looks like you already have a compose field open in the parent window and currently publishing. Please wait for it to be done and try again later."],"Z8lGw6":["Share"],"ZLoGls":["Log in with Mastodon"],"ZM3jAs":["Failed to reschedule post"],"ZNme5R":["View profile header"],"ZP1FIA":["Failed to register application"],"ZSWUwq":[["0"],"m"],"ZhhOwV":["Quote"],"ZhsPEb":["Invalid settings format"],"ZlV82A":["View post with its replies"],"ZtBMwU":["Notifications from @",["0"]," will not be filtered from now on."],"Zxkt/v":["Translating…"],"a/+arl":["Notifications settings"],"a5BN7l":["Post updated. Check it out."],"a6oTWs":["e.g. PixelArt (Max 5, space-separated)"],"aAIQg2":["Appearance"],"aDr7Vc":["Open original media"],"aEp6lO":["Scheduled <0><1/></0> <2>(",["0"],")</2>"],"aLvZxR":["Post hidden because you've blocked @",["name"],"."],"aOh6Md":["Failed to delete scheduled post"],"aTyHBW":["Post published. Check it out."],"aVsTYo":["Unable to save shortcuts"],"aWAdCb":["Show anyway"],"aaJhcT":["Follows"],"aavdrC":["By ",["0"]],"aforS9":["Block <0>@",["username"],"</0>?"],"agO/T/":["Expiry"],"ajzDof":["Posts: ",["0"]],"awRXyV":["Request to quote"],"b7T5Zj":["Boosted"],"bPwFdf":["Accounts"],"bQ4oy8":["Post hidden because you've muted @",["name"],"."],"bUUv3P":["Scroll to top"],"bfSr6z":["Shared by ",["0"]],"bgVLbt":["Import/export"],"bl7nrg":["HTML code copied"],"blQMpa":["Filtered post will be…"],"bpDheH":["Unboosted @",["0"],"'s post"],"bzMKg7":["Accepted"],"c1Q/eU":["Powered by GIPHY"],"c3XJ18":["Help"],"c6jxNY":["Unable to unmute conversation"],"c89gCv":["Import & append…"],"cDoNQr":["Accounts with <0>",["query"],"</0>"],"cI3UEs":["Trending (",["instance"],")"],"cSev+j":["Filters"],"cWIHTt":["No filters yet."],"cWtH+v":["Shortcuts copied"],"cXWjH0":["Boosts from @",["username"]," disabled."],"cYE45+":["Nested comments thread"],"cZJ92q":["Add poll"],"caeqw/":["Send Report <0>+ Mute profile</0>"],"cc0NrU":[["0","plural",{"0":["Hide \\"Translate\\" button for:"],"other":["Hide \\"Translate\\" button for (","#","):"]}]],"cg0I+x":["Federated timeline"],"cklVjM":["Timeline"],"coaNtr":["Sort: Density"],"cqi4Mx":["Like (favourite)"],"csQin/":["Malicious links, fake engagement, or repetitive replies"],"ctFhjs":[["maxMediaAttachments","plural",{"one":["You can only attach up to 1 file."],"other":["You can only attach up to ","#"," files."]}]],"ctJi7k":["Unfollow #",["hashtag"],"?"],"cxL5F9":["Add hashtag"],"cyjS8M":["Forward to <0>",["domain"],"</0>"],"d+hDoa":["You don't follow"],"d5zxa4":["Local"],"d83/LB":["File size too large. Uploading might encounter issues. Try reduce the file size from ",["0"]," to ",["1"]," or lower."],"dBme/4":["Old post (<0>",["0"],"</0>)"],"dDJEHI":["Until the last catch-up (",["0"],")"],"dEgA5A":["Cancel"],"dP6iYK":["Format math"],"dXMiUw":["Switch to Federated"],"dZZ8oA":["last 5 hours"],"dbNZdP":["Boosted @",["0"],"'s post"],"dmTmkQ":["For multi-column mode, search term is required, else the column will not be shown."],"dmiEVR":["You are not allowed to quote this post"],"dmloPh":["Search term"],"doK/ij":["Unfollowed #",["hashtag"]],"dpqPBg":["Authors"],"duF1lx":["Focus column in multi-column mode"],"dwLCPZ":["Replying to @",["0"],"s post"],"e+RpCP":["Sign up"],"e2cs+Z":["Unwrap quote chain"],"e2uVlo":["Visually separate original posts and re-shared posts (boosted posts)."],"e5E+WH":["Raw Shortcuts JSON"],"e66y2Z":["Thread"],"e6tGFu":["Violates the law of your or the server's country"],"e7qQIH":["Withdraw follow request?"],"eH1bqp":["Search accounts"],"eIiurD":["Attachment #",["i"]," failed"],"eK4SL/":["Media only"],"eKInue":["Quote settings"],"eNTGfp":["Failed to generate description",["0"]],"eNfCmq":[["account"]," reported ",["targetAccount"]],"ePK91l":["Edit"],"eVosYr":["You don't have to read everything."],"eWLklq":["Quotes"],"eYsAQr":["Unfollow @",["0"],"?"],"ecUA8p":["Today"],"ecVtjm":["Additional info"],"edWbV6":["Link copied"],"eh6NHW":[["account"]," requested to follow you."],"ei6pnR":["Show replies to list members"],"ejAVrO":["Switch to my instance to enable interactions"],"ekCRTP":["Rejected"],"evz6c6":["<0>Esc</0> or <1>Backspace</1>"],"f5dduh":["Next author"],"f6Hub0":["Sort"],"f8bJ3C":["Last posted: ",["0"]],"fGn1Hk":["Enter your search term or paste a URL above to get started."],"fHZgvt":["Note: This feature uses external AI service, powered by <0>img-alt-api</0>. May not work well. Only for images and in English."],"fHf1v/":["Note: This feature uses currently-logged-in instance server API."],"fJCCpx":[["account"]," signed up."],"fYeATS":["Thread ",["index"],"/X"],"faZ9RI":["Only for new images while composing new posts."],"following.stats":["Following"],"following.title":["Following"],"fpgumQ":["Search: ",["q"]," (Accounts)"],"fpotTF":["Breaks specific server rules"],"fvAsUK":["Connect your existing Mastodon/Fediverse account.<0/>Your credentials are not stored on this server."],"g3UF2V":["Accept"],"gCDfX+":["Unable to download shortcuts"],"gCX4Z9":["QR code"],"gEoOUj":["Look up <0>",["query"],"</0>"],"gURvmk":["Auto inline translation"],"gWd6Cu":["Sync to instance server"],"gbbkE7":["Ignore"],"gdxreD":["Unable to copy version string"],"ggiJLM":["Add custom emoji"],"ggxOw9":["obscured (media only)"],"gjzl8E":["Unable to load notifications"],"gmB6oO":["Schedule"],"gnKo7f":["Content warning"],"group.filter":["Group"],"gukqfD":["See all"],"h16FyT":["Lists"],"h7peZQ":["Allow"],"h7t/Tx":["Search @",["0"],"'s posts"],"h8zDAI":["Translate from ",["sourceLangText"]],"hB02vO":["Manage members"],"hDWXuG":["Anyone can quote"],"hEe3YR":["Failed to update quote settings"],"hFs2qq":["Failed to update default visibility"],"hHSI3w":[["hashtagTitle"]," (Media only)"],"hOg+Mt":["Delete all…"],"hR9gtK":["You have unsaved changes. Discard this post?"],"hS1Opy":[["accountDisplay"]," (+ Replies)"],"hXzOVo":["Next"],"hYgDIe":["Create"],"he3ygx":["Copy"],"hgPsUe":["Cleared recent searches"],"i02Lq/":["Add to Shortcuts"],"i0qMbr":["Home"],"i51zUR":["Unmute conversation"],"i5uN6K":[["account"]," reacted to your post with ",["emojiObject"]],"iAB71E":[["0"]," more…"],"iAzCp4":["Go to my instance (<0>",["currentInstance"],"</0>)"],"iDNBZe":["Notifications"],"iH8pgl":["Back"],"iQgJaz":["Copy post text"],"iSRQvy":["Post text copied"],"iWpEwy":["Go home"],"ibBDry":["Notifications from @",["0"]," will not show up in Filtered notifications from now on."],"idiIxW":[["account"]," published a post."],"ieZytw":["Audio description"],"ipnHrn":["Your account has received a moderation warning."],"isRobC":["New"],"iuLUuH":["Violation"],"ivdhsq":["Experiments"],"j0kZfi":["Note: This preview is lightly styled."],"j5n9Ry":["Remove <0>@",["0"],"</0> from list?"],"j5roNG":["This post is from another instance (<0>",["instance"],"</0>). Interactions (reply, boost, etc) are not possible."],"jAj8rv":["Close post or dialogs"],"jER18a":["Mark media as sensitive"],"jL3N0G":["Notifications enabled for @",["username"],"'s posts."],"jNCSyx":["System language (",["systemTargetLanguageText"],")"],"jbreWy":["minimized"],"jdVwsS":["Embed post"],"jf1i1L":[["votersCount","plural",{"one":["<0>",["0"],"</0> voter"],"other":["<1>",["1"],"</1> voters"]}]],"jiFPsN":["Select accounts to import"],"jkt9P5":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted your reply."],"other":[["account"]," boosted your post."]}]],"other":[["account"]," boosted ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"],"</1> people</0> boosted your reply."],"other":["<2><3>",["1"],"</3> people</2> boosted your post."]}]]}]],"jsFF8C":["Open post details"],"jw0eSZ":["Your account has been disabled."],"jxxYp0":["Hide posts on this list from Home/Following"],"jzjjJh":["Emojis:"],"k08LxG":["Log out <0>@",["0"],"</0>?"],"k30qb8":["Import/Export <0>Accounts</0>"],"k7v0Rh":[["votesCount","plural",{"one":["<0>",["0"],"</0> vote"],"other":["<1>",["1"],"</1> votes"]}]],"k9N0Xk":["This notification is from your other account."],"kH0rA0":[["hashtagTitle"]," (Media only) on ",["instance"]],"kIlJaS":["A poll you have voted in or created has ended."],"kNiQp6":["Pinned"],"kfeQnS":["This shortcut already exists"],"khVljG":["Unable to load likes."],"kjUejn":["Blocked ",["username"]],"kpjzdN":["A poll you have created has ended."],"krk5ws":["Unsent drafts"],"kulphB":["Boost"],"kxiG8g":["Issue doesn't fit other categories"],"kyAi7k":["Instance"],"l3s5ri":["Import"],"lCF0wC":["Refresh"],"lCLRBe":["Followed tags"],"lQXQKs":["Vote"],"lWQguj":["Unbookmarked @",["0"],"'s post"],"lZdBKl":["Reply posted. Check it out."],"lb07+k":["Switch to post's instance"],"lfHLsx":["Pin to profile"],"lkz6PL":["Duration"],"lpPucp":["last 6 hours"],"lpYill":["Export failed"],"lqBX03":["Show content"],"lxYe+I":["Cloak mode <0>(<1>Text</1> → <2>████</2>)</0>"],"m+pAEQ":["(",["0"],") <0>— experimental</0>"],"m0G499":["* Not implemented yet"],"m16xKo":["Add"],"m5LihO":["Failed to translate"],"mBdQnV":["You may close this page now."],"mFfcu0":["Posts tagged with <0>",["hashtag"],"</0>"],"mN4S+e":["Video description"],"mYGY3B":["Date"],"mZYb1f":["No scheduled posts."],"mlycBx":["Your account has been limited."],"moT7M8":["A poll you have voted in has ended."],"muLhL3":["Report Post"],"mxY4xF":["Logged out"],"mzjGX4":["<0>Shift</0> + <1>j</1>"],"n1PNla":["Boost/Quote…"],"n1sANU":["Muted users…"],"nJEKbY":["Nothing to see here."],"nL8nlr":["Blocked users"],"nc+Oa+":["Keep as link"],"nhpsIN":["<0>1</0> to <1>9</1>"],"nl8sCE":["Only shortcuts that dont exist in current shortcuts will be appended."],"noxAFR":["Focus previous column in multi-column mode"],"o1mMWT":["Posts with <0>",["query"],"</0>"],"o5sTJw":["Generate description…"],"o6L30P":["No new shortcuts to import"],"o6sElH":["* Exists in current shortcuts"],"o7J4JM":["Filter"],"oAwuQj":["Who don't follow you"],"oEQq5w":["Unable to report profile"],"oMslIB":["Edit image description"],"oQIgSu":["Custom emojis are not available on this server."],"oZUtTk":[["0","plural",{"one":[["1","plural",{"one":["Last 1 post in the past 1 day"],"other":["Last 1 post in the past ",["2"]," days"]}]],"other":[["3","plural",{"one":["Last ",["4"]," posts in the past 1 day"],"other":["Last ",["5"]," posts in the past ",["6"]," days"]}]]}]],"oguMwa":["Cloak mode disabled"],"ooHDPY":["Ending <0/>"],"orjBLU":["Scheduled <0><1/></0>"],"osJmEN":["Disable notifications"],"ot8LpF":["Unable to update private note."],"ouWc/D":[["TOTAL_TAGS_LIMIT","plural",{"other":["Max ","#"," tags"]}]],"ovBPCi":["Default"],"owpNF1":["What are you doing?"],"p3UO/y":["Follows you"],"pA+qEx":["Unable to block @",["username"]],"pBYFlb":["last 9 hours"],"pEkad9":["Single or multi-column"],"pFnMHn":["<0>Site:</0> ",["0"]],"pJQgQV":["Local timeline"],"pMcdDp":["Unable to block ",["username"]],"pPYeIN":["Quiet public"],"pWFLFk":["@",["username"]," is no longer featured on your profile."],"pe1jog":["Edit shortcut"],"phQpSa":["Boosted by…"],"pi8x/S":["Translate"],"pkB7ti":[["account"]," edited a post you have quoted."],"post.title":["Post"],"pqR9KF":["Unable to load mentions."],"prdIOK":["In Memoriam"],"ptPep5":["Post pending"],"puY2t0":["Boosts"],"pvnfJD":["Dark"],"py67WT":["<0>Ctrl</0> + <1>Enter</1> or <2>⌘</2> + <3>Enter</3>"],"q1zFd+":["Failed to remove subscription. Please try again."],"q8EQYI":["Unbookmark"],"q9urQO":["This might take a while."],"qSQQSe":[["totalComments","plural",{"one":["#"," comment"],"other":["<0>",["0"],"</0> comments"]}]],"qTJgpR":["Report <0>@",["username"],"</0>…"],"qYNCa1":["Allow from <0>",["0"],"</0>"],"qcAUwp":["Unable to load filters."],"qiPXgY":["Looks like you closed the parent window."],"qn5Dbn":["Add keyword"],"qqeAJM":["Never"],"qwdOim":["Floating button"],"qzVesX":["Edit your post"],"r3RRWo":["Blocked users…"],"r9r5X6":["last 7 hours"],"rEYoku":["Error deleting draft! Please try again."],"rKpfPY":["Showing posts with media"],"rSLkfe":["What's the issue with this profile?"],"rZgCpJ":["server domain name"],"raUMBQ":["Some of your posts have been deleted."],"rbUTzD":["Fetching posts…"],"rdUucN":["Preview"],"re2mMZ":["Author will manually review"],"rf8fiC":["Close window"],"rhmyFK":["That's all."],"rj0vxZ":["Previous author"],"rmBHZn":["Failed to log in. Please try again or try another instance."],"rpXAF6":[["0","plural",{"one":["File ",["1"]," is not supported."],"other":["Files ",["2"]," are not supported."]}]],"rtCQ2N":[["mentionsCount","plural",{"other":["#"," mentions"]}]],"sI9N29":["Unblocked @",["username"]],"sJ2yQc":["Add/Remove from Lists"],"sOKhEA":["Muted users"],"sQia9P":["Log in"],"sX3iLV":["Schedule post"],"sXmrl4":["Note: Only max 3 will be stored. The rest will be automatically removed."],"sZvpIt":["Unliked @",["0"],"'s post"],"scd9lw":["Unable to load posts"],"silO9A":["username"],"snPx8X":["Compose new post (new window)"],"sr6maL":["<0>Filtered</0>: <1>",["0"],"</1>"],"srocAr":["Posts are grouped by authors, sorted by posts count per author."],"suKjh3":["Filtered: ",["0"]],"t/YqKh":["Remove"],"t2B/we":["Switch to Local"],"t7Py5R":["By default, single column for zen-mode seekers. Configurable multi-column for power users."],"t8dIOP":["Spam"],"tBmklN":["Paste shortcuts here"],"tFvxZF":["Unable to copy shortcut settings"],"tMwimH":["Error fetching reply-to status!"],"tS2i+h":["Up to 5 hashtags combined into a single timeline."],"tVE2wM":["last 2 hours"],"tXgQpk":["Public (Local / Federated)"],"tfDRzk":["Save"],"tqUaGL":["Unable to delete list."],"tuhghE":["Edit list"],"u3gOdY":["instance domain"],"u8JHrO":["Clear filters"],"u96B/B":["Local timeline (",["instance"],")"],"uIp8WL":["or override…"],"uNVxXX":["Some poll choices are empty"],"uREpT3":["Enable boosts"],"uRkcgw":["An admin from <0>",["from"],"</0> has suspended <1>",["targetName"],"</1>, which means you can no longer receive updates from them or interact with them."],"uVbUP8":["Settings…"],"uXRAkV":["Show more…"],"uYcYzu":["Blocked @",["username"]],"uabU9X":["Recently used"],"ucJk3m":["Status: <0><1/></0>"],"ufzZSJ":["Unable to resolve URL"],"ukL58r":["Remove quote…"],"ulXSNi":["Keyboard shortcuts help"],"unyq2W":["Remove <0>@",["username"],"</0> from followers?"],"uqf7Yq":["Filter from…"],"urGtsw":["Expiring <0/>"],"usxQx0":["- Boosts"],"uvDfdW":["Multi-column"],"uyJsf6":["About"],"uzt17m":["A post you interacted with has been edited."],"v/l5uA":["Unable to load lists."],"v02K7/":["Unable to mute ",["username"]],"v4TbMP":["<0>Shift</0> + <1>Alt</1> + <2>k</2>"],"v9jO+F":["Some of your posts have been marked as sensitive."],"vCSBPD":["Add filter"],"vERlcd":["Profile"],"vFGLxm":["Attempting to describe image. Please wait…"],"vGjmyl":["Deleted"],"vKsGhk":["No hashtags followed yet."],"vLxvHT":["No shortcuts yet. Tap on the Add shortcut button."],"vOsY+K":["Install ",["CLIENT_NAME"]],"vWGBjT":["Unable to mute @",["username"]],"vgUfWO":["Unable to pin post"],"vl3XTJ":["Post stats unavailable."],"vpc27K":["beyond 12 hours"],"vrQQgz":["Profiles"],"vuFeUI":["Turn into quote"],"vvl08N":["A post is currently open. Post or discard it before creating a new one."],"w2OpMr":["Your posts will be marked as sensitive from now on."],"wKtOLH":["Editing source post"],"wNExRS":["Polls"],"wOax6E":["Screenshot of multi-hashtag timeline with a form to add more hashtags"],"wgNoIs":["Select all"],"wiuWLe":[["0"]," original posts, ",["1"]," replies, ",["2"]," boosts"],"wr3GZI":["Search: ",["q"]],"wvL7OJ":["last 10 hours"],"wxlF9B":["Search GIFs"],"wy0Iwj":["Failed to generate description: ",["0"]],"wyL/3/":["Catch-up <0>beta</0>"],"x/s2/O":["Add content warning"],"x2NYtp":["people I follow"],"x5LEuB":["Followers"],"xCJdfg":["Clear"],"xGVfLh":["Continue"],"xHq5L2":["Unable to unfeature @",["username"]," on your profile."],"xJUo4P":["Removing Catch-up ",["0"]],"xYilR2":["Media"],"xhPEH3":["Mute <0>@",["username"],"</0>…"],"xhYfVj":["Failed to generate description"],"xhiXaF":["@",["username"]," is now featured on your profile."],"xiropL":["static URL"],"xlsg7n":["Synced to your instance server's settings. <0>Go to your instance (",["instance"],") for more settings.</0>"],"xrl8fj":["Catch-up"],"y/0uwd":["Yesterday"],"y3ou+8":["Post reported"],"y6sq5j":["Following"],"yFfBdX":["New filter"],"yIBLq8":["Speak"],"yTVtKs":["Withdraw…"],"yUWyHa":["Unable to copy shortcuts"],"yUngDO":["Liked @",["0"],"'s post"],"yYxB17":["Clear all"],"ydzS9x":["Exit"],"ygxzZR":["Quote with link"],"yjj6Ll":["Unable to load posts with this tag"],"yrz6Ck":["<0>Shift</0> + <1>b</1>"],"ywB7JM":["Conversation muted"],"yz7wBu":["Close"],"z96cOX":["NOTE: Push notifications only work for <0>one account</0>."],"zCjei3":["Show results"],"zJoEwS":["Handle copied"],"zJyf/5":["<0/> <1/> boosted"],"zLz0mE":["Failed to describe image"],"zNCBmf":["hidden"],"zVJKbG":["Auto-translated from ",["sourceLangText"]],"zXCa9e":["Translate to "],"zZOZj7":["Likes"],"zcKxuj":["Only <0>@",["0"],"</0>"],"zhrMYj":["Poll must have at least 2 options"],"zhrjek":["Groups"],"zucql+":["Menu"],"zwBp5t":["Private"],"zytZXj":["Multiple choice"]}`),Mf=Object.freeze(Object.defineProperty({__proto__:null,messages:xi},Symbol.toStringTag,{value:"Module"})),Nf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_DEFAULT_LANG:Df}=Nf,Uf={};$e.load(Ve,xi);$e.on("change",()=>{const t=$e.locale;if(t){document.documentElement.lang=t;try{const e=new Te(t),{direction:r}=e.getTextInfo?.()||e.textInfo;document.documentElement.dir=r}catch{}}});async function Ff(t){if(!t||t===Ve)$e.activate(Ve);else try{const{messages:e}=await Rf(Object.assign({"../locales/ar-SA.po":()=>I(()=>import("./locales/ar-SA-DZv-5Kh5.js"),[],import.meta.url),"../locales/ca-ES.po":()=>I(()=>import("./locales/ca-ES-DBOaVoo9.js"),[],import.meta.url),"../locales/cs-CZ.po":()=>I(()=>import("./locales/cs-CZ-BSR9qelt.js"),[],import.meta.url),"../locales/de-DE.po":()=>I(()=>import("./locales/de-DE-CqZFg-YJ.js"),[],import.meta.url),"../locales/en.po":()=>I(()=>Promise.resolve().then(()=>Mf),void 0,import.meta.url),"../locales/eo-UY.po":()=>I(()=>import("./locales/eo-UY-wcmz0ew-.js"),[],import.meta.url),"../locales/es-ES.po":()=>I(()=>import("./locales/es-ES-BFs7ep0Q.js"),[],import.meta.url),"../locales/eu-ES.po":()=>I(()=>import("./locales/eu-ES-B9MXDAFW.js"),[],import.meta.url),"../locales/fa-IR.po":()=>I(()=>import("./locales/fa-IR-BQcc_ilo.js"),[],import.meta.url),"../locales/fi-FI.po":()=>I(()=>import("./locales/fi-FI-CqwouUWE.js"),[],import.meta.url),"../locales/fr-FR.po":()=>I(()=>import("./locales/fr-FR-D6hLi09W.js"),[],import.meta.url),"../locales/gl-ES.po":()=>I(()=>import("./locales/gl-ES-Z6xERCU6.js"),[],import.meta.url),"../locales/he-IL.po":()=>I(()=>import("./locales/he-IL-DZv-5Kh5.js"),[],import.meta.url),"../locales/it-IT.po":()=>I(()=>import("./locales/it-IT-BEWfMFCm.js"),[],import.meta.url),"../locales/ja-JP.po":()=>I(()=>import("./locales/ja-JP-BRGaz2S5.js"),[],import.meta.url),"../locales/kab.po":()=>I(()=>import("./locales/kab-D-wHKBG7.js"),[],import.meta.url),"../locales/ko-KR.po":()=>I(()=>import("./locales/ko-KR-DBVJaFtk.js"),[],import.meta.url),"../locales/lt-LT.po":()=>I(()=>import("./locales/lt-LT-DZzPirS8.js"),[],import.meta.url),"../locales/nb-NO.po":()=>I(()=>import("./locales/nb-NO-DZv-5Kh5.js"),[],import.meta.url),"../locales/nl-NL.po":()=>I(()=>import("./locales/nl-NL-Cp-Wcmzc.js"),[],import.meta.url),"../locales/oc-FR.po":()=>I(()=>import("./locales/oc-FR-DZv-5Kh5.js"),[],import.meta.url),"../locales/pl-PL.po":()=>I(()=>import("./locales/pl-PL-16FpR3vt.js"),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>I(()=>import("./locales/pseudo-LOCALE-CoqZ_89H.js"),[],import.meta.url),"../locales/pt-BR.po":()=>I(()=>import("./locales/pt-BR-CcZZ4F64.js"),[],import.meta.url),"../locales/pt-PT.po":()=>I(()=>import("./locales/pt-PT-CpEMo95A.js"),[],import.meta.url),"../locales/ru-RU.po":()=>I(()=>import("./locales/ru-RU-B_D8Vyd5.js"),[],import.meta.url),"../locales/th-TH.po":()=>I(()=>import("./locales/th-TH-DZv-5Kh5.js"),[],import.meta.url),"../locales/tok.po":()=>I(()=>import("./locales/tok-DZv-5Kh5.js"),[],import.meta.url),"../locales/tr-TR.po":()=>I(()=>import("./locales/tr-TR-DZv-5Kh5.js"),[],import.meta.url),"../locales/uk-UA.po":()=>I(()=>import("./locales/uk-UA-C3Ib3Ord.js"),[],import.meta.url),"../locales/zh-CN.po":()=>I(()=>import("./locales/zh-CN-6n5B2EKH.js"),[],import.meta.url),"../locales/zh-TW.po":()=>I(()=>import("./locales/zh-TW-DZv-5Kh5.js"),[],import.meta.url)}),`../locales/${Uf[t]||t}.po`,3);$e.loadAndActivate({locale:t,messages:e})}catch{$e.activate(Ve)}}function Yh(){const t=kf(Of("lang"),Tf("lang"),Lf(),Df,Ve),e=t.find(r=>No.includes(r))||vf(t,No);Ff(e)}function jf(){return!Intl.Segmenter}const Oi=!jf();function ki(){if(!Oi)return I(()=>import("./polyfill-force-CZGSzIzr.js"),[],import.meta.url).catch(()=>{})}function Ir(){return I(()=>import("./compose-BR9Aa_dR.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)}async function Zh(){try{await ki(),Ir()}catch{}}function Jh(t){const[e,r]=le(null);return Oe(()=>{(async()=>{try{if(Oi){const n=await Ir();r(n)}else{await ki();const n=await Ir();r(n)}}catch{}})()},[]),e?.default?re(e.default,{...t}):re(Pf,{})}const Bf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_CLIENT_NAME:Fo}=Bf;function Qh(t,e){function r(){const{currentLocation:n}=E,o=Array.isArray(e);let a=o?e:[];!o&&/:?\w+\?/.test(e)&&(a.push(e.replace(/(:\w+)\?/g,"$1")),a.push(e.replace(/\/?:\w+\?/g,"")));let i=!1;a.length?i=a.some(s=>vr(s,n)):e&&(i=vr(e,n)),i&&(document.title=t?`${t} / ${Fo}`:Fo)}ue(()=>{const n=pi(E,"currentLocation",r);return r(),n},[t,e])}function jo(){const t=document.querySelector('meta[name="viewport"]');if(!t)return;if(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0||window.matchMedia("(display-mode: window-controls-overlay)").matches){const r=t.getAttribute("content");r.includes("user-scalable=no")||t.setAttribute("content",r+", user-scalable=no")}}function Xh(){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",jo):jo()}export{vh as $,we as A,_h as B,Vh as C,Kh as D,qh as E,Po as F,$e as G,rr as H,vf as I,I as J,pn as K,Wh as L,Wr as M,Mi as N,sn as O,nl as P,Zh as Q,Jh as R,_e as S,Vf as T,Uu as U,_t as V,sa as W,ih as X,Br as Y,V as Z,ue as _,qt as a,Qe as a0,rh as a1,Qh as a2,gh as a3,zd as a4,pi as a5,Sh as a6,bh as a7,ph as a8,vr as a9,bf as aA,os as aB,Pd as aC,yh as aD,Ct as aE,Y as aF,N as aG,Vr as aH,$h as aI,Lo as aJ,Zo as aK,Kr as aL,q as aM,_d as aN,Hd as aO,mh as aP,Oh as aQ,Zd as aR,Ht as aS,Hh as aT,yf as aU,zh as aV,qf as aW,$u as aX,md as aY,Vd as aa,da as ab,de as ac,Rh as ad,Ah as ae,Ph as af,Bh as ag,xr as ah,Ch as ai,Eh as aj,nh as ak,hl as al,st as am,Yh as an,Xh as ao,ut as ap,Gf as aq,ah as ar,Gh as as,ce as at,Ea as au,Aa as av,fa as aw,bs as ax,va as ay,Af as az,Ei as b,sh as c,le as d,re as e,Xe as f,ui as g,Gt as h,hn as i,ju as j,Z as k,P as l,ne as m,Ff as n,Ve as o,yd as p,ye as q,wh as r,E as s,fi as t,zf as u,Gu as v,Xr as w,Ud as x,Oe as y,Pf as z};
//# sourceMappingURL=pwa-viewport-CJ-1bFP1.js.map