Files
phanpy-cz/assets/pwa-viewport-Bz1GOnQv.js
2025-11-28 11:44:18 +01:00

19 lines
243 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-BwjAeSSY.js","./ScheduledAtField-Dw49_KZ-.js","./ICONS-BJuc0WJ2.js"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.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||(e=>{const t=new AbortController;return setTimeout(()=>t.abort(),e),t.signal}));"AbortSignal"in window&&!AbortSignal.any&&(AbortSignal.any=function(e){const t=new AbortController,{signal:r}=t;for(const n of e)if(n.aborted)return t.abort(n.reason),r;for(const n of e)n.addEventListener("abort",()=>{t.abort(n.reason)},{signal:r});return r});"URL"in window&&typeof URL.parse!="function"&&(URL.parse=function(e,t){if(!e)return null;try{return t?new URL(e,t):new URL(e)}catch{return null}});function sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jf(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var rt={},bt={},Kt={exports:{}},Ns=Kt.exports,Bn;function Is(){return Bn||(Bn=1,(function(e){(function(t,r){e.exports?e.exports=r():t.moo=r()})(Ns,function(){"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=typeof new RegExp().sticky=="boolean";function o(p){return p&&r.call(p)==="[object RegExp]"}function a(p){return p&&typeof p=="object"&&!o(p)&&!Array.isArray(p)}function i(p){return p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(p){var w=new RegExp("|"+p);return w.exec("").length-1}function l(p){return"("+p+")"}function u(p){if(!p.length)return"(?!)";var w=p.map(function(E){return"(?:"+E+")"}).join("|");return"(?:"+w+")"}function d(p){if(typeof p=="string")return"(?:"+i(p)+")";if(o(p)){if(p.ignoreCase)throw new Error("RegExp /i flag not allowed");if(p.global)throw new Error("RegExp /g flag is implied");if(p.sticky)throw new Error("RegExp /y flag is implied");if(p.multiline)throw new Error("RegExp /m flag is implied");return p.source}else throw new Error("Not a pattern: "+p)}function c(p,w){return p.length>w?p:Array(w-p.length+1).join(" ")+p}function h(p,w){for(var E=p.length,A=0;;){var P=p.lastIndexOf(`
`,E-1);if(P===-1||(A++,E=P,A===w)||E===0)break}var T=A<w?0:E+1;return p.substring(T).split(`
`)}function f(p){for(var w=Object.getOwnPropertyNames(p),E=[],A=0;A<w.length;A++){var P=w[A],T=p[P],R=[].concat(T);if(P==="include"){for(var D=0;D<R.length;D++)E.push({include:R[D]});continue}var U=[];R.forEach(function(N){a(N)?(U.length&&E.push(y(P,U)),E.push(y(P,N)),U=[]):U.push(N)}),U.length&&E.push(y(P,U))}return E}function m(p){for(var w=[],E=0;E<p.length;E++){var A=p[E];if(A.include){for(var P=[].concat(A.include),T=0;T<P.length;T++)w.push({include:P[T]});continue}if(!A.type)throw new Error("Rule has no type: "+JSON.stringify(A));w.push(y(A.type,A))}return w}function y(p,w){if(a(w)||(w={match:w}),w.include)throw new Error("Matching rules cannot also include states");var E={defaultType:p,lineBreaks:!!w.error||!!w.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var A in w)t.call(w,A)&&(E[A]=w[A]);if(typeof E.type=="string"&&p!==E.type)throw new Error("Type transform cannot be a string (type '"+E.type+"' for token '"+p+"')");var P=E.match;return E.match=Array.isArray(P)?P:P?[P]:[],E.match.sort(function(T,R){return o(T)&&o(R)?0:o(R)?-1:o(T)?1:R.length-T.length}),E}function _(p){return Array.isArray(p)?m(p):f(p)}var v=y("error",{lineBreaks:!0,shouldThrow:!0});function S(p,w){for(var E=null,A=Object.create(null),P=!0,T=null,R=[],D=[],U=0;U<p.length;U++)p[U].fallback&&(P=!1);for(var U=0;U<p.length;U++){var N=p[U];if(N.include)throw new Error("Inheritance is not allowed in stateless lexers");if(N.error||N.fallback){if(E)throw!N.fallback==!E.fallback?new Error("Multiple "+(N.fallback?"fallback":"error")+" rules not allowed (for token '"+N.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+N.defaultType+"')");E=N}var W=N.match.slice();if(P)for(;W.length&&typeof W[0]=="string"&&W[0].length===1;){var X=W.shift();A[X.charCodeAt(0)]=N}if(N.pop||N.push||N.next){if(!w)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+N.defaultType+"')");if(N.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+N.defaultType+"')")}if(W.length!==0){P=!1,R.push(N);for(var le=0;le<W.length;le++){var fe=W[le];if(o(fe)){if(T===null)T=fe.unicode;else if(T!==fe.unicode&&N.fallback===!1)throw new Error("If one rule is /u then all must be")}}var me=u(W.map(d)),ue=new RegExp(me);if(ue.test(""))throw new Error("RegExp matches empty string: "+ue);var Se=s(me);if(Se>0)throw new Error("RegExp has capture groups: "+ue+`
Use (?: … ) instead`);if(!N.lineBreaks&&ue.test(`
`))throw new Error("Rule should declare lineBreaks: "+ue);D.push(l(me))}}var Oe=E&&E.fallback,Be=n&&!Oe?"ym":"gm",Xe=n||Oe?"":"|";T===!0&&(Be+="u");var vr=new RegExp(u(D)+Xe,Be);return{regexp:vr,groups:R,fast:A,error:E||v}}function C(p){var w=S(_(p));return new V({start:w},"start")}function I(p,w,E){var A=p&&(p.push||p.next);if(A&&!E[A])throw new Error("Missing state '"+A+"' (in token '"+p.defaultType+"' of state '"+w+"')");if(p&&p.pop&&+p.pop!=1)throw new Error("pop must be 1 (in token '"+p.defaultType+"' of state '"+w+"')")}function B(p,w){var E=p.$all?_(p.$all):[];delete p.$all;var A=Object.getOwnPropertyNames(p);w||(w=A[0]);for(var P=Object.create(null),T=0;T<A.length;T++){var R=A[T];P[R]=_(p[R]).concat(E)}for(var T=0;T<A.length;T++)for(var R=A[T],D=P[R],U=Object.create(null),N=0;N<D.length;N++){var W=D[N];if(W.include){var X=[N,1];if(W.include!==R&&!U[W.include]){U[W.include]=!0;var le=P[W.include];if(!le)throw new Error("Cannot include nonexistent state '"+W.include+"' (in state '"+R+"')");for(var fe=0;fe<le.length;fe++){var me=le[fe];D.indexOf(me)===-1&&X.push(me)}}D.splice.apply(D,X),N--}}for(var ue=Object.create(null),T=0;T<A.length;T++){var R=A[T];ue[R]=S(P[R],!0)}for(var T=0;T<A.length;T++){for(var Se=A[T],Oe=ue[Se],Be=Oe.groups,N=0;N<Be.length;N++)I(Be[N],Se,ue);for(var Xe=Object.getOwnPropertyNames(Oe.fast),N=0;N<Xe.length;N++)I(Oe.fast[Xe[N]],Se,ue)}return new V(ue,w)}function G(p){for(var w=typeof Map<"u",E=w?new Map:Object.create(null),A=Object.getOwnPropertyNames(p),P=0;P<A.length;P++){var T=A[P],R=p[T],D=Array.isArray(R)?R:[R];D.forEach(function(U){if(typeof U!="string")throw new Error("keyword must be string (in keyword '"+T+"')");w?E.set(U,T):E[U]=T})}return function(U){return w?E.get(U):E[U]}}var V=function(p,w){this.startState=w,this.states=p,this.buffer="",this.stack=[],this.reset()};V.prototype.reset=function(p,w){return this.buffer=p||"",this.index=0,this.line=w?w.line:1,this.col=w?w.col:1,this.queuedToken=w?w.queuedToken:null,this.queuedText=w?w.queuedText:"",this.queuedThrow=w?w.queuedThrow:null,this.setState(w?w.state:this.startState),this.stack=w&&w.stack?w.stack.slice():[],this},V.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}},V.prototype.setState=function(p){if(!(!p||this.state===p)){this.state=p;var w=this.states[p];this.groups=w.groups,this.error=w.error,this.re=w.regexp,this.fast=w.fast}},V.prototype.popState=function(){this.setState(this.stack.pop())},V.prototype.pushState=function(p){this.stack.push(this.state),this.setState(p)};var te=n?function(p,w){return p.exec(w)}:function(p,w){var E=p.exec(w);return E[0].length===0?null:E};V.prototype._getGroup=function(p){for(var w=this.groups.length,E=0;E<w;E++)if(p[E+1]!==void 0)return this.groups[E];throw new Error("Cannot find token type for matched text")};function K(){return this.value}if(V.prototype.next=function(){var p=this.index;if(this.queuedGroup){var w=this._token(this.queuedGroup,this.queuedText,p);return this.queuedGroup=null,this.queuedText="",w}var E=this.buffer;if(p!==E.length){var R=this.fast[E.charCodeAt(p)];if(R)return this._token(R,E.charAt(p),p);var A=this.re;A.lastIndex=p;var P=te(A,E),T=this.error;if(P==null)return this._token(T,E.slice(p,E.length),p);var R=this._getGroup(P),D=P[0];return T.fallback&&P.index!==p?(this.queuedGroup=R,this.queuedText=D,this._token(T,E.slice(p,P.index),p)):this._token(R,D,p)}},V.prototype._token=function(p,w,E){var A=0;if(p.lineBreaks){var P=/\n/g,T=1;if(w===`
`)A=1;else for(;P.exec(w);)A++,T=P.lastIndex}var R={type:typeof p.type=="function"&&p.type(w)||p.defaultType,value:typeof p.value=="function"?p.value(w):w,text:w,toString:K,offset:E,lineBreaks:A,line:this.line,col:this.col},D=w.length;if(this.index+=D,this.line+=A,A!==0?this.col=D-T+1:this.col+=D,p.shouldThrow){var U=new Error(this.formatError(R,"invalid syntax"));throw U}return p.pop?this.popState():p.push?this.pushState(p.push):p.next&&this.setState(p.next),R},typeof Symbol<"u"&&Symbol.iterator){var J=function(p){this.lexer=p};J.prototype.next=function(){var p=this.lexer.next();return{value:p,done:!p}},J.prototype[Symbol.iterator]=function(){return this},V.prototype[Symbol.iterator]=function(){return new J(this)}}return V.prototype.formatError=function(p,w){if(p==null)var E=this.buffer.slice(this.index),p={text:E,offset:this.index,lineBreaks:E.indexOf(`
`)===-1?0:1,line:this.line,col:this.col};var A=2,P=Math.max(p.line-A,1),T=p.line+A,R=String(T).length,D=h(this.buffer,this.line-p.line+A+1).slice(0,5),U=[];U.push(w+" at line "+p.line+" col "+p.col+":"),U.push("");for(var N=0;N<D.length;N++){var W=D[N],X=P+N;U.push(c(String(X),R)+" "+W),X===p.line&&U.push(c("",R+p.col+1)+"^")}return U.join(`
`)},V.prototype.clone=function(){return new V(this.states,this.state)},V.prototype.has=function(p){return!0},{compile:C,states:B,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:G}})})(Kt)),Kt.exports}var $n;function Ds(){return $n||($n=1,(function(e){"use strict";var t=bt&&bt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;const r=t(Is());e.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}}},e.lexer=r.default.states(e.states)})(bt)),bt}var Kn;function Us(){if(Kn)return rt;Kn=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.ParseError=void 0,rt.parse=l;const e=Ds(),t=u=>({offset:u.offset,line:u.line,col:u.col,text:u.text,lineBreaks:u.lineBreaks}),r=u=>u==="plural"||u==="select"||u==="selectordinal";function n(u,d){let c="",h="";for(const m of d){const y=m.ctx.text;switch(h+=y,m.type){case"content":c+=m.value;break;case"argument":case"function":case"octothorpe":c+=y;break;default:throw new i(u,`Unsupported part in strict mode function arg style: ${y}`)}}return[{type:"content",value:c.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,c){super(e.lexer.formatError(d,c))}}rt.ParseError=i;class s{constructor(d,c){var h,f,m,y;this.lexer=e.lexer.reset(d),this.cardinalKeys=(h=c?.cardinal)!==null&&h!==void 0?h:a,this.ordinalKeys=(f=c?.ordinal)!==null&&f!==void 0?f:a,this.strict=(m=c?.strict)!==null&&m!==void 0?m:!1,this.strictPluralKeys=(y=c?.strictPluralKeys)!==null&&y!==void 0?y:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(d,c,h){if(h[0]==="="){if(c==="select")throw new i(d,`The case ${h} is not valid with select`)}else if(c!=="select"){const f=c==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&f.length>0&&!f.includes(h)){const m=`The ${c} case ${h} is not valid in this locale`;throw new i(d,m)}}}parseSelect({value:d},c,h,f){const m={type:f,arg:d,cases:[],ctx:h};f==="plural"||f==="selectordinal"?c=!0:this.strict&&(c=!1);for(const y of this.lexer)switch(y.type){case"offset":if(f==="select")throw new i(y,"Unexpected plural offset for select");if(m.cases.length>0)throw new i(y,"Plural offset must be set before cases");m.pluralOffset=Number(y.value),h.text+=y.text,h.lineBreaks+=y.lineBreaks;break;case"case":{this.checkSelectKey(y,f,y.value),m.cases.push({key:y.value,tokens:this.parseBody(c),ctx:t(y)});break}case"end":return m;default:throw new i(y,`Unexpected lexer token: ${y.type}`)}throw new i(null,"Unexpected message end")}parseArgToken(d,c){const h=t(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 m=`Invalid strict mode function arg type: ${f.value}`;throw new i(d,m)}switch(f.type){case"end":return{type:"argument",arg:d.value,ctx:h};case"func-simple":{const m=this.lexer.next();if(!m)throw new i(null,"Unexpected message end");if(m.type!=="end")throw new i(m,`Unexpected lexer token: ${m.type}`);if(h.text+=m.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 y=`Invalid type identifier: ${f.value}`;throw new i(f,y)}let m=this.parseBody(this.strict?!1:c);return this.strict&&m.length>0&&(m=n(d,m)),{type:"function",arg:d.value,key:f.value,param:m,ctx:h}}case"select":if(r(f.value))return this.parseSelect(d,c,h,f.value);throw new i(f,`Unexpected select type ${f.value}`);default:throw new i(f,`Unexpected lexer token: ${f.type}`)}}parseBody(d,c){const h=[];let f=null;for(const m of this.lexer)if(m.type==="argument")f&&(f=null),h.push(this.parseArgToken(m,d));else if(m.type==="octothorpe"&&d)f&&(f=null),h.push({type:"octothorpe",ctx:t(m)});else{if(m.type==="end"&&!c)return h;{let y=m.value;if(!d&&m.type==="quoted"&&y[0]==="#"){if(y.includes("{")){const _=`Unsupported escape pattern: ${y}`;throw new i(m,_)}y=m.text}f?(f.value+=y,f.ctx.text+=m.text,f.ctx.lineBreaks+=m.lineBreaks):(f={type:"content",value:y,ctx:t(m)},h.push(f))}}if(c)return h;throw new i(null,"Unexpected message end")}}function l(u,d={}){return new s(u,d).parse()}return rt}var Qf=Us();const De=e=>typeof e=="string",Fs=e=>typeof e=="function",Gn=new Map,la="en";function nn(e){return[...Array.isArray(e)?e:[e],la]}function on(e,t,r){const n=nn(e);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 Qt(()=>Xt("date",n,r),()=>new Intl.DateTimeFormat(n,o)).format(De(t)?new Date(t):t)}function qs(e,t,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 on(e,t,n)}function Nr(e,t,r){const n=nn(e);return Qt(()=>Xt("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function Vn(e,t,r,{offset:n=0,...o}){const a=nn(e),i=t?Qt(()=>Xt("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):Qt(()=>Xt("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return o[r]??o[i.select(r-n)]??o.other}function Qt(e,t){const r=e();let n=Gn.get(r);return n||(n=t(),Gn.set(r,n)),n}function Xt(e,t,r){const n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}const ua=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,ca=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(t,r,n)=>{if(r){const o=parseInt(r,16);return String.fromCharCode(o)}else{const o=parseInt(n,16);return String.fromCharCode(o)}}),da="%__lingui_octothorpe__%",js=(e,t,r={})=>{const n=t||e,o=i=>typeof i=="object"?i:r[i],a=(i,s)=>{const l=Object.keys(r).length?o("number"):void 0,u=Nr(n,i,l);return s.replace(new RegExp(da,"g"),u)};return{plural:(i,s)=>{const{offset:l=0}=s,u=Vn(n,!1,i,s);return a(i-l,u)},selectordinal:(i,s)=>{const{offset:l=0}=s,u=Vn(n,!0,i,s);return a(i-l,u)},select:zs,number:(i,s)=>Nr(n,i,o(s)||{style:s}),date:(i,s)=>on(n,i,o(s)||s),time:(i,s)=>qs(n,i,o(s)||s)}},zs=(e,t)=>t[e]??t.other;function Hs(e,t,r){return(n={},o)=>{const a=js(t,r,o),i=(l,u=!1)=>Array.isArray(l)?l.reduce((d,c)=>{if(c==="#"&&u)return d+da;if(De(c))return d+c;const[h,f,m]=c;let y={};f==="plural"||f==="selectordinal"||f==="select"?Object.entries(m).forEach(([v,S])=>{y[v]=i(S,f==="plural"||f==="selectordinal")}):y=m;let _;if(f){const v=a[f];_=v(n[h],y)}else _=n[h];return _==null?d:d+_},""):l,s=i(e);return De(s)&&ua.test(s)?ca(s):De(s)?s:s?String(s):""}}var Bs=Object.defineProperty,$s=(e,t,r)=>t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ks=(e,t,r)=>($s(e,typeof t!="symbol"?t+"":t,r),r);let Gs=class{constructor(){Ks(this,"_events",{})}on(t,r){var n;return(n=this._events)[t]??(n[t]=[]),this._events[t].push(r),()=>this.removeListener(t,r)}removeListener(t,r){const n=this._getListeners(t);if(!n)return;const o=n.indexOf(r);~o&&n.splice(o,1)}emit(t,...r){const n=this._getListeners(t);n&&n.map(o=>o.apply(this,r))}_getListeners(t){const r=this._events[t];return Array.isArray(r)?r:!1}};var Vs=Object.defineProperty,Ws=(e,t,r)=>t in e?Vs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$e=(e,t,r)=>(Ws(e,typeof t!="symbol"?t+"":t,r),r);class Ys extends Gs{constructor(t){super(),$e(this,"_locale",""),$e(this,"_locales"),$e(this,"_localeData",{}),$e(this,"_messages",{}),$e(this,"_missing"),$e(this,"_messageCompiler"),$e(this,"t",this._.bind(this)),t.missing!=null&&(this._missing=t.missing),t.messages!=null&&this.load(t.messages),t.localeData!=null&&this.loadLocaleData(t.localeData),(typeof t.locale=="string"||t.locales)&&this.activate(t.locale??la,t.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(t,r){const n=this._localeData[t];n?Object.assign(n,r):this._localeData[t]=r}setMessagesCompiler(t){return this._messageCompiler=t,this}loadLocaleData(t,r){typeof t=="string"?this._loadLocaleData(t,r):Object.keys(t).forEach(n=>this._loadLocaleData(n,t[n])),this.emit("change")}_load(t,r){const n=this._messages[t];n?Object.assign(n,r):this._messages[t]=r}load(t,r){typeof t=="string"&&typeof r=="object"?this._load(t,r):Object.entries(t).forEach(([n,o])=>this._load(n,o)),this.emit("change")}loadAndActivate({locale:t,locales:r,messages:n}){this._locale=t,this._locales=r||void 0,this._messages[this._locale]=n,this.emit("change")}activate(t,r){this._locale=t,this._locales=r,this.emit("change")}_(t,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;t||(t=""),De(t)||(r=t.values||r,o=t.message,t=t.id);const a=this.messages[t],i=a===void 0,s=this._missing;if(s&&i)return Fs(s)?s(this._locale,t):s;i&&this.emit("missing",{id:t,locale:this._locale});let l=a||o||t;return De(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.
`)),De(l)&&ua.test(l)?ca(l):De(l)?l:Hs(l,this._locale,this._locales)(r,n?.formats)}date(t,r){return on(this._locales||this._locale,t,r)}number(t,r){return Nr(this._locales||this._locale,t,r)}}function Zs(e={}){return new Ys(e)}const st=Zs();var It,z,fa,Js,Ke,Wn,ha,pa,ma,an,Ir,Dr,_a,Lt={},ya=[],Qs=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Dt=Array.isArray;function ge(e,t){for(var r in t)e[r]=t[r];return e}function sn(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Z(e,t,r){var n,o,a,i={};for(a in t)a=="key"?n=t[a]:a=="ref"?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?It.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return Rt(e,i,n,o,null)}function Rt(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++fa,__i:-1,__u:0};return o==null&&z.vnode!=null&&z.vnode(a),a}function ga(){return{current:null}}function pe(e){return e.children}function he(e,t){this.props=e,this.context=t}function ft(e,t){if(t==null)return e.__?ft(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?ft(e):null}function va(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return va(e)}}function Ur(e){(!e.__d&&(e.__d=!0)&&Ke.push(e)&&!er.__r++||Wn!=z.debounceRendering)&&((Wn=z.debounceRendering)||ha)(er)}function er(){for(var e,t,r,n,o,a,i,s=1;Ke.length;)Ke.length>s&&Ke.sort(pa),e=Ke.shift(),s=Ke.length,e.__d&&(r=void 0,n=void 0,o=(n=(t=e).__v).__e,a=[],i=[],t.__P&&((r=ge({},n)).__v=n.__v+1,z.vnode&&z.vnode(r),ln(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[o]:null,a,o??ft(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&&va(r)));er.__r=0}function wa(e,t,r,n,o,a,i,s,l,u,d){var c,h,f,m,y,_,v,S=n&&n.__k||ya,C=t.length;for(l=Xs(r,t,S,l,C),c=0;c<C;c++)(f=r.__k[c])!=null&&(h=f.__i==-1?Lt:S[f.__i]||Lt,f.__i=c,_=ln(e,f,h,o,a,i,s,l,u,d),m=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&un(h.ref,null,f),d.push(f.ref,f.__c||m,f)),y==null&&m!=null&&(y=m),(v=!!(4&f.__u))||h.__k===f.__k?l=ba(f,l,e,v):typeof f.type=="function"&&_!==void 0?l=_:m&&(l=m.nextSibling),f.__u&=-7);return r.__e=y,l}function Xs(e,t,r,n,o){var a,i,s,l,u,d=r.length,c=d,h=0;for(e.__k=new Array(o),a=0;a<o;a++)(i=t[a])!=null&&typeof i!="boolean"&&typeof i!="function"?(l=a+h,(i=e.__k[a]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Rt(null,i,null,null,null):Dt(i)?Rt(pe,{children:i},null,null,null):i.constructor==null&&i.__b>0?Rt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,s=null,(u=i.__i=el(i,r,l,c))!=-1&&(c--,(s=r[u])&&(s.__u|=2)),s==null||s.__v==null?(u==-1&&(o>d?h--:o<d&&h++),typeof i.type!="function"&&(i.__u|=4)):u!=l&&(u==l-1?h--:u==l+1?h++:(u>l?h--:h++,i.__u|=4))):e.__k[a]=null;if(c)for(a=0;a<d;a++)(s=r[a])!=null&&(2&s.__u)==0&&(s.__e==n&&(n=ft(s)),Aa(s,s));return n}function ba(e,t,r,n){var o,a;if(typeof e.type=="function"){for(o=e.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=e,t=ba(o[a],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=ft(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Pe(e,t){return t=t||[],e==null||typeof e=="boolean"||(Dt(e)?e.some(function(r){Pe(r,t)}):t.push(e)),t}function el(e,t,r,n){var o,a,i,s=e.key,l=e.type,u=t[r],d=u!=null&&(2&u.__u)==0;if(u===null&&e.key==null||d&&s==u.key&&l==u.type)return r;if(n>(d?1:0)){for(o=r-1,a=r+1;o>=0||a<t.length;)if((u=t[i=o>=0?o--:a++])!=null&&(2&u.__u)==0&&s==u.key&&l==u.type)return i}return-1}function Yn(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Qs.test(t)?r:r+"px"}function jt(e,t,r,n,o){var a,i;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Yn(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||Yn(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")a=t!=(t=t.replace(ma,"$1")),i=t.toLowerCase(),t=i in e||t=="onFocusOut"||t=="onFocusIn"?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=an,e.addEventListener(t,a?Dr:Ir,a)):e.removeEventListener(t,a?Dr:Ir,a);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Zn(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=an++;else if(t.t<r.u)return;return r(z.event?z.event(t):t)}}}function ln(e,t,r,n,o,a,i,s,l,u){var d,c,h,f,m,y,_,v,S,C,I,B,G,V,te,K,J,p=t.type;if(t.constructor!=null)return null;128&r.__u&&(l=!!(32&r.__u),a=[s=t.__e=r.__e]),(d=z.__b)&&d(t);e:if(typeof p=="function")try{if(v=t.props,S="prototype"in p&&p.prototype.render,C=(d=p.contextType)&&n[d.__c],I=d?C?C.props.value:d.__:n,r.__c?_=(c=t.__c=r.__c).__=c.__E:(S?t.__c=c=new p(v,I):(t.__c=c=new he(v,I),c.constructor=p,c.render=rl),C&&C.sub(c),c.props=v,c.state||(c.state={}),c.context=I,c.__n=n,h=c.__d=!0,c.__h=[],c._sb=[]),S&&c.__s==null&&(c.__s=c.state),S&&p.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ge({},c.__s)),ge(c.__s,p.getDerivedStateFromProps(v,c.__s))),f=c.props,m=c.state,c.__v=t,h)S&&p.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),S&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(S&&p.getDerivedStateFromProps==null&&v!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,I),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,I)===!1||t.__v==r.__v){for(t.__v!=r.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(w){w&&(w.__=t)}),B=0;B<c._sb.length;B++)c.__h.push(c._sb[B]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,I),S&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,m,y)})}if(c.context=I,c.props=v,c.__P=e,c.__e=!1,G=z.__r,V=0,S){for(c.state=c.__s,c.__d=!1,G&&G(t),d=c.render(c.props,c.state,c.context),te=0;te<c._sb.length;te++)c.__h.push(c._sb[te]);c._sb=[]}else do c.__d=!1,G&&G(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++V<25);c.state=c.__s,c.getChildContext!=null&&(n=ge(ge({},n),c.getChildContext())),S&&!h&&c.getSnapshotBeforeUpdate!=null&&(y=c.getSnapshotBeforeUpdate(f,m)),K=d,d!=null&&d.type===pe&&d.key==null&&(K=Sa(d.props.children)),s=wa(e,Dt(K)?K:[K],t,r,n,o,a,i,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),_&&(c.__E=c.__=null)}catch(w){if(t.__v=null,l||a!=null)if(w.then){for(t.__u|=l?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,t.__e=s}else{for(J=a.length;J--;)sn(a[J]);Fr(t)}else t.__e=r.__e,t.__k=r.__k,w.then||Fr(t);z.__e(w,t,r)}else a==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=tl(r.__e,t,r,n,o,a,i,l,u);return(d=z.diffed)&&d(t),128&t.__u?void 0:s}function Fr(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Fr)}function Ea(e,t,r){for(var n=0;n<r.length;n++)un(r[n],r[++n],r[++n]);z.__c&&z.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){z.__e(a,o.__v)}})}function Sa(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:Dt(e)?e.map(Sa):ge({},e)}function tl(e,t,r,n,o,a,i,s,l){var u,d,c,h,f,m,y,_=r.props,v=t.props,S=t.type;if(S=="svg"?o="http://www.w3.org/2000/svg":S=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(u=0;u<a.length;u++)if((f=a[u])&&"setAttribute"in f==!!S&&(S?f.localName==S:f.nodeType==3)){e=f,a[u]=null;break}}if(e==null){if(S==null)return document.createTextNode(v);e=document.createElementNS(o,S,v.is&&v),s&&(z.__m&&z.__m(t,a),s=!1),a=null}if(S==null)_===v||s&&e.data==v||(e.data=v);else{if(a=a&&It.call(e.childNodes),_=r.props||Lt,!s&&a!=null)for(_={},u=0;u<e.attributes.length;u++)_[(f=e.attributes[u]).name]=f.value;for(u in _)if(f=_[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=f;else if(!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;jt(e,u,null,f,o)}}for(u in v)f=v[u],u=="children"?h=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?m=f:u=="checked"?y=f:s&&typeof f!="function"||_[u]===f||jt(e,u,f,_[u],o);if(d)s||c&&(d.__html==c.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),wa(t.type=="template"?e.content:e,Dt(h)?h:[h],t,r,n,S=="foreignObject"?"http://www.w3.org/1999/xhtml":o,a,i,a?a[0]:r.__k&&ft(r,0),s,l),a!=null)for(u=a.length;u--;)sn(a[u]);s||(u="value",S=="progress"&&m==null?e.removeAttribute("value"):m!=null&&(m!==e[u]||S=="progress"&&!m||S=="option"&&m!=_[u])&&jt(e,u,m,_[u],o),u="checked",y!=null&&y!=e[u]&&jt(e,u,y,_[u],o))}return e}function un(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(o){z.__e(o,r)}}function Aa(e,t,r){var n,o;if(z.unmount&&z.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||un(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){z.__e(a,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&Aa(n[o],t,r||typeof e.type!="function");r||sn(e.__e),e.__c=e.__=e.__e=void 0}function rl(e,t,r){return this.constructor(e,r)}function Ot(e,t,r){var n,o,a,i;t==document&&(t=document.documentElement),z.__&&z.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,a=[],i=[],ln(t,e=(!n&&r||t).__k=Z(pe,null,[e]),o||Lt,Lt,t.namespaceURI,!n&&r?[r]:o?null:t.firstChild?It.call(t.childNodes):null,a,!n&&r?r:o?o.__e:t.firstChild,n,i),Ea(a,e,i)}function Ca(e,t){Ot(e,t,Ca)}function nl(e,t,r){var n,o,a,i,s=ge({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?n=t[a]:a=="ref"?o=t[a]:s[a]=t[a]===void 0&&i!=null?i[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?It.call(arguments,2):r),Rt(e.type,s,n||e.key,o||e.ref,null)}function Te(e){function t(r){var n,o;return this.getChildContext||(n=new Set,(o={})[t.__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,Ur(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 t.__c="__cC"+_a++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}It=ya.slice,z={__e:function(e,t,r,n){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),i=o.__d),i)return o.__E=o}catch(s){e=s}throw e}},fa=0,Js=function(e){return e!=null&&e.constructor==null},he.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=ge({},this.state),typeof e=="function"&&(e=e(ge({},r),this.props)),e&&ge(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ur(this))},he.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ur(this))},he.prototype.render=pe,Ke=[],ha=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,pa=function(e,t){return e.__v.__b-t.__v.__b},er.__r=0,ma=/(PointerCapture)$|Capture$/i,an=0,Ir=Zn(!1),Dr=Zn(!0),_a=0;var Re,Q,br,Jn,ht=0,Pa=[],ee=z,Qn=ee.__b,Xn=ee.__r,eo=ee.diffed,to=ee.__c,ro=ee.unmount,no=ee.__;function Ye(e,t){ee.__h&&ee.__h(Q,e,ht||t),ht=0;var r=Q.__H||(Q.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function xe(e){return ht=1,fr(Ra,e)}function fr(e,t,r){var n=Ye(Re++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Ra(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],u=n.t(l,s);l!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=Q,!Q.__f)){var o=function(s,l,u){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,u);var c=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]&&(c=!0)}}),a&&a.call(this,s,l,u)||c};Q.__f=!0;var a=Q.shouldComponentUpdate,i=Q.componentWillUpdate;Q.componentWillUpdate=function(s,l,u){if(this.__e){var d=a;a=void 0,o(s,l,u),a=d}i&&i.call(this,s,l,u)},Q.shouldComponentUpdate=o}return n.__N||n.__}function Ze(e,t){var r=Ye(Re++,3);!ee.__s&&fn(r.__H,t)&&(r.__=e,r.u=t,Q.__H.__h.push(r))}function Le(e,t){var r=Ye(Re++,4);!ee.__s&&fn(r.__H,t)&&(r.__=e,r.u=t,Q.__h.push(r))}function ze(e){return ht=5,Ee(function(){return{current:e}},[])}function cn(e,t,r){ht=6,Le(function(){if(typeof e=="function"){var n=e(t());return function(){e(null),n&&typeof n=="function"&&n()}}if(e)return e.current=t(),function(){return e.current=null}},r==null?r:r.concat(e))}function Ee(e,t){var r=Ye(Re++,7);return fn(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function qe(e,t){return ht=8,Ee(function(){return e},t)}function se(e){var t=Q.context[e.__c],r=Ye(Re++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Q)),t.props.value):e.__}function hr(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ol(e){var t=Ye(Re++,10),r=xe();return t.__=e,Q.componentDidCatch||(Q.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function dn(){var e=Ye(Re++,11);if(!e.__){for(var t=Q.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function al(){for(var e;e=Pa.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Gt),e.__H.__h.forEach(qr),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Q=null,Qn&&Qn(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),no&&no(e,t)},ee.__r=function(e){Xn&&Xn(e),Re=0;var t=(Q=e.__c).__H;t&&(br===Q?(t.__h=[],Q.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Gt),t.__h.forEach(qr),t.__h=[],Re=0)),br=Q},ee.diffed=function(e){eo&&eo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pa.push(t)!==1&&Jn===ee.requestAnimationFrame||((Jn=ee.requestAnimationFrame)||il)(al)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),br=Q=null},ee.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Gt),r.__h=r.__h.filter(function(n){return!n.__||qr(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(n,r.__v)}}),to&&to(e,t)},ee.unmount=function(e){ro&&ro(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Gt(n)}catch(o){t=o}}),r.__H=void 0,t&&ee.__e(t,r.__v))};var oo=typeof requestAnimationFrame=="function";function il(e){var t,r=function(){clearTimeout(n),oo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);oo&&(t=requestAnimationFrame(r))}function Gt(e){var t=Q,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Q=t}function qr(e){var t=Q;e.__c=e.__(),Q=t}function fn(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Ra(e,t){return typeof t=="function"?t(e):t}function xa(e,t){for(var r in t)e[r]=t[r];return e}function jr(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function pr(e,t){var r=t(),n=xe({t:{__:r,u:t}}),o=n[0].t,a=n[1];return Le(function(){o.__=r,o.u=t,Er(o)&&a({t:o})},[e,r,t]),Ze(function(){return Er(o)&&a({t:o}),e(function(){Er(o)&&a({t:o})})},[e]),r}function Er(e){var t,r,n=e.u,o=e.__;try{var a=n();return!((t=o)===(r=a)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function hn(e){e()}function pn(e){return e}function mn(){return[!1,hn]}var _n=Le;function tr(e,t){this.props=e,this.context=t}function yn(e,t){function r(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:jr(this.props,o)}function n(o){return this.shouldComponentUpdate=r,Z(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n.type=e,n}(tr.prototype=new he).isPureReactComponent=!0,tr.prototype.shouldComponentUpdate=function(e,t){return jr(this.props,e)||jr(this.state,t)};var ao=z.__b;z.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ao&&ao(e)};var sl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ta(e){function t(r){var n=xa({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=sl,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var io=function(e,t){return e==null?null:Pe(Pe(e).map(t))},gn={map:io,forEach:io,count:function(e){return e?Pe(e).length:0},only:function(e){var t=Pe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Pe},ll=z.__e;z.__e=function(e,t,r,n){if(e.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}ll(e,t,r,n)};var so=z.unmount;function La(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=xa({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return La(n,t,r)})),e}function Oa(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Oa(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function xt(){this.__u=0,this.o=null,this.__b=null}function Ma(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ka(e){var t,r,n;function o(a){if(t||(t=e()).then(function(i){r=i.default||i},function(i){n=i}),n)throw n;if(!r)throw t;return Z(r,a)}return o.displayName="Lazy",o.__f=!0,o}function ot(){this.i=null,this.l=null}z.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),so&&so(e)},(xt.prototype=new he).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var o=Ma(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]=Oa(l,l.__c.__P,l.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.o.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},xt.prototype.componentWillUnmount=function(){this.o=[]},xt.prototype.render=function(e,t){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=t.__a&&Z(pe,null,e.fallback);return o&&(o.__u&=-33),[Z(pe,null,t.__a?null:e.children),o]};var lo=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function ul(e){return this.getChildContext=function(){return e.context},e.children}function cl(e){var t=this,r=e.h;if(t.componentWillUnmount=function(){Ot(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),!t.v){for(var n=t.__v;n!==null&&!n.__m&&n.__!==null;)n=n.__;t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:n.__m},contains:function(){return!0},insertBefore:function(o,a){this.childNodes.push(o),t.h.insertBefore(o,a)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.h.removeChild(o)}}}Ot(Z(ul,{context:t.context},e.__v),t.v)}function Na(e,t){var r=Z(cl,{__v:e,h:t});return r.containerInfo=t,r}(ot.prototype=new he).__a=function(e){var t=this,r=Ma(t.__v),n=t.l.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),lo(t,e,n)):o()};r?r(a):a()}},ot.prototype.render=function(e){this.i=null,this.l=new Map;var t=Pe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},ot.prototype.componentDidUpdate=ot.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){lo(e,r,t)})};var Ia=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,dl=/^(?: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]/,fl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,hl=/[A-Z0-9]/g,pl=typeof document<"u",ml=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Da(e,t,r){return t.__k==null&&(t.textContent=""),Ot(e,t),typeof r=="function"&&r(),e?e.__c:null}function Ua(e,t,r){return Ca(e,t),typeof r=="function"&&r(),e?e.__c:null}he.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(he.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var uo=z.event;function _l(){}function yl(){return this.cancelBubble}function gl(){return this.defaultPrevented}z.event=function(e){return uo&&(e=uo(e)),e.persist=_l,e.isPropagationStopped=yl,e.isDefaultPrevented=gl,e.nativeEvent=e};var vn,vl={enumerable:!1,configurable:!0,get:function(){return this.class}},co=z.vnode;z.vnode=function(e){typeof e.type=="string"&&(function(t){var r=t.props,n=t.type,o={},a=n.indexOf("-")===-1;for(var i in r){var s=r[i];if(!(i==="value"&&"defaultValue"in r&&s==null||pl&&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"||ml(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":fl.test(i)&&(i=l):l=i="oninput":a&&dl.test(i)?i=i.replace(hl,"-$&").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=Pe(r.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Pe(r.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",vl)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o})(e),e.$$typeof=Ia,co&&co(e)};var fo=z.__r;z.__r=function(e){fo&&fo(e),vn=e.__c};var ho=z.diffed;z.diffed=function(e){ho&&ho(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),vn=null};var Fa={ReactCurrentDispatcher:{current:{readContext:function(e){return vn.__n[e.__c].props.value},useCallback:qe,useContext:se,useDebugValue:hr,useDeferredValue:pn,useEffect:Ze,useId:dn,useImperativeHandle:cn,useInsertionEffect:_n,useLayoutEffect:Le,useMemo:Ee,useReducer:fr,useRef:ze,useState:xe,useSyncExternalStore:pr,useTransition:mn}}},wl="18.3.1";function qa(e){return Z.bind(null,e)}function _t(e){return!!e&&e.$$typeof===Ia}function ja(e){return _t(e)&&e.type===pe}function za(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Ha(e){return _t(e)?nl.apply(null,arguments):e}function Ba(e){return!!e.__k&&(Ot(null,e),!0)}function $a(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ka=function(e,t){return e(t)},Ga=function(e,t){return e(t)},Va=pe,Wa=_t,ne={useState:xe,useId:dn,useReducer:fr,useEffect:Ze,useLayoutEffect:Le,useInsertionEffect:_n,useTransition:mn,useDeferredValue:pn,useSyncExternalStore:pr,startTransition:hn,useRef:ze,useImperativeHandle:cn,useMemo:Ee,useCallback:qe,useContext:se,useDebugValue:hr,version:"18.3.1",Children:gn,render:Da,hydrate:Ua,unmountComponentAtNode:Ba,createPortal:Na,createElement:Z,createContext:Te,createFactory:qa,cloneElement:Ha,createRef:ga,Fragment:pe,isValidElement:_t,isElement:Wa,isFragment:ja,isMemo:za,findDOMNode:$a,Component:he,PureComponent:tr,memo:yn,forwardRef:Ta,flushSync:Ga,unstable_batchedUpdates:Ka,StrictMode:Va,Suspense:xt,SuspenseList:ot,lazy:ka,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fa};const Ya=Object.freeze(Object.defineProperty({__proto__:null,Children:gn,Component:he,Fragment:pe,PureComponent:tr,StrictMode:Va,Suspense:xt,SuspenseList:ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fa,cloneElement:Ha,createContext:Te,createElement:Z,createFactory:qa,createPortal:Na,createRef:ga,default:ne,findDOMNode:$a,flushSync:Ga,forwardRef:Ta,hydrate:Ua,isElement:Wa,isFragment:ja,isMemo:za,isValidElement:_t,lazy:ka,memo:yn,render:Da,startTransition:hn,unmountComponentAtNode:Ba,unstable_batchedUpdates:Ka,useCallback:qe,useContext:se,useDebugValue:hr,useDeferredValue:pn,useEffect:Ze,useErrorBoundary:ol,useId:dn,useImperativeHandle:cn,useInsertionEffect:_n,useLayoutEffect:Le,useMemo:Ee,useReducer:fr,useRef:ze,useState:xe,useSyncExternalStore:pr,useTransition:mn,version:wl},Symbol.toStringTag,{value:"Module"})),bl=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,El={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 Za(e,t={}){const r=e.split(bl);if(r.length===1)return e;const n=Sl(0,"$lingui$"),o=[],a=r.shift();a&&o.push(a);for(const[i,s,l]of Ja(r)){let u=typeof i<"u"?t[i]:void 0;(!u||El[u.type]&&s)&&(console.error(u?`${u.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`),u=ne.createElement(ne.Fragment)),Array.isArray(u)&&(u=ne.createElement(ne.Fragment,{},u)),o.push(ne.cloneElement(u,{key:n()},s?Za(s,t):u.props.children)),l&&o.push(l)}return o.length===1?o[0]:o}function Ja(e){if(!e.length)return[];const[t,r,n,o]=e.slice(0,4);return[[t||n,r||"",o]].concat(Ja(e.slice(4,e.length)))}const Sl=(e=0,t="")=>()=>`${t}_${e++}`;function Al(e){const{render:t,component:r,id:n,message:o,formats:a,lingui:{i18n:i,defaultComponent:s}}=e,{values:l,components:u}=Pl(e),d=i&&typeof i._=="function"?i._(n,l,{message:o,formats:a}):n,c=d?Za(d,u):null;if(t===null||r===null)return c;const h=s||Cl,f={id:n,message:o,translation:c,children:c};if(t&&r)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&typeof t!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(r&&typeof r!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${r}`),ne.createElement(h,f,c);if(typeof t=="function")return t(f);const m=r||h;return ne.createElement(m,f,c)}const Cl=({children:e})=>ne.createElement(ne.Fragment,null,e),Pl=e=>{if(!e.values)return{values:void 0,components:e.components};const t={...e.values},r={...e.components};return Object.entries(e.values).forEach(([n,o])=>{if(typeof o=="string"||typeof o=="number")return;const a=Object.keys(r).length;r[a]=ne.createElement(ne.Fragment,null,o),t[n]=`<${a}/>`}),{values:t,components:r}},Qa=ne.createContext(null),Xa=e=>ne.useContext(Qa);function eh(){return Xa()}function th({i18n:e,defaultComponent:t,children:r}){const n=ne.useRef(e.locale),o=ne.useCallback(()=>({i18n:e,defaultComponent:t,_:e.t.bind(e)}),[e,t]),[a,i]=ne.useState(o());return ne.useEffect(()=>{const s=()=>{n.current=e.locale,i(o())},l=e.on("change",s);return n.current!==e.locale&&s(),l},[e,o]),n.current?ne.createElement(Qa.Provider,{value:a},r):null}function rh(e){const r=Xa(void 0);return ne.createElement(Al,{...e,lingui:r})}function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rr.apply(this,arguments)}var Ue;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ue||(Ue={}));const po="popstate";function Rl(e){e===void 0&&(e={});function t(o,a){let{pathname:i="/",search:s="",hash:l=""}=Je(o.location.hash.substr(1));return zr("",{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,u=l.indexOf("#");s=u===-1?l:l.slice(0,u)}return s+"#"+(typeof a=="string"?a:wn(a))}function n(o,a){xl(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(a)+")")}return Ol(t,r,n,e)}function ie(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Tl(){return Math.random().toString(36).substr(2,8)}function mo(e){return{usr:e.state,key:e.key}}function zr(e,t,r,n){return r===void 0&&(r=null),rr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Je(t):t,{state:r,key:t&&t.key||n||Tl()})}function wn(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Je(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Ll(e){let t=typeof window<"u"&&typeof window.location<"u"&&window.location.origin!=="null"?window.location.origin:window.location.href,r=typeof e=="string"?e:wn(e);return ie(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}function Ol(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=Ue.Pop,l=null;function u(){s=Ue.Pop,l&&l({action:s,location:h.location})}function d(f,m){s=Ue.Push;let y=zr(h.location,f,m);r&&r(y,f);let _=mo(y),v=h.createHref(y);try{i.pushState(_,"",v)}catch{o.location.assign(v)}a&&l&&l({action:s,location:h.location})}function c(f,m){s=Ue.Replace;let y=zr(h.location,f,m);r&&r(y,f);let _=mo(y),v=h.createHref(y);i.replaceState(_,"",v),a&&l&&l({action:s,location:h.location})}let h={get action(){return s},get location(){return e(o,i)},listen(f){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(po,u),l=f,()=>{o.removeEventListener(po,u),l=null}},createHref(f){return t(o,f)},encodeLocation(f){let m=Ll(typeof f=="string"?f:wn(f));return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:c,go(f){return i.go(f)}};return h}var _o;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_o||(_o={}));function Ml(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Je(t):t,o=ri(n.pathname||"/",r);if(o==null)return null;let a=ei(e);kl(a);let i=null;for(let s=0;i==null&&s<a.length;++s)i=Hl(a[s],$l(o));return i}function ei(e,t,r,n){t===void 0&&(t=[]),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("/")&&(ie(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 u=Ge([n,l.relativePath]),d=r.concat(l);a.children&&a.children.length>0&&(ie(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),ei(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:jl(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of ti(a.path))o(a,i,l)}),t}function ti(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=ti(n.join("/")),s=[];return s.push(...i.map(l=>l===""?a:[a,l].join("/"))),o&&s.push(...i),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function kl(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:zl(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Nl=/^:\w+$/,Il=3,Dl=2,Ul=1,Fl=10,ql=-2,yo=e=>e==="*";function jl(e,t){let r=e.split("/"),n=r.length;return r.some(yo)&&(n+=ql),t&&(n+=Dl),r.filter(o=>!yo(o)).reduce((o,a)=>o+(Nl.test(a)?Il:a===""?Ul:Fl),n)}function zl(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function Hl(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i<r.length;++i){let s=r[i],l=i===r.length-1,u=o==="/"?t:t.slice(o.length)||"/",d=Hr({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!d)return null;Object.assign(n,d.params);let c=s.route;a.push({params:n,pathname:Ge([o,d.pathname]),pathnameBase:Zl(Ge([o,d.pathnameBase])),route:c}),d.pathnameBase!=="/"&&(o=Ge([o,d.pathnameBase]))}return a}function Hr(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=Bl(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce((u,d,c)=>{if(d==="*"){let h=s[c]||"";i=a.slice(0,a.length-h.length).replace(/(.)\/+$/,"$1")}return u[d]=Kl(s[c]||"",d),u},{}),pathname:a,pathnameBase:i,pattern:e}}function Bl(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),bn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function $l(e){try{return decodeURI(e)}catch(t){return bn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Kl(e,t){try{return decodeURIComponent(e)}catch(r){return bn(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function ri(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function bn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Gl(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?Je(e):e;return{pathname:r?r.startsWith("/")?r:Vl(r,t):t,search:Jl(n),hash:Ql(o)}}function Vl(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Sr(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` 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 Wl(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Yl(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=Je(e):(o=rr({},e),ie(!o.pathname||!o.pathname.includes("?"),Sr("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),Sr("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),Sr("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,s;if(n||i==null)s=r;else{let c=t.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),c-=1;o.pathname=h.join("/")}s=c>=0?t[c]:"/"}let l=Gl(o,s),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const Ge=e=>e.join("/").replace(/\/\/+/g,"/"),Zl=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Jl=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ql=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Xl{constructor(t,r,n,o){o===void 0&&(o=!1),this.status=t,this.statusText=r||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function eu(e){return e instanceof Xl}const ni=["post","put","patch","delete"],nh=new Set(ni),tu=["get",...ni],oh=new Set(tu);const ah=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Br(){return Br=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Br.apply(this,arguments)}const{useState:ih,useEffect:sh,useLayoutEffect:lh,useDebugValue:uh}=Ya;const ch=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";const dh=(e=>e.useSyncExternalStore)(Ya),oi=Te(null),ai=Te(null);const En=Te(null),mr=Te(null),yt=Te({outlet:null,matches:[]}),ii=Te(null);function _r(){return se(mr)!=null}function Sn(){return _r()||ie(!1),se(mr).location}function ru(){_r()||ie(!1);let{basename:e,navigator:t}=se(En),{matches:r}=se(yt),{pathname:n}=Sn(),o=JSON.stringify(Wl(r).map(s=>s.pathnameBase)),a=ze(!1);return Ze(()=>{a.current=!0}),qe(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){t.go(s);return}let u=Yl(s,JSON.parse(o),n,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Ge([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,o,n])}function fh(){let{matches:e}=se(yt),t=e[e.length-1];return t?t.params:{}}function nu(e,t){_r()||ie(!1);let{navigator:r}=se(En),n=se(ai),{matches:o}=se(yt),a=o[o.length-1],i=a?a.params:{},s=a?a.pathname:"/",l=a?a.pathnameBase:"/",u=a&&a.route,d=Sn(),c;if(t){var h;let v=typeof t=="string"?Je(t):t;l==="/"||(h=v.pathname)!=null&&h.startsWith(l)||ie(!1),c=v}else c=d;let f=c.pathname||"/",m=l==="/"?f:f.slice(l.length)||"/",y=Ml(e,{pathname:m}),_=su(y&&y.map(v=>Object.assign({},v,{params:Object.assign({},i,v.params),pathname:Ge([l,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Ge([l,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),o,n||void 0);return t&&_?Z(mr.Provider,{value:{location:Br({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Ue.Pop}},_):_}function ou(){let e=du(),t=eu(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n};return Z(pe,null,Z("h2",null,"Unhandled Thrown Error!"),Z("h3",{style:{fontStyle:"italic"}},t),r?Z("pre",{style:o},r):null,Z("p",null,"💿 Hey developer 👋"),Z("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",Z("code",{style:a},"errorElement")," props on ",Z("code",{style:a},"<Route>")))}class au extends he{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location?{error:t.error,location:t.location}:{error:t.error||r.error,location:r.location}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?Z(yt.Provider,{value:this.props.routeContext},Z(ii.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function iu(e){let{routeContext:t,match:r,children:n}=e,o=se(oi);return o&&o.static&&o.staticContext&&r.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),Z(yt.Provider,{value:t},n)}function su(e,t,r){if(t===void 0&&(t=[]),e==null)if(r!=null&&r.errors)e=r.matches;else return null;let n=e,o=r?.errors;if(o!=null){let a=n.findIndex(i=>i.route.id&&o?.[i.route.id]);a>=0||ie(!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,u=r?i.route.errorElement||Z(ou,null):null,d=t.concat(n.slice(0,s+1)),c=()=>Z(iu,{match:i,routeContext:{outlet:a,matches:d}},l?u:i.route.element!==void 0?i.route.element:a);return r&&(i.route.errorElement||s===0)?Z(au,{location:r.location,component:u,error:l,children:c(),routeContext:{outlet:null,matches:d}}):c()},null)}var go;(function(e){e.UseRevalidator="useRevalidator"})(go||(go={}));var nr;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(nr||(nr={}));function lu(e){let t=se(ai);return t||ie(!1),t}function uu(e){let t=se(yt);return t||ie(!1),t}function cu(e){let t=uu(e),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function du(){var e;let t=se(ii),r=lu(nr.UseRouteError),n=cu(nr.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function fu(e){ie(!1)}function hu(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Ue.Pop,navigator:a,static:i=!1}=e;_r()&&ie(!1);let s=t.replace(/^\/*/,"/"),l=Ee(()=>({basename:s,navigator:a,static:i}),[s,a,i]);typeof n=="string"&&(n=Je(n));let{pathname:u="/",search:d="",hash:c="",state:h=null,key:f="default"}=n,m=Ee(()=>{let y=ri(u,s);return y==null?null:{pathname:y,search:d,hash:c,state:h,key:f}},[s,u,d,c,h,f]);return m==null?null:Z(En.Provider,{value:l},Z(mr.Provider,{children:r,value:{location:m,navigationType:o}}))}function hh(e){let{children:t,location:r}=e,n=se(oi),o=n&&!t?n.router.routes:$r(t);return nu(o,r)}var vo;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(vo||(vo={}));const ph=new Promise(()=>{});function $r(e,t){t===void 0&&(t=[]);let r=[];return gn.forEach(e,(n,o)=>{if(!_t(n))return;if(n.type===pe){r.push.apply(r,$r(n.props.children,t));return}n.type!==fu&&ie(!1),!n.props.index||!n.props.children||ie(!1);let a=[...t,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=$r(n.props.children,a)),r.push(i)}),r}function Kr(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(o=>[r,o]):[[r,n]])},[]))}function pu(e,t){let r=Kr(e);for(let n of t.keys())r.has(n)||t.getAll(n).forEach(o=>{r.append(n,o)});return r}function mh(e){let{basename:t,children:r,window:n}=e,o=ze();o.current==null&&(o.current=Rl({window:n,v5Compat:!0}));let a=o.current,[i,s]=xe({action:a.action,location:a.location});return Le(()=>a.listen(s),[a]),Z(hu,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a})}var wo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(wo||(wo={}));var bo;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bo||(bo={}));function _h(e){let t=ze(Kr(e)),r=Sn(),n=Ee(()=>pu(r.search,t.current),[r.search]),o=ru(),a=qe((i,s)=>{const l=Kr(typeof i=="function"?i(n):i);o("?"+l,s)},[o,n]);return[n,a]}const mu="modulepreload",_u=function(e,t){return new URL(e,t).href},Eo={},$=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(d){return Promise.all(d.map(c=>Promise.resolve(c).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=u(r.map(d=>{if(d=_u(d,n),d in Eo)return;Eo[d]=!0;const c=d.endsWith(".css"),h=c?'[rel="stylesheet"]':"";if(n)for(let m=i.length-1;m>=0;m--){const y=i[m];if(y.href===d&&(!c||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":mu,c||(f.as="script"),f.crossOrigin="",f.href=d,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((m,y)=>{f.addEventListener("load",m),f.addEventListener("error",()=>y(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 t().catch(a)})},yu=Symbol(),An=Symbol(),St="a",si="f",So="p",li="c",ui="t",Cn="h",Tt="w",Pn="o",Rn="k";let gu=(e,t)=>new Proxy(e,t);const Gr=Object.getPrototypeOf,Vr=new WeakMap,ci=e=>e&&(Vr.has(e)?Vr.get(e):Gr(e)===Object.prototype||Gr(e)===Array.prototype),or=e=>typeof e=="object"&&e!==null,vu=e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(t=>!t.configurable&&!t.writable),wu=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(r=>{r.configurable=!0}),Object.create(Gr(e),t)},bu=(e,t)=>{const r={[si]:t};let n=!1;const o=(s,l)=>{if(!n){let u=r[St].get(e);if(u||(u={},r[St].set(e,u)),s===Tt)u[Tt]=!0;else{let d=u[s];d||(d=new Set,u[s]=d),d.add(l)}}},a=()=>{n=!0,r[St].delete(e)},i={get(s,l){return l===An?e:(o(Rn,l),di(Reflect.get(s,l),r[St],r[li],r[ui]))},has(s,l){return l===yu?(a(),!0):(o(Cn,l),Reflect.has(s,l))},getOwnPropertyDescriptor(s,l){return o(Pn,l),Reflect.getOwnPropertyDescriptor(s,l)},ownKeys(s){return o(Tt),Reflect.ownKeys(s)}};return t&&(i.set=i.deleteProperty=()=>!1),[i,r]},xn=e=>e[An]||e,di=(e,t,r,n)=>{if(!ci(e))return e;let o=n&&n.get(e);if(!o){const l=xn(e);vu(l)?o=[l,wu(l)]:o=[l],n?.set(e,o)}const[a,i]=o;let s=r&&r.get(a);return(!s||s[1][si]!==!!i)&&(s=bu(a,!!i),s[1][So]=gu(i||a,s[0]),r&&r.set(a,s)),s[1][St]=t,s[1][li]=r,s[1][ui]=n,s[1][So]},Eu=(e,t)=>{const r=Reflect.ownKeys(e),n=Reflect.ownKeys(t);return r.length!==n.length||r.some((o,a)=>o!==n[a])},fi=(e,t,r,n,o=Object.is)=>{if(o(e,t))return!1;if(!or(e)||!or(t))return!0;const a=r.get(xn(e));if(!a)return!0;if(n){if(n.get(e)===t)return!1;n.set(e,t)}let i=null;for(const s of a[Cn]||[])if(i=Reflect.has(e,s)!==Reflect.has(t,s),i)return i;if(a[Tt]===!0){if(i=Eu(e,t),i)return i}else for(const s of a[Pn]||[]){const l=!!Reflect.getOwnPropertyDescriptor(e,s),u=!!Reflect.getOwnPropertyDescriptor(t,s);if(i=l!==u,i)return i}for(const s of a[Rn]||[])if(i=fi(e[s],t[s],r,n,o),i)return i;if(i===null)throw new Error("invalid used");return i};const Su=e=>ci(e)&&e[An]||null,Ao=(e,t=!0)=>{Vr.set(e,t)},Au=(e,t,r)=>{const n=[],o=new WeakSet,a=(i,s)=>{var l,u,d;if(o.has(i))return;or(i)&&o.add(i);const c=or(i)&&t.get(xn(i));if(c){if((l=c[Cn])===null||l===void 0||l.forEach(h=>{const f=`:has(${String(h)})`;n.push(s?[...s,f]:[f])}),c[Tt]===!0){const h=":ownKeys";n.push(s?[...s,h]:[h])}else(u=c[Pn])===null||u===void 0||u.forEach(h=>{const f=`:hasOwn(${String(h)})`;n.push(s?[...s,f]:[f])});(d=c[Rn])===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(e),n};const ar={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},Tn=e=>typeof e=="object"&&e!==null,Cu=e=>Tn(e)&&!yr.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer)&&!(e instanceof Promise),hi=(e,t)=>{const r=Wr.get(e);if(r?.[0]===t)return r[1];const n=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return Ao(n,!0),Wr.set(e,[t,n]),Reflect.ownKeys(e).forEach(o=>{if(Object.getOwnPropertyDescriptor(n,o))return;const a=Reflect.get(e,o),{enumerable:i}=Reflect.getOwnPropertyDescriptor(e,o),s={value:a,enumerable:i,configurable:!0};if(yr.has(a))Ao(a,!1);else if(je.has(a)){const[l,u]=je.get(a);s.value=hi(l,u())}Object.defineProperty(n,o,s)}),Object.preventExtensions(n)},Pu=(e,t,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=!e()&&Reflect.has(o,a),u=Reflect.get(o,a,s);if(l&&(Co(u,i)||Mt.has(i)&&Co(u,Mt.get(i))))return!0;r(a),Tn(i)&&(i=Su(i)||i);const d=!je.has(i)&&xu(i)?pi(i):i;return t(a,d),Reflect.set(o,a,d,s),n(["set",[a],i,u]),!0}}),je=new WeakMap,yr=new WeakSet,Wr=new WeakMap,Vt=[1],Mt=new WeakMap;let Co=Object.is,Ru=(e,t)=>new Proxy(e,t),xu=Cu,Tu=hi,Lu=Pu;function pi(e={}){if(!Tn(e))throw new Error("object required");const t=Mt.get(e);if(t)return t;let r=Vt[0];const n=new Set,o=(_,v=++Vt[0])=>{r!==v&&(a=r=v,n.forEach(S=>S(_,v)))};let a=r;const i=(_=Vt[0])=>(a!==_&&(a=_,l.forEach(([v])=>{const S=v[1](_);S>r&&(r=S)})),r),s=_=>(v,S)=>{const C=[...v];C[1]=[_,...C[1]],o(C,S)},l=new Map,u=(_,v)=>{const S=!yr.has(v)&&je.get(v);if(S){if((ar?"production":void 0)!=="production"&&l.has(_))throw new Error("prop listener already exists");if(n.size){const C=S[2](s(_));l.set(_,[S,C])}else l.set(_,[S])}},d=_=>{var v;const S=l.get(_);S&&(l.delete(_),(v=S[1])==null||v.call(S))},c=_=>(n.add(_),n.size===1&&l.forEach(([S,C],I)=>{if((ar?"production":void 0)!=="production"&&C)throw new Error("remove already exists");const B=S[2](s(I));l.set(I,[S,B])}),()=>{n.delete(_),n.size===0&&l.forEach(([S,C],I)=>{C&&(C(),l.set(I,[S]))})});let h=!0;const f=Lu(()=>h,u,d,o),m=Ru(e,f);Mt.set(e,m);const y=[e,i,c];return je.set(m,y),Reflect.ownKeys(e).forEach(_=>{const v=Object.getOwnPropertyDescriptor(e,_);"value"in v&&v.writable&&(m[_]=e[_])}),h=!1,m}function Ln(e,t,r){const n=je.get(e);(ar?"production":void 0)!=="production"&&!n&&console.warn("Please use proxy object");let o;const a=[],i=n[2];let s=!1;const u=i(d=>{if(a.push(d),r){t(a.splice(0));return}o||(o=Promise.resolve().then(()=>{o=void 0,s&&t(a.splice(0))}))});return s=!0,()=>{s=!1,u()}}function Yr(e){const t=je.get(e);(ar?"production":void 0)!=="production"&&!t&&console.warn("Please use proxy object");const[r,n]=t;return Tu(r,n())}function mi(){return{proxyStateMap:je,refSet:yr,snapCache:Wr,versionHolder:Vt,proxyCache:Mt}}const Ou={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},Mu=(e,t)=>{const r=ze(void 0);Ze(()=>{r.current=Au(e,t,!0)}),hr(r.current)},ku=Mu,Nu=new WeakMap;function yh(e,t){const r=t?.sync,n=Ee(()=>e&&new WeakMap,[e]),o=ze(void 0);let a=!0;const i=pr(qe(l=>{const u=Ln(e,l,r);return l(),u},[e,r]),()=>{const l=Yr(e);try{if(!a&&o.current&&!fi(o.current,l,n,new WeakMap))return o.current}catch{}return l},()=>Yr(e));a=!1,Le(()=>{o.current=i}),(Ou?"production":void 0)!=="production"&&ku(i,n);const s=Ee(()=>new WeakMap,[]);return di(i,n,s,Nu)}var Iu=0;function be(e,t,r,n,o,a){t||(t={});var i,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?i=t[s]:l[s]=t[s];var u={type:e,props:l,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Iu,__i:-1,__u:0,__source:o,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return z.vnode&&z.vnode(u),u}const _i=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ir=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(_i);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Po=e=>e==="*"||e==="x"||e==="X",Ro=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Du=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Uu=(e,t)=>{if(Po(e)||Po(t))return 0;const[r,n]=Du(Ro(e),Ro(t));return r>n?1:r<n?-1:0},at=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Uu(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},yi=(e,t)=>{const r=ir(e),n=ir(t),o=r.pop(),a=n.pop(),i=at(r,n);return i!==0?i:o&&a?at(o.split("."),a.split(".")):o||a?o?-1:1:0},Fu=(e,t,r)=>{qu(r);const n=yi(e,t);return gi[r].includes(n)},gi={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},xo=Object.keys(gi),qu=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(xo.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${xo.join("|")}`)},Wt=(e,t)=>{if(t=t.replace(/([><=]+)\s+/g,"$1"),t.includes("||"))return t.split("||").some(_=>Wt(e,_));if(t.includes(" - ")){const[_,v]=t.split(" - ",2);return Wt(e,`>=${_} <=${v}`)}else if(t.includes(" "))return t.trim().replace(/\s{2,}/g," ").split(" ").every(_=>Wt(e,_));const r=t.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return Fu(e,t,n);const[o,a,i,,s]=ir(e),[l,u,d,,c]=ir(t),h=[o,a,i],f=[l,u??"x",d??"x"];if(c&&(!s||at(h,f)!==0||at(s.split("."),c.split("."))===-1))return!1;const m=f.findIndex(_=>_!=="0")+1,y=n==="~"?2:m>1?m:1;return!(at(h.slice(0,y),f.slice(0,y))!==0||at(h.slice(y),f.slice(y))===-1)},ju=e=>typeof e=="string"&&/^[v\d]/.test(e)&&_i.test(e);function zu(e,t){var r=Object.setPrototypeOf;r?r(e,t):e.__proto__=t}function Hu(e,t){t===void 0&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}var Bu=(function(){var e=function(r,n){return e=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])},e(r,n)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),gt=(function(e){Bu(t,e);function t(r,n){var o=this.constructor,a=e.call(this,r,n)||this;return Object.defineProperty(a,"name",{value:o.name,enumerable:!1,configurable:!0}),zu(a,o.prototype),Hu(a),a}return t})(Error);class We extends gt{}class To extends gt{contentType;data;constructor(t,r,n,o){super(t,o),this.contentType=r,this.data=n}}class vi extends gt{statusCode;description;details;additionalProperties;constructor(t,r){super(t.message,r),this.statusCode=t.statusCode,this.message=t.message,this.description=t.description,this.additionalProperties=t.additionalProperties,this.details=t.details}}class wi extends gt{}class Ar extends gt{constructor(t,r){super(t,r),this.message=t}}const $u=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Ku=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Gu=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Vu=/[^\p{L}\d]+/giu,Lo="$1\0$2",Oo="";function bi(e){let t=e.trim();t=t.replace($u,Lo).replace(Ku,Lo),t=t.replace(Vu,"\0");let r=0,n=t.length;for(;t.charAt(r)==="\0";)r++;if(r===n)return[];for(;t.charAt(n-1)==="\0";)n--;return t.slice(r,n).split(/\0/g)}function Wu(e){const t=bi(e);for(let r=0;r<t.length;r++){const n=t[r],o=Gu.exec(n);if(o){const a=o.index+(o[1]??o[2]).length;t.splice(r,1,n.slice(0,a),n.slice(a))}}return t}function Yu(e,t){const[r,n,o]=Si(e,t);return r+n.map(Ei(t?.locale)).join(t?.delimiter??" ")+o}function Zu(e,t){const[r,n,o]=Si(e,t),a=Ei(t?.locale),i=Ju(t?.locale),s=t?.mergeAmbiguousCharacters?Qu(a,i):Xu(a,i);return r+n.map((l,u)=>u===0?a(l):s(l,u)).join(t?.delimiter??"")+o}function On(e,t){return Yu(e,{delimiter:"_",...t})}function Ei(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Ju(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Qu(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function Xu(e,t){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(r.slice(1))}}function Si(e,t={}){const r=t.split??(t.separateNumbers?Wu:bi),n=t.prefixCharacters??Oo,o=t.suffixCharacters??Oo;let a=0,i=e.length;for(;a<e.length;){const s=e.charAt(a);if(!n.includes(s))break;a++}for(;i>a;){const s=i-1,l=e.charAt(s);if(!o.includes(l))break;i=s}return[e.slice(0,a),r(e.slice(a,i)),e.slice(i)]}const Ai=e=>new Promise(t=>setTimeout(()=>t(),e)),Mn=e=>typeof e=="object"&&e!==null&&e.constructor.name==="Object";function ec(){}class tc extends gt{constructor(t,r){super(`Maximum number of attempts reached: ${t}`,r)}}class rc{props;attempts=0;constructor(t={}){this.props=t}async sleep(){if(this.attempts>=this.maxAttempts)throw new tc(this.attempts);await Ai(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 nc=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),resolve:e,reject:t}},oc=e=>{const t=new Map;for(const r of e.split(",")){const n=r.match(/<([^>]+)>;\s*rel="([^"]+)"/);n&&t.set(n[2],n[1])}return t};function Ci(e){return["fetch","create","update","remove","list"].includes(e)}function ac(e){if(Ci(e))return e;switch(e){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function ic(e,t){return e==="create"&&t==="/api/v1/accounts"||e==="update"&&t==="/api/v1/accounts/update_credentials"||e==="create"&&t==="/api/v1/email"||e==="create"&&t==="/api/v1/featured_tag"||e==="create"&&t==="/api/v1/media"||e==="create"&&t==="/api/v2/media"?"multipart-form":"json"}async function sc(e,t,r){let n;const o=AbortSignal.timeout(t);for(;!n;){if(o.aborted)throw new wi(`Media processing timed out of ${t}ms`);try{await Ai(1e3);const a=await r.get(`/api/v1/media/${e}`);a.url&&(n=a)}catch(a){if(a instanceof vi&&a.statusCode===404)continue;throw a}}return n}class lc{http;mediaTimeout;constructor(t,r=1e3*60){this.http=t,this.mediaTimeout=r}beforeDispatch(t){const r=ac(t.type),n=Ci(t.type)?t.path:t.path+"/"+On(t.type),o=ic(r,n),a={...t.meta,encoding:o};return{type:r,path:n,data:t.data,meta:a}}dispatch(t){return t.type==="update"&&t.path==="/api/v1/accounts/update_credentials"?this.http.patch(t.path,t.data,t.meta):!1}afterDispatch(t,r){if(t.type==="create"&&t.path==="/api/v2/media"){const n=r;return Mn(t.data)&&t.data?.skipPolling===!0?n:sc(n.id,this.mediaTimeout,this.http)}return r}}class kn{http;path;params;meta;direction;constructor(t,r,n,o,a="next"){this.http=t,this.path=r,this.params=n,this.meta=o,this.direction=a}async*values(){let t=this.path,r=this.params;for(;t!=null;){const n=await this.http.request({method:"GET",path:t,search:r,...this.meta}),o=this.getLink(n.headers.get("link"));t=o?.pathname,r=o?.search.replace(/^\?/,""),yield await n.data}}then(t=Promise.resolve.bind(Promise),r=Promise.reject.bind(Promise)){return this.values().next().then(n=>t(n.value),r)}getDirection(){return this.direction}setDirection(t){return new kn(this.http,this.path,this.params,this.meta,t)}[Symbol.asyncIterator](){return this.values()}getLink(t){if(!t)return;const r=oc(t).get(this.direction);if(r)return new URL(r)}}class uc{http;hook;constructor(t,r){this.http=t,this.hook=r}dispatch(t){this.hook&&(t=this.hook.beforeDispatch(t));let r=this.hook.dispatch(t);if(r!==!1)return r;switch(t.type){case"fetch":{r=this.http.get(t.path,t.data,t.meta);break}case"create":{r=this.http.post(t.path,t.data,t.meta);break}case"update":{r=this.http.put(t.path,t.data,t.meta);break}case"remove":{r=this.http.delete(t.path,t.data,t.meta);break}case"list":{r=new kn(this.http,t.path,t.data);break}}return r instanceof Promise?r.then(n=>this.hook?.afterDispatch(t,n)):this.hook.afterDispatch(t,r)}}var nt=null;typeof WebSocket<"u"?nt=WebSocket:typeof MozWebSocket<"u"?nt=MozWebSocket:typeof global<"u"?nt=global.WebSocket||global.MozWebSocket:typeof window<"u"?nt=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(nt=self.WebSocket||self.MozWebSocket);const Nn=nt;function cc(e){return e.readyState===Nn.OPEN?Promise.resolve():new Promise((t,r)=>{const n=i=>{r(i)},o=()=>{r(new Error("WebSocket closed"))},a=()=>{t()};e.addEventListener("error",n,{once:!0}),e.addEventListener("close",o,{once:!0}),e.addEventListener("open",a,{once:!0})})}function dc(e){return e.readyState===Nn.CLOSED?Promise.resolve():new Promise(t=>{const r=()=>{t()};e.addEventListener("error",r,{once:!0}),e.addEventListener("close",r,{once:!0})})}class fc{props;logger;ws;killed=!1;queue=[];backoff;constructor(t,r){this.props=t,this.logger=r,this.backoff=new rc({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new Ar("WebSocket closed");if(this.ws)return Promise.resolve(this.ws);const t=nc();return this.queue.push(t),t.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(const{reject:t}of this.queue)t(new Ar("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 t=this.props.implementation??Nn,r=new t(...this.props.constructorParameters);await cc(r),this.ws=r}this.logger?.log("info","Connected to WebSocket");for(const{resolve:t}of this.queue)t(this.ws);this.queue=[],await dc(this.ws),this.logger?.log("info","WebSocket closed"),this.backoff.clear()}catch(t){this.logger?.log("error","WebSocket error:",t)}this.ws=void 0}for(const{reject:t}of this.queue)t(new Ar(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}}function hc(){let e,t;const r=new Promise((...n)=>[e,t]=n);return Object.freeze({resolve:e,reject:t,promise:r})}function pc(e,t){const r=[],n=[],o=e((...d)=>{const c=n.shift();c?c.resolve({value:d,done:!1}):r.push(d)}),a=t?.signal;let i=!1,s=null;const l=()=>{s=new Error("Abort Error")},u=()=>{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 c=hc();return n.push(c),c.promise},async return(){i=!0,u();for(const d of n)d.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(d){return s=d,u(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*mc(e){const t=async o=>{if(!n.return)throw new We("events.return is undefined");await n.return(o)},r=async o=>{if(!n.return)throw new We("events.return is undefined");await n.return(o)},n=pc(o=>(e.addEventListener("message",o),e.addEventListener("error",r),e.addEventListener("close",t),()=>{e.removeEventListener("message",o),e.removeEventListener("error",r),e.removeEventListener("close",t)}));for await(const[o]of n)yield o}class _c{connector;counter;serializer;stream;logger;params;connection;constructor(t,r,n,o,a,i){this.connector=t,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 t=this.serializer.serialize("json",{type:"subscribe",stream:this.stream,...this.params});this.logger?.log("debug","↑ WEBSOCKET",t),this.connection.send(t),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 t=this.serializer.serialize("json",{type:"unsubscribe",stream:this.stream,...this.params});this.connection.send(t)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(t){const r=this.params??{},n=Object.values(r);return[this.stream,...n].every(a=>t.stream.includes(a))}parseMessage(t){const r=this.serializer.deserialize("json",t);if("error"in r)throw new We(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(t,r){const n=this.hash(t,r);return this.counts.get(n)??0}increment(t,r){const n=this.hash(t,r);this.counts.has(n)||this.counts.set(n,0),this.counts.set(n,this.counts.get(n)+1)}decrement(t,r){const n=this.hash(t,r);if(!this.counts.has(n))throw new Error("Cannot decrement non-existent count");this.counts.set(n,this.counts.get(n)-1)}hash(t,r){return JSON.stringify({stream:t,params:r})}}class gc{connector;counter;serializer;logger;constructor(t,r,n,o){this.connector=t,this.counter=r,this.serializer=n,this.logger=o}dispatch(t){if(t.type==="close")return this.connector.kill(),{};if(t.type==="prepare")return this.connector.acquire();if(t.type!=="subscribe")throw new We(`Unknown action type ${t.type}`);const r=t.data??{},n=t.path.replace(/^\//,"").replaceAll("/",":");return new _c(this.connector,this.counter,this.serializer,n,this.logger,{...r})}[Symbol.dispose](){this.connector.kill()}}const kt=(e,t={})=>{const{context:r=[],applicable:n=!1}=t;let o={};const a={get:wc(e,r)};return n&&(o=ec,a.apply=bc(e,r)),new Proxy(o,a)},vc=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),wc=(e,t)=>(r,n)=>{if(!(typeof n=="string"&&vc.has(n))){if(n===Symbol.dispose)return e[Symbol.dispose];if(typeof n!="symbol")return n.startsWith("$")?kt(e,{context:[...t,n],applicable:!0}):kt(e,{context:[...t,On(n)],applicable:!0})}},bc=(e,t)=>(r,n,o)=>{const a=t.pop();if(!a)throw new Error("No action specified");if(a==="$select")return kt(e,{context:[...t,...o],applicable:!0});const i="/"+t.join("/"),[s,l]=o;return e.dispatch({type:a,path:i,data:s,meta:l})},Ec=([e,...t])=>{const r=new Headers(e);for(const n of t)for(const[o,a]of new Headers(n).entries())r.set(o,a);return r};class Sc{props;serializer;constructor(t,r){this.props=t,this.serializer=r}mergeRequestInitWithDefaults(t={}){const r={...this.props.requestInit};{const{headers:n,signal:o,...a}=t;Object.assign(r,a),r.headers=this.mergeHeadersWithDefaults(n),r.signal=this.mergeAbortSignalWithDefaults(o)}return r}resolvePath(t,r){const n=new URL(t,this.props.url);return typeof r=="string"?n.search=r:r&&(n.search=this.serializer.serialize("querystring",r)),n}mergeHeadersWithDefaults(t={}){const r=Ec([this.props.requestInit?.headers??{},t]),n=new Headers(r);return this.props.accessToken&&n.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(n)}mergeAbortSignalWithDefaults(t){const r=[];return this.props.timeout&&r.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&r.push(this.props.requestInit.signal),t&&r.push(t),AbortSignal.any(r)}}class Ac{props;serializer;constructor(t,r){this.props=t,this.serializer=r}getProtocols(t=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...t]:[this.props.accessToken,...t]}resolvePath(t,r={}){const n=new URL(t,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 Cc{get(t,r,n={}){return this.request({method:"GET",path:t,search:r,...n}).then(o=>o.data)}post(t,r,n={}){return this.request({method:"POST",path:t,body:r,...n}).then(o=>o.data)}delete(t,r,n={}){return this.request({method:"DELETE",path:t,body:r,...n}).then(o=>o.data)}put(t,r,n={}){return this.request({method:"PUT",path:t,body:r,...n}).then(o=>o.data)}patch(t,r,n={}){return this.request({method:"PATCH",path:t,body:r,...n}).then(o=>o.data)}}const Mo=e=>{const t=e.get("Content-Type")?.replace(/\s*;.*$/,"");if(typeof t=="string")switch(t){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class Pc extends Cc{serializer;config;logger;constructor(t,r,n){super(),this.serializer=t,this.config=r,this.logger=n}async request(t){const r=this.createRequest(t);try{this.logger?.log("info",`${r.method} ${r.url}`),this.logger?.log("debug"," body",{encoding:t.encoding,body:t.body});const n=await fetch(r);if(!n.ok)throw n;const o=await n.text(),a=Mo(n.headers);if(!a)throw new We("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(t){const{method:r,path:n,search:o,encoding:a="json",requestInit:i={}}=t,s=this.config.resolvePath(n,o),l=this.serializer.serialize(a,t.body),u=this.config.mergeRequestInitWithDefaults(i),d=new Request(s,{method:r,body:l,...u});return typeof l=="string"&&a==="json"&&d.headers.set("Content-Type","application/json"),d}async createError(t){if(t instanceof Response){const r=Mo(t.headers);if(!r)throw new We("The server returned data with an unknown encoding. The server may be down.");const n=this.serializer.deserialize(r,await t.text()),{error:o,errorDescription:a,details:i,...s}=n;return new vi({statusCode:t.status,message:o,description:a,details:i,additionalProperties:s},{cause:t})}return t instanceof DOMException&&t.name==="TimeoutError"?new wi("Request timed out",{cause:t}):t}}class Rc{level;constructor(t){this.level=t}log(t,r,n){if(!this.level.satisfies(t))return;const o=n==null?[r]:[r,n];switch(t){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 ce=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class it{level;constructor(t){this.level=t}satisfies(t){switch(t){case"debug":return!!(this.level&ce.DEBUG);case"info":return!!(this.level&ce.INFO);case"warn":return!!(this.level&ce.WARN);case"error":return!!(this.level&ce.ERROR)}}static from(t){switch(t){case"debug":return new it(ce.DEBUG|ce.INFO|ce.WARN|ce.ERROR);case"info":return new it(ce.INFO|ce.WARN|ce.ERROR);case"warn":return new it(ce.WARN|ce.ERROR);case"error":return new it(ce.ERROR)}}}const Pi=e=>{const t=it.from(e??"warn");return new Rc(t)},Ri=e=>{const t=(r,n="")=>Array.isArray(r)?r.flatMap((o,a)=>t(o,n==""?a.toString():e.onArray(n,a))):Mn(r)?Object.entries(r).flatMap(([o,a])=>t(a,n===""?o:e.onObject(n,o))):[[n,r]];return t},xc=e=>{const t=Ri({onArray:(r,n)=>`${r}[${n}]`,onObject:(r,n)=>`${r}[${n}]`});return Object.fromEntries(t(e))},Tc=e=>Ri({onArray:r=>`${r}[]`,onObject:(r,n)=>`${r}[${n}]`})(e).filter(([,r])=>r!=null).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&"),Zr=(e,t)=>Array.isArray(e)?e.map(r=>Zr(r,t)):Mn(e)?Object.fromEntries(Object.entries(e).map(([r,n])=>[t(r),Zr(n,t)])):e,ko=(e,t)=>Zr(e,n=>n.includes(":")||n.startsWith("_")?n:t(n));class xi{serialize(t,r){const n=ko(r,On);switch(t){case"json":return JSON.stringify(n);case"multipart-form":{const o=new FormData;for(const[a,i]of Object.entries(xc(n)))o.append(a,i);return o}case"querystring":return Tc(n);default:throw new We(`Unknown content type ${t} to serialize.`)}}deserialize(t,r){switch(t){case"json":try{return ko(JSON.parse(r),Zu)}catch{throw new To(`Malformed JSON ${r} returned from the server.`,t,r)}default:throw new To(`Unknown content type ${t} returned from the server.`,t,r)}}}const Lc=e=>{const t=new xi,r=new Sc(e,t),n=Pi(e.log),o=new Pc(t,r,n),a=new lc(o,e.mediaTimeout),i=new uc(o,a);return kt(i,{context:["api"]})};function Oc(e){const t=new xi,r=new Ac(e,t),n=Pi(e.log),o=new fc({constructorParameters:[r.resolvePath("/api/v1/streaming"),r.getProtocols()],implementation:e.implementation,maxAttempts:r.getMaxAttempts()},n),a=new yc,i=new gc(o,a,t,n);return kt(i)}var At={exports:{}},Ct={exports:{}},Mc=Ct.exports,No;function kc(){return No||(No=1,(function(e,t){(function(r,n){e.exports=n()})(Mc,(function(){"use strict";var r={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n=Array.prototype.slice;function o(c){var h=c.length;return h?h===1?[c[0]]:h===2?[c[0],c[1]]:h===3?[c[0],c[1],c[2]]:n.call(c,0):[]}function a(c){var h={};for(var f in c)r[f]||(h[f]=c[f]);return h}function i(c){return typeof c=="function"&&c.isMemoized}function s(c,h){return c===h||c!==c&&h!==h}function l(c,h){var f={};for(var m in c)f[m]=c[m];for(var m in h)f[m]=h[m];return f}var u=(function(){function c(h){this.keys=[],this.values=[],this.options=h;var f=typeof h.isMatchingKey=="function";f?this.getKeyIndex=this._getKeyIndexFromMatchingKey:h.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey=typeof h.transformKey=="function",this.shouldCloneArguments=this.canTransformKey||f,this.shouldUpdateOnAdd=typeof h.onCacheAdd=="function",this.shouldUpdateOnChange=typeof h.onCacheChange=="function",this.shouldUpdateOnHit=typeof h.onCacheHit=="function"}return Object.defineProperty(c.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"snapshot",{get:function(){return{keys:o(this.keys),size:this.size,values:o(this.values)}},enumerable:!1,configurable:!0}),c.prototype._getKeyIndexFromMatchingKey=function(h){var f=this.options,m=f.isMatchingKey,y=f.maxSize,_=this.keys,v=_.length;if(!v)return-1;if(m(_[0],h))return 0;if(y>1){for(var S=1;S<v;S++)if(m(_[S],h))return S}return-1},c.prototype._getKeyIndexForMany=function(h){var f=this.options.isEqual,m=this.keys,y=m.length;if(!y)return-1;if(y===1)return this._getKeyIndexForSingle(h);var _=h.length,v,S;if(_>1){for(var C=0;C<y;C++)if(v=m[C],v.length===_){for(S=0;S<_&&f(v[S],h[S]);S++);if(S===_)return C}}else for(var C=0;C<y;C++)if(v=m[C],v.length===_&&f(v[0],h[0]))return C;return-1},c.prototype._getKeyIndexForSingle=function(h){var f=this.keys;if(!f.length)return-1;var m=f[0],y=m.length;if(h.length!==y)return-1;var _=this.options.isEqual;if(y>1){for(var v=0;v<y;v++)if(!_(m[v],h[v]))return-1;return 0}return _(m[0],h[0])?0:-1},c.prototype.orderByLru=function(h,f,m){for(var y=this.keys,_=this.values,v=y.length,S=m;S--;)y[S+1]=y[S],_[S+1]=_[S];y[0]=h,_[0]=f;var C=this.options.maxSize;v===C&&m===v?(y.pop(),_.pop()):m>=C&&(y.length=_.length=C)},c.prototype.updateAsyncCache=function(h){var f=this,m=this.options,y=m.onCacheChange,_=m.onCacheHit,v=this.keys[0],S=this.values[0];this.values[0]=S.then(function(C){return f.shouldUpdateOnHit&&_(f,f.options,h),f.shouldUpdateOnChange&&y(f,f.options,h),C},function(C){var I=f.getKeyIndex(v);throw I!==-1&&(f.keys.splice(I,1),f.values.splice(I,1)),C})},c})();function d(c,h){if(h===void 0&&(h={}),i(c))return d(c.fn,l(c.options,h));if(typeof c!="function")throw new TypeError("You must pass a function to `memoize`.");var f=h.isEqual,m=f===void 0?s:f,y=h.isMatchingKey,_=h.isPromise,v=_===void 0?!1:_,S=h.maxSize,C=S===void 0?1:S,I=h.onCacheAdd,B=h.onCacheChange,G=h.onCacheHit,V=h.transformKey,te=l({isEqual:m,isMatchingKey:y,isPromise:v,maxSize:C,onCacheAdd:I,onCacheChange:B,onCacheHit:G,transformKey:V},a(h)),K=new u(te),J=K.keys,p=K.values,w=K.canTransformKey,E=K.shouldCloneArguments,A=K.shouldUpdateOnAdd,P=K.shouldUpdateOnChange,T=K.shouldUpdateOnHit,R=function(){var D=E?o(arguments):arguments;w&&(D=V(D));var U=J.length?K.getKeyIndex(D):-1;if(U!==-1)T&&G(K,te,R),U&&(K.orderByLru(J[U],p[U],U),P&&B(K,te,R));else{var N=c.apply(this,arguments),W=E?D:o(arguments);K.orderByLru(W,N,J.length),v&&K.updateAsyncCache(R),A&&I(K,te,R),P&&B(K,te,R)}return p[0]};return R.cache=K,R.fn=c,R.isMemoized=!0,R.options=te,R}return d}))})(Ct,Ct.exports)),Ct.exports}var Pt={exports:{}},Nc=Pt.exports,Io;function Ic(){return Io||(Io=1,(function(e,t){(function(r,n){n(t)})(Nc,(function(r){"use strict";var n=typeof WeakMap=="function",o=Object.keys;function a(p,w){return p===w||p!==p&&w!==w}function i(p){return p.constructor===Object||p.constructor==null}function s(p){return!!p&&typeof p.then=="function"}function l(p){return!!(p&&p.$$typeof)}function u(){var p=[];return{delete:function(w){for(var E=0;E<p.length;++E)if(p[E][0]===w){p.splice(E,1);return}},get:function(w){for(var E=0;E<p.length;++E)if(p[E][0]===w)return p[E][1]},set:function(w,E){for(var A=0;A<p.length;++A)if(p[A][0]===w){p[A][1]=E;return}p.push([w,E])}}}var d=(function(p){return p?function(){return new WeakMap}:u})(n);function c(p){return function(E){var A=p||E;return function(T,R,D,U,N,W,X){X===void 0&&(X=d());var le=!!T&&typeof T=="object",fe=!!R&&typeof R=="object";if(le!==fe)return!1;if(!le&&!fe)return A(T,R,X);var me=X.get(T);if(me&&X.get(R))return me===R;X.set(T,R),X.set(R,T);var ue=A(T,R,X);return X.delete(T),X.delete(R),ue}}}function h(p,w,E,A){var P=p.length;if(w.length!==P)return!1;for(;P-- >0;)if(!E(p[P],w[P],P,P,p,w,A))return!1;return!0}function f(p,w,E,A){var P=p.size===w.size;if(P&&p.size){var T={},R=0;p.forEach(function(D,U){if(P){var N=!1,W=0;w.forEach(function(X,le){!N&&!T[W]&&(N=E(U,le,R,W,p,w,A)&&E(D,X,U,le,p,w,A),N&&(T[W]=!0)),W++}),R++,P=N}})}return P}var m="_owner",y=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function _(p,w,E,A){var P=o(p),T=P.length;if(o(w).length!==T)return!1;if(T)for(var R=void 0;T-- >0;){if(R=P[T],R===m){var D=l(p),U=l(w);if((D||U)&&D!==U)return!1}if(!y(w,R)||!E(p[R],w[R],R,R,p,w,A))return!1}return!0}var v=(function(){return/foo/g.flags==="g"?function(w,E){return w.source===E.source&&w.flags===E.flags}:function(w,E){return w.source===E.source&&w.global===E.global&&w.ignoreCase===E.ignoreCase&&w.multiline===E.multiline&&w.unicode===E.unicode&&w.sticky===E.sticky&&w.lastIndex===E.lastIndex}})();function S(p,w,E,A){var P=p.size===w.size;if(P&&p.size){var T={};p.forEach(function(R,D){if(P){var U=!1,N=0;w.forEach(function(W,X){!U&&!T[N]&&(U=E(R,W,D,X,p,w,A),U&&(T[N]=!0)),N++}),P=U}})}return P}var C=typeof Map=="function",I=typeof Set=="function",B=Object.prototype.valueOf;function G(p){var w=typeof p=="function"?p(E):function(A,P,T,R,D,U,N){return E(A,P,N)};function E(A,P,T){if(A===P)return!0;if(A&&P&&typeof A=="object"&&typeof P=="object"){if(i(A)&&i(P))return _(A,P,w,T);var R=Array.isArray(A),D=Array.isArray(P);return R||D?R===D&&h(A,P,w,T):(R=A instanceof Date,D=P instanceof Date,R||D?R===D&&a(A.getTime(),P.getTime()):(R=A instanceof RegExp,D=P instanceof RegExp,R||D?R===D&&v(A,P):s(A)||s(P)?A===P:C&&(R=A instanceof Map,D=P instanceof Map,R||D)?R===D&&f(A,P,w,T):I&&(R=A instanceof Set,D=P instanceof Set,R||D)?R===D&&S(A,P,w,T):A.valueOf!==B||P.valueOf!==B?a(A.valueOf(),P.valueOf()):_(A,P,w,T)))}return A!==A&&P!==P}return E}var V=G(),te=G(function(){return a}),K=G(c()),J=G(c(a));r.circularDeepEqual=K,r.circularShallowEqual=J,r.createCustomEqual=G,r.deepEqual=V,r.sameValueZeroEqual=a,r.shallowEqual=te,Object.defineProperty(r,"__esModule",{value:!0})}))})(Pt,Pt.exports)),Pt.exports}var Dc=At.exports,Do;function Uc(){return Do||(Do=1,(function(e,t){(function(r,n){e.exports=n(kc(),Ic())})(Dc,(function(r,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(g){for(var b=1;b<arguments.length;b++){var O=arguments[b];for(var x in O)Object.prototype.hasOwnProperty.call(O,x)&&(g[x]=O[x])}return g},o.apply(this,arguments)}function a(g,b){if(g==null)return{};var O={},x=Object.keys(g),M,L;for(L=0;L<x.length;L++)M=x[L],!(b.indexOf(M)>=0)&&(O[M]=g[M]);return O}var i={isDeepEqual:!1,isPromise:!1,isReact:!1,isSerialized:!1,isShallowEqual:!1,matchesArg:void 0,matchesKey:void 0,maxAge:void 0,maxArgs:void 0,maxSize:1,onExpire:void 0,profileName:void 0,serializer:void 0,updateCacheForKey:void 0,transformArgs:void 0,updateExpire:!1};function s(){for(var g=arguments.length,b=new Array(g),O=0;O<g;O++)b[O]=arguments[O];return b.reduce(function(x,M){if(typeof x=="function")return typeof M=="function"?function(){x.apply(this,arguments),M.apply(this,arguments)}:x;if(typeof M=="function")return M})}function l(){for(var g=arguments.length,b=new Array(g),O=0;O<g;O++)b[O]=arguments[O];return b.reduce(function(x,M){if(typeof x=="function")return typeof M=="function"?function(){return x(M.apply(this,arguments))}:x;if(typeof M=="function")return M})}function u(g,b){for(var O=0;O<g.length;O++)if(g[O].key===b)return O;return-1}function d(g,b){var O=typeof b=="function"?b:function(x,M){for(var L=0;L<M.length;L++)if(!g(x[L],M[L]))return!1;return!0};return function(x,M){for(var L=0;L<x.length;L++)if(x[L].length===M.length&&O(x[L],M))return L;return-1}}function c(g,b){return!b||b===i?g:o({},g,b,{onCacheAdd:s(g.onCacheAdd,b.onCacheAdd),onCacheChange:s(g.onCacheChange,b.onCacheChange),onCacheHit:s(g.onCacheHit,b.onCacheHit),transformArgs:l(g.transformArgs,b.transformArgs)})}function h(g){return typeof g=="function"&&g.isMoized}function f(g,b,O){try{var x=O||b||"anonymous";Object.defineProperty(g,"name",{configurable:!0,enumerable:!1,value:"moized("+x+")",writable:!0})}catch{}}function m(g,b,O){var x=u(g,b);x!==-1&&(clearTimeout(g[x].timeoutId),O&&g.splice(x,1))}function y(g,b){var O=setTimeout(g,b);return typeof O.unref=="function"&&O.unref(),O}function _(g,b,O,x){var M=b.maxAge;return function L(k,H,re){var Y=k.keys[0];if(u(g,Y)===-1){var oe=function(){var ye=d(O,x),Ae=ye(k.keys,Y),et=k.values[Ae];~Ae&&(k.keys.splice(Ae,1),k.values.splice(Ae,1),typeof b.onCacheChange=="function"&&b.onCacheChange(k,H,re)),m(g,Y,!0),typeof b.onExpire=="function"&&b.onExpire(Y)===!1&&(k.keys.unshift(Y),k.values.unshift(et),L(k,H,re),typeof b.onCacheChange=="function"&&b.onCacheChange(k,H,re))};g.push({expirationMethod:oe,key:Y,timeoutId:y(oe,M)})}}}function v(g,b){return function(x){var M=x.keys[0],L=u(g,M);~L&&(m(g,M,!1),g[L].timeoutId=y(g[L].expirationMethod,b.maxAge))}}function S(g,b,O,x){var M=typeof b.maxAge=="number"&&isFinite(b.maxAge)?_(g,b,O,x):void 0;return{onCacheAdd:M,onCacheHit:M&&b.updateExpire?v(g,b):void 0}}var C={anonymousProfileNameCounter:1,isCollectingStats:!1,profiles:{}},I=!1;function B(g){g?delete C.profiles[g]:C.profiles={}}function G(g){g===void 0&&(g=!0),C.isCollectingStats=g}function V(g){var b=g.profileName;return function(){b&&!C.profiles[b]&&(C.profiles[b]={calls:0,hits:0}),C.profiles[b].calls++}}function te(g){return function(){var b=C.profiles,O=g.profileName;b[O]||(b[O]={calls:0,hits:0}),b[O].calls++,b[O].hits++}}function K(g){return g.displayName||g.name||"Anonymous "+C.anonymousProfileNameCounter++}function J(g,b){return g?(b/g*100).toFixed(4)+"%":"0.0000%"}function p(g){!C.isCollectingStats&&!I&&(console.warn('Stats are not currently being collected, please run "collectStats" to enable them.'),I=!0);var b=C.profiles;if(g){if(!b[g])return{calls:0,hits:0,usage:"0.0000%"};var O=b[g];return o({},O,{usage:J(O.calls,O.hits)})}var x=Object.keys(C.profiles).reduce(function(M,L){return M.calls+=b[L].calls,M.hits+=b[L].hits,M},{calls:0,hits:0});return o({},x,{profiles:Object.keys(b).reduce(function(M,L){return M[L]=p(L),M},{}),usage:J(x.calls,x.hits)})}function w(g){return C.isCollectingStats?{onCacheAdd:V(g),onCacheHit:te(g)}:{}}var E={arguments:!0,callee:!0,caller:!0,constructor:!0,length:!0,name:!0,prototype:!0};function A(g,b,O){O===void 0&&(O=[]),Object.getOwnPropertyNames(g).forEach(function(x){if(!E[x]&&O.indexOf(x)===-1){var M=Object.getOwnPropertyDescriptor(g,x);M.get||M.set?Object.defineProperty(b,x,M):b[x]=g[x]}})}function P(g,b){var O=b.expirations,x=g.options,M=d(x.isEqual,x.isMatchingKey),L=g;L.clear=function(){var k=L._microMemoizeOptions.onCacheChange,H=L.cache;return H.keys.length=0,H.values.length=0,k&&k(H,L.options,L),!0},L.clearStats=function(){B(L.options.profileName)},L.get=function(k){var H=L._microMemoizeOptions.transformKey,re=L.cache,Y=H?H(k):k,oe=M(re.keys,Y);return oe!==-1?L.apply(this,k):void 0},L.getStats=function(){return p(L.options.profileName)},L.has=function(k){var H=L._microMemoizeOptions.transformKey,re=H?H(k):k;return M(L.cache.keys,re)!==-1},L.keys=function(){return L.cacheSnapshot.keys},L.remove=function(k){var H=L._microMemoizeOptions,re=H.onCacheChange,Y=H.transformKey,oe=L.cache,_e=M(oe.keys,Y?Y(k):k);if(_e===-1)return!1;var ye=oe.keys[_e];return oe.keys.splice(_e,1),oe.values.splice(_e,1),re&&re(oe,L.options,L),m(O,ye,!0),!0},L.set=function(k,H){var re=L._microMemoizeOptions,Y=L.cache,oe=L.options,_e=re.onCacheAdd,ye=re.onCacheChange,Ae=re.transformKey,et=Ae?Ae(k):k,Me=M(Y.keys,et);if(Me===-1){var tt=oe.maxSize-1;Y.size>tt&&(Y.keys.length=tt,Y.values.length=tt),Y.keys.unshift(et),Y.values.unshift(H),oe.isPromise&&Y.updateAsyncCache(L),_e&&_e(Y,oe,L),ye&&ye(Y,oe,L)}else{var Ft=Y.keys[Me];Y.values[Me]=H,Me>0&&Y.orderByLru(Ft,H,Me),oe.isPromise&&Y.updateAsyncCache(L),typeof ye=="function"&&ye(Y,oe,L)}},L.values=function(){return L.cacheSnapshot.values}}function T(g,b){var O=b.expirations,x=b.options,M=b.originalFunction,L=g.options;Object.defineProperties(g,{_microMemoizeOptions:{configurable:!0,get:function(){return L}},cacheSnapshot:{configurable:!0,get:function(){var re=g.cache;return{keys:re.keys.slice(0),size:re.size,values:re.values.slice(0)}}},expirations:{configurable:!0,get:function(){return O}},expirationsSnapshot:{configurable:!0,get:function(){return O.slice(0)}},isMoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return x}},originalFunction:{configurable:!0,get:function(){return M}}});var k=g;A(M,k)}function R(g,b){return P(g,b),T(g,b),g}var D=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function U(g,b,O){var x=g(o({maxArgs:2,isShallowEqual:!0},O,{isReact:!1}));b.displayName||(b.displayName=b.name||"Component");function M(L,k,H){this.props=L,this.context=k,this.updater=H,this.MoizedComponent=x(b)}return M.prototype.isReactComponent={},M.prototype.render=function(){return{$$typeof:D,type:this.MoizedComponent,props:this.props,ref:null,key:null,_owner:null}},A(b,M,["contextType","contextTypes"]),M.displayName="Moized("+(b.displayName||b.name||"Component")+")",f(M,b.name,O.profileName),M}function N(g){return function(b){if(g>=b.length)return b;if(g===0)return[];if(g===1)return[b[0]];if(g===2)return[b[0],b[1]];if(g===3)return[b[0],b[1],b[2]];for(var O=[],x=0;x<g;x++)O[x]=b[x];return O}}function W(g,b){for(var O=g.length,x=0;x<O;++x)if(g[x]===b)return x+1;return 0}function X(){var g=[],b=[];return function(x,M){var L=typeof M;if(L==="function"||L==="symbol")return M.toString();if(typeof M=="object"){if(g.length){var k=W(g,this);k===0?g[g.length]=this:(g.splice(k),b.splice(k)),b[b.length]=x;var H=W(g,M);if(H!==0)return"[ref="+(b.slice(0,H).join(".")||".")+"]"}else g[0]=M,b[0]=x;return M}return""+M}}function le(g){var b=typeof g;return g&&(b==="object"||b==="function")?JSON.stringify(g,X()):g}function fe(g){for(var b="|",O=0;O<g.length;O++)b+=le(g[O])+"|";return[b]}function me(g){return typeof g.serializer=="function"?g.serializer:fe}function ue(g,b){return g[0]===b[0]}function Se(g){if(typeof g=="function")return function(b,O,x){return g(x.cache,x.options,x)}}function Oe(g){return g.matchesArg||g.isDeepEqual&&n.deepEqual||g.isShallowEqual&&n.shallowEqual||n.sameValueZeroEqual}function Be(g){return g.matchesKey||g.isSerialized&&ue||void 0}function Xe(g){return l(g.isSerialized&&me(g),typeof g.transformArgs=="function"&&g.transformArgs,typeof g.maxArgs=="number"&&N(g.maxArgs))}function vr(g){var b=g.options.updateCacheForKey,O=function(){for(var M=arguments.length,L=new Array(M),k=0;k<M;k++)L[k]=arguments[k];if(!b(L))return g.apply(this,L);var H=g.fn.apply(this,L);return g.set(L,H),H};return A(g,O),O}var Ps=["matchesArg","isDeepEqual","isPromise","isReact","isSerialized","isShallowEqual","matchesKey","maxAge","maxArgs","maxSize","onCacheAdd","onCacheChange","onCacheHit","onExpire","profileName","serializer","updateCacheForKey","transformArgs","updateExpire"],j=function g(b,O){var x=O||i;if(h(b)){var M=b.originalFunction,L=c(b.options,x);return g(M,L)}if(typeof b=="object")return function(wr,Os){if(typeof wr=="function"){var Ms=c(b,Os);return g(wr,Ms)}var ks=c(b,wr);return g(ks)};if(x.isReact)return U(g,b,x);var k=o({},i,x,{maxAge:typeof x.maxAge=="number"&&x.maxAge>=0?x.maxAge:i.maxAge,maxArgs:typeof x.maxArgs=="number"&&x.maxArgs>=0?x.maxArgs:i.maxArgs,maxSize:typeof x.maxSize=="number"&&x.maxSize>=0?x.maxSize:i.maxSize,profileName:x.profileName||K(b)}),H=[];k.matchesArg,k.isDeepEqual;var re=k.isPromise;k.isReact,k.isSerialized,k.isShallowEqual,k.matchesKey,k.maxAge,k.maxArgs;var Y=k.maxSize,oe=k.onCacheAdd,_e=k.onCacheChange,ye=k.onCacheHit;k.onExpire,k.profileName,k.serializer;var Ae=k.updateCacheForKey;k.transformArgs,k.updateExpire;var et=a(k,Ps),Me=Oe(k),tt=Be(k),Ft=S(H,k,Me,tt),Hn=w(k),xs=Xe(k),Ts=o({},et,{isEqual:Me,isMatchingKey:tt,isPromise:re,maxSize:Y,onCacheAdd:Se(s(oe,Ft.onCacheAdd,Hn.onCacheAdd)),onCacheChange:Se(_e),onCacheHit:Se(s(ye,Ft.onCacheHit,Hn.onCacheHit)),transformKey:xs}),Ls=r(b,Ts),qt=R(Ls,{expirations:H,options:k,originalFunction:b});return Ae&&(qt=vr(qt)),f(qt,b.name,x.profileName),qt};j.clearStats=B,j.collectStats=G,j.compose=function(){return l.apply(void 0,arguments)||j},j.deep=j({isDeepEqual:!0}),j.getStats=p,j.infinite=j({maxSize:1/0}),j.isCollectingStats=function(){return C.isCollectingStats},j.isMoized=function(b){return typeof b=="function"&&!!b.isMoized},j.matchesArg=function(g){return j({matchesArg:g})},j.matchesKey=function(g){return j({matchesKey:g})};function Rs(g,b){if(b===!0)return j({maxAge:g,updateExpire:b});if(typeof b=="object"){var O=b.onExpire,x=b.updateExpire;return j({maxAge:g,onExpire:O,updateExpire:x})}return j(typeof b=="function"?{maxAge:g,onExpire:b,updateExpire:!0}:{maxAge:g})}return j.maxAge=Rs,j.maxArgs=function(g){return j({maxArgs:g})},j.maxSize=function(g){return j({maxSize:g})},j.profile=function(g){return j({profileName:g})},j.promise=j({isPromise:!0,updateExpire:!0}),j.react=j({isReact:!0}),j.serialize=j({isSerialized:!0}),j.serializeWith=function(g){return j({isSerialized:!0,serializer:g})},j.shallow=j({isShallowEqual:!0}),j.transformArgs=function(g){return j({transformArgs:g})},j.updateCacheForKey=function(g){return j({updateCacheForKey:g})},Object.defineProperty(j,"default",{configurable:!1,enumerable:!1,value:j,writable:!1}),j}))})(At,At.exports)),At.exports}var Fc=Uc();const Ti=sa(Fc);typeof window<"u"&&(window._moize=Ti);function vt(e,t={}){return Ti(e,{...t,maxSize:30,isDeepEqual:!0})}function zt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var qc={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Jr(e,t){function r(o,a,i){if(!(typeof document>"u")){i=zt({},t,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+"="+e.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("="),u=l.slice(1).join("=");try{var d=decodeURIComponent(l[0]);if(i[d]=e.read(u,d),o===d)break}catch{}}return o?i[o]:i}}return Object.create({set:r,get:n,remove:function(o,a){r(o,"",zt({},a,{expires:-1}))},withAttributes:function(o){return Jr(this.converter,zt({},this.attributes,o))},withConverter:function(o){return Jr(zt({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var jc=Jr(qc,{path:"/"});function wt(){return q.local.getJSON("accounts")||[]}function In(e){q.local.setJSON("accounts",e)}const zc=300*1e3;function Qr(e){const t=wt(),r=e?t.find(o=>o.info.id===e):t[0];if(!r)return null;const n=Date.now();return n-r.lastAccessedAt>zc&&(r.lastAccessedAt=n,In(t)),r}function Hc(e){return wt().find(r=>r.accessToken===e)}function Bc(e){return wt().find(r=>r.instanceURL===e)}function gh(e){return wt().some(r=>r.instanceURL===e)}const Li=typeof window<"u"?window.matchMedia("(display-mode: standalone)"):null;function Oi(){try{const e=q.session.get("currentAccount");if(e)return e}catch{}if(Li?.matches)try{const e=q.local.get("currentAccount");if(e)return e}catch{}return null}const vh=vt(Oi,{maxAge:60*1e3});function $c(e){try{q.session.set("currentAccount",e)}catch{}if(Li?.matches)try{q.local.set("currentAccount",e)}catch{}}function Ut(){window.__IGNORE_GET_ACCOUNT_ERROR__;const e=Oi();let t=Qr(e);return t||(t=Qr()),t}const Kc=vt(Ut,{maxAge:60*1e3});function Cr(){const e=Ut(),{instanceURL:t,info:{id:r}}=e;return`${r}@${t}`}function Gc(e){const t=wt(),r=t.find(n=>n.info.id===e.info.id);r?(r.info=e.info,r.instanceURL=e.instanceURL,r.accessToken=e.accessToken,r.vapidKey=e.vapidKey,r.updatedAt=Date.now()):t.push(e),In(t)}function wh(e){const t=wt(),r=t.find(n=>n.info.id===e.id);r&&(r.info.displayName!==e.displayName||r.info.avatar!==e.avatar||r.info.avatar_static!==e.avatar_static)&&(r.info={...r.info,...e},In(t))}let Pr=null;function Dn(){if(Pr)return Pr;try{const e=Ut(),t=q.local.getJSON("instances"),r=e.instanceURL.toLowerCase();return Pr=t[r]}catch{return{}}}let Rr=null;function bh(){if(Rr)return Rr;try{const e=Ut(),t=q.local.getJSON("nodeInfos")||{},r=e.instanceURL.toLowerCase();return Rr=t[r]||{}}catch{return{}}}function Mi(e){const{configuration:t,maxMediaAttachments:r,maxTootChars:n,pollLimits:o}=e,a=t?.statuses||{};r&&(a.maxMediaAttachments??=r),n&&(a.maxCharacters??=n);const i=t?.polls||{};return o&&(i.maxCharactersPerOption??=o.maxOptionChars,i.maxExpiration??=o.maxExpiration,i.maxOptions??=o.maxOptions,i.minExpiration??=o.minExpiration),{...t,statuses:a,polls:i}}function Vc(){const e=Dn();return Mi(e)}function Eh(){return Dn()?.apiVersions||{}}function Sh(e){const t=e?Mi(e):Vc();return t?.vapid?.publicKey||t?.vapid?.public_key||Ut()?.vapidKey}function Ah(){const e=Dn();return/pixelfed/i.test(e?.version)}const Xr="credentialApplications";function Ch(e,t){const r=q.local.getJSON(Xr)||{};r[e]=t,q.local.setJSON(Xr,r)}function Ph(e){return(q.local.getJSON(Xr)||{})[e]||null}const lt=jc.withAttributes({sameSite:"strict",secure:!0}),xr=navigator.cookieEnabled&&(()=>{try{const e="__phanpy_can_set_secure_cookie__";lt.set(e,"1");const r=lt.get(e)==="1";return lt.remove(e),r}catch{return!1}})(),Ie={get:e=>{try{return localStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(Ie.get(e))}catch{return null}},set:(e,t)=>{try{return localStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return Ie.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return localStorage.removeItem(e)}catch{return null}}},ut={get:e=>{try{return sessionStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(ut.get(e))}catch{return null}},set:(e,t)=>{try{return sessionStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return ut.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return sessionStorage.removeItem(e)}catch{return null}}},Yt={get:e=>lt.get(e),set:(e,t)=>lt.set(e,t),del:e=>lt.remove(e)},Wc={get:e=>xr?Yt.get(e):ut.get(e),set:(e,t)=>xr?Yt.set(e,t):ut.set(e,t),del:e=>xr?Yt.del(e):ut.del(e)},Yc={get:e=>{try{return Ie.getJSON(e)[Cr()]}catch{return null}},set:(e,t)=>{try{const r=Ie.getJSON(e)||{};return r[Cr()]=t,Ie.setJSON(e,r)}catch{return null}},del:e=>{try{const t=Ie.getJSON(e)||{};return delete t[Cr()],Ie.setJSON(e,t)}catch{return null}}},q={local:Ie,session:ut,sessionCookie:Wc,cookie:Yt,account:Yc},Zt="mastodon.social",sr={},de={};window.__ACCOUNT_APIS__=de;let ae;function ke({instance:e,accessToken:t}){/^https?:\/\//.test(e)&&(e=e.replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase());const r=e?`https://${e}`:`https://${Zt}`,o={masto:Lc({url:r,accessToken:t,timeout:2*6e4,mediaTimeout:10*6e4}),instance:e,accessToken:t,onStreamingReady:function(a){this._streamingCallback=a}};return sr[e]=o,de[e]||(de[e]={}),t&&(de[e][t]=o),o}function Rh(e){return!!(q.local.getJSON("instances")||{})[e]}async function xh(e,t){const{masto:r,accessToken:n}=e;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,u=q.local.getJSON("instances")||{};(a||s)&&(u[(s||a).replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase()]=o),t&&(u[t.toLowerCase()]=o),q.local.setJSON("instances",u);let d;try{if(a||s){let f=a||`https://${s}`;const m=await(await fetch(`${f}/.well-known/nodeinfo`)).json();if(Array.isArray(m?.links)){const y="http://nodeinfo.diaspora.software/ns/schema/",_=m.links.filter(v=>typeof v.rel=="string"&&v.rel.startsWith(y)&&ju(v.rel.slice(y.length))).map(v=>({version:v.rel.slice(y.length),href:v.href})).sort((v,S)=>-yi(v.version,S.version)).find(v=>Wt(v.version,"<=2"))?.href;_&&(d=await(await fetch(_)).json())}}}catch{}const c=q.local.getJSON("nodeInfos")||{};if(d&&(c[t.toLowerCase()]=d),q.local.setJSON("nodeInfos",c),"WebSocket"in window&&(i||l)){const f=Oc({streamingApiUrl:l||i,accessToken:n,implementation:WebSocket});if(e.streaming=f,e._streamingCallback){try{e._streamingCallback(f)}catch{}e._streamingCallback=null}}__BENCHMARK.end("init-instance")}async function Th(e,t,r,n){const{masto:o}=e,a=await o.v1.accounts.verifyCredentials();$c(a.id),Gc({info:a,instanceURL:t.toLowerCase(),accessToken:r,vapidKey:n,createdAt:Date.now()})}const ki=vt(()=>q.account.get("preferences")||{},{maxAge:60*1e3});function Zc(e){ki.clear(),q.account.set("preferences",e)}function Lh(){return!!ki()}async function Oh(e){try{const{masto:t}=e;__BENCHMARK.start("fetch-preferences");const r=await t.v1.preferences.fetch();__BENCHMARK.end("fetch-preferences"),Zc(r)}catch{}}function lr({instance:e,accessToken:t,accountID:r,account:n}={}){if(e&&(e=e.toLowerCase().trim()),e&&t){const l=de[e]?.[t]||ke({instance:e,accessToken:t}),{masto:u,streaming:d}=l;return{masto:u,streaming:d,client:l,authenticated:!0,instance:e}}if(t)for(const l in de)if(de[l][t]){const u=de[l][t],{masto:d,streaming:c}=u;return{masto:d,streaming:c,client:u,authenticated:!0,instance:l}}else{const u=Hc(t);if(u){const d=u.accessToken,c=u.instanceURL.toLowerCase().trim(),h=ke({instance:c,accessToken:d}),{masto:f,streaming:m}=h;return{masto:f,streaming:m,client:h,authenticated:!0,instance:c}}else throw new Error("Access token not found")}if(n||r)if(n=n||Qr(r),n){const l=n.accessToken,u=n.instanceURL.toLowerCase().trim(),d=de[u]?.[l]||ke({instance:u,accessToken:l}),{masto:c,streaming:h}=d;return{masto:c,streaming:h,client:d,authenticated:!0,instance:u}}else throw new Error(`Account ${r} not found`);const o=Kc();if(e){if(ae?.instance===e)return{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:e};if(o?.instanceURL===e){const{accessToken:f}=o;return ae=de[e]?.[f]||ke({instance:e,accessToken:f}),{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:e}}const l=Bc(e);if(l){const f=l.accessToken,m=de[e]?.[f]||ke({instance:e,accessToken:f}),{masto:y,streaming:_}=m;return{masto:y,streaming:_,client:m,authenticated:!0,instance:e}}const u=sr[e]||ke({instance:e}),{masto:d,streaming:c,accessToken:h}=u;return{masto:d,streaming:c,client:u,authenticated:!!h,instance:e}}if(ae)return{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:ae.instance};if(o){const{accessToken:l,instanceURL:u}=o;return ae=de[u]?.[l]||ke({instance:u,accessToken:l}),{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:u}}const a=sr[Zt]||ke({instance:Zt}),{masto:i,streaming:s}=a;return{masto:i,streaming:s,client:a,authenticated:!1,instance:Zt}}window.__API__={currentAccountApi:ae,apis:sr,accountApis:de};var Jc=Object.getOwnPropertyNames,Qc=Object.getOwnPropertySymbols,Xc=Object.prototype.hasOwnProperty;function Uo(e,t){return function(n,o,a){return e(n,o,a)&&t(n,o,a)}}function Ht(e){return function(r,n,o){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,o);var a=o.cache,i=a.get(r),s=a.get(n);if(i&&s)return i===n&&s===r;a.set(r,n),a.set(n,r);var l=e(r,n,o);return a.delete(r),a.delete(n),l}}function ed(e){return e?.[Symbol.toStringTag]}function Fo(e){return Jc(e).concat(Qc(e))}var td=Object.hasOwn||(function(e,t){return Xc.call(e,t)});function Qe(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var rd="__v",nd="__o",od="_owner",qo=Object.getOwnPropertyDescriptor,jo=Object.keys;function ad(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function id(e,t){return Qe(e.getTime(),t.getTime())}function sd(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function ld(e,t){return e===t}function zo(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var o=new Array(n),a=e.entries(),i,s,l=0;(i=a.next())&&!i.done;){for(var u=t.entries(),d=!1,c=0;(s=u.next())&&!s.done;){if(o[c]){c++;continue}var h=i.value,f=s.value;if(r.equals(h[0],f[0],l,c,e,t,r)&&r.equals(h[1],f[1],h[0],f[0],e,t,r)){d=o[c]=!0;break}c++}if(!d)return!1;l++}return!0}var ud=Qe;function cd(e,t,r){var n=jo(e),o=n.length;if(jo(t).length!==o)return!1;for(;o-- >0;)if(!Ni(e,t,r,n[o]))return!1;return!0}function Et(e,t,r){var n=Fo(e),o=n.length;if(Fo(t).length!==o)return!1;for(var a,i,s;o-- >0;)if(a=n[o],!Ni(e,t,r,a)||(i=qo(e,a),s=qo(t,a),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function dd(e,t){return Qe(e.valueOf(),t.valueOf())}function fd(e,t){return e.source===t.source&&e.flags===t.flags}function Ho(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var o=new Array(n),a=e.values(),i,s;(i=a.next())&&!i.done;){for(var l=t.values(),u=!1,d=0;(s=l.next())&&!s.done;){if(!o[d]&&r.equals(i.value,s.value,i.value,s.value,e,t,r)){u=o[d]=!0;break}d++}if(!u)return!1}return!0}function hd(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function pd(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Ni(e,t,r,n){return(n===od||n===nd||n===rd)&&(e.$$typeof||t.$$typeof)?!0:td(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var md="[object Arguments]",_d="[object Boolean]",yd="[object Date]",gd="[object Error]",vd="[object Map]",wd="[object Number]",bd="[object Object]",Ed="[object RegExp]",Sd="[object Set]",Ad="[object String]",Cd="[object URL]",Pd=Array.isArray,Bo=typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView:null,$o=Object.assign,Rd=Object.prototype.toString.call.bind(Object.prototype.toString);function xd(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areErrorsEqual,o=e.areFunctionsEqual,a=e.areMapsEqual,i=e.areNumbersEqual,s=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,d=e.areSetsEqual,c=e.areTypedArraysEqual,h=e.areUrlsEqual,f=e.unknownTagComparators;return function(y,_,v){if(y===_)return!0;if(y==null||_==null)return!1;var S=typeof y;if(S!==typeof _)return!1;if(S!=="object")return S==="number"?i(y,_,v):S==="function"?o(y,_,v):!1;var C=y.constructor;if(C!==_.constructor)return!1;if(C===Object)return s(y,_,v);if(Pd(y))return t(y,_,v);if(Bo!=null&&Bo(y))return c(y,_,v);if(C===Date)return r(y,_,v);if(C===RegExp)return u(y,_,v);if(C===Map)return a(y,_,v);if(C===Set)return d(y,_,v);var I=Rd(y);if(I===yd)return r(y,_,v);if(I===Ed)return u(y,_,v);if(I===vd)return a(y,_,v);if(I===Sd)return d(y,_,v);if(I===bd)return typeof y.then!="function"&&typeof _.then!="function"&&s(y,_,v);if(I===Cd)return h(y,_,v);if(I===gd)return n(y,_,v);if(I===md)return s(y,_,v);if(I===_d||I===wd||I===Ad)return l(y,_,v);if(f){var B=f[I];if(!B){var G=ed(y);G&&(B=f[G])}if(B)return B(y,_,v)}return!1}}function Td(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?Et:ad,areDatesEqual:id,areErrorsEqual:sd,areFunctionsEqual:ld,areMapsEqual:n?Uo(zo,Et):zo,areNumbersEqual:ud,areObjectsEqual:n?Et:cd,arePrimitiveWrappersEqual:dd,areRegExpsEqual:fd,areSetsEqual:n?Uo(Ho,Et):Ho,areTypedArraysEqual:n?Et:hd,areUrlsEqual:pd,unknownTagComparators:void 0};if(r&&(o=$o({},o,r(o))),t){var a=Ht(o.areArraysEqual),i=Ht(o.areMapsEqual),s=Ht(o.areObjectsEqual),l=Ht(o.areSetsEqual);o=$o({},o,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:s,areSetsEqual:l})}return o}function Ld(e){return function(t,r,n,o,a,i,s){return e(t,r,s)}}function Od(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,a=e.strict;if(n)return function(l,u){var d=n(),c=d.cache,h=c===void 0?t?new WeakMap:void 0:c,f=d.meta;return r(l,u,{cache:h,equals:o,meta:f,strict:a})};if(t)return function(l,u){return r(l,u,{cache:new WeakMap,equals:o,meta:void 0,strict:a})};var i={cache:void 0,equals:o,meta:void 0,strict:a};return function(l,u){return r(l,u,i)}}var Md=He(),Mh=He({strict:!0}),kh=He({circular:!0}),Nh=He({circular:!0,strict:!0}),Ih=He({createInternalComparator:function(){return Qe}}),Dh=He({strict:!0,createInternalComparator:function(){return Qe}}),Uh=He({circular:!0,createInternalComparator:function(){return Qe}}),Fh=He({circular:!0,createInternalComparator:function(){return Qe},strict:!0});function He(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,o=e.createState,a=e.strict,i=a===void 0?!1:a,s=Td(e),l=xd(s),u=n?n(l):Ld(l);return Od({circular:r,comparator:l,createState:o,equals:u,strict:i})}function Ii(e,t,r,n){let o=e[t];return Ln(e,()=>{const a=e[t];Object.is(o,a)||r(o=a)},n)}const qh=Symbol();const{proxyStateMap:jh,snapCache:zh}=mi();const{proxyStateMap:Hh,snapCache:Bh}=mi();const $h=Symbol();function kd(e){try{const{pathname:t,hash:r,hostname:n}=URL.parse(e);return/^\/.*\/\d+$/i.test(t)||/^\/(@[^/]+|users\/[^/]+)\/(statuses|posts)\/[\w-]+\/?$/i.test(t)||/^\/notes\/[a-z0-9]+$/i.test(t)||/^\/(notice|objects)\/[a-z0-9-]+$/i.test(t)||/^\/@[^/]+\/post\/[a-z0-9\-_]+$/i.test(t)||/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(t)||/^\/ap\/note\/[a-z0-9\-_]+$/i.test(t)||/(fed|bsky)\.brid\.gy/i.test(n)&&t.startsWith("/r/http")||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(t)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(t)||/^\/v\/[a-z0-9]+$/i.test(t)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(r)}catch{return!1}}function Nd(e,t={}){return vt(e,{isPromise:!0,...t})}function Id(e,t){let r=[],n=!1;function o(){if(r.length===0){n=!1;return}r.shift()(),setTimeout(o,t)}return function(...a){const i=()=>e.apply(this,a);r.push(i),n||(n=!0,setTimeout(o,t))}}var Jt={exports:{}},Kh=Jt.exports,Ko;function Dd(){return Ko||(Ko=1,(function(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(l,u,d){this.fn=l,this.context=u,this.once=d||!1}function a(l,u,d,c,h){if(typeof d!="function")throw new TypeError("The listener must be a function");var f=new o(d,c||l,h),m=r?r+u:u;return l._events[m]?l._events[m].fn?l._events[m]=[l._events[m],f]:l._events[m].push(f):(l._events[m]=f,l._eventsCount++),l}function i(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var u=[],d,c;if(this._eventsCount===0)return u;for(c in d=this._events)t.call(d,c)&&u.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(d)):u},s.prototype.listeners=function(u){var d=r?r+u:u,c=this._events[d];if(!c)return[];if(c.fn)return[c.fn];for(var h=0,f=c.length,m=new Array(f);h<f;h++)m[h]=c[h].fn;return m},s.prototype.listenerCount=function(u){var d=r?r+u:u,c=this._events[d];return c?c.fn?1:c.length:0},s.prototype.emit=function(u,d,c,h,f,m){var y=r?r+u:u;if(!this._events[y])return!1;var _=this._events[y],v=arguments.length,S,C;if(_.fn){switch(_.once&&this.removeListener(u,_.fn,void 0,!0),v){case 1:return _.fn.call(_.context),!0;case 2:return _.fn.call(_.context,d),!0;case 3:return _.fn.call(_.context,d,c),!0;case 4:return _.fn.call(_.context,d,c,h),!0;case 5:return _.fn.call(_.context,d,c,h,f),!0;case 6:return _.fn.call(_.context,d,c,h,f,m),!0}for(C=1,S=new Array(v-1);C<v;C++)S[C-1]=arguments[C];_.fn.apply(_.context,S)}else{var I=_.length,B;for(C=0;C<I;C++)switch(_[C].once&&this.removeListener(u,_[C].fn,void 0,!0),v){case 1:_[C].fn.call(_[C].context);break;case 2:_[C].fn.call(_[C].context,d);break;case 3:_[C].fn.call(_[C].context,d,c);break;case 4:_[C].fn.call(_[C].context,d,c,h);break;default:if(!S)for(B=1,S=new Array(v-1);B<v;B++)S[B-1]=arguments[B];_[C].fn.apply(_[C].context,S)}}return!0},s.prototype.on=function(u,d,c){return a(this,u,d,c,!1)},s.prototype.once=function(u,d,c){return a(this,u,d,c,!0)},s.prototype.removeListener=function(u,d,c,h){var f=r?r+u:u;if(!this._events[f])return this;if(!d)return i(this,f),this;var m=this._events[f];if(m.fn)m.fn===d&&(!h||m.once)&&(!c||m.context===c)&&i(this,f);else{for(var y=0,_=[],v=m.length;y<v;y++)(m[y].fn!==d||h&&!m[y].once||c&&m[y].context!==c)&&_.push(m[y]);_.length?this._events[f]=_.length===1?_[0]:_:i(this,f)}return this},s.prototype.removeAllListeners=function(u){var d;return u?(d=r?r+u:u,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,e.exports=s})(Jt)),Jt.exports}var Ud=Dd();const Fd=sa(Ud);class Un extends Error{name="TimeoutError";constructor(t,r){super(t,r),Error.captureStackTrace?.(this,Un)}}const Go=e=>e.reason??new DOMException("This operation was aborted.","AbortError");function qd(e,t){const{milliseconds:r,fallback:n,message:o,customTimers:a={setTimeout,clearTimeout},signal:i}=t;let s,l;const d=new Promise((c,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(Go(i));return}if(i&&(l=()=>{h(Go(i))},i.addEventListener("abort",l,{once:!0})),e.then(c,h),r===Number.POSITIVE_INFINITY)return;const f=new Un;s=a.setTimeout.call(void 0,()=>{if(n){try{c(n())}catch(m){h(m)}return}typeof e.cancel=="function"&&e.cancel(),o===!1?c():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 jd(e,t,r){let n=0,o=e.length;for(;o>0;){const a=Math.trunc(o/2);let i=n+a;r(e[i],t)<=0?(n=++i,o-=a+1):o=a}return n}class zd{#t=[];enqueue(t,r){const{priority:n=0,id:o}=r??{},a={priority:n,id:o,run:t};if(this.size===0||this.#t[this.size-1].priority>=n){this.#t.push(a);return}const i=jd(this.#t,a,(s,l)=>l.priority-s.priority);this.#t.splice(i,0,a)}setPriority(t,r){const n=this.#t.findIndex(a=>a.id===t);if(n===-1)throw new ReferenceError(`No promise function with the id "${t}" exists in the queue.`);const[o]=this.#t.splice(n,1);this.enqueue(o.run,{priority:r,id:t})}dequeue(){return this.#t.shift()?.run}filter(t){return this.#t.filter(r=>r.priority===t.priority).map(r=>r.run)}get size(){return this.#t.length}}class Hd extends Fd{#t;#n;#o=0;#h;#p=!1;#m=!1;#u;#v=0;#_=0;#a;#i;#e;#w;#r=0;#c;#s;#P=1n;#d=new Map;timeout;constructor(t){if(super(),t={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:zd,...t},!(typeof t.intervalCap=="number"&&t.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${t.intervalCap?.toString()??""}\` (${typeof t.intervalCap})`);if(t.interval===void 0||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${t.interval?.toString()??""}\` (${typeof t.interval})`);if(this.#t=t.carryoverIntervalCount??t.carryoverConcurrencyCount??!1,this.#n=t.intervalCap===Number.POSITIVE_INFINITY||t.interval===0,this.#h=t.intervalCap,this.#u=t.interval,this.#e=new t.queueClass,this.#w=t.queueClass,this.concurrency=t.concurrency,t.timeout!==void 0&&!(Number.isFinite(t.timeout)&&t.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${t.timeout}\` (${typeof t.timeout})`);this.timeout=t.timeout,this.#s=t.autoStart===!1,this.#k()}get#R(){return this.#n||this.#o<this.#h}get#x(){return this.#r<this.#c}#T(){this.#r--,this.#r===0&&this.emit("pendingZero"),this.#y(),this.emit("next")}#L(){this.#A(),this.#S(),this.#i=void 0}get#O(){const t=Date.now();if(this.#a===void 0){const r=this.#v-t;if(r<0){if(this.#_>0){const n=t-this.#_;if(n<this.#u)return this.#b(this.#u-n),!0}this.#o=this.#t?this.#r:0}else return this.#b(r),!0}return!1}#b(t){this.#i===void 0&&(this.#i=setTimeout(()=>{this.#L()},t))}#E(){this.#a&&(clearInterval(this.#a),this.#a=void 0)}#M(){this.#i&&(clearTimeout(this.#i),this.#i=void 0)}#y(){if(this.#e.size===0)return this.#E(),this.emit("empty"),this.#r===0&&(this.#M(),this.emit("idle")),!1;let t=!1;if(!this.#s){const r=!this.#O;if(this.#R&&this.#x){const n=this.#e.dequeue();this.#n||(this.#o++,this.#f()),this.emit("active"),this.#_=Date.now(),n(),r&&this.#S(),t=!0}}return t}#S(){this.#n||this.#a!==void 0||(this.#a=setInterval(()=>{this.#A()},this.#u),this.#v=Date.now()+this.#u)}#A(){this.#o===0&&this.#r===0&&this.#a&&this.#E(),this.#o=this.#t?this.#r:0,this.#g(),this.#f()}#g(){for(;this.#y(););}get concurrency(){return this.#c}set concurrency(t){if(!(typeof t=="number"&&t>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${t}\` (${typeof t})`);this.#c=t,this.#g()}setPriority(t,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(t,r)}async add(t,r={}){return r.id??=(this.#P++).toString(),r={timeout:this.timeout,...r},new Promise((n,o)=>{const a=Symbol(`task-${r.id}`);this.#e.enqueue(async()=>{this.#r++,this.#d.set(a,{id:r.id,priority:r.priority??0,startTime:Date.now(),timeout:r.timeout});let i;try{try{r.signal?.throwIfAborted()}catch(u){throw this.#n||this.#o--,this.#d.delete(a),u}let s=t({signal:r.signal});if(r.timeout&&(s=qd(Promise.resolve(s),{milliseconds:r.timeout,message:`Task timed out after ${r.timeout}ms (queue has ${this.#r} running, ${this.#e.size} waiting)`})),r.signal){const{signal:u}=r;s=Promise.race([s,new Promise((d,c)=>{i=()=>{c(u.reason)},u.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.#d.delete(a),queueMicrotask(()=>{this.#T()})}},r),this.emit("add"),this.#y()})}async addAll(t,r){return Promise.all(t.map(async n=>this.add(n,r)))}start(){return this.#s?(this.#s=!1,this.#g(),this):this}pause(){this.#s=!0}clear(){this.#e=new this.#w,this.#C()}async onEmpty(){this.#e.size!==0&&await this.#l("empty")}async onSizeLessThan(t){this.#e.size<t||await this.#l("next",()=>this.#e.size<t)}async onIdle(){this.#r===0&&this.#e.size===0||await this.#l("idle")}async onPendingZero(){this.#r!==0&&await this.#l("pendingZero")}async onRateLimit(){this.isRateLimited||await this.#l("rateLimit")}async onRateLimitCleared(){this.isRateLimited&&await this.#l("rateLimitCleared")}async onError(){return new Promise((t,r)=>{const n=o=>{this.off("error",n),r(o)};this.on("error",n)})}async#l(t,r){return new Promise(n=>{const o=()=>{r&&!r()||(this.off(t,o),n())};this.on(t,o)})}get size(){return this.#e.size}sizeBy(t){return this.#e.filter(t).length}get pending(){return this.#r}get isPaused(){return this.#s}#k(){this.#n||(this.on("add",()=>{this.#e.size>0&&this.#f()}),this.on("next",()=>{this.#f()}))}#f(){this.#n||this.#m||(this.#m=!0,queueMicrotask(()=>{this.#m=!1,this.#C()}))}#C(){const t=this.#p,r=!this.#n&&this.#o>=this.#h&&this.#e.size>0;r!==t&&(this.#p=r,this.emit(r?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#p}get isSaturated(){return this.#r===this.#c&&this.#e.size>0||this.isRateLimited&&this.#e.size>0}get runningTasks(){return[...this.#d.values()].map(t=>({...t}))}}const ct=2147483647,ve=36,Fn=1,Nt=26,Bd=38,$d=700,Di=72,Ui=128,Fi="-",Kd=/^xn--/,Gd=/[^\0-\x7F]/,Vd=/[\x2E\u3002\uFF0E\uFF61]/g,Wd={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Tr=ve-Fn,we=Math.floor,Lr=String.fromCharCode;function Ne(e){throw new RangeError(Wd[e])}function Yd(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function qi(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(Vd,".");const o=e.split("."),a=Yd(o,t).join(".");return n+a}function ji(e){const t=[];let r=0;const n=e.length;for(;r<n;){const o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const a=e.charCodeAt(r++);(a&64512)==56320?t.push(((o&1023)<<10)+(a&1023)+65536):(t.push(o),r--)}else t.push(o)}return t}const Zd=e=>String.fromCodePoint(...e),Jd=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:ve},Vo=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},zi=function(e,t,r){let n=0;for(e=r?we(e/$d):e>>1,e+=we(e/t);e>Tr*Nt>>1;n+=ve)e=we(e/Tr);return we(n+(Tr+1)*e/(e+Bd))},Hi=function(e){const t=[],r=e.length;let n=0,o=Ui,a=Di,i=e.lastIndexOf(Fi);i<0&&(i=0);for(let s=0;s<i;++s)e.charCodeAt(s)>=128&&Ne("not-basic"),t.push(e.charCodeAt(s));for(let s=i>0?i+1:0;s<r;){const l=n;for(let d=1,c=ve;;c+=ve){s>=r&&Ne("invalid-input");const h=Jd(e.charCodeAt(s++));h>=ve&&Ne("invalid-input"),h>we((ct-n)/d)&&Ne("overflow"),n+=h*d;const f=c<=a?Fn:c>=a+Nt?Nt:c-a;if(h<f)break;const m=ve-f;d>we(ct/m)&&Ne("overflow"),d*=m}const u=t.length+1;a=zi(n-l,u,l==0),we(n/u)>ct-o&&Ne("overflow"),o+=we(n/u),n%=u,t.splice(n++,0,o)}return String.fromCodePoint(...t)},Bi=function(e){const t=[];e=ji(e);const r=e.length;let n=Ui,o=0,a=Di;for(const l of e)l<128&&t.push(Lr(l));const i=t.length;let s=i;for(i&&t.push(Fi);s<r;){let l=ct;for(const d of e)d>=n&&d<l&&(l=d);const u=s+1;l-n>we((ct-o)/u)&&Ne("overflow"),o+=(l-n)*u,n=l;for(const d of e)if(d<n&&++o>ct&&Ne("overflow"),d===n){let c=o;for(let h=ve;;h+=ve){const f=h<=a?Fn:h>=a+Nt?Nt:h-a;if(c<f)break;const m=c-f,y=ve-f;t.push(Lr(Vo(f+m%y,0))),c=we(m/y)}t.push(Lr(Vo(c,0))),a=zi(o,u,s===i),o=0,++s}++o,++n}return t.join("")},Qd=function(e){return qi(e,function(t){return Kd.test(t)?Hi(t.slice(4).toLowerCase()):t})},Xd=function(e){return qi(e,function(t){return Gd.test(t)?"xn--"+Bi(t):t})},ef={version:"2.3.1",ucs2:{decode:ji,encode:Zd},decode:Hi,encode:Bi,toASCII:Xd,toUnicode:Qd};function tf(e){try{return ef.toUnicode(URL.parse(e).hostname.replace(/^www\./,"").replace(/\/$/,""))}catch{return""}}const Wo=vt(tf),rf=new Hd({concurrency:1,interval:1e3,intervalCap:1}),Yo=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function nf(e){for(let t=0;t<Yo.length;t++){const r=e.match(Yo[t])?.[1];if(r)return r}return null}const of=/(twitter|github)\.com/i,Zo={};function af(e,t){const r=Yr(F);if(of.test(t)||Zo[t])return;if(new RegExp(e+"/").test(r.unfurledLinks[t]?.url))return Promise.resolve(r.unfurledLinks[t]);let o,a=t;/\/\/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 u=nf(l);if(u){const m=u,{masto:y}=lr({instance:s});o=y.v1.statuses.$select(m).fetch().then(_=>{if(_?.id)return{status:_,instance:s};throw new Error("No results")})}const{masto:d}=lr({instance:e}),c=d.v2.search.fetch({q:a,type:"statuses",resolve:!0,limit:1}).then(m=>{const{statuses:y}=m;if(y.length>0){const _=y.filter(v=>!v.content?.toLowerCase().includes(a.toLowerCase()));if(_.length===1)return{status:_[0],instance:e}}throw new Error("No results")});function h(m){const{status:y,instance:_}=m,{id:v}=y,S=`/${_}/s/${v}`,C=a!==t,I={id:v,instance:_,url:S,originalURL:t,originalDomain:Wo(t),canonicalURL:C?a:void 0,canonicalDomain:C?Wo(a):void 0};return F.unfurledLinks[t]=I,$i(y,_,{skipThreading:!0}),I}function f(m){Zo[t]=!0}return o?Promise.race([c,new Promise((y,_)=>setTimeout(_,3e3))]).catch(()=>o.catch(()=>c)).then(h).catch(f):c.then(h).catch(f)}const sf=(e,t,r)=>rf.add(()=>af(e,t),{signal:r}),F=pi({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,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 Gh(){F.notificationsLast=q.account.get("notificationsLast")||null,F.shortcuts=q.account.get("shortcuts")??[],F.settings.autoRefresh=q.account.get("settings-autoRefresh")??!1,F.settings.shortcutsViewMode=q.account.get("settings-shortcutsViewMode")??null,q.account.get("settings-shortcutsColumnsMode")&&(F.settings.shortcutsColumnsMode=!0),F.settings.boostsCarousel=q.account.get("settings-boostsCarousel")??!0,F.settings.contentTranslation=q.account.get("settings-contentTranslation")??!0,F.settings.contentTranslationTargetLanguage=q.account.get("settings-contentTranslationTargetLanguage")||null,F.settings.contentTranslationHideLanguages=q.account.get("settings-contentTranslationHideLanguages")||[],F.settings.contentTranslationAutoInline=q.account.get("settings-contentTranslationAutoInline")??!1,F.settings.shortcutSettingsCloudImportExport=q.account.get("settings-shortcutSettingsCloudImportExport")??!1,F.settings.mediaAltGenerator=q.account.get("settings-mediaAltGenerator")??!1,F.settings.composerGIFPicker=q.account.get("settings-composerGIFPicker")??!1,F.settings.cloakMode=q.account.get("settings-cloakMode")??!1}Ii(F,"notificationsLast",e=>{q.account.set("notificationsLast",F.notificationsLast)});Ln(F,e=>{for(const[t,r,n,o]of e)r.join(".")==="settings.autoRefresh"&&q.account.set("settings-autoRefresh",!!n),r.join(".")==="settings.boostsCarousel"&&q.account.set("settings-boostsCarousel",!!n),r.join(".")==="settings.shortcutsViewMode"&&q.account.set("settings-shortcutsViewMode",n),r.join(".")==="settings.contentTranslation"&&q.account.set("settings-contentTranslation",!!n),r.join(".")==="settings.contentTranslationAutoInline"&&q.account.set("settings-contentTranslationAutoInline",!!n),r.join(".")==="settings.shortcutSettingsCloudImportExport"&&q.account.set("settings-shortcutSettingsCloudImportExport",!!n),r.join(".")==="settings.contentTranslationTargetLanguage"&&q.account.set("settings-contentTranslationTargetLanguage",n),/^settings\.contentTranslationHideLanguages/i.test(r.join("."))&&q.account.set("settings-contentTranslationHideLanguages",F.settings.contentTranslationHideLanguages),r.join(".")==="settings.mediaAltGenerator"&&q.account.set("settings-mediaAltGenerator",!!n),r.join(".")==="settings.composerGIFPicker"&&q.account.set("settings-composerGIFPicker",!!n),r?.[0]==="shortcuts"&&q.account.set("shortcuts",F.shortcuts),r.join(".")==="settings.cloakMode"&&q.account.set("settings-cloakMode",!!n)});function Vh(){F.showCompose=!1,F.showSettings=!1,F.showAccount=!1,F.showAccounts=!1,F.showDrafts=!1,F.showMediaModal=!1,F.showShortcutsSettings=!1,F.showKeyboardShortcutsHelp=!1,F.showGenericAccounts=!1,F.showMediaAlt=!1,F.showEmbedModal=!1,F.showReportModal=!1,F.showQrCodeModal=!1,F.showQrScannerModal=!1,F.showImportExportAccounts=!1}function Fe(e,t){if(e)return t?`${t}/${e}`:e}function lf(e,t){if(t){const r=Fe(e,t);return F.statuses[r]}return F.statuses[e]}function $i(e,t,r){typeof t=="object"&&(r=t,t=null);const{override:n=!0,skipThreading:o=!1,skipUnfurling:a=!1}=r||{};if(!e)return;const i=lf(e.id,t);!n&&i||Md(e,i)||(queueMicrotask(()=>{let s=Fe(e.id,t);if(i?._pinned&&(e._pinned=i._pinned),F.statuses[s]=e,e.reblog?.id){const u=Fe(e.reblog.id,t);F.statuses[u]=e.reblog,s=u}const l=e.reblog?.quote||e.quote;if(l?.id){const{id:u}=l,d=Fe(u,t);F.statuses[d]=l;const c=`/${t}/s/${u}`;F.statusQuotes[s]=[{id:u,instance:t,url:c,native:!0}]}if(l?.state){const{quotedStatus:u,state:d}=l;if(u?.id){const{id:c}=u,h=`/${t}/s/${c}`,f=Fe(c,t);F.statuses[f]=u,F.statusQuotes[s]=[{id:c,instance:t,url:h,state:d,native:!0}]}else F.statusQuotes[s]=[{state:d,native:!0}]}}),o||setTimeout(()=>{cf(e.reblog||e,t)},100),a||setTimeout(()=>{df(e.reblog||e,t)},100))}function uf(e,t){const{masto:r,instance:n}=lr({instance:t});let o=0;async function a(i,s=0){const{inReplyToId:l,inReplyToAccountId:u}=i;if(!l||u!==i.account.id)return[i];if(l&&u!==i.account.id)throw"Not a thread";const d=Fe(l,n);let c=F.statuses[d];if(!c){if(o++>3)throw"Too many fetches for thread";await new Promise(h=>setTimeout(h,500*o)),c=await ff(l,r),$i(c,n,{skipThreading:!0})}return[...await a(c,++s),i]}return a(e).then(i=>{i.length>1&&i.forEach((s,l)=>{const u=Fe(s.id,n);F.statusThreadNumber[u]=l+1})}).catch(i=>{})}const cf=Id(uf,100),Jo=document.createElement("div");function df(e,t){const{instance:r}=lr(),n=e?.content;if(/<a/i.test(n)){const a=Fe(e?.id,t);Jo.innerHTML=n,[...Jo.querySelectorAll("a[href]:not(.u-url):not(.mention):not(.hashtag)")].filter(s=>{const l=s.href;return!(l===e.url||l===e.uri)&&kd(l)}).forEach((s,l)=>{sf(r,s.href).then(u=>{u&&a&&u?.id!==e.id&&(Array.isArray(F.statusQuotes[a])||(F.statusQuotes[a]=[]),F.statusQuotes[a][l]||F.statusQuotes[a].splice(l,0,u))})})}}const ff=Nd((e,t)=>t.v1.statuses.$select(e).fetch());function hf(e){return Intl.getCanonicalLocales(e)}var en=function(e,t){return en=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])},en(e,t)};function Ki(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");en(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ur=function(){return ur=Object.assign||function(t){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)&&(t[a]=r[a])}return t},ur.apply(this,arguments)};function Gi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Vi(e,t,r,n){var o=arguments.length,a=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function Wi(e,t){return function(r,n){t(r,n,e)}}function Yi(e,t,r,n,o,a){function i(v){if(v!==void 0&&typeof v!="function")throw new TypeError("Function expected");return v}for(var s=n.kind,l=s==="getter"?"get":s==="setter"?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),c,h=!1,f=r.length-1;f>=0;f--){var m={};for(var y in n)m[y]=y==="access"?{}:n[y];for(var y in n.access)m.access[y]=n.access[y];m.addInitializer=function(v){if(h)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(v||null))};var _=(0,r[f])(s==="accessor"?{get:d.get,set:d.set}:d[l],m);if(s==="accessor"){if(_===void 0)continue;if(_===null||typeof _!="object")throw new TypeError("Object expected");(c=i(_.get))&&(d.get=c),(c=i(_.set))&&(d.set=c),(c=i(_.init))&&o.unshift(c)}else(c=i(_))&&(s==="field"?o.unshift(c):d[l]=c)}u&&Object.defineProperty(u,n.name,d),h=!0}function Zi(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function Ji(e){return typeof e=="symbol"?e:"".concat(e)}function Qi(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Xi(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function es(e,t,r,n){function o(a){return a instanceof r?a:new r(function(i){i(a)})}return new(r||(r=Promise))(function(a,i){function s(d){try{u(n.next(d))}catch(c){i(c)}}function l(d){try{u(n.throw(d))}catch(c){i(c)}}function u(d){d.done?a(d.value):o(d.value).then(s,l)}u((n=n.apply(e,t||[])).next())})}function ts(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(u){return function(d){return l([u,d])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(r=0)),r;)try{if(n=1,o&&(a=u[0]&2?o.return:u[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,u[1])).done)return a;switch(o=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(d){u=[6,d],o=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var gr=Object.create?(function(e,t,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]});function rs(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&gr(t,e,r)}function cr(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function ns(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(qn(arguments[t]));return e}function os(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)n[o]=a[i];return n}function pt(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function mt(e){return this instanceof mt?(this.v=e,this):new mt(e)}function as(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,a=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",i),o[Symbol.asyncIterator]=function(){return this},o;function i(f){return function(m){return Promise.resolve(m).then(f,c)}}function s(f,m){n[f]&&(o[f]=function(y){return new Promise(function(_,v){a.push([f,y,_,v])>1||l(f,y)})},m&&(o[f]=m(o[f])))}function l(f,m){try{u(n[f](m))}catch(y){h(a[0][3],y)}}function u(f){f.value instanceof mt?Promise.resolve(f.value.v).then(d,c):h(a[0][2],f)}function d(f){l("next",f)}function c(f){l("throw",f)}function h(f,m){f(m),a.shift(),a.length&&l(a[0][0],a[0][1])}}function is(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,a){t[o]=e[o]?function(i){return(r=!r)?{value:mt(e[o](i)),done:!1}:a?a(i):i}:a}}function ss(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof cr=="function"?cr(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(s,l){i=e[a](i),o(s,l,i.done,i.value)})}}function o(a,i,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},i)}}function ls(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var pf=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},tn=function(e){return tn=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},tn(e)};function us(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=tn(e),n=0;n<r.length;n++)r[n]!=="default"&&gr(t,e,r[n]);return pf(t,e),t}function cs(e){return e&&e.__esModule?e:{default:e}}function ds(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function fs(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r}function hs(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function ps(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(a){return Promise.reject(a)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var mf=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function ms(e){function t(a){e.error=e.hasError?new mf(a,e.error,"An error was suppressed during disposal."):a,e.hasError=!0}var r,n=0;function o(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,function(i){return t(i),o()})}else n|=1}catch(i){t(i)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return o()}function _s(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,o,a,i){return n?t?".jsx":".js":o&&(!a||!i)?r:o+a+"."+i.toLowerCase()+"js"}):e}const _f={__extends:Ki,__assign:ur,__rest:Gi,__decorate:Vi,__param:Wi,__esDecorate:Yi,__runInitializers:Zi,__propKey:Ji,__setFunctionName:Qi,__metadata:Xi,__awaiter:es,__generator:ts,__createBinding:gr,__exportStar:rs,__values:cr,__read:qn,__spread:ns,__spreadArrays:os,__spreadArray:pt,__await:mt,__asyncGenerator:as,__asyncDelegator:is,__asyncValues:ss,__makeTemplateObject:ls,__importStar:us,__importDefault:cs,__classPrivateFieldGet:ds,__classPrivateFieldSet:fs,__classPrivateFieldIn:hs,__addDisposableResource:ps,__disposeResources:ms,__rewriteRelativeImportExtension:_s},Wh=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:ps,get __assign(){return ur},__asyncDelegator:is,__asyncGenerator:as,__asyncValues:ss,__await:mt,__awaiter:es,__classPrivateFieldGet:ds,__classPrivateFieldIn:hs,__classPrivateFieldSet:fs,__createBinding:gr,__decorate:Vi,__disposeResources:ms,__esDecorate:Yi,__exportStar:rs,__extends:Ki,__generator:ts,__importDefault:cs,__importStar:us,__makeTemplateObject:ls,__metadata:Xi,__param:Wi,__propKey:Ji,__read:qn,__rest:Gi,__rewriteRelativeImportExtension:_s,__runInitializers:Zi,__setFunctionName:Qi,__spread:ns,__spreadArray:pt,__spreadArrays:os,__values:cr,default:_f},Symbol.toStringTag,{value:"Module"}));var Or={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"}}]}}},yf={"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"]},jn=/-u(?:-[0-9a-z]{2,8})+/gi;function Ce(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var gf=838,Mr;function vf(){var e,t;if(!Mr){var r=(t=(e=Or.supplemental.languageMatching["written-new"][0])===null||e===void 0?void 0:e.paradigmLocales)===null||t===void 0?void 0:t._locales.split(" "),n=Or.supplemental.languageMatching["written-new"].slice(1,5),o=Or.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"}},{});Mr={matches:a,matchVariables:n.reduce(function(i,s){var l=Object.keys(s)[0],u=s[l];return i[l.slice(1)]=u._value.split("+"),i},{}),paradigmLocales:pt(pt([],r,!0),r.map(function(i){return new Intl.Locale(i.replace(/_/g,"-")).maximize().toString()}),!0)}}return Mr}function Bt(e,t,r){var n=t.split("-"),o=n[0],a=n[1],i=n[2],s=!0;if(i&&i[0]==="$"){var l=i[1]!=="!",u=l?r[i.slice(1)]:r[i.slice(2)],d=u.map(function(c){return yf[c]||[c]}).reduce(function(c,h){return pt(pt([],c,!0),h,!0)},[]);s&&(s=d.indexOf(e.region||"")>-1==l)}else s&&(s=e.region?i==="*"||i===e.region:!0);return s&&(s=e.script?a==="*"||a===e.script:!0),s&&(s=e.language?o==="*"||o===e.language:!0),s}function Qo(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function kr(e,t,r){for(var n=0,o=r.matches;n<o.length;n++){var a=o[n],i=Bt(e,a.desired,r.matchVariables)&&Bt(t,a.supported,r.matchVariables);if(!a.oneway&&!i&&(i=Bt(e,a.supported,r.matchVariables)&&Bt(t,a.desired,r.matchVariables)),i){var s=a.distance*10;return r.paradigmLocales.indexOf(Qo(e))>-1!=r.paradigmLocales.indexOf(Qo(t))>-1?s-1:s}}throw new Error("No matching distance found")}function wf(e,t){var r=new Intl.Locale(e).maximize(),n=new Intl.Locale(t).maximize(),o={language:r.language,script:r.script||"",region:r.region||""},a={language:n.language,script:n.script||"",region:n.region||""},i=0,s=vf();return o.language!==a.language&&(i+=kr({language:r.language,script:"",region:""},{language:n.language,script:"",region:""},s)),o.script!==a.script&&(i+=kr({language:r.language,script:o.script,region:""},{language:n.language,script:a.script,region:""},s)),o.region!==a.region&&(i+=kr(o,a,s)),i}function bf(e,t,r){r===void 0&&(r=gf);var n=1/0,o={matchedDesiredLocale:"",distances:{}};return e.forEach(function(a,i){o.distances[a]||(o.distances[a]={}),t.forEach(function(s){var l=wf(a,s)+0+i*40;o.distances[a][s]=l,l<n&&(n=l,o.matchedDesiredLocale=a,o.matchedSupportedLocale=s)})}),n>=r&&(o.matchedDesiredLocale=void 0,o.matchedSupportedLocale=void 0),o}function Ef(e,t,r){var n,o,a=[],i=t.reduce(function(l,u){var d=u.replace(jn,"");return a.push(d),l[d]=u,l},{}),s=bf(a,e);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 Sf(e,t){var r=t.toLowerCase();Ce(e!==void 0,"ukey must be defined");var n=r;return n}function Xo(e){return Intl.getCanonicalLocales(e)[0]}function Af(e,t,r){Ce(e.indexOf("-u-")===-1,"Expected locale to not have a Unicode locale extension");for(var n="-u",o=0,a=t;o<a.length;o++){var i=a[o];n+="-".concat(i)}for(var s=0,l=r;s<l.length;s++){var u=l[s],d=u.key,c=u.value;n+="-".concat(d),c!==""&&(n+="-".concat(c))}if(n==="-u")return Xo(e);var h=e.indexOf("-x-"),f;if(h===-1)f=e+n;else{var m=e.slice(0,h),y=e.slice(h);f=m+n+y}return Xo(f)}function ys(e,t){for(var r=t;;){if(e.indexOf(r)>-1)return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&r[n-2]==="-"&&(n-=2),r=r.slice(0,n)}}function Cf(e,t,r){for(var n={locale:""},o=0,a=t;o<a.length;o++){var i=a[o],s=i.replace(jn,""),l=ys(e,s);if(l)return n.locale=l,i!==s&&(n.extension=i.slice(s.length,i.length)),n}return n.locale=r(),n}function Pf(e){Ce(e===e.toLowerCase(),"Expected extension to be lowercase"),Ce(e.slice(0,3)==="-u-","Expected extension to be a Unicode locale extension");for(var t=[],r=[],n,o=e.length,a=3;a<o;){var i=e.indexOf("-",a),s=void 0;i===-1?s=o-a:s=i-a;var l=e.slice(a,a+s);Ce(s>=2,"Expected a subtag to have at least 2 characters"),n===void 0&&s!=2?t.indexOf(l)===-1&&t.push(l):s===2?(n={key:l,value:""},r.find(function(u){return u.key===n?.key})===void 0&&r.push(n)):n?.value===""?n.value=l:(Ce(n!==void 0,"Expected keyword to be defined"),n.value+="-"+l),a+=s+1}return{attributes:t,keywords:r}}function gs(e,t,r,n,o,a){var i,s=r.localeMatcher,l;s==="lookup"?l=Cf(Array.from(e),t,a):l=Ef(Array.from(e),t,a),l==null&&(l={locale:a(),extension:""});var u=l.locale,d=o[u],c={locale:"en",dataLocale:u},h,f;l.extension?(h=Pf(l.extension),f=h.keywords):f=[];for(var m=[],y=function(I){var B=(i=d?.[I])!==null&&i!==void 0?i:[];Ce(Array.isArray(B),"keyLocaleData for ".concat(I," must be an array"));var G=B[0];Ce(G===void 0||typeof G=="string","value must be a string or undefined");var V=void 0,te=f.find(function(w){return w.key===I});if(te){var K=te.value;K!==""?B.indexOf(K)>-1&&(G=K,V={key:I,value:G}):B.indexOf("true")>-1&&(G="true",V={key:I,value:G})}var J=r[I];if(Ce(J==null||typeof J=="string","optionsValue must be a string or undefined"),typeof J=="string"){var p=I.toLowerCase();J=Sf(p,J),J===""&&(J="true")}J!==G&&B.indexOf(J)>-1&&(G=J,V=void 0),V&&m.push(V),c[I]=G},_=0,v=n;_<v.length;_++){var S=v[_];y(S)}var C=[];return m.length>0&&(C=[],u=Af(u,C,m)),c.locale=u,c}function Rf(e,t){for(var r=[],n=0,o=t;n<o.length;n++){var a=o[n],i=a.replace(jn,""),s=ys(e,i);s&&r.push(s)}return r}function vs(e,t,r,n){return gs(t,hf(e),{localeMatcher:n?.algorithm||"best fit"},[],{},function(){return r}).locale}const Yh=Object.freeze(Object.defineProperty({__proto__:null,LookupSupportedLocales:Rf,ResolveLocale:gs,match:vs},Symbol.toStringTag,{value:"Module"})),ea="localeMatchCache";function ws(...e){try{return vs(...e)}catch{return e[2]||!1}}typeof window<"u"&&(window._localeMatch=ws);function xf(e){return function(...t){const r=t.map(a=>Array.isArray(a)?a.join(","):a).join("|");let n;try{n=q.session.getJSON(ea)||{}}catch{return e(...t)}if(n[r])return n[r];const o=e(...t);try{n[r]=o,q.session.setJSON(ea,n)}catch{}return o}}const Tf=vt(xf(ws)),bs=Te(),Lf="sprite-icon";function Zh({children:e}){const[t,r]=xe(new Set),[n,o]=xe({}),a=qe(async l=>{if(!t.has(l))try{const{ICONS:u}=await $(async()=>{const{ICONS:m}=await import("./ICONS-BJuc0WJ2.js");return{ICONS:m}},[],import.meta.url),d=u[l];if(!d)return;let c;Array.isArray(d)?c=d[0]:typeof d=="object"?c=d.module:c=d;const f=(await c()).default;o(m=>({...m,[l]:f})),r(m=>new Set([...m,l]))}catch{}},[t]),i=qe(l=>t.has(l),[t]),s={loadIcon:a,isIconLoaded:i,loadedIcons:t,iconData:n};return be(bs.Provider,{value:s,children:[e,be(Of,{})]})}function Of(){const{loadedIcons:e,iconData:t}=kf();return e.size===0?null:be("svg",{style:{display:"none"},"aria-hidden":"true",children:be("defs",{children:Array.from(e).map(r=>{const n=t[r];return n?be(Mf,{iconName:r,data:n},r):null})})})}const Mf=yn(function({iconName:e,data:t}){return be("symbol",{id:`${Lf}-${e}`,viewBox:`0 0 ${t.width} ${t.height}`,dangerouslySetInnerHTML:{__html:t.body}})},(e,t)=>e.iconName===t.iconName);function kf(){const e=se(bs);if(!e)throw new Error("useIconSprite must be used within IconSpriteProvider");return e}function Nf({abrupt:e,hidden:t,...r}){return be("span",{...r,class:`loader-container ${e?"abrupt":""} ${t?"hidden":""}`,children:be("span",{class:"loader"})})}const zn=[{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:72,listed:!0},{code:"de-DE",nativeName:"Deutsch",name:"German",completion:87,listed:!0},{code:"eo-UY",nativeName:"Esperanto",name:"Esperanto",completion:94,listed:!0},{code:"es-ES",nativeName:"español",name:"Spanish",completion:100,listed:!0},{code:"eu-ES",nativeName:"euskara",name:"Basque",completion:98,listed:!0},{code:"fa-IR",nativeName:"فارسی",name:"Persian",completion:63,listed:!0},{code:"fi-FI",nativeName:"suomi",name:"Finnish",completion:100,listed:!0},{code:"fr-FR",nativeName:"français",name:"French",completion:92,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:99,listed:!0},{code:"ja-JP",nativeName:"日本語",name:"Japanese",completion:67,listed:!0},{code:"kab",nativeName:"Taqbaylit",name:"Kabyle",completion:88,listed:!0},{code:"ko-KR",nativeName:"한국어",name:"Korean",completion:78,listed:!0},{code:"lt-LT",nativeName:"lietuvių",name:"Lithuanian",completion:90,listed:!0},{code:"nb-NO",nativeName:"norsk bokmål",name:"Norwegian Bokmål",completion:44,listed:!1},{code:"nl-NL",nativeName:"Nederlands",name:"Dutch",completion:67,listed:!0},{code:"pl-PL",nativeName:"polski",name:"Polish",completion:100,listed:!0},{code:"pt-BR",nativeName:"português",name:"Portuguese",completion:91,listed:!0},{code:"pt-PT",nativeName:"português",name:"Portuguese",completion:91,listed:!0},{code:"ru-RU",nativeName:"русский",name:"Russian",completion:99,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:85,listed:!0},{code:"zh-CN",nativeName:"简体中文",name:"Simplified Chinese",completion:100,listed:!0},{code:"zh-TW",nativeName:"繁體中文",name:"Traditional Chinese",completion:35,listed:!1}],If={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},dt="en",Jh=zn,Es=[dt,...zn.filter(({listed:e})=>e).map(({code:e})=>e)],Qh=Es;let dr=[];If?.PHANPY_SHOW_DEV_LOCALES&&(dr=zn.filter(({listed:e})=>!e).map(({code:e})=>e),dr.push("pseudo-LOCALE"));const Xh=dr,ta=[...Es,...dr],Df=(e,t,r)=>{const n=e[t];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: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};function Uf(e,t={useSessionStorage:!1}){return t.useSessionStorage?globalThis.sessionStorage.getItem(e):globalThis.localStorage.getItem(e)}function Ff(e=globalThis.navigator){return e.language||e.userLanguage}function qf(e){const t=/([^=?#&]+)=?([^&]*)/g,r={};let n;for(;n=t.exec(e);){const o=ra(n[1]),a=ra(n[2]);o===null||a===null||o in r||(r[o]=a)}return r}function ra(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function jf(e,t=globalThis.location){if(!e)throw new Error("fromUrl parameter is required");return qf(t.search)[e]||null}function zf(...e){const t=[];for(let r=0;r<e.length;r++){const n=typeof e[r]=="function"?e[r]():e[r];n&&t.push(n)}return t}const Hf=/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,na=/^([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 Ve{constructor(t){if(typeof t!="string")throw new TypeError("A string argument is expected");if(!na.test(t))throw new RangeError("A proper locale must be provided");this._locale=t}static _escapeRegExpPattern(t){return typeof t!="string"?t:t.replace(Hf,"\\$1")}static _toLowerCase(t,r){return typeof t!="string"?r&&t:t.toLowerCase()}static _toUpperCase(t,r){return typeof t!="string"?r&&t:t.toUpperCase()}static _trim(t,r,n){const o=[];let a;const i=function(l){o.push("^"+l+"+|"+l+"+$")};if(typeof r=="boolean"&&(n=r,r=null),typeof t!="string")return n?t:void 0;if(Array.isArray(r)&&r.map(l=>{const u=this._escapeRegExpPattern(l);i(u)}),typeof r=="string"){const l=this._escapeRegExpPattern(r);i(l)}r||i("\\s");const s="("+o.join("|")+")";for(a=new RegExp(s,"g");t.match(a);)t=t.replace(a,"");return t}static _parseLocale(t){if(typeof t!="string")return;const r=na.exec(t);let n,o,a;if(!t||!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:t,script:r}=Ve._parseLocale(this._locale);return r?Ve._RTL_SCRIPTS.indexOf(r)>=0:Ve._BIDI_RTL_LANGS.indexOf(t)>=0}getTextInfo(){return{direction:this._isRtlLang()?"rtl":"ltr"}}}Ve._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"];Ve._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 Ss=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?"],"+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"],"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"],"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."],"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"],"DYqYm5":["Private note about <0>@",["0"],"</0>"],"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"],"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?"],"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"],"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"],"U+Gokq":["Edit private note"],"UHDQDE":["Optional, unless for multi-column mode"],"UIfdY1":["Profiles featured by @",["0"]],"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"],"VcQzRi":["Add private note"],"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"],"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"],"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"],"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"],"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."],"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"],"x57cJf":["Open link"],"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"],"zxFxcH":["Private note"],"zytZXj":["Multiple choice"]}`),Bf=Object.freeze(Object.defineProperty({__proto__:null,messages:Ss},Symbol.toStringTag,{value:"Module"})),$f={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_DEFAULT_LANG:Kf}=$f,Gf={};st.load(dt,Ss);st.on("change",()=>{const e=st.locale;if(e){document.documentElement.lang=e;try{const t=new Ve(e),{direction:r}=t.getTextInfo?.()||t.textInfo;document.documentElement.dir=r}catch{}}});async function Vf(e){if(!e||e===dt)st.activate(dt);else try{const{messages:t}=await Df(Object.assign({"../locales/ar-SA.po":()=>$(()=>import("./locales/ar-SA-BVEhCrL2.js"),[],import.meta.url),"../locales/ca-ES.po":()=>$(()=>import("./locales/ca-ES-BYcwrZVo.js"),[],import.meta.url),"../locales/cs-CZ.po":()=>$(()=>import("./locales/cs-CZ-CfWWNQHi.js"),[],import.meta.url),"../locales/de-DE.po":()=>$(()=>import("./locales/de-DE-VnIxvB4l.js"),[],import.meta.url),"../locales/en.po":()=>$(()=>Promise.resolve().then(()=>Bf),void 0,import.meta.url),"../locales/eo-UY.po":()=>$(()=>import("./locales/eo-UY-MYNe3gah.js"),[],import.meta.url),"../locales/es-ES.po":()=>$(()=>import("./locales/es-ES-BboIBdYY.js"),[],import.meta.url),"../locales/eu-ES.po":()=>$(()=>import("./locales/eu-ES-DCA-ZvEb.js"),[],import.meta.url),"../locales/fa-IR.po":()=>$(()=>import("./locales/fa-IR-DcmsL4wx.js"),[],import.meta.url),"../locales/fi-FI.po":()=>$(()=>import("./locales/fi-FI-BWVmi72Z.js"),[],import.meta.url),"../locales/fr-FR.po":()=>$(()=>import("./locales/fr-FR-CjEJ39J4.js"),[],import.meta.url),"../locales/gl-ES.po":()=>$(()=>import("./locales/gl-ES-Cusw1WZo.js"),[],import.meta.url),"../locales/he-IL.po":()=>$(()=>import("./locales/he-IL-BVEhCrL2.js"),[],import.meta.url),"../locales/it-IT.po":()=>$(()=>import("./locales/it-IT-KZBAIiOL.js"),[],import.meta.url),"../locales/ja-JP.po":()=>$(()=>import("./locales/ja-JP-wBLrqDGH.js"),[],import.meta.url),"../locales/kab.po":()=>$(()=>import("./locales/kab-Bsu4q-Yj.js"),[],import.meta.url),"../locales/ko-KR.po":()=>$(()=>import("./locales/ko-KR-BIP-Dl9y.js"),[],import.meta.url),"../locales/lt-LT.po":()=>$(()=>import("./locales/lt-LT-Db2nhXkG.js"),[],import.meta.url),"../locales/nb-NO.po":()=>$(()=>import("./locales/nb-NO-BVEhCrL2.js"),[],import.meta.url),"../locales/nl-NL.po":()=>$(()=>import("./locales/nl-NL-C_a92PmC.js"),[],import.meta.url),"../locales/oc-FR.po":()=>$(()=>import("./locales/oc-FR-BVEhCrL2.js"),[],import.meta.url),"../locales/pl-PL.po":()=>$(()=>import("./locales/pl-PL-K6stSWi8.js"),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>$(()=>import("./locales/pseudo-LOCALE-O5jWj1bs.js"),[],import.meta.url),"../locales/pt-BR.po":()=>$(()=>import("./locales/pt-BR-DE5zA7VR.js"),[],import.meta.url),"../locales/pt-PT.po":()=>$(()=>import("./locales/pt-PT-csWVGPtc.js"),[],import.meta.url),"../locales/ru-RU.po":()=>$(()=>import("./locales/ru-RU-Dq-q28xD.js"),[],import.meta.url),"../locales/th-TH.po":()=>$(()=>import("./locales/th-TH-BVEhCrL2.js"),[],import.meta.url),"../locales/tok.po":()=>$(()=>import("./locales/tok-BVEhCrL2.js"),[],import.meta.url),"../locales/tr-TR.po":()=>$(()=>import("./locales/tr-TR-BVEhCrL2.js"),[],import.meta.url),"../locales/uk-UA.po":()=>$(()=>import("./locales/uk-UA-BWi7Aicw.js"),[],import.meta.url),"../locales/zh-CN.po":()=>$(()=>import("./locales/zh-CN-tAiN_RqB.js"),[],import.meta.url),"../locales/zh-TW.po":()=>$(()=>import("./locales/zh-TW-BVEhCrL2.js"),[],import.meta.url)}),`../locales/${Gf[e]||e}.po`,3);st.loadAndActivate({locale:e,messages:t})}catch{st.activate(dt)}}function ep(){const e=zf(jf("lang"),Uf("lang"),Ff(),Kf,dt),t=e.find(r=>ta.includes(r))||Tf(e,ta);Vf(t)}var $t={},oa;function Wf(){if(oa)return $t;oa=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.shouldPolyfill=e;function e(){return!Intl.Segmenter}return $t}var Yf=Wf();const As=!Yf.shouldPolyfill();function Cs(){if(!As)return $(()=>import("./polyfill-force-Cm5nvXkl.js").then(e=>e.p),[],import.meta.url).catch(()=>{})}function rn(){return $(()=>import("./compose-BwjAeSSY.js"),__vite__mapDeps([0,1,2]),import.meta.url)}async function tp(){try{await Cs(),rn()}catch{}}function rp(e){const[t,r]=xe(null);return Ze(()=>{(async()=>{try{if(As){const n=await rn();r(n)}else{await Cs();const n=await rn();r(n)}}catch{}})()},[]),t?.default?be(t.default,{...e}):be(Nf,{})}const Zf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_CLIENT_NAME:aa}=Zf;function np(e,t){function r(){const{currentLocation:n}=F,o=Array.isArray(t);let a=o?t:[];!o&&/:?\w+\?/.test(t)&&(a.push(t.replace(/(:\w+)\?/g,"$1")),a.push(t.replace(/\/?:\w+\?/g,"")));let i=!1;a.length?i=a.some(s=>Hr(s,n)):t&&(i=Hr(t,n)),i&&(document.title=e?`${e} / ${aa}`:aa)}Le(()=>{const n=Ii(F,"currentLocation",r);return r(),n},[e,t])}function ia(){const e=document.querySelector('meta[name="viewport"]');if(!e)return;if(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0||window.matchMedia("(display-mode: window-controls-overlay)").matches){const r=e.getAttribute("content");r.includes("user-scalable=no")||e.setAttribute("content",r+", user-scalable=no")}}function op(){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",ia):ia()}export{Ah as $,ze as A,wh as B,Jh as C,Xh as D,Vh as E,Wo as F,st as G,Cr as H,Tf as I,$ as J,Dn as K,Qh as L,yn as M,sa as N,Ln as O,ru as P,tp as Q,rp as R,Fe as S,rh as T,Hc as U,Ut as V,Ta as W,_h as X,cn as Y,se as Z,Le as _,lr as a,vt as a0,fh as a1,np as a2,Eh as a3,lf as a4,Ii as a5,Ph as a6,Ch as a7,gh as a8,Hr as a9,Lf as aA,nl as aB,Hd as aC,bh as aD,Wt as aE,he as aF,Z as aG,_n as aH,Ki as aI,ur as aJ,ga as aK,gn as aL,ne as aM,kd as aN,sf as aO,vh as aP,Ih as aQ,Jf as aR,Wh as aS,pt as aT,gs as aU,Rf as aV,Yh as aW,Vc as aX,Md as aY,cf as aa,ka as ab,ke as ac,Oh as ad,xh as ae,Th as af,Gh as ag,Qr as ah,Lh as ai,Rh as aj,hh as ak,fu as al,xt as am,ep as an,op as ao,Ot as ap,th as aq,mh as ar,Zh as as,Te as at,Ka as au,Ga as av,Na as aw,wl as ax,Ha as ay,kf as az,$i as b,yh as c,xe as d,be as e,wt as f,Oi as g,fr as h,In as i,$c as j,pe as k,q as l,Ee as m,Vf as n,dt as o,Nd as p,qe as q,Sh as r,F as s,ki as t,eh as u,Zc as v,Sn as w,ef as x,Ze as y,Nf as z};
//# sourceMappingURL=pwa-viewport-Bz1GOnQv.js.map