fedipod 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +123 -0
- package/architecture.svg +89 -0
- package/bin/fedipod.mjs +2303 -0
- package/cli.md +243 -0
- package/groups.md +85 -0
- package/gui.md +99 -0
- package/lib/account.mjs +87 -0
- package/lib/admin.mjs +1606 -0
- package/lib/atproto.mjs +310 -0
- package/lib/bskyfeed.mjs +166 -0
- package/lib/bskygroup.mjs +162 -0
- package/lib/c2s.mjs +305 -0
- package/lib/certs.mjs +265 -0
- package/lib/deliver.mjs +249 -0
- package/lib/directory.mjs +90 -0
- package/lib/embed.mjs +214 -0
- package/lib/export-collections.mjs +161 -0
- package/lib/front-core.mjs +322 -0
- package/lib/gateway-core.mjs +115 -0
- package/lib/guard.mjs +213 -0
- package/lib/home.mjs +161 -0
- package/lib/httpsig.mjs +109 -0
- package/lib/import.mjs +357 -0
- package/lib/intake.mjs +1710 -0
- package/lib/keys.mjs +139 -0
- package/lib/lease.mjs +190 -0
- package/lib/localapi.mjs +87 -0
- package/lib/mastoapi.mjs +1588 -0
- package/lib/migrate.mjs +127 -0
- package/lib/oidc-auth.mjs +53 -0
- package/lib/podrdf.mjs +132 -0
- package/lib/ports.mjs +27 -0
- package/lib/publisher.mjs +1003 -0
- package/lib/remote.mjs +303 -0
- package/lib/safefetch.mjs +235 -0
- package/lib/setup.mjs +262 -0
- package/lib/social.mjs +505 -0
- package/lib/storage.mjs +170 -0
- package/lib/store.mjs +470 -0
- package/lib/streaming.mjs +154 -0
- package/lib/tagfeed.mjs +158 -0
- package/lib/ua.mjs +29 -0
- package/lib/update.mjs +91 -0
- package/lib/webpush.mjs +98 -0
- package/lib/wire.mjs +762 -0
- package/package.json +60 -0
- package/phanpy/dist/404.html +40 -0
- package/phanpy/dist/_headers +2 -0
- package/phanpy/dist/apple-touch-icon.png +0 -0
- package/phanpy/dist/assets/ICONS-DIPJeU0C.js +2 -0
- package/phanpy/dist/assets/ICONS-DIPJeU0C.js.map +1 -0
- package/phanpy/dist/assets/ScheduledAtField-D-Abfo4J.js +183 -0
- package/phanpy/dist/assets/ScheduledAtField-D-Abfo4J.js.map +1 -0
- package/phanpy/dist/assets/Temml-CCjoacWt.woff2 +0 -0
- package/phanpy/dist/assets/__vite-browser-external-C7iut881.js +2 -0
- package/phanpy/dist/assets/__vite-browser-external-C7iut881.js.map +1 -0
- package/phanpy/dist/assets/boosts-carousel-BiOaNdMT.jpg +0 -0
- package/phanpy/dist/assets/catch-up-O5q5C75Z.png +0 -0
- package/phanpy/dist/assets/chunk-aKtaBQYM.js +1 -0
- package/phanpy/dist/assets/compose-CFEx7wb4.js +2 -0
- package/phanpy/dist/assets/compose-CFEx7wb4.js.map +1 -0
- package/phanpy/dist/assets/compose-ZJN5xSb4.js +35 -0
- package/phanpy/dist/assets/compose-ZJN5xSb4.js.map +1 -0
- package/phanpy/dist/assets/debug.module-YFQgwnIr.js +52 -0
- package/phanpy/dist/assets/debug.module-YFQgwnIr.js.map +1 -0
- package/phanpy/dist/assets/dom-p1YcJ5Rw.js +2 -0
- package/phanpy/dist/assets/dom-p1YcJ5Rw.js.map +1 -0
- package/phanpy/dist/assets/home-mobile-dark@2x-Dc-J8-SM.png +0 -0
- package/phanpy/dist/assets/home-mobile-light@2x-Bd3fod8m.png +0 -0
- package/phanpy/dist/assets/home-tablet-dark@2x-BgcNI8le.png +0 -0
- package/phanpy/dist/assets/home-tablet-light@2x-BW2RV9T6.png +0 -0
- package/phanpy/dist/assets/icons/add-circle-line-WD0mwORD.js +1 -0
- package/phanpy/dist/assets/icons/alert-line-CpFUMf9s.js +1 -0
- package/phanpy/dist/assets/icons/android-2-line-Bzxnrd3S.js +1 -0
- package/phanpy/dist/assets/icons/announcement-line-5nwaJFJm.js +1 -0
- package/phanpy/dist/assets/icons/arrow-down-circle-line-a7Id9-Iv.js +1 -0
- package/phanpy/dist/assets/icons/arrow-down-line-B8uzXzq6.js +1 -0
- package/phanpy/dist/assets/icons/arrow-left-line-CGrGT9C-.js +1 -0
- package/phanpy/dist/assets/icons/arrow-right-line-CE-HERfX.js +1 -0
- package/phanpy/dist/assets/icons/arrow-to-up-line-CvdQjmcy.js +1 -0
- package/phanpy/dist/assets/icons/arrow-up-circle-line-DEparSNF.js +1 -0
- package/phanpy/dist/assets/icons/arrow-up-line-C7yBeugc.js +1 -0
- package/phanpy/dist/assets/icons/arrows-right-line-BtbXmJGP.js +1 -0
- package/phanpy/dist/assets/icons/at-line-CF66Bznk.js +1 -0
- package/phanpy/dist/assets/icons/attachment-line-BY8It-l9.js +1 -0
- package/phanpy/dist/assets/icons/blockquote-line-BS6pU_hm.js +1 -0
- package/phanpy/dist/assets/icons/board-line-C0UWXyA6.js +1 -0
- package/phanpy/dist/assets/icons/bookmark-line-1CtX5JLF.js +1 -0
- package/phanpy/dist/assets/icons/building-5-line-Dd59MzbO.js +1 -0
- package/phanpy/dist/assets/icons/bus-2-line-6_dvA0GG.js +1 -0
- package/phanpy/dist/assets/icons/calendar-day-line-Crpl_fmu.js +1 -0
- package/phanpy/dist/assets/icons/calendar-month-line-vommts2C.js +1 -0
- package/phanpy/dist/assets/icons/calendar-time-add-line-BU_DTlQk.js +1 -0
- package/phanpy/dist/assets/icons/camera-line-Cv69MEei.js +1 -0
- package/phanpy/dist/assets/icons/celebrate-line-B8DvIoi0.js +1 -0
- package/phanpy/dist/assets/icons/chart-bar-line-FK-QOmtF.js +1 -0
- package/phanpy/dist/assets/icons/chart-line-line-BGcJAFWw.js +1 -0
- package/phanpy/dist/assets/icons/chat-3-line-YFK2-hwz.js +1 -0
- package/phanpy/dist/assets/icons/check-circle-line-DsAxFr5-.js +1 -0
- package/phanpy/dist/assets/icons/clipboard-line-BBp364gJ.js +1 -0
- package/phanpy/dist/assets/icons/close-circle-line-CICdiuGz.js +1 -0
- package/phanpy/dist/assets/icons/close-line-DYrFWcjv.js +1 -0
- package/phanpy/dist/assets/icons/cloud-line-tiQAbah8.js +1 -0
- package/phanpy/dist/assets/icons/code-line-fAl8iiV3.js +1 -0
- package/phanpy/dist/assets/icons/comment-2-line-CR3g7WeB.js +1 -0
- package/phanpy/dist/assets/icons/copy-2-line-CLW69yF5.js +1 -0
- package/phanpy/dist/assets/icons/delete-2-line-B8xmbr4n.js +1 -0
- package/phanpy/dist/assets/icons/document-3-line-DBGNhAg2.js +1 -0
- package/phanpy/dist/assets/icons/document-line-C7mb9sb7.js +1 -0
- package/phanpy/dist/assets/icons/down-line-BGqSSThd.js +1 -0
- package/phanpy/dist/assets/icons/edit-4-line-DcgGaEhx.js +1 -0
- package/phanpy/dist/assets/icons/emoji-2-line-D8YgnM-y.js +1 -0
- package/phanpy/dist/assets/icons/exit-line-Dc07BS-x.js +1 -0
- package/phanpy/dist/assets/icons/external-link-line-BvpSkmjO.js +1 -0
- package/phanpy/dist/assets/icons/eye-2-line-CiWXx-f_.js +1 -0
- package/phanpy/dist/assets/icons/eye-close-line-BgTaSJ4P.js +1 -0
- package/phanpy/dist/assets/icons/filter-2-line-B_mR2usy.js +1 -0
- package/phanpy/dist/assets/icons/filter-line-C_nm-3cU.js +1 -0
- package/phanpy/dist/assets/icons/flag-1-line-C2HB05I0.js +1 -0
- package/phanpy/dist/assets/icons/forbid-circle-line-D3LTT9yd.js +1 -0
- package/phanpy/dist/assets/icons/formula-line-DLrt2d6j.js +1 -0
- package/phanpy/dist/assets/icons/grid-line-CgUmEikf.js +1 -0
- package/phanpy/dist/assets/icons/group-line-C5fnX0wU.js +1 -0
- package/phanpy/dist/assets/icons/hand-finger-2-line-BGgxbuL9.js +1 -0
- package/phanpy/dist/assets/icons/hashtag-line-CyTEEXBb.js +1 -0
- package/phanpy/dist/assets/icons/heart-crack-line-BZddbO2C.js +1 -0
- package/phanpy/dist/assets/icons/heart-line-CJ7K47J4.js +1 -0
- package/phanpy/dist/assets/icons/history-2-line-kWWvFzqv.js +1 -0
- package/phanpy/dist/assets/icons/history-line-bGQiwbTH.js +1 -0
- package/phanpy/dist/assets/icons/home-3-line-fRU1zeLG.js +1 -0
- package/phanpy/dist/assets/icons/information-line-iNk6-sOY.js +1 -0
- package/phanpy/dist/assets/icons/keyboard-line-DsCyuQNz.js +1 -0
- package/phanpy/dist/assets/icons/layout-4-line-CZkOX52Z.js +1 -0
- package/phanpy/dist/assets/icons/layout-5-line-B_znt5wO.js +1 -0
- package/phanpy/dist/assets/icons/left-line-eUw0tya4.js +1 -0
- package/phanpy/dist/assets/icons/lightning-line-DaKoDdix.js +1 -0
- package/phanpy/dist/assets/icons/link-2-line-DCqLmMA7.js +1 -0
- package/phanpy/dist/assets/icons/list-check-line-BAxosBh9.js +1 -0
- package/phanpy/dist/assets/icons/lock-line-CPoaXeUW.js +1 -0
- package/phanpy/dist/assets/icons/mail-line-B0P8aa1L.js +1 -0
- package/phanpy/dist/assets/icons/moon-line-CEqNAToP.js +1 -0
- package/phanpy/dist/assets/icons/more-1-fill-Dw2e5xab.js +1 -0
- package/phanpy/dist/assets/icons/more-3-line-BIiVjYTz.js +1 -0
- package/phanpy/dist/assets/icons/notification-line-BZZq2Gtu.js +1 -0
- package/phanpy/dist/assets/icons/pencil-line-CKh8-A1v.js +1 -0
- package/phanpy/dist/assets/icons/photo-album-line-Bnfg2u40.js +1 -0
- package/phanpy/dist/assets/icons/pin-line-DpTolyhs.js +1 -0
- package/phanpy/dist/assets/icons/play-fill-B0-G_8lX.js +1 -0
- package/phanpy/dist/assets/icons/qrcode-2-line-B6SPCaHn.js +1 -0
- package/phanpy/dist/assets/icons/quill-pen-line-B6LUrnCP.js +1 -0
- package/phanpy/dist/assets/icons/quote-left-fill-hQZ1cj_6.js +1 -0
- package/phanpy/dist/assets/icons/radar-line-CKyroTth.js +1 -0
- package/phanpy/dist/assets/icons/react-line-CoIKhhtK.js +1 -0
- package/phanpy/dist/assets/icons/refresh-2-line-D0mTF97S.js +1 -0
- package/phanpy/dist/assets/icons/right-line-B3KWJaqc.js +1 -0
- package/phanpy/dist/assets/icons/rocket-line-4KZl537D.js +1 -0
- package/phanpy/dist/assets/icons/round-fill-C69NTrZ0.js +1 -0
- package/phanpy/dist/assets/icons/round-line-B9k_1uo-.js +1 -0
- package/phanpy/dist/assets/icons/route-line-B28ReHcE.js +1 -0
- package/phanpy/dist/assets/icons/rows-4-line-CrBniagM.js +1 -0
- package/phanpy/dist/assets/icons/scan-line-DSf74YdP.js +1 -0
- package/phanpy/dist/assets/icons/search-2-line-B6geIU1z.js +1 -0
- package/phanpy/dist/assets/icons/settings-3-line-azJwK47w.js +1 -0
- package/phanpy/dist/assets/icons/settings-6-line-C_5zc5YR.js +1 -0
- package/phanpy/dist/assets/icons/share-2-line-D5MxWjrm.js +1 -0
- package/phanpy/dist/assets/icons/share-forward-line-Cp61fZzZ.js +1 -0
- package/phanpy/dist/assets/icons/sparkles-2-line-DYYyXTaW.js +1 -0
- package/phanpy/dist/assets/icons/sparkles-line-C2hY1s6I.js +1 -0
- package/phanpy/dist/assets/icons/time-line-BF3eet1v.js +1 -0
- package/phanpy/dist/assets/icons/transfer-4-line-oisfvTBw.js +1 -0
- package/phanpy/dist/assets/icons/translate-line-BFWol2Ce.js +1 -0
- package/phanpy/dist/assets/icons/unlock-line-X_x5vwv3.js +1 -0
- package/phanpy/dist/assets/icons/upload-3-line-DgzwUJeW.js +1 -0
- package/phanpy/dist/assets/icons/user-4-line-BVSynZCp.js +1 -0
- package/phanpy/dist/assets/icons/user-add-2-line-BlGS5Q8q.js +1 -0
- package/phanpy/dist/assets/icons/user-add-line-BbXdHG4z.js +1 -0
- package/phanpy/dist/assets/icons/user-edit-line-BFAHOV0X.js +1 -0
- package/phanpy/dist/assets/icons/user-follow-line-BXux0wSd.js +1 -0
- package/phanpy/dist/assets/icons/user-star-line-DdYlpHLU.js +1 -0
- package/phanpy/dist/assets/icons/user-warning-line-Cj43j0_E.js +1 -0
- package/phanpy/dist/assets/icons/user-x-line-DIDgNlPH.js +1 -0
- package/phanpy/dist/assets/icons/volume-line-Bs390KQt.js +1 -0
- package/phanpy/dist/assets/icons/volume-mute-line-DzlzIqFZ.js +1 -0
- package/phanpy/dist/assets/icons/walk-line-yNXfB-md.js +1 -0
- package/phanpy/dist/assets/icons/world-2-line-CenkGIwj.js +1 -0
- package/phanpy/dist/assets/icons/zoom-in-line-CaENUphf.js +1 -0
- package/phanpy/dist/assets/icons/zoom-out-line-BDNk0EWo.js +1 -0
- package/phanpy/dist/assets/instances-BNPptnn-.json +333 -0
- package/phanpy/dist/assets/locales/ar-SA-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/ca-ES-DHRW86Tz.js +1 -0
- package/phanpy/dist/assets/locales/cs-CZ-CKoqEuA1.js +1 -0
- package/phanpy/dist/assets/locales/de-DE-ByRPMRFy.js +1 -0
- package/phanpy/dist/assets/locales/eo-UY-CPC7wLCS.js +1 -0
- package/phanpy/dist/assets/locales/es-ES-dJa0Fd9t.js +1 -0
- package/phanpy/dist/assets/locales/eu-ES-C3djlPR2.js +1 -0
- package/phanpy/dist/assets/locales/fa-IR-DTT490Ck.js +1 -0
- package/phanpy/dist/assets/locales/fi-FI-B23MCPuz.js +1 -0
- package/phanpy/dist/assets/locales/fr-FR-BcaQsO5C.js +1 -0
- package/phanpy/dist/assets/locales/gl-ES-BR-CVKBN.js +1 -0
- package/phanpy/dist/assets/locales/he-IL-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/hu-HU-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/it-IT-C1136UFV.js +1 -0
- package/phanpy/dist/assets/locales/ja-JP-CRZmRAhD.js +1 -0
- package/phanpy/dist/assets/locales/kab-Cz8xH_TT.js +1 -0
- package/phanpy/dist/assets/locales/ko-KR-CG9UiY4o.js +1 -0
- package/phanpy/dist/assets/locales/lt-LT-CJcI6sHZ.js +1 -0
- package/phanpy/dist/assets/locales/nb-NO-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/nl-NL-DxN4Yc1t.js +1 -0
- package/phanpy/dist/assets/locales/oc-FR-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/pl-PL-DkwGXf6P.js +1 -0
- package/phanpy/dist/assets/locales/pseudo-LOCALE-CQ4XxkQ0.js +1 -0
- package/phanpy/dist/assets/locales/pt-BR-nGL0HdFS.js +1 -0
- package/phanpy/dist/assets/locales/pt-PT-Cp17aj2z.js +1 -0
- package/phanpy/dist/assets/locales/ru-RU-0Y8cIoaK.js +1 -0
- package/phanpy/dist/assets/locales/th-TH-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/tok-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/tr-TR-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/locales/uk-UA-C5E3dFBf.js +1 -0
- package/phanpy/dist/assets/locales/zh-CN-BHJi7_et.js +1 -0
- package/phanpy/dist/assets/locales/zh-TW-CfheRbCu.js +1 -0
- package/phanpy/dist/assets/main-BdqNbG-a.js +26 -0
- package/phanpy/dist/assets/main-BdqNbG-a.js.map +1 -0
- package/phanpy/dist/assets/mock-home-DGhR__He.js +2 -0
- package/phanpy/dist/assets/mock-home-DGhR__He.js.map +1 -0
- package/phanpy/dist/assets/multi-column-ROck0NVt.jpg +0 -0
- package/phanpy/dist/assets/multi-hashtag-timeline-DH5INVHi.jpg +0 -0
- package/phanpy/dist/assets/nested-comments-thread-hv59kZLc.jpg +0 -0
- package/phanpy/dist/assets/polyfill-force-H8sUkLGp.js +2 -0
- package/phanpy/dist/assets/polyfill-force-H8sUkLGp.js.map +1 -0
- package/phanpy/dist/assets/pwa-viewport-ogKbF51K.js +20 -0
- package/phanpy/dist/assets/pwa-viewport-ogKbF51K.js.map +1 -0
- package/phanpy/dist/assets/style-B1iLPTPR.css +2 -0
- package/phanpy/dist/assets/temml-DuyIQMei.js +97 -0
- package/phanpy/dist/assets/temml-DuyIQMei.js.map +1 -0
- package/phanpy/dist/assets/tinyld.light.node-DtbBhLYC.js +2 -0
- package/phanpy/dist/assets/tinyld.light.node-DtbBhLYC.js.map +1 -0
- package/phanpy/dist/assets/year-in-posts-B2lywqdx.png +0 -0
- package/phanpy/dist/assets/year-in-posts-DJv_star.js +3 -0
- package/phanpy/dist/assets/year-in-posts-DJv_star.js.map +1 -0
- package/phanpy/dist/compose/index.html +20 -0
- package/phanpy/dist/favicon.ico +0 -0
- package/phanpy/dist/index.html +73 -0
- package/phanpy/dist/logo-192.png +0 -0
- package/phanpy/dist/logo-512.png +0 -0
- package/phanpy/dist/logo-badge-72.png +0 -0
- package/phanpy/dist/logo-maskable-512.png +0 -0
- package/phanpy/dist/logo-monochrome-512.png +0 -0
- package/phanpy/dist/logo-monochrome-maskable-512.png +0 -0
- package/phanpy/dist/manifest.webmanifest +1 -0
- package/phanpy/dist/og-image-2.jpg +0 -0
- package/phanpy/dist/og-image.png +0 -0
- package/phanpy/dist/robots.txt +2 -0
- package/phanpy/dist/sw.js +25 -0
- package/phanpy/dist/version.json +1 -0
- package/run-agent.mjs +805 -0
- package/scripts/build-dist.mjs +37 -0
- package/scripts/verify-ui.mjs +60 -0
- package/ui/README.md +23 -0
- package/vendor/gate.cjs +132 -0
- package/vendor/idp-grant.cjs +394 -0
- package/vendor/jfetch.cjs +16 -0
- package/web/admin/admin.js +958 -0
- package/web/admin/bar.css +64 -0
- package/web/admin/bar.js +61 -0
- package/web/admin/client/client.js +66 -0
- package/web/admin/client/index.html +42 -0
- package/web/admin/index.html +493 -0
- package/web/admin/setup/index.html +172 -0
- package/web/admin/setup/setup.js +268 -0
- package/web/admin/window.css +55 -0
- package/web/admin/window.js +136 -0
- package/web/front/install.sh +69 -0
- package/web/front/new-account.html +424 -0
- package/web/front/run.html +138 -0
- package/web/front/solid-client-authn.bundle.js +2 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ICONS-DIPJeU0C.js","./chunk-aKtaBQYM.js","./compose-ZJN5xSb4.js","./ScheduledAtField-D-Abfo4J.js","./__vite-browser-external-C7iut881.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{i as e,n as t,t as n}from"./chunk-aKtaBQYM.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`AbortSignal`in window&&(AbortSignal.timeout=AbortSignal.timeout||(e=>{let t=new AbortController;return setTimeout(()=>t.abort(),e),t.signal})),`AbortSignal`in window&&!AbortSignal.any&&(AbortSignal.any=function(e){let t=new AbortController,{signal:n}=t;for(let r of e)if(r.aborted)return t.abort(r.reason),n;for(let r of e)r.addEventListener(`abort`,()=>{t.abort(r.reason)},{signal:n});return n}),`URL`in window&&typeof URL.parse!=`function`&&(URL.parse=function(e,t){if(!e)return null;try{return t?new URL(e,t):new URL(e)}catch{return null}});var r=n(((e,t)=>{(function(e,n){typeof define==`function`&&define.amd?define([],n):typeof t==`object`&&t.exports?t.exports=n():e.moo=n()})(e,function(){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=typeof RegExp().sticky==`boolean`;function r(e){return e&&t.call(e)===`[object RegExp]`}function i(e){return e&&typeof e==`object`&&!r(e)&&!Array.isArray(e)}function a(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,function(e){return e===`-`?`\\x2d`:`\\`+e})}function o(e){return RegExp(`|`+e).exec(``).length-1}function s(e){return`(`+e+`)`}function c(e){return e.length?`(?:`+e.map(function(e){return`(?:`+e+`)`}).join(`|`)+`)`:`(?!)`}function l(e){if(typeof e==`string`)return`(?:`+a(e)+`)`;if(r(e)){if(e.ignoreCase)throw Error(`RegExp /i flag not allowed`);if(e.global)throw Error(`RegExp /g flag is implied`);if(e.sticky)throw Error(`RegExp /y flag is implied`);if(e.multiline)throw Error(`RegExp /m flag is implied`);return e.source}else throw Error(`Not a pattern: `+e)}function u(e,t){return e.length>t?e:Array(t-e.length+1).join(` `)+e}function d(e,t){for(var n=e.length,r=0;;){var i=e.lastIndexOf(`
|
|
3
|
+
`,n-1);if(i===-1||(r++,n=i,r===t)||n===0)break}var a=r<t?0:n+1;return e.substring(a).split(`
|
|
4
|
+
`)}function f(e){for(var t=Object.getOwnPropertyNames(e),n=[],r=0;r<t.length;r++){var a=t[r],o=e[a],s=[].concat(o);if(a===`include`){for(var c=0;c<s.length;c++)n.push({include:s[c]});continue}var l=[];s.forEach(function(e){i(e)?(l.length&&n.push(m(a,l)),n.push(m(a,e)),l=[]):l.push(e)}),l.length&&n.push(m(a,l))}return n}function p(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(r.include){for(var i=[].concat(r.include),a=0;a<i.length;a++)t.push({include:i[a]});continue}if(!r.type)throw Error(`Rule has no type: `+JSON.stringify(r));t.push(m(r.type,r))}return t}function m(t,n){if(i(n)||(n={match:n}),n.include)throw Error(`Matching rules cannot also include states`);var a={defaultType:t,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var o in n)e.call(n,o)&&(a[o]=n[o]);if(typeof a.type==`string`&&t!==a.type)throw Error(`Type transform cannot be a string (type '`+a.type+`' for token '`+t+`')`);var s=a.match;return a.match=Array.isArray(s)?s:s?[s]:[],a.match.sort(function(e,t){return r(e)&&r(t)?0:r(t)?-1:r(e)?1:t.length-e.length}),a}function h(e){return Array.isArray(e)?p(e):f(e)}var g=m(`error`,{lineBreaks:!0,shouldThrow:!0});function _(e,t){for(var i=null,a=Object.create(null),u=!0,d=null,f=[],p=[],m=0;m<e.length;m++)e[m].fallback&&(u=!1);for(var m=0;m<e.length;m++){var h=e[m];if(h.include)throw Error(`Inheritance is not allowed in stateless lexers`);if(h.error||h.fallback){if(i)throw!h.fallback==!i.fallback?Error(`Multiple `+(h.fallback?`fallback`:`error`)+` rules not allowed (for token '`+h.defaultType+`')`):Error(`fallback and error are mutually exclusive (for token '`+h.defaultType+`')`);i=h}var _=h.match.slice();if(u)for(;_.length&&typeof _[0]==`string`&&_[0].length===1;){var v=_.shift();a[v.charCodeAt(0)]=h}if(h.pop||h.push||h.next){if(!t)throw Error(`State-switching options are not allowed in stateless lexers (for token '`+h.defaultType+`')`);if(h.fallback)throw Error(`State-switching options are not allowed on fallback tokens (for token '`+h.defaultType+`')`)}if(_.length!==0){u=!1,f.push(h);for(var y=0;y<_.length;y++){var b=_[y];if(r(b)){if(d===null)d=b.unicode;else if(d!==b.unicode&&h.fallback===!1)throw Error(`If one rule is /u then all must be`)}}var x=c(_.map(l)),S=new RegExp(x);if(S.test(``))throw Error(`RegExp matches empty string: `+S);if(o(x)>0)throw Error(`RegExp has capture groups: `+S+`
|
|
5
|
+
Use (?: … ) instead`);if(!h.lineBreaks&&S.test(`
|
|
6
|
+
`))throw Error(`Rule should declare lineBreaks: `+S);p.push(s(x))}}var C=i&&i.fallback,w=n&&!C?`ym`:`gm`,T=n||C?``:`|`;return d===!0&&(w+=`u`),{regexp:new RegExp(c(p)+T,w),groups:f,fast:a,error:i||g}}function v(e){return new S({start:_(h(e))},`start`)}function y(e,t,n){var r=e&&(e.push||e.next);if(r&&!n[r])throw Error(`Missing state '`+r+`' (in token '`+e.defaultType+`' of state '`+t+`')`);if(e&&e.pop&&+e.pop!=1)throw Error(`pop must be 1 (in token '`+e.defaultType+`' of state '`+t+`')`)}function b(e,t){var n=e.$all?h(e.$all):[];delete e.$all;var r=Object.getOwnPropertyNames(e);t||=r[0];for(var i=Object.create(null),a=0;a<r.length;a++){var o=r[a];i[o]=h(e[o]).concat(n)}for(var a=0;a<r.length;a++)for(var o=r[a],s=i[o],c=Object.create(null),l=0;l<s.length;l++){var u=s[l];if(u.include){var d=[l,1];if(u.include!==o&&!c[u.include]){c[u.include]=!0;var f=i[u.include];if(!f)throw Error(`Cannot include nonexistent state '`+u.include+`' (in state '`+o+`')`);for(var p=0;p<f.length;p++){var m=f[p];s.indexOf(m)===-1&&d.push(m)}}s.splice.apply(s,d),l--}}for(var g=Object.create(null),a=0;a<r.length;a++){var o=r[a];g[o]=_(i[o],!0)}for(var a=0;a<r.length;a++){for(var v=r[a],b=g[v],x=b.groups,l=0;l<x.length;l++)y(x[l],v,g);for(var C=Object.getOwnPropertyNames(b.fast),l=0;l<C.length;l++)y(b.fast[C[l]],v,g)}return new S(g,t)}function x(e){for(var t=typeof Map<`u`,n=t?new Map:Object.create(null),r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var a=r[i],o=e[a];(Array.isArray(o)?o:[o]).forEach(function(e){if(typeof e!=`string`)throw Error(`keyword must be string (in keyword '`+a+`')`);t?n.set(e,a):n[e]=a})}return function(e){return t?n.get(e):n[e]}}var S=function(e,t){this.startState=t,this.states=e,this.buffer=``,this.stack=[],this.reset()};S.prototype.reset=function(e,t){return this.buffer=e||``,this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:``,this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},S.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},S.prototype.setState=function(e){if(!(!e||this.state===e)){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},S.prototype.popState=function(){this.setState(this.stack.pop())},S.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var C=n?function(e,t){return e.exec(t)}:function(e,t){var n=e.exec(t);return n[0].length===0?null:n};S.prototype._getGroup=function(e){for(var t=this.groups.length,n=0;n<t;n++)if(e[n+1]!==void 0)return this.groups[n];throw Error(`Cannot find token type for matched text`)};function w(){return this.value}if(S.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText=``,t}var n=this.buffer;if(e!==n.length){var r=this.fast[n.charCodeAt(e)];if(r)return this._token(r,n.charAt(e),e);var i=this.re;i.lastIndex=e;var a=C(i,n),o=this.error;if(a==null)return this._token(o,n.slice(e,n.length),e);var r=this._getGroup(a),s=a[0];return o.fallback&&a.index!==e?(this.queuedGroup=r,this.queuedText=s,this._token(o,n.slice(e,a.index),e)):this._token(r,s,e)}},S.prototype._token=function(e,t,n){var r=0;if(e.lineBreaks){var i=/\n/g,a=1;if(t===`
|
|
7
|
+
`)r=1;else for(;i.exec(t);)r++,a=i.lastIndex}var o={type:typeof e.type==`function`&&e.type(t)||e.defaultType,value:typeof e.value==`function`?e.value(t):t,text:t,toString:w,offset:n,lineBreaks:r,line:this.line,col:this.col},s=t.length;if(this.index+=s,this.line+=r,r===0?this.col+=s:this.col=s-a+1,e.shouldThrow)throw Error(this.formatError(o,`invalid syntax`));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),o},typeof Symbol<`u`&&Symbol.iterator){var T=function(e){this.lexer=e};T.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},T.prototype[Symbol.iterator]=function(){return this},S.prototype[Symbol.iterator]=function(){return new T(this)}}return S.prototype.formatError=function(e,t){if(e==null)var n=this.buffer.slice(this.index),e={text:n,offset:this.index,lineBreaks:n.indexOf(`
|
|
8
|
+
`)===-1?0:1,line:this.line,col:this.col};var r=2,i=Math.max(e.line-r,1),a=e.line+r,o=String(a).length,s=d(this.buffer,this.line-e.line+r+1).slice(0,5),c=[];c.push(t+` at line `+e.line+` col `+e.col+`:`),c.push(``);for(var l=0;l<s.length;l++){var f=s[l],p=i+l;c.push(u(String(p),o)+` `+f),p===e.line&&c.push(u(``,o+e.col+1)+`^`)}return c.join(`
|
|
9
|
+
`)},S.prototype.clone=function(){return new S(this.states,this.state)},S.prototype.has=function(e){return!0},{compile:v,states:b,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:x}})})),i=n((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;var n=t(r());e.states={body:{doubleapos:{match:`''`,value:()=>`'`},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:e=>e.slice(1,-1).replace(/''/g,`'`)},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:`arg`,value:e=>e.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:e=>e.split(`,`)[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:`body`,value:e=>e.split(`,`)[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:e=>e.substring(1).trim()},end:{match:`}`,pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:e=>e.split(`:`)[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:`body`,value:e=>e.substring(0,e.indexOf(`{`)).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=n.default.states(e.states)}));n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ParseError=void 0,e.parse=u;var t=i(),n=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),r=e=>e===`plural`||e===`select`||e===`selectordinal`;function a(e,t){let n=``,r=``;for(let i of t){let t=i.ctx.text;switch(r+=t,i.type){case`content`:n+=i.value;break;case`argument`:case`function`:case`octothorpe`:n+=t;break;default:throw new c(e,`Unsupported part in strict mode function arg style: ${t}`)}}return[{type:`content`,value:n.trim(),ctx:Object.assign({},t[0].ctx,{text:r})}]}var o=[`number`,`date`,`time`,`spellout`,`ordinal`,`duration`],s=[`zero`,`one`,`two`,`few`,`many`,`other`],c=class extends Error{constructor(e,n){super(t.lexer.formatError(e,n))}};e.ParseError=c;var l=class{constructor(e,n){this.lexer=t.lexer.reset(e),this.cardinalKeys=n?.cardinal??s,this.ordinalKeys=n?.ordinal??s,this.strict=n?.strict??!1,this.strictPluralKeys=n?.strictPluralKeys??!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(e,t,n){if(n[0]===`=`){if(t===`select`)throw new c(e,`The case ${n} is not valid with select`)}else if(t!==`select`){let r=t===`plural`?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&r.length>0&&!r.includes(n))throw new c(e,`The ${t} case ${n} is not valid in this locale`)}}parseSelect({value:e},t,r,i){let a={type:i,arg:e,cases:[],ctx:r};i===`plural`||i===`selectordinal`?t=!0:this.strict&&(t=!1);for(let e of this.lexer)switch(e.type){case`offset`:if(i===`select`)throw new c(e,`Unexpected plural offset for select`);if(a.cases.length>0)throw new c(e,`Plural offset must be set before cases`);a.pluralOffset=Number(e.value),r.text+=e.text,r.lineBreaks+=e.lineBreaks;break;case`case`:this.checkSelectKey(e,i,e.value),a.cases.push({key:e.value,tokens:this.parseBody(t),ctx:n(e)});break;case`end`:return a;default:throw new c(e,`Unexpected lexer token: ${e.type}`)}throw new c(null,`Unexpected message end`)}parseArgToken(e,t){let i=n(e),s=this.lexer.next();if(!s)throw new c(null,`Unexpected message end`);if(i.text+=s.text,i.lineBreaks+=s.lineBreaks,this.strict&&(s.type===`func-simple`||s.type===`func-args`)&&!o.includes(s.value))throw new c(e,`Invalid strict mode function arg type: ${s.value}`);switch(s.type){case`end`:return{type:`argument`,arg:e.value,ctx:i};case`func-simple`:{let t=this.lexer.next();if(!t)throw new c(null,`Unexpected message end`);if(t.type!==`end`)throw new c(t,`Unexpected lexer token: ${t.type}`);if(i.text+=t.text,r(s.value.toLowerCase()))throw new c(s,`Invalid type identifier: ${s.value}`);return{type:`function`,arg:e.value,key:s.value,ctx:i}}case`func-args`:{if(r(s.value.toLowerCase()))throw new c(s,`Invalid type identifier: ${s.value}`);let n=this.parseBody(this.strict?!1:t);return this.strict&&n.length>0&&(n=a(e,n)),{type:`function`,arg:e.value,key:s.value,param:n,ctx:i}}case`select`:if(r(s.value))return this.parseSelect(e,t,i,s.value);throw new c(s,`Unexpected select type ${s.value}`);default:throw new c(s,`Unexpected lexer token: ${s.type}`)}}parseBody(e,t){let r=[],i=null;for(let a of this.lexer)if(a.type===`argument`)i&&=null,r.push(this.parseArgToken(a,e));else if(a.type===`octothorpe`&&e)i&&=null,r.push({type:`octothorpe`,ctx:n(a)});else if(a.type===`end`&&!t)return r;else{let t=a.value;if(!e&&a.type===`quoted`&&t[0]===`#`){if(t.includes(`{`))throw new c(a,`Unsupported escape pattern: ${t}`);t=a.text}i?(i.value+=t,i.ctx.text+=a.text,i.ctx.lineBreaks+=a.lineBreaks):(i={type:`content`,value:t,ctx:n(a)},r.push(i))}if(t)return r;throw new c(null,`Unexpected message end`)}};function u(e,t={}){return new l(e,t).parse()}}))();var a=class extends Error{constructor(e,t,n){super(e),this.token=t,this.type=n||`error`}},o=e=>e<4?`short`:e===4?`long`:`narrow`,s=e=>e%2==0?`2-digit`:`numeric`;function c(e,t){switch(e.char){case`y`:return{year:s(e.width)};case`r`:return{calendar:`gregory`,year:`numeric`};default:return t(`${e.desc} is not supported; falling back to year:numeric`,a.WARNING),{year:`numeric`}}}function l(e,t){switch(e.width){case 1:return`numeric`;case 2:return`2-digit`;case 3:return`short`;case 4:return`long`;case 5:return`narrow`;default:t(`${e.desc} is not supported with width ${e.width}`);return}}function u(e,t){let{char:n,desc:r,width:i}=e;if(n===`d`)return s(i);t(`${r} is not supported`)}function d(e,t){let{char:n,desc:r,width:i}=e;return(n===`c`||n===`e`)&&i<3&&t(`Numeric value is not supported for ${r}; falling back to weekday:short`,a.WARNING),o(i)}function f(e){let t=s(e.width),n;switch(e.char){case`h`:n=`h12`;break;case`H`:n=`h23`;break;case`k`:n=`h24`;break;case`K`:n=`h11`;break}return n?{hour:t,hourCycle:n}:{hour:t}}function p(e,t){let{char:n,desc:r,width:i}=e;switch(n){case`v`:case`z`:return i===4?`long`:`short`;case`V`:if(i===4)return`long`;t(`${r} is not supported with width ${i}`);return;case`X`:t(`${r} is not supported`);return}return`short`}function m(e,t){switch(e.field){case`era`:return{era:o(e.width)};case`year`:return c(e,t);case`month`:return{month:l(e,t)};case`day`:return{day:u(e,t)};case`weekday`:return{weekday:d(e,t)};case`period`:return;case`hour`:return f(e);case`min`:return{minute:s(e.width)};case`sec`:return{second:s(e.width)};case`tz`:return{timeZoneName:p(e,t)};case`quarter`:case`week`:case`sec-frac`:case`ms`:t(`${e.desc} is not supported`)}}function h(e,t,n=e=>{throw e}){let r={timeZone:t},i=[];for(let t of e){let{error:e,field:o,str:s}=t;if(e){let r=new a(e.message,t);r.stack=e.stack,n(r)}s&&n(new a(`Ignoring string part: ${s}`,t,a.WARNING)),o&&(i.indexOf(o)===-1?i.push(o):n(new a(`Duplicate ${o} token`,t)));let c=m(t,(e,r)=>n(new a(e,t,r)));c&&Object.assign(r,c)}return r}var g={G:{field:`era`,desc:`Era`},y:{field:`year`,desc:`Year`},Y:{field:`year`,desc:`Year of "Week of Year"`},u:{field:`year`,desc:`Extended year`},U:{field:`year`,desc:`Cyclic year name`},r:{field:`year`,desc:`Related Gregorian year`},Q:{field:`quarter`,desc:`Quarter`},q:{field:`quarter`,desc:`Stand-alone quarter`},M:{field:`month`,desc:`Month in year`},L:{field:`month`,desc:`Stand-alone month in year`},w:{field:`week`,desc:`Week of year`},W:{field:`week`,desc:`Week of month`},d:{field:`day`,desc:`Day in month`},D:{field:`day`,desc:`Day of year`},F:{field:`day`,desc:`Day of week in month`},g:{field:`day`,desc:`Modified julian day`},E:{field:`weekday`,desc:`Day of week`},e:{field:`weekday`,desc:`Local day of week`},c:{field:`weekday`,desc:`Stand-alone local day of week`},a:{field:`period`,desc:`AM/PM marker`},b:{field:`period`,desc:`AM/PM/noon/midnight marker`},B:{field:`period`,desc:`Flexible day period`},h:{field:`hour`,desc:`Hour in AM/PM (1~12)`},H:{field:`hour`,desc:`Hour in day (0~23)`},k:{field:`hour`,desc:`Hour in day (1~24)`},K:{field:`hour`,desc:`Hour in AM/PM (0~11)`},j:{field:`hour`,desc:`Hour in preferred cycle`},J:{field:`hour`,desc:`Hour in preferred cycle without marker`},C:{field:`hour`,desc:`Hour in preferred cycle with flexible marker`},m:{field:`min`,desc:`Minute in hour`},s:{field:`sec`,desc:`Second in minute`},S:{field:`sec-frac`,desc:`Fractional second`},A:{field:`ms`,desc:`Milliseconds in day`},z:{field:`tz`,desc:`Time Zone: specific non-location`},Z:{field:`tz`,desc:`Time Zone`},O:{field:`tz`,desc:`Time Zone: localized`},v:{field:`tz`,desc:`Time Zone: generic non-location`},V:{field:`tz`,desc:`Time Zone: ID`},X:{field:`tz`,desc:`Time Zone: ISO8601 with Z`},x:{field:`tz`,desc:`Time Zone: ISO8601`}},_=e=>e>=`A`&&e<=`Z`||e>=`a`&&e<=`z`;function v(e,t){let n=e[t],r=1;for(;e[++t]===n;)++r;let i=g[n];if(!i){let e=`The letter ${n} is not a valid field identifier`;return{char:n,error:Error(e),width:r}}return{char:n,field:i.field,desc:i.desc,width:r}}function y(e,t){let n=e[++t],r=2;if(n===`'`)return{char:`'`,str:n,width:r};for(;;){let i=e[++t];if(++r,i===void 0){let t=`Unterminated quoted literal in pattern: ${n||e}`;return{char:`'`,error:Error(t),str:n,width:r}}else if(i===`'`){if(e[++t]!==`'`)return{char:`'`,str:n,width:r};++r}n+=i}}function b(e,t){let n=e[t];if(!n)return null;if(_(n))return v(e,t);if(n===`'`)return y(e,t);let r=n,i=1;for(;;){let a=e[++t];if(!a||_(a)||a===`'`)return{char:n,str:r,width:i};r+=a,i+=1}}function x(e){let t=[],n=0;for(;;){let r=b(e,n);if(!r)return t;t.push(r),n+=r.width}}function S(e,t){return e.filter(e=>e.type!==`content`).length?e.map(e=>{if(e.type===`content`)return t(e.value);if(e.type===`octothorpe`)return`#`;if(e.type===`argument`)return[e.arg];if(e.type===`function`){let t=e?.param?.[0];if(e.key===`date`&&t){let n=C(t.value.trim(),e=>{throw Error(`Unable to compile date expression: ${e.message}`)});return[e.arg,e.key,n]}return t?[e.arg,e.key,t.value.trim()]:[e.arg,e.key]}let n=e.pluralOffset,r={};return e.cases.forEach(({key:e,tokens:n})=>{let i=e[0]===`=`?e.slice(1):e;r[i]=S(n,t)}),[e.arg,e.type,{offset:n,...r}]}):e.map(e=>t(e.value))}function C(e,t){return/^::/.test(e)?h(x(e.substring(2)),void 0,t):e}var w=e=>typeof e==`string`,T=e=>typeof e==`function`,ee=new Map,te=`en`;function ne(e){return[...Array.isArray(e)?e:[e],te]}function re(e,t,n){let r=ne(e);n||=`default`;let i;if(typeof n==`string`)switch(i={day:`numeric`,month:`short`,year:`numeric`},n){case`full`:i.weekday=`long`;case`long`:i.month=`long`;break;case`short`:i.month=`numeric`;break}else i=n;return se(()=>ce(`date`,r,n),()=>new Intl.DateTimeFormat(r,i)).format(w(t)?new Date(t):t)}function ie(e,t,n){let r;if(n||=`default`,typeof n==`string`)switch(r={second:`numeric`,minute:`numeric`,hour:`numeric`},n){case`full`:case`long`:r.timeZoneName=`short`;break;case`short`:delete r.second}else r=n;return re(e,t,r)}function ae(e,t,n){let r=ne(e);return se(()=>ce(`number`,r,n),()=>new Intl.NumberFormat(r,n)).format(t)}function oe(e,t,n,{offset:r=0,...i}){let a=ne(e),o=t?se(()=>ce(`plural-ordinal`,a),()=>new Intl.PluralRules(a,{type:`ordinal`})):se(()=>ce(`plural-cardinal`,a),()=>new Intl.PluralRules(a,{type:`cardinal`}));return i[n]??i[o.select(n-r)]??i.other}function se(e,t){let n=e(),r=ee.get(n);return r||(r=t(),ee.set(n,r)),r}function ce(e,t,n){return`${e}-${t.join(`-`)}-${JSON.stringify(n)}`}var le=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,ue=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,t,n)=>{if(t){let e=parseInt(t,16);return String.fromCharCode(e)}else{let e=parseInt(n,16);return String.fromCharCode(e)}}),de=`%__lingui_octothorpe__%`,fe=(e,t,n={})=>{let r=t||e,i=e=>typeof e==`object`?e:n[e],a=(e,t)=>{let a=ae(r,e,Object.keys(n).length?i(`number`):void 0);return t.replace(new RegExp(de,`g`),a)};return{plural:(e,t)=>{let{offset:n=0}=t,i=oe(r,!1,e,t);return a(e-n,i)},selectordinal:(e,t)=>{let{offset:n=0}=t,i=oe(r,!0,e,t);return a(e-n,i)},select:pe,number:(e,t)=>ae(r,e,i(t)||{style:t}),date:(e,t)=>re(r,e,i(t)||t),time:(e,t)=>ie(r,e,i(t)||t)}},pe=(e,t)=>t[e]??t.other;function me(e,t,n){return(r={},i)=>{let a=fe(t,n,i),o=(e,t=!1)=>Array.isArray(e)?e.reduce((e,n)=>{if(n===`#`&&t)return e+de;if(w(n))return e+n;let[i,s,c]=n,l={};s===`plural`||s===`selectordinal`||s===`select`?Object.entries(c).forEach(([e,t])=>{l[e]=o(t,s===`plural`||s===`selectordinal`)}):l=c;let u;if(s){let e=a[s];u=e(r[i],l)}else u=r[i];return u==null?e:e+u},``):e,s=o(e);return w(s)&&le.test(s)?ue(s):w(s)?s:s?String(s):``}}var he=class{_events={};on(e,t){return this._events[e]??=new Set,this._events[e].add(t),()=>this.removeListener(e,t)}removeListener(e,t){let n=this._events[e];n?.delete(t),n?.size===0&&delete this._events[e]}emit(e,...t){let n=this._events[e];if(n)for(let e of[...n])e.apply(this,t)}},ge=class extends he{_locale=``;_locales;_messages={};_missing;_messageCompiler;constructor(e){super(),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),(typeof e.locale==`string`||e.locales)&&this.activate(e.locale??te,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}setMessagesCompiler(e){return this._messageCompiler=e,this}_load(e,t){let n=this._messages[e];n?Object.assign(n,t):this._messages[e]=t}load(e,t){typeof e==`string`&&typeof t==`object`?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit(`change`)}loadAndActivate({locale:e,locales:t,messages:n}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=n,this.emit(`change`)}activate(e,t){this._locale=e,this._locales=t,this.emit(`change`)}_(e,t,n){if(!this.locale)throw Error(`Lingui: Attempted to call a translation function without setting a locale.
|
|
10
|
+
Make sure to call \`i18n.activate(locale)\` before using Lingui functions.
|
|
11
|
+
This issue may also occur due to a race condition in your initialization logic.`);let r=n?.message;e||=``,w(e)||(t=e.values||t,r=e.message,e=e.id);let i=this.messages[e],a=i===void 0,o=this._missing;if(o&&a)return T(o)?o(this._locale,e):o;a&&this.emit(`missing`,{id:e,locale:this._locale});let s=i||r||e;return w(s)&&(this._messageCompiler?s=this._messageCompiler(s):console.warn(`Uncompiled message detected! Message:
|
|
12
|
+
|
|
13
|
+
> ${s}
|
|
14
|
+
|
|
15
|
+
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
|
|
16
|
+
ICU features such as interpolation and plurals will not work properly for that message.
|
|
17
|
+
|
|
18
|
+
Please compile your catalog first.
|
|
19
|
+
`)),w(s)&&le.test(s)?ue(s):w(s)?s:me(s,this._locale,this._locales)(t,n?.formats)}t=this._.bind(this);date(e,t){return re(this._locales||this._locale,e,t)}number(e,t){return ae(this._locales||this._locale,e,t)}};function _e(e={}){return new ge(e)}var ve=_e(),ye,E,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne={},Pe=[],Fe=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ie=Array.isArray;function D(e,t){for(var n in t)e[n]=t[n];return e}function Le(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function O(e,t,n){var r,i,a,o={};for(a in t)a==`key`?r=t[a]:a==`ref`?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?ye.call(arguments,2):n),typeof e==`function`&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return Re(e,o,r,i,null)}function Re(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++be,__i:-1,__u:0};return i==null&&E.vnode!=null&&E.vnode(a),a}function ze(){return{current:null}}function k(e){return e.children}function A(e,t){this.props=e,this.context=t}function Be(e,t){if(t==null)return e.__?Be(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?Be(e):null}function Ve(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],i=[],a=D({},t);a.__v=t.__v+1,E.vnode&&E.vnode(a),Qe(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??Be(t),!!(32&t.__u),i),a.__v=t.__v,a.__.__k[a.__i]=a,et(r,a,i),t.__e=t.__=null,a.__e!=n&&He(a)}}function He(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),He(e)}function Ue(e){(!e.__d&&(e.__d=!0)&&xe.push(e)&&!We.__r++||Se!=E.debounceRendering)&&((Se=E.debounceRendering)||Ce)(We)}function We(){try{for(var e,t=1;xe.length;)xe.length>t&&xe.sort(we),e=xe.shift(),t=xe.length,Ve(e)}finally{xe.length=We.__r=0}}function Ge(e,t,n,r,i,a,o,s,c,l,u){var d,f,p,m,h,g,_,v=r&&r.__k||Pe,y=t.length;for(c=Ke(n,t,v,c,y),d=0;d<y;d++)(p=n.__k[d])!=null&&(f=p.__i!=-1&&v[p.__i]||Ne,p.__i=d,g=Qe(e,p,f,i,a,o,s,c,l,u),m=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&rt(f.ref,null,p),u.push(p.ref,p.__c||m,p)),h==null&&m!=null&&(h=m),(_=!!(4&p.__u))||f.__k===p.__k?(c=qe(p,c,e,_),_&&f.__e&&(f.__e=null)):typeof p.type==`function`&&g!==void 0?c=g:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=h,c}function Ke(e,t,n,r,i){var a,o,s,c,l,u=n.length,d=u,f=0;for(e.__k=Array(i),a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o==`string`||typeof o==`number`||typeof o==`bigint`||o.constructor==String?o=e.__k[a]=Re(null,o,null,null,null):Ie(o)?o=e.__k[a]=Re(k,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?o=e.__k[a]=Re(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[a]=o,c=a+f,o.__=e,o.__b=e.__b+1,s=null,(l=o.__i=Je(o,n,c,d))!=-1&&(d--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(i>u?f--:i<u&&f++),typeof o.type!=`function`&&(o.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,o.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<u;a++)(s=n[a])!=null&&!(2&s.__u)&&(s.__e==r&&(r=Be(s)),it(s,s));return r}function qe(e,t,n,r){var i,a;if(typeof e.type==`function`){for(i=e.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=e,t=qe(i[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=Be(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function j(e,t){return t||=[],e==null||typeof e==`boolean`||(Ie(e)?e.some(function(e){j(e,t)}):t.push(e)),t}function Je(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&(2&l.__u)==0;if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function Ye(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n==null?``:typeof n!=`number`||Fe.test(t)?n:n+`px`}function Xe(e,t,n,r,i){var a,o;n:if(t==`style`)if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||Ye(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||Ye(e.style,t,n[t])}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(Oe,`$1`)),o=t.toLowerCase(),t=o in e||t==`onFocusOut`||t==`onFocusIn`?o.slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r?n[De]=r[De]:(n[De]=ke,e.addEventListener(t,a?je:Ae,a)):e.removeEventListener(t,a?je:Ae,a);else{if(i==`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]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function Ze(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[Ee]==null)t[Ee]=ke++;else if(t[Ee]<n[De])return;return n(E.event?E.event(t):t)}}}function Qe(e,t,n,r,i,a,o,s,c,l){var u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),a=[s=t.__e=n.__e]),(u=E.__b)&&u(t);n:if(typeof T==`function`)try{if(_=t.props,v=T.prototype&&T.prototype.render,y=(u=T.contextType)&&r[u.__c],b=u?y?y.props.value:u.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:(v?t.__c=d=new T(_,b):(t.__c=d=new A(_,b),d.constructor=T,d.render=at),y&&y.sub(d),d.state||={},d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),v&&d.__s==null&&(d.__s=d.state),v&&T.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=D({},d.__s)),D(d.__s,T.getDerivedStateFromProps(_,d.__s))),p=d.props,m=d.state,d.__v=t,f)v&&T.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),v&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(v&&T.getDerivedStateFromProps==null&&_!==p&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(_,b),t.__v==n.__v||!d.__e&&d.shouldComponentUpdate!=null&&!1===d.shouldComponentUpdate(_,d.__s,b)){t.__v!=n.__v&&(d.props=_,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),Pe.push.apply(d.__h,d._sb),d._sb=[],d.__h.length&&o.push(d);break n}d.componentWillUpdate!=null&&d.componentWillUpdate(_,d.__s,b),v&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(p,m,h)})}if(d.context=b,d.props=_,d.__P=e,d.__e=!1,x=E.__r,S=0,v)d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),Pe.push.apply(d.__h,d._sb),d._sb=[];else do d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++S<25);d.state=d.__s,d.getChildContext!=null&&(r=D(D({},r),d.getChildContext())),v&&!f&&d.getSnapshotBeforeUpdate!=null&&(h=d.getSnapshotBeforeUpdate(p,m)),C=u!=null&&u.type===k&&u.key==null?tt(u.props.children):u,s=Ge(e,Ie(C)?C:[C],t,n,r,i,a,o,s,c,l),d.base=t.__e,t.__u&=-161,d.__h.length&&o.push(d),g&&(d.__E=d.__=null)}catch(e){if(t.__v=null,c||a!=null)if(e.then){for(t.__u|=c?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,t.__e=s}else{for(w=a.length;w--;)Le(a[w]);$e(t)}else t.__e=n.__e,t.__k=n.__k,e.then||$e(t);E.__e(e,t,n)}else a==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=nt(n.__e,t,n,r,i,a,o,c,l);return(u=E.diffed)&&u(t),128&t.__u?void 0:s}function $e(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some($e))}function et(e,t,n){for(var r=0;r<n.length;r++)rt(n[r],n[++r],n[++r]);E.__c&&E.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){E.__e(e,t.__v)}})}function tt(e){return typeof e!=`object`||!e||e.__b>0?e:Ie(e)?e.map(tt):e.constructor===void 0?D({},e):null}function nt(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h,g=n.props||Ne,_=t.props,v=t.type;if(v==`svg`?i=`http://www.w3.org/2000/svg`:v==`math`?i=`http://www.w3.org/1998/Math/MathML`:i||=`http://www.w3.org/1999/xhtml`,a!=null){for(l=0;l<a.length;l++)if((p=a[l])&&`setAttribute`in p==!!v&&(v?p.localName==v:p.nodeType==3)){e=p,a[l]=null;break}}if(e==null){if(v==null)return document.createTextNode(_);e=document.createElementNS(i,v,_.is&&_),s&&=(E.__m&&E.__m(t,a),!1),a=null}if(v==null)g===_||s&&e.data==_||(e.data=_);else{if(a=v==`textarea`&&_.defaultValue!=null?null:a&&ye.call(e.childNodes),!s&&a!=null)for(g={},l=0;l<e.attributes.length;l++)g[(p=e.attributes[l]).name]=p.value;for(l in g)p=g[l],l==`dangerouslySetInnerHTML`?d=p:l==`children`||l in _||l==`value`&&`defaultValue`in _||l==`checked`&&`defaultChecked`in _||Xe(e,l,null,p,i);for(l in _)p=_[l],l==`children`?f=p:l==`dangerouslySetInnerHTML`?u=p:l==`value`?m=p:l==`checked`?h=p:s&&typeof p!=`function`||g[l]===p||Xe(e,l,p,g[l],i);if(u)s||d&&(u.__html==d.__html||u.__html==e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=``),Ge(t.type==`template`?e.content:e,Ie(f)?f:[f],t,n,r,v==`foreignObject`?`http://www.w3.org/1999/xhtml`:i,a,o,a?a[0]:n.__k&&Be(n,0),s,c),a!=null)for(l=a.length;l--;)Le(a[l]);s&&v!=`textarea`||(l=`value`,v==`progress`&&m==null?e.removeAttribute(`value`):m!=null&&(m!==e[l]||v==`progress`&&!m||v==`option`&&m!=g[l])&&Xe(e,l,m,g[l],i),l=`checked`,h!=null&&h!=e[l]&&Xe(e,l,h,g[l],i))}return e}function rt(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){E.__e(e,n)}}function it(e,t,n){var r,i;if(E.unmount&&E.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||rt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){E.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&it(r[i],t,n||typeof e.type!=`function`);n||Le(e.__e),e.__c=e.__=e.__e=void 0}function at(e,t,n){return this.constructor(e,n)}function ot(e,t,n){var r,i,a,o;t==document&&(t=document.documentElement),E.__&&E.__(e,t),i=(r=typeof n==`function`)?null:n&&n.__k||t.__k,a=[],o=[],Qe(t,e=(!r&&n||t).__k=O(k,null,[e]),i||Ne,Ne,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?ye.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),et(a,e,o)}function st(e,t){ot(e,t,st)}function ct(e,t,n){var r,i,a,o,s=D({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)a==`key`?r=t[a]:a==`ref`?i=t[a]:s[a]=t[a]===void 0&&o!=null?o[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?ye.call(arguments,2):n),Re(e.type,s,r||e.key,i||e.ref,null)}function M(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,Ue(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+ Me++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}ye=Pe.slice,E={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},be=0,A.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=D({},this.state);typeof e==`function`&&(e=e(D({},n),this.props)),e&&D(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ue(this))},A.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ue(this))},A.prototype.render=k,xe=[],Ce=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,we=function(e,t){return e.__v.__b-t.__v.__b},We.__r=0,Te=Math.random().toString(8),Ee=`__d`+Te,De=`__a`+Te,Oe=/(PointerCapture)$|Capture$/i,ke=0,Ae=Ze(!1),je=Ze(!0),Me=0;var lt=/["&<]/;function ut(e){if(e.length===0||!1===lt.test(e))return e;for(var t=0,n=0,r=``,i=``;n<e.length;n++){switch(e.charCodeAt(n)){case 34:i=`"`;break;case 38:i=`&`;break;case 60:i=`<`;break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=i,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var dt=0,ft=Array.isArray;function N(e,t,n,r,i,a){t||={};var o,s,c=t;if(`ref`in c)for(s in c={},t)s==`ref`?o=t[s]:c[s]=t[s];var l={type:e,props:c,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--dt,__i:-1,__u:0,__source:i,__self:a};if(typeof e==`function`&&(o=e.defaultProps))for(s in o)c[s]===void 0&&(c[s]=o[s]);return E.vnode&&E.vnode(l),l}function pt(e){if(e==null||typeof e==`boolean`||typeof e==`function`)return null;if(typeof e==`object`){if(e.constructor===void 0)return e;if(ft(e)){for(var t=0;t<e.length;t++)e[t]=pt(e[t]);return e}}return ut(``+e)}var P,F,mt,ht,gt=0,_t=[],I=E,vt=I.__b,yt=I.__r,bt=I.diffed,xt=I.__c,St=I.unmount,Ct=I.__;function wt(e,t){I.__h&&I.__h(F,e,gt||t),gt=0;var n=F.__H||={__:[],__h:[]};return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return gt=1,Tt(Lt,e)}function Tt(e,t,n){var r=wt(P++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Lt(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return e.__c});if(i.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var o=r.__c.props!==e;return i.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),a&&a.call(this,e,t,n)||o};F.__f=!0;var a=F.shouldComponentUpdate,o=F.componentWillUpdate;F.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},F.shouldComponentUpdate=i}return r.__N||r.__}function Et(e,t){var n=wt(P++,3);!I.__s&&It(n.__H,t)&&(n.__=e,n.u=t,F.__H.__h.push(n))}function R(e,t){var n=wt(P++,4);!I.__s&&It(n.__H,t)&&(n.__=e,n.u=t,F.__h.push(n))}function z(e){return gt=5,B(function(){return{current:e}},[])}function Dt(e,t,n){gt=6,R(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}},n==null?n:n.concat(e))}function B(e,t){var n=wt(P++,7);return It(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function V(e,t){return gt=8,B(function(){return e},t)}function H(e){var t=F.context[e.__c],n=wt(P++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(F)),t.props.value):e.__}function Ot(e,t){I.useDebugValue&&I.useDebugValue(t?t(e):e)}function kt(e){var t=wt(P++,10),n=L();return t.__=e,F.componentDidCatch||=function(e,r){t.__&&t.__(e,r),n[1](e)},[n[0],function(){n[1](void 0)}]}function At(){var e=wt(P++,11);if(!e.__){for(var t=F.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||=[0,0];e.__=`P`+n[0]+`-`+ n[1]++}return e.__}function jt(){for(var e;e=_t.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Pt),t.__h.some(Ft),t.__h=[]}catch(n){t.__h=[],I.__e(n,e.__v)}}}I.__b=function(e){F=null,vt&&vt(e)},I.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ct&&Ct(e,t)},I.__r=function(e){yt&&yt(e),P=0;var t=(F=e.__c).__H;t&&(mt===F?(t.__h=[],F.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(Pt),t.__h.some(Ft),t.__h=[],P=0)),mt=F},I.diffed=function(e){bt&&bt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(_t.push(t)!==1&&ht===I.requestAnimationFrame||((ht=I.requestAnimationFrame)||Nt)(jt)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),mt=F=null},I.__c=function(e,t){t.some(function(e){try{e.__h.some(Pt),e.__h=e.__h.filter(function(e){return!e.__||Ft(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],I.__e(n,e.__v)}}),xt&&xt(e,t)},I.unmount=function(e){St&&St(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{Pt(e)}catch(e){t=e}}),n.__H=void 0,t&&I.__e(t,n.__v))};var Mt=typeof requestAnimationFrame==`function`;function Nt(e){var t,n=function(){clearTimeout(r),Mt&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Mt&&(t=requestAnimationFrame(n))}function Pt(e){var t=F,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),F=t}function Ft(e){var t=F;e.__c=e.__(),F=t}function It(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Lt(e,t){return typeof t==`function`?t(e):t}var Rt=t({Children:()=>$t,Component:()=>A,Fragment:()=>k,PureComponent:()=>qt,StrictMode:()=>k,Suspense:()=>an,SuspenseList:()=>cn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Dn,cloneElement:()=>Nn,createContext:()=>M,createElement:()=>O,createFactory:()=>kn,createPortal:()=>fn,createRef:()=>ze,default:()=>zn,findDOMNode:()=>Fn,flushSync:()=>Ln,forwardRef:()=>Zt,hydrate:()=>bn,isElement:()=>Rn,isFragment:()=>jn,isMemo:()=>Mn,isValidElement:()=>An,lazy:()=>sn,memo:()=>Jt,render:()=>yn,startTransition:()=>Ut,unmountComponentAtNode:()=>Pn,unstable_batchedUpdates:()=>In,useCallback:()=>V,useContext:()=>H,useDebugValue:()=>Ot,useDeferredValue:()=>Wt,useEffect:()=>Et,useErrorBoundary:()=>kt,useId:()=>At,useImperativeHandle:()=>Dt,useInsertionEffect:()=>Kt,useLayoutEffect:()=>R,useMemo:()=>B,useReducer:()=>Tt,useRef:()=>z,useState:()=>L,useSyncExternalStore:()=>Vt,useTransition:()=>Gt,version:()=>On});function zt(e,t){for(var n in t)e[n]=t[n];return e}function Bt(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function Vt(e,t){var n=t(),r=L({t:{__:n,u:t}}),i=r[0].t,a=r[1];return R(function(){i.__=n,i.u=t,Ht(i)&&a({t:i})},[e,n,t]),Et(function(){return Ht(i)&&a({t:i}),e(function(){Ht(i)&&a({t:i})})},[e]),n}function Ht(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Ut(e){e()}function Wt(e){return e}function Gt(){return[!1,Ut]}var Kt=R;function qt(e,t){this.props=e,this.context=t}function Jt(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&(typeof n==`function`?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:Bt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,O(e,t)}return r.displayName=`Memo(`+(e.displayName||e.name)+`)`,r.__f=r.prototype.isReactComponent=!0,r.type=e,r}(qt.prototype=new A).isPureReactComponent=!0,qt.prototype.shouldComponentUpdate=function(e,t){return Bt(this.props,e)||Bt(this.state,t)};var Yt=E.__b;E.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Yt&&Yt(e)};var Xt=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.forward_ref`)||3911;function Zt(e){function t(t){var n=zt({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Xt,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName=`ForwardRef(`+(e.displayName||e.name)+`)`,t}var Qt=function(e,t){return e==null?null:j(j(e).map(t))},$t={map:Qt,forEach:Qt,count:function(e){return e?j(e).length:0},only:function(e){var t=j(e);if(t.length!==1)throw`Children.only`;return t[0]},toArray:j},en=E.__e;E.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}en(e,t,n,r)};var tn=E.unmount;function nn(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return nn(e,t,n)})),e}function rn(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return rn(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function an(){this.__u=0,this.o=null,this.__b=null}function on(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function sn(e){var t,n,r,i=null;function a(a){if(t||(t=e()).then(function(e){e&&(i=e.default||e),r=!0},function(e){n=e,r=!0}),n)throw n;if(!r)throw t;return i?O(i,a):null}return a.displayName=`Lazy`,a.__f=!0,a}function cn(){this.i=null,this.l=null}E.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),tn&&tn(e)},(an.prototype=new A).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=on(r.__v),a=!1,o=function(){a||r.__z||(a=!0,n.__R=null,i?i(c):c())};n.__R=o;var s=n.__P;n.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=rn(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=s,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},an.prototype.componentWillUnmount=function(){this.o=[]},an.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),r=this.__v.__k[0].__c;this.__v.__k[0]=nn(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&O(k,null,e.fallback);return i&&(i.__u&=-33),[O(k,null,t.__a?null:e.children),i]};var ln=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!==`t`||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function un(e){return this.getChildContext=function(){return e.context},e.children}function dn(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){ot(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}ot(O(un,{context:t.context},e.__v),t.v)}function fn(e,t){var n=O(dn,{__v:e,h:t});return n.containerInfo=t,n}(cn.prototype=new A).__a=function(e){var t=this,n=on(t.__v),r=t.l.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),ln(t,e,r)):i()};n?n(a):a()}},cn.prototype.render=function(e){this.i=null,this.l=new Map;var t=j(e.children);e.revealOrder&&e.revealOrder[0]===`b`&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},cn.prototype.componentDidUpdate=cn.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){ln(e,n,t)})};var pn=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.element`)||60103,mn=/^(?: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]/,hn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,gn=/[A-Z0-9]/g,_n=typeof document<`u`,vn=function(e){return(typeof Symbol<`u`&&typeof Symbol()==`symbol`?/fil|che|rad/:/fil|che|ra/).test(e)};function yn(e,t,n){return t.__k??(t.textContent=``),ot(e,t),typeof n==`function`&&n(),e?e.__c:null}function bn(e,t,n){return st(e,t),typeof n==`function`&&n(),e?e.__c:null}A.prototype.isReactComponent=!0,[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(A.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=E.event;E.event=function(e){return xn&&(e=xn(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var Sn,Cn={configurable:!0,get:function(){return this.class}},wn=E.vnode;E.vnode=function(e){typeof e.type==`string`&&function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)==-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||_n&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){var s=a.toLowerCase();a===`defaultValue`&&`value`in t&&t.value==null?a=`value`:a===`download`&&!0===o?o=``:s===`translate`&&o===`no`?o=!1:s[0]===`o`&&s[1]===`n`?s===`ondoubleclick`?a=`ondblclick`:s!==`onchange`||n!==`input`&&n!==`textarea`||vn(t.type)?s===`onfocus`?a=`onfocusin`:s===`onblur`?a=`onfocusout`:hn.test(a)&&(a=s):s=a=`oninput`:i&&mn.test(a)?a=a.replace(gn,`-$&`).toLowerCase():o===null&&(o=void 0),s===`oninput`&&r[a=s]&&(a=`oninputCapture`),r[a]=o}}n==`select`&&(r.multiple&&Array.isArray(r.value)&&(r.value=j(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),r.defaultValue!=null&&(r.value=j(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Cn)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=pn,wn&&wn(e)};var Tn=E.__r;E.__r=function(e){Tn&&Tn(e),Sn=e.__c};var En=E.diffed;E.diffed=function(e){En&&En(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value),Sn=null};var Dn={ReactCurrentDispatcher:{current:{readContext:function(e){return Sn.__n[e.__c].props.value},useCallback:V,useContext:H,useDebugValue:Ot,useDeferredValue:Wt,useEffect:Et,useId:At,useImperativeHandle:Dt,useInsertionEffect:Kt,useLayoutEffect:R,useMemo:B,useReducer:Tt,useRef:z,useState:L,useSyncExternalStore:Vt,useTransition:Gt}}},On=`18.3.1`;function kn(e){return O.bind(null,e)}function An(e){return!!e&&e.$$typeof===pn}function jn(e){return An(e)&&e.type===k}function Mn(e){return!!e&&typeof e.displayName==`string`&&e.displayName.indexOf(`Memo(`)==0}function Nn(e){return An(e)?ct.apply(null,arguments):e}function Pn(e){return!!e.__k&&(ot(null,e),!0)}function Fn(e){return e&&(e.base||e.nodeType===1&&e)||null}var In=function(e,t){return e(t)},Ln=function(e,t){var n=E.debounceRendering;E.debounceRendering=function(e){return e()};var r=e(t);return E.debounceRendering=n,r},Rn=An,zn={useState:L,useId:At,useReducer:Tt,useEffect:Et,useLayoutEffect:R,useInsertionEffect:Kt,useTransition:Gt,useDeferredValue:Wt,useSyncExternalStore:Vt,startTransition:Ut,useRef:z,useImperativeHandle:Dt,useMemo:B,useCallback:V,useContext:H,useDebugValue:Ot,version:`18.3.1`,Children:$t,render:yn,hydrate:bn,unmountComponentAtNode:Pn,createPortal:fn,createElement:O,createContext:M,createFactory:kn,cloneElement:Nn,createRef:ze,Fragment:k,isValidElement:An,isElement:Rn,isFragment:jn,isMemo:Mn,findDOMNode:Fn,Component:A,PureComponent:qt,memo:Jt,forwardRef:Zt,flushSync:Ln,unstable_batchedUpdates:In,StrictMode:k,Suspense:an,SuspenseList:cn,lazy:sn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Dn},Bn=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,Vn={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 Hn(e,t={}){let n=e.split(Bn);if(n.length===1)return e;let r=Wn(0,`$lingui$`),i=[],a=n.shift();a&&i.push(a);for(let[e,a,o]of Un(n)){let n=e===void 0?void 0:t[e];(!n||Vn[n.type]&&a)&&(console.error(n?`${n.type} is a void element tag therefore it must have no children`:`Can't use element at index '${e}' as it is not declared in the original translation`),n=N(k,{})),Array.isArray(n)&&(n=N(k,{children:n})),i.push(Nn(n,{key:r()},a?Hn(a,t):n.props.children)),o&&i.push(o)}return i.length===1?i[0]:i}function Un(e){if(!e.length)return[];let[t,n,r,i]=e.slice(0,4);return[[t||r,n||``,i]].concat(Un(e.slice(4,e.length)))}var Wn=(e=0,t=``)=>()=>`${t}_${e++}`;function Gn(e){let{render:t,component:n,id:r,message:i,formats:a,lingui:{i18n:o,defaultComponent:s}}=e,{values:c,components:l}=qn(e),u=o&&typeof o._==`function`?o._(r,c,{message:i,formats:a}):r,d=u?Hn(u,l):null;if(t===null||n===null)return d;let f=s||Kn,p={id:r,message:i,translation:d,children:d};if(t&&n)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(n&&typeof n!=`function`)return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${n}`),N(f,{...p,children:d});return typeof t==`function`?t(p):N(n||f,{...p,children:d})}var Kn=({children:e})=>e,qn=e=>{if(!e.values)return{values:void 0,components:e.components};let t={...e.values},n={...e.components};return Object.entries(e.values).forEach(([e,r])=>{if(typeof r==`string`||typeof r==`number`)return;let i=Object.keys(n).length;n[i]=N(k,{children:r}),t[e]=`<${i}/>`}),{values:t,components:n}},Jn=M(null),Yn=e=>H(Jn);function Xn(){return Yn()}var Zn=({i18n:e,defaultComponent:t,children:n})=>{let r=z(e.locale||null),i=V(()=>({i18n:new Proxy(e,{}),defaultComponent:t,_:e.t.bind(e)}),[e,t]),[a,o]=L(i);return Et(()=>{let t=()=>{r.current=e.locale||null,o(i())},n=e.on(`change`,t);return r.current!==e.locale&&t(),n},[e,i]),r.current===null?null:N(Jn.Provider,{value:a,children:n})};function Qn(e){let t=Yn(void 0);return N(Gn,{...e,lingui:t})}function $n(){return $n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$n.apply(this,arguments)}var er;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(er||={});var tr=`popstate`;function nr(e){e===void 0&&(e={});function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=cr(e.location.hash.substr(1));return or(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:sr(t))}function r(e,t){rr(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(`+JSON.stringify(t)+`)`)}return ur(t,n,r,e)}function U(e,t){if(e===!1||e==null)throw Error(t)}function rr(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function ir(){return Math.random().toString(36).substr(2,8)}function ar(e){return{usr:e.state,key:e.key}}function or(e,t,n,r){return n===void 0&&(n=null),$n({pathname:typeof e==`string`?e:e.pathname,search:``,hash:``},typeof t==`string`?cr(t):t,{state:n,key:t&&t.key||r||ir()})}function sr(e){let{pathname:t=`/`,search:n=``,hash:r=``}=e;return n&&n!==`?`&&(t+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(t+=r.charAt(0)===`#`?r:`#`+r),t}function cr(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function lr(e){let t=typeof window<`u`&&window.location!==void 0&&window.location.origin!==`null`?window.location.origin:window.location.href,n=typeof e==`string`?e:sr(e);return U(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}function ur(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=er.Pop,c=null;function l(){s=er.Pop,c&&c({action:s,location:f.location})}function u(e,t){s=er.Push;let r=or(f.location,e,t);n&&n(r,e);let l=ar(r),u=f.createHref(r);try{o.pushState(l,``,u)}catch{i.location.assign(u)}a&&c&&c({action:s,location:f.location})}function d(e,t){s=er.Replace;let r=or(f.location,e,t);n&&n(r,e);let i=ar(r),l=f.createHref(r);o.replaceState(i,``,l),a&&c&&c({action:s,location:f.location})}let f={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(tr,l),c=e,()=>{i.removeEventListener(tr,l),c=null}},createHref(e){return t(i,e)},encodeLocation(e){let t=lr(typeof e==`string`?e:sr(e));return{pathname:t.pathname,search:t.search,hash:t.hash}},push:u,replace:d,go(e){return o.go(e)}};return f}var dr;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(dr||={});function fr(e){return e.index===!0}function pr(e,t,n){return t===void 0&&(t=[]),n===void 0&&(n=new Set),e.map((e,r)=>{let i=[...t,r],a=typeof e.id==`string`?e.id:i.join(`-`);return U(e.index!==!0||!e.children,`Cannot specify children on an index route`),U(!n.has(a),`Found a route id collision on id "`+a+`". Route id's must be globally unique within Data Router usages`),n.add(a),fr(e)?$n({},e,{id:a}):$n({},e,{id:a,children:e.children?pr(e.children,i,n):void 0})})}function mr(e,t,n){n===void 0&&(n=`/`);let r=Mr((typeof t==`string`?cr(t):t).pathname||`/`,n);if(r==null)return null;let i=hr(e);_r(i);let a=null;for(let e=0;a==null&&e<i.length;++e)a=Dr(i[e],Ar(r));return a}function hr(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(U(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=zr([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(U(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),hr(e.children,t,c,s)),!(e.path==null&&!e.index)&&t.push({path:s,score:Tr(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of gr(e.path))i(e,t,n)}),t}function gr(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=gr(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function _r(e){e.sort((e,t)=>e.score===t.score?Er(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var vr=/^:\w+$/,yr=3,br=2,xr=1,Sr=10,Cr=-2,wr=e=>e===`*`;function Tr(e,t){let n=e.split(`/`),r=n.length;return n.some(wr)&&(r+=Cr),t&&(r+=br),n.filter(e=>!wr(e)).reduce((e,t)=>e+(vr.test(t)?yr:t===``?xr:Sr),r)}function Er(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Dr(e,t){let{routesMeta:n}=e,r={},i=`/`,a=[];for(let e=0;e<n.length;++e){let o=n[e],s=e===n.length-1,c=i===`/`?t:t.slice(i.length)||`/`,l=Or({path:o.relativePath,caseSensitive:o.caseSensitive,end:s},c);if(!l)return null;Object.assign(r,l.params);let u=o.route;a.push({params:r,pathname:zr([i,l.pathname]),pathnameBase:Br(zr([i,l.pathnameBase])),route:u}),l.pathnameBase!==`/`&&(i=zr([i,l.pathnameBase]))}return a}function Or(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=kr(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{if(t===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}return e[t]=jr(s[n]||``,t),e},{}),pathname:a,pathnameBase:o,pattern:e}}function kr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nr(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 r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^$?{}|()[\]]/g,`\\$&`).replace(/\/:(\w+)/g,(e,t)=>(r.push(t),`/([^\\/]+)`));return e.endsWith(`*`)?(r.push(`*`),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function Ar(e){try{return decodeURI(e)}catch(t){return Nr(!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 jr(e,t){try{return decodeURIComponent(e)}catch(n){return Nr(!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 (`+n+`).`)),e}}function Mr(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function Nr(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function Pr(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?cr(e):e;return{pathname:n?n.startsWith(`/`)?n:Fr(n,t):t,search:Vr(r),hash:Hr(i)}}function Fr(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Ir(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`]. Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in <Link to="..."> and the router will parse it for you.`}function Lr(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Rr(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=cr(e):(i=$n({},e),U(!i.pathname||!i.pathname.includes(`?`),Ir(`?`,`pathname`,`search`,i)),U(!i.pathname||!i.pathname.includes(`#`),Ir(`#`,`pathname`,`hash`,i)),U(!i.search||!i.search.includes(`#`),Ir(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(r||o==null)s=n;else{let e=t.length-1;if(o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Pr(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var zr=e=>e.join(`/`).replace(/\/\/+/g,`/`),Br=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),Vr=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Hr=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Ur=class{constructor(e,t,n,r){r===void 0&&(r=!1),this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Wr(e){return e instanceof Ur}var Gr=[`post`,`put`,`patch`,`delete`];new Set(Gr);var Kr=[`get`,...Gr];new Set(Kr),new Set([301,302,303,307,308]),new Set([307,308]),typeof window<`u`&&window.document!==void 0&&window.document.createElement;function qr(){return qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qr.apply(this,arguments)}var{useState:Jr,useEffect:Yr,useLayoutEffect:Xr,useDebugValue:Zr}=Rt;typeof window<`u`&&window.document!==void 0&&window.document.createElement,`useSyncExternalStore`in Rt&&(e=>e.useSyncExternalStore)(Rt);var Qr=M(null),$r=M(null),ei=M(null),ti=M(null),ni=M({outlet:null,matches:[]}),ri=M(null);function ii(){return H(ti)!=null}function ai(){return ii()||U(!1),H(ti).location}function oi(){ii()||U(!1);let{basename:e,navigator:t}=H(ei),{matches:n}=H(ni),{pathname:r}=ai(),i=JSON.stringify(Lr(n).map(e=>e.pathnameBase)),a=z(!1);return Et(()=>{a.current=!0}),V(function(n,o){if(o===void 0&&(o={}),!a.current)return;if(typeof n==`number`){t.go(n);return}let s=Rr(n,JSON.parse(i),r,o.relative===`path`);e!==`/`&&(s.pathname=s.pathname===`/`?e:zr([e,s.pathname])),(o.replace?t.replace:t.push)(s,o.state,o)},[e,t,i,r])}function si(){let{matches:e}=H(ni),t=e[e.length-1];return t?t.params:{}}function ci(e,t){ii()||U(!1);let{navigator:n}=H(ei),r=H($r),{matches:i}=H(ni),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:`/`;a&&a.route;let c=ai(),l;if(t){let e=typeof t==`string`?cr(t):t;s===`/`||e.pathname?.startsWith(s)||U(!1),l=e}else l=c;let u=l.pathname||`/`,d=mr(e,{pathname:s===`/`?u:u.slice(s.length)||`/`}),f=fi(d&&d.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:zr([s,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?s:zr([s,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,r||void 0);return t&&f?O(ti.Provider,{value:{location:qr({pathname:`/`,search:``,hash:``,state:null,key:`default`},l),navigationType:er.Pop}},f):f}function li(){let e=vi(),t=Wr(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r};return O(k,null,O(`h2`,null,`Unhandled Thrown Error!`),O(`h3`,{style:{fontStyle:`italic`}},t),n?O(`pre`,{style:i},n):null,O(`p`,null,`💿 Hey developer 👋`),O(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own\xA0`,O(`code`,{style:a},`errorElement`),` props on\xA0`,O(`code`,{style:a},`<Route>`)))}var ui=class extends A{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location===e.location?{error:e.error||t.error,location:t.location}:{error:e.error,location:e.location}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error?O(ni.Provider,{value:this.props.routeContext},O(ri.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function di(e){let{routeContext:t,match:n,children:r}=e,i=H(Qr);return i&&i.static&&i.staticContext&&n.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),O(ni.Provider,{value:t},r)}function fi(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n?.errors;if(i!=null){let e=r.findIndex(e=>e.route.id&&i?.[e.route.id]);e>=0||U(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight((e,a,o)=>{let s=a.route.id?i?.[a.route.id]:null,c=n?a.route.errorElement||O(li,null):null,l=t.concat(r.slice(0,o+1)),u=()=>O(di,{match:a,routeContext:{outlet:e,matches:l}},s?c:a.route.element===void 0?e:a.route.element);return n&&(a.route.errorElement||o===0)?O(ui,{location:n.location,component:c,error:s,children:u(),routeContext:{outlet:null,matches:l}}):u()},null)}var pi;(function(e){e.UseRevalidator=`useRevalidator`})(pi||={});var mi;(function(e){e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`})(mi||={});function hi(e){let t=H($r);return t||U(!1),t}function gi(e){let t=H(ni);return t||U(!1),t}function _i(e){let t=gi(e),n=t.matches[t.matches.length-1];return n.route.id||U(!1),n.route.id}function vi(){let e=H(ri),t=hi(mi.UseRouteError),n=_i(mi.UseRouteError);return e||t.errors?.[n]}function yi(e){let{to:t,replace:n,state:r,relative:i}=e;ii()||U(!1);let a=H($r),o=oi();return Et(()=>{a&&a.navigation.state!==`idle`||o(t,{replace:n,state:r,relative:i})}),null}function bi(e){U(!1)}function xi(e){let{basename:t=`/`,children:n=null,location:r,navigationType:i=er.Pop,navigator:a,static:o=!1}=e;ii()&&U(!1);let s=t.replace(/^\/*/,`/`),c=B(()=>({basename:s,navigator:a,static:o}),[s,a,o]);typeof r==`string`&&(r=cr(r));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`}=r,m=B(()=>{let e=Mr(l,s);return e==null?null:{pathname:e,search:u,hash:d,state:f,key:p}},[s,l,u,d,f,p]);return m==null?null:O(ei.Provider,{value:c},O(ti.Provider,{children:n,value:{location:m,navigationType:i}}))}function Si(e){let{children:t,location:n}=e,r=H(Qr);return ci(r&&!t?r.router.routes:wi(t),n)}var Ci;(function(e){e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`})(Ci||={}),new Promise(()=>{});function wi(e,t){t===void 0&&(t=[]);let n=[];return $t.forEach(e,(e,r)=>{if(!An(e))return;if(e.type===k){n.push.apply(n,wi(e.props.children,t));return}e.type===bi||U(!1),!e.props.index||!e.props.children||U(!1);let i=[...t,r],a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=wi(e.props.children,i)),n.push(a)}),n}function Ti(e){return e.map(e=>{let t=qr({},e);return t.hasErrorBoundary??=t.errorElement!=null,t.children&&=Ti(t.children),t})}function Ei(){return Ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ei.apply(this,arguments)}function Di(e){return e===void 0&&(e=``),new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Oi(e,t){let n=Di(e);for(let e of t.keys())n.has(e)||t.getAll(e).forEach(t=>{n.append(e,t)});return n}function ki(e){let{basename:t,children:n,window:r}=e,i=z();i.current??=nr({window:r,v5Compat:!0});let a=i.current,[o,s]=L({action:a.action,location:a.location});return R(()=>a.listen(s),[a]),O(xi,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a})}var Ai;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmitImpl=`useSubmitImpl`,e.UseFetcher=`useFetcher`})(Ai||={});var ji;(function(e){e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(ji||={});function Mi(e){let t=z(Di(e)),n=ai(),r=B(()=>Oi(n.search,t.current),[n.search]),i=oi();return[r,V((e,t)=>{i(`?`+Di(typeof e==`function`?e(r):e),t)},[i,r])]}var Ni=Symbol(),Pi=Symbol(),Fi=`a`,Ii=`f`,Li=`p`,Ri=`c`,zi=`t`,Bi=`h`,Vi=`w`,Hi=`o`,Ui=`k`,Wi=(e,t)=>new Proxy(e,t),Gi=Object.getPrototypeOf,Ki=new WeakMap,qi=e=>e&&(Ki.has(e)?Ki.get(e):Gi(e)===Object.prototype||Gi(e)===Array.prototype),Ji=e=>typeof e==`object`&&!!e,Yi=e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(e=>!e.configurable&&!e.writable),Xi=e=>{if(Array.isArray(e))return Array.from(e);let t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(e=>{e.configurable=!0}),Object.create(Gi(e),t)},Zi=(e,t)=>{let n={[Ii]:t},r=!1,i=(t,i)=>{if(!r){let r=n[Fi].get(e);if(r||(r={},n[Fi].set(e,r)),t===Vi)r[Vi]=!0;else{let e=r[t];e||(e=new Set,r[t]=e),e.add(i)}}},a=()=>{r=!0,n[Fi].delete(e)},o={get(t,r){return r===Pi?e:(i(Ui,r),$i(Reflect.get(t,r),n[Fi],n[Ri],n[zi]))},has(e,t){return t===Ni?(a(),!0):(i(Bi,t),Reflect.has(e,t))},getOwnPropertyDescriptor(e,t){return i(Hi,t),Reflect.getOwnPropertyDescriptor(e,t)},ownKeys(e){return i(Vi),Reflect.ownKeys(e)}};return t&&(o.set=o.deleteProperty=()=>!1),[o,n]},Qi=e=>e[Pi]||e,$i=(e,t,n,r)=>{if(!qi(e))return e;let i=r&&r.get(e);if(!i){let t=Qi(e);i=Yi(t)?[t,Xi(t)]:[t],r?.set(e,i)}let[a,o]=i,s=n&&n.get(a);return(!s||s[1][Ii]!==!!o)&&(s=Zi(a,!!o),s[1][Li]=Wi(o||a,s[0]),n&&n.set(a,s)),s[1][Fi]=t,s[1][Ri]=n,s[1][zi]=r,s[1][Li]},ea=(e,t)=>{let n=Reflect.ownKeys(e),r=Reflect.ownKeys(t);return n.length!==r.length||n.some((e,t)=>e!==r[t])},ta=(e,t,n,r,i=Object.is)=>{if(i(e,t))return!1;if(!Ji(e)||!Ji(t))return!0;let a=n.get(Qi(e));if(!a)return!0;if(r){if(r.get(e)===t)return!1;r.set(e,t)}let o=null;for(let n of a[Bi]||[])if(o=Reflect.has(e,n)!==Reflect.has(t,n),o)return o;if(a[Vi]===!0){if(o=ea(e,t),o)return o}else for(let n of a[Hi]||[])if(o=!!Reflect.getOwnPropertyDescriptor(e,n)!=!!Reflect.getOwnPropertyDescriptor(t,n),o)return o;for(let s of a[Ui]||[])if(o=ta(e[s],t[s],n,r,i),o)return o;if(o===null)throw Error(`invalid used`);return o},na=e=>qi(e)&&e[Pi]||null,ra=(e,t=!0)=>{Ki.set(e,t)},ia=e=>typeof e==`object`&&!!e,aa=e=>ia(e)&&!ua.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),oa=(e,t)=>{let n=da.get(e);if(n?.[0]===t)return n[1];let r=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return ra(r,!0),da.set(e,[t,r]),Reflect.ownKeys(e).forEach(t=>{if(Object.getOwnPropertyDescriptor(r,t))return;let n=Reflect.get(e,t),{enumerable:i}=Reflect.getOwnPropertyDescriptor(e,t),a={value:n,enumerable:i,configurable:!0};if(ua.has(n))ra(n,!1);else if(la.has(n)){let[e,t]=la.get(n);a.value=oa(e,t())}Object.defineProperty(r,t,a)}),r},sa=(e,t,n,r)=>({deleteProperty(e,t){let i=Reflect.get(e,t);n(t);let a=Reflect.deleteProperty(e,t);return a&&r(ya?.(`delete`,t,i)),a},set(i,a,o,s){let c=!e()&&Reflect.has(i,a),l=Reflect.get(i,a,s);if(c&&(ma(l,o)||pa.has(o)&&ma(l,pa.get(o))))return!0;n(a),ia(o)&&(o=na(o)||o);let u=!la.has(o)&&ga(o)?ba(o):o;return t(a,u),Reflect.set(i,a,u,s),r(ya?.(`set`,a,o,l)),!0}}),ca=(e,t,...n)=>[e,[t],...n],la=new WeakMap,ua=new WeakSet,da=new WeakMap,fa=[1],pa=new WeakMap,ma=Object.is,ha=(e,t)=>new Proxy(e,t),ga=aa,_a=oa,va=sa,ya;function ba(e={}){if(!ia(e))throw Error(`object required`);let t=pa.get(e);if(t)return t;let n=fa[0],r=new Set,i=(e,t=++fa[0])=>{n!==t&&(a=n=t,r.forEach(n=>n(e,t)))},a=n,o=(e=fa[0])=>(a!==e&&(a=e,c.forEach(([t])=>{let r=t[1](e);r>n&&(n=r)})),n),s=e=>(t,n)=>{let r;t&&(r=[...t],r[1]=[e,...r[1]]),i(r,n)},c=new Map,l=(e,t)=>{let n=!ua.has(t)&&la.get(t);if(n)if(r.size){let t=n[2](s(e));c.set(e,[n,t])}else c.set(e,[n])},u=e=>{let t=c.get(e);t&&(c.delete(e),t[1]?.call(t))},d=e=>(r.add(e),r.size===1&&c.forEach(([e,t],n)=>{let r=e[2](s(n));c.set(n,[e,r])}),()=>{r.delete(e),r.size===0&&c.forEach(([e,t],n)=>{t&&(t(),c.set(n,[e]))})}),f=!0,p=ha(e,va(()=>f,l,u,i));pa.set(e,p);let m=[e,o,d];return la.set(p,m),Reflect.ownKeys(e).forEach(t=>{let n=Object.getOwnPropertyDescriptor(e,t);`value`in n&&n.writable&&(p[t]=e[t])}),f=!1,p}function xa(e,t,n){let r=la.get(e),i,a=[],o=r[2],s=!1,c=o(e=>{if(e&&a.push(e),n){t(a.splice(0));return}i||=Promise.resolve().then(()=>{i=void 0,s&&t(a.splice(0))})});return s=!0,()=>{s=!1,c()}}function Sa(e){let[t,n]=la.get(e);return _a(t,n())}function Ca(){return{proxyStateMap:la,refSet:ua,snapCache:da,versionHolder:fa,proxyCache:pa}}function wa(e=!0){ya=e===!0?ca:e===!1?void 0:e}var Ta=new WeakMap;function Ea(e,t){let n=t?.sync,r=B(()=>e&&new WeakMap,[e]),i=z(void 0),a=!0,o=Vt(V(t=>{let r=xa(e,t,n);return t(),r},[e,n]),()=>{let t=Sa(e);try{if(!a&&i.current&&!ta(i.current,t,r,new WeakMap))return i.current}catch{}return t},()=>Sa(e));return a=!1,R(()=>{i.current=o}),$i(o,r,B(()=>new WeakMap,[]),Ta)}var Da=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Oa=e=>{if(typeof e!=`string`)throw TypeError(`Invalid argument expected string`);let t=e.match(Da);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},ka=e=>e===`*`||e===`x`||e===`X`,Aa=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},ja=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],Ma=(e,t)=>{if(ka(e)||ka(t))return 0;let[n,r]=ja(Aa(e),Aa(t));return n>r?1:n<r?-1:0},Na=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){let r=Ma(e[n]||`0`,t[n]||`0`);if(r!==0)return r}return 0},Pa=(e,t)=>{let n=Oa(e),r=Oa(t),i=n.pop(),a=r.pop(),o=Na(n,r);return o===0?i&&a?Na(i.split(`.`),a.split(`.`)):i||a?i?-1:1:0:o},Fa=(e,t,n)=>{Ra(n);let r=Pa(e,t);return Ia[n].includes(r)},Ia={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},La=Object.keys(Ia),Ra=e=>{if(typeof e!=`string`)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(La.indexOf(e)===-1)throw Error(`Invalid operator, expected one of ${La.join(`|`)}`)},za=(e,t)=>{if(t=t.replace(/([><=]+)\s+/g,`$1`),t.includes(`||`))return t.split(`||`).some(t=>za(e,t));if(t.includes(` - `)){let[n,r]=t.split(` - `,2);return za(e,`>=${n} <=${r}`)}else if(t.includes(` `))return t.trim().replace(/\s{2,}/g,` `).split(` `).every(t=>za(e,t));let n=t.match(/^([<>=~^]+)/),r=n?n[1]:`=`;if(r!==`^`&&r!==`~`)return Fa(e,t,r);let[i,a,o,,s]=Oa(e),[c,l,u,,d]=Oa(t),f=[i,a,o],p=[c,l??`x`,u??`x`];if(d&&(!s||Na(f,p)!==0||Na(s.split(`.`),d.split(`.`))===-1))return!1;let m=p.findIndex(e=>e!==`0`)+1,h=r===`~`?2:m>1?m:1;return!(Na(f.slice(0,h),p.slice(0,h))!==0||Na(f.slice(h),p.slice(h))===-1)},Ba=e=>typeof e==`string`&&/^[v\d]/.test(e)&&Da.test(e);function Va(e,t){var n=Object.setPrototypeOf;n?n(e,t):e.__proto__=t}function Ha(e,t){t===void 0&&(t=e.constructor);var n=Error.captureStackTrace;n&&n(e,t)}var Ua=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wa=function(e){Ua(t,e);function t(t,n){var r=this.constructor,i=e.call(this,t,n)||this;return Object.defineProperty(i,"name",{value:r.name,enumerable:!1,configurable:!0}),Va(i,r.prototype),Ha(i),i}return t}(Error),Ga=class extends Wa{},Ka=class extends Wa{contentType;data;constructor(e,t,n,r){super(e,r),this.contentType=t,this.data=n}},qa=class extends Wa{statusCode;description;details;additionalProperties;constructor(e,t){super(e.message,t),this.statusCode=e.statusCode,this.message=e.message,this.description=e.description,this.additionalProperties=e.additionalProperties,this.details=e.details}},Ja=class extends Wa{},Ya=class extends Wa{constructor(e,t){super(e,t),this.message=e}},Xa=/([\p{Ll}\d])(\p{Lu})/gu,Za=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Qa=/(\d)\p{Ll}|(\p{L})\d/u,$a=/[^\p{L}\d]+/giu,eo=`$1\0$2`,to=``;function no(e){let t=e.trim();t=t.replace(Xa,eo).replace(Za,eo),t=t.replace($a,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}function ro(e){let t=no(e);for(let e=0;e<t.length;e++){let n=t[e],r=Qa.exec(n);if(r){let i=r.index+(r[1]??r[2]).length;t.splice(e,1,n.slice(0,i),n.slice(i))}}return t}function io(e,t){let[n,r,i]=fo(e,t);return n+r.map(so(t?.locale)).join(t?.delimiter??` `)+i}function ao(e,t){let[n,r,i]=fo(e,t),a=so(t?.locale),o=co(t?.locale),s=t?.mergeAmbiguousCharacters?lo(a,o):uo(a,o);return n+r.map((e,t)=>t===0?a(e):s(e,t)).join(t?.delimiter??``)+i}function oo(e,t){return io(e,{delimiter:`_`,...t})}function so(e){return e===!1?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function co(e){return e===!1?e=>e.toUpperCase():t=>t.toLocaleUpperCase(e)}function lo(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function uo(e,t){return(n,r)=>{let i=n[0];return(r>0&&i>=`0`&&i<=`9`?`_`+i:t(i))+e(n.slice(1))}}function fo(e,t={}){let n=t.split??(t.separateNumbers?ro:no),r=t.prefixCharacters??to,i=t.suffixCharacters??to,a=0,o=e.length;for(;a<e.length;){let t=e.charAt(a);if(!r.includes(t))break;a++}for(;o>a;){let t=o-1,n=e.charAt(t);if(!i.includes(n))break;o=t}return[e.slice(0,a),n(e.slice(a,o)),e.slice(o)]}var po=e=>new Promise(t=>setTimeout(()=>t(),e)),mo=e=>typeof e==`object`&&!!e&&e.constructor.name===`Object`;function ho(){}var go=class extends Wa{constructor(e,t){super(`Maximum number of attempts reached: ${e}`,t)}},_o=class{props;attempts=0;constructor(e={}){this.props=e}async sleep(){if(this.attempts>=this.maxAttempts)throw new go(this.attempts);await po(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??1/0}get timeout(){return this.factor*this.base**this.attempts}},vo=()=>{let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}},yo=e=>{let t=new Map;for(let n of e.split(`,`)){let e=n.match(/<([^>]+)>;\s*rel="([^"]+)"/);e&&t.set(e[2],e[1])}return t};function bo(e){return[`fetch`,`create`,`update`,`remove`,`list`].includes(e)}function xo(e){if(bo(e))return e;switch(e){case`lookup`:case`verify_credentials`:return`fetch`;case`update_credentials`:return`update`;default:return`create`}}function So(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`||e===`update`&&t===`/api/v1/profile`?`multipart-form`:`json`}async function Co(e,t,n){let r,i=AbortSignal.timeout(t);for(;!r;){if(i.aborted)throw new Ja(`Media processing timed out of ${t}ms`);try{await po(1e3);let t=await n.get(`/api/v1/media/${e}`).then(e=>e.data);t.url&&(r=t)}catch(e){if(e instanceof qa&&e.statusCode===404)continue;throw e}}return r}var wo=class{http;mediaTimeout;constructor(e,t=1e3*60){this.http=e,this.mediaTimeout=t}beforeDispatch(e){let t=xo(e.type),n=bo(e.type)?e.path:e.path+`/`+oo(e.type),r=So(t,n),i={...e.meta,encoding:r};return{...e,type:t,path:n,meta:i}}dispatch(e){return e.type===`update`&&e.path===`/api/v1/accounts/update_credentials`?this.http.patch(e.path,e.data,e.meta).then(e=>e.data):!1}afterDispatch(e,t){if(e.type===`create`&&e.path===`/api/v2/media`){if(mo(e.data)&&e.data?.skipPolling===!0)return t;if(e.raw){let e=t;return Co(e.data.id,this.mediaTimeout,this.http).then(t=>({headers:e.headers,data:t}))}else return Co(t.id,this.mediaTimeout,this.http)}return t}},To=class e{http;raw;path;params;meta;direction;constructor(e,t,n,r,i,a=`next`){this.http=e,this.raw=t,this.path=n,this.params=r,this.meta=i,this.direction=a}async*values(){let e=this.path,t=this.params;for(;e!=null;){let n=await this.http.request({method:`GET`,path:e,search:t,...this.meta}),r=this.getLink(n.headers.get(`link`));e=r?.pathname,t=r?.search.replace(/^\?/,``),yield this.raw?n:n.data}}then(e=Promise.resolve.bind(Promise),t=Promise.reject.bind(Promise)){return this.values().next().then(t=>e(t.value),t)}getDirection(){return this.direction}setDirection(t){return new e(this.http,this.raw,this.path,this.params,this.meta,t)}[Symbol.asyncIterator](){return this.values()}getLink(e){if(!e)return;let t=yo(e).get(this.direction);if(t)return new URL(t)}},Eo=class{http;hook;constructor(e,t){this.http=e,this.hook=t}dispatch(e){this.hook&&(e=this.hook.beforeDispatch(e));let t=this.hook.dispatch(e);if(t!==!1)return t;switch(e.type){case`fetch`:t=this.http.get(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`create`:t=this.http.post(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`update`:t=this.http.put(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`remove`:t=this.http.delete(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`list`:t=new To(this.http,e.raw,e.path,e.data);break}return t instanceof Promise?t.then(t=>this.hook?.afterDispatch(e,t)):this.hook.afterDispatch(e,t)}},Do=null;typeof WebSocket<`u`?Do=WebSocket:typeof MozWebSocket<`u`?Do=MozWebSocket:typeof global<`u`?Do=global.WebSocket||global.MozWebSocket:typeof window<`u`?Do=window.WebSocket||window.MozWebSocket:typeof self<`u`&&(Do=self.WebSocket||self.MozWebSocket);var Oo=Do;function ko(e){return e.readyState===Oo.OPEN?Promise.resolve():new Promise((t,n)=>{e.addEventListener(`error`,e=>{n(e)},{once:!0}),e.addEventListener(`close`,()=>{n(Error(`WebSocket closed`))},{once:!0}),e.addEventListener(`open`,()=>{t()},{once:!0})})}function Ao(e){return e.readyState===Oo.CLOSED?Promise.resolve():new Promise(t=>{let n=()=>{t()};e.addEventListener(`error`,n,{once:!0}),e.addEventListener(`close`,n,{once:!0})})}var jo=class{props;logger;ws;killed=!1;queue=[];backoff;constructor(e,t){this.props=e,this.logger=t,this.backoff=new _o({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new Ya(`WebSocket closed`);if(this.ws)return Promise.resolve(this.ws);let e=vo();return this.queue.push(e),e.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(let{reject:e}of this.queue)e(new Ya(`WebSocket closed`));this.queue=[]}async spawn(){for(;!this.killed;){try{await this.backoff.sleep()}catch{break}try{this.logger?.log(`info`,`Connecting to WebSocket...`);{let e=new(this.props.implementation??Oo)(...this.props.constructorParameters);await ko(e),this.ws=e}this.logger?.log(`info`,`Connected to WebSocket`);for(let{resolve:e}of this.queue)e(this.ws);this.queue=[],await Ao(this.ws),this.logger?.log(`info`,`WebSocket closed`),this.backoff.clear()}catch(e){this.logger?.log(`error`,`WebSocket error:`,e)}this.ws=void 0}for(let{reject:e}of this.queue)e(new Ya(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}};function Mo(){let e,t,n=new Promise((...n)=>[e,t]=n);return Object.freeze({resolve:e,reject:t,promise:n})}function No(e,t){let n=[],r=[],i=e((...e)=>{let t=r.shift();t?t.resolve({value:e,done:!1}):n.push(e)}),a=t?.signal,o=!1,s=null,c=()=>{s=Error(`Abort Error`)},l=()=>{i?.(),a?.removeEventListener(`abort`,c)};return a?.addEventListener(`abort`,c,{once:!0}),{async next(){let e=n.shift();if(e)return{value:e,done:!1};if(o)return{value:void 0,done:!0};if(s)return Promise.reject(s);let t=Mo();return r.push(t),t.promise},async return(){o=!0,l();for(let e of r)e.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(e){return s=e,l(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*Po(e){let t=async e=>{if(!r.return)throw new Ga(`events.return is undefined`);await r.return(e)},n=async e=>{if(!r.return)throw new Ga(`events.return is undefined`);await r.return(e)},r=No(r=>(e.addEventListener(`message`,r),e.addEventListener(`error`,n),e.addEventListener(`close`,t),()=>{e.removeEventListener(`message`,r),e.removeEventListener(`error`,n),e.removeEventListener(`close`,t)}));for await(let[e]of r)yield e}var Fo=class{connector;counter;serializer;stream;logger;params;connection;constructor(e,t,n,r,i,a){this.connector=e,this.counter=t,this.serializer=n,this.stream=r,this.logger=i,this.params=a}async*values(){try{this.logger?.log(`info`,`Subscribing to stream`,this.stream);for await(this.connection of this.connector){let e=this.serializer.serialize(`json`,{type:`subscribe`,stream:this.stream,...this.params});this.logger?.log(`debug`,`↑ WEBSOCKET`,e),this.connection.send(e),this.counter.increment(this.stream,this.params);let t=Po(this.connection);for await(let e of t){let t=this.parseMessage(e.data);this.test(t)&&(this.logger?.log(`debug`,`↓ WEBSOCKET`,t),yield t)}}}finally{this.unsubscribe()}}unsubscribe(){if(this.connection){if(this.counter.decrement(this.stream,this.params),this.counter.count(this.stream,this.params)<=0){let e=this.serializer.serialize(`json`,{type:`unsubscribe`,stream:this.stream,...this.params});this.connection.send(e)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(e){let t=this.params??{},n=Object.values(t);return[this.stream,...n].every(t=>e.stream.includes(t))}parseMessage(e){let t=this.serializer.deserialize(`json`,e);if(`error`in t)throw new Ga(t.error);let n=t.event===`delete`||t.payload==null?t.payload:this.serializer.deserialize(`json`,t.payload);return{stream:t.stream,event:t.event,payload:n}}},Io=class{counts=new Map;count(e,t){let n=this.hash(e,t);return this.counts.get(n)??0}increment(e,t){let n=this.hash(e,t);this.counts.has(n)||this.counts.set(n,0),this.counts.set(n,this.counts.get(n)+1)}decrement(e,t){let n=this.hash(e,t);if(!this.counts.has(n))throw Error(`Cannot decrement non-existent count`);this.counts.set(n,this.counts.get(n)-1)}hash(e,t){return JSON.stringify({stream:e,params:t})}},Lo=class{connector;counter;serializer;logger;constructor(e,t,n,r){this.connector=e,this.counter=t,this.serializer=n,this.logger=r}dispatch(e){if(e.type===`close`)return this.connector.kill(),{};if(e.type===`prepare`)return this.connector.acquire();if(e.type!==`subscribe`)throw new Ga(`Unknown action type ${e.type}`);let t=e.data??{},n=e.path.replace(/^\//,``).replaceAll(`/`,`:`);return new Fo(this.connector,this.counter,this.serializer,n,this.logger,{...t})}[Symbol.dispose](){this.connector.kill()}},Ro=(e,t={})=>{let{context:n=[],applicable:r=!1}=t,i={},a={get:Bo(e,n)};return r&&(i=ho,a.apply=Vo(e,n)),new Proxy(i,a)},zo=new Set([`then`,`catch`,`finally`,`inspect`,`toString`,`valueOf`,`toJSON`,`constructor`,`prototype`,`length`,`name`,`caller`,`callee`,`arguments`,`bind`,`apply`,`call`]),Bo=(e,t)=>(n,r)=>{if(!(typeof r==`string`&&zo.has(r))){if(r===Symbol.dispose)return e[Symbol.dispose];if(typeof r!=`symbol`)return r.startsWith(`$`)?Ro(e,{context:[...t,r],applicable:!0}):Ro(e,{context:[...t,oo(r)],applicable:!0})}},Vo=(e,t)=>(n,r,i)=>{let a=t.pop(),o=!1;if(a===`$select`)return Ro(e,{context:[...t,...i],applicable:!0});if(a===`$raw`&&(a=t.pop(),o=!0),!a)throw Error(`No action specified`);let s=`/`+t.join(`/`),[c,l]=i;return e.dispatch({type:a,path:s,data:c,meta:l,raw:o})},Ho=([e,...t])=>{let n=new Headers(e);for(let e of t)for(let[t,r]of new Headers(e).entries())n.set(t,r);return n},Uo=class{props;serializer;constructor(e,t){this.props=e,this.serializer=t}mergeRequestInitWithDefaults(e={}){let t={...this.props.requestInit};{let{headers:n,signal:r,...i}=e;Object.assign(t,i),t.headers=this.mergeHeadersWithDefaults(n),t.signal=this.mergeAbortSignalWithDefaults(r)}return t}resolvePath(e,t){let n=new URL(e,this.props.url);return typeof t==`string`?n.search=t:t&&(n.search=this.serializer.serialize(`querystring`,t)),n}mergeHeadersWithDefaults(e={}){let t=Ho([this.props.requestInit?.headers??{},e]),n=new Headers(t);return this.props.accessToken&&n.set(`Authorization`,`Bearer ${this.props.accessToken}`),new Headers(n)}mergeAbortSignalWithDefaults(e){let t=[];return this.props.timeout&&t.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&t.push(this.props.requestInit.signal),e&&t.push(e),AbortSignal.any(t)}},Wo=class{props;serializer;constructor(e,t){this.props=e,this.serializer=t}getProtocols(e=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...e]:[this.props.accessToken,...e]}resolvePath(e,t={}){let n=new URL(e,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(t.accessToken=this.props.accessToken),n.search=this.serializer.serialize(`querystring`,t),n}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?1/0:this.props.retry===!1?1:this.props.retry}},Go=class{get(e,t,n={}){return this.request({method:`GET`,path:e,search:t,...n})}post(e,t,n={}){return this.request({method:`POST`,path:e,body:t,...n})}delete(e,t,n={}){return this.request({method:`DELETE`,path:e,body:t,...n})}put(e,t,n={}){return this.request({method:`PUT`,path:e,body:t,...n})}patch(e,t,n={}){return this.request({method:`PATCH`,path:e,body:t,...n})}},Ko=e=>{let 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`;case`text/html`:return`html`;default:return}},qo=class extends Go{serializer;config;logger;constructor(e,t,n){super(),this.serializer=e,this.config=t,this.logger=n}async request(e){let t=this.createRequest(e);try{this.logger?.log(`info`,`↑ ${t.method} ${t.url}`),this.logger?.log(`debug`,` body`,{encoding:e.encoding,body:e.body});let n=await fetch(t);if(!n.ok)throw n;let r=await n.text(),i=Ko(n.headers);if(!i)throw new Ga(`The server returned data with an unknown encoding.`);let a=this.serializer.deserialize(i,r);return this.logger?.log(`info`,`↓ ${t.method} ${t.url}`),this.logger?.log(`debug`,` body`,r),{headers:n.headers,data:a}}catch(e){throw this.logger?.log(`debug`,`HTTP failed`,e),await this.createError(e)}}createRequest(e){let{method:t,path:n,search:r,encoding:i=`json`,requestInit:a={}}=e,o=this.config.resolvePath(n,r),s=this.serializer.serialize(i,e.body),c=this.config.mergeRequestInitWithDefaults(a),l=new Request(o,{method:t,body:s,...c});return typeof s==`string`&&i===`json`&&l.headers.set(`Content-Type`,`application/json`),l}async createError(e){if(e instanceof Response){let t=Ko(e.headers);if(!t)throw new Ga(`The server returned data with an unknown encoding. The server may be down.`);let{error:n,errorDescription:r,details:i,...a}=this.serializer.deserialize(t,await e.text());return new qa({statusCode:e.status,message:n,description:r,details:i,additionalProperties:a},{cause:e})}return e instanceof DOMException&&e.name===`TimeoutError`?new Ja(`Request timed out`,{cause:e}):e}},Jo=class{level;constructor(e){this.level=e}log(e,t,n){if(!this.level.satisfies(e))return;let r=n==null?[t]:[t,n];switch(e){case`debug`:console.debug(...r);return;case`info`:console.info(...r);return;case`warn`:console.warn(...r);return;case`error`:console.error(...r);return}}},W=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8}),Yo=class e{level;constructor(e){this.level=e}satisfies(e){switch(e){case`debug`:return!!(this.level&W.DEBUG);case`info`:return!!(this.level&W.INFO);case`warn`:return!!(this.level&W.WARN);case`error`:return!!(this.level&W.ERROR)}}static from(t){switch(t){case`debug`:return new e(W.DEBUG|W.INFO|W.WARN|W.ERROR);case`info`:return new e(W.INFO|W.WARN|W.ERROR);case`warn`:return new e(W.WARN|W.ERROR);case`error`:return new e(W.ERROR)}}},Xo=e=>new Jo(Yo.from(e??`warn`)),Zo=e=>{let t=(n,r=``)=>Array.isArray(n)?n.flatMap((n,i)=>t(n,r==``?i.toString():e.onArray(r,i))):mo(n)?Object.entries(n).flatMap(([n,i])=>t(i,r===``?n:e.onObject(r,n))):[[r,n]];return t},Qo=e=>{let t=Zo({onArray:(e,t)=>`${e}[${t}]`,onObject:(e,t)=>`${e}[${t}]`});return Object.fromEntries(t(e))},$o=e=>Zo({onArray:e=>`${e}[]`,onObject:(e,t)=>`${e}[${t}]`})(e).filter(([,e])=>e!=null).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join(`&`),es=(e,t)=>Array.isArray(e)?e.map(e=>es(e,t)):mo(e)?Object.fromEntries(Object.entries(e).map(([e,n])=>[t(e),es(n,t)])):e,ts=(e,t)=>es(e,e=>e.includes(`:`)||e.startsWith(`_`)?e:t(e)),ns=class{serialize(e,t){let n=ts(t,oo);switch(e){case`json`:return JSON.stringify(n);case`multipart-form`:{let e=new FormData;for(let[t,r]of Object.entries(Qo(n)))e.append(t,r);return e}case`querystring`:return $o(n);default:throw new Ga(`Unknown content type ${e} to serialize.`)}}deserialize(e,t){switch(e){case`json`:try{return ts(JSON.parse(t),ao)}catch{throw new Ka(`Malformed JSON ${t} returned from the server.`,e,t)}case`html`:return;default:throw new Ka(`Unknown content type ${e} returned from the server.`,e,t)}}},rs=e=>{let t=new ns,n=new qo(t,new Uo(e,t),Xo(e.log));return Ro(new Eo(n,new wo(n,e.mediaTimeout)),{context:[`api`]})};function is(e){let t=new ns,n=new Wo(e,t),r=Xo(e.log);return Ro(new Lo(new jo({constructorParameters:[n.resolvePath(`/api/v1/streaming`),n.getProtocols()],implementation:e.implementation,maxAttempts:n.getMaxAttempts()},r),new Io,t,r))}var{getOwnPropertyNames:as,getOwnPropertySymbols:os}=Object,{hasOwnProperty:ss}=Object.prototype;function cs(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function ls(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function us(e){return e?.[Symbol.toStringTag]}function ds(e){return as(e).concat(os(e))}var fs=Object.hasOwn||((e,t)=>ss.call(e,t));function ps(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var ms=`__v`,hs=`__o`,gs=`_owner`,{getOwnPropertyDescriptor:_s,keys:vs}=Object;function ys(e,t){return e.byteLength===t.byteLength&&Ms(new Uint8Array(e),new Uint8Array(t))}function bs(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function xs(e,t){return e.byteLength===t.byteLength&&Ms(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Ss(e,t){return ps(e.getTime(),t.getTime())}function Cs(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function ws(e,t){return e===t}function Ts(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}var Es=ps;function Ds(e,t,n){let r=vs(e),i=r.length;if(vs(t).length!==i)return!1;for(;i-- >0;)if(!Ps(e,t,n,r[i]))return!1;return!0}function Os(e,t,n){let r=ds(e),i=r.length;if(ds(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!Ps(e,t,n,a)||(o=_s(e,a),s=_s(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function ks(e,t){return ps(e.valueOf(),t.valueOf())}function As(e,t){return e.source===t.source&&e.flags===t.flags}function js(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function Ms(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Ns(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 Ps(e,t,n,r){return(r===gs||r===hs||r===ms)&&(e.$$typeof||t.$$typeof)?!0:fs(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var Fs=`[object ArrayBuffer]`,Is=`[object Arguments]`,Ls=`[object Boolean]`,Rs=`[object DataView]`,zs=`[object Date]`,Bs=`[object Error]`,Vs=`[object Map]`,Hs=`[object Number]`,Us=`[object Object]`,Ws=`[object RegExp]`,Gs=`[object Set]`,Ks=`[object String]`,qs={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},Js=`[object URL]`,Ys=Object.prototype.toString;function Xs({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p,unknownTagComparators:m}){return function(h,g,_){if(h===g)return!0;if(h==null||g==null)return!1;let v=typeof h;if(v!==typeof g)return!1;if(v!==`object`)return v===`number`?s(h,g,_):v===`function`?a(h,g,_):!1;let y=h.constructor;if(y!==g.constructor)return!1;if(y===Object)return c(h,g,_);if(Array.isArray(h))return t(h,g,_);if(y===Date)return r(h,g,_);if(y===RegExp)return u(h,g,_);if(y===Map)return o(h,g,_);if(y===Set)return d(h,g,_);let b=Ys.call(h);if(b===zs)return r(h,g,_);if(b===Ws)return u(h,g,_);if(b===Vs)return o(h,g,_);if(b===Gs)return d(h,g,_);if(b===Us)return typeof h.then!=`function`&&typeof g.then!=`function`&&c(h,g,_);if(b===Js)return p(h,g,_);if(b===Bs)return i(h,g,_);if(b===Is)return c(h,g,_);if(qs[b])return f(h,g,_);if(b===Fs)return e(h,g,_);if(b===Rs)return n(h,g,_);if(b===Ls||b===Hs||b===Ks)return l(h,g,_);if(m){let e=m[b];if(!e){let t=us(h);t&&(e=m[t])}if(e)return e(h,g,_)}return!1}}function Zs({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:ys,areArraysEqual:n?Os:bs,areDataViewsEqual:xs,areDatesEqual:Ss,areErrorsEqual:Cs,areFunctionsEqual:ws,areMapsEqual:n?cs(Ts,Os):Ts,areNumbersEqual:Es,areObjectsEqual:n?Os:Ds,arePrimitiveWrappersEqual:ks,areRegExpsEqual:As,areSetsEqual:n?cs(js,Os):js,areTypedArraysEqual:n?cs(Ms,Os):Ms,areUrlsEqual:Ns,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=ls(r.areArraysEqual),t=ls(r.areMapsEqual),n=ls(r.areObjectsEqual),i=ls(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function Qs(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function $s({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}var ec=nc();nc({strict:!0}),nc({circular:!0}),nc({circular:!0,strict:!0});var tc=nc({createInternalComparator:()=>ps});nc({strict:!0,createInternalComparator:()=>ps}),nc({circular:!0,createInternalComparator:()=>ps}),nc({circular:!0,createInternalComparator:()=>ps,strict:!0});function nc(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=Xs(Zs(e));return $s({circular:t,comparator:a,createState:r,equals:n?n(a):Qs(a),strict:i})}var rc={};function ic(e,t){var n=t===void 0?rc:t,r=n.indent,i=n.replacer,a=n.circularReplacer,o=n.stable,s=n.stabilizer,c=[],l=[],u=o&&s?function(e){var t={get:function(t){return e[t]}};return function(n,r){return s({key:n,value:e[n]},{key:r,value:e[r]},t)}}:void 0;return JSON.stringify(e,function(e,t){var n=t;if(typeof n==`object`&&n){if(c.length){var r=c.indexOf(this)+1;r===0?c[c.length]=this:(c.splice(r),l.splice(r)),l[l.length]=e;var s=c.indexOf(n)+1;if(s>0){var d=l.slice(0,s).join(`.`)||`.`;return a?a.call(this,e,n,d):`[ref=`+d+`]`}}else c[0]=n,l[0]=e;o&&!Array.isArray(n)&&(n=Object.keys(n).sort(u?.(n)).reduce(function(e,t){return e[t]=n[t],e},{}))}return i?i.call(this,e,n):n},r)}var ac=class{constructor(e){this.l={},this.c=e}a(e,t){let n=this.l[e];n?n.has(t)||n.add(t):this.l[e]=new Set([t])}n(e,t,n){let r=this.l[e];r&&r.forEach(r=>{r({cache:this.c,key:t.k,reason:n,value:t.v,type:e})})}r(e,t){let n=this.l[e];n&&(n.delete(t),n.size||(this.l[e]=void 0))}};function oc(e){return e===1?t=>e>=t.length?t:[t[0]]:e===2?t=>e>=t.length?t:[t[0],t[1]]:t=>{if(e>=t.length)return t;let n=Array(e);for(let r=0;r<e;++r)n[r]=t[r];return n}}function sc(e,t){let n=typeof t;return n===`function`||n===`symbol`?t.toString():t}function cc(e){return[ic(e,{replacer:sc})]}function lc(e,t){return e[0]===t[0]}function uc(e){return typeof e==`function`&&e.isMemoized}function dc(e){return typeof e==`number`&&e>=0&&Number.isFinite(e)}var fc=class{constructor(e){this.c=0;let{async:t,maxSize:n}=e;this.e=pc(e),this.k=mc(e),this.p=typeof t==`boolean`&&t,this.s=dc(n)?n:1}get size(){return this.c}get snapshot(){let e=[],t=[],n=[],r=this.h,i=0;for(;r!=null;)t.push(r.k),n.push(r.v),e.push([r.k,r.v]),++i,r=r.n;return{entries:e,keys:t,size:i,values:n}}clear(e=`explicit clear`){if(!this.h)return;let t=this.o,n;if(t){n=[];let e=this.h;for(;e!=null;)n.push(e),e=e.n}if(this.h=this.t=void 0,this.c=0,t&&n)for(let r=0;r<n.length;++r)t.n(`delete`,n[r],e)}delete(e,t=`explicit delete`){let n=this.g(this.k?this.k(e):e);return n?(this.d(n,t),!0):!1}get(e,t=`explicit get`){let n=this.g(this.k?this.k(e):e);if(n)return n===this.h?this.o&&this.o.n(`hit`,n,t):this.u(n,t,!0),n.v}has(e){return!!this.g(this.k?this.k(e):e)}off(e,t){this.o&&this.o.r(e,t)}on(e,t){this.o||=new ac(this),this.o.a(e,t)}set(e,t,n=`explicit set`){let r=this.k?this.k(e):e,i=this.g(r);if(i){let e=i.v;i.v=t,this.p&&t!==e&&(i.v=this.w(i)),i!==this.h&&this.u(i,n,!1)}else i=this.n(r,t)}d(e,t){let n=e.n,r=e.p;n?n.p=r:this.t=r,r?r.n=n:this.h=n,--this.c,e.r=!0,this.o&&this.o.n(`delete`,e,t)}g(e){let t=this.h;if(!(!t||t.r)){if(this.e(t.k,e))return t;if(this.h!==this.t)for(t=t.n;t;){if(t.r)return;if(this.e(t.k,e))return t;t=t.n}}}n(e,t,n){let r=this.h,i=this.t,a={k:e,n:r,p:void 0,v:t};return this.p&&(a.v=this.w(a)),this.h=a,r?r.p=a:this.t=a,++this.c>this.s&&i&&this.d(i,`evicted`),this.o&&this.o.n(`add`,a,n),a}u(e,t,n){let r=e.n,i=e.p;r&&(r.p=i),i&&(i.n=r),this.h&&(this.h.p=e),e.n=this.h,e.p=void 0,this.h=e,e===this.t&&(this.t=i),this.o&&(n&&this.o.n(`hit`,e,t),this.o.n(`update`,e,t))}w(e){let{v:t}=e;return t==null||typeof t.then!=`function`?t:t.then(t=>(!e.r&&this.o&&this.o.n(`update`,e,`resolved`),t),t=>{throw!e.r&&this.d(e,`rejected`),t})}};function pc({isKeyEqual:e,isKeyItemEqual:t,serialize:n}){if(typeof e==`function`)return e;if(n)return lc;let r=typeof t==`function`?t:t===`deep`?ec:t===`shallow`?tc:Object.is;return function(e,t){let n=t.length;if(e.length!==n)return!1;if(n===1)return r(e[0],t[0],0);for(let i=0;i<n;++i)if(!r(e[i],t[i],i))return!1;return!0}}function mc(e){let{maxArgs:t,serialize:n,transformKey:r}=e,i=[n?typeof n==`function`?n:cc:void 0,dc(t)?oc(t):void 0,typeof r==`function`?r:void 0].filter(Boolean);return i.length?i.reduce((e,t)=>(...n)=>e(t(...n))):void 0}var hc=class{constructor(e,t){if(this.e=new Map,this.c=e,typeof t==`object`?(this.t=t.after,this.p=t.shouldPersist,this.r=t.shouldRemove,this.u=!!t.update):(this.t=t,this.u=!1),this.c.on(`add`,({key:e,value:t})=>{this.a(e,t)&&this.s(e,t)}),this.u&&(this.c.on(`hit`,({key:e,value:t})=>{this.a(e,t)&&this.s(e,t)}),this.c.p)){let e=({key:t,reason:n,value:r})=>{n===`resolved`&&this.a(t,r)&&(this.s(t,r),this.c.off(`update`,e))};this.c.on(`update`,e)}this.c.on(`delete`,({key:e})=>{this.e.has(e)&&this.d(e)})}get size(){return this.e.size}a(e,t){return!!(this.c.g(e)&&!this.p?.call(this,e,t,this.c))}d(e){let t=this.e.get(e);t&&(clearTimeout(t),this.e.delete(e))}s(e,t){this.e.has(e)&&this.d(e);let n=this.c,r=typeof this.t==`function`?this.t(e,t,n):this.t;if(!dc(r))throw TypeError(`The expiration time must be a finite, non-negative number; received ${r}`);let i=setTimeout(()=>{this.d(e);let t=n.g(e);t&&(typeof this.r==`function`&&!this.r(e,t.v,r,n)?(t===n.h?n.o&&n.o.n(`update`,t,`expiration reset`):n.u(t,`expiration reset`,!1),this.s(e,t.v)):n.d(t,`expired`))},r);typeof i.unref==`function`&&i.unref(),this.e.set(e,i)}},gc=new Map,_c=!1,vc=class{constructor(e,t){this.p={c:0,h:0},this.c=e,this.n=t,gc.set(t,this),_c&&this.s()}m(){let{c:e,h:t}=this.p,n=e?`${(t/e*100).toFixed(4)}%`:`0.0000%`;return{calls:e,hits:t,name:this.n,usage:n}}r(){this.p={c:0,h:0}}s(){let e=()=>{++this.p.c},t=()=>{++this.p.c,++this.p.h};this.d=()=>{this.c.off(`add`,e),this.c.off(`hit`,t),this.d=void 0,this.p.c=this.p.h=0},this.c.on(`add`,e),this.c.on(`hit`,t)}},yc=function e(t,n={}){if(uc(t))return e(t.fn,Object.assign({},t.options,n));if(typeof t!=`function`)throw TypeError(`Expected first parameter to be function; received ${typeof t}`);let r=new fc(n),i=bc(t,r,n.forceUpdate),{expires:a,statsName:o}=n;return i.cache=r,i.expirationManager=a==null?null:new hc(r,a),i.fn=t,i.isMemoized=!0,i.options=n,i.statsManager=o==null?null:new vc(r,o),i};function bc(e,t,n){let r=function(...n){let r=t.k?t.k(n):n,i=t.g(r);return i?i===t.h?t.o&&t.o.n(`hit`,i):t.u(i,void 0,!0):i=t.n(r,e.apply(this,n)),i.v};return n?function(...i){if(!n(i)||!t.has(i))return r.apply(this,i);let a=e.apply(this,i);return t.set(i,a,`forced`),a}:r}typeof window<`u`&&(window._memoize=yc);function xc(e,t={}){return yc(e,{...t,maxSize:30,isKeyItemEqual:`deep`})}function Sc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var Cc={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function wc(e,t){function n(n,r,i){if(!(typeof document>`u`)){i=Sc({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&=i.expires.toUTCString(),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,Sc({},t,{expires:-1}))},withAttributes:function(e){return wc(this.converter,Sc({},this.attributes,e))},withConverter:function(e){return wc(Sc({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Tc=wc(Cc,{path:`/`});function Ec(){return G.local.getJSON(`accounts`)||[]}function Dc(e){G.local.setJSON(`accounts`,e)}var Oc=300*1e3;function kc(e){let t=Ec(),n=e?t.find(t=>t.info.id===e):t[0];if(!n)return null;let r=Date.now();return r-n.lastAccessedAt>Oc&&(n.lastAccessedAt=r,Dc(t)),n}function Ac(e){return Ec().find(t=>t.accessToken===e)}function jc(e){return Ec().find(t=>t.instanceURL===e)}function Mc(e){return Ec().some(t=>t.instanceURL===e)}var Nc=typeof window<`u`?window.matchMedia(`(display-mode: standalone)`):null;function Pc(){try{let e=G.session.get(`currentAccount`);if(e)return e}catch{}if(Nc?.matches)try{let e=G.local.get(`currentAccount`);if(e)return e}catch{}return null}var Fc=xc(Pc,{expires:60*1e3});function Ic(e){Fc.cache.clear(),Rc.cache.clear();try{G.session.set(`currentAccount`,e)}catch{}if(Nc?.matches)try{G.local.set(`currentAccount`,e)}catch{}}function Lc(){window.__IGNORE_GET_ACCOUNT_ERROR__;let e=kc(Pc());return e||=kc(),e}var Rc=xc(Lc,{expires:60*1e3});function zc(){let{instanceURL:e,info:{id:t}}=Lc();return`${t}@${e}`}function Bc(e){let t=Ec(),n=t.find(t=>t.info.id===e.info.id);n?(n.info=e.info,n.instanceURL=e.instanceURL,n.accessToken=e.accessToken,n.vapidKey=e.vapidKey,n.updatedAt=Date.now()):t.push(e),Dc(t)}function Vc(e){let t=Ec(),n=t.find(t=>t.info.id===e.id);n&&(n.info.displayName!==e.displayName||n.info.avatar!==e.avatar||n.info.avatar_static!==e.avatar_static)&&(n.info={...n.info,...e},Dc(t))}var Hc=null;function Uc(){if(Hc)return Hc;try{let e=Lc();return Hc=G.local.getJSON(`instances`)[e.instanceURL.toLowerCase()]}catch{return{}}}var Wc=null;function Gc(){if(Wc)return Wc;try{let e=Lc();return Wc=(G.local.getJSON(`nodeInfos`)||{})[e.instanceURL.toLowerCase()]||{}}catch{return{}}}function Kc(e){let{configuration:t,maxMediaAttachments:n,maxTootChars:r,pollLimits:i}=e,a=t?.statuses||{};n&&(a.maxMediaAttachments??=n),r&&(a.maxCharacters??=r);let o=t?.polls||{};return i&&(o.maxCharactersPerOption??=i.maxOptionChars,o.maxExpiration??=i.maxExpiration,o.maxOptions??=i.maxOptions,o.minExpiration??=i.minExpiration),{...t,statuses:a,polls:o}}function qc(){return Kc(Uc())}function Jc(){return Uc()?.apiVersions||{}}function Yc(e){let t=e?Kc(e):qc();return t?.vapid?.publicKey||t?.vapid?.public_key||Lc()?.vapidKey}function Xc(){let e=Uc();return/pixelfed/i.test(e?.version)}var Zc=`credentialApplications`;function Qc(e,t){let n=G.local.getJSON(Zc)||{};n[e]=t,G.local.setJSON(Zc,n)}function $c(e){return(G.local.getJSON(Zc)||{})[e]||null}var el=Tc.withAttributes({sameSite:`strict`,secure:!0}),tl=navigator.cookieEnabled&&(()=>{try{let e=`__phanpy_can_set_secure_cookie__`;el.set(e,`1`);let t=el.get(e)===`1`;return el.remove(e),t}catch{return!1}})(),nl={get:e=>{try{return localStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(nl.get(e))}catch{return null}},set:(e,t)=>{try{return localStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return nl.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return localStorage.removeItem(e)}catch{return null}}},rl={get:e=>{try{return sessionStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(rl.get(e))}catch{return null}},set:(e,t)=>{try{return sessionStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return rl.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return sessionStorage.removeItem(e)}catch{return null}}},il={get:e=>el.get(e),set:(e,t)=>el.set(e,t),del:e=>el.remove(e)},G={local:nl,session:rl,sessionCookie:{get:e=>tl?il.get(e):rl.get(e),set:(e,t)=>tl?il.set(e,t):rl.set(e,t),del:e=>tl?il.del(e):rl.del(e)},cookie:il,account:{get:e=>{try{return nl.getJSON(e)[zc()]}catch{return null}},set:(e,t)=>{try{let n=nl.getJSON(e)||{};return n[zc()]=t,nl.setJSON(e,n)}catch{return null}},del:e=>{try{let t=nl.getJSON(e)||{};return delete t[zc()],nl.setJSON(e,t)}catch{return null}}}},al=`mastodon.social`,ol={},K={};window.__ACCOUNT_APIS__=K;var q;function J({instance:e,accessToken:t}){/^https?:\/\//.test(e)&&(e=e.replace(/^https?:\/\//,``).replace(/\/+$/,``).toLowerCase());let n={masto:rs({url:e?`${location.protocol}//${e}`:`${location.protocol}//${al}`,accessToken:t,timeout:2*6e4,mediaTimeout:10*6e4}),instance:e,accessToken:t,onStreamingReady:function(e){this._streamingCallback=e}};return ol[e]=n,K[e]||(K[e]={}),t&&(K[e][t]=n),n}function sl(e){return!!(G.local.getJSON(`instances`)||{})[e]}async function cl(e,t){let{masto:n,accessToken:r}=e,i;__BENCHMARK.start(`fetch-instance`);try{i=await n.v2.instance.fetch()}catch{}if(!i)try{i=await n.v1.instance.fetch()}catch{}if(__BENCHMARK.end(`fetch-instance`),!i)return;let{uri:a,urls:{streamingApi:o}={},domain:s,configuration:{urls:{streaming:c}={}}={}}=i,l=G.local.getJSON(`instances`)||{};(a||s)&&(l[(s||a).replace(/^https?:\/\//,``).replace(/\/+$/,``).toLowerCase()]=i),t&&(l[t.toLowerCase()]=i),G.local.setJSON(`instances`,l);let u;try{if(a||s){let e=a||`${location.protocol}//${s}`,t=await(await fetch(`${e}/.well-known/nodeinfo`)).json();if(Array.isArray(t?.links)){let e=t.links.filter(e=>typeof e.rel==`string`&&e.rel.startsWith(`http://nodeinfo.diaspora.software/ns/schema/`)&&Ba(e.rel.slice(44))).map(e=>({version:e.rel.slice(44),href:e.href})).sort((e,t)=>-Pa(e.version,t.version)).find(e=>za(e.version,`<=2`))?.href;e&&(u=await(await fetch(e)).json())}}}catch{}let d=G.local.getJSON(`nodeInfos`)||{};if(u&&(d[t.toLowerCase()]=u),G.local.setJSON(`nodeInfos`,d),`WebSocket`in window&&(o||c)){let t=is({streamingApiUrl:c||o,accessToken:r,implementation:WebSocket});if(e.streaming=t,e._streamingCallback){try{e._streamingCallback(t)}catch{}e._streamingCallback=null}}__BENCHMARK.end(`init-instance`)}async function ll(e,t,n,r){let{masto:i}=e,a=await i.v1.accounts.verifyCredentials();Ic(a.id),Bc({info:a,instanceURL:t.toLowerCase(),accessToken:n,vapidKey:r,createdAt:Date.now()})}var ul=xc(()=>G.account.get(`preferences`)||{},{expires:60*1e3});function dl(e){ul.cache.clear(),G.account.set(`preferences`,e)}function fl(){return!!ul()}async function pl(e){try{let{masto:t}=e;__BENCHMARK.start(`fetch-preferences`);let n=await t.v1.preferences.fetch();__BENCHMARK.end(`fetch-preferences`),dl(n)}catch{}}function ml({instance:e,accessToken:t,accountID:n,account:r}={}){if(e&&=e.toLowerCase().trim(),e&&t){let n=K[e]?.[t]||J({instance:e,accessToken:t}),{masto:r,streaming:i}=n;return{masto:r,streaming:i,client:n,authenticated:!0,instance:e}}if(t)for(let e in K)if(K[e][t]){let n=K[e][t],{masto:r,streaming:i}=n;return{masto:r,streaming:i,client:n,authenticated:!0,instance:e}}else{let e=Ac(t);if(e){let t=e.accessToken,n=e.instanceURL.toLowerCase().trim(),r=J({instance:n,accessToken:t}),{masto:i,streaming:a}=r;return{masto:i,streaming:a,client:r,authenticated:!0,instance:n}}else throw Error(`Access token not found`)}if(r||n)if(r||=kc(n),r){let e=r.accessToken,t=r.instanceURL.toLowerCase().trim(),n=K[t]?.[e]||J({instance:t,accessToken:e}),{masto:i,streaming:a}=n;return{masto:i,streaming:a,client:n,authenticated:!0,instance:t}}else throw Error(`Account ${n} not found`);let i=Rc();if(e){if(q?.instance===e)return{masto:q.masto,streaming:q.streaming,client:q,authenticated:!0,instance:e};if(i?.instanceURL===e){let{accessToken:t}=i;return q=K[e]?.[t]||J({instance:e,accessToken:t}),{masto:q.masto,streaming:q.streaming,client:q,authenticated:!0,instance:e}}let t=jc(e);if(t){let n=t.accessToken,r=K[e]?.[n]||J({instance:e,accessToken:n}),{masto:i,streaming:a}=r;return{masto:i,streaming:a,client:r,authenticated:!0,instance:e}}let n=ol[e]||J({instance:e}),{masto:r,streaming:a,accessToken:o}=n;return{masto:r,streaming:a,client:n,authenticated:!!o,instance:e}}if(q)return{masto:q.masto,streaming:q.streaming,client:q,authenticated:!0,instance:q.instance};if(i){let{accessToken:e,instanceURL:t}=i;return q=K[t]?.[e]||J({instance:t,accessToken:e}),{masto:q.masto,streaming:q.streaming,client:q,authenticated:!0,instance:t}}let a=ol[al]||J({instance:al}),{masto:o,streaming:s}=a;return{masto:o,streaming:s,client:a,authenticated:!1,instance:al}}window.__API__={currentAccountApi:q,apis:ol,accountApis:K};var{getOwnPropertyNames:hl,getOwnPropertySymbols:gl}=Object,{hasOwnProperty:_l}=Object.prototype;function vl(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function yl(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function bl(e){return hl(e).concat(gl(e))}var xl=Object.hasOwn||((e,t)=>_l.call(e,t)),Sl=`__v`,Cl=`__o`,wl=`_owner`,{getOwnPropertyDescriptor:Tl,keys:El}=Object,Dl=Object.is||function(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t};function Ol(e,t){return e===t}function kl(e,t){return e.byteLength===t.byteLength&&Bl(new Uint8Array(e),new Uint8Array(t))}function Al(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function jl(e,t){return e.byteLength===t.byteLength&&Bl(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Ml(e,t){return Dl(e.getTime(),t.getTime())}function Nl(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Pl(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}function Fl(e,t,n){let r=El(e),i=r.length;if(El(t).length!==i)return!1;for(;i-- >0;)if(!Hl(e,t,n,r[i]))return!1;return!0}function Il(e,t,n){let r=bl(e),i=r.length;if(bl(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!Hl(e,t,n,a)||(o=Tl(e,a),s=Tl(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Ll(e,t){return Dl(e.valueOf(),t.valueOf())}function Rl(e,t){return e.source===t.source&&e.flags===t.flags}function zl(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function Bl(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Vl(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 Hl(e,t,n,r){return(r===wl||r===Cl||r===Sl)&&(e.$$typeof||t.$$typeof)?!0:xl(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var Ul=Object.prototype.toString;function Wl(e){let t=Jl(e),{areArraysEqual:n,areDatesEqual:r,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:o,areObjectsEqual:s,areRegExpsEqual:c,areSetsEqual:l,getUnsupportedCustomComparator:u}=e;return function(e,d,f){if(e===d)return!0;if(e==null||d==null)return!1;let p=typeof e;if(p!==typeof d)return!1;if(p!==`object`)return p===`number`||p===`bigint`?o(e,d,f):p===`function`?i(e,d,f):!1;let m=e.constructor;if(m!==d.constructor)return!1;if(m===Object)return s(e,d,f);if(m===Array)return n(e,d,f);if(m===Date)return r(e,d,f);if(m===RegExp)return c(e,d,f);if(m===Map)return a(e,d,f);if(m===Set)return l(e,d,f);if(m===Promise)return!1;if(Array.isArray(e))return n(e,d,f);let h=Ul.call(e),g=t[h];if(g)return g(e,d,f);let _=u&&u(e,d,f,h);return _?_(e,d,f):!1}}function Gl({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:kl,areArraysEqual:n?Il:Al,areDataViewsEqual:jl,areDatesEqual:Ml,areErrorsEqual:Nl,areFunctionsEqual:Ol,areMapsEqual:n?vl(Pl,Il):Pl,areNumbersEqual:Dl,areObjectsEqual:n?Il:Fl,arePrimitiveWrappersEqual:Ll,areRegExpsEqual:Rl,areSetsEqual:n?vl(zl,Il):zl,areTypedArraysEqual:n?vl(Bl,Il):Bl,areUrlsEqual:Vl,getUnsupportedCustomComparator:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=yl(r.areArraysEqual),t=yl(r.areMapsEqual),n=yl(r.areObjectsEqual),i=yl(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function Kl(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function ql({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}function Jl({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p}){return{"[object Arguments]":c,"[object Array]":t,"[object ArrayBuffer]":e,"[object AsyncGeneratorFunction]":a,"[object BigInt]":s,"[object BigInt64Array]":f,"[object BigUint64Array]":f,"[object Boolean]":l,"[object DataView]":n,"[object Date]":r,"[object Error]":i,"[object Float16Array]":f,"[object Float32Array]":f,"[object Float64Array]":f,"[object Function]":a,"[object GeneratorFunction]":a,"[object Int8Array]":f,"[object Int16Array]":f,"[object Int32Array]":f,"[object Map]":o,"[object Number]":l,"[object Object]":(e,t,n)=>typeof e.then!=`function`&&typeof t.then!=`function`&&c(e,t,n),"[object RegExp]":u,"[object Set]":d,"[object String]":l,"[object URL]":p,"[object Uint8Array]":f,"[object Uint8ClampedArray]":f,"[object Uint16Array]":f,"[object Uint32Array]":f}}var Yl=Zl();Zl({strict:!0}),Zl({circular:!0}),Zl({circular:!0,strict:!0});var Xl=Zl({createInternalComparator:()=>Dl});Zl({strict:!0,createInternalComparator:()=>Dl}),Zl({circular:!0,createInternalComparator:()=>Dl}),Zl({circular:!0,createInternalComparator:()=>Dl,strict:!0});function Zl(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=Wl(Gl(e));return ql({circular:t,comparator:a,createState:r,equals:n?n(a):Kl(a),strict:i})}function Ql(e,t,n,r){let i=e[t];return xa(e,()=>{let r=e[t];Object.is(i,r)||n(i=r)},r)}var $l=e=>typeof e==`object`&&!!e,eu,tu=()=>(eu||=Ca().refSet,eu);function nu(e,t=tu){if(!$l(e)||t().has(e))return e;let n=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return Reflect.ownKeys(e).forEach(r=>{n[r]=nu(e[r],t)}),n}var{proxyStateMap:ru,snapCache:iu}=Ca(),{proxyStateMap:au,snapCache:ou}=Ca(),su=e=>typeof e==`object`?ba({x:e}).x:e,cu=e=>au.has(e);function Y(e){let t=[],n=new Map,r=0,i=new WeakMap,a=()=>{let e=ou.get(m)?.[1];if(e&&!i.has(e)){let t=new Map(n);i.set(e,t)}},o=e=>i.get(e)||n;if(e){if(typeof e[Symbol.iterator]!=`function`)throw TypeError(`not iterable`);for(let i of e)if(!n.has(i)){let e=su(i);n.set(e,r),t[r++]=e}}let s=e=>typeof e==`object`&&!!e&&Symbol.iterator in e,c=e=>typeof e.forEach==`function`,l=e=>{if(s(e))return e;if(c(e)){let t=[];return e.forEach(e=>t.push(e)),t}throw TypeError(`Expected an iterable`)};function u(e){this.epoch;let t=Y(l(e)),n=Y();for(let e of this.values())t.has(e)&&n.add(e);return Y(n)}function d(e){this.epoch;let t=Y(l(e)),n=Y();for(let e of this.values())n.add(e);for(let e of t.values())n.add(e);return Y(n)}function f(e){this.epoch;let t=Y(l(e)),n=Y();for(let e of this.values())t.has(e)||n.add(e);return Y(n)}function p(e){this.epoch;let t=Y(l(e)),n=Y();for(let e of this.values())t.has(e)||n.add(e);for(let e of t.values())this.has(e)||n.add(e);return Y(n)}let m={data:t,index:r,epoch:0,get size(){return cu(this)||a(),n.size},has(e){let t=o(this),n=su(e);return this.epoch,t.has(n)},add(e){if(!cu(this))throw Error(`Cannot perform mutations on a snapshot`);let t=su(e);return n.has(t)||(n.set(t,this.index),this.data[this.index++]=t,this.epoch++),this},delete(e){if(!cu(this))throw Error(`Cannot perform mutations on a snapshot`);let t=su(e),r=n.get(t);return r===void 0?!1:(delete this.data[r],n.delete(t),this.epoch++,!0)},clear(){if(!cu(this))throw Error(`Cannot perform mutations on a snapshot`);this.data.length=0,this.index=0,this.epoch++,n.clear()},forEach(e){this.epoch,o(this).forEach(t=>{e(this.data[t],this.data[t],this)})},*values(){this.epoch;let e=o(this);for(let t of e.values())yield this.data[t]},keys(){return this.epoch,this.values()},*entries(){this.epoch;let e=o(this);for(let t of e.values()){let e=this.data[t];yield[e,e]}},toJSON(){return new Set(this.values())},[Symbol.iterator](){return this.values()},get[Symbol.toStringTag](){return`Set`},intersection:u,union:d,difference:f,symmetricDifference:p,isSubsetOf(e){this.epoch;for(let t of this.values())if(!e.has(t))return!1;return!0},isSupersetOf(e){this.epoch;let t=l(e);for(let e of t)if(!this.has(e))return!1;return!0},isDisjointFrom(e){this.epoch;for(let t of this.values())if(e.has(t))return!1;return!0}},h=ba(m);return Object.defineProperties(h,{size:{enumerable:!1},data:{enumerable:!1},index:{enumerable:!1},epoch:{enumerable:!1},toJSON:{enumerable:!1}}),Object.seal(h),h}var lu=[/^\/(@[^/]+)\/collections/i];function uu(e){try{let t=URL.parse(e);if(!t?.hostname||!t?.pathname)return null;let n=t.hostname.replace(/^www\./i,``),r=t.pathname.replace(/\/$/,``);for(let e of lu){let t=r.match(e);if(t)return{domain:n,acct:t[1].slice(1)}}return null}catch{return null}}function du(e){try{let{pathname:t,hash:n,hostname:r}=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(r)&&t.startsWith(`/r/http`)||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(t)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(t)||/^\/v\/[a-z0-9]+$/i.test(t)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(n)}catch{return!1}}function fu(e,t={}){return xc(e,{async:!0,...t})}function pu(e,t){let n=[],r=!1;function i(){if(n.length===0){r=!1;return}n.shift()(),setTimeout(i,t)}return function(...a){n.push(()=>e.apply(this,a)),r||(r=!0,setTimeout(i,t))}}var mu=e(n(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1);mu.default;var hu=class e extends Error{name=`TimeoutError`;constructor(t,n){super(t,n),Error.captureStackTrace?.(this,e)}},gu=e=>e.reason??new DOMException(`This operation was aborted.`,`AbortError`);function _u(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout},signal:o}=t,s,c,l=new Promise((t,l)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(o?.aborted){l(gu(o));return}if(o&&(c=()=>{l(gu(o))},o.addEventListener(`abort`,c,{once:!0})),e.then(t,l),n===1/0)return;let u=new hu;s=a.setTimeout.call(void 0,()=>{if(r){try{t(r())}catch(e){l(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?t():i instanceof Error?l(i):(u.message=i??`Promise timed out after ${n} milliseconds`,l(u))},n)}).finally(()=>{l.clear(),c&&o&&o.removeEventListener(`abort`,c)});return l.clear=()=>{a.clearTimeout.call(void 0,s),s=void 0},l}function vu(e,t,n){let r=0,i=e.length;for(;i>0;){let a=Math.trunc(i/2),o=r+a;n(e[o],t)<=0?(r=++o,i-=a+1):i=a}return r}var yu=100,bu=class{#e=[];#t=0;enqueue(e,t){let{priority:n=0,id:r}=t??{},{size:i}=this,a={priority:n,id:r,run:e};if(i===0){this.#e.length=0,this.#t=0,this.#e.push(a);return}if(this.#e.at(-1).priority>=n){this.#e.push(a);return}this.#n();let o=vu(this.#e,a,(e,t)=>t.priority-e.priority);this.#e.splice(o,0,a)}setPriority(e,t){let n=this.#e.findIndex((t,n)=>n>=this.#t&&t.id===e);if(n===-1)throw ReferenceError(`No promise function with the id "${e}" exists in the queue.`);let[r]=this.#e.splice(n,1);this.enqueue(r.run,{priority:t,id:e})}remove(e){let t=this.#e.findIndex((t,n)=>n<this.#t?!1:typeof e==`string`?t.id===e:t.run===e);t!==-1&&this.#e.splice(t,1)}dequeue(){if(this.#t===this.#e.length)return;let e=this.#e[this.#t];return this.#t++,this.#t===this.#e.length?(this.#e.length=0,this.#t=0):this.#t>yu&&this.#t>this.#e.length/2&&this.#n(),e?.run}filter(e){let t=[];for(let n=this.#t;n<this.#e.length;n++){let r=this.#e[n];r.priority===e.priority&&t.push(r.run)}return t}get size(){return this.#e.length-this.#t}#n(){this.#t!==0&&(this.#e.splice(0,this.#t),this.#t=0)}},xu=class extends mu.default{#e;#t;#n=0;#r;#i=!1;#a=!1;#o;#s=0;#c=0;#l;#u;#d;#f=[];#p=0;#m;#h;#g=0;#_;#v;#y=1n;#b=new Map;#x=new Set;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:bu,strict:!1,...e},!(typeof e.intervalCap==`number`&&e.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??``}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??``}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===1/0)throw TypeError("The `strict` option requires a finite `intervalCap`");if(this.#e=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#t=e.intervalCap===1/0||e.interval===0,this.#r=e.intervalCap,this.#o=e.interval,this.#d=e.strict,this.#m=new e.queueClass,this.#h=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#v=e.autoStart===!1,this.#z()}#S(e){for(;this.#p<this.#f.length;){let t=this.#f[this.#p];if(t!==void 0&&e-t>=this.#o)this.#p++;else break}(this.#p>100&&this.#p>this.#f.length/2||this.#p===this.#f.length)&&(this.#f=this.#f.slice(this.#p),this.#p=0)}#C(e){this.#d?this.#f.push(e):this.#n++}#w(){this.#d?this.#f.length>this.#p&&this.#f.pop():this.#n>0&&this.#n--}#T(){return this.#f.length-this.#p}get#E(){return this.#t?!0:this.#d?this.#T()<this.#r:this.#n<this.#r}get#D(){return this.#g<this.#_}#O(){this.#g--,this.#g===0&&this.emit(`pendingZero`),this.#P(),this.emit(`next`)}#k(){this.#u=void 0,this.#I(),this.#F()}#A(e){if(this.#d){if(this.#S(e),this.#T()>=this.#r){let t=this.#f[this.#p],n=this.#o-(e-t);return this.#j(n),!0}return!1}if(this.#l===void 0){let t=this.#s-e;if(t<0){if(this.#c>0){let t=e-this.#c;if(t<this.#o)return this.#j(this.#o-t),!0}this.#n=this.#e?this.#g:0}else return this.#j(t),!0}return!1}#j(e){this.#u===void 0&&(this.#u=setTimeout(()=>{this.#k()},e))}#M(){this.#l&&=(clearInterval(this.#l),void 0)}#N(){this.#u&&=(clearTimeout(this.#u),void 0)}#P(){if(this.#m.size===0){if(this.#M(),this.emit(`empty`),this.#g===0){if(this.#N(),this.#d&&this.#p>0){let e=Date.now();this.#S(e)}this.emit(`idle`)}return!1}let e=!1;if(!this.#v){let t=Date.now(),n=!this.#A(t);if(this.#E&&this.#D){let r=this.#m.dequeue();this.#t||(this.#C(t),this.#B()),this.emit(`active`),r(),n&&this.#F(),e=!0}}return e}#F(){this.#t||this.#l!==void 0||this.#d||(this.#l=setInterval(()=>{this.#I()},this.#o),this.#s=Date.now()+this.#o)}#I(){this.#d||(this.#n===0&&this.#g===0&&this.#l&&this.#M(),this.#n=this.#e?this.#g:0),this.#L(),this.#B()}#L(){for(;this.#P(););}get concurrency(){return this.#_}set concurrency(e){if(!(typeof e==`number`&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#_=e,this.#L()}setPriority(e,t){if(typeof t!=`number`||!Number.isFinite(t))throw TypeError(`Expected \`priority\` to be a finite number, got \`${t}\` (${typeof t})`);this.#m.setPriority(e,t)}async add(e,t={}){return t={timeout:this.timeout,...t,id:t.id??(this.#y++).toString()},new Promise((n,r)=>{let i=Symbol(`task-${t.id}`),a=()=>void 0,o=async()=>{a(),this.#g++,this.#b.set(i,{id:t.id,priority:t.priority??0,startTime:Date.now(),timeout:t.timeout});let o;try{try{t.signal?.throwIfAborted()}catch(e){throw this.#V(),this.#b.delete(i),e}this.#c=Date.now();let r=e({signal:t.signal});if(t.timeout&&(r=_u(Promise.resolve(r),{milliseconds:t.timeout,message:`Task timed out after ${t.timeout}ms (queue has ${this.#g} running, ${this.#m.size} waiting)`})),t.signal){let{signal:e}=t;r=Promise.race([r,new Promise((t,n)=>{o=()=>{n(e.reason)},e.addEventListener(`abort`,o,{once:!0})})])}let a=await r;n(a),this.emit(`completed`,a)}catch(e){r(e),this.emit(`error`,e)}finally{o&&t.signal?.removeEventListener(`abort`,o),this.#b.delete(i),queueMicrotask(()=>{this.#O()})}};this.#m.enqueue(o,t);let s=()=>{if(this.#m instanceof bu){this.#m.remove(o);return}this.#m.remove?.(t.id)};if(t.signal){let{signal:e}=t,n=()=>{a(),s(),r(e.reason),this.#P(),this.emit(`next`)};if(a=()=>{e.removeEventListener(`abort`,n),this.#x.delete(a)},e.aborted){n();return}e.addEventListener(`abort`,n,{once:!0}),this.#x.add(a)}this.emit(`add`),this.#P()})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this.#v?(this.#v=!1,this.#L(),this):this}pause(){this.#v=!0}clear(){for(let e of this.#x)e();this.#m=new this.#h,this.#M(),this.#H(),this.emit(`empty`),this.#g===0&&(this.#N(),this.emit(`idle`)),this.emit(`next`)}async onEmpty(){this.#m.size!==0&&await this.#R(`empty`)}async onSizeLessThan(e){this.#m.size<e||await this.#R(`next`,()=>this.#m.size<e)}async onIdle(){this.#g===0&&this.#m.size===0||await this.#R(`idle`)}async onPendingZero(){this.#g!==0&&await this.#R(`pendingZero`)}async onRateLimit(){this.isRateLimited||await this.#R(`rateLimit`)}async onRateLimitCleared(){this.isRateLimited&&await this.#R(`rateLimitCleared`)}onError(){return new Promise((e,t)=>{let n=e=>{this.off(`error`,n),t(e)};this.on(`error`,n)})}async#R(e,t){return new Promise(n=>{let r=()=>{t&&!t()||(this.off(e,r),n())};this.on(e,r)})}get size(){return this.#m.size}sizeBy(e){return this.#m.filter(e).length}get pending(){return this.#g}get isPaused(){return this.#v}#z(){this.#t||(this.on(`add`,()=>{this.#m.size>0&&this.#B()}),this.on(`next`,()=>{this.#B()}))}#B(){this.#t||this.#a||(this.#a=!0,queueMicrotask(()=>{this.#a=!1,this.#H()}))}#V(){this.#t||(this.#w(),this.#B())}#H(){let e=this.#i;if(this.#t||this.#m.size===0){e&&(this.#i=!1,this.emit(`rateLimitCleared`));return}let t;if(this.#d){let e=Date.now();this.#S(e),t=this.#T()}else t=this.#n;let n=t>=this.#r;n!==e&&(this.#i=n,this.emit(n?`rateLimit`:`rateLimitCleared`))}get isRateLimited(){return this.#i}get isSaturated(){return this.#g===this.#_&&this.#m.size>0||this.isRateLimited&&this.#m.size>0}get runningTasks(){return[...this.#b.values()].map(e=>({...e,timeoutRemaining:e.timeout?Math.max(0,e.startTime+e.timeout-Date.now()):void 0}))}},Su=2147483647,X=36,Cu=1,wu=26,Tu=38,Eu=700,Du=72,Ou=128,ku=`-`,Au=/^xn--/,ju=/[^\0-\x7F]/,Mu=/[\x2E\u3002\uFF0E\uFF61]/g,Nu={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Pu=X-Cu,Z=Math.floor,Fu=String.fromCharCode;function Iu(e){throw RangeError(Nu[e])}function Lu(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Ru(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Mu,`.`);let i=Lu(e.split(`.`),t).join(`.`);return r+i}function zu(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var Bu=e=>String.fromCodePoint(...e),Vu=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:X},Hu=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Uu=function(e,t,n){let r=0;for(e=n?Z(e/Eu):e>>1,e+=Z(e/t);e>Pu*wu>>1;r+=X)e=Z(e/Pu);return Z(r+(Pu+1)*e/(e+Tu))},Wu=function(e){let t=[],n=e.length,r=0,i=Ou,a=Du,o=e.lastIndexOf(ku);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Iu(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=X;;i+=X){s>=n&&Iu(`invalid-input`);let o=Vu(e.charCodeAt(s++));o>=X&&Iu(`invalid-input`),o>Z((Su-r)/t)&&Iu(`overflow`),r+=o*t;let c=i<=a?Cu:i>=a+wu?wu:i-a;if(o<c)break;let l=X-c;t>Z(Su/l)&&Iu(`overflow`),t*=l}let c=t.length+1;a=Uu(r-o,c,o==0),Z(r/c)>Su-i&&Iu(`overflow`),i+=Z(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Gu=function(e){let t=[];e=zu(e);let n=e.length,r=Ou,i=0,a=Du;for(let n of e)n<128&&t.push(Fu(n));let o=t.length,s=o;for(o&&t.push(ku);s<n;){let n=Su;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>Z((Su-i)/c)&&Iu(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>Su&&Iu(`overflow`),n===r){let e=i;for(let n=X;;n+=X){let r=n<=a?Cu:n>=a+wu?wu:n-a;if(e<r)break;let i=e-r,o=X-r;t.push(Fu(Hu(r+i%o,0))),e=Z(i/o)}t.push(Fu(Hu(e,0))),a=Uu(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},Ku={version:`2.3.1`,ucs2:{decode:zu,encode:Bu},decode:Wu,encode:Gu,toASCII:function(e){return Ru(e,function(e){return ju.test(e)?`xn--`+Gu(e):e})},toUnicode:function(e){return Ru(e,function(e){return Au.test(e)?Wu(e.slice(4).toLowerCase()):e})}};function qu(e){try{return Ku.toUnicode(URL.parse(e).hostname.replace(/^www\./,``).replace(/\/$/,``))}catch{return``}}var Ju=xc(qu),Yu=new xu({concurrency:1,interval:1e3,intervalCap:1}),Xu=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function Zu(e){for(let t=0;t<Xu.length;t++){let n=e.match(Xu[t])?.[1];if(n)return n}return null}var Qu=/(twitter|github)\.com/i,$u={};function ed(e,t){let n=uu(t);if(!n)return;let{domain:r,acct:i}=n,a=`${i}@${r}`;if(Q.accounts[a]){let e=Q.accounts[a];return Q.unfurledLinks[t]={id:e.id,instance:r,url:`/${r}/a/${e.id}/c`,collections:!0},Promise.resolve(Q.unfurledLinks[t])}let{masto:o}=ml({instance:r});return o.v1.accounts.lookup({acct:i}).then(e=>(Q.accounts[a]=e,Q.unfurledLinks[t]={id:e.id,instance:r,url:`/${r}/a/${e.id}/c`,collections:!0},Q.unfurledLinks[t])).catch(()=>{})}function td(e,t){let n=Sa(Q);if(Qu.test(t)||$u[t])return;if(RegExp(e+`/`).test(n.unfurledLinks[t]?.url))return Promise.resolve(n.unfurledLinks[t]);let r,i=t;/\/\/elk\.[^\/]+\/[^\/]+\.[^\/]+/i.test(i)&&(i=i.replace(/elk\.[^\/]+\//i,``)),/\/\/trunks\.[^\/]+\/status\/[^\/]+\.[^\/]+/i.test(i)&&(i=i.replace(/trunks\.[^\/]+\/status\//i,``)),/\/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(i)&&(i=`https://${i.split(`/#/`)[1].replace(/\/s\//i,`/@fakeUsername/`)}`);let a=URL.parse(i);if(!a)return;let o=a.hostname,s=a.pathname;if(!o)return;let c=Zu(s);if(c){let e=c,{masto:t}=ml({instance:o});r=t.v1.statuses.$select(e).fetch().then(e=>{if(e?.id)return{status:e,instance:o};throw Error(`No results`)})}let{masto:l}=ml({instance:e}),u=l.v2.search.fetch({q:i,type:`statuses`,resolve:!0,limit:1}).then(t=>{let{statuses:n}=t;if(n.length>0){let t=n.filter(e=>!e.content?.toLowerCase().includes(i.toLowerCase()));if(t.length===1)return{status:t[0],instance:e}}throw Error(`No results`)});function d(e){let{status:n,instance:r}=e,{id:a}=n,o=`/${r}/s/${a}`,s=i!==t,c={id:a,instance:r,url:o,originalURL:t,originalDomain:Ju(t),canonicalURL:s?i:void 0,canonicalDomain:s?Ju(i):void 0};return Q.unfurledLinks[t]=c,md(n,r,{skipThreading:!0}),c}function f(e){$u[t]=!0}return r?Promise.race([u,new Promise((e,t)=>setTimeout(t,3e3))]).catch(()=>r.catch(()=>u)).then(d).catch(f):u.then(d).catch(f)}var nd=(e,t,n)=>Yu.add(()=>td(e,t),{signal:n}),rd=(e,t)=>Yu.add(()=>ed(e,t));function id(){let e=G.session.getJSON(`prevLocation`);return e&&e.pathname?e:null}var Q=ba({appVersion:{},prevLocation:id(),currentLocation:null,statuses:{},statusThreadNumber:{},home:[],homeNew:[],homeLast:null,homeLastFetchTime:null,notifications:[],notificationsLast:null,notificationsNew:[],notificationsShowNew:!1,notificationsLastFetchTime:null,reloadStatusPage:0,reloadGenericAccounts:{id:null,counter:0},reloadScheduledPosts:0,spoilers:{},spoilersMedia:{},revealedQuotes:{},scrollPositions:{},unfurledLinks:{},statusQuotes:{},statusFollowedTags:{},statusReply:{},accounts:{},routeNotification:null,composerState:{},showCompose:!1,showSettings:!1,showAccount:!1,showAccounts:!1,showDrafts:!1,showMediaModal:!1,showShortcutsSettings:!1,showKeyboardShortcutsHelp:!1,showGenericAccounts:!1,showMediaAlt:!1,showEmbedModal:!1,showReportModal:!1,showQrCodeModal:!1,showQrScannerModal:!1,showImportExportAccounts:!1,showSearchCommand:!1,shortcuts:[],settings:{autoRefresh:!1,shortcutsViewMode:null,shortcutsColumnsMode:!1,boostsCarousel:!0,contentTranslation:!0,contentTranslationTargetLanguage:null,contentTranslationHideLanguages:[],contentTranslationAutoInline:!1,shortcutSettingsCloudImportExport:!1,mediaAltGenerator:!1,composerGIFPicker:!1,cloakMode:!1,hideTrendingTimeline:!1,hideLocalTimeline:!1,hideFederatedTimeline:!1,paginatedTimeline:!1,autoHideBars:!0}});function ad(){Q.notificationsLast=G.account.get(`notificationsLast`)||null,Q.shortcuts=G.account.get(`shortcuts`)??[],Q.settings.autoRefresh=G.account.get(`settings-autoRefresh`)??!1,Q.settings.shortcutsViewMode=G.account.get(`settings-shortcutsViewMode`)??null,G.account.get(`settings-shortcutsColumnsMode`)&&(Q.settings.shortcutsColumnsMode=!0),Q.settings.boostsCarousel=G.account.get(`settings-boostsCarousel`)??!0,Q.settings.contentTranslation=G.account.get(`settings-contentTranslation`)??!0,Q.settings.contentTranslationTargetLanguage=G.account.get(`settings-contentTranslationTargetLanguage`)||null,Q.settings.contentTranslationHideLanguages=G.account.get(`settings-contentTranslationHideLanguages`)||[],Q.settings.contentTranslationAutoInline=G.account.get(`settings-contentTranslationAutoInline`)??!1,Q.settings.shortcutSettingsCloudImportExport=G.account.get(`settings-shortcutSettingsCloudImportExport`)??!1,Q.settings.mediaAltGenerator=G.account.get(`settings-mediaAltGenerator`)??!1,Q.settings.composerGIFPicker=G.account.get(`settings-composerGIFPicker`)??!1,Q.settings.cloakMode=G.account.get(`settings-cloakMode`)??!1,Q.settings.hideTrendingTimeline=G.account.get(`settings-hideTrendingTimeline`)??!1,Q.settings.hideLocalTimeline=G.account.get(`settings-hideLocalTimeline`)??!1,Q.settings.hideFederatedTimeline=G.account.get(`settings-hideFederatedTimeline`)??!1,Q.settings.paginatedTimeline=G.account.get(`settings-paginatedTimeline`)??!1,Q.settings.autoHideBars=G.account.get(`settings-autoHideBars`)??!0}Ql(Q,`notificationsLast`,e=>{G.account.set(`notificationsLast`,Q.notificationsLast)}),xa(Q,e=>{for(let[t,n,r,i]of e)n.join(`.`)===`settings.autoRefresh`&&G.account.set(`settings-autoRefresh`,!!r),n.join(`.`)===`settings.boostsCarousel`&&G.account.set(`settings-boostsCarousel`,!!r),n.join(`.`)===`settings.shortcutsViewMode`&&G.account.set(`settings-shortcutsViewMode`,r),n.join(`.`)===`settings.contentTranslation`&&G.account.set(`settings-contentTranslation`,!!r),n.join(`.`)===`settings.contentTranslationAutoInline`&&G.account.set(`settings-contentTranslationAutoInline`,!!r),n.join(`.`)===`settings.shortcutSettingsCloudImportExport`&&G.account.set(`settings-shortcutSettingsCloudImportExport`,!!r),n.join(`.`)===`settings.contentTranslationTargetLanguage`&&G.account.set(`settings-contentTranslationTargetLanguage`,r),/^settings\.contentTranslationHideLanguages/i.test(n.join(`.`))&&G.account.set(`settings-contentTranslationHideLanguages`,Q.settings.contentTranslationHideLanguages),n.join(`.`)===`settings.mediaAltGenerator`&&G.account.set(`settings-mediaAltGenerator`,!!r),n.join(`.`)===`settings.composerGIFPicker`&&G.account.set(`settings-composerGIFPicker`,!!r),n?.[0]===`shortcuts`&&G.account.set(`shortcuts`,Q.shortcuts),n.join(`.`)===`settings.cloakMode`&&G.account.set(`settings-cloakMode`,!!r),n.join(`.`)===`settings.hideTrendingTimeline`&&G.account.set(`settings-hideTrendingTimeline`,!!r),n.join(`.`)===`settings.hideLocalTimeline`&&G.account.set(`settings-hideLocalTimeline`,!!r),n.join(`.`)===`settings.hideFederatedTimeline`&&G.account.set(`settings-hideFederatedTimeline`,!!r),n.join(`.`)===`settings.paginatedTimeline`&&G.account.set(`settings-paginatedTimeline`,!!r),n.join(`.`)===`settings.autoHideBars`&&G.account.set(`settings-autoHideBars`,!!r)});function od(){Q.showCompose=!1,Q.showSettings=!1,Q.showAccount=!1,Q.showAccounts=!1,Q.showDrafts=!1,Q.showMediaModal=!1,Q.showShortcutsSettings=!1,Q.showKeyboardShortcutsHelp=!1,Q.showGenericAccounts=!1,Q.showMediaAlt=!1,Q.showEmbedModal=!1,Q.showReportModal=!1,Q.showQrCodeModal=!1,Q.showQrScannerModal=!1,Q.showImportExportAccounts=!1}function sd(e,t){if(e)return t?`${t}/${e}`:e}function cd(e,t){if(t){let n=sd(e,t);return Q.statuses[n]}return Q.statuses[e]}function ld(e,t,n){let r=sd(e.id,t);if(n?._pinned&&(e._pinned=n._pinned),Q.statuses[r]=e,e.reblog?.id){let n=sd(e.reblog.id,t);Q.statuses[n]=e.reblog,r=n}let i=e.reblog?.quote||e.quote;if(i?.id){let{id:e}=i,n=sd(e,t);Q.statuses[n]=i;let a=`/${t}/s/${e}`;Q.statusQuotes[r]=[{id:e,instance:t,url:a,native:!0}]}if(i?.state){let{quotedStatus:e,state:n}=i;if(e?.id){let{id:i,account:a}=e,o=`/${t}/s/${i}`,s=sd(i,t);Q.statuses[s]=e,Q.statusQuotes[r]=[{id:i,instance:t,url:o,state:n,account:a,native:!0}]}else Q.statusQuotes[r]=[{state:n,native:!0}]}}var ud=[],dd=!1;function fd(){dd=!1;let e=ud.splice(0);for(let{status:t,instance:n,oldStatus:r}of e)ld(t,n,r)}function pd(e,t,n){ud.push({status:e,instance:t,oldStatus:n}),!dd&&(dd=!0,queueMicrotask(fd))}function md(e,t,n){typeof t==`object`&&(n=t,t=null);let{override:r=!0,skipThreading:i=!1,skipUnfurling:a=!1,sync:o=!1}=n||{};if(!e)return;let s=cd(e.id,t);!r&&s||Yl(e,s)||(o?ld(e,t,s):pd(e,t,s),i||setTimeout(()=>{gd(e.reblog||e,t)},100),a||setTimeout(()=>{vd(e.reblog||e,t)},100))}function hd(e,t){let{masto:n,instance:r}=ml({instance:t}),i=0;async function a(e,t=0){let{inReplyToId:n,inReplyToAccountId:o}=e;if(!n||o!==e.account.id)return[e];if(n&&o!==e.account.id)throw`Not a thread`;let s=sd(n,r),c=Q.statuses[s];if(!c){if(i++>3)throw`Too many fetches for thread`;await new Promise(e=>setTimeout(e,500*i)),c=await yd(n,r),md(c,r,{skipThreading:!0})}return[...await a(c,++t),e]}return a(e).then(e=>{e.length>1&&e.forEach((e,t)=>{let n=sd(e.id,r);Q.statusThreadNumber[n]=t+1})}).catch(e=>{})}var gd=pu(hd,100),_d=document.createElement(`div`);function vd(e,t){let{instance:n}=ml(),r=e?.content;if(/<a/i.test(r)){let i=sd(e?.id,t);_d.innerHTML=r,[..._d.querySelectorAll(`a[href]:not(.u-url):not(.mention):not(.hashtag)`)].filter(t=>{let n=t.href;return!(n===e.url||n===e.uri)&&du(n)}).forEach((t,r)=>{uu(t.href)?rd(n,t.href):nd(n,t.href).then(t=>{t&&i&&t?.id!==e.id&&(Array.isArray(Q.statusQuotes[i])||(Q.statusQuotes[i]=[]),Q.statusQuotes[i][r]||Q.statusQuotes[i].splice(r,0,t))})})}}var yd=fu((e,t)=>{let{masto:n}=ml({instance:t});return n.v1.statuses.$select(e).fetch()});function bd(e,t){let n=t&&t.cache?t.cache:Od,r=t&&t.serializer?t.serializer:Ed;return(t&&t.strategy?t.strategy:Td)(e,{cache:n,serializer:r})}function xd(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Sd(e,t,n,r){let i=xd(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function Cd(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function wd(e,t,n,r,i){return n.bind(t,e,r,i)}function Td(e,t){let n=e.length===1?Sd:Cd;return wd(e,this,n,t.cache.create(),t.serializer)}var Ed=function(){return JSON.stringify(arguments)},Dd=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Od={create:function(){return new Dd}};function kd(e){return Intl.getCanonicalLocales(e)}var Ad={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`}}]}}},jd={"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),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`.split(`.`),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`.split(`.`),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`.split(`.`),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`.split(`.`),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`.split(`.`)},Md=/-u(?:-[0-9a-z]{2,8})+/gi;function Nd(e,t,n=Error){if(!e)throw new n(t)}var Pd=838,Fd;function Id(){if(!Fd){let e=Ad.supplemental.languageMatching[`written-new`][0]?.paradigmLocales?._locales.split(` `),t=Ad.supplemental.languageMatching[`written-new`].slice(1,5);Fd={matches:Ad.supplemental.languageMatching[`written-new`].slice(5).map(e=>{let t=Object.keys(e)[0],n=e[t];return{supported:t,desired:n._desired,distance:+n._distance,oneway:n.oneway===`true`}},{}),matchVariables:t.reduce((e,t)=>{let n=Object.keys(t)[0],r=t[n];return e[n.slice(1)]=r._value.split(`+`),e},{}),paradigmLocales:[...e,...e.map(e=>new Intl.Locale(e.replace(/_/g,`-`)).maximize().toString())]}}return Fd}function Ld(e,t,n){let[r,i,a]=t.split(`-`),o=!0;if(a&&a[0]===`$`){let t=a[1]!==`!`,r=(t?n[a.slice(1)]:n[a.slice(2)]).map(e=>jd[e]||[e]).reduce((e,t)=>[...e,...t],[]);o&&=r.indexOf(e.region||``)>-1==t}else o&&=e.region?a===`*`||a===e.region:!0;return o&&=e.script?i===`*`||i===e.script:!0,o&&=e.language?r===`*`||r===e.language:!0,o}function Rd(e){return[e.language,e.script,e.region].filter(Boolean).join(`-`)}function zd(e,t,n){for(let r of n.matches){let i=Ld(e,r.desired,n.matchVariables)&&Ld(t,r.supported,n.matchVariables);if(!r.oneway&&!i&&(i=Ld(e,r.supported,n.matchVariables)&&Ld(t,r.desired,n.matchVariables)),i){let i=r.distance*10;return n.paradigmLocales.indexOf(Rd(e))>-1==n.paradigmLocales.indexOf(Rd(t))>-1?i:i-1}}throw Error(`No matching distance found`)}function Bd(e,t){let n=new Intl.Locale(e).maximize(),r=new Intl.Locale(t).maximize(),i={language:n.language,script:n.script||``,region:n.region||``},a={language:r.language,script:r.script||``,region:r.region||``},o=0,s=Id();return i.language!==a.language&&(o+=zd({language:n.language,script:``,region:``},{language:r.language,script:``,region:``},s)),i.script!==a.script&&(o+=zd({language:n.language,script:i.script,region:``},{language:r.language,script:a.script,region:``},s)),i.region!==a.region&&(o+=zd(i,a,s)),o}var Vd=bd(Bd,{serializer:e=>`${e[0]}|${e[1]}`});function Hd(e){let t=[],n=e;for(;n;){t.push(n);let e=n.lastIndexOf(`-`);if(e===-1)break;n=n.substring(0,e)}return t}var Ud=new WeakMap;function Wd(e,t,n=Pd){let r=1/0,i={matchedDesiredLocale:``,distances:{}},a=Ud.get(t);a||(a=t.map(e=>{try{return Intl.getCanonicalLocales([e])[0]||e}catch{return e}}),Ud.set(t,a));let o=new Set(a);for(let t=0;t<e.length;t++){let n=e[t];if(o.has(n)){let e=0+t*40;if(i.distances[n]={[n]:e},e<r&&(r=e,i.matchedDesiredLocale=n,i.matchedSupportedLocale=n),t===0)return i}}for(let t=0;t<e.length;t++){let n=e[t];try{let e=new Intl.Locale(n).maximize().toString();if(e!==n){let a=Hd(e);for(let s=0;s<a.length;s++){let c=a[s];if(c!==n&&o.has(c)){let a;try{a=new Intl.Locale(c).maximize().toString()===e?0+t*40:s*10+t*40}catch{a=s*10+t*40}i.distances[n]||(i.distances[n]={}),i.distances[n][c]=a,a<r&&(r=a,i.matchedDesiredLocale=n,i.matchedSupportedLocale=c);break}}}}catch{}}return i.matchedSupportedLocale&&r===0?i:(r=1/0,e.forEach((e,n)=>{i.distances[e]||(i.distances[e]={}),a.forEach((a,o)=>{let s=t[o],c=Vd(e,a)+0+n*40;i.distances[e][s]=c,c<r&&(r=c,i.matchedDesiredLocale=e,i.matchedSupportedLocale=s)})}),r>=n&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0),i)}function Gd(e,t,n){let r,i,a=[],o=t.reduce((e,t)=>{let n=t.replace(Md,``);return a.push(n),e[n]=t,e},{}),s=Wd(a,e);return s.matchedSupportedLocale&&s.matchedDesiredLocale&&(r=s.matchedSupportedLocale,i=o[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length)||void 0),r?{locale:r,extension:i}:{locale:n()}}function Kd(e,t){let n=t.toLowerCase();return Nd(e!==void 0,`ukey must be defined`),n}function qd(e){return Intl.getCanonicalLocales(e)[0]}function Jd(e,t,n){Nd(e.indexOf(`-u-`)===-1,`Expected locale to not have a Unicode locale extension`);let r=`-u`;for(let e of t)r+=`-${e}`;for(let e of n){let{key:t,value:n}=e;r+=`-${t}`,n!==``&&(r+=`-${n}`)}if(r===`-u`)return qd(e);let i=e.indexOf(`-x-`),a;if(i===-1)a=e+r;else{let t=e.slice(0,i),n=e.slice(i);a=t+r+n}return qd(a)}var Yd=new WeakMap;function Xd(e,t){let n=Yd.get(e);n||(n=new Set(e),Yd.set(e,n));let r=t;for(;;){if(n.has(r))return r;let e=r.lastIndexOf(`-`);if(!~e)return;e>=2&&r[e-2]===`-`&&(e-=2),r=r.slice(0,e)}}function Zd(e,t,n){let r={locale:``};for(let n of t){let t=n.replace(Md,``),i=Xd(e,t);if(i)return r.locale=i,n!==t&&(r.extension=n.slice(t.length,n.length)),r}return r.locale=n(),r}function Qd(e){Nd(e===e.toLowerCase(),`Expected extension to be lowercase`),Nd(e.slice(0,3)===`-u-`,`Expected extension to be a Unicode locale extension`);let t=[],n=[],r,i=e.length,a=3;for(;a<i;){let o=e.indexOf(`-`,a),s;s=o===-1?i-a:o-a;let c=e.slice(a,a+s);Nd(s>=2,`Expected a subtag to have at least 2 characters`),r===void 0&&s!=2?t.indexOf(c)===-1&&t.push(c):s===2?(r={key:c,value:``},n.find(e=>e.key===r?.key)===void 0&&n.push(r)):r?.value===``?r.value=c:(Nd(r!==void 0,`Expected keyword to be defined`),r.value+=`-`+c),a+=s+1}return{attributes:t,keywords:n}}function $d(e,t,n,r,i,a){let o=n.localeMatcher,s;s=o===`lookup`?Zd(Array.from(e),t,a):Gd(Array.from(e),t,a),s??={locale:a(),extension:``};let c=s.locale,l=i[c],u={locale:`en`,dataLocale:c},d,f;s.extension?(d=Qd(s.extension),f=d.keywords):f=[];let p=[];for(let e of r){let t=l?.[e]??[];Nd(Array.isArray(t),`keyLocaleData for ${e} must be an array`);let r=t[0];Nd(r===void 0||typeof r==`string`,`value must be a string or undefined`);let i,a=f.find(t=>t.key===e);if(a){let n=a.value;n===``?t.indexOf(`true`)>-1&&(r=`true`,i={key:e,value:r}):t.indexOf(n)>-1&&(r=n,i={key:e,value:r})}let o=n[e];Nd(o==null||typeof o==`string`,`optionsValue must be a string or undefined`),typeof o==`string`&&(o=Kd(e.toLowerCase(),o),o===``&&(o=`true`)),o!==r&&t.indexOf(o)>-1&&(r=o,i=void 0),i&&p.push(i),u[e]=r}let m=[];return p.length>0&&(m=[],c=Jd(c,m,p)),u.locale=c,u}function ef(e,t){let n=[];for(let r of t){let t=Xd(e,r.replace(Md,``));t&&n.push(t)}return n}function tf(e,t,n,r){return $d(t,kd(e),{localeMatcher:r?.algorithm||`best fit`},[],{},()=>n).locale}var nf=`localeMatchCache`;function rf(...e){try{return tf(...e)}catch{return e[2]||!1}}typeof window<`u`&&(window._localeMatch=rf);function af(e){return function(...t){let n=t.map(e=>Array.isArray(e)?e.join(`,`):e).join(`|`),r;try{r=G.session.getJSON(nf)||{}}catch{return e(...t)}if(r[n])return r[n];let i=e(...t);try{r[n]=i,G.session.setJSON(nf,r)}catch{}return i}}var of=xc(af(rf)),sf=`modulepreload`,cf=function(e,t){return new URL(e,t).href},lf={},$=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=cf(t,n),t in lf)return;lf[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:sf,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},uf=M(),df=`sprite-icon`;function ff({children:e}){let[t,n]=L(new Set),[r,i]=L({}),a={loadIcon:V(async e=>{if(!t.has(e))try{let{ICONS:t}=await $(async()=>{let{ICONS:e}=await import(`./ICONS-DIPJeU0C.js`).then(e=>e.n);return{ICONS:e}},__vite__mapDeps([0,1]),import.meta.url),r=t[e];if(!r)return;let a;a=Array.isArray(r)?r[0]:typeof r==`object`?r.module:r;let o=(await a()).default;i(t=>({...t,[e]:o})),n(t=>new Set([...t,e]))}catch{}},[t]),isIconLoaded:V(e=>t.has(e),[t]),loadedIcons:t,iconData:r};return N(uf.Provider,{value:a,children:[e,N(pf,{})]})}function pf(){let{loadedIcons:e,iconData:t}=hf();return e.size===0?null:N(`svg`,{style:{display:`none`},"aria-hidden":`true`,children:N(`defs`,{children:Array.from(e).map(e=>{let n=t[e];return n?N(mf,{iconName:e,data:n},e):null})})})}var mf=Jt(function({iconName:e,data:t}){return N(`symbol`,{id:`${df}-${e}`,viewBox:`0 0 ${t.width} ${t.height}`,dangerouslySetInnerHTML:{__html:t.body}})},(e,t)=>e.iconName===t.iconName);function hf(){let e=H(uf);if(!e)throw Error(`useIconSprite must be used within IconSpriteProvider`);return e}function gf({abrupt:e,hidden:t,...n}){return N(`span`,{...n,class:`loader-container ${e?`abrupt`:``} ${t?`hidden`:``}`,children:N(`span`,{class:`loader`})})}var _f=[{code:`ar-SA`,nativeName:`العربية`,name:`Arabic`,completion:19,listed:!1},{code:`ca-ES`,nativeName:`català`,name:`Catalan`,completion:100,listed:!0},{code:`cs-CZ`,nativeName:`čeština`,name:`Czech`,completion:62,listed:!0},{code:`de-DE`,nativeName:`Deutsch`,name:`German`,completion:85,listed:!0},{code:`eo-UY`,nativeName:`Esperanto`,name:`Esperanto`,completion:82,listed:!0},{code:`es-ES`,nativeName:`español`,name:`Spanish`,completion:100,listed:!0},{code:`eu-ES`,nativeName:`euskara`,name:`Basque`,completion:92,listed:!0},{code:`fa-IR`,nativeName:`فارسی`,name:`Persian`,completion:54,listed:!0},{code:`fi-FI`,nativeName:`suomi`,name:`Finnish`,completion:94,listed:!0},{code:`fr-FR`,nativeName:`français`,name:`French`,completion:95,listed:!0},{code:`gl-ES`,nativeName:`galego`,name:`Galician`,completion:100,listed:!0},{code:`he-IL`,nativeName:`עברית`,name:`Hebrew`,completion:34,listed:!1},{code:`it-IT`,nativeName:`italiano`,name:`Italian`,completion:94,listed:!0},{code:`ja-JP`,nativeName:`日本語`,name:`Japanese`,completion:63,listed:!0},{code:`kab`,nativeName:`Taqbaylit`,name:`Kabyle`,completion:83,listed:!0},{code:`ko-KR`,nativeName:`한국어`,name:`Korean`,completion:68,listed:!0},{code:`lt-LT`,nativeName:`lietuvių`,name:`Lithuanian`,completion:78,listed:!0},{code:`nb-NO`,nativeName:`norsk bokmål`,name:`Norwegian Bokmål`,completion:39,listed:!1},{code:`nl-NL`,nativeName:`Nederlands`,name:`Dutch`,completion:57,listed:!0},{code:`pl-PL`,nativeName:`polski`,name:`Polish`,completion:100,listed:!0},{code:`pt-BR`,nativeName:`português`,name:`Portuguese`,completion:100,listed:!0},{code:`pt-PT`,nativeName:`português`,name:`Portuguese`,completion:79,listed:!0},{code:`ru-RU`,nativeName:`русский`,name:`Russian`,completion:92,listed:!0},{code:`th-TH`,nativeName:`ไทย`,name:`Thai`,completion:7,listed:!1},{code:`tr-TR`,nativeName:`Türkçe`,name:`Turkish`,completion:39,listed:!1},{code:`uk-UA`,nativeName:`українська`,name:`Ukrainian`,completion:91,listed:!0},{code:`zh-CN`,nativeName:`简体中文`,name:`Simplified Chinese`,completion:100,listed:!0},{code:`zh-TW`,nativeName:`繁體中文`,name:`Traditional Chinese`,completion:32,listed:!1}],vf=_f,yf=[`en`,..._f.filter(({listed:e})=>e).map(({code:e})=>e)],bf=yf,xf=[],Sf=xf,Cf=[...yf,...xf],wf=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})};function Tf(e,t={useSessionStorage:!1}){return t.useSessionStorage?globalThis.sessionStorage.getItem(e):globalThis.localStorage.getItem(e)}function Ef(e=globalThis.navigator){return e.language||e.userLanguage}function Df(e){let t=/([^=?#&]+)=?([^&]*)/g,n={},r;for(;r=t.exec(e);){let e=Of(r[1]),t=Of(r[2]);e===null||t===null||e in n||(n[e]=t)}return n}function Of(e){try{return decodeURIComponent(e.replace(/\+/g,` `))}catch{return null}}function kf(e,t=globalThis.location){if(!e)throw Error(`fromUrl parameter is required`);return Df(t.search)[e]||null}function Af(...e){let t=[];for(let n=0;n<e.length;n++){let r=typeof e[n]==`function`?e[n]():e[n];r&&t.push(r)}return t}var jf=/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,Mf=/^([a-zA-Z]{2,3}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-(?:[a-zA-Z]{2}|\d{3}))?(-(?:[a-zA-Z\d]{5,8}|\d[a-zA-Z\d]{3}))?$/,Nf=class e{constructor(e){if(typeof e!=`string`)throw TypeError(`A string argument is expected`);if(!Mf.test(e))throw RangeError(`A proper locale must be provided`);this._locale=e}static _escapeRegExpPattern(e){return typeof e==`string`?e.replace(jf,`\\$1`):e}static _toLowerCase(e,t){return typeof e==`string`?e.toLowerCase():t&&e}static _toUpperCase(e,t){return typeof e==`string`?e.toUpperCase():t&&e}static _trim(e,t,n){let r=[],i,a=function(e){r.push(`^`+e+`+|`+e+`+$`)};if(typeof t==`boolean`&&(n=t,t=null),typeof e!=`string`)return n?e:void 0;Array.isArray(t)&&t.map(e=>{a(this._escapeRegExpPattern(e))}),typeof t==`string`&&a(this._escapeRegExpPattern(t)),t||a(`\\s`);let o=`(`+r.join(`|`)+`)`;for(i=new RegExp(o,`g`);e.match(i);)e=e.replace(i,``);return e}static _parseLocale(e){if(typeof e!=`string`)return;let t=Mf.exec(e),n,r,i;if(!e||!t)return;let a=this._trim(t[2],[`-`,`_`]),o=this._trim(t[3],[`-`,`_`]);return n=this._toLowerCase(t[1]),r=this._toLowerCase(a)||r,i=this._toUpperCase(o)||i,{lang:n,script:r,countryCode:i}}_isRtlLang(){let{lang:t,script:n}=e._parseLocale(this._locale);return n?e._RTL_SCRIPTS.indexOf(n)>=0:e._BIDI_RTL_LANGS.indexOf(t)>=0}getTextInfo(){return{direction:this._isRtlLang()?`rtl`:`ltr`}}};Nf._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`.split(`.`),Nf._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`.split(`.`);var Pf=t({messages:()=>Ff}),Ff=JSON.parse(`{"-38pse":["Reply scheduled"],"-3FjPq":["Unable to report post"],"-71G9C":[["count","plural",{"1":[["account"]," followed you."],"other":["<0><1>",["0"],"</1> people</0> followed you."]}]],"-8W4nA":["Delete this collection?"],"-9E7iR":["Connected on ",["0"]," (<0/>)"],"-Cxvld":["<0>Shift</0> + <1>c</1>"],"-GkIdc":["Scheduled Posts"],"-H9yli":["Unable to remove account"],"-IJm1Z":["Muted"],"-Kq2vY":["Shortcut settings copied"],"-MACwa":["No collections yet."],"-RZyRm":["Post hidden because you've blocked ",["domain"],"."],"-XOeb-":["Boosted/Liked by…"],"-ZzjRY":[["hashtagTitle"]],"-_xYEI":["Switch to Side Peek view"],"-bAQ3S":["Only you can quote"],"-k97fV":["Nothing to see here yet."],"-kQ_cY":["Delete this list?"],"-kQy_G":["Edit notes"],"-niKJH":["anyone"],"-owNNn":["Posts"],"-syLpm":[["optionVotesCount","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"03Qqf9":["Filtered"],"03jFGT":["No one mentioned you :("],"03vjxE":["Replying to @",["0"]],"08IojR":["Unable to access camera. Please check permissions."],"09u3Kk":["Delete scheduled post?"],"0IrTm_":["Post collection"],"0J4sZq":["Error deleting drafts! Please try again."],"0MgdN-":["Back to top"],"0NXzv9":["Private posts cannot be quoted"],"0OHPem":["This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."],"0SdaOt":["Post translation"],"0WUFGD":["Showing posts in ",["0"]],"0X2KC8":["Boosts from @",["username"]," enabled."],"0YgcH9":["Go to Notifications"],"0h4_9h":[" Notifications disabled for @",["username"],"'s posts."],"0hbkwr":["server domain"],"0mC0SF":["Auto refresh timeline posts"],"0mebiX":[["selectedCount","plural",{"one":["Import ","#"," account"],"other":["Import ","#"," accounts"]}]],"0tG4wG":["Unable to unblock @",["username"]],"0tQ7AD":["Density"],"0tZAhT":["⚠️⚠️⚠️ Very experimental.<0/>Stored in your own 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"],"1DBGsz":["Notes"],"1HxK8h":["Hide Local timeline"],"1JZ175":[["0","plural",{"one":["#"," keyword"],"other":["#"," keywords"]}]],"1QfxQT":["Dismiss"],"1RfGk7":["Let's catch up on the posts from your followings."],"1TNIig":["Open"],"1atgyZ":["Note: your server might only show a maximum of 800 posts in the Home timeline regardless of the time range. Could be less or more."],"1dyGG_":["Catch-up ",["0"]," removed"],"1lGm1k":["A separate timeline for followings. Email-inspired interface to sort and filter posts."],"1njn7W":["Light"],"1o-mEC":["last 4 hours"],"1pKapz":["Send post"],"1qL-L-":["Specific list is optional. For multi-column mode, list is required, else the column will not be shown."],"1t_NnN":["Reject"],"237hSL":["Ended"],"24misb":["More…"],"24w-FD":[["years","plural",{"one":["#"," year later"],"other":["#"," years later"]}]],"27x6gl":["Copy handle"],"29r697":["Go to Bookmarks"],"2AeREO":["Unable to load followed hashtags."],"2BApYc":["Private mentions"],"2BBAbc":["List"],"2C0g0G":["Post unavailable"],"2EYeAZ":["The end."],"2FYpfJ":["More"],"2LiWsE":["Switch to Full view"],"2S_uvJ":[["0","plural",{"one":["#"," hashtag"],"other":["#"," hashtags"]}]],"2WtL62":["Pending review"],"2jI8hh":["Let's catch up"],"2oZ4Iw":["Error fetching quoted status!"],"2pjfev":["Unable to report collection"],"2tUUhP":["These accounts may have opted out of discovery or be on a server that doesn't support collections."],"2xahsi":["Continue with ",["selectedInstanceText"]],"2yr1_p":["New posts"],"32TndD":["Blocked"],"3HCpJW":["New collection"],"3IakFR":["Delete all drafts?"],"3Ib6FN":["Move down"],"3LkfZu":["Mention <0>@",["username"],"</0>"],"3OLv47":["Unable to unfeature on profile"],"3P1r1z":["Quote settings updated"],"3TSz9S":["Minimize"],"3Uoj83":["Error loading quotes"],"3W4MYO":["Moderated accounts"],"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"],"40naR1":["Scheduled post rescheduled"],"40z2Fm":["View profile…"],"41gejM":["Expand content warning or<0/>toggle expanded/collapsed thread"],"44hICK":["Unable to load account."],"48oDit":[["query"]," <0>‒ accounts, hashtags & posts</0>"],"4CZnNE":["Enter a new server e.g. \\"mastodon.social\\""],"4Dh9J1":["Unable to delete filter."],"4ERYY7":["Federated"],"4LHHK6":["More from <0/>"],"4MFM3P":["No hashtags found."],"4R1B1H":["Recent searches"],"4S86wI":["Looks like your browser is blocking popups."],"4UOm4A":[["0","plural",{"other":["<0>@",["1"],"</0> first, ","#"," others below"]}]],"4WUbF1":["Poll"],"4XF0BB":["Profile picture"],"4_RpOy":["Open in new window"],"4_iCqx":["Trending"],"4b3oEV":["Content"],"4cijjm":["Send Report"],"4uflEE":["Default visibility updated"],"4v_hQI":["Remove me from this collection?"],"5-87Pq":["Notification"],"52x24e":["Note: <0>Default</0> account will always be used for first load. Switched accounts will persist during the session."],"551IUY":["Unable to remove header picture."],"570qTm":["\\"Cloud\\" import/export for shortcuts settings"],"5GFQTh":["Unable to fetch notifications."],"5I1YZO":["Download shortcuts from server"],"5KJFnN":["Not available in current view mode"],"5Lvp3B":["Existing"],"5LwCCI":["Ended <0/>"],"5PGPvG":["View #Wrapstodon"],"5bAOta":["Post removed by author"],"5gfDMm":["Media description"],"5hXGws":["Open original media in new window"],"5t4KSs":["View Quotes"],"5vzJxv":[["0","plural",{"one":["#"," filter"],"other":["#"," filters"]}]],"5w02SH":["Shortcuts saved"],"5ykMJ1":["Reply all"],"63FG7O":["Hiding boosts"],"6Fs1Ba":["Follow requests"],"6GZBJp":["Switch to account's server ",["0"]],"6HA9-s":["No trending posts."],"6KkH-2":["<0>Version:</0> <1/> ",["0"]],"6LUsk7":["Push notifications are blocked. Please enable them in your browser settings."],"6MzUUU":["Append to current shortcuts?"],"6XYpYY":["Previous post"],"6XjvUL":["Screenshot of Phanpy home timeline on tablet device"],"6YeoAt":["Search: ",["q"]," (Posts)"],"6YtxFj":["Name"],"6ZjzWP":["Override current shortcuts?"],"6lGV3K":["Show less"],"6yILME":["Describe image…"],"73lp8c":["View profile"],"77Emn0":["Keyboard shortcuts"],"7FGvtQ":["Filtered: ",["filterTitleStr"]],"7Ff7ia":["Bookmarks"],"7I3sDQ":["Note: This feature uses external translation services, powered by <0>",["TRANSLATION_API_NAME"],"</0>."],"7KnEYa":["Unable to remove from list."],"7PQAMY":["Report post…"],"7QSeK6":["Unable to load posts."],"7Vb-qD":["last 11 hours"],"7WYl2I":["View profile image"],"7ZJHdw":["Home / Following"],"7d1a0d":["Public"],"7dHKu4":[["0","plural",{"one":["#"," follow request"],"other":["#"," follow requests"]}]],"7defFj":["Optional, e.g. mastodon.social"],"7e0O8Z":["Accounts…"],"7oRLbi":["Mutual"],"7r6sCa":["Text size"],"8-HOWa":["last 3 hours"],"84WuL2":["<0>l</0> or <1>f</1>"],"87a_t_":["Label"],"8Kudkr":["Shortcuts / Columns…"],"8MkSAW":["View post by <0>@",["0"],"</0>"],"8SN9kN":["Unable to mute conversation"],"8ZPzp0":["Posts tagged #",["tagged"]," by ",["accountDisplay"]],"8ab1sR":["Liked"],"8d0b8B":["Push permission was not granted since your last login. You'll need to <0><1>log in</1> again to grant push permission</0>."],"8fZueG":["Read more →"],"8i6Ueo":["Custom emojis"],"8iQ-jk":["No drafts found."],"8k2w6G":["No bookmarks yet. Go bookmark something!"],"8prZNK":[["0","plural",{"one":["#"," list"],"other":["#"," lists"]}]],"8r8KmB":["Show all sensitive content"],"8zsp51":["Generating description. Please wait…"],"95IFnD":["New update available…"],"98E0aM":[["index"],"/",["total"]],"9J6biQ":["Unable to switch"],"9KEidY":["Type to search GIFs"],"9KK2rC":["Bot accounts"],"9Ko-Xp":["Your followers can quote"],"9OpVZg":["Edit profile"],"9OzDUH":["Remove account…"],"9Q_4xJ":["Back to showing trending posts"],"9VPqHP":["Open media or post details"],"9Vdq-j":["Automated"],"9ZCilh":["Show media"],"9ZP9cc":["Forever"],"9groMz":["Translated Bio"],"9npOH9":["Open file"],"9q5uor":["Image description generator"],"9ra4hn":["Featured on profile"],"9tmn6W":["Add shortcut…"],"9veeTb":["Trending News"],"A05Pj6":["Thread ",["index"],"/",["total"]],"A1As8l":["beta"],"A1taO8":["Search"],"A3GDG1":["Log out and remove <0>@",["0"],"</0>"],"A6cs15":["Unable to unpin post"],"A7kMZX":[["0","plural",{"one":["#"," account"],"other":["#"," accounts"]}]],"AB_GtR":["Looks like you already have a compose field open in the parent window. Popping in this window will discard the changes you made in the parent window. Continue?"],"ACul2G":["Report @",["username"]],"AGyV7s":["Overlaps with your last catch-up"],"AIa_f7":["Compose new post"],"AJqQb-":["Show markup"],"AThL_k":["Error loading accounts"],"AWOSPo":["Zoom in"],"AZ2EoP":["<0>Built</0> by <1>@cheeaun</1>"],"Aadw0-":["Go to account page"],"AeM_di":["Account Emojis:"],"AeXO77":["Account"],"AgkUZa":["No featured profiles."],"AgkcM_":["@",["username"]," removed from followers"],"Ap_10-":["Looks like you have unsent drafts. Let's continue where you left off."],"AuiMZZ":["Search: ",["q"]," (Hashtags)"],"AzZ5zv":["Polls are not interactive, becomes a list with vote counts."],"B4Xkly":["Unmuted @",["username"]],"BATCqf":["Showing posts mentioning <0>",["0"],"</0>"],"BC0lSD":["Unable to copy handle"],"BEVzjL":["Import failed"],"BHObg8":["Quote chain"],"BHWx-g":["All Lists"],"BHjZV6":["Hiding replies"],"BMmtZ8":["See more accounts"],"BPjyR2":["Delete this filter?"],"BRV_wh":["This user has chosen to not make this information available."],"BcNdg-":["Change expiry"],"BiZJ6G":["No one has posted anything yet."],"BmW9JG":["Search my posts"],"BrLbQp":["This post is from another server (<0>",["instance"],"</0>). Interactions (reply, boost, etc) are not possible."],"BskFI2":["<0>Built</0> by <1>@cheeaun</1>. <2>Privacy Policy</2>."],"Buy2bt":["Home and lists"],"BvmBs6":["Manage accounts"],"Bz5hLl":["Go to original profile page"],"Bze3gr":["Auto (",["0"],")"],"C4x3-X":[["statusesCount","plural",{"one":["<0>",["0"],"</0> Post"],"other":["<1>",["1"],"</1> Posts"]}]],"C5zXYJ":["Header picture"],"C6cVP_":["<0>",["displayName"],"</0> has indicated that their new account is now:"],"C7ujRh":["Toggle Cloak mode"],"CDpQAX":["Remove poll"],"CGQ27z":["Screenshot of nested comments thread"],"CIHAsy":["Specify a list of shortcuts that'll appear\xA0as:"],"CKHUZ2":[["0"]," original posts, ",["1"]," replies, ",["2"]," quotes, ",["3"]," boosts"],"CNSLAW":["No one has posted anything with this tag yet."],"CTqTgr":["Shortcuts"],"CXk1bI":["Log out…"],"CeInO2":["Preview of Catch-up UI"],"CeJHfb":["Display language"],"Cf1xHf":["Paginated timeline (beta)"],"CkOaai":["Unable to add account"],"CxKPv6":["What is this?"],"Cxr3Kn":["Import/export settings from/to server (Very experimental)"],"D15TLa":["Featuring you"],"D3vX-9":["Login required."],"D7_2jB":["GIF Picker for composer"],"D9CmP2":["Remove this catch-up?"],"DA_qA3":["Switch to collection's server (",["serverDomain"],")"],"DHhJ7s":["Previous"],"DOQUen":[["0","plural",{"one":["#"," reply"],"other":["<0>",["1"],"</0> replies"]}]],"DPfwMq":["Done"],"DUMt1y":["List ID"],"DWumLi":["Import shortcuts?"],"DYowFe":["Skip carousel to next post"],"Did6le":["Posts in ",["monthYear"]," by ",["accountDisplay"]],"Djbaby":["Reload page now to update?"],"DlhB4J":["<0/> <1>boosted</1>"],"DnepCE":["Error: ",["e"]],"DoJzLz":["Collections"],"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"],"EIZREX":["Top links"],"ERceEl":[["account"]," edited a collection you're in."],"EVRO_o":["Max ",["SHORTCUTS_LIMIT"]," shortcuts"],"EarrCe":["Search emoji"],"EdQY6l":["None"],"EkH9pt":["Update"],"EnJuK0":["Conversations"],"EzMSOY":["Collections by ",["username"]],"F3cM1G":["Last post: <0>",["0"],"</0>"],"FFmj1D":["Volunteer translations"],"FKojeB":["Sensitive media"],"FMGfUd":["Remove my post from <0>@",["0"],"</0>'s post?"],"FNptcJ":["Posts on this list are hidden from Home/Following"],"FSeU2b":[["0","plural",{"one":["#"," collection"],"other":["#"," collections"]}]],"Fb2K8h":["Bookmarked @",["0"],"'s post"],"FbPNuJ":["Delete this post?"],"Fd8FaU":["<0>Shift</0> + <1>k</1>"],"FgdLx0":["Unable to fetch account info"],"FjkaiT":["Zoom out"],"Fm6c4W":["Add GIF"],"Fq4zw3":["Not sure what to add?<0/>Try adding <1>Home / Following and Notifications</1> first."],"Fr0hAN":["Unable to create filter"],"FwMMx0":["Unable to update profile."],"Fz4lZ1":["Your account has been suspended."],"G2fuEb":["Locked"],"GKuKcZ":["Posting on <0/>"],"GMe2XV":["Post"],"GP8RLS":["Hashtag"],"GRUr8d":["Disable boosts"],"GS-Mus":["Export"],"Gj4mrz":["Open link?"],"GkS6YG":["HTML Code"],"GlfmCu":["Pinned posts"],"GquPwe":["Add notes"],"Gy9P9T":["Next post"],"H0Vm3h":["<link><icon/> Collection</link> by <name/>"],"H0wUNM":["View notifications from <0>@",["0"],"</0>"],"H8RP-h":["Unable to edit filter"],"HBIZeo":["Unable to format math"],"HHtYi7":[["0","plural",{"one":["#"," author"],"other":["#"," authors"]}]],"HKrBPX":["Unfollow…"],"HOSk7R":["Following…"],"HQJU6W":["Unable to load replies."],"HSA2au":["Edit History Snapshots"],"H_MI1F":["Unable to load post."],"HajiZl":["Month"],"Hhfqft":["Report Collection"],"Hp1l6f":["Current"],"Hu-C6L":["Most followers"],"HxF6Fk":["Original"],"Hy80qV":["Remove <0>",["username"],"</0> from this collection?"],"Hzi9AA":["No posts found."],"I6pdY3":["Failed to update subscription. Please try again."],"I92Z-b":["Enable notifications"],"I9EnzM":["Reset filters"],"I9uBFA":["last 8 hours"],"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"],"Iq3FHt":["Note: This feature uses currently-logged-in server API."],"IrX0sj":["Post scheduled"],"Is7_PB":["Add an existing account"],"IvPikw":["No lists yet."],"J4ONfI":["Filter notifications from:"],"J6hrEy":["Dismissed"],"J6ypuD":["A"],"JRswkR":["Block <0>@",["username"],"</0>…"],"JWxodU":["Unable to load post"],"Jb6_SB":["Delete…"],"JsU2En":["Pop out"],"JvA7Mo":[["0","plural",{"one":["Last 1 post in the past year(s)"],"other":["Last ",["1"]," posts in the past year(s)"]}]],"Jy9RU_":["New notifications"],"JybQca":["Send Report <0>+ Block profile</0>"],"KDw4GX":["Try again"],"KFs8c6":["Reply (new window)"],"KI7v-9":["Hide Federated timeline"],"KMtgtM":["Edit audio description"],"KPFHM2":["Server rule violation"],"KPoj8w":["Unable to create list."],"KS7iJH":["You're all caught up."],"K_EtE6":["Post edits"],"KiyvHV":["Post deleted"],"KkDhfU":["Nothing yet."],"Kzwsg2":["Error loading custom emojis"],"L-HFfr":["Showing posts tagged with #",["0"]],"L8fEEm":["Group"],"L96xSt":["Hide results"],"L9fUm-":["What's the issue with this post?"],"LCX3ys":["Search <0>@",["username"],"</0>'s posts"],"LDUSXg":["Choice ",["0"]],"LFKLqp":["Share…"],"LQFF6J":["Liked by…"],"LUnwPh":["Screenshot of Catch-up"],"LVd2Ia":["Screenshot of Phanpy home timeline on mobile device"],"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"],"MPPZ54":["Add account"],"MQYucx":["Some media have no descriptions. Continue?"],"MRZxAn":["Edited"],"MWIaew":["Remove…"],"MXOmPt":["Notifications from <0>@",["0"],"</0>"],"MfJ43d":["Add media"],"MmYpxT":["Reply…"],"Mr53YX":["Show replies to people I follow"],"N1MyiN":["Unable to copy post text"],"N2FcBE":["Synced"],"N3Bq0f":[["0","plural",{"one":["Filtered notifications from ","#"," person"],"other":["Filtered notifications from ","#"," people"]}]],"N40H-G":["All"],"N4z4P_":["List may not work if it's from a different account."],"N8UzTV":["Replies"],"NAjVvt":["Default visibility"],"NCy-Nw":["Go to main post"],"NMNiaO":["until the max"],"NNrlf5":[["index"],"/X"],"NPXprJ":["Only followers can quote this post"],"NSSJsj":[["0"],"h"],"NU7wa_":["Media attachments can be images, videos, audios or any file types."],"Nc_W5J":["See more hashtags"],"Ng063n":["Donate"],"Ni40GV":["Failed to unwrap quote chain"],"NnRCUm":[["0"],"s"],"Nu4oKW":["Description"],"NuKR0h":["Others"],"NunZZQ":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted & liked your reply."],"other":[["account"]," boosted & liked your post."]}]],"other":[["account"]," boosted & liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"],"</1> people</0> boosted & liked your reply."],"other":["<2><3>",["1"],"</3> people</2> boosted & liked your post."]}]]}]],"NuqppG":[["0","plural",{"one":["#"," Boost"],"other":["#"," Boosts"]}]],"NwBwmN":["Report collection…"],"O1Aswy":["Never expires"],"O2tNG0":["Ending"],"O4cLCR":["Sponsor"],"ODqZt1":["[Unknown notification type: ",["type"],"]"],"OISAkj":["Remove hashtag"],"OKiofn":["Edit History"],"OOEonE":["Show me all posts from…"],"OOa7_5":["Import/Export <0>Shortcuts</0>"],"OcUmcH":["Unlike"],"OdVhdR":["<0>New</0> <1>Follow Requests</1>"],"Ogtv0V":["A minimalistic opinionated Mastodon web client."],"OgyJSr":["Local only"],"OiUYO5":["Mute conversation"],"OqaQnE":["View Edit History Snapshots"],"Ov9hfp":["last 1 hour"],"Owr_5-":["Unable to feature @",["username"]," on your profile."],"PBFNgg":["followers"],"PCcEFZ":["Joined <0>",["0"],"</0>"],"PHIrMr":["No likes yet. Go like something!"],"PM7llw":["Don't show replies"],"PPcets":["Set as default"],"PZgZtY":["Switch in new tab/window"],"PZlHt8":["Bookmark"],"PbFw9n":["Error loading GIFs"],"PbHARL":["Automatically show translation for posts in timeline. Only works for <0>short</0> posts without content warning, media and poll."],"Pc7QKh":["Effortlessly follow conversations. Semi-collapsible replies."],"PcoS3v":["Posting"],"PdNgnE":["New accounts"],"PgVqvd":["Federated timeline (",["instance"],")"],"PiPfua":["Version string copied"],"PiVIlD":["Boost…"],"PjP87f":["View post stats"],"Pm-5jw":["Conversation unmuted"],"PssvYb":["Unable to delete collection."],"Pwqkdw":["Loading…"],"Q1Huya":["Replying to @",["0"],"’s post (<0>",["1"],"</0>)"],"Q3yArs":["An admin from <0>",["from"],"</0> has blocked <1>",["targetName"],"</1>. Affected followers: ",["followersCount"],", followings: ",["followingCount"],"."],"Q5COHO":["Invalid server"],"QDEWii":["Verified"],"QL-7Jw":["Show Edit History"],"QO9uTx":["Shortcuts imported"],"QOhkyl":["Compose"],"QPtB2n":["Header picture has no description. Continue?"],"Q_HUhC":["Unmute <0>@",["username"],"</0>"],"QfD1qq":["Delete this field?"],"Qh-0sm":["<0>",["key1"],"</0> then <1>",["key2"],"</1>"],"Qopbnd":["Show featured profiles"],"QqW27M":["Reschedule"],"QyioBP":["Move up"],"QzzGsY":["Unboost"],"R-Pgtr":["No login information or account access details are stored in the exported files. You will need to log in again for each account after importing."],"R0yu2l":["Catch up"],"R20Yf9":["Translate from ",["sourceLangText"]," (auto-detected)"],"R4PmPA":["Post could be edited or deleted later."],"R7ep1i":["Unable to edit list."],"R8CUl0":[["0"]," posts above ‒ Go to top"],"R8mSiS":["Translate bio"],"R9-aEN":["Followed #",["hashtag"]],"R9Khdg":["Auto"],"R9kjEL":["Profile reported"],"RO10dm":["Public timelines"],"RQKWUa":["You have blocked <0>",["targetName"],"</0>. Removed followers: ",["followersCount"],", followings: ",["followingCount"],"."],"RTAr_z":["Resolving…"],"RXmXDR":[["repliesCount","plural",{"one":["#"," reply"],"other":["#"," replies"]}]],"Rj3wWq":["Date added"],"Ro05zN":["Last active: ",["date"]],"RpcZRB":["Mark as sensitive"],"RqX1mR":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," liked your reply."],"other":[["account"]," liked your post."]}]],"other":[["account"]," liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"],"</1> people</0> liked your reply."],"other":["<2><3>",["1"],"</3> people</2> liked your post."]}]]}]],"RqXfsz":["Max ",["SHORTCUTS_LIMIT"]," columns"],"Rsjgm0":["Experimental"],"S1fBwy":["Frame rate too high. Uploading might encounter issues."],"S2vQN5":["Unsolicited private mentions"],"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"]}]],"S8Y1Xb":["Keep navigation bars visible while scrolling"],"S92JKG":["Unable to accept notification request"],"S9JvjK":["Don't feature on profile"],"SBmqmC":["Shortcuts imported. Exceeded max ",["SHORTCUTS_LIMIT"],", so the rest are not imported."],"SGcIK-":[["followingCount","plural",{"other":["<0>",["0"],"</0> Following"]}]],"SYKm3p":["No keywords. Add one."],"Sb2gYF":["New list"],"ScQBC_":["Group: Authors"],"SdA74G":["Select file…"],"SiegcM":["Switch to my server (<0>",["currentInstance"],"</0>)"],"Sjj-EN":["Post your reply"],"Sjnlwj":["Import…"],"SlfejT":["Error"],"SrwrEj":["Save & close"],"T1_8PL":["Go to Profile"],"TSbnoW":["Boosts carousel"],"T_hglb":["Replace text as blocks, useful when taking screenshots, for privacy reasons."],"TbFrLc":["Updated <0>",["0"],"</0>"],"Tba8uO":["Unable to add to list."],"TbrCz2":["Take photo or video"],"TbttfX":[["followersCount","plural",{"one":["<0>",["0"],"</0> Follower"],"other":["<1>",["1"],"</1> Followers"]}]],"TnJgwX":["Notes:"],"TtG3Uh":["Sharing doesn't seem to work."],"Tu-sCN":["Boosts Carousel"],"Txus-H":["Editing source status"],"Tz0i8g":["Settings"],"UHDQDE":["Optional, unless for multi-column mode"],"UIfdY1":["Profiles featured by @",["0"]],"ULVw6q":["People not following you"],"UQR9OT":["Continue unwrapping…"],"UUrqX1":["Posts are sorted by information density or depth. Shorter posts are \\"lighter\\" while longer posts are \\"heavier\\". Posts with photos are \\"heavier\\" than posts without photos."],"UWSCwN":["Quote settings for this post"],"UYZxOy":["Replace current quote"],"UbRKMZ":["Pending"],"UefSZg":["Turn link into a quote?"],"UlJ3QN":["Feature on profile"],"UmuIdg":["Go to Home"],"UoL-FC":["Unable to load bookmarks."],"UxBoCm":["Tab/Menu bar"],"V1fa9u":["See more"],"VC2M2a":["Unable to load collection."],"VCZ0OT":["Remove follower…"],"VH-Tf9":["Unfeatured on profile"],"VKDnAx":["Failed to download GIF"],"VLKtvP":["Screenshot of multi-column UI"],"VU1Pnd":["last 12 hours"],"Va3xJe":["Add field"],"VbyRUy":["Comments"],"Vh3ADI":["Add column…"],"VkLESX":["Load new posts"],"Vosm4k":["Trending posts"],"VwUsHI":["Hashtags"],"Vyeh4F":["You're not logged in. Interactions (reply, boost, etc) are not possible."],"VzLGaA":["Unable to remove quote"],"W-NOEj":["Unable to remove from collection"],"W-eFn3":[["account"]," edited a post."],"W1ewR0":["Unable to copy link"],"W9FRBT":["Like"],"WDcQq9":["Unlisted"],"WJQKJn":["Removed from collection"],"WUHLnz":["Push Notifications (beta)"],"WZTg05":["Created by you"],"WZw-zB":["Edit video description"],"Wi1Ov0":["Multi-hashtag timeline"],"Wk2coq":["Showing boosts"],"XC9Jpz":["Post hidden by your filters"],"XDwkfO":["Scan QR code"],"XHVHK2":["Only visible to you"],"XKZRZ_":["Showing ",["selectedFilterCategory","select",{"all":["all posts"],"original":["original posts"],"replies":["replies"],"boosts":["boosts"],"quotes":["quotes"],"followedTags":["followed tags"],"groups":["groups"],"filtered":["filtered posts"]}],", ",["sortBy","select",{"createdAt":[["sortOrder","select",{"asc":["oldest"],"desc":["latest"]}]],"reblogsCount":[["sortOrder","select",{"asc":["fewest boosts"],"desc":["most boosts"]}]],"favouritesCount":[["sortOrder","select",{"asc":["fewest likes"],"desc":["most likes"]}]],"repliesCount":[["sortOrder","select",{"asc":["fewest replies"],"desc":["most replies"]}]],"density":[["sortOrder","select",{"asc":["least dense"],"desc":["most dense"]}]]}]," first",["groupBy","select",{"account":[", grouped by authors"],"other":[]}]],"XN1xAY":[["SHORTCUTS_LIMIT","plural",{"one":["Max ","#"," shortcut reached. Unable to add shortcut."],"other":["Max ","#"," shortcuts reached. Unable to add shortcut."]}]],"XQMQZw":["Unpin from profile"],"Xi1_bw":["Followed Hashtags"],"Xl9v6-":["Lost connections with <0>",["name"],"</0>."],"XpQLJF":["<0>Shift</0> + <1>r</1>"],"YL6Y8P":["Learn more <0/>"],"YMU1CK":["Catch-up is a separate timeline for your followings, offering a high-level view at a glance, with a simple, email-inspired interface to effortlessly sort and filter through posts."],"YYB61U":["No accounts found."],"Yb6p2q":["Unable to delete post"],"Yfb9A8":["Previously…"],"YgM2yU":["Quote removed"],"YmGrIy":["Links shared by followings, sorted by shared counts, boosts and likes."],"YqffEv":["Moderation warning"],"YrR3Co":["Focus next column in multi-column mode"],"Yx0Ud8":["Requested"],"Yx809-":["Post unpinned from profile"],"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"],"Z_Vnvj":["Quotes can't be embedded in private mentions."],"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…"],"_2mUza":["Media attachments:"],"_3LJfX":["Unblock <0>@",["username"],"</0>"],"_4fHR1":["A draft post is currently minimized. Post or discard it before creating a new one."],"_5ZKeE":["Pop in"],"_79dKl":[["account"]," added you to a collection."],"_7UQ7y":["Whole word"],"_AfxaA":["Go to my server (<0>",["currentInstance"],"</0>)"],"_BGBeF":["Muted ",["username"]],"_CLBTL":["Note: This feature uses external GIF search service, powered by <0>GIPHY</0>. G-rated (suitable for viewing by all ages), tracking parameters are stripped, referrer information is omitted from requests, but search queries and IP address information will still reach their servers."],"_Cw4Tx":["Downloading GIF…"],"_IX_7x":["Other"],"_KEBaP":["Unable to copy HTML code"],"_MJ7gZ":["No lists."],"_OvbEC":["e.g. “mastodon.social”"],"_W5yFF":["Delete this draft?"],"_WA_tl":["View all notifications"],"_Xg6f6":["No quotes yet"],"_bZzdR":["Mentions"],"_cKnpj":["Account posts"],"_dlmrZ":["Show all authors"],"_fY1js":["Ask a question"],"_nf2x7":["Math expressions found."],"_plB9m":["Muted @",["username"]," for ",["0"]],"_zL_Mq":["Scheduled post deleted"],"a5BN7l":["Post updated. Check it out."],"a6oTWs":["e.g. PixelArt (Max 5, space-separated)"],"aAIQg2":["Appearance"],"aDr7Vc":["Open original media"],"aEp6lO":["Scheduled <0><1/></0> <2>(",["0"],")</2>"],"aLvZxR":["Post hidden because you've blocked @",["name"],"."],"aOh6Md":["Failed to delete scheduled post"],"aTyHBW":["Post published. Check it out."],"aVsTYo":["Unable to save shortcuts"],"aWAdCb":["Show anyway"],"a_-arl":["Notifications settings"],"aaJhcT":["Follows"],"aavdrC":["By ",["0"]],"aforS9":["Block <0>@",["username"],"</0>?"],"agO_T_":["Expiry"],"ajzDof":["Posts: ",["0"]],"aqJggz":["Login required to see posts from this server."],"awRXyV":["Request to quote"],"b7T5Zj":["Boosted"],"bHinbm":["No accounts in this collection yet."],"bPwFdf":["Accounts"],"bQ4oy8":["Post hidden because you've muted @",["name"],"."],"bUUv3P":["Scroll to top"],"bVrsXl":["Unable to update collection."],"bfSr6z":["Shared by ",["0"]],"bgVLbt":["Import/export"],"bl7nrg":["HTML code copied"],"blQMpa":["Filtered post will be…"],"bpDheH":["Unboosted @",["0"],"'s post"],"bzMKg7":["Accepted"],"c1Q_eU":["Powered by GIPHY"],"c3XJ18":["Help"],"c6jxNY":["Unable to unmute conversation"],"c89gCv":["Import & append…"],"cDoNQr":["Accounts with <0>",["query"],"</0>"],"cFdBgp":["Unable to create collection."],"cI3UEs":["Trending (",["instance"],")"],"cR6K65":["Synced to your server's settings. <0>Go to your server (",["instance"],") for more settings.</0>"],"cSev-j":["Filters"],"cWIHTt":["No filters yet."],"cWtH-v":["Shortcuts copied"],"cXWjH0":["Boosts from @",["username"]," disabled."],"cYE45-":["Nested comments thread"],"cZJ92q":["Add poll"],"caeqw_":["Send Report <0>+ Mute profile</0>"],"cc0NrU":[["0","plural",{"0":["Hide \\"Translate\\" button for:"],"other":["Hide \\"Translate\\" button for (","#","):"]}]],"cg0I-x":["Federated timeline"],"cklVjM":["Timeline"],"coaNtr":["Sort: Density"],"cqi4Mx":["Like (favourite)"],"csQin_":["Malicious links, fake engagement, or repetitive replies"],"ctFhjs":[["maxMediaAttachments","plural",{"one":["You can only attach up to 1 file."],"other":["You can only attach up to ","#"," files."]}]],"ctJi7k":["Unfollow #",["hashtag"],"?"],"cxL5F9":["Add hashtag"],"cyjS8M":["Forward to <0>",["domain"],"</0>"],"d5zxa4":["Local"],"d83_LB":["File size too large. Uploading might encounter issues. Try reduce the file size from ",["0"]," to ",["1"]," or lower."],"dBme_4":["Old post (<0>",["0"],"</0>)"],"dDJEHI":["Until the last catch-up (",["0"],")"],"dEgA5A":["Cancel"],"dFu2-z":["Media posts by ",["accountDisplay"]],"dP6iYK":["Format math"],"dXMiUw":["Switch to Federated"],"dZZ8oA":["last 5 hours"],"dbNZdP":["Boosted @",["0"],"'s post"],"dmTmkQ":["For multi-column mode, search term is required, else the column will not be shown."],"dmiEVR":["You are not allowed to quote this post"],"dmloPh":["Search term"],"doK_ij":["Unfollowed #",["hashtag"]],"dpqPBg":["Authors"],"duF1lx":["Focus column in multi-column mode"],"dwLCPZ":["Replying to @",["0"],"’s post"],"e-RpCP":["Sign up"],"e2cs-Z":["Unwrap quote chain"],"e2uVlo":["Visually separate original posts and re-shared posts (boosted posts)."],"e5E-WH":["Raw Shortcuts JSON"],"e66y2Z":["Thread"],"e6tGFu":["Violates the law of your or the server's country"],"e7qQIH":["Withdraw follow request?"],"eDkKRi":[["count","plural",{"1":[["account"]," signed up."],"other":["<0><1>",["0"],"</1> people</0> signed up."]}]],"eH1bqp":["Search accounts"],"eIiurD":["Attachment #",["i"]," failed"],"eJ6Y9F":["Unable to remove profile picture."],"eK4SL_":["Media only"],"eKInue":["Quote settings"],"eNTGfp":["Failed to generate description",["0"]],"eNfCmq":[["account"]," reported ",["targetAccount"]],"ePK91l":["Edit"],"eVosYr":["You don't have to read everything."],"eWLklq":["Quotes"],"eYsAQr":["Unfollow @",["0"],"?"],"ecUA8p":["Today"],"ecVtjm":["Additional info"],"edWbV6":["Link copied"],"eh6NHW":[["account"]," requested to follow you."],"ei6pnR":["Show replies to list members"],"ekCRTP":["Rejected"],"evz6c6":["<0>Esc</0> or <1>Backspace</1>"],"f5dduh":["Next author"],"f6Hub0":["Sort"],"fGn1Hk":["Enter your search term or paste a URL above to get started."],"fHZgvt":["Note: This feature uses external AI service, powered by <0>img-alt-api</0>. May not work well. Only for images and in English."],"fVybCv":["Saving shortcuts to server…"],"fYeATS":["Thread ",["index"],"/X"],"faZ9RI":["Only for new images while composing new posts."],"following.stats":["Following"],"following.title":["Following"],"fomSje":["These accounts review all follow requests. Followers can add them to collections."],"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."],"fvc_zp":["Profile picture has no description. Continue?"],"fx5B7p":["@",["username"]," added to collection"],"g3UF2V":["Accept"],"gBOf4F":["People you don't follow"],"gCDfX-":["Unable to download shortcuts"],"gCX4Z9":["QR code"],"gEoOUj":["Look up <0>",["query"],"</0>"],"gURvmk":["Auto inline translation"],"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"],"h4JxWH":["Only followings"],"h7peZQ":["Allow"],"h7t_Tx":["Search @",["0"],"'s posts"],"h8zDAI":["Translate from ",["sourceLangText"]],"hB02vO":["Manage members"],"hC_ij1":["@",["username"]," removed from collection"],"hDWXuG":["Anyone can quote"],"hEe3YR":["Failed to update quote settings"],"hFs2qq":["Failed to update default visibility"],"hHSI3w":[["hashtagTitle"]," (Media only)"],"hOg-Mt":["Delete all…"],"hR9gtK":["You have unsaved changes. Discard this post?"],"hXzOVo":["Next"],"hYgDIe":["Create"],"he3ygx":["Copy"],"hgPsUe":["Cleared recent searches"],"hnrI5E":["Collection by <0>@",["username"],"</0>"],"hoxERX":["Collection reported"],"i02Lq_":["Add to Shortcuts"],"i0qMbr":["Home"],"i51zUR":["Unmute conversation"],"i5uN6K":[["account"]," reacted to your post with ",["emojiObject"]],"iAB71E":[["0"]," more…"],"iDNBZe":["Notifications"],"iH8pgl":["Back"],"iQgJaz":["Copy post text"],"iSRQvy":["Post text copied"],"iWpEwy":["Go home"],"ibBDry":["Notifications from @",["0"]," will not show up in Filtered notifications from now on."],"idiIxW":[["account"]," published a post."],"ieZytw":["Audio description"],"ipnHrn":["Your account has received a moderation warning."],"isRobC":["New"],"iuLUuH":["Violation"],"ivdhsq":["Experiments"],"j0kZfi":["Note: This preview is lightly styled."],"j5n9Ry":["Remove <0>@",["0"],"</0> from list?"],"j8_z3-":["Remove me…"],"jAj8rv":["Close post or dialogs"],"jER18a":["Mark media as sensitive"],"jFdM_T":["Downloading saved shortcuts from server…"],"jL3N0G":["Notifications enabled for @",["username"],"'s posts."],"jNCSyx":["System language (",["systemTargetLanguageText"],")"],"jbreWy":["minimized"],"jdVwsS":["Embed post"],"jf1i1L":[["votersCount","plural",{"one":["<0>",["0"],"</0> voter"],"other":["<1>",["1"],"</1> voters"]}]],"jiFPsN":["Select accounts to import"],"jkt9P5":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted your reply."],"other":[["account"]," boosted your post."]}]],"other":[["account"]," boosted ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"],"</1> people</0> boosted your reply."],"other":["<2><3>",["1"],"</3> people</2> boosted your post."]}]]}]],"jsFF8C":["Open post details"],"jsXSTc":["Remove profile picture?"],"jtQUzv":["Switch to my server to enable interactions"],"jw0eSZ":["Your account has been disabled."],"jxxYp0":["Hide posts on this list from Home/Following"],"jyo0K2":["Hide Trending timeline"],"jzjjJh":["Emojis:"],"k08LxG":["Log out <0>@",["0"],"</0>?"],"k30qb8":["Import/Export <0>Accounts</0>"],"k7v0Rh":[["votesCount","plural",{"one":["<0>",["0"],"</0> vote"],"other":["<1>",["1"],"</1> votes"]}]],"k9N0Xk":["This notification is from your other account."],"kH0rA0":[["hashtagTitle"]," (Media only) on ",["instance"]],"kIlJaS":["A poll you have voted in or created has ended."],"kNiQp6":["Pinned"],"kesYbo":["Go to another server…"],"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"],"l3s5ri":["Import"],"lCF0wC":["Refresh"],"lCLRBe":["Followed tags"],"lQXQKs":["Vote"],"lWQguj":["Unbookmarked @",["0"],"'s post"],"lYyloN":["Media posts tagged #",["tagged"]," by ",["accountDisplay"]],"lZdBKl":["Reply posted. Check it out."],"lfHLsx":["Pin to profile"],"lkz6PL":["Duration"],"lndXtU":[["0","plural",{"one":["#"," choice"],"other":["#"," choices"]}]],"lpPucp":["last 6 hours"],"lpYill":["Export failed"],"lqBX03":["Show content"],"lxYe-I":["Cloak mode <0>(<1>Text</1> → <2>████</2>)</0>"],"m-pAEQ":["(",["0"],") <0>— experimental</0>"],"m0G499":["* Not implemented yet"],"m16xKo":["Add"],"m4xQyv":["Unable to vote in poll"],"m5LihO":["Failed to translate"],"mBdQnV":["You may close this page now."],"mFfcu0":["Posts tagged with <0>",["hashtag"],"</0>"],"mJn6Bl":["Last active"],"mN4S-e":["Video description"],"mT57-Q":["Go to Settings"],"mYGY3B":["Date"],"mZYb1f":["No scheduled posts."],"mlycBx":["Your account has been limited."],"moT7M8":["A poll you have voted in has ended."],"muLhL3":["Report Post"],"mxY4xF":["Logged out"],"mzjGX4":["<0>Shift</0> + <1>j</1>"],"n1PNla":["Boost/Quote…"],"n1sANU":["Muted users…"],"nJEKbY":["Nothing to see here."],"nL8nlr":["Blocked users"],"nc-Oa-":["Keep as link"],"nhpsIN":["<0>1</0> to <1>9</1>"],"nl8sCE":["Only shortcuts that don’t exist in current shortcuts will be appended."],"noxAFR":["Focus previous column in multi-column mode"],"o1mMWT":["Posts with <0>",["query"],"</0>"],"o5sTJw":["Generate description…"],"o6L30P":["No new shortcuts to import"],"o6sElH":["* Exists in current shortcuts"],"o7J4JM":["Filter"],"oEQq5w":["Unable to report profile"],"oMslIB":["Edit image description"],"oPwQt4":["Custom fields"],"oQIgSu":["Custom emojis are not available on this server."],"oZUtTk":[["0","plural",{"one":[["1","plural",{"one":["Last 1 post in the past 1 day"],"other":["Last 1 post in the past ",["2"]," days"]}]],"other":[["3","plural",{"one":["Last ",["4"]," posts in the past 1 day"],"other":["Last ",["5"]," posts in the past ",["6"]," days"]}]]}]],"oguMwa":["Cloak mode disabled"],"oivBcO":["Sync to server"],"ooHDPY":["Ending <0/>"],"orjBLU":["Scheduled <0><1/></0>"],"osJmEN":["Disable notifications"],"ot8LpF":["Unable to update private note."],"ouWc_D":[["TOTAL_TAGS_LIMIT","plural",{"other":["Max ","#"," tags"]}]],"ovBPCi":["Default"],"owpNF1":["What are you doing?"],"p3UO_y":["Follows you"],"p7M2tI":["Remove header picture?"],"pA-qEx":["Unable to block @",["username"]],"pBYFlb":["last 9 hours"],"pEkad9":["Single or multi-column"],"pFnMHn":["<0>Site:</0> ",["0"]],"pJQgQV":["Local timeline"],"pMcdDp":["Unable to block ",["username"]],"pPYeIN":["Quiet public"],"pWFLFk":["@",["username"]," is no longer featured on your profile."],"pe1jog":["Edit shortcut"],"phQpSa":["Boosted by…"],"pi8x_S":["Translate"],"pkB7ti":[["account"]," edited a post you have quoted."],"post.title":["Post"],"pp8krA":["No collections featuring you yet."],"pqR9KF":["Unable to load mentions."],"prdIOK":["In Memoriam"],"ptPep5":["Post pending"],"puY2t0":["Boosts"],"pvnfJD":["Dark"],"py67WT":["<0>Ctrl</0> + <1>Enter</1> or <2>⌘</2> + <3>Enter</3>"],"q-hNag":["Collection"],"q1zFd-":["Failed to remove subscription. Please try again."],"q8EQYI":["Unbookmark"],"q9urQO":["This might take a while."],"qDLFnT":["Additional comments"],"qSQQSe":[["totalComments","plural",{"one":["#"," comment"],"other":["<0>",["0"],"</0> comments"]}]],"qTJgpR":["Report <0>@",["username"],"</0>…"],"qYNCa1":["Allow from <0>",["0"],"</0>"],"qbE_m4":["This timeline is disabled on this server."],"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"],"rQ1YM5":[["followersCount","plural",{"one":["<0>",["0"],"</0> follower"],"other":["<1>",["1"],"</1> followers"]}]],"rSLkfe":["What's the issue with this profile?"],"rWTcqf":["Switch to post's server"],"rYXCO0":["Manual pagination of timeline posts instead of infinite scrolling. Only works for Home/Following timeline for now. Auto refresh and boosts carousel will not work when this is enabled."],"rZgCpJ":["server domain name"],"raUMBQ":["Some of your posts have been deleted."],"rbUTzD":["Fetching posts…"],"rdUucN":["Preview"],"re2mMZ":["Author will manually review"],"rf8fiC":["Close window"],"rhmyFK":["That's all."],"rj0vxZ":["Previous author"],"rpXAF6":[["0","plural",{"one":["File ",["1"]," is not supported."],"other":["Files ",["2"]," are not supported."]}]],"rtCQ2N":[["mentionsCount","plural",{"other":["#"," mentions"]}]],"sG7QTC":["Wellbeing"],"sGH11W":["Server"],"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"],"sfZnzc":["The curator won't be able to re-add you to this collection for 24 hours. Block them to prevent them from adding you to any collections."],"silO9A":["username"],"snPx8X":["Compose new post (new window)"],"sort.name":["Name"],"sqjguT":["Last updated: <relativeTime/>"],"sr6maL":["<0>Filtered</0>: <1>",["0"],"</1>"],"srocAr":["Posts are grouped by authors, sorted by posts count per author."],"suKjh3":["Filtered: ",["0"]],"t2B_we":["Switch to Local"],"t7Py5R":["By default, single column for zen-mode seekers. Configurable multi-column for power users."],"t8dIOP":["Spam"],"t9yqkt":["Showing replies"],"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)"],"t_YqKh":["Remove"],"takpjx":["Sorry, your current logged-in server can't interact with this post from another server."],"tfDRzk":["Save"],"tqUaGL":["Unable to delete list."],"tuhghE":["Edit list"],"u96B_B":["Local timeline (",["instance"],")"],"uIp8WL":["or override…"],"uNVxXX":["Some poll choices are empty"],"uREpT3":["Enable boosts"],"uRkcgw":["An admin from <0>",["from"],"</0> has suspended <1>",["targetName"],"</1>, which means you can no longer receive updates from them or interact with them."],"uVbUP8":["Settings…"],"uXRAkV":["Show more…"],"uYcYzu":["Blocked @",["username"]],"uabU9X":["Recently used"],"ucJFhB":["Show collections"],"ucJk3m":["Status: <0><1/></0>"],"ufzZSJ":["Unable to resolve URL"],"ukL58r":["Remove quote…"],"ulXSNi":["Keyboard shortcuts help"],"unyq2W":["Remove <0>@",["username"],"</0> from followers?"],"up99W1":["Marked as sensitive"],"uqf7Yq":["Filter from…"],"urGtsw":["Expiring <0/>"],"uvDfdW":["Multi-column"],"uyJsf6":["About"],"uzt17m":["A post you interacted with has been edited."],"v02K7_":["Unable to mute ",["username"]],"v4TbMP":["<0>Shift</0> + <1>Alt</1> + <2>k</2>"],"v9jO-F":["Some of your posts have been marked as sensitive."],"vCSBPD":["Add filter"],"vERlcd":["Profile"],"vFGLxm":["Attempting to describe image. Please wait…"],"vGjmyl":["Deleted"],"vKsGhk":["No hashtags followed yet."],"vLxvHT":["No shortcuts yet. Tap on the Add shortcut button."],"vOsY-K":["Install ",["CLIENT_NAME"]],"vWGBjT":["Unable to mute @",["username"]],"vXIe7J":["Language"],"v_l5uA":["Unable to load lists."],"vgUfWO":["Unable to pin post"],"vl3XTJ":["Post stats unavailable."],"vpc27K":["beyond 12 hours"],"vrQQgz":["Profiles"],"vuFeUI":["Turn into quote"],"vvl08N":["A post is currently open. Post or discard it before creating a new one."],"w2OpMr":["Your posts will be marked as sensitive from now on."],"wKtOLH":["Editing source post"],"wNExRS":["Polls"],"wOax6E":["Screenshot of multi-hashtag timeline with a form to add more hashtags"],"wgNoIs":["Select all"],"wiuWLe":[["0"]," original posts, ",["1"]," replies, ",["2"]," boosts"],"wr3GZI":["Search: ",["q"]],"wvL7OJ":["last 10 hours"],"wxlF9B":["Search GIFs"],"wy0Iwj":["Failed to generate description: ",["0"]],"wyL_3_":["Catch-up <0>beta</0>"],"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"],"x_s2_O":["Add content warning"],"xf6TNV":["Unable to load collections."],"xhPEH3":["Mute <0>@",["username"],"</0>…"],"xhYfVj":["Failed to generate description"],"xhiXaF":["@",["username"]," is now featured on your profile."],"xiropL":["static URL"],"xnkAvy":["Collections featuring you"],"xrl8fj":["Catch-up"],"xxjKhD":["Edit collection"],"y3ou-8":["Post reported"],"y6sq5j":["Following"],"yCXori":["Failed to log in. Please try again or try another server."],"yFfBdX":["New filter"],"yIBLq8":["Speak"],"yTVtKs":["Withdraw…"],"yUWyHa":["Unable to copy shortcuts"],"yUngDO":["Liked @",["0"],"'s post"],"yYxB17":["Clear all"],"y_0uwd":["Yesterday"],"ydzS9x":["Exit"],"ygxzZR":["Quote with link"],"yi60j9":["Switch to post's server (",["0"],")"],"yjj6Ll":["Unable to load posts with this tag"],"yrz6Ck":["<0>Shift</0> + <1>b</1>"],"ywB7JM":["Conversation muted"],"yyX15r":["Remove <0>@",["0"],"</0>?"],"yz7wBu":["Close"],"z96cOX":["NOTE: Push notifications only work for <0>one account</0>."],"zCjei3":["Show results"],"zJoEwS":["Handle copied"],"zJyf_5":["<0/> <1/> boosted"],"zLz0mE":["Failed to describe image"],"zNCBmf":["hidden"],"zVJKbG":["Auto-translated from ",["sourceLangText"]],"zXCa9e":["Translate to "],"zZOZj7":["Likes"],"zcKxuj":["Only <0>@",["0"],"</0>"],"zckhCq":["Profile and header pictures have no descriptions. Continue?"],"zhrMYj":["Poll must have at least 2 options"],"zhrjek":["Groups"],"zucql-":["Menu"],"zwBp5t":["Private"],"zytZXj":["Multiple choice"]}`),{PHANPY_DEFAULT_LANG:If}={},Lf={};ve.load(`en`,Ff),ve.on(`change`,()=>{let e=ve.locale;if(e){document.documentElement.lang=e;try{let t=new Nf(e),{direction:n}=t.getTextInfo?.()||t.textInfo;document.documentElement.dir=n}catch{}}});async function Rf(e){if(!e||e===`en`)ve.activate(`en`);else try{let{messages:t}=await wf(Object.assign({"../locales/ar-SA.po":()=>$(()=>import(`./locales/ar-SA-CfheRbCu.js`),[],import.meta.url),"../locales/ca-ES.po":()=>$(()=>import(`./locales/ca-ES-DHRW86Tz.js`),[],import.meta.url),"../locales/cs-CZ.po":()=>$(()=>import(`./locales/cs-CZ-CKoqEuA1.js`),[],import.meta.url),"../locales/de-DE.po":()=>$(()=>import(`./locales/de-DE-ByRPMRFy.js`),[],import.meta.url),"../locales/en.po":()=>$(()=>Promise.resolve().then(()=>Pf),void 0,import.meta.url),"../locales/eo-UY.po":()=>$(()=>import(`./locales/eo-UY-CPC7wLCS.js`),[],import.meta.url),"../locales/es-ES.po":()=>$(()=>import(`./locales/es-ES-dJa0Fd9t.js`),[],import.meta.url),"../locales/eu-ES.po":()=>$(()=>import(`./locales/eu-ES-C3djlPR2.js`),[],import.meta.url),"../locales/fa-IR.po":()=>$(()=>import(`./locales/fa-IR-DTT490Ck.js`),[],import.meta.url),"../locales/fi-FI.po":()=>$(()=>import(`./locales/fi-FI-B23MCPuz.js`),[],import.meta.url),"../locales/fr-FR.po":()=>$(()=>import(`./locales/fr-FR-BcaQsO5C.js`),[],import.meta.url),"../locales/gl-ES.po":()=>$(()=>import(`./locales/gl-ES-BR-CVKBN.js`),[],import.meta.url),"../locales/he-IL.po":()=>$(()=>import(`./locales/he-IL-CfheRbCu.js`),[],import.meta.url),"../locales/hu-HU.po":()=>$(()=>import(`./locales/hu-HU-CfheRbCu.js`),[],import.meta.url),"../locales/it-IT.po":()=>$(()=>import(`./locales/it-IT-C1136UFV.js`),[],import.meta.url),"../locales/ja-JP.po":()=>$(()=>import(`./locales/ja-JP-CRZmRAhD.js`),[],import.meta.url),"../locales/kab.po":()=>$(()=>import(`./locales/kab-Cz8xH_TT.js`),[],import.meta.url),"../locales/ko-KR.po":()=>$(()=>import(`./locales/ko-KR-CG9UiY4o.js`),[],import.meta.url),"../locales/lt-LT.po":()=>$(()=>import(`./locales/lt-LT-CJcI6sHZ.js`),[],import.meta.url),"../locales/nb-NO.po":()=>$(()=>import(`./locales/nb-NO-CfheRbCu.js`),[],import.meta.url),"../locales/nl-NL.po":()=>$(()=>import(`./locales/nl-NL-DxN4Yc1t.js`),[],import.meta.url),"../locales/oc-FR.po":()=>$(()=>import(`./locales/oc-FR-CfheRbCu.js`),[],import.meta.url),"../locales/pl-PL.po":()=>$(()=>import(`./locales/pl-PL-DkwGXf6P.js`),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>$(()=>import(`./locales/pseudo-LOCALE-CQ4XxkQ0.js`),[],import.meta.url),"../locales/pt-BR.po":()=>$(()=>import(`./locales/pt-BR-nGL0HdFS.js`),[],import.meta.url),"../locales/pt-PT.po":()=>$(()=>import(`./locales/pt-PT-Cp17aj2z.js`),[],import.meta.url),"../locales/ru-RU.po":()=>$(()=>import(`./locales/ru-RU-0Y8cIoaK.js`),[],import.meta.url),"../locales/th-TH.po":()=>$(()=>import(`./locales/th-TH-CfheRbCu.js`),[],import.meta.url),"../locales/tok.po":()=>$(()=>import(`./locales/tok-CfheRbCu.js`),[],import.meta.url),"../locales/tr-TR.po":()=>$(()=>import(`./locales/tr-TR-CfheRbCu.js`),[],import.meta.url),"../locales/uk-UA.po":()=>$(()=>import(`./locales/uk-UA-C5E3dFBf.js`),[],import.meta.url),"../locales/zh-CN.po":()=>$(()=>import(`./locales/zh-CN-BHJi7_et.js`),[],import.meta.url),"../locales/zh-TW.po":()=>$(()=>import(`./locales/zh-TW-CfheRbCu.js`),[],import.meta.url)}),`../locales/${Lf[e]||e}.po`,3);ve.loadAndActivate({locale:e,messages:t})}catch{ve.activate(`en`)}}function zf(){let e=Af(kf(`lang`),Tf(`lang`),Ef(),If,`en`);Rf(e.find(e=>Cf.includes(e))||of(e,Cf))}function Bf(){return typeof Intl>`u`||!Intl.Segmenter}var Vf=!Bf();function Hf(){if(!Vf)return $(()=>import(`./polyfill-force-H8sUkLGp.js`),[],import.meta.url).catch(()=>{})}function Uf(){return $(()=>import(`./compose-ZJN5xSb4.js`),__vite__mapDeps([2,1,3,0,4]),import.meta.url)}async function Wf(){try{await Hf(),Uf()}catch{}}function Gf(e){let[t,n]=L(null);return Et(()=>{(async()=>{try{Vf||await Hf(),n(await Uf())}catch{}})()},[]),t?.default?N(t.default,{...e}):N(gf,{})}var{PHANPY_CLIENT_NAME:Kf}={PHANPY_CLIENT_NAME:`Phanpy`};function qf(e,t){function n(){let{currentLocation:n}=Q,r=Array.isArray(t),i=r?t:[];!r&&/:?\w+\?/.test(t)&&(i.push(t.replace(/(:\w+)\?/g,`$1`)),i.push(t.replace(/\/?:\w+\?/g,``)));let a=!1;i.length?a=i.some(e=>Or(e,n)):t&&(a=Or(t,n)),a&&(document.title=e?`${e} / ${Kf}`:Kf)}R(()=>{let e=Ql(Q,`currentLocation`,n);return n(),e},[e,t])}function Jf(){let e=document.querySelector(`meta[name="viewport"]`);if(e&&(window.matchMedia(`(display-mode: standalone)`).matches||window.navigator.standalone===!0||window.matchMedia(`(display-mode: window-controls-overlay)`).matches)){let t=e.getAttribute(`content`);t.includes(`user-scalable=no`)||e.setAttribute(`content`,t+`, user-scalable=no`)}}function Yf(){document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,Jf):Jf()}export{zc as $,k as $t,fu as A,$t as At,J as B,z as Bt,sd as C,Or as Ct,Ju as D,fn as Dt,nd as E,Xn as Et,ml as F,Ln as Ft,Jc as G,Tt as Gt,pl as H,B as Ht,ul as I,Rt as It,Ec as J,Et as Jt,kc as K,V as Kt,sl as L,zn as Lt,Ql as M,an as Mt,Yl as N,In as Nt,Ku as O,Zt as Ot,Xl as P,On as Pt,Pc as Q,ot as Qt,fl as R,Nn as Rt,Q as S,si as St,rd as T,Qn as Tt,dl as U,R as Ut,cl as V,Dt as Vt,G as W,L as Wt,Fc as X,A as Xt,$c as Y,N as Yt,Lc as Z,ze as Zt,$d as _,yi as _t,Rf as a,Xc as at,ad as b,ai as bt,Sf as c,Qc as ct,df as d,za as dt,ct as en,Uc as et,ff as f,Ea as ft,ef as g,Mi as gt,of as h,ki as ht,Wf as i,ve as in,Mc as it,du as j,Jt as jt,xu as k,Kt as kt,bf as l,Vc as lt,$ as m,wa as mt,qf as n,O as nn,Gc as nt,zf as o,Dc as ot,hf as p,xa as pt,Ac as q,H as qt,Gf as r,E as rn,Yc as rt,vf as s,Ic as st,Yf as t,M as tn,qc as tt,gf as u,xc as ut,cd as v,bi as vt,gd as w,Zn as wt,md as x,oi as xt,od as y,Si as yt,ll as z,sn as zt};
|
|
20
|
+
//# sourceMappingURL=pwa-viewport-ogKbF51K.js.map
|