const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./compose-BAFFp8_Z.js","./ScheduledAtField-CQDO0gVJ.js","./ScheduledAtField-CNGKEVMx.css","./compose-CY71FiAR.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();"AbortSignal"in window&&(AbortSignal.timeout=AbortSignal.timeout||(e=>{const t=new AbortController;return setTimeout(()=>t.abort(),e),t.signal}));"AbortSignal"in window&&!AbortSignal.any&&(AbortSignal.any=function(e){const t=new AbortController,{signal:r}=t;for(const n of e)if(n.aborted)return t.abort(n.reason),r;for(const n of e)n.addEventListener("abort",()=>{t.abort(n.reason)},{signal:r});return r});"URL"in window&&typeof URL.parse!="function"&&(URL.parse=function(e,t){if(!e)return null;try{return t?new URL(e,t):new URL(e)}catch{return null}});function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function sf(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Qe={},mt={},qt={exports:{}},us=qt.exports,kn;function cs(){return kn||(kn=1,function(e){(function(t,r){e.exports?e.exports=r():t.moo=r()})(us,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 u(p){if(!p.length)return"(?!)";var v=p.map(function(E){return"(?:"+E+")"}).join("|");return"(?:"+v+")"}function d(p){if(typeof p=="string")return"(?:"+i(p)+")";if(o(p)){if(p.ignoreCase)throw new Error("RegExp /i flag not allowed");if(p.global)throw new Error("RegExp /g flag is implied");if(p.sticky)throw new Error("RegExp /y flag is implied");if(p.multiline)throw new Error("RegExp /m flag is implied");return p.source}else throw new Error("Not a pattern: "+p)}function c(p,v){return p.length>v?p:Array(v-p.length+1).join(" ")+p}function h(p,v){for(var E=p.length,S=0;;){var C=p.lastIndexOf(` `,E-1);if(C===-1||(S++,E=C,S===v)||E===0)break}var T=S0)throw new Error("RegExp has capture groups: "+ue+` Use (?: … ) instead`);if(!N.lineBreaks&&ue.test(` `))throw new Error("Rule should declare lineBreaks: "+ue);I.push(l(me))}}var Pe=E&&E.fallback,Fe=n&&!Pe?"ym":"gm",Ye=n||Pe?"":"|";T===!0&&(Fe+="u");var hr=new RegExp(u(I)+Ye,Fe);return{regexp:hr,groups:P,fast:S,error:E||b}}function L(p){var v=A(g(p));return new G({start:v},"start")}function B(p,v,E){var S=p&&(p.push||p.next);if(S&&!E[S])throw new Error("Missing state '"+S+"' (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 Q(p,v){var E=p.$all?g(p.$all):[];delete p.$all;var S=Object.getOwnPropertyNames(p);v||(v=S[0]);for(var C=Object.create(null),T=0;T"'"},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)}(mt)),mt}var In;function fs(){if(In)return Qe;In=1,Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.ParseError=void 0,Qe.parse=l;const e=ds(),t=u=>({offset:u.offset,line:u.line,col:u.col,text:u.text,lineBreaks:u.lineBreaks}),r=u=>u==="plural"||u==="select"||u==="selectordinal";function n(u,d){let c="",h="";for(const m of d){const _=m.ctx.text;switch(h+=_,m.type){case"content":c+=m.value;break;case"argument":case"function":case"octothorpe":c+=_;break;default:throw new i(u,`Unsupported part in strict mode function arg style: ${_}`)}}return[{type:"content",value:c.trim(),ctx:Object.assign({},d[0].ctx,{text:h})}]}const o=["number","date","time","spellout","ordinal","duration"],a=["zero","one","two","few","many","other"];class i extends Error{constructor(d,c){super(e.lexer.formatError(d,c))}}Qe.ParseError=i;class s{constructor(d,c){var h,f,m,_;this.lexer=e.lexer.reset(d),this.cardinalKeys=(h=c?.cardinal)!==null&&h!==void 0?h:a,this.ordinalKeys=(f=c?.ordinal)!==null&&f!==void 0?f:a,this.strict=(m=c?.strict)!==null&&m!==void 0?m:!1,this.strictPluralKeys=(_=c?.strictPluralKeys)!==null&&_!==void 0?_:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(d,c,h){if(h[0]==="="){if(c==="select")throw new i(d,`The case ${h} is not valid with select`)}else if(c!=="select"){const f=c==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&f.length>0&&!f.includes(h)){const m=`The ${c} case ${h} is not valid in this locale`;throw new i(d,m)}}}parseSelect({value:d},c,h,f){const m={type:f,arg:d,cases:[],ctx:h};f==="plural"||f==="selectordinal"?c=!0:this.strict&&(c=!1);for(const _ of this.lexer)switch(_.type){case"offset":if(f==="select")throw new i(_,"Unexpected plural offset for select");if(m.cases.length>0)throw new i(_,"Plural offset must be set before cases");m.pluralOffset=Number(_.value),h.text+=_.text,h.lineBreaks+=_.lineBreaks;break;case"case":{this.checkSelectKey(_,f,_.value),m.cases.push({key:_.value,tokens:this.parseBody(c),ctx:t(_)});break}case"end":return m;default:throw new i(_,`Unexpected lexer token: ${_.type}`)}throw new i(null,"Unexpected message end")}parseArgToken(d,c){const h=t(d),f=this.lexer.next();if(!f)throw new i(null,"Unexpected message end");if(h.text+=f.text,h.lineBreaks+=f.lineBreaks,this.strict&&(f.type==="func-simple"||f.type==="func-args")&&!o.includes(f.value)){const m=`Invalid strict mode function arg type: ${f.value}`;throw new i(d,m)}switch(f.type){case"end":return{type:"argument",arg:d.value,ctx:h};case"func-simple":{const m=this.lexer.next();if(!m)throw new i(null,"Unexpected message end");if(m.type!=="end")throw new i(m,`Unexpected lexer token: ${m.type}`);if(h.text+=m.text,r(f.value.toLowerCase()))throw new i(f,`Invalid type identifier: ${f.value}`);return{type:"function",arg:d.value,key:f.value,ctx:h}}case"func-args":{if(r(f.value.toLowerCase())){const _=`Invalid type identifier: ${f.value}`;throw new i(f,_)}let m=this.parseBody(this.strict?!1:c);return this.strict&&m.length>0&&(m=n(d,m)),{type:"function",arg:d.value,key:f.value,param:m,ctx:h}}case"select":if(r(f.value))return this.parseSelect(d,c,h,f.value);throw new i(f,`Unexpected select type ${f.value}`);default:throw new i(f,`Unexpected lexer token: ${f.type}`)}}parseBody(d,c){const h=[];let f=null;for(const m of this.lexer)if(m.type==="argument")f&&(f=null),h.push(this.parseArgToken(m,d));else if(m.type==="octothorpe"&&d)f&&(f=null),h.push({type:"octothorpe",ctx:t(m)});else{if(m.type==="end"&&!c)return h;{let _=m.value;if(!d&&m.type==="quoted"&&_[0]==="#"){if(_.includes("{")){const g=`Unsupported escape pattern: ${_}`;throw new i(m,g)}_=m.text}f?(f.value+=_,f.ctx.text+=m.text,f.ctx.lineBreaks+=m.lineBreaks):(f={type:"content",value:_,ctx:t(m)},h.push(f))}}if(c)return h;throw new i(null,"Unexpected message end")}}function l(u,d={}){return new s(u,d).parse()}return Qe}var lf=fs();const Le=e=>typeof e=="string",hs=e=>typeof e=="function",Dn=new Map,Go="en";function Zr(e){return[...Array.isArray(e)?e:[e],Go]}function Jr(e,t,r){const n=Zr(e);r||(r="default");let o;if(typeof r=="string")switch(o={day:"numeric",month:"short",year:"numeric"},r){case"full":o.weekday="long";case"long":o.month="long";break;case"short":o.month="numeric";break}else o=r;return Gt(()=>Kt("date",n,r),()=>new Intl.DateTimeFormat(n,o)).format(Le(t)?new Date(t):t)}function ps(e,t,r){let n;if(r||(r="default"),typeof r=="string")switch(n={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}else n=r;return Jr(e,t,n)}function Rr(e,t,r){const n=Zr(e);return Gt(()=>Kt("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function Un(e,t,r,{offset:n=0,...o}){const a=Zr(e),i=t?Gt(()=>Kt("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):Gt(()=>Kt("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return o[r]??o[i.select(r-n)]??o.other}function Gt(e,t){const r=e();let n=Dn.get(r);return n||(n=t(),Dn.set(r,n)),n}function Kt(e,t,r){const n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}const Ko=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,Wo=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(t,r,n)=>{if(r){const o=parseInt(r,16);return String.fromCharCode(o)}else{const o=parseInt(n,16);return String.fromCharCode(o)}}),Vo="%__lingui_octothorpe__%",ms=(e,t,r={})=>{const n=t||e,o=i=>typeof i=="object"?i:r[i],a=(i,s)=>{const l=Object.keys(r).length?o("number"):void 0,u=Rr(n,i,l);return s.replace(new RegExp(Vo,"g"),u)};return{plural:(i,s)=>{const{offset:l=0}=s,u=Un(n,!1,i,s);return a(i-l,u)},selectordinal:(i,s)=>{const{offset:l=0}=s,u=Un(n,!0,i,s);return a(i-l,u)},select:_s,number:(i,s)=>Rr(n,i,o(s)||{style:s}),date:(i,s)=>Jr(n,i,o(s)||s),time:(i,s)=>ps(n,i,o(s)||s)}},_s=(e,t)=>t[e]??t.other;function ys(e,t,r){return(n={},o)=>{const a=ms(t,r,o),i=(l,u=!1)=>Array.isArray(l)?l.reduce((d,c)=>{if(c==="#"&&u)return d+Vo;if(Le(c))return d+c;const[h,f,m]=c;let _={};f==="plural"||f==="selectordinal"||f==="select"?Object.entries(m).forEach(([b,A])=>{_[b]=i(A,f==="plural"||f==="selectordinal")}):_=m;let g;if(f){const b=a[f];g=b(n[h],_)}else g=n[h];return g==null?d:d+g},""):l,s=i(e);return Le(s)&&Ko.test(s)?Wo(s):Le(s)?s:s?String(s):""}}var gs=Object.defineProperty,vs=(e,t,r)=>t in e?gs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ws=(e,t,r)=>(vs(e,typeof t!="symbol"?t+"":t,r),r);class bs{constructor(){ws(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 Es=Object.defineProperty,Ss=(e,t,r)=>t in e?Es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qe=(e,t,r)=>(Ss(e,typeof t!="symbol"?t+"":t,r),r);class As extends bs{constructor(t){super(),qe(this,"_locale",""),qe(this,"_locales"),qe(this,"_localeData",{}),qe(this,"_messages",{}),qe(this,"_missing"),qe(this,"_messageCompiler"),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??Go,t.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(t,r){const n=this._localeData[t];n?Object.assign(n,r):this._localeData[t]=r}setMessagesCompiler(t){return this._messageCompiler=t,this}loadLocaleData(t,r){typeof t=="string"?this._loadLocaleData(t,r):Object.keys(t).forEach(n=>this._loadLocaleData(n,t[n])),this.emit("change")}_load(t,r){const n=this._messages[t];n?Object.assign(n,r):this._messages[t]=r}load(t,r){typeof t=="string"&&typeof r=="object"?this._load(t,r):Object.entries(t).forEach(([n,o])=>this._load(n,o)),this.emit("change")}loadAndActivate({locale:t,locales:r,messages:n}){this._locale=t,this._locales=r||void 0,this._messages[this._locale]=n,this.emit("change")}activate(t,r){this._locale=t,this._locales=r,this.emit("change")}_(t,r,n){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let o=n?.message;t||(t=""),Le(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 hs(s)?s(this._locale,t):s;i&&this.emit("missing",{id:t,locale:this._locale});let l=a||o||t;return Le(l)&&(this._messageCompiler?l=this._messageCompiler(l):console.warn(`Uncompiled message detected! Message: > ${l} That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used. ICU features such as interpolation and plurals will not work properly for that message. Please compile your catalog first. `)),Le(l)&&Ko.test(l)?Wo(l):Le(l)?l:ys(l,this._locale,this._locales)(r,n?.formats)}date(t,r){return Jr(this._locales||this._locale,t,r)}number(t,r){return Rr(this._locales||this._locale,t,r)}}function Cs(e={}){return new As(e)}const nt=Cs();var xt,q,Yo,Ps,je,Fn,Zo,Jo,Qo,Qr,Tr,xr,Xo,Ct={},ea=[],Rs=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Lt=Array.isArray;function ge(e,t){for(var r in t)e[r]=t[r];return e}function Xr(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Y(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?xt.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 bt(e,i,n,o,null)}function bt(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Yo,__i:-1,__u:0};return o==null&&q.vnode!=null&&q.vnode(a),a}function ta(){return{current:null}}function pe(e){return e.children}function he(e,t){this.props=e,this.context=t}function it(e,t){if(t==null)return e.__?it(e.__,e.__i+1):null;for(var r;ts&&je.sort(Jo),e=je.shift(),s=je.length,e.__d&&(r=void 0,o=(n=(t=e).__v).__e,a=[],i=[],t.__P&&((r=ge({},n)).__v=n.__v+1,q.vnode&&q.vnode(r),en(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[o]:null,a,o??it(n),!!(32&n.__u),i),r.__v=n.__v,r.__.__k[r.__i]=r,aa(a,r,i),r.__e!=o&&ra(r)));Wt.__r=0}function na(e,t,r,n,o,a,i,s,l,u,d){var c,h,f,m,_,g,b,A=n&&n.__k||ea,L=t.length;for(l=Ts(r,t,A,l,L),c=0;c0?bt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,s=null,(u=i.__i=xs(i,r,l,c))!=-1&&(c--,(s=r[u])&&(s.__u|=2)),s==null||s.__v==null?(u==-1&&(o>d?h--:ol?h--:h++,i.__u|=4))):e.__k[a]=null;if(c)for(a=0;a(d?1:0)){for(o=r-1,a=r+1;o>=0||a=0?o--:a++])!=null&&(2&u.__u)==0&&s==u.key&&l==u.type)return i}return-1}function qn(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Rs.test(t)?r:r+"px"}function Nt(e,t,r,n,o){var a,i;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||qn(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||qn(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")a=t!=(t=t.replace(Qo,"$1")),i=t.toLowerCase(),t=i in e||t=="onFocusOut"||t=="onFocusIn"?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=Qr,e.addEventListener(t,a?xr:Tr,a)):e.removeEventListener(t,a?xr: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 jn(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=Qr++;else if(t.t0?e:Lt(e)?e.map(ia):ge({},e)}function Ls(e,t,r,n,o,a,i,s,l){var u,d,c,h,f,m,_,g=r.props,b=t.props,A=t.type;if(A=="svg"?o="http://www.w3.org/2000/svg":A=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(u=0;u2&&(s.children=arguments.length>3?xt.call(arguments,2):r),bt(e.type,s,n||e.key,o||e.ref,null)}function Ie(e){function t(r){var n,o;return this.getChildContext||(n=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!=a.value&&n.forEach(function(i){i.__e=!0,Lr(i)})},this.sub=function(a){n.add(a);var i=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.delete(a),i&&i.call(a)}}),r.children}return t.__c="__cC"+Xo++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}xt=ea.slice,q={__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}},Yo=0,Ps=function(e){return e!=null&&e.constructor==null},he.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=ge({},this.state),typeof e=="function"&&(e=e(ge({},r),this.props)),e&&ge(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Lr(this))},he.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Lr(this))},he.prototype.render=pe,je=[],Zo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Jo=function(e,t){return e.__v.__b-t.__v.__b},Wt.__r=0,Qo=/(PointerCapture)$|Capture$/i,Qr=0,Tr=jn(!1),xr=jn(!0),Xo=0;var Ae,J,mr,Hn,st=0,ua=[],ee=q,Bn=ee.__b,zn=ee.__r,$n=ee.diffed,Gn=ee.__c,Kn=ee.unmount,Wn=ee.__;function $e(e,t){ee.__h&&ee.__h(J,e,st||t),st=0;var r=J.__H||(J.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ge(e){return st=1,ar(ca,e)}function ar(e,t,r){var n=$e(Ae++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):ca(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],u=n.t(l,s);l!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=J,!J.__f)){var o=function(s,l,u){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!a||a.call(this,s,l,u);var c=n.__c.props!==s;return d.forEach(function(h){if(h.__N){var f=h.__[0];h.__=h.__N,h.__N=void 0,f!==h.__[0]&&(c=!0)}}),a&&a.call(this,s,l,u)||c};J.__f=!0;var a=J.shouldComponentUpdate,i=J.componentWillUpdate;J.componentWillUpdate=function(s,l,u){if(this.__e){var d=a;a=void 0,o(s,l,u),a=d}i&&i.call(this,s,l,u)},J.shouldComponentUpdate=o}return n.__N||n.__}function Ke(e,t){var r=$e(Ae++,3);!ee.__s&&on(r.__H,t)&&(r.__=e,r.u=t,J.__H.__h.push(r))}function Ce(e,t){var r=$e(Ae++,4);!ee.__s&&on(r.__H,t)&&(r.__=e,r.u=t,J.__h.push(r))}function De(e){return st=5,ve(function(){return{current:e}},[])}function rn(e,t,r){st=6,Ce(function(){if(typeof e=="function"){var n=e(t());return function(){e(null),n&&typeof n=="function"&&n()}}if(e)return e.current=t(),function(){return e.current=null}},r==null?r:r.concat(e))}function ve(e,t){var r=$e(Ae++,7);return on(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function ct(e,t){return st=8,ve(function(){return e},t)}function se(e){var t=J.context[e.__c],r=$e(Ae++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(J)),t.props.value):e.__}function ir(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ks(e){var t=$e(Ae++,10),r=Ge();return t.__=e,J.componentDidCatch||(J.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function nn(){var e=$e(Ae++,11);if(!e.__){for(var t=J.__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 Ns(){for(var e;e=ua.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(jt),e.__H.__h.forEach(Mr),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){J=null,Bn&&Bn(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Wn&&Wn(e,t)},ee.__r=function(e){zn&&zn(e),Ae=0;var t=(J=e.__c).__H;t&&(mr===J?(t.__h=[],J.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(jt),t.__h.forEach(Mr),t.__h=[],Ae=0)),mr=J},ee.diffed=function(e){$n&&$n(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ua.push(t)!==1&&Hn===ee.requestAnimationFrame||((Hn=ee.requestAnimationFrame)||Is)(Ns)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),mr=J=null},ee.__c=function(e,t){t.some(function(r){try{r.__h.forEach(jt),r.__h=r.__h.filter(function(n){return!n.__||Mr(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(n,r.__v)}}),Gn&&Gn(e,t)},ee.unmount=function(e){Kn&&Kn(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{jt(n)}catch(o){t=o}}),r.__H=void 0,t&&ee.__e(t,r.__v))};var Vn=typeof requestAnimationFrame=="function";function Is(e){var t,r=function(){clearTimeout(n),Vn&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);Vn&&(t=requestAnimationFrame(r))}function jt(e){var t=J,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),J=t}function Mr(e){var t=J;e.__c=e.__(),J=t}function on(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ca(e,t){return typeof t=="function"?t(e):t}function da(e,t){for(var r in t)e[r]=t[r];return e}function kr(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 sr(e,t){var r=t(),n=Ge({t:{__:r,u:t}}),o=n[0].t,a=n[1];return Ce(function(){o.__=r,o.u=t,_r(o)&&a({t:o})},[e,r,t]),Ke(function(){return _r(o)&&a({t:o}),e(function(){_r(o)&&a({t:o})})},[e]),r}function _r(e){var t,r,n=e.u,o=e.__;try{var a=n();return!((t=o)===(r=a)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function an(e){e()}function sn(e){return e}function ln(){return[!1,an]}var un=Ce;function Vt(e,t){this.props=e,this.context=t}function fa(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:kr(this.props,o)}function n(o){return this.shouldComponentUpdate=r,Y(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n.type=e,n}(Vt.prototype=new he).isPureReactComponent=!0,Vt.prototype.shouldComponentUpdate=function(e,t){return kr(this.props,e)||kr(this.state,t)};var Yn=q.__b;q.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Yn&&Yn(e)};var Ds=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ha(e){function t(r){var n=da({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=Ds,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zn=function(e,t){return e==null?null:Se(Se(e).map(t))},cn={map:Zn,forEach:Zn,count:function(e){return e?Se(e).length:0},only:function(e){var t=Se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Se},Us=q.__e;q.__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)}Us(e,t,r,n)};var Jn=q.unmount;function pa(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=da({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return pa(n,t,r)})),e}function ma(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ma(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 Et(){this.__u=0,this.o=null,this.__b=null}function _a(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ya(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 Y(r,a)}return o.displayName="Lazy",o.__f=!0,o}function et(){this.i=null,this.l=null}q.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Jn&&Jn(e)},(Et.prototype=new he).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var o=_a(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]=ma(l,l.__c.__P,l.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.o.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},Et.prototype.componentWillUnmount=function(){this.o=[]},Et.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]=pa(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&Y(pe,null,e.fallback);return o&&(o.__u&=-33),[Y(pe,null,t.__a?null:e.children),o]};var Qn=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.h.removeChild(o)}}}Pt(Y(Fs,{context:t.context},e.__v),t.v)}function ga(e,t){var r=Y(qs,{__v:e,h:t});return r.containerInfo=t,r}(et.prototype=new he).__a=function(e){var t=this,r=_a(t.__v),n=t.l.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),Qn(t,e,n)):o()};r?r(a):a()}},et.prototype.render=function(e){this.i=null,this.l=new Map;var t=Se(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},et.prototype.componentDidUpdate=et.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Qn(e,r,t)})};var va=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,js=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Hs=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Bs=/[A-Z0-9]/g,zs=typeof document<"u",$s=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function wa(e,t,r){return t.__k==null&&(t.textContent=""),Pt(e,t),typeof r=="function"&&r(),e?e.__c:null}function ba(e,t,r){return la(e,t),typeof r=="function"&&r(),e?e.__c:null}he.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(he.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xn=q.event;function Gs(){}function Ks(){return this.cancelBubble}function Ws(){return this.defaultPrevented}q.event=function(e){return Xn&&(e=Xn(e)),e.persist=Gs,e.isPropagationStopped=Ks,e.isDefaultPrevented=Ws,e.nativeEvent=e};var dn,Vs={enumerable:!1,configurable:!0,get:function(){return this.class}},eo=q.vnode;q.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||zs&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||$s(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Hs.test(i)&&(i=l):l=i="oninput":a&&js.test(i)?i=i.replace(Bs,"-$&").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=Se(r.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Se(r.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",Vs)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=va,eo&&eo(e)};var to=q.__r;q.__r=function(e){to&&to(e),dn=e.__c};var ro=q.diffed;q.diffed=function(e){ro&&ro(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),dn=null};var Ea={ReactCurrentDispatcher:{current:{readContext:function(e){return dn.__n[e.__c].props.value},useCallback:ct,useContext:se,useDebugValue:ir,useDeferredValue:sn,useEffect:Ke,useId:nn,useImperativeHandle:rn,useInsertionEffect:un,useLayoutEffect:Ce,useMemo:ve,useReducer:ar,useRef:De,useState:Ge,useSyncExternalStore:sr,useTransition:ln}}},Ys="18.3.1";function Sa(e){return Y.bind(null,e)}function dt(e){return!!e&&e.$$typeof===va}function Aa(e){return dt(e)&&e.type===pe}function Ca(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Pa(e){return dt(e)?Ms.apply(null,arguments):e}function Ra(e){return!!e.__k&&(Pt(null,e),!0)}function Ta(e){return e&&(e.base||e.nodeType===1&&e)||null}var xa=function(e,t){return e(t)},La=function(e,t){return e(t)},Oa=pe,Ma=dt,ne={useState:Ge,useId:nn,useReducer:ar,useEffect:Ke,useLayoutEffect:Ce,useInsertionEffect:un,useTransition:ln,useDeferredValue:sn,useSyncExternalStore:sr,startTransition:an,useRef:De,useImperativeHandle:rn,useMemo:ve,useCallback:ct,useContext:se,useDebugValue:ir,version:"18.3.1",Children:cn,render:wa,hydrate:ba,unmountComponentAtNode:Ra,createPortal:ga,createElement:Y,createContext:Ie,createFactory:Sa,cloneElement:Pa,createRef:ta,Fragment:pe,isValidElement:dt,isElement:Ma,isFragment:Aa,isMemo:Ca,findDOMNode:Ta,Component:he,PureComponent:Vt,memo:fa,forwardRef:ha,flushSync:La,unstable_batchedUpdates:xa,StrictMode:Oa,Suspense:Et,SuspenseList:et,lazy:ya,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ea};const Nr=Object.freeze(Object.defineProperty({__proto__:null,Children:cn,Component:he,Fragment:pe,PureComponent:Vt,StrictMode:Oa,Suspense:Et,SuspenseList:et,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ea,cloneElement:Pa,createContext:Ie,createElement:Y,createFactory:Sa,createPortal:ga,createRef:ta,default:ne,findDOMNode:Ta,flushSync:La,forwardRef:ha,hydrate:ba,isElement:Ma,isFragment:Aa,isMemo:Ca,isValidElement:dt,lazy:ya,memo:fa,render:wa,startTransition:an,unmountComponentAtNode:Ra,unstable_batchedUpdates:xa,useCallback:ct,useContext:se,useDebugValue:ir,useDeferredValue:sn,useEffect:Ke,useErrorBoundary:ks,useId:nn,useImperativeHandle:rn,useInsertionEffect:un,useLayoutEffect:Ce,useMemo:ve,useReducer:ar,useRef:De,useState:Ge,useSyncExternalStore:sr,useTransition:ln,version:Ys},Symbol.toStringTag,{value:"Module"})),Zs=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,Js={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 ka(e,t={}){const r=Qs(0,"$lingui$"),n=e.split(Zs);if(n.length===1)return e;const o=[],a=n.shift();a&&o.push(a);for(const[i,s,l]of Na(n)){let u=typeof i<"u"?t[i]:void 0;(!u||Js[u.type]&&s)&&(console.error(u?`${u.type} is a void element tag therefore it must have no children`:`Can't use element at index '${i}' as it is not declared in the original translation`),u=ne.createElement(ne.Fragment)),Array.isArray(u)&&(u=ne.createElement(ne.Fragment,{},u)),o.push(ne.cloneElement(u,{key:r()},s?ka(s,t):u.props.children)),l&&o.push(l)}return o.length===1?o[0]:o}function Na(e){if(!e.length)return[];const[t,r,n,o]=e.slice(0,4);return[[t||n,r||"",o]].concat(Na(e.slice(4,e.length)))}const Qs=(e=0,t="")=>()=>`${t}_${e++}`;function Xs(e){const{render:t,component:r,id:n,message:o,formats:a,lingui:{i18n:i,defaultComponent:s}}=e,l={...e.values},u={...e.components};l&&Object.keys(l).forEach(_=>{const g=Object.keys(u).length;typeof l[_]=="string"||typeof l[_]=="number"||(u[g]=ne.createElement(ne.Fragment,null,l[_]),l[_]=`<${g}/>`)});const d=i&&typeof i._=="function"?i._(n,l,{message:o,formats:a}):n,c=d?ka(d,u):null;if(t===null||r===null)return c;const h=s||el,f={id:n,message:o,translation:c,children:c};if(t&&r)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&typeof t!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(r&&typeof r!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${r}`),ne.createElement(h,f,c);if(typeof t=="function")return t(f);const m=r||h;return ne.createElement(m,f,c)}const el=({children:e})=>ne.createElement(ne.Fragment,null,e),Ia=ne.createContext(null),Da=e=>ne.useContext(Ia);function uf(){return Da()}function cf({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(Ia.Provider,{value:a},r):null}function df(e){const r=Da(void 0);return ne.createElement(Xs,{...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 Yt(){return Yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function rl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function nl(){return Math.random().toString(36).substr(2,8)}function oo(e){return{usr:e.state,key:e.key}}function Ir(e,t,r,n){return r===void 0&&(r=null),Yt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?We(t):t,{state:r,key:t&&t.key||n||nl()})}function fn(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 ol(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:fn(e);return ie(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}function al(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=Oe.Pop,l=null;function u(){s=Oe.Pop,l&&l({action:s,location:h.location})}function d(f,m){s=Oe.Push;let _=Ir(h.location,f,m);r&&r(_,f);let g=oo(_),b=h.createHref(_);try{i.pushState(g,"",b)}catch{o.location.assign(b)}a&&l&&l({action:s,location:h.location})}function c(f,m){s=Oe.Replace;let _=Ir(h.location,f,m);r&&r(_,f);let g=oo(_),b=h.createHref(_);i.replaceState(g,"",b),a&&l&&l({action:s,location:h.location})}let h={get action(){return s},get location(){return e(o,i)},listen(f){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(no,u),l=f,()=>{o.removeEventListener(no,u),l=null}},createHref(f){return t(o,f)},encodeLocation(f){let m=ol(typeof f=="string"?f:fn(f));return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:c,go(f){return i.go(f)}};return h}var ao;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ao||(ao={}));function il(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?We(t):t,o=qa(n.pathname||"/",r);if(o==null)return null;let a=Ua(e);sl(a);let i=null;for(let s=0;i==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(ie(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=He([n,l.relativePath]),d=r.concat(l);a.children&&a.children.length>0&&(ie(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ua(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:pl(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of Fa(a.path))o(a,i,l)}),t}function Fa(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=Fa(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 sl(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:ml(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const ll=/^:\w+$/,ul=3,cl=2,dl=1,fl=10,hl=-2,io=e=>e==="*";function pl(e,t){let r=e.split("/"),n=r.length;return r.some(io)&&(n+=hl),t&&(n+=cl),r.filter(o=>!io(o)).reduce((o,a)=>o+(ll.test(a)?ul:a===""?dl:fl),n)}function ml(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 _l(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i{if(d==="*"){let h=s[c]||"";i=a.slice(0,a.length-h.length).replace(/(.)\/+$/,"$1")}return u[d]=vl(s[c]||"",d),u},{}),pathname:a,pathnameBase:i,pattern:e}}function yl(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),hn(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 gl(e){try{return decodeURI(e)}catch(t){return hn(!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 vl(e,t){try{return decodeURIComponent(e)}catch(r){return hn(!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 qa(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 hn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function wl(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:bl(r,t):t,search:Cl(n),hash:Pl(o)}}function bl(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 yr(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 and the router will parse it for you.'}function El(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Sl(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=We(e):(o=Yt({},e),ie(!o.pathname||!o.pathname.includes("?"),yr("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),yr("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),yr("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,s;if(n||i==null)s=r;else{let c=t.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),c-=1;o.pathname=h.join("/")}s=c>=0?t[c]:"/"}let l=wl(o,s),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const He=e=>e.join("/").replace(/\/\/+/g,"/"),Al=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Cl=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Pl=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Rl{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 Tl(e){return e instanceof Rl}const ja=["post","put","patch","delete"],ff=new Set(ja),xl=["get",...ja],hf=new Set(xl);const pf=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 Ur(){return Ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.value=n,o.getSnapshot=t,gr(o)&&a({inst:o})},[e,n,t]),kl(()=>(gr(o)&&a({inst:o}),e(()=>{gr(o)&&a({inst:o})})),[e]),Il(n),n}function gr(e){const t=e.getSnapshot,r=e.value;try{const n=t();return!Ol(r,n)}catch{return!0}}function Ul(e,t,r){return t()}const Fl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ql=!Fl,jl=ql?Ul:Dl,mf="useSyncExternalStore"in Nr?(e=>e.useSyncExternalStore)(Nr):jl,Ha=Ie(null),Ba=Ie(null);const pn=Ie(null),lr=Ie(null),ft=Ie({outlet:null,matches:[]}),za=Ie(null);function ur(){return se(lr)!=null}function mn(){return ur()||ie(!1),se(lr).location}function Hl(){ur()||ie(!1);let{basename:e,navigator:t}=se(pn),{matches:r}=se(ft),{pathname:n}=mn(),o=JSON.stringify(El(r).map(s=>s.pathnameBase)),a=De(!1);return Ke(()=>{a.current=!0}),ct(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){t.go(s);return}let u=Sl(s,JSON.parse(o),n,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:He([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,o,n])}function _f(){let{matches:e}=se(ft),t=e[e.length-1];return t?t.params:{}}function Bl(e,t){ur()||ie(!1);let{navigator:r}=se(pn),n=se(Ba),{matches:o}=se(ft),a=o[o.length-1],i=a?a.params:{},s=a?a.pathname:"/",l=a?a.pathnameBase:"/",u=a&&a.route,d=mn(),c;if(t){var h;let b=typeof t=="string"?We(t):t;l==="/"||(h=b.pathname)!=null&&h.startsWith(l)||ie(!1),c=b}else c=d;let f=c.pathname||"/",m=l==="/"?f:f.slice(l.length)||"/",_=il(e,{pathname:m}),g=Kl(_&&_.map(b=>Object.assign({},b,{params:Object.assign({},i,b.params),pathname:He([l,r.encodeLocation?r.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:He([l,r.encodeLocation?r.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),o,n||void 0);return t&&g?Y(lr.Provider,{value:{location:Ur({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Oe.Pop}},g):g}function zl(){let e=Zl(),t=Tl(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 Y(pe,null,Y("h2",null,"Unhandled Thrown Error!"),Y("h3",{style:{fontStyle:"italic"}},t),r?Y("pre",{style:o},r):null,Y("p",null,"💿 Hey developer 👋"),Y("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",Y("code",{style:a},"errorElement")," props on ",Y("code",{style:a},"")))}class $l extends he{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location?{error:t.error,location:t.location}:{error:t.error||r.error,location:r.location}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?Y(ft.Provider,{value:this.props.routeContext},Y(za.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gl(e){let{routeContext:t,match:r,children:n}=e,o=se(Ha);return o&&o.static&&o.staticContext&&r.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),Y(ft.Provider,{value:t},n)}function Kl(e,t,r){if(t===void 0&&(t=[]),e==null)if(r!=null&&r.errors)e=r.matches;else return null;let n=e,o=r?.errors;if(o!=null){let a=n.findIndex(i=>i.route.id&&o?.[i.route.id]);a>=0||ie(!1),n=n.slice(0,Math.min(n.length,a+1))}return n.reduceRight((a,i,s)=>{let l=i.route.id?o?.[i.route.id]:null,u=r?i.route.errorElement||Y(zl,null):null,d=t.concat(n.slice(0,s+1)),c=()=>Y(Gl,{match:i,routeContext:{outlet:a,matches:d}},l?u:i.route.element!==void 0?i.route.element:a);return r&&(i.route.errorElement||s===0)?Y($l,{location:r.location,component:u,error:l,children:c(),routeContext:{outlet:null,matches:d}}):c()},null)}var so;(function(e){e.UseRevalidator="useRevalidator"})(so||(so={}));var Zt;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(Zt||(Zt={}));function Wl(e){let t=se(Ba);return t||ie(!1),t}function Vl(e){let t=se(ft);return t||ie(!1),t}function Yl(e){let t=Vl(e),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function Zl(){var e;let t=se(za),r=Wl(Zt.UseRouteError),n=Yl(Zt.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function Jl(e){ie(!1)}function Ql(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Oe.Pop,navigator:a,static:i=!1}=e;ur()&&ie(!1);let s=t.replace(/^\/*/,"/"),l=ve(()=>({basename:s,navigator:a,static:i}),[s,a,i]);typeof n=="string"&&(n=We(n));let{pathname:u="/",search:d="",hash:c="",state:h=null,key:f="default"}=n,m=ve(()=>{let _=qa(u,s);return _==null?null:{pathname:_,search:d,hash:c,state:h,key:f}},[s,u,d,c,h,f]);return m==null?null:Y(pn.Provider,{value:l},Y(lr.Provider,{children:r,value:{location:m,navigationType:o}}))}function yf(e){let{children:t,location:r}=e,n=se(Ha),o=n&&!t?n.router.routes:Fr(t);return Bl(o,r)}var lo;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(lo||(lo={}));const gf=new Promise(()=>{});function Fr(e,t){t===void 0&&(t=[]);let r=[];return cn.forEach(e,(n,o)=>{if(!dt(n))return;if(n.type===pe){r.push.apply(r,Fr(n.props.children,t));return}n.type!==Jl&&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=Fr(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 qr(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 Xl(e,t){let r=qr(e);for(let n of t.keys())r.has(n)||t.getAll(n).forEach(o=>{r.append(n,o)});return r}function vf(e){let{basename:t,children:r,window:n}=e,o=De();o.current==null&&(o.current=tl({window:n,v5Compat:!0}));let a=o.current,[i,s]=Ge({action:a.action,location:a.location});return Ce(()=>a.listen(s),[a]),Y(Ql,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a})}var uo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(uo||(uo={}));var co;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(co||(co={}));function wf(e){let t=De(qr(e)),r=mn(),n=ve(()=>Xl(r.search,t.current),[r.search]),o=Hl(),a=ct((i,s)=>{const l=qr(typeof i=="function"?i(n):i);o("?"+l,s)},[o,n]);return[n,a]}const eu="modulepreload",tu=function(e,t){return new URL(e,t).href},fo={},z=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(d){return Promise.all(d.map(c=>Promise.resolve(c).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");o=u(r.map(d=>{if(d=tu(d,n),d in fo)return;fo[d]=!0;const c=d.endsWith(".css"),h=c?'[rel="stylesheet"]':"";if(!!n)for(let _=i.length-1;_>=0;_--){const g=i[_];if(g.href===d&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":eu,c||(m.as="script"),m.crossOrigin="",m.href=d,l&&m.setAttribute("nonce",l),document.head.appendChild(m),c)return new Promise((_,g)=>{m.addEventListener("load",_),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})},ru=Symbol(),_n=Symbol(),yt="a",$a="f",ho="p",Ga="c",Ka="t",yn="h",St="w",gn="o",vn="k";let nu=(e,t)=>new Proxy(e,t);const jr=Object.getPrototypeOf,Hr=new WeakMap,Wa=e=>e&&(Hr.has(e)?Hr.get(e):jr(e)===Object.prototype||jr(e)===Array.prototype),Jt=e=>typeof e=="object"&&e!==null,ou=e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(t=>!t.configurable&&!t.writable),au=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)},iu=(e,t)=>{const r={[$a]:t};let n=!1;const o=(s,l)=>{if(!n){let u=r[yt].get(e);if(u||(u={},r[yt].set(e,u)),s===St)u[St]=!0;else{let d=u[s];d||(d=new Set,u[s]=d),d.add(l)}}},a=()=>{n=!0,r[yt].delete(e)},i={get(s,l){return l===_n?e:(o(vn,l),Va(Reflect.get(s,l),r[yt],r[Ga],r[Ka]))},has(s,l){return l===ru?(a(),!0):(o(yn,l),Reflect.has(s,l))},getOwnPropertyDescriptor(s,l){return o(gn,l),Reflect.getOwnPropertyDescriptor(s,l)},ownKeys(s){return o(St),Reflect.ownKeys(s)}};return t&&(i.set=i.deleteProperty=()=>!1),[i,r]},wn=e=>e[_n]||e,Va=(e,t,r,n)=>{if(!Wa(e))return e;let o=n&&n.get(e);if(!o){const l=wn(e);ou(l)?o=[l,au(l)]:o=[l],n?.set(e,o)}const[a,i]=o;let s=r&&r.get(a);return(!s||s[1][$a]!==!!i)&&(s=iu(a,!!i),s[1][ho]=nu(i||a,s[0]),r&&r.set(a,s)),s[1][yt]=t,s[1][Ga]=r,s[1][Ka]=n,s[1][ho]},su=(e,t)=>{const r=Reflect.ownKeys(e),n=Reflect.ownKeys(t);return r.length!==n.length||r.some((o,a)=>o!==n[a])},Ya=(e,t,r,n,o=Object.is)=>{if(o(e,t))return!1;if(!Jt(e)||!Jt(t))return!0;const a=r.get(wn(e));if(!a)return!0;if(n){if(n.get(e)===t)return!1;n.set(e,t)}let i=null;for(const s of a[yn]||[])if(i=Reflect.has(e,s)!==Reflect.has(t,s),i)return i;if(a[St]===!0){if(i=su(e,t),i)return i}else for(const s of a[gn]||[]){const l=!!Reflect.getOwnPropertyDescriptor(e,s),u=!!Reflect.getOwnPropertyDescriptor(t,s);if(i=l!==u,i)return i}for(const s of a[vn]||[])if(i=Ya(e[s],t[s],r,n,o),i)return i;if(i===null)throw new Error("invalid used");return i};const lu=e=>Wa(e)&&e[_n]||null,po=(e,t=!0)=>{Hr.set(e,t)},uu=(e,t,r)=>{const n=[],o=new WeakSet,a=(i,s)=>{var l,u,d;if(o.has(i))return;Jt(i)&&o.add(i);const c=Jt(i)&&t.get(wn(i));if(c){if((l=c[yn])===null||l===void 0||l.forEach(h=>{const f=`:has(${String(h)})`;n.push(s?[...s,f]:[f])}),c[St]===!0){const h=":ownKeys";n.push(s?[...s,h]:[h])}else(u=c[gn])===null||u===void 0||u.forEach(h=>{const f=`:hasOwn(${String(h)})`;n.push(s?[...s,f]:[f])});(d=c[vn])===null||d===void 0||d.forEach(h=>{(!r||"value"in(Object.getOwnPropertyDescriptor(i,h)||{}))&&a(i[h],s?[...s,h]:[h])})}else s&&n.push(s)};return a(e),n};const Qt={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},bn=e=>typeof e=="object"&&e!==null,cu=e=>bn(e)&&!cr.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),Za=(e,t)=>{const r=Br.get(e);if(r?.[0]===t)return r[1];const n=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return po(n,!0),Br.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(cr.has(a))po(a,!1);else if(ke.has(a)){const[l,u]=ke.get(a);s.value=Za(l,u())}Object.defineProperty(n,o,s)}),Object.preventExtensions(n)},du=(e,t,r,n)=>({deleteProperty(o,a){const i=Reflect.get(o,a);r(a);const s=Reflect.deleteProperty(o,a);return s&&n(["delete",[a],i]),s},set(o,a,i,s){const l=!e()&&Reflect.has(o,a),u=Reflect.get(o,a,s);if(l&&(mo(u,i)||Rt.has(i)&&mo(u,Rt.get(i))))return!0;r(a),bn(i)&&(i=lu(i)||i);const d=!ke.has(i)&&hu(i)?Ja(i):i;return t(a,d),Reflect.set(o,a,d,s),n(["set",[a],i,u]),!0}}),ke=new WeakMap,cr=new WeakSet,Br=new WeakMap,Ht=[1],Rt=new WeakMap;let mo=Object.is,fu=(e,t)=>new Proxy(e,t),hu=cu,pu=Za,mu=du;function Ja(e={}){if(!bn(e))throw new Error("object required");const t=Rt.get(e);if(t)return t;let r=Ht[0];const n=new Set,o=(g,b=++Ht[0])=>{r!==b&&(a=r=b,n.forEach(A=>A(g,b)))};let a=r;const i=(g=Ht[0])=>(a!==g&&(a=g,l.forEach(([b])=>{const A=b[1](g);A>r&&(r=A)})),r),s=g=>(b,A)=>{const L=[...b];L[1]=[g,...L[1]],o(L,A)},l=new Map,u=(g,b)=>{const A=!cr.has(b)&&ke.get(b);if(A){if((Qt?"production":void 0)!=="production"&&l.has(g))throw new Error("prop listener already exists");if(n.size){const L=A[2](s(g));l.set(g,[A,L])}else l.set(g,[A])}},d=g=>{var b;const A=l.get(g);A&&(l.delete(g),(b=A[1])==null||b.call(A))},c=g=>(n.add(g),n.size===1&&l.forEach(([A,L],B)=>{if((Qt?"production":void 0)!=="production"&&L)throw new Error("remove already exists");const Q=A[2](s(B));l.set(B,[A,Q])}),()=>{n.delete(g),n.size===0&&l.forEach(([A,L],B)=>{L&&(L(),l.set(B,[A]))})});let h=!0;const f=mu(()=>h,u,d,o),m=fu(e,f);Rt.set(e,m);const _=[e,i,c];return ke.set(m,_),Reflect.ownKeys(e).forEach(g=>{const b=Object.getOwnPropertyDescriptor(e,g);"value"in b&&b.writable&&(m[g]=e[g])}),h=!1,m}function En(e,t,r){const n=ke.get(e);(Qt?"production":void 0)!=="production"&&!n&&console.warn("Please use proxy object");let o;const a=[],i=n[2];let s=!1;const u=i(d=>{if(a.push(d),r){t(a.splice(0));return}o||(o=Promise.resolve().then(()=>{o=void 0,s&&t(a.splice(0))}))});return s=!0,()=>{s=!1,u()}}function zr(e){const t=ke.get(e);(Qt?"production":void 0)!=="production"&&!t&&console.warn("Please use proxy object");const[r,n]=t;return pu(r,n())}function Qa(){return{proxyStateMap:ke,refSet:cr,snapCache:Br,versionHolder:Ht,proxyCache:Rt}}const _u={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},yu=(e,t)=>{const r=De(void 0);Ke(()=>{r.current=uu(e,t,!0)}),ir(r.current)},gu=yu,vu=new WeakMap;function bf(e,t){const r=t?.sync,n=ve(()=>e&&new WeakMap,[e]),o=De(void 0);let a=!0;const i=sr(ct(l=>{const u=En(e,l,r);return l(),u},[e,r]),()=>{const l=zr(e);try{if(!a&&o.current&&!Ya(o.current,l,n,new WeakMap))return o.current}catch{}return l},()=>zr(e));a=!1,Ce(()=>{o.current=i}),(_u?"production":void 0)!=="production"&&gu(i,n);const s=ve(()=>new WeakMap,[]);return Va(i,n,s,vu)}var wu=0,Ef=Array.isArray;function Xt(e,t,r,n,o,a){t||(t={});var i,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?i=t[s]:l[s]=t[s];var u={type:e,props:l,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--wu,__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 q.vnode&&q.vnode(u),u}const Xa=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,er=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Xa);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},_o=e=>e==="*"||e==="x"||e==="X",yo=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},bu=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Eu=(e,t)=>{if(_o(e)||_o(t))return 0;const[r,n]=bu(yo(e),yo(t));return r>n?1:r{for(let r=0;r{const r=er(e),n=er(t),o=r.pop(),a=n.pop(),i=tt(r,n);return i!==0?i:o&&a?tt(o.split("."),a.split(".")):o||a?o?-1:1:0},Su=(e,t,r)=>{Au(r);const n=ei(e,t);return ti[r].includes(n)},ti={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},go=Object.keys(ti),Au=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(go.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${go.join("|")}`)},Bt=(e,t)=>{if(t=t.replace(/([><=]+)\s+/g,"$1"),t.includes("||"))return t.split("||").some(g=>Bt(e,g));if(t.includes(" - ")){const[g,b]=t.split(" - ",2);return Bt(e,`>=${g} <=${b}`)}else if(t.includes(" "))return t.trim().replace(/\s{2,}/g," ").split(" ").every(g=>Bt(e,g));const r=t.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return Su(e,t,n);const[o,a,i,,s]=er(e),[l,u,d,,c]=er(t),h=[o,a,i],f=[l,u??"x",d??"x"];if(c&&(!s||tt(h,f)!==0||tt(s.split("."),c.split("."))===-1))return!1;const m=f.findIndex(g=>g!=="0")+1,_=n==="~"?2:m>1?m:1;return!(tt(h.slice(0,_),f.slice(0,_))!==0||tt(h.slice(_),f.slice(_))===-1)},Cu=e=>typeof e=="string"&&/^[v\d]/.test(e)&&Xa.test(e);function Pu(e,t){var r=Object.setPrototypeOf;r?r(e,t):e.__proto__=t}function Ru(e,t){t===void 0&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}var Tu=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)}}(),ht=function(e){Tu(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}),Pu(a,o.prototype),Ru(a),a}return t}(Error);class ze extends ht{}class vo extends ht{contentType;data;constructor(t,r,n,o){super(t,o),this.contentType=r,this.data=n}}class ri extends ht{statusCode;description;details;additionalProperties;constructor(t,r){super(t.message,r),this.statusCode=t.statusCode,this.message=t.message,this.description=t.description,this.additionalProperties=t.additionalProperties,this.details=t.details}}class ni extends ht{}class vr extends ht{constructor(t,r){super(t,r),this.message=t}}var $r=function(e,t){return $r=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])},$r(e,t)};function oi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$r(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=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 si(e,t){return function(r,n){t(r,n,e)}}function li(e,t,r,n,o,a){function i(b){if(b!==void 0&&typeof b!="function")throw new TypeError("Function expected");return b}for(var s=n.kind,l=s==="getter"?"get":s==="setter"?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),c,h=!1,f=r.length-1;f>=0;f--){var m={};for(var _ in n)m[_]=_==="access"?{}:n[_];for(var _ in n.access)m.access[_]=n.access[_];m.addInitializer=function(b){if(h)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(b||null))};var g=(0,r[f])(s==="accessor"?{get:d.get,set:d.set}:d[l],m);if(s==="accessor"){if(g===void 0)continue;if(g===null||typeof g!="object")throw new TypeError("Object expected");(c=i(g.get))&&(d.get=c),(c=i(g.set))&&(d.set=c),(c=i(g.init))&&o.unshift(c)}else(c=i(g))&&(s==="field"?o.unshift(c):d[l]=c)}u&&Object.defineProperty(u,n.name,d),h=!0}function ui(e,t,r){for(var n=arguments.length>2,o=0;o0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=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 Sn(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 _i(){for(var e=[],t=0;t1||l(f,_)})},m&&(o[f]=m(o[f])))}function l(f,m){try{u(n[f](m))}catch(_){h(a[0][3],_)}}function u(f){f.value instanceof ut?Promise.resolve(f.value.v).then(d,c):h(a[0][2],f)}function d(f){l("next",f)}function c(f){l("throw",f)}function h(f,m){f(m),a.shift(),a.length&&l(a[0][0],a[0][1])}}function vi(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:ut(e[o](i)),done:!1}:a?a(i):i}:a}}function wi(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 tr=="function"?tr(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(s,l){i=e[a](i),o(s,l,i.done,i.value)})}}function o(a,i,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},i)}}function bi(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var xu=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},Gr=function(e){return Gr=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},Gr(e)};function Ei(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=Gr(e),n=0;n0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function Iu(e,t){return t===void 0&&(t={}),Li(e,Ne({delimiter:"",transform:Oi},t))}function Du(e,t){return t===0?e.toLowerCase():Oi(e,t)}function Uu(e,t){return t===void 0&&(t={}),Iu(e,Ne({transform:Du},t))}function Fu(e,t){return t===void 0&&(t={}),Li(e,Ne({delimiter:"."},t))}function An(e,t){return t===void 0&&(t={}),Fu(e,Ne({delimiter:"_"},t))}const Mi=e=>new Promise(t=>setTimeout(()=>t(),e)),Cn=e=>typeof e=="object"&&e!==null&&e.constructor.name==="Object";function qu(){}class ju extends ht{constructor(t,r){super(`Maximum number of attempts reached: ${t}`,r)}}class Hu{props;attempts=0;constructor(t={}){this.props=t}async sleep(){if(this.attempts>=this.maxAttempts)throw new ju(this.attempts);await Mi(this.timeout),this.attempts++}clear(){this.attempts=0}get factor(){return this.props.factor??1e3}get base(){return this.props.base??2}get maxAttempts(){return this.props.maxAttempts??Number.POSITIVE_INFINITY}get timeout(){return this.factor*this.base**this.attempts}}const Bu=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),resolve:e,reject:t}},zu=e=>{const t=new Map;for(const r of e.split(",")){const n=r.match(/<([^>]+)>;\s*rel="([^"]+)"/);n&&t.set(n[2],n[1])}return t};function ki(e){return["fetch","create","update","remove","list"].includes(e)}function $u(e){if(ki(e))return e;switch(e){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function Gu(e,t){return e==="create"&&t==="/api/v1/accounts"||e==="update"&&t==="/api/v1/accounts/update_credentials"||e==="create"&&t==="/api/v1/email"||e==="create"&&t==="/api/v1/featured_tag"||e==="create"&&t==="/api/v1/media"||e==="create"&&t==="/api/v2/media"?"multipart-form":"json"}async function Ku(e,t,r){let n;const o=AbortSignal.timeout(t);for(;!n;){if(o.aborted)throw new ni(`Media processing timed out of ${t}ms`);try{await Mi(1e3);const a=await r.get(`/api/v1/media/${e}`);a.url&&(n=a)}catch(a){if(a instanceof ri&&a.statusCode===404)continue;throw a}}return n}class Wu{http;mediaTimeout;constructor(t,r=1e3*60){this.http=t,this.mediaTimeout=r}beforeDispatch(t){const r=$u(t.type),n=ki(t.type)?t.path:t.path+"/"+An(t.type),o=Gu(r,n),a={...t.meta,encoding:o};return{type:r,path:n,data:t.data,meta:a}}dispatch(t){return t.type==="update"&&t.path==="/api/v1/accounts/update_credentials"?this.http.patch(t.path,t.data,t.meta):!1}afterDispatch(t,r){if(t.type==="create"&&t.path==="/api/v2/media"){const n=r;return Cn(t.data)&&t.data?.skipPolling===!0?n:Ku(n.id,this.mediaTimeout,this.http)}return r}}class Pn{http;path;params;meta;direction;constructor(t,r,n,o,a="next"){this.http=t,this.path=r,this.params=n,this.meta=o,this.direction=a}async*values(){let t=this.path,r=this.params;for(;t!=null;){const n=await this.http.request({method:"GET",path:t,search:r,...this.meta}),o=this.getLink(n.headers.get("link"));t=o?.pathname,r=o?.search.replace(/^\?/,""),yield await n.data}}then(t=Promise.resolve.bind(Promise),r=Promise.reject.bind(Promise)){return this.values().next().then(n=>t(n.value),r)}getDirection(){return this.direction}setDirection(t){return new Pn(this.http,this.path,this.params,this.meta,t)}[Symbol.asyncIterator](){return this.values()}getLink(t){if(!t)return;const r=zu(t).get(this.direction);if(r)return new URL(r)}}class Vu{http;hook;constructor(t,r){this.http=t,this.hook=r}dispatch(t){this.hook&&(t=this.hook.beforeDispatch(t));let r=this.hook.dispatch(t);if(r!==!1)return r;switch(t.type){case"fetch":{r=this.http.get(t.path,t.data,t.meta);break}case"create":{r=this.http.post(t.path,t.data,t.meta);break}case"update":{r=this.http.put(t.path,t.data,t.meta);break}case"remove":{r=this.http.delete(t.path,t.data,t.meta);break}case"list":{r=new Pn(this.http,t.path,t.data);break}}return r instanceof Promise?r.then(n=>this.hook?.afterDispatch(t,n)):this.hook.afterDispatch(t,r)}}var 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 Rn=Xe;function Yu(e){return e.readyState===Rn.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 Zu(e){return e.readyState===Rn.CLOSED?Promise.resolve():new Promise(t=>{const r=()=>{t()};e.addEventListener("error",r,{once:!0}),e.addEventListener("close",r,{once:!0})})}class Ju{props;logger;ws;killed=!1;queue=[];backoff;constructor(t,r){this.props=t,this.logger=r,this.backoff=new Hu({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new vr("WebSocket closed");if(this.ws)return Promise.resolve(this.ws);const t=Bu();return this.queue.push(t),t.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(const{reject:t}of this.queue)t(new vr("WebSocket closed"));this.queue=[]}async spawn(){for(;!this.killed;){try{await this.backoff.sleep()}catch{break}try{this.logger?.log("info","Connecting to WebSocket...");{const t=this.props.implementation??Rn,r=new t(...this.props.constructorParameters);await Yu(r),this.ws=r}this.logger?.log("info","Connected to WebSocket");for(const{resolve:t}of this.queue)t(this.ws);this.queue=[],await Zu(this.ws),this.logger?.log("info","WebSocket closed"),this.backoff.clear()}catch(t){this.logger?.log("error","WebSocket error:",t)}this.ws=void 0}for(const{reject:t}of this.queue)t(new vr(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}}function Qu(){let e,t;const r=new Promise((...n)=>[e,t]=n);return Object.freeze({resolve:e,reject:t,promise:r})}function Xu(e,t){const r=[],n=[],o=e((...d)=>{const c=n.shift();c?c.resolve({value:d,done:!1}):r.push(d)}),a=t?.signal;let i=!1,s=null;const l=()=>{s=new Error("Abort Error")},u=()=>{o?.(),a?.removeEventListener("abort",l)};return a?.addEventListener("abort",l,{once:!0}),{async next(){const d=r.shift();if(d)return{value:d,done:!1};if(i)return{value:void 0,done:!0};if(s)return Promise.reject(s);const c=Qu();return n.push(c),c.promise},async return(){i=!0,u();for(const d of n)d.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(d){return s=d,u(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*ec(e){const t=async o=>{if(!n.return)throw new ze("events.return is undefined");await n.return(o)},r=async o=>{if(!n.return)throw new ze("events.return is undefined");await n.return(o)},n=Xu(o=>(e.addEventListener("message",o),e.addEventListener("error",r),e.addEventListener("close",t),()=>{e.removeEventListener("message",o),e.removeEventListener("error",r),e.removeEventListener("close",t)}));for await(const[o]of n)yield o}class tc{connector;counter;serializer;stream;logger;params;connection;constructor(t,r,n,o,a,i){this.connector=t,this.counter=r,this.serializer=n,this.stream=o,this.logger=a,this.params=i}async*values(){try{this.logger?.log("info","Subscribing to stream",this.stream);for await(this.connection of this.connector){const t=this.serializer.serialize("json",{type:"subscribe",stream:this.stream,...this.params});this.logger?.log("debug","↑ WEBSOCKET",t),this.connection.send(t),this.counter.increment(this.stream,this.params);const r=ec(this.connection);for await(const n of r){const o=this.parseMessage(n.data);this.test(o)&&(this.logger?.log("debug","↓ WEBSOCKET",o),yield o)}}}finally{this.unsubscribe()}}unsubscribe(){if(this.connection){if(this.counter.decrement(this.stream,this.params),this.counter.count(this.stream,this.params)<=0){const t=this.serializer.serialize("json",{type:"unsubscribe",stream:this.stream,...this.params});this.connection.send(t)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(t){const r=this.params??{},n=Object.values(r);return[this.stream,...n].every(a=>t.stream.includes(a))}parseMessage(t){const r=this.serializer.deserialize("json",t);if("error"in r)throw new ze(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 rc{counts=new Map;count(t,r){const n=this.hash(t,r);return this.counts.get(n)??0}increment(t,r){const n=this.hash(t,r);this.counts.has(n)||this.counts.set(n,0),this.counts.set(n,this.counts.get(n)+1)}decrement(t,r){const n=this.hash(t,r);if(!this.counts.has(n))throw new Error("Cannot decrement non-existent count");this.counts.set(n,this.counts.get(n)-1)}hash(t,r){return JSON.stringify({stream:t,params:r})}}class nc{connector;counter;serializer;logger;constructor(t,r,n,o){this.connector=t,this.counter=r,this.serializer=n,this.logger=o}dispatch(t){if(t.type==="close")return this.connector.kill(),{};if(t.type==="prepare")return this.connector.acquire();if(t.type!=="subscribe")throw new ze(`Unknown action type ${t.type}`);const r=t.data??{},n=t.path.replace(/^\//,"").replaceAll("/",":");return new tc(this.connector,this.counter,this.serializer,n,this.logger,{...r})}[Symbol.dispose](){this.connector.kill()}}const Tt=(e,t={})=>{const{context:r=[],applicable:n=!1}=t;let o={};const a={get:ac(e,r)};return n&&(o=qu,a.apply=ic(e,r)),new Proxy(o,a)},oc=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),ac=(e,t)=>(r,n)=>{if(!(typeof n=="string"&&oc.has(n))){if(n===Symbol.dispose)return e[Symbol.dispose];if(typeof n!="symbol")return n.startsWith("$")?Tt(e,{context:[...t,n],applicable:!0}):Tt(e,{context:[...t,An(n)],applicable:!0})}},ic=(e,t)=>(r,n,o)=>{const a=t.pop();if(!a)throw new Error("No action specified");if(a==="$select")return Tt(e,{context:[...t,...o],applicable:!0});const i="/"+t.join("/"),[s,l]=o;return e.dispatch({type:a,path:i,data:s,meta:l})},sc=([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 lc{props;serializer;constructor(t,r){this.props=t,this.serializer=r}mergeRequestInitWithDefaults(t={}){const r={...this.props.requestInit};{const{headers:n,signal:o,...a}=t;Object.assign(r,a),r.headers=this.mergeHeadersWithDefaults(n),r.signal=this.mergeAbortSignalWithDefaults(o)}return r}resolvePath(t,r){const n=new URL(t,this.props.url);return typeof r=="string"?n.search=r:r&&(n.search=this.serializer.serialize("querystring",r)),n}mergeHeadersWithDefaults(t={}){const r=sc([this.props.requestInit?.headers??{},t]),n=new Headers(r);return this.props.accessToken&&n.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(n)}mergeAbortSignalWithDefaults(t){const r=[];return this.props.timeout&&r.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&r.push(this.props.requestInit.signal),t&&r.push(t),AbortSignal.any(r)}}class uc{props;serializer;constructor(t,r){this.props=t,this.serializer=r}getProtocols(t=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...t]:[this.props.accessToken,...t]}resolvePath(t,r={}){const n=new URL(t,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(r.accessToken=this.props.accessToken),n.search=this.serializer.serialize("querystring",r),n}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?Number.POSITIVE_INFINITY:this.props.retry===!1?1:this.props.retry}}class cc{get(t,r,n={}){return this.request({method:"GET",path:t,search:r,...n}).then(o=>o.data)}post(t,r,n={}){return this.request({method:"POST",path:t,body:r,...n}).then(o=>o.data)}delete(t,r,n={}){return this.request({method:"DELETE",path:t,body:r,...n}).then(o=>o.data)}put(t,r,n={}){return this.request({method:"PUT",path:t,body:r,...n}).then(o=>o.data)}patch(t,r,n={}){return this.request({method:"PATCH",path:t,body:r,...n}).then(o=>o.data)}}const bo=e=>{const t=e.get("Content-Type")?.replace(/\s*;.*$/,"");if(typeof t=="string")switch(t){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class dc extends cc{serializer;config;logger;constructor(t,r,n){super(),this.serializer=t,this.config=r,this.logger=n}async request(t){const r=this.createRequest(t);try{this.logger?.log("info",`↑ ${r.method} ${r.url}`),this.logger?.log("debug"," body",{encoding:t.encoding,body:t.body});const n=await fetch(r);if(!n.ok)throw n;const o=await n.text(),a=bo(n.headers);if(!a)throw new ze("The server returned data with an unknown encoding.");const i=this.serializer.deserialize(a,o);return this.logger?.log("info",`↓ ${r.method} ${r.url}`),this.logger?.log("debug"," body",o),{headers:n.headers,data:i}}catch(n){throw this.logger?.log("debug","HTTP failed",n),await this.createError(n)}}createRequest(t){const{method:r,path:n,search:o,encoding:a="json",requestInit:i={}}=t,s=this.config.resolvePath(n,o),l=this.serializer.serialize(a,t.body),u=this.config.mergeRequestInitWithDefaults(i),d=new Request(s,{method:r,body:l,...u});return typeof l=="string"&&a==="json"&&d.headers.set("Content-Type","application/json"),d}async createError(t){if(t instanceof Response){const r=bo(t.headers);if(!r)throw new ze("The server returned data with an unknown encoding. The server may be down.");const n=this.serializer.deserialize(r,await t.text()),{error:o,errorDescription:a,details:i,...s}=n;return new ri({statusCode:t.status,message:o,description:a,details:i,additionalProperties:s},{cause:t})}return t instanceof DOMException&&t.name==="TimeoutError"?new ni("Request timed out",{cause:t}):t}}class fc{level;constructor(t){this.level=t}log(t,r,n){if(!this.level.satisfies(t))return;const o=n==null?[r]:[r,n];switch(t){case"debug":{console.debug(...o);return}case"info":{console.info(...o);return}case"warn":{console.warn(...o);return}case"error":{console.error(...o);return}}}}const ce=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class rt{level;constructor(t){this.level=t}satisfies(t){switch(t){case"debug":return!!(this.level&ce.DEBUG);case"info":return!!(this.level&ce.INFO);case"warn":return!!(this.level&ce.WARN);case"error":return!!(this.level&ce.ERROR)}}static from(t){switch(t){case"debug":return new rt(ce.DEBUG|ce.INFO|ce.WARN|ce.ERROR);case"info":return new rt(ce.INFO|ce.WARN|ce.ERROR);case"warn":return new rt(ce.WARN|ce.ERROR);case"error":return new rt(ce.ERROR)}}}const Ni=e=>{const t=rt.from(e??"warn");return new fc(t)},Ii=e=>{const t=(r,n="")=>Array.isArray(r)?r.flatMap((o,a)=>t(o,n==""?a.toString():e.onArray(n,a))):Cn(r)?Object.entries(r).flatMap(([o,a])=>t(a,n===""?o:e.onObject(n,o))):[[n,r]];return t},hc=e=>{const t=Ii({onArray:(r,n)=>`${r}[${n}]`,onObject:(r,n)=>`${r}[${n}]`});return Object.fromEntries(t(e))},pc=e=>Ii({onArray:r=>`${r}[]`,onObject:(r,n)=>`${r}[${n}]`})(e).filter(([,r])=>r!=null).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&"),Kr=(e,t)=>Array.isArray(e)?e.map(r=>Kr(r,t)):Cn(e)?Object.fromEntries(Object.entries(e).map(([r,n])=>[t(r),Kr(n,t)])):e,Eo=(e,t)=>Kr(e,n=>n.includes(":")||n.startsWith("_")?n:t(n));class Di{serialize(t,r){const n=Eo(r,An);switch(t){case"json":return JSON.stringify(n);case"multipart-form":{const o=new FormData;for(const[a,i]of Object.entries(hc(n)))o.append(a,i);return o}case"querystring":return pc(n);default:throw new ze(`Unknown content type ${t} to serialize.`)}}deserialize(t,r){switch(t){case"json":try{return Eo(JSON.parse(r),Uu)}catch{throw new vo(`Malformed JSON ${r} returned from the server.`,t,r)}default:throw new vo(`Unknown content type ${t} returned from the server.`,t,r)}}}const mc=e=>{const t=new Di,r=new lc(e,t),n=Ni(e.log),o=new dc(t,r,n),a=new Wu(o),i=new Vu(o,a);return Tt(i,{context:["api"]})};function _c(e){const t=new Di,r=new uc(e,t),n=Ni(e.log),o=new Ju({constructorParameters:[r.resolvePath("/api/v1/streaming"),r.getProtocols()],implementation:e.implementation,maxAttempts:r.getMaxAttempts()},n),a=new rc,i=new nc(o,a,t,n);return Tt(i)}var gt={exports:{}},vt={exports:{}},yc=vt.exports,So;function gc(){return So||(So=1,function(e,t){(function(r,n){e.exports=n()})(yc,function(){"use strict";var r={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n=Array.prototype.slice;function o(c){var h=c.length;return h?h===1?[c[0]]:h===2?[c[0],c[1]]:h===3?[c[0],c[1],c[2]]:n.call(c,0):[]}function a(c){var h={};for(var f in c)r[f]||(h[f]=c[f]);return h}function i(c){return typeof c=="function"&&c.isMemoized}function s(c,h){return c===h||c!==c&&h!==h}function l(c,h){var f={};for(var m in c)f[m]=c[m];for(var m in h)f[m]=h[m];return f}var u=function(){function c(h){this.keys=[],this.values=[],this.options=h;var f=typeof h.isMatchingKey=="function";f?this.getKeyIndex=this._getKeyIndexFromMatchingKey:h.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey=typeof h.transformKey=="function",this.shouldCloneArguments=this.canTransformKey||f,this.shouldUpdateOnAdd=typeof h.onCacheAdd=="function",this.shouldUpdateOnChange=typeof h.onCacheChange=="function",this.shouldUpdateOnHit=typeof h.onCacheHit=="function"}return Object.defineProperty(c.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"snapshot",{get:function(){return{keys:o(this.keys),size:this.size,values:o(this.values)}},enumerable:!1,configurable:!0}),c.prototype._getKeyIndexFromMatchingKey=function(h){var f=this.options,m=f.isMatchingKey,_=f.maxSize,g=this.keys,b=g.length;if(!b)return-1;if(m(g[0],h))return 0;if(_>1){for(var A=1;A1){for(var L=0;L<_;L++)if(b=m[L],b.length===g){for(A=0;A1){for(var b=0;b<_;b++)if(!g(m[b],h[b]))return-1;return 0}return g(m[0],h[0])?0:-1},c.prototype.orderByLru=function(h,f,m){for(var _=this.keys,g=this.values,b=_.length,A=m;A--;)_[A+1]=_[A],g[A+1]=g[A];_[0]=h,g[0]=f;var L=this.options.maxSize;b===L&&m===b?(_.pop(),g.pop()):m>=L&&(_.length=g.length=L)},c.prototype.updateAsyncCache=function(h){var f=this,m=this.options,_=m.onCacheChange,g=m.onCacheHit,b=this.keys[0],A=this.values[0];this.values[0]=A.then(function(L){return f.shouldUpdateOnHit&&g(f,f.options,h),f.shouldUpdateOnChange&&_(f,f.options,h),L},function(L){var B=f.getKeyIndex(b);throw B!==-1&&(f.keys.splice(B,1),f.values.splice(B,1)),L})},c}();function d(c,h){if(h===void 0&&(h={}),i(c))return d(c.fn,l(c.options,h));if(typeof c!="function")throw new TypeError("You must pass a function to `memoize`.");var f=h.isEqual,m=f===void 0?s:f,_=h.isMatchingKey,g=h.isPromise,b=g===void 0?!1:g,A=h.maxSize,L=A===void 0?1:A,B=h.onCacheAdd,Q=h.onCacheChange,W=h.onCacheHit,G=h.transformKey,te=l({isEqual:m,isMatchingKey:_,isPromise:b,maxSize:L,onCacheAdd:B,onCacheChange:Q,onCacheHit:W,transformKey:G},a(h)),$=new u(te),Z=$.keys,p=$.values,v=$.canTransformKey,E=$.shouldCloneArguments,S=$.shouldUpdateOnAdd,C=$.shouldUpdateOnChange,T=$.shouldUpdateOnHit,P=function(){var I=E?o(arguments):arguments;v&&(I=G(I));var D=Z.length?$.getKeyIndex(I):-1;if(D!==-1)T&&W($,te,P),D&&($.orderByLru(Z[D],p[D],D),C&&Q($,te,P));else{var N=c.apply(this,arguments),K=E?I:o(arguments);$.orderByLru(K,N,Z.length),b&&$.updateAsyncCache(P),S&&B($,te,P),C&&Q($,te,P)}return p[0]};return P.cache=$,P.fn=c,P.isMemoized=!0,P.options=te,P}return d})}(vt,vt.exports)),vt.exports}var wt={exports:{}},vc=wt.exports,Ao;function wc(){return Ao||(Ao=1,function(e,t){(function(r,n){n(t)})(vc,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 u(){var p=[];return{delete:function(v){for(var E=0;E0;)if(!E(p[C],v[C],C,C,p,v,S))return!1;return!0}function f(p,v,E,S){var C=p.size===v.size;if(C&&p.size){var T={},P=0;p.forEach(function(I,D){if(C){var N=!1,K=0;v.forEach(function(X,le){!N&&!T[K]&&(N=E(D,le,P,K,p,v,S)&&E(I,X,D,le,p,v,S),N&&(T[K]=!0)),K++}),P++,C=N}})}return C}var m="_owner",_=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function g(p,v,E,S){var C=o(p),T=C.length;if(o(v).length!==T)return!1;if(T)for(var P=void 0;T-- >0;){if(P=C[T],P===m){var I=l(p),D=l(v);if((I||D)&&I!==D)return!1}if(!_(v,P)||!E(p[P],v[P],P,P,p,v,S))return!1}return!0}var b=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 A(p,v,E,S){var C=p.size===v.size;if(C&&p.size){var T={};p.forEach(function(P,I){if(C){var D=!1,N=0;v.forEach(function(K,X){!D&&!T[N]&&(D=E(P,K,I,X,p,v,S),D&&(T[N]=!0)),N++}),C=D}})}return C}var L=typeof Map=="function",B=typeof Set=="function",Q=Object.prototype.valueOf;function W(p){var v=typeof p=="function"?p(E):function(S,C,T,P,I,D,N){return E(S,C,N)};function E(S,C,T){if(S===C)return!0;if(S&&C&&typeof S=="object"&&typeof C=="object"){if(i(S)&&i(C))return g(S,C,v,T);var P=Array.isArray(S),I=Array.isArray(C);return P||I?P===I&&h(S,C,v,T):(P=S instanceof Date,I=C instanceof Date,P||I?P===I&&a(S.getTime(),C.getTime()):(P=S instanceof RegExp,I=C instanceof RegExp,P||I?P===I&&b(S,C):s(S)||s(C)?S===C:L&&(P=S instanceof Map,I=C instanceof Map,P||I)?P===I&&f(S,C,v,T):B&&(P=S instanceof Set,I=C instanceof Set,P||I)?P===I&&A(S,C,v,T):S.valueOf!==Q||C.valueOf!==Q?a(S.valueOf(),C.valueOf()):g(S,C,v,T)))}return S!==S&&C!==C}return E}var G=W(),te=W(function(){return a}),$=W(c()),Z=W(c(a));r.circularDeepEqual=$,r.circularShallowEqual=Z,r.createCustomEqual=W,r.deepEqual=G,r.sameValueZeroEqual=a,r.shallowEqual=te,Object.defineProperty(r,"__esModule",{value:!0})})}(wt,wt.exports)),wt.exports}var bc=gt.exports,Co;function Ec(){return Co||(Co=1,function(e,t){(function(r,n){e.exports=n(gc(),wc())})(bc,function(r,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(y){for(var w=1;w=0)&&(O[M]=y[M]);return O}var i={isDeepEqual:!1,isPromise:!1,isReact:!1,isSerialized:!1,isShallowEqual:!1,matchesArg:void 0,matchesKey:void 0,maxAge:void 0,maxArgs:void 0,maxSize:1,onExpire:void 0,profileName:void 0,serializer:void 0,updateCacheForKey:void 0,transformArgs:void 0,updateExpire:!1};function s(){for(var y=arguments.length,w=new Array(y),O=0;OJe&&(V.keys.length=Je,V.values.length=Je),V.keys.unshift(Ze),V.values.unshift(j),oe.isPromise&&V.updateAsyncCache(x),_e&&_e(V,oe,x),ye&&ye(V,oe,x)}else{var Mt=V.keys[Re];V.values[Re]=j,Re>0&&V.orderByLru(Mt,j,Re),oe.isPromise&&V.updateAsyncCache(x),typeof ye=="function"&&ye(V,oe,x)}},x.values=function(){return x.cacheSnapshot.values}}function T(y,w){var O=w.expirations,R=w.options,M=w.originalFunction,x=y.options;Object.defineProperties(y,{_microMemoizeOptions:{configurable:!0,get:function(){return x}},cacheSnapshot:{configurable:!0,get:function(){var re=y.cache;return{keys:re.keys.slice(0),size:re.size,values:re.values.slice(0)}}},expirations:{configurable:!0,get:function(){return O}},expirationsSnapshot:{configurable:!0,get:function(){return O.slice(0)}},isMoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return R}},originalFunction:{configurable:!0,get:function(){return M}}});var k=y;S(M,k)}function P(y,w){return C(y,w),T(y,w),y}var I=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function D(y,w,O){var R=y(o({maxArgs:2,isShallowEqual:!0},O,{isReact:!1}));w.displayName||(w.displayName=w.name||"Component");function M(x,k,j){this.props=x,this.context=k,this.updater=j,this.MoizedComponent=R(w)}return M.prototype.isReactComponent={},M.prototype.render=function(){return{$$typeof:I,type:this.MoizedComponent,props:this.props,ref:null,key:null,_owner:null}},S(w,M,["contextType","contextTypes"]),M.displayName="Moized("+(w.displayName||w.name||"Component")+")",f(M,w.name,O.profileName),M}function N(y){return function(w){if(y>=w.length)return w;if(y===0)return[];if(y===1)return[w[0]];if(y===2)return[w[0],w[1]];if(y===3)return[w[0],w[1],w[2]];for(var O=[],R=0;R=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||$(w)}),j=[];k.matchesArg,k.isDeepEqual;var re=k.isPromise;k.isReact,k.isSerialized,k.isShallowEqual,k.matchesKey,k.maxAge,k.maxArgs;var V=k.maxSize,oe=k.onCacheAdd,_e=k.onCacheChange,ye=k.onCacheHit;k.onExpire,k.profileName,k.serializer;var be=k.updateCacheForKey;k.transformArgs,k.updateExpire;var Ze=a(k,es),Re=Pe(k),Je=Fe(k),Mt=A(j,k,Re,Je),Mn=v(k),rs=Ye(k),ns=o({},Ze,{isEqual:Re,isMatchingKey:Je,isPromise:re,maxSize:V,onCacheAdd:we(s(oe,Mt.onCacheAdd,Mn.onCacheAdd)),onCacheChange:we(_e),onCacheHit:we(s(ye,Mt.onCacheHit,Mn.onCacheHit)),transformKey:rs}),os=r(w,ns),kt=P(os,{expirations:j,options:k,originalFunction:w});return be&&(kt=hr(kt)),f(kt,w.name,R.profileName),kt};F.clearStats=Q,F.collectStats=W,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 L.isCollectingStats},F.isMoized=function(w){return typeof w=="function"&&!!w.isMoized},F.matchesArg=function(y){return F({matchesArg:y})},F.matchesKey=function(y){return F({matchesKey:y})};function ts(y,w){if(w===!0)return F({maxAge:y,updateExpire:w});if(typeof w=="object"){var O=w.onExpire,R=w.updateExpire;return F({maxAge:y,onExpire:O,updateExpire:R})}return F(typeof w=="function"?{maxAge:y,onExpire:w,updateExpire:!0}:{maxAge:y})}return F.maxAge=ts,F.maxArgs=function(y){return F({maxArgs:y})},F.maxSize=function(y){return F({maxSize:y})},F.profile=function(y){return F({profileName:y})},F.promise=F({isPromise:!0,updateExpire:!0}),F.react=F({isReact:!0}),F.serialize=F({isSerialized:!0}),F.serializeWith=function(y){return F({isSerialized:!0,serializer:y})},F.shallow=F({isShallowEqual:!0}),F.transformArgs=function(y){return F({transformArgs:y})},F.updateCacheForKey=function(y){return F({updateCacheForKey:y})},Object.defineProperty(F,"default",{configurable:!1,enumerable:!1,value:F,writable:!1}),F})}(gt,gt.exports)),gt.exports}var Sc=Ec();const Ui=ls(Sc);typeof window<"u"&&(window._moize=Ui);function fr(e,t={}){return Ui(e,{...t,maxSize:30,isDeepEqual:!0})}/*! js-cookie v3.0.5 | MIT */function It(e){for(var t=1;t"u")){i=It({},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;sn.info.id===e):t[0];return r?(r.lastAccessedAt=Date.now(),setTimeout(()=>{Tn(t)},1),r):null}function Pc(e){return pt().find(r=>r.accessToken===e)}function Rc(e){return pt().find(r=>r.instanceURL===e)}function Af(e){return pt().some(r=>r.instanceURL===e)}const qi=window.matchMedia("(display-mode: standalone)");function ji(){try{const e=U.session.get("currentAccount");if(e)return e}catch{}if(qi.matches)try{const e=U.local.get("currentAccount");if(e)return e}catch{}return null}const Cf=fr(()=>ji(),{maxAge:60*1e3});function Tc(e){try{U.session.set("currentAccount",e)}catch{}if(qi.matches)try{U.local.set("currentAccount",e)}catch{}}function Ot(){window.__IGNORE_GET_ACCOUNT_ERROR__;const e=ji();return Fi(e)}function wr(){const e=Ot(),{instanceURL:t,info:{id:r}}=e;return`${r}@${t}`}function xc(e){const t=pt(),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),Tn(t)}function Pf(e){const t=pt(),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},Tn(t))}let br=null;function xn(){if(br)return br;try{const e=Ot(),t=U.local.getJSON("instances"),r=e.instanceURL.toLowerCase();return br=t[r]}catch{return{}}}let Er=null;function Rf(){if(Er)return Er;try{const e=Ot(),t=U.local.getJSON("nodeInfos")||{},r=e.instanceURL.toLowerCase();return Er=t[r]||{}}catch{return{}}}function Hi(e){const{configuration:t,maxMediaAttachments:r,maxTootChars:n,pollLimits:o}=e,a=t?.statuses||{};r&&(a.maxMediaAttachments??=r),n&&(a.maxCharacters??=n);const i=t?.polls||{};return o&&(i.maxCharactersPerOption??=o.maxOptionChars,i.maxExpiration??=o.maxExpiration,i.maxOptions??=o.maxOptions,i.minExpiration??=o.minExpiration),{...t,statuses:a,polls:i}}function Lc(){const e=xn();return Hi(e)}function Tf(){return xn()?.apiVersions||{}}function xf(e){const t=e?Hi(e):Lc();return t?.vapid?.publicKey||t?.vapid?.public_key||Ot()?.vapidKey}function Lf(){const e=xn();return/pixelfed/i.test(e?.version)}const Vr="credentialApplications";function Of(e,t){const r=U.local.getJSON(Vr)||{};r[e]=t,U.local.setJSON(Vr,r)}function Mf(e){return(U.local.getJSON(Vr)||{})[e]||null}const Sr=Cc.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}}},zt={get:e=>Sr.get(e),set:(e,t)=>Sr.set(e,t),del:e=>Sr.remove(e)},Oc={get:e=>navigator.cookieEnabled?zt.get(e):ot.get(e),set:(e,t)=>navigator.cookieEnabled?zt.set(e,t):ot.set(e,t),del:e=>navigator.cookieEnabled?zt.del(e):ot.del(e)},Mc={get:e=>{try{return xe.getJSON(e)[wr()]}catch{return null}},set:(e,t)=>{try{const r=xe.getJSON(e)||{};return r[wr()]=t,xe.setJSON(e,r)}catch{return null}},del:e=>{try{const t=xe.getJSON(e)||{};return delete t[wr()],xe.setJSON(e,t)}catch{return null}}},U={local:xe,session:ot,sessionCookie:Oc,cookie:zt,account:Mc},$t="mastodon.social",rr={},de={};window.__ACCOUNT_APIS__=de;let ae;function Te({instance:e,accessToken:t}){/^https?:\/\//.test(e)&&(e=e.replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase());const r=e?`https://${e}`:`https://${$t}`,o={masto:mc({url:r,accessToken:t,timeout:2*6e4}),instance:e,accessToken:t};return rr[e]=o,de[e]||(de[e]={}),t&&(de[e][t]=o),o}function kf(e){return!!(U.local.getJSON("instances")||{})[e]}async function Nf(e,t){const{masto:r,accessToken:n}=e;let o;__BENCHMARK.start("fetch-instance");try{o=await r.v2.instance.fetch()}catch{}if(!o)try{o=await r.v1.instance.fetch()}catch{}if(__BENCHMARK.end("fetch-instance"),!o)return;const{uri:a,urls:{streamingApi:i}={},domain:s,configuration:{urls:{streaming:l}={}}={}}=o,u=U.local.getJSON("instances")||{};(a||s)&&(u[(s||a).replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase()]=o),t&&(u[t.toLowerCase()]=o),U.local.setJSON("instances",u);let d;try{if(a||s){let f=a||`https://${s}`;const m=await(await fetch(`${f}/.well-known/nodeinfo`)).json();if(Array.isArray(m?.links)){const _="http://nodeinfo.diaspora.software/ns/schema/",g=m.links.filter(b=>typeof b.rel=="string"&&b.rel.startsWith(_)&&Cu(b.rel.slice(_.length))).map(b=>({version:b.rel.slice(_.length),href:b.href})).sort((b,A)=>-ei(b.version,A.version)).find(b=>Bt(b.version,"<=2"))?.href;g&&(d=await(await fetch(g)).json())}}}catch{}const c=U.local.getJSON("nodeInfos")||{};if(d&&(c[t.toLowerCase()]=d),U.local.setJSON("nodeInfos",c),"WebSocket"in window&&(i||l)){const f=_c({streamingApiUrl:l||i,accessToken:n,implementation:WebSocket});e.streaming=f}__BENCHMARK.end("init-instance")}async function If(e,t,r,n){const{masto:o}=e,a=await o.v1.accounts.verifyCredentials();Tc(a.id),xc({info:a,instanceURL:t.toLowerCase(),accessToken:r,vapidKey:n,createdAt:Date.now()})}const Bi=fr(()=>U.account.get("preferences")||{},{maxAge:60*1e3});function kc(e){Bi.clear(),U.account.set("preferences",e)}function Df(){return!!Bi()}async function Uf(e){try{const{masto:t}=e;__BENCHMARK.start("fetch-preferences");const r=await t.v1.preferences.fetch();__BENCHMARK.end("fetch-preferences"),kc(r)}catch{}}function nr({instance:e,accessToken:t,accountID:r,account:n}={}){if(e&&(e=e.toLowerCase().trim()),e&&t){const l=de[e]?.[t]||Te({instance:e,accessToken:t}),{masto:u,streaming:d}=l;return{masto:u,streaming:d,client:l,authenticated:!0,instance:e}}if(t)for(const l in de)if(de[l][t]){const u=de[l][t],{masto:d,streaming:c}=u;return{masto:d,streaming:c,client:u,authenticated:!0,instance:l}}else{const u=Pc(t);if(u){const d=u.accessToken,c=u.instanceURL.toLowerCase().trim(),h=Te({instance:c,accessToken:d}),{masto:f,streaming:m}=h;return{masto:f,streaming:m,client:h,authenticated:!0,instance:c}}else throw new Error("Access token not found")}if(n||r)if(n=n||Fi(r),n){const l=n.accessToken,u=n.instanceURL.toLowerCase().trim(),d=de[u]?.[l]||Te({instance:u,accessToken:l}),{masto:c,streaming:h}=d;return{masto:c,streaming:h,client:d,authenticated:!0,instance:u}}else throw new Error(`Account ${r} not found`);const o=Ot();if(e){if(ae?.instance===e)return{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:e};if(o?.instanceURL===e){const{accessToken:f}=o;return ae=de[e]?.[f]||Te({instance:e,accessToken:f}),{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:e}}const l=Rc(e);if(l){const f=l.accessToken,m=de[e]?.[f]||Te({instance:e,accessToken:f}),{masto:_,streaming:g}=m;return{masto:_,streaming:g,client:m,authenticated:!0,instance:e}}const u=rr[e]||Te({instance:e}),{masto:d,streaming:c,accessToken:h}=u;return{masto:d,streaming:c,client:u,authenticated:!!h,instance:e}}if(ae)return{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:ae.instance};if(o){const{accessToken:l,instanceURL:u}=o;return ae=de[u]?.[l]||Te({instance:u,accessToken:l}),{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:u}}const a=rr[$t]||Te({instance:$t}),{masto:i,streaming:s}=a;return{masto:i,streaming:s,client:a,authenticated:!1,instance:$t}}window.__API__={currentAccountApi:ae,apis:rr,accountApis:de};var Nc=Object.getOwnPropertyNames,Ic=Object.getOwnPropertySymbols,Dc=Object.prototype.hasOwnProperty;function Po(e,t){return function(n,o,a){return e(n,o,a)&&t(n,o,a)}}function Dt(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 Ro(e){return Nc(e).concat(Ic(e))}var Uc=Object.hasOwn||function(e,t){return Dc.call(e,t)};function Ve(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var Fc="__v",qc="__o",jc="_owner",To=Object.getOwnPropertyDescriptor,xo=Object.keys;function Hc(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 Bc(e,t){return Ve(e.getTime(),t.getTime())}function zc(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function $c(e,t){return e===t}function Lo(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var o=new Array(n),a=e.entries(),i,s,l=0;(i=a.next())&&!i.done;){for(var u=t.entries(),d=!1,c=0;(s=u.next())&&!s.done;){if(o[c]){c++;continue}var h=i.value,f=s.value;if(r.equals(h[0],f[0],l,c,e,t,r)&&r.equals(h[1],f[1],h[0],f[0],e,t,r)){d=o[c]=!0;break}c++}if(!d)return!1;l++}return!0}var Gc=Ve;function Kc(e,t,r){var n=xo(e),o=n.length;if(xo(t).length!==o)return!1;for(;o-- >0;)if(!zi(e,t,r,n[o]))return!1;return!0}function _t(e,t,r){var n=Ro(e),o=n.length;if(Ro(t).length!==o)return!1;for(var a,i,s;o-- >0;)if(a=n[o],!zi(e,t,r,a)||(i=To(e,a),s=To(t,a),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function Wc(e,t){return Ve(e.valueOf(),t.valueOf())}function Vc(e,t){return e.source===t.source&&e.flags===t.flags}function Oo(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var o=new Array(n),a=e.values(),i,s;(i=a.next())&&!i.done;){for(var l=t.values(),u=!1,d=0;(s=l.next())&&!s.done;){if(!o[d]&&r.equals(i.value,s.value,i.value,s.value,e,t,r)){u=o[d]=!0;break}d++}if(!u)return!1}return!0}function Yc(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function Zc(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function zi(e,t,r,n){return(n===jc||n===qc||n===Fc)&&(e.$$typeof||t.$$typeof)?!0:Uc(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var Jc="[object Arguments]",Qc="[object Boolean]",Xc="[object Date]",ed="[object Error]",td="[object Map]",rd="[object Number]",nd="[object Object]",od="[object RegExp]",ad="[object Set]",id="[object String]",sd="[object URL]",ld=Array.isArray,Mo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,ko=Object.assign,ud=Object.prototype.toString.call.bind(Object.prototype.toString);function cd(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areErrorsEqual,o=e.areFunctionsEqual,a=e.areMapsEqual,i=e.areNumbersEqual,s=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,d=e.areSetsEqual,c=e.areTypedArraysEqual,h=e.areUrlsEqual;return function(m,_,g){if(m===_)return!0;if(m==null||_==null)return!1;var b=typeof m;if(b!==typeof _)return!1;if(b!=="object")return b==="number"?i(m,_,g):b==="function"?o(m,_,g):!1;var A=m.constructor;if(A!==_.constructor)return!1;if(A===Object)return s(m,_,g);if(ld(m))return t(m,_,g);if(Mo!=null&&Mo(m))return c(m,_,g);if(A===Date)return r(m,_,g);if(A===RegExp)return u(m,_,g);if(A===Map)return a(m,_,g);if(A===Set)return d(m,_,g);var L=ud(m);return L===Xc?r(m,_,g):L===od?u(m,_,g):L===td?a(m,_,g):L===ad?d(m,_,g):L===nd?typeof m.then!="function"&&typeof _.then!="function"&&s(m,_,g):L===sd?h(m,_,g):L===ed?n(m,_,g):L===Jc?s(m,_,g):L===Qc||L===rd||L===id?l(m,_,g):!1}}function dd(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?_t:Hc,areDatesEqual:Bc,areErrorsEqual:zc,areFunctionsEqual:$c,areMapsEqual:n?Po(Lo,_t):Lo,areNumbersEqual:Gc,areObjectsEqual:n?_t:Kc,arePrimitiveWrappersEqual:Wc,areRegExpsEqual:Vc,areSetsEqual:n?Po(Oo,_t):Oo,areTypedArraysEqual:n?_t:Yc,areUrlsEqual:Zc};if(r&&(o=ko({},o,r(o))),t){var a=Dt(o.areArraysEqual),i=Dt(o.areMapsEqual),s=Dt(o.areObjectsEqual),l=Dt(o.areSetsEqual);o=ko({},o,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:s,areSetsEqual:l})}return o}function fd(e){return function(t,r,n,o,a,i,s){return e(t,r,s)}}function hd(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,a=e.strict;if(n)return function(l,u){var d=n(),c=d.cache,h=c===void 0?t?new WeakMap:void 0:c,f=d.meta;return r(l,u,{cache:h,equals:o,meta:f,strict:a})};if(t)return function(l,u){return r(l,u,{cache:new WeakMap,equals:o,meta:void 0,strict:a})};var i={cache:void 0,equals:o,meta:void 0,strict:a};return function(l,u){return r(l,u,i)}}var pd=Ue(),Ff=Ue({strict:!0}),qf=Ue({circular:!0}),jf=Ue({circular:!0,strict:!0}),Hf=Ue({createInternalComparator:function(){return Ve}}),Bf=Ue({strict:!0,createInternalComparator:function(){return Ve}}),zf=Ue({circular:!0,createInternalComparator:function(){return Ve}}),$f=Ue({circular:!0,createInternalComparator:function(){return Ve},strict:!0});function Ue(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=dd(e),l=cd(s),u=n?n(l):fd(l);return hd({circular:r,comparator:l,createState:o,equals:u,strict:i})}function $i(e,t,r,n){let o=e[t];return En(e,()=>{const a=e[t];Object.is(o,a)||r(o=a)},n)}const Gf=Symbol();const{proxyStateMap:Kf,snapCache:Wf}=Qa();const{proxyStateMap:Vf,snapCache:Yf}=Qa();const Zf=Symbol();function md(e){try{const{pathname:t,hash:r,hostname:n}=URL.parse(e);return/^\/.*\/\d+$/i.test(t)||/^\/(@[^/]+|users\/[^/]+)\/(statuses|posts)\/[\w-]+\/?$/i.test(t)||/^\/notes\/[a-z0-9]+$/i.test(t)||/^\/(notice|objects)\/[a-z0-9-]+$/i.test(t)||/^\/@[^/]+\/post\/[a-z0-9\-_]+$/i.test(t)||/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(t)||/^\/ap\/note\/[a-z0-9\-_]+$/i.test(t)||/(fed|bsky)\.brid\.gy/i.test(n)&&t.startsWith("/r/http")||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(t)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(t)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(r)}catch{return!1}}function _d(e,t={}){return fr(e,{isPromise:!0,...t})}function yd(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))}}const No=new WeakMap,At=new WeakMap,gd=new FinalizationRegistry(({signalWeakRef:e,weakReference:t})=>{const r=e.deref();if(!r)return;const n=At.get(r);n&&(n.throttleds.delete(t),n.throttleds.size===0&&(r.removeEventListener("abort",n.listener),At.delete(r)))});function vd({limit:e,interval:t,strict:r,signal:n,onDelay:o}){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");if(e<0)throw new TypeError("Expected `limit` to be >= 0");if(t<0)throw new TypeError("Expected `interval` to be >= 0");const a={queue:new Map,strictTicks:[],currentTick:0,activeCount:0};function i(){const u=Date.now();return u-a.currentTick>t?(a.activeCount=1,a.currentTick=u,0):(a.activeCount0&&u-a.strictTicks.at(-1)>t&&(a.strictTicks.length=0),a.strictTicks.length{const d=function(...c){if(!d.isEnabled)return(async()=>u.apply(this,c))();let h;return new Promise((f,m)=>{const _=()=>{try{f(u.apply(this,c))}catch(b){m(b)}a.queue.delete(h)},g=l();if(g>0){h=setTimeout(_,g),a.queue.set(h,m);try{o?.(...c)}catch{}}else _()})};if(n?.throwIfAborted(),n){let c=At.get(n);c||(c={throttleds:new Set,listener:null},c.listener=()=>{for(const f of c.throttleds){const m=f.deref();if(!m)continue;const _=No.get(m);if(_){for(const g of _.queue.keys())clearTimeout(g),_.queue.get(g)(n.reason);_.queue.clear(),_.strictTicks.length=0,_.currentTick=0,_.activeCount=0}}At.delete(n)},At.set(n,c),n.addEventListener("abort",c.listener,{once:!0}));const h=new WeakRef(d);c.throttleds.add(h),gd.register(d,{signalWeakRef:new WeakRef(n),weakReference:h})}return d.isEnabled=!0,Object.defineProperty(d,"queueSize",{get(){return a.queue.size}}),No.set(d,a),d}}const wd=vd({limit:1,interval:1e3}),Io=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function bd(e){for(let t=0;t{if(g?.id)return{status:g,instance:s};throw new Error("No results")})}const{masto:d}=nr({instance:e}),c=d.v2.search.fetch({q:a,type:"statuses",resolve:!0,limit:1}).then(m=>{const{statuses:_}=m;if(_.length>0){const g=_.filter(b=>!b.content?.toLowerCase().includes(a.toLowerCase()));if(g.length===1)return{status:g[0],instance:e}}throw new Error("No results")});function h(m){const{status:_,instance:g}=m,{id:b}=_,A=`/${g}/s/${b}`,L={id:b,instance:g,url:A,originalURL:t,originalDomain:s};return H.unfurledLinks[t]=L,Gi(_,g,{skipThreading:!0}),L}function f(m){Do[t]=!0}return o?Promise.race([c,new Promise((_,g)=>setTimeout(g,3e3))]).catch(()=>o.catch(()=>c)).then(h).catch(f):c.then(h).catch(f)}const Ad=wd(Sd),H=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},reloadScheduledPosts: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}});function Jf(){H.notificationsLast=U.account.get("notificationsLast")||null,H.shortcuts=U.account.get("shortcuts")??[],H.settings.autoRefresh=U.account.get("settings-autoRefresh")??!1,H.settings.shortcutsViewMode=U.account.get("settings-shortcutsViewMode")??null,U.account.get("settings-shortcutsColumnsMode")&&(H.settings.shortcutsColumnsMode=!0),H.settings.boostsCarousel=U.account.get("settings-boostsCarousel")??!0,H.settings.contentTranslation=U.account.get("settings-contentTranslation")??!0,H.settings.contentTranslationTargetLanguage=U.account.get("settings-contentTranslationTargetLanguage")||null,H.settings.contentTranslationHideLanguages=U.account.get("settings-contentTranslationHideLanguages")||[],H.settings.contentTranslationAutoInline=U.account.get("settings-contentTranslationAutoInline")??!1,H.settings.shortcutSettingsCloudImportExport=U.account.get("settings-shortcutSettingsCloudImportExport")??!1,H.settings.mediaAltGenerator=U.account.get("settings-mediaAltGenerator")??!1,H.settings.composerGIFPicker=U.account.get("settings-composerGIFPicker")??!1,H.settings.cloakMode=U.account.get("settings-cloakMode")??!1,H.settings.groupedNotificationsAlpha=U.account.get("settings-groupedNotificationsAlpha")??!1}$i(H,"notificationsLast",e=>{U.account.set("notificationsLast",H.notificationsLast)});En(H,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",H.settings.contentTranslationHideLanguages),r.join(".")==="settings.mediaAltGenerator"&&U.account.set("settings-mediaAltGenerator",!!n),r.join(".")==="settings.composerGIFPicker"&&U.account.set("settings-composerGIFPicker",!!n),r?.[0]==="shortcuts"&&U.account.set("shortcuts",H.shortcuts),r.join(".")==="settings.cloakMode"&&U.account.set("settings-cloakMode",!!n),r.join(".")==="settings.groupedNotificationsAlpha"&&U.account.set("settings-groupedNotificationsAlpha",!!n)});function Me(e,t){if(e)return t?`${t}/${e}`:e}function Cd(e,t){if(t){const r=Me(e,t);return H.statuses[r]}return H.statuses[e]}function Gi(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=Cd(e.id,t);!n&&i||pd(e,i)||(queueMicrotask(()=>{const s=Me(e.id,t);if(i?._pinned&&(e._pinned=i._pinned),H.statuses[s]=e,e.reblog?.id){const l=Me(e.reblog.id,t);H.statuses[l]=e.reblog}if(e.quote?.id){const{id:l}=e.quote,u=Me(l,t);H.statuses[u]=e.quote;const d=`/${t}/s/${l}`;H.statusQuotes[s]=[{id:l,instance:t,url:d,native:!0}]}if(e.quote?.state==="accepted"&&e.quote?.quotedStatus){const{quotedStatus:l,state:u}=e.quote,{id:d}=l,c=`/${t}/s/${d}`,h=Me(d,t);H.statuses[h]=l,H.statusQuotes[s]=[{id:d,instance:t,url:c,state:u,native:!0}]}}),o||queueMicrotask(()=>{Rd(e.reblog||e,t)}),a||queueMicrotask(()=>{Td(e.reblog||e,t)}))}function Pd(e,t){const{masto:r,instance:n}=nr({instance:t});let o=0;async function a(i,s=0){const{inReplyToId:l,inReplyToAccountId:u}=i;if(!l||u!==i.account.id)return[i];if(l&&u!==i.account.id)throw"Not a thread";const d=Me(l,n);let c=H.statuses[d];if(!c){if(o++>3)throw"Too many fetches for thread";await new Promise(h=>setTimeout(h,500*o)),c=await xd(l,r),Gi(c,n,{skipThreading:!0})}return[...await a(c,++s),i]}return a(e).then(i=>{i.length>1&&i.forEach((s,l)=>{const u=Me(s.id,n);H.statusThreadNumber[u]=l+1})}).catch(i=>{})}const Rd=yd(Pd,100),Uo=document.createElement("div");function Td(e,t){const{instance:r}=nr(),n=e?.content;if(/{const l=s.href;return!(l===e.url||l===e.uri)&&md(l)}).forEach((s,l)=>{Ad(r,s.href).then(u=>{u&&a&&u?.id!==e.id&&(Array.isArray(H.statusQuotes[a])||(H.statusQuotes[a]=[]),H.statusQuotes[a][l]||H.statusQuotes[a].splice(l,0,u))})})}}const xd=_d((e,t)=>t.v1.statuses.$select(e).fetch());function Ld(e){return Intl.getCanonicalLocales(e)}var Ar={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"}}]}}},Od={"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"]},Ln=/-u(?:-[0-9a-z]{2,8})+/gi;function Ee(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var Md=838,Cr;function kd(){var e,t;if(!Cr){var r=(t=(e=Ar.supplemental.languageMatching["written-new"][0])===null||e===void 0?void 0:e.paradigmLocales)===null||t===void 0?void 0:t._locales.split(" "),n=Ar.supplemental.languageMatching["written-new"].slice(1,5),o=Ar.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],u=s[l];return i[l.slice(1)]=u._value.split("+"),i},{}),paradigmLocales:lt(lt([],r,!0),r.map(function(i){return new Intl.Locale(i.replace(/_/g,"-")).maximize().toString()}),!0)}}return Cr}function Ut(e,t,r){var n=t.split("-"),o=n[0],a=n[1],i=n[2],s=!0;if(i&&i[0]==="$"){var l=i[1]!=="!",u=l?r[i.slice(1)]:r[i.slice(2)],d=u.map(function(c){return Od[c]||[c]}).reduce(function(c,h){return lt(lt([],c,!0),h,!0)},[]);s&&(s=d.indexOf(e.region||"")>-1==l)}else s&&(s=e.region?i==="*"||i===e.region:!0);return s&&(s=e.script?a==="*"||a===e.script:!0),s&&(s=e.language?o==="*"||o===e.language:!0),s}function Fo(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function Pr(e,t,r){for(var n=0,o=r.matches;n-1!=r.paradigmLocales.indexOf(Fo(t))>-1?s-1:s}}throw new Error("No matching distance found")}function Nd(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=kd();return o.language!==a.language&&(i+=Pr({language:r.language,script:"",region:""},{language:n.language,script:"",region:""},s)),o.script!==a.script&&(i+=Pr({language:r.language,script:o.script,region:""},{language:n.language,script:a.script,region:""},s)),o.region!==a.region&&(i+=Pr(o,a,s)),i}function Id(e,t,r){r===void 0&&(r=Md);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=Nd(a,s)+0+i*40;o.distances[a][s]=l,l=r&&(o.matchedDesiredLocale=void 0,o.matchedSupportedLocale=void 0),o}function Dd(e,t,r){var n,o,a=[],i=t.reduce(function(l,u){var d=u.replace(Ln,"");return a.push(d),l[d]=u,l},{}),s=Id(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 Ud(e,t){var r=t.toLowerCase();Ee(e!==void 0,"ukey must be defined");var n=r;return n}function qo(e){return Intl.getCanonicalLocales(e)[0]}function Fd(e,t,r){Ee(e.indexOf("-u-")===-1,"Expected locale to not have a Unicode locale extension");for(var n="-u",o=0,a=t;o-1)return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&r[n-2]==="-"&&(n-=2),r=r.slice(0,n)}}function qd(e,t,r){for(var n={locale:""},o=0,a=t;o=2,"Expected a subtag to have at least 2 characters"),n===void 0&&s!=2?t.indexOf(l)===-1&&t.push(l):s===2?(n={key:l,value:""},r.find(function(u){return u.key===n?.key})===void 0&&r.push(n)):n?.value===""?n.value=l:(Ee(n!==void 0,"Expected keyword to be defined"),n.value+="-"+l),a+=s+1}return{attributes:t,keywords:r}}function Wi(e,t,r,n,o,a){var i,s=r.localeMatcher,l;s==="lookup"?l=qd(Array.from(e),t,a):l=Dd(Array.from(e),t,a),l==null&&(l={locale:a(),extension:""});var u=l.locale,d=o[u],c={locale:"en",dataLocale:u},h,f;l.extension?(h=jd(l.extension),f=h.keywords):f=[];for(var m=[],_=function(B){var Q=(i=d?.[B])!==null&&i!==void 0?i:[];Ee(Array.isArray(Q),"keyLocaleData for ".concat(B," must be an array"));var W=Q[0];Ee(W===void 0||typeof W=="string","value must be a string or undefined");var G=void 0,te=f.find(function(v){return v.key===B});if(te){var $=te.value;$!==""?Q.indexOf($)>-1&&(W=$,G={key:B,value:W}):Q.indexOf("true")>-1&&(W="true",G={key:B,value:W})}var Z=r[B];if(Ee(Z==null||typeof Z=="string","optionsValue must be a string or undefined"),typeof Z=="string"){var p=B.toLowerCase();Z=Ud(p,Z),Z===""&&(Z="true")}Z!==W&&Q.indexOf(Z)>-1&&(W=Z,G=void 0),G&&m.push(G),c[B]=W},g=0,b=n;g0&&(L=[],u=Fd(u,L,m)),c.locale=u,c}function Hd(e,t){for(var r=[],n=0,o=t;ne).map(({code:e})=>e)],eh=Zi;let or=[];$d?.PHANPY_SHOW_DEV_LOCALES&&(or=On.filter(({listed:e})=>!e).map(({code:e})=>e),or.push("pseudo-LOCALE"));const th=or,jo=[...Zi,...or],Gd=(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 Kd(e,t={useSessionStorage:!1}){return t.useSessionStorage?globalThis.sessionStorage.getItem(e):globalThis.localStorage.getItem(e)}function Wd(e=globalThis.navigator){return e.language||e.userLanguage}function Vd(e){const t=/([^=?#&]+)=?([^&]*)/g,r={};let n;for(;n=t.exec(e);){const o=Ho(n[1]),a=Ho(n[2]);o===null||a===null||o in r||(r[o]=a)}return r}function Ho(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function Yd(e,t=globalThis.location){if(!e)throw new Error("fromUrl parameter is required");return Vd(t.search)[e]||null}function Zd(...e){const t=[];for(let r=0;r{const u=this._escapeRegExpPattern(l);i(u)}),typeof r=="string"){const l=this._escapeRegExpPattern(r);i(l)}r||i("\\s");const s="("+o.join("|")+")";for(a=new RegExp(s,"g");t.match(a);)t=t.replace(a,"");return t}static _parseLocale(t){if(typeof t!="string")return;const r=Bo.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}=Be._parseLocale(this._locale);return r?Be._RTL_SCRIPTS.indexOf(r)>=0:Be._BIDI_RTL_LANGS.indexOf(t)>=0}get textInfo(){return{direction:this._isRtlLang()?"rtl":"ltr"}}}Be._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"];Be._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 Ji=JSON.parse(`{"+/xYEI":["Switch to Side Peek view"],"+38pse":["Reply scheduled"],"+3FjPq":["Unable to report post"],"+71G9C":[["count","plural",{"1":[["account"]," followed you."],"other":["<0><1>",["0"]," people followed you."]}]],"+9E7iR":["Connected on ",["0"]," (<0/>)"],"+Cxvld":["<0>Shift + <1>c"],"+GkIdc":["Scheduled Posts"],"+IJm1Z":["Muted"],"+Kq2vY":["Shortcut settings copied"],"+XOeb+":["Boosted/Liked by…"],"+ZzjRY":[["hashtagTitle"]],"+k97fV":["Nothing to see here yet."],"+kQ/cY":["Delete this list?"],"+niKJH":["anyone"],"+owNNn":["Posts"],"+syLpm":[["optionVotesCount","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"/2mUza":["Media attachments:"],"/3LJfX":["Unblock <0>@",["username"],""],"/4fHR1":["A draft post is currently minimized. Post or discard it before creating a new one."],"/5ZKeE":["Pop in"],"/7UQ7y":["Whole word"],"/BGBeF":["Muted ",["username"]],"/CLBTL":["Note: This feature uses external GIF search service, powered by <0>GIPHY. G-rated (suitable for viewing by all ages), tracking parameters are stripped, referrer information is omitted from requests, but search queries and IP address information will still reach their servers."],"/Cw4Tx":["Downloading GIF…"],"/IX/7x":["Other"],"/JFxxT":["Switch to account's instance ",["0"]],"/KEBaP":["Unable to copy HTML code"],"/MJ7gZ":["No lists."],"/OvbEC":["e.g. “mastodon.social”"],"/W5yFF":["Delete this draft?"],"/WA/tl":["View all notifications"],"/bZzdR":["Mentions"],"/cKnpj":["Account posts"],"/dlmrZ":["Show all authors"],"/fY1js":["Ask a question"],"/nf2x7":["Math expressions found."],"/plB9m":["Muted @",["username"]," for ",["0"]],"/zL/Mq":["Scheduled post deleted"],"03Qqf9":["Filtered"],"03jFGT":["No one mentioned you :("],"03vjxE":["Replying to @",["0"]],"09u3Kk":["Delete scheduled post?"],"0J4sZq":["Error deleting drafts! Please try again."],"0MgdN+":["Back to top"],"0OHPem":["This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."],"0SdaOt":["Post translation"],"0WUFGD":["Showing posts in ",["0"]],"0X2KC8":["Boosts from @",["username"]," enabled."],"0h4/9h":[" Notifications disabled for @",["username"],"'s posts."],"0mC0SF":["Auto refresh timeline posts"],"0tG4wG":["Unable to unblock @",["username"]],"0tQ7AD":["Density"],"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."],"0udtPI":["Only mentions"],"0whvLM":[["0","plural",{"one":["Announcement"],"other":["Announcements"]}]],"10OlfF":["Nothing to show"],"1C/9Sa":["Bookmarked"],"1JZ175":[["0","plural",{"one":["#"," keyword"],"other":["#"," keywords"]}]],"1QfxQT":["Dismiss"],"1RfGk7":["Let's catch up on the posts from your followings."],"1TNIig":["Open"],"1dyGG/":["Catch-up ",["0"]," removed"],"1njn7W":["Light"],"1o+mEC":["last 4 hours"],"1pKapz":["Send post"],"1qL+L+":["Specific list is optional. For multi-column mode, list is required, else the column will not be shown."],"1t/NnN":["Reject"],"237hSL":["Ended"],"24misb":["More…"],"24w+FD":[["years","plural",{"one":["#"," year later"],"other":["#"," years later"]}]],"27x6gl":["Copy handle"],"2AeREO":["Unable to load followed hashtags."],"2BApYc":["Private mentions"],"2BBAbc":["List"],"2C0g0G":["Post unavailable"],"2EYeAZ":["The end."],"2FYpfJ":["More"],"2LiWsE":["Switch to Full view"],"2MQ2cd":["Enter a new instance e.g. \\"mastodon.social\\""],"2S/uvJ":[["0","plural",{"one":["#"," hashtag"],"other":["#"," hashtags"]}]],"2WtL62":["Pending review"],"2jI8hh":["Let's catch up"],"2xahsi":["Continue with ",["selectedInstanceText"]],"2yr1/p":["New posts"],"32TndD":["Blocked"],"3IakFR":["Delete all drafts?"],"3Ib6FN":["Move down"],"3LkfZu":["Mention <0>@",["username"],""],"3OLv47":["Unable to unfeature on profile"],"3TSz9S":["Minimize"],"3Xq4Zi":["Add more than one shortcut/column to make this work."],"3ePd3I":["What's new"],"3mOee6":["Edit filter"],"3t/Nrv":["Switch to this account"],"3wG7HI":["Uploaded"],"3xIN+E":["No columns yet. Tap on the Add column button."],"4+7X9i":["Notifications settings updated"],"4/RpOy":["Open in new window"],"4/iCqx":["Trending"],"40naR1":["Scheduled post rescheduled"],"40z2Fm":["View profile…"],"41gejM":["Expand content warning or<0/>toggle expanded/collapsed thread"],"44hICK":["Unable to load account."],"48oDit":[["query"]," <0>‒ accounts, hashtags & posts"],"4Dh9J1":["Unable to delete filter."],"4ERYY7":["Federated"],"4LHHK6":["More from <0/>"],"4MFM3P":["No hashtags found."],"4R1B1H":["Recent searches"],"4RRMre":["Grouped notifications"],"4S86wI":["Looks like your browser is blocking popups."],"4WUbF1":["Poll"],"4XF0BB":["Profile picture"],"4b3oEV":["Content"],"4cijjm":["Send Report"],"5+87Pq":["Notification"],"52x24e":["Note: <0>Default account will always be used for first load. Switched accounts will persist during the session."],"570qTm":["\\"Cloud\\" import/export for shortcuts settings"],"5BFynH":["+ Replies"],"5GFQTh":["Unable to fetch notifications."],"5KJFnN":["Not available in current view mode"],"5LwCCI":["Ended <0/>"],"5PGPvG":["View #Wrapstodon"],"5bAOta":["Post removed by author"],"5gfDMm":["Media description"],"5hXGws":["Open original media in new window"],"5vzJxv":[["0","plural",{"one":["#"," filter"],"other":["#"," filters"]}]],"5w02SH":["Shortcuts saved"],"6Fs1Ba":["Follow requests"],"6HA9+s":["No trending posts."],"6KkH+2":["<0>Version: <1/> ",["0"]],"6LUsk7":["Push notifications are blocked. Please enable them in your browser settings."],"6MzUUU":["Append to current shortcuts?"],"6XYpYY":["Previous post"],"6YeoAt":["Search: ",["q"]," (Posts)"],"6YtxFj":["Name"],"6ZjzWP":["Override current shortcuts?"],"6lGV3K":["Show less"],"6yILME":["Describe image…"],"77Emn0":["Keyboard shortcuts"],"7FGvtQ":["Filtered: ",["filterTitleStr"]],"7Ff7ia":["Bookmarks"],"7I3sDQ":["Note: This feature uses external translation services, powered by <0>",["TRANSLATION_API_NAME"],"."],"7KnEYa":["Unable to remove from list."],"7PQAMY":["Report post…"],"7QSeK6":["Unable to load posts."],"7Vb+qD":["last 11 hours"],"7WYl2I":["View profile image"],"7WddtO":["Invalid instance"],"7ZJHdw":["Home / Following"],"7d1a0d":["Public"],"7dHKu4":[["0","plural",{"one":["#"," follow request"],"other":["#"," follow requests"]}]],"7defFj":["Optional, e.g. mastodon.social"],"7e0O8Z":["Accounts…"],"7jyUKe":["Sorry, your current logged-in instance can't interact with this post from another instance."],"7oRLbi":["Mutual"],"7r6sCa":["Text size"],"8+HOWa":["last 3 hours"],"80sOCm":["<0>Enter or <1>o"],"84WuL2":["<0>l or <1>f"],"87a/t/":["Label"],"8GMtDr":["Similar notifications are grouped and collapsed to reduce clutter."],"8GjLvB":[["accountDisplay"]," (",["monthYear"],")"],"8Kudkr":["Shortcuts / Columns…"],"8MkSAW":["View post by <0>@",["0"],""],"8SN9kN":["Unable to mute conversation"],"8ab1sR":["Liked"],"8d0b8B":["Push permission was not granted since your last login. You'll need to <0><1>log in again to grant push permission."],"8fZueG":["Read more →"],"8i6Ueo":["Custom emojis"],"8iQ+jk":["No drafts found."],"8k2w6G":["No bookmarks yet. Go bookmark something!"],"8prZNK":[["0","plural",{"one":["#"," list"],"other":["#"," lists"]}]],"8r8KmB":["Show all sensitive content"],"8zsp51":["Generating description. Please wait…"],"95IFnD":["New update available…"],"98E0aM":[["index"],"/",["total"]],"9J6biQ":["Unable to switch"],"9KEidY":["Type to search GIFs"],"9OpVZg":["Edit profile"],"9Q/4xJ":["Back to showing trending posts"],"9Vdq+j":["Automated"],"9ZCilh":["Show media"],"9ZP9cc":["Forever"],"9ZYiLz":["Saving shortcuts to instance server…"],"9groMz":["Translated Bio"],"9npOH9":["Open file"],"9q5uor":["Image description generator"],"9ra4hn":["Featured on profile"],"9tmn6W":["Add shortcut…"],"9veeTb":["Trending News"],"A/CX5F":[["accountDisplay"]," (- Boosts)"],"A05Pj6":["Thread ",["index"],"/",["total"]],"A1As8l":["beta"],"A1taO8":["Search"],"A6cs15":["Unable to unpin post"],"AB/GtR":["Looks like you already have a compose field open in the parent window. Popping in this window will discard the changes you made in the parent window. Continue?"],"ACul2G":["Report @",["username"]],"AGyV7s":["Overlaps with your last catch-up"],"AIa/f7":["Compose new post"],"AJqQb+":["Show markup"],"AThL/k":["Error loading accounts"],"AWOSPo":["Zoom in"],"AZ2EoP":["<0>Built by <1>@cheeaun"],"Aadw0+":["Go to account page"],"AeM/di":["Account Emojis:"],"AeXO77":["Account"],"AgkUZa":["No featured profiles."],"AgkcM/":["@",["username"]," removed from followers"],"Ap/10+":["Looks like you have unsent drafts. Let's continue where you left off."],"AuiMZZ":["Search: ",["q"]," (Hashtags)"],"AzZ5zv":["Polls are not interactive, becomes a list with vote counts."],"B4Xkly":["Unmuted @",["username"]],"B6cG3J":["Download shortcuts from instance server"],"BATCqf":["Showing posts mentioning <0>",["0"],""],"BC0lSD":["Unable to copy handle"],"BHWx+g":["All Lists"],"BMmtZ8":["See more accounts"],"BPjyR2":["Delete this filter?"],"BRV/wh":["This user has chosen to not make this information available."],"BcNdg+":["Change expiry"],"BiZJ6G":["No one has posted anything yet."],"BskFI2":["<0>Built by <1>@cheeaun. <2>Privacy Policy."],"Buy2bt":["Home and lists"],"Bz5hLl":["Go to original profile page"],"Bze3gr":["Auto (",["0"],")"],"C4T6O/":["Import/export settings from/to instance server (Very experimental)"],"C4x3+X":[["statusesCount","plural",{"one":["<0>",["0"]," Post"],"other":["<1>",["1"]," Posts"]}]],"C5zXYJ":["Header picture"],"C6cVP/":["<0>",["displayName"]," has indicated that their new account is now:"],"C7ujRh":["Toggle Cloak mode"],"CDpQAX":["Remove poll"],"CGQ27z":["Screenshot of nested comments thread"],"CIHAsy":["Specify a list of shortcuts that'll appear as:"],"CNSLAW":["No one has posted anything with this tag yet."],"CTqTgr":["Shortcuts"],"CXk1bI":["Log out…"],"CeInO2":["Preview of Catch-up UI"],"CeJHfb":["Display language"],"CxKPv6":["What is this?"],"D3vX+9":["Login required."],"D7/2jB":["GIF Picker for composer"],"D9CmP2":["Remove this catch-up?"],"DHhJ7s":["Previous"],"DOQUen":[["0","plural",{"one":["#"," reply"],"other":["<0>",["1"]," replies"]}]],"DPfwMq":["Done"],"DUMt1y":["List ID"],"DWumLi":["Import shortcuts?"],"DYowFe":["Skip carousel to next post"],"DYqYm5":["Private note about <0>@",["0"],""],"Djbaby":["Reload page now to update?"],"DlhB4J":["<0/> <1>boosted"],"DnepCE":["Error: ",["e"]],"DqsEm+":[["months","plural",{"one":["#"," month later"],"other":["#"," months later"]}]],"DuJJm9":["Edited: ",["editedDateText"]],"DuvOX/":["Dimension too large. Uploading might encounter issues. Try reduce dimension from ",["0"],"×",["1"],"px to ",["2"],"×",["3"],"px."],"E+oKCO":["Bio"],"E8laYz":["Multiple hashtags are supported. Space-separated."],"EANWES":["Failed to load history"],"EAjFM0":["Note: your instance might only show a maximum of 800 posts in the Home timeline regardless of the time range. Could be less or more."],"EIZREX":["Top links"],"EVRO/o":["Max ",["SHORTCUTS_LIMIT"]," shortcuts"],"EarrCe":["Search emoji"],"EdQY6l":["None"],"EkH9pt":["Update"],"EnJuK0":["Conversations"],"F3cM1G":["Last post: <0>",["0"],""],"FFmj1D":["Volunteer translations"],"FKojeB":["Sensitive media"],"FNptcJ":["Posts on this list are hidden from Home/Following"],"Fb2K8h":["Bookmarked @",["0"],"'s post"],"FbPNuJ":["Delete this post?"],"Fd8FaU":["<0>Shift + <1>k"],"FgdLx0":["Unable to fetch account info"],"FjkaiT":["Zoom out"],"Fm6c4W":["Add GIF"],"Fq4zw3":["Not sure what to add?<0/>Try adding <1>Home / Following and Notifications first."],"Fr0hAN":["Unable to create filter"],"FwMMx0":["Unable to update profile."],"Fz4lZ1":["Your account has been suspended."],"G2fuEb":["Locked"],"GKuKcZ":["Posting on <0/>"],"GMe2XV":["Post"],"GP8RLS":["Hashtag"],"GRUr8d":["Disable boosts"],"GS+Mus":["Export"],"Gj4mrz":["Open link?"],"GkS6YG":["HTML Code"],"GlfmCu":["Pinned posts"],"Gy9P9T":["Next post"],"H0wUNM":["View notifications from <0>@",["0"],""],"H8RP+h":["Unable to edit filter"],"HBIZeo":["Unable to format math"],"HHtYi7":[["0","plural",{"one":["#"," author"],"other":["#"," authors"]}]],"HKrBPX":["Unfollow…"],"HLqLGx":["Downloading saved shortcuts from instance server…"],"HOSk7R":["Following…"],"HQJU6W":["Unable to load replies."],"HSA2au":["Edit History Snapshots"],"HajiZl":["Month"],"HkuyOu":["Switch to my instance (<0>",["currentInstance"],")"],"Hp1l6f":["Current"],"HxF6Fk":["Original"],"Hzi9AA":["No posts found."],"I6pdY3":["Failed to update subscription. Please try again."],"I92Z+b":["Enable notifications"],"I9EnzM":["Reset filters"],"I9uBFA":["last 8 hours"],"IDC5Uw":["Who unsolicitedly private mention you"],"IK0zKi":[["hashtagTitle"]," on ",["instance"]],"INLTzH":["Your ",["year"]," #Wrapstodon is here!"],"IPXOXm":[["0","plural",{"one":["#"," character"],"other":["#"," characters"]}]],"ISg5SQ":["View post"],"IV4QaU":["Private mention"],"IXZLPs":["Cloak mode enabled"],"IeO7us":["Voted"],"Ih01jh":["Followed by…"],"IjKdHM":["Illegal"],"ImOQa9":["Reply"],"IrX0sj":["Post scheduled"],"Is7/PB":["Add an existing account"],"IvPikw":["No lists yet."],"J6hrEy":["Dismissed"],"J6ypuD":["A"],"JRswkR":["Block <0>@",["username"],"…"],"JWxodU":["Unable to load post"],"Jb6/SB":["Delete…"],"JsU2En":["Pop out"],"JvA7Mo":[["0","plural",{"one":["Last 1 post in the past year(s)"],"other":["Last ",["1"]," posts in the past year(s)"]}]],"Jy9RU/":["New notifications"],"JybQca":["Send Report <0>+ Block profile"],"K/EtE6":["Post edits"],"KDw4GX":["Try again"],"KFs8c6":["Reply (new window)"],"KMtgtM":["Edit audio description"],"KPFHM2":["Server rule violation"],"KPoj8w":["Unable to create list."],"KS7iJH":["You're all caught up."],"KiyvHV":["Post deleted"],"KkDhfU":["Nothing yet."],"Kp9SAs":["Switch to post's instance (",["0"],")"],"Kzwsg2":["Error loading custom emojis"],"L+HFfr":["Showing posts tagged with #",["0"]],"L8fEEm":["Group"],"L96xSt":["Hide results"],"L9fUm+":["What's the issue with this post?"],"LDUSXg":["Choice ",["0"]],"LFKLqp":["Share…"],"LQFF6J":["Liked by…"],"LYCgej":["See more posts"],"LcET2C":["Privacy Policy"],"LcOiWS":["Don't have an account? Create one!"],"Lh8B0N":["Image description"],"Lsxpe5":["Add shortcut"],"LwOr4P":["Add to thread"],"M1RnFv":["Expired"],"MB+wJL":["Some media have no descriptions."],"MHrjPM":["Title"],"MIhb91":["Hashtag shortcut added"],"MKEPCY":["Follow"],"MQYucx":["Some media have no descriptions. Continue?"],"MRZxAn":["Edited"],"MWIaew":["Remove…"],"MXOmPt":["Notifications from <0>@",["0"],""],"MfJ43d":["Add media"],"Mn1E9C":[["followersCount","plural",{"one":["#"," follower"],"other":["#"," followers"]}]],"Mr53YX":["Show replies to people I follow"],"N1MyiN":["Unable to copy post text"],"N2FcBE":["Synced"],"N3Bq0f":[["0","plural",{"one":["Filtered notifications from ","#"," person"],"other":["Filtered notifications from ","#"," people"]}]],"N40H+G":["All"],"N4z4P/":["List may not work if it's from a different account."],"N8UzTV":["Replies"],"NAjVvt":["Default visibility"],"NCy+Nw":["Go to main post"],"NMNiaO":["until the max"],"NNrlf5":[["index"],"/X"],"NSSJsj":[["0"],"h"],"NU7wa/":["Media attachments can be images, videos, audios or any file types."],"Nc/W5J":["See more hashtags"],"Ng063n":["Donate"],"NnRCUm":[["0"],"s"],"NoG5wD":[["accountDisplay"]," (Media)"],"NuKR0h":["Others"],"NunZZQ":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted & liked your reply."],"other":[["account"]," boosted & liked your post."]}]],"other":[["account"]," boosted & liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"]," people boosted & liked your reply."],"other":["<2><3>",["1"]," people boosted & liked your post."]}]]}]],"NuqppG":[["0","plural",{"one":["#"," Boost"],"other":["#"," Boosts"]}]],"O1Aswy":["Never expires"],"O2tNG0":["Ending"],"O4cLCR":["Sponsor"],"ODqZt1":["[Unknown notification type: ",["type"],"]"],"OISAkj":["Remove hashtag"],"OKiofn":["Edit History"],"OOEonE":["Show me all posts from…"],"OOa7/5":["Import/Export <0>Shortcuts"],"Oa+KBY":["Failed to update posting privacy"],"OcUmcH":["Unlike"],"OdVhdR":["<0>New <1>Follow Requests"],"Ogtv0V":["A minimalistic opinionated Mastodon web client."],"OgyJSr":["Local only"],"OiUYO5":["Mute conversation"],"OqaQnE":["View Edit History Snapshots"],"Ov9hfp":["last 1 hour"],"Owr/5+":["Unable to feature @",["username"]," on your profile."],"PBFNgg":["followers"],"PCcEFZ":["Joined <0>",["0"],""],"PHIrMr":["No likes yet. Go like something!"],"PIWNSQ":["Showing post with replies"],"PM7llw":["Don't show replies"],"PPcets":["Set as default"],"PZgZtY":["Switch in new tab/window"],"PZlHt8":["Bookmark"],"PbFw9n":["Error loading GIFs"],"PbHARL":["Automatically show translation for posts in timeline. Only works for <0>short posts without content warning, media and poll."],"Pc7QKh":["Effortlessly follow conversations. Semi-collapsible replies."],"PcoS3v":["Posting"],"PgVqvd":["Federated timeline (",["instance"],")"],"PiPfua":["Version string copied"],"PiVIlD":["Boost…"],"PjP87f":["View post stats"],"Pm+5jw":["Conversation unmuted"],"Pwqkdw":["Loading…"],"Q/HUhC":["Unmute <0>@",["username"],""],"Q1Huya":["Replying to @",["0"],"’s post (<0>",["1"],")"],"Q3yArs":["An admin from <0>",["from"]," has blocked <1>",["targetName"],". Affected followers: ",["followersCount"],", followings: ",["followingCount"],"."],"QDEWii":["Verified"],"QL+7Jw":["Show Edit History"],"QO9uTx":["Shortcuts imported"],"QOhkyl":["Compose"],"QQrO94":[["accountDisplay"]," (#",["tagged"],")"],"Qd13i0":["Showing posts without boosts"],"Qopbnd":["Show featured profiles"],"QqW27M":["Reschedule"],"QyioBP":["Move up"],"QzzGsY":["Unboost"],"R0yu2l":["Catch up"],"R20Yf9":["Translate from ",["sourceLangText"]," (auto-detected)"],"R4PmPA":["Post could be edited or deleted later."],"R7ep1i":["Unable to edit list."],"R8CUl0":[["0"]," posts above ‒ Go to top"],"R8mSiS":["Translate bio"],"R9+aEN":["Followed #",["hashtag"]],"R9Khdg":["Auto"],"R9kjEL":["Profile reported"],"RO10dm":["Public timelines"],"RQKWUa":["You have blocked <0>",["targetName"],". Removed followers: ",["followersCount"],", followings: ",["followingCount"],"."],"RTAr/z":["Resolving…"],"RXmXDR":[["repliesCount","plural",{"one":["#"," reply"],"other":["#"," replies"]}]],"RqX1mR":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," liked your reply."],"other":[["account"]," liked your post."]}]],"other":[["account"]," liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"]," people liked your reply."],"other":["<2><3>",["1"]," people liked your post."]}]]}]],"RqXfsz":["Max ",["SHORTCUTS_LIMIT"]," columns"],"Rsjgm0":["Experimental"],"S1fBwy":["Frame rate too high. Uploading might encounter issues."],"S5aemF":["Unable to dismiss notification request"],"S5cYrQ":["Screenshot of Boosts Carousel"],"S5ez7Y":["Skip carousel to previous post"],"S6P6E+":["Post pinned to profile"],"S6XZwv":[["0","plural",{"one":["#"," post"],"other":["#"," posts"]}]],"S92JKG":["Unable to accept notification request"],"S9JvjK":["Don't feature on profile"],"SBmqmC":["Shortcuts imported. Exceeded max ",["SHORTCUTS_LIMIT"],", so the rest are not imported."],"SGcIK+":[["followingCount","plural",{"other":["<0>",["0"]," Following"]}]],"SYKm3p":["No keywords. Add one."],"Sb2gYF":["New list"],"ScQBC/":["Group: Authors"],"Sjj+EN":["Post your reply"],"Sjnlwj":["Import…"],"SlfejT":["Error"],"Sq04Yc":["Go to another instance…"],"Srs8u7":["With a new account"],"SrwrEj":["Save & close"],"T/hglb":["Replace text as blocks, useful when taking screenshots, for privacy reasons."],"T4I119":["Extra fields"],"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":[]}]],"TSbnoW":["Boosts carousel"],"TbFrLc":["Updated <0>",["0"],""],"Tba8uO":["Unable to add to list."],"TbrCz2":["Take photo or video"],"TbttfX":[["followersCount","plural",{"one":["<0>",["0"]," Follower"],"other":["<1>",["1"]," Followers"]}]],"TnJgwX":["Notes:"],"TtG3Uh":["Sharing doesn't seem to work."],"Tu+sCN":["Boosts Carousel"],"Txus+H":["Editing source status"],"Tz0i8g":["Settings"],"U+Gokq":["Edit private note"],"UHDQDE":["Optional, unless for multi-column mode"],"UIfdY1":["Profiles featured by @",["0"]],"UUrqX1":["Posts are sorted by information density or depth. Shorter posts are \\"lighter\\" while longer posts are \\"heavier\\". Posts with photos are \\"heavier\\" than posts without photos."],"UlJ3QN":["Feature on profile"],"UoL+FC":["Unable to load bookmarks."],"UxBoCm":["Tab/Menu bar"],"V1fa9u":["See more"],"VCZ0OT":["Remove follower…"],"VH+Tf9":["Unfeatured on profile"],"VKDnAx":["Failed to download GIF"],"VLKtvP":["Screenshot of multi-column UI"],"VU1Pnd":["last 12 hours"],"VbyRUy":["Comments"],"VcQzRi":["Add private note"],"Vh3ADI":["Add column…"],"VkLESX":["Load new posts"],"Vosm4k":["Trending posts"],"VwUsHI":["Hashtags"],"Vyeh4F":["You're not logged in. Interactions (reply, boost, etc) are not possible."],"W1ewR0":["Unable to copy link"],"W9FRBT":["Like"],"WUHLnz":["Push Notifications (beta)"],"WZw+zB":["Edit video description"],"Wi1Ov0":["Multi-hashtag timeline"],"WrkPTf":["Filter out notifications from people:"],"X17jCM":["Alpha-stage feature. Potentially improved grouping window but basic grouping logic."],"XC9Jpz":["Post hidden by your filters"],"XMGM2e":["Who are limited by server moderators"],"XN1xAY":[["SHORTCUTS_LIMIT","plural",{"one":["Max ","#"," shortcut reached. Unable to add shortcut."],"other":["Max ","#"," shortcuts reached. Unable to add shortcut."]}]],"XQMQZw":["Unpin from profile"],"Xi1/bw":["Followed Hashtags"],"Xl9v6+":["Lost connections with <0>",["name"],"."],"XpQLJF":["<0>Shift + <1>r"],"YAZw8D":["Posts tagged with <0>#",["0"],""],"YL6Y8P":["Learn more <0/>"],"YMU1CK":["Catch-up is a separate timeline for your followings, offering a high-level view at a glance, with a simple, email-inspired interface to effortlessly sort and filter through posts."],"YYB61U":["No accounts found."],"Yb6p2q":["Unable to delete post"],"Yfb9A8":["Previously…"],"YmGrIy":["Links shared by followings, sorted by shared counts, boosts and likes."],"YqffEv":["Moderation warning"],"YrR3Co":["Focus next column in multi-column mode"],"Yx0Ud8":["Requested"],"Yx809+":["Post unpinned from profile"],"Z2l5Bt":["Looks like you already have a compose field open in the parent window and currently publishing. Please wait for it to be done and try again later."],"Z8lGw6":["Share"],"ZLoGls":["Log in with Mastodon"],"ZM3jAs":["Failed to reschedule post"],"ZNme5R":["View profile header"],"ZP1FIA":["Failed to register application"],"ZSWUwq":[["0"],"m"],"ZhhOwV":["Quote"],"ZhsPEb":["Invalid settings format"],"ZlV82A":["View post with its replies"],"ZtBMwU":["Notifications from @",["0"]," will not be filtered from now on."],"Zxkt/v":["Translating…"],"a/+arl":["Notifications settings"],"a5BN7l":["Post updated. Check it out."],"a6oTWs":["e.g. PixelArt (Max 5, space-separated)"],"aAIQg2":["Appearance"],"aDr7Vc":["Open original media"],"aEp6lO":["Scheduled <0><1/> <2>(",["0"],")"],"aGziA/":["Server-side grouped notifications"],"aOh6Md":["Failed to delete scheduled post"],"aTyHBW":["Post published. Check it out."],"aVsTYo":["Unable to save shortcuts"],"aaJhcT":["Follows"],"aavdrC":["By ",["0"]],"aforS9":["Block <0>@",["username"],"?"],"agO/T/":["Expiry"],"ajzDof":["Posts: ",["0"]],"b7T5Zj":["Boosted"],"bPwFdf":["Accounts"],"bUUv3P":["Scroll to top"],"bfSr6z":["Shared by ",["0"]],"bgVLbt":["Import/export"],"bl7nrg":["HTML code copied"],"blQMpa":["Filtered post will be…"],"bpDheH":["Unboosted @",["0"],"'s post"],"bzMKg7":["Accepted"],"c1Q/eU":["Powered by GIPHY"],"c3XJ18":["Help"],"c6jxNY":["Unable to unmute conversation"],"c89gCv":["Import & append…"],"cDoNQr":["Accounts with <0>",["query"],""],"cI3UEs":["Trending (",["instance"],")"],"cSev+j":["Filters"],"cWIHTt":["No filters yet."],"cWtH+v":["Shortcuts copied"],"cXWjH0":["Boosts from @",["username"]," disabled."],"cYE45+":["Nested comments thread"],"cZJ92q":["Add poll"],"caeqw/":["Send Report <0>+ Mute profile"],"cc0NrU":[["0","plural",{"0":["Hide \\"Translate\\" button for:"],"other":["Hide \\"Translate\\" button for (","#","):"]}]],"cg0I+x":["Federated timeline"],"cklVjM":["Timeline"],"coaNtr":["Sort: Density"],"cqi4Mx":["Like (favourite)"],"csQin/":["Malicious links, fake engagement, or repetitive replies"],"ctFhjs":[["maxMediaAttachments","plural",{"one":["You can only attach up to 1 file."],"other":["You can only attach up to ","#"," files."]}]],"ctJi7k":["Unfollow #",["hashtag"],"?"],"cxL5F9":["Add hashtag"],"cyjS8M":["Forward to <0>",["domain"],""],"d+hDoa":["You don't follow"],"d5zxa4":["Local"],"d83/LB":["File size too large. Uploading might encounter issues. Try reduce the file size from ",["0"]," to ",["1"]," or lower."],"dBme/4":["Old post (<0>",["0"],")"],"dDJEHI":["Until the last catch-up (",["0"],")"],"dEgA5A":["Cancel"],"dP6iYK":["Format math"],"dXMiUw":["Switch to Federated"],"dZZ8oA":["last 5 hours"],"dbNZdP":["Boosted @",["0"],"'s post"],"dmTmkQ":["For multi-column mode, search term is required, else the column will not be shown."],"dmloPh":["Search term"],"doK/ij":["Unfollowed #",["hashtag"]],"dpqPBg":["Authors"],"duF1lx":["Focus column in multi-column mode"],"dwLCPZ":["Replying to @",["0"],"’s post"],"e+RpCP":["Sign up"],"e2uVlo":["Visually separate original posts and re-shared posts (boosted posts)."],"e5E+WH":["Raw Shortcuts JSON"],"e66y2Z":["Thread"],"e6tGFu":["Violates the law of your or the server's country"],"e7qQIH":["Withdraw follow request?"],"eH1bqp":["Search accounts"],"eIiurD":["Attachment #",["i"]," failed"],"eK4SL/":["Media only"],"eNTGfp":["Failed to generate description",["0"]],"eNfCmq":[["account"]," reported ",["targetAccount"]],"ePK91l":["Edit"],"eVosYr":["You don't have to read everything."],"eYsAQr":["Unfollow @",["0"],"?"],"ecUA8p":["Today"],"ecVtjm":["Additional info"],"edWbV6":["Link copied"],"eh6NHW":[["account"]," requested to follow you."],"ei6pnR":["Show replies to list members"],"ejAVrO":["Switch to my instance to enable interactions"],"ekCRTP":["Rejected"],"evz6c6":["<0>Esc or <1>Backspace"],"f5dduh":["Next author"],"f6Hub0":["Sort"],"f8bJ3C":["Last posted: ",["0"]],"fGn1Hk":["Enter your search term or paste a URL above to get started."],"fHZgvt":["Note: This feature uses external AI service, powered by <0>img-alt-api. May not work well. Only for images and in English."],"fHf1v/":["Note: This feature uses currently-logged-in instance server API."],"fJCCpx":[["account"]," signed up."],"fYeATS":["Thread ",["index"],"/X"],"faZ9RI":["Only for new images while composing new posts."],"following.stats":["Following"],"following.title":["Following"],"fpgumQ":["Search: ",["q"]," (Accounts)"],"fpotTF":["Breaks specific server rules"],"fvAsUK":["Connect your existing Mastodon/Fediverse account.<0/>Your credentials are not stored on this server."],"g3UF2V":["Accept"],"gCDfX+":["Unable to download shortcuts"],"gEoOUj":["Look up <0>",["query"],""],"gURvmk":["Auto inline translation"],"gWd6Cu":["Sync to instance server"],"gbbkE7":["Ignore"],"gdxreD":["Unable to copy version string"],"ggiJLM":["Add custom emoji"],"ggxOw9":["obscured (media only)"],"gjzl8E":["Unable to load notifications"],"gmB6oO":["Schedule"],"gnKo7f":["Content warning"],"group.filter":["Group"],"gukqfD":["See all"],"h16FyT":["Lists"],"h7peZQ":["Allow"],"h8zDAI":["Translate from ",["sourceLangText"]],"hB02vO":["Manage members"],"hHSI3w":[["hashtagTitle"]," (Media only)"],"hOg+Mt":["Delete all…"],"hR9gtK":["You have unsaved changes. Discard this post?"],"hS1Opy":[["accountDisplay"]," (+ Replies)"],"hXzOVo":["Next"],"hYgDIe":["Create"],"he3ygx":["Copy"],"hgPsUe":["Cleared recent searches"],"i02Lq/":["Add to Shortcuts"],"i0qMbr":["Home"],"i51zUR":["Unmute conversation"],"i5uN6K":[["account"]," reacted to your post with ",["emojiObject"]],"iAB71E":[["0"]," more…"],"iAzCp4":["Go to my instance (<0>",["currentInstance"],")"],"iDNBZe":["Notifications"],"iH8pgl":["Back"],"iQgJaz":["Copy post text"],"iSRQvy":["Post text copied"],"iWpEwy":["Go home"],"ibBDry":["Notifications from @",["0"]," will not show up in Filtered notifications from now on."],"idiIxW":[["account"]," published a post."],"ieZytw":["Audio description"],"ipnHrn":["Your account has received a moderation warning."],"isRobC":["New"],"iuLUuH":["Violation"],"ivdhsq":["Experiments"],"j0kZfi":["Note: This preview is lightly styled."],"j5n9Ry":["Remove <0>@",["0"]," from list?"],"j5roNG":["This post is from another instance (<0>",["instance"],"). Interactions (reply, boost, etc) are not possible."],"jAj8rv":["Close post or dialogs"],"jER18a":["Mark media as sensitive"],"jL3N0G":["Notifications enabled for @",["username"],"'s posts."],"jNCSyx":["System language (",["systemTargetLanguageText"],")"],"jbreWy":["minimized"],"jdVwsS":["Embed post"],"jf1i1L":[["votersCount","plural",{"one":["<0>",["0"]," voter"],"other":["<1>",["1"]," voters"]}]],"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"]," people boosted your reply."],"other":["<2><3>",["1"]," people boosted your post."]}]]}]],"jsFF8C":["Open post details"],"jw0eSZ":["Your account has been disabled."],"jxxYp0":["Hide posts on this list from Home/Following"],"jzjjJh":["Emojis:"],"k08LxG":["Log out <0>@",["0"],"?"],"k7v0Rh":[["votesCount","plural",{"one":["<0>",["0"]," vote"],"other":["<1>",["1"]," votes"]}]],"k9N0Xk":["This notification is from your other account."],"kH0rA0":[["hashtagTitle"]," (Media only) on ",["instance"]],"kIlJaS":["A poll you have voted in or created has ended."],"kNiQp6":["Pinned"],"kfeQnS":["This shortcut already exists"],"khVljG":["Unable to load likes."],"kjUejn":["Blocked ",["username"]],"kpjzdN":["A poll you have created has ended."],"krk5ws":["Unsent drafts"],"kulphB":["Boost"],"kxiG8g":["Issue doesn't fit other categories"],"kyAi7k":["Instance"],"l3s5ri":["Import"],"lCF0wC":["Refresh"],"lCLRBe":["Followed tags"],"lQXQKs":["Vote"],"lWQguj":["Unbookmarked @",["0"],"'s post"],"lZdBKl":["Reply posted. Check it out."],"lb07+k":["Switch to post's instance"],"lfHLsx":["Pin to profile"],"lkz6PL":["Duration"],"lpPucp":["last 6 hours"],"lqBX03":["Show content"],"lxYe+I":["Cloak mode <0>(<1>Text → <2>████)"],"m+pAEQ":["(",["0"],") <0>— experimental"],"m0G499":["* Not implemented yet"],"m16xKo":["Add"],"m5LihO":["Failed to translate"],"mBdQnV":["You may close this page now."],"mN4S+e":["Video description"],"mYGY3B":["Date"],"mZYb1f":["No scheduled posts."],"mlycBx":["Your account has been limited."],"moT7M8":["A poll you have voted in has ended."],"muLhL3":["Report Post"],"mzjGX4":["<0>Shift + <1>j"],"n1sANU":["Muted users…"],"nJEKbY":["Nothing to see here."],"nL8nlr":["Blocked users"],"nhpsIN":["<0>1 to <1>9"],"nl8sCE":["Only shortcuts that don’t exist in current shortcuts will be appended."],"noxAFR":["Focus previous column in multi-column mode"],"o1mMWT":["Posts with <0>",["query"],""],"o5sTJw":["Generate description…"],"o6L30P":["No new shortcuts to import"],"o6sElH":["* Exists in current shortcuts"],"o7J4JM":["Filter"],"oAwuQj":["Who don't follow you"],"oEQq5w":["Unable to report profile"],"oMslIB":["Edit image description"],"oZUtTk":[["0","plural",{"one":[["1","plural",{"one":["Last 1 post in the past 1 day"],"other":["Last 1 post in the past ",["2"]," days"]}]],"other":[["3","plural",{"one":["Last ",["4"]," posts in the past 1 day"],"other":["Last ",["5"]," posts in the past ",["6"]," days"]}]]}]],"oguMwa":["Cloak mode disabled"],"ooHDPY":["Ending <0/>"],"orjBLU":["Scheduled <0><1/>"],"osJmEN":["Disable notifications"],"ot8LpF":["Unable to update private note."],"ouWc/D":[["TOTAL_TAGS_LIMIT","plural",{"other":["Max ","#"," tags"]}]],"ovBPCi":["Default"],"owpNF1":["What are you doing?"],"p3UO/y":["Follows you"],"pA+qEx":["Unable to block @",["username"]],"pBYFlb":["last 9 hours"],"pEkad9":["Single or multi-column"],"pFnMHn":["<0>Site: ",["0"]],"pJQgQV":["Local timeline"],"pMcdDp":["Unable to block ",["username"]],"pPYeIN":["Quiet public"],"pWFLFk":["@",["username"]," is no longer featured on your profile."],"pe1jog":["Edit shortcut"],"phQpSa":["Boosted by…"],"pi8x/S":["Translate"],"post.title":["Post"],"pqR9KF":["Unable to load mentions."],"prdIOK":["In Memoriam"],"ptPep5":["Post pending"],"puY2t0":["Boosts"],"pvnfJD":["Dark"],"py67WT":["<0>Ctrl + <1>Enter or <2>⌘ + <3>Enter"],"q1zFd+":["Failed to remove subscription. Please try again."],"q8EQYI":["Unbookmark"],"q9urQO":["This might take a while."],"qSQQSe":[["totalComments","plural",{"one":["#"," comment"],"other":["<0>",["0"]," comments"]}]],"qTJgpR":["Report <0>@",["username"],"…"],"qYNCa1":["Allow from <0>",["0"],""],"qcAUwp":["Unable to load filters."],"qiPXgY":["Looks like you closed the parent window."],"qn5Dbn":["Add keyword"],"qqeAJM":["Never"],"qwdOim":["Floating button"],"qzVesX":["Edit your post"],"r3RRWo":["Blocked users…"],"r9r5X6":["last 7 hours"],"rEYoku":["Error deleting draft! Please try again."],"rKpfPY":["Showing posts with media"],"rSLkfe":["What's the issue with this profile?"],"rZgCpJ":["server domain name"],"raUMBQ":["Some of your posts have been deleted."],"rbUTzD":["Fetching posts…"],"rdUucN":["Preview"],"rf8fiC":["Close window"],"rhmyFK":["That's all."],"rj0vxZ":["Previous author"],"rmBHZn":["Failed to log in. Please try again or try another instance."],"rnrM7k":["Screenshot of grouped notifications"],"rpXAF6":[["0","plural",{"one":["File ",["1"]," is not supported."],"other":["Files ",["2"]," are not supported."]}]],"sI9N29":["Unblocked @",["username"]],"sJ2yQc":["Add/Remove from Lists"],"sOKhEA":["Muted users"],"sQia9P":["Log in"],"sX3iLV":["Schedule post"],"sXmrl4":["Note: Only max 3 will be stored. The rest will be automatically removed."],"sZvpIt":["Unliked @",["0"],"'s post"],"scd9lw":["Unable to load posts"],"silO9A":["username"],"snPx8X":["Compose new post (new window)"],"sr6maL":["<0>Filtered: <1>",["0"],""],"srocAr":["Posts are grouped by authors, sorted by posts count per author."],"suKjh3":["Filtered: ",["0"]],"t/YqKh":["Remove"],"t2B/we":["Switch to Local"],"t7Py5R":["By default, single column for zen-mode seekers. Configurable multi-column for power users."],"t8dIOP":["Spam"],"tBmklN":["Paste shortcuts here"],"tFvxZF":["Unable to copy shortcut settings"],"tMwimH":["Error fetching reply-to status!"],"tS2i+h":["Up to 5 hashtags combined into a single timeline."],"tVE2wM":["last 2 hours"],"tXgQpk":["Public (Local / Federated)"],"tfDRzk":["Save"],"tqUaGL":["Unable to delete list."],"tuhghE":["Edit list"],"u3gOdY":["instance domain"],"u8JHrO":["Clear filters"],"u96B/B":["Local timeline (",["instance"],")"],"uIp8WL":["or override…"],"uNVxXX":["Some poll choices are empty"],"uREpT3":["Enable boosts"],"uRkcgw":["An admin from <0>",["from"]," has suspended <1>",["targetName"],", which means you can no longer receive updates from them or interact with them."],"uVbUP8":["Settings…"],"uXRAkV":["Show more…"],"uYcYzu":["Blocked @",["username"]],"uabU9X":["Recently used"],"ucJk3m":["Status: <0><1/>"],"ufzZSJ":["Unable to resolve URL"],"ulXSNi":["Keyboard shortcuts help"],"unyq2W":["Remove <0>@",["username"]," from followers?"],"uqf7Yq":["Filter from…"],"urGtsw":["Expiring <0/>"],"usxQx0":["- Boosts"],"uvDfdW":["Multi-column"],"uyJsf6":["About"],"uzt17m":["A post you interacted with has been edited."],"v/l5uA":["Unable to load lists."],"v02K7/":["Unable to mute ",["username"]],"v4TbMP":["<0>Shift + <1>Alt + <2>k"],"v9jO+F":["Some of your posts have been marked as sensitive."],"vCSBPD":["Add filter"],"vERlcd":["Profile"],"vFGLxm":["Attempting to describe image. Please wait…"],"vGjmyl":["Deleted"],"vKsGhk":["No hashtags followed yet."],"vLxvHT":["No shortcuts yet. Tap on the Add shortcut button."],"vWGBjT":["Unable to mute @",["username"]],"vgUfWO":["Unable to pin post"],"vl3XTJ":["Post stats unavailable."],"vpc27K":["beyond 12 hours"],"vrQQgz":["Profiles"],"vvl08N":["A post is currently open. Post or discard it before creating a new one."],"w2OpMr":["Your posts will be marked as sensitive from now on."],"wKtOLH":["Editing source post"],"wNExRS":["Polls"],"wOax6E":["Screenshot of multi-hashtag timeline with a form to add more hashtags"],"wiuWLe":[["0"]," original posts, ",["1"]," replies, ",["2"]," boosts"],"wr3GZI":["Search: ",["q"]],"wvL7OJ":["last 10 hours"],"wxlF9B":["Search GIFs"],"wy0Iwj":["Failed to generate description: ",["0"]],"wyL/3/":["Catch-up <0>beta"],"x/s2/O":["Add content warning"],"x2NYtp":["people I follow"],"x5LEuB":["Followers"],"xCJdfg":["Clear"],"xGVfLh":["Continue"],"xHq5L2":["Unable to unfeature @",["username"]," on your profile."],"xJUo4P":["Removing Catch-up ",["0"]],"xYilR2":["Media"],"xhPEH3":["Mute <0>@",["username"],"…"],"xhYfVj":["Failed to generate description"],"xhiXaF":["@",["username"]," is now featured on your profile."],"xiropL":["static URL"],"xlsg7n":["Synced to your instance server's settings. <0>Go to your instance (",["instance"],") for more settings."],"xrl8fj":["Catch-up"],"y/0uwd":["Yesterday"],"y3ou+8":["Post reported"],"y6sq5j":["Following"],"yFfBdX":["New filter"],"yIBLq8":["Speak"],"yTVtKs":["Withdraw…"],"yUWyHa":["Unable to copy shortcuts"],"yUngDO":["Liked @",["0"],"'s post"],"yYxB17":["Clear all"],"ydzS9x":["Exit"],"yjj6Ll":["Unable to load posts with this tag"],"yrz6Ck":["<0>Shift + <1>b"],"ywB7JM":["Conversation muted"],"yz7wBu":["Close"],"z96cOX":["NOTE: Push notifications only work for <0>one account."],"zCjei3":["Show results"],"zJoEwS":["Handle copied"],"zJyf/5":["<0/> <1/> boosted"],"zLz0mE":["Failed to describe image"],"zNCBmf":["hidden"],"zVJKbG":["Auto-translated from ",["sourceLangText"]],"zXCa9e":["Translate to "],"zZOZj7":["Likes"],"zhrMYj":["Poll must have at least 2 options"],"zhrjek":["Groups"],"zucql+":["Menu"],"zwBp5t":["Private"],"zxFxcH":["Private note"],"zytZXj":["Multiple choice"]}`),Qd=Object.freeze(Object.defineProperty({__proto__:null,messages:Ji},Symbol.toStringTag,{value:"Module"})),Xd={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_DEFAULT_LANG:ef}=Xd,tf={};nt.load(at,Ji);nt.on("change",()=>{const e=nt.locale;if(e){document.documentElement.lang=e;try{const{direction:t}=new Be(e).textInfo;document.documentElement.dir=t}catch{}}});async function rf(e){if(!e||e===at)nt.activate(at);else try{const{messages:t}=await Gd(Object.assign({"../locales/ar-SA.po":()=>z(()=>import("./locales/ar-SA-Mh_cExxG.js"),[],import.meta.url),"../locales/ca-ES.po":()=>z(()=>import("./locales/ca-ES-CseLB1sn.js"),[],import.meta.url),"../locales/cs-CZ.po":()=>z(()=>import("./locales/cs-CZ-GqUBCWYA.js"),[],import.meta.url),"../locales/de-DE.po":()=>z(()=>import("./locales/de-DE-BoZjqNu_.js"),[],import.meta.url),"../locales/en.po":()=>z(()=>Promise.resolve().then(()=>Qd),void 0,import.meta.url),"../locales/eo-UY.po":()=>z(()=>import("./locales/eo-UY-JgXwfNEw.js"),[],import.meta.url),"../locales/es-ES.po":()=>z(()=>import("./locales/es-ES-C0h2yAxM.js"),[],import.meta.url),"../locales/eu-ES.po":()=>z(()=>import("./locales/eu-ES-Dg4Lgvkw.js"),[],import.meta.url),"../locales/fa-IR.po":()=>z(()=>import("./locales/fa-IR-LvzsJMnK.js"),[],import.meta.url),"../locales/fi-FI.po":()=>z(()=>import("./locales/fi-FI-Bzi6bUWt.js"),[],import.meta.url),"../locales/fr-FR.po":()=>z(()=>import("./locales/fr-FR-BP6pDgzv.js"),[],import.meta.url),"../locales/gl-ES.po":()=>z(()=>import("./locales/gl-ES-u20SEzpl.js"),[],import.meta.url),"../locales/he-IL.po":()=>z(()=>import("./locales/he-IL-Mh_cExxG.js"),[],import.meta.url),"../locales/it-IT.po":()=>z(()=>import("./locales/it-IT-B7Lffr1p.js"),[],import.meta.url),"../locales/ja-JP.po":()=>z(()=>import("./locales/ja-JP-Mh_cExxG.js"),[],import.meta.url),"../locales/kab.po":()=>z(()=>import("./locales/kab-BDG9uVMy.js"),[],import.meta.url),"../locales/ko-KR.po":()=>z(()=>import("./locales/ko-KR-DkCmg4CA.js"),[],import.meta.url),"../locales/lt-LT.po":()=>z(()=>import("./locales/lt-LT-CUD_Yn78.js"),[],import.meta.url),"../locales/nb-NO.po":()=>z(()=>import("./locales/nb-NO-Mh_cExxG.js"),[],import.meta.url),"../locales/nl-NL.po":()=>z(()=>import("./locales/nl-NL-ikS44cD7.js"),[],import.meta.url),"../locales/oc-FR.po":()=>z(()=>import("./locales/oc-FR-Mh_cExxG.js"),[],import.meta.url),"../locales/pl-PL.po":()=>z(()=>import("./locales/pl-PL-BOhH4J1Z.js"),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>z(()=>import("./locales/pseudo-LOCALE-DOcmZxjq.js"),[],import.meta.url),"../locales/pt-BR.po":()=>z(()=>import("./locales/pt-BR-ydksUROC.js"),[],import.meta.url),"../locales/pt-PT.po":()=>z(()=>import("./locales/pt-PT-muhFq9EL.js"),[],import.meta.url),"../locales/ru-RU.po":()=>z(()=>import("./locales/ru-RU-BI7qSErU.js"),[],import.meta.url),"../locales/th-TH.po":()=>z(()=>import("./locales/th-TH-Mh_cExxG.js"),[],import.meta.url),"../locales/tok.po":()=>z(()=>import("./locales/tok-Mh_cExxG.js"),[],import.meta.url),"../locales/tr-TR.po":()=>z(()=>import("./locales/tr-TR-Mh_cExxG.js"),[],import.meta.url),"../locales/uk-UA.po":()=>z(()=>import("./locales/uk-UA-b7zUrSH9.js"),[],import.meta.url),"../locales/zh-CN.po":()=>z(()=>import("./locales/zh-CN-CoDG5p3F.js"),[],import.meta.url),"../locales/zh-TW.po":()=>z(()=>import("./locales/zh-TW-Mh_cExxG.js"),[],import.meta.url)}),`../locales/${tf[e]||e}.po`,3);nt.loadAndActivate({locale:e,messages:t})}catch{nt.activate(at)}}function rh(){const e=Zd(Yd("lang"),Kd("lang"),Wd(),ef,at),t=e.find(r=>jo.includes(r))||Bd(e,jo);rf(t)}var Ft={},zo;function nf(){if(zo)return Ft;zo=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.shouldPolyfill=e;function e(){return!Intl.Segmenter}return Ft}var of=nf();const Qi=!of.shouldPolyfill();function Xi(){if(!Qi)return z(()=>import("./polyfill-force-BTQPgyui.js").then(e=>e.p),[],import.meta.url).catch(()=>{})}function Yr(){return z(()=>import("./compose-BAFFp8_Z.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)}async function nh(){try{await Xi(),Yr()}catch{}}function oh(e){const[t,r]=Ge(null);return Ke(()=>{(async()=>{try{if(Qi){const n=await Yr();r(n)}else{await Xi();const n=await Yr();r(n)}}catch{}})()},[]),t?.default?Xt(t.default,{...e}):Xt(zd,{})}const af={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_CLIENT_NAME:$o}=af;function ah(e,t){function r(){const{currentLocation:n}=H,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} / ${$o}`:$o)}Ce(()=>{const n=$i(H,"currentLocation",r);return r(),n},[e,t])}export{fr as $,De as A,Pf as B,Xf as C,at as D,nt as E,wr as F,Bd as G,xn as H,ls as I,En as J,Hl as K,eh as L,fa as M,nh as N,oh as O,Me as P,Pc as Q,Ot as R,ha as S,df as T,wf as U,rn as V,se as W,Lf as X,_f as Y,ah as Z,Ce as _,nr as a,Cd as a0,$i as a1,Mf as a2,Of as a3,Af as a4,Dr as a5,Rd as a6,ya as a7,z as a8,Te as a9,vd as aA,oi as aB,Ne as aC,ta as aD,cn as aE,ne as aF,md as aG,Ad as aH,Cf as aI,Hf as aJ,sf as aK,Sf as aL,lt as aM,Wi as aN,Hd as aO,Qf as aP,Lc as aQ,pd as aR,Uf as aa,Nf as ab,If as ac,Jf as ad,Fi as ae,Df as af,kf as ag,yf as ah,Jl as ai,Et as aj,rh as ak,Pt as al,cf as am,vf as an,Ie as ao,xa as ap,La as aq,ga as ar,Ys as as,Pa as at,Ui as au,Ms as av,Rf as aw,Bt as ax,he as ay,Y as az,Gi as b,bf as c,Ge as d,Xt as e,pt as f,ji as g,ar as h,Tn as i,Tc as j,pe as k,ve as l,th as m,U as n,rf as o,_d as p,ct as q,xf as r,H as s,Bi as t,uf as u,kc as v,Tf as w,mn as x,Ke as y,zd as z}; //# sourceMappingURL=useTitle-Ck4QBWzz.js.map