39 lines
222 KiB
JavaScript
39 lines
222 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./compose-xua1VIA2.js","./fuse-RZOrQKm7.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}));"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}});var it=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ld(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?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 Mo={},No={};(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0;var t;(function(r){r.MalformedUnicode="MALFORMED_UNICODE",r.MalformedHexadecimal="MALFORMED_HEXADECIMAL",r.CodePointLimit="CODE_POINT_LIMIT",r.OctalDeprecation="OCTAL_DEPRECATION",r.EndOfString="END_OF_STRING"})(t=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[t.MalformedUnicode,"malformed Unicode character escape sequence"],[t.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[t.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[t.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[t.EndOfString,"malformed escape sequence at end of string"]])})(No);(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unraw=e.errorMessages=e.ErrorType=void 0;const t=No;Object.defineProperty(e,"ErrorType",{enumerable:!0,get:function(){return t.ErrorType}}),Object.defineProperty(e,"errorMessages",{enumerable:!0,get:function(){return t.errorMessages}});function r(d){return!d.match(/[^a-f0-9]/i)?parseInt(d,16):NaN}function n(d,m,b){const y=r(d);if(Number.isNaN(y)||b!==void 0&&b!==d.length)throw new SyntaxError(t.errorMessages.get(m));return y}function o(d){const m=n(d,t.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(m)}function a(d,m){const b=n(d,t.ErrorType.MalformedUnicode,4);if(m!==void 0){const y=n(m,t.ErrorType.MalformedUnicode,4);return String.fromCharCode(b,y)}return String.fromCharCode(b)}function i(d){return d.charAt(0)==="{"&&d.charAt(d.length-1)==="}"}function s(d){if(!i(d))throw new SyntaxError(t.errorMessages.get(t.ErrorType.MalformedUnicode));const m=d.slice(1,-1),b=n(m,t.ErrorType.MalformedUnicode);try{return String.fromCodePoint(b)}catch(y){throw y instanceof RangeError?new SyntaxError(t.errorMessages.get(t.ErrorType.CodePointLimit)):y}}function l(d,m=!1){if(m)throw new SyntaxError(t.errorMessages.get(t.ErrorType.OctalDeprecation));const b=parseInt(d,8);return String.fromCharCode(b)}const c=new Map([["b","\b"],["f","\f"],["n",`
|
||
`],["r","\r"],["t"," "],["v","\v"],["0","\0"]]);function f(d){return c.get(d)||d}const u=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function h(d,m=!1){return d.replace(u,function(b,y,w,S,x,H,J,Z,K){if(y!==void 0)return"\\";if(w!==void 0)return o(w);if(S!==void 0)return s(S);if(x!==void 0)return a(x,H);if(J!==void 0)return a(J);if(Z==="0")return"\0";if(Z!==void 0)return l(Z,!m);if(K!==void 0)return f(K);throw new SyntaxError(t.errorMessages.get(t.ErrorType.EndOfString))})}e.unraw=h,e.default=h})(Mo);var St={},Io={},Gr={exports:{}},xd=Gr.exports;(function(e){(function(t,r){e.exports?e.exports=r():t.moo=r()})(it,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 v=new RegExp("|"+p);return v.exec("").length-1}function l(p){return"("+p+")"}function c(p){if(!p.length)return"(?!)";var v=p.map(function(E){return"(?:"+E+")"}).join("|");return"(?:"+v+")"}function f(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 u(p,v){return p.length>v?p:Array(v-p.length+1).join(" ")+p}function h(p,v){for(var E=p.length,C=0;;){var A=p.lastIndexOf(`
|
||
`,E-1);if(A===-1||(C++,E=A,C===v)||E===0)break}var T=C<v?0:E+1;return p.substring(T).split(`
|
||
`)}function d(p){for(var v=Object.getOwnPropertyNames(p),E=[],C=0;C<v.length;C++){var A=v[C],T=p[A],P=[].concat(T);if(A==="include"){for(var D=0;D<P.length;D++)E.push({include:P[D]});continue}var k=[];P.forEach(function(I){a(I)?(k.length&&E.push(b(A,k)),E.push(b(A,I)),k=[]):k.push(I)}),k.length&&E.push(b(A,k))}return E}function m(p){for(var v=[],E=0;E<p.length;E++){var C=p[E];if(C.include){for(var A=[].concat(C.include),T=0;T<A.length;T++)v.push({include:A[T]});continue}if(!C.type)throw new Error("Rule has no type: "+JSON.stringify(C));v.push(b(C.type,C))}return v}function b(p,v){if(a(v)||(v={match:v}),v.include)throw new Error("Matching rules cannot also include states");var E={defaultType:p,lineBreaks:!!v.error||!!v.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var C in v)t.call(v,C)&&(E[C]=v[C]);if(typeof E.type=="string"&&p!==E.type)throw new Error("Type transform cannot be a string (type '"+E.type+"' for token '"+p+"')");var A=E.match;return E.match=Array.isArray(A)?A:A?[A]:[],E.match.sort(function(T,P){return o(T)&&o(P)?0:o(P)?-1:o(T)?1:P.length-T.length}),E}function y(p){return Array.isArray(p)?m(p):d(p)}var w=b("error",{lineBreaks:!0,shouldThrow:!0});function S(p,v){for(var E=null,C=Object.create(null),A=!0,T=null,P=[],D=[],k=0;k<p.length;k++)p[k].fallback&&(A=!1);for(var k=0;k<p.length;k++){var I=p[k];if(I.include)throw new Error("Inheritance is not allowed in stateless lexers");if(I.error||I.fallback){if(E)throw!I.fallback==!E.fallback?new Error("Multiple "+(I.fallback?"fallback":"error")+" rules not allowed (for token '"+I.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+I.defaultType+"')");E=I}var $=I.match.slice();if(A)for(;$.length&&typeof $[0]=="string"&&$[0].length===1;){var Q=$.shift();C[Q.charCodeAt(0)]=I}if(I.pop||I.push||I.next){if(!v)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+I.defaultType+"')");if(I.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+I.defaultType+"')")}if($.length!==0){A=!1,P.push(I);for(var ue=0;ue<$.length;ue++){var he=$[ue];if(o(he)){if(T===null)T=he.unicode;else if(T!==he.unicode&&I.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ye=c($.map(f)),ce=new RegExp(ye);if(ce.test(""))throw new Error("RegExp matches empty string: "+ce);var Ee=s(ye);if(Ee>0)throw new Error("RegExp has capture groups: "+ce+`
|
||
Use (?: … ) instead`);if(!I.lineBreaks&&ce.test(`
|
||
`))throw new Error("Rule should declare lineBreaks: "+ce);D.push(l(ye))}}var Te=E&&E.fallback,Ue=n&&!Te?"ym":"gm",Ye=n||Te?"":"|";T===!0&&(Ue+="u");var cr=new RegExp(c(D)+Ye,Ue);return{regexp:cr,groups:P,fast:C,error:E||w}}function x(p){var v=S(y(p));return new K({start:v},"start")}function H(p,v,E){var C=p&&(p.push||p.next);if(C&&!E[C])throw new Error("Missing state '"+C+"' (in token '"+p.defaultType+"' of state '"+v+"')");if(p&&p.pop&&+p.pop!=1)throw new Error("pop must be 1 (in token '"+p.defaultType+"' of state '"+v+"')")}function J(p,v){var E=p.$all?y(p.$all):[];delete p.$all;var C=Object.getOwnPropertyNames(p);v||(v=C[0]);for(var A=Object.create(null),T=0;T<C.length;T++){var P=C[T];A[P]=y(p[P]).concat(E)}for(var T=0;T<C.length;T++)for(var P=C[T],D=A[P],k=Object.create(null),I=0;I<D.length;I++){var $=D[I];if($.include){var Q=[I,1];if($.include!==P&&!k[$.include]){k[$.include]=!0;var ue=A[$.include];if(!ue)throw new Error("Cannot include nonexistent state '"+$.include+"' (in state '"+P+"')");for(var he=0;he<ue.length;he++){var ye=ue[he];D.indexOf(ye)===-1&&Q.push(ye)}}D.splice.apply(D,Q),I--}}for(var ce=Object.create(null),T=0;T<C.length;T++){var P=C[T];ce[P]=S(A[P],!0)}for(var T=0;T<C.length;T++){for(var Ee=C[T],Te=ce[Ee],Ue=Te.groups,I=0;I<Ue.length;I++)H(Ue[I],Ee,ce);for(var Ye=Object.getOwnPropertyNames(Te.fast),I=0;I<Ye.length;I++)H(Te.fast[Ye[I]],Ee,ce)}return new K(ce,v)}function Z(p){for(var v=typeof Map<"u",E=v?new Map:Object.create(null),C=Object.getOwnPropertyNames(p),A=0;A<C.length;A++){var T=C[A],P=p[T],D=Array.isArray(P)?P:[P];D.forEach(function(k){if(typeof k!="string")throw new Error("keyword must be string (in keyword '"+T+"')");v?E.set(k,T):E[k]=T})}return function(k){return v?E.get(k):E[k]}}var K=function(p,v){this.startState=v,this.states=p,this.buffer="",this.stack=[],this.reset()};K.prototype.reset=function(p,v){return this.buffer=p||"",this.index=0,this.line=v?v.line:1,this.col=v?v.col:1,this.queuedToken=v?v.queuedToken:null,this.queuedText=v?v.queuedText:"",this.queuedThrow=v?v.queuedThrow:null,this.setState(v?v.state:this.startState),this.stack=v&&v.stack?v.stack.slice():[],this},K.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}},K.prototype.setState=function(p){if(!(!p||this.state===p)){this.state=p;var v=this.states[p];this.groups=v.groups,this.error=v.error,this.re=v.regexp,this.fast=v.fast}},K.prototype.popState=function(){this.setState(this.stack.pop())},K.prototype.pushState=function(p){this.stack.push(this.state),this.setState(p)};var se=n?function(p,v){return p.exec(v)}:function(p,v){var E=p.exec(v);return E[0].length===0?null:E};K.prototype._getGroup=function(p){for(var v=this.groups.length,E=0;E<v;E++)if(p[E+1]!==void 0)return this.groups[E];throw new Error("Cannot find token type for matched text")};function Y(){return this.value}if(K.prototype.next=function(){var p=this.index;if(this.queuedGroup){var v=this._token(this.queuedGroup,this.queuedText,p);return this.queuedGroup=null,this.queuedText="",v}var E=this.buffer;if(p!==E.length){var P=this.fast[E.charCodeAt(p)];if(P)return this._token(P,E.charAt(p),p);var C=this.re;C.lastIndex=p;var A=se(C,E),T=this.error;if(A==null)return this._token(T,E.slice(p,E.length),p);var P=this._getGroup(A),D=A[0];return T.fallback&&A.index!==p?(this.queuedGroup=P,this.queuedText=D,this._token(T,E.slice(p,A.index),p)):this._token(P,D,p)}},K.prototype._token=function(p,v,E){var C=0;if(p.lineBreaks){var A=/\n/g,T=1;if(v===`
|
||
`)C=1;else for(;A.exec(v);)C++,T=A.lastIndex}var P={type:typeof p.type=="function"&&p.type(v)||p.defaultType,value:typeof p.value=="function"?p.value(v):v,text:v,toString:Y,offset:E,lineBreaks:C,line:this.line,col:this.col},D=v.length;if(this.index+=D,this.line+=C,C!==0?this.col=D-T+1:this.col+=D,p.shouldThrow){var k=new Error(this.formatError(P,"invalid syntax"));throw k}return p.pop?this.popState():p.push?this.pushState(p.push):p.next&&this.setState(p.next),P},typeof Symbol<"u"&&Symbol.iterator){var X=function(p){this.lexer=p};X.prototype.next=function(){var p=this.lexer.next();return{value:p,done:!p}},X.prototype[Symbol.iterator]=function(){return this},K.prototype[Symbol.iterator]=function(){return new X(this)}}return K.prototype.formatError=function(p,v){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 C=2,A=Math.max(p.line-C,1),T=p.line+C,P=String(T).length,D=h(this.buffer,this.line-p.line+C+1).slice(0,5),k=[];k.push(v+" at line "+p.line+" col "+p.col+":"),k.push("");for(var I=0;I<D.length;I++){var $=D[I],Q=A+I;k.push(u(String(Q),P)+" "+$),Q===p.line&&k.push(u("",P+p.col+1)+"^")}return k.join(`
|
||
`)},K.prototype.clone=function(){return new K(this.states,this.state)},K.prototype.has=function(p){return!0},{compile:x,states:J,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Z}})})(Gr);var Vi=Gr.exports;(function(e){"use strict";var t=it&&it.__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(Vi);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)})(Io);Object.defineProperty(St,"__esModule",{value:!0});var Wi=St.parse=Zi=St.ParseError=void 0;const Do=Io,Lt=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),fr=e=>e==="plural"||e==="select"||e==="selectordinal";function Yi(e,t){let r="",n="";for(const a of t){const i=a.ctx.text;switch(n+=i,a.type){case"content":r+=a.value;break;case"argument":case"function":case"octothorpe":r+=i;break;default:throw new ae(e,`Unsupported part in strict mode function arg style: ${i}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:n})}]}const Ji=["number","date","time","spellout","ordinal","duration"],Pn=["zero","one","two","few","many","other"];class ae extends Error{constructor(t,r){super(Do.lexer.formatError(t,r))}}var Zi=St.ParseError=ae;class Qi{constructor(t,r){var n,o,a,i;this.lexer=Do.lexer.reset(t),this.cardinalKeys=(n=r==null?void 0:r.cardinal)!==null&&n!==void 0?n:Pn,this.ordinalKeys=(o=r==null?void 0:r.ordinal)!==null&&o!==void 0?o:Pn,this.strict=(a=r==null?void 0:r.strict)!==null&&a!==void 0?a:!1,this.strictPluralKeys=(i=r==null?void 0:r.strictPluralKeys)!==null&&i!==void 0?i:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,r,n){if(n[0]==="="){if(r==="select")throw new ae(t,`The case ${n} is not valid with select`)}else if(r!=="select"){const o=r==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&o.length>0&&!o.includes(n)){const a=`The ${r} case ${n} is not valid in this locale`;throw new ae(t,a)}}}parseSelect({value:t},r,n,o){const a={type:o,arg:t,cases:[],ctx:n};o==="plural"||o==="selectordinal"?r=!0:this.strict&&(r=!1);for(const i of this.lexer)switch(i.type){case"offset":if(o==="select")throw new ae(i,"Unexpected plural offset for select");if(a.cases.length>0)throw new ae(i,"Plural offset must be set before cases");a.pluralOffset=Number(i.value),n.text+=i.text,n.lineBreaks+=i.lineBreaks;break;case"case":{this.checkSelectKey(i,o,i.value),a.cases.push({key:i.value,tokens:this.parseBody(r),ctx:Lt(i)});break}case"end":return a;default:throw new ae(i,`Unexpected lexer token: ${i.type}`)}throw new ae(null,"Unexpected message end")}parseArgToken(t,r){const n=Lt(t),o=this.lexer.next();if(!o)throw new ae(null,"Unexpected message end");if(n.text+=o.text,n.lineBreaks+=o.lineBreaks,this.strict&&(o.type==="func-simple"||o.type==="func-args")&&!Ji.includes(o.value)){const a=`Invalid strict mode function arg type: ${o.value}`;throw new ae(t,a)}switch(o.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{const a=this.lexer.next();if(!a)throw new ae(null,"Unexpected message end");if(a.type!=="end")throw new ae(a,`Unexpected lexer token: ${a.type}`);if(n.text+=a.text,fr(o.value.toLowerCase()))throw new ae(o,`Invalid type identifier: ${o.value}`);return{type:"function",arg:t.value,key:o.value,ctx:n}}case"func-args":{if(fr(o.value.toLowerCase())){const i=`Invalid type identifier: ${o.value}`;throw new ae(o,i)}let a=this.parseBody(this.strict?!1:r);return this.strict&&a.length>0&&(a=Yi(t,a)),{type:"function",arg:t.value,key:o.value,param:a,ctx:n}}case"select":if(fr(o.value))return this.parseSelect(t,r,n,o.value);throw new ae(o,`Unexpected select type ${o.value}`);default:throw new ae(o,`Unexpected lexer token: ${o.type}`)}}parseBody(t,r){const n=[];let o=null;for(const a of this.lexer)if(a.type==="argument")o&&(o=null),n.push(this.parseArgToken(a,t));else if(a.type==="octothorpe"&&t)o&&(o=null),n.push({type:"octothorpe",ctx:Lt(a)});else{if(a.type==="end"&&!r)return n;{let i=a.value;if(!t&&a.type==="quoted"&&i[0]==="#"){if(i.includes("{")){const s=`Unsupported escape pattern: ${i}`;throw new ae(a,s)}i=a.text}o?(o.value+=i,o.ctx.text+=a.text,o.ctx.lineBreaks+=a.lineBreaks):(o={type:"content",value:i,ctx:Lt(a)},n.push(o))}}if(r)return n;throw new ae(null,"Unexpected message end")}}function Xi(e,t={}){return new Qi(e,t).parse()}Wi=St.parse=Xi;const je=e=>typeof e=="string",es=e=>typeof e=="function",Rn=new Map,ko="en";function Vr(e){return[...Array.isArray(e)?e:[e],ko]}function Uo(e,t,r){const n=Vr(e);return jt(()=>Ht("date",n,r),()=>new Intl.DateTimeFormat(n,r)).format(je(t)?new Date(t):t)}function Pr(e,t,r){const n=Vr(e);return jt(()=>Ht("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function Tn(e,t,r,{offset:n=0,...o}){const a=Vr(e),i=t?jt(()=>Ht("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):jt(()=>Ht("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return o[r]??o[i.select(r-n)]??o.other}function jt(e,t){const r=e();let n=Rn.get(r);return n||(n=t(),Rn.set(r,n)),n}function Ht(e,t,r){const n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}const Fo=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,jo="%__lingui_octothorpe__%",ts=(e,t,r={})=>{const n=t||e,o=i=>typeof i=="object"?i:r[i]||{style:i},a=(i,s)=>{const l=Object.keys(r).length?o("number"):void 0,c=Pr(n,i,l);return s.replace(new RegExp(jo,"g"),c)};return{plural:(i,s)=>{const{offset:l=0}=s,c=Tn(n,!1,i,s);return a(i-l,c)},selectordinal:(i,s)=>{const{offset:l=0}=s,c=Tn(n,!0,i,s);return a(i-l,c)},select:rs,number:(i,s)=>Pr(n,i,o(s)),date:(i,s)=>Uo(n,i,o(s))}},rs=(e,t)=>t[e]??t.other;function ns(e,t,r){return(n={},o)=>{const a=ts(t,r,o),i=(l,c=!1)=>Array.isArray(l)?l.reduce((f,u)=>{if(u==="#"&&c)return f+jo;if(je(u))return f+u;const[h,d,m]=u;let b={};d==="plural"||d==="selectordinal"||d==="select"?Object.entries(m).forEach(([w,S])=>{b[w]=i(S,d==="plural"||d==="selectordinal")}):b=m;let y;if(d){const w=a[d];y=w(n[h],b)}else y=n[h];return y==null?f:f+y},""):l,s=i(e);return je(s)&&Fo.test(s)?Mo.unraw(s.trim()):je(s)?s.trim():s?String(s):""}}var os=Object.defineProperty,as=(e,t,r)=>t in e?os(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,is=(e,t,r)=>(as(e,typeof t!="symbol"?t+"":t,r),r);class ss{constructor(){is(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 ls=Object.defineProperty,us=(e,t,r)=>t in e?ls(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qe=(e,t,r)=>(us(e,typeof t!="symbol"?t+"":t,r),r);class cs extends ss{constructor(t){super(),Qe(this,"_locale",""),Qe(this,"_locales"),Qe(this,"_localeData",{}),Qe(this,"_messages",{}),Qe(this,"_missing"),Qe(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??ko,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}loadLocaleData(t,r){r!=null?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){let o=n==null?void 0:n.message;t||(t=""),je(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 es(s)?s(this._locale,t):s;i&&this.emit("missing",{id:t,locale:this._locale});let l=a||o||t;return je(l)&&Fo.test(l)?JSON.parse(`"${l}"`):je(l)?l:ns(l,this._locale,this._locales)(r,n==null?void 0:n.formats)}date(t,r){return Uo(this._locales||this._locale,t,r)}number(t,r){return Pr(this._locales||this._locale,t,r)}}function ds(e={}){return new cs(e)}const nt=ds();var Rt,j,Ho,fs,Fe,On,Bo,Rr,Wr,Tr,Or,qo,Ct={},zo=[],hs=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,rr=Array.isArray;function Ce(e,t){for(var r in t)e[r]=t[r];return e}function $o(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function V(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?Rt.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 wt(e,i,n,o,null)}function wt(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Ho,__i:-1,__u:0};return o==null&&j.vnode!=null&&j.vnode(a),a}function Ko(){return{current:null}}function me(e){return e.children}function pe(e,t){this.props=e,this.context=t}function st(e,t){if(t==null)return e.__?st(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"?st(e):null}function Go(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 Go(e)}}function Lr(e){(!e.__d&&(e.__d=!0)&&Fe.push(e)&&!Bt.__r++||On!==j.debounceRendering)&&((On=j.debounceRendering)||Bo)(Bt)}function Bt(){var e,t,r,n,o,a,i,s;for(Fe.sort(Rr);e=Fe.shift();)e.__d&&(t=Fe.length,n=void 0,a=(o=(r=e).__v).__e,i=[],s=[],r.__P&&((n=Ce({},o)).__v=o.__v+1,j.vnode&&j.vnode(n),Yr(r.__P,n,o,r.__n,r.__P.namespaceURI,32&o.__u?[a]:null,i,a??st(o),!!(32&o.__u),s),n.__v=o.__v,n.__.__k[n.__i]=n,Yo(i,n,s),n.__e!=a&&Go(n)),Fe.length>t&&Fe.sort(Rr));Bt.__r=0}function Vo(e,t,r,n,o,a,i,s,l,c,f){var u,h,d,m,b,y=n&&n.__k||zo,w=t.length;for(r.__d=l,ps(r,t,y),l=r.__d,u=0;u<w;u++)(d=r.__k[u])!=null&&(h=d.__i===-1?Ct:y[d.__i]||Ct,d.__i=u,Yr(e,d,h,o,a,i,s,l,c,f),m=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&Jr(h.ref,null,d),f.push(d.ref,d.__c||m,d)),b==null&&m!=null&&(b=m),65536&d.__u||h.__k===d.__k?l=Wo(d,l,e):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:m&&(l=m.nextSibling),d.__d=void 0,d.__u&=-196609);r.__d=l,r.__e=b}function ps(e,t,r){var n,o,a,i,s,l=t.length,c=r.length,f=c,u=0;for(e.__k=[],n=0;n<l;n++)(o=t[n])!=null&&typeof o!="boolean"&&typeof o!="function"?(i=n+u,(o=e.__k[n]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?wt(null,o,null,null,null):rr(o)?wt(me,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?wt(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,a=null,(s=o.__i=_s(o,r,i,f))!==-1&&(f--,(a=r[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&u--,typeof o.type!="function"&&(o.__u|=65536)):s!==i&&(s==i-1?u--:s==i+1?u++:(s>i?u--:u++,o.__u|=65536))):o=e.__k[n]=null;if(f)for(n=0;n<c;n++)(a=r[n])!=null&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=st(a)),Jo(a,a))}function Wo(e,t,r){var n,o;if(typeof e.type=="function"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=Wo(n[o],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=st(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Ae(e,t){return t=t||[],e==null||typeof e=="boolean"||(rr(e)?e.some(function(r){Ae(r,t)}):t.push(e)),t}function _s(e,t,r,n){var o=e.key,a=e.type,i=r-1,s=r+1,l=t[r];if(l===null||l&&o==l.key&&a===l.type&&!(131072&l.__u))return r;if(n>(l!=null&&!(131072&l.__u)?1:0))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&!(131072&l.__u)&&o==l.key&&a===l.type)return i;i--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&a===l.type)return s;s++}}return-1}function Ln(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||hs.test(t)?r:r+"px"}function xt(e,t,r,n,o){var a;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||Ln(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Ln(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=Wr,e.addEventListener(t,a?Or:Tr,a)):e.removeEventListener(t,a?Or:Tr,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 xn(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=Wr++;else if(t.t<r.u)return;return r(j.event?j.event(t):t)}}}function Yr(e,t,r,n,o,a,i,s,l,c){var f,u,h,d,m,b,y,w,S,x,H,J,Z,K,se,Y,X=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),a=[s=t.__e=r.__e]),(f=j.__b)&&f(t);e:if(typeof X=="function")try{if(w=t.props,S="prototype"in X&&X.prototype.render,x=(f=X.contextType)&&n[f.__c],H=f?x?x.props.value:f.__:n,r.__c?y=(u=t.__c=r.__c).__=u.__E:(S?t.__c=u=new X(w,H):(t.__c=u=new pe(w,H),u.constructor=X,u.render=ys),x&&x.sub(u),u.props=w,u.state||(u.state={}),u.context=H,u.__n=n,h=u.__d=!0,u.__h=[],u._sb=[]),S&&u.__s==null&&(u.__s=u.state),S&&X.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Ce({},u.__s)),Ce(u.__s,X.getDerivedStateFromProps(w,u.__s))),d=u.props,m=u.state,u.__v=t,h)S&&X.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),S&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(S&&X.getDerivedStateFromProps==null&&w!==d&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(w,H),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(w,u.__s,H)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(u.props=w,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(p){p&&(p.__=t)}),J=0;J<u._sb.length;J++)u.__h.push(u._sb[J]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(w,u.__s,H),S&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(d,m,b)})}if(u.context=H,u.props=w,u.__P=e,u.__e=!1,Z=j.__r,K=0,S){for(u.state=u.__s,u.__d=!1,Z&&Z(t),f=u.render(u.props,u.state,u.context),se=0;se<u._sb.length;se++)u.__h.push(u._sb[se]);u._sb=[]}else do u.__d=!1,Z&&Z(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++K<25);u.state=u.__s,u.getChildContext!=null&&(n=Ce(Ce({},n),u.getChildContext())),S&&!h&&u.getSnapshotBeforeUpdate!=null&&(b=u.getSnapshotBeforeUpdate(d,m)),Vo(e,rr(Y=f!=null&&f.type===me&&f.key==null?f.props.children:f)?Y:[Y],t,r,n,o,a,i,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),y&&(u.__E=u.__=null)}catch(p){if(t.__v=null,l||a!=null){for(t.__u|=l?160:128;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,t.__e=s}else t.__e=r.__e,t.__k=r.__k;j.__e(p,t,r)}else a==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ms(r.__e,t,r,n,o,a,i,l,c);(f=j.diffed)&&f(t)}function Yo(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Jr(r[n],r[++n],r[++n]);j.__c&&j.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){j.__e(a,o.__v)}})}function ms(e,t,r,n,o,a,i,s,l){var c,f,u,h,d,m,b,y=r.props,w=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(c=0;c<a.length;c++)if((d=a[c])&&"setAttribute"in d==!!S&&(S?d.localName===S:d.nodeType===3)){e=d,a[c]=null;break}}if(e==null){if(S===null)return document.createTextNode(w);e=document.createElementNS(o,S,w.is&&w),s&&(j.__m&&j.__m(t,a),s=!1),a=null}if(S===null)y===w||s&&e.data===w||(e.data=w);else{if(a=a&&Rt.call(e.childNodes),y=r.props||Ct,!s&&a!=null)for(y={},c=0;c<e.attributes.length;c++)y[(d=e.attributes[c]).name]=d.value;for(c in y)if(d=y[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=d;else if(!(c in w)){if(c=="value"&&"defaultValue"in w||c=="checked"&&"defaultChecked"in w)continue;xt(e,c,null,d,o)}}for(c in w)d=w[c],c=="children"?h=d:c=="dangerouslySetInnerHTML"?f=d:c=="value"?m=d:c=="checked"?b=d:s&&typeof d!="function"||y[c]===d||xt(e,c,d,y[c],o);if(f)s||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),Vo(e,rr(h)?h:[h],t,r,n,S==="foreignObject"?"http://www.w3.org/1999/xhtml":o,a,i,a?a[0]:r.__k&&st(r,0),s,l),a!=null)for(c=a.length;c--;)$o(a[c]);s||(c="value",S==="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[c]||S==="progress"&&!m||S==="option"&&m!==y[c])&&xt(e,c,m,y[c],o),c="checked",b!==void 0&&b!==e[c]&&xt(e,c,b,y[c],o))}return e}function Jr(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){j.__e(o,r)}}function Jo(e,t,r){var n,o;if(j.unmount&&j.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Jr(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){j.__e(a,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&Jo(n[o],t,r||typeof e.type!="function");r||$o(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function ys(e,t,r){return this.constructor(e,r)}function At(e,t,r){var n,o,a,i;j.__&&j.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,a=[],i=[],Yr(t,e=(!n&&r||t).__k=V(me,null,[e]),o||Ct,Ct,t.namespaceURI,!n&&r?[r]:o?null:t.firstChild?Rt.call(t.childNodes):null,a,!n&&r?r:o?o.__e:t.firstChild,n,i),Yo(a,e,i)}function Zo(e,t){At(e,t,Zo)}function gs(e,t,r){var n,o,a,i,s=Ce({},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!==void 0?i[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?Rt.call(arguments,2):r),wt(e.type,s,n||e.key,o||e.ref,null)}function Ie(e,t){var r={__c:t="__cC"+qo++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,a;return this.getChildContext||(o=new Set,(a={})[t]=this,this.getChildContext=function(){return a},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.forEach(function(s){s.__e=!0,Lr(s)})},this.sub=function(i){o.add(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.delete(i),s&&s.call(i)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Rt=zo.slice,j={__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}},Ho=0,fs=function(e){return e!=null&&e.constructor==null},pe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ce({},this.state),typeof e=="function"&&(e=e(Ce({},r),this.props)),e&&Ce(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Lr(this))},pe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Lr(this))},pe.prototype.render=me,Fe=[],Bo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Rr=function(e,t){return e.__v.__b-t.__v.__b},Bt.__r=0,Wr=0,Tr=xn(!1),Or=xn(!0),qo=0;var Pe,W,hr,Mn,lt=0,Qo=[],ee=j,Nn=ee.__b,In=ee.__r,Dn=ee.diffed,kn=ee.__c,Un=ee.unmount,Fn=ee.__;function Ke(e,t){ee.__h&&ee.__h(W,e,lt||t),lt=0;var r=W.__H||(W.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ge(e){return lt=1,nr(Xo,e)}function nr(e,t,r){var n=Ke(Pe++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Xo(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,s);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=W,!W.u)){var o=function(s,l,c){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(h){return!!h.__c});if(f.every(function(h){return!h.__N}))return!a||a.call(this,s,l,c);var u=!1;return f.forEach(function(h){if(h.__N){var d=h.__[0];h.__=h.__N,h.__N=void 0,d!==h.__[0]&&(u=!0)}}),!(!u&&n.__c.props===s)&&(!a||a.call(this,s,l,c))};W.u=!0;var a=W.shouldComponentUpdate,i=W.componentWillUpdate;W.componentWillUpdate=function(s,l,c){if(this.__e){var f=a;a=void 0,o(s,l,c),a=f}i&&i.call(this,s,l,c)},W.shouldComponentUpdate=o}return n.__N||n.__}function Ve(e,t){var r=Ke(Pe++,3);!ee.__s&&Xr(r.__H,t)&&(r.__=e,r.i=t,W.__H.__h.push(r))}function Re(e,t){var r=Ke(Pe++,4);!ee.__s&&Xr(r.__H,t)&&(r.__=e,r.i=t,W.__h.push(r))}function De(e){return lt=5,be(function(){return{current:e}},[])}function Zr(e,t,r){lt=6,Re(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function be(e,t){var r=Ke(Pe++,7);return Xr(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function dt(e,t){return lt=8,be(function(){return e},t)}function le(e){var t=W.context[e.__c],r=Ke(Pe++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(W)),t.props.value):e.__}function or(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function vs(e){var t=Ke(Pe++,10),r=Ge();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Qr(){var e=Ke(Pe++,11);if(!e.__){for(var t=W.__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 ws(){for(var e;e=Qo.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(kt),e.__H.__h.forEach(xr),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){W=null,Nn&&Nn(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Fn&&Fn(e,t)},ee.__r=function(e){In&&In(e),Pe=0;var t=(W=e.__c).__H;t&&(hr===W?(t.__h=[],W.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(kt),t.__h.forEach(xr),t.__h=[],Pe=0)),hr=W},ee.diffed=function(e){Dn&&Dn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Qo.push(t)!==1&&Mn===ee.requestAnimationFrame||((Mn=ee.requestAnimationFrame)||bs)(ws)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),hr=W=null},ee.__c=function(e,t){t.some(function(r){try{r.__h.forEach(kt),r.__h=r.__h.filter(function(n){return!n.__||xr(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(n,r.__v)}}),kn&&kn(e,t)},ee.unmount=function(e){Un&&Un(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{kt(n)}catch(o){t=o}}),r.__H=void 0,t&&ee.__e(t,r.__v))};var jn=typeof requestAnimationFrame=="function";function bs(e){var t,r=function(){clearTimeout(n),jn&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);jn&&(t=requestAnimationFrame(r))}function kt(e){var t=W,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),W=t}function xr(e){var t=W;e.__c=e.__(),W=t}function Xr(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Xo(e,t){return typeof t=="function"?t(e):t}function Mr(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 qt(e,t){this.props=e,this.context=t}function ea(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:Mr(this.props,o)}function n(o){return this.shouldComponentUpdate=r,V(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(qt.prototype=new pe).isPureReactComponent=!0,qt.prototype.shouldComponentUpdate=function(e,t){return Mr(this.props,e)||Mr(this.state,t)};var Hn=j.__b;j.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Hn&&Hn(e)};var Es=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ta(e){function t(r){if(!("ref"in r))return e(r,null);var n=r.ref;delete r.ref;var o=e(r,n);return r.ref=n,o}return t.$$typeof=Es,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Bn=function(e,t){return e==null?null:Ae(Ae(e).map(t))},en={map:Bn,forEach:Bn,count:function(e){return e?Ae(e).length:0},only:function(e){var t=Ae(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ae},Ss=j.__e;j.__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)}Ss(e,t,r,n)};var qn=j.unmount;function ra(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=function(n,o){for(var a in o)n[a]=o[a];return n}({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ra(n,t,r)})),e}function na(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return na(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 bt(){this.__u=0,this.t=null,this.__b=null}function oa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function aa(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 V(r,a)}return o.displayName="Lazy",o.__f=!0,o}function tt(){this.u=null,this.o=null}j.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),qn&&qn(e)},(bt.prototype=new pe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=oa(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]=na(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.t.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},bt.prototype.componentWillUnmount=function(){this.t=[]},bt.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]=ra(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&V(me,null,e.fallback);return o&&(o.__u&=-33),[V(me,null,t.__a?null:e.children),o]};var zn=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function Cs(e){return this.getChildContext=function(){return e.context},e.children}function As(e){var t=this,r=e.i;t.componentWillUnmount=function(){At(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),At(V(Cs,{context:t.context},e.__v),t.l)}function ia(e,t){var r=V(As,{__v:e,i:t});return r.containerInfo=t,r}(tt.prototype=new pe).__a=function(e){var t=this,r=oa(t.__v),n=t.o.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),zn(t,e,n)):o()};r?r(a):a()}},tt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ae(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},tt.prototype.componentDidUpdate=tt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){zn(e,r,t)})};var sa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ps=/^(?: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]/,Rs=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ts=/[A-Z0-9]/g,Os=typeof document<"u",Ls=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function la(e,t,r){return t.__k==null&&(t.textContent=""),At(e,t),typeof r=="function"&&r(),e?e.__c:null}function ua(e,t,r){return Zo(e,t),typeof r=="function"&&r(),e?e.__c:null}pe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(pe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var $n=j.event;function xs(){}function Ms(){return this.cancelBubble}function Ns(){return this.defaultPrevented}j.event=function(e){return $n&&(e=$n(e)),e.persist=xs,e.isPropagationStopped=Ms,e.isDefaultPrevented=Ns,e.nativeEvent=e};var tn,Is={enumerable:!1,configurable:!0,get:function(){return this.class}},Kn=j.vnode;j.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||Os&&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"||Ls(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Rs.test(i)&&(i=l):l=i="oninput":a&&Ps.test(i)?i=i.replace(Ts,"-$&").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=Ae(r.children).forEach(function(c){c.props.selected=o.value.indexOf(c.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Ae(r.children).forEach(function(c){c.props.selected=o.multiple?o.defaultValue.indexOf(c.props.value)!=-1:o.defaultValue==c.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",Is)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=sa,Kn&&Kn(e)};var Gn=j.__r;j.__r=function(e){Gn&&Gn(e),tn=e.__c};var Vn=j.diffed;j.diffed=function(e){Vn&&Vn(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),tn=null};var ca={ReactCurrentDispatcher:{current:{readContext:function(e){return tn.__n[e.__c].props.value},useCallback:dt,useContext:le,useDebugValue:or,useDeferredValue:nn,useEffect:Ve,useId:Qr,useImperativeHandle:Zr,useInsertionEffect:an,useLayoutEffect:Re,useMemo:be,useReducer:nr,useRef:De,useState:Ge,useSyncExternalStore:ar,useTransition:on}}},Ds="18.3.1";function da(e){return V.bind(null,e)}function ft(e){return!!e&&e.$$typeof===sa}function fa(e){return ft(e)&&e.type===me}function ha(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function pa(e){return ft(e)?gs.apply(null,arguments):e}function _a(e){return!!e.__k&&(At(null,e),!0)}function ma(e){return e&&(e.base||e.nodeType===1&&e)||null}var ya=function(e,t){return e(t)},ga=function(e,t){return e(t)},va=me;function rn(e){e()}function nn(e){return e}function on(){return[!1,rn]}var an=Re,wa=ft;function ar(e,t){var r=t(),n=Ge({h:{__:r,v:t}}),o=n[0].h,a=n[1];return Re(function(){o.__=r,o.v=t,pr(o)&&a({h:o})},[e,r,t]),Ve(function(){return pr(o)&&a({h:o}),e(function(){pr(o)&&a({h:o})})},[e]),r}function pr(e){var t,r,n=e.v,o=e.__;try{var a=n();return!((t=o)===(r=a)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var ne={useState:Ge,useId:Qr,useReducer:nr,useEffect:Ve,useLayoutEffect:Re,useInsertionEffect:an,useTransition:on,useDeferredValue:nn,useSyncExternalStore:ar,startTransition:rn,useRef:De,useImperativeHandle:Zr,useMemo:be,useCallback:dt,useContext:le,useDebugValue:or,version:"18.3.1",Children:en,render:la,hydrate:ua,unmountComponentAtNode:_a,createPortal:ia,createElement:V,createContext:Ie,createFactory:da,cloneElement:pa,createRef:Ko,Fragment:me,isValidElement:ft,isElement:wa,isFragment:fa,isMemo:ha,findDOMNode:ma,Component:pe,PureComponent:qt,memo:ea,forwardRef:ta,flushSync:ga,unstable_batchedUpdates:ya,StrictMode:va,Suspense:bt,SuspenseList:tt,lazy:aa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ca};const Nr=Object.freeze(Object.defineProperty({__proto__:null,Children:en,Component:pe,Fragment:me,PureComponent:qt,StrictMode:va,Suspense:bt,SuspenseList:tt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ca,cloneElement:pa,createContext:Ie,createElement:V,createFactory:da,createPortal:ia,createRef:Ko,default:ne,findDOMNode:ma,flushSync:ga,forwardRef:ta,hydrate:ua,isElement:wa,isFragment:fa,isMemo:ha,isValidElement:ft,lazy:aa,memo:ea,render:la,startTransition:rn,unmountComponentAtNode:_a,unstable_batchedUpdates:ya,useCallback:dt,useContext:le,useDebugValue:or,useDeferredValue:nn,useEffect:Ve,useErrorBoundary:vs,useId:Qr,useImperativeHandle:Zr,useInsertionEffect:an,useLayoutEffect:Re,useMemo:be,useReducer:nr,useRef:De,useState:Ge,useSyncExternalStore:ar,useTransition:on,version:Ds},Symbol.toStringTag,{value:"Module"})),ks=/<([a-zA-Z0-9]+)>(.*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,Us=/(?:\r\n|\r|\n)/g,Fs={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 ba(e,t={}){const r=js(0,"$lingui$"),n=e.replace(Us,"").split(ks);if(n.length===1)return e;const o=[],a=n.shift();a&&o.push(a);for(const[i,s,l]of Ea(n)){let c=typeof i<"u"?t[i]:void 0;(!c||Fs[c.type]&&s)&&(console.error(c?`${c.type} is a void element tag therefore it must have no children`:`Can't use element at index '${i}' as it is not declared in the original translation`),c=ne.createElement(ne.Fragment)),Array.isArray(c)&&(c=ne.createElement(ne.Fragment,{},c)),o.push(ne.cloneElement(c,{key:r()},s?ba(s,t):c.props.children)),l&&o.push(l)}return o.length===1?o[0]:o}function Ea(e){if(!e.length)return[];const[t,r,n,o]=e.slice(0,4);return[[t||n,r||"",o]].concat(Ea(e.slice(4,e.length)))}const js=(e=0,t="")=>()=>`${t}_${e++}`;function Hs(e){const{render:t,component:r,id:n,message:o,formats:a,lingui:{i18n:i,defaultComponent:s}}=e,l={...e.values},c={...e.components};l&&Object.keys(l).forEach(b=>{const y=l[b];if(!(ne.isValidElement(y)||Array.isArray(y)&&y.every(ne.isValidElement)))return;const S=Object.keys(c).length;c[S]=y,l[b]=`<${S}/>`});const f=i&&typeof i._=="function"?i._(n,l,{message:o,formats:a}):n,u=f?ba(f,c):null;if(t===null||r===null)return u;const h=s||Bs,d={id:n,message:o,translation:u,isTranslated:n!==u&&o!==u,children:u};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,d,u);if(typeof t=="function")return t(d);const m=r||h;return ne.createElement(m,d,u)}const Bs=({children:e})=>ne.createElement(ne.Fragment,null,e),Sa=ne.createContext(null),Ca=e=>ne.useContext(Sa);function Md(){return Ca()}const Nd=({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(Sa.Provider,{value:a},r):null};function Id(e){const r=Ca(void 0);return ne.createElement(Hs,{...e,lingui:r})}/**
|
||
* @remix-run/router v1.2.1
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function zt(){return zt=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},zt.apply(this,arguments)}var Me;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Me||(Me={}));const Wn="popstate";function qs(e){e===void 0&&(e={});function t(o,a){let{pathname:i="/",search:s="",hash:l=""}=We(o.location.hash.substr(1));return Ir("",{pathname:i,search:s,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(o,a){let i=o.document.querySelector("base"),s="";if(i&&i.getAttribute("href")){let l=o.location.href,c=l.indexOf("#");s=c===-1?l:l.slice(0,c)}return s+"#"+(typeof a=="string"?a:sn(a))}function n(o,a){zs(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(a)+")")}return Gs(t,r,n,e)}function ie(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zs(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $s(){return Math.random().toString(36).substr(2,8)}function Yn(e){return{usr:e.state,key:e.key}}function Ir(e,t,r,n){return r===void 0&&(r=null),zt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?We(t):t,{state:r,key:t&&t.key||n||$s()})}function sn(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 We(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 Ks(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:sn(e);return ie(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}function Gs(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=Me.Pop,l=null;function c(){s=Me.Pop,l&&l({action:s,location:h.location})}function f(d,m){s=Me.Push;let b=Ir(h.location,d,m);r&&r(b,d);let y=Yn(b),w=h.createHref(b);try{i.pushState(y,"",w)}catch{o.location.assign(w)}a&&l&&l({action:s,location:h.location})}function u(d,m){s=Me.Replace;let b=Ir(h.location,d,m);r&&r(b,d);let y=Yn(b),w=h.createHref(b);i.replaceState(y,"",w),a&&l&&l({action:s,location:h.location})}let h={get action(){return s},get location(){return e(o,i)},listen(d){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Wn,c),l=d,()=>{o.removeEventListener(Wn,c),l=null}},createHref(d){return t(o,d)},encodeLocation(d){let m=Ks(typeof d=="string"?d:sn(d));return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:u,go(d){return i.go(d)}};return h}var Jn;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Jn||(Jn={}));function Vs(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?We(t):t,o=Ra(n.pathname||"/",r);if(o==null)return null;let a=Aa(e);Ws(a);let i=null;for(let s=0;i==null&&s<a.length;++s)i=nl(a[s],al(o));return i}function Aa(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 c=He([n,l.relativePath]),f=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 "'+c+'".')),Aa(a.children,t,f,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:tl(c,a.index),routesMeta:f})};return e.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of Pa(a.path))o(a,i,l)}),t}function Pa(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=Pa(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 Ws(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:rl(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Ys=/^:\w+$/,Js=3,Zs=2,Qs=1,Xs=10,el=-2,Zn=e=>e==="*";function tl(e,t){let r=e.split("/"),n=r.length;return r.some(Zn)&&(n+=el),t&&(n+=Zs),r.filter(o=>!Zn(o)).reduce((o,a)=>o+(Ys.test(a)?Js:a===""?Qs:Xs),n)}function rl(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 nl(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,c=o==="/"?t:t.slice(o.length)||"/",f=Dr({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c);if(!f)return null;Object.assign(n,f.params);let u=s.route;a.push({params:n,pathname:He([o,f.pathname]),pathnameBase:dl(He([o,f.pathnameBase])),route:u}),f.pathnameBase!=="/"&&(o=He([o,f.pathnameBase]))}return a}function Dr(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=ol(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((c,f,u)=>{if(f==="*"){let h=s[u]||"";i=a.slice(0,a.length-h.length).replace(/(.)\/+$/,"$1")}return c[f]=il(s[u]||"",f),c},{}),pathname:a,pathnameBase:i,pattern:e}}function ol(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),ln(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 al(e){try{return decodeURI(e)}catch(t){return ln(!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 il(e,t){try{return decodeURIComponent(e)}catch(r){return ln(!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 Ra(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 ln(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function sl(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?We(e):e;return{pathname:r?r.startsWith("/")?r:ll(r,t):t,search:fl(n),hash:hl(o)}}function ll(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 _r(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 ul(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function cl(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=We(e):(o=zt({},e),ie(!o.pathname||!o.pathname.includes("?"),_r("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),_r("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),_r("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,s;if(n||i==null)s=r;else{let u=t.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),u-=1;o.pathname=h.join("/")}s=u>=0?t[u]:"/"}let l=sl(o,s),c=i&&i!=="/"&&i.endsWith("/"),f=(a||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||f)&&(l.pathname+="/"),l}const He=e=>e.join("/").replace(/\/\/+/g,"/"),dl=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),fl=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,hl=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class pl{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 _l(e){return e instanceof pl}const Ta=["post","put","patch","delete"],Dd=new Set(Ta),ml=["get",...Ta],kd=new Set(ml);const Ud=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";/**
|
||
* React Router v6.6.2
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function kr(){return kr=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},kr.apply(this,arguments)}function yl(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const gl=typeof Object.is=="function"?Object.is:yl,{useState:vl,useEffect:wl,useLayoutEffect:bl,useDebugValue:El}=Nr;function Sl(e,t,r){const n=t(),[{inst:o},a]=vl({inst:{value:n,getSnapshot:t}});return bl(()=>{o.value=n,o.getSnapshot=t,mr(o)&&a({inst:o})},[e,n,t]),wl(()=>(mr(o)&&a({inst:o}),e(()=>{mr(o)&&a({inst:o})})),[e]),El(n),n}function mr(e){const t=e.getSnapshot,r=e.value;try{const n=t();return!gl(r,n)}catch{return!0}}function Cl(e,t,r){return t()}const Al=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Pl=!Al,Rl=Pl?Cl:Sl,Fd="useSyncExternalStore"in Nr?(e=>e.useSyncExternalStore)(Nr):Rl,Oa=Ie(null),La=Ie(null);const un=Ie(null),ir=Ie(null),ht=Ie({outlet:null,matches:[]}),xa=Ie(null);function sr(){return le(ir)!=null}function cn(){return sr()||ie(!1),le(ir).location}function Tl(){sr()||ie(!1);let{basename:e,navigator:t}=le(un),{matches:r}=le(ht),{pathname:n}=cn(),o=JSON.stringify(ul(r).map(s=>s.pathnameBase)),a=De(!1);return Ve(()=>{a.current=!0}),dt(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){t.go(s);return}let c=cl(s,JSON.parse(o),n,l.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:He([e,c.pathname])),(l.replace?t.replace:t.push)(c,l.state,l)},[e,t,o,n])}function jd(){let{matches:e}=le(ht),t=e[e.length-1];return t?t.params:{}}function Ol(e,t){sr()||ie(!1);let{navigator:r}=le(un),n=le(La),{matches:o}=le(ht),a=o[o.length-1],i=a?a.params:{},s=a?a.pathname:"/",l=a?a.pathnameBase:"/",c=a&&a.route,f=cn(),u;if(t){var h;let w=typeof t=="string"?We(t):t;l==="/"||(h=w.pathname)!=null&&h.startsWith(l)||ie(!1),u=w}else u=f;let d=u.pathname||"/",m=l==="/"?d:d.slice(l.length)||"/",b=Vs(e,{pathname:m}),y=Nl(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},i,w.params),pathname:He([l,r.encodeLocation?r.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:He([l,r.encodeLocation?r.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n||void 0);return t&&y?V(ir.Provider,{value:{location:kr({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Me.Pop}},y):y}function Ll(){let e=Ul(),t=_l(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 V(me,null,V("h2",null,"Unhandled Thrown Error!"),V("h3",{style:{fontStyle:"italic"}},t),r?V("pre",{style:o},r):null,V("p",null,"💿 Hey developer 👋"),V("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",V("code",{style:a},"errorElement")," props on ",V("code",{style:a},"<Route>")))}class xl extends pe{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?V(ht.Provider,{value:this.props.routeContext},V(xa.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ml(e){let{routeContext:t,match:r,children:n}=e,o=le(Oa);return o&&o.static&&o.staticContext&&r.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),V(ht.Provider,{value:t},n)}function Nl(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==null?void 0:r.errors;if(o!=null){let a=n.findIndex(i=>i.route.id&&(o==null?void 0: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==null?void 0:o[i.route.id]:null,c=r?i.route.errorElement||V(Ll,null):null,f=t.concat(n.slice(0,s+1)),u=()=>V(Ml,{match:i,routeContext:{outlet:a,matches:f}},l?c:i.route.element!==void 0?i.route.element:a);return r&&(i.route.errorElement||s===0)?V(xl,{location:r.location,component:c,error:l,children:u(),routeContext:{outlet:null,matches:f}}):u()},null)}var Qn;(function(e){e.UseRevalidator="useRevalidator"})(Qn||(Qn={}));var $t;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})($t||($t={}));function Il(e){let t=le(La);return t||ie(!1),t}function Dl(e){let t=le(ht);return t||ie(!1),t}function kl(e){let t=Dl(e),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function Ul(){var e;let t=le(xa),r=Il($t.UseRouteError),n=kl($t.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function Fl(e){ie(!1)}function jl(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Me.Pop,navigator:a,static:i=!1}=e;sr()&&ie(!1);let s=t.replace(/^\/*/,"/"),l=be(()=>({basename:s,navigator:a,static:i}),[s,a,i]);typeof n=="string"&&(n=We(n));let{pathname:c="/",search:f="",hash:u="",state:h=null,key:d="default"}=n,m=be(()=>{let b=Ra(c,s);return b==null?null:{pathname:b,search:f,hash:u,state:h,key:d}},[s,c,f,u,h,d]);return m==null?null:V(un.Provider,{value:l},V(ir.Provider,{children:r,value:{location:m,navigationType:o}}))}function Hd(e){let{children:t,location:r}=e,n=le(Oa),o=n&&!t?n.router.routes:Ur(t);return Ol(o,r)}var Xn;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Xn||(Xn={}));const Bd=new Promise(()=>{});function Ur(e,t){t===void 0&&(t=[]);let r=[];return en.forEach(e,(n,o)=>{if(!ft(n))return;if(n.type===me){r.push.apply(r,Ur(n.props.children,t));return}n.type!==Fl&&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=Ur(n.props.children,a)),r.push(i)}),r}/**
|
||
* React Router DOM v6.6.2
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function Fr(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 Hl(e,t){let r=Fr(e);for(let n of t.keys())r.has(n)||t.getAll(n).forEach(o=>{r.append(n,o)});return r}function qd(e){let{basename:t,children:r,window:n}=e,o=De();o.current==null&&(o.current=qs({window:n,v5Compat:!0}));let a=o.current,[i,s]=Ge({action:a.action,location:a.location});return Re(()=>a.listen(s),[a]),V(jl,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a})}var eo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(eo||(eo={}));var to;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(to||(to={}));function zd(e){let t=De(Fr(e)),r=cn(),n=be(()=>Hl(r.search,t.current),[r.search]),o=Tl(),a=dt((i,s)=>{const l=Fr(typeof i=="function"?i(n):i);o("?"+l,s)},[o,n]);return[n,a]}const Bl=Symbol(),dn=Symbol(),yt="a",Ma="f",ro="p",Na="c",Ia="t",yr="n",gr="g",fn="h",Et="w",hn="o",pn="k";let ql=(e,t)=>new Proxy(e,t);const jr=Object.getPrototypeOf,Hr=new WeakMap,Da=e=>e&&(Hr.has(e)?Hr.get(e):jr(e)===Object.prototype||jr(e)===Array.prototype),Kt=e=>typeof e=="object"&&e!==null,zl=e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(t=>!t.configurable&&!t.writable),$l=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(jr(e),t)},Kl=(e,t)=>{const r={[Ma]:t};let n=!1;const o=(s,l)=>{if(!n){let c=r[yt].get(e);if(c||(c={},r[yt].set(e,c)),s===Et)c[Et]=!0;else{let f=c[s];f||(f=new Set,c[s]=f),f.add(l)}}},a=()=>{n=!0,r[yt].delete(e)},i={get(s,l){return l===dn?e:(o(pn,l),ka(Reflect.get(s,l),r[yt],r[Na],r[Ia]))},has(s,l){return l===Bl?(a(),!0):(o(fn,l),Reflect.has(s,l))},getOwnPropertyDescriptor(s,l){return o(hn,l),Reflect.getOwnPropertyDescriptor(s,l)},ownKeys(s){return o(Et),Reflect.ownKeys(s)}};return t&&(i.set=i.deleteProperty=()=>!1),[i,r]},_n=e=>e[dn]||e,ka=(e,t,r,n)=>{if(!Da(e))return e;let o=n&&n.get(e);if(!o){const l=_n(e);zl(l)?o=[l,$l(l)]:o=[l],n==null||n.set(e,o)}const[a,i]=o;let s=r&&r.get(a);return(!s||s[1][Ma]!==!!i)&&(s=Kl(a,!!i),s[1][ro]=ql(i||a,s[0]),r&&r.set(a,s)),s[1][yt]=t,s[1][Na]=r,s[1][Ia]=n,s[1][ro]},Gl=(e,t)=>{const r=Reflect.ownKeys(e),n=Reflect.ownKeys(t);return r.length!==n.length||r.some((o,a)=>o!==n[a])},Ua=(e,t,r,n,o=Object.is)=>{if(o(e,t))return!1;if(!Kt(e)||!Kt(t))return!0;const a=r.get(_n(e));if(!a)return!0;if(n){const s=n.get(e);if(s&&s[yr]===t)return s[gr];n.set(e,{[yr]:t,[gr]:!1})}let i=null;try{for(const s of a[fn]||[])if(i=Reflect.has(e,s)!==Reflect.has(t,s),i)return i;if(a[Et]===!0){if(i=Gl(e,t),i)return i}else for(const s of a[hn]||[]){const l=!!Reflect.getOwnPropertyDescriptor(e,s),c=!!Reflect.getOwnPropertyDescriptor(t,s);if(i=l!==c,i)return i}for(const s of a[pn]||[])if(i=Ua(e[s],t[s],r,n,o),i)return i;return i===null&&(i=!0),i}finally{n&&n.set(e,{[yr]:t,[gr]:i})}};const Vl=e=>Da(e)&&e[dn]||null,no=(e,t=!0)=>{Hr.set(e,t)},Wl=(e,t,r)=>{const n=[],o=new WeakSet,a=(i,s)=>{var l,c,f;if(o.has(i))return;Kt(i)&&o.add(i);const u=Kt(i)&&t.get(_n(i));if(u){if((l=u[fn])===null||l===void 0||l.forEach(h=>{const d=`:has(${String(h)})`;n.push(s?[...s,d]:[d])}),u[Et]===!0){const h=":ownKeys";n.push(s?[...s,h]:[h])}else(c=u[hn])===null||c===void 0||c.forEach(h=>{const d=`:hasOwn(${String(h)})`;n.push(s?[...s,d]:[d])});(f=u[pn])===null||f===void 0||f.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 Gt={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_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},mn=e=>typeof e=="object"&&e!==null,Yl=e=>mn(e)&&!yn.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),Jl=(e,t)=>{const r=oo.get(e);if((r==null?void 0:r[0])===t)return r[1];const n=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return no(n,!0),oo.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(yn.has(a))no(a,!1);else if(ze.has(a)){const[l,c]=ze.get(a);s.value=Fa(l,c())}Object.defineProperty(n,o,s)}),Object.preventExtensions(n)},Zl=(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),c=Reflect.get(o,a,s);if(l&&(ao(c,i)||Vt.has(i)&&ao(c,Vt.get(i))))return!0;r(a),mn(i)&&(i=Vl(i)||i);const f=!ze.has(i)&&Xl(i)?ja(i):i;return t(a,f),Reflect.set(o,a,f,s),n(["set",[a],i,c]),!0}}),ze=new WeakMap,yn=new WeakSet,oo=new WeakMap,Mt=[1,1],Vt=new WeakMap;let ao=Object.is,Ql=(e,t)=>new Proxy(e,t),Xl=Yl,Fa=Jl,eu=Zl;function ja(e={}){if(!mn(e))throw new Error("object required");const t=Vt.get(e);if(t)return t;let r=Mt[0];const n=new Set,o=(y,w=++Mt[0])=>{r!==w&&(r=w,n.forEach(S=>S(y,w)))};let a=Mt[1];const i=(y=++Mt[1])=>(a!==y&&!n.size&&(a=y,l.forEach(([w])=>{const S=w[1](y);S>r&&(r=S)})),r),s=y=>(w,S)=>{const x=[...w];x[1]=[y,...x[1]],o(x,S)},l=new Map,c=(y,w)=>{const S=!yn.has(w)&&ze.get(w);if(S){if((Gt?"production":void 0)!=="production"&&l.has(y))throw new Error("prop listener already exists");if(n.size){const x=S[2](s(y));l.set(y,[S,x])}else l.set(y,[S])}},f=y=>{var w;const S=l.get(y);S&&(l.delete(y),(w=S[1])==null||w.call(S))},u=y=>(n.add(y),n.size===1&&l.forEach(([S,x],H)=>{if((Gt?"production":void 0)!=="production"&&x)throw new Error("remove already exists");const J=S[2](s(H));l.set(H,[S,J])}),()=>{n.delete(y),n.size===0&&l.forEach(([S,x],H)=>{x&&(x(),l.set(H,[S]))})});let h=!0;const d=eu(()=>h,c,f,o),m=Ql(e,d);Vt.set(e,m);const b=[e,i,u];return ze.set(m,b),Reflect.ownKeys(e).forEach(y=>{const w=Object.getOwnPropertyDescriptor(e,y);"value"in w&&w.writable&&(m[y]=e[y])}),h=!1,m}function gn(e,t,r){const n=ze.get(e);(Gt?"production":void 0)!=="production"&&!n&&console.warn("Please use proxy object");let o;const a=[],i=n[2];let s=!1;const c=i(f=>{if(a.push(f),r){t(a.splice(0));return}o||(o=Promise.resolve().then(()=>{o=void 0,s&&t(a.splice(0))}))});return s=!0,()=>{s=!1,c()}}function Br(e){const t=ze.get(e);(Gt?"production":void 0)!=="production"&&!t&&console.warn("Please use proxy object");const[r,n]=t;return Fa(r,n())}const tu={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_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},ru=(e,t)=>{const r=De();Ve(()=>{r.current=Wl(e,t,!0)}),or(r.current)},nu=ru,ou=new WeakMap;function $d(e,t){const r=t==null?void 0:t.sync,n=be(()=>e&&new WeakMap,[e]),o=De();let a=!0;const i=ar(dt(l=>{const c=gn(e,l,r);return l(),c},[e,r]),()=>{const l=Br(e);try{if(!a&&o.current&&!Ua(o.current,l,n,new WeakMap))return o.current}catch{}return l},()=>Br(e));a=!1,Re(()=>{o.current=i}),(tu?"production":void 0)!=="production"&&nu(i,n);const s=be(()=>new WeakMap,[]);return ka(i,n,s,ou)}var au=0,Kd=Array.isArray;function Wt(e,t,r,n,o,a){t||(t={});var i,s,l=t;"ref"in t&&(i=t.ref,delete t.ref);var c={type:e,props:l,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--au,__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 j.vnode&&j.vnode(c),c}function iu(e,t){var r=Object.setPrototypeOf;r?r(e,t):e.__proto__=t}function su(e,t){t===void 0&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}var lu=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)}}(),pt=function(e){lu(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}),iu(a,o.prototype),su(a),a}return t}(Error);var Xe=null;typeof WebSocket<"u"?Xe=WebSocket:typeof MozWebSocket<"u"?Xe=MozWebSocket:typeof global<"u"?Xe=global.WebSocket||global.MozWebSocket:typeof window<"u"?Xe=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(Xe=self.WebSocket||self.MozWebSocket);const vn=Xe;function uu(){let e,t;const r=new Promise((...n)=>[e,t]=n);return Object.freeze({resolve:e,reject:t,promise:r})}function cu(e,t){const r=[],n=[],o=e((...f)=>{const u=n.shift();u?u.resolve({value:f,done:!1}):r.push(f)}),a=t==null?void 0:t.signal;let i=!1,s=null;const l=()=>{s=new Error("Abort Error")},c=()=>{o==null||o(),a==null||a.removeEventListener("abort",l)};return a==null||a.addEventListener("abort",l,{once:!0}),{async next(){const f=r.shift();if(f)return{value:f,done:!1};if(i)return{value:void 0,done:!0};if(s)return Promise.reject(s);const u=uu();return n.push(u),u.promise},async return(){i=!0,c();for(const f of n)f.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(f){return s=f,c(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}var qr=function(e,t){return qr=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])},qr(e,t)};function Ha(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");qr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ne=function(){return Ne=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},Ne.apply(this,arguments)};function Ba(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 qa(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 za(e,t){return function(r,n){t(r,n,e)}}function du(e,t,r,n,o,a){function i(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}for(var s=n.kind,l=s==="getter"?"get":s==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,f=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),u,h=!1,d=r.length-1;d>=0;d--){var m={};for(var b in n)m[b]=b==="access"?{}:n[b];for(var b in n.access)m.access[b]=n.access[b];m.addInitializer=function(w){if(h)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(w||null))};var y=(0,r[d])(s==="accessor"?{get:f.get,set:f.set}:f[l],m);if(s==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(u=i(y.get))&&(f.get=u),(u=i(y.set))&&(f.set=u),(u=i(y.init))&&o.unshift(u)}else(u=i(y))&&(s==="field"?o.unshift(u):f[l]=u)}c&&Object.defineProperty(c,n.name,f),h=!0}function fu(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 hu(e){return typeof e=="symbol"?e:"".concat(e)}function pu(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 $a(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Ka(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(f){try{c(n.next(f))}catch(u){i(u)}}function l(f){try{c(n.throw(f))}catch(u){i(u)}}function c(f){f.done?a(f.value):o(f.value).then(s,l)}c((n=n.apply(e,t||[])).next())})}function Ga(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(c){return function(f){return l([c,f])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(r=0)),r;)try{if(n=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;switch(o=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,o=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(f){c=[6,f],o=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var lr=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 Va(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&lr(t,e,r)}function Yt(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 wn(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 Wa(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(wn(arguments[t]));return e}function Ya(){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 ut(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 ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function Ja(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(d){return function(m){return Promise.resolve(m).then(d,u)}}function s(d,m){n[d]&&(o[d]=function(b){return new Promise(function(y,w){a.push([d,b,y,w])>1||l(d,b)})},m&&(o[d]=m(o[d])))}function l(d,m){try{c(n[d](m))}catch(b){h(a[0][3],b)}}function c(d){d.value instanceof ct?Promise.resolve(d.value.v).then(f,u):h(a[0][2],d)}function f(d){l("next",d)}function u(d){l("throw",d)}function h(d,m){d(m),a.shift(),a.length&&l(a[0][0],a[0][1])}}function Za(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:ct(e[o](i)),done:!1}:a?a(i):i}:a}}function Qa(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 Yt=="function"?Yt(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(c){a({value:c,done:s})},i)}}function Xa(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var _u=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function ei(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&lr(t,e,r);return _u(t,e),t}function ti(e){return e&&e.__esModule?e:{default:e}}function ri(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 ni(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 oi(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 ai(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 mu=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 ii(e){function t(a){e.error=e.hasError?new mu(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()}const yu={__extends:Ha,__assign:Ne,__rest:Ba,__decorate:qa,__param:za,__metadata:$a,__awaiter:Ka,__generator:Ga,__createBinding:lr,__exportStar:Va,__values:Yt,__read:wn,__spread:Wa,__spreadArrays:Ya,__spreadArray:ut,__await:ct,__asyncGenerator:Ja,__asyncDelegator:Za,__asyncValues:Qa,__makeTemplateObject:Xa,__importStar:ei,__importDefault:ti,__classPrivateFieldGet:ri,__classPrivateFieldSet:ni,__classPrivateFieldIn:oi,__addDisposableResource:ai,__disposeResources:ii},Gd=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:ai,get __assign(){return Ne},__asyncDelegator:Za,__asyncGenerator:Ja,__asyncValues:Qa,__await:ct,__awaiter:Ka,__classPrivateFieldGet:ri,__classPrivateFieldIn:oi,__classPrivateFieldSet:ni,__createBinding:lr,__decorate:qa,__disposeResources:ii,__esDecorate:du,__exportStar:Va,__extends:Ha,__generator:Ga,__importDefault:ti,__importStar:ei,__makeTemplateObject:Xa,__metadata:$a,__param:za,__propKey:hu,__read:wn,__rest:Ba,__runInitializers:fu,__setFunctionName:pu,__spread:Wa,__spreadArray:ut,__spreadArrays:Ya,__values:Yt,default:yu},Symbol.toStringTag,{value:"Module"}));function gu(e){return e.toLowerCase()}var vu=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],wu=/[^A-Z0-9]+/gi;function si(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?vu:r,o=t.stripRegexp,a=o===void 0?wu:o,i=t.transform,s=i===void 0?gu:i,l=t.delimiter,c=l===void 0?" ":l,f=io(io(e,n,"$1\0$2"),a,"\0"),u=0,h=f.length;f.charAt(u)==="\0";)u++;for(;f.charAt(h-1)==="\0";)h--;return f.slice(u,h).split("\0").map(s).join(c)}function io(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,o){return n.replace(o,r)},e)}function li(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function bu(e,t){return t===void 0&&(t={}),si(e,Ne({delimiter:"",transform:li},t))}function Eu(e,t){return t===0?e.toLowerCase():li(e,t)}function Su(e,t){return t===void 0&&(t={}),bu(e,Ne({transform:Eu},t))}function Cu(e,t){return t===void 0&&(t={}),si(e,Ne({delimiter:"."},t))}function bn(e,t){return t===void 0&&(t={}),Cu(e,Ne({delimiter:"_"},t))}class $e extends pt{}class so extends pt{constructor(t,r,n,o){super(t,o),this.contentType=r,this.data=n}}class ui extends pt{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 ci extends pt{}class lo extends pt{constructor(t,r){super(t,r),this.message=t}}function di(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 _e(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(f){try{c(n.next(f))}catch(u){i(u)}}function l(f){try{c(n.throw(f))}catch(u){i(u)}}function c(f){f.done?a(f.value):o(f.value).then(s,l)}c((n=n.apply(e,t||[])).next())})}function uo(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 ge(e){return this instanceof ge?(this.v=e,this):new ge(e)}function fi(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,a=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(h){n[h]&&(o[h]=function(d){return new Promise(function(m,b){a.push([h,d,m,b])>1||s(h,d)})})}function s(h,d){try{l(n[h](d))}catch(m){u(a[0][3],m)}}function l(h){h.value instanceof ge?Promise.resolve(h.value.v).then(c,f):u(a[0][2],h)}function c(h){s("next",h)}function f(h){s("throw",h)}function u(h,d){h(d),a.shift(),a.length&&s(a[0][0],a[0][1])}}function hi(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 uo=="function"?uo(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(c){a({value:c,done:s})},i)}}const pi=e=>new Promise(t=>setTimeout(()=>t(),e)),En=e=>typeof e=="object"&&e!==null&&e.constructor.name==="Object";function Au(){}class Pu extends pt{constructor(t,r){super(`Maximum number of attempts reached: ${t}`,r)}}class Ru{constructor(t={}){this.props=t,this.attempts=0}sleep(){return _e(this,void 0,void 0,function*(){if(this.attempts>=this.maxAttempts)throw new Pu(this.attempts);yield pi(this.timeout),this.attempts++})}clear(){this.attempts=0}get factor(){var t;return(t=this.props.factor)!==null&&t!==void 0?t:1e3}get base(){var t;return(t=this.props.base)!==null&&t!==void 0?t:2}get maxAttempts(){var t;return(t=this.props.maxAttempts)!==null&&t!==void 0?t:Number.POSITIVE_INFINITY}get timeout(){return this.factor*Math.pow(this.base,this.attempts)}}const Tu=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),resolve:e,reject:t}},Ou=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};class Jt{constructor(t,r,n,o,a="next"){this.http=t,this.nextPath=r,this.nextParams=n,this.meta=o,this.direction=a}next(){return _e(this,void 0,void 0,function*(){if(this.nextPath==null)return{done:!0,value:void 0};const t=yield this.http.request(Object.assign({method:"GET",path:this.nextPath,search:this.nextParams},this.meta)),r=this.getLink(t.headers.get("link"));return this.nextPath=r==null?void 0:r.pathname,this.nextParams=r==null?void 0:r.search.replace(/^\?/,""),{done:!1,value:yield t.data}})}return(t){return _e(this,void 0,void 0,function*(){return this.clear(),{done:!0,value:yield t}})}throw(t){return _e(this,void 0,void 0,function*(){throw this.clear(),t})}then(t=Promise.resolve.bind(Promise),r=Promise.reject.bind(Promise)){return this.next().then(n=>t(n.value),r)}values(){return this[Symbol.asyncIterator]()}getDirection(){return this.direction}setDirection(t){return new Jt(this.http,this.nextPath,this.nextParams,this.meta,t)}[Symbol.asyncIterator](){return this}getLink(t){if(t==null)return;const r=Ou(t).get(this.direction);if(r!=null)return new URL(r)}clear(){this.nextPath=void 0,this.nextParams=void 0}clone(){return new Jt(this.http,this.nextPath,this.nextParams,this.meta,this.direction)}}class Lu{constructor(t,r){this.http=t,this.hook=r}dispatch(t){this.hook!=null&&(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 Jt(this.http,t.path,t.data);break}}return r instanceof Promise?r.then(n=>{var o;return(o=this.hook)===null||o===void 0?void 0:o.afterDispatch(t,n)}):this.hook.afterDispatch(t,r)}}function xu(e){return e.readyState===vn.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 Mu(e){return e.readyState===vn.CLOSED?Promise.resolve():new Promise(t=>{const r=()=>{t()};e.addEventListener("error",r,{once:!0}),e.addEventListener("close",r,{once:!0})})}class Nu{constructor(t,r){this.props=t,this.logger=r,this.queue=[],this.closed=!1,this.initialized=!1,this.backoff=new Ru({maxAttempts:this.props.maxAttempts})}canAcquire(){return!this.closed}acquire(){return _e(this,void 0,void 0,function*(){if(this.init(),this.ws!=null)return this.ws;const t=Tu();return this.queue.push(t),yield t.promise})}close(){var t;this.closed=!0,(t=this.ws)===null||t===void 0||t.close(),this.backoff.clear();for(const{reject:r}of this.queue)r(new lo("WebSocket closed"));this.queue=[]}init(){return _e(this,void 0,void 0,function*(){var t,r,n,o,a,i;if(!this.initialized){for(this.initialized=!0;!this.closed;){(t=this.ws)===null||t===void 0||t.close();try{yield this.backoff.sleep()}catch{break}try{(r=this.logger)===null||r===void 0||r.log("info","Connecting to WebSocket...");{const s=(n=this.props.implementation)!==null&&n!==void 0?n:vn,l=new s(...this.props.constructorParameters);yield xu(l),this.ws=l}(o=this.logger)===null||o===void 0||o.log("info","Connected to WebSocket");for(const{resolve:s}of this.queue)s(this.ws);this.queue=[],yield Mu(this.ws),(a=this.logger)===null||a===void 0||a.log("info","WebSocket closed"),this.backoff.clear()}catch(s){(i=this.logger)===null||i===void 0||i.log("error","WebSocket error:",s)}}for(const{reject:s}of this.queue)s(new lo(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}})}}function Iu(e){return fi(this,arguments,function*(){var r,n,o,a;const i=h=>_e(this,void 0,void 0,function*(){if(l.return==null)throw new $e("events.return is undefined");yield l.return(h)}),s=h=>_e(this,void 0,void 0,function*(){if(l.return==null)throw new $e("events.return is undefined");yield l.return(h)}),l=cu(h=>(e.addEventListener("message",h),e.addEventListener("error",s),e.addEventListener("close",i),()=>{e.removeEventListener("message",h),e.removeEventListener("error",s),e.removeEventListener("close",i)}));try{for(var c=!0,f=hi(l),u;u=yield ge(f.next()),r=u.done,!r;c=!0){a=u.value,c=!1;const[h]=a;yield yield ge(h)}}catch(h){n={error:h}}finally{try{!c&&!r&&(o=f.return)&&(yield ge(o.call(f)))}finally{if(n)throw n.error}}})}class Du{constructor(t,r,n,o,a){this.connector=t,this.serializer=r,this.stream=n,this.logger=o,this.params=a}values(){return fi(this,arguments,function*(){var r,n,o,a,i,s,l;for((i=this.logger)===null||i===void 0||i.log("info","Subscribing to stream",this.stream);this.connector.canAcquire();){this.connection=yield ge(this.connector.acquire());const h=this.serializer.serialize("json",Object.assign({type:"subscribe",stream:this.stream},this.params));(s=this.logger)===null||s===void 0||s.log("debug","↑ WEBSOCKET",h),this.connection.send(h);const d=Iu(this.connection);try{for(var c=!0,f=(n=void 0,hi(d)),u;u=yield ge(f.next()),r=u.done,!r;c=!0){a=u.value,c=!1;const m=a,b=yield ge(this.parseMessage(m.data));this.test(b)&&((l=this.logger)===null||l===void 0||l.log("debug","↓ WEBSOCKET",b),yield yield ge(b))}}catch(m){n={error:m}}finally{try{!c&&!r&&(o=f.return)&&(yield ge(o.call(f)))}finally{if(n)throw n.error}}}})}unsubscribe(){if(this.connection==null)return;const t=this.serializer.serialize("json",Object.assign({type:"unsubscribe",stream:this.stream},this.params));this.connection.send(t)}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(t){var r;const n=(r=this.params)!==null&&r!==void 0?r:{},o=Object.values(n);return[this.stream,...o].every(i=>t.stream.includes(i))}parseMessage(t){return _e(this,void 0,void 0,function*(){const r=this.serializer.deserialize("json",t);if("error"in r)throw new $e(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 ku{constructor(t,r,n){this.connector=t,this.serializer=r,this.logger=n}dispatch(t){var r;if(t.type==="close")return this.connector.close(),{};if(t.type==="prepare")return this.connector.acquire();if(t.type!=="subscribe")throw new $e(`Unknown action type ${t.type}`);const n=(r=t.data)!==null&&r!==void 0?r:{},o=t.path.replace(/^\//,"").replaceAll("/",":");return new Du(this.connector,this.serializer,o,this.logger,Object.assign({},n))}[Symbol.dispose](){this.connector.close()}}const Pt=(e,t={})=>{const{context:r=[],applicable:n=!1}=t;let o={};const a={get:Fu(e,r)};return n&&(o=Au,a.apply=ju(e,r)),new Proxy(o,a)},Uu=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),Fu=(e,t)=>(r,n)=>{if(!(typeof n=="string"&&Uu.has(n))){if(n===Symbol.dispose)return e[Symbol.dispose];if(typeof n!="symbol")return n.startsWith("$")?Pt(e,{context:[...t,n],applicable:!0}):Pt(e,{context:[...t,bn(n)],applicable:!0})}},ju=(e,t)=>(r,n,o)=>{const a=t.pop();if(a==null)throw new Error("No action specified");if(a==="$select")return Pt(e,{context:[...t,...o],applicable:!0});const i="/"+t.join("/"),[s,l]=o;return e.dispatch({type:a,path:i,data:s,meta:l})};function _i(e){return["fetch","create","update","remove","list"].includes(e)}function Hu(e){if(_i(e))return e;switch(e){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function Bu(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"}function qu(e,t,r){return _e(this,void 0,void 0,function*(){let n;const o=AbortSignal.timeout(t);for(;n==null;){if(o.aborted)throw new ci(`Media processing timed out of ${t}ms`);try{yield pi(1e3);const a=yield r.get(`/api/v1/media/${e}`);a.url!=null&&(n=a)}catch(a){if(a instanceof ui&&a.statusCode===404)continue;throw a}}return n})}class zu{constructor(t,r=1e3*60){this.http=t,this.mediaTimeout=r}beforeDispatch(t){const r=Hu(t.type),n=_i(t.type)?t.path:t.path+"/"+bn(t.type),o=Bu(r,n),a=Object.assign(Object.assign({},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){var n;if(t.type==="create"&&t.path==="/api/v2/media"){const o=r;return En(t.data)&&((n=t.data)===null||n===void 0?void 0:n.skipPolling)===!0?o:qu(o.id,this.mediaTimeout,this.http)}return r}}const $u=e=>{const t=new AbortController;for(const r of e)r.addEventListener("abort",()=>t.abort(),{once:!0});return t.signal},Ku=([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 Gu{constructor(t,r){this.props=t,this.serializer=r}mergeRequestInitWithDefaults(t={}){const r=Object.assign({},this.props.requestInit);{const{headers:n,signal:o}=t,a=di(t,["headers","signal"]);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!=null&&(n.search=this.serializer.serialize("querystring",r)),n}mergeHeadersWithDefaults(t={}){var r,n;const o=Ku([(n=(r=this.props.requestInit)===null||r===void 0?void 0:r.headers)!==null&&n!==void 0?n:{},t]),a=new Headers(o);return this.props.accessToken&&a.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(a)}mergeAbortSignalWithDefaults(t){var r;const n=[];return this.props.timeout!=null&&n.push(AbortSignal.timeout(this.props.timeout)),!((r=this.props.requestInit)===null||r===void 0)&&r.signal&&n.push(this.props.requestInit.signal),t!=null&&n.push(t),n.length===1?n[0]:$u(n)}}class Vu{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 Wu{get(t,r,n={}){return this.request(Object.assign({method:"GET",path:t,search:r},n)).then(o=>o.data)}post(t,r,n={}){return this.request(Object.assign({method:"POST",path:t,body:r},n)).then(o=>o.data)}delete(t,r,n={}){return this.request(Object.assign({method:"DELETE",path:t,body:r},n)).then(o=>o.data)}put(t,r,n={}){return this.request(Object.assign({method:"PUT",path:t,body:r},n)).then(o=>o.data)}patch(t,r,n={}){return this.request(Object.assign({method:"PATCH",path:t,body:r},n)).then(o=>o.data)}}const co=e=>{var t;const r=(t=e.get("Content-Type"))===null||t===void 0?void 0:t.replace(/\s*;.*$/,"");if(typeof r=="string")switch(r){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class Yu extends Wu{constructor(t,r,n){super(),this.serializer=t,this.config=r,this.logger=n}request(t){return _e(this,void 0,void 0,function*(){var r,n,o,a,i;const s=this.createRequest(t);try{(r=this.logger)===null||r===void 0||r.log("info",`↑ ${s.method} ${s.url}`),(n=this.logger)===null||n===void 0||n.log("debug"," body",{encoding:t.encoding,body:t.body});const l=yield fetch(s);if(!l.ok)throw l;const c=yield l.text(),f=co(l.headers);if(f==null)throw new $e("The server returned data with an unknown encoding.");const u=this.serializer.deserialize(f,c);return(o=this.logger)===null||o===void 0||o.log("info",`↓ ${s.method} ${s.url}`),(a=this.logger)===null||a===void 0||a.log("debug"," body",c),{headers:l.headers,data:u}}catch(l){throw(i=this.logger)===null||i===void 0||i.log("debug","HTTP failed",l),yield this.createError(l)}})}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),c=this.config.mergeRequestInitWithDefaults(i),f=new Request(s,Object.assign({method:r,body:l},c));return typeof l=="string"&&a==="json"&&f.headers.set("Content-Type","application/json"),f}createError(t){return _e(this,void 0,void 0,function*(){if(t instanceof Response){const r=co(t.headers);if(r==null)throw new $e("The server returned data with an unknown encoding. The server may be down.");const n=this.serializer.deserialize(r,yield t.text()),{error:o,errorDescription:a,details:i}=n,s=di(n,["error","errorDescription","details"]);return new ui({statusCode:t.status,message:o,description:a,details:i,additionalProperties:s},{cause:t})}return t!=null&&t.name==="TimeoutError"?new ci("Request timed out",{cause:t}):t})}}class Ju{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 de=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class rt{constructor(t){this.level=t}satisfies(t){switch(t){case"debug":return!!(this.level&de.DEBUG);case"info":return!!(this.level&de.INFO);case"warn":return!!(this.level&de.WARN);case"error":return!!(this.level&de.ERROR)}}static from(t){switch(t){case"debug":return new rt(de.DEBUG|de.INFO|de.WARN|de.ERROR);case"info":return new rt(de.INFO|de.WARN|de.ERROR);case"warn":return new rt(de.WARN|de.ERROR);case"error":return new rt(de.ERROR)}}}const mi=e=>{const t=rt.from(e??"warn");return new Ju(t)},yi=e=>{const t=(r,n="")=>Array.isArray(r)?r.flatMap((o,a)=>t(o,n==""?a.toString():e.onArray(n,a))):En(r)?Object.entries(r).flatMap(([o,a])=>t(a,n===""?o:e.onObject(n,o))):[[n,r]];return t},Zu=e=>{const t=yi({onArray:(r,n)=>`${r}[${n}]`,onObject:(r,n)=>`${r}[${n}]`});return Object.fromEntries(t(e))},Qu=e=>yi({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)):En(e)?Object.fromEntries(Object.entries(e).map(([r,n])=>[t(r),zr(n,t)])):e,fo=(e,t)=>zr(e,n=>n.includes(":")||n.startsWith("_")?n:t(n));class gi{serialize(t,r){const n=fo(r,bn);switch(t){case"json":return JSON.stringify(n);case"multipart-form":{const o=new FormData;for(const[a,i]of Object.entries(Zu(n)))o.append(a,i);return o}case"querystring":return Qu(n);default:throw new $e(`Unknown content type ${t} to serialize.`)}}deserialize(t,r){switch(t){case"json":try{return fo(JSON.parse(r),Su)}catch{throw new so(`Malformed JSON ${r} returned from the server.`,t,r)}default:throw new so(`Unknown content type ${t} returned from the server.`,t,r)}}}const Xu=e=>{const t=new gi,r=new Gu(e,t),n=mi(e.log),o=new Yu(t,r,n),a=new zu(o),i=new Lu(o,a);return Pt(i,{context:["api"]})};function ec(e){const t=new gi,r=new Vu(e,t),n=mi(e.log),o=new Nu({constructorParameters:[r.resolvePath("/api/v1/streaming"),r.getProtocols()],implementation:e.implementation,maxAttempts:r.getMaxAttempts()},n),a=new ku(o,t,n);return Pt(a)}/*! js-cookie v3.0.5 | MIT */function Nt(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 tc={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 $r(e,t){function r(o,a,i){if(!(typeof document>"u")){i=Nt({},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("="),c=l.slice(1).join("=");try{var f=decodeURIComponent(l[0]);if(i[f]=e.read(c,f),o===f)break}catch{}}return o?i[o]:i}}return Object.create({set:r,get:n,remove:function(o,a){r(o,"",Nt({},a,{expires:-1}))},withAttributes:function(o){return $r(this.converter,Nt({},this.attributes,o))},withConverter:function(o){return $r(Nt({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var rc=$r(tc,{path:"/"});function vi(e){const t=U.local.getJSON("accounts")||[];return e&&t.find(r=>r.info.id===e)||t[0]}function nc(e){return(U.local.getJSON("accounts")||[]).find(r=>r.accessToken===e)}function oc(e){return(U.local.getJSON("accounts")||[]).find(r=>r.instanceURL===e)}const wi=window.matchMedia("(display-mode: standalone)");function ac(){try{const e=U.session.get("currentAccount");if(e)return e}catch{}if(wi.matches)try{const e=U.local.get("currentAccount");if(e)return e}catch{}return null}function bi(e){try{U.session.set("currentAccount",e)}catch{}if(wi.matches)try{U.local.set("currentAccount",e)}catch{}}function ur(){window.__IGNORE_GET_ACCOUNT_ERROR__;const e=ac();return vi(e)}function vr(){const e=ur(),{instanceURL:t,info:{id:r}}=e;return`${r}@${t}`}function ic(e){const t=U.local.getJSON("accounts")||[],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):t.push(e),U.local.setJSON("accounts",t),bi(e.info.id)}function Vd(e){const t=U.local.getJSON("accounts")||[],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},U.local.setJSON("accounts",t))}let wr=null;function Ei(){if(wr)return wr;try{const e=ur(),t=U.local.getJSON("instances"),r=e.instanceURL.toLowerCase();return wr=t[r]}catch{return{}}}function sc(e){const{configuration:t,maxMediaAttachments:r,maxTootChars:n,pollLimits:o}=e,a=(t==null?void 0:t.statuses)||{};r&&(a.maxMediaAttachments??(a.maxMediaAttachments=r)),n&&(a.maxCharacters??(a.maxCharacters=n));const i=(t==null?void 0:t.polls)||{};return o&&(i.maxCharactersPerOption??(i.maxCharactersPerOption=o.maxOptionChars),i.maxExpiration??(i.maxExpiration=o.maxExpiration),i.maxOptions??(i.maxOptions=o.maxOptions),i.minExpiration??(i.minExpiration=o.minExpiration)),{...t,statuses:a,polls:i}}function lc(){const e=Ei();return sc(e)}function Wd(){var r,n,o;const e=lc();return((r=e==null?void 0:e.vapid)==null?void 0:r.publicKey)||((n=e==null?void 0:e.vapid)==null?void 0:n.public_key)||((o=ur())==null?void 0:o.vapidKey)}function Yd(){const e=Ei();return/pixelfed/i.test(e==null?void 0:e.version)}const br=rc.withAttributes({sameSite:"strict",secure:!0}),xe={get:e=>{try{return localStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(xe.get(e))}catch{return null}},set:(e,t)=>{try{return localStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return xe.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return localStorage.removeItem(e)}catch{return null}}},ot={get:e=>{try{return sessionStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(ot.get(e))}catch{return null}},set:(e,t)=>{try{return sessionStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return ot.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return sessionStorage.removeItem(e)}catch{return null}}},Ut={get:e=>br.get(e),set:(e,t)=>br.set(e,t),del:e=>br.remove(e)},uc={get:e=>navigator.cookieEnabled?Ut.get(e):ot.get(e),set:(e,t)=>navigator.cookieEnabled?Ut.set(e,t):ot.set(e,t),del:e=>navigator.cookieEnabled?Ut.del(e):ot.del(e)},cc={get:e=>{try{return xe.getJSON(e)[vr()]}catch{return null}},set:(e,t)=>{try{const r=xe.getJSON(e)||{};return r[vr()]=t,xe.setJSON(e,r)}catch{return null}},del:e=>{try{const t=xe.getJSON(e)||{};return delete t[vr()],xe.setJSON(e,t)}catch{return null}}},U={local:xe,session:ot,sessionCookie:uc,cookie:Ut,account:cc},Ft="mastodon.social",Zt={},fe={};window.__ACCOUNT_APIS__=fe;let re;function Le({instance:e,accessToken:t}){/^https?:\/\//.test(e)&&(e=e.replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase());const r=e?`https://${e}`:`https://${Ft}`,o={masto:Xu({url:r,accessToken:t,timeout:3e4}),instance:e,accessToken:t};return Zt[e]=o,fe[e]||(fe[e]={}),t&&(fe[e][t]=o),o}function Jd(e){return!!(U.local.getJSON("instances")||{})[e]}async function Zd(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,c=U.local.getJSON("instances")||{};if((a||s)&&(c[(s||a).replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase()]=o),t&&(c[t.toLowerCase()]=o),U.local.setJSON("instances",c),"WebSocket"in window&&(i||l)){const u=ec({streamingApiUrl:l||i,accessToken:n,implementation:WebSocket});e.streaming=u}__BENCHMARK.end("init-instance")}async function Qd(e,t,r,n){const{masto:o}=e,a=await o.v1.accounts.verifyCredentials();bi(a.id),ic({info:a,instanceURL:t.toLowerCase(),accessToken:r,vapidKey:n})}function Xd(){return!!U.account.get("preferences")}async function ef(e){try{const{masto:t}=e;__BENCHMARK.start("fetch-preferences");const r=await t.v1.preferences.fetch();__BENCHMARK.end("fetch-preferences"),U.account.set("preferences",r)}catch{}}function Qt({instance:e,accessToken:t,accountID:r,account:n}={}){var l,c,f,u,h;if(e&&(e=e.toLowerCase().trim()),e&&t){const d=((l=fe[e])==null?void 0:l[t])||Le({instance:e,accessToken:t}),{masto:m,streaming:b}=d;return{masto:m,streaming:b,client:d,authenticated:!0,instance:e}}if(t)for(const d in fe)if(fe[d][t]){const m=fe[d][t],{masto:b,streaming:y}=m;return{masto:b,streaming:y,client:m,authenticated:!0,instance:d}}else{const m=nc(t);if(m){const b=m.accessToken,y=m.instanceURL.toLowerCase().trim(),w=Le({instance:y,accessToken:b}),{masto:S,streaming:x}=w;return{masto:S,streaming:x,client:w,authenticated:!0,instance:y}}else throw new Error("Access token not found")}if(n||r)if(n=n||vi(r),n){const d=n.accessToken,m=n.instanceURL.toLowerCase().trim(),b=((c=fe[m])==null?void 0:c[d])||Le({instance:m,accessToken:d}),{masto:y,streaming:w}=b;return{masto:y,streaming:w,client:b,authenticated:!0,instance:m}}else throw new Error(`Account ${r} not found`);const o=ur();if(e){if((re==null?void 0:re.instance)===e)return{masto:re.masto,streaming:re.streaming,client:re,authenticated:!0,instance:e};if((o==null?void 0:o.instanceURL)===e){const{accessToken:S}=o;return re=((f=fe[e])==null?void 0:f[S])||Le({instance:e,accessToken:S}),{masto:re.masto,streaming:re.streaming,client:re,authenticated:!0,instance:e}}const d=oc(e);if(d){const S=d.accessToken,x=((u=fe[e])==null?void 0:u[S])||Le({instance:e,accessToken:S}),{masto:H,streaming:J}=x;return{masto:H,streaming:J,client:x,authenticated:!0,instance:e}}const m=Zt[e]||Le({instance:e}),{masto:b,streaming:y,accessToken:w}=m;return{masto:b,streaming:y,client:m,authenticated:!!w,instance:e}}if(re)return{masto:re.masto,streaming:re.streaming,client:re,authenticated:!0,instance:re.instance};if(o){const{accessToken:d,instanceURL:m}=o;return re=((h=fe[m])==null?void 0:h[d])||Le({instance:m,accessToken:d}),{masto:re.masto,streaming:re.streaming,client:re,authenticated:!0,instance:m}}const a=Zt[Ft]||Le({instance:Ft}),{masto:i,streaming:s}=a;return{masto:i,streaming:s,client:a,authenticated:!1,instance:Ft}}window.__API__={currentAccountApi:re,apis:Zt,accountApis:fe};var dc=Object.getOwnPropertyNames,fc=Object.getOwnPropertySymbols,hc=Object.prototype.hasOwnProperty;function ho(e,t){return function(n,o,a){return e(n,o,a)&&t(n,o,a)}}function It(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 po(e){return dc(e).concat(fc(e))}var Si=Object.hasOwn||function(e,t){return hc.call(e,t)};function _t(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var Ci="_owner",_o=Object.getOwnPropertyDescriptor,mo=Object.keys;function pc(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 _c(e,t){return _t(e.getTime(),t.getTime())}function yo(e,t,r){if(e.size!==t.size)return!1;for(var n={},o=e.entries(),a=0,i,s;(i=o.next())&&!i.done;){for(var l=t.entries(),c=!1,f=0;(s=l.next())&&!s.done;){var u=i.value,h=u[0],d=u[1],m=s.value,b=m[0],y=m[1];!c&&!n[f]&&(c=r.equals(h,b,a,f,e,t,r)&&r.equals(d,y,h,b,e,t,r))&&(n[f]=!0),f++}if(!c)return!1;a++}return!0}function mc(e,t,r){var n=mo(e),o=n.length;if(mo(t).length!==o)return!1;for(var a;o-- >0;)if(a=n[o],a===Ci&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!Si(t,a)||!r.equals(e[a],t[a],a,a,e,t,r))return!1;return!0}function mt(e,t,r){var n=po(e),o=n.length;if(po(t).length!==o)return!1;for(var a,i,s;o-- >0;)if(a=n[o],a===Ci&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!Si(t,a)||!r.equals(e[a],t[a],a,a,e,t,r)||(i=_o(e,a),s=_o(t,a),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function yc(e,t){return _t(e.valueOf(),t.valueOf())}function gc(e,t){return e.source===t.source&&e.flags===t.flags}function go(e,t,r){if(e.size!==t.size)return!1;for(var n={},o=e.values(),a,i;(a=o.next())&&!a.done;){for(var s=t.values(),l=!1,c=0;(i=s.next())&&!i.done;)!l&&!n[c]&&(l=r.equals(a.value,i.value,a.value,i.value,e,t,r))&&(n[c]=!0),c++;if(!l)return!1}return!0}function vc(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var wc="[object Arguments]",bc="[object Boolean]",Ec="[object Date]",Sc="[object Map]",Cc="[object Number]",Ac="[object Object]",Pc="[object RegExp]",Rc="[object Set]",Tc="[object String]",Oc=Array.isArray,vo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,wo=Object.assign,Lc=Object.prototype.toString.call.bind(Object.prototype.toString);function xc(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,o=e.areObjectsEqual,a=e.arePrimitiveWrappersEqual,i=e.areRegExpsEqual,s=e.areSetsEqual,l=e.areTypedArraysEqual;return function(f,u,h){if(f===u)return!0;if(f==null||u==null||typeof f!="object"||typeof u!="object")return f!==f&&u!==u;var d=f.constructor;if(d!==u.constructor)return!1;if(d===Object)return o(f,u,h);if(Oc(f))return t(f,u,h);if(vo!=null&&vo(f))return l(f,u,h);if(d===Date)return r(f,u,h);if(d===RegExp)return i(f,u,h);if(d===Map)return n(f,u,h);if(d===Set)return s(f,u,h);var m=Lc(f);return m===Ec?r(f,u,h):m===Pc?i(f,u,h):m===Sc?n(f,u,h):m===Rc?s(f,u,h):m===Ac?typeof f.then!="function"&&typeof u.then!="function"&&o(f,u,h):m===wc?o(f,u,h):m===bc||m===Cc||m===Tc?a(f,u,h):!1}}function Mc(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?mt:pc,areDatesEqual:_c,areMapsEqual:n?ho(yo,mt):yo,areObjectsEqual:n?mt:mc,arePrimitiveWrappersEqual:yc,areRegExpsEqual:gc,areSetsEqual:n?ho(go,mt):go,areTypedArraysEqual:n?mt:vc};if(r&&(o=wo({},o,r(o))),t){var a=It(o.areArraysEqual),i=It(o.areMapsEqual),s=It(o.areObjectsEqual),l=It(o.areSetsEqual);o=wo({},o,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:s,areSetsEqual:l})}return o}function Nc(e){return function(t,r,n,o,a,i,s){return e(t,r,s)}}function Ic(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,a=e.strict;if(n)return function(l,c){var f=n(),u=f.cache,h=u===void 0?t?new WeakMap:void 0:u,d=f.meta;return r(l,c,{cache:h,equals:o,meta:d,strict:a})};if(t)return function(l,c){return r(l,c,{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,c){return r(l,c,i)}}var Dc=ke(),tf=ke({strict:!0}),rf=ke({circular:!0}),nf=ke({circular:!0,strict:!0}),of=ke({createInternalComparator:function(){return _t}}),af=ke({strict:!0,createInternalComparator:function(){return _t}}),sf=ke({circular:!0,createInternalComparator:function(){return _t}}),lf=ke({circular:!0,createInternalComparator:function(){return _t},strict:!0});function ke(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=Mc(e),l=xc(s),c=n?n(l):Nc(l);return Ic({circular:r,comparator:l,createState:o,equals:c,strict:i})}function Ai(e,t,r,n){let o=e[t];return gn(e,()=>{const a=e[t];Object.is(o,a)||r(o=a)},n)}const uf=Symbol();const cf=Symbol();function kc(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)||n==="fed.brid.gy"&&t.startsWith("/r/http")||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(r)}catch{return!1}}var Xt={exports:{}},gt={exports:{}},df=gt.exports,bo;function Uc(){return bo||(bo=1,function(e,t){(function(r,n){e.exports=n()})(it,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(u){var h=u.length;return h?h===1?[u[0]]:h===2?[u[0],u[1]]:h===3?[u[0],u[1],u[2]]:n.call(u,0):[]}function a(u){var h={};for(var d in u)r[d]||(h[d]=u[d]);return h}function i(u){return typeof u=="function"&&u.isMemoized}function s(u,h){return u===h||u!==u&&h!==h}function l(u,h){var d={};for(var m in u)d[m]=u[m];for(var m in h)d[m]=h[m];return d}var c=function(){function u(h){this.keys=[],this.values=[],this.options=h;var d=typeof h.isMatchingKey=="function";d?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||d,this.shouldUpdateOnAdd=typeof h.onCacheAdd=="function",this.shouldUpdateOnChange=typeof h.onCacheChange=="function",this.shouldUpdateOnHit=typeof h.onCacheHit=="function"}return Object.defineProperty(u.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"snapshot",{get:function(){return{keys:o(this.keys),size:this.size,values:o(this.values)}},enumerable:!1,configurable:!0}),u.prototype._getKeyIndexFromMatchingKey=function(h){var d=this.options,m=d.isMatchingKey,b=d.maxSize,y=this.keys,w=y.length;if(!w)return-1;if(m(y[0],h))return 0;if(b>1){for(var S=1;S<w;S++)if(m(y[S],h))return S}return-1},u.prototype._getKeyIndexForMany=function(h){var d=this.options.isEqual,m=this.keys,b=m.length;if(!b)return-1;if(b===1)return this._getKeyIndexForSingle(h);var y=h.length,w,S;if(y>1){for(var x=0;x<b;x++)if(w=m[x],w.length===y){for(S=0;S<y&&d(w[S],h[S]);S++);if(S===y)return x}}else for(var x=0;x<b;x++)if(w=m[x],w.length===y&&d(w[0],h[0]))return x;return-1},u.prototype._getKeyIndexForSingle=function(h){var d=this.keys;if(!d.length)return-1;var m=d[0],b=m.length;if(h.length!==b)return-1;var y=this.options.isEqual;if(b>1){for(var w=0;w<b;w++)if(!y(m[w],h[w]))return-1;return 0}return y(m[0],h[0])?0:-1},u.prototype.orderByLru=function(h,d,m){for(var b=this.keys,y=this.values,w=b.length,S=m;S--;)b[S+1]=b[S],y[S+1]=y[S];b[0]=h,y[0]=d;var x=this.options.maxSize;w===x&&m===w?(b.pop(),y.pop()):m>=x&&(b.length=y.length=x)},u.prototype.updateAsyncCache=function(h){var d=this,m=this.options,b=m.onCacheChange,y=m.onCacheHit,w=this.keys[0],S=this.values[0];this.values[0]=S.then(function(x){return d.shouldUpdateOnHit&&y(d,d.options,h),d.shouldUpdateOnChange&&b(d,d.options,h),x},function(x){var H=d.getKeyIndex(w);throw H!==-1&&(d.keys.splice(H,1),d.values.splice(H,1)),x})},u}();function f(u,h){if(h===void 0&&(h={}),i(u))return f(u.fn,l(u.options,h));if(typeof u!="function")throw new TypeError("You must pass a function to `memoize`.");var d=h.isEqual,m=d===void 0?s:d,b=h.isMatchingKey,y=h.isPromise,w=y===void 0?!1:y,S=h.maxSize,x=S===void 0?1:S,H=h.onCacheAdd,J=h.onCacheChange,Z=h.onCacheHit,K=h.transformKey,se=l({isEqual:m,isMatchingKey:b,isPromise:w,maxSize:x,onCacheAdd:H,onCacheChange:J,onCacheHit:Z,transformKey:K},a(h)),Y=new c(se),X=Y.keys,p=Y.values,v=Y.canTransformKey,E=Y.shouldCloneArguments,C=Y.shouldUpdateOnAdd,A=Y.shouldUpdateOnChange,T=Y.shouldUpdateOnHit,P=function(){var D=E?o(arguments):arguments;v&&(D=K(D));var k=X.length?Y.getKeyIndex(D):-1;if(k!==-1)T&&Z(Y,se,P),k&&(Y.orderByLru(X[k],p[k],k),A&&J(Y,se,P));else{var I=u.apply(this,arguments),$=E?D:o(arguments);Y.orderByLru($,I,X.length),w&&Y.updateAsyncCache(P),C&&H(Y,se,P),A&&J(Y,se,P)}return p[0]};return P.cache=Y,P.fn=u,P.isMemoized=!0,P.options=se,P}return f})}(gt,gt.exports)),gt.exports}var vt={exports:{}},ff=vt.exports,Eo;function Fc(){return Eo||(Eo=1,function(e,t){(function(r,n){n(t)})(it,function(r){"use strict";var n=typeof WeakMap=="function",o=Object.keys;function a(p,v){return p===v||p!==p&&v!==v}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 c(){var p=[];return{delete:function(v){for(var E=0;E<p.length;++E)if(p[E][0]===v){p.splice(E,1);return}},get:function(v){for(var E=0;E<p.length;++E)if(p[E][0]===v)return p[E][1]},set:function(v,E){for(var C=0;C<p.length;++C)if(p[C][0]===v){p[C][1]=E;return}p.push([v,E])}}}var f=function(p){return p?function(){return new WeakMap}:c}(n);function u(p){return function(E){var C=p||E;return function(T,P,D,k,I,$,Q){Q===void 0&&(Q=f());var ue=!!T&&typeof T=="object",he=!!P&&typeof P=="object";if(ue!==he)return!1;if(!ue&&!he)return C(T,P,Q);var ye=Q.get(T);if(ye&&Q.get(P))return ye===P;Q.set(T,P),Q.set(P,T);var ce=C(T,P,Q);return Q.delete(T),Q.delete(P),ce}}}function h(p,v,E,C){var A=p.length;if(v.length!==A)return!1;for(;A-- >0;)if(!E(p[A],v[A],A,A,p,v,C))return!1;return!0}function d(p,v,E,C){var A=p.size===v.size;if(A&&p.size){var T={},P=0;p.forEach(function(D,k){if(A){var I=!1,$=0;v.forEach(function(Q,ue){!I&&!T[$]&&(I=E(k,ue,P,$,p,v,C)&&E(D,Q,k,ue,p,v,C),I&&(T[$]=!0)),$++}),P++,A=I}})}return A}var m="_owner",b=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function y(p,v,E,C){var A=o(p),T=A.length;if(o(v).length!==T)return!1;if(T)for(var P=void 0;T-- >0;){if(P=A[T],P===m){var D=l(p),k=l(v);if((D||k)&&D!==k)return!1}if(!b(v,P)||!E(p[P],v[P],P,P,p,v,C))return!1}return!0}var w=function(){return/foo/g.flags==="g"?function(v,E){return v.source===E.source&&v.flags===E.flags}:function(v,E){return v.source===E.source&&v.global===E.global&&v.ignoreCase===E.ignoreCase&&v.multiline===E.multiline&&v.unicode===E.unicode&&v.sticky===E.sticky&&v.lastIndex===E.lastIndex}}();function S(p,v,E,C){var A=p.size===v.size;if(A&&p.size){var T={};p.forEach(function(P,D){if(A){var k=!1,I=0;v.forEach(function($,Q){!k&&!T[I]&&(k=E(P,$,D,Q,p,v,C),k&&(T[I]=!0)),I++}),A=k}})}return A}var x=typeof Map=="function",H=typeof Set=="function",J=Object.prototype.valueOf;function Z(p){var v=typeof p=="function"?p(E):function(C,A,T,P,D,k,I){return E(C,A,I)};function E(C,A,T){if(C===A)return!0;if(C&&A&&typeof C=="object"&&typeof A=="object"){if(i(C)&&i(A))return y(C,A,v,T);var P=Array.isArray(C),D=Array.isArray(A);return P||D?P===D&&h(C,A,v,T):(P=C instanceof Date,D=A instanceof Date,P||D?P===D&&a(C.getTime(),A.getTime()):(P=C instanceof RegExp,D=A instanceof RegExp,P||D?P===D&&w(C,A):s(C)||s(A)?C===A:x&&(P=C instanceof Map,D=A instanceof Map,P||D)?P===D&&d(C,A,v,T):H&&(P=C instanceof Set,D=A instanceof Set,P||D)?P===D&&S(C,A,v,T):C.valueOf!==J||A.valueOf!==J?a(C.valueOf(),A.valueOf()):y(C,A,v,T)))}return C!==C&&A!==A}return E}var K=Z(),se=Z(function(){return a}),Y=Z(u()),X=Z(u(a));r.circularDeepEqual=Y,r.circularShallowEqual=X,r.createCustomEqual=Z,r.deepEqual=K,r.sameValueZeroEqual=a,r.shallowEqual=se,Object.defineProperty(r,"__esModule",{value:!0})})}(vt,vt.exports)),vt.exports}var hf=Xt.exports;(function(e,t){(function(r,n){e.exports=n(Uc(),Fc())})(it,function(r,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(_){for(var g=1;g<arguments.length;g++){var L=arguments[g];for(var R in L)Object.prototype.hasOwnProperty.call(L,R)&&(_[R]=L[R])}return _},o.apply(this,arguments)}function a(_,g){if(_==null)return{};var L={},R=Object.keys(_),M,O;for(O=0;O<R.length;O++)M=R[O],!(g.indexOf(M)>=0)&&(L[M]=_[M]);return L}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 _=arguments.length,g=new Array(_),L=0;L<_;L++)g[L]=arguments[L];return g.reduce(function(R,M){if(typeof R=="function")return typeof M=="function"?function(){R.apply(this,arguments),M.apply(this,arguments)}:R;if(typeof M=="function")return M})}function l(){for(var _=arguments.length,g=new Array(_),L=0;L<_;L++)g[L]=arguments[L];return g.reduce(function(R,M){if(typeof R=="function")return typeof M=="function"?function(){return R(M.apply(this,arguments))}:R;if(typeof M=="function")return M})}function c(_,g){for(var L=0;L<_.length;L++)if(_[L].key===g)return L;return-1}function f(_,g){var L=typeof g=="function"?g:function(R,M){for(var O=0;O<M.length;O++)if(!_(R[O],M[O]))return!1;return!0};return function(R,M){for(var O=0;O<R.length;O++)if(R[O].length===M.length&&L(R[O],M))return O;return-1}}function u(_,g){return!g||g===i?_:o({},_,g,{onCacheAdd:s(_.onCacheAdd,g.onCacheAdd),onCacheChange:s(_.onCacheChange,g.onCacheChange),onCacheHit:s(_.onCacheHit,g.onCacheHit),transformArgs:l(_.transformArgs,g.transformArgs)})}function h(_){return typeof _=="function"&&_.isMoized}function d(_,g,L){try{var R=L||g||"anonymous";Object.defineProperty(_,"name",{configurable:!0,enumerable:!1,value:"moized("+R+")",writable:!0})}catch{}}function m(_,g,L){var R=c(_,g);R!==-1&&(clearTimeout(_[R].timeoutId),L&&_.splice(R,1))}function b(_,g){var L=setTimeout(_,g);return typeof L.unref=="function"&&L.unref(),L}function y(_,g,L,R){var M=g.maxAge;return function O(N,B,te){var G=N.keys[0];if(c(_,G)===-1){var oe=function(){var we=f(L,R),Se=we(N.keys,G),Je=N.values[Se];~Se&&(N.keys.splice(Se,1),N.values.splice(Se,1),typeof g.onCacheChange=="function"&&g.onCacheChange(N,B,te)),m(_,G,!0),typeof g.onExpire=="function"&&g.onExpire(G)===!1&&(N.keys.unshift(G),N.values.unshift(Je),O(N,B,te),typeof g.onCacheChange=="function"&&g.onCacheChange(N,B,te))};_.push({expirationMethod:oe,key:G,timeoutId:b(oe,M)})}}}function w(_,g){return function(R){var M=R.keys[0],O=c(_,M);~O&&(m(_,M,!1),_[O].timeoutId=b(_[O].expirationMethod,g.maxAge))}}function S(_,g,L,R){var M=typeof g.maxAge=="number"&&isFinite(g.maxAge)?y(_,g,L,R):void 0;return{onCacheAdd:M,onCacheHit:M&&g.updateExpire?w(_,g):void 0}}var x={anonymousProfileNameCounter:1,isCollectingStats:!1,profiles:{}},H=!1;function J(_){_?delete x.profiles[_]:x.profiles={}}function Z(_){_===void 0&&(_=!0),x.isCollectingStats=_}function K(_){var g=_.profileName;return function(){g&&!x.profiles[g]&&(x.profiles[g]={calls:0,hits:0}),x.profiles[g].calls++}}function se(_){return function(){var g=x.profiles,L=_.profileName;g[L]||(g[L]={calls:0,hits:0}),g[L].calls++,g[L].hits++}}function Y(_){return _.displayName||_.name||"Anonymous "+x.anonymousProfileNameCounter++}function X(_,g){return _?(g/_*100).toFixed(4)+"%":"0.0000%"}function p(_){!x.isCollectingStats&&!H&&(console.warn('Stats are not currently being collected, please run "collectStats" to enable them.'),H=!0);var g=x.profiles;if(_){if(!g[_])return{calls:0,hits:0,usage:"0.0000%"};var L=g[_];return o({},L,{usage:X(L.calls,L.hits)})}var R=Object.keys(x.profiles).reduce(function(M,O){return M.calls+=g[O].calls,M.hits+=g[O].hits,M},{calls:0,hits:0});return o({},R,{profiles:Object.keys(g).reduce(function(M,O){return M[O]=p(O),M},{}),usage:X(R.calls,R.hits)})}function v(_){return x.isCollectingStats?{onCacheAdd:K(_),onCacheHit:se(_)}:{}}var E={arguments:!0,callee:!0,caller:!0,constructor:!0,length:!0,name:!0,prototype:!0};function C(_,g,L){L===void 0&&(L=[]),Object.getOwnPropertyNames(_).forEach(function(R){if(!E[R]&&L.indexOf(R)===-1){var M=Object.getOwnPropertyDescriptor(_,R);M.get||M.set?Object.defineProperty(g,R,M):g[R]=_[R]}})}function A(_,g){var L=g.expirations,R=_.options,M=f(R.isEqual,R.isMatchingKey),O=_;O.clear=function(){var N=O._microMemoizeOptions.onCacheChange,B=O.cache;return B.keys.length=0,B.values.length=0,N&&N(B,O.options,O),!0},O.clearStats=function(){J(O.options.profileName)},O.get=function(N){var B=O._microMemoizeOptions.transformKey,te=O.cache,G=B?B(N):N,oe=M(te.keys,G);return oe!==-1?O.apply(this,N):void 0},O.getStats=function(){return p(O.options.profileName)},O.has=function(N){var B=O._microMemoizeOptions.transformKey,te=B?B(N):N;return M(O.cache.keys,te)!==-1},O.keys=function(){return O.cacheSnapshot.keys},O.remove=function(N){var B=O._microMemoizeOptions,te=B.onCacheChange,G=B.transformKey,oe=O.cache,ve=M(oe.keys,G?G(N):N);if(ve===-1)return!1;var we=oe.keys[ve];return oe.keys.splice(ve,1),oe.values.splice(ve,1),te&&te(oe,O.options,O),m(L,we,!0),!0},O.set=function(N,B){var te=O._microMemoizeOptions,G=O.cache,oe=O.options,ve=te.onCacheAdd,we=te.onCacheChange,Se=te.transformKey,Je=Se?Se(N):N,Oe=M(G.keys,Je);if(Oe===-1){var Ze=oe.maxSize-1;G.size>Ze&&(G.keys.length=Ze,G.values.length=Ze),G.keys.unshift(Je),G.values.unshift(B),oe.isPromise&&G.updateAsyncCache(O),ve&&ve(G,oe,O),we&&we(G,oe,O)}else{var Tt=G.keys[Oe];G.values[Oe]=B,Oe>0&&G.orderByLru(Tt,B,Oe),oe.isPromise&&G.updateAsyncCache(O),typeof we=="function"&&we(G,oe,O)}},O.values=function(){return O.cacheSnapshot.values}}function T(_,g){var L=g.expirations,R=g.options,M=g.originalFunction,O=_.options;Object.defineProperties(_,{_microMemoizeOptions:{configurable:!0,get:function(){return O}},cacheSnapshot:{configurable:!0,get:function(){var te=_.cache;return{keys:te.keys.slice(0),size:te.size,values:te.values.slice(0)}}},expirations:{configurable:!0,get:function(){return L}},expirationsSnapshot:{configurable:!0,get:function(){return L.slice(0)}},isMoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return R}},originalFunction:{configurable:!0,get:function(){return M}}});var N=_;C(M,N)}function P(_,g){return A(_,g),T(_,g),_}var D=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function k(_,g,L){var R=_(o({maxArgs:2,isShallowEqual:!0},L,{isReact:!1}));g.displayName||(g.displayName=g.name||"Component");function M(O,N,B){this.props=O,this.context=N,this.updater=B,this.MoizedComponent=R(g)}return M.prototype.isReactComponent={},M.prototype.render=function(){return{$$typeof:D,type:this.MoizedComponent,props:this.props,ref:null,key:null,_owner:null}},C(g,M,["contextType","contextTypes"]),M.displayName="Moized("+(g.displayName||g.name||"Component")+")",d(M,g.name,L.profileName),M}function I(_){return function(g){if(_>=g.length)return g;if(_===0)return[];if(_===1)return[g[0]];if(_===2)return[g[0],g[1]];if(_===3)return[g[0],g[1],g[2]];for(var L=[],R=0;R<_;R++)L[R]=g[R];return L}}function $(_,g){for(var L=_.length,R=0;R<L;++R)if(_[R]===g)return R+1;return 0}function Q(){var _=[],g=[];return function(R,M){var O=typeof M;if(O==="function"||O==="symbol")return M.toString();if(typeof M=="object"){if(_.length){var N=$(_,this);N===0?_[_.length]=this:(_.splice(N),g.splice(N)),g[g.length]=R;var B=$(_,M);if(B!==0)return"[ref="+(g.slice(0,B).join(".")||".")+"]"}else _[0]=M,g[0]=R;return M}return""+M}}function ue(_){var g=typeof _;return _&&(g==="object"||g==="function")?JSON.stringify(_,Q()):_}function he(_){for(var g="|",L=0;L<_.length;L++)g+=ue(_[L])+"|";return[g]}function ye(_){return typeof _.serializer=="function"?_.serializer:he}function ce(_,g){return _[0]===g[0]}function Ee(_){if(typeof _=="function")return function(g,L,R){return _(R.cache,R.options,R)}}function Te(_){return _.matchesArg||_.isDeepEqual&&n.deepEqual||_.isShallowEqual&&n.shallowEqual||n.sameValueZeroEqual}function Ue(_){return _.matchesKey||_.isSerialized&&ce||void 0}function Ye(_){return l(_.isSerialized&&ye(_),typeof _.transformArgs=="function"&&_.transformArgs,typeof _.maxArgs=="number"&&I(_.maxArgs))}function cr(_){var g=_.options.updateCacheForKey,L=function(){for(var M=arguments.length,O=new Array(M),N=0;N<M;N++)O[N]=arguments[N];if(!g(O))return _.apply(this,O);var B=_.fn.apply(this,O);return _.set(O,B),B};return C(_,L),L}var Fi=["matchesArg","isDeepEqual","isPromise","isReact","isSerialized","isShallowEqual","matchesKey","maxAge","maxArgs","maxSize","onCacheAdd","onCacheChange","onCacheHit","onExpire","profileName","serializer","updateCacheForKey","transformArgs","updateExpire"],F=function _(g,L){var R=L||i;if(h(g)){var M=g.originalFunction,O=u(g.options,R);return _(M,O)}if(typeof g=="object")return function(dr,zi){if(typeof dr=="function"){var $i=u(g,zi);return _(dr,$i)}var Ki=u(g,dr);return _(Ki)};if(R.isReact)return k(_,g,R);var N=o({},i,R,{maxAge:typeof R.maxAge=="number"&&R.maxAge>=0?R.maxAge:i.maxAge,maxArgs:typeof R.maxArgs=="number"&&R.maxArgs>=0?R.maxArgs:i.maxArgs,maxSize:typeof R.maxSize=="number"&&R.maxSize>=0?R.maxSize:i.maxSize,profileName:R.profileName||Y(g)}),B=[];N.matchesArg,N.isDeepEqual;var te=N.isPromise;N.isReact,N.isSerialized,N.isShallowEqual,N.matchesKey,N.maxAge,N.maxArgs;var G=N.maxSize,oe=N.onCacheAdd,ve=N.onCacheChange,we=N.onCacheHit;N.onExpire,N.profileName,N.serializer;var Se=N.updateCacheForKey;N.transformArgs,N.updateExpire;var Je=a(N,Fi),Oe=Te(N),Ze=Ue(N),Tt=S(B,N,Oe,Ze),An=v(N),Hi=Ye(N),Bi=o({},Je,{isEqual:Oe,isMatchingKey:Ze,isPromise:te,maxSize:G,onCacheAdd:Ee(s(oe,Tt.onCacheAdd,An.onCacheAdd)),onCacheChange:Ee(ve),onCacheHit:Ee(s(we,Tt.onCacheHit,An.onCacheHit)),transformKey:Hi}),qi=r(g,Bi),Ot=P(qi,{expirations:B,options:N,originalFunction:g});return Se&&(Ot=cr(Ot)),d(Ot,g.name,R.profileName),Ot};F.clearStats=J,F.collectStats=Z,F.compose=function(){return l.apply(void 0,arguments)||F},F.deep=F({isDeepEqual:!0}),F.getStats=p,F.infinite=F({maxSize:1/0}),F.isCollectingStats=function(){return x.isCollectingStats},F.isMoized=function(g){return typeof g=="function"&&!!g.isMoized},F.matchesArg=function(_){return F({matchesArg:_})},F.matchesKey=function(_){return F({matchesKey:_})};function ji(_,g){if(g===!0)return F({maxAge:_,updateExpire:g});if(typeof g=="object"){var L=g.onExpire,R=g.updateExpire;return F({maxAge:_,onExpire:L,updateExpire:R})}return F(typeof g=="function"?{maxAge:_,onExpire:g,updateExpire:!0}:{maxAge:_})}return F.maxAge=ji,F.maxArgs=function(_){return F({maxArgs:_})},F.maxSize=function(_){return F({maxSize:_})},F.profile=function(_){return F({profileName:_})},F.promise=F({isPromise:!0,updateExpire:!0}),F.react=F({isReact:!0}),F.serialize=F({isSerialized:!0}),F.serializeWith=function(_){return F({isSerialized:!0,serializer:_})},F.shallow=F({isShallowEqual:!0}),F.transformArgs=function(_){return F({transformArgs:_})},F.updateCacheForKey=function(_){return F({updateCacheForKey:_})},Object.defineProperty(F,"default",{configurable:!1,enumerable:!1,value:F,writable:!1}),F})})(Xt,Xt.exports);var jc=Xt.exports;const Pi=Gi(jc);window._moize=Pi;function Ri(e,t={}){return Pi(e,{...t,maxSize:30,isDeepEqual:!0})}function Hc(e,t={}){return Ri(e,{isPromise:!0,...t})}function Bc(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))}}class qc extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}function zc({limit:e,interval:t,strict:r,onDelay:n}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const o=new Map;let a=0,i=0;function s(){const u=Date.now();return u-a>t?(i=1,a=u,0):(i<e?i++:(a+=t,i=1),a-u)}const l=[];function c(){const u=Date.now();if(l.length>0&&u-l.at(-1)>t&&(l.length=0),l.length<e)return l.push(u),0;const h=l[0]+t;return l.shift(),l.push(h),Math.max(0,h-u)}const f=r?c:s;return u=>{const h=function(...d){if(!h.isEnabled)return(async()=>u.apply(this,d))();let m;return new Promise((b,y)=>{const w=()=>{b(u.apply(this,d)),o.delete(m)},S=f();S>0?(m=setTimeout(w,S),o.set(m,y),n==null||n(...d)):w()})};return h.abort=()=>{for(const d of o.keys())clearTimeout(d),o.get(d)(new qc);o.clear(),l.splice(0,l.length)},h.isEnabled=!0,Object.defineProperty(h,"queueSize",{get(){return o.size}}),h}}const $c=zc({limit:1,interval:1e3}),So=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function Kc(e){var t;for(let r=0;r<So.length;r++){const n=(t=e.match(So[r]))==null?void 0:t[1];if(n)return n}return null}const Gc=/(twitter|github)\.com/i,Co={};function Vc(e,t){var m;const r=Br(er);if(Gc.test(t)||Co[t])return;if(new RegExp(e+"/").test((m=r.unfurledLinks[t])==null?void 0:m.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 c=Kc(l);if(c){const b=c,{masto:y}=Qt({instance:s});o=y.v1.statuses.$select(b).fetch().then(w=>{if(w!=null&&w.id)return{status:w,instance:s};throw new Error("No results")})}const{masto:f}=Qt({instance:e}),u=f.v2.search.fetch({q:a,type:"statuses",resolve:!0,limit:1}).then(b=>{const{statuses:y}=b;if(y.length>0){const w=y.filter(S=>{var x;return!((x=S.content)!=null&&x.toLowerCase().includes(a.toLowerCase()))});if(w.length===1)return{status:w[0],instance:e}}throw new Error("No results")});function h(b){const{status:y,instance:w}=b,{id:S}=y,x=`/${w}/s/${S}`,H={id:S,instance:w,url:x};return er.unfurledLinks[t]=H,Ti(y,w,{skipThreading:!0}),H}function d(b){Co[t]=!0}return o?Promise.race([u,new Promise((y,w)=>setTimeout(w,3e3))]).catch(()=>o.catch(()=>u)).then(h).catch(d):u.then(h).catch(d)}const Wc=$c(Vc),q=ja({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},spoilers:{},spoilersMedia:{},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,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,groupedNotificationsAlpha:!1}}),er=q;function pf(){q.notificationsLast=U.account.get("notificationsLast")||null,q.shortcuts=U.account.get("shortcuts")??[],q.settings.autoRefresh=U.account.get("settings-autoRefresh")??!1,q.settings.shortcutsViewMode=U.account.get("settings-shortcutsViewMode")??null,U.account.get("settings-shortcutsColumnsMode")&&(q.settings.shortcutsColumnsMode=!0),q.settings.boostsCarousel=U.account.get("settings-boostsCarousel")??!0,q.settings.contentTranslation=U.account.get("settings-contentTranslation")??!0,q.settings.contentTranslationTargetLanguage=U.account.get("settings-contentTranslationTargetLanguage")||null,q.settings.contentTranslationHideLanguages=U.account.get("settings-contentTranslationHideLanguages")||[],q.settings.contentTranslationAutoInline=U.account.get("settings-contentTranslationAutoInline")??!1,q.settings.shortcutSettingsCloudImportExport=U.account.get("settings-shortcutSettingsCloudImportExport")??!1,q.settings.mediaAltGenerator=U.account.get("settings-mediaAltGenerator")??!1,q.settings.composerGIFPicker=U.account.get("settings-composerGIFPicker")??!1,q.settings.cloakMode=U.account.get("settings-cloakMode")??!1,q.settings.groupedNotificationsAlpha=U.account.get("settings-groupedNotificationsAlpha")??!1}Ai(q,"notificationsLast",e=>{U.account.set("notificationsLast",q.notificationsLast)});gn(q,e=>{for(const[t,r,n,o]of e)r.join(".")==="settings.autoRefresh"&&U.account.set("settings-autoRefresh",!!n),r.join(".")==="settings.boostsCarousel"&&U.account.set("settings-boostsCarousel",!!n),r.join(".")==="settings.shortcutsViewMode"&&U.account.set("settings-shortcutsViewMode",n),r.join(".")==="settings.contentTranslation"&&U.account.set("settings-contentTranslation",!!n),r.join(".")==="settings.contentTranslationAutoInline"&&U.account.set("settings-contentTranslationAutoInline",!!n),r.join(".")==="settings.shortcutSettingsCloudImportExport"&&U.account.set("settings-shortcutSettingsCloudImportExport",!!n),r.join(".")==="settings.contentTranslationTargetLanguage"&&U.account.set("settings-contentTranslationTargetLanguage",n),/^settings\.contentTranslationHideLanguages/i.test(r.join("."))&&U.account.set("settings-contentTranslationHideLanguages",q.settings.contentTranslationHideLanguages),r.join(".")==="settings.mediaAltGenerator"&&U.account.set("settings-mediaAltGenerator",!!n),r.join(".")==="settings.composerGIFPicker"&&U.account.set("settings-composerGIFPicker",!!n),(r==null?void 0:r[0])==="shortcuts"&&U.account.set("shortcuts",q.shortcuts),r.join(".")==="settings.cloakMode"&&U.account.set("settings-cloakMode",!!n),r.join(".")==="settings.groupedNotificationsAlpha"&&U.account.set("settings-groupedNotificationsAlpha",!!n)});function Be(e,t){if(e)return t?`${t}/${e}`:e}function Yc(e,t){if(t){const r=Be(e,t);return q.statuses[r]}return q.statuses[e]}function Ti(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=Yc(e.id,t);!n&&i||Dc(e,i)||(queueMicrotask(()=>{var l,c;const s=Be(e.id,t);if(i!=null&&i._pinned&&(e._pinned=i._pinned),q.statuses[s]=e,(l=e.reblog)!=null&&l.id){const f=Be(e.reblog.id,t);q.statuses[f]=e.reblog}if((c=e.quote)!=null&&c.id){const f=Be(e.quote.id,t);q.statuses[f]=e.quote,q.statusQuotes[s]=[{id:e.quote.id,instance:t}]}}),o||queueMicrotask(()=>{Zc(e.reblog||e,t)}),a||queueMicrotask(()=>{Qc(e.reblog||e,t)}))}function Jc(e,t){const{masto:r,instance:n}=Qt({instance:t});let o=0;async function a(i,s=0){const{inReplyToId:l,inReplyToAccountId:c}=i;if(!l||c!==i.account.id)return[i];if(l&&c!==i.account.id)throw"Not a thread";const f=Be(l,n);let u=q.statuses[f];if(!u){if(o++>3)throw"Too many fetches for thread";await new Promise(h=>setTimeout(h,500*o)),u=await Xc(l,r),Ti(u,n,{skipThreading:!0})}return[...await a(u,++s),i]}return a(e).then(i=>{i.length>1&&i.forEach((s,l)=>{const c=Be(s.id,n);q.statusThreadNumber[c]=l+1})}).catch(i=>{})}const Zc=Bc(Jc,100),Ao=document.createElement("div");function Qc(e,t){const{instance:r}=Qt(),n=e==null?void 0:e.content;if(/<a/i.test(n)){const a=Be(e==null?void 0:e.id,t);Ao.innerHTML=n,[...Ao.querySelectorAll("a[href]:not(.u-url):not(.mention):not(.hashtag)")].filter(s=>{const l=s.href;return!(l===e.url||l===e.uri)&&kc(l)}).forEach((s,l)=>{Wc(r,s.href).then(c=>{c&&a&&(c==null?void 0:c.id)!==e.id&&(Array.isArray(q.statusQuotes[a])||(q.statusQuotes[a]=[]),q.statusQuotes[a][l]||q.statusQuotes[a].splice(l,0,c))})})}}const Xc=Hc((e,t)=>t.v1.statuses.$select(e).fetch()),ed="modulepreload",td=function(e,t){return new URL(e,t).href},Po={},z=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(r.map(c=>{if(c=td(c,n),c in Po)return;Po[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!n)for(let m=i.length-1;m>=0;m--){const b=i[m];if(b.href===c&&(!f||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":ed,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((m,b)=>{d.addEventListener("load",m),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}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)})};function rd({abrupt:e,hidden:t,...r}){return Wt("span",{...r,class:`loader-container ${e?"abrupt":""} ${t?"hidden":""}`,children:Wt("span",{class:"loader"})})}const Sn=[{code:"ar-SA",nativeName:"العربية",name:"Arabic",completion:26},{code:"ca-ES",nativeName:"català",name:"Catalan",completion:100},{code:"cs-CZ",nativeName:"čeština",name:"Czech",completion:80},{code:"de-DE",nativeName:"Deutsch",name:"German",completion:96},{code:"eo-UY",nativeName:"Esperanto",name:"Esperanto",completion:100},{code:"es-ES",nativeName:"español",name:"Spanish",completion:100},{code:"eu-ES",nativeName:"euskara",name:"Basque",completion:100},{code:"fa-IR",nativeName:"فارسی",name:"Persian",completion:78},{code:"fi-FI",nativeName:"suomi",name:"Finnish",completion:100},{code:"fr-FR",nativeName:"français",name:"French",completion:99},{code:"gl-ES",nativeName:"galego",name:"Galician",completion:100},{code:"he-IL",nativeName:"עברית",name:"Hebrew",completion:12},{code:"it-IT",nativeName:"italiano",name:"Italian",completion:100},{code:"ja-JP",nativeName:"日本語",name:"Japanese",completion:52},{code:"kab",nativeName:"Taqbaylit",name:"Kabyle",completion:99},{code:"ko-KR",nativeName:"한국어",name:"Korean",completion:97},{code:"lt-LT",nativeName:"lietuvių",name:"Lithuanian",completion:97},{code:"nb-NO",nativeName:"norsk bokmål",name:"Norwegian Bokmål",completion:37},{code:"nl-NL",nativeName:"Nederlands",name:"Dutch",completion:83},{code:"pl-PL",nativeName:"polski",name:"Polish",completion:6},{code:"pt-BR",nativeName:"português",name:"Portuguese",completion:100},{code:"pt-PT",nativeName:"português",name:"Portuguese",completion:100},{code:"ru-RU",nativeName:"русский",name:"Russian",completion:100},{code:"th-TH",nativeName:"ไทย",name:"Thai",completion:3},{code:"uk-UA",nativeName:"українська",name:"Ukrainian",completion:26},{code:"zh-CN",nativeName:"简体中文",name:"Simplified Chinese",completion:100},{code:"zh-TW",nativeName:"繁體中文",name:"Traditional Chinese",completion:15}],Er={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_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},at="en",_f=Sn,Oi=50,Li=[at,...Sn.filter(({completion:e})=>e>=Oi).map(({code:e})=>e)],mf=Li;let tr=[];Er!=null&&Er.PHANPY_SHOW_DEV_LOCALES&&(tr=Sn.filter(({completion:e})=>e<Oi).map(({code:e})=>e),tr.push("pseudo-LOCALE"));const yf=tr,Ro=[...Li,...tr],nd=(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 od(e,t={useSessionStorage:!1}){return t.useSessionStorage?globalThis.sessionStorage.getItem(e):globalThis.localStorage.getItem(e)}function ad(e=globalThis.navigator){return e.language||e.userLanguage}function id(e){const t=/([^=?#&]+)=?([^&]*)/g,r={};let n;for(;n=t.exec(e);){const o=To(n[1]),a=To(n[2]);o===null||a===null||o in r||(r[o]=a)}return r}function To(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function sd(e,t=globalThis.location){if(!e)throw new Error("fromUrl parameter is required");return id(t.search)[e]||null}function ld(...e){for(let t=0;t<e.length;t++){const r=typeof e[t]=="function"?e[t]():e[t];if(r)return r}return null}const ud=/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,Oo=/^([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 qe{constructor(t){if(typeof t!="string")throw new TypeError("A string argument is expected");if(!Oo.test(t))throw new RangeError("A proper locale must be provided");this._locale=t}static _escapeRegExpPattern(t){return typeof t!="string"?t:t.replace(ud,"\\$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 c=this._escapeRegExpPattern(l);i(c)}),typeof r=="string"){const l=this._escapeRegExpPattern(r);i(l)}r||i("\\s");const s="("+o.join("|")+")";for(a=new RegExp(s,"g");t.match(a);)t=t.replace(a,"");return t}static _parseLocale(t){if(typeof t!="string")return;const r=Oo.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}=qe._parseLocale(this._locale);return r?qe._RTL_SCRIPTS.indexOf(r)>=0:qe._BIDI_RTL_LANGS.indexOf(t)>=0}get textInfo(){return{direction:this._isRtlLang()?"rtl":"ltr"}}}qe._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"];qe._BIDI_RTL_LANGS=["ae","aeb","ajt","apc","apd","ar","ara","arb","arc","arq","ars","ary","arz","ave","avl","bal","bcc","bej","bft","bgn","bqi","brh","cja","ckb","cld","dcc","dgl","div","drw","dv","fa","fas","fia","fub","gbz","gjk","gju","glk","grc","gwc","gwt","haz","he","heb","hnd","hno","iw","ji","kas","kby","khw","ks","kvx","kxp","kzh","lad","lah","lki","lrc","luz","mde","mfa","mki","mvy","myz","mzn","nqo","oru","ota","otk","oui","pal","pbu","per","pes","phl","phn","pnb","pra","prd","prs","ps","pus","rhg","rmt","scl","sd","sdh","shu","skr","smp","snd","sog","swb","syr","tnf","trw","ug","uig","ur","urd","wni","xco","xld","xmn","xmr","xna","xpr","xsa","ydd","yi","yid","zdj"];const xi=JSON.parse(`{"G2fuEb":"Locked","ajzDof":["Posts: ",["0"]],"f8bJ3C":["Last posted: ",["0"]],"9Vdq+j":"Automated","L8fEEm":"Group","7oRLbi":"Mutual","Yx0Ud8":"Requested","y6sq5j":"Following","p3UO/y":"Follows you","Mn1E9C":[["followersCount","plural",{"one":["#"," follower"],"other":["#"," followers"]}]],"QDEWii":"Verified","PCcEFZ":["Joined <0>",["0"],"</0>"],"9ZP9cc":"Forever","44hICK":"Unable to load account.","Aadw0+":"Go to account page","x5LEuB":"Followers","following.stats":"Following","+owNNn":"Posts","2FYpfJ":"More","C6cVP/":["<0>",["displayName"],"</0> has indicated that their new account is now:"],"zJoEwS":"Handle copied","BC0lSD":"Unable to copy handle","27x6gl":"Copy handle","Bz5hLl":"Go to original profile page","7WYl2I":"View profile image","ZNme5R":"View profile header","prdIOK":"In Memoriam","BRV/wh":"This user has chosen to not make this information available.","wiuWLe":[["0"]," original posts, ",["1"]," replies, ",["2"]," boosts"],"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"]}]]}]],"JvA7Mo":[["0","plural",{"one":"Last 1 post in the past year(s)","other":["Last ",["1"]," posts in the past year(s)"]}]],"HxF6Fk":"Original","N8UzTV":"Replies","puY2t0":"Boosts","vl3XTJ":"Post stats unavailable.","PjP87f":"View post stats","F3cM1G":["Last post: <0>",["0"],"</0>"],"+IJm1Z":"Muted","32TndD":"Blocked","zxFxcH":"Private note","3LkfZu":["Mention <0>@",["username"],"</0>"],"R8mSiS":"Translate bio","U+Gokq":"Edit private note","VcQzRi":"Add private note","jL3N0G":["Notifications enabled for @",["username"],"'s posts."],"WBugD/":["Notifications disabled for @",["username"],"'s posts."],"osJmEN":"Disable notifications","I92Z+b":"Enable notifications","0X2KC8":["Boosts from @",["username"]," enabled."],"cXWjH0":["Boosts from @",["username"]," disabled."],"GRUr8d":"Disable boosts","uREpT3":"Enable boosts","sJ2yQc":"Add/Remove from Lists","edWbV6":"Link copied","W1ewR0":"Unable to copy link","he3ygx":"Copy","TtG3Uh":"Sharing doesn't seem to work.","LFKLqp":"Share…","B4Xkly":["Unmuted @",["username"]],"Q/HUhC":["Unmute <0>@",["username"],"</0>"],"xhPEH3":["Mute <0>@",["username"],"</0>…"],"/plB9m":["Muted @",["username"]," for ",["0"]],"vWGBjT":["Unable to mute @",["username"]],"unyq2W":["Remove <0>@",["username"],"</0> from followers?"],"AgkcM/":["@",["username"]," removed from followers"],"VCZ0OT":"Remove follower…","aforS9":["Block <0>@",["username"],"</0>?"],"sI9N29":["Unblocked @",["username"]],"uYcYzu":["Blocked @",["username"]],"0tG4wG":["Unable to unblock @",["username"]],"pA+qEx":["Unable to block @",["username"]],"/3LJfX":["Unblock <0>@",["username"],"</0>"],"JRswkR":["Block <0>@",["username"],"</0>…"],"qTJgpR":["Report <0>@",["username"],"</0>…"],"9OpVZg":"Edit profile","e7qQIH":"Withdraw follow request?","eYsAQr":["Unfollow @",["0"],"?"],"HKrBPX":"Unfollow…","yTVtKs":"Withdraw…","MKEPCY":"Follow","yz7wBu":"Close","9groMz":"Translated Bio","7KnEYa":"Unable to remove from list.","Tba8uO":"Unable to add to list.","v/l5uA":"Unable to load lists.","/MJ7gZ":"No lists.","Sb2gYF":"New list","DYqYm5":["Private note about <0>@",["0"],"</0>"],"ot8LpF":"Unable to update private note.","dEgA5A":"Cancel","SrwrEj":"Save & close","FwMMx0":"Unable to update profile.","6YtxFj":"Name","E+oKCO":"Bio","T4I119":"Extra fields","87a/t/":"Label","4b3oEV":"Content","tfDRzk":"Save","silO9A":"username","rZgCpJ":"server domain name","oguMwa":"Cloak mode disabled","IXZLPs":"Cloak mode enabled","i0qMbr":"Home","QOhkyl":"Compose","hR9gtK":"You have unsaved changes. Discard this post?","rpXAF6":[["0","plural",{"one":["File ",["1"]," is not supported."],"other":["Files ",["2"]," are not supported."]}]],"ctFhjs":[["maxMediaAttachments","plural",{"one":"You can only attach up to 1 file.","other":["You can only attach up to ","#"," files."]}]],"JsU2En":"Pop out","3TSz9S":"Minimize","qiPXgY":"Looks like you closed the parent window.","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.","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?","/5ZKeE":"Pop in","Q1Huya":["Replying to @",["0"],"’s post (<0>",["1"],"</0>)"],"dwLCPZ":["Replying to @",["0"],"’s post"],"wKtOLH":"Editing source post","zhrMYj":"Poll must have at least 2 options","uNVxXX":"Some poll choices are empty","MQYucx":"Some media have no descriptions. Continue?","eIiurD":["Attachment #",["i"]," failed"],"gnKo7f":"Content warning","zKu2Aq":"Content warning or sensitive media","7d1a0d":"Public","d5zxa4":"Local","WDcQq9":"Unlisted","o34OrG":"Followers only","IV4QaU":"Private mention","Sjj+EN":"Post your reply","qzVesX":"Edit your post","owpNF1":"What are you doing?","jER18a":"Mark media as sensitive","cZJ92q":"Add poll","ggiJLM":"Add custom emoji","ImOQa9":"Reply","EkH9pt":"Update","GMe2XV":"Post","/Cw4Tx":"Downloading GIF…","VKDnAx":"Failed to download GIF","24misb":"More…","3wG7HI":"Uploaded","Lh8B0N":"Image description","mN4S+e":"Video description","ieZytw":"Audio description","d83/LB":["File size too large. Uploading might encounter issues. Try reduce the file size from ",["0"]," to ",["1"]," or lower."],"DuvOX/":["Dimension too large. Uploading might encounter issues. Try reduce dimension from ",["0"],"×",["1"],"px to ",["2"],"×",["3"],"px."],"S1fBwy":"Frame rate too high. Uploading might encounter issues.","t/YqKh":"Remove","SlfejT":"Error","oMslIB":"Edit image description","WZw+zB":"Edit video description","KMtgtM":"Edit audio description","8zsp51":"Generating description. Please wait…","wy0Iwj":["Failed to generate description: ",["0"]],"xhYfVj":"Failed to generate description","o5sTJw":"Generate description…","eNTGfp":["Failed to generate description",["0"]],"m+pAEQ":["(",["0"],") <0>— experimental</0>"],"DPfwMq":"Done","LDUSXg":["Choice ",["0"]],"T57mm9":"Multiple choices","lkz6PL":"Duration","CDpQAX":"Remove poll","eH1bqp":"Search accounts","m16xKo":"Add","AThL/k":"Error loading accounts","8i6Ueo":"Custom emojis","EarrCe":"Search emoji","Kzwsg2":"Error loading custom emojis","uabU9X":"Recently used","NuKR0h":"Others","iAB71E":[["0"]," more…"],"wxlF9B":"Search GIFs","c1Q/eU":"Powered by GIPHY","9KEidY":"Type to search GIFs","DHhJ7s":"Previous","hXzOVo":"Next","PbFw9n":"Error loading GIFs","krk5ws":"Unsent drafts","Ap/10+":"Looks like you have unsent drafts. Let's continue where you left off.","/W5yFF":"Delete this draft?","rEYoku":"Error deleting draft! Please try again.","Jb6/SB":"Delete…","tMwimH":"Error fetching reply-to status!","3IakFR":"Delete all drafts?","0J4sZq":"Error deleting drafts! Please try again.","hOg+Mt":"Delete all…","8iQ+jk":"No drafts found.","4WUbF1":"Poll","xYilR2":"Media","4/RpOy":"Open in new window","g3UF2V":"Accept","1t/NnN":"Reject","bzMKg7":"Accepted","ekCRTP":"Rejected","10OlfF":"Nothing to show","bPwFdf":"Accounts","uXRAkV":"Show more…","2EYeAZ":"The end.","77Emn0":"Keyboard shortcuts","ulXSNi":"Keyboard shortcuts help","Gy9P9T":"Next post","6XYpYY":"Previous post","DYowFe":"Skip carousel to next post","mzjGX4":"<0>Shift</0> + <1>j</1>","S5ez7Y":"Skip carousel to previous post","Fd8FaU":"<0>Shift</0> + <1>k</1>","VkLESX":"Load new posts","jsFF8C":"Open post details","80sOCm":"<0>Enter</0> or <1>o</1>","41gejM":"Expand content warning or<0/>toggle expanded/collapsed thread","jAj8rv":"Close post or dialogs","evz6c6":"<0>Esc</0> or <1>Backspace</1>","duF1lx":"Focus column in multi-column mode","nhpsIN":"<0>1</0> to <1>9</1>","AIa/f7":"Compose new post","snPx8X":"Compose new post (new window)","+Cxvld":"<0>Shift</0> + <1>c</1>","1pKapz":"Send post","py67WT":"<0>Ctrl</0> + <1>Enter</1> or <2>⌘</2> + <3>Enter</3>","A1taO8":"Search","KFs8c6":"Reply (new window)","XpQLJF":"<0>Shift</0> + <1>r</1>","cqi4Mx":"Like (favourite)","84WuL2":"<0>l</0> or <1>f</1>","kulphB":"Boost","yrz6Ck":"<0>Shift</0> + <1>b</1>","PZlHt8":"Bookmark","C7ujRh":"Toggle Cloak mode","v4TbMP":"<0>Shift</0> + <1>Alt</1> + <2>k</2>","tuhghE":"Edit list","R7ep1i":"Unable to edit list.","KPoj8w":"Unable to create list.","ei6pnR":"Show replies to list members","Mr53YX":"Show replies to people I follow","PM7llw":"Don't show replies","jxxYp0":"Hide posts on this list from Home/Following","hYgDIe":"Create","+kQ/cY":"Delete this list?","tqUaGL":"Unable to delete list.","5gfDMm":"Media description","pi8x/S":"Translate","yIBLq8":"Speak","5hXGws":"Open original media in new window","aDr7Vc":"Open original media","vFGLxm":"Attempting to describe image. Please wait…","zLz0mE":"Failed to describe image","6yILME":"Describe image…","ISg5SQ":"View post","FKojeB":"Sensitive media","7FGvtQ":["Filtered: ",["filterTitleStr"]],"03Qqf9":"Filtered","aTyHBW":"Post published. Check it out.","lZdBKl":"Reply posted. Check it out.","a5BN7l":"Post updated. Check it out.","zucql+":"Menu","Djbaby":"Reload page now to update?","95IFnD":"New update available…","following.title":"Following","xrl8fj":"Catch-up","/bZzdR":"Mentions","iDNBZe":"Notifications","isRobC":"New","vERlcd":"Profile","h16FyT":"Lists","BHWx+g":"All Lists","7Ff7ia":"Bookmarks","zZOZj7":"Likes","Xi1/bw":"Followed Hashtags","cSev+j":"Filters","sOKhEA":"Muted users","n1sANU":"Muted users…","nL8nlr":"Blocked users","r3RRWo":"Blocked users…","7e0O8Z":"Accounts…","sQia9P":"Log in","4/iCqx":"Trending","4ERYY7":"Federated","8Kudkr":"Shortcuts / Columns…","uVbUP8":"Settings…","5+87Pq":"Notification","k9N0Xk":"This notification is from your other account.","/WA/tl":"View all notifications","i5uN6K":[["account"]," reacted to your post with ",["emojiObject"]],"idiIxW":[["account"]," published a post."],"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."]}]]}]],"+71G9C":[["count","plural",{"1":[["account"]," followed you."],"other":["<0><1>",["0"],"</1> people</0> followed you."]}]],"eh6NHW":[["account"]," requested to follow you."],"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."]}]]}]],"kIlJaS":"A poll you have voted in or created has ended.","kpjzdN":"A poll you have created has ended.","moT7M8":"A poll you have voted in has ended.","uzt17m":"A post you interacted with has been edited.","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."]}]]}]],"fJCCpx":[["account"]," signed up."],"eNfCmq":[["account"]," reported ",["targetAccount"]],"Xl9v6+":["Lost connections with <0>",["name"],"</0>."],"YqffEv":"Moderation warning","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."],"Q3yArs":["An admin from <0>",["from"],"</0> has blocked <1>",["targetName"],"</1>. Affected followers: ",["followersCount"],", followings: ",["followingCount"],"."],"RQKWUa":["You have blocked <0>",["targetName"],"</0>. Removed followers: ",["followersCount"],", followings: ",["followingCount"],"."],"ipnHrn":"Your account has received a moderation warning.","jw0eSZ":"Your account has been disabled.","v9jO+F":"Some of your posts have been marked as sensitive.","raUMBQ":"Some of your posts have been deleted.","w2OpMr":"Your posts will be marked as sensitive from now on.","mlycBx":"Your account has been limited.","Fz4lZ1":"Your account has been suspended.","ODqZt1":["[Unknown notification type: ",["type"],"]"],"+XOeb+":"Boosted/Liked by…","LQFF6J":"Liked by…","phQpSa":"Boosted by…","Ih01jh":"Followed by…","YL6Y8P":"Learn more <0/>","8fZueG":"Read more →","IeO7us":"Voted","+syLpm":[["optionVotesCount","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"L96xSt":"Hide results","lQXQKs":"Vote","lCF0wC":"Refresh","zCjei3":"Show results","k7v0Rh":[["votesCount","plural",{"one":["<0>",["0"],"</0> vote"],"other":["<1>",["1"],"</1> votes"]}]],"jf1i1L":[["votersCount","plural",{"one":["<0>",["0"],"</0> voter"],"other":["<1>",["1"],"</1> voters"]}]],"5LwCCI":"Ended <0/>","237hSL":"Ended","ooHDPY":"Ending <0/>","O2tNG0":"Ending","NnRCUm":[["0"],"s"],"ZSWUwq":[["0"],"m"],"NSSJsj":[["0"],"h"],"t8dIOP":"Spam","csQin/":"Malicious links, fake engagement, or repetitive replies","IjKdHM":"Illegal","e6tGFu":"Violates the law of your or the server's country","KPFHM2":"Server rule violation","fpotTF":"Breaks specific server rules","iuLUuH":"Violation","/IX/7x":"Other","kxiG8g":"Issue doesn't fit other categories","muLhL3":"Report Post","ACul2G":["Report @",["username"]],"2WtL62":"Pending review","y3ou+8":"Post reported","R9kjEL":"Profile reported","+3FjPq":"Unable to report post","oEQq5w":"Unable to report profile","L9fUm+":"What's the issue with this post?","rSLkfe":"What's the issue with this profile?","ecVtjm":"Additional info","cyjS8M":["Forward to <0>",["domain"],"</0>"],"4cijjm":"Send Report","/BGBeF":["Muted ",["username"]],"v02K7/":["Unable to mute ",["username"]],"caeqw/":"Send Report <0>+ Mute profile</0>","kjUejn":["Blocked ",["username"]],"pMcdDp":["Unable to block ",["username"]],"JybQca":"Send Report <0>+ Block profile</0>","48oDit":[["query"]," <0>‒ accounts, hashtags & posts</0>"],"o1mMWT":["Posts with <0>",["query"],"</0>"],"YAZw8D":["Posts tagged with <0>#",["0"],"</0>"],"gEoOUj":["Look up <0>",["query"],"</0>"],"cDoNQr":["Accounts with <0>",["query"],"</0>"],"7ZJHdw":"Home / Following","tXgQpk":"Public (Local / Federated)","AeXO77":"Account","GP8RLS":"Hashtag","DUMt1y":"List ID","OgyJSr":"Local only","kyAi7k":"Instance","7defFj":"Optional, e.g. mastodon.social","dmloPh":"Search term","UHDQDE":"Optional, unless for multi-column mode","a6oTWs":"e.g. PixelArt (Max 5, space-separated)","eK4SL/":"Media only","CTqTgr":"Shortcuts","A1As8l":"beta","CIHAsy":"Specify a list of shortcuts that'll appear as:","qwdOim":"Floating button","UxBoCm":"Tab/Menu bar","uvDfdW":"Multi-column","5KJFnN":"Not available in current view mode","QyioBP":"Move up","3Ib6FN":"Move down","ePK91l":"Edit","3Xq4Zi":"Add more than one shortcut/column to make this work.","3xIN+E":"No columns yet. Tap on the Add column button.","vLxvHT":"No shortcuts yet. Tap on the Add shortcut button.","Fq4zw3":"Not sure what to add?<0/>Try adding <1>Home / Following and Notifications</1> first.","RqXfsz":["Max ",["SHORTCUTS_LIMIT"]," columns"],"EVRO/o":["Max ",["SHORTCUTS_LIMIT"]," shortcuts"],"bgVLbt":"Import/export","Vh3ADI":"Add column…","9tmn6W":"Add shortcut…","1qL+L+":"Specific list is optional. For multi-column mode, list is required, else the column will not be shown.","dmTmkQ":"For multi-column mode, search term is required, else the column will not be shown.","E8laYz":"Multiple hashtags are supported. Space-separated.","pe1jog":"Edit shortcut","Lsxpe5":"Add shortcut","cklVjM":"Timeline","2BBAbc":"List","OOa7/5":"Import/Export <0>Shortcuts</0>","l3s5ri":"Import","tBmklN":"Paste shortcuts here","HLqLGx":"Downloading saved shortcuts from instance server…","gCDfX+":"Unable to download shortcuts","B6cG3J":"Download shortcuts from instance server","o6sElH":"* Exists in current shortcuts","N4z4P/":"List may not work if it's from a different account.","ZhsPEb":"Invalid settings format","6MzUUU":"Append to current shortcuts?","nl8sCE":"Only shortcuts that don’t exist in current shortcuts will be appended.","o6L30P":"No new shortcuts to import","SBmqmC":["Shortcuts imported. Exceeded max ",["SHORTCUTS_LIMIT"],", so the rest are not imported."],"QO9uTx":"Shortcuts imported","c89gCv":"Import & append…","6ZjzWP":"Override current shortcuts?","DWumLi":"Import shortcuts?","uIp8WL":"or override…","Sjnlwj":"Import…","GS+Mus":"Export","cWtH+v":"Shortcuts copied","yUWyHa":"Unable to copy shortcuts","+Kq2vY":"Shortcut settings copied","tFvxZF":"Unable to copy shortcut settings","Z8lGw6":"Share","9ZYiLz":"Saving shortcuts to instance server…","5w02SH":"Shortcuts saved","aVsTYo":"Unable to save shortcuts","gWd6Cu":"Sync to instance server","IPXOXm":[["0","plural",{"one":["#"," character"],"other":["#"," characters"]}]],"e5E+WH":"Raw Shortcuts JSON","C4T6O/":"Import/export settings from/to instance server (Very experimental)","DlhB4J":"<0/> <1>boosted</1>","7jyUKe":"Sorry, your current logged-in instance can't interact with this post from another instance.","sZvpIt":["Unliked @",["0"],"'s post"],"yUngDO":["Liked @",["0"],"'s post"],"lWQguj":["Unbookmarked @",["0"],"'s post"],"Fb2K8h":["Bookmarked @",["0"],"'s post"],"QzzGsY":"Unboost","ZhhOwV":"Quote","MB+wJL":"Some media have no descriptions.","dBme/4":["Old post (<0>",["0"],"</0>)"],"bpDheH":["Unboosted @",["0"],"'s post"],"dbNZdP":["Boosted @",["0"],"'s post"],"PiVIlD":"Boost…","OcUmcH":"Unlike","W9FRBT":"Like","q8EQYI":"Unbookmark","8MkSAW":["View post by <0>@",["0"],"</0>"],"QL+7Jw":"Show Edit History","DuJJm9":["Edited: ",["editedDateText"]],"jdVwsS":"Embed post","Pm+5jw":"Conversation unmuted","ywB7JM":"Conversation muted","c6jxNY":"Unable to unmute conversation","8SN9kN":"Unable to mute conversation","i51zUR":"Unmute conversation","OiUYO5":"Mute conversation","Yx809+":"Post unpinned from profile","S6P6E+":"Post pinned to profile","A6cs15":"Unable to unpin post","vgUfWO":"Unable to pin post","XQMQZw":"Unpin from profile","lfHLsx":"Pin to profile","FbPNuJ":"Delete this post?","KiyvHV":"Post deleted","Yb6p2q":"Unable to delete post","7PQAMY":"Report post…","8ab1sR":"Liked","b7T5Zj":"Boosted","1C/9Sa":"Bookmarked","kNiQp6":"Pinned","vGjmyl":"Deleted","RXmXDR":[["repliesCount","plural",{"one":["#"," reply"],"other":["#"," replies"]}]],"lQ8zCz":["Thread",["0"]],"6lGV3K":"Show less","lqBX03":"Show content","9ZCilh":"Show media","MRZxAn":"Edited","VbyRUy":"Comments","4LHHK6":"More from <0/>","OKiofn":"Edit History","EANWES":"Failed to load history","Pwqkdw":"Loading…","GkS6YG":"HTML Code","bl7nrg":"HTML code copied","/KEBaP":"Unable to copy HTML code","/2mUza":"Media attachments:","AeM/di":"Account Emojis:","xiropL":"static URL","jzjjJh":"Emojis:","TnJgwX":"Notes:","0OHPem":"This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed.","AzZ5zv":"Polls are not interactive, becomes a list with vote counts.","NU7wa/":"Media attachments can be images, videos, audios or any file types.","R4PmPA":"Post could be edited or deleted later.","rdUucN":"Preview","j0kZfi":"Note: This preview is lightly styled.","zJyf/5":"<0/> <1/> boosted","2yr1/p":"New posts","KDw4GX":"Try again","NuqppG":[["0","plural",{"one":["#"," Boost"],"other":["#"," Boosts"]}]],"GlfmCu":"Pinned posts","e66y2Z":"Thread","sr6maL":["<0>Filtered</0>: <1>",["0"],"</1>"],"zVJKbG":["Auto-translated from ",["sourceLangText"]],"Zxkt/v":"Translating…","R20Yf9":["Translate from ",["sourceLangText"]," (auto-detected)"],"h8zDAI":["Translate from ",["sourceLangText"]],"Bze3gr":["Auto (",["0"],")"],"m5LihO":"Failed to translate","Txus+H":"Editing source status","03vjxE":["Replying to @",["0"]],"mBdQnV":"You may close this page now.","rf8fiC":"Close window","D3vX+9":"Login required.","iWpEwy":"Go home","/cKnpj":"Account posts","hS1Opy":[["accountDisplay"]," (+ Replies)"],"A/CX5F":[["accountDisplay"]," (- Boosts)"],"QQrO94":[["accountDisplay"]," (#",["tagged"],")"],"NoG5wD":[["accountDisplay"]," (Media)"],"8GjLvB":[["accountDisplay"]," (",["monthYear"],")"],"u8JHrO":"Clear filters","xCJdfg":"Clear","PIWNSQ":"Showing post with replies","5BFynH":"+ Replies","Qd13i0":"Showing posts without boosts","usxQx0":"- Boosts","rKpfPY":"Showing posts with media","L+HFfr":["Showing posts tagged with #",["0"]],"0WUFGD":["Showing posts in ",["0"]],"+k97fV":"Nothing to see here yet.","scd9lw":"Unable to load posts","FgdLx0":"Unable to fetch account info","/JFxxT":["Switch to account's instance ",["0"]],"HkuyOu":["Switch to my instance (<0>",["currentInstance"],"</0>)"],"HajiZl":"Month","Hp1l6f":"Current","ovBPCi":"Default","3t/Nrv":"Switch to this account","PZgZtY":"Switch in new tab/window","40z2Fm":"View profile…","PPcets":"Set as default","k08LxG":["Log out <0>@",["0"],"</0>?"],"CXk1bI":"Log out…","Is7/PB":"Add an existing account","52x24e":"Note: <0>Default</0> account will always be used for first load. Switched accounts will persist during the session.","8k2w6G":"No bookmarks yet. Go bookmark something!","UoL+FC":"Unable to load bookmarks.","Ov9hfp":"last 1 hour","tVE2wM":"last 2 hours","8+HOWa":"last 3 hours","1o+mEC":"last 4 hours","dZZ8oA":"last 5 hours","lpPucp":"last 6 hours","r9r5X6":"last 7 hours","I9uBFA":"last 8 hours","pBYFlb":"last 9 hours","wvL7OJ":"last 10 hours","7Vb+qD":"last 11 hours","VU1Pnd":"last 12 hours","vpc27K":"beyond 12 hours","lCLRBe":"Followed tags","zhrjek":"Groups","TLYeLT":["Showing ",["selectedFilterCategory","select",{"all":"all posts","original":"original posts","replies":"replies","boosts":"boosts","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":""}]],"wyL/3/":"Catch-up <0>beta</0>","c3XJ18":"Help","CxKPv6":"What is this?","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.","CeInO2":"Preview of Catch-up UI","2jI8hh":"Let's catch up","1RfGk7":"Let's catch up on the posts from your followings.","OOEonE":"Show me all posts from…","NMNiaO":"until the max","R0yu2l":"Catch up","AGyV7s":"Overlaps with your last catch-up","dDJEHI":["Until the last catch-up (",["0"],")"],"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.","Yfb9A8":"Previously…","S6XZwv":[["0","plural",{"one":["#"," post"],"other":["#"," posts"]}]],"D9CmP2":"Remove this catch-up?","sXmrl4":"Note: Only max 3 will be stored. The rest will be automatically removed.","rbUTzD":"Fetching posts…","q9urQO":"This might take a while.","I9EnzM":"Reset filters","EIZREX":"Top links","bfSr6z":["Shared by ",["0"]],"N40H+G":"All","HHtYi7":[["0","plural",{"one":["#"," author"],"other":["#"," authors"]}]],"f6Hub0":"Sort","mYGY3B":"Date","0tQ7AD":"Density","dpqPBg":"Authors","EdQY6l":"None","/dlmrZ":"Show all authors","eVosYr":"You don't have to read everything.","rhmyFK":"That's all.","0MgdN+":"Back to top","YmGrIy":"Links shared by followings, sorted by shared counts, boosts and likes.","coaNtr":"Sort: Density","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.","ScQBC/":"Group: Authors","srocAr":"Posts are grouped by authors, sorted by posts count per author.","f5dduh":"Next author","rj0vxZ":"Previous author","bUUv3P":"Scroll to top","suKjh3":["Filtered: ",["0"]],"PHIrMr":"No likes yet. Go like something!","khVljG":"Unable to load likes.","Buy2bt":"Home and lists","RO10dm":"Public timelines","EnJuK0":"Conversations","vrQQgz":"Profiles","qqeAJM":"Never","yFfBdX":"New filter","5vzJxv":[["0","plural",{"one":["#"," filter"],"other":["#"," filters"]}]],"qcAUwp":"Unable to load filters.","cWIHTt":"No filters yet.","vCSBPD":"Add filter","3mOee6":"Edit filter","H8RP+h":"Unable to edit filter","Fr0hAN":"Unable to create filter","MHrjPM":"Title","/7UQ7y":"Whole word","SYKm3p":"No keywords. Add one.","qn5Dbn":"Add keyword","1JZ175":[["0","plural",{"one":["#"," keyword"],"other":["#"," keywords"]}]],"uqf7Yq":"Filter from…","m0G499":"* Not implemented yet","ucJk3m":"Status: <0><1/></0>","BcNdg+":"Change expiry","agO/T/":"Expiry","blQMpa":"Filtered post will be…","jbreWy":"minimized","zNCBmf":"hidden","BPjyR2":"Delete this filter?","4Dh9J1":"Unable to delete filter.","M1RnFv":"Expired","urGtsw":"Expiring <0/>","O1Aswy":"Never expires","2S/uvJ":[["0","plural",{"one":["#"," hashtag"],"other":["#"," hashtags"]}]],"2AeREO":"Unable to load followed hashtags.","vKsGhk":"No hashtags followed yet.","nJEKbY":"Nothing to see here.","7QSeK6":"Unable to load posts.","kH0rA0":[["hashtagTitle"]," (Media only) on ",["instance"]],"IK0zKi":[["hashtagTitle"]," on ",["instance"]],"hHSI3w":[["hashtagTitle"]," (Media only)"],"+ZzjRY":[["hashtagTitle"]],"CNSLAW":"No one has posted anything with this tag yet.","yjj6Ll":"Unable to load posts with this tag","ctJi7k":["Unfollow #",["hashtag"],"?"],"doK/ij":["Unfollowed #",["hashtag"]],"R9+aEN":["Followed #",["hashtag"]],"HOSk7R":"Following…","VH+Tf9":"Unfeatured on profile","3OLv47":"Unable to unfeature on profile","9ra4hn":"Featured on profile","UlJ3QN":"Feature on profile","ouWc/D":[["TOTAL_TAGS_LIMIT","plural",{"other":["Max ","#"," tags"]}]],"cxL5F9":"Add hashtag","OISAkj":"Remove hashtag","XN1xAY":[["SHORTCUTS_LIMIT","plural",{"one":["Max ","#"," shortcut reached. Unable to add shortcut."],"other":["Max ","#"," shortcuts reached. Unable to add shortcut."]}]],"kfeQnS":"This shortcut already exists","MIhb91":"Hashtag shortcut added","i02Lq/":"Add to Shortcuts","2MQ2cd":"Enter a new instance e.g. \\"mastodon.social\\"","7WddtO":"Invalid instance","Sq04Yc":"Go to another instance…","iAzCp4":["Go to my instance (<0>",["currentInstance"],"</0>)"],"5GFQTh":"Unable to fetch notifications.","OdVhdR":"<0>New</0> <1>Follow Requests</1>","gukqfD":"See all","RTAr/z":"Resolving…","ufzZSJ":"Unable to resolve URL","KkDhfU":"Nothing yet.","hB02vO":"Manage members","j5n9Ry":["Remove <0>@",["0"],"</0> from list?"],"MWIaew":"Remove…","8prZNK":[["0","plural",{"one":["#"," list"],"other":["#"," lists"]}]],"IvPikw":"No lists yet.","ZP1FIA":"Failed to register application","u3gOdY":"instance domain","/OvbEC":"e.g. “mastodon.social”","rmBHZn":"Failed to log in. Please try again or try another instance.","2xahsi":["Continue with ",["selectedInstanceText"]],"xGVfLh":"Continue","LcOiWS":"Don't have an account? Create one!","2BApYc":"Private mentions","zwBp5t":"Private","03jFGT":"No one mentioned you :(","pqR9KF":"Unable to load mentions.","d+hDoa":"You don't follow","oAwuQj":"Who don't follow you","Srs8u7":"With a new account","IDC5Uw":"Who unsolicitedly private mention you","XMGM2e":"Who are limited by server moderators","a/+arl":"Notifications settings","Jy9RU/":"New notifications","0whvLM":[["0","plural",{"one":"Announcement","other":"Announcements"}]],"6Fs1Ba":"Follow requests","7dHKu4":[["0","plural",{"one":["#"," follow request"],"other":["#"," follow requests"]}]],"N3Bq0f":[["0","plural",{"one":["Filtered notifications from ","#"," person"],"other":["Filtered notifications from ","#"," people"]}]],"0udtPI":"Only mentions","ecUA8p":"Today","KS7iJH":"You're all caught up.","y/0uwd":"Yesterday","gjzl8E":"Unable to load notifications","4+7X9i":"Notifications settings updated","WrkPTf":"Filter out notifications from people:","o7J4JM":"Filter","gbbkE7":"Ignore","TbFrLc":["Updated <0>",["0"],"</0>"],"H0wUNM":["View notifications from <0>@",["0"],"</0>"],"MXOmPt":["Notifications from <0>@",["0"],"</0>"],"ZtBMwU":["Notifications from @",["0"]," will not be filtered from now on."],"S92JKG":"Unable to accept notification request","h7peZQ":"Allow","ibBDry":["Notifications from @",["0"]," will not show up in Filtered notifications from now on."],"S5aemF":"Unable to dismiss notification request","1QfxQT":"Dismiss","J6hrEy":"Dismissed","u96B/B":["Local timeline (",["instance"],")"],"PgVqvd":["Federated timeline (",["instance"],")"],"pJQgQV":"Local timeline","cg0I+x":"Federated timeline","BiZJ6G":"No one has posted anything yet.","dXMiUw":"Switch to Federated","t2B/we":"Switch to Local","6YeoAt":["Search: ",["q"]," (Posts)"],"fpgumQ":["Search: ",["q"]," (Accounts)"],"AuiMZZ":["Search: ",["q"]," (Hashtags)"],"wr3GZI":["Search: ",["q"]],"VwUsHI":"Hashtags","V1fa9u":"See more","BMmtZ8":"See more accounts","YYB61U":"No accounts found.","Nc/W5J":"See more hashtags","4MFM3P":"No hashtags found.","LYCgej":"See more posts","Hzi9AA":"No posts found.","fGn1Hk":"Enter your search term or paste a URL above to get started.","Tz0i8g":"Settings","aAIQg2":"Appearance","1njn7W":"Light","pvnfJD":"Dark","R9Khdg":"Auto","7r6sCa":"Text size","J6ypuD":"A","CeJHfb":"Display language","FFmj1D":"Volunteer translations","PcoS3v":"Posting","NAjVvt":"Default visibility","N2FcBE":"Synced","Oa+KBY":"Failed to update posting privacy","xlsg7n":["Synced to your instance server's settings. <0>Go to your instance (",["instance"],") for more settings.</0>"],"ivdhsq":"Experiments","0mC0SF":"Auto refresh timeline posts","TSbnoW":"Boosts carousel","0SdaOt":"Post translation","rJ8YHs":"Translate to","jNCSyx":["System language (",["systemTargetLanguageText"],")"],"cc0NrU":[["0","plural",{"0":"Hide \\"Translate\\" button for:","other":["Hide \\"Translate\\" button for (","#","):"]}]],"xpF+wU":"Note: This feature uses external translation services, powered by <0>Lingva API</0> & <1>Lingva Translate</1>.","gURvmk":"Auto inline translation","PbHARL":"Automatically show translation for posts in timeline. Only works for <0>short</0> posts without content warning, media and poll.","D7/2jB":"GIF Picker for composer","/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.","9q5uor":"Image description generator","faZ9RI":"Only for new images while composing new posts.","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.","aGziA/":"Server-side grouped notifications","X17jCM":"Alpha-stage feature. Potentially improved grouping window but basic grouping logic.","570qTm":"\\"Cloud\\" import/export for shortcuts settings","0tZAhT":"⚠️⚠️⚠️ Very experimental.<0/>Stored in your own profile’s notes. Profile (private) notes are mainly used for other profiles, and hidden for own profile.","fHf1v/":"Note: This feature uses currently-logged-in instance server API.","lxYe+I":"Cloak mode <0>(<1>Text</1> → <2>████</2>)</0>","T/hglb":"Replace text as blocks, useful when taking screenshots, for privacy reasons.","uyJsf6":"About","AZ2EoP":"<0>Built</0> by <1>@cheeaun</1>","O4cLCR":"Sponsor","Ng063n":"Donate","LcET2C":"Privacy Policy","pFnMHn":["<0>Site:</0> ",["0"]],"6KkH+2":["<0>Version:</0> <1/> ",["0"]],"PiPfua":"Version string copied","gdxreD":"Unable to copy version string","I6pdY3":"Failed to update subscription. Please try again.","q1zFd+":"Failed to remove subscription. Please try again.","WUHLnz":"Push Notifications (beta)","6LUsk7":"Push notifications are blocked. Please enable them in your browser settings.","qYNCa1":["Allow from <0>",["0"],"</0>"],"+niKJH":"anyone","x2NYtp":"people I follow","PBFNgg":"followers","aaJhcT":"Follows","wNExRS":"Polls","K/EtE6":"Post edits","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>.","z96cOX":"NOTE: Push notifications only work for <0>one account</0>.","post.title":"Post","Vyeh4F":"You're not logged in. Interactions (reply, boost, etc) are not possible.","j5roNG":["This post is from another instance (<0>",["instance"],"</0>). Interactions (reply, boost, etc) are not possible."],"DnepCE":["Error: ",["e"]],"ejAVrO":"Switch to my instance to enable interactions","HQJU6W":"Unable to load replies.","iH8pgl":"Back","NCy+Nw":"Go to main post","R8CUl0":[["0"]," posts above ‒ Go to top"],"+/xYEI":"Switch to Side Peek view","2LiWsE":"Switch to Full view","8r8KmB":"Show all sensitive content","Rsjgm0":"Experimental","9J6biQ":"Unable to switch","Kp9SAs":["Switch to post's instance (",["0"],")"],"lb07+k":"Switch to post's instance","JWxodU":"Unable to load post","DOQUen":[["0","plural",{"one":["#"," reply"],"other":["<0>",["1"],"</0> replies"]}]],"qSQQSe":[["totalComments","plural",{"one":["#"," comment"],"other":["<0>",["0"],"</0> comments"]}]],"ZlV82A":"View post with its replies","cI3UEs":["Trending (",["instance"],")"],"9veeTb":"Trending News","aavdrC":["By ",["0"]],"9Q/4xJ":"Back to showing trending posts","BATCqf":["Showing posts mentioning <0>",["0"],"</0>"],"Vosm4k":"Trending posts","6HA9+s":"No trending posts.","Ogtv0V":"A minimalistic opinionated Mastodon web client.","ZLoGls":"Log in with Mastodon","e+RpCP":"Sign up","fvAsUK":"Connect your existing Mastodon/Fediverse account.<0/>Your credentials are not stored on this server.","BskFI2":"<0>Built</0> by <1>@cheeaun</1>. <2>Privacy Policy</2>.","S5cYrQ":"Screenshot of Boosts Carousel","Tu+sCN":"Boosts Carousel","e2uVlo":"Visually separate original posts and re-shared posts (boosted posts).","CGQ27z":"Screenshot of nested comments thread","cYE45+":"Nested comments thread","Pc7QKh":"Effortlessly follow conversations. Semi-collapsible replies.","rnrM7k":"Screenshot of grouped notifications","4RRMre":"Grouped notifications","8GMtDr":"Similar notifications are grouped and collapsed to reduce clutter.","VLKtvP":"Screenshot of multi-column UI","pEkad9":"Single or multi-column","t7Py5R":"By default, single column for zen-mode seekers. Configurable multi-column for power users.","wOax6E":"Screenshot of multi-hashtag timeline with a form to add more hashtags","Wi1Ov0":"Multi-hashtag timeline","tS2i+h":"Up to 5 hashtags combined into a single timeline.","4S86wI":"Looks like your browser is blocking popups.","/4fHR1":"A draft post is currently minimized. Post or discard it before creating a new one.","vvl08N":"A post is currently open. Post or discard it before creating a new one."}`),cd=Object.freeze(Object.defineProperty({__proto__:null,messages:xi},Symbol.toStringTag,{value:"Module"}));function dd(e){return Intl.getCanonicalLocales(e)}var Sr={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"}}]}}},fd={"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"]},Cn=/-u(?:-[0-9a-z]{2,8})+/gi;function et(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var hd=838,Cr;function pd(){var e,t;if(!Cr){var r=(t=(e=Sr.supplemental.languageMatching["written-new"][0])===null||e===void 0?void 0:e.paradigmLocales)===null||t===void 0?void 0:t._locales.split(" "),n=Sr.supplemental.languageMatching["written-new"].slice(1,5),o=Sr.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"}},{});Cr={matches:a,matchVariables:n.reduce(function(i,s){var l=Object.keys(s)[0],c=s[l];return i[l.slice(1)]=c._value.split("+"),i},{}),paradigmLocales:ut(ut([],r,!0),r.map(function(i){return new Intl.Locale(i.replace(/_/g,"-")).maximize().toString()}),!0)}}return Cr}function Dt(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]!=="!",c=l?r[i.slice(1)]:r[i.slice(2)],f=c.map(function(u){return fd[u]||[u]}).reduce(function(u,h){return ut(ut([],u,!0),h,!0)},[]);s&&(s=f.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 Lo(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function Ar(e,t,r){for(var n=0,o=r.matches;n<o.length;n++){var a=o[n],i=Dt(e,a.desired,r.matchVariables)&&Dt(t,a.supported,r.matchVariables);if(!a.oneway&&!i&&(i=Dt(e,a.supported,r.matchVariables)&&Dt(t,a.desired,r.matchVariables)),i){var s=a.distance*10;return r.paradigmLocales.indexOf(Lo(e))>-1!=r.paradigmLocales.indexOf(Lo(t))>-1?s-1:s}}throw new Error("No matching distance found")}function _d(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=pd();return o.language!==a.language&&(i+=Ar({language:r.language,script:"",region:""},{language:n.language,script:"",region:""},s)),o.script!==a.script&&(i+=Ar({language:r.language,script:o.script,region:""},{language:n.language,script:o.script,region:""},s)),o.region!==a.region&&(i+=Ar(o,a,s)),i}function md(e,t,r){r===void 0&&(r=hd);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=_d(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 yd(e,t,r){var n,o,a=[],i=t.reduce(function(l,c){var f=c.replace(Cn,"");return a.push(f),l[f]=c,l},{}),s=md(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 Mi(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 gd(e,t,r){for(var n={locale:""},o=0,a=t;o<a.length;o++){var i=a[o],s=i.replace(Cn,""),l=Mi(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 vd(e,t){et(t.length===2,"key must have 2 elements");var r=e.length,n="-".concat(t,"-"),o=e.indexOf(n);if(o!==-1){for(var a=o+4,i=a,s=a,l=!1;!l;){var c=e.indexOf("-",s),f=void 0;c===-1?f=r-s:f=c-s,f===2?l=!0:c===-1?(i=r,l=!0):(i=c,s=c+1)}return e.slice(a,i)}if(n="-".concat(t),o=e.indexOf(n),o!==-1&&o+3===r)return""}function Ni(e,t,r,n,o,a){var i=r.localeMatcher,s;i==="lookup"?s=gd(Array.from(e),t,a):s=yd(Array.from(e),t,a);for(var l=s.locale,c={locale:"",dataLocale:l},f="-u",u=0,h=n;u<h.length;u++){var d=h[u];et(l in o,"Missing locale data for ".concat(l));var m=o[l];et(typeof m=="object"&&m!==null,"locale data ".concat(d," must be an object"));var b=m[d];et(Array.isArray(b),"keyLocaleData for ".concat(d," must be an array"));var y=b[0];et(typeof y=="string"||y===null,"value must be string or null but got ".concat(typeof y," in key ").concat(d));var w="";if(s.extension){var S=vd(s.extension,d);S!==void 0&&(S!==""?~b.indexOf(S)&&(y=S,w="-".concat(d,"-").concat(y)):~S.indexOf("true")&&(y="true",w="-".concat(d)))}if(d in r){var x=r[d];et(typeof x=="string"||typeof x>"u"||x===null,"optionsValue must be String, Undefined or Null"),~b.indexOf(x)&&x!==y&&(y=x,w="")}c[d]=y,f+=w}if(f.length>2){var H=l.indexOf("-x-");if(H===-1)l=l+f;else{var J=l.slice(0,H),Z=l.slice(H,l.length);l=J+f+Z}l=Intl.getCanonicalLocales(l)[0]}return c.locale=l,c}function wd(e,t){for(var r=[],n=0,o=t;n<o.length;n++){var a=o[n],i=a.replace(Cn,""),s=Mi(e,i);s&&r.push(s)}return r}function Ii(e,t,r,n){return Ni(t,dd(e),{localeMatcher:(n==null?void 0:n.algorithm)||"best fit"},[],{},function(){return r}).locale}const gf=Object.freeze(Object.defineProperty({__proto__:null,LookupSupportedLocales:wd,ResolveLocale:Ni,match:Ii},Symbol.toStringTag,{value:"Module"}));function bd(...e){try{return Ii(...e)}catch{return e[2]||!1}}const Ed=Ri(bd),Sd={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_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_DEFAULT_LANG:Cd}=Sd,Ad={};nt.load(at,xi);nt.on("change",()=>{const e=nt.locale;if(e){document.documentElement.lang=e;try{const{direction:t}=new qe(e).textInfo;document.documentElement.dir=t}catch{}}});async function Pd(e){if(!e||e===at)nt.activate(at);else try{const{messages:t}=await nd(Object.assign({"../locales/ar-SA.po":()=>z(()=>import("./locales/ar-SA-Uzlm3CnA.js"),[],import.meta.url),"../locales/ca-ES.po":()=>z(()=>import("./locales/ca-ES-5_SOnaYH.js"),[],import.meta.url),"../locales/cs-CZ.po":()=>z(()=>import("./locales/cs-CZ-2Py_5fQz.js"),[],import.meta.url),"../locales/de-DE.po":()=>z(()=>import("./locales/de-DE-bAVNgbg5.js"),[],import.meta.url),"../locales/en.po":()=>z(()=>Promise.resolve().then(()=>cd),void 0,import.meta.url),"../locales/eo-UY.po":()=>z(()=>import("./locales/eo-UY-r8Bn4Jz9.js"),[],import.meta.url),"../locales/es-ES.po":()=>z(()=>import("./locales/es-ES-PR1ILcci.js"),[],import.meta.url),"../locales/eu-ES.po":()=>z(()=>import("./locales/eu-ES-dWk2yKpU.js"),[],import.meta.url),"../locales/fa-IR.po":()=>z(()=>import("./locales/fa-IR-y1BJrbGe.js"),[],import.meta.url),"../locales/fi-FI.po":()=>z(()=>import("./locales/fi-FI-9IjbAn2c.js"),[],import.meta.url),"../locales/fr-FR.po":()=>z(()=>import("./locales/fr-FR-a8NEAH69.js"),[],import.meta.url),"../locales/gl-ES.po":()=>z(()=>import("./locales/gl-ES-_YsEArw9.js"),[],import.meta.url),"../locales/he-IL.po":()=>z(()=>import("./locales/he-IL-Uzlm3CnA.js"),[],import.meta.url),"../locales/it-IT.po":()=>z(()=>import("./locales/it-IT-_S6470dm.js"),[],import.meta.url),"../locales/ja-JP.po":()=>z(()=>import("./locales/ja-JP-WT2zE1dP.js"),[],import.meta.url),"../locales/kab.po":()=>z(()=>import("./locales/kab-lv33LHbV.js"),[],import.meta.url),"../locales/ko-KR.po":()=>z(()=>import("./locales/ko-KR-s2vFazcI.js"),[],import.meta.url),"../locales/lt-LT.po":()=>z(()=>import("./locales/lt-LT-gZhJ_llT.js"),[],import.meta.url),"../locales/nb-NO.po":()=>z(()=>import("./locales/nb-NO-Uzlm3CnA.js"),[],import.meta.url),"../locales/nl-NL.po":()=>z(()=>import("./locales/nl-NL-J2baItxn.js"),[],import.meta.url),"../locales/oc-FR.po":()=>z(()=>import("./locales/oc-FR-Uzlm3CnA.js"),[],import.meta.url),"../locales/pl-PL.po":()=>z(()=>import("./locales/pl-PL-Uzlm3CnA.js"),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>z(()=>import("./locales/pseudo-LOCALE-lLq1wKZc.js"),[],import.meta.url),"../locales/pt-BR.po":()=>z(()=>import("./locales/pt-BR-5SDHrTgX.js"),[],import.meta.url),"../locales/pt-PT.po":()=>z(()=>import("./locales/pt-PT-Udm3ESZ-.js"),[],import.meta.url),"../locales/ru-RU.po":()=>z(()=>import("./locales/ru-RU-E1hp90nG.js"),[],import.meta.url),"../locales/th-TH.po":()=>z(()=>import("./locales/th-TH-Uzlm3CnA.js"),[],import.meta.url),"../locales/uk-UA.po":()=>z(()=>import("./locales/uk-UA-Uzlm3CnA.js"),[],import.meta.url),"../locales/zh-CN.po":()=>z(()=>import("./locales/zh-CN-k1HE4cP0.js"),[],import.meta.url),"../locales/zh-TW.po":()=>z(()=>import("./locales/zh-TW-Uzlm3CnA.js"),[],import.meta.url)}),`../locales/${Ad[e]||e}.po`,3);nt.loadAndActivate({locale:e,messages:t})}catch{nt.activate(at)}}function vf(){const e=ld(sd("lang"),od("lang"),ad(),Cd,at),t=Ro.find(r=>r===e)||Ed(e,Ro);Pd(t)}var Di={};Object.defineProperty(Di,"__esModule",{value:!0});var Rd=Di.shouldPolyfill=Td;function Td(){return!Intl.Segmenter}const ki=!Rd();function Ui(){if(!ki)return z(()=>import("./polyfill-force-BFlUYQp5.js").then(e=>e.p),[],import.meta.url).catch(()=>{})}function Kr(){return z(()=>import("./compose-xua1VIA2.js"),__vite__mapDeps([0,1]),import.meta.url)}async function wf(){try{await Ui(),Kr()}catch{}}function bf(e){const[t,r]=Ge(null);return Ve(()=>{(async()=>{try{if(ki){const n=await Kr();r(n)}else{await Ui();const n=await Kr();r(n)}}catch{}})()},[]),t!=null&&t.default?Wt(t.default,{...e}):Wt(rd,{})}const Od={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_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_CLIENT_NAME:xo}=Od;function Ef(e,t){function r(){const{currentLocation:n}=er,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=>Dr(s,n)):t&&(i=Dr(t,n)),i&&(document.title=e?`${e} / ${xo}`:xo)}Re(()=>{const n=Ai(er,"currentLocation",r);return r(),n},[e,t])}export{Le as $,De as A,Ei as B,ea as C,at as D,Gi as E,gn as F,Tl as G,wf as H,bf as I,Be as J,nc as K,mf as L,ur as M,zd as N,Zr as O,ta as P,le as Q,Yd as R,jd as S,Id as T,Ef as U,Ri as V,Yc as W,Ai as X,Dr as Y,Zc as Z,Re as _,Qt as a,ef as a0,Zd as a1,Qd as a2,pf as a3,vi as a4,Xd as a5,Jd as a6,Hd as a7,Fl as a8,vf as a9,Ni as aA,wd as aB,gf as aC,lc as aD,Dc as aE,Nd as aa,qd as ab,At as ac,Ie as ad,it as ae,z as af,Pi as ag,ia as ah,ya as ai,ga as aj,pa as ak,gs as al,pe as am,V as an,zc as ao,Ha as ap,Ne as aq,Ko as ar,en as as,ne as at,kc as au,Wc as av,of as aw,Gd as ax,Ld as ay,ut as az,Ti as b,Wt as c,U as d,bi as e,me as f,ac as g,Ge as h,nt as i,Md as j,_f as k,be as l,Pd as m,yf as n,Wd as o,nr as p,cn as q,Hc as r,er as s,dt as t,$d as u,Vd as v,rd as w,vr as x,Ve as y,Ed as z};
|
||
//# sourceMappingURL=useTitle-B8ZF9tfB.js.map
|