@remit/web-client-dist 0.0.529 → 0.0.531
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/assets/{BriefPane-DfBEXsPF.js → BriefPane-BLOF_mWH.js} +1 -1
- package/assets/{CalendarComposePane-CYY-3Sh1.js → CalendarComposePane-DaJD5Qie.js} +1 -1
- package/assets/{CalendarComposeSeed-ClwBarVH.js → CalendarComposeSeed-DINzJxCX.js} +1 -1
- package/assets/{CalendarShell-D6btwjSs.js → CalendarShell-Bn0RCfB3.js} +1 -1
- package/assets/{EmptyState-B0PO56dG.js → EmptyState-FsuzgbhD.js} +1 -1
- package/assets/{ErrorState-BFq3I9Fb.js → ErrorState-C91w8HKC.js} +1 -1
- package/assets/{FlaggedPane-BrnoVvEo.js → FlaggedPane-BN1V80ct.js} +1 -1
- package/assets/{FullCompose-BYwrSe0D.js → FullCompose-CvIWrZNv.js} +1 -1
- package/assets/{MailListHeader-BXIojXcF.js → MailListHeader-DO2XTkgE.js} +1 -1
- package/assets/{MailNav-B6_VCYqw.js → MailNav-_0JZmvA-.js} +1 -1
- package/assets/{MailShell-wgKTD_ac.js → MailShell-DAi13kbo.js} +1 -1
- package/assets/{MailViewChrome-CW4uKb1n.js → MailViewChrome-CxnqdxEn.js} +1 -1
- package/assets/{MailboxPane-BJExRY-z.js → MailboxPane-BhZdfAFd.js} +1 -1
- package/assets/{NavMenuButton-CDmSOZtG.js → NavMenuButton-CSFFUkx6.js} +1 -1
- package/assets/{OnboardingWizard-BSGjDjip.js → OnboardingWizard-DQN8NOmK.js} +1 -1
- package/assets/{OpenCalendarEvent-6Uen75PT.js → OpenCalendarEvent-1nEwA1fH.js} +1 -1
- package/assets/{OutboxPane-CrLpabM4.js → OutboxPane-BtaBoL0I.js} +1 -1
- package/assets/_calendarObjectId-A098jYTb.js +1 -0
- package/assets/_mailboxId-zt4ASVXf.js +1 -0
- package/assets/_messageId-BHksw194.js +1 -0
- package/assets/_messageId-D4MG_Odb.js +1 -0
- package/assets/_messageId-xm2XGRwu.js +1 -0
- package/assets/_outboxMessageId-3u3xqBLv.js +1 -0
- package/assets/_recurrenceId-DqpqaZgy.js +1 -0
- package/assets/_threadId-C09L_Ndg.js +1 -0
- package/assets/_threadId-Cnxq9dtQ.js +1 -0
- package/assets/_threadId-D8QQPxe4.js +1 -0
- package/assets/_view._date-BrosMklw.js +1 -0
- package/assets/{accounts-7x0pZfPR.js → accounts-CTkm1wTh.js} +1 -1
- package/assets/{advanced-ALXCxExQ.js → advanced-DdguuMCj.js} +1 -1
- package/assets/{appearance-BX5KTvYX.js → appearance-DntjOQBX.js} +1 -1
- package/assets/{attachment-file-CTkMAOGA.js → attachment-file-BmdoMQUQ.js} +1 -1
- package/assets/{attendee-row-BU8T4csR.js → attendee-row-BNXxr9oA.js} +1 -1
- package/assets/{avatar-Uyz1NwAD.js → avatar-DhZPRaeF.js} +1 -1
- package/assets/{bottom-sheet-jaTDD-gj.js → bottom-sheet-Bc4beDon.js} +1 -1
- package/assets/{brief-yRo3-exv.js → brief-CF_lzlEW.js} +1 -1
- package/assets/brief-CkR7cgP8.js +1 -0
- package/assets/{browser-ponyfill-Dw7NwRq-.js → browser-ponyfill-CTENCzbs.js} +1 -1
- package/assets/{bug-Cn_ku_LJ.js → bug-Co3dL7XP.js} +1 -1
- package/assets/{calendar-C8r8ucbO.js → calendar-D-vW3Kkp.js} +1 -1
- package/assets/{calendar-color-B7kv6uD-.js → calendar-color-DkyNNQF1.js} +1 -1
- package/assets/{calendar-event-chip-BZxIG6hm.js → calendar-event-chip-DTG5oOrS.js} +1 -1
- package/assets/{calendars-0V1v9RYJ.js → calendars-CCYO-_Ee.js} +1 -1
- package/assets/{card-CFZ9FERz.js → card-B5z-g_Uc.js} +1 -1
- package/assets/chevron-left-C1jhLHR8.js +1 -0
- package/assets/{circle-check-C6eRn0Zg.js → circle-check-DYBbLAjt.js} +1 -1
- package/assets/{circle-check-big-CAuQ749M.js → circle-check-big-SQfOSQwe.js} +1 -1
- package/assets/{circle-help-BF7Uwv4A.js → circle-help-CmUM65cV.js} +1 -1
- package/assets/{clock-CNnRnsuE.js → clock-CNc_t6jf.js} +1 -1
- package/assets/compose._-_outboxMessageId_-B89uOE7x.js +1 -0
- package/assets/compose._-_outboxMessageId_-Ds2Z_uIk.js +1 -0
- package/assets/compose._-_outboxMessageId_-b4oQVsyr.js +1 -0
- package/assets/compose._-_outboxMessageId_-zz8674mS.js +1 -0
- package/assets/{config-import-Cp-mQ-7t.js → config-import-BhJcQ_Il.js} +1 -1
- package/assets/{confirm-dialog-DYsxSK94.js → confirm-dialog-1JcNZ9rC.js} +1 -1
- package/assets/{copy-DzOZsCy6.js → copy-CkWX02IH.js} +1 -1
- package/assets/{credential-steps-Dd3Iu0NH.js → credential-steps-BfJ3i3xf.js} +1 -1
- package/assets/{download-BivnXnE3.js → download-DRHA56kB.js} +1 -1
- package/assets/{file-json-BVOJJWQw.js → file-json-C2cX0U-r.js} +1 -1
- package/assets/{filters-Bmrk2yIW.js → filters-x-cdy0aE.js} +1 -1
- package/assets/{flagged-ClkMpEqF.js → flagged-swzc1EJh.js} +1 -1
- package/assets/flagged-ydi2A1RS.js +1 -0
- package/assets/{folders-CCbZljaS.js → folders-Da0AytCF.js} +1 -1
- package/assets/{format-Bsw1CVhV.js → format-PWaQz6y0.js} +1 -1
- package/assets/{help-copy-CHi3iVBE.js → help-copy-9nfsWx8-.js} +1 -1
- package/assets/{import-wNnA0N11.js → import-TpXs6BGB.js} +1 -1
- package/assets/index-BrvtKtrI.js +1 -0
- package/assets/index-Bv9cfjaV.js +1 -0
- package/assets/index-CDlcYvW1.js +1 -0
- package/assets/{index-6qEh_q2U.js → index-Cx71QSmj.js} +1 -1
- package/assets/{index-BOgz0q82.js → index-CzYxJjpk.js} +4 -4
- package/assets/index-D3yVJMPV.js +1 -0
- package/assets/index-D4MG_Odb.js +1 -0
- package/assets/index-D8-PS9AQ.js +1 -0
- package/assets/index-DO2wma9F.js +1 -0
- package/assets/index-DfColYq3.js +1 -0
- package/assets/{index-3ycXZMZ1.js → index-DzraLm4D.js} +4 -4
- package/assets/index-xm2XGRwu.js +1 -0
- package/assets/{kbd-Bgn5JqbP.js → kbd-Jguan66P.js} +1 -1
- package/assets/{labels-cqVsvdoI.js → labels-DDdN8R-T.js} +1 -1
- package/assets/{mail-CqY2b3mT.js → mail-Ba4sBm0A.js} +1 -1
- package/assets/{mail-D9FeEgFw.js → mail-q4w25p61.js} +1 -1
- package/assets/{map-pin-yX8nDNIv.js → map-pin-BeBBcKh2.js} +1 -1
- package/assets/{menu-BHihN5ol.js → menu-D5JsbG_0.js} +1 -1
- package/assets/{new-BA3EETNE.js → new-Hq5axjkw.js} +1 -1
- package/assets/onboarding-CitgBtS4.js +1 -0
- package/assets/{onboarding-completion--5ILlgnz.js → onboarding-completion-DuqVaV0G.js} +1 -1
- package/assets/outbox-KtQ9gg2t.js +1 -0
- package/assets/{pencil-HGecHvr1.js → pencil-C3c4d2_-.js} +1 -1
- package/assets/{refresh-cw-hKknrLwS.js → refresh-cw-CiGKNN_N.js} +1 -1
- package/assets/{rich-text-DXU2G7hU.js → rich-text-DtYPe7O-.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-CMKNdZH8.js → rich-text-spellcheck-worker-provider-AdU8EgFH.js} +1 -1
- package/assets/{rotate-ccw-nwRZCogG.js → rotate-ccw-DZR5IJgR.js} +1 -1
- package/assets/{row-actions-DKZgu5yh.js → row-actions-hGFqfsh4.js} +1 -1
- package/assets/{search-mirror-R_nvWWzW.js → search-mirror-fqOzchuN.js} +1 -1
- package/assets/{search-token-index-DbtHF-WB.js → search-token-index-DqEIhfet.js} +1 -1
- package/assets/{sections-DY7UAAJg.js → sections-D9pJ-T2U.js} +1 -1
- package/assets/{senders-BFh13fyp.js → senders-Cg04kz_d.js} +1 -1
- package/assets/settings-B4lO0gY5.js +1 -0
- package/assets/{settings-screen-CLbQiROI.js → settings-screen-pWz4Kf22.js} +1 -1
- package/assets/{shield-check-NgxANaPd.js → shield-check-Bj0jOji5.js} +1 -1
- package/assets/{suggested-vips-CtqmUgUM.js → suggested-vips-4BCi28Fh.js} +1 -1
- package/assets/{useCalendarData-Bf5S05M0.js → useCalendarData-JgxxrTqi.js} +1 -1
- package/assets/{useCalendars-XTvcaGEY.js → useCalendars-K8lKyjcJ.js} +1 -1
- package/assets/{useDebouncedValue-DwupEC5j.js → useDebouncedValue-CItWbYbr.js} +1 -1
- package/assets/{useFilters-C-MwFseh.js → useFilters-C--lXSWI.js} +1 -1
- package/assets/{useLabels-DEjwgDDD.js → useLabels-CK-u0Xjh.js} +1 -1
- package/assets/{useLayoutTier-C0gyQmsd.js → useLayoutTier-Cdx1QIBr.js} +1 -1
- package/assets/{useMessageBodyContent-C7qGYJlm.js → useMessageBodyContent-C8icjIqk.js} +1 -1
- package/assets/{useQueries-CrpINzpJ.js → useQueries-CA-jyErZ.js} +1 -1
- package/assets/{useRefreshControl-BPZB9Od0.js → useRefreshControl-C8wwZh1K.js} +1 -1
- package/assets/{useResultFolderIndex-BqMXPWaQ.js → useResultFolderIndex-DWZWUWDh.js} +1 -1
- package/assets/{useSearchTokenContext-CI_aCfkL.js → useSearchTokenContext-BXoCm4vw.js} +1 -1
- package/assets/{useSemanticSearch-8eMEXL9p.js → useSemanticSearch-CuGzzaCo.js} +1 -1
- package/assets/{useSignature-CBxVZrGO.js → useSignature-YRXQ7wtg.js} +1 -1
- package/assets/{window-D2mhcq1Y.js → window-BsVTpWJ5.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/_calendarObjectId-CWlun4td.js +0 -1
- package/assets/_mailboxId-DYnudhcy.js +0 -1
- package/assets/_messageId-B2MYGmbL.js +0 -1
- package/assets/_messageId-Bp-d5Jfz.js +0 -1
- package/assets/_messageId-CwkcuqbB.js +0 -1
- package/assets/_outboxMessageId-po8RmdS2.js +0 -1
- package/assets/_recurrenceId-BnJKpVL-.js +0 -1
- package/assets/_threadId--8LfUaC1.js +0 -1
- package/assets/_threadId-CWeytgfB.js +0 -1
- package/assets/_threadId-_do74JnN.js +0 -1
- package/assets/_view._date-uF9TFxJl.js +0 -1
- package/assets/brief-ClJZumwT.js +0 -1
- package/assets/chevron-left-C4hjuzeK.js +0 -1
- package/assets/compose._-_outboxMessageId_-02sWJzi1.js +0 -1
- package/assets/compose._-_outboxMessageId_-D4CxSqld.js +0 -1
- package/assets/compose._-_outboxMessageId_-Dpn9hZP3.js +0 -1
- package/assets/compose._-_outboxMessageId_-gIKPaQVc.js +0 -1
- package/assets/flagged-DeXULrpL.js +0 -1
- package/assets/index-B2ajAjOU.js +0 -1
- package/assets/index-BBh0EVrW.js +0 -1
- package/assets/index-BHIDb38h.js +0 -1
- package/assets/index-BVzG44f5.js +0 -1
- package/assets/index-Bp-d5Jfz.js +0 -1
- package/assets/index-CwkcuqbB.js +0 -1
- package/assets/index-Dz-gzRAB.js +0 -1
- package/assets/index-qPyH8ule.js +0 -1
- package/assets/index-xqUg_v-r.js +0 -1
- package/assets/onboarding-BJ9L_aBY.js +0 -1
- package/assets/outbox-gzHnEGIK.js +0 -1
- package/assets/settings-VjYg0Zim.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/calendar-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/calendar-D-vW3Kkp.js","assets/CalendarShell-Bn0RCfB3.js","assets/MailNav-_0JZmvA-.js","assets/useLayoutTier-Cdx1QIBr.js","assets/useQueries-CA-jyErZ.js","assets/outbox-status-BlKn6P0x.js","assets/bug-Co3dL7XP.js","assets/ErrorState-C91w8HKC.js","assets/import-TpXs6BGB.js","assets/credential-steps-BfJ3i3xf.js","assets/card-B5z-g_Uc.js","assets/config-import-BhJcQ_Il.js","assets/file-json-C2cX0U-r.js","assets/onboarding-completion-DuqVaV0G.js","assets/mail-q4w25p61.js","assets/search-token-index-DqEIhfet.js","assets/search-scope-B5-OK3Cq.js","assets/useMessageBodyContent-C8icjIqk.js","assets/pencil-C3c4d2_-.js","assets/MailShell-DAi13kbo.js","assets/FullCompose-CvIWrZNv.js","assets/index-DzraLm4D.js","assets/useSignature-YRXQ7wtg.js","assets/account-form-helpers-DhckT_PN.js","assets/useDebouncedValue-CItWbYbr.js","assets/sections-D9pJ-T2U.js","assets/format-PWaQz6y0.js","assets/confirm-dialog-1JcNZ9rC.js","assets/useRefreshControl-C8wwZh1K.js","assets/circle-check-big-SQfOSQwe.js","assets/refresh-cw-CiGKNN_N.js","assets/menu-D5JsbG_0.js","assets/avatar-DhZPRaeF.js","assets/kbd-Jguan66P.js","assets/useResultFolderIndex-DWZWUWDh.js","assets/onboarding-CitgBtS4.js","assets/OnboardingWizard-DQN8NOmK.js","assets/mail-Ba4sBm0A.js","assets/_mailboxId-zt4ASVXf.js","assets/MailboxPane-BhZdfAFd.js","assets/useSearchTokenContext-BXoCm4vw.js","assets/MailListHeader-DO2XTkgE.js","assets/attachment-file-BmdoMQUQ.js","assets/EmptyState-FsuzgbhD.js","assets/download-DRHA56kB.js","assets/calendar-event-chip-DTG5oOrS.js","assets/calendar-color-DkyNNQF1.js","assets/map-pin-BeBBcKh2.js","assets/attendee-row-BNXxr9oA.js","assets/clock-CNc_t6jf.js","assets/shield-check-Bj0jOji5.js","assets/useFilters-C--lXSWI.js","assets/MailViewChrome-CxnqdxEn.js","assets/NavMenuButton-CSFFUkx6.js","assets/useLabels-CK-u0Xjh.js","assets/useSemanticSearch-CuGzzaCo.js","assets/search-query-Cr_ZXBCp.js","assets/bottom-sheet-Bc4beDon.js","assets/circle-help-CmUM65cV.js","assets/circle-check-DYBbLAjt.js","assets/search-mirror-fqOzchuN.js","assets/brief-CF_lzlEW.js","assets/brief-CkR7cgP8.js","assets/BriefPane-BLOF_mWH.js","assets/wizard-selection-DxUM65kM.js","assets/flagged-swzc1EJh.js","assets/flagged-ydi2A1RS.js","assets/FlaggedPane-BN1V80ct.js","assets/outbox-KtQ9gg2t.js","assets/OutboxPane-BtaBoL0I.js","assets/row-actions-hGFqfsh4.js","assets/rotate-ccw-DZR5IJgR.js","assets/accounts-CTkm1wTh.js","assets/settings-screen-pWz4Kf22.js","assets/chevron-left-C1jhLHR8.js","assets/help-copy-9nfsWx8-.js","assets/advanced-DdguuMCj.js","assets/copy-CkWX02IH.js","assets/appearance-DntjOQBX.js","assets/calendars-CCYO-_Ee.js","assets/useCalendars-K8lKyjcJ.js","assets/filters-x-cdy0aE.js","assets/folders-Da0AytCF.js","assets/labels-DDdN8R-T.js","assets/senders-Cg04kz_d.js","assets/_view._date-BrosMklw.js","assets/window-BsVTpWJ5.js","assets/useCalendarData-JgxxrTqi.js","assets/CalendarComposeSeed-DINzJxCX.js","assets/index-CDlcYvW1.js","assets/index-DfColYq3.js","assets/index-D3yVJMPV.js","assets/index-DO2wma9F.js","assets/index-Cx71QSmj.js","assets/new-Hq5axjkw.js","assets/CalendarComposePane-DaJD5Qie.js","assets/index-BrvtKtrI.js","assets/_messageId-BHksw194.js","assets/compose._-_outboxMessageId_-Ds2Z_uIk.js","assets/index-D4MG_Odb.js","assets/_messageId-D4MG_Odb.js","assets/compose._-_outboxMessageId_-b4oQVsyr.js","assets/index-xm2XGRwu.js","assets/_messageId-xm2XGRwu.js","assets/compose._-_outboxMessageId_-B89uOE7x.js","assets/compose._-_outboxMessageId_-zz8674mS.js","assets/_outboxMessageId-3u3xqBLv.js","assets/index-Bv9cfjaV.js","assets/OpenCalendarEvent-1nEwA1fH.js","assets/_recurrenceId-DqpqaZgy.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
function lL(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(r,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();var ng=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var US={exports:{}},jf={};var k5;function bG(){if(k5)return jf;k5=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var i=null;if(s!==void 0&&(i=""+s),a.key!==void 0&&(i=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:i,ref:a!==void 0?a:null,props:s}}return jf.Fragment=t,jf.jsx=n,jf.jsxs=n,jf}var A5;function SG(){return A5||(A5=1,US.exports=bG()),US.exports}var x=SG();const wG="Logging",xG="x-amz-user-agent",CG="NoHubcallbackProvidedException";var ia;(function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"})(ia||(ia={}));const I5={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class cr{constructor(t,n=ia.WARN){this.name=t,this.level=n,this._pluggables=[]}_padding(t){return t<10?"0"+t:""+t}_ts(){const t=new Date;return[this._padding(t.getMinutes()),this._padding(t.getSeconds())].join(":")+"."+t.getMilliseconds()}configure(t){return t?(this._config=t,this._config):this._config}_log(t,...n){let r=this.level;cr.LOG_LEVEL&&(r=cr.LOG_LEVEL),typeof window<"u"&&window.LOG_LEVEL&&(r=window.LOG_LEVEL);const a=I5[r];if(!(I5[t]>=a))return;let i=console.log.bind(console);t===ia.ERROR&&console.error&&(i=console.error.bind(console)),t===ia.WARN&&console.warn&&(i=console.warn.bind(console)),cr.BIND_ALL_LOG_LEVELS&&(t===ia.INFO&&console.info&&(i=console.info.bind(console)),t===ia.DEBUG&&console.debug&&(i=console.debug.bind(console)));const c=`[${t}] ${this._ts()} ${this.name}`;let u="";if(n.length===1&&typeof n[0]=="string")u=`${c} - ${n[0]}`,i(u);else if(n.length===1)u=`${c} ${n[0]}`,i(c,n[0]);else if(typeof n[0]=="string"){let f=n.slice(1);f.length===1&&(f=f[0]),u=`${c} - ${n[0]} ${f}`,i(`${c} - ${n[0]}`,f)}else u=`${c} ${n}`,i(c,n);for(const f of this._pluggables){const h={message:u,timestamp:Date.now()};f.pushLogs([h])}}log(...t){this._log(ia.INFO,...t)}info(...t){this._log(ia.INFO,...t)}warn(...t){this._log(ia.WARN,...t)}error(...t){this._log(ia.ERROR,...t)}debug(...t){this._log(ia.DEBUG,...t)}verbose(...t){this._log(ia.VERBOSE,...t)}addPluggable(t){t&&t.getCategoryName()===wG&&(this._pluggables.push(t),t.configure(this._config))}listPluggables(){return this._pluggables}}cr.LOG_LEVEL=null;cr.BIND_ALL_LOG_LEVELS=!1;class Kr extends Error{constructor({message:t,name:n,recoverySuggestion:r,underlyingError:a,metadata:s}){if(super(t),this.name=n,this.underlyingError=a,this.recoverySuggestion=r,s){const{extendedRequestId:i,httpStatusCode:c,requestId:u}=s;this.metadata={extendedRequestId:i,httpStatusCode:c,requestId:u}}this.constructor=Kr,Object.setPrototypeOf(this,Kr.prototype)}}var Hi;(function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"})(Hi||(Hi={}));const ev=(e,t=Kr)=>(n,r,a)=>{const{message:s,recoverySuggestion:i}=e[r];if(!n)throw new t({name:r,message:a?`${s} ${a}`:s,recoverySuggestion:i})},Ts=typeof Symbol<"u"?Symbol("amplify_default"):"@@amplify_default",zf=new cr("Hub");class cL{constructor(t){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=t}_remove(t,n){const r=this.listeners.get(t);if(!r){zf.warn(`No listeners for ${t}`);return}this.listeners.set(t,[...r.filter(({callback:a})=>a!==n)])}dispatch(t,n,r,a){typeof t=="string"&&this.protectedChannels.indexOf(t)>-1&&(a===Ts||zf.warn(`WARNING: ${t} is protected and dispatching on it can have unintended consequences`));const s={channel:t,payload:{...n},source:r,patternInfo:[]};try{this._toListeners(s)}catch(i){zf.error(i)}}listen(t,n,r="noname"){let a;if(typeof n!="function")throw new Kr({name:CG,message:"No callback supplied to Hub"});a=n;let s=this.listeners.get(t);return s||(s=[],this.listeners.set(t,s)),s.push({name:r,callback:a}),()=>{this._remove(t,a)}}_toListeners(t){const{channel:n,payload:r}=t,a=this.listeners.get(n);a&&a.forEach(s=>{zf.debug(`Dispatching to ${n} with `,r);try{s.callback(t)}catch(i){zf.error(i)}})}}const Os=new cL("__default__"),F0=new cL("internal-hub"),nk=()=>{if(typeof window=="object"&&typeof window.crypto=="object")return window.crypto;if(typeof crypto=="object")return crypto;throw new Kr({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},EG=()=>{if(typeof window<"u"&&typeof window.btoa=="function")return window.btoa;if(typeof btoa=="function")return btoa;throw new Kr({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},_G=()=>{if(typeof window<"u"&&typeof window.atob=="function")return window.atob;if(typeof atob=="function")return atob;throw new Kr({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})},rk={convert(e,t){let n=e;return t?.urlSafe&&(n=n.replace(/-/g,"+").replace(/_/g,"/")),_G()(n)}};var _s;(function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"})(_s||(_s={}));const kG={[_s.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[_s.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[_s.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[_s.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[_s.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}},ak=ev(kG);function dt(e){let t=!0;e?t=!!e.userPoolId&&!!e.userPoolClientId:t=!1,ak(t,_s.AuthUserPoolException)}function tv(e){const t=!!e?.loginWith?.oauth?.domain&&!!e?.loginWith?.oauth?.redirectSignOut&&!!e?.loginWith?.oauth?.redirectSignIn&&!!e?.loginWith?.oauth?.responseType;ak(t,_s.OAuthNotConfigureException)}function l0(e){const t=!!e?.identityPoolId;ak(t,_s.InvalidIdentityPoolIdException)}function Eo(e){const t=e.split(".");if(t.length!==3)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(rk.convert(r).split("").map(i=>`%${`00${i.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),s=JSON.parse(a);return{toString:()=>e,payload:s}}catch{throw new Error("Invalid token payload")}}const uL=e=>{const t=Reflect.ownKeys(e);for(const n of t){const r=e[n];(r&&typeof r=="object"||typeof r=="function")&&uL(r)}return Object.freeze(e)},AG=new cr("parseAWSExports"),IG={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},RG=(e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new Kr({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:n,aws_appsync_graphqlEndpoint:r,aws_appsync_region:a,aws_bots_config:s,aws_cognito_identity_pool_id:i,aws_cognito_sign_up_verification_method:c,aws_cognito_mfa_configuration:u,aws_cognito_mfa_types:f,aws_cognito_password_protection_settings:h,aws_cognito_verification_mechanisms:m,aws_cognito_signup_attributes:g,aws_cognito_social_providers:y,aws_cognito_username_attributes:S,aws_mandatory_sign_in:w,aws_mobile_analytics_app_id:C,aws_mobile_analytics_app_region:_,aws_user_files_s3_bucket:k,aws_user_files_s3_bucket_region:A,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:R,aws_user_pools_id:N,aws_user_pools_web_client_id:O,geo:T,oauth:P,predictions:L,aws_cloud_logic_custom:H,Notifications:j,modelIntrospection:U}=e,q={};C&&(q.Analytics={Pinpoint:{appId:C,region:_}});const{InAppMessaging:X,Push:se}=j??{};if(X?.AWSPinpoint||se?.AWSPinpoint){if(X?.AWSPinpoint){const{appId:ee,region:oe}=X.AWSPinpoint;q.Notifications={InAppMessaging:{Pinpoint:{appId:ee,region:oe}}}}if(se?.AWSPinpoint){const{appId:ee,region:oe}=se.AWSPinpoint;q.Notifications={...q.Notifications,PushNotification:{Pinpoint:{appId:ee,region:oe}}}}}if(Array.isArray(s)&&(q.Interactions={LexV1:Object.fromEntries(s.map(ee=>[ee.name,ee]))}),r){const ee=IG[n];ee||AG.debug(`Invalid authentication type ${n}. Falling back to IAM.`),q.API={GraphQL:{endpoint:r,apiKey:t,region:a,defaultAuthMode:ee??"iam"}},U&&(q.API.GraphQL.modelIntrospection=U)}const B=u?{status:u&&u.toLowerCase(),totpEnabled:f?.includes("TOTP")??!1,smsEnabled:f?.includes("SMS")??!1}:void 0,Q=h?{minLength:h.passwordPolicyMinLength,requireLowercase:h.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:h.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:h.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:h.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,ce=Array.from(new Set([...m??[],...g??[]])).reduce((ee,oe)=>({...ee,[oe.toLowerCase()]:{required:!0}}),{}),Se=S?.includes("EMAIL")??!1,z=S?.includes("PHONE_NUMBER")??!1;(i||N)&&(q.Auth={Cognito:{identityPoolId:i,allowGuestAccess:w!=="enable",signUpVerificationMethod:c,userAttributes:ce,userPoolClientId:O,userPoolId:N,mfa:B,passwordFormat:Q,loginWith:{username:!(Se||z),email:Se,phone:z}}});const V=P?Object.keys(P).length>0:!1,K=y?y.length>0:!1;if(q.Auth&&V&&(q.Auth.Cognito.loginWith={...q.Auth.Cognito.loginWith,oauth:{...TG(P),...K&&{providers:OG(y)}}}),k&&(q.Storage={S3:{bucket:k,region:A,dangerouslyConnectToHttpEndpointForTesting:R}}),T){const{amazon_location_service:ee}=T;q.Geo={LocationService:{maps:ee.maps,geofenceCollections:ee.geofenceCollections,searchIndices:ee.search_indices,region:ee.region}}}if(H&&(q.API={...q.API,REST:H.reduce((ee,oe)=>{const{name:pe,endpoint:Y,region:fe,service:ge}=oe;return{...ee,[pe]:{endpoint:Y,...ge?{service:ge}:void 0,...fe?{region:fe}:void 0}}},{})}),L){const{VoiceId:ee}=L?.convert?.speechGenerator?.defaults??{};q.Predictions=ee?{...L,convert:{...L.convert,speechGenerator:{...L.convert.speechGenerator,defaults:{voiceId:ee}}}}:L}return q},R5=e=>e?.split(",")??[],TG=({domain:e,scope:t,redirectSignIn:n,redirectSignOut:r,responseType:a})=>({domain:e,scopes:t,redirectSignIn:R5(n),redirectSignOut:R5(r),responseType:a}),OG=e=>e.map(t=>{const n=t.toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)}),dL=Symbol("oauth-listener"),sr=[];for(let e=0;e<256;++e)sr.push((e+256).toString(16).slice(1));function NG(e,t=0){return(sr[e[t+0]]+sr[e[t+1]]+sr[e[t+2]]+sr[e[t+3]]+"-"+sr[e[t+4]]+sr[e[t+5]]+"-"+sr[e[t+6]]+sr[e[t+7]]+"-"+sr[e[t+8]]+sr[e[t+9]]+"-"+sr[e[t+10]]+sr[e[t+11]]+sr[e[t+12]]+sr[e[t+13]]+sr[e[t+14]]+sr[e[t+15]]).toLowerCase()}let jS;const MG=new Uint8Array(16);function PG(){if(!jS){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");jS=crypto.getRandomValues.bind(crypto)}return jS(MG)}const DG=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),T5={randomUUID:DG};function LG(e,t,n){if(T5.randomUUID&&!t&&!e)return T5.randomUUID();e=e||{};const r=e.random??e.rng?.()??PG();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let a=0;a<16;++a)t[n+a]=r[a];return t}return NG(r)}function UG(e){const{version:t}=e;return t?t.startsWith("1"):!1}function jG(e){if(!e)return;const{bucket_name:t,aws_region:n,buckets:r}=e;return{S3:{bucket:t,region:n,buckets:r&&YG(r)}}}function zG(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:n,identity_pool_id:r,password_policy:a,mfa_configuration:s,mfa_methods:i,unauthenticated_identities_enabled:c,oauth:u,username_attributes:f,standard_required_attributes:h,groups:m,passwordless:g}=e,y={Cognito:{userPoolId:t,userPoolClientId:n,groups:m}};return r&&(y.Cognito={...y.Cognito,identityPoolId:r}),a&&(y.Cognito.passwordFormat={requireLowercase:a.require_lowercase,requireNumbers:a.require_numbers,requireUppercase:a.require_uppercase,requireSpecialCharacters:a.require_symbols,minLength:a.min_length??6}),s&&(y.Cognito.mfa={status:KG(s),smsEnabled:i?.includes("SMS"),totpEnabled:i?.includes("TOTP")}),c&&(y.Cognito.allowGuestAccess=c),u&&(y.Cognito.loginWith={oauth:{domain:u.domain,redirectSignIn:u.redirect_sign_in_uri,redirectSignOut:u.redirect_sign_out_uri,responseType:u.response_type==="token"?"token":"code",scopes:u.scopes,providers:GG(u.identity_providers)}}),f&&(y.Cognito.loginWith={...y.Cognito.loginWith,email:f.includes("email"),phone:f.includes("phone_number"),username:f.includes("username")}),h&&(y.Cognito.userAttributes=h.reduce((S,w)=>({...S,[w]:{required:!0}}),{})),g&&(y.Cognito.passwordless={emailOtpEnabled:g.email_otp_enabled,smsOtpEnabled:g.sms_otp_enabled,webAuthn:g.web_authn?{relyingPartyId:g.web_authn.relying_party_id,userVerification:g.web_authn.user_verification}:void 0,preferredChallenge:g.preferred_challenge}),y}function FG(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}function $G(e){if(!e)return;const{aws_region:t,geofence_collections:n,maps:r,search_indices:a}=e;return{LocationService:{region:t,searchIndices:a,geofenceCollections:n,maps:r}}}function BG(e){if(!e)return;const{aws_region:t,default_authorization_type:n,url:r,api_key:a,model_introspection:s}=e;return{GraphQL:{endpoint:r,defaultAuthMode:fL(n),region:t,apiKey:a,modelIntrospection:s}}}function HG(e){if(!e?.events)return;const{url:t,aws_region:n,api_key:r,default_authorization_type:a}=e.events;return{Events:{endpoint:t,defaultAuthMode:fL(a),region:n,apiKey:r}}}function qG(e){if(!e)return;const{aws_region:t,channels:n,amazon_pinpoint_app_id:r}=e,a=n.includes("IN_APP_MESSAGING"),s=n.includes("APNS")||n.includes("FCM");if(!(a||s))return;const i={};return a&&(i.InAppMessaging={Pinpoint:{appId:r,region:t}}),s&&(i.PushNotification={Pinpoint:{appId:r,region:t}}),i}function WG(e){const t={};if(e.storage&&(t.Storage=jG(e.storage)),e.auth&&(t.Auth=zG(e.auth)),e.analytics&&(t.Analytics=FG(e.analytics)),e.geo&&(t.Geo=$G(e.geo)),e.data&&(t.API=BG(e.data)),e.custom){const n=HG(e.custom);n&&"Events"in n&&(t.API={...t.API,...n})}return e.notifications&&(t.Notifications=qG(e.notifications)),t}const VG={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function fL(e){return VG[e]}const O5={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function GG(e=[]){return e.reduce((t,n)=>(O5[n]!==void 0&&t.push(O5[n]),t),[])}function KG(e){return e==="OPTIONAL"?"optional":e==="REQUIRED"?"on":"off"}function YG(e){const t={};return e.forEach(({name:n,bucket_name:r,aws_region:a,paths:s})=>{if(n in t)throw new Error(`Duplicate friendly name found: ${n}. Name must be unique.`);const i=s?Object.entries(s).reduce((c,[u,f])=>(f!==void 0&&(c[u]=f),c),{}):void 0;t[n]={bucketName:r,region:a,paths:i}}),t}const hL=e=>Object.keys(e).some(t=>t.startsWith("aws_"))?RG(e):UG(e)?WG(e):e;var N5=function(){return N5=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},N5.apply(this,arguments)};function B6e(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function ZG(e,t,n,r){function a(s){return s instanceof n?s:new n(function(i){i(s)})}return new(n||(n=Promise))(function(s,i){function c(h){try{f(r.next(h))}catch(m){i(m)}}function u(h){try{f(r.throw(h))}catch(m){i(m)}}function f(h){h.done?s(h.value):a(h.value).then(c,u)}f((r=r.apply(e,t||[])).next())})}function XG(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,a,s,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(h){return u([f,h])}}function u(f){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,f[0]&&(n=0)),n;)try{if(r=1,a&&(s=f[0]&2?a.return:f[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,f[1])).done)return s;switch(a=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return n.label++,{value:f[1],done:!1};case 5:n.label++,a=f[1],f=[0];continue;case 7:f=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){n.label=f[1];break}if(f[0]===6&&n.label<s[1]){n.label=s[1],s=f;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(f);break}s[2]&&n.ops.pop(),n.trys.pop();continue}f=t.call(e,n)}catch(h){f=[6,h],a=0}finally{r=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function H6e(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,s;r<a;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Aa=64,QG=32,JG=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),eK=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],tK=Math.pow(2,53)-1,c0=(function(){function e(){this.state=Int32Array.from(eK),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var n=0,r=t.byteLength;if(this.bytesHashed+=r,this.bytesHashed*8>tK)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===Aa&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var t=this.bytesHashed*8,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%Aa>=Aa-8){for(var a=this.bufferLength;a<Aa;a++)n.setUint8(a,0);this.hashBuffer(),this.bufferLength=0}for(var a=this.bufferLength;a<Aa-8;a++)n.setUint8(a,0);n.setUint32(Aa-8,Math.floor(t/4294967296),!0),n.setUint32(Aa-4,t),this.hashBuffer(),this.finished=!0}for(var s=new Uint8Array(QG),a=0;a<8;a++)s[a*4]=this.state[a]>>>24&255,s[a*4+1]=this.state[a]>>>16&255,s[a*4+2]=this.state[a]>>>8&255,s[a*4+3]=this.state[a]>>>0&255;return s},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,r=t.state,a=r[0],s=r[1],i=r[2],c=r[3],u=r[4],f=r[5],h=r[6],m=r[7],g=0;g<Aa;g++){if(g<16)this.temp[g]=(n[g*4]&255)<<24|(n[g*4+1]&255)<<16|(n[g*4+2]&255)<<8|n[g*4+3]&255;else{var y=this.temp[g-2],S=(y>>>17|y<<15)^(y>>>19|y<<13)^y>>>10;y=this.temp[g-15];var w=(y>>>7|y<<25)^(y>>>18|y<<14)^y>>>3;this.temp[g]=(S+this.temp[g-7]|0)+(w+this.temp[g-16]|0)}var C=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&f^~u&h)|0)+(m+(JG[g]+this.temp[g]|0)|0)|0,_=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&s^a&i^s&i)|0;m=h,h=f,f=u,u=c+C|0,c=i,i=s,s=a,a=C+_|0}r[0]+=a,r[1]+=s,r[2]+=i,r[3]+=c,r[4]+=u,r[5]+=f,r[6]+=h,r[7]+=m},e})();const nK=e=>new TextEncoder().encode(e);var rK=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:nK;function pL(e){return e instanceof Uint8Array?e:typeof e=="string"?rK(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function aK(e){return typeof e=="string"?e.length===0:e.byteLength===0}var Zl=(function(){function e(t){this.secret=t,this.hash=new c0,this.reset()}return e.prototype.update=function(t){if(!(aK(t)||this.error))try{this.hash.update(pL(t))}catch(n){this.error=n}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return ZG(this,void 0,void 0,function(){return XG(this,function(t){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new c0,this.secret){this.outer=new c0;var t=sK(this.secret),n=new Uint8Array(Aa);n.set(t);for(var r=0;r<Aa;r++)t[r]^=54,n[r]^=92;this.hash.update(t),this.outer.update(n);for(var r=0;r<t.byteLength;r++)t[r]=0}},e})();function sK(e){var t=pL(e);if(t.byteLength>Aa){var n=new c0;n.update(t),t=n.digest()}var r=new Uint8Array(Aa);return r.set(t),r}for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`)}var Tn;(function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"})(Tn||(Tn={}));var Na;(function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"})(Na||(Na={}));var po;(function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"})(po||(po={}));var M5;(function(e){e.Record="1",e.IdentifyUser="2"})(M5||(M5={}));var P5;(function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"})(P5||(P5={}));var tt;(function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"})(tt||(tt={}));var D5;(function(e){e.Subscribe="1",e.GraphQl="2"})(D5||(D5={}));var Eh;(function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"})(Eh||(Eh={}));var zE;(function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"})(zE||(zE={}));var L5;(function(e){e.None="0"})(L5||(L5={}));var U5;(function(e){e.Convert="1",e.Identify="2",e.Interpret="3"})(U5||(U5={}));var j5;(function(e){e.Subscribe="1"})(j5||(j5={}));var z5;(function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"})(z5||(z5={}));var Va;(function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"})(Va||(Va={}));const oK="6.18.0",nv=()=>typeof global<"u",kd=()=>typeof window<"u",mL=()=>typeof document<"u",sk=()=>typeof process<"u",zh=(e,t)=>!!Object.keys(e).find(n=>n.startsWith(t));var F5={};function iK(){const e=r=>r.startsWith("_react")||r.startsWith("__react"),t=r=>Object.keys(r).find(e),n=()=>Array.from(document.querySelectorAll("[id]"));return mL()&&n().some(t)}function lK(){return sk()&&typeof F5<"u"&&!!Object.keys(F5).find(e=>e.includes("react"))}function cK(){return kd()&&zh(window,"__VUE")}function uK(){return nv()&&zh(global,"__VUE")}var $5={};function dK(){return kd()&&zh(window,"__SVELTE")}function fK(){return sk()&&typeof $5<"u"&&!!Object.keys($5).find(e=>e.includes("svelte"))}function hK(){return kd()&&window.next&&typeof window.next=="object"}function pK(){return nv()&&(zh(global,"__next")||zh(global,"__NEXT"))}function mK(){return kd()&&(window.__NUXT__!==void 0||window.$nuxt!==void 0)}function gK(){return nv()&&typeof global.__NUXT_PATHS__<"u"}var B5={};function vK(){const e=!!(mL()&&document.querySelector("[ng-version]")),t=!!(kd()&&typeof window.ng<"u");return e||t}function yK(){return sk()&&typeof B5=="object"&&B5.npm_lifecycle_script?.startsWith("ng ")||!1}function bK(){return typeof navigator<"u"&&typeof navigator.product<"u"&&navigator.product==="ReactNative"}function SK(){return nv()&&typeof global.expo<"u"}function wK(){return kd()}const xK=[{platform:Tn.Expo,detectionMethod:SK},{platform:Tn.ReactNative,detectionMethod:bK},{platform:Tn.NextJs,detectionMethod:hK},{platform:Tn.Nuxt,detectionMethod:mK},{platform:Tn.Angular,detectionMethod:vK},{platform:Tn.React,detectionMethod:iK},{platform:Tn.VueJs,detectionMethod:cK},{platform:Tn.Svelte,detectionMethod:dK},{platform:Tn.WebUnknown,detectionMethod:wK},{platform:Tn.NextJsSSR,detectionMethod:pK},{platform:Tn.NuxtSSR,detectionMethod:gK},{platform:Tn.ReactSSR,detectionMethod:lK},{platform:Tn.VueJsSSR,detectionMethod:uK},{platform:Tn.AngularSSR,detectionMethod:yK},{platform:Tn.SvelteSSR,detectionMethod:fK}];function CK(){return xK.find(e=>e.detectionMethod())?.platform||Tn.ServerSideUnknown}let _h;const zS=[];let FE=!1;const EK=10,_K=10,kK=1e3,gL=()=>{if(!_h){if(_h=CK(),FE)for(;zS.length;)zS.pop()?.();else zS.forEach(e=>{e()});H5(Tn.ServerSideUnknown,EK),H5(Tn.WebUnknown,_K)}return _h};function AK(){_h=void 0}function H5(e,t){_h===e&&!FE&&setTimeout(()=>{AK(),FE=!0,setTimeout(gL,kK)},t)}const Ei={},io=e=>{Ei[e.category]=e.apis.reduce((r,a)=>({...r,[a]:{refCount:r[a]?.refCount?r[a].refCount+1:1,additionalDetails:e.additionalDetails}}),Ei[e.category]??{});let t=!1;return()=>{t||(t=!0,e.apis.forEach(r=>{const a=Ei[e.category][r].refCount;a>1?Ei[e.category][r].refCount=a-1:(delete Ei[e.category][r],Object.keys(Ei[e.category]).length||delete Ei[e.category])}))}},IK=(e,t)=>Ei[e]?.[t]?.additionalDetails,RK="aws-amplify",TK=e=>e.replace(/\+.*/,""),OK=({category:e,action:t}={})=>{const n=[[RK,TK(oK)]];if(e&&n.push([e,t]),n.push(["framework",gL()]),e&&t){const r=IK(e,t);r&&r.forEach(a=>{n.push(a)})}return n},rv=e=>OK(e).map(([r,a])=>r&&a?`${r}/${a}`:r).join(" "),av=()=>typeof window<"u"&&typeof window.document<"u",q5=new cr("Auth");class NK{configure(t,n){this.authConfig=t,this.authOptions=n,t&&t.Cognito?.userPoolEndpoint&&q5.warn(W5("Amazon Cognito User Pool")),t&&t.Cognito?.identityPoolEndpoint&&q5.warn(W5("Amazon Cognito Identity Pool"))}async fetchAuthSession(t={}){let n,r;const a=await this.getTokens(t);return a?(r=a.accessToken?.payload?.sub,n=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:a,authenticated:!0,forceRefresh:t.forceRefresh})):n=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:t.forceRefresh}),{tokens:a,credentials:n?.credentials,identityId:n?.identityId,userSub:r}}async clearCredentials(){await this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId()}async getTokens(t){return await this.authOptions?.tokenProvider?.getTokens(t)??void 0}}const W5=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`;class MK{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new NK}configure(t,n){const r=hL(t);this.resourcesConfig=r,n&&(this.libraryOptions=n),this.resourcesConfig=uL(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),(this.resourcesConfig.Analytics?.Pinpoint||this.resourcesConfig.Notifications?.InAppMessaging?.Pinpoint||this.resourcesConfig.Notifications?.PushNotification?.Pinpoint)&&console.warn("AWS will end support for Amazon Pinpoint on October 30, 2026. The guidance is to use AWS End User Messaging for push notifications and SMS, Amazon Simple Email Service for sending emails, Amazon Connect for campaigns, journeys, endpoints, and engagement analytics. Pinpoint recommends Amazon Kinesis for event collection and mobile analytics."),Os.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",Ts),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[dL](t){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?t(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=t}notifyOAuthListener(){!this.resourcesConfig.Auth?.Cognito.loginWith?.oauth||!this.oAuthListener||(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}const Kt=new MK,vL=(e,t)=>e.Auth.fetchAuthSession(t),sv=e=>vL(Kt,e);function yL(){return Kt.Auth.clearCredentials()}const ov=e=>{const{headers:t,statusCode:n}=e;return{...PK(e)?e.$metadata:{},httpStatusCode:n,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},PK=e=>typeof e?.$metadata=="object",Ad=async e=>{if(!e||e.statusCode<300)return;const t=await xp(e),r=(i=>{const[c]=i.toString().split(/[,:]+/);return c.includes("#")?c.split("#")[1]:c})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError"),a=t.message??t.Message??"Unknown error",s=new Error(a);return Object.assign(s,{name:r,$metadata:ov(e)})},xp=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:ov(e)})},Pn=(e,t,n,r)=>async(a,s)=>{const i={...r,...a},c=await i.endpointResolver(i,s),u=await t(s,c),f=await e(u,{...i});return n(f)},DK=300*1e3;function LK(e=DK){return r=>{const a=2**r*100+100*Math.random();return a>e?!1:a}}const bL=3,V5="amz-sdk-invocation-id",UK="amz-sdk-request",G5=300*1e3,SL=e=>{const n=LK(G5)(e);return n===!1?G5:n},jK=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],zK=e=>!!e&&jK.includes(e),wL=e=>async(t,n)=>{const r=n??await e(t)??void 0,a=r?.code||r?.name,s=t?.statusCode;return{retryable:HK(n)||BK(s,a)||zK(a)||qK(s,a)}},FK=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],$K=["TimeoutError","RequestTimeout","RequestTimeoutException"],BK=(e,t)=>e===429||!!t&&FK.includes(t),HK=e=>[Hi.NetworkError,"ERR_NETWORK"].includes(e?.name),qK=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&$K.includes(t),xL="cognito-identity",CL={service:xL,retryDecider:wL(Ad),computeDelay:SL,cache:"no-store"},WK=({maxAttempts:e=bL,retryDecider:t,computeDelay:n,abortSignal:r})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(a,s)=>async function(c){let u,f=s.attemptsCount??0,h;const m=()=>{if(h)return K5(h,f),h;throw K5(u,f),u};for(;!r?.aborted&&f<e;){try{h=await a(c),u=void 0}catch(S){u=S,h=void 0}f=(s.attemptsCount??0)>f?s.attemptsCount??0:f+1,s.attemptsCount=f;const{isCredentialsExpiredError:g,retryable:y}=await t(h,u,s);if(y){if(s.isCredentialsExpired=!!g,!r?.aborted&&f<e){const S=n(f);await VK(S,r)}continue}else return m()}if(r?.aborted)throw new Error("Request aborted.");return m()}},VK=(e,t)=>{if(t?.aborted)return Promise.resolve();let n,r;const a=new Promise(s=>{r=s,n=setTimeout(s,e)});return t?.addEventListener("abort",function s(i){clearTimeout(n),t?.removeEventListener("abort",s),r()}),a},K5=(e,t)=>{Object.prototype.toString.call(e)==="[object Object]"&&(e.$metadata={...e.$metadata??{},attempts:t})},GK=LG,KK=()=>e=>async function(n){return n.headers[V5]||(n.headers[V5]=GK()),e(n)},YK=({maxAttempts:e=bL})=>(t,n)=>async function(a){const s=n.attemptsCount??0;return a.headers[UK]=`attempt=${s+1}; max=${e}`,t(a)},ZK=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>n=>async function(a){if(t.trim().length===0)return await n(a);{const s=e.toLowerCase();return a.headers[s]=a.headers[s]?`${a.headers[s]} ${t}`:t,await n(a)}},ok=(e,t)=>(n,r)=>{const a={};let s=i=>e(i,r);for(let i=t.length-1;i>=0;i--){const c=t[i];s=c(r)(s,a)}return s(n)},FS=e=>{let t;return()=>(t||(t=e()),t)},XK=e=>!["HEAD","GET"].includes(e.toUpperCase()),QK=async({url:e,method:t,headers:n,body:r},{abortSignal:a,cache:s,withCrossDomainCredentials:i})=>{let c;try{c=await fetch(e,{method:t,headers:n,body:XK(t)?r:void 0,signal:a,cache:s,credentials:i?"include":"same-origin"})}catch(m){throw m instanceof TypeError?new Kr({name:Hi.NetworkError,message:"A network error has occurred.",underlyingError:m}):m}const u={};c.headers?.forEach((m,g)=>{u[g.toLowerCase()]=m});const f={statusCode:c.status,headers:u,body:null},h=Object.assign(c.body??{},{text:FS(()=>c.text()),blob:FS(()=>c.blob()),json:FS(()=>c.json())});return{...f,body:h}},EL=ok(QK,[ZK,KK,WK,YK]),JK=()=>e=>async function(n){return n.headers["cache-control"]="no-store",e(n)},_L=ok(EL,[JK]),kL=e=>(t,n)=>{const r=eY(e),a=JSON.stringify(t);return tY(n,r,a)},eY=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),tY=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),Y5=e=>Pn(_L,kL("GetCredentialsForIdentity"),nY,{...CL,...e,userAgentValue:rv()}),nY=async e=>{if(e.statusCode>=300)throw await Ad(e);const t=await xp(e);return{IdentityId:t.IdentityId,Credentials:rY(t.Credentials),$metadata:ov(e)}},rY=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(e*1e3)}),aY=e=>Pn(_L,kL("GetId"),sY,{...CL,...e,userAgentValue:rv()}),sY=async e=>{if(e.statusCode>=300)throw await Ad(e);return{IdentityId:(await xp(e)).IdentityId,$metadata:ov(e)}},AL={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},oY={partitions:[AL,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},IL=e=>{const{partitions:t}=oY;for(const{regions:n,outputs:r,regionRegex:a}of t){const s=new RegExp(a);if(n.includes(e)||s.test(e))return r.dnsSuffix}return AL.outputs.dnsSuffix},el=URL,iY=({region:e})=>({url:new el(`https://${xL}.${e}.${IL(e)}`)});class uh extends Kr{constructor(){super({name:Hi.PlatformNotSupported,message:"Function not supported on current platform"})}}class RL{constructor(t){this.storage=t}async setItem(t,n){if(!this.storage)throw new uh;this.storage.setItem(t,n)}async getItem(t){if(!this.storage)throw new uh;return this.storage.getItem(t)}async removeItem(t){if(!this.storage)throw new uh;this.storage.removeItem(t)}async clear(){if(!this.storage)throw new uh;this.storage.clear()}}class TL{constructor(){this.storage=new Map}get length(){return this.storage.size}key(t){return t>this.length-1?null:Array.from(this.storage.keys())[t]}setItem(t,n){this.storage.set(t,n)}getItem(t){return this.storage.get(t)??null}removeItem(t){this.storage.delete(t)}clear(){this.storage.clear()}}const OL=new cr("CoreStorageUtils"),lY=()=>{try{if(typeof window<"u"&&window.localStorage)return window.localStorage}catch{OL.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new TL},NL=()=>{try{if(typeof window<"u"&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch{return OL.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new TL}};class cY extends RL{constructor(){super(lY())}}class uY extends RL{constructor(){super(NL())}}class dY{constructor(t){this._storage=t}get storage(){if(!this._storage)throw new uh;return this._storage}setItem(t,n){this.storage.setItem(t,n)}getItem(t){return this.storage.getItem(t)}removeItem(t){this.storage.removeItem(t)}clear(){this.storage.clear()}}class fY extends dY{constructor(){super(NL())}}function rg(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 hY={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 $E(e,t){function n(a,s,i){if(!(typeof document>"u")){i=rg({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,i[u]!==!0&&(c+="="+i[u].split(";")[0]));return document.cookie=a+"="+e.write(s,a)+c}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var s=document.cookie?document.cookie.split("; "):[],i={},c=0;c<s.length;c++){var u=s[c].split("="),f=u.slice(1).join("=");try{var h=decodeURIComponent(u[0]);if(h in i||(i[h]=e.read(f,h)),a===h)break}catch{}}return a?i[a]:i}}return Object.create({set:n,get:r,remove:function(a,s){n(a,"",rg({},s,{expires:-1}))},withAttributes:function(a){return $E(this.converter,rg({},this.attributes,a))},withConverter:function(a){return $E(rg({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ag=$E(hY,{path:"/"});class pY{constructor(t={}){const{path:n,domain:r,expires:a,sameSite:s,secure:i}=t;if(this.domain=r,this.path=n||"/",this.expires=Object.prototype.hasOwnProperty.call(t,"expires")?a:365,this.secure=Object.prototype.hasOwnProperty.call(t,"secure")?i:!0,Object.prototype.hasOwnProperty.call(t,"sameSite")){if(!s||!["strict","lax","none"].includes(s))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if(s==="none"&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=s}}async setItem(t,n){ag.set(t,n,this.getData())}async getItem(t){return ag.get(t)??null}async removeItem(t){ag.remove(t,this.getData())}async clear(){const t=ag.get(),n=Object.keys(t).map(r=>this.removeItem(r));await Promise.all(n)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}const Cp=new cY;new uY;const So=new fY,mY=new cr("I18n");let gY=class{constructor(){this._options=null,this._lang=null,this._dict={}}setDefaultLanguage(){!this._lang&&typeof window<"u"&&window&&window.navigator&&(this._lang=window.navigator.language),mY.debug(this._lang)}setLanguage(t){this._lang=t}get(t,n=void 0){if(this.setDefaultLanguage(),!this._lang)return typeof n<"u"?n:t;const r=this._lang;let a=this.getByLanguage(t,r);return a||(r.indexOf("-")>0&&(a=this.getByLanguage(t,r.split("-")[0])),a)?a:typeof n<"u"?n:t}getByLanguage(t,n,r=null){if(!n)return r;const a=this._dict[n];return a?a[t]:r}putVocabulariesForLanguage(t,n){let r=this._dict[t];r||(r=this._dict[t]={}),this._dict[t]={...r,...n}}putVocabularies(t){Object.keys(t).forEach(n=>{this.putVocabulariesForLanguage(n,t[n])})}};var Nl;(function(e){e.NotConfigured="NotConfigured"})(Nl||(Nl={}));const vY={[Nl.NotConfigured]:{message:"i18n is not configured."}},sg=ev(vY),Z5=new cr("I18n");let og={language:null},$a=null,ML=class Rl{static configure(t){return Z5.debug("configure I18n"),t&&(og=Object.assign({},og,t.I18n||t),Rl.createInstance()),og}static getModuleName(){return"I18n"}static createInstance(){Z5.debug("create I18n instance"),!$a&&($a=new gY)}static setLanguage(t){Rl.checkConfig(),sg(!!$a,Nl.NotConfigured),$a.setLanguage(t)}static get(t,n){return Rl.checkConfig(),sg(!!$a,Nl.NotConfigured),$a.get(t,n)}static putVocabulariesForLanguage(t,n){Rl.checkConfig(),sg(!!$a,Nl.NotConfigured),$a.putVocabulariesForLanguage(t,n)}static putVocabularies(t){Rl.checkConfig(),sg(!!$a,Nl.NotConfigured),$a.putVocabularies(t)}static checkConfig(){return $a||Rl.createInstance(),!0}};ML.createInstance();const yY=e=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=new Uint8Array(e);nk().getRandomValues(r);for(const a of r)n.push(t[a%t.length]);return n.join("")};function bY(e){return(e.match(/.{2}/g)||[]).map(n=>String.fromCharCode(parseInt(n,16))).join("")}function SY(e){return e.split("").map(t=>t.charCodeAt(0).toString(16).padStart(2,"0")).join("")}const wY=e=>{let t;return async(...n)=>t||(t=new Promise((r,a)=>{e(...n).then(s=>{r(s)}).catch(s=>{a(s)}).finally(()=>{t=void 0})}),t)};function X5({expiresAt:e,clockDrift:t,tolerance:n=5e3}){return Date.now()+t+n>e}const xY=async()=>{const{userAgentData:e}=navigator;if(!e)return navigator.userAgent;const{platform:t="",platformVersion:n="",model:r="",architecture:a="",fullVersionList:s=[]}=await e.getHighEntropyValues(["platform","platformVersion","architecture","model","fullVersionList"]),i=s.map(u=>`${u.brand}/${u.version}`).join(";");return[t,n,a,r,t,i].filter(u=>u).join(" ")||navigator.userAgent};function CY(e){return Array.from(e,t=>String.fromCodePoint(t)).join("")}const rd={convert(e,t={urlSafe:!1,skipPadding:!1}){const n=typeof e=="string"?e:CY(e);let r=EG()(n);return t.urlSafe&&(r=r.replace(/\+/g,"-").replace(/\//g,"_")),t.skipPadding&&(r=r.replace(/=/g,"")),r}};function EY(){return nk().getRandomValues(new Uint32Array(1))[0]}function _Y(e){const{words:t}=e,{sigBytes:n}=e,r=[];for(let a=0;a<n;a++){const s=t[a>>>2]>>>24-a%4*8&255;r.push((s>>>4).toString(16)),r.push((s&15).toString(16))}return r.join("")}class ik{constructor(t,n){this.words=[];let r=t;r=this.words=r||[],n!==void 0?this.sigBytes=n:this.sigBytes=r.length*4}random(t){const n=[];for(let r=0;r<t;r+=4)n.push(EY());return new ik(n,t)}toString(){return _Y(this)}}var et;(function(e){e.EmptySignInUsername="EmptySignInUsername",e.EmptySignInPassword="EmptySignInPassword",e.CustomAuthSignInPassword="CustomAuthSignInPassword",e.EmptySignUpUsername="EmptySignUpUsername",e.EmptySignUpPassword="EmptySignUpPassword",e.EmptyConfirmSignUpUsername="EmptyConfirmSignUpUsername",e.EmptyConfirmSignUpCode="EmptyConfirmSignUpCode",e.EmptyResendSignUpCodeUsername="EmptyresendSignUpCodeUsername",e.EmptyChallengeResponse="EmptyChallengeResponse",e.EmptyConfirmResetPasswordUsername="EmptyConfirmResetPasswordUsername",e.EmptyConfirmResetPasswordNewPassword="EmptyConfirmResetPasswordNewPassword",e.EmptyConfirmResetPasswordConfirmationCode="EmptyConfirmResetPasswordConfirmationCode",e.EmptyResetPasswordUsername="EmptyResetPasswordUsername",e.EmptyVerifyTOTPSetupCode="EmptyVerifyTOTPSetupCode",e.EmptyConfirmUserAttributeCode="EmptyConfirmUserAttributeCode",e.IncorrectMFAMethod="IncorrectMFAMethod",e.EmptyUpdatePassword="EmptyUpdatePassword",e.InvalidPreferredChallenge="InvalidPreferredChallenge"})(et||(et={}));const PL={[et.EmptyChallengeResponse]:{message:"challengeResponse is required to confirmSignIn"},[et.EmptyConfirmResetPasswordUsername]:{message:"username is required to confirmResetPassword"},[et.EmptyConfirmSignUpCode]:{message:"code is required to confirmSignUp"},[et.EmptyConfirmSignUpUsername]:{message:"username is required to confirmSignUp"},[et.EmptyConfirmResetPasswordConfirmationCode]:{message:"confirmationCode is required to confirmResetPassword"},[et.EmptyConfirmResetPasswordNewPassword]:{message:"newPassword is required to confirmResetPassword"},[et.EmptyResendSignUpCodeUsername]:{message:"username is required to confirmSignUp"},[et.EmptyResetPasswordUsername]:{message:"username is required to resetPassword"},[et.EmptySignInPassword]:{message:"password is required to signIn"},[et.EmptySignInUsername]:{message:"username is required to signIn"},[et.EmptySignUpPassword]:{message:"password is required to signUp"},[et.EmptySignUpUsername]:{message:"username is required to signUp"},[et.CustomAuthSignInPassword]:{message:"A password is not needed when signing in with CUSTOM_WITHOUT_SRP",recoverySuggestion:"Do not include a password in your signIn call."},[et.IncorrectMFAMethod]:{message:"Incorrect MFA method was chosen. It should be either SMS, TOTP, or EMAIL",recoverySuggestion:"Try to pass SMS, TOTP, or EMAIL as the challengeResponse"},[et.EmptyVerifyTOTPSetupCode]:{message:"code is required to verifyTotpSetup"},[et.EmptyUpdatePassword]:{message:"oldPassword and newPassword are required to changePassword"},[et.EmptyConfirmUserAttributeCode]:{message:"confirmation code is required to confirmUserAttribute"},[et.InvalidPreferredChallenge]:{message:"The preferred challenge is not enabled in your backend configuration",recoverySuggestion:"Ensure the authentication method is enabled in your Amplify backend configuration"}};var Yn;(function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in",e.OAUTH_ERROR="Couldn't finish OAuth flow, check your User Pool HostedUI settings"})(Yn||(Yn={}));var Ns;(function(e){e.SignInException="SignInException",e.OAuthSignInError="OAuthSignInException"})(Ns||(Ns={}));class Be extends Kr{constructor(t){super(t),this.constructor=Be,Object.setPrototypeOf(this,Be.prototype)}}function yn(e,t){const{message:n,recoverySuggestion:r}=PL[t];if(!e)throw new Be({name:t,message:n,recoverySuggestion:r})}function wt(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||typeof t!="string")throw new Be({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}function BE(e){if(!e||!e.includes(":"))throw new Be({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}function Q5(e){return Object.entries(e).map(([t,n])=>({Name:t,Value:n}))}function kY(e){const t={};return e?.forEach(n=>{n.Name&&(t[n.Name]=n.Value)}),t}var J5;(function(e){e.ConcurrentModificationException="ConcurrentModificationException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException"})(J5||(J5={}));var eO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(eO||(eO={}));var tO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UsernameExistsException="UsernameExistsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(tO||(tO={}));var nO;(function(e){e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(nO||(nO={}));var rO;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(rO||(rO={}));var aO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(aO||(aO={}));var sO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(sO||(sO={}));var oO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(oO||(oO={}));var iO;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(iO||(iO={}));var lO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(lO||(lO={}));var cO;(function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"})(cO||(cO={}));var uO;(function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidIdentityPoolConfigurationException="InvalidIdentityPoolConfigurationException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"})(uO||(uO={}));var dO;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(dO||(dO={}));var fO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException"})(fO||(fO={}));var $0;(function(e){e.PasswordResetRequiredException="PasswordResetRequiredException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})($0||($0={}));var hO;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(hO||(hO={}));var pO;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.MFAMethodNotFoundException="MFAMethodNotFoundException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(pO||(pO={}));var mO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(mO||(mO={}));var HE;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UsernameExistsException="UsernameExistsException"})(HE||(HE={}));var gO;(function(e){e.AliasExistsException="AliasExistsException",e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(gO||(gO={}));var vO;(function(e){e.CodeMismatchException="CodeMismatchException",e.EnableSoftwareTokenMFAException="EnableSoftwareTokenMFAException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(vO||(vO={}));var yO;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(yO||(yO={}));var bO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(bO||(bO={}));var SO;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(SO||(SO={}));const iv="UserUnAuthenticatedException",AY="UserAlreadyAuthenticatedException",IY="DeviceMetadataNotFoundException",DL="AutoSignInException",RY="InvalidRedirectException",TY="InvalidAppSchemeException",OY="InvalidPreferredRedirectUrlException",NY=new Be({name:RY,message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."});new Be({name:TY,message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."});new Be({name:OY,message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."});const MY="InvalidOriginException",PY=new Be({name:MY,message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),DY="OAuthSignOutException",LY="TokenRefreshException",UY="UnexpectedSignInInterruptionException";function Id(e){if(!e||!e.accessToken)throw new Be({name:iv,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}function jY(e){if(!e||!e.idToken)throw new Be({name:iv,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}const zY=new Be({name:LY,message:`Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow.
|
|
3
3
|
Please change your oauth configuration to use 'code grant' flow.`,recoverySuggestion:`Please logout and change your Amplify configuration to use "code grant" flow.
|
|
4
4
|
E.g { responseType: 'code' }`}),FY=new Be({name:iv,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function LL(e){if(HY(e))throw zY;if(!BY(e))throw FY}function UL(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new Be({name:IY,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})}const $Y={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function jL(e){return e?.accessToken||e?.idToken}function BY(e){return jL(e)&&e?.refreshToken}function HY(e){return jL(e)&&!e?.refreshToken}const qY=async e=>{const t=e.getConfig().Auth?.Cognito;dt(t);const n=await e.Auth.getTokens({forceRefresh:!1});Id(n);const{"cognito:username":r,sub:a}=n.idToken?.payload??{},s={username:r,userId:a},i=WY(n);return i&&(s.signInDetails=i),s};function WY(e){return e?.signInDetails}const lv=async()=>qY(Kt),Lt=(e,t)=>rv({category:Na.Auth,action:e,...t}),Xn=e=>(t,n)=>{const r=VY(e),a=JSON.stringify(t);return GY(n,r,a)},VY=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),GY=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"});function Ma(e){if(!e||e.name==="Error"||e instanceof TypeError)throw new Be({name:Hi.Unknown,message:"An unknown error has occurred.",underlyingError:e})}const dr=()=>async e=>{if(e.statusCode>=300){const t=await Ad(e);throw Ma(t),new Be({name:t.name,message:t.message,metadata:t.$metadata})}return xp(e)},KY=()=>(e,t)=>async function(r){return r.headers={...r.headers,"cache-control":"no-store",...await Kt.libraryOptions?.Auth?.headers?.()},e(r)},Qn=ok(EL,[KY]),zL="cognito-idp",Jn={service:zL,retryDecider:wL(Ad),computeDelay:SL,get userAgentValue(){return rv()},cache:"no-store"},Ep=e=>Pn(Qn,Xn("InitiateAuth"),dr(),{...Jn,...e}),ua=e=>Pn(Qn,Xn("RespondToAuthChallenge"),dr(),{...Jn,...e}),YY=e=>Pn(Qn,Xn("VerifySoftwareToken"),dr(),{...Jn,...e}),ZY=e=>Pn(Qn,Xn("AssociateSoftwareToken"),dr(),{...Jn,...e}),XY=({region:e})=>({url:new el(`https://${zL}.${e}.${IL(e)}`)}),xt=({endpointOverride:e})=>t=>e?{url:new el(e)}:XY(t),QY=e=>Pn(Qn,Xn("GetTokensFromRefreshToken"),dr(),{...Jn,...e}),JY=async({tokens:e,authConfig:t,username:n,clientMetadata:r})=>{dt(t?.Cognito);const{userPoolId:a,userPoolClientId:s,userPoolEndpoint:i}=t.Cognito,c=wt(a);LL(e);const u=QY({endpointResolver:xt({endpointOverride:i})}),{AuthenticationResult:f}=await u({region:c},{ClientId:s,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:r}),h=Eo(f?.AccessToken??""),m=f?.IdToken?Eo(f.IdToken):void 0,{iat:g}=h.payload;if(!g)throw new Be({name:"iatNotFoundException",message:"iat not found in access token"});const y=g*1e3-new Date().getTime();return{accessToken:h,idToken:m,clockDrift:y,refreshToken:f?.RefreshToken??e.refreshToken,username:n}},eZ=wY(JY),tZ={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var B0;(function(e){e.InvalidAuthTokens="InvalidAuthTokens"})(B0||(B0={}));const nZ={[B0.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},rZ=ev(nZ),wO="CognitoIdentityServiceProvider";class aZ{getKeyValueStorage(){if(!this.keyValueStorage)throw new Be({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(t){this.keyValueStorage=t}setAuthConfig(t){this.authConfig=t}async loadTokens(){try{const t=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t.accessToken);if(!n)throw new Be({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=Eo(n),a=await this.getKeyValueStorage().getItem(t.idToken),s=a?Eo(a):void 0,i=await this.getKeyValueStorage().getItem(t.refreshToken)??void 0,c=await this.getKeyValueStorage().getItem(t.clockDrift)??"0",u=Number.parseInt(c),f=await this.getKeyValueStorage().getItem(t.signInDetails),h={accessToken:r,idToken:s,refreshToken:i,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:u,username:await this.getLastAuthUser()};return f&&(h.signInDetails=JSON.parse(f)),h}catch{return null}}async storeTokens(t){rZ(t!==void 0,B0.InvalidAuthTokens);const n=t.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),n);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,t.accessToken.toString()),t.idToken?await this.getKeyValueStorage().setItem(r.idToken,t.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),t.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,t.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),t.deviceMetadata&&(t.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,t.deviceMetadata.deviceKey),t.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,t.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,t.deviceMetadata.randomPassword)),t.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(t.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${t.clockDrift}`)}async clearTokens(){const t=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(t.accessToken),this.getKeyValueStorage().removeItem(t.idToken),this.getKeyValueStorage().removeItem(t.clockDrift),this.getKeyValueStorage().removeItem(t.refreshToken),this.getKeyValueStorage().removeItem(t.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(t.oauthMetadata)])}async getDeviceMetadata(t){const n=await this.getAuthKeys(t),r=await this.getKeyValueStorage().getItem(n.deviceKey),a=await this.getKeyValueStorage().getItem(n.deviceGroupKey),s=await this.getKeyValueStorage().getItem(n.randomPasswordKey);return s&&a&&r?{deviceKey:r,deviceGroupKey:a,randomPassword:s}:null}async clearDeviceMetadata(t){const n=await this.getAuthKeys(t);await Promise.all([this.getKeyValueStorage().removeItem(n.deviceKey),this.getKeyValueStorage().removeItem(n.deviceGroupKey),this.getKeyValueStorage().removeItem(n.randomPasswordKey)])}async getAuthKeys(t){dt(this.authConfig?.Cognito);const n=t??await this.getLastAuthUser();return sZ(wO,`${this.authConfig.Cognito.userPoolClientId}.${n}`)}getLastAuthUserKey(){dt(this.authConfig?.Cognito);const t=this.authConfig.Cognito.userPoolClientId;return`${wO}.${t}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(t){const{oauthMetadata:n}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(n,JSON.stringify(t))}async getOAuthMetadata(){const{oauthMetadata:t}=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t);return n&&JSON.parse(n)}}const sZ=(e,t)=>lk(tZ)(`${e}`,t);function lk(e){const t=Object.values({...e});return(n,r)=>t.reduce((a,s)=>({...a,[s]:`${n}.${r}.${s}`}),{})}const xO="amplify-signin-with-hostedUI",gs="CognitoIdentityServiceProvider";class FL{constructor(t){this.keyValueStorage=t}async clearOAuthInflightData(){dt(this.cognitoConfig);const t=vs(gs,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(t.inflightOAuth),this.keyValueStorage.removeItem(t.oauthPKCE),this.keyValueStorage.removeItem(t.oauthState)])}async clearOAuthData(){dt(this.cognitoConfig);const t=vs(gs,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(xO),this.keyValueStorage.removeItem(t.oauthSignIn)}loadOAuthState(){dt(this.cognitoConfig);const t=vs(gs,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthState)}storeOAuthState(t){dt(this.cognitoConfig);const n=vs(gs,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthState,t)}loadPKCE(){dt(this.cognitoConfig);const t=vs(gs,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthPKCE)}storePKCE(t){dt(this.cognitoConfig);const n=vs(gs,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthPKCE,t)}setAuthConfig(t){this.cognitoConfig=t}async loadOAuthInFlight(){dt(this.cognitoConfig);const t=vs(gs,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(t.inflightOAuth)==="true"}async storeOAuthInFlight(t){dt(this.cognitoConfig);const n=vs(gs,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(n.inflightOAuth,`${t}`)}async loadOAuthSignIn(){dt(this.cognitoConfig);const t=vs(gs,this.cognitoConfig.userPoolClientId),n=await this.keyValueStorage.getItem(xO),[r,a]=(await this.keyValueStorage.getItem(t.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:r==="true"||n==="true",preferPrivateSession:a==="true"}}async storeOAuthSignIn(t,n=!1){dt(this.cognitoConfig);const r=vs(gs,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${t},${n}`)}}const vs=(e,t)=>lk($Y)(e,t),qr=new FL(Cp),qE=[],oZ=e=>{qE.push(e)},$L=()=>{for(;qE.length;)qE.pop()?.()};class iZ{constructor(){this.waitForInflightOAuth=av()?async()=>{if(await qr.loadOAuthInFlight())return this.inflightPromise?this.inflightPromise:(this.inflightPromise=new Promise((t,n)=>{oZ(t)}),this.inflightPromise)}:async()=>{}}setAuthConfig(t){qr.setAuthConfig(t.Cognito),this.authConfig=t}setTokenRefresher(t){this.tokenRefresher=t}setAuthTokenStore(t){this.tokenStore=t}getTokenStore(){if(!this.tokenStore)throw new Be({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new Be({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(t){this.clientMetadataProvider=t}async getTokens(t){let n;try{dt(this.authConfig?.Cognito)}catch{return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,n=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(n===null)return null;const a=!!n?.idToken&&X5({expiresAt:(n.idToken?.payload?.exp??0)*1e3,clockDrift:n.clockDrift??0}),s=X5({expiresAt:(n.accessToken?.payload?.exp??0)*1e3,clockDrift:n.clockDrift??0});return(t?.forceRefresh||a||s)&&(n=await this.refreshTokens({tokens:n,username:r,clientMetadata:t?.clientMetadata??await this.clientMetadataProvider?.()}),n===null)?null:{accessToken:n?.accessToken,idToken:n?.idToken,signInDetails:n?.signInDetails}}async refreshTokens({tokens:t,username:n,clientMetadata:r}){try{const{signInDetails:a}=t,s=await this.getTokenRefresher()({tokens:t,authConfig:this.authConfig,username:n,clientMetadata:r});return s.signInDetails=a,await this.setTokens({tokens:s}),Os.dispatch("auth",{event:"tokenRefresh"},"Auth",Ts),s}catch(a){return this.handleErrors(a)}}handleErrors(t){if(Ma(t),this.isAuthenticationError(t)&&this.clearTokens(),Os.dispatch("auth",{event:"tokenRefresh_failure",data:{error:t}},"Auth",Ts),t.name.startsWith("NotAuthorizedException"))return null;throw t}isAuthenticationError(t){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(r=>t?.name?.startsWith?.(r))}async setTokens({tokens:t}){return this.getTokenStore().storeTokens(t)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(t){return this.getTokenStore().getDeviceMetadata(t)}clearDeviceMetadata(t){return this.getTokenStore().clearDeviceMetadata(t)}setOAuthMetadata(t){return this.getTokenStore().setOAuthMetadata(t)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}class lZ{constructor(){this.authTokenStore=new aZ,this.authTokenStore.setKeyValueStorage(Cp),this.tokenOrchestrator=new iZ,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(eZ)}getTokens(t={}){return this.tokenOrchestrator.getTokens(t)}setKeyValueStorage(t){this.authTokenStore.setKeyValueStorage(t)}setClientMetadataProvider(t){this.tokenOrchestrator.setClientMetadataProvider(t)}setAuthConfig(t){this.authTokenStore.setAuthConfig(t),this.tokenOrchestrator.setAuthConfig(t)}}const u0=new lZ,{tokenOrchestrator:Yr}=u0;async function Po(e){if(e.AccessToken){const t=Eo(e.AccessToken),n=(t.payload.iat||0)*1e3,r=new Date().getTime(),a=n>0?n-r:0;let s,i,c;e.RefreshToken&&(i=e.RefreshToken),e.IdToken&&(s=Eo(e.IdToken)),e?.NewDeviceMetadata&&(c=e.NewDeviceMetadata);const u={accessToken:t,idToken:s,refreshToken:i,clockDrift:a,deviceMetadata:c,username:e.username};e?.signInDetails&&(u.signInDetails=e.signInDetails),await Yr.setTokens({tokens:u})}else throw new Kr({message:"Invalid tokens",name:"InvalidTokens",recoverySuggestion:"Check Cognito UserPool settings"})}const cZ="Unable to get user session following successful sign-in.",tl=async()=>{try{Os.dispatch("auth",{event:"signedIn",data:await lv()},"Auth",Ts)}catch(e){throw e.name===iv?new Be({name:UY,message:cZ,recoverySuggestion:"This most likely is due to auth tokens not being persisted. If you are using cookie store, please ensure cookies can be correctly set from your server."}):e}};function BL(){return{active:!1}}const uZ=(e,t)=>{switch(t.type){case"SET_USERNAME":return{...e,username:t.value};case"SET_SESSION":return{...e,session:t.value};case"START":return{...e,active:!0};case"RESET":return BL();default:return e}},dZ=e=>{let t=e(BL(),{type:"RESET"});return{getState:()=>t,dispatch:n=>{t=e(t,n)}}},Li=dZ(uZ),fZ=180*1e3,ig="CognitoSignInState",wo={username:`${ig}.username`,challengeName:`${ig}.challengeName`,signInSession:`${ig}.signInSession`,expiry:`${ig}.expiry`},hZ=(e,t)=>{switch(t.type){case"SET_SIGN_IN_SESSION":return lg({signInSession:t.value}),{...e,signInSession:t.value};case"SET_SIGN_IN_STATE":return lg(t.value),{...t.value};case"SET_CHALLENGE_NAME":return lg({challengeName:t.value}),{...e,challengeName:t.value};case"SET_USERNAME":return lg({username:t.value}),{...e,username:t.value};case"SET_INITIAL_STATE":return mZ();case"RESET_STATE":return HL(),ck();default:return e}},pZ=e=>{const t=Number(e),n=Date.now();return t<=n},es=()=>{Ms.dispatch({type:"RESET_STATE"})},HL=()=>{for(const e of Object.values(wo))So.removeItem(e)},ck=()=>({username:void 0,challengeName:void 0,signInSession:void 0}),mZ=()=>{const e=So.getItem(wo.expiry);if(!e||pZ(e))return HL(),ck();const t=So.getItem(wo.username)??void 0,n=So.getItem(wo.challengeName)??void 0,r=So.getItem(wo.signInSession)??void 0;return{username:t,challengeName:n,signInSession:r}},gZ=e=>{let t=e(ck(),{type:"SET_INITIAL_STATE"});return{getState:()=>t,dispatch:n=>{t=e(t,n)}}},Ms=gZ(hZ);function dc(e){Ms.dispatch({type:"SET_SIGN_IN_STATE",value:e})}const lg=({challengeName:e,signInSession:t,username:n})=>{n&&So.setItem(wo.username,n),e&&So.setItem(wo.challengeName,e),t&&(So.setItem(wo.signInSession,t),So.setItem(wo.expiry,String(Date.now()+fZ)))},CO="Passkeys may not be supported on this device. Ensure your application is running in a secure context (HTTPS) and Web Authentication API is supported.";class Oa extends Kr{constructor(t){super(t),this.constructor=Oa,Object.setPrototypeOf(this,Oa.prototype)}}var Vt;(function(e){e.PasskeyNotSupported="PasskeyNotSupported",e.PasskeyAlreadyExists="PasskeyAlreadyExists",e.InvalidPasskeyRegistrationOptions="InvalidPasskeyRegistrationOptions",e.InvalidPasskeyAuthenticationOptions="InvalidPasskeyAuthenticationOptions",e.RelyingPartyMismatch="RelyingPartyMismatch",e.PasskeyRegistrationFailed="PasskeyRegistrationFailed",e.PasskeyRetrievalFailed="PasskeyRetrievalFailed",e.PasskeyRegistrationCanceled="PasskeyRegistrationCanceled",e.PasskeyAuthenticationCanceled="PasskeyAuthenticationCanceled",e.PasskeyOperationAborted="PasskeyOperationAborted"})(Vt||(Vt={}));const $S="User may have canceled the ceremony or another interruption has occurred. Check underlying error for details.",EO="Ensure your user pool is configured to support the WEB_AUTHN as an authentication factor.",ad={[Vt.PasskeyNotSupported]:{message:"Passkeys may not be supported on this device.",recoverySuggestion:CO},[Vt.InvalidPasskeyRegistrationOptions]:{message:"Invalid passkey registration options.",recoverySuggestion:EO},[Vt.InvalidPasskeyAuthenticationOptions]:{message:"Invalid passkey authentication options.",recoverySuggestion:EO},[Vt.PasskeyRegistrationFailed]:{message:"Device failed to create passkey.",recoverySuggestion:CO},[Vt.PasskeyRetrievalFailed]:{message:"Device failed to retrieve passkey.",recoverySuggestion:"Passkeys may not be available on this device. Try an alternative authentication factor like PASSWORD, EMAIL_OTP, or SMS_OTP."},[Vt.PasskeyAlreadyExists]:{message:"Passkey already exists in authenticator.",recoverySuggestion:"Proceed with existing passkey or try again after deleting the credential."},[Vt.PasskeyRegistrationCanceled]:{message:"Passkey registration ceremony has been canceled.",recoverySuggestion:$S},[Vt.PasskeyAuthenticationCanceled]:{message:"Passkey authentication ceremony has been canceled.",recoverySuggestion:$S},[Vt.PasskeyOperationAborted]:{message:"Passkey operation has been aborted.",recoverySuggestion:$S},[Vt.RelyingPartyMismatch]:{message:"Relying party does not match current domain.",recoverySuggestion:"Ensure relying party identifier matches current domain."}},Rd=ev(ad,Oa),qL=e=>{if(e instanceof Error){if(e.name==="AbortError"){const{message:t,recoverySuggestion:n}=ad[Vt.PasskeyOperationAborted];return new Oa({name:Vt.PasskeyOperationAborted,message:t,recoverySuggestion:n,underlyingError:e})}if(e.name==="SecurityError"){const{message:t,recoverySuggestion:n}=ad[Vt.RelyingPartyMismatch];return new Oa({name:Vt.RelyingPartyMismatch,message:t,recoverySuggestion:n,underlyingError:e})}}return new Oa({name:Hi.Unknown,message:"An unknown error has occurred.",underlyingError:e})},vZ=e=>{if(e instanceof Oa)return e;if(e instanceof Error&&e.name==="NotAllowedError"){const{message:t,recoverySuggestion:n}=ad[Vt.PasskeyAuthenticationCanceled];return new Oa({name:Vt.PasskeyAuthenticationCanceled,message:t,recoverySuggestion:n,underlyingError:e})}return qL(e)},WL=()=>av()&&window.isSecureContext&&"credentials"in navigator&&typeof window.PublicKeyCredential=="function",ks=e=>rd.convert(new Uint8Array(e),{urlSafe:!0,skipPadding:!0}),kh=e=>Uint8Array.from(rk.convert(e,{urlSafe:!0}),t=>t.charCodeAt(0)).buffer,yZ=e=>{const t=kh(e.user.id),n=kh(e.challenge),r=(e.excludeCredentials||[]).map(a=>({...a,id:kh(a.id)}));return{...e,excludeCredentials:r,challenge:n,user:{...e.user,id:t}}},bZ=e=>{const t={clientDataJSON:ks(e.response.clientDataJSON),attestationObject:ks(e.response.attestationObject),transports:e.response.getTransports(),publicKeyAlgorithm:e.response.getPublicKeyAlgorithm(),authenticatorData:ks(e.response.getAuthenticatorData())},n=e.response.getPublicKey();n&&(t.publicKey=ks(n));const r={type:e.type,id:e.id,rawId:ks(e.rawId),clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(r.authenticatorAttachment=e.authenticatorAttachment),r},SZ=e=>{const t=kh(e.challenge),n=(e.allowCredentials||[]).map(r=>({...r,id:kh(r.id)}));return{...e,challenge:t,allowCredentials:n}},wZ=e=>{const t={clientDataJSON:ks(e.response.clientDataJSON),authenticatorData:ks(e.response.authenticatorData),signature:ks(e.response.signature)};e.response.userHandle&&(t.userHandle=ks(e.response.userHandle));const n={id:e.id,rawId:ks(e.rawId),type:e.type,clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(n.authenticatorAttachment=e.authenticatorAttachment),n};function xZ(e){Rd([!!e,!!e?.challenge,!!e?.user,!!e?.rp,!!e?.pubKeyCredParams].every(Boolean),Vt.InvalidPasskeyRegistrationOptions)}function CZ(e){Rd(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAttestationResponse,Vt.PasskeyRegistrationFailed)}function EZ(e){Rd(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAssertionResponse,Vt.PasskeyRetrievalFailed)}const _Z=async e=>{try{const t=WL();Rd(t,Vt.PasskeyNotSupported);const n=SZ(e),r=await navigator.credentials.get({publicKey:n});return EZ(r),wZ(r)}catch(t){throw vZ(t)}},kZ=e=>Pn(Qn,Xn("ConfirmDevice"),dr(),{...Jn,...e}),d0={convert(e){return new TextEncoder().encode(e)}};function Re(e,t){e!=null&&this.fromString(e,t)}function Tr(){return new Re(null,null)}let zi;const AZ=0xdeadbeefcafe,_O=(AZ&16777215)===15715070;function IZ(e,t,n,r,a,s){for(;--s>=0;){const i=t*this[e++]+n[r]+a;a=Math.floor(i/67108864),n[r++]=i&67108863}return a}function RZ(e,t,n,r,a,s){const i=t&32767,c=t>>15;for(;--s>=0;){let u=this[e]&32767;const f=this[e++]>>15,h=c*u+f*i;u=i*u+((h&32767)<<15)+n[r]+(a&1073741823),a=(u>>>30)+(h>>>15)+c*f+(a>>>30),n[r++]=u&1073741823}return a}function TZ(e,t,n,r,a,s){const i=t&16383,c=t>>14;for(;--s>=0;){let u=this[e]&16383;const f=this[e++]>>14,h=c*u+f*i;u=i*u+((h&16383)<<14)+n[r]+a,a=(u>>28)+(h>>14)+c*f,n[r++]=u&268435455}return a}const kO=typeof navigator<"u";kO&&_O&&navigator.appName==="Microsoft Internet Explorer"?(Re.prototype.am=RZ,zi=30):kO&&_O&&navigator.appName!=="Netscape"?(Re.prototype.am=IZ,zi=26):(Re.prototype.am=TZ,zi=28);Re.prototype.DB=zi;Re.prototype.DM=(1<<zi)-1;Re.prototype.DV=1<<zi;const uk=52;Re.prototype.FV=Math.pow(2,uk);Re.prototype.F1=uk-zi;Re.prototype.F2=2*zi-uk;const OZ="0123456789abcdefghijklmnopqrstuvwxyz",cv=[];let Td,Ra;Td=48;for(Ra=0;Ra<=9;++Ra)cv[Td++]=Ra;Td=97;for(Ra=10;Ra<36;++Ra)cv[Td++]=Ra;Td=65;for(Ra=10;Ra<36;++Ra)cv[Td++]=Ra;function AO(e){return OZ.charAt(e)}function NZ(e,t){const n=cv[e.charCodeAt(t)];return n??-1}function MZ(e){for(let t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function PZ(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function dk(e){const t=Tr();return t.fromInt(e),t}function DZ(e,t){let n;if(t===16)n=4;else if(t===8)n=3;else if(t===2)n=1;else if(t===32)n=5;else if(t===4)n=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;let r=e.length,a=!1,s=0;for(;--r>=0;){const i=NZ(e,r);if(i<0){e.charAt(r)==="-"&&(a=!0);continue}a=!1,s===0?this[this.t++]=i:s+n>this.DB?(this[this.t-1]|=(i&(1<<this.DB-s)-1)<<s,this[this.t++]=i>>this.DB-s):this[this.t-1]|=i<<s,s+=n,s>=this.DB&&(s-=this.DB)}this.clamp(),a&&Re.ZERO.subTo(this,this)}function LZ(){const e=this.s&this.DM;for(;this.t>0&&this[this.t-1]==e;)--this.t}function UZ(e){if(this.s<0)return"-"+this.negate().toString(e);let t;if(e==16)t=4;else if(e===8)t=3;else if(e===2)t=1;else if(e===32)t=5;else if(e===4)t=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");const n=(1<<t)-1;let r,a=!1,s="",i=this.t,c=this.DB-i*this.DB%t;if(i-- >0)for(c<this.DB&&(r=this[i]>>c)>0&&(a=!0,s=AO(r));i>=0;)c<t?(r=(this[i]&(1<<c)-1)<<t-c,r|=this[--i]>>(c+=this.DB-t)):(r=this[i]>>(c-=t)&n,c<=0&&(c+=this.DB,--i)),r>0&&(a=!0),a&&(s+=AO(r));return a?s:"0"}function jZ(){const e=Tr();return Re.ZERO.subTo(this,e),e}function zZ(){return this.s<0?this.negate():this}function FZ(e){let t=this.s-e.s;if(t!=0)return t;let n=this.t;if(t=n-e.t,t!=0)return this.s<0?-t:t;for(;--n>=0;)if((t=this[n]-e[n])!=0)return t;return 0}function fk(e){let t=1,n;return(n=e>>>16)!==0&&(e=n,t+=16),(n=e>>8)!==0&&(e=n,t+=8),(n=e>>4)!==0&&(e=n,t+=4),(n=e>>2)!==0&&(e=n,t+=2),(n=e>>1)!==0&&(e=n,t+=1),t}function $Z(){return this.t<=0?0:this.DB*(this.t-1)+fk(this[this.t-1]^this.s&this.DM)}function BZ(e,t){let n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function HZ(e,t){for(let n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function qZ(e,t){const n=e%this.DB,r=this.DB-n,a=(1<<r)-1,s=Math.floor(e/this.DB);let i=this.s<<n&this.DM,c;for(c=this.t-1;c>=0;--c)t[c+s+1]=this[c]>>r|i,i=(this[c]&a)<<n;for(c=s-1;c>=0;--c)t[c]=0;t[s]=i,t.t=this.t+s+1,t.s=this.s,t.clamp()}function WZ(e,t){t.s=this.s;const n=Math.floor(e/this.DB);if(n>=this.t){t.t=0;return}const r=e%this.DB,a=this.DB-r,s=(1<<r)-1;t[0]=this[n]>>r;for(let i=n+1;i<this.t;++i)t[i-n-1]|=(this[i]&s)<<a,t[i-n]=this[i]>>r;r>0&&(t[this.t-n-1]|=(this.s&s)<<a),t.t=this.t-n,t.clamp()}function VZ(e,t){let n=0,r=0;const a=Math.min(e.t,this.t);for(;n<a;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function GZ(e,t){const n=this.abs(),r=e.abs();let a=n.t;for(t.t=a+r.t;--a>=0;)t[a]=0;for(a=0;a<r.t;++a)t[a+n.t]=n.am(0,r[a],t,a,0,n.t);t.s=0,t.clamp(),this.s!==e.s&&Re.ZERO.subTo(t,t)}function KZ(e){const t=this.abs();let n=e.t=2*t.t;for(;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){const r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function YZ(e,t,n){const r=e.abs();if(r.t<=0)return;const a=this.abs();if(a.t<r.t){t?.fromInt(0),n!=null&&this.copyTo(n);return}n===null&&(n=Tr());const s=Tr(),i=this.s,c=e.s,u=this.DB-fk(r[r.t-1]);u>0?(r.lShiftTo(u,s),a.lShiftTo(u,n)):(r.copyTo(s),a.copyTo(n));const f=s.t,h=s[f-1];if(h===0)return;const m=h*(1<<this.F1)+(f>1?s[f-2]>>this.F2:0),g=this.FV/m,y=(1<<this.F1)/m,S=1<<this.F2;let w=n.t,C=w-f;const _=t===null?Tr():t;for(s.dlShiftTo(C,_),n.compareTo(_)>=0&&(n[n.t++]=1,n.subTo(_,n)),Re.ONE.dlShiftTo(f,_),_.subTo(s,s);s.t<f;)s[s.t++]=0;for(;--C>=0;){let k=n[--w]===h?this.DM:Math.floor(n[w]*g+(n[w-1]+S)*y);if((n[w]+=s.am(0,k,n,C,0,f))<k)for(s.dlShiftTo(C,_),n.subTo(_,n);n[w]<--k;)n.subTo(_,n)}t!==null&&(n.drShiftTo(f,t),i!==c&&Re.ZERO.subTo(t,t)),n.t=f,n.clamp(),u>0&&n.rShiftTo(u,n),i<0&&Re.ZERO.subTo(n,n)}function ZZ(e){const t=Tr();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(Re.ZERO)>0&&e.subTo(t,t),t}function XZ(){if(this.t<1)return 0;const e=this[0];if((e&1)===0)return 0;let t=e&3;return t=t*(2-(e&15)*t)&15,t=t*(2-(e&255)*t)&255,t=t*(2-((e&65535)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function QZ(e){return this.compareTo(e)===0}function JZ(e,t){let n=0,r=0;const a=Math.min(e.t,this.t);for(;n<a;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function eX(e){const t=Tr();return this.addTo(e,t),t}function tX(e){const t=Tr();return this.subTo(e,t),t}function nX(e){const t=Tr();return this.multiplyTo(e,t),t}function rX(e){const t=Tr();return this.divRemTo(e,t,null),t}function Od(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function aX(e){const t=Tr();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(Re.ZERO)>0&&this.m.subTo(t,t),t}function sX(e){const t=Tr();return e.copyTo(t),this.reduce(t),t}function oX(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(let t=0;t<this.m.t;++t){let n=e[t]&32767;const r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function iX(e,t){e.squareTo(t),this.reduce(t)}function lX(e,t,n){e.multiplyTo(t,n),this.reduce(n)}Od.prototype.convert=aX;Od.prototype.revert=sX;Od.prototype.reduce=oX;Od.prototype.mulTo=lX;Od.prototype.sqrTo=iX;function cX(e,t,n){let r=e.bitLength(),a,s=dk(1);const i=new Od(t);if(r<=0)return s;r<18?a=1:r<48?a=3:r<144?a=4:r<768?a=5:a=6;const c=[];let u=3;const f=a-1,h=(1<<a)-1;if(c[1]=i.convert(this),a>1){const _=Tr();for(i.sqrTo(c[1],_);u<=h;)c[u]=Tr(),i.mulTo(_,c[u-2],c[u]),u+=2}let m=e.t-1,g,y=!0,S=Tr(),w;for(r=fk(e[m])-1;m>=0;){for(r>=f?g=e[m]>>r-f&h:(g=(e[m]&(1<<r+1)-1)<<f-r,m>0&&(g|=e[m-1]>>this.DB+r-f)),u=a;(g&1)===0;)g>>=1,--u;if((r-=u)<0&&(r+=this.DB,--m),y)c[g].copyTo(s),y=!1;else{for(;u>1;)i.sqrTo(s,S),i.sqrTo(S,s),u-=2;u>0?i.sqrTo(s,S):(w=s,s=S,S=w),i.mulTo(S,c[g],s)}for(;m>=0&&(e[m]&1<<r)===0;)i.sqrTo(s,S),w=s,s=S,S=w,--r<0&&(r=this.DB-1,--m)}const C=i.revert(s);return n(null,C),C}Re.prototype.copyTo=MZ;Re.prototype.fromInt=PZ;Re.prototype.fromString=DZ;Re.prototype.clamp=LZ;Re.prototype.dlShiftTo=BZ;Re.prototype.drShiftTo=HZ;Re.prototype.lShiftTo=qZ;Re.prototype.rShiftTo=WZ;Re.prototype.subTo=VZ;Re.prototype.multiplyTo=GZ;Re.prototype.squareTo=KZ;Re.prototype.divRemTo=YZ;Re.prototype.invDigit=XZ;Re.prototype.addTo=JZ;Re.prototype.toString=UZ;Re.prototype.negate=jZ;Re.prototype.abs=zZ;Re.prototype.compareTo=FZ;Re.prototype.bitLength=$Z;Re.prototype.mod=ZZ;Re.prototype.equals=QZ;Re.prototype.add=eX;Re.prototype.subtract=tX;Re.prototype.multiply=nX;Re.prototype.divide=rX;Re.prototype.modPow=cX;Re.ZERO=dk(0);Re.ONE=dk(1);const uX=async({a:e,g:t,k:n,x:r,B:a,N:s,U:i})=>new Promise((c,u)=>{t.modPow(r,s,(f,h)=>{if(f){u(f);return}a.subtract(n.multiply(h)).modPow(e.add(i.multiply(r)),s,(m,g)=>{if(m){u(m);return}c(g.mod(s))})})}),dX="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",VL={},WE={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),VL[e]=t,WE[t]=e}const sd=e=>{if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const r=e.slice(n,n+2).toLowerCase();if(r in WE)t[n/2]=WE[r];else throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`)}return t},hk=e=>{let t="";for(let n=0;n<e.byteLength;n++)t+=VL[e[n]];return t},VE=e=>{const t=new Zl;t.update(e);const n=t.digestSync(),r=hk(n);return new Array(64-r.length).join("0")+r},f0=e=>VE(sd(e)),fX=/^[89a-f]/i,mo=e=>{if(!(e instanceof Re))throw new Error("Not a BigInteger");const t=e.compareTo(Re.ZERO)<0;let n=e.abs().toString(16);if(n=n.length%2!==0?`0${n}`:n,n=fX.test(n)?`00${n}`:n,t){const r=n.split("").map(s=>{const i=~parseInt(s,16)&15;return"0123456789ABCDEF".charAt(i)}).join("");n=new Re(r,16).add(Re.ONE).toString(16),n.toUpperCase().startsWith("FF8")&&(n=n.substring(2))}return n},hX=({A:e,B:t})=>{const n=new Re(f0(mo(e)+mo(t)),16);if(n.equals(Re.ZERO))throw new Error("U cannot be zero.");return n},pX=(e,t,n)=>{const r=new Zl(t);r.update(e);const a=r.digestSync(),s=new Zl(a);return s.update(n),s.digestSync().slice(0,16)},pk=e=>{const t=new ik().random(e).toString();return sd(t)},mX=()=>rd.convert(pk(40));class gX{constructor({userPoolName:t,a:n,g:r,A:a,N:s}){this.encoder=d0,this.userPoolName=t,this.a=n,this.g=r,this.A=a,this.N=s,this.k=new Re(f0(`${mo(s)}${mo(r)}`),16)}getRandomPassword(){if(!this.randomPassword)throw new Be({name:"EmptyBigIntegerRandomPassword",message:"random password is empty"});return this.randomPassword}getSaltToHashDevices(){if(!this.saltToHashDevices)throw new Be({name:"EmptyBigIntegersaltToHashDevices",message:"saltToHashDevices is empty"});return this.saltToHashDevices}getVerifierDevices(){if(!this.verifierDevices)throw new Be({name:"EmptyBigIntegerVerifierDevices",message:"verifyDevices is empty"});return this.verifierDevices}async generateHashDevice(t,n){this.randomPassword=mX();const r=`${t}${n}:${this.randomPassword}`,a=VE(r),s=hk(pk(16));return this.saltToHashDevices=mo(new Re(s,16)),new Promise((i,c)=>{this.g.modPow(new Re(f0(this.saltToHashDevices+a),16),this.N,(u,f)=>{if(u){c(u);return}this.verifierDevices=mo(f),i()})})}async getPasswordAuthenticationKey({username:t,password:n,serverBValue:r,salt:a}){if(r.mod(this.N).equals(Re.ZERO))throw new Error("B cannot be zero.");const s=hX({A:this.A,B:r}),i=`${this.userPoolName}${t}:${n}`,c=VE(i),u=new Re(f0(mo(a)+c),16),f=await uX({a:this.a,g:this.g,k:this.k,x:u,B:r,N:this.N,U:s}),h=this.encoder.convert("Caldera Derived Key"),m=this.encoder.convert(""),g=new Uint8Array(h.byteLength+m.byteLength);return g.set(h,0),g.set(m,h.byteLength),pX(sd(mo(f)),sd(mo(s)),g)}}const vX=async({a:e,g:t,N:n})=>new Promise((r,a)=>{t.modPow(e,n,(s,i)=>{if(s){a(s);return}if(i.mod(n).equals(Re.ZERO)){a(new Error("Illegal parameter. A mod N cannot be 0."));return}r(i)})}),_p=async e=>{const t=new Re(dX,16),n=new Re("2",16),r=yX(),a=await vX({a:r,g:n,N:t});return new gX({userPoolName:e,a:r,g:n,A:a,N:t})},yX=()=>{const e=hk(pk(128));return new Re(e,16)};async function fc({userPoolId:e,userPoolEndpoint:t,newDeviceMetadata:n,accessToken:r}){if(!n)return;const a=e.split("_")[1]||"",s=await _p(a),i=n?.DeviceKey,c=n?.DeviceGroupKey;try{await s.generateHashDevice(c??"",i??"")}catch{return}const u={Salt:rd.convert(sd(s.getSaltToHashDevices())),PasswordVerifier:rd.convert(sd(s.getVerifierDevices()))},f=s.getRandomPassword();try{return await kZ({endpointResolver:xt({endpointOverride:t})})({region:wt(e)},{AccessToken:r,DeviceName:await xY(),DeviceKey:n?.DeviceKey,DeviceSecretVerifierConfig:u}),{deviceKey:i,deviceGroupKey:c,randomPassword:f}}catch{return}}async function bX(e){const t=Kt.getConfig().Auth?.Cognito;dt(t);const{username:n,signInSession:r,signInDetails:a,challengeName:s}=Ms.getState();if(s!=="WEB_AUTHN"||!n)throw new Be({name:Ns.SignInException,message:"Unable to proceed due to invalid sign in state."});const{CREDENTIAL_REQUEST_OPTIONS:i}=e;Rd(!!i,Vt.InvalidPasskeyAuthenticationOptions);const c=await _Z(JSON.parse(i)),u=ua({endpointResolver:xt({endpointOverride:t.userPoolEndpoint})}),{ChallengeName:f,ChallengeParameters:h,AuthenticationResult:m,Session:g}=await u({region:wt(t.userPoolId),userAgentValue:Lt(tt.ConfirmSignIn)},{ChallengeName:"WEB_AUTHN",ChallengeResponses:{USERNAME:n,CREDENTIAL:JSON.stringify(c)},ClientId:t.userPoolClientId,Session:r});if(dc({signInSession:g,username:n,challengeName:f,signInDetails:a}),m)return await Po({...m,username:n,NewDeviceMetadata:await fc({userPoolId:t.userPoolId,userPoolEndpoint:t.userPoolEndpoint,newDeviceMetadata:m.NewDeviceMetadata,accessToken:m.AccessToken}),signInDetails:a}),Ms.dispatch({type:"RESET_STATE"}),await tl(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};if(f==="WEB_AUTHN")throw new Be({name:Ns.SignInException,message:"Sequential WEB_AUTHN challenges returned from underlying service cannot be handled."});return{challengeName:f,challengeParameters:h}}function er({username:e,userPoolId:t,userPoolClientId:n}){if(typeof window>"u")return;const r=window.AmazonCognitoAdvancedSecurityData;if(typeof r>"u")return;const a=r.getData(e,t,n);return a?{EncodedData:a}:{}}const SX=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wX=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],GL=()=>{const e=new Date,t=wX[e.getUTCDay()],n=SX[e.getUTCMonth()],r=e.getUTCDate();let a=e.getUTCHours();a<10&&(a=`0${a}`);let s=e.getUTCMinutes();s<10&&(s=`0${s}`);let i=e.getUTCSeconds();i<10&&(i=`0${i}`);const c=e.getUTCFullYear();return`${t} ${n} ${r} ${a}:${s}:${i} UTC ${c}`},KL=({userPoolName:e,username:t,challengeParameters:n,dateNow:r,hkdf:a})=>{const s=d0.convert(e),i=d0.convert(t),c=xX(n.SECRET_BLOCK),u=d0.convert(r),f=new Uint8Array(s.byteLength+i.byteLength+c.byteLength+u.byteLength);f.set(s,0),f.set(i,s.byteLength),f.set(c,s.byteLength+i.byteLength),f.set(u,s.byteLength+i.byteLength+c.byteLength);const h=new Zl(a);h.update(f);const m=h.digestSync();return rd.convert(m)},xX=e=>{const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/-/g,"+").replace(/_/g,"/"),r=rk.convert(n),a=new Uint8Array(r.length);for(let s=0;s<r.length;++s)a[s]=r.charCodeAt(s);return a};async function kp({username:e,config:t,clientMetadata:n,session:r,tokenOrchestrator:a}){const{userPoolId:s,userPoolEndpoint:i}=t,c=t.userPoolClientId,u=await a?.getDeviceMetadata(e);UL(u);const f=await _p(u.deviceGroupKey),h={USERNAME:e,SRP_A:f.A.toString(16),DEVICE_KEY:u.deviceKey},m={ChallengeName:"DEVICE_SRP_AUTH",ClientId:c,ChallengeResponses:h,ClientMetadata:n,Session:r},g=ua({endpointResolver:xt({endpointOverride:i})}),{ChallengeParameters:y,Session:S}=await g({region:wt(s)},m);return CX(e,y,n,S,f,t,a)}async function CX(e,t,n,r,a,{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c},u){const f=await u?.getDeviceMetadata(e);UL(f);const h=new Re(t?.SRP_B,16),m=new Re(t?.SALT,16),{deviceKey:g}=f,{deviceGroupKey:y}=f,S=await a.getPasswordAuthenticationKey({username:f.deviceKey,password:f.randomPassword,serverBValue:h,salt:m}),w=GL(),C={USERNAME:t?.USERNAME??e,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:w,PASSWORD_CLAIM_SIGNATURE:KL({username:g,userPoolName:y,challengeParameters:t,dateNow:w,hkdf:S}),DEVICE_KEY:g},_=er({username:e,userPoolId:s,userPoolClientId:i}),k={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:i,ChallengeResponses:C,Session:r,ClientMetadata:n,UserContextData:_};return ua({endpointResolver:xt({endpointOverride:c})})({region:wt(s)},k)}async function mk(e,t,n,r,a,s,i){const{userPoolId:c,userPoolClientId:u,userPoolEndpoint:f}=s,h=c?.split("_")[1]||"",m=new Re(t?.SRP_B,16),g=new Re(t?.SALT,16),y=t?.USER_ID_FOR_SRP;if(!y)throw new Be({name:"EmptyUserIdForSRPException",message:"USER_ID_FOR_SRP was not found in challengeParameters"});const S=await a.getPasswordAuthenticationKey({username:y,password:e,serverBValue:m,salt:g}),w=GL(),C={USERNAME:y,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:w,PASSWORD_CLAIM_SIGNATURE:KL({username:y,userPoolName:h,challengeParameters:t,dateNow:w,hkdf:S})},_=await i.getDeviceMetadata(y);_&&_.deviceKey&&(C.DEVICE_KEY=_.deviceKey);const k=er({username:y,userPoolId:c,userPoolClientId:u}),A={ChallengeName:"PASSWORD_VERIFIER",ChallengeResponses:C,ClientMetadata:n,Session:r,ClientId:u,UserContextData:k},N=await ua({endpointResolver:xt({endpointOverride:f})})({region:wt(c)},A);return N.ChallengeName==="DEVICE_SRP_AUTH"?kp({username:y,config:s,clientMetadata:n,session:N.Session,tokenOrchestrator:i}):N}async function Nd(e,t,n,r){try{return await e(...t)}catch(a){if(a instanceof Be&&a.name==="ResourceNotFoundException"&&a.message.includes("Device does not exist."))return await r.clearDeviceMetadata(n),e(...t);throw a}}function hc(e){const{dispatch:t}=Ms;t({type:"SET_USERNAME",value:e})}async function YL({username:e,password:t,clientMetadata:n,config:r,tokenOrchestrator:a,authFlow:s,preferredChallenge:i}){const{userPoolId:c,userPoolClientId:u,userPoolEndpoint:f}=r,h=c?.split("_")[1]||"",m=await _p(h),g={USERNAME:e,SRP_A:m.A.toString(16)};s==="USER_AUTH"&&i&&(g.PREFERRED_CHALLENGE=i);const y=er({username:e,userPoolId:c,userPoolClientId:u}),S={AuthFlow:s,AuthParameters:g,ClientMetadata:n,ClientId:u,UserContextData:y},C=await Ep({endpointResolver:xt({endpointOverride:f})})({region:wt(c),userAgentValue:Lt(tt.SignIn)},S),{ChallengeParameters:_,Session:k}=C,A=_?.USERNAME??e;return hc(A),C.ChallengeName==="PASSWORD_VERIFIER"?Nd(mk,[t,_,n,k,m,r,a],A,a):C}async function EX({username:e,session:t,selectedChallenge:n,config:r,clientMetadata:a}){return ua({endpointResolver:xt({endpointOverride:r.userPoolEndpoint})})({region:wt(r.userPoolId),userAgentValue:Lt(tt.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:{USERNAME:e,ANSWER:n},ClientId:r.userPoolClientId,Session:t,ClientMetadata:a})}async function _X(e,t,n,r,a){const{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c}=r,u={ANSWER:"PASSWORD",USERNAME:e,PASSWORD:t},f=er({username:e,userPoolId:s,userPoolClientId:i}),m=await ua({endpointResolver:xt({endpointOverride:c})})({region:wt(s),userAgentValue:Lt(tt.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:u,ClientId:i,ClientMetadata:n,Session:a,UserContextData:f}),g=m.ChallengeParameters?.USERNAME??e;return hc(g),m}async function kX(e,t,n,r,a,s){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=r,f=i.split("_")[1]||"",h=await _p(f),m={ANSWER:"PASSWORD_SRP",USERNAME:e,SRP_A:h.A.toString(16)},g=er({username:e,userPoolId:i,userPoolClientId:c}),S=await ua({endpointResolver:xt({endpointOverride:u})})({region:wt(i),userAgentValue:Lt(tt.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:m,ClientId:c,ClientMetadata:n,Session:a,UserContextData:g}),w=S.ChallengeParameters?.USERNAME??e;return hc(w),S.ChallengeName==="PASSWORD_VERIFIER"?Nd(mk,[t,S.ChallengeParameters,n,S.Session,h,r,s],w,s):S}const GE="userAttributes.";function AX(e){return"isSignedIn"in e&&"nextStep"in e}async function IX({challengeResponse:e,clientMetadata:t,session:n,username:r,config:a,tokenOrchestrator:s}){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=a,f={USERNAME:r,ANSWER:e},h=await s?.getDeviceMetadata(r);h&&h.deviceKey&&(f.DEVICE_KEY=h.deviceKey);const m=er({username:r,userPoolId:i,userPoolClientId:c}),g={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:f,Session:n,ClientMetadata:t,ClientId:c,UserContextData:m},S=await ua({endpointResolver:xt({endpointOverride:u})})({region:wt(i),userAgentValue:Lt(tt.ConfirmSignIn)},g);return S.ChallengeName==="DEVICE_SRP_AUTH"?kp({username:r,config:a,clientMetadata:t,session:S.Session,tokenOrchestrator:s}):S}async function RX({challengeResponse:e,username:t,clientMetadata:n,session:r,deviceName:a,config:s}){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=s;if(e==="EMAIL")return{ChallengeName:"MFA_SETUP",Session:r,ChallengeParameters:{MFAS_CAN_SETUP:'["EMAIL_OTP"]'},$metadata:{}};if(e==="TOTP")return{ChallengeName:"MFA_SETUP",Session:r,ChallengeParameters:{MFAS_CAN_SETUP:'["SOFTWARE_TOKEN_MFA"]'},$metadata:{}};const f={USERNAME:t};if(/^\d+$/.test(e)){const g=YY({endpointResolver:xt({endpointOverride:u})}),{Session:y}=await g({region:wt(i),userAgentValue:Lt(tt.ConfirmSignIn)},{UserCode:e,Session:r,FriendlyDeviceName:a});Ms.dispatch({type:"SET_SIGN_IN_SESSION",value:y});const S={ChallengeName:"MFA_SETUP",ChallengeResponses:f,Session:y,ClientMetadata:n,ClientId:c};return ua({endpointResolver:xt({endpointOverride:u})})({region:wt(i),userAgentValue:Lt(tt.ConfirmSignIn)},S)}if(e.includes("@")){f.EMAIL=e;const g={ChallengeName:"MFA_SETUP",ChallengeResponses:f,Session:r,ClientMetadata:n,ClientId:c};return ua({endpointResolver:xt({endpointOverride:u})})({region:wt(i),userAgentValue:Lt(tt.ConfirmSignIn)},g)}throw new Be({name:Ns.SignInException,message:`Cannot proceed with MFA setup using challengeResponse: ${e}`,recoverySuggestion:'Try passing "EMAIL", "TOTP", a valid email, or OTP code as the challengeResponse.'})}async function TX({challengeResponse:e,username:t,clientMetadata:n,session:r,config:a}){const{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c}=a;yn(e==="TOTP"||e==="SMS"||e==="EMAIL",et.IncorrectMFAMethod);const u={USERNAME:t,ANSWER:FX(e)},f=er({username:t,userPoolId:s,userPoolClientId:i}),h={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:u,Session:r,ClientMetadata:n,ClientId:i,UserContextData:f};return ua({endpointResolver:xt({endpointOverride:c})})({region:wt(s),userAgentValue:Lt(tt.ConfirmSignIn)},h)}async function OX({challengeResponse:e,clientMetadata:t,session:n,username:r,requiredAttributes:a,config:s}){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=s,f={...jX(a),NEW_PASSWORD:e,USERNAME:r},h=er({username:r,userPoolId:i,userPoolClientId:c}),m={ChallengeName:"NEW_PASSWORD_REQUIRED",ChallengeResponses:f,ClientMetadata:t,Session:n,ClientId:c,UserContextData:h};return ua({endpointResolver:xt({endpointOverride:u})})({region:wt(i),userAgentValue:Lt(tt.ConfirmSignIn)},m)}async function NX(e,t,n,r,a){const{userPoolClientId:s,userPoolId:i,userPoolEndpoint:c}=r,u={USERNAME:e,PASSWORD:t},f=await a.getDeviceMetadata(e);f&&f.deviceKey&&(u.DEVICE_KEY=f.deviceKey);const h=er({username:e,userPoolId:i,userPoolClientId:s}),m={AuthFlow:"USER_PASSWORD_AUTH",AuthParameters:u,ClientMetadata:n,ClientId:s,UserContextData:h},y=await Ep({endpointResolver:xt({endpointOverride:c})})({region:wt(i),userAgentValue:Lt(tt.SignIn)},m),S=y.ChallengeParameters?.USERNAME??y.ChallengeParameters?.USER_ID_FOR_SRP??e;return hc(S),y.ChallengeName==="DEVICE_SRP_AUTH"?kp({username:S,config:r,clientMetadata:n,session:y.Session,tokenOrchestrator:a}):y}async function MX(e,t,n,r,a){return YL({username:e,password:t,clientMetadata:n,config:r,tokenOrchestrator:a,authFlow:"USER_SRP_AUTH"})}async function PX(e,t,n,r){const{userPoolClientId:a,userPoolId:s,userPoolEndpoint:i}=n,c={USERNAME:e},u=await r.getDeviceMetadata(e);u&&u.deviceKey&&(c.DEVICE_KEY=u.deviceKey);const f=er({username:e,userPoolId:s,userPoolClientId:a}),h={AuthFlow:"CUSTOM_AUTH",AuthParameters:c,ClientMetadata:t,ClientId:a,UserContextData:f},g=await Ep({endpointResolver:xt({endpointOverride:i})})({region:wt(s),userAgentValue:Lt(tt.SignIn)},h),y=g.ChallengeParameters?.USERNAME??e;return hc(y),g.ChallengeName==="DEVICE_SRP_AUTH"?kp({username:y,config:n,clientMetadata:t,session:g.Session,tokenOrchestrator:r}):g}async function DX(e,t,n,r,a){dt(r);const{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c}=r,u=s?.split("_")[1]||"",f=await _p(u),h={USERNAME:e,SRP_A:f.A.toString(16),CHALLENGE_NAME:"SRP_A"},m=er({username:e,userPoolId:s,userPoolClientId:i}),g={AuthFlow:"CUSTOM_AUTH",AuthParameters:h,ClientMetadata:n,ClientId:i,UserContextData:m},y=Ep({endpointResolver:xt({endpointOverride:c})}),{ChallengeParameters:S,Session:w}=await y({region:wt(s),userAgentValue:Lt(tt.SignIn)},g),C=S?.USERNAME??e;return hc(C),Nd(mk,[t,S,n,w,f,r,a],C,a)}async function pc(e){const{challengeName:t,challengeParameters:n,availableChallenges:r}=e,a=Kt.getConfig().Auth?.Cognito;switch(dt(a),t){case"CUSTOM_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE",additionalInfo:n}};case"MFA_SETUP":{const{signInSession:s,username:i}=Ms.getState(),c=IO(RO(n.MFAS_CAN_SETUP))||[],u=BX(c),f=u.includes("TOTP"),h=u.includes("EMAIL");if(f&&h)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION",allowedMFATypes:u}};if(h)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_EMAIL_SETUP"}};if(f){const m=ZY({endpointResolver:xt({endpointOverride:a.userPoolEndpoint})}),{Session:g,SecretCode:y}=await m({region:wt(a.userPoolId)},{Session:s});return Ms.dispatch({type:"SET_SIGN_IN_SESSION",value:g}),{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_TOTP_SETUP",totpSetupDetails:LX(y,i)}}}throw new Be({name:Ns.SignInException,message:`Cannot initiate MFA setup from available types: ${c}`})}case"NEW_PASSWORD_REQUIRED":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",missingAttributes:UX(n.requiredAttributes)}};case"SELECT_MFA_TYPE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SELECTION",allowedMFATypes:IO(RO(n.MFAS_CAN_CHOOSE))}};case"SMS_OTP":case"SMS_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_SMS_CODE",codeDeliveryDetails:{deliveryMedium:n.CODE_DELIVERY_DELIVERY_MEDIUM,destination:n.CODE_DELIVERY_DESTINATION}}};case"SOFTWARE_TOKEN_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_TOTP_CODE"}};case"EMAIL_OTP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_EMAIL_CODE",codeDeliveryDetails:{deliveryMedium:n.CODE_DELIVERY_DELIVERY_MEDIUM,destination:n.CODE_DELIVERY_DESTINATION}}};case"WEB_AUTHN":{const s=await bX(n);return AX(s)?s:pc(s)}case"PASSWORD":case"PASSWORD_SRP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_PASSWORD"}};case"SELECT_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_FIRST_FACTOR_SELECTION",availableChallenges:r}}}throw new Be({name:Ns.SignInException,message:`An error occurred during the sign in process. ${t} challengeName returned by the underlying service was not addressed.`})}function LX(e,t){return{sharedSecret:e,getSetupUri:(n,r)=>{const a=`otpauth://totp/${n}:${r??t}?secret=${e}&issuer=${n}`;return new el(a)}}}function Md(e){if(e===$0.PasswordResetRequiredException)return{isSignedIn:!1,nextStep:{signInStep:"RESET_PASSWORD"}};if(e===$0.UserNotConfirmedException)return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_UP"}}}function UX(e){return e?JSON.parse(e).map(n=>n.includes(GE)?n.replace(GE,""):n):[]}function jX(e){if(!e)return{};const t={};return Object.entries(e).forEach(([n,r])=>{r&&(t[`${GE}${n}`]=r)}),t}async function zX(e,t,n,r,a,s,i,c){const u=c?.userAttributes,f=c?.friendlyDeviceName;switch(t){case"WEB_AUTHN":case"SELECT_CHALLENGE":return r==="PASSWORD_SRP"||r==="PASSWORD"?{ChallengeName:r,Session:n,$metadata:{}}:EX({username:e,session:n,selectedChallenge:r,config:a,clientMetadata:i});case"SELECT_MFA_TYPE":return TX({challengeResponse:r,clientMetadata:i,session:n,username:e,config:a});case"MFA_SETUP":return RX({challengeResponse:r,clientMetadata:i,session:n,username:e,deviceName:f,config:a});case"NEW_PASSWORD_REQUIRED":return OX({challengeResponse:r,clientMetadata:i,session:n,username:e,requiredAttributes:u,config:a});case"CUSTOM_CHALLENGE":return Nd(IX,[{challengeResponse:r,clientMetadata:i,session:n,username:e,config:a,tokenOrchestrator:s}],e,s);case"SMS_MFA":case"SOFTWARE_TOKEN_MFA":case"SMS_OTP":case"EMAIL_OTP":return HX({challengeName:t,challengeResponse:r,clientMetadata:i,session:n,username:e,config:a,tokenOrchestrator:s});case"PASSWORD":return _X(e,r,i,a,n);case"PASSWORD_SRP":return kX(e,r,i,a,n,s)}throw new Be({name:Ns.SignInException,message:`An error occurred during the sign in process.
|
|
@@ -145,7 +145,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
145
145
|
.ptr__loader {
|
|
146
146
|
margin: 0 auto;
|
|
147
147
|
text-align: center;
|
|
148
|
-
}`;Dj(ise);var yNe=function(e){var t=e.isPullable,n=t===void 0?!0:t,r=e.canFetchMore,a=r===void 0?!1:r,s=e.onRefresh,i=e.onFetchMore,c=e.refreshingContent,u=c===void 0?F.createElement(sse,null):c,f=e.pullingContent,h=f===void 0?F.createElement(ose,null):f,m=e.children,g=e.pullDownThreshold,y=g===void 0?67:g,S=e.fetchMoreThreshold,w=S===void 0?100:S,C=e.maxPullDownDistance,_=C===void 0?95:C,k=e.resistance,A=k===void 0?1:k,R=e.backgroundColor,N=e.className,O=N===void 0?"":N,T=E.useRef(null),P=E.useRef(null),L=E.useRef(null),H=E.useRef(null),j=!1,U=!1,q=!1,X=0,se=0;E.useEffect(function(){if(!(!n||!P||!P.current)){var V=P.current;return V.addEventListener("touchstart",G,{passive:!0}),V.addEventListener("mousedown",G),V.addEventListener("touchmove",ce,{passive:!1}),V.addEventListener("mousemove",ce),window.addEventListener("scroll",Se),V.addEventListener("touchend",z),V.addEventListener("mouseup",z),document.body.addEventListener("mouseleave",z),function(){V.removeEventListener("touchstart",G),V.removeEventListener("mousedown",G),V.removeEventListener("touchmove",ce),V.removeEventListener("mousemove",ce),window.removeEventListener("scroll",Se),V.removeEventListener("touchend",z),V.removeEventListener("mouseup",z),document.body.removeEventListener("mouseleave",z)}}},[m,n,s,y,_,a,w]),E.useEffect(function(){var V;if(!((V=T)===null||V===void 0)&&V.current){var K=T.current.classList.contains("ptr--fetch-more-treshold-breached");K||a&&B()<w&&i&&(T.current.classList.add("ptr--fetch-more-treshold-breached"),U=!0,i().then(Q).catch(Q))}},[a,m]);var B=function(){if(!P||!P.current)return-1;var V=window.scrollY,K=P.current.scrollHeight;return K-V-window.innerHeight},Q=function(){requestAnimationFrame(function(){P.current&&(P.current.style.overflowX="hidden",P.current.style.overflowY="auto",P.current.style.transform="unset"),L.current&&(L.current.style.opacity="0"),T.current&&(T.current.classList.remove("ptr--pull-down-treshold-breached"),T.current.classList.remove("ptr--dragging"),T.current.classList.remove("ptr--fetch-more-treshold-breached")),j&&(j=!1),U&&(U=!1)})},G=function(V){q=!1,V instanceof MouseEvent&&(X=V.pageY),window.TouchEvent&&V instanceof TouchEvent&&(X=V.touches[0].pageY),se=X,!(V.type==="touchstart"&&Pj(V.target,Vh.UP))&&(P.current.getBoundingClientRect().top<0||(q=!0))},ce=function(V){if(q){if(window.TouchEvent&&V instanceof TouchEvent?se=V.touches[0].pageY:se=V.pageY,T.current.classList.add("ptr--dragging"),se<X){q=!1;return}V.cancelable&&V.preventDefault();var K=Math.min((se-X)/A,_);K>=y&&(q=!0,j=!0,T.current.classList.remove("ptr--dragging"),T.current.classList.add("ptr--pull-down-treshold-breached")),!(K>=_)&&(L.current.style.opacity=(K/65).toString(),P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+K+"px)",L.current.style.visibility="visible")}},Se=function(V){U||a&&B()<w&&i&&(U=!0,T.current.classList.add("ptr--fetch-more-treshold-breached"),i().then(Q).catch(Q))},z=function(){if(q=!1,X=0,se=0,!j){L.current&&(L.current.style.visibility="hidden"),Q();return}P.current&&(P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+y+"px)"),s().then(Q).catch(Q)};return F.createElement("div",{className:"ptr "+O,style:{backgroundColor:R},ref:T},F.createElement("div",{className:"ptr__pull-down",ref:L},F.createElement("div",{className:"ptr__loader ptr__pull-down--loading"},u),F.createElement("div",{className:"ptr__pull-down--pull-more"},h)),F.createElement("div",{className:"ptr__children",ref:P},m,F.createElement("div",{className:"ptr__fetch-more",ref:H},F.createElement("div",{className:"ptr__loader ptr__fetch-more--loading"},u))))};const lse=1024,cse=`(min-width: ${lse}px) and (not ((orientation: portrait) and (pointer: coarse)))`,use=e=>{const[t,n]=E.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches);return E.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e);n(r.matches);const a=s=>n(s.matches);return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[e]),t},dse=e=>e===1?"message":"messages",Q0=e=>`${e.toLocaleString()} ${dse(e)}`,pw=(e,t)=>e.kind==="delete"?`delete ${Q0(e.count)}`:t===void 0?"empty it":`empty ${Q0(t)}`,Lj=e=>e.kind==="delete"?"Nothing has been deleted.":"Nothing has been emptied.",fse=(e,t,n={})=>{const{trashFolderLabel:r,staleFolderLabel:a,selectedCount:s}=n,i=Lj(t);if(e==="none")return{title:"No folder is set as Trash",description:`${i} reader files deleted mail in the folder you set as Trash, and this account has none.`,pickerPrompt:"Which folder does this account use for deleted mail?",confirmLabel:`Set as Trash and ${pw(t,void 0)}`,cancelLabel:"Cancel"};if(e==="stale")return{title:"The Trash folder you chose is gone",description:a?`${i} You set ${a} as this account's Trash and it is no longer on the mail server — another mail app may have renamed or removed it.`:`${i} The folder you set as this account's Trash is no longer on the mail server — another mail app may have renamed or removed it.`,pickerPrompt:"Which folder should reader use instead?",confirmLabel:`Set as Trash and ${pw(t,void 0)}`,cancelLabel:"Cancel"};const c=t.kind==="delete"?`Deleting ${Q0(t.count)} there erases them from the mail server, and that cannot be restored.`:"Emptying a folder erases everything in it from the mail server, and that cannot be restored.";return{title:"Confirm this account's Trash folder",description:r?`${i} reader files this account's deleted mail in ${r} because of its name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`:`${i} reader files this account's deleted mail in a folder it matched by name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`,pickerPrompt:r?`Confirm ${r}, or pick the folder this account really uses.`:"Pick the folder this account really uses for deleted mail.",confirmLabel:`Set as Trash and ${pw(t,s)}`,cancelLabel:"Cancel"}},hse=(e,t,n,r)=>e.kind==="appointing"?{headline:"Setting the Trash folder…",status:n}:t.kind==="delete"?{headline:`Deleting ${Q0(t.count)}…`,status:r?`Erasing them from ${n}. This can't be undone.`:`Moving them to ${n}`}:{headline:`Emptying ${n}…`,status:"This can't be undone."},pse=(e,t,n,r)=>e==="unconfirmed"&&t.kind==="delete"&&n!==void 0&&r===n,mse=(e,t,n)=>e==="mailbox-pending"?`${n} is still being created on the mail server. Wait for it to finish, then try again.`:`Couldn't set that folder as Trash. ${Lj(t)} Please try again.`,gse=({open:e,reason:t,action:n,folders:r,delimiter:a,trashFolderLabel:s,guessedMailboxId:i,staleFolderLabel:c,accountEmail:u,phase:f,selectedId:h,onSelect:m,onCreateFolder:g,onConfirm:y,onCancel:S})=>{const w=E.useRef(null),C=f.kind==="appointing"||f.kind==="acting";E.useEffect(()=>{C&&w.current?.focus()},[C]);const _=r.find(N=>N.id===h),k=fse(t,n,{trashFolderLabel:s,staleFolderLabel:c,selectedCount:_?.messageCount}),A=pse(t,n,i,h),R=n.kind==="emptyTrash"||A;if(!e)return null;if(C){const N=hse(f,n,_?.label??"",A);return x.jsx(a3,{open:e,onClose:()=>{},title:k.title,children:x.jsxs("div",{ref:w,"data-escape-owner":!0,tabIndex:-1,className:"flex flex-col items-center gap-3 px-5 py-10 text-center outline-none",children:[x.jsx($h,{className:"size-8 animate-spin text-accent-2"}),x.jsx("p",{className:"text-sm font-medium text-fg",children:N.headline}),x.jsx("p",{className:"text-xs text-fg-muted",role:"status","aria-live":"polite",children:N.status})]})})}return x.jsxs(a3,{open:e,onClose:S,title:k.title,children:[x.jsxs("header",{className:"flex items-center gap-2 border-b border-line px-5 py-3",children:[x.jsx(od,{className:`size-4 shrink-0 ${R?"text-danger":"text-warning"}`}),x.jsx("span",{className:"flex-1 text-sm font-semibold text-fg",children:k.title})]}),x.jsxs("div",{className:"flex max-h-[70vh] flex-col",children:[x.jsxs("div",{className:"space-y-1 px-5 py-4",children:[x.jsx("p",{className:"text-sm text-fg-muted",children:k.description}),u&&x.jsx("p",{className:"text-xs text-fg-subtle",children:u})]}),f.kind==="appoint-failed"&&x.jsx("div",{className:"px-5 pb-3",children:x.jsx(K0,{tone:"danger",variant:"soft",children:mse(f.cause,n,_?.label??"That folder")})}),x.jsx("p",{className:"px-5 pb-2 text-sm text-fg-muted",children:k.pickerPrompt}),x.jsx("div",{className:"flex h-[26rem] min-h-0 flex-1 overflow-hidden",children:x.jsx(Nk,{folders:r,selectedId:h,delimiter:a,onSelect:m,onCreateFolder:t==="none"?g:void 0,onCancel:S,labels:{treeAriaLabel:"Folders on this account",optionLabel:N=>`Set ${N.label}${N.messageCount===void 0?"":`, ${N.messageCount} messages`}, as Trash`}})})]}),x.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[x.jsx(en,{variant:"secondary",size:"sm",onClick:S,children:k.cancelLabel}),_&&x.jsx(en,{variant:R?"danger":"primary",size:"sm",onClick:()=>y(_.id),children:x.jsx("span",{className:"truncate",children:k.confirmLabel})})]})]})};function vse(e){return e.scopedOutFolder!==void 0||(e.droppedFacets?.length??0)>0||e.droppedSemantic===!0}function yse(e){return`Your search was limited to ${e}. This filter matches these messages in any folder — it can't be pinned to one.`}const Uj=e=>e.length===1?e[0]:e.length===2?`${e[0]} and ${e[1]}`:`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`;function bse(e){const t=e.length===1?"a filter condition":"filter conditions",n=e.length===1?"isn't":"aren't";return`${Uj(e)} ${n} ${t}, so ${e.length===1?"it was":"they were"} left out — the filter still matches everything else you searched for.`}const mw="add a sender or words to filter on";function bNe(e){if(e.length===0)return`${mw[0].toUpperCase()}${mw.slice(1)}`;const t=e.length===1?"isn't":"aren't",n=e.length===1?"a filter condition":"filter conditions";return`${Uj(e)} ${t} ${n} — ${mw}`}const Sse="The filter matches these words literally. Your search also found similar mail by meaning — a filter can't carry that, so it won't catch mail that means the same thing without these words.";function gw({icon:e,children:t}){return x.jsxs("li",{className:"flex items-start gap-2",children:[x.jsx("span",{className:"mt-0.5 shrink-0 text-fg-subtle","aria-hidden":"true",children:e}),x.jsx("span",{children:t})]})}function wse({notice:e}){return vse(e)?x.jsxs("div",{className:"rounded-md border border-line bg-surface-sunken px-3 py-2.5",children:[x.jsx("p",{className:"text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"From your search"}),x.jsxs("ul",{className:"mt-1.5 space-y-1.5 text-xs text-fg-muted",children:[e.scopedOutFolder!==void 0&&x.jsx(gw,{icon:x.jsx(ite,{className:"size-3.5"}),children:yse(e.scopedOutFolder)}),e.droppedFacets&&e.droppedFacets.length>0&&x.jsx(gw,{icon:x.jsx(OU,{className:"size-3.5"}),children:bse(e.droppedFacets)}),e.droppedSemantic&&x.jsx(gw,{icon:x.jsx(n3,{className:"size-3.5"}),children:Sse})]})]}):null}const xse={delete:{label:"Delete",present:"Deleting",past:"Deleted",destructive:!0},move:{label:"Move",present:"Moving",past:"Moved",destructive:!1},junk:{label:"Junk",present:"Marking as junk",past:"Marked as junk",destructive:!0},markRead:{label:"Mark read",present:"Marking read",past:"Marked read",destructive:!1},organize:{label:"Organize",present:"Organizing",past:"Organized",destructive:!1}},Mk=e=>xse[e],Cse={match:"Apply to",properties:"Properties",folder:"Folder",rule:"Rule",name:"Name",review:"Review",run:"Run"},jj=e=>Cse[e],SNe=({verb:e,mode:t,scope:n,fromSearch:r})=>{const a=r?["properties"]:t==="properties"?["match","properties"]:["match"];return e==="move"?[...a,"folder","review","run"]:e==="organize"?n==="standing"||n==="until"?[...a,"folder","rule","name","review","run"]:[...a,"folder","rule","review","run"]:[...a,"review","run"]},Sv=(e,t)=>Math.max(0,e.indexOf(t)),Ese=(e,t)=>Sv(e,t)===0||t==="run",_se=(e,t)=>({clauses:[...e.clauses],matchOperator:e.matchOperator,widen:e.widen,moveMailboxId:e.moveMailboxId,scope:t,until:e.until,name:e.name}),zj=e=>Cj(_se(e,e.scope??"once")),kse="A rule only works within one account — clear the selection, or pick messages from a single account.",Ase="A destination only works within one account — clear the selection, or pick messages from a single account.",Ise="Matching beyond the messages you picked only works within one account — clear the selection, or pick messages from a single account.",Rse="A rule only works within one folder — clear the selection, or pick messages from a single folder.",Tse="A destination only works within one folder — clear the selection, or pick messages from a single folder.",Ose={spansAccounts:{rule:kse,destination:Ase},spansFolders:{rule:Rse,destination:Tse}},wNe=(e,t)=>{const n=e===void 0?"spansAccounts":t;if(!n)return{accountId:e};const r=Ose[n];return{accountId:n==="spansAccounts"?void 0:e,rule:r.rule,destination:r.destination}},Nse=e=>e===void 0?["selected"]:["selected","similar","properties"],Mse="This matches no messages, so there is nothing to do. Go back and change what it applies to.",Pse="Fill in every property, or take the empty one off.",Dse="Pick a destination first.",Lse="Choose one of the three first.",xNe=(e,t,n)=>{if(e==="properties")return t.clauses.length===0?Ia.noMatch:t.clauses.some(r=>r.value.trim()==="")?Pse:void 0;if(e==="folder")return t.moveMailboxId?void 0:Dse;if(e==="rule")return t.scope?t.scope==="once"&&zj(t).length>0?Ia.bodyTextOnce:t.scope==="until"&&!t.until?.trim()?Ia.noUntilDate:void 0:Lse;if(e==="name"&&!t.name?.trim())return Ia.unnamed;if(e==="review")return n.status==="uncounted"?void 0:n.status==="ready"&&n.count===0&&!n.stale?Mse:kj(n)},Use={noMatch:"Nothing matches this yet. Widen a property, or match on a different one.",notIndexed:"This mail isn't indexed yet, so nothing can be counted. The rule still matches once indexing catches up."},jse=e=>Use[e],Pk=({state:e,verb:t,scope:n,matched:r,applied:a,failed:s,failureReason:i})=>{const{label:c,present:u,past:f}=Mk(t),h=f.toLowerCase(),m=n==="standing"||n==="until",y={screenTitle:e==="saving"||e==="backApplyRunning"||e==="statusUnknown"||e==="commitFailed"?c:"Done",showProgress:e==="backApplyRunning"||e==="backApplyComplete"||e==="backApplyFailed"||e==="backApplyRestartFailed"||e==="statusUnknown"||e==="runStopped",failureListLabel:`Not ${h}`};return e==="saving"?{...y,title:m?"Saving rule…":"Applying…",detail:"Nothing has been changed yet.",tone:"progress",dismissLabel:"Close"}:e==="backApplyRunning"?{...y,title:m?"Rule saved. Moving the mail already in your mailbox…":`${u} ${r} messages…`,detail:"This keeps running if you close the wizard.",tone:"progress",dismissLabel:"Close",cancelLabel:"Stop the run"}:e==="statusUnknown"?{...y,title:m?"Rule saved. Its progress over your existing mail is unknown":`${u} — progress unknown`,detail:m?"The connection dropped, so the bar shows the last that was read. The pass runs on the mail server, and the rule keeps working on new mail either way. This keeps checking.":"The connection dropped, so the bar shows the last that was read. The run is on the mail server and carries on either way. This keeps checking.",tone:"warning",dismissLabel:"Close",retryLabel:"Check again"}:e==="backApplyComplete"?{...y,title:m?"Rule saved and applied":`${f} ${a}`,detail:m?`${a} of ${r} already in your mailbox ${h}. New mail follows the rule as it arrives.`:`Every message the match reached was ${h}. Your mail server is still catching up, so the list can lag behind.`,tone:"success",dismissLabel:"Done"}:e==="backApplyFailed"?{...y,title:m?"Rule saved — some mail stayed put":`Not everything was ${h}`,detail:`${a} of ${r} ${h} · the mail server rejected ${s}.${m?" The rule itself is saved and keeps working on new mail.":""}`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="runStopped"?{...y,title:`Stopped after ${a}`,detail:`${a} of ${r} ${h}. The run stopped before it reached the rest, so nothing was sent for them and nothing has happened to them.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyRestartFailed"?{...y,title:m?"Rule saved — the retry didn't start":"The retry didn't start",detail:`${a} of ${r} ${h} · the mail server rejected ${s}, which are still where they were.${m?" The rule itself is saved and keeps working on new mail.":""} Check your connection and try again.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyStartFailed"?{...y,title:"Rule saved",detail:"New mail follows it automatically. The pass over the mail already in your mailbox never started.",tone:"warning",dismissLabel:"Not now",retryLabel:"Run it over existing mail"}:e==="filterSaved"?{...y,title:"Filter saved",detail:"There is no mail in your mailbox to apply it to yet. New mail follows it as it arrives. You can see it, and when it expires, under Settings › Filters.",tone:"success",dismissLabel:"Done"}:{...y,title:m?"Couldn't save the rule":`Couldn't start ${c.toLowerCase()}`,detail:i??"Nothing has changed.",tone:"danger",dismissLabel:i===void 0?"Not now":"Close",retryLabel:i===void 0?"Try again":void 0}},zse=e=>`${Yu(e.field)} "${e.value}"`,Fj=(e,t)=>e.map(zse).join(` ${Ok(t)} `),b0=(e,t)=>e==="selected"?`These ${t} messages`:e==="similar"?Y0({anchorCount:t}):u3("properties"),vw=e=>e==="selected"?"Only the messages ticked in the list.":xj(e),$j=e=>`Every message ${e}`,Dk="the list is showing",Fse="This reaches every match on the mail server, including the ones the list has not loaded. The search is already the match, so there is nothing to widen.",$se="This covers messages not shown in the list, and anything else matching by the time it runs.",Bse=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a})=>e==="escalated"?$j(a??Dk):e==="properties"?Fj(n,r):b0(e,t),Hse=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a,escalatedCount:s})=>{if(e==="selected")return`${t} messages`;if(e==="escalated"){const i=a??Dk;return s===void 0?`every message ${i}`:`all ${s.toLocaleString()} messages ${i}`}return e==="similar"?`mail ${Y0({anchorCount:t}).toLowerCase()}`:n.length===0?"every message":`every message where ${Fj(n,r)}`};function qse({title:e,subtitle:t,steps:n,step:r,onBack:a,onExit:s,footer:i,children:c}){return x.jsx(Fae,{title:e,subtitle:t,steps:n.map(jj),activeStep:Sv(n,r),onBack:a,onExit:s,footer:i,children:c})}function Zu({selected:e,title:t,description:n,unavailable:r,onSelect:a,children:s}){const i=E.useId();return x.jsxs("div",{className:"space-y-1.5",children:[x.jsxs("button",{type:"button",onClick:a,"aria-pressed":e,"aria-describedby":r&&s?i:void 0,className:Me("flex w-full items-start gap-3 rounded-lg border p-3 text-left transition-colors",e?"border-accent bg-accent-soft":"border-line bg-surface hover:bg-surface-sunken",r&&"opacity-55"),children:[x.jsx("span",{className:Me("mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full border",e?"border-accent bg-accent text-accent-fg":"border-line"),children:e&&x.jsx(hv,{className:"size-3"})}),x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-sm font-medium text-fg",children:t}),x.jsx("span",{className:"mt-0.5 block text-xs text-fg-muted",children:n})]})]}),s&&x.jsx("div",{id:i,children:s})]})}const Wse=(e,t)=>e.status==="uncounted"?"The first matches. The total is not known until the run finishes.":e.status==="ready"&&e.count>t&&!e.stale?`and ${e.count-t} more`:Ej(e),Vse=(e,t,n)=>n?"Fetching the messages this covers…":e.status==="error"?e.reason:jse(t??"noMatch");function J0({messages:e,count:t,label:n,emptyReason:r,loading:a}){return x.jsxs("section",{className:"flex flex-col rounded-lg border border-line bg-surface",children:[x.jsx("h2",{className:"shrink-0 border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:n}),e.length===0?x.jsx("p",{className:"px-3 py-4 text-xs text-fg-muted",children:Vse(t,r,a)}):x.jsxs(x.Fragment,{children:[x.jsx("ul",{className:"min-h-0 max-h-[45dvh] divide-y divide-line overflow-y-auto overscroll-contain md:max-h-[17rem]",children:e.map(s=>x.jsxs("li",{className:"px-3 py-2",children:[x.jsxs("div",{className:"flex items-baseline justify-between gap-2",children:[x.jsx("span",{className:"truncate text-xs font-medium text-fg",children:s.sender}),x.jsx("span",{className:"shrink-0 text-2xs text-fg-subtle",children:s.date})]}),x.jsx("p",{className:"truncate text-xs text-fg-muted",children:s.subject})]},s.id))}),x.jsx("p",{className:"shrink-0 border-t border-line px-3 py-2 text-2xs text-fg-subtle",children:Wse(t,e.length)})]})]})}function z6({onBack:e,nextLabel:t,onNext:n,nextVariant:r="primary",blockedReason:a,nudged:s}){const i=E.useId();return x.jsxs("div",{className:"space-y-2",children:[a&&x.jsx(are,{id:i,reason:a,nudged:s,className:"px-1 text-2xs text-warning"}),x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(en,{variant:"ghost",size:"touch",onClick:e,icon:x.jsx(IU,{className:"size-4"}),className:"shrink-0",children:"Back"}),x.jsxs(en,{variant:r==="danger"?"danger":"primary",size:"touch",onClick:n,"aria-describedby":a?i:void 0,className:Me("flex-1",a&&"opacity-55"),children:[t,r==="primary"&&x.jsx(ete,{className:"size-4"})]})]})]})}function Gse({selectedCount:e,mode:t,accountId:n,onModeChange:r,semanticUnavailable:a,semanticOff:s,semanticErrorDetail:i,semanticFallbackTaken:c,onSemanticFallback:u,escalatedScope:f,sample:h}){if(t==="escalated")return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"rounded-lg border border-accent bg-accent-soft p-3",children:[x.jsx("p",{className:"text-sm font-medium text-fg",children:$j(f??Dk)}),x.jsx("p",{className:"mt-1 text-xs text-fg-muted",children:Fse})]}),x.jsx("div",{className:"mt-4",children:x.jsx(J0,{...h})})]});const g=Nse(n).length>1,y=s||a;return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"space-y-2",children:[!g&&x.jsx("p",{className:"px-1 text-2xs text-warning",children:Ise}),x.jsx(Zu,{selected:t==="selected",onSelect:()=>r("selected"),title:b0("selected",e),description:vw("selected")}),g&&x.jsx(Zu,{selected:t==="similar",unavailable:y,onSelect:y?u:()=>r("similar"),title:b0("similar",e),description:vw("similar"),children:s?x.jsxs("p",{role:"status",className:"px-1 text-2xs text-fg-subtle",children:[tre,c&&" Matching on the senders instead."]}):x.jsxs(x.Fragment,{children:[i&&x.jsxs("p",{role:"status",className:"px-1 text-2xs text-danger",children:["Couldn't find similar messages: ",i]}),c&&x.jsx("p",{role:"status",className:"px-1 text-2xs text-fg-subtle",children:"Similar-mail matching is unavailable right now — matching on the senders instead."})]})}),g&&x.jsx(Zu,{selected:t==="properties",onSelect:()=>r("properties"),title:b0("properties",e),description:vw("properties")})]}),x.jsx("div",{className:"mt-4",children:x.jsx(J0,{...h})})]})}const Kse=[{value:"all",label:Z0("all")},{value:"any",label:Z0("any")}];function Yse({clauses:e,matchOperator:t,onMatchOperatorChange:n,clauseEdit:r,onStartAddClause:a,onStartEditClause:s,onRemoveClause:i,onChangeDraft:c,onSubmitClause:u,onCancelClause:f,clauseFields:h,clauseSuggestions:m,conversionNotice:g,semanticFallbackTaken:y,sample:S}){const w=Ok(t);return x.jsxs("div",{className:"space-y-4",children:[y&&x.jsx("p",{role:"status",className:"px-1 text-xs text-fg-muted",children:"Similar-mail matching is unavailable right now. These are the senders of the messages you picked."}),g&&x.jsx(wse,{notice:g}),x.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[e.map((C,_)=>x.jsxs(E.Fragment,{children:[_>0&&x.jsx("span",{className:"text-2xs font-medium uppercase text-fg-subtle",children:w}),x.jsx(Aj,{clause:C,onEdit:()=>s(C.id),onRemove:()=>i(C.id)})]},C.id)),!r&&x.jsx(d3,{label:"Add clause",onClick:a})]}),r&&x.jsx(Ij,{draft:r.draft,mode:r.mode,fields:h,suggestions:m,onChangeField:C=>c({...r.draft,field:C}),onChangeValue:C=>c({...r.draft,value:C}),onSubmit:u,onCancel:f}),e.length>1&&x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("span",{className:"text-xs text-fg-muted",children:"Match"}),x.jsx(v0,{name:"wizard-match-operator",size:"sm","aria-label":"Match operator",options:Kse,value:t,onChange:n})]}),x.jsx("p",{className:"px-1 text-xs text-fg-muted",children:"We started you off from what you were looking at. Change any of it — this is where the rule is decided, not the list behind it."}),x.jsx(J0,{...S})]})}function Zse({folders:e,mailboxId:t,onSelect:n,onCreateFolder:r,delimiter:a,restriction:s}){const i=e.find(c=>c.id===t);return x.jsxs("div",{className:"flex min-h-0 flex-col gap-3",children:[x.jsx("p",{className:Me("px-1 text-xs",s?"text-warning":"text-fg-muted"),children:s??(i?`Moving to ${i.label}.`:"Tap a folder to open it, or make a new one where you want it.")}),x.jsx("div",{className:"flex min-h-0 flex-1 overflow-hidden rounded-lg border border-line bg-surface",children:x.jsx(Nk,{folders:e,selectedId:t,onSelect:n,onCreateFolder:r,delimiter:a,labels:{createPending:"Waiting for the mail server to confirm the folder…"}})})]})}function Xse({draft:e,onScopeChange:t,onUntilChange:n,restriction:r}){const a=E.useId(),{scope:s,until:i=""}=e,c=zj(e).length>0,u=r&&x.jsx("p",{className:"px-1 text-2xs text-warning",children:r});return x.jsxs("div",{className:"space-y-2",children:[x.jsx(Zu,{selected:s==="once",onSelect:()=>t("once"),title:y0("once"),description:"A one-off tidy-up. Nothing changes for future mail.",children:c&&x.jsx("p",{className:"px-1 text-2xs text-warning",children:Ia.bodyTextOnce})}),x.jsx(Zu,{selected:s==="standing",unavailable:!!r,onSelect:()=>t("standing"),title:y0("standing"),description:"Saves a rule and applies it to new mail as it arrives, and to the mail already in your mailbox. You'll name it next.",children:u}),x.jsxs(Zu,{selected:s==="until",unavailable:!!r,onSelect:()=>t("until"),title:y0("until"),description:"The same rule, and it stops on a day you pick.",children:[u,s==="until"&&x.jsxs("div",{className:"rounded-lg border border-line bg-surface p-2",children:[x.jsx(Tk,{htmlFor:a,children:"Stops on"}),x.jsx(ts,{id:a,type:"date",value:i,onChange:f=>n(f.target.value)})]})]})]})}function Qse({name:e,onNameChange:t,nudged:n}){const r=E.useId(),a=E.useRef(null);return E.useEffect(()=>{n&&a.current?.focus()},[n]),x.jsxs(x.Fragment,{children:[x.jsx(Tk,{htmlFor:r,children:"Rule name"}),x.jsx(ts,{id:r,ref:a,value:e,placeholder:"Travel confirmations",onChange:s=>t(s.target.value),trailing:e?x.jsx("button",{type:"button","aria-label":"Clear name",onClick:()=>{t(""),a.current?.focus()},className:"-mr-1 flex size-7 shrink-0 items-center justify-center rounded-full text-fg-subtle hover:bg-surface hover:text-fg",children:x.jsx(Ps,{className:"size-4"})}):void 0}),x.jsx("p",{className:"mt-2 text-xs text-fg-muted",children:"We suggested one from this selection. Clear it and write your own if it doesn't read right."})]})}function Jse({verb:e,mode:t,selectedCount:n,clauses:r,matchOperator:a,folder:s,scope:i,until:c,ruleName:u,escalatedScope:f,sample:h}){const{label:m}=Mk(e),g={mode:t,selectedCount:n,clauses:r,matchOperator:a,escalatedScope:f,escalatedCount:h.count.status==="ready"?h.count.count:void 0},y=t!=="selected",S=i==="standing"||i==="until";return x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"rounded-lg border border-line bg-surface p-3",children:[x.jsxs("p",{className:"text-sm text-fg",children:[x.jsx("span",{className:"font-semibold",children:m})," ",Hse(g),s?` to ${s}`:"",S&&x.jsxs(x.Fragment,{children:[" ","and ",x.jsx("span",{className:"font-medium",children:"save a rule"})," that keeps doing it"]}),i==="until"&&c&&` until ${c}`,"."]}),y&&x.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[x.jsx(od,{className:"mt-px size-3.5 shrink-0"}),t==="escalated"?$se:"This covers messages not shown in the list."]})]}),x.jsxs("dl",{className:"divide-y divide-line overflow-hidden rounded-lg border border-line bg-surface text-xs",children:[x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Action"}),x.jsx("dd",{className:"font-medium",children:m})]}),x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"shrink-0 text-fg-muted",children:"Apply to"}),x.jsx("dd",{className:"truncate font-medium",children:Bse(g)})]}),s&&x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Destination"}),x.jsx("dd",{className:"font-medium",children:s})]}),i&&x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Scope"}),x.jsxs("dd",{className:"font-medium",children:[y0(i),i==="until"&&c?` · ${c}`:""]})]}),u!==void 0&&x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Rule name"}),x.jsx("dd",{className:"truncate font-medium",children:u})]})]}),x.jsx(J0,{...h})]})}const Lk=e=>({state:e.state,verb:e.verb,scope:e.scope,matched:e.matched,applied:e.applied,failed:e.failedCount??e.failures.length,failureReason:e.failureReason}),eoe=e=>e==="progress"?x.jsx($h,{className:"size-10 animate-spin text-accent"}):e==="warning"?x.jsx(od,{className:"size-10 text-warning"}):e==="danger"?x.jsx(od,{className:"size-10 text-danger"}):x.jsx("span",{className:"flex size-12 items-center justify-center rounded-full bg-accent-soft text-accent",children:x.jsx(hv,{className:"size-6"})});function toe(e){const{matched:t,applied:n,failures:r}=e,a=Lk(e),s=Pk(a),i=e.state==="runStopped"?"Never sent":"Server rejected";return x.jsxs("div",{className:"space-y-4 pt-2",children:[x.jsxs("div",{className:"flex flex-col items-center gap-3 py-6 text-center",children:[eoe(s.tone),x.jsx("p",{className:"text-sm font-medium",children:s.title}),x.jsx("p",{className:"max-w-xs text-xs text-fg-muted",children:s.detail})]}),s.showProgress&&x.jsx(tse,{value:n,max:t,tone:a.failed>0?"warning":"success"}),r.length>0&&x.jsxs("section",{className:"rounded-lg border border-line bg-surface",children:[x.jsx("h2",{className:"border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:s.failureListLabel}),x.jsx("ul",{className:"divide-y divide-line",children:r.map(c=>x.jsxs("li",{className:"px-3 py-2",children:[x.jsx("p",{className:"truncate text-xs font-medium",children:c.sender}),x.jsx("p",{className:"truncate text-xs text-fg-muted",children:c.subject}),x.jsx(o3,{className:"mt-1",tone:"warning",children:i})]},c.id))})]})]})}function noe(e){const{onRetry:t,onDismiss:n,onCancelRun:r}=e,a=Pk(Lk(e));return a.cancelLabel!==void 0&&r?x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(en,{variant:"ghost",size:"md",className:"min-h-11 shrink-0",onClick:r,children:a.cancelLabel}),x.jsx(en,{variant:"primary",size:"md",className:"min-h-11 flex-1",onClick:n,children:a.dismissLabel})]}):a.retryLabel===void 0?x.jsx(en,{variant:a.tone==="progress"?"ghost":"primary",size:"touch",className:"w-full",onClick:n,children:a.dismissLabel}):x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(en,{variant:"ghost",size:"touch",onClick:n,children:a.dismissLabel}),x.jsx(en,{variant:"primary",size:"touch",className:"flex-1",onClick:t,children:a.retryLabel})]})}const roe={match:{subtitle:"What should this apply to?"},properties:{title:"Match properties",subtitle:"Which properties have to match?"},folder:{title:"Move to",subtitle:"Pick a destination"},rule:{title:"Organize",subtitle:"How long should this hold?"},name:{title:"Name the rule",subtitle:"So you can find it later"},review:{title:"Review",subtitle:"Check before it runs"},run:{}},ys=(e,t)=>{if(e===void 0)throw new Error(`The ${jj(t)} step was rendered without its answers.`);return e};function CNe(e){const{verb:t,steps:n,onExit:r,onContinue:a,onCommit:s}=e,{label:i,destructive:c}=Mk(t),u=n[Sv(n,e.step)],f=roe[u],h=Ese(n,u)?r:e.onBack,m=()=>u==="match"?x.jsx(Gse,{...ys(e.match,u)}):u==="properties"?x.jsx(Yse,{...ys(e.properties,u)}):u==="folder"?x.jsx(Zse,{...ys(e.folder,u)}):u==="rule"?x.jsx(Xse,{...ys(e.rule,u)}):u==="name"?x.jsx(Qse,{...ys(e.name,u),nudged:e.nudged}):u==="review"?x.jsx(Jse,{...ys(e.review,u)}):x.jsx(toe,{...ys(e.run,u)}),g=()=>{if(u==="run")return x.jsx(noe,{...ys(e.run,u)});if(u==="review"){const w=ys(e.review,u);return x.jsx(z6,{onBack:h,nextLabel:w.scope?_j(w.scope):i,nextVariant:c?"danger":"primary",onNext:s,blockedReason:e.blockedReason,nudged:e.nudged})}return x.jsx(z6,{onBack:h,nextLabel:"Continue",onNext:a,blockedReason:e.blockedReason,nudged:e.nudged})},y=()=>u!=="run"?f.title??i:Pk(Lk(ys(e.run,u))).screenTitle,S=u==="match"&&e.match?.mode==="escalated"?"What this applies to":f.subtitle;return x.jsx(qse,{title:y(),subtitle:S,steps:n,step:u,onBack:h,onExit:r,footer:g(),children:m()})}const aoe={preparing:"Getting the new version ready",restarting:"Restarting Remit",reconnecting:"Waiting for Remit to answer again"};function F6(e){return aoe[e]}function soe(e){return e<90?"This usually takes about a minute.":e<240?"Longer than usual. Remit is still trying to reach the server.":"Still no answer. Remit keeps trying."}function ENe(e,t=Date.now()){const n=Math.floor((t-e)/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function _Ne(e){return new Date(e).toLocaleDateString(void 0,{dateStyle:"medium"})}function ooe({children:e,show:t,label:n="Update available"}){return x.jsxs("span",{className:"relative inline-flex",children:[e,t&&x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"absolute -right-1 -top-1 size-2 rounded-full bg-accent-2"}),x.jsx("span",{className:"sr-only",children:n})]})]})}const $6=["preparing","restarting","reconnecting"],ioe='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';function Bj(e){E.useEffect(()=>{const t=e.current;if(!t)return;const n=()=>Array.from(t.querySelectorAll(ioe));(n()[0]??t).focus();const r=a=>{if(a.key!=="Tab")return;const s=n();if(s.length===0){a.preventDefault(),t.focus();return}const i=s[0],c=s[s.length-1],u=document.activeElement;if(a.shiftKey&&(u===i||!t.contains(u))){a.preventDefault(),c.focus();return}!a.shiftKey&&(u===c||!t.contains(u))&&(a.preventDefault(),i.focus())};return window.addEventListener("keydown",r,!0),()=>window.removeEventListener("keydown",r,!0)},[e])}const Hj="fixed inset-0 z-50 flex flex-col items-center justify-center gap-6 bg-canvas p-6 text-center outline-none";function loe({target:e,phase:t,elapsedSeconds:n}){const r=E.useRef(null);Bj(r),Ek({id:"self-update",open:!0});const a=$6.indexOf(t);return x.jsxs("div",{ref:r,role:"dialog","aria-modal":"true","aria-labelledby":"self-update-progress-title",tabIndex:-1,className:Hj,children:[x.jsxs("div",{className:"max-w-md space-y-2",children:[x.jsxs("h1",{id:"self-update-progress-title",className:"text-lg font-semibold text-fg",children:["Installing Remit ",e]}),x.jsx("p",{className:"text-sm text-fg-muted",children:"Remit is restarting, so this page has no server to talk to for a moment. Leave this open — it reconnects on its own."})]}),x.jsx("ol",{className:"w-full max-w-sm space-y-2 text-left",children:$6.map((s,i)=>{const c=i<a,u=i===a;return x.jsxs("li",{className:Me("flex items-center gap-3 rounded-sm border px-row-inset py-2 text-sm",u?"border-line-strong bg-surface text-fg":"border-line bg-surface-sunken text-fg-subtle"),children:[c?x.jsx(hv,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}):u?x.jsx($h,{className:"size-4 shrink-0 animate-spin text-accent-2","aria-hidden":!0}):x.jsx("span",{className:"size-4 shrink-0 rounded-full border border-line-strong"}),F6(s)]},s)})}),x.jsxs("p",{"aria-live":"polite",className:"max-w-md text-xs text-fg-subtle",children:[x.jsx("span",{className:"sr-only",children:`${F6(t)}. `}),soe(n)]})]})}function coe({attemptedVersion:e,previousVersion:t,elapsedSeconds:n,logsCommand:r,onRetryConnection:a}){const s=E.useRef(null);Bj(s);const i=Math.max(1,Math.round(n/60));return x.jsxs("div",{ref:s,role:"alertdialog","aria-modal":"true","aria-labelledby":"self-update-unreachable-title",tabIndex:-1,className:Hj,children:[x.jsx(xk,{className:"size-12 shrink-0 text-danger","aria-hidden":!0}),x.jsxs("div",{className:"max-w-lg space-y-3",children:[x.jsx("h1",{id:"self-update-unreachable-title",className:"text-lg font-semibold text-fg",children:"Remit has not answered since the restart"}),x.jsxs("p",{className:"text-sm text-fg-muted",children:["Installing ",e," started ",i," minute",i===1?"":"s"," ago and the server has been silent since. Your mail is safe at your provider — it was never part of the update."]}),x.jsxs("p",{className:"text-sm text-fg-muted",children:["Remit rolls back to ",t," on its own when the new version fails to start, but this page cannot confirm that from here. Check the server directly:"]}),x.jsx("code",{className:"block rounded-xs bg-surface-sunken px-3 py-2 text-left text-xs text-fg-muted",children:r})]}),x.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2",children:x.jsx(en,{size:"sm",onClick:a,children:"Try connecting again"})})]})}function uoe(e,t,n){if(!t.allowPrivateDomains&&e.length>3){const r=e.length-1,a=e.charCodeAt(r),s=e.charCodeAt(r-1),i=e.charCodeAt(r-2),c=e.charCodeAt(r-3);if(a===109&&s===111&&i===99&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(a===103&&s===114&&i===111&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(a===117&&s===100&&i===101&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;if(a===118&&s===111&&i===103&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;if(a===116&&s===101&&i===110&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;if(a===101&&s===100&&i===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}const Pl=new Uint8Array([1,2,1,1,1,1,1,1,1,1,1,1,0,2,2,2,0,2,2,0,2,0,0,1,0,0,2,1,1,1,1,1,1,0,0,0,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,0,2,0,2,2,0,0,2,2,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,2,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,2,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,2,2,0,0,0,2,0,1,1,0,2,0,2,2,0,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,2,2,0,2,2,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,2,0,2,2,2,2,0,0,0,0,2,0,0,0,0,0,0,2,2,0,0,0,2,2,1,1,1,1,2,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,2,2,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,1,2,1,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0]),e1=new Uint16Array([0,0,0,10,11,18,106,111,117,124,130,136,145,146,147,148,149,150,151,153,154,155,157,159,226,239,241,242,243,258,265,266,269,270,271,274,276,295,296,298,307,312,313,331,332,335,337,338,340,374,375,377,380,381,385,387,391,394,426,429,442,443,451,452,454,464,478,479,480,489,490,527,532,548,568,574,615,616,643,670,671,819,825,828,829,830,835,840,849,871,872,873,874,875,876,877,895,897,898,901,903,904,906,908,923,938,943,944,946,947,948,949,950,952,955,960,961,962,964,965,968,971,972,973,986,988,1e3,1011,1019,1021,1061,1064,1068,1069,1071,1074,1085,1087,1097,1099,1105,1107,1108,1110,1113,1114,1115,1167,1169,1171,1191,1192,1193,1194,1196,1207,1238,1249,1261,1270,1277,1282,1295,1306,1319,1320,1331,1365,1366,1367,1382,1397,1469,1470,1472,1473,1507,1508,1509,1512,1516,1518,1547,1548,1556,1557,1558,1560,1562,1563,1565,1566,1567,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1594,1595,1596,1598,2053,2056,2057,2059,2066,2073,2083,2087,2098,2099,2100,2112,2113,2115,2117,2118,2125,2126,2128,2129,2131,2132,2133,2134,2135,2209,2211,2232,2233,2234,2236,2262,2263,2314,2315,2317,2324,2330,2340,2350,2403,2404,2405,2415,2429,2430,2433,2440,2441,2449,2450,2451,2452,2453,2464,2465,2466,2468,2469,2470,2471,2473,2483,2495,2501,2533,2537,2539,2540,2542,2543,2554,2555,2557,2565,2572,2578,2583,2584,2590,2593,2599,2606,2607,2614,2622,2623,2624,2662,2668,2683,2684,2689,2707,2738,2756,2758,2761,2769,2771,2778,2830,2854,2855,2856,2857,2858,2859,2860,2861,2868,2869,2870,2871,2872,2873,2875,2876,2880,2964,2977,2978,3414,3418,3432,3484,3512,3534,3592,3614,3629,3692,3743,3781,3817,3842,3984,4030,4081,4100,4134,4149,4169,4199,4230,4253,4284,4314,4346,4373,4448,4470,4508,4518,4552,4571,4597,4639,4689,4715,4784,4785,4787,4810,4833,4869,4900,4917,4974,4987,5011,5040,5042,5076,5092,5120,5425,5434,5443,5450,5467,5471,5477,5516,5518,5525,5532,5541,5548,5549,5560,5563,5578,5579,5588,5589,5598,5607,5613,5615,5616,5617,5653,5654,5656,5664,5671,5684,5688,5690,5691,5697,5704,5718,5728,5733,5741,5749,5755,5756,5760,5762,5763,5775,5776,5777,5778,5780,5781,5784,5786,5789,5793,5794,5800,5801,5802,5804,5806,5808,5809,5810,5813,5815,5818,5819,5821,6019,6026,6027,6037,6042,6059,6073,6082,6083,6084,6088,6089,6091,6093,6099,6100,6103,6104,6106,6107,6108,7008,7009,7013,7031,7040,7043,7050,7051,7053,7054,7055,7057,7109,7110,7113,7114,7231,7232,7243,7254,7261,7264,7273,7274,7275,7290,7345,7536,7538,7539,7541,7546,7559,7574,7581,7590,7593,7596,7603,7611,7615,7616,7617,7631,7635,7644,7645,7646,7650,7685,7686,7703,7710,7718,7719,7724,7732,7776,7777,7783,7786,7797,7802,7803,7806,7839,7840,7846,7853,7854,7863,7872,7887,7891,7943,7944,7949,7951,7954,7956,7957,7958,7967,7981,7989,8003,8015,8016,8018,8020,8042,8053,8059,8060,8072,8084,8171,8183,8185,8194,8197,8203,8228,8231,8232,8233,8235,8238,8241,8252,8254,8256,8284,8358,8365,8369,8370,8379,8401,8402,8407,8408,8487,8489,8491,8500,8504,8510,8516,8522,8532,8537,8538,8556,8567,8572,8577,8587,8593,8597,8603,8609,10217,10218,10219,10226,10228]),t1=new Uint8Array([3,3,3,3,3,3,3,3,5,8,8,2,2,3,3,3,3,3,8,5,5,5,5,5,3,3,5,5,9,12,19,8,19,8,11,9,9,8,7,7,6,8,9,16,10,7,7,11,8,6,6,9,7,11,7,14,4,4,4,4,4,4,10,7,6,6,6,6,10,10,6,10,10,22,11,9,10,10,10,9,10,8,7,7,7,8,21,13,11,11,9,10,9,13,10,8,8,9,12,9,7,10,7,7,13,7,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,8,6,3,3,3,3,3,3,2,5,3,3,3,7,2,2,2,2,2,2,3,3,3,1,1,7,8,5,2,2,7,2,2,1,4,1,11,9,9,5,5,8,5,5,5,5,5,5,5,3,3,3,3,3,5,11,9,9,13,7,14,7,6,6,6,7,6,6,6,6,6,10,7,11,9,4,4,4,4,4,4,6,6,6,6,6,8,7,10,9,9,9,8,9,8,10,6,9,9,8,10,10,7,8,1,9,10,12,12,12,10,9,9,10,10,9,9,1,1,5,3,3,3,3,3,3,3,3,3,3,3,3,6,6,6,4,3,3,3,7,4,4,4,3,3,6,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7,8,7,11,8,8,6,9,8,8,6,6,6,8,8,6,6,6,6,6,9,7,6,4,4,4,4,4,4,4,6,6,6,9,7,8,10,8,8,2,3,3,3,3,3,2,8,9,9,2,2,2,3,3,3,2,3,3,3,9,2,2,3,3,3,3,3,3,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,12,5,5,3,5,4,2,3,2,4,3,9,2,2,2,2,2,5,5,3,8,8,13,6,10,9,4,7,9,11,2,3,7,3,3,4,1,3,4,2,9,3,3,12,5,3,7,10,10,7,4,4,6,14,7,9,7,13,2,2,2,2,2,2,3,3,3,3,3,8,15,4,4,2,3,3,3,7,4,9,9,2,3,3,3,5,3,2,2,7,2,7,6,6,7,2,4,2,2,2,2,2,2,8,8,8,9,5,2,3,3,3,3,3,3,10,7,4,4,4,4,3,4,2,3,3,3,3,3,10,7,4,4,4,4,2,3,3,3,3,10,7,4,4,4,4,3,9,6,6,6,9,13,9,2,2,2,8,7,9,5,3,3,3,5,5,12,9,10,7,8,7,6,8,6,11,12,7,9,10,4,4,7,8,11,6,7,9,8,7,10,8,9,15,7,8,5,4,7,2,3,3,3,2,14,10,2,14,10,2,14,3,9,13,13,10,14,16,17,11,2,14,2,14,3,9,13,10,14,16,17,11,14,10,14,2,7,3,10,7,14,10,2,14,10,9,9,17,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,10,10,10,12,9,4,10,11,8,8,8,7,9,5,3,3,3,3,3,3,3,3,5,8,4,4,4,4,4,4,6,16,3,3,14,3,14,2,14,9,13,10,10,14,16,17,11,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,9,9,9,9,9,9,2,14,9,13,10,10,14,16,17,11,6,2,14,9,17,13,10,10,14,16,17,11,6,2,14,9,13,10,14,16,17,11,2,14,9,13,10,16,11,2,14,10,19,7,2,14,9,13,10,19,10,7,14,16,17,11,6,2,14,9,13,10,19,7,14,16,17,11,2,14,9,13,17,13,10,10,14,16,17,11,6,3,2,14,9,13,10,10,14,16,17,11,6,9,10,12,14,14,14,12,12,12,12,12,14,14,14,10,10,10,14,9,9,9,9,14,14,14,13,13,14,9,9,9,9,9,9,4,11,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,9,10,10,7,17,3,3,12,12,16,15,15,12,14,14,14,20,20,13,12,12,12,12,12,12,20,25,14,14,12,12,10,10,10,10,9,9,9,25,4,9,17,10,7,14,16,21,13,13,14,20,14,13,17,24,9,12,13,25,13,21,20,17,9,9,9,9,9,9,12,17,4,4,9,9,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,1,8,7,11,11,1,3,3,3,4,8,9,10,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,7,4,4,4,4,4,4,4,4,4,4,9,12,6,14,4,12,7,2,2,1,2,7,6,4,4,4,6,8,8,7,4,5,6,3,3,3,3,4,16,8,3,5,4,3,3,3,5,2,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,12,7,7,13,9,10,12,8,9,7,8,5,12,10,13,14,5,5,5,13,5,5,5,3,3,3,5,16,5,5,5,5,5,7,12,14,8,12,8,10,12,9,11,7,9,7,10,7,13,9,7,12,8,17,7,7,16,10,13,13,8,10,10,14,17,7,16,16,15,8,10,10,12,17,7,17,14,7,10,17,8,7,7,7,8,15,15,7,14,10,10,10,11,11,7,7,13,8,10,7,16,7,8,7,14,17,12,10,11,21,8,9,7,13,9,8,13,6,12,7,6,13,10,10,10,8,18,9,17,13,10,12,6,13,6,11,8,13,10,13,18,13,11,13,8,16,7,10,8,16,12,10,8,8,6,14,11,8,15,8,8,7,7,12,7,8,9,14,15,8,9,10,9,15,7,8,8,12,13,9,10,15,15,13,7,10,10,20,7,6,9,6,6,14,11,14,11,12,9,10,16,16,12,7,11,28,8,11,10,7,21,8,7,9,4,4,4,17,7,8,6,9,6,6,13,6,6,6,6,18,20,14,8,11,12,9,10,13,15,19,8,9,12,7,10,16,12,9,9,9,14,12,11,9,12,11,18,9,9,9,10,7,7,16,8,9,7,13,12,10,18,7,8,11,7,7,8,8,13,7,7,7,11,15,13,11,7,8,15,11,7,8,18,14,13,18,15,10,12,12,9,7,11,11,8,7,10,8,14,12,10,18,7,10,9,7,8,13,10,14,9,10,8,8,23,7,7,11,12,12,17,7,7,11,11,17,16,16,7,8,11,14,14,8,10,7,7,16,16,13,9,11,9,15,15,11,11,7,7,14,7,9,7,7,16,10,13,10,11,14,7,11,10,11,7,11,10,11,15,11,15,10,12,17,10,14,13,11,11,12,13,10,7,13,10,16,12,21,9,10,10,7,11,14,17,7,7,8,11,12,8,15,14,14,8,17,12,10,10,7,9,11,7,10,7,11,18,7,11,7,12,11,8,8,14,12,7,8,15,3,7,7,5,2,9,2,2,2,2,2,2,2,3,3,3,3,3,3,3,2,5,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,11,6,4,7,10,7,7,11,1,10,2,2,3,3,3,3,3,3,3,3,5,7,3,5,6,3,3,5,2,2,5,3,4,13,11,3,3,6,3,5,14,2,2,3,8,2,2,12,5,18,5,3,3,3,16,5,5,5,10,7,13,12,13,9,12,14,19,9,9,21,9,9,10,6,9,6,15,10,6,12,8,6,10,15,4,4,6,6,9,9,12,16,14,23,7,7,7,14,9,7,7,11,14,10,7,10,10,10,12,6,11,10,13,11,15,11,7,12,10,3,7,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,4,3,7,2,5,5,3,3,5,5,5,5,7,6,6,6,4,4,4,4,4,4,6,6,6,6,6,7,10,2,2,2,5,5,5,5,3,3,3,3,3,5,5,10,9,11,8,7,12,8,9,7,6,13,11,6,13,7,9,9,4,4,4,4,4,4,6,10,7,8,13,8,8,9,14,8,10,7,7,7,9,6,9,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6,7,5,5,20,19,8,10,9,7,10,6,8,11,6,6,6,6,13,12,8,6,7,14,11,9,2,5,3,3,6,2,3,2,2,2,2,2,2,2,5,4,3,7,6,4,7,4,3,6,4,7,2,7,7,7,5,5,5,5,3,3,3,3,3,3,3,3,3,3,5,9,10,10,8,11,7,8,20,7,8,9,8,12,6,6,6,8,9,8,12,6,6,8,13,10,12,6,6,7,7,8,9,6,4,4,4,4,4,4,4,10,6,6,6,7,14,11,10,7,8,10,8,11,14,11,11,9,7,9,8,11,9,17,10,9,2,2,2,9,3,3,3,3,15,14,9,5,5,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,15,12,22,19,17,18,18,19,21,7,16,16,5,5,5,5,5,5,5,5,5,5,5,7,5,5,5,5,5,5,5,5,5,5,5,9,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,7,16,11,11,7,7,7,7,17,7,8,12,15,9,19,7,19,8,16,21,11,12,19,14,22,7,7,7,7,7,7,7,7,7,7,7,16,16,19,24,12,7,14,7,12,7,8,10,10,13,7,12,12,7,7,10,18,15,12,16,7,14,12,17,10,16,17,12,17,25,7,7,7,13,6,9,6,9,18,6,6,11,20,10,6,6,6,6,6,6,6,17,6,6,6,15,6,6,6,6,6,8,14,11,12,15,13,19,17,21,7,18,8,13,13,8,12,8,6,6,13,6,15,15,16,6,6,16,6,6,6,14,6,18,6,6,6,17,18,9,13,15,8,19,8,15,15,18,14,16,4,4,4,4,4,4,4,4,4,4,4,4,6,11,10,11,6,21,23,12,17,12,11,14,13,22,15,15,11,12,14,12,7,12,8,14,12,18,10,8,16,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12,6,8,10,8,8,8,6,8,6,14,6,6,6,13,6,10,6,6,7,14,8,6,6,10,11,10,9,9,7,7,6,6,6,9,9,7,9,10,9,13,12,4,4,4,4,4,4,4,4,4,6,6,6,8,8,6,8,9,10,9,7,10,10,8,7,8,7,10,12,9,8,15,8,7,8,8,7,7,15,13,7,10,9,14,18,16,7,24,7,8,10,11,16,8,14,7,9,9,9,11,13,19,14,15,14,11,7,13,9,10,7,13,9,10,11,12,8,9,2,3,5,8,7,4,4,10,5,3,3,3,3,3,5,4,4,4,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,2,2,2,3,3,3,3,3,3,3,3,3,3,4,2,12,5,3,8,10,15,6,7,2,3,2,5,5,12,2,5,5,5,5,2,2,5,5,12,9,5,2,2,9,5,5,12,12,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,12,5,8,8,9,5,5,5,8,19,7,16,15,14,9,9,9,9,7,11,11,11,7,14,10,10,5,5,5,5,5,5,5,5,5,15,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,14,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,15,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,12,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,12,9,9,12,12,12,15,7,11,7,14,11,18,13,8,18,15,18,12,14,12,8,8,8,8,9,9,9,12,7,10,10,8,8,12,12,12,7,12,12,9,7,7,7,7,7,8,15,12,9,10,10,7,10,10,13,11,10,9,22,11,9,8,8,8,8,8,13,18,13,9,15,19,9,7,7,10,7,7,7,11,8,13,17,7,7,10,10,10,7,20,16,7,7,7,7,7,7,11,21,12,12,13,11,14,16,8,8,13,11,7,7,13,7,7,14,15,15,6,6,6,6,6,6,6,6,6,6,13,10,18,6,6,6,6,6,6,6,6,6,11,8,8,12,12,11,11,8,12,9,9,9,13,13,9,9,9,9,9,9,6,10,12,6,6,6,6,17,11,7,7,7,7,14,14,12,6,7,7,6,6,15,10,13,10,6,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,9,15,13,6,12,12,6,19,11,10,7,7,16,8,19,17,9,9,9,9,9,6,6,6,10,8,16,8,6,6,9,6,6,6,6,6,6,6,6,8,8,8,6,7,6,6,6,6,6,6,6,6,6,6,6,14,6,6,6,6,20,6,9,6,14,9,9,9,6,9,8,8,12,9,8,8,8,8,7,8,12,7,8,8,8,6,8,6,6,6,6,6,6,6,9,8,8,6,6,13,9,12,13,12,14,13,12,11,11,6,8,8,8,6,13,12,11,11,12,6,11,12,11,13,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,6,6,6,6,6,6,6,13,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,6,18,6,12,13,13,13,9,10,15,9,12,6,6,6,6,6,6,6,6,9,15,10,9,10,13,9,19,8,18,17,10,10,8,8,6,6,6,6,6,6,10,14,8,16,16,9,8,15,8,8,10,12,14,7,7,8,8,7,7,7,7,8,13,13,11,9,9,9,12,10,17,8,11,9,7,7,14,8,14,14,7,7,7,7,7,7,14,7,7,7,7,7,10,10,8,14,7,7,7,7,8,8,8,8,8,17,9,7,15,7,8,12,7,9,14,7,7,7,9,13,8,14,7,16,18,13,15,14,12,13,10,15,9,7,7,7,10,13,15,15,9,9,9,9,19,11,7,11,11,13,8,8,8,8,7,12,19,17,9,9,13,7,7,7,9,7,7,7,12,13,15,10,8,8,14,15,12,13,13,8,12,14,7,11,7,14,15,13,12,8,8,8,8,11,13,15,15,8,13,12,8,8,8,13,10,16,14,11,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12,7,9,8,6,7,7,8,12,12,11,13,10,11,7,7,7,9,7,11,10,7,7,7,16,11,10,11,17,9,9,8,8,7,7,7,9,7,7,7,14,7,13,9,11,10,14,10,10,12,11,10,7,10,5,14,8,8,8,9,7,8,7,7,9,8,7,8,7,7,7,7,7,7,7,11,8,10,8,7,8,14,11,8,9,9,9,8,24,10,10,12,7,7,15,11,8,8,12,11,8,9,9,7,8,9,10,11,10,11,7,12,7,7,11,9,8,14,13,12,8,11,10,8,8,7,7,14,9,10,8,9,11,7,14,8,8,13,8,8,12,7,10,14,14,11,9,10,9,9,7,7,11,11,13,9,13,5,5,5,7,9,5,11,12,14,8,7,7,11,10,9,7,8,8,7,10,11,11,5,5,7,5,5,5,7,7,15,7,7,8,7,15,12,12,10,7,8,7,11,7,7,7,23,11,8,8,11,10,7,8,11,7,19,7,7,6,9,9,9,11,3,4,7,8,6,6,4,10,8,2,2]),B6=new Uint16Array([0,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,17,1,1,1,12,1,12,1,12,13,1,1,1,1,12,1,12,1,1,1,1,1,14,21,1,1,1,1,1,1,1,19,12,1,1,1,1,1,1,1,20,1,1,1,16,1,18,1,1,15,1,1,1,1,12,1,1,1,1,1,1,22,1,1,1,12,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,1,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,12,12,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,12,1,1,1,1,89,1,91,1,1,1,1,1,1,1,1,94,1,1,1,1,1,1,1,1,1,1,1,1,0,1,97,97,1,1,12,1,100,1,1,1,1,1,1,1,98,1,99,1,101,1,1,1,1,1,102,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,110,111,1,1,1,1,1,1,113,113,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,121,122,1,1,1,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,126,123,125,120,1,124,1,1,114,1,1,1,1,117,1,127,1,1,1,1,1,119,1,108,1,109,1,12,128,106,1,112,1,1,1,1,1,107,115,1,12,12,12,118,116,1,1,1,1,1,1,0,0,0,0,1,12,12,1,1,1,1,1,12,134,1,1,1,1,1,1,1,1,1,1,1,12,136,1,1,1,1,1,1,1,1,137,138,12,12,135,133,45,45,140,50,50,139,142,141,1,1,0,0,0,0,0,0,0,0,0,0,0,0,145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0,0,0,1,0,144,132,1,0,1,12,12,1,1,1,1,1,0,0,0,0,0,0,0,1,148,147,20,1,1,12,12,1,20,12,12,1,1,1,1,1,134,1,1,152,1,1,1,1,153,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,1,136,1,1,152,1,1,1,1,153,1,1,134,1,1,1,152,1,1,1,1,153,1,1,134,1,1,1,1,1,1,1,1,134,1,1,1,1,1,1,1,1,1,1,1,160,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,1,1,1,1,1,134,1,1,1,1,152,1,1,1,1,153,1,1,1,134,1,1,152,1,1,1,1,164,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,167,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,154,158,158,12,1,12,166,1,1,1,1,1,158,158,158,154,1,1,1,157,158,161,165,1,1,1,1,157,157,1,1,156,154,154,157,170,156,170,1,1,168,1,156,155,157,1,1,1,1,157,1,159,1,1,1,12,1,162,1,162,1,1,1,162,161,163,169,156,154,1,1,1,1,1,1,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,173,172,173,172,172,172,172,174,174,172,173,172,173,172,172,12,12,12,12,12,1,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,193,1,1,1,1,12,199,200,201,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,151,1,1,1,1,1,1,1,1,1,1,1,196,1,1,1,184,1,210,1,1,1,208,1,1,205,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,12,1,1,1,1,1,1,1,1,190,1,1,1,186,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,182,1,1,1,1,1,1,1,191,1,1,1,1,195,1,1,1,1,171,1,1,189,1,1,1,192,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,180,1,12,1,1,12,1,1,1,1,183,1,1,1,188,1,203,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,209,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,194,1,1,1,1,1,12,1,1,1,1,1,1,1,1,176,12,1,1,1,178,12,1,1,1,1,1,1,1,198,1,1,1,1,1,1,1,1,1,1,177,1,1,1,1,1,1,204,1,1,1,181,1,1,1,187,1,12,1,1,12,1,1,1,1,1,1,1,1,1,1,191,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,175,1,1,1,1,1,1,1,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,206,1,1,1,1,1,1,1,1,1,1,1,1,1,207,1,1,12,1,1,1,1,179,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,197,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,202,1,1,12,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,220,0,0,0,0,0,221,0,0,0,0,0,0,1,12,1,1,1,225,1,1,1,0,226,223,224,1,1,1,1,1,1,231,1,233,1,1,1,1,1,1,1,1,1,1,1,229,1,1,1,1,1,235,1,1,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,234,1,1,1,12,1,1,1,1,230,1,1,1,228,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,232,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,241,13,1,1,1,12,12,238,239,1,1,1,1,240,1,1,12,1,1,1,1,1,1,1,242,1,1,12,16,1,1,1,1,1,1,1,243,1,1,1,12,12,1,1,1,1,1,243,12,1,1,1,1,1,1,1,1,1,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1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,144,1,1,1,228,1,1,12,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,572,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,577,1,220,1,328,1,1,1,1,1,1,1,1,1,0,0,578,1,1,1,1,0,580,0,79,0,579,0,1,1,1,0,1,1,1,1,1,1,12,0,0,0,0,1,0,0,0,0,0,0,586,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,582,582,0,585,583,582,582,582,582,582,587,582,582,591,582,582,582,582,582,582,582,582,582,582,588,585,582,582,585,582,582,582,582,582,582,582,582,582,582,582,582,582,583,582,582,582,582,582,589,582,582,582,582,582,582,0,0,0,1,590,1,1,1,1,584,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,12,595,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,12,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,12,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,65,280,306,411,535,0,4,68,236,254,282,307,334,388,413,0,499,519,536,597,9,0,61,88,398,409,429,575,0,497,518,532,612,0,30,6,0,461,500,602,560,70,0,7,285,255,389,463,416,538,79,598,0,576,309,418,465,9,105,288,506,6,30,0,311,79,391,79,483,10,6,131,248,275,0,613,509,0,563,0,64,6,6,251,95,2,432,399,410,596,0,6,0,6,286,103,6,561,501,540,0,464,390,273,287,8,71,104,599,543,392,312,300,419,146,74,290,546,510,601,564,335,330,479,6,75,149,11,0,249,522,547,565,514,551,570,611,36,6,260,295,333,304,218,30,528,553,218,42,216,265,296,305,406,423,481,274,0,73,562,0,403,417,299,79,247,79,0,581,545,504,292,421,79,393,387,0,0,0,9,555,571,217,0,424,407,531,516,573,615,85,218,43,297,396,425,569,0,511,293,276,79,215,80,28,390,30,6,394,331,303,604,592,524,550,513,0,258,81,30,405,422,0,30,426,0,219,593,517,9,408,427,218,248,86,222,594,574,557,482,428,397,250,227,87,59,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,0,0,0,0,82,0,129,0,0,84,549,0,0,0,0,0,0,0,27,0,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,503,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0,0,0,0,607,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,618,0,0,0,0,0,556,0,0,0,0,0,0,0,0,0,0,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,605,0,0,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,623,623,623,623,623,623,623,622,624]),m3="orgmilcomschnetedugovdrrformsfeedbackofficialaccoorgmilschnetgovmagazinemediaunioncargopilotgroupcaarespressworksaerodromeworkinggroupair-traffic-controlaircraftaccident-preventioneducatormarketplaceambulanceinsurancecateringairportrepbodyenginesoftwaremodellingair-surveillanceconsultingchartertrainermaintenanceservicesdesignflightskydivingfreightassociationstudentgroundhandlingdgcafuelclubtaxicrewshowballooningexpresstraderbrokerauthoragentsairtrafficjournalistsafetyconsultantmicrolightaccident-investigationparachutingequipmentproductionfederationrecreationscientistnavigationengineertradingglidingleasingresearchpassenger-associationentertainmentparaglidinghangglidingaerobaticrotorcraftemergencycertificationgovernmentaeroclubexchangelogisticschampionshiphomebuiltcouncilconferencecontrolairlinecivilaviationjournalorgcomnetedugovcoorgcomnomnetobjofforgcomnetuwukiloappsframerorgmilcomnetedugovcoradioorgcomnetcommuneedogpbcoitgvorgedugov*spreviewfrontendrelayononstagingupid*mtls*privatelinktypedreamdeveloperbravemochawindsurfaivenmirenupsunwnextbegetngrokclerkwale2bwebcsbrunputerflutterflowspawnbaseshiptodaymagicpatternsnetlifyondigitaloceanrailwayhostedclaudehasurabotdashvercelgithubluyanigadgetreplitcloudflaretelebitedgecomputeevervaultdetaexponyatnoopencrpplxzeaburwasmerframerzeropsconvexmedusajsspritesonherculeseasypanelstreamlitsnowflakemesserliloginlinehackclubnorthflankbase44corespeedadaptableleapcellngrok-freeclerkstagelovableon-fleek*us-west-3ap-south-2us-central-2us-central-1eu-central-1ap-south-1us-west-2us-east-2eu-north-1ap-north-1us-west-1us-east-1*rcloudintsegorgmilcomgobbetnetintedugovturmusicasenasamutualcoopip6uriurnin-addre164homeirisgovdixdaemoncloudnssthwien*inexexkunden4accogvormymyspreadshop4lima2ixortsinfofuturecmsfuturehosting12hpprivfuturemailinglima-cityfunkfeuer123webseitednshomemelmyspreadshopcloudletswasantqldvicactnswtascatholicwasaqldvictasvpsidwasantozqldorgcomvicasnactnetedugovnswtasconfhrsncomairflowlambda-urltransfer-webappairflowtransfer-webapptransfer-webapptransfer-webapp-fipstransfer-webappeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1privatenotebookstudiolabelingnotebookstudionotebooknotebook-fipslabelingnotebookstudionotebook-fipsnotebookstudio-fipsnotebook-fipsnotebookstudionotebook-fipsnotebookstudioeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2experimentsus-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1onrepostsagemakercopporgmilcompronetintedugovbiznameinfoshoprsorgmilcomnetedugovbrendlyresolvenzauscotvstoreorgcomnetedugovbizinfoidacaicoittvorgmilcomschnetedugovinfocloudezproxyacmymyspreadshopkuleuvenwebhostingtransurl123websitecloudnsinterhostsolutionsddns5476103298edgfacbmlonihkjutwvqpsryxzbarsycoororgcomedumyftpno-iporxcloud-ipfor-somemmafanfor-morewebhopselfipjozidyndnscloudnsdscloudfor-thefor-betteractivetrailcoeconorestooteorgcomeconeteduassurmoneyafricaarchitectesrestaurantloisirstourismavocatsinfoagrounivcoorgcomnetedugovtvdeportesaludtksatorgmilcomwebgobnetinteducienciaboliviarevistacooperativaempresanombreindustriamusicapatriamedicinademocraciapoliticapuebloindigenaplurinacionalarteblogwikiinfoagrotransportenoticiasprofesionalacademiaeconomiaecologiamovimientotecnologianaturalsimplesitecepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesmscepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesms*biaamfmtcmptvfeirasampajampanatalbelemananiradiog12medindfndbmdtrdthepoaggfjdfdefinfenflegsegongengcngorgzlgslglogppgmillelqslcimcomnomadmjabimbbibbsbabcrectecsjcetcpscpvhudieticriapipsiecnbiorioecogeoteoodoproatoartfstmatvetdetbetnetcntnotfotgrueduajuespappreptmpemparqsrvadvdevgovntrturagrjorfarjusmusdesvixxyzcozfozslzbhzmaringasantamariacampinagrandegoianiasorocabafloripasaobernardocuritibaboavistarecifeaparecidasaogoncasalvadorcuiabamorenamacapalondrinacontagemsocialfortalmaceioleilaoosascoriobranconiteroi9guacutcheblogflogvlogwikitaxicoopmanauspalmascaxiasjoinvillebaruericampinassantoandreribeiraoriopretoweorgcomnetedugovv0windsurfshiptodaycloudsitecoaccoorgnetgovofmilcomgovmediatechzacoorgcomnetedugsjgovmydnspenfnlabnbmbgcbcqconcontnuyksknsmyspreadshopno-ipawdevboxbarsyonidatemfuinabusavinstanceseceuguukussryzespawncsxcloud-ipmyphotosfantasyleaguetwmailcleverappsscrappingccwucloudnsftpaccessgame-serverccgovobjectsrmalpgcust*svcalp1aeappenginermalpgmyspreadshop4lima2ixsquare7cloudscale123websitefirenet12hpflowgotdnslinkyard-cloudcloudnslima-citydnskingobjectstorageedaccogoorusorgcomnetinteduaéroportxn--aroport-byaassogouvcomilgobgovcloudnses-1eu-west-1us-east-1euvipit1eurarubait1s3lbwebsites3websiteru-spbru-mskelasticcsrunstnukukcaukusnl-ams-1fr-par-1fr-par-2functionsnodess3ddlwhmrdbfnck8sifrs3-websitecockpitscblmgdbdtwhkafkpubprivs3ddlwhmrdbk8sifrs3-websitecockpitscblmgdbdtwhkafks3ddlrdbk8sifrs3-websitecockpitscblmgdbdtwhkafkk8sscalebookpl-wawfr-parnl-amsbaremetalsmartlabelinginstancesdechk2kuleuvenlaravelvoorloperurownoxazapscwhstgrvaporobservablehqelementorantagonistreclaimjoteluluencowaydiademjelasticmatlabmagentositetrendhostingaxarnetperspectajenv-arubajelejoteravendbemergenttrafficplexconvexkeliwebserveboltbegetcdnstaticson-rancherprimetelonstackitunison-servicesdnshomelinkyardbarsyjelecloudnscocomnetgovmycn-northwest-1cn-north-1s3s3-accesspoints3-websites3s3-accesspointrdsdualstacks3-deprecatedemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspoints3s3-accesspointrdsdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicn-northwest-1cn-north-1cn-northwest-1ebcomputeelbcn-north-1airflowcn-northwest-1cn-north-1oncn-northwest-1cn-north-1amazonawssagemakeramazonwebservicesdirectasgdsdhehahljlnmhbacscahqhshhihnlnynsnmofjbjzjxjtjhkcqtwgsjssxnxjxgxxzgz網絡网络公司orgmilcomnetedugovxn--55qx5dcanva-appsxn--io0a7iquickconnectcanvasitekhsjxn--od0algmyqnapcloudsrvrlessclustersrealtimestorageleadpagescarrdcrdorgmilcomnomnetedugovhidnssupabaserdpareplmypiumsoxmitotaplpagesfirewalledreplitowodevwebview-assetsvfswebview-assetss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecateds3-websites3-object-lambdaexecute-apis3s3-accesspoints3-websites3-accesspoint-fipss3-fipss3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipss3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9vfss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1us-northeast-1ap-southeast-1me-south-1af-south-1ap-south-1ap-southeast-7us-west-2eu-west-2ap-east-2us-east-2ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ap-southeast-6ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1mrapaccesspoints3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3eu-west-3ap-south-2eu-south-2computes3-ap-northeast-2elbrdss3-ap-east-1s3-sa-east-1s3-us-gov-west-1s3-eu-central-1s3-ca-central-1eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3s3-website-us-west-2s3-website-eu-west-1s3-external-1eu-central-1me-central-1ca-central-1il-central-1s3-us-west-1s3-eu-west-1s3-website-sa-east-1s3-website-ap-southeast-2ap-northeast-1ap-southeast-1s3-us-west-2s3-eu-west-2me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2s3-website-ap-southeast-1s3-1s3-globals3-ap-northeast-3eu-north-1airflowap-southeast-2s3-us-gov-east-1s3-fips-us-gov-east-1s3-me-south-1s3-ap-south-1ap-northeast-2s3-website-us-west-1ap-southeast-5s3-eu-north-1s3-ap-southeast-1s3-website-us-gov-west-1compute-1s3-eu-west-3us-gov-west-1s3-website-ap-northeast-1us-gov-east-1s3-fips-us-gov-west-1s3-website-us-east-1s3-ap-southeast-2ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3-us-east-2s3-ap-northeast-1authauthauth-fipsauth-fipseu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1rservicesbuilderstg-builderdev-builder*ociocpocsdemoinstanceeu-west-3eu-south-2ap-southeast-3ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1previeweu-4us-4us-1eu-1us-2eu-2us-3eu-3appspaasrag-cloudrag-cloud-chjcloudjcloud-ver-jpcdemonodebalancermembersipeuxvsoncillaocelotonzayalilynxsphinxfentigercustomercaracalo365cloudstaticxendevapp001testcode-builder-stgplatformapimediasiteprojedrydpagesjsu2u2-localx0desazacncoitrueu4uhkukgrbrushatenadiarymyspreadshopfrom-flfrom-wvwebspace-hosttheworkpchatenablogservesarcasmapplinzisakuratanwixsiteappchizigiizeis-into-carsdnsiskinkyadobeaemcloudis-a-therapistpgfogmyvncdojinis-an-actress1kappfldrvkozowqa2jpnmexprgmrfirewall-gatewaydynnscafjsfbsbxooguyxnbayfrom-gawoltlab-demois-a-anarchistwiardwebteaches-yogadattowebtb-hostinglive-websiteservegamegotpantheonfrom-nhsubsc-payfrom-ohvipsinaappfrom-cadyndns-officehomelinuxfrom-mahercules-appservebbsstreakusercontentfrom-okfrom-wyfastly-terrariumis-a-llamaqualyhqportalserveexchangeon-vaporvivenushopciscofreakgrayjayleaguesmetaaiusercontentfrom-iais-a-libertariansaves-the-whalestaveusercontentyolasiteoperaunitepoint2thisis-a-catererlinodeusercontentfrom-vagithubusercontentsells-for-lesshosteurcanva-appsplaystation-cloudddnsfreefrom-pafrom-prfrom-waddnskingoutsystemscloudhotelwithflightmydattois-a-nascarfanmydbserverminiserverdamnserverservehumouris-a-playerfrom-nvfrom-nmemergentagentgentappsamplifyappfrom-kyis-an-accountantnfshostserveircfrom-akpythonanywherestackhero-networkpostman-echolikescandydyndns-mailobservableusercontentserveftpfreeboxosfrom-utcdn77-storageamazonawsneat-urldyndns-serverlinodeis-a-teacherfrom-vtgleezemythic-beastsus1-pleniteu1-plenitla1-plenitpaywhirlservecounterstrikejdevcloudhealth-carereformis-into-animegoogleapisis-a-painterafricaisa-hockeynutatmetais-an-actora2hostedis-a-democratdatadetectest-le-patrondigitaloceanspacesis-a-designeris-a-hunterlinodeobjectstemp-dnsissmarterthanyoufrom-arsimplesiteevennodetownnews-stagingis-a-liberalgooglecodejelasticservemp3stdlibqualyhqpartnerdyndns-free1cooldnsest-a-la-masiondrayddnsdynuddnsfrom-orfrom-miis-a-bloggerfrom-himydobisscanvacodeis-an-engineerest-a-la-maisonupsunappdevinappswafflecellmyasustorwpenginepoweredfrom-ctservep2psame-appmyshopblocksthingdustdatalikes-piediscordsezis-with-thebanddev-myqnapcloudlpusercontentis-leetshopitsite3utilitiesis-a-personaltrainersinaappladeskis-a-cheflogoipselfipbase44-sandboxnospamproxyalibabacloudcsmesswithdnsauthgearappsiamallamawithgooglelutrausercontentmochausercontentframercanvasmytabitdyndns-homew-credentialless-staticblitzcpserverdiscordsaysis-a-nurseappspotatlassian-isolated-3premotewdfrom-mtwixstudiocode0emm180rmyactivedirectoryawsappsmytuleapdnsabrpolyspaceqbuserrenderbuiltwithdarkboutirgotdnsabrdnsdopaascanva-hosted-embedawsglobalacceleratorhomesecuritypcmyiphostditchyouripclever-clouddyndns-ipon-aptibleis-a-musiciansecuritytacticsappspaceusercontenthomeunixstrapiappsame-previewcf-ipfsmycloudnaselasticbeanstalkis-certifieddontexistkasserverik-serverdrive-platformatlassian-3pfirebaseappherokuappawsapprunnerbarsycenteris-a-cubicle-slaveservehttpmyshopifyis-a-guruquicksytessiiitesorsitesmagicpatternsappis-a-cpameteorappfrom-wiis-a-rockstarbumbleshrimpdattolocalreadthedocs-hostedfrom-rifamilydsdyndns-picsplesknsbplaceddnsaliasdynaliasdyndns-remotedoomdnsip-ddnsblogdnsis-a-doctorroutingthecloudamazoncognitobarsyonlinedsmynasddnsgurucloudflare-ipfsdeus-canvasfrom-idsmushcdnpagespeedmobilizerdyndns-at-homeunusualpersonhosted-by-previderis-a-republicandyn-o-saurstreamlitappworkisboringonthewificprapidqualifioappis-uberleetis-slickgetmyipwpdevcloudtypeformdyndns-at-workgentlentapismynascloudw-corp-staticblitzfrom-ingeekgalaxyservebeerfrom-mdonrenderspace-to-rentaivencloudappspacehostedonfabricawafaicloudcodespotblogspotatlassian-3p-us-gov-modfrom-ndfrom-msis-a-techieis-a-studentcustomer-ociis-a-photographerdurumisfrom-ksmassivegriddyndns-wikiis-an-entertaineris-a-hard-workermysecuritycamerafrom-mnrackmazedyndns-blogis-a-bulls-fanwritesthisblogfreemyipsimple-urlfrom-sdreservdauthgear-stagingest-mon-blogueuris-into-gamesrice-labsxtooldevicesakurawebis-an-anarchistoraclecloudappsdyndns-worksells-for-urhcloudfrom-dcfastvps-serverwpmucdnis-a-geekscrysecfrom-txis-into-cartoonsmodelscapetrycloudflarelocaltonetstreak-linkbalena-devicesfrom-njforgeblocksfreebox-oswebadorsitefrom-ncdoesntexisthobby-sitestreaklinkshomesecuritymacownprovidertuleap-partnersdattorelaywphostedmailalpha-myqnapcloudservequakeis-a-socialistservehalflifepivohostingdynuhostingquipelementsw-staticblitzdyndns-webfrom-deproject-studyaliases121is-not-certifiedhercules-devis-a-financialadvisorservepicsis-a-greenloseyouripfrom-ilwithyoutubemwcloudnonprodwiredbladehostingdnsdojofrom-tnpixolinomyqnapcloudis-an-artisthostedpiis-a-landscaperauiusercontentoaiusercontenton-forgeis-a-conservativedreamhostersnet-freaksapps-1and1is-goneencoreapifastly-edgefrom-nesalesforcefrom-scdeployagentoraclegovcloudappsfrom-alis-a-lawyercechirevultrobjectsstufftoreadisa-geekddnsgeeklovableprojecttry-snowplowfrom-moblogsyteis-a-bookkeepernogmyforumravendbmyboxdeelementoredsaacficogoorinforgcomgobnatneteduidstoreorgcomnetintedudevnomepublorgcomneteduathgovtestscalculatorspaynowinfoquizzesresearchedcloudnsfunnelsassessmentsjscaleforcetmacltdorgmilcompronetgovbizpresseklogesrsccloudcustomfltusrcloude4corealmgovmunicontentproxy9metacentrumdyndyndyndnsdynpagespages-researchitionoccustomercomymyspreadshopipv64diskussionsbereich4limacomrub2ixfirewall-gatewayddnssspdnsbarsykeymachinesquare7myhome-serverspeedpartnercommunity-proschuldockxenonconnectgünstigliefernbwcloud-os-instancedyndnssecmy-routerxn--gnstigliefern-wobin-butterl-o-g-i-nisteingeekin-dslin-berlinin-brbfuettertdasnetzleitungsenin-vpnlcube-serverdyn-ip24logoipdyn-berlinruhr-uni-bochum12hpgoipsrvdnsfruskygit-repossvn-reposinternet-dnsgünstigbestellenhome-webserverxn--gnstigbestellen-zvbbplacedheimdnscosidnswebspaceconfiglima-citydyndns1istmeinvirtualuserschulplattformmy-gatewayddnsseclebtimnetztest-iservmein-iservvirtual-userhome64iservschuletaifun-dnstraeumtgeradeschulserverdynamisches-dns123webseitednshomehs-heilbronndnsupdaterbssgraphicdwadpdwdaepeweaawapaafpfwfabwbpbacwcpcciwebuserapiobjectsidsiskospockkimodorikerbonesteamsparisjanewaypicardglobaltarpitreedpikekiraworfsulukirkarchertuckerhackercanarywesleystagingprereleaset3r2lpbravepanelngrokiservstglclcrmerpflypagesbarsyvivenushoplocalcertlocalplayerbearbloggatewaydeno-stagingis-not-ais-a-goodbotdashvercelmocha-sandboxplatter-appreplitgithubpreviewworkersinbrowserevervaultdetais-ahrsndenoxmitmodxmyaddrstorageapipayloadgrebedocruncontainersstgstagelclstageloginlineis-a-fullstackleapcellngrok-freeis-coolstoragewebharemediatechlibp2pdiscourseimaginecomyspreadshopstoreregbiz123hjemmesidefirmcoorgcomnetedugovsldorgmilcomwebgobartnetedugovtmorgpolcomsocartnetedugovassoagrondiscoodontk12medcuegyecpaabgengorgmilgalsaltulcomadmesmgobpubdocmonfindgnriouioproartlatvetnetfotedulojgovntrturibrbarxxxofficialbasechefprofmktgpsictechinfoarqtcontdentrrpppsiqgit-pagesritmedfieorgcomlibprieduaipgovriikmeactvsportorgmilcomscieunnetedugovnameinfopintouchtawktotawkmyspreadshoporgcomnomgobedu123miwebcomputeorgcomnetedugovbiznameinfocognito-idpeusc-de-east-1onjelasticnxaspdnsbarsydirectwpdeuxfleurstransurldogadoprvwcloudnsamazonwebservicesdnshomeuserpartycokoobinmkmstorjfidemopaasdymyspreadshopalandkapsiikixn--hkkinen-5wacloudplatformdatacenterhäkkinen123kotisivuidacorgmilcompronetedugovbiznameinforadioorgcomneteduuserexperts-comptablestmmyspreadshopgretaprdcomnomynhccifbxoshuissier-justicenotairesaeroportfreeboxoson-webavocatassoportgouvkdnschirurgiens-dentistes-en-franceavouesfbx-os123sitewebveterinairechirurgiens-dentistespharmacienchambagrimedecinfreebox-osdediboxgoupilemszicpyicpvicppleysheezypagesedugovcnpyorgcomcybllcpvtnetedugovtnxonlineschooldaemond6atcopanelorgnetplybotdashstackitkaasorgmilcomnetedugovbizmodltdorgcomedugovcoorgcomneteduappwriteacorgcomnetedugovcloudtranslateusercontentorgcomnetedumobiassoorgcomnetedugovbarsysimplesitediscourseindorgmilcomgobneteduorgcomwebnetedugovguaminfonxhra教育敎育網絡网絡组織組織网络網络组织組织公司政府個人个人箇人ltdorgcomincneteduidvgovxn--uc0ay4axn--55qx5dxn--mk0axixn--io0a7ixn--uc0atvxn--zf0avxxn--lcvr32dxn--od0algxn--wcvs22dxn--gmqw5axn--od0aq3bxn--mxtq1mxn--ciqpnxn--tn0agxn--gmq050iorgmilcomgobneteduiservwp2tempurlmircloudfreesitewpmudevmyfastgadgetcloudaccessjelehalfboltfastvpsemergenteasypanelopencraftizcombrendlynamefromrtpersoadultmedorgpolrelcomproartnetedufirminfoassoshopcoopgouvtmcomediahotelforumvideosportorgsexagrargameslakaseroticaerotikatozsdereklamcasino2000filmsuliinfoboltshopprivnewsszexcityutazasjogaszkonyveloingatlaneacaicogoormyᬩᬮᬶmilwebschnetkopbizzonedesaponpesxn--9tfkymyspreadshopgovmytabittabitorderravpageaccok12idforgnetgovmuniltdplcaccotttvorgcomnetmeca6g5gpgamubacaicniocoukuptverdruscsdelhiindorgmilcomwebnicfingenpronetintedugovresbizbiharbarsyinternetbusinessschooltravelsupabasealumnigujaratfirminfoaeropostbankcoopindevscloudnsno-ipbarsybarrell-of-knowledgebarrel-of-knowledgensupdategroks-thisdnsupdatefor-ourknowsitalldvrcammittwalddynamic-dnsv-infowebhopselfipdyndnshere-for-moreilovecollegemayfirstforumzcloudnsmittwaldservertypo3servergroks-theeusekd1uk0cdndyndnsidrawsainaueuapjpusstagemocksysdevicesclientcustreservdcustdevdisrecprodtestingcobeebyteutwenteboxfusebravepstmndedynngrokorgmilcomnomhzcnetedugovqcxqzzbarsythingdustmo-siemensrb-hostingprotonetfh-muenstergitbookbluebitecloudbeesusercontentnodeartkiloappsforgerockdarklangresinstagingapigeebubbleb-datascryptedhypernodedappnodepantheonsitegitlabgithubkeeneticvirtualservercleverappshostyhostingon-rioedugitticketstelebiton-acornwixstudioon-k3sicp0icp12038jeleqotobigvlairbubbleappsmyaddrstolosmyrdbxwebflowdrive-platformbeagleboardhasura-applolipopdefinimavaporcloudmusicianwebflowtestazurecontainerresindevicereadthedocsloginlineeditorxmoonscalesandcatsbasicserverwebthingsbrowsersafetymarkbeebyteappbitbucketidaccovistablogorgschnetgovxn--mgba3a4f16axn--mgba3a4fraarvanedgeايرانایرانjclaspeziapdudcefegelemeperetevebacanatavaparasabgagfgogrgpgalclblimfmrmcbmbvbfclcmcvcrcpcchlimifibicivipirisimncnbnanenrnpntnnolomobocoaogorosopotoptvtatctbtmtltotpulunutpspapaqsvpvvvtvavvrtrsrprgrfrcrbrarorkrvstsssbscsmsispzczbzbozen-suedtirolmyspreadshopxn--bulsan-sdtirol-nsbxn--valledaoste-ebbtrentinoaltoadigetrentin-sued-tirolxn--forlcesena-c8axn--forl-cesena-fcbxn--bozen-sdtirol-2obtriestetrentinsuedtiroltrentino-s-tirollecceudineaostesienaparmaluccapaviagenoapaduaaostamonzaabruzzoternirietiturinmilanbozenlaziofermoleccocuneonuoropratola-speziavdataaligfvgpugmolcalcamlomumbsicpmnvenvaoedugovabrsarmaremrbastoslazibxosfirenzetrentinosüdtirolval-d-aostavalle-aostamessinacremonaravennatoscanatrentin-suedtirolbolognacalabriaurbinopesarofriuli-v-giuliaogliastraxn--valle-aoste-ebblaquilaandriatranibarlettasyncloudtrentinosudtirolxn--valle-d-aoste-ehbaostavalleyvalled-aostatrentino-alto-adigevallee-d-aostexn--balsan-sdtirol-nsbpistoiasicilialucaniacataniaiserniaperugiabresciaveneziagorizialiguriaimperiabulsan-suedtirolbalsan-suedtirolbarlettatraniandriaxn--trentino-sdtirol-szbforlì-cesenatuscanyvallée-d-aostemantovavallée-aostecasertapiemontevalleaostaval-daostafriulivgiuliatrevisoforli-cesenavalléedaosteferrarapescaravald-aostatrentino-altoadigefriuli-vegiuliavallee-aostecarboniaiglesiastarantomediocampidanovalleedaostetrentinosud-tirolcampobassotrentinsüd-tiroltrentinosüd-tirolmonzabrianzatrentino-südtirolxn--trentino-sd-tirol-c3bpotenzacosenzavicenzaemiliaromagnavenicefrosinonemarchepordenonetrentinosued-tirolvaresemolisevalléeaostefriuli-veneziagiuliabasilicatalatinaanconasavonaveronamodenaaquilabiellabolzano-altoadigepugliafoggiaumbriatrentino-stirolgenovapadovamateranovararagusapiacenzatrentinostirolvalleeaostetempio-olbiatrentinsudtirolmassa-carrarafriuliveneziagiuliatrentinosuedtirolandria-barletta-tranitrapanixn--cesenaforl-i8amaceratacaltanissettaascoli-picenobrindisicarraramassacagliaririmininapolivibo-valentiachietibulsan-sudtirolbalsan-sudtiroltrentino-a-adigebulsanbalsaniglesiascarboniamilanotorinoteramodell-ogliastraarezzotrentinoalto-adigerovigotrentovenetoiglesias-carboniatrentino-sud-tirolaltoadigereggio-emiliareggio-calabriasardegnatranibarlettaandriapiedmontxn--sdtirol-n2amedio-campidanotrentino-süd-tirolfriuli-vgiuliafriuli-ve-giuliaromeennaromapisa32-b16-b64-blodiastibarineencomonaplesforlicesenailiadboxosalessandriasicilytrani-barletta-andriaxn--trentin-sdtirol-7vbpesarourbinotrentinsued-tirolcesena-forliforlìcesenaemilia-romagnamonzaebrianzaxn--trentinsdtirol-nsbtrentinos-tiroltrentinsüdtirolvalledaostaolbia-tempiocampidanomediovibovalentiasassarivalle-daostalombardyfriulivegiuliareggioemiliamonzaedellabrianzaalto-adigevercellitrentin-sudtiroltraniandriabarlettatrentino-sudtirolascolipicenobozen-südtirolfriulive-giuliaflorencevaldaostaxn--cesena-forl-mcbcarbonia-iglesiasaosta-valleycarrara-massadellogliastratrentinoa-adigexn--valleaoste-e7apesaro-urbinoxn--trentinosdtirol-7vbxn--trentin-sd-tirol-rzbxn--trentinsd-tirol-6vbtrani-andria-barlettatrentin-süd-tirolxn--trentinosd-tirol-rzbgrossetomonza-e-della-brianzasüdtirolreggiocalabriatrentinoaadigetrentin-südtirolfriuliv-giuliaverbaniacampaniatrentino-aadigefriulivenezia-giuliasardiniaandriabarlettatranibarletta-trani-andriacatanzarooristanourbino-pesarocesena-forlìvalle-d-aostacampidano-medio123homepagesiracusatempioolbiasuedtirollombardiaavellinocesenaforlìtrentinofriuli-venezia-giuliabozen-sudtirolandria-trani-barlettabulsan-südtirolbalsan-südtirolmonza-brianzabolzanotrentino-sued-tirolbellunosalernolivornocrotonesondriodnshometrentinsud-tirolmassacarraratrentin-sud-tiroltrentino-suedtirolviterbobergamocesenaforliolbiatempiopalermobeneventoagrigentoofcoorgnetfmaitvphdengorgmilcomschnetedugovperagrikanieasukehandachitatokaiaisaikonanoharuamaobuhigashiuraowariasahiinuyamatobishimaiwakurashitarainazawatoyonegamagorimihamatoyotataharakariyayatomioguchikomakimiyoshinishiotokonamekiyosuchiryutoyohashiokazakiisshikikasugaikotakiratoeianjotogofusosetohazutsushimashinshirotakahamanisshinshikatsuhekinantoyokawaichinomiyatoyoakeodateogataakitaikawakyowahonjoogayurihonjonoshirokamiokakatagamimitanegojomeyokotekosakadaisenkazunonikahohonjyomoriyoshimisatohappoukamikoanihachirogatahigashinarusesembokufujisatokitaakitaitayanagiowanitakkomutsutsurutahirosakigonoheoirasetowadamisawanohejiaomorishingohiranairokunohehashikamitsugarushichinohehachinohenakadomarisannohekuroishisakaeisumiasahiotakiinzaiabikomatsudoyachiyomutsuzawakujukuriomigawakashiwatoganemihamanaritasakuranagaramobarahanamigawachoshishiroichoseikozakishisuikatorimidorichonankyonanfuttsuonjukufunabashinagareyamanodasosatakochuotohnoshourayasukimitsuyokaichibayotsukaidosodegauratateyamakamagayayokoshibahikariyachimatakatsuuratomisatokisarazukamogawaichikawanarashinoichinomiyashimofusaminamibososhirakoichiharaoamishirasatoikatahonaiainansaijoseiyoiyoozuuwajimaniihamanamikatamasakiuchikokihokutobetoonshikokuchuomatsuyamaimabarikamijimakumakogenyawatahamamatsunosabaeikedaobamasakaifukuiohionotsurugamihamawakasaminamiechizeneiheijikatsuyamatakahamaechizensoedaukihaomutaokawanishiogoribuzenonojosueumiokiotochikugosasagurisaigawamizumakishinyoshitomikurumekurateyamadakasuganakamamiyamanogatatakatahakataiizukakawaratagawakasuyaashiyainatsukimunakataminamitsuikishonaikurogifukuchikeisenhigashimiyakoshinguyukuhashiokagakiyamekogaongausuikahotohochuotoyotsumiyawakadazaifuhisayamatachiaraiyanagawanakagawahirokawachikujochikushinochikuhochikuzennamieotamaokumashowateneiiwakikoorinangoononishigoshimogoomotegomishimafukushimaasakawakagamiishishirakawaiitatefutabahiratayugawahanawakitakatakawamatakunimiyabukibandaihigashihironoyamatomiharuyamatsuriaizubangedatesomaaizuwakamatsuyanaizuaizumisatonishiaizuizumizakikitashiobarataishinkaneyamakoriyamainawashirotanagurafurudonosamegawasukagawaishikawatamakawaikedaogakitaruiginanenahashimahichisonakatsugawaibigawashirakawamizunamiminokamomitakekawauesekigaharatomikasakahogikitagatayamagatatajimianpachimotosuyaotsukakamigaharahidakanisekitokigujominogodoyorogifukasamatsutakayamawanouchihigashishirakawakasaharashimonitatsumagoichiyodakannakanrashowameiwakiryuotaoratomiokafujiokaitakuranaganoharahigashiagatsumatakasakishibukawaminakamikatashinatsukiyonokawabanumataannakaoizumimidorishintoisesakiuenoyoshiokakusatsutakayamanakanojonanmokutamamuratatebayashimaebashiotakekaitadaiwahongofuchukuietajimashobaramiharahatsukaichihigashihiroshimamiyoshikumanokurenakasakaseraseranishiasaminamifukuyamashinichionomichiosakikamijimajinsekikogentakeharaotobenanaeikedatohmaozoraobiraabirakyowaeniwataikibibaisharirebunerimohiroooketootarupippunishiokoppechitosefurubirahakodateshiranukakitahiroshimakushiroobihironanporoiwamizawaniikappukunneppufukushimanakasatsunaitoyourakuromatsunaiakabirakamisunagawashibechaurakawakamifuranonakatombetsuasahikawashimokawakayabeokoppebiratoriabashirisaromaatsumanumatahidakabifukamukawamikasahorokanaitoyotomisarufutsuhigashikawaishikarikitamiyoichiesashiiwanaitomariminamifuranoakkeshifuranotoyakoyakumootoineppushikaoishiraoinemuronayorohaboroashorobihororishirifujiutashinaihokutotakasuebetsuurausuassabukikonaishimamakinaiedatetoyabieinikiesanuryuoumuteshikagarikubetsuashibetsukimobetsuaibetsutobetsusobetsuembetsushimizuchippubetsurishirihokuryuhoronobeshintokutsubetsushibetsuhonbetsumombetsutsukigatakuriyamakoshimizushiriuchikutchanmurorannoboribetsukamishihorowassamushinshinotsukembuchiwakkanaikamoenaikiyosatotakinoueshikabesunagawafukagawanakagawatakikawakamikawahigashikagurahamatonbetsumatsumaemoseushirankoshishakotanimakanemashikeotofuketomakomaisandatambaitamiawajikasaiasagoshisoonoakoyashirotoyookaminamiawajiinagawafukusakitakasagokamigorikasugaharimayokawaashiyahimejiakashitaishiaogakisannantakinosumototakarazukanishinomiyashingugoshikinishiwakiyokatakaaioimikisayoyabukawanishiamagasakisasayamashinonsenkakogawaichikawakamikawatatsunotsukubaiwamaogawaasahisakaitokaioaraiitakobandodaigosuifuinaamikasumigaurakashimaomitamayachiyoshimodatetomobetoridehitachinakainashikisakuragawakasamayawaramoriyahitachiomiyanamegatayamagatahitachikamisuushikutakahagiibarakitonekoganakasowayukimihojosomitoryugasakishimotsumafujishirotsuchiurachikuseihitachiotashirosatotamatsukuriuchiharashikahakuinanaotsubatawajimakahokukawakitatsurugikaganominotosuzuuchinadakomatsuanamizunakanotohakusannonoichikanazawaiwateshiwafudaikawaimoriokaofunatohanamakikuzumakikitakamininohekunoheyamadayahabasumitaichinosekitanohatahiraizumirikuzentakatajobojiotsuchihironomiyakoiwaizumikarumaiichinohenodakujitonooshushizukuishifujisawamizusawakamaishikanegasakimannoutazukotohiraayagawazentsujihigashikagawauchinomikanonjisanukimarugamemitoyotakamatsutadotsunaoshimatonoshoakuneamamiizumihiokiyusuikinkoisasookouyamanakatanekagoshimakanoyaisenkawanabeminamitanemakurazakitarumizunishinoomotematsumotosatsumasendaioimatsudaayaseebinamiurazushinakaiodawaraiseharasagamiharahakoneaikawakaiseiatsugitsukuihadanoyamatoyamakitazamaoisochigasakininomiyayokosukakamakuraminamiashigarafujisawasamukawakiyokawahiratsukayugawaraokawaumajikochitsunootoyoakiinonishitosayasudahidakamiharasakawaniyodogawahigashitsunokagamigeiseisusakiotsukinaharisukumomurototosakamiochitoyotosashimizumotoyamanankokunakamurakitagawayusuharaogunichoyoukiasoutoozugyokutoamakusamifunetakamoriyamagaminamataminamiogunikikuchisumotoyamatonagasumashikiaraokumamotokamiamakusanishiharayatsushiroayabeseikasakyoideineujinakagyokameokakyotangokyotanabekyotambaminamiyamashiroyamashinatanabeyawatawazukaminaminantanmiyazuhigashiyamafukuchiyamakitamukokamojoyokizumaizuruujitawaraoyamazakinagaokakyokumiyamakawagoeinabeshimameiwaasahitaikiudonoisetsukisosakikuwanamihamamiyamasuzukatamakimisuginabarikumanokomonominamiisewataraitobakiwatakikihotadomatsusakayokkaichikameyamaureshinoishinomakishichikashukuohirataiwaosakizaohigashimatsushimashikamaiwanumashibataogawaraonagawakawasakiseminemarumoriminamisanrikukakudamuratawakuyatomiyanatoriwataritagajomisatotomekamirifushiroishimatsushimayamamotoshiogamafurukawahyugaebinotsunosaitoayakushimanobeokakitauramiyazakitakazakigokaseshiibamimatashintomikunitomikitakatakobayashikawaminamitakaharukijotakanabemiyakonojonishimeranichinankitagawakadogawamorotsukakisofukushimaminamimakisakaeobuseikedaogawamiasaokayaasahiotakiotarichinoinaomichikumakomaganechikuhokukaruizawayasuokaooshikaikusakaminamiaikitogakushimatsukawakawakamitateshinatakamorikitaaikishiojirimiyadahakubaiizunaiijimaiiyamamiyotasuzakayasakatoguraookuwanagawaminowahirayayamagataminamiminowafujimiomachisakakitakaginaganonakanosakuhokomoronagisoshinanomachiwadauedaiidaharasuwatomiachiaokianankisosakunozawaonsenagematsutakayamashimosuwamatsumotoyamanouchinakagawamochizukiazuminotatsunoobamaomuraseihiunzenosetofutsuikichijiwanagasakiisahayahasamisaikaikawatanasasebohiradokuchinotsugototogitsutsushimashimabarashinkamigotomatsuurayamazoekashibaikomakawaitenrioyodosangokoryoudaojiikarugayamatokoriyamatenkawakatsuragikurotakikawakamimiyakemitsuetakatorikamikitayamayamatotakadahegurishinjokanmakisakuraitawaramotogoseoudanarasoniandokawanishishimoichihigashiyoshinokashiharashimokitayamanosegawayoshinomintsivorytopazsakuragehirnsumomoaseinetopalmail-boxmokurenyoitamuikaojiyagosensanjoaganomyokoseiroagaomishibataniigatanagaokamurakamiuonumayuzawakariwatagamitainaitsunanminamiuonumatochioyahikojoetsuseiroukamosadoizumozakitokamachiitoigawasekikawakashiwazakitsubamemitsukekokonoesaikiusukibeppuusahimeshimakunisakihasamataketatsukumihitaoitahijikusuyufukujukamitsuebungoonobungotakadaibaraniimibizentsuyamaokayamakasaokahayashimayakagemaniwaakaiwamisakishinjotamanotakahashikibichuowakesojanagishookumenannishiawakurakurashikiasakuchisetouchikagaminosatoshotomigusukunakagusukuyaeseizenaurumaiheyaaguniogiminanjokinminamidaitokitanakagusukuyonaguniokinawaishigakikunigamiurasoekadenataramahiraraginozataketomishimojizamamitonakiitomanhigashimotobuyonabarugushikamionnanahanagohaebarukumejimakitadaitonakijinnishiharayomitanginowantokashikiishikawaikedasuitaminohizuminishisakaikananabenodaitoosakasayamayaokishiwadatadaokakaizukatondabayashichihayaakasakakumatorikadomasayamahigashiosakashijonawatehirakatataishimisakitajirihannansennankatanotoyonominatosettsuhigashiyodogawaibarakinosekitachuohigashisumiyoshifujiiderakashiwaraizumiotsutoyonakamatsubaramoriguchiizumisanoshimamototakatsukineyagawahabikinotakaishikawachinaganoyoshinogarikamiminearitaouchiimarihizenogikashimaariakekiyamafukudomikitagatakitahataomachigenkaikanzakinishiaritakyuragisagataratosutakushiroishikaratsuhamatamakouhokukawagoeyoshidasatteogoseirumaasakaurawaogawaniizaomiyayoriiotakishikihonjooganohannohanyuinasaitamaokegawaarakawayoshikawayokozehasudasayamahidakafukayachichibuiwatsukiryokamiyoshimikamiizumifujimiwarabiranzanmiyoshiminanoyashiosakadosugitomisatohigashichichibutodasokakukiyonokazoshiraokakasukabekounosukawajimatsurugashimamiyashirokitamotohatoyamamoroyamahatogayakumagayakawaguchinagatorokamisatomatsubushinamegawatokigawakamikawafujiminohigashimatsuyamakoshigayatokorozawas3isk01isk02ryuohkoseikonanaishorittotakashimamaibarahikonetorahimenishiazaikokagamokotoyasuotsukusatsunagahamamoriyamatoyosatotakatsukinotogawaomihachimanhigashiomiakagiunnanizumogotsuamayatsukakakinokimatsuehamadamasudahikawahikimiokuizumoyasugiyakumomisatotamayuohdahigashiizumookinoshimanishinoshimatsuwanoshimaneshimadafujiedayoshidashimodagotembaiwataatamikosaiyaizuitoizumishimahaibaramakinoharaomaezakikawanehonkannamisusonohigashiizufukuroinumazukawazufujiaraishizuokahamamatsushimizuizunokunimatsuzakimorimachiminamiizunishiizukikugawakakegawafujikawafujinomiyaujiietsugaoyamayaitaohiranikkoashikagakuroisokanumasakurashioyakarasuyamamotegiichikaikaminokawatochigihagamokanogisanobatonasumibunasushiobaranishikatautsunomiyaiwafunemashikoshimotsukeohtawaratakanezawaitanokomatsushimatokushimaichibaminamiaizumiwajikikainanmiyoshinarutomimamugiananmatsushigesanagochishishikuinakagawamachidachiyodakomaefussainagitaitochofufuchuomeotahigashiyamatotoshimaokutamaaogashimakodairaedogawaarakawahachiojishinagawatachikawashibuyasuginamihinodekiyosesumidaoshimanerimamitakahamuraadachinakanomizuhobunkyomegurominatokoganeihigashikurumekokubunjihigashimurayamamusashimurayamatamakitahinochuokotokatsushikakouzushimaogasawaraakishimakunitachishinjukusetagayamusashinohachijoitabashiakirunohinoharachizunanbukotouramisasawakasayonagokogehinoyazutottorinichinansakaiminatokawaharaoyabetairainamiasahinantoimizufuchutakaokakurobeyamadajohanatoyamatonaminyuzenfunahashinakaniikawanamerikawaunazukitogahimiuozufukumitsutateyamakamiichiiwadearidayuasainamitaijikatsuragiaridagawatanabemihamahidakakainankiminomisatoshingushirahamakamitondayurakozakoyagobokitayamawakayamakudoyamahashimotokushimotokozagawahirogawakinokawanachikatsuurarsuseroeoishidasagaeoguniasahinagaitendonanyoobanazawanishikawasakataohkuratozawamikawamamurogawayamagatafunagatatakahatashonaishinjokahokuiideyuzakawanishitsuruokakaminoyamayamanobeshiratakamurayamanakayamakaneyamahigashineyonezawasakegawamitouubeyuuabushimonosekitabuseoshimatoyotaiwakunihikarishunannagatohagihofukudamatsutokuyamashowadoshitsurunanbukoshukaiminami-alpsnirasakikosugeotsukioshinohokutominobuyamanashifuefukichuokofuichikawamisatoyamanakakonakamichitabayamanishikatsuranarusawafujikawahayakawafujiyoshidafujikawaguchikouenohara長野京都岐阜大阪三重群馬千葉滋賀佐賀奈良adednelgaccogogror秋田愛知高知埼玉沖縄栃木熊本岩手青森山梨新潟島根鳥取長崎香川宮城石川大分宮崎茨城山口兵庫山形徳島広島福島福岡岡山富山静岡愛媛福井東京xn--4it168dhatenadiaryxn--vgu402ckawaiishophatenablogcocottenamaste北海道penneehimeiwateversestabachibashigagonnagunmapermahaccaakitaosakauh-ohblushkochiaichifukuikuroncapooitigohyogotokyokyotopunyuthickcheap0t00g00j0mie2-ddaapyawjg0amfemsubxiiboomoobutchueekpgwrgrherskrboyrdyupperunderflierchipsmydnsheavyangryhippygirlyrulez神奈川鹿児島和歌山bambinaxn--nit225kokayamasaitamaxn--k7yn95exn--1lqs03nsapporoparasitelolipopmcxn--efvn9sniigatafukuokatokushimafukushimahiroshimakagoshimafakefurokinawaxn--8pvr4ucoolblogxn--0trq7p7nnkawasakinagasakimiyazakichilloutxn--8ltr62kxn--klty5xpeeweezombiecutegirlxn--rny31hxn--uuwu58axn--ntso0iqx3axn--djrs72d6uytoyamanikitanyantakagawamimozanagoyaboyfriendxn--2m4a15egreaterchowderegoismyamagatafashionstorexn--elqq16hxn--pssu33lsendaimiyagixn--rht27zpecoriaomorisaloonwatsonvivianxn--djty4knobushipigboatnaganopinokoxn--f6qx53asadistvelvetsecretxn--5js045dchicappayamanashiibarakidigickgirlfriendxn--1lqs71dmongolianxn--c3s14mxn--qqqt11mtochigixn--5rtq34kparallelo0o0mondkobesagabonadecaoitanarafoolkilldecimainhiholomosblokilociaoundopupugifutankcrapflopnooroopsmodsholyjeezstripperpepperbittershizuokaxn--rht3dkitakyushureadymadeicurusversusmatrixxn--rht61ehungryfloppygloomycrankyhandcraftedlittlestarxn--klt787dxn--kltx9awhitesnowsunnydaytottorilovepoptheshopbuyshopxn--5rtp49cxn--d5qv7z876cwebaccelxn--kbrq7oxn--4pvxsxn--1ctwolovesickkumamotocatfoodxn--tor131oyokohamawakayamatonkotsuxn--ehqz56nxn--uist22hxn--6btw5axn--kltp7dyamaguchifrenchkisspussycatxn--4it797kxn--uisz3gbabybluexn--zbx025dnetgamersxn--7t0a264ckanagawaxn--6orx2rishikawaxn--ntsq17ghalfmoonschoolbusjellybeanxn--mkru45iusercontentlolitapunkxn--32vp30hsakurastoragehokkaidoshimanecandypopbabymilksupersaleweblikeraindropbackdropwebsozaikikirarahateblodaynightmeneacsccogoormobiinfoaeusxxorgmilcomnetedugovorgcomnetedugovbizinfotmprdorgmilcomnomedugovassnotairespresseassocoopgouvveterinairemedecinpharmaciensorgnetedugovtraorgcomedurepgovmeneperekgacscaiiocogoitoresmshsseoulbusanulsandaeguc01milvkimmvchungnamjeonnamjeonbukeliv-dnsgyeonggijejueliv-cdnincheondaejeongangwongyeongbukgwangjuchungbukgyeongnameliv-apicoeduindorgcomembnetedugovorgmilcomnetedugovjcloudorgcomnetintedugovperbnrinfocooyorgcomnetedugovipfscanvamypepw3sstorachakeeneticjoinmcinbrowserdwebcyonnftstoragemyfritzaemewphlxachotelltdorgcomwebsocschngonetintedugrpgovassnomgacsccoorgnetedugovbizinfo123websiteidorgmilcomasnnetedugovconfidmedorgcomplcschnetedugovaccoorgnetgovpresstmassoirseproxaccosoundcasthoptocraftvp4c66orgnetedugovitsmcdirmyboxbarsyedgestacksynologylogintonohostwebhopdiskstationi234tcp4hoocgroknoipprivmydsddnsdnsforlohmustransipdscloudfilegear-sgbrasiliafilegearframerbarsybarsyonlinecoprdorgmilcomnomedugovinforgcomnetedugovnameacprorgcomartnetedugovpresseinfoassoinstgouvorgnycedugovbarsydscloudjuorgcomnetedugovminisiteaccoororgcomnetgovorgmilcompronetintedugovbizmuseumnameinfoaerocoopaccoorgcomnetintedugovbizcooporgcomgobneteduorgmilcomnetedugovbiznameaccoorgmilneteduadvgovcoorgcomnetaltgovforgotherhiskeeneticispmanagernomassoprod5476132eastasiacentraluswesteuropewestus2eastus2rucdnwest1-usfra1-desandboxjls-sto1jls-sto3jls-sto2aglobalabglobalsslmapprodfreetlsmaplon-1lon-2ny-1fr-1sg-1ny-2paassnwebpaashostingjelasticnordeste-idcsocuserpagescwebfileblobservicebuscoreatlricnjsjelasticwebsitestoragesezagbinruhuukjptsmyspreadshopmynetnameakamaiorigin-stagingfrom-coipv64dynv6cdn77serveblogadobeaemcloudhicamsprytdnsupno-ipownipde5ovhicpfirewall-gatewaysytesmypsxbarsyusgovcloudapimyamazemyradwebakamaihdsaveincloudfastlylbfrom-lasubsc-paysquare7in-the-bandblackbaudcdnhomelinuxoninfernoctfcloudservebbsdns-dynamiccloudfrontakamai-stagingipifonyham-radio-opsenseeringclickrisingcommunity-profrom-nylocalcertgrafana-devedgesuite-stagingcloudflareanycasteating-organicatlassian-devmydattofeste-iplocaltotorprojectknx-serveredgekeycloudflareglobalcloudyclustercasacamserveftpakamaized-stagingakamaiorigindns-cloudmyeffectboomlabotdashbuyshousestwmailhetemlazure-mobilein-dslthruhereredirectmedynuddnsbouncemesupabaseluyanicloudappakamaicloudfunctionsdebiannhlfanpgafanstatic-accessin-vpnmysynologymafeloappudohomeftptrafficmanagersiteleafseidatmemsetcloudflarecloudaccesskeyword-onazure-apiis-a-chefdoes-itgets-itwebhopselfiphomeipkicks-assedgesuitewindowsserver-ontunnelmolemydissentscrapper-sitecloudflarecnuni5srcfggffiobbzabcdenodynuopikddnsvpndnsakadnselastxkinghostvps-hostfastlyhomeunixazureedgeshopselectdontexistmyfritzcloudjiffyalwaysdatasells-itsquaresbroke-itazurefddattolocalat-band-campmeinforumfamilydsazurestaticappsdefinimabplaceddnsaliasdynaliasnow-dnsblogdnsroutingthecloudendofinternetdsmynasakamaiedgemymediapcadobeio-staticakamaiedge-stagingakamaihd-stagingddns-ipprivatizehealthinsurancelive-onkrellianschokokeksmassivegridmysecuritycamerarackmazeserveminecraftfrom-azis-a-geekakamaizedmoonscalecryptonomicoffice-on-theusgovtrafficmanageradobeioruntimeedgekey-stagingreserve-onlinechannelsdvrdnsdojousgovcloudappcdn77-sslapps-1and1podzoneazurewebsitesdynathomescaleforceyandexcloudvusercontentisa-geekcdn-edgescoaemalcesappwriteazimuthtlonarvonoticeablestorecomwebrecnetperotherfirminfoartslgdloncogoiltdorgmilcolcomplcschgenngonetedugovbiznamefirmmobiacincoorgmilcomnomwebgobnetintedubizinfocomyspreadshopdemongovtransurl123websitehosting-clusterkhplaycistrongsnesosvalervålerxn--vler-qoaossandeheroysandeherøybøboheroyherøyxn--hery-iraxn--b-5gavalerbøboxn--b-5gasandesandexn--hery-iraxn--vler-qoavålerhåreålaahavaofsfvfhlolnlalrlhmfmtmahcostntbuåstrmreigersundmyspreadshopgálsáeidsvolltingvollgildeskalflorøvadsøvardøvanylvenxn--bhccavuotna-k7astrandaxn--kvnangen-k0axn--sknland-fxaxn--mosjen-eyarakkestadhyllestadnannestadvevelstadvaapstenordre-landsondre-landsøndre-landtjieltexn--vrggt-xqadsør-aurdalsor-aurdalheradstordmoldefordeførdeseljefedjeryggehemnexn--krehamn-dxasognegranesøgnebrynetjomevallebykletokkegiskedovretjømehobølvoldasaudatolgasømnaviknadønnasomnadonnatranafrananesnaraumasmolatrænafrænalesjasmølaørstaorstahitrafloraaukraloppafrøyarissasnasahalsagalsaromsaraisaráisafroyasnåsagronghobolfjelltydalårdalardalaskimharamkraanghkekråanghkesorumbarumhurumbærumsørummodumsálátbálátfrognbjugnvåganvagangulenskienløtenlotenstrynvefsnxn--merker-kuaskaunsveiobømlobomloskjåkvardoflorovadsosalatbalatsálatklæbuklabuselbubarduulvikskjakklepprisørxn--nttery-byaeflåeidflahofmilgolholsellomskifetvikdepvgsfhsaskerrisorhamarasnesåsnesrørosrorosxn--slat-5namasoynaroyvaroyluroydyroyaskoyradoyandoyrodoymeloyradøyandøyrødøymeløyaskøylurøydyrøymåsøyværøynærøyhoylandethøylandetdivtasvuodnalørenskoglorenskognesoddtangenxn--tjme-hraxn--smla-hraxn--stjrdal-s1aunjargalillehammerunjárgaxn--hamary-fyadavvenjargaxn--bearalvhki-y4a123hjemmesidegjerdrumxn--brnnysund-m8acxn--tnsberg-q1axn--mlatvuopmi-s4axn--snsa-roaxn--skierv-utaxn--brum-voatysfjordkvafjordeidfjordkvæfjordsongdalenmjondalenmjøndalenxn--gls-elackragerogáŋgaviikagangaviikasørreisasorreisasør-varangersor-varangerxn--risr-iraskiervaxn--frna-woaxn--trna-woakvinesdalleksvikleirvikrøyrvikroyrviksvelvikvenneslaevje-og-hornnessandnessjøenmarnardalvindafjordsandefjordenebakksnillfjordullensvangxn--trany-yuabrønnøysundnamsskoganaustevollxn--stjrdalshalsen-sqbnord-aurdalnord-frontrøgstadtrogstadgrimstadflakstadgjerstadxn--sandy-yuaxn--leagaviika-52bnore-og-uvdalvegarsheixn--rlingen-mxaxn--ggaviika-8ya47hvegårsheikarlsoykvitsoymasfjordenhamaroyinderoyosteroydavvenjárgasauheradguovdageaidnuxn--vre-eiker-k8abronnoysiellakkrødsheradkrodsheradkvinnheradbrønnøyxn--mtta-vrjjat-k7afxn--lrenskog-54akvitsøyvárggátkarlsøyosterøyinderøyhamarøybronnoysundxn--aurskog-hland-jnbbahccavuotnabáhccavuotnagiehtavuoatnastor-elvdalmidtre-gauldalxn--gildeskl-g0akarasjokevenassixn--bievt-0qaxn--yer-znalebesbynessebyxn--hbmer-xqamalselvmålselvxn--unjrga-rtamøre-og-romsdalmore-og-romsdalhareidmelandørlandorlandstrandålgårdsolundalgardafjordåfjorddielddanuorrikautokeinoxn--stre-toten-zcbskodjeaejriestangeliernebamblestokkefauskesnåasesnaasekongsvingerlangevagberlevagxn--flor-jrahattfjelldalostre-totenøstre-totenvestfoldxn--mely-iraálaheadjualaheadjunordreisaxn--troms-zuaxn--lgrd-poacporsangerflatangerstavangerleikangerbremangersamnangergieldakarasjohkaxn--rdy-0nabfrostautsirasnoasatromsaxn--sr-aurdal-l8aflekkefjordjølsterjolsteraremarkhedmarknååmesjevuemienaamesjevuemiexn--vard-jrarollagmeråkermerakerorskogørskogxn--bdddj-mrabdákŋoluoktaxn--osyro-wuaaknoluoktatrysilskjervøymandaljondalbindalrindalmeldalsuldalorkdalsigdalalvdallærdalhurdalsirdalverdallerdallardaloppdalåseralaseralhadselkragerødivttasvuotnaoverhallasteinkjerxn--hnefoss-q1askedsmokorsettromsøxn--dyry-iravestre-totenmuseumxn--sandnessjen-ogbrahkkeravjufylkesbiblbájddarbajddarxn--laheadju-7yarennesøyxn--koluokta-7ya57hxn--hgebostad-g3aleirfjordstorfjordbalsfjordbåtsfjordbatsfjordmuosátbievátloabátkárášjohkanøtterøyxn--mjndalen-64anordkappláhppilahppialstahaugsiljanverranrøykenroykenhaldenlyngenbergenhortenhønefosshonefosstroandinbeiarnvarggatosoyroosøyrotromsoidrettmuosatbievatruovatloabatvoagattynsetnessetxn--indery-fyaskánitskanitraholtråholtxn--ystre-slidre-ujbandebusarpsborgbearduxn--karlsy-fyahordalandjorpelandjørpelanddeatnuringsakersør-odalsor-odalxn--slt-elabringerikeaudnedalnittedalnissedalhemsedalslattumsurnadalxn--blt-elabelverumstjørdalnaustdalhjartdalgjøvikfyresdalhasviknarviklarvikgjovikmalvikgamviklenvikporsgrunnstjordalengerdaldrobakdrøbakxn--msy-ula0hvestvagoyxn--vgan-qoaxn--ryken-vuaxn--lten-graxn--stfold-9xaxn--hpmir-xqaxn--lury-iramálatvuopmimalatvuopmitysværkirkenesbirkenesmoskenesbáidárxn--fjord-lraxn--rdal-poabahcavuotnabáhcavuotnaxn--frde-gralindåsbearalvahkixn--hobl-iraráhkkerávjuxn--loabt-0qavågåáltábodøsundlundraderådeetnetimeholeauregrueoddavagavegaranatanaarnasolasulaaltalekafusavangbergkvamåmliamlibokntinnroangranosenoslobodorøstroststatåmotamotivguprivøyeroyerliermossvossxn--nvuotna-hwalusterlunnermarkerhábmerhabmerhvalerfjalerxn--rholt-mratysvarbaidarfitjargaularhápmirhapmirmelhusfosnesøksnesoksnestysneshemnesevenesflesbergeidsbergtonsbergtønsberglindasxn--sndre-land-0cbnamsosxn--srum-graøystre-slidreoystre-slidrevestre-slidretrondheimbalestrandxn--langevg-jxaaustrheimxn--skjk-soavagsoyaveroysandoykarmoyfinnoytranoyvestbytranbysykkylvenxn--hyanger-q1aspjelkavikandasuoloxn--fl-ziaxn--drbak-wuastathellexn--sr-varanger-ggbtelemarkxn--bhcavuotna-s4axn--porsgu-sta26fčáhcesuolocahcesuoloakrehamnåkrehamnsandøykarmøyfinnøytranøyvågsøyaverøynamdalseidxn--lesund-huabadaddjaxn--vegrshei-c0axn--btsfjord-9zagildeskålporsanguxn--trgstad-r1anávuotnanavuotnahammerfestxn--sgne-graxn--brnny-wuacibestadharstadnarviikaevenáššivestnesgjemnessandnesagdenesrennesoyxn--avery-yuaxn--tysvr-vrabearalváhkikongsbergspydebergrandabergxn--andy-iradavvesiidaxn--krdsherad-m8aporsáŋgufredrikstadbjerkreimringeburennebuaurskog-holandnotteroyxn--vgsy-qoa0jxn--rmskog-byaskierváivelandbyglandfrolandaurlandforsandxn--bjddar-ptamidsundålesundalesundfetsundfarsundovre-eikerøvre-eikerakershusxn--moreke-juasørfoldøstfoldostfoldsorfoldhøyangerhoyangerlevangerorkangertanangerxn--vestvgy-ixa6olillesandulsteinxn--rennesy-v1agranvinskjervoyxn--klbu-woalavagisxn--h-2faxn--ryrvik-byakafjordkåfjordseljordfolkebiblxn--gjvik-wuajevnakerxn--kfjord-iuabudejjuxn--kranghke-b0axn--davvenjrga-y4axn--rland-uuaxn--ldingen-q1axn--mlselv-iuaxn--rady-iraxn--linds-prabrumunddalxn--ygarden-p1amo-i-ranaeidskogrømskogromskoghjelmelandxn--finny-yuaxn--sr-odal-q1axn--skjervy-v1aballangenkvanangenkvænangengratangenxn--hmmrfeasta-s4acvossevangensuohkanxn--rde-ulaxn--mli-tlaxn--ksnes-uuanordlandskanlandskånlandsortlandfuoiskuxn--rros-graxn--hcesuolo-7ya35bxn--eveni-0qa01gagaivuotnagáivuotnaxn--seral-lradrammenmodalenmosjoenjan-mayentorskensteigengloppenxn--snes-poamatta-varjjatxn--sr-fron-q1aomasvuotnajessheimbådåddjåxn--krager-gyaxn--kvfjord-nxaxn--asky-iraxn--snase-nraxn--bidr-5nacholtålenxn--vads-jraxn--jlster-byamosjøenxn--rst-0nastavernxn--ostery-fyaxn--oppegrd-ixaxn--sknit-yqaxn--risa-5naoppegårdskiptvetrendalenholtalenxn--mot-tlaxn--lhppi-xqaxn--holtlen-hxaxn--srreisa-q1akopervikxn--muost-0qaxn--bmlo-grahokksundkvalsundegersundxn--karmy-yuaullensakerxn--hylandet-54axn--kvitsy-fyaxn--bod-2nalangevågberlevågkristiansandxn--rsta-frahornindalstjørdalshalsenstjordalshalsensandnessjoenhámmárfeastaxn--lrdal-srasør-fronsor-fronnord-odalkristiansundmátta-várjjatvestvågøynesoddennotoddenbuskerudøygardenoygardensalangenlavangenralingenrælingenlodingenlødingenleaŋgaviikalaakesvuemieleangaviikauenorgexn--srfold-byaaskvollxn--rskog-uuaxn--nry-yla5gxn--vry-yla5ghammarfeastaxn--rhkkervju-01afxn--givuotna-8yakommunekrokstadelvanedre-eikerhagebostadhægebostadxn--berlevg-jxakviteseidxn--s-1faxn--l-1faxn--nmesjevuemie-tcbafuosskomoårekemoarekexn--lt-liacxn--jrpeland-54asvalbardoppegardholmestrandtvedestrandsogndalsokndalarendalsunndalfolldalxn--krjohka-hwab49jlyngdaletnedalnorddalsaltdalgausdalskedsmovaksdalgjesdalstordalxn--frya-hraaarbortedrangedalxn--smna-graaurskog-hølandxn--vg-yiabtjeldsundhaugesundlindesnesxn--mre-og-romsdal-qqbxn--dnna-gradynmerseineshacknetenterprisecloudmineaccomaorimāoriorgmilcriiwigennetschoolhealthkiwigovtgeekxn--mori-qsacloudnsparliamentcomedorgcompronetedugovmuseumwebsitekinservicebarsywebsitebuildereerobookheimdnsleapcelleero-stagetechcrscsslorigingohomecdbedeeeiemesecabgngilnlalplchfisiincnnoroptatitmtltruauhulumkdkukskjplvtrgrfrkrhrusesismycynzcznetinteduassoososcloudstgbetaaezaeuhkusjshatenadiarycdn77hoptozaptois-a-knightmyftpno-ipjpnddnssdpdnsspdnsbarsysweetpepperis-a-bruinsfanis-very-sweetservegameis-a-soxfanhomelinuxcdn77-secureservebbsmisconfusedwebredirectblogsitefreedesktopcouchpotatofriestoolforgeaccesscamis-lostreadmyblogsmall-webfedorapeopleserveftpis-a-celticsfanmywirepotagertwmailin-dslsellsyourhomeread-booksfreeddnscable-modemis-savednflfanufcfanmlbfanstuff-4-saleendoftheinternetin-vpnmy-firewallhomeftpis-localis-a-chefboldlygoingnowherewebhopselfipkicks-assroxatunkcamdvrfedoraprojectgotdnsdvrdnsdyndnspubtlspimientahomeunixdontexistfedorainfracloudwmflabsfspagesbmoattachmentsteckidsfamilydsdnsaliasdynaliasnow-dnscloudnsdoomdnsduckdnsblogdnshomednsroutingthecloudendofinternetdsmynasip-dynamicpoivronhttpbinmyfirewallis-very-evilmysecuritycamerais-a-linux-userwmcloudis-a-geektuxfamilyis-a-candidatedoesntexistis-very-badhobby-sitegame-hostaltervistais-foundis-a-patsfandnsdojohepforgepodzonedynservcollegefanis-very-goodfrom-meis-very-niceisa-geeknerdpolacmedsldingorgcomnomgobabonetedupleskaemhlxmyboxrockyprvcydeuxfleurspdnscodebergheyflowstatichostorgmilcomnomgobneteduorgcomeduiorgmilcomngonetedugovcloudns1337ngrokacorggogfamcomwebgobnetedugokgopgkpgovgosbizpasaugumicsopozpapuwmwsrprusiskwpspkppspkmpspokeoiawsawifoumsdnskokwpmuppuppsppiwwiwoowuzswkzoschrzpisdnwzmiuwwitdpssewsseumigugimoirmpinbwinbwiihupporzgwgriwupowwskrwioswuozstarostwokonsulattmpccopruszkowmyspreadshopostrodakartuzyopolegminamediaustkazgorajgoraolawailawalomzawloclradombytomjaworznotargilubinkoninzagantorunkutnokepnonakloczestsopotsanokturekplockslasksklepzarowlukowmedaidgdaorgmilrelcomnomatmgsmartneteduelkgovwawsossexbiztgorysejnytychypomorzeboleslawiechomesklepsdscloudunicloudzakopanelegnicarawa-mazbydgoszczswidnikkrasnikwloclawekbielawamragowograjeworealestatebeskidykaszubymalopolskaprzeworskswiebodzinlecznadfirmaszkolawarmiagdyniamiastakazimierz-dolnymalborkswidnicadlugolekaostrolekapodlasieelblagtravelsimplesitezachpomormielecszczecinnieruchomosciwalbrzychlezajsklublinbedzinpoznanwielunmielnooleckostarachowicedkontopowiatwroclawrybniksuwalkileborkslupskgdanskostrowwlkptarnobrzegtourismwegrowkrakowglogowyou2pilanysamailwrocinfoagroautobeepshopprivlapypiszlodzcfolksecommerce-shopmazurypulawyskoczowrzeszowpomorskiezgierzkaliszolkuszlowiczostrowiecsosnowiecmazowszewodzislawbialowiezazgorzeleckatowicepabianicejelenia-gorawolominkarpaczsieradznowarudaczeladzkonskowolaskierniewiceswinoujscieturystykabieszczadycieszynketrzynolsztynbialystokbabia-goraprochowicewarszawastalowa-wolapolkowicegorlicegliwiceponiatowalimanowalubartowaugustowkobierzyceopocznognieznoszczytnokolobrzegshoparenapodhalebielskoklodzkostargardatwithplayitownnamecoorgnetedugovacorgcomproestnetedugovbiznameislaprofinforechtngrokmedaaaacacpaenglawjurbarbarsykeeneticavocatacctcloudnsorgcomsecplonetedugov123paginaweborgcomnetintedugovnomepublidkinbarsygovx443cloudnsorgmilcomnetedugovcooporgmilcomschnetedugovnamecomcannetlibassoaemclantmcontstoreorgcomnomrecwwwbarsyfirminfoshopartsstackitmyddnswebspacelima-cityacincooxorgedugovbarsybrendlyhbvpsvpsspectrumlandinghostingacppmordoviamcprecbgorgmilcomspbnetintedumsknovgovbirrasmcdirmytismircloudvladimirnalchikadygeyamarinepyatigorskmyjinobashkiriaeurodirvladikavkazna4ugroznykustanaikalmykiacldmaildagestaniranbuildcanvaliaravalwixdevelopmentappwritemigrationneedleverceldatabasestackitcodereplravendbonporterlovableaccoorgmilnetgovcoopmedorgcompubschnetedugovservicemecomygovorggovtvmedorgcomnetedugovinfoedgfacbmlonihkutwpsryxzbdtmacfhppmyspreadshopbrandpartiorgcomfhvpress123minsidaitcouldbeworlanbibkommunalforbundfhskiopsyskomvuxkomforbnaturbruksgymnloginlineorgcomnetedugovenscaledeuusentbotdaorgmilcomnetgovnowteleporthashbangplatformlovablebarsyshopwarebasehoplixbarsyonlinemsf5gitappgitpagecofigma-govcaffeinefigmacanvasoltstputerbarsysupportchatgptsquareomniweopensocialcpanelnotionnovecorewpsquaredpreviewjelecyonbyensrhtfastvpspieboxconvexjouwwebheyflowplatformshloginlinemadethissourcecraftclouderaorgorgcomartedugouvunivmeorgcomnetedugovsurveysstatichfheiyuxs4allprojectmyfastubervibehostapp-ionosdeployagentmecoorgcomschnetedugovbizcncostoreorgmilcomneteduembaixadaconsuladokiraranohoprincipesaotomeheliohobarsystorebaseshopwaresellfyabkhaziavologdamordoviapenzalenugsochinavoiexnetspbmsknovnorth-kazakhstanashgabadkareliaarmeniageorgiavladimirnalchikivanovobukharaadygeyakhakassiakalugakrasnodarjambylaktyubinsktroitskbryanskobninskkurganazerbaijanpokrovskbashkiriatselinogradvladikavkazmurmansktulatuvamangyshlaktashkentchimkentgroznykaragandatermezarkhangelskkustanaikalmykiabalashoveast-kazakhstankaracoldagestantogliattibarsyredorgcomgobedumirenknightpointaccoorgjelasticdiscoursecleverappsschacmiincogoornetonlineshopcogoorgmilcomwebnicnetintedugovbiznametestcoorgmilcomnomnetedugovorangecloudpersoindorgcomfinnatnetgovensmincomtourismintlinfox0611oyaorgmilcomnetedugovquickconnectvpnplusnettprequalifymeaddrmyaddrntdllwadlnctvavdrk12orgmilpolbeltelcomwebgennetedutskkepgovbbsbiznameinfocoorgmilcompronetedugovbiznameinfobetter-thanworse-thansakurafromdyndnson-the-webmymailerorgmilurlcomneteduidvgovmydnsgameclubebizmeneacsccogotvorhotelmilmobiinfovodteiflgplkmsmsbcckhincndnvncoztltmkckppzpdprvcvkvlvcrkrkscxuzchernovtsyrivneyaltaodesavolynrovnolutskltdinforgcomnetedugovbizvinnicazhitomirternopilpoltavakropyvnytskyizaporizhzhiasevastopolsebastopoluzhgoroduzhhorodkharkovkharkivvinnytsiakhmelnytskyizaporizhzhecrimeaodessazhytomyrnikolaevcherkassydonetskluganskluhanskkirovogradivano-frankivskchernivtsikrymkievkyivlvivsumyzakarpattiamykolaivcherkasychernigovkhersonchernihivdnipropetrovskdnepropetrovskkhmelnitskiyneacsccogoorusorgmilcomedugovvmdhmyspreadshopadimono-ipbarsybytemarkbarsyonlinelayershiftnh-servretrosnubapicampaignservicelugaffinitylotteryweeklylotteryraffleentrygluglugsmeaccoindependent-inquestnimsitecopropymntltdorgplcschnetgovnhsbarsyindependent-commissionindependent-reviewpolicepublic-inquiryindependent-panelconnhospindependent-inquiryroyal-commissionoraclegovcloudappscck12libccphxcclibpvtparochchtrcck12libcceatonk12coglibtecgendstmusann-arborwashtenawcck12glghcck12sealibforksolympiabainbridge-islkeyporthoquiamyarrow-pointcentraliaport-townsendsequimport-ludlowrentonsilverdalebremertonredmondsheltonbellevueport-orchardport-angeleskingstonchehalisaberdeengig-harborseattlepoulsboidmdndsddemenegacalamaiavawapailalflnmdcncscohnhmihiviwiriinmntnmocoutvtctmtgunjokakwvnvprarorasmskstxwynykyazisadninsnngosrvis-bymircloudservernamepointtoenscaledland-4-salefreeddnsstuff-4-saleazure-apinoipcloudnsgolffanheliohostazurewebsitesgvorgmilcomgubneteducoorgcomnetd0egvorgmilcomnetedugovmydnsiacostoree12orgmilcomnomwebgobbibrectecnetintedugovraremprendefirminfoartseducok12orgcomnethidnsidacaiiosonlahanamhanoicamauhueorgcompronetintedugovbizbacninhtayninhhoabinhnamdinhtravinhhaiphongvinhlonghaiduongquangnamquangtrithuathienhuequangninhbacgianghaugiangquangbinhsoctrangbentrethanhphohochiminhdanangkontumhatinhkhanhhoathanhhoahealthgialailaocaiyenbaibackanngheanlonganphuyenphuthocanthodaklakdongnainameinfovinhphucdongthapkiengiangtiengiangquangngailaichaulangsonlamdongdaknonghagiangangiangcaobangbinhduongninhthuanbinhthuanbaclieuthaibinhninhbinhbinhdinhtuyenquanghungyenbaria-vungtauthainguyendienbienbinhphuocschbizputerimagine-proxyorgcomnetedugovcloud66advisormypetsdyndnsxn--8dbq2axn--4dbgdty6cxn--5dbhl8dxn--hebda8bxn--80auxn--d1atxn--c1avgxn--o1acxn--o1achxn--90azhxn--55qx5dxn--uc0atvxn--od0algxn--wcvs22dxn--gmqw5axn--mxtq1mxn--12c1fe0brxn--h3cuzk1dixn--12co0c3b4evaxn--12cfi8ixb8lxn--o3cyx2axn--m3ch0j3axn--j1adpxn--90amcxn--90a1afxn--h1ahnxn--j1ael8bxn--h1alizxn--c1avgxn--j1aefxn--80aaa0cvacxn--41acaffeineexeopentunnelbotdashtelebitorgtmaccoagricorgmilnomwebnicngonetaltedugovlawnisschoolgrondaraccoorgmilcomschnetedugovbizinfoprg1-zeropstritonstackitlimazeropsaccoorgmilgovяспборгкоммскбизмирсамаракрымсочиакодпроргобрупрצהלממשלישובאקדמיהองค์กรธุรกิจรัฐบาลศึกษาทหารเน็ต教育網絡組織公司政府個人닷넷한국澳门新闻澳門联通家電嘉里招聘通販닷컴삼성コムგეбгрфеюadcdbdgdidmdsdtdaebedeeegeiejekemenepereseveyegabacalamanauavapaqasazacfbfafgfnfpfwftfbgcgagggegkgngmgsgpgvgtgugilmlnlalclglplsltlhmimjmkmmmomambmcmdmfmgmzmpmsmtmgbbblbsbecccacnclcmcvctcscmhkhghchbhthphshlinikifigiaibicivisikninhnmncnbngnsnpnvntnjoionomobocoaofodorosotoptstttytatbtetgtithtmtltrusuvuaucueuguhulumunufjdjbjtjsjlkmkhkfkdkcktkukskpkgpmpnpkpjpgqaqmqiqsvtvcvbvmvlvrwpwtwzwbwcwawgwkwmwtrsrprgrfrercrbrarnrmrlrkrirhrwsusrssspsgsesbsaslsmsissxmxaxcxuypysylymykygybycyuztzsznzmzkzdzczbzazελευ世界台灣购物公益点看臺灣网络書籍在线网站手机机构大拿游戏信息台湾谷歌慈善商标香港中国餐厅网址中國商城食品微博政务移动集团公司八卦商店健康网店政府时尚佛山中信娱乐广东企业homedepotengineeringاماراتrepublicankuokgroupversicherungchannelcitadelxn--pgbs0dhxn--b4w605ferdstatebankwebsitexn--mgb9awbf亚马逊淡马锡alibabaxn--ngbc5azdxn--mgbbh1axn--45br5cyltoshibabuildworldcloudtradeguideplacespacedancemoviephoneprimesmilebiblestyleappleazurestoreskypegripexn--l1accdrivelottehorsehouseleasechasereisestadahondaomegaaetnaamicaninjanokiamediadeltavodkaedekaosakapizzaslingemailgmailtirolshelltmallfinallegaltotalhotelamfamforumrehabmusicciticricohcoachwatchboschearthfaithirishmiamiarchidubaiguccipraxiみんなストアセールcanonsalononionnikonepsonkoelngreensevencrownikanoradioaudioweiboglobopromogalloyahoociscorodeovideomangobingotokyovolvolottokyotophotosmartsportquesttrusthyattjetztadultcymrubaidutushuxn--kprw13dubankclickblackmerckgroupsharpcheapnowtvxn--h2brj9cקוםհայоргсрбмонкомбелмкдқазрусукрمصرقطرعربكومdadcfdmedwedredphdthdbidpidkrdmsdltdiceonewmeglemoerwecfageacbanbambaaaammakianraspacpaaxawtfbcgaegongingaigvigorgdogdhlmilrilonlaolloluoljllcalgalnflafltelsrlfrllplkimibmcamcombommomifmabbjcbscbcabnabtabmlbpubabcbbcnecincpncllcstcwtcpwcnyckfhbzhovhmoiskiobisbitcifyituipinvinwinxincbnbcnmanfangdnmenrenkpnmtnyunrunfununobiojioriohbogmofooboooooacoecoceongoproartistottnttbbtcateatlatvetpetbetnethktmitfitintjothotgotdotbotprueduicujnjyouinknhktdkappsapgapmapdnptopgopllpjmpzipvipripesqtrvdtvitvdevmovgovhivnrwlawsewnewbmwwownowhowdvrftrmtrsfrbarcartvscrseusawsupsubssbsadsddsldssasbmsmlsxxxboxfoxgmxtjxsextaxbuyflydiysoyjoyskypaydaygayxyzanzbizwebersenerpokerlameractortatarsolarລາວคอมไทยtourslocusnexuslexusgiftsbeatsboatspartspressglassswissकॉमनेटtiresgivescodeshomesgamestunesshoescardswalesloansvegastoolsdealsautosparisファッションworkssucksrocksxeroxforexfedexpartylillymoneystudyrugbytoraytoday中文网xn--unup4y天主教飞利浦新加坡enterprises我爱你嘉里大酒店christmasxn--fct429kholdingsxn--8y0a063axn--mgbx4cd0ablifestyleabogadoallstatenetbankكاثوليكxn--s9brj9cxn--gk3at1ebestbuycharityxn--55qx5dmicrosoftpropertybasketballhomegoodscorsicajewelrygallerygrocerysurgerycountrybrusselsverisignferreroxn--czr694bhdfcbankcommbanksoftbankپاكستانپاکستانnextdirectالسعوديهالعليانxn--h2brj9c8cxn--80adxhksshikshaxn--mgbai9azgqp6jcuisinellabarclayscatholicxn--kpry57dcompanyxn--xhq521bblackfridayxn--mgba3a3ejtsandvikxn--d1acj3bacademydownloadمليسياxn--j1amhxn--w4r85el8fhu5dnraipirangaathletaxn--fhbeixn--mgbqly7cvafrzuerichxn--c2br7gஇலங்கைcontractorsxn--io0a7igraphicsinsurancetemasekxn--xkc2al3hye2amotorcyclesphotographydirectoryplumbingxn--vhquvclothingtrainingcleaningwilliamhilllightingxn--mgba3a4f16ashoppingcateringeducationokinawapicturesventuresproductionsxn--9et52uwalmartഭാരതംsupportrealestatecapitalonexn--nqv7fs00emaauspostfloristdentistxn--qxamgodaddybradescobargainsmitsubishikerryhotelsxn--9dbq2axn--3pxu8kimmobilienxn--fjq720axn--mgbtx2bholidaymckinseymadridbusinessbuildershelsinkixn--4gbrimмоскваالسعودیةcoffeedegreelacaixapartnersalsaceofficeabbvievoyageorangegeorgeonlinechromemobilekindlegoogleoraclecircleschulesecureinsurexn--mgba7c0bbn0aestatexn--mgbc0a9azcgcruisehangoutxn--vuq861bxn--42c2d9arexrothfirestoneuniversityxn--nnx388alifeinsuranceextraspaceонлайнvermögensberatersoftwarexn--fiqs8sxn--mgbab2bdxn--w4rs40ltiendaभारतम्africatoyotaotsukasakuracameracreditcardnagoyaconsultingnetworkjunipertheatermonsterprogressivepioneerxn--55qw42gracingdatingvotingvikinglivinggivingxn--bck1b9a5dre4cbrotherweatherjoburgفلسطينlplfinancialxn--clchc0ea0b2g2a9gcdfutbolschoolsocialglobaldentalwoodsidechanelairtelmatteltravelrealtorwebcamstreamభారత్unicomalstomxn--nodexn--6frz82gmuseumfurniturexn--rvc1e0am3exn--mix891faccenturexn--11b4c3dismailineustardiscountquebeccomsecclinicservicesxn--y9a3aqxn--c1avgswatchchurchsearchالاردنmarketingcontacthealthmonashshoujisanofitaipeiamericanexpresssuzukiアマゾンクラウドポイントbhartiグーグルxn--mgberp4a5d4armemorialxn--1qqw23alondonmormoninstitutevisionbostonnortoncouponmaisonamazonvirginberlindesigndurbanolayannissananquanxihuanhitachikaufengardenreisenbayerntechnologydatsunxn--90a3aclatinocasinostudiophysioxn--ngbe9e0apharmacytattootaobaoaramcoexpertreportabbottdirectselectimamatfairwindspictettargetmarketintuittravelersinsurancecreditdupontryukyusuppliesxn--tckwebnpparibasschmidtmerckmsdyodobashirestaurantbridgestonecricketxn--fpcrj9c3dbostikbroadwayattorneylefrakemerckxn--fiq228c5hscareersfarmerswinnersflowersxn--wgbh1cguitarsxn--54b7fta0ccxn--p1acfmakeupgalluplandroverxn--kcrx77d1x4agoldpointbauhausxn--mgbayh7gpahiphopplaystationxn--mgba3a4fraxn--eckvdtc9dhyundaixn--gckr3f0fistanbulticketsmarketsflightschintaireviewsxn--3e0b707ewindowsxn--fiqz9sfinancialxn--fzys8d69uvgmابوظبيdiscoverreviewবাংলাxn--5su34j936bgsgmoscowobserverapartmentsдетиارامكوсайтeurovisionxn--i1b6b1a6a2exn--xkc2dl3a5ee0hتونسموقعبارتڀارتشبكةعمانبيتكعراقreadkredbondlandbandfundfoodprodgoldfordtubecafesafelifeggeeieeefreefagepagegugezonewinememenamegamesaleablebikenikelikecarecbreherefiresaveloveliveblueartedatesitevotecaseluxebofamodaltdaasdatiaayogasinavanashiaasiajavabbvatevavivadatazaraarpacasavisasncfprofmaifsurfgolfdvagsongbingpingwangkpmggoogblogpohlfailcooldellcalldeallidlsarlfilmteamroomfarmimdbarabclubhdfcicbchsbcgmbhrichtechfishdishcashminiernikddiaudiwikimobitaxicitikiwidesiqponskinloanakdnwienopenporncerntownimmolimoolloinfonicofidolegosaxozeroaerovivoautovotomotofastbestresthostpostnextlgbtchatseatgiftmeetdietreitmintrentgentspotscotguruitausohumenucyoubanklinkpinkdclktalksilkbookseekworkrsvpaarpjeepshopcoophelpcamppccwshowbeerstarruhrflirweirhaircarsparsjprshausplusnewstipstoysjobskidsfanspicsdocsxboxamexsexynavycitysonyarmyallybabyplaydeliverybuzzgbizlamborghiniphilipsලංකාಭಾರತfitnessexpresslanxesspfizercenterwalterlawyersoccercareerkosherbrokerlockerdealerdoctorauthorxn--mgbqly7c0a67fbcvermögensberatungjaguarxn--pssy2uxn--hxt814eflickrrepairrogersairbusxn--mgbai9a5eva00beventsyachtsxn--t60b56aভাৰতভারতभारतभारोतviajeshermeshughesxn--j1aefसंगठनvillasଭାରତclaimshotelsભારતzapposphotosjuegoscondostatamotorsgratistennisਭਾਰਤtkmaxxtjmaxxschaeffleryandexxn--80aswgrealtysafetybeautyluxuryxn--3ds443gsupplyfamilyxn--o3cw4hhockeysydneyxn--90aenissayalipayenergycomputeragencyxn--rovu88b電訊盈科xn--gecrj9cstatefarmaccountantaquarelleolayangroup香格里拉xn--p1ai组织机构xn--1ck2e1bxn--mgbt3dhdschwarzموريتانياabudhabinowruzkomatsufujitsuhospitalxn--80asehdbxn--mgbtf8flxn--j6w193gxn--yfro4i67oprudentialxn--flw351ecruisescoursesrecipesxn--e1a4cferrarixn--ses554gxn--wgbl6awatchesstaplessinglesxn--mgbcpq6gpa1axn--otu796dpropertiescreditunionxn--mgbah1a3hjkrdstockholmhisamitsuالسعوديةstcgroupdomainsoriginscouponsbloombergclubmedfroganslimitedxn--80aqecdr1aexposedinternationalequipmentbarclaycardxn--q7ce6axn--mgbi4ecexpprotectionassociatesconstructionxn--cck2b3bxn--45q11candroidfoundationישראלxn--mgbca7dzdocliniqueboutiqueengineerxn--qxa6asystemsfirmdalefashionauctionxn--nqv7finfinitirentalsreliancetradingweddingfishinghostinggentingbookingcookingxn--3hcrj9cgraingerxn--czrs0tdemocratsamsungyokohamaxn--h2breg3evexn--nyqy26alundbeckmelbournevacationssolutionsfrontierxn--vermgensberatung-pwbmanagementxn--cg4bkixn--mgb2ddeslincolnhamburgsandvikcoromantblockbusterairforcebarefootxn--4dbrk0ceinvestmentsfeedbackcommunityxn--ngbrxالبحرينdiamondsamsterdamhealthcareredumbrellaxn--mxtq1mxn--2scrj9cagakhanxn--mgbpl2fhкатоликcaravanசிங்கப்பூர்richardlimortgageamericanfamilyxn--fzc2c9e2cscholarshipssaarlandxn--imr513nvlaanderensamsclubgoodyearkitchenஇந்தியாweatherchannelallfinanzxn--kput3iالسعودیۃxn--90aisxn--efvy88hالجزائرxn--mgbaam7a8hexchangejpmorganxn--tiq49xqyjfidelitysecurityxn--mk1bu44cwanggouxn--fiq64bxn--6qq986b3xlxn--mgbbh1a71exn--80ao21amarshallsxn--5tzm5gtravelerspanasoniclatrobeyoutubeaccountantsxn--rhqv96gxn--cckwcxetdanalyticsxn--ygbi2ammxبازاربھارتسوريةorganicfreseniusسورياxn--9krt00axn--qcka1pmcxn--jlq480n2rgdeloittesciencefinancexn--jvr189mxn--30rr7yhomesensehotmailbaseballfootballleclercboehringerxn--q9jyb4cxn--mix082fاليمنهمراهpolitieسودانايرانایرانnetflixyamaxunxn--lgbbat1ad8jcollegestoragecapetowncolognekerrypropertiesxn--mgbgu82axn--ogbpf8flxn--czru2dwhoswhociprianilasallexn--g2xx48cforsalebanamexaudiblexn--vermgensberater-ctbxn--zfr164bericssonvanguardxn--45brj9cindustriestheatremarriottxn--3bst00mcomparexn--mgberp4a5d4a87gcapitaldigitalالمغربbarcelonashangrilaxn--d1alfcalvinkleinwwwcitysapporokawasakinagoyasendaikobekitakyushuyokohamackjp",doe=621,foe=625,qj=Pl.length,Wj=t1.length,Vj=new Uint32Array(Wj),S0=new Uint32Array(Wj),g3=new Int32Array(qj).fill(-1);for(let e=0,t=0;e<qj;e+=1)for(let n=e1[e];n<e1[e+1];n+=1){Vj[n]=t;const r=t+t1[n];let a=5381;for(let s=r-1;s>=t;s-=1)a=a*33^m3.charCodeAt(s);S0[n]=a>>>0,t1[n]===1&&m3.charCodeAt(t)===42&&(g3[e]=n),t=r}let yo=-1,v3=0,y3=0;function H6(e,t,n,r){if(t1[e]!==r)return!1;const a=Vj[e];for(let s=0;s<r;s+=1)if(m3.charCodeAt(a+s)!==t.charCodeAt(n+s))return!1;return!0}function q6(e,t,n,r,a){let s=e1[e],i=e1[e+1];for(;s<i;){const c=s+i>>>1,u=S0[c];if(u<t)s=c+1;else if(u>t)i=c;else{for(let f=c;f>=s&&S0[f]===t;f-=1)if(H6(f,n,r,a))return f;for(let f=c+1;f<i&&S0[f]===t;f+=1)if(H6(f,n,r,a))return f;return-1}}return-1}function W6(e,t,n){let r=t,a=e.length,s=5381;yo=-1;for(let c=e.length-1;c>=0;c-=1){const u=e.charCodeAt(c);if(u===46){const f=c+1;let h=q6(r,s>>>0,e,f,a-f);if(h===-1&&(h=g3[r]),h===-1)return yo!==-1;r=B6[h],(Pl[r]&n)!==0&&(yo=r,v3=f,y3=a),a=c,s=5381}else s=s*33^u}let i=q6(r,s>>>0,e,0,a);return i===-1&&(i=g3[r]),i!==-1&&(r=B6[i],(Pl[r]&n)!==0&&(yo=r,v3=0,y3=a)),yo!==-1}function kNe(e,t,n){if(uoe(e,t,n))return;const r=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0);if(W6(e,foe,r)){n.isIcann=(Pl[yo]&1)!==0,n.isPrivate=(Pl[yo]&2)!==0,n.publicSuffix=e.slice(y3+1);return}if(W6(e,doe,r)){n.isIcann=(Pl[yo]&1)!==0,n.isPrivate=(Pl[yo]&2)!==0,n.publicSuffix=e.slice(v3);return}n.isIcann=!1,n.isPrivate=!1;const a=e.lastIndexOf(".");n.publicSuffix=a===-1?e:e.slice(a+1)}const hoe=()=>x.jsxs("div",{className:"hidden h-full w-[17%] min-w-40 max-w-64 shrink-0 flex-col gap-1 border-r border-line p-3 md:flex",children:[x.jsx("div",{className:"mb-3 h-6 w-24 rounded bg-surface-sunken"}),Array.from({length:6}).map((e,t)=>x.jsxs("div",{className:"flex items-center gap-2 py-1.5",children:[x.jsx("div",{className:"size-5 shrink-0 rounded bg-surface-sunken"}),x.jsx("div",{className:"h-3.5 flex-1 rounded bg-surface-sunken"})]},t))]}),poe=()=>x.jsx("div",{className:"min-w-0 flex-1",children:Array.from({length:8}).map((e,t)=>x.jsxs("div",{className:"flex items-start gap-3 border-b border-line py-2 pl-5 pr-4",children:[x.jsx("div",{className:"mt-0.5 size-7 shrink-0 rounded-full bg-surface-sunken"}),x.jsxs("div",{className:"flex-1 space-y-1.5",children:[x.jsxs("div",{className:"flex justify-between gap-2",children:[x.jsx("div",{className:"h-3.5 w-28 rounded bg-surface-sunken"}),x.jsx("div",{className:"h-3 w-12 rounded bg-surface-sunken"})]}),x.jsx("div",{className:"h-3.5 w-48 rounded bg-surface-sunken"}),x.jsx("div",{className:"h-3 w-full rounded bg-surface-sunken"})]})]},t))}),wv=()=>x.jsxs("div",{className:"flex h-full animate-pulse bg-canvas","aria-hidden":"true",children:[x.jsx(hoe,{}),x.jsx(poe,{})]}),Uk="94b6434f4aef78df034a25d225fdc3dd998bad74",moe="2026-09-03T01:34:39.945Z",goe=Uk.slice(0,7),voe=/^[0-9a-f]{40}$/.test(Uk),yoe=voe?`https://github.com/remit-mail/reader/commit/${Uk}`:void 0,boe="https://github.com/remit-mail/reader/issues/new";class xv extends Error{constructor(t,n,r){super(t),this.status=n,this.body=r,this.name="ApiError"}status;body}const b3=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),Gj=e=>{const t=e instanceof xv?e.body:e;if(!b3(t))return;const{code:n,details:r}=t;if(typeof n=="string")return{code:n,details:b3(r)?r:void 0}},Soe=(e,t)=>{if(b3(e)&&e.message!==void 0&&e.message!==null){const n=String(e.message);if(n)return n}return`Request failed with status ${t}`},woe=(e,t)=>new xv(Soe(e,t),t,e),ns=e=>{if(e instanceof xv)return e.status;if(e&&typeof e=="object"){const t=e;if(typeof t.status=="number")return t.status;if(typeof t.statusCode=="number")return t.statusCode}},Kj=e=>ns(e)!==void 0,Cv=e=>{const t=ns(e);return t!==void 0&&t>=500&&t<=599},Ev=e=>!!(typeof DOMException<"u"&&e instanceof DOMException&&e.name==="AbortError"||e&&typeof e=="object"&&"name"in e&&e.name==="AbortError"),xoe=()=>typeof navigator<"u"&&navigator.onLine===!1,Yj=e=>Ev(e)||Kj(e)?!1:e instanceof Sk?!0:xoe(),Coe=e=>!Kj(e)&&!Ev(e)&&!Yj(e),Zj=e=>Cv(e)||Coe(e),Eoe=e=>ns(e)===401,_oe=(e,t)=>{if(t?.softError===!0)return!0;const n=t?.softErrorStatuses;if(!Array.isArray(n))return!1;const r=ns(e);return r!==void 0&&n.includes(r)},jk=(e,t,n="nobody")=>Cv(e)?!0:Ev(e)||Yj(e)?!1:n==="user"&&Eoe(e)||Zj(e)?!0:!_oe(e,t),koe={softError:!0},Xj=(...e)=>({softErrorStatuses:e}),Aoe=e=>ns(e)===404,Ioe=e=>Cv(e),S3=new Set;let Qj=null,Jj=null;const Roe=e=>{Jj=e},Toe=e=>e instanceof Error?e:new Error(ez(e)),ez=e=>e instanceof Error?e.message||e.name:typeof e=="string"?e:e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"?e.message:"An unexpected server error occurred.",Ooe=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`fatal-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,Wi=(e,t)=>{const n={error:e,message:ez(e),correlationId:Ooe(),at:Date.now(),recoverable:t?.recoverable??Ioe(e),stack:e instanceof Error?e.stack:void 0,componentStack:t?.componentStack};Qj=n,Uoe(`Fatal: ${n.message} [${n.correlationId}]`),Jj?.recordError(Toe(e),{fatal:"true",correlationId:n.correlationId});for(const r of S3)r(n);return n},Noe=e=>(S3.add(e),()=>{S3.delete(e)}),Moe=()=>Qj,Poe=20,w0=[],Doe=new Set(["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications"]);function Loe(e){return typeof e!="string"?!1:Doe.has(e.replace(/\.\s*$/,""))}function x0(e){w0.push(e),w0.length>Poe&&w0.shift()}function Uoe(e){x0(e)}function joe(e){return e.map(t=>{if(typeof t=="string")return t;if(t instanceof Error)return`${t.name}: ${t.message}`;try{return JSON.stringify(t)}catch{return String(t)}}).join(" ")}function zoe(){const e=console.error.bind(console);console.error=(...t)=>{x0(joe(t)),e(...t)},window.addEventListener("error",t=>{Loe(t.message)||(x0(`Uncaught ${t.error instanceof Error?`${t.error.name}: ${t.error.message}`:String(t.message)} (${t.filename}:${t.lineno})`),Wi(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{const n=t.reason,r=n instanceof Error?`${n.name}: ${n.message}`:String(n);x0(`Unhandled rejection: ${r}`),Wi(n)})}function Foe(){return w0.slice()}const $oe=8,Tu=[];function Boe(e){const t=e.split(/[?#]/)[0],n=Tu[Tu.length-1];n&&n.path===t||(Tu.push({path:t,timestamp:new Date().toISOString()}),Tu.length>$oe&&Tu.shift())}function Hoe(){return Tu.slice()}const yw=7500,V6=`
|
|
148
|
+
}`;Dj(ise);var yNe=function(e){var t=e.isPullable,n=t===void 0?!0:t,r=e.canFetchMore,a=r===void 0?!1:r,s=e.onRefresh,i=e.onFetchMore,c=e.refreshingContent,u=c===void 0?F.createElement(sse,null):c,f=e.pullingContent,h=f===void 0?F.createElement(ose,null):f,m=e.children,g=e.pullDownThreshold,y=g===void 0?67:g,S=e.fetchMoreThreshold,w=S===void 0?100:S,C=e.maxPullDownDistance,_=C===void 0?95:C,k=e.resistance,A=k===void 0?1:k,R=e.backgroundColor,N=e.className,O=N===void 0?"":N,T=E.useRef(null),P=E.useRef(null),L=E.useRef(null),H=E.useRef(null),j=!1,U=!1,q=!1,X=0,se=0;E.useEffect(function(){if(!(!n||!P||!P.current)){var V=P.current;return V.addEventListener("touchstart",G,{passive:!0}),V.addEventListener("mousedown",G),V.addEventListener("touchmove",ce,{passive:!1}),V.addEventListener("mousemove",ce),window.addEventListener("scroll",Se),V.addEventListener("touchend",z),V.addEventListener("mouseup",z),document.body.addEventListener("mouseleave",z),function(){V.removeEventListener("touchstart",G),V.removeEventListener("mousedown",G),V.removeEventListener("touchmove",ce),V.removeEventListener("mousemove",ce),window.removeEventListener("scroll",Se),V.removeEventListener("touchend",z),V.removeEventListener("mouseup",z),document.body.removeEventListener("mouseleave",z)}}},[m,n,s,y,_,a,w]),E.useEffect(function(){var V;if(!((V=T)===null||V===void 0)&&V.current){var K=T.current.classList.contains("ptr--fetch-more-treshold-breached");K||a&&B()<w&&i&&(T.current.classList.add("ptr--fetch-more-treshold-breached"),U=!0,i().then(Q).catch(Q))}},[a,m]);var B=function(){if(!P||!P.current)return-1;var V=window.scrollY,K=P.current.scrollHeight;return K-V-window.innerHeight},Q=function(){requestAnimationFrame(function(){P.current&&(P.current.style.overflowX="hidden",P.current.style.overflowY="auto",P.current.style.transform="unset"),L.current&&(L.current.style.opacity="0"),T.current&&(T.current.classList.remove("ptr--pull-down-treshold-breached"),T.current.classList.remove("ptr--dragging"),T.current.classList.remove("ptr--fetch-more-treshold-breached")),j&&(j=!1),U&&(U=!1)})},G=function(V){q=!1,V instanceof MouseEvent&&(X=V.pageY),window.TouchEvent&&V instanceof TouchEvent&&(X=V.touches[0].pageY),se=X,!(V.type==="touchstart"&&Pj(V.target,Vh.UP))&&(P.current.getBoundingClientRect().top<0||(q=!0))},ce=function(V){if(q){if(window.TouchEvent&&V instanceof TouchEvent?se=V.touches[0].pageY:se=V.pageY,T.current.classList.add("ptr--dragging"),se<X){q=!1;return}V.cancelable&&V.preventDefault();var K=Math.min((se-X)/A,_);K>=y&&(q=!0,j=!0,T.current.classList.remove("ptr--dragging"),T.current.classList.add("ptr--pull-down-treshold-breached")),!(K>=_)&&(L.current.style.opacity=(K/65).toString(),P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+K+"px)",L.current.style.visibility="visible")}},Se=function(V){U||a&&B()<w&&i&&(U=!0,T.current.classList.add("ptr--fetch-more-treshold-breached"),i().then(Q).catch(Q))},z=function(){if(q=!1,X=0,se=0,!j){L.current&&(L.current.style.visibility="hidden"),Q();return}P.current&&(P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+y+"px)"),s().then(Q).catch(Q)};return F.createElement("div",{className:"ptr "+O,style:{backgroundColor:R},ref:T},F.createElement("div",{className:"ptr__pull-down",ref:L},F.createElement("div",{className:"ptr__loader ptr__pull-down--loading"},u),F.createElement("div",{className:"ptr__pull-down--pull-more"},h)),F.createElement("div",{className:"ptr__children",ref:P},m,F.createElement("div",{className:"ptr__fetch-more",ref:H},F.createElement("div",{className:"ptr__loader ptr__fetch-more--loading"},u))))};const lse=1024,cse=`(min-width: ${lse}px) and (not ((orientation: portrait) and (pointer: coarse)))`,use=e=>{const[t,n]=E.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches);return E.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e);n(r.matches);const a=s=>n(s.matches);return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[e]),t},dse=e=>e===1?"message":"messages",Q0=e=>`${e.toLocaleString()} ${dse(e)}`,pw=(e,t)=>e.kind==="delete"?`delete ${Q0(e.count)}`:t===void 0?"empty it":`empty ${Q0(t)}`,Lj=e=>e.kind==="delete"?"Nothing has been deleted.":"Nothing has been emptied.",fse=(e,t,n={})=>{const{trashFolderLabel:r,staleFolderLabel:a,selectedCount:s}=n,i=Lj(t);if(e==="none")return{title:"No folder is set as Trash",description:`${i} reader files deleted mail in the folder you set as Trash, and this account has none.`,pickerPrompt:"Which folder does this account use for deleted mail?",confirmLabel:`Set as Trash and ${pw(t,void 0)}`,cancelLabel:"Cancel"};if(e==="stale")return{title:"The Trash folder you chose is gone",description:a?`${i} You set ${a} as this account's Trash and it is no longer on the mail server — another mail app may have renamed or removed it.`:`${i} The folder you set as this account's Trash is no longer on the mail server — another mail app may have renamed or removed it.`,pickerPrompt:"Which folder should reader use instead?",confirmLabel:`Set as Trash and ${pw(t,void 0)}`,cancelLabel:"Cancel"};const c=t.kind==="delete"?`Deleting ${Q0(t.count)} there erases them from the mail server, and that cannot be restored.`:"Emptying a folder erases everything in it from the mail server, and that cannot be restored.";return{title:"Confirm this account's Trash folder",description:r?`${i} reader files this account's deleted mail in ${r} because of its name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`:`${i} reader files this account's deleted mail in a folder it matched by name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`,pickerPrompt:r?`Confirm ${r}, or pick the folder this account really uses.`:"Pick the folder this account really uses for deleted mail.",confirmLabel:`Set as Trash and ${pw(t,s)}`,cancelLabel:"Cancel"}},hse=(e,t,n,r)=>e.kind==="appointing"?{headline:"Setting the Trash folder…",status:n}:t.kind==="delete"?{headline:`Deleting ${Q0(t.count)}…`,status:r?`Erasing them from ${n}. This can't be undone.`:`Moving them to ${n}`}:{headline:`Emptying ${n}…`,status:"This can't be undone."},pse=(e,t,n,r)=>e==="unconfirmed"&&t.kind==="delete"&&n!==void 0&&r===n,mse=(e,t,n)=>e==="mailbox-pending"?`${n} is still being created on the mail server. Wait for it to finish, then try again.`:`Couldn't set that folder as Trash. ${Lj(t)} Please try again.`,gse=({open:e,reason:t,action:n,folders:r,delimiter:a,trashFolderLabel:s,guessedMailboxId:i,staleFolderLabel:c,accountEmail:u,phase:f,selectedId:h,onSelect:m,onCreateFolder:g,onConfirm:y,onCancel:S})=>{const w=E.useRef(null),C=f.kind==="appointing"||f.kind==="acting";E.useEffect(()=>{C&&w.current?.focus()},[C]);const _=r.find(N=>N.id===h),k=fse(t,n,{trashFolderLabel:s,staleFolderLabel:c,selectedCount:_?.messageCount}),A=pse(t,n,i,h),R=n.kind==="emptyTrash"||A;if(!e)return null;if(C){const N=hse(f,n,_?.label??"",A);return x.jsx(a3,{open:e,onClose:()=>{},title:k.title,children:x.jsxs("div",{ref:w,"data-escape-owner":!0,tabIndex:-1,className:"flex flex-col items-center gap-3 px-5 py-10 text-center outline-none",children:[x.jsx($h,{className:"size-8 animate-spin text-accent-2"}),x.jsx("p",{className:"text-sm font-medium text-fg",children:N.headline}),x.jsx("p",{className:"text-xs text-fg-muted",role:"status","aria-live":"polite",children:N.status})]})})}return x.jsxs(a3,{open:e,onClose:S,title:k.title,children:[x.jsxs("header",{className:"flex items-center gap-2 border-b border-line px-5 py-3",children:[x.jsx(od,{className:`size-4 shrink-0 ${R?"text-danger":"text-warning"}`}),x.jsx("span",{className:"flex-1 text-sm font-semibold text-fg",children:k.title})]}),x.jsxs("div",{className:"flex max-h-[70vh] flex-col",children:[x.jsxs("div",{className:"space-y-1 px-5 py-4",children:[x.jsx("p",{className:"text-sm text-fg-muted",children:k.description}),u&&x.jsx("p",{className:"text-xs text-fg-subtle",children:u})]}),f.kind==="appoint-failed"&&x.jsx("div",{className:"px-5 pb-3",children:x.jsx(K0,{tone:"danger",variant:"soft",children:mse(f.cause,n,_?.label??"That folder")})}),x.jsx("p",{className:"px-5 pb-2 text-sm text-fg-muted",children:k.pickerPrompt}),x.jsx("div",{className:"flex h-[26rem] min-h-0 flex-1 overflow-hidden",children:x.jsx(Nk,{folders:r,selectedId:h,delimiter:a,onSelect:m,onCreateFolder:t==="none"?g:void 0,onCancel:S,labels:{treeAriaLabel:"Folders on this account",optionLabel:N=>`Set ${N.label}${N.messageCount===void 0?"":`, ${N.messageCount} messages`}, as Trash`}})})]}),x.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[x.jsx(en,{variant:"secondary",size:"sm",onClick:S,children:k.cancelLabel}),_&&x.jsx(en,{variant:R?"danger":"primary",size:"sm",onClick:()=>y(_.id),children:x.jsx("span",{className:"truncate",children:k.confirmLabel})})]})]})};function vse(e){return e.scopedOutFolder!==void 0||(e.droppedFacets?.length??0)>0||e.droppedSemantic===!0}function yse(e){return`Your search was limited to ${e}. This filter matches these messages in any folder — it can't be pinned to one.`}const Uj=e=>e.length===1?e[0]:e.length===2?`${e[0]} and ${e[1]}`:`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`;function bse(e){const t=e.length===1?"a filter condition":"filter conditions",n=e.length===1?"isn't":"aren't";return`${Uj(e)} ${n} ${t}, so ${e.length===1?"it was":"they were"} left out — the filter still matches everything else you searched for.`}const mw="add a sender or words to filter on";function bNe(e){if(e.length===0)return`${mw[0].toUpperCase()}${mw.slice(1)}`;const t=e.length===1?"isn't":"aren't",n=e.length===1?"a filter condition":"filter conditions";return`${Uj(e)} ${t} ${n} — ${mw}`}const Sse="The filter matches these words literally. Your search also found similar mail by meaning — a filter can't carry that, so it won't catch mail that means the same thing without these words.";function gw({icon:e,children:t}){return x.jsxs("li",{className:"flex items-start gap-2",children:[x.jsx("span",{className:"mt-0.5 shrink-0 text-fg-subtle","aria-hidden":"true",children:e}),x.jsx("span",{children:t})]})}function wse({notice:e}){return vse(e)?x.jsxs("div",{className:"rounded-md border border-line bg-surface-sunken px-3 py-2.5",children:[x.jsx("p",{className:"text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"From your search"}),x.jsxs("ul",{className:"mt-1.5 space-y-1.5 text-xs text-fg-muted",children:[e.scopedOutFolder!==void 0&&x.jsx(gw,{icon:x.jsx(ite,{className:"size-3.5"}),children:yse(e.scopedOutFolder)}),e.droppedFacets&&e.droppedFacets.length>0&&x.jsx(gw,{icon:x.jsx(OU,{className:"size-3.5"}),children:bse(e.droppedFacets)}),e.droppedSemantic&&x.jsx(gw,{icon:x.jsx(n3,{className:"size-3.5"}),children:Sse})]})]}):null}const xse={delete:{label:"Delete",present:"Deleting",past:"Deleted",destructive:!0},move:{label:"Move",present:"Moving",past:"Moved",destructive:!1},junk:{label:"Junk",present:"Marking as junk",past:"Marked as junk",destructive:!0},markRead:{label:"Mark read",present:"Marking read",past:"Marked read",destructive:!1},organize:{label:"Organize",present:"Organizing",past:"Organized",destructive:!1}},Mk=e=>xse[e],Cse={match:"Apply to",properties:"Properties",folder:"Folder",rule:"Rule",name:"Name",review:"Review",run:"Run"},jj=e=>Cse[e],SNe=({verb:e,mode:t,scope:n,fromSearch:r})=>{const a=r?["properties"]:t==="properties"?["match","properties"]:["match"];return e==="move"?[...a,"folder","review","run"]:e==="organize"?n==="standing"||n==="until"?[...a,"folder","rule","name","review","run"]:[...a,"folder","rule","review","run"]:[...a,"review","run"]},Sv=(e,t)=>Math.max(0,e.indexOf(t)),Ese=(e,t)=>Sv(e,t)===0||t==="run",_se=(e,t)=>({clauses:[...e.clauses],matchOperator:e.matchOperator,widen:e.widen,moveMailboxId:e.moveMailboxId,scope:t,until:e.until,name:e.name}),zj=e=>Cj(_se(e,e.scope??"once")),kse="A rule only works within one account — clear the selection, or pick messages from a single account.",Ase="A destination only works within one account — clear the selection, or pick messages from a single account.",Ise="Matching beyond the messages you picked only works within one account — clear the selection, or pick messages from a single account.",Rse="A rule only works within one folder — clear the selection, or pick messages from a single folder.",Tse="A destination only works within one folder — clear the selection, or pick messages from a single folder.",Ose={spansAccounts:{rule:kse,destination:Ase},spansFolders:{rule:Rse,destination:Tse}},wNe=(e,t)=>{const n=e===void 0?"spansAccounts":t;if(!n)return{accountId:e};const r=Ose[n];return{accountId:n==="spansAccounts"?void 0:e,rule:r.rule,destination:r.destination}},Nse=e=>e===void 0?["selected"]:["selected","similar","properties"],Mse="This matches no messages, so there is nothing to do. Go back and change what it applies to.",Pse="Fill in every property, or take the empty one off.",Dse="Pick a destination first.",Lse="Choose one of the three first.",xNe=(e,t,n)=>{if(e==="properties")return t.clauses.length===0?Ia.noMatch:t.clauses.some(r=>r.value.trim()==="")?Pse:void 0;if(e==="folder")return t.moveMailboxId?void 0:Dse;if(e==="rule")return t.scope?t.scope==="once"&&zj(t).length>0?Ia.bodyTextOnce:t.scope==="until"&&!t.until?.trim()?Ia.noUntilDate:void 0:Lse;if(e==="name"&&!t.name?.trim())return Ia.unnamed;if(e==="review")return n.status==="uncounted"?void 0:n.status==="ready"&&n.count===0&&!n.stale?Mse:kj(n)},Use={noMatch:"Nothing matches this yet. Widen a property, or match on a different one.",notIndexed:"This mail isn't indexed yet, so nothing can be counted. The rule still matches once indexing catches up."},jse=e=>Use[e],Pk=({state:e,verb:t,scope:n,matched:r,applied:a,failed:s,failureReason:i})=>{const{label:c,present:u,past:f}=Mk(t),h=f.toLowerCase(),m=n==="standing"||n==="until",y={screenTitle:e==="saving"||e==="backApplyRunning"||e==="statusUnknown"||e==="commitFailed"?c:"Done",showProgress:e==="backApplyRunning"||e==="backApplyComplete"||e==="backApplyFailed"||e==="backApplyRestartFailed"||e==="statusUnknown"||e==="runStopped",failureListLabel:`Not ${h}`};return e==="saving"?{...y,title:m?"Saving rule…":"Applying…",detail:"Nothing has been changed yet.",tone:"progress",dismissLabel:"Close"}:e==="backApplyRunning"?{...y,title:m?"Rule saved. Moving the mail already in your mailbox…":`${u} ${r} messages…`,detail:"This keeps running if you close the wizard.",tone:"progress",dismissLabel:"Close",cancelLabel:"Stop the run"}:e==="statusUnknown"?{...y,title:m?"Rule saved. Its progress over your existing mail is unknown":`${u} — progress unknown`,detail:m?"The connection dropped, so the bar shows the last that was read. The pass runs on the mail server, and the rule keeps working on new mail either way. This keeps checking.":"The connection dropped, so the bar shows the last that was read. The run is on the mail server and carries on either way. This keeps checking.",tone:"warning",dismissLabel:"Close",retryLabel:"Check again"}:e==="backApplyComplete"?{...y,title:m?"Rule saved and applied":`${f} ${a}`,detail:m?`${a} of ${r} already in your mailbox ${h}. New mail follows the rule as it arrives.`:`Every message the match reached was ${h}. Your mail server is still catching up, so the list can lag behind.`,tone:"success",dismissLabel:"Done"}:e==="backApplyFailed"?{...y,title:m?"Rule saved — some mail stayed put":`Not everything was ${h}`,detail:`${a} of ${r} ${h} · the mail server rejected ${s}.${m?" The rule itself is saved and keeps working on new mail.":""}`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="runStopped"?{...y,title:`Stopped after ${a}`,detail:`${a} of ${r} ${h}. The run stopped before it reached the rest, so nothing was sent for them and nothing has happened to them.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyRestartFailed"?{...y,title:m?"Rule saved — the retry didn't start":"The retry didn't start",detail:`${a} of ${r} ${h} · the mail server rejected ${s}, which are still where they were.${m?" The rule itself is saved and keeps working on new mail.":""} Check your connection and try again.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyStartFailed"?{...y,title:"Rule saved",detail:"New mail follows it automatically. The pass over the mail already in your mailbox never started.",tone:"warning",dismissLabel:"Not now",retryLabel:"Run it over existing mail"}:e==="filterSaved"?{...y,title:"Filter saved",detail:"There is no mail in your mailbox to apply it to yet. New mail follows it as it arrives. You can see it, and when it expires, under Settings › Filters.",tone:"success",dismissLabel:"Done"}:{...y,title:m?"Couldn't save the rule":`Couldn't start ${c.toLowerCase()}`,detail:i??"Nothing has changed.",tone:"danger",dismissLabel:i===void 0?"Not now":"Close",retryLabel:i===void 0?"Try again":void 0}},zse=e=>`${Yu(e.field)} "${e.value}"`,Fj=(e,t)=>e.map(zse).join(` ${Ok(t)} `),b0=(e,t)=>e==="selected"?`These ${t} messages`:e==="similar"?Y0({anchorCount:t}):u3("properties"),vw=e=>e==="selected"?"Only the messages ticked in the list.":xj(e),$j=e=>`Every message ${e}`,Dk="the list is showing",Fse="This reaches every match on the mail server, including the ones the list has not loaded. The search is already the match, so there is nothing to widen.",$se="This covers messages not shown in the list, and anything else matching by the time it runs.",Bse=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a})=>e==="escalated"?$j(a??Dk):e==="properties"?Fj(n,r):b0(e,t),Hse=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a,escalatedCount:s})=>{if(e==="selected")return`${t} messages`;if(e==="escalated"){const i=a??Dk;return s===void 0?`every message ${i}`:`all ${s.toLocaleString()} messages ${i}`}return e==="similar"?`mail ${Y0({anchorCount:t}).toLowerCase()}`:n.length===0?"every message":`every message where ${Fj(n,r)}`};function qse({title:e,subtitle:t,steps:n,step:r,onBack:a,onExit:s,footer:i,children:c}){return x.jsx(Fae,{title:e,subtitle:t,steps:n.map(jj),activeStep:Sv(n,r),onBack:a,onExit:s,footer:i,children:c})}function Zu({selected:e,title:t,description:n,unavailable:r,onSelect:a,children:s}){const i=E.useId();return x.jsxs("div",{className:"space-y-1.5",children:[x.jsxs("button",{type:"button",onClick:a,"aria-pressed":e,"aria-describedby":r&&s?i:void 0,className:Me("flex w-full items-start gap-3 rounded-lg border p-3 text-left transition-colors",e?"border-accent bg-accent-soft":"border-line bg-surface hover:bg-surface-sunken",r&&"opacity-55"),children:[x.jsx("span",{className:Me("mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full border",e?"border-accent bg-accent text-accent-fg":"border-line"),children:e&&x.jsx(hv,{className:"size-3"})}),x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-sm font-medium text-fg",children:t}),x.jsx("span",{className:"mt-0.5 block text-xs text-fg-muted",children:n})]})]}),s&&x.jsx("div",{id:i,children:s})]})}const Wse=(e,t)=>e.status==="uncounted"?"The first matches. The total is not known until the run finishes.":e.status==="ready"&&e.count>t&&!e.stale?`and ${e.count-t} more`:Ej(e),Vse=(e,t,n)=>n?"Fetching the messages this covers…":e.status==="error"?e.reason:jse(t??"noMatch");function J0({messages:e,count:t,label:n,emptyReason:r,loading:a}){return x.jsxs("section",{className:"flex flex-col rounded-lg border border-line bg-surface",children:[x.jsx("h2",{className:"shrink-0 border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:n}),e.length===0?x.jsx("p",{className:"px-3 py-4 text-xs text-fg-muted",children:Vse(t,r,a)}):x.jsxs(x.Fragment,{children:[x.jsx("ul",{className:"min-h-0 max-h-[45dvh] divide-y divide-line overflow-y-auto overscroll-contain md:max-h-[17rem]",children:e.map(s=>x.jsxs("li",{className:"px-3 py-2",children:[x.jsxs("div",{className:"flex items-baseline justify-between gap-2",children:[x.jsx("span",{className:"truncate text-xs font-medium text-fg",children:s.sender}),x.jsx("span",{className:"shrink-0 text-2xs text-fg-subtle",children:s.date})]}),x.jsx("p",{className:"truncate text-xs text-fg-muted",children:s.subject})]},s.id))}),x.jsx("p",{className:"shrink-0 border-t border-line px-3 py-2 text-2xs text-fg-subtle",children:Wse(t,e.length)})]})]})}function z6({onBack:e,nextLabel:t,onNext:n,nextVariant:r="primary",blockedReason:a,nudged:s}){const i=E.useId();return x.jsxs("div",{className:"space-y-2",children:[a&&x.jsx(are,{id:i,reason:a,nudged:s,className:"px-1 text-2xs text-warning"}),x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(en,{variant:"ghost",size:"touch",onClick:e,icon:x.jsx(IU,{className:"size-4"}),className:"shrink-0",children:"Back"}),x.jsxs(en,{variant:r==="danger"?"danger":"primary",size:"touch",onClick:n,"aria-describedby":a?i:void 0,className:Me("flex-1",a&&"opacity-55"),children:[t,r==="primary"&&x.jsx(ete,{className:"size-4"})]})]})]})}function Gse({selectedCount:e,mode:t,accountId:n,onModeChange:r,semanticUnavailable:a,semanticOff:s,semanticErrorDetail:i,semanticFallbackTaken:c,onSemanticFallback:u,escalatedScope:f,sample:h}){if(t==="escalated")return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"rounded-lg border border-accent bg-accent-soft p-3",children:[x.jsx("p",{className:"text-sm font-medium text-fg",children:$j(f??Dk)}),x.jsx("p",{className:"mt-1 text-xs text-fg-muted",children:Fse})]}),x.jsx("div",{className:"mt-4",children:x.jsx(J0,{...h})})]});const g=Nse(n).length>1,y=s||a;return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"space-y-2",children:[!g&&x.jsx("p",{className:"px-1 text-2xs text-warning",children:Ise}),x.jsx(Zu,{selected:t==="selected",onSelect:()=>r("selected"),title:b0("selected",e),description:vw("selected")}),g&&x.jsx(Zu,{selected:t==="similar",unavailable:y,onSelect:y?u:()=>r("similar"),title:b0("similar",e),description:vw("similar"),children:s?x.jsxs("p",{role:"status",className:"px-1 text-2xs text-fg-subtle",children:[tre,c&&" Matching on the senders instead."]}):x.jsxs(x.Fragment,{children:[i&&x.jsxs("p",{role:"status",className:"px-1 text-2xs text-danger",children:["Couldn't find similar messages: ",i]}),c&&x.jsx("p",{role:"status",className:"px-1 text-2xs text-fg-subtle",children:"Similar-mail matching is unavailable right now — matching on the senders instead."})]})}),g&&x.jsx(Zu,{selected:t==="properties",onSelect:()=>r("properties"),title:b0("properties",e),description:vw("properties")})]}),x.jsx("div",{className:"mt-4",children:x.jsx(J0,{...h})})]})}const Kse=[{value:"all",label:Z0("all")},{value:"any",label:Z0("any")}];function Yse({clauses:e,matchOperator:t,onMatchOperatorChange:n,clauseEdit:r,onStartAddClause:a,onStartEditClause:s,onRemoveClause:i,onChangeDraft:c,onSubmitClause:u,onCancelClause:f,clauseFields:h,clauseSuggestions:m,conversionNotice:g,semanticFallbackTaken:y,sample:S}){const w=Ok(t);return x.jsxs("div",{className:"space-y-4",children:[y&&x.jsx("p",{role:"status",className:"px-1 text-xs text-fg-muted",children:"Similar-mail matching is unavailable right now. These are the senders of the messages you picked."}),g&&x.jsx(wse,{notice:g}),x.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[e.map((C,_)=>x.jsxs(E.Fragment,{children:[_>0&&x.jsx("span",{className:"text-2xs font-medium uppercase text-fg-subtle",children:w}),x.jsx(Aj,{clause:C,onEdit:()=>s(C.id),onRemove:()=>i(C.id)})]},C.id)),!r&&x.jsx(d3,{label:"Add clause",onClick:a})]}),r&&x.jsx(Ij,{draft:r.draft,mode:r.mode,fields:h,suggestions:m,onChangeField:C=>c({...r.draft,field:C}),onChangeValue:C=>c({...r.draft,value:C}),onSubmit:u,onCancel:f}),e.length>1&&x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("span",{className:"text-xs text-fg-muted",children:"Match"}),x.jsx(v0,{name:"wizard-match-operator",size:"sm","aria-label":"Match operator",options:Kse,value:t,onChange:n})]}),x.jsx("p",{className:"px-1 text-xs text-fg-muted",children:"We started you off from what you were looking at. Change any of it — this is where the rule is decided, not the list behind it."}),x.jsx(J0,{...S})]})}function Zse({folders:e,mailboxId:t,onSelect:n,onCreateFolder:r,delimiter:a,restriction:s}){const i=e.find(c=>c.id===t);return x.jsxs("div",{className:"flex min-h-0 flex-col gap-3",children:[x.jsx("p",{className:Me("px-1 text-xs",s?"text-warning":"text-fg-muted"),children:s??(i?`Moving to ${i.label}.`:"Tap a folder to open it, or make a new one where you want it.")}),x.jsx("div",{className:"flex min-h-0 flex-1 overflow-hidden rounded-lg border border-line bg-surface",children:x.jsx(Nk,{folders:e,selectedId:t,onSelect:n,onCreateFolder:r,delimiter:a,labels:{createPending:"Waiting for the mail server to confirm the folder…"}})})]})}function Xse({draft:e,onScopeChange:t,onUntilChange:n,restriction:r}){const a=E.useId(),{scope:s,until:i=""}=e,c=zj(e).length>0,u=r&&x.jsx("p",{className:"px-1 text-2xs text-warning",children:r});return x.jsxs("div",{className:"space-y-2",children:[x.jsx(Zu,{selected:s==="once",onSelect:()=>t("once"),title:y0("once"),description:"A one-off tidy-up. Nothing changes for future mail.",children:c&&x.jsx("p",{className:"px-1 text-2xs text-warning",children:Ia.bodyTextOnce})}),x.jsx(Zu,{selected:s==="standing",unavailable:!!r,onSelect:()=>t("standing"),title:y0("standing"),description:"Saves a rule and applies it to new mail as it arrives, and to the mail already in your mailbox. You'll name it next.",children:u}),x.jsxs(Zu,{selected:s==="until",unavailable:!!r,onSelect:()=>t("until"),title:y0("until"),description:"The same rule, and it stops on a day you pick.",children:[u,s==="until"&&x.jsxs("div",{className:"rounded-lg border border-line bg-surface p-2",children:[x.jsx(Tk,{htmlFor:a,children:"Stops on"}),x.jsx(ts,{id:a,type:"date",value:i,onChange:f=>n(f.target.value)})]})]})]})}function Qse({name:e,onNameChange:t,nudged:n}){const r=E.useId(),a=E.useRef(null);return E.useEffect(()=>{n&&a.current?.focus()},[n]),x.jsxs(x.Fragment,{children:[x.jsx(Tk,{htmlFor:r,children:"Rule name"}),x.jsx(ts,{id:r,ref:a,value:e,placeholder:"Travel confirmations",onChange:s=>t(s.target.value),trailing:e?x.jsx("button",{type:"button","aria-label":"Clear name",onClick:()=>{t(""),a.current?.focus()},className:"-mr-1 flex size-7 shrink-0 items-center justify-center rounded-full text-fg-subtle hover:bg-surface hover:text-fg",children:x.jsx(Ps,{className:"size-4"})}):void 0}),x.jsx("p",{className:"mt-2 text-xs text-fg-muted",children:"We suggested one from this selection. Clear it and write your own if it doesn't read right."})]})}function Jse({verb:e,mode:t,selectedCount:n,clauses:r,matchOperator:a,folder:s,scope:i,until:c,ruleName:u,escalatedScope:f,sample:h}){const{label:m}=Mk(e),g={mode:t,selectedCount:n,clauses:r,matchOperator:a,escalatedScope:f,escalatedCount:h.count.status==="ready"?h.count.count:void 0},y=t!=="selected",S=i==="standing"||i==="until";return x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"rounded-lg border border-line bg-surface p-3",children:[x.jsxs("p",{className:"text-sm text-fg",children:[x.jsx("span",{className:"font-semibold",children:m})," ",Hse(g),s?` to ${s}`:"",S&&x.jsxs(x.Fragment,{children:[" ","and ",x.jsx("span",{className:"font-medium",children:"save a rule"})," that keeps doing it"]}),i==="until"&&c&&` until ${c}`,"."]}),y&&x.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[x.jsx(od,{className:"mt-px size-3.5 shrink-0"}),t==="escalated"?$se:"This covers messages not shown in the list."]})]}),x.jsxs("dl",{className:"divide-y divide-line overflow-hidden rounded-lg border border-line bg-surface text-xs",children:[x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Action"}),x.jsx("dd",{className:"font-medium",children:m})]}),x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"shrink-0 text-fg-muted",children:"Apply to"}),x.jsx("dd",{className:"truncate font-medium",children:Bse(g)})]}),s&&x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Destination"}),x.jsx("dd",{className:"font-medium",children:s})]}),i&&x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Scope"}),x.jsxs("dd",{className:"font-medium",children:[y0(i),i==="until"&&c?` · ${c}`:""]})]}),u!==void 0&&x.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[x.jsx("dt",{className:"text-fg-muted",children:"Rule name"}),x.jsx("dd",{className:"truncate font-medium",children:u})]})]}),x.jsx(J0,{...h})]})}const Lk=e=>({state:e.state,verb:e.verb,scope:e.scope,matched:e.matched,applied:e.applied,failed:e.failedCount??e.failures.length,failureReason:e.failureReason}),eoe=e=>e==="progress"?x.jsx($h,{className:"size-10 animate-spin text-accent"}):e==="warning"?x.jsx(od,{className:"size-10 text-warning"}):e==="danger"?x.jsx(od,{className:"size-10 text-danger"}):x.jsx("span",{className:"flex size-12 items-center justify-center rounded-full bg-accent-soft text-accent",children:x.jsx(hv,{className:"size-6"})});function toe(e){const{matched:t,applied:n,failures:r}=e,a=Lk(e),s=Pk(a),i=e.state==="runStopped"?"Never sent":"Server rejected";return x.jsxs("div",{className:"space-y-4 pt-2",children:[x.jsxs("div",{className:"flex flex-col items-center gap-3 py-6 text-center",children:[eoe(s.tone),x.jsx("p",{className:"text-sm font-medium",children:s.title}),x.jsx("p",{className:"max-w-xs text-xs text-fg-muted",children:s.detail})]}),s.showProgress&&x.jsx(tse,{value:n,max:t,tone:a.failed>0?"warning":"success"}),r.length>0&&x.jsxs("section",{className:"rounded-lg border border-line bg-surface",children:[x.jsx("h2",{className:"border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:s.failureListLabel}),x.jsx("ul",{className:"divide-y divide-line",children:r.map(c=>x.jsxs("li",{className:"px-3 py-2",children:[x.jsx("p",{className:"truncate text-xs font-medium",children:c.sender}),x.jsx("p",{className:"truncate text-xs text-fg-muted",children:c.subject}),x.jsx(o3,{className:"mt-1",tone:"warning",children:i})]},c.id))})]})]})}function noe(e){const{onRetry:t,onDismiss:n,onCancelRun:r}=e,a=Pk(Lk(e));return a.cancelLabel!==void 0&&r?x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(en,{variant:"ghost",size:"md",className:"min-h-11 shrink-0",onClick:r,children:a.cancelLabel}),x.jsx(en,{variant:"primary",size:"md",className:"min-h-11 flex-1",onClick:n,children:a.dismissLabel})]}):a.retryLabel===void 0?x.jsx(en,{variant:a.tone==="progress"?"ghost":"primary",size:"touch",className:"w-full",onClick:n,children:a.dismissLabel}):x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(en,{variant:"ghost",size:"touch",onClick:n,children:a.dismissLabel}),x.jsx(en,{variant:"primary",size:"touch",className:"flex-1",onClick:t,children:a.retryLabel})]})}const roe={match:{subtitle:"What should this apply to?"},properties:{title:"Match properties",subtitle:"Which properties have to match?"},folder:{title:"Move to",subtitle:"Pick a destination"},rule:{title:"Organize",subtitle:"How long should this hold?"},name:{title:"Name the rule",subtitle:"So you can find it later"},review:{title:"Review",subtitle:"Check before it runs"},run:{}},ys=(e,t)=>{if(e===void 0)throw new Error(`The ${jj(t)} step was rendered without its answers.`);return e};function CNe(e){const{verb:t,steps:n,onExit:r,onContinue:a,onCommit:s}=e,{label:i,destructive:c}=Mk(t),u=n[Sv(n,e.step)],f=roe[u],h=Ese(n,u)?r:e.onBack,m=()=>u==="match"?x.jsx(Gse,{...ys(e.match,u)}):u==="properties"?x.jsx(Yse,{...ys(e.properties,u)}):u==="folder"?x.jsx(Zse,{...ys(e.folder,u)}):u==="rule"?x.jsx(Xse,{...ys(e.rule,u)}):u==="name"?x.jsx(Qse,{...ys(e.name,u),nudged:e.nudged}):u==="review"?x.jsx(Jse,{...ys(e.review,u)}):x.jsx(toe,{...ys(e.run,u)}),g=()=>{if(u==="run")return x.jsx(noe,{...ys(e.run,u)});if(u==="review"){const w=ys(e.review,u);return x.jsx(z6,{onBack:h,nextLabel:w.scope?_j(w.scope):i,nextVariant:c?"danger":"primary",onNext:s,blockedReason:e.blockedReason,nudged:e.nudged})}return x.jsx(z6,{onBack:h,nextLabel:"Continue",onNext:a,blockedReason:e.blockedReason,nudged:e.nudged})},y=()=>u!=="run"?f.title??i:Pk(Lk(ys(e.run,u))).screenTitle,S=u==="match"&&e.match?.mode==="escalated"?"What this applies to":f.subtitle;return x.jsx(qse,{title:y(),subtitle:S,steps:n,step:u,onBack:h,onExit:r,footer:g(),children:m()})}const aoe={preparing:"Getting the new version ready",restarting:"Restarting Remit",reconnecting:"Waiting for Remit to answer again"};function F6(e){return aoe[e]}function soe(e){return e<90?"This usually takes about a minute.":e<240?"Longer than usual. Remit is still trying to reach the server.":"Still no answer. Remit keeps trying."}function ENe(e,t=Date.now()){const n=Math.floor((t-e)/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function _Ne(e){return new Date(e).toLocaleDateString(void 0,{dateStyle:"medium"})}function ooe({children:e,show:t,label:n="Update available"}){return x.jsxs("span",{className:"relative inline-flex",children:[e,t&&x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"absolute -right-1 -top-1 size-2 rounded-full bg-accent-2"}),x.jsx("span",{className:"sr-only",children:n})]})]})}const $6=["preparing","restarting","reconnecting"],ioe='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';function Bj(e){E.useEffect(()=>{const t=e.current;if(!t)return;const n=()=>Array.from(t.querySelectorAll(ioe));(n()[0]??t).focus();const r=a=>{if(a.key!=="Tab")return;const s=n();if(s.length===0){a.preventDefault(),t.focus();return}const i=s[0],c=s[s.length-1],u=document.activeElement;if(a.shiftKey&&(u===i||!t.contains(u))){a.preventDefault(),c.focus();return}!a.shiftKey&&(u===c||!t.contains(u))&&(a.preventDefault(),i.focus())};return window.addEventListener("keydown",r,!0),()=>window.removeEventListener("keydown",r,!0)},[e])}const Hj="fixed inset-0 z-50 flex flex-col items-center justify-center gap-6 bg-canvas p-6 text-center outline-none";function loe({target:e,phase:t,elapsedSeconds:n}){const r=E.useRef(null);Bj(r),Ek({id:"self-update",open:!0});const a=$6.indexOf(t);return x.jsxs("div",{ref:r,role:"dialog","aria-modal":"true","aria-labelledby":"self-update-progress-title",tabIndex:-1,className:Hj,children:[x.jsxs("div",{className:"max-w-md space-y-2",children:[x.jsxs("h1",{id:"self-update-progress-title",className:"text-lg font-semibold text-fg",children:["Installing Remit ",e]}),x.jsx("p",{className:"text-sm text-fg-muted",children:"Remit is restarting, so this page has no server to talk to for a moment. Leave this open — it reconnects on its own."})]}),x.jsx("ol",{className:"w-full max-w-sm space-y-2 text-left",children:$6.map((s,i)=>{const c=i<a,u=i===a;return x.jsxs("li",{className:Me("flex items-center gap-3 rounded-sm border px-row-inset py-2 text-sm",u?"border-line-strong bg-surface text-fg":"border-line bg-surface-sunken text-fg-subtle"),children:[c?x.jsx(hv,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}):u?x.jsx($h,{className:"size-4 shrink-0 animate-spin text-accent-2","aria-hidden":!0}):x.jsx("span",{className:"size-4 shrink-0 rounded-full border border-line-strong"}),F6(s)]},s)})}),x.jsxs("p",{"aria-live":"polite",className:"max-w-md text-xs text-fg-subtle",children:[x.jsx("span",{className:"sr-only",children:`${F6(t)}. `}),soe(n)]})]})}function coe({attemptedVersion:e,previousVersion:t,elapsedSeconds:n,logsCommand:r,onRetryConnection:a}){const s=E.useRef(null);Bj(s);const i=Math.max(1,Math.round(n/60));return x.jsxs("div",{ref:s,role:"alertdialog","aria-modal":"true","aria-labelledby":"self-update-unreachable-title",tabIndex:-1,className:Hj,children:[x.jsx(xk,{className:"size-12 shrink-0 text-danger","aria-hidden":!0}),x.jsxs("div",{className:"max-w-lg space-y-3",children:[x.jsx("h1",{id:"self-update-unreachable-title",className:"text-lg font-semibold text-fg",children:"Remit has not answered since the restart"}),x.jsxs("p",{className:"text-sm text-fg-muted",children:["Installing ",e," started ",i," minute",i===1?"":"s"," ago and the server has been silent since. Your mail is safe at your provider — it was never part of the update."]}),x.jsxs("p",{className:"text-sm text-fg-muted",children:["Remit rolls back to ",t," on its own when the new version fails to start, but this page cannot confirm that from here. Check the server directly:"]}),x.jsx("code",{className:"block rounded-xs bg-surface-sunken px-3 py-2 text-left text-xs text-fg-muted",children:r})]}),x.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2",children:x.jsx(en,{size:"sm",onClick:a,children:"Try connecting again"})})]})}function uoe(e,t,n){if(!t.allowPrivateDomains&&e.length>3){const r=e.length-1,a=e.charCodeAt(r),s=e.charCodeAt(r-1),i=e.charCodeAt(r-2),c=e.charCodeAt(r-3);if(a===109&&s===111&&i===99&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(a===103&&s===114&&i===111&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(a===117&&s===100&&i===101&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;if(a===118&&s===111&&i===103&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;if(a===116&&s===101&&i===110&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;if(a===101&&s===100&&i===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}const Pl=new Uint8Array([1,2,1,1,1,1,1,1,1,1,1,1,0,2,2,2,0,2,2,0,2,0,0,1,0,0,2,1,1,1,1,1,1,0,0,0,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,0,2,0,2,2,0,0,2,2,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,2,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,2,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,2,2,0,0,0,2,0,1,1,0,2,0,2,2,0,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,2,2,0,2,2,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,2,0,2,2,2,2,0,0,0,0,2,0,0,0,0,0,0,2,2,0,0,0,2,2,1,1,1,1,2,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,2,2,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,1,2,1,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0]),e1=new Uint16Array([0,0,0,10,11,18,106,111,117,124,130,136,145,146,147,148,149,150,151,153,154,155,157,159,226,239,241,242,243,258,265,266,269,270,271,274,276,295,296,298,307,312,313,331,332,335,337,338,340,374,375,377,380,381,385,387,391,394,426,429,442,443,451,452,454,464,478,479,480,489,490,527,532,548,568,574,615,616,643,670,671,819,825,828,829,830,835,840,849,871,872,873,874,875,876,877,895,897,898,901,903,904,906,908,923,938,943,944,946,947,948,949,950,952,955,960,961,962,964,965,968,971,972,973,986,988,1e3,1011,1019,1021,1061,1064,1068,1069,1071,1074,1085,1087,1097,1099,1105,1107,1108,1110,1113,1114,1115,1167,1169,1171,1191,1192,1193,1194,1196,1207,1238,1249,1261,1270,1277,1282,1295,1306,1319,1320,1331,1365,1366,1367,1382,1397,1469,1470,1472,1473,1507,1508,1509,1512,1516,1518,1547,1548,1556,1557,1558,1560,1562,1563,1565,1566,1567,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1594,1595,1596,1598,2053,2056,2057,2059,2066,2073,2083,2087,2098,2099,2100,2112,2113,2115,2117,2118,2125,2126,2128,2129,2131,2132,2133,2134,2135,2209,2211,2232,2233,2234,2236,2262,2263,2314,2315,2317,2324,2330,2340,2350,2403,2404,2405,2415,2429,2430,2433,2440,2441,2449,2450,2451,2452,2453,2464,2465,2466,2468,2469,2470,2471,2473,2483,2495,2501,2533,2537,2539,2540,2542,2543,2554,2555,2557,2565,2572,2578,2583,2584,2590,2593,2599,2606,2607,2614,2622,2623,2624,2662,2668,2683,2684,2689,2707,2738,2756,2758,2761,2769,2771,2778,2830,2854,2855,2856,2857,2858,2859,2860,2861,2868,2869,2870,2871,2872,2873,2875,2876,2880,2964,2977,2978,3414,3418,3432,3484,3512,3534,3592,3614,3629,3692,3743,3781,3817,3842,3984,4030,4081,4100,4134,4149,4169,4199,4230,4253,4284,4314,4346,4373,4448,4470,4508,4518,4552,4571,4597,4639,4689,4715,4784,4785,4787,4810,4833,4869,4900,4917,4974,4987,5011,5040,5042,5076,5092,5120,5425,5434,5443,5450,5467,5471,5477,5516,5518,5525,5532,5541,5548,5549,5560,5563,5578,5579,5588,5589,5598,5607,5613,5615,5616,5617,5653,5654,5656,5664,5671,5684,5688,5690,5691,5697,5704,5718,5728,5733,5741,5749,5755,5756,5760,5762,5763,5775,5776,5777,5778,5780,5781,5784,5786,5789,5793,5794,5800,5801,5802,5804,5806,5808,5809,5810,5813,5815,5818,5819,5821,6019,6026,6027,6037,6042,6059,6073,6082,6083,6084,6088,6089,6091,6093,6099,6100,6103,6104,6106,6107,6108,7008,7009,7013,7031,7040,7043,7050,7051,7053,7054,7055,7057,7109,7110,7113,7114,7231,7232,7243,7254,7261,7264,7273,7274,7275,7290,7345,7536,7538,7539,7541,7546,7559,7574,7581,7590,7593,7596,7603,7611,7615,7616,7617,7631,7635,7644,7645,7646,7650,7685,7686,7703,7710,7718,7719,7724,7732,7776,7777,7783,7786,7797,7802,7803,7806,7839,7840,7846,7853,7854,7863,7872,7887,7891,7943,7944,7949,7951,7954,7956,7957,7958,7967,7981,7989,8003,8015,8016,8018,8020,8042,8053,8059,8060,8072,8084,8171,8183,8185,8194,8197,8203,8228,8231,8232,8233,8235,8238,8241,8252,8254,8256,8284,8358,8365,8369,8370,8379,8401,8402,8407,8408,8487,8489,8491,8500,8504,8510,8516,8522,8532,8537,8538,8556,8567,8572,8577,8587,8593,8597,8603,8609,10217,10218,10219,10226,10228]),t1=new Uint8Array([3,3,3,3,3,3,3,3,5,8,8,2,2,3,3,3,3,3,8,5,5,5,5,5,3,3,5,5,9,12,19,8,19,8,11,9,9,8,7,7,6,8,9,16,10,7,7,11,8,6,6,9,7,11,7,14,4,4,4,4,4,4,10,7,6,6,6,6,10,10,6,10,10,22,11,9,10,10,10,9,10,8,7,7,7,8,21,13,11,11,9,10,9,13,10,8,8,9,12,9,7,10,7,7,13,7,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,8,6,3,3,3,3,3,3,2,5,3,3,3,7,2,2,2,2,2,2,3,3,3,1,1,7,8,5,2,2,7,2,2,1,4,1,11,9,9,5,5,8,5,5,5,5,5,5,5,3,3,3,3,3,5,11,9,9,13,7,14,7,6,6,6,7,6,6,6,6,6,10,7,11,9,4,4,4,4,4,4,6,6,6,6,6,8,7,10,9,9,9,8,9,8,10,6,9,9,8,10,10,7,8,1,9,10,12,12,12,10,9,9,10,10,9,9,1,1,5,3,3,3,3,3,3,3,3,3,3,3,3,6,6,6,4,3,3,3,7,4,4,4,3,3,6,7,3,4,1,2,2,2,6,1,2,2,2,2,2,12,5,3,8,9,13,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9,7,6,4,4,4,4,4,4,4,6,6,6,9,7,8,10,8,8,2,3,3,3,3,3,2,8,9,9,2,2,2,3,3,3,2,3,3,3,9,2,2,3,3,3,3,3,3,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,12,5,5,3,5,4,2,3,2,4,3,9,2,2,2,2,2,5,5,3,8,8,13,6,10,9,4,7,9,11,2,3,7,3,3,4,1,3,4,2,9,3,3,12,5,3,7,10,10,7,4,4,6,14,7,9,7,13,2,2,2,2,2,2,3,3,3,3,3,8,15,4,4,2,3,3,3,7,4,9,9,2,3,3,3,5,3,2,2,7,2,7,6,6,7,2,4,2,2,2,2,2,2,8,8,8,9,5,2,3,3,3,3,3,3,10,7,4,4,4,4,3,4,2,3,3,3,3,3,10,7,4,4,4,4,2,3,3,3,3,10,7,4,4,4,4,3,9,6,6,6,9,13,9,2,2,2,8,7,9,5,3,3,3,5,5,12,9,10,7,8,7,6,8,6,11,12,7,9,10,4,4,7,8,11,6,7,9,8,7,10,8,9,15,7,8,5,4,7,2,3,3,3,2,14,10,2,14,10,2,14,3,9,13,13,10,14,16,17,11,2,14,2,14,3,9,13,10,14,16,17,11,14,10,14,2,7,3,10,7,14,10,2,14,10,9,9,17,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,10,10,10,12,9,4,10,11,8,8,8,7,9,5,3,3,3,3,3,3,3,3,5,8,4,4,4,4,4,4,6,16,3,3,14,3,14,2,14,9,13,10,10,14,16,17,11,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,9,9,9,9,9,9,2,14,9,13,10,10,14,16,17,11,6,2,14,9,17,13,10,10,14,16,17,11,6,2,14,9,13,10,14,16,17,11,2,14,9,13,10,16,11,2,14,10,19,7,2,14,9,13,10,19,10,7,14,16,17,11,6,2,14,9,13,10,19,7,14,16,17,11,2,14,9,13,17,13,10,10,14,16,17,11,6,3,2,14,9,13,10,10,14,16,17,11,6,9,10,12,14,14,14,12,12,12,12,12,14,14,14,10,10,10,14,9,9,9,9,14,14,14,13,13,14,9,9,9,9,9,9,4,11,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,9,10,10,7,17,3,3,12,12,16,15,15,12,14,14,14,20,20,13,12,12,12,12,12,12,20,25,14,14,12,12,10,10,10,10,9,9,9,25,4,9,17,10,7,14,16,21,13,13,14,20,14,13,17,24,9,12,13,25,13,21,20,17,9,9,9,9,9,9,12,17,4,4,9,9,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,1,8,7,11,11,1,3,3,3,4,8,9,10,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,7,4,4,4,4,4,4,4,4,4,4,9,12,6,14,4,12,7,2,2,1,2,7,6,4,4,4,6,8,8,7,4,5,6,3,3,3,3,4,16,8,3,5,4,3,3,3,5,2,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,12,7,7,13,9,10,12,8,9,7,8,5,12,10,13,14,5,5,5,13,5,5,5,3,3,3,5,16,5,5,5,5,5,7,12,14,8,12,8,10,12,9,11,7,9,7,10,7,13,9,7,12,8,17,7,7,16,10,13,13,8,10,10,14,17,7,16,16,15,8,10,10,12,17,7,17,14,7,10,17,8,7,7,7,8,15,15,7,14,10,10,10,11,11,7,7,13,8,10,7,16,7,8,7,14,17,12,10,11,21,8,9,7,13,9,8,13,6,12,7,6,13,10,10,10,8,18,9,17,13,10,12,6,13,6,11,8,13,10,13,18,13,11,13,8,16,7,10,8,16,12,10,8,8,6,14,11,8,15,8,8,7,7,12,7,8,9,14,15,8,9,10,9,15,7,8,8,12,13,9,10,15,15,13,7,10,10,20,7,6,9,6,6,14,11,14,11,12,9,10,16,16,12,7,11,28,8,11,10,7,21,8,7,9,4,4,4,17,7,8,6,9,6,6,13,6,6,6,6,18,20,14,8,11,12,9,10,13,15,19,8,9,12,7,10,16,12,9,9,9,14,12,11,9,12,11,18,9,9,9,10,7,7,16,8,9,7,13,12,10,18,7,8,11,7,7,8,8,13,7,7,7,11,15,13,11,7,8,15,11,7,8,18,14,13,18,15,10,12,12,9,7,11,11,8,7,10,8,14,12,10,18,7,10,9,7,8,13,10,14,9,10,8,8,23,7,7,11,12,12,17,7,7,11,11,17,16,16,7,8,11,14,14,8,10,7,7,16,16,13,9,11,9,15,15,11,11,7,7,14,7,9,7,7,16,10,13,10,11,14,7,11,10,11,7,11,10,11,15,11,15,10,12,17,10,14,13,11,11,12,13,10,7,13,10,16,12,21,9,10,10,7,11,14,17,7,7,8,11,12,8,15,14,14,8,17,12,10,10,7,9,11,7,10,7,11,18,7,11,7,12,11,8,8,14,12,7,8,15,3,7,7,5,2,9,2,2,2,2,2,2,2,3,3,3,3,3,3,3,2,5,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,11,6,4,7,10,7,7,11,1,10,2,2,3,3,3,3,3,3,3,3,5,7,3,5,6,3,3,5,2,2,5,3,4,13,11,3,3,6,3,5,14,2,2,3,8,2,2,12,5,18,5,3,3,3,16,5,5,5,10,7,13,12,13,9,12,14,19,9,9,21,9,9,10,6,9,6,15,10,6,12,8,6,10,15,4,4,6,6,9,9,12,16,14,23,7,7,7,14,9,7,7,11,14,10,7,10,10,10,12,6,11,10,13,11,15,11,7,12,10,3,7,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,4,3,7,2,5,5,3,3,5,5,5,5,7,6,6,6,4,4,4,4,4,4,6,6,6,6,6,7,10,2,2,2,5,5,5,5,3,3,3,3,3,5,5,10,9,11,8,7,12,8,9,7,6,13,11,6,13,7,9,9,4,4,4,4,4,4,6,10,7,8,13,8,8,9,14,8,10,7,7,7,9,6,9,7,2,12,5,3,3,13,4,2,3,3,3,3,3,3,3,3,3,3,3,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8,6,7,14,11,9,2,5,3,3,6,2,3,2,2,2,2,2,2,2,5,4,3,7,6,4,7,4,3,6,4,7,2,7,7,7,5,5,5,5,3,3,3,3,3,3,3,3,3,3,5,9,10,10,8,11,7,8,20,7,8,9,8,12,6,6,6,8,9,8,12,6,6,8,13,10,12,6,6,7,7,8,9,6,4,4,4,4,4,4,4,10,6,6,6,7,14,11,10,7,8,10,8,11,14,11,11,9,7,9,8,11,9,17,10,9,2,2,2,9,3,3,3,3,15,14,9,5,5,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,15,12,22,19,17,18,18,19,21,7,16,16,5,5,5,5,5,5,5,5,5,5,5,7,5,5,5,5,5,5,5,5,5,5,5,9,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,7,16,11,11,7,7,7,7,17,7,8,12,15,9,19,7,19,8,16,21,11,12,19,14,22,7,7,7,7,7,7,7,7,7,7,7,16,16,19,24,12,7,14,7,12,7,8,10,10,13,7,12,12,7,7,10,18,15,12,16,7,14,12,17,10,16,17,12,17,25,7,7,7,13,6,9,6,9,18,6,6,11,20,10,6,6,6,6,6,6,6,17,6,6,6,15,6,6,6,6,6,8,14,11,12,15,13,19,17,21,7,18,8,13,13,8,12,8,6,6,13,6,15,15,16,6,6,16,6,6,6,14,6,18,6,6,6,17,18,9,13,15,8,19,8,15,15,18,14,16,4,4,4,4,4,4,4,4,4,4,4,4,6,11,10,11,6,21,23,12,17,12,11,14,13,22,15,15,11,12,14,12,7,12,8,14,12,18,10,8,16,19,17,12,14,15,8,9,19,17,12,13,13,15,18,13,23,24,23,21,17,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14,8,6,6,10,11,10,9,9,7,7,6,6,6,9,9,7,9,10,9,13,12,4,4,4,4,4,4,4,4,4,6,6,6,8,8,6,8,9,10,9,7,10,10,8,7,8,7,10,12,9,8,15,8,7,8,8,7,7,15,13,7,10,9,14,18,16,7,24,7,8,10,11,16,8,14,7,9,9,9,11,13,19,14,15,14,11,7,13,9,10,7,13,9,10,11,12,8,9,2,3,5,8,7,4,4,10,5,3,3,3,3,3,5,4,4,4,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,2,2,2,3,3,3,3,3,3,3,3,3,3,4,2,12,5,3,8,10,15,6,7,2,3,2,5,5,12,2,5,5,5,5,2,2,5,5,12,9,5,2,2,9,5,5,12,12,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,12,5,8,8,9,5,5,5,8,19,7,16,15,14,9,9,9,9,7,11,11,11,7,14,10,10,5,5,5,5,5,5,5,5,5,15,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,14,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,15,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,12,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,12,9,9,12,12,12,15,7,11,7,14,11,18,13,8,18,15,18,12,14,12,8,8,8,8,9,9,9,12,7,10,10,8,8,12,12,12,7,12,12,9,7,7,7,7,7,8,15,12,9,10,10,7,10,10,13,11,10,9,22,11,9,8,8,8,8,8,13,18,13,9,15,19,9,7,7,10,7,7,7,11,8,13,17,7,7,10,10,10,7,20,16,7,7,7,7,7,7,11,21,12,12,13,11,14,16,8,8,13,11,7,7,13,7,7,14,15,15,6,6,6,6,6,6,6,6,6,6,13,10,18,6,6,6,6,6,6,6,6,6,11,8,8,12,12,11,11,8,12,9,9,9,13,13,9,9,9,9,9,9,6,10,12,6,6,6,6,17,11,7,7,7,7,14,14,12,6,7,7,6,6,15,10,13,10,6,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,9,15,13,6,12,12,6,19,11,10,7,7,16,8,19,17,9,9,9,9,9,6,6,6,10,8,16,8,6,6,9,6,6,6,6,6,6,6,6,8,8,8,6,7,6,6,6,6,6,6,6,6,6,6,6,14,6,6,6,6,20,6,9,6,14,9,9,9,6,9,8,8,12,9,8,8,8,8,7,8,12,7,8,8,8,6,8,6,6,6,6,6,6,6,9,8,8,6,6,13,9,12,13,12,14,13,12,11,11,6,8,8,8,6,13,12,11,11,12,6,11,12,11,13,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,6,6,6,6,6,6,6,13,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,6,18,6,12,13,13,13,9,10,15,9,12,6,6,6,6,6,6,6,6,9,15,10,9,10,13,9,19,8,18,17,10,10,8,8,6,6,6,6,6,6,10,14,8,16,16,9,8,15,8,8,10,12,14,7,7,8,8,7,7,7,7,8,13,13,11,9,9,9,12,10,17,8,11,9,7,7,14,8,14,14,7,7,7,7,7,7,14,7,7,7,7,7,10,10,8,14,7,7,7,7,8,8,8,8,8,17,9,7,15,7,8,12,7,9,14,7,7,7,9,13,8,14,7,16,18,13,15,14,12,13,10,15,9,7,7,7,10,13,15,15,9,9,9,9,19,11,7,11,11,13,8,8,8,8,7,12,19,17,9,9,13,7,7,7,9,7,7,7,12,13,15,10,8,8,14,15,12,13,13,8,12,14,7,11,7,14,15,13,12,8,8,8,8,11,13,15,15,8,13,12,8,8,8,13,10,16,14,11,8,8,12,12,9,15,15,12,12,13,8,8,9,12,13,9,8,8,8,8,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10,7,7,7,16,11,10,11,17,9,9,8,8,7,7,7,9,7,7,7,14,7,13,9,11,10,14,10,10,12,11,10,7,10,5,14,8,8,8,9,7,8,7,7,9,8,7,8,7,7,7,7,7,7,7,11,8,10,8,7,8,14,11,8,9,9,9,8,24,10,10,12,7,7,15,11,8,8,12,11,8,9,9,7,8,9,10,11,10,11,7,12,7,7,11,9,8,14,13,12,8,11,10,8,8,7,7,14,9,10,8,9,11,7,14,8,8,13,8,8,12,7,10,14,14,11,9,10,9,9,7,7,11,11,13,9,13,5,5,5,7,9,5,11,12,14,8,7,7,11,10,9,7,8,8,7,10,11,11,5,5,7,5,5,5,7,7,15,7,7,8,7,15,12,12,10,7,8,7,11,7,7,7,23,11,8,8,11,10,7,8,11,7,19,7,7,6,9,9,9,11,3,4,7,8,6,6,4,10,8,2,2]),B6=new Uint16Array([0,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,17,1,1,1,12,1,12,1,12,13,1,1,1,1,12,1,12,1,1,1,1,1,14,21,1,1,1,1,1,1,1,19,12,1,1,1,1,1,1,1,20,1,1,1,16,1,18,1,1,15,1,1,1,1,12,1,1,1,1,1,1,22,1,1,1,12,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,1,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,12,12,12,12,1,32,0,0,0,1,1,1,1,35,34,1,1,1,1,1,33,1,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0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,12,1,1,1,1,89,1,91,1,1,1,1,1,1,1,1,94,1,1,1,1,1,1,1,1,1,1,1,1,0,1,97,97,1,1,12,1,100,1,1,1,1,1,1,1,98,1,99,1,101,1,1,1,1,1,102,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,110,111,1,1,1,1,1,1,113,113,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,121,122,1,1,1,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,126,123,125,120,1,124,1,1,114,1,1,1,1,117,1,127,1,1,1,1,1,119,1,108,1,109,1,12,128,106,1,112,1,1,1,1,1,107,115,1,12,12,12,118,116,1,1,1,1,1,1,0,0,0,0,1,12,12,1,1,1,1,1,12,134,1,1,1,1,1,1,1,1,1,1,1,12,136,1,1,1,1,1,1,1,1,137,138,12,12,135,133,45,45,140,50,50,139,142,141,1,1,0,0,0,0,0,0,0,0,0,0,0,0,145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0,0,0,1,0,144,132,1,0,1,12,12,1,1,1,1,1,0,0,0,0,0,0,0,1,148,147,20,1,1,12,12,1,20,12,12,1,1,1,1,1,134,1,1,152,1,1,1,1,153,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,1,136,1,1,152,1,1,1,1,153,1,1,134,1,1,1,152,1,1,1,1,153,1,1,134,1,1,1,1,1,1,1,1,134,1,1,1,1,1,1,1,1,1,1,1,160,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,1,1,1,1,1,134,1,1,1,1,152,1,1,1,1,153,1,1,1,134,1,1,152,1,1,1,1,164,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,167,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,154,158,158,12,1,12,166,1,1,1,1,1,158,158,158,154,1,1,1,157,158,161,165,1,1,1,1,157,157,1,1,156,154,154,157,170,156,170,1,1,168,1,156,155,157,1,1,1,1,157,1,159,1,1,1,12,1,162,1,162,1,1,1,162,161,163,169,156,154,1,1,1,1,1,1,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,173,172,173,172,172,172,172,174,174,172,173,172,173,172,172,12,12,12,12,12,1,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,193,1,1,1,1,12,199,200,201,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,151,1,1,1,1,1,1,1,1,1,1,1,196,1,1,1,184,1,210,1,1,1,208,1,1,205,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,12,1,1,1,1,1,1,1,1,190,1,1,1,186,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,182,1,1,1,1,1,1,1,191,1,1,1,1,195,1,1,1,1,171,1,1,189,1,1,1,192,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,180,1,12,1,1,12,1,1,1,1,183,1,1,1,188,1,203,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,209,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,194,1,1,1,1,1,12,1,1,1,1,1,1,1,1,176,12,1,1,1,178,12,1,1,1,1,1,1,1,198,1,1,1,1,1,1,1,1,1,1,177,1,1,1,1,1,1,204,1,1,1,181,1,1,1,187,1,12,1,1,12,1,1,1,1,1,1,1,1,1,1,191,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,175,1,1,1,1,1,1,1,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,206,1,1,1,1,1,1,1,1,1,1,1,1,1,207,1,1,12,1,1,1,1,179,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,197,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,202,1,1,12,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,220,0,0,0,0,0,221,0,0,0,0,0,0,1,12,1,1,1,225,1,1,1,0,226,223,224,1,1,1,1,1,1,231,1,233,1,1,1,1,1,1,1,1,1,1,1,229,1,1,1,1,1,235,1,1,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,234,1,1,1,12,1,1,1,1,230,1,1,1,228,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,232,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,241,13,1,1,1,12,12,238,239,1,1,1,1,240,1,1,12,1,1,1,1,1,1,1,242,1,1,12,16,1,1,1,1,1,1,1,243,1,1,1,12,12,1,1,1,1,1,243,12,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,364,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,1,340,351,1,1,339,374,1,345,1,1,337,369,1,1,355,336,341,1,1,1,348,379,357,1,1,1,1,1,1,358,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,367,371,0,0,79,1,1,0,365,342,378,343,346,353,1,368,0,1,0,79,362,360,1,0,0,1,1,1,0,0,0,0,381,1,1,352,1,79,1,0,1,1,1,384,1,0,0,79,359,0,1,338,1,1,1,0,1,1,361,1,0,1,1,1,0,1,386,349,1,1,0,1,0,0,377,0,1,1,1,79,370,1,1,366,363,1,1,1,1,1,1,1,1,1,1,1,344,1,1,1,1,1,1,1,1,1,1,1,376,0,79,1,1,1,1,0,1,1,1,1,1,1,0,0,1,1,380,1,1,1,0,0,383,0,0,0,1,356,1,0,79,382,1,0,0,0,0,385,1,1,0,0,1,0,1,0,354,0,350,0,1,1,1,0,1,1,0,373,347,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,144,1,1,1,228,1,1,12,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,572,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,577,1,220,1,328,1,1,1,1,1,1,1,1,1,0,0,578,1,1,1,1,0,580,0,79,0,579,0,1,1,1,0,1,1,1,1,1,1,12,0,0,0,0,1,0,0,0,0,0,0,586,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,582,582,0,585,583,582,582,582,582,582,587,582,582,591,582,582,582,582,582,582,582,582,582,582,588,585,582,582,585,582,582,582,582,582,582,582,582,582,582,582,582,582,583,582,582,582,582,582,589,582,582,582,582,582,582,0,0,0,1,590,1,1,1,1,584,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,12,595,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,12,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,12,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,65,280,306,411,535,0,4,68,236,254,282,307,334,388,413,0,499,519,536,597,9,0,61,88,398,409,429,575,0,497,518,532,612,0,30,6,0,461,500,602,560,70,0,7,285,255,389,463,416,538,79,598,0,576,309,418,465,9,105,288,506,6,30,0,311,79,391,79,483,10,6,131,248,275,0,613,509,0,563,0,64,6,6,251,95,2,432,399,410,596,0,6,0,6,286,103,6,561,501,540,0,464,390,273,287,8,71,104,599,543,392,312,300,419,146,74,290,546,510,601,564,335,330,479,6,75,149,11,0,249,522,547,565,514,551,570,611,36,6,260,295,333,304,218,30,528,553,218,42,216,265,296,305,406,423,481,274,0,73,562,0,403,417,299,79,247,79,0,581,545,504,292,421,79,393,387,0,0,0,9,555,571,217,0,424,407,531,516,573,615,85,218,43,297,396,425,569,0,511,293,276,79,215,80,28,390,30,6,394,331,303,604,592,524,550,513,0,258,81,30,405,422,0,30,426,0,219,593,517,9,408,427,218,248,86,222,594,574,557,482,428,397,250,227,87,59,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,0,0,0,0,82,0,129,0,0,84,549,0,0,0,0,0,0,0,27,0,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,503,0,257,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,618,0,0,0,0,0,556,0,0,0,0,0,0,0,0,0,0,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,605,0,0,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,623,623,623,623,623,623,623,622,624]),m3="orgmilcomschnetedugovdrrformsfeedbackofficialaccoorgmilschnetgovmagazinemediaunioncargopilotgroupcaarespressworksaerodromeworkinggroupair-traffic-controlaircraftaccident-preventioneducatormarketplaceambulanceinsurancecateringairportrepbodyenginesoftwaremodellingair-surveillanceconsultingchartertrainermaintenanceservicesdesignflightskydivingfreightassociationstudentgroundhandlingdgcafuelclubtaxicrewshowballooningexpresstraderbrokerauthoragentsairtrafficjournalistsafetyconsultantmicrolightaccident-investigationparachutingequipmentproductionfederationrecreationscientistnavigationengineertradingglidingleasingresearchpassenger-associationentertainmentparaglidinghangglidingaerobaticrotorcraftemergencycertificationgovernmentaeroclubexchangelogisticschampionshiphomebuiltcouncilconferencecontrolairlinecivilaviationjournalorgcomnetedugovcoorgcomnomnetobjofforgcomnetuwukiloappsframerorgmilcomnetedugovcoradioorgcomnetcommuneedogpbcoitgvorgedugov*spreviewfrontendrelayononstagingupid*mtls*privatelinktypedreamdeveloperbravemochawindsurfaivenmirenupsunwnextbegetngrokclerkwale2bwebcsbrunputerflutterflowspawnbaseshiptodaymagicpatternsnetlifyondigitaloceanrailwayhostedclaudehasurabotdashvercelgithubluyanigadgetreplitcloudflaretelebitedgecomputeevervaultdetaexponyatnoopencrpplxzeaburwasmerframerzeropsconvexmedusajsspritesonherculeseasypanelstreamlitsnowflakemesserliloginlinehackclubnorthflankbase44corespeedadaptableleapcellngrok-freeclerkstagelovableon-fleek*us-west-3ap-south-2us-central-2us-central-1eu-central-1ap-south-1us-west-2us-east-2eu-north-1ap-north-1us-west-1us-east-1*rcloudintsegorgmilcomgobbetnetintedugovturmusicasenasamutualcoopip6uriurnin-addre164homeirisgovdixdaemoncloudnssthwien*inexexkunden4accogvormymyspreadshop4lima2ixortsinfofuturecmsfuturehosting12hpprivfuturemailinglima-cityfunkfeuer123webseitednshomemelmyspreadshopcloudletswasantqldvicactnswtascatholicwasaqldvictasvpsidwasantozqldorgcomvicasnactnetedugovnswtasconfhrsncomairflowlambda-urltransfer-webappairflowtransfer-webapptransfer-webapptransfer-webapp-fipstransfer-webappeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1privatenotebookstudiolabelingnotebookstudionotebooknotebook-fipslabelingnotebookstudionotebook-fipsnotebookstudio-fipsnotebook-fipsnotebookstudionotebook-fipsnotebookstudioeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2experimentsus-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1onrepostsagemakercopporgmilcompronetintedugovbiznameinfoshoprsorgmilcomnetedugovbrendlyresolvenzauscotvstoreorgcomnetedugovbizinfoidacaicoittvorgmilcomschnetedugovinfocloudezproxyacmymyspreadshopkuleuvenwebhostingtransurl123websitecloudnsinterhostsolutionsddns5476103298edgfacbmlonihkjutwvqpsryxzbarsycoororgcomedumyftpno-iporxcloud-ipfor-somemmafanfor-morewebhopselfipjozidyndnscloudnsdscloudfor-thefor-betteractivetrailcoeconorestooteorgcomeconeteduassurmoneyafricaarchitectesrestaurantloisirstourismavocatsinfoagrounivcoorgcomnetedugovtvdeportesaludtksatorgmilcomwebgobnetinteducienciaboliviarevistacooperativaempresanombreindustriamusicapatriamedicinademocraciapoliticapuebloindigenaplurinacionalarteblogwikiinfoagrotransportenoticiasprofesionalacademiaeconomiaecologiamovimientotecnologianaturalsimplesitecepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesmscepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesms*biaamfmtcmptvfeirasampajampanatalbelemananiradiog12medindfndbmdtrdthepoaggfjdfdefinfenflegsegongengcngorgzlgslglogppgmillelqslcimcomnomadmjabimbbibbsbabcrectecsjcetcpscpvhudieticriapipsiecnbiorioecogeoteoodoproatoartfstmatvetdetbetnetcntnotfotgrueduajuespappreptmpemparqsrvadvdevgovntrturagrjorfarjusmusdesvixxyzcozfozslzbhzmaringasantamariacampinagrandegoianiasorocabafloripasaobernardocuritibaboavistarecifeaparecidasaogoncasalvadorcuiabamorenamacapalondrinacontagemsocialfortalmaceioleilaoosascoriobranconiteroi9guacutcheblogflogvlogwikitaxicoopmanauspalmascaxiasjoinvillebaruericampinassantoandreribeiraoriopretoweorgcomnetedugovv0windsurfshiptodaycloudsitecoaccoorgnetgovofmilcomgovmediatechzacoorgcomnetedugsjgovmydnspenfnlabnbmbgcbcqconcontnuyksknsmyspreadshopno-ipawdevboxbarsyonidatemfuinabusavinstanceseceuguukussryzespawncsxcloud-ipmyphotosfantasyleaguetwmailcleverappsscrappingccwucloudnsftpaccessgame-serverccgovobjectsrmalpgcust*svcalp1aeappenginermalpgmyspreadshop4lima2ixsquare7cloudscale123websitefirenet12hpflowgotdnslinkyard-cloudcloudnslima-citydnskingobjectstorageedaccogoorusorgcomnetinteduaéroportxn--aroport-byaassogouvcomilgobgovcloudnses-1eu-west-1us-east-1euvipit1eurarubait1s3lbwebsites3websiteru-spbru-mskelasticcsrunstnukukcaukusnl-ams-1fr-par-1fr-par-2functionsnodess3ddlwhmrdbfnck8sifrs3-websitecockpitscblmgdbdtwhkafkpubprivs3ddlwhmrdbk8sifrs3-websitecockpitscblmgdbdtwhkafks3ddlrdbk8sifrs3-websitecockpitscblmgdbdtwhkafkk8sscalebookpl-wawfr-parnl-amsbaremetalsmartlabelinginstancesdechk2kuleuvenlaravelvoorloperurownoxazapscwhstgrvaporobservablehqelementorantagonistreclaimjoteluluencowaydiademjelasticmatlabmagentositetrendhostingaxarnetperspectajenv-arubajelejoteravendbemergenttrafficplexconvexkeliwebserveboltbegetcdnstaticson-rancherprimetelonstackitunison-servicesdnshomelinkyardbarsyjelecloudnscocomnetgovmycn-northwest-1cn-north-1s3s3-accesspoints3-websites3s3-accesspointrdsdualstacks3-deprecatedemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspoints3s3-accesspointrdsdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicn-northwest-1cn-north-1cn-northwest-1ebcomputeelbcn-north-1airflowcn-northwest-1cn-north-1oncn-northwest-1cn-north-1amazonawssagemakeramazonwebservicesdirectasgdsdhehahljlnmhbacscahqhshhihnlnynsnmofjbjzjxjtjhkcqtwgsjssxnxjxgxxzgz網絡网络公司orgmilcomnetedugovxn--55qx5dcanva-appsxn--io0a7iquickconnectcanvasitekhsjxn--od0algmyqnapcloudsrvrlessclustersrealtimestorageleadpagescarrdcrdorgmilcomnomnetedugovhidnssupabaserdpareplmypiumsoxmitotaplpagesfirewalledreplitowodevwebview-assetsvfswebview-assetss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecateds3-websites3-object-lambdaexecute-apis3s3-accesspoints3-websites3-accesspoint-fipss3-fipss3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipss3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9vfss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1us-northeast-1ap-southeast-1me-south-1af-south-1ap-south-1ap-southeast-7us-west-2eu-west-2ap-east-2us-east-2ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ap-southeast-6ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1mrapaccesspoints3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3eu-west-3ap-south-2eu-south-2computes3-ap-northeast-2elbrdss3-ap-east-1s3-sa-east-1s3-us-gov-west-1s3-eu-central-1s3-ca-central-1eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3s3-website-us-west-2s3-website-eu-west-1s3-external-1eu-central-1me-central-1ca-central-1il-central-1s3-us-west-1s3-eu-west-1s3-website-sa-east-1s3-website-ap-southeast-2ap-northeast-1ap-southeast-1s3-us-west-2s3-eu-west-2me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2s3-website-ap-southeast-1s3-1s3-globals3-ap-northeast-3eu-north-1airflowap-southeast-2s3-us-gov-east-1s3-fips-us-gov-east-1s3-me-south-1s3-ap-south-1ap-northeast-2s3-website-us-west-1ap-southeast-5s3-eu-north-1s3-ap-southeast-1s3-website-us-gov-west-1compute-1s3-eu-west-3us-gov-west-1s3-website-ap-northeast-1us-gov-east-1s3-fips-us-gov-west-1s3-website-us-east-1s3-ap-southeast-2ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3-us-east-2s3-ap-northeast-1authauthauth-fipsauth-fipseu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1rservicesbuilderstg-builderdev-builder*ociocpocsdemoinstanceeu-west-3eu-south-2ap-southeast-3ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1previeweu-4us-4us-1eu-1us-2eu-2us-3eu-3appspaasrag-cloudrag-cloud-chjcloudjcloud-ver-jpcdemonodebalancermembersipeuxvsoncillaocelotonzayalilynxsphinxfentigercustomercaracalo365cloudstaticxendevapp001testcode-builder-stgplatformapimediasiteprojedrydpagesjsu2u2-localx0desazacncoitrueu4uhkukgrbrushatenadiarymyspreadshopfrom-flfrom-wvwebspace-hosttheworkpchatenablogservesarcasmapplinzisakuratanwixsiteappchizigiizeis-into-carsdnsiskinkyadobeaemcloudis-a-therapistpgfogmyvncdojinis-an-actress1kappfldrvkozowqa2jpnmexprgmrfirewall-gatewaydynnscafjsfbsbxooguyxnbayfrom-gawoltlab-demois-a-anarchistwiardwebteaches-yogadattowebtb-hostinglive-websiteservegamegotpantheonfrom-nhsubsc-payfrom-ohvipsinaappfrom-cadyndns-officehomelinuxfrom-mahercules-appservebbsstreakusercontentfrom-okfrom-wyfastly-terrariumis-a-llamaqualyhqportalserveexchangeon-vaporvivenushopciscofreakgrayjayleaguesmetaaiusercontentfrom-iais-a-libertariansaves-the-whalestaveusercontentyolasiteoperaunitepoint2thisis-a-catererlinodeusercontentfrom-vagithubusercontentsells-for-lesshosteurcanva-appsplaystation-cloudddnsfreefrom-pafrom-prfrom-waddnskingoutsystemscloudhotelwithflightmydattois-a-nascarfanmydbserverminiserverdamnserverservehumouris-a-playerfrom-nvfrom-nmemergentagentgentappsamplifyappfrom-kyis-an-accountantnfshostserveircfrom-akpythonanywherestackhero-networkpostman-echolikescandydyndns-mailobservableusercontentserveftpfreeboxosfrom-utcdn77-storageamazonawsneat-urldyndns-serverlinodeis-a-teacherfrom-vtgleezemythic-beastsus1-pleniteu1-plenitla1-plenitpaywhirlservecounterstrikejdevcloudhealth-carereformis-into-animegoogleapisis-a-painterafricaisa-hockeynutatmetais-an-actora2hostedis-a-democratdatadetectest-le-patrondigitaloceanspacesis-a-designeris-a-hunterlinodeobjectstemp-dnsissmarterthanyoufrom-arsimplesiteevennodetownnews-stagingis-a-liberalgooglecodejelasticservemp3stdlibqualyhqpartnerdyndns-free1cooldnsest-a-la-masiondrayddnsdynuddnsfrom-orfrom-miis-a-bloggerfrom-himydobisscanvacodeis-an-engineerest-a-la-maisonupsunappdevinappswafflecellmyasustorwpenginepoweredfrom-ctservep2psame-appmyshopblocksthingdustdatalikes-piediscordsezis-with-thebanddev-myqnapcloudlpusercontentis-leetshopitsite3utilitiesis-a-personaltrainersinaappladeskis-a-cheflogoipselfipbase44-sandboxnospamproxyalibabacloudcsmesswithdnsauthgearappsiamallamawithgooglelutrausercontentmochausercontentframercanvasmytabitdyndns-homew-credentialless-staticblitzcpserverdiscordsaysis-a-nurseappspotatlassian-isolated-3premotewdfrom-mtwixstudiocode0emm180rmyactivedirectoryawsappsmytuleapdnsabrpolyspaceqbuserrenderbuiltwithdarkboutirgotdnsabrdnsdopaascanva-hosted-embedawsglobalacceleratorhomesecuritypcmyiphostditchyouripclever-clouddyndns-ipon-aptibleis-a-musiciansecuritytacticsappspaceusercontenthomeunixstrapiappsame-previewcf-ipfsmycloudnaselasticbeanstalkis-certifieddontexistkasserverik-serverdrive-platformatlassian-3pfirebaseappherokuappawsapprunnerbarsycenteris-a-cubicle-slaveservehttpmyshopifyis-a-guruquicksytessiiitesorsitesmagicpatternsappis-a-cpameteorappfrom-wiis-a-rockstarbumbleshrimpdattolocalreadthedocs-hostedfrom-rifamilydsdyndns-picsplesknsbplaceddnsaliasdynaliasdyndns-remotedoomdnsip-ddnsblogdnsis-a-doctorroutingthecloudamazoncognitobarsyonlinedsmynasddnsgurucloudflare-ipfsdeus-canvasfrom-idsmushcdnpagespeedmobilizerdyndns-at-homeunusualpersonhosted-by-previderis-a-republicandyn-o-saurstreamlitappworkisboringonthewificprapidqualifioappis-uberleetis-slickgetmyipwpdevcloudtypeformdyndns-at-workgentlentapismynascloudw-corp-staticblitzfrom-ingeekgalaxyservebeerfrom-mdonrenderspace-to-rentaivencloudappspacehostedonfabricawafaicloudcodespotblogspotatlassian-3p-us-gov-modfrom-ndfrom-msis-a-techieis-a-studentcustomer-ociis-a-photographerdurumisfrom-ksmassivegriddyndns-wikiis-an-entertaineris-a-hard-workermysecuritycamerafrom-mnrackmazedyndns-blogis-a-bulls-fanwritesthisblogfreemyipsimple-urlfrom-sdreservdauthgear-stagingest-mon-blogueuris-into-gamesrice-labsxtooldevicesakurawebis-an-anarchistoraclecloudappsdyndns-worksells-for-urhcloudfrom-dcfastvps-serverwpmucdnis-a-geekscrysecfrom-txis-into-cartoonsmodelscapetrycloudflarelocaltonetstreak-linkbalena-devicesfrom-njforgeblocksfreebox-oswebadorsitefrom-ncdoesntexisthobby-sitestreaklinkshomesecuritymacownprovidertuleap-partnersdattorelaywphostedmailalpha-myqnapcloudservequakeis-a-socialistservehalflifepivohostingdynuhostingquipelementsw-staticblitzdyndns-webfrom-deproject-studyaliases121is-not-certifiedhercules-devis-a-financialadvisorservepicsis-a-greenloseyouripfrom-ilwithyoutubemwcloudnonprodwiredbladehostingdnsdojofrom-tnpixolinomyqnapcloudis-an-artisthostedpiis-a-landscaperauiusercontentoaiusercontenton-forgeis-a-conservativedreamhostersnet-freaksapps-1and1is-goneencoreapifastly-edgefrom-nesalesforcefrom-scdeployagentoraclegovcloudappsfrom-alis-a-lawyercechirevultrobjectsstufftoreadisa-geekddnsgeeklovableprojecttry-snowplowfrom-moblogsyteis-a-bookkeepernogmyforumravendbmyboxdeelementoredsaacficogoorinforgcomgobnatneteduidstoreorgcomnetintedudevnomepublorgcomneteduathgovtestscalculatorspaynowinfoquizzesresearchedcloudnsfunnelsassessmentsjscaleforcetmacltdorgmilcompronetgovbizpresseklogesrsccloudcustomfltusrcloude4corealmgovmunicontentproxy9metacentrumdyndyndyndnsdynpagespages-researchitionoccustomercomymyspreadshopipv64diskussionsbereich4limacomrub2ixfirewall-gatewayddnssspdnsbarsykeymachinesquare7myhome-serverspeedpartnercommunity-proschuldockxenonconnectgünstigliefernbwcloud-os-instancedyndnssecmy-routerxn--gnstigliefern-wobin-butterl-o-g-i-nisteingeekin-dslin-berlinin-brbfuettertdasnetzleitungsenin-vpnlcube-serverdyn-ip24logoipdyn-berlinruhr-uni-bochum12hpgoipsrvdnsfruskygit-repossvn-reposinternet-dnsgünstigbestellenhome-webserverxn--gnstigbestellen-zvbbplacedheimdnscosidnswebspaceconfiglima-citydyndns1istmeinvirtualuserschulplattformmy-gatewayddnsseclebtimnetztest-iservmein-iservvirtual-userhome64iservschuletaifun-dnstraeumtgeradeschulserverdynamisches-dns123webseitednshomehs-heilbronndnsupdaterbssgraphicdwadpdwdaepeweaawapaafpfwfabwbpbacwcpcciwebuserapiobjectsidsiskospockkimodorikerbonesteamsparisjanewaypicardglobaltarpitreedpikekiraworfsulukirkarchertuckerhackercanarywesleystagingprereleaset3r2lpbravepanelngrokiservstglclcrmerpflypagesbarsyvivenushoplocalcertlocalplayerbearbloggatewaydeno-stagingis-not-ais-a-goodbotdashvercelmocha-sandboxplatter-appreplitgithubpreviewworkersinbrowserevervaultdetais-ahrsndenoxmitmodxmyaddrstorageapipayloadgrebedocruncontainersstgstagelclstageloginlineis-a-fullstackleapcellngrok-freeis-coolstoragewebharemediatechlibp2pdiscourseimaginecomyspreadshopstoreregbiz123hjemmesidefirmcoorgcomnetedugovsldorgmilcomwebgobartnetedugovtmorgpolcomsocartnetedugovassoagrondiscoodontk12medcuegyecpaabgengorgmilgalsaltulcomadmesmgobpubdocmonfindgnriouioproartlatvetnetfotedulojgovntrturibrbarxxxofficialbasechefprofmktgpsictechinfoarqtcontdentrrpppsiqgit-pagesritmedfieorgcomlibprieduaipgovriikmeactvsportorgmilcomscieunnetedugovnameinfopintouchtawktotawkmyspreadshoporgcomnomgobedu123miwebcomputeorgcomnetedugovbiznameinfocognito-idpeusc-de-east-1onjelasticnxaspdnsbarsydirectwpdeuxfleurstransurldogadoprvwcloudnsamazonwebservicesdnshomeuserpartycokoobinmkmstorjfidemopaasdymyspreadshopalandkapsiikixn--hkkinen-5wacloudplatformdatacenterhäkkinen123kotisivuidacorgmilcompronetedugovbiznameinforadioorgcomneteduuserexperts-comptablestmmyspreadshopgretaprdcomnomynhccifbxoshuissier-justicenotairesaeroportfreeboxoson-webavocatassoportgouvkdnschirurgiens-dentistes-en-franceavouesfbx-os123sitewebveterinairechirurgiens-dentistespharmacienchambagrimedecinfreebox-osdediboxgoupilemszicpyicpvicppleysheezypagesedugovcnpyorgcomcybllcpvtnetedugovtnxonlineschooldaemond6atcopanelorgnetplybotdashstackitkaasorgmilcomnetedugovbizmodltdorgcomedugovcoorgcomneteduappwriteacorgcomnetedugovcloudtranslateusercontentorgcomnetedumobiassoorgcomnetedugovbarsysimplesitediscourseindorgmilcomgobneteduorgcomwebnetedugovguaminfonxhra教育敎育網絡网絡组織組織网络網络组织組织公司政府個人个人箇人ltdorgcomincneteduidvgovxn--uc0ay4axn--55qx5dxn--mk0axixn--io0a7ixn--uc0atvxn--zf0avxxn--lcvr32dxn--od0algxn--wcvs22dxn--gmqw5axn--od0aq3bxn--mxtq1mxn--ciqpnxn--tn0agxn--gmq050iorgmilcomgobneteduiservwp2tempurlmircloudfreesitewpmudevmyfastgadgetcloudaccessjelehalfboltfastvpsemergenteasypanelopencraftizcombrendlynamefromrtpersoadultmedorgpolrelcomproartnetedufirminfoassoshopcoopgouvtmcomediahotelforumvideosportorgsexagrargameslakaseroticaerotikatozsdereklamcasino2000filmsuliinfoboltshopprivnewsszexcityutazasjogaszkonyveloingatlaneacaicogoormyᬩᬮᬶmilwebschnetkopbizzonedesaponpesxn--9tfkymyspreadshopgovmytabittabitorderravpageaccok12idforgnetgovmuniltdplcaccotttvorgcomnetmeca6g5gpgamubacaicniocoukuptverdruscsdelhiindorgmilcomwebnicfingenpronetintedugovresbizbiharbarsyinternetbusinessschooltravelsupabasealumnigujaratfirminfoaeropostbankcoopindevscloudnsno-ipbarsybarrell-of-knowledgebarrel-of-knowledgensupdategroks-thisdnsupdatefor-ourknowsitalldvrcammittwalddynamic-dnsv-infowebhopselfipdyndnshere-for-moreilovecollegemayfirstforumzcloudnsmittwaldservertypo3servergroks-theeusekd1uk0cdndyndnsidrawsainaueuapjpusstagemocksysdevicesclientcustreservdcustdevdisrecprodtestingcobeebyteutwenteboxfusebravepstmndedynngrokorgmilcomnomhzcnetedugovqcxqzzbarsythingdustmo-siemensrb-hostingprotonetfh-muenstergitbookbluebitecloudbeesusercontentnodeartkiloappsforgerockdarklangresinstagingapigeebubbleb-datascryptedhypernodedappnodepantheonsitegitlabgithubkeeneticvirtualservercleverappshostyhostingon-rioedugitticketstelebiton-acornwixstudioon-k3sicp0icp12038jeleqotobigvlairbubbleappsmyaddrstolosmyrdbxwebflowdrive-platformbeagleboardhasura-applolipopdefinimavaporcloudmusicianwebflowtestazurecontainerresindevicereadthedocsloginlineeditorxmoonscalesandcatsbasicserverwebthingsbrowsersafetymarkbeebyteappbitbucketidaccovistablogorgschnetgovxn--mgba3a4f16axn--mgba3a4fraarvanedgeايرانایرانjclaspeziapdudcefegelemeperetevebacanatavaparasabgagfgogrgpgalclblimfmrmcbmbvbfclcmcvcrcpcchlimifibicivipirisimncnbnanenrnpntnnolomobocoaogorosopotoptvtatctbtmtltotpulunutpspapaqsvpvvvtvavvrtrsrprgrfrcrbrarorkrvstsssbscsmsispzczbzbozen-suedtirolmyspreadshopxn--bulsan-sdtirol-nsbxn--valledaoste-ebbtrentinoaltoadigetrentin-sued-tirolxn--forlcesena-c8axn--forl-cesena-fcbxn--bozen-sdtirol-2obtriestetrentinsuedtiroltrentino-s-tirollecceudineaostesienaparmaluccapaviagenoapaduaaostamonzaabruzzoternirietiturinmilanbozenlaziofermoleccocuneonuoropratola-speziavdataaligfvgpugmolcalcamlomumbsicpmnvenvaoedugovabrsarmaremrbastoslazibxosfirenzetrentinosüdtirolval-d-aostavalle-aostamessinacremonaravennatoscanatrentin-suedtirolbolognacalabriaurbinopesarofriuli-v-giuliaogliastraxn--valle-aoste-ebblaquilaandriatranibarlettasyncloudtrentinosudtirolxn--valle-d-aoste-ehbaostavalleyvalled-aostatrentino-alto-adigevallee-d-aostexn--balsan-sdtirol-nsbpistoiasicilialucaniacataniaiserniaperugiabresciaveneziagorizialiguriaimperiabulsan-suedtirolbalsan-suedtirolbarlettatraniandriaxn--trentino-sdtirol-szbforlì-cesenatuscanyvallée-d-aostemantovavallée-aostecasertapiemontevalleaostaval-daostafriulivgiuliatrevisoforli-cesenavalléedaosteferrarapescaravald-aostatrentino-altoadigefriuli-vegiuliavallee-aostecarboniaiglesiastarantomediocampidanovalleedaostetrentinosud-tirolcampobassotrentinsüd-tiroltrentinosüd-tirolmonzabrianzatrentino-südtirolxn--trentino-sd-tirol-c3bpotenzacosenzavicenzaemiliaromagnavenicefrosinonemarchepordenonetrentinosued-tirolvaresemolisevalléeaostefriuli-veneziagiuliabasilicatalatinaanconasavonaveronamodenaaquilabiellabolzano-altoadigepugliafoggiaumbriatrentino-stirolgenovapadovamateranovararagusapiacenzatrentinostirolvalleeaostetempio-olbiatrentinsudtirolmassa-carrarafriuliveneziagiuliatrentinosuedtirolandria-barletta-tranitrapanixn--cesenaforl-i8amaceratacaltanissettaascoli-picenobrindisicarraramassacagliaririmininapolivibo-valentiachietibulsan-sudtirolbalsan-sudtiroltrentino-a-adigebulsanbalsaniglesiascarboniamilanotorinoteramodell-ogliastraarezzotrentinoalto-adigerovigotrentovenetoiglesias-carboniatrentino-sud-tirolaltoadigereggio-emiliareggio-calabriasardegnatranibarlettaandriapiedmontxn--sdtirol-n2amedio-campidanotrentino-süd-tirolfriuli-vgiuliafriuli-ve-giuliaromeennaromapisa32-b16-b64-blodiastibarineencomonaplesforlicesenailiadboxosalessandriasicilytrani-barletta-andriaxn--trentin-sdtirol-7vbpesarourbinotrentinsued-tirolcesena-forliforlìcesenaemilia-romagnamonzaebrianzaxn--trentinsdtirol-nsbtrentinos-tiroltrentinsüdtirolvalledaostaolbia-tempiocampidanomediovibovalentiasassarivalle-daostalombardyfriulivegiuliareggioemiliamonzaedellabrianzaalto-adigevercellitrentin-sudtiroltraniandriabarlettatrentino-sudtirolascolipicenobozen-südtirolfriulive-giuliaflorencevaldaostaxn--cesena-forl-mcbcarbonia-iglesiasaosta-valleycarrara-massadellogliastratrentinoa-adigexn--valleaoste-e7apesaro-urbinoxn--trentinosdtirol-7vbxn--trentin-sd-tirol-rzbxn--trentinsd-tirol-6vbtrani-andria-barlettatrentin-süd-tirolxn--trentinosd-tirol-rzbgrossetomonza-e-della-brianzasüdtirolreggiocalabriatrentinoaadigetrentin-südtirolfriuliv-giuliaverbaniacampaniatrentino-aadigefriulivenezia-giuliasardiniaandriabarlettatranibarletta-trani-andriacatanzarooristanourbino-pesarocesena-forlìvalle-d-aostacampidano-medio123homepagesiracusatempioolbiasuedtirollombardiaavellinocesenaforlìtrentinofriuli-venezia-giuliabozen-sudtirolandria-trani-barlettabulsan-südtirolbalsan-südtirolmonza-brianzabolzanotrentino-sued-tirolbellunosalernolivornocrotonesondriodnshometrentinsud-tirolmassacarraratrentin-sud-tiroltrentino-suedtirolviterbobergamocesenaforliolbiatempiopalermobeneventoagrigentoofcoorgnetfmaitvphdengorgmilcomschnetedugovperagrikanieasukehandachitatokaiaisaikonanoharuamaobuhigashiuraowariasahiinuyamatobishimaiwakurashitarainazawatoyonegamagorimihamatoyotataharakariyayatomioguchikomakimiyoshinishiotokonamekiyosuchiryutoyohashiokazakiisshikikasugaikotakiratoeianjotogofusosetohazutsushimashinshirotakahamanisshinshikatsuhekinantoyokawaichinomiyatoyoakeodateogataakitaikawakyowahonjoogayurihonjonoshirokamiokakatagamimitanegojomeyokotekosakadaisenkazunonikahohonjyomoriyoshimisatohappoukamikoanihachirogatahigashinarusesembokufujisatokitaakitaitayanagiowanitakkomutsutsurutahirosakigonoheoirasetowadamisawanohejiaomorishingohiranairokunohehashikamitsugarushichinohehachinohenakadomarisannohekuroishisakaeisumiasahiotakiinzaiabikomatsudoyachiyomutsuzawakujukuriomigawakashiwatoganemihamanaritasakuranagaramobarahanamigawachoshishiroichoseikozakishisuikatorimidorichonankyonanfuttsuonjukufunabashinagareyamanodasosatakochuotohnoshourayasukimitsuyokaichibayotsukaidosodegauratateyamakamagayayokoshibahikariyachimatakatsuuratomisatokisarazukamogawaichikawanarashinoichinomiyashimofusaminamibososhirakoichiharaoamishirasatoikatahonaiainansaijoseiyoiyoozuuwajimaniihamanamikatamasakiuchikokihokutobetoonshikokuchuomatsuyamaimabarikamijimakumakogenyawatahamamatsunosabaeikedaobamasakaifukuiohionotsurugamihamawakasaminamiechizeneiheijikatsuyamatakahamaechizensoedaukihaomutaokawanishiogoribuzenonojosueumiokiotochikugosasagurisaigawamizumakishinyoshitomikurumekurateyamadakasuganakamamiyamanogatatakatahakataiizukakawaratagawakasuyaashiyainatsukimunakataminamitsuikishonaikurogifukuchikeisenhigashimiyakoshinguyukuhashiokagakiyamekogaongausuikahotohochuotoyotsumiyawakadazaifuhisayamatachiaraiyanagawanakagawahirokawachikujochikushinochikuhochikuzennamieotamaokumashowateneiiwakikoorinangoononishigoshimogoomotegomishimafukushimaasakawakagamiishishirakawaiitatefutabahiratayugawahanawakitakatakawamatakunimiyabukibandaihigashihironoyamatomiharuyamatsuriaizubangedatesomaaizuwakamatsuyanaizuaizumisatonishiaizuizumizakikitashiobarataishinkaneyamakoriyamainawashirotanagurafurudonosamegawasukagawaishikawatamakawaikedaogakitaruiginanenahashimahichisonakatsugawaibigawashirakawamizunamiminokamomitakekawauesekigaharatomikasakahogikitagatayamagatatajimianpachimotosuyaotsukakamigaharahidakanisekitokigujominogodoyorogifukasamatsutakayamawanouchihigashishirakawakasaharashimonitatsumagoichiyodakannakanrashowameiwakiryuotaoratomiokafujiokaitakuranaganoharahigashiagatsumatakasakishibukawaminakamikatashinatsukiyonokawabanumataannakaoizumimidorishintoisesakiuenoyoshiokakusatsutakayamanakanojonanmokutamamuratatebayashimaebashiotakekaitadaiwahongofuchukuietajimashobaramiharahatsukaichihigashihiroshimamiyoshikumanokurenakasakaseraseranishiasaminamifukuyamashinichionomichiosakikamijimajinsekikogentakeharaotobenanaeikedatohmaozoraobiraabirakyowaeniwataikibibaisharirebunerimohiroooketootarupippunishiokoppechitosefurubirahakodateshiranukakitahiroshimakushiroobihironanporoiwamizawaniikappukunneppufukushimanakasatsunaitoyourakuromatsunaiakabirakamisunagawashibechaurakawakamifuranonakatombetsuasahikawashimokawakayabeokoppebiratoriabashirisaromaatsumanumatahidakabifukamukawamikasahorokanaitoyotomisarufutsuhigashikawaishikarikitamiyoichiesashiiwanaitomariminamifuranoakkeshifuranotoyakoyakumootoineppushikaoishiraoinemuronayorohaboroashorobihororishirifujiutashinaihokutotakasuebetsuurausuassabukikonaishimamakinaiedatetoyabieinikiesanuryuoumuteshikagarikubetsuashibetsukimobetsuaibetsutobetsusobetsuembetsushimizuchippubetsurishirihokuryuhoronobeshintokutsubetsushibetsuhonbetsumombetsutsukigatakuriyamakoshimizushiriuchikutchanmurorannoboribetsukamishihorowassamushinshinotsukembuchiwakkanaikamoenaikiyosatotakinoueshikabesunagawafukagawanakagawatakikawakamikawahigashikagurahamatonbetsumatsumaemoseushirankoshishakotanimakanemashikeotofuketomakomaisandatambaitamiawajikasaiasagoshisoonoakoyashirotoyookaminamiawajiinagawafukusakitakasagokamigorikasugaharimayokawaashiyahimejiakashitaishiaogakisannantakinosumototakarazukanishinomiyashingugoshikinishiwakiyokatakaaioimikisayoyabukawanishiamagasakisasayamashinonsenkakogawaichikawakamikawatatsunotsukubaiwamaogawaasahisakaitokaioaraiitakobandodaigosuifuinaamikasumigaurakashimaomitamayachiyoshimodatetomobetoridehitachinakainashikisakuragawakasamayawaramoriyahitachiomiyanamegatayamagatahitachikamisuushikutakahagiibarakitonekoganakasowayukimihojosomitoryugasakishimotsumafujishirotsuchiurachikuseihitachiotashirosatotamatsukuriuchiharashikahakuinanaotsubatawajimakahokukawakitatsurugikaganominotosuzuuchinadakomatsuanamizunakanotohakusannonoichikanazawaiwateshiwafudaikawaimoriokaofunatohanamakikuzumakikitakamininohekunoheyamadayahabasumitaichinosekitanohatahiraizumirikuzentakatajobojiotsuchihironomiyakoiwaizumikarumaiichinohenodakujitonooshushizukuishifujisawamizusawakamaishikanegasakimannoutazukotohiraayagawazentsujihigashikagawauchinomikanonjisanukimarugamemitoyotakamatsutadotsunaoshimatonoshoakuneamamiizumihiokiyusuikinkoisasookouyamanakatanekagoshimakanoyaisenkawanabeminamitanemakurazakitarumizunishinoomotematsumotosatsumasendaioimatsudaayaseebinamiurazushinakaiodawaraiseharasagamiharahakoneaikawakaiseiatsugitsukuihadanoyamatoyamakitazamaoisochigasakininomiyayokosukakamakuraminamiashigarafujisawasamukawakiyokawahiratsukayugawaraokawaumajikochitsunootoyoakiinonishitosayasudahidakamiharasakawaniyodogawahigashitsunokagamigeiseisusakiotsukinaharisukumomurototosakamiochitoyotosashimizumotoyamanankokunakamurakitagawayusuharaogunichoyoukiasoutoozugyokutoamakusamifunetakamoriyamagaminamataminamiogunikikuchisumotoyamatonagasumashikiaraokumamotokamiamakusanishiharayatsushiroayabeseikasakyoideineujinakagyokameokakyotangokyotanabekyotambaminamiyamashiroyamashinatanabeyawatawazukaminaminantanmiyazuhigashiyamafukuchiyamakitamukokamojoyokizumaizuruujitawaraoyamazakinagaokakyokumiyamakawagoeinabeshimameiwaasahitaikiudonoisetsukisosakikuwanamihamamiyamasuzukatamakimisuginabarikumanokomonominamiisewataraitobakiwatakikihotadomatsusakayokkaichikameyamaureshinoishinomakishichikashukuohirataiwaosakizaohigashimatsushimashikamaiwanumashibataogawaraonagawakawasakiseminemarumoriminamisanrikukakudamuratawakuyatomiyanatoriwataritagajomisatotomekamirifushiroishimatsushimayamamotoshiogamafurukawahyugaebinotsunosaitoayakushimanobeokakitauramiyazakitakazakigokaseshiibamimatashintomikunitomikitakatakobayashikawaminamitakaharukijotakanabemiyakonojonishimeranichinankitagawakadogawamorotsukakisofukushimaminamimakisakaeobuseikedaogawamiasaokayaasahiotakiotarichinoinaomichikumakomaganechikuhokukaruizawayasuokaooshikaikusakaminamiaikitogakushimatsukawakawakamitateshinatakamorikitaaikishiojirimiyadahakubaiizunaiijimaiiyamamiyotasuzakayasakatoguraookuwanagawaminowahirayayamagataminamiminowafujimiomachisakakitakaginaganonakanosakuhokomoronagisoshinanomachiwadauedaiidaharasuwatomiachiaokianankisosakunozawaonsenagematsutakayamashimosuwamatsumotoyamanouchinakagawamochizukiazuminotatsunoobamaomuraseihiunzenosetofutsuikichijiwanagasakiisahayahasamisaikaikawatanasasebohiradokuchinotsugototogitsutsushimashimabarashinkamigotomatsuurayamazoekashibaikomakawaitenrioyodosangokoryoudaojiikarugayamatokoriyamatenkawakatsuragikurotakikawakamimiyakemitsuetakatorikamikitayamayamatotakadahegurishinjokanmakisakuraitawaramotogoseoudanarasoniandokawanishishimoichihigashiyoshinokashiharashimokitayamanosegawayoshinomintsivorytopazsakuragehirnsumomoaseinetopalmail-boxmokurenyoitamuikaojiyagosensanjoaganomyokoseiroagaomishibataniigatanagaokamurakamiuonumayuzawakariwatagamitainaitsunanminamiuonumatochioyahikojoetsuseiroukamosadoizumozakitokamachiitoigawasekikawakashiwazakitsubamemitsukekokonoesaikiusukibeppuusahimeshimakunisakihasamataketatsukumihitaoitahijikusuyufukujukamitsuebungoonobungotakadaibaraniimibizentsuyamaokayamakasaokahayashimayakagemaniwaakaiwamisakishinjotamanotakahashikibichuowakesojanagishookumenannishiawakurakurashikiasakuchisetouchikagaminosatoshotomigusukunakagusukuyaeseizenaurumaiheyaaguniogiminanjokinminamidaitokitanakagusukuyonaguniokinawaishigakikunigamiurasoekadenataramahiraraginozataketomishimojizamamitonakiitomanhigashimotobuyonabarugushikamionnanahanagohaebarukumejimakitadaitonakijinnishiharayomitanginowantokashikiishikawaikedasuitaminohizuminishisakaikananabenodaitoosakasayamayaokishiwadatadaokakaizukatondabayashichihayaakasakakumatorikadomasayamahigashiosakashijonawatehirakatataishimisakitajirihannansennankatanotoyonominatosettsuhigashiyodogawaibarakinosekitachuohigashisumiyoshifujiiderakashiwaraizumiotsutoyonakamatsubaramoriguchiizumisanoshimamototakatsukineyagawahabikinotakaishikawachinaganoyoshinogarikamiminearitaouchiimarihizenogikashimaariakekiyamafukudomikitagatakitahataomachigenkaikanzakinishiaritakyuragisagataratosutakushiroishikaratsuhamatamakouhokukawagoeyoshidasatteogoseirumaasakaurawaogawaniizaomiyayoriiotakishikihonjooganohannohanyuinasaitamaokegawaarakawayoshikawayokozehasudasayamahidakafukayachichibuiwatsukiryokamiyoshimikamiizumifujimiwarabiranzanmiyoshiminanoyashiosakadosugitomisatohigashichichibutodasokakukiyonokazoshiraokakasukabekounosukawajimatsurugashimamiyashirokitamotohatoyamamoroyamahatogayakumagayakawaguchinagatorokamisatomatsubushinamegawatokigawakamikawafujiminohigashimatsuyamakoshigayatokorozawas3isk01isk02ryuohkoseikonanaishorittotakashimamaibarahikonetorahimenishiazaikokagamokotoyasuotsukusatsunagahamamoriyamatoyosatotakatsukinotogawaomihachimanhigashiomiakagiunnanizumogotsuamayatsukakakinokimatsuehamadamasudahikawahikimiokuizumoyasugiyakumomisatotamayuohdahigashiizumookinoshimanishinoshimatsuwanoshimaneshimadafujiedayoshidashimodagotembaiwataatamikosaiyaizuitoizumishimahaibaramakinoharaomaezakikawanehonkannamisusonohigashiizufukuroinumazukawazufujiaraishizuokahamamatsushimizuizunokunimatsuzakimorimachiminamiizunishiizukikugawakakegawafujikawafujinomiyaujiietsugaoyamayaitaohiranikkoashikagakuroisokanumasakurashioyakarasuyamamotegiichikaikaminokawatochigihagamokanogisanobatonasumibunasushiobaranishikatautsunomiyaiwafunemashikoshimotsukeohtawaratakanezawaitanokomatsushimatokushimaichibaminamiaizumiwajikikainanmiyoshinarutomimamugiananmatsushigesanagochishishikuinakagawamachidachiyodakomaefussainagitaitochofufuchuomeotahigashiyamatotoshimaokutamaaogashimakodairaedogawaarakawahachiojishinagawatachikawashibuyasuginamihinodekiyosesumidaoshimanerimamitakahamuraadachinakanomizuhobunkyomegurominatokoganeihigashikurumekokubunjihigashimurayamamusashimurayamatamakitahinochuokotokatsushikakouzushimaogasawaraakishimakunitachishinjukusetagayamusashinohachijoitabashiakirunohinoharachizunanbukotouramisasawakasayonagokogehinoyazutottorinichinansakaiminatokawaharaoyabetairainamiasahinantoimizufuchutakaokakurobeyamadajohanatoyamatonaminyuzenfunahashinakaniikawanamerikawaunazukitogahimiuozufukumitsutateyamakamiichiiwadearidayuasainamitaijikatsuragiaridagawatanabemihamahidakakainankiminomisatoshingushirahamakamitondayurakozakoyagobokitayamawakayamakudoyamahashimotokushimotokozagawahirogawakinokawanachikatsuurarsuseroeoishidasagaeoguniasahinagaitendonanyoobanazawanishikawasakataohkuratozawamikawamamurogawayamagatafunagatatakahatashonaishinjokahokuiideyuzakawanishitsuruokakaminoyamayamanobeshiratakamurayamanakayamakaneyamahigashineyonezawasakegawamitouubeyuuabushimonosekitabuseoshimatoyotaiwakunihikarishunannagatohagihofukudamatsutokuyamashowadoshitsurunanbukoshukaiminami-alpsnirasakikosugeotsukioshinohokutominobuyamanashifuefukichuokofuichikawamisatoyamanakakonakamichitabayamanishikatsuranarusawafujikawahayakawafujiyoshidafujikawaguchikouenohara長野京都岐阜大阪三重群馬千葉滋賀佐賀奈良adednelgaccogogror秋田愛知高知埼玉沖縄栃木熊本岩手青森山梨新潟島根鳥取長崎香川宮城石川大分宮崎茨城山口兵庫山形徳島広島福島福岡岡山富山静岡愛媛福井東京xn--4it168dhatenadiaryxn--vgu402ckawaiishophatenablogcocottenamaste北海道penneehimeiwateversestabachibashigagonnagunmapermahaccaakitaosakauh-ohblushkochiaichifukuikuroncapooitigohyogotokyokyotopunyuthickcheap0t00g00j0mie2-ddaapyawjg0amfemsubxiiboomoobutchueekpgwrgrherskrboyrdyupperunderflierchipsmydnsheavyangryhippygirlyrulez神奈川鹿児島和歌山bambinaxn--nit225kokayamasaitamaxn--k7yn95exn--1lqs03nsapporoparasitelolipopmcxn--efvn9sniigatafukuokatokushimafukushimahiroshimakagoshimafakefurokinawaxn--8pvr4ucoolblogxn--0trq7p7nnkawasakinagasakimiyazakichilloutxn--8ltr62kxn--klty5xpeeweezombiecutegirlxn--rny31hxn--uuwu58axn--ntso0iqx3axn--djrs72d6uytoyamanikitanyantakagawamimozanagoyaboyfriendxn--2m4a15egreaterchowderegoismyamagatafashionstorexn--elqq16hxn--pssu33lsendaimiyagixn--rht27zpecoriaomorisaloonwatsonvivianxn--djty4knobushipigboatnaganopinokoxn--f6qx53asadistvelvetsecretxn--5js045dchicappayamanashiibarakidigickgirlfriendxn--1lqs71dmongolianxn--c3s14mxn--qqqt11mtochigixn--5rtq34kparallelo0o0mondkobesagabonadecaoitanarafoolkilldecimainhiholomosblokilociaoundopupugifutankcrapflopnooroopsmodsholyjeezstripperpepperbittershizuokaxn--rht3dkitakyushureadymadeicurusversusmatrixxn--rht61ehungryfloppygloomycrankyhandcraftedlittlestarxn--klt787dxn--kltx9awhitesnowsunnydaytottorilovepoptheshopbuyshopxn--5rtp49cxn--d5qv7z876cwebaccelxn--kbrq7oxn--4pvxsxn--1ctwolovesickkumamotocatfoodxn--tor131oyokohamawakayamatonkotsuxn--ehqz56nxn--uist22hxn--6btw5axn--kltp7dyamaguchifrenchkisspussycatxn--4it797kxn--uisz3gbabybluexn--zbx025dnetgamersxn--7t0a264ckanagawaxn--6orx2rishikawaxn--ntsq17ghalfmoonschoolbusjellybeanxn--mkru45iusercontentlolitapunkxn--32vp30hsakurastoragehokkaidoshimanecandypopbabymilksupersaleweblikeraindropbackdropwebsozaikikirarahateblodaynightmeneacsccogoormobiinfoaeusxxorgmilcomnetedugovorgcomnetedugovbizinfotmprdorgmilcomnomedugovassnotairespresseassocoopgouvveterinairemedecinpharmaciensorgnetedugovtraorgcomedurepgovmeneperekgacscaiiocogoitoresmshsseoulbusanulsandaeguc01milvkimmvchungnamjeonnamjeonbukeliv-dnsgyeonggijejueliv-cdnincheondaejeongangwongyeongbukgwangjuchungbukgyeongnameliv-apicoeduindorgcomembnetedugovorgmilcomnetedugovjcloudorgcomnetintedugovperbnrinfocooyorgcomnetedugovipfscanvamypepw3sstorachakeeneticjoinmcinbrowserdwebcyonnftstoragemyfritzaemewphlxachotelltdorgcomwebsocschngonetintedugrpgovassnomgacsccoorgnetedugovbizinfo123websiteidorgmilcomasnnetedugovconfidmedorgcomplcschnetedugovaccoorgnetgovpresstmassoirseproxaccosoundcasthoptocraftvp4c66orgnetedugovitsmcdirmyboxbarsyedgestacksynologylogintonohostwebhopdiskstationi234tcp4hoocgroknoipprivmydsddnsdnsforlohmustransipdscloudfilegear-sgbrasiliafilegearframerbarsybarsyonlinecoprdorgmilcomnomedugovinforgcomnetedugovnameacprorgcomartnetedugovpresseinfoassoinstgouvorgnycedugovbarsydscloudjuorgcomnetedugovminisiteaccoororgcomnetgovorgmilcompronetintedugovbizmuseumnameinfoaerocoopaccoorgcomnetintedugovbizcooporgcomgobneteduorgmilcomnetedugovbiznameaccoorgmilneteduadvgovcoorgcomnetaltgovforgotherhiskeeneticispmanagernomassoprod5476132eastasiacentraluswesteuropewestus2eastus2rucdnwest1-usfra1-desandboxjls-sto1jls-sto3jls-sto2aglobalabglobalsslmapprodfreetlsmaplon-1lon-2ny-1fr-1sg-1ny-2paassnwebpaashostingjelasticnordeste-idcsocuserpagescwebfileblobservicebuscoreatlricnjsjelasticwebsitestoragesezagbinruhuukjptsmyspreadshopmynetnameakamaiorigin-stagingfrom-coipv64dynv6cdn77serveblogadobeaemcloudhicamsprytdnsupno-ipownipde5ovhicpfirewall-gatewaysytesmypsxbarsyusgovcloudapimyamazemyradwebakamaihdsaveincloudfastlylbfrom-lasubsc-paysquare7in-the-bandblackbaudcdnhomelinuxoninfernoctfcloudservebbsdns-dynamiccloudfrontakamai-stagingipifonyham-radio-opsenseeringclickrisingcommunity-profrom-nylocalcertgrafana-devedgesuite-stagingcloudflareanycasteating-organicatlassian-devmydattofeste-iplocaltotorprojectknx-serveredgekeycloudflareglobalcloudyclustercasacamserveftpakamaized-stagingakamaiorigindns-cloudmyeffectboomlabotdashbuyshousestwmailhetemlazure-mobilein-dslthruhereredirectmedynuddnsbouncemesupabaseluyanicloudappakamaicloudfunctionsdebiannhlfanpgafanstatic-accessin-vpnmysynologymafeloappudohomeftptrafficmanagersiteleafseidatmemsetcloudflarecloudaccesskeyword-onazure-apiis-a-chefdoes-itgets-itwebhopselfiphomeipkicks-assedgesuitewindowsserver-ontunnelmolemydissentscrapper-sitecloudflarecnuni5srcfggffiobbzabcdenodynuopikddnsvpndnsakadnselastxkinghostvps-hostfastlyhomeunixazureedgeshopselectdontexistmyfritzcloudjiffyalwaysdatasells-itsquaresbroke-itazurefddattolocalat-band-campmeinforumfamilydsazurestaticappsdefinimabplaceddnsaliasdynaliasnow-dnsblogdnsroutingthecloudendofinternetdsmynasakamaiedgemymediapcadobeio-staticakamaiedge-stagingakamaihd-stagingddns-ipprivatizehealthinsurancelive-onkrellianschokokeksmassivegridmysecuritycamerarackmazeserveminecraftfrom-azis-a-geekakamaizedmoonscalecryptonomicoffice-on-theusgovtrafficmanageradobeioruntimeedgekey-stagingreserve-onlinechannelsdvrdnsdojousgovcloudappcdn77-sslapps-1and1podzoneazurewebsitesdynathomescaleforceyandexcloudvusercontentisa-geekcdn-edgescoaemalcesappwriteazimuthtlonarvonoticeablestorecomwebrecnetperotherfirminfoartslgdloncogoiltdorgmilcolcomplcschgenngonetedugovbiznamefirmmobiacincoorgmilcomnomwebgobnetintedubizinfocomyspreadshopdemongovtransurl123websitehosting-clusterkhplaycistrongsnesosvalervålerxn--vler-qoaossandeheroysandeherøybøboheroyherøyxn--hery-iraxn--b-5gavalerbøboxn--b-5gasandesandexn--hery-iraxn--vler-qoavålerhåreålaahavaofsfvfhlolnlalrlhmfmtmahcostntbuåstrmreigersundmyspreadshopgálsáeidsvolltingvollgildeskalflorøvadsøvardøvanylvenxn--bhccavuotna-k7astrandaxn--kvnangen-k0axn--sknland-fxaxn--mosjen-eyarakkestadhyllestadnannestadvevelstadvaapstenordre-landsondre-landsøndre-landtjieltexn--vrggt-xqadsør-aurdalsor-aurdalheradstordmoldefordeførdeseljefedjeryggehemnexn--krehamn-dxasognegranesøgnebrynetjomevallebykletokkegiskedovretjømehobølvoldasaudatolgasømnaviknadønnasomnadonnatranafrananesnaraumasmolatrænafrænalesjasmølaørstaorstahitrafloraaukraloppafrøyarissasnasahalsagalsaromsaraisaráisafroyasnåsagronghobolfjelltydalårdalardalaskimharamkraanghkekråanghkesorumbarumhurumbærumsørummodumsálátbálátfrognbjugnvåganvagangulenskienløtenlotenstrynvefsnxn--merker-kuaskaunsveiobømlobomloskjåkvardoflorovadsosalatbalatsálatklæbuklabuselbubarduulvikskjakklepprisørxn--nttery-byaeflåeidflahofmilgolholsellomskifetvikdepvgsfhsaskerrisorhamarasnesåsnesrørosrorosxn--slat-5namasoynaroyvaroyluroydyroyaskoyradoyandoyrodoymeloyradøyandøyrødøymeløyaskøylurøydyrøymåsøyværøynærøyhoylandethøylandetdivtasvuodnalørenskoglorenskognesoddtangenxn--tjme-hraxn--smla-hraxn--stjrdal-s1aunjargalillehammerunjárgaxn--hamary-fyadavvenjargaxn--bearalvhki-y4a123hjemmesidegjerdrumxn--brnnysund-m8acxn--tnsberg-q1axn--mlatvuopmi-s4axn--snsa-roaxn--skierv-utaxn--brum-voatysfjordkvafjordeidfjordkvæfjordsongdalenmjondalenmjøndalenxn--gls-elackragerogáŋgaviikagangaviikasørreisasorreisasør-varangersor-varangerxn--risr-iraskiervaxn--frna-woaxn--trna-woakvinesdalleksvikleirvikrøyrvikroyrviksvelvikvenneslaevje-og-hornnessandnessjøenmarnardalvindafjordsandefjordenebakksnillfjordullensvangxn--trany-yuabrønnøysundnamsskoganaustevollxn--stjrdalshalsen-sqbnord-aurdalnord-frontrøgstadtrogstadgrimstadflakstadgjerstadxn--sandy-yuaxn--leagaviika-52bnore-og-uvdalvegarsheixn--rlingen-mxaxn--ggaviika-8ya47hvegårsheikarlsoykvitsoymasfjordenhamaroyinderoyosteroydavvenjárgasauheradguovdageaidnuxn--vre-eiker-k8abronnoysiellakkrødsheradkrodsheradkvinnheradbrønnøyxn--mtta-vrjjat-k7afxn--lrenskog-54akvitsøyvárggátkarlsøyosterøyinderøyhamarøybronnoysundxn--aurskog-hland-jnbbahccavuotnabáhccavuotnagiehtavuoatnastor-elvdalmidtre-gauldalxn--gildeskl-g0akarasjokevenassixn--bievt-0qaxn--yer-znalebesbynessebyxn--hbmer-xqamalselvmålselvxn--unjrga-rtamøre-og-romsdalmore-og-romsdalhareidmelandørlandorlandstrandålgårdsolundalgardafjordåfjorddielddanuorrikautokeinoxn--stre-toten-zcbskodjeaejriestangeliernebamblestokkefauskesnåasesnaasekongsvingerlangevagberlevagxn--flor-jrahattfjelldalostre-totenøstre-totenvestfoldxn--mely-iraálaheadjualaheadjunordreisaxn--troms-zuaxn--lgrd-poacporsangerflatangerstavangerleikangerbremangersamnangergieldakarasjohkaxn--rdy-0nabfrostautsirasnoasatromsaxn--sr-aurdal-l8aflekkefjordjølsterjolsteraremarkhedmarknååmesjevuemienaamesjevuemiexn--vard-jrarollagmeråkermerakerorskogørskogxn--bdddj-mrabdákŋoluoktaxn--osyro-wuaaknoluoktatrysilskjervøymandaljondalbindalrindalmeldalsuldalorkdalsigdalalvdallærdalhurdalsirdalverdallerdallardaloppdalåseralaseralhadselkragerødivttasvuotnaoverhallasteinkjerxn--hnefoss-q1askedsmokorsettromsøxn--dyry-iravestre-totenmuseumxn--sandnessjen-ogbrahkkeravjufylkesbiblbájddarbajddarxn--laheadju-7yarennesøyxn--koluokta-7ya57hxn--hgebostad-g3aleirfjordstorfjordbalsfjordbåtsfjordbatsfjordmuosátbievátloabátkárášjohkanøtterøyxn--mjndalen-64anordkappláhppilahppialstahaugsiljanverranrøykenroykenhaldenlyngenbergenhortenhønefosshonefosstroandinbeiarnvarggatosoyroosøyrotromsoidrettmuosatbievatruovatloabatvoagattynsetnessetxn--indery-fyaskánitskanitraholtråholtxn--ystre-slidre-ujbandebusarpsborgbearduxn--karlsy-fyahordalandjorpelandjørpelanddeatnuringsakersør-odalsor-odalxn--slt-elabringerikeaudnedalnittedalnissedalhemsedalslattumsurnadalxn--blt-elabelverumstjørdalnaustdalhjartdalgjøvikfyresdalhasviknarviklarvikgjovikmalvikgamviklenvikporsgrunnstjordalengerdaldrobakdrøbakxn--msy-ula0hvestvagoyxn--vgan-qoaxn--ryken-vuaxn--lten-graxn--stfold-9xaxn--hpmir-xqaxn--lury-iramálatvuopmimalatvuopmitysværkirkenesbirkenesmoskenesbáidárxn--fjord-lraxn--rdal-poabahcavuotnabáhcavuotnaxn--frde-gralindåsbearalvahkixn--hobl-iraráhkkerávjuxn--loabt-0qavågåáltábodøsundlundraderådeetnetimeholeauregrueoddavagavegaranatanaarnasolasulaaltalekafusavangbergkvamåmliamlibokntinnroangranosenoslobodorøstroststatåmotamotivguprivøyeroyerliermossvossxn--nvuotna-hwalusterlunnermarkerhábmerhabmerhvalerfjalerxn--rholt-mratysvarbaidarfitjargaularhápmirhapmirmelhusfosnesøksnesoksnestysneshemnesevenesflesbergeidsbergtonsbergtønsberglindasxn--sndre-land-0cbnamsosxn--srum-graøystre-slidreoystre-slidrevestre-slidretrondheimbalestrandxn--langevg-jxaaustrheimxn--skjk-soavagsoyaveroysandoykarmoyfinnoytranoyvestbytranbysykkylvenxn--hyanger-q1aspjelkavikandasuoloxn--fl-ziaxn--drbak-wuastathellexn--sr-varanger-ggbtelemarkxn--bhcavuotna-s4axn--porsgu-sta26fčáhcesuolocahcesuoloakrehamnåkrehamnsandøykarmøyfinnøytranøyvågsøyaverøynamdalseidxn--lesund-huabadaddjaxn--vegrshei-c0axn--btsfjord-9zagildeskålporsanguxn--trgstad-r1anávuotnanavuotnahammerfestxn--sgne-graxn--brnny-wuacibestadharstadnarviikaevenáššivestnesgjemnessandnesagdenesrennesoyxn--avery-yuaxn--tysvr-vrabearalváhkikongsbergspydebergrandabergxn--andy-iradavvesiidaxn--krdsherad-m8aporsáŋgufredrikstadbjerkreimringeburennebuaurskog-holandnotteroyxn--vgsy-qoa0jxn--rmskog-byaskierváivelandbyglandfrolandaurlandforsandxn--bjddar-ptamidsundålesundalesundfetsundfarsundovre-eikerøvre-eikerakershusxn--moreke-juasørfoldøstfoldostfoldsorfoldhøyangerhoyangerlevangerorkangertanangerxn--vestvgy-ixa6olillesandulsteinxn--rennesy-v1agranvinskjervoyxn--klbu-woalavagisxn--h-2faxn--ryrvik-byakafjordkåfjordseljordfolkebiblxn--gjvik-wuajevnakerxn--kfjord-iuabudejjuxn--kranghke-b0axn--davvenjrga-y4axn--rland-uuaxn--ldingen-q1axn--mlselv-iuaxn--rady-iraxn--linds-prabrumunddalxn--ygarden-p1amo-i-ranaeidskogrømskogromskoghjelmelandxn--finny-yuaxn--sr-odal-q1axn--skjervy-v1aballangenkvanangenkvænangengratangenxn--hmmrfeasta-s4acvossevangensuohkanxn--rde-ulaxn--mli-tlaxn--ksnes-uuanordlandskanlandskånlandsortlandfuoiskuxn--rros-graxn--hcesuolo-7ya35bxn--eveni-0qa01gagaivuotnagáivuotnaxn--seral-lradrammenmodalenmosjoenjan-mayentorskensteigengloppenxn--snes-poamatta-varjjatxn--sr-fron-q1aomasvuotnajessheimbådåddjåxn--krager-gyaxn--kvfjord-nxaxn--asky-iraxn--snase-nraxn--bidr-5nacholtålenxn--vads-jraxn--jlster-byamosjøenxn--rst-0nastavernxn--ostery-fyaxn--oppegrd-ixaxn--sknit-yqaxn--risa-5naoppegårdskiptvetrendalenholtalenxn--mot-tlaxn--lhppi-xqaxn--holtlen-hxaxn--srreisa-q1akopervikxn--muost-0qaxn--bmlo-grahokksundkvalsundegersundxn--karmy-yuaullensakerxn--hylandet-54axn--kvitsy-fyaxn--bod-2nalangevågberlevågkristiansandxn--rsta-frahornindalstjørdalshalsenstjordalshalsensandnessjoenhámmárfeastaxn--lrdal-srasør-fronsor-fronnord-odalkristiansundmátta-várjjatvestvågøynesoddennotoddenbuskerudøygardenoygardensalangenlavangenralingenrælingenlodingenlødingenleaŋgaviikalaakesvuemieleangaviikauenorgexn--srfold-byaaskvollxn--rskog-uuaxn--nry-yla5gxn--vry-yla5ghammarfeastaxn--rhkkervju-01afxn--givuotna-8yakommunekrokstadelvanedre-eikerhagebostadhægebostadxn--berlevg-jxakviteseidxn--s-1faxn--l-1faxn--nmesjevuemie-tcbafuosskomoårekemoarekexn--lt-liacxn--jrpeland-54asvalbardoppegardholmestrandtvedestrandsogndalsokndalarendalsunndalfolldalxn--krjohka-hwab49jlyngdaletnedalnorddalsaltdalgausdalskedsmovaksdalgjesdalstordalxn--frya-hraaarbortedrangedalxn--smna-graaurskog-hølandxn--vg-yiabtjeldsundhaugesundlindesnesxn--mre-og-romsdal-qqbxn--dnna-gradynmerseineshacknetenterprisecloudmineaccomaorimāoriorgmilcriiwigennetschoolhealthkiwigovtgeekxn--mori-qsacloudnsparliamentcomedorgcompronetedugovmuseumwebsitekinservicebarsywebsitebuildereerobookheimdnsleapcelleero-stagetechcrscsslorigingohomecdbedeeeiemesecabgngilnlalplchfisiincnnoroptatitmtltruauhulumkdkukskjplvtrgrfrkrhrusesismycynzcznetinteduassoososcloudstgbetaaezaeuhkusjshatenadiarycdn77hoptozaptois-a-knightmyftpno-ipjpnddnssdpdnsspdnsbarsysweetpepperis-a-bruinsfanis-very-sweetservegameis-a-soxfanhomelinuxcdn77-secureservebbsmisconfusedwebredirectblogsitefreedesktopcouchpotatofriestoolforgeaccesscamis-lostreadmyblogsmall-webfedorapeopleserveftpis-a-celticsfanmywirepotagertwmailin-dslsellsyourhomeread-booksfreeddnscable-modemis-savednflfanufcfanmlbfanstuff-4-saleendoftheinternetin-vpnmy-firewallhomeftpis-localis-a-chefboldlygoingnowherewebhopselfipkicks-assroxatunkcamdvrfedoraprojectgotdnsdvrdnsdyndnspubtlspimientahomeunixdontexistfedorainfracloudwmflabsfspagesbmoattachmentsteckidsfamilydsdnsaliasdynaliasnow-dnscloudnsdoomdnsduckdnsblogdnshomednsroutingthecloudendofinternetdsmynasip-dynamicpoivronhttpbinmyfirewallis-very-evilmysecuritycamerais-a-linux-userwmcloudis-a-geektuxfamilyis-a-candidatedoesntexistis-very-badhobby-sitegame-hostaltervistais-foundis-a-patsfandnsdojohepforgepodzonedynservcollegefanis-very-goodfrom-meis-very-niceisa-geeknerdpolacmedsldingorgcomnomgobabonetedupleskaemhlxmyboxrockyprvcydeuxfleurspdnscodebergheyflowstatichostorgmilcomnomgobneteduorgcomeduiorgmilcomngonetedugovcloudns1337ngrokacorggogfamcomwebgobnetedugokgopgkpgovgosbizpasaugumicsopozpapuwmwsrprusiskwpspkppspkmpspokeoiawsawifoumsdnskokwpmuppuppsppiwwiwoowuzswkzoschrzpisdnwzmiuwwitdpssewsseumigugimoirmpinbwinbwiihupporzgwgriwupowwskrwioswuozstarostwokonsulattmpccopruszkowmyspreadshopostrodakartuzyopolegminamediaustkazgorajgoraolawailawalomzawloclradombytomjaworznotargilubinkoninzagantorunkutnokepnonakloczestsopotsanokturekplockslasksklepzarowlukowmedaidgdaorgmilrelcomnomatmgsmartneteduelkgovwawsossexbiztgorysejnytychypomorzeboleslawiechomesklepsdscloudunicloudzakopanelegnicarawa-mazbydgoszczswidnikkrasnikwloclawekbielawamragowograjeworealestatebeskidykaszubymalopolskaprzeworskswiebodzinlecznadfirmaszkolawarmiagdyniamiastakazimierz-dolnymalborkswidnicadlugolekaostrolekapodlasieelblagtravelsimplesitezachpomormielecszczecinnieruchomosciwalbrzychlezajsklublinbedzinpoznanwielunmielnooleckostarachowicedkontopowiatwroclawrybniksuwalkileborkslupskgdanskostrowwlkptarnobrzegtourismwegrowkrakowglogowyou2pilanysamailwrocinfoagroautobeepshopprivlapypiszlodzcfolksecommerce-shopmazurypulawyskoczowrzeszowpomorskiezgierzkaliszolkuszlowiczostrowiecsosnowiecmazowszewodzislawbialowiezazgorzeleckatowicepabianicejelenia-gorawolominkarpaczsieradznowarudaczeladzkonskowolaskierniewiceswinoujscieturystykabieszczadycieszynketrzynolsztynbialystokbabia-goraprochowicewarszawastalowa-wolapolkowicegorlicegliwiceponiatowalimanowalubartowaugustowkobierzyceopocznognieznoszczytnokolobrzegshoparenapodhalebielskoklodzkostargardatwithplayitownnamecoorgnetedugovacorgcomproestnetedugovbiznameislaprofinforechtngrokmedaaaacacpaenglawjurbarbarsykeeneticavocatacctcloudnsorgcomsecplonetedugov123paginaweborgcomnetintedugovnomepublidkinbarsygovx443cloudnsorgmilcomnetedugovcooporgmilcomschnetedugovnamecomcannetlibassoaemclantmcontstoreorgcomnomrecwwwbarsyfirminfoshopartsstackitmyddnswebspacelima-cityacincooxorgedugovbarsybrendlyhbvpsvpsspectrumlandinghostingacppmordoviamcprecbgorgmilcomspbnetintedumsknovgovbirrasmcdirmytismircloudvladimirnalchikadygeyamarinepyatigorskmyjinobashkiriaeurodirvladikavkazna4ugroznykustanaikalmykiacldmaildagestaniranbuildcanvaliaravalwixdevelopmentappwritemigrationneedleverceldatabasestackitcodereplravendbonporterlovableaccoorgmilnetgovcoopmedorgcompubschnetedugovservicemecomygovorggovtvmedorgcomnetedugovinfoedgfacbmlonihkutwpsryxzbdtmacfhppmyspreadshopbrandpartiorgcomfhvpress123minsidaitcouldbeworlanbibkommunalforbundfhskiopsyskomvuxkomforbnaturbruksgymnloginlineorgcomnetedugovenscaledeuusentbotdaorgmilcomnetgovnowteleporthashbangplatformlovablebarsyshopwarebasehoplixbarsyonlinemsf5gitappgitpagecofigma-govcaffeinefigmacanvasoltstputerbarsysupportchatgptsquareomniweopensocialcpanelnotionnovecorewpsquaredpreviewjelecyonbyensrhtfastvpspieboxconvexjouwwebheyflowplatformshloginlinemadethissourcecraftclouderaorgorgcomartedugouvunivmeorgcomnetedugovsurveysstatichfheiyuxs4allprojectmyfastubervibehostapp-ionosdeployagentmecoorgcomschnetedugovbizcncostoreorgmilcomneteduembaixadaconsuladokiraranohoprincipesaotomeheliohobarsystorebaseshopwaresellfyabkhaziavologdamordoviapenzalenugsochinavoiexnetspbmsknovnorth-kazakhstanashgabadkareliaarmeniageorgiavladimirnalchikivanovobukharaadygeyakhakassiakalugakrasnodarjambylaktyubinsktroitskbryanskobninskkurganazerbaijanpokrovskbashkiriatselinogradvladikavkazmurmansktulatuvamangyshlaktashkentchimkentgroznykaragandatermezarkhangelskkustanaikalmykiabalashoveast-kazakhstankaracoldagestantogliattibarsyredorgcomgobedumirenknightpointaccoorgjelasticdiscoursecleverappsschacmiincogoornetonlineshopcogoorgmilcomwebnicnetintedugovbiznametestcoorgmilcomnomnetedugovorangecloudpersoindorgcomfinnatnetgovensmincomtourismintlinfox0611oyaorgmilcomnetedugovquickconnectvpnplusnettprequalifymeaddrmyaddrntdllwadlnctvavdrk12orgmilpolbeltelcomwebgennetedutskkepgovbbsbiznameinfocoorgmilcompronetedugovbiznameinfobetter-thanworse-thansakurafromdyndnson-the-webmymailerorgmilurlcomneteduidvgovmydnsgameclubebizmeneacsccogotvorhotelmilmobiinfovodteiflgplkmsmsbcckhincndnvncoztltmkckppzpdprvcvkvlvcrkrkscxuzchernovtsyrivneyaltaodesavolynrovnolutskltdinforgcomnetedugovbizvinnicazhitomirternopilpoltavakropyvnytskyizaporizhzhiasevastopolsebastopoluzhgoroduzhhorodkharkovkharkivvinnytsiakhmelnytskyizaporizhzhecrimeaodessazhytomyrnikolaevcherkassydonetskluganskluhanskkirovogradivano-frankivskchernivtsikrymkievkyivlvivsumyzakarpattiamykolaivcherkasychernigovkhersonchernihivdnipropetrovskdnepropetrovskkhmelnitskiyneacsccogoorusorgmilcomedugovvmdhmyspreadshopadimono-ipbarsybytemarkbarsyonlinelayershiftnh-servretrosnubapicampaignservicelugaffinitylotteryweeklylotteryraffleentrygluglugsmeaccoindependent-inquestnimsitecopropymntltdorgplcschnetgovnhsbarsyindependent-commissionindependent-reviewpolicepublic-inquiryindependent-panelconnhospindependent-inquiryroyal-commissionoraclegovcloudappscck12libccphxcclibpvtparochchtrcck12libcceatonk12coglibtecgendstmusann-arborwashtenawcck12glghcck12sealibforksolympiabainbridge-islkeyporthoquiamyarrow-pointcentraliaport-townsendsequimport-ludlowrentonsilverdalebremertonredmondsheltonbellevueport-orchardport-angeleskingstonchehalisaberdeengig-harborseattlepoulsboidmdndsddemenegacalamaiavawapailalflnmdcncscohnhmihiviwiriinmntnmocoutvtctmtgunjokakwvnvprarorasmskstxwynykyazisadninsnngosrvis-bymircloudservernamepointtoenscaledland-4-salefreeddnsstuff-4-saleazure-apinoipcloudnsgolffanheliohostazurewebsitesgvorgmilcomgubneteducoorgcomnetd0egvorgmilcomnetedugovmydnsiacostoree12orgmilcomnomwebgobbibrectecnetintedugovraremprendefirminfoartseducok12orgcomnethidnsidacaiiosonlahanamhanoicamauhueorgcompronetintedugovbizbacninhtayninhhoabinhnamdinhtravinhhaiphongvinhlonghaiduongquangnamquangtrithuathienhuequangninhbacgianghaugiangquangbinhsoctrangbentrethanhphohochiminhdanangkontumhatinhkhanhhoathanhhoahealthgialailaocaiyenbaibackanngheanlonganphuyenphuthocanthodaklakdongnainameinfovinhphucdongthapkiengiangtiengiangquangngailaichaulangsonlamdongdaknonghagiangangiangcaobangbinhduongninhthuanbinhthuanbaclieuthaibinhninhbinhbinhdinhtuyenquanghungyenbaria-vungtauthainguyendienbienbinhphuocschbizputerimagine-proxyorgcomnetedugovcloud66advisormypetsdyndnsxn--8dbq2axn--4dbgdty6cxn--5dbhl8dxn--hebda8bxn--80auxn--d1atxn--c1avgxn--o1acxn--o1achxn--90azhxn--55qx5dxn--uc0atvxn--od0algxn--wcvs22dxn--gmqw5axn--mxtq1mxn--12c1fe0brxn--h3cuzk1dixn--12co0c3b4evaxn--12cfi8ixb8lxn--o3cyx2axn--m3ch0j3axn--j1adpxn--90amcxn--90a1afxn--h1ahnxn--j1ael8bxn--h1alizxn--c1avgxn--j1aefxn--80aaa0cvacxn--41acaffeineexeopentunnelbotdashtelebitorgtmaccoagricorgmilnomwebnicngonetaltedugovlawnisschoolgrondaraccoorgmilcomschnetedugovbizinfoprg1-zeropstritonstackitlimazeropsaccoorgmilgovяспборгкоммскбизмирсамаракрымсочиакодпроргобрупрצהלממשלישובאקדמיהองค์กรธุรกิจรัฐบาลศึกษาทหารเน็ต教育網絡組織公司政府個人닷넷한국澳门新闻澳門联通家電嘉里招聘通販닷컴삼성コムგეбгрфеюadcdbdgdidmdsdtdaebedeeegeiejekemenepereseveyegabacalamanauavapaqasazacfbfafgfnfpfwftfbgcgagggegkgngmgsgpgvgtgugilmlnlalclglplsltlhmimjmkmmmomambmcmdmfmgmzmpmsmtmgbbblbsbecccacnclcmcvctcscmhkhghchbhthphshlinikifigiaibicivisikninhnmncnbngnsnpnvntnjoionomobocoaofodorosotoptstttytatbtetgtithtmtltrusuvuaucueuguhulumunufjdjbjtjsjlkmkhkfkdkcktkukskpkgpmpnpkpjpgqaqmqiqsvtvcvbvmvlvrwpwtwzwbwcwawgwkwmwtrsrprgrfrercrbrarnrmrlrkrirhrwsusrssspsgsesbsaslsmsissxmxaxcxuypysylymykygybycyuztzsznzmzkzdzczbzazελευ世界台灣购物公益点看臺灣网络書籍在线网站手机机构大拿游戏信息台湾谷歌慈善商标香港中国餐厅网址中國商城食品微博政务移动集团公司八卦商店健康网店政府时尚佛山中信娱乐广东企业homedepotengineeringاماراتrepublicankuokgroupversicherungchannelcitadelxn--pgbs0dhxn--b4w605ferdstatebankwebsitexn--mgb9awbf亚马逊淡马锡alibabaxn--ngbc5azdxn--mgbbh1axn--45br5cyltoshibabuildworldcloudtradeguideplacespacedancemoviephoneprimesmilebiblestyleappleazurestoreskypegripexn--l1accdrivelottehorsehouseleasechasereisestadahondaomegaaetnaamicaninjanokiamediadeltavodkaedekaosakapizzaslingemailgmailtirolshelltmallfinallegaltotalhotelamfamforumrehabmusicciticricohcoachwatchboschearthfaithirishmiamiarchidubaiguccipraxiみんなストアセールcanonsalononionnikonepsonkoelngreensevencrownikanoradioaudioweiboglobopromogalloyahoociscorodeovideomangobingotokyovolvolottokyotophotosmartsportquesttrusthyattjetztadultcymrubaidutushuxn--kprw13dubankclickblackmerckgroupsharpcheapnowtvxn--h2brj9cקוםհայоргсрбмонкомбелмкдқазрусукрمصرقطرعربكومdadcfdmedwedredphdthdbidpidkrdmsdltdiceonewmeglemoerwecfageacbanbambaaaammakianraspacpaaxawtfbcgaegongingaigvigorgdogdhlmilrilonlaolloluoljllcalgalnflafltelsrlfrllplkimibmcamcombommomifmabbjcbscbcabnabtabmlbpubabcbbcnecincpncllcstcwtcpwcnyckfhbzhovhmoiskiobisbitcifyituipinvinwinxincbnbcnmanfangdnmenrenkpnmtnyunrunfununobiojioriohbogmofooboooooacoecoceongoproartistottnttbbtcateatlatvetpetbetnethktmitfitintjothotgotdotbotprueduicujnjyouinknhktdkappsapgapmapdnptopgopllpjmpzipvipripesqtrvdtvitvdevmovgovhivnrwlawsewnewbmwwownowhowdvrftrmtrsfrbarcartvscrseusawsupsubssbsadsddsldssasbmsmlsxxxboxfoxgmxtjxsextaxbuyflydiysoyjoyskypaydaygayxyzanzbizwebersenerpokerlameractortatarsolarລາວคอมไทยtourslocusnexuslexusgiftsbeatsboatspartspressglassswissकॉमनेटtiresgivescodeshomesgamestunesshoescardswalesloansvegastoolsdealsautosparisファッションworkssucksrocksxeroxforexfedexpartylillymoneystudyrugbytoraytoday中文网xn--unup4y天主教飞利浦新加坡enterprises我爱你嘉里大酒店christmasxn--fct429kholdingsxn--8y0a063axn--mgbx4cd0ablifestyleabogadoallstatenetbankكاثوليكxn--s9brj9cxn--gk3at1ebestbuycharityxn--55qx5dmicrosoftpropertybasketballhomegoodscorsicajewelrygallerygrocerysurgerycountrybrusselsverisignferreroxn--czr694bhdfcbankcommbanksoftbankپاكستانپاکستانnextdirectالسعوديهالعليانxn--h2brj9c8cxn--80adxhksshikshaxn--mgbai9azgqp6jcuisinellabarclayscatholicxn--kpry57dcompanyxn--xhq521bblackfridayxn--mgba3a3ejtsandvikxn--d1acj3bacademydownloadمليسياxn--j1amhxn--w4r85el8fhu5dnraipirangaathletaxn--fhbeixn--mgbqly7cvafrzuerichxn--c2br7gஇலங்கைcontractorsxn--io0a7igraphicsinsurancetemasekxn--xkc2al3hye2amotorcyclesphotographydirectoryplumbingxn--vhquvclothingtrainingcleaningwilliamhilllightingxn--mgba3a4f16ashoppingcateringeducationokinawapicturesventuresproductionsxn--9et52uwalmartഭാരതംsupportrealestatecapitalonexn--nqv7fs00emaauspostfloristdentistxn--qxamgodaddybradescobargainsmitsubishikerryhotelsxn--9dbq2axn--3pxu8kimmobilienxn--fjq720axn--mgbtx2bholidaymckinseymadridbusinessbuildershelsinkixn--4gbrimмоскваالسعودیةcoffeedegreelacaixapartnersalsaceofficeabbvievoyageorangegeorgeonlinechromemobilekindlegoogleoraclecircleschulesecureinsurexn--mgba7c0bbn0aestatexn--mgbc0a9azcgcruisehangoutxn--vuq861bxn--42c2d9arexrothfirestoneuniversityxn--nnx388alifeinsuranceextraspaceонлайнvermögensberatersoftwarexn--fiqs8sxn--mgbab2bdxn--w4rs40ltiendaभारतम्africatoyotaotsukasakuracameracreditcardnagoyaconsultingnetworkjunipertheatermonsterprogressivepioneerxn--55qw42gracingdatingvotingvikinglivinggivingxn--bck1b9a5dre4cbrotherweatherjoburgفلسطينlplfinancialxn--clchc0ea0b2g2a9gcdfutbolschoolsocialglobaldentalwoodsidechanelairtelmatteltravelrealtorwebcamstreamభారత్unicomalstomxn--nodexn--6frz82gmuseumfurniturexn--rvc1e0am3exn--mix891faccenturexn--11b4c3dismailineustardiscountquebeccomsecclinicservicesxn--y9a3aqxn--c1avgswatchchurchsearchالاردنmarketingcontacthealthmonashshoujisanofitaipeiamericanexpresssuzukiアマゾンクラウドポイントbhartiグーグルxn--mgberp4a5d4armemorialxn--1qqw23alondonmormoninstitutevisionbostonnortoncouponmaisonamazonvirginberlindesigndurbanolayannissananquanxihuanhitachikaufengardenreisenbayerntechnologydatsunxn--90a3aclatinocasinostudiophysioxn--ngbe9e0apharmacytattootaobaoaramcoexpertreportabbottdirectselectimamatfairwindspictettargetmarketintuittravelersinsurancecreditdupontryukyusuppliesxn--tckwebnpparibasschmidtmerckmsdyodobashirestaurantbridgestonecricketxn--fpcrj9c3dbostikbroadwayattorneylefrakemerckxn--fiq228c5hscareersfarmerswinnersflowersxn--wgbh1cguitarsxn--54b7fta0ccxn--p1acfmakeupgalluplandroverxn--kcrx77d1x4agoldpointbauhausxn--mgbayh7gpahiphopplaystationxn--mgba3a4fraxn--eckvdtc9dhyundaixn--gckr3f0fistanbulticketsmarketsflightschintaireviewsxn--3e0b707ewindowsxn--fiqz9sfinancialxn--fzys8d69uvgmابوظبيdiscoverreviewবাংলাxn--5su34j936bgsgmoscowobserverapartmentsдетиارامكوсайтeurovisionxn--i1b6b1a6a2exn--xkc2dl3a5ee0hتونسموقعبارتڀارتشبكةعمانبيتكعراقreadkredbondlandbandfundfoodprodgoldfordtubecafesafelifeggeeieeefreefagepagegugezonewinememenamegamesaleablebikenikelikecarecbreherefiresaveloveliveblueartedatesitevotecaseluxebofamodaltdaasdatiaayogasinavanashiaasiajavabbvatevavivadatazaraarpacasavisasncfprofmaifsurfgolfdvagsongbingpingwangkpmggoogblogpohlfailcooldellcalldeallidlsarlfilmteamroomfarmimdbarabclubhdfcicbchsbcgmbhrichtechfishdishcashminiernikddiaudiwikimobitaxicitikiwidesiqponskinloanakdnwienopenporncerntownimmolimoolloinfonicofidolegosaxozeroaerovivoautovotomotofastbestresthostpostnextlgbtchatseatgiftmeetdietreitmintrentgentspotscotguruitausohumenucyoubanklinkpinkdclktalksilkbookseekworkrsvpaarpjeepshopcoophelpcamppccwshowbeerstarruhrflirweirhaircarsparsjprshausplusnewstipstoysjobskidsfanspicsdocsxboxamexsexynavycitysonyarmyallybabyplaydeliverybuzzgbizlamborghiniphilipsලංකාಭಾರತfitnessexpresslanxesspfizercenterwalterlawyersoccercareerkosherbrokerlockerdealerdoctorauthorxn--mgbqly7c0a67fbcvermögensberatungjaguarxn--pssy2uxn--hxt814eflickrrepairrogersairbusxn--mgbai9a5eva00beventsyachtsxn--t60b56aভাৰতভারতभारतभारोतviajeshermeshughesxn--j1aefसंगठनvillasଭାରତclaimshotelsભારતzapposphotosjuegoscondostatamotorsgratistennisਭਾਰਤtkmaxxtjmaxxschaeffleryandexxn--80aswgrealtysafetybeautyluxuryxn--3ds443gsupplyfamilyxn--o3cw4hhockeysydneyxn--90aenissayalipayenergycomputeragencyxn--rovu88b電訊盈科xn--gecrj9cstatefarmaccountantaquarelleolayangroup香格里拉xn--p1ai组织机构xn--1ck2e1bxn--mgbt3dhdschwarzموريتانياabudhabinowruzkomatsufujitsuhospitalxn--80asehdbxn--mgbtf8flxn--j6w193gxn--yfro4i67oprudentialxn--flw351ecruisescoursesrecipesxn--e1a4cferrarixn--ses554gxn--wgbl6awatchesstaplessinglesxn--mgbcpq6gpa1axn--otu796dpropertiescreditunionxn--mgbah1a3hjkrdstockholmhisamitsuالسعوديةstcgroupdomainsoriginscouponsbloombergclubmedfroganslimitedxn--80aqecdr1aexposedinternationalequipmentbarclaycardxn--q7ce6axn--mgbi4ecexpprotectionassociatesconstructionxn--cck2b3bxn--45q11candroidfoundationישראלxn--mgbca7dzdocliniqueboutiqueengineerxn--qxa6asystemsfirmdalefashionauctionxn--nqv7finfinitirentalsreliancetradingweddingfishinghostinggentingbookingcookingxn--3hcrj9cgraingerxn--czrs0tdemocratsamsungyokohamaxn--h2breg3evexn--nyqy26alundbeckmelbournevacationssolutionsfrontierxn--vermgensberatung-pwbmanagementxn--cg4bkixn--mgb2ddeslincolnhamburgsandvikcoromantblockbusterairforcebarefootxn--4dbrk0ceinvestmentsfeedbackcommunityxn--ngbrxالبحرينdiamondsamsterdamhealthcareredumbrellaxn--mxtq1mxn--2scrj9cagakhanxn--mgbpl2fhкатоликcaravanசிங்கப்பூர்richardlimortgageamericanfamilyxn--fzc2c9e2cscholarshipssaarlandxn--imr513nvlaanderensamsclubgoodyearkitchenஇந்தியாweatherchannelallfinanzxn--kput3iالسعودیۃxn--90aisxn--efvy88hالجزائرxn--mgbaam7a8hexchangejpmorganxn--tiq49xqyjfidelitysecurityxn--mk1bu44cwanggouxn--fiq64bxn--6qq986b3xlxn--mgbbh1a71exn--80ao21amarshallsxn--5tzm5gtravelerspanasoniclatrobeyoutubeaccountantsxn--rhqv96gxn--cckwcxetdanalyticsxn--ygbi2ammxبازاربھارتسوريةorganicfreseniusسورياxn--9krt00axn--qcka1pmcxn--jlq480n2rgdeloittesciencefinancexn--jvr189mxn--30rr7yhomesensehotmailbaseballfootballleclercboehringerxn--q9jyb4cxn--mix082fاليمنهمراهpolitieسودانايرانایرانnetflixyamaxunxn--lgbbat1ad8jcollegestoragecapetowncolognekerrypropertiesxn--mgbgu82axn--ogbpf8flxn--czru2dwhoswhociprianilasallexn--g2xx48cforsalebanamexaudiblexn--vermgensberater-ctbxn--zfr164bericssonvanguardxn--45brj9cindustriestheatremarriottxn--3bst00mcomparexn--mgberp4a5d4a87gcapitaldigitalالمغربbarcelonashangrilaxn--d1alfcalvinkleinwwwcitysapporokawasakinagoyasendaikobekitakyushuyokohamackjp",doe=621,foe=625,qj=Pl.length,Wj=t1.length,Vj=new Uint32Array(Wj),S0=new Uint32Array(Wj),g3=new Int32Array(qj).fill(-1);for(let e=0,t=0;e<qj;e+=1)for(let n=e1[e];n<e1[e+1];n+=1){Vj[n]=t;const r=t+t1[n];let a=5381;for(let s=r-1;s>=t;s-=1)a=a*33^m3.charCodeAt(s);S0[n]=a>>>0,t1[n]===1&&m3.charCodeAt(t)===42&&(g3[e]=n),t=r}let yo=-1,v3=0,y3=0;function H6(e,t,n,r){if(t1[e]!==r)return!1;const a=Vj[e];for(let s=0;s<r;s+=1)if(m3.charCodeAt(a+s)!==t.charCodeAt(n+s))return!1;return!0}function q6(e,t,n,r,a){let s=e1[e],i=e1[e+1];for(;s<i;){const c=s+i>>>1,u=S0[c];if(u<t)s=c+1;else if(u>t)i=c;else{for(let f=c;f>=s&&S0[f]===t;f-=1)if(H6(f,n,r,a))return f;for(let f=c+1;f<i&&S0[f]===t;f+=1)if(H6(f,n,r,a))return f;return-1}}return-1}function W6(e,t,n){let r=t,a=e.length,s=5381;yo=-1;for(let c=e.length-1;c>=0;c-=1){const u=e.charCodeAt(c);if(u===46){const f=c+1;let h=q6(r,s>>>0,e,f,a-f);if(h===-1&&(h=g3[r]),h===-1)return yo!==-1;r=B6[h],(Pl[r]&n)!==0&&(yo=r,v3=f,y3=a),a=c,s=5381}else s=s*33^u}let i=q6(r,s>>>0,e,0,a);return i===-1&&(i=g3[r]),i!==-1&&(r=B6[i],(Pl[r]&n)!==0&&(yo=r,v3=0,y3=a)),yo!==-1}function kNe(e,t,n){if(uoe(e,t,n))return;const r=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0);if(W6(e,foe,r)){n.isIcann=(Pl[yo]&1)!==0,n.isPrivate=(Pl[yo]&2)!==0,n.publicSuffix=e.slice(y3+1);return}if(W6(e,doe,r)){n.isIcann=(Pl[yo]&1)!==0,n.isPrivate=(Pl[yo]&2)!==0,n.publicSuffix=e.slice(v3);return}n.isIcann=!1,n.isPrivate=!1;const a=e.lastIndexOf(".");n.publicSuffix=a===-1?e:e.slice(a+1)}const hoe=()=>x.jsxs("div",{className:"hidden h-full w-[17%] min-w-40 max-w-64 shrink-0 flex-col gap-1 border-r border-line p-3 md:flex",children:[x.jsx("div",{className:"mb-3 h-6 w-24 rounded bg-surface-sunken"}),Array.from({length:6}).map((e,t)=>x.jsxs("div",{className:"flex items-center gap-2 py-1.5",children:[x.jsx("div",{className:"size-5 shrink-0 rounded bg-surface-sunken"}),x.jsx("div",{className:"h-3.5 flex-1 rounded bg-surface-sunken"})]},t))]}),poe=()=>x.jsx("div",{className:"min-w-0 flex-1",children:Array.from({length:8}).map((e,t)=>x.jsxs("div",{className:"flex items-start gap-3 border-b border-line py-2 pl-5 pr-4",children:[x.jsx("div",{className:"mt-0.5 size-7 shrink-0 rounded-full bg-surface-sunken"}),x.jsxs("div",{className:"flex-1 space-y-1.5",children:[x.jsxs("div",{className:"flex justify-between gap-2",children:[x.jsx("div",{className:"h-3.5 w-28 rounded bg-surface-sunken"}),x.jsx("div",{className:"h-3 w-12 rounded bg-surface-sunken"})]}),x.jsx("div",{className:"h-3.5 w-48 rounded bg-surface-sunken"}),x.jsx("div",{className:"h-3 w-full rounded bg-surface-sunken"})]})]},t))}),wv=()=>x.jsxs("div",{className:"flex h-full animate-pulse bg-canvas","aria-hidden":"true",children:[x.jsx(hoe,{}),x.jsx(poe,{})]}),Uk="e840ae56ecb374927aecec03ae1c1ca4e92e9b3e",moe="2026-09-03T02:06:41.480Z",goe=Uk.slice(0,7),voe=/^[0-9a-f]{40}$/.test(Uk),yoe=voe?`https://github.com/remit-mail/reader/commit/${Uk}`:void 0,boe="https://github.com/remit-mail/reader/issues/new";class xv extends Error{constructor(t,n,r){super(t),this.status=n,this.body=r,this.name="ApiError"}status;body}const b3=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),Gj=e=>{const t=e instanceof xv?e.body:e;if(!b3(t))return;const{code:n,details:r}=t;if(typeof n=="string")return{code:n,details:b3(r)?r:void 0}},Soe=(e,t)=>{if(b3(e)&&e.message!==void 0&&e.message!==null){const n=String(e.message);if(n)return n}return`Request failed with status ${t}`},woe=(e,t)=>new xv(Soe(e,t),t,e),ns=e=>{if(e instanceof xv)return e.status;if(e&&typeof e=="object"){const t=e;if(typeof t.status=="number")return t.status;if(typeof t.statusCode=="number")return t.statusCode}},Kj=e=>ns(e)!==void 0,Cv=e=>{const t=ns(e);return t!==void 0&&t>=500&&t<=599},Ev=e=>!!(typeof DOMException<"u"&&e instanceof DOMException&&e.name==="AbortError"||e&&typeof e=="object"&&"name"in e&&e.name==="AbortError"),xoe=()=>typeof navigator<"u"&&navigator.onLine===!1,Yj=e=>Ev(e)||Kj(e)?!1:e instanceof Sk?!0:xoe(),Coe=e=>!Kj(e)&&!Ev(e)&&!Yj(e),Zj=e=>Cv(e)||Coe(e),Eoe=e=>ns(e)===401,_oe=(e,t)=>{if(t?.softError===!0)return!0;const n=t?.softErrorStatuses;if(!Array.isArray(n))return!1;const r=ns(e);return r!==void 0&&n.includes(r)},jk=(e,t,n="nobody")=>Cv(e)?!0:Ev(e)||Yj(e)?!1:n==="user"&&Eoe(e)||Zj(e)?!0:!_oe(e,t),koe={softError:!0},Xj=(...e)=>({softErrorStatuses:e}),Aoe=e=>ns(e)===404,Ioe=e=>Cv(e),S3=new Set;let Qj=null,Jj=null;const Roe=e=>{Jj=e},Toe=e=>e instanceof Error?e:new Error(ez(e)),ez=e=>e instanceof Error?e.message||e.name:typeof e=="string"?e:e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"?e.message:"An unexpected server error occurred.",Ooe=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`fatal-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,Wi=(e,t)=>{const n={error:e,message:ez(e),correlationId:Ooe(),at:Date.now(),recoverable:t?.recoverable??Ioe(e),stack:e instanceof Error?e.stack:void 0,componentStack:t?.componentStack};Qj=n,Uoe(`Fatal: ${n.message} [${n.correlationId}]`),Jj?.recordError(Toe(e),{fatal:"true",correlationId:n.correlationId});for(const r of S3)r(n);return n},Noe=e=>(S3.add(e),()=>{S3.delete(e)}),Moe=()=>Qj,Poe=20,w0=[],Doe=new Set(["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications"]);function Loe(e){return typeof e!="string"?!1:Doe.has(e.replace(/\.\s*$/,""))}function x0(e){w0.push(e),w0.length>Poe&&w0.shift()}function Uoe(e){x0(e)}function joe(e){return e.map(t=>{if(typeof t=="string")return t;if(t instanceof Error)return`${t.name}: ${t.message}`;try{return JSON.stringify(t)}catch{return String(t)}}).join(" ")}function zoe(){const e=console.error.bind(console);console.error=(...t)=>{x0(joe(t)),e(...t)},window.addEventListener("error",t=>{Loe(t.message)||(x0(`Uncaught ${t.error instanceof Error?`${t.error.name}: ${t.error.message}`:String(t.message)} (${t.filename}:${t.lineno})`),Wi(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{const n=t.reason,r=n instanceof Error?`${n.name}: ${n.message}`:String(n);x0(`Unhandled rejection: ${r}`),Wi(n)})}function Foe(){return w0.slice()}const $oe=8,Tu=[];function Boe(e){const t=e.split(/[?#]/)[0],n=Tu[Tu.length-1];n&&n.path===t||(Tu.push({path:t,timestamp:new Date().toISOString()}),Tu.length>$oe&&Tu.shift())}function Hoe(){return Tu.slice()}const yw=7500,V6=`
|
|
149
149
|
… (truncated — the copy action on this screen has the full report)`;function n1(e){return{appShortSha:goe,appCommitUrl:yoe,appBuildTime:moe,userAgent:navigator.userAgent,viewport:`${window.innerWidth}×${window.innerHeight}`,timestamp:new Date().toISOString(),timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,href:window.location.href,recentErrors:Foe(),requests:Ree(),routes:Hoe(),failingRequest:Tee(),errorMessage:e?.errorMessage,stack:e?.stack,componentStack:e?.componentStack,quarantine:e?.quarantine,title:e?.title}}function bw(e){return["```",e,"```"].join(`
|
|
150
150
|
`)}function tz(e){const t=/T(\d{2}:\d{2}:\d{2})/.exec(e);return t?t[1]:e}function qoe(e){return`- **Version**: ${e.appCommitUrl?`[\`${e.appShortSha}\`](${e.appCommitUrl})`:`\`${e.appShortSha}\``} built ${e.appBuildTime}`}function Woe(e){const t=e.status===0?"no response (transport failure)":`${e.status}`;return["## Failing request",`- **Endpoint**: \`${e.path}\``,`- **Method**: ${e.method}`,`- **Status**: ${t}`,`- **Correlation id**: ${e.correlationId??"(none)"}`,""]}function Voe(e){return e.length===0?["## Recent API requests","(none)",""]:["## Recent API requests","| Time | Method | Path | Status | Duration | Correlation |","| --- | --- | --- | --- | --- | --- |",...e.map(n=>{const r=n.status===0?"ERR":`${n.status}`;return`| ${tz(n.timestamp)} | ${n.method} | \`${n.path}\` | ${r} | ${n.durationMs}ms | ${n.correlationId??""} |`}),""]}function Goe(e){return e.length===0?["## Navigation trail","(none)",""]:["## Navigation trail",...e.map(n=>`- ${tz(n.timestamp)} \`${n.path}\``),""]}function nz(e,t){const n=e.recentErrors.length>0?e.recentErrors.map(s=>` - ${s}`).join(`
|
|
151
151
|
`):" (none)",r=["## Environment",qoe(e),`- **Browser**: ${e.userAgent}`,`- **Viewport**: ${e.viewport}`,`- **Time**: ${e.timestamp} (${e.timezone})`,"","## URL",e.href,""];if(e.errorMessage&&r.push("## Error",e.errorMessage,""),e.failingRequest&&r.push(...Woe(e.failingRequest)),e.quarantine){const s=t?.quarantineStructure??e.quarantine.structure;r.push(e.quarantine.head,"",bw(s),"",e.quarantine.disclaimer,"")}const a=t?.stack??e.stack;return a&&r.push("## Stacktrace",bw(a),""),e.componentStack&&r.push("## Component stack",bw(e.componentStack),""),r.push(...Voe(e.requests)),r.push(...Goe(e.routes)),r.push("## Recent console errors",n,"","## Steps to reproduce","1. ","","## Expected behaviour","","## Actual behaviour",""),r.join(`
|
|
@@ -290,5 +290,5 @@ https://www.w3ctech.com/topic/2226`));let c=n(...i);return c.postcssPlugin=t,c.p
|
|
|
290
290
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),k1.LANG&&k1.LANG.startsWith("cn")&&console.warn(t+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
291
291
|
https://www.w3ctech.com/topic/2226`));let c=n(...i);return c.postcssPlugin=t,c.postcssVersion=new MI().version,c}let s;return Object.defineProperty(a,"postcss",{get(){return s||(s=a()),s}}),a.process=function(i,c,u){return Bt([a(u)]).process(i,c)},a};Bt.stringify=X3e;Bt.parse=n_e;Bt.fromJSON=Q3e;Bt.list=r_e;Bt.comment=e=>new jH(e);Bt.atRule=e=>new zH(e);Bt.decl=e=>new LH(e);Bt.rule=e=>new FH(e);Bt.root=e=>new $H(e);Bt.document=e=>new UH(e);Bt.CssSyntaxError=K3e;Bt.Declaration=LH;Bt.Container=Z3e;Bt.Processor=MI;Bt.Document=UH;Bt.Comment=jH;Bt.Warning=J3e;Bt.AtRule=zH;Bt.Result=e_e;Bt.Input=t_e;Bt.Rule=FH;Bt.Root=$H;Bt.Node=a_e;Y3e.registerPostcss(Bt);var s_e=Bt;Bt.default=Bt;const mn=yEe(s_e);mn.stringify;mn.fromJSON;mn.plugin;mn.parse;mn.list;mn.document;mn.comment;mn.atRule;mn.rule;mn.decl;mn.root;mn.CssSyntaxError;mn.Declaration;mn.Container;mn.Processor;mn.Document;mn.Comment;mn.Warning;mn.AtRule;mn.Result;mn.Input;mn.Rule;mn.Root;mn.Node;class PI{constructor(...t){_a(this,"parentElement",null),_a(this,"parentNode",null),_a(this,"ownerDocument"),_a(this,"firstChild",null),_a(this,"lastChild",null),_a(this,"previousSibling",null),_a(this,"nextSibling",null),_a(this,"ELEMENT_NODE",1),_a(this,"TEXT_NODE",3),_a(this,"nodeType"),_a(this,"nodeName"),_a(this,"RRNodeType")}get childNodes(){const t=[];let n=this.firstChild;for(;n;)t.push(n),n=n.nextSibling;return t}contains(t){if(t instanceof PI){if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0}else return!1;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1}appendChild(t){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(t,n){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(t){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}const Z9={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},X9={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},n0={},o_e=()=>!!globalThis.Zone;function DI(e){if(n0[e])return n0[e];const t=globalThis[e],n=t.prototype,r=e in Z9?Z9[e]:void 0,a=!!(r&&r.every(c=>{var u,f;return!!((f=(u=Object.getOwnPropertyDescriptor(n,c))==null?void 0:u.get)!=null&&f.toString().includes("[native code]"))})),s=e in X9?X9[e]:void 0,i=!!(s&&s.every(c=>{var u;return typeof n[c]=="function"&&((u=n[c])==null?void 0:u.toString().includes("[native code]"))}));if(a&&i&&!o_e())return n0[e]=t.prototype,t.prototype;try{const c=document.createElement("iframe");document.body.appendChild(c);const u=c.contentWindow;if(!u)return t.prototype;const f=u[e].prototype;return document.body.removeChild(c),f?n0[e]=f:n}catch{return n}}const RE={};function zo(e,t,n){var r;const a=`${e}.${String(n)}`;if(RE[a])return RE[a].call(t);const s=DI(e),i=(r=Object.getOwnPropertyDescriptor(s,n))==null?void 0:r.get;return i?(RE[a]=i,i.call(t)):t[n]}const TE={};function BH(e,t,n){const r=`${e}.${String(n)}`;if(TE[r])return TE[r].bind(t);const s=DI(e)[n];return typeof s!="function"?t[n]:(TE[r]=s,s.bind(t))}function i_e(e){return zo("Node",e,"ownerDocument")}function l_e(e){return zo("Node",e,"childNodes")}function c_e(e){return zo("Node",e,"parentNode")}function u_e(e){return zo("Node",e,"parentElement")}function d_e(e){return zo("Node",e,"textContent")}function f_e(e,t){return BH("Node",e,"contains")(t)}function h_e(e){return BH("Node",e,"getRootNode")()}function p_e(e){return!e||!("host"in e)?null:zo("ShadowRoot",e,"host")}function m_e(e){return e.styleSheets}function g_e(e){return!e||!("shadowRoot"in e)?null:zo("Element",e,"shadowRoot")}function v_e(e,t){return zo("Element",e,"querySelector")(t)}function y_e(e,t){return zo("Element",e,"querySelectorAll")(t)}function HH(){return DI("MutationObserver").constructor}function Cc(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],a=n(r);return typeof a=="function"&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}const it={ownerDocument:i_e,childNodes:l_e,parentNode:c_e,parentElement:u_e,textContent:d_e,contains:f_e,getRootNode:h_e,host:p_e,styleSheets:m_e,shadowRoot:g_e,querySelector:v_e,querySelectorAll:y_e,mutationObserver:HH,patch:Cc};function Ir(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const Pu=`Please stop import mirror directly. Instead of that,\r
|
|
292
292
|
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
|
|
293
|
-
or you can use record.mirror to access the mirror instance during recording.`;let Q9={map:{},getId(){return console.error(Pu),-1},getNode(){return console.error(Pu),null},removeNodeFromMap(){console.error(Pu)},has(){return console.error(Pu),!1},reset(){console.error(Pu)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Q9=new Proxy(Q9,{get(e,t,n){return t==="map"&&console.error(Pu),Reflect.get(e,t,n)}}));function gp(e,t,n={}){let r=null,a=0;return function(...s){const i=Date.now();!a&&n.leading===!1&&(a=i);const c=t-(i-a),u=this;c<=0||c>t?(r&&(clearTimeout(r),r=null),a=i,e.apply(u,s)):!r&&n.trailing!==!1&&(r=setTimeout(()=>{a=n.leading===!1?0:Date.now(),r=null,e.apply(u,s)},c))}}function Sy(e,t,n,r,a=window){const s=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(i){setTimeout(()=>{n.set.call(this,i)},0),s&&s.set&&s.set.call(this,i)}}),()=>Sy(e,t,s||{},!0)}let z1=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(z1=()=>new Date().getTime());function qH(e){var t,n,r,a;const s=e.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:s.documentElement.scrollLeft||s?.body&&((t=it.parentElement(s.body))==null?void 0:t.scrollLeft)||((n=s?.body)==null?void 0:n.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:s?.documentElement.scrollTop||s?.body&&((r=it.parentElement(s.body))==null?void 0:r.scrollTop)||((a=s?.body)==null?void 0:a.scrollTop)||0}}function WH(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function VH(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function GH(e){return e?e.nodeType===e.ELEMENT_NODE?e:it.parentElement(e):null}function Rr(e,t,n,r){if(!e)return!1;const a=GH(e);if(!a)return!1;try{if(typeof t=="string"){if(a.classList.contains(t)||r&&a.closest("."+t)!==null)return!0}else if(T1(a,t,r))return!0}catch{}return!!(n&&(a.matches(n)||r&&a.closest(n)!==null))}function b_e(e,t){return t.getId(e)!==-1}function OE(e,t,n){return e.tagName==="TITLE"&&n.headTitleMutations?!0:t.getId(e)===ip}function KH(e,t){if(Ph(e))return!1;const n=t.getId(e);if(!t.has(n))return!0;const r=it.parentNode(e);return r&&r.nodeType===e.DOCUMENT_NODE?!1:r?KH(r,t):!0}function P_(e){return!!e.changedTouches}function S_e(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function YH(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function ZH(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function D_(e){return e?e instanceof PI&&"shadowRoot"in e?!!e.shadowRoot:!!it.shadowRoot(e):!1}class w_e{constructor(){xe(this,"id",1),xe(this,"styleIDMap",new WeakMap),xe(this,"idStyleMap",new Map)}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function XH(e){var t;let n=null;return"getRootNode"in e&&((t=it.getRootNode(e))==null?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&it.host(it.getRootNode(e))&&(n=it.host(it.getRootNode(e))),n}function x_e(e){let t=e,n;for(;n=XH(t);)t=n;return t}function C_e(e){const t=it.ownerDocument(e);if(!t)return!1;const n=x_e(e);return it.contains(t,n)}function QH(e){const t=it.ownerDocument(e);return t?it.contains(t,e)||C_e(e):!1}var kt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(kt||{}),gt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(gt||{}),Hr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Hr||{}),ho=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(ho||{}),yd=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(yd||{}),Du=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Du||{}),JH=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(JH||{});function J9(e){return"__ln"in e}class E_e{constructor(){xe(this,"length",0),xe(this,"head",null),xe(this,"tail",null)}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=n?.next||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&J9(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&J9(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const eD=(e,t)=>`${e}@${t}`;class __e{constructor(){xe(this,"frozen",!1),xe(this,"locked",!1),xe(this,"texts",[]),xe(this,"attributes",[]),xe(this,"attributeMap",new WeakMap),xe(this,"removes",[]),xe(this,"mapRemoves",[]),xe(this,"movedMap",{}),xe(this,"addedSet",new Set),xe(this,"movedSet",new Set),xe(this,"droppedSet",new Set),xe(this,"removesSubTreeCache",new Set),xe(this,"mutationCb"),xe(this,"blockClass"),xe(this,"blockSelector"),xe(this,"maskTextClass"),xe(this,"maskTextSelector"),xe(this,"inlineStylesheet"),xe(this,"maskInputOptions"),xe(this,"maskTextFn"),xe(this,"maskInputFn"),xe(this,"keepIframeSrcFn"),xe(this,"recordCanvas"),xe(this,"inlineImages"),xe(this,"slimDOMOptions"),xe(this,"dataURLOptions"),xe(this,"doc"),xe(this,"mirror"),xe(this,"iframeManager"),xe(this,"stylesheetManager"),xe(this,"shadowDomManager"),xe(this,"canvasManager"),xe(this,"processedNodeManager"),xe(this,"unattachedDoc"),xe(this,"processMutations",t=>{t.forEach(this.processMutation),this.emit()}),xe(this,"emit",()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new E_e,a=u=>{let f=u,h=ip;for(;h===ip;)f=f&&f.nextSibling,h=f&&this.mirror.getId(f);return h},s=u=>{const f=it.parentNode(u);if(!f||!QH(u))return;let h=!1;if(u.nodeType===Node.TEXT_NODE){const S=f.tagName;if(S==="TEXTAREA")return;S==="STYLE"&&this.addedSet.has(f)&&(h=!0)}const m=Ph(f)?this.mirror.getId(XH(u)):this.mirror.getId(f),g=a(u);if(m===-1||g===-1)return r.addNode(u);const y=qu(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:S=>{YH(S,this.mirror)&&this.iframeManager.addIframe(S),ZH(S,this.mirror)&&this.stylesheetManager.trackLinkElement(S),D_(u)&&this.shadowDomManager.addShadowRoot(it.shadowRoot(u),this.doc)},onIframeLoad:(S,w)=>{this.iframeManager.attachIframe(S,w),this.shadowDomManager.observeAttachShadow(S)},onStylesheetLoad:(S,w)=>{this.stylesheetManager.attachLinkElement(S,w)},cssCaptured:h});y&&(t.push({parentId:m,nextId:g,node:y}),n.add(y.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)tD(this.removesSubTreeCache,u,this.mirror)&&!this.movedSet.has(it.parentNode(u))||s(u);for(const u of this.addedSet)!nD(this.droppedSet,u)&&!tD(this.removesSubTreeCache,u,this.mirror)||nD(this.movedSet,u)?s(u):this.droppedSet.add(u);let i=null;for(;r.length;){let u=null;if(i){const f=this.mirror.getId(it.parentNode(i.value)),h=a(i.value);f!==-1&&h!==-1&&(u=i)}if(!u){let f=r.tail;for(;f;){const h=f;if(f=f.previous,h){const m=this.mirror.getId(it.parentNode(h.value));if(a(h.value)===-1)continue;if(m!==-1){u=h;break}else{const y=h.value,S=it.parentNode(y);if(S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const w=it.host(S);if(this.mirror.getId(w)!==-1){u=h;break}}}}}}if(!u){for(;r.head;)r.removeNode(r.head.value);break}i=u.previous,r.removeNode(u.value),s(u.value)}const c={texts:this.texts.map(u=>{const f=u.node,h=it.parentNode(f);return h&&h.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(h),{id:this.mirror.getId(f),value:u.value}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:f}=u;if(typeof f.style=="string"){const h=JSON.stringify(u.styleDiff),m=JSON.stringify(u._unchangedStyles);h.length<f.style.length&&(h+m).split("var(").length===f.style.split("var(").length&&(f.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:f}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:t};!c.texts.length&&!c.attributes.length&&!c.removes.length&&!c.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(c))}),xe(this,"genTextAreaValueMutation",t=>{let n=this.attributeMap.get(t);n||(n={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(n),this.attributeMap.set(t,n));const r=Array.from(it.childNodes(t),a=>it.textContent(a)||"").join("");n.attributes.value=A1({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:I1(t),value:r,maskInputFn:this.maskInputFn})}),xe(this,"processMutation",t=>{if(!OE(t.target,this.mirror,this.slimDOMOptions))switch(t.type){case"characterData":{const n=it.textContent(t.target);!Rr(t.target,this.blockClass,this.blockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:xB(t.target,this.maskTextClass,this.maskTextSelector,!0)&&n?this.maskTextFn?this.maskTextFn(n,GH(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,a=t.target.getAttribute(r);if(r==="value"){const i=I1(n);a=A1({element:n,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:i,value:a,maskInputFn:this.maskInputFn})}if(Rr(t.target,this.blockClass,this.blockSelector,!1)||a===t.oldValue)return;let s=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(a))if(!n.contentDocument)r="rr_src";else return;if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(t.target,s)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!wB(n.tagName,r))if(s.attributes[r]=SB(this.doc,sc(n.tagName),sc(r),a),r==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const i=this.unattachedDoc.createElement("span");t.oldValue&&i.setAttribute("style",t.oldValue);for(const c of Array.from(n.style)){const u=n.style.getPropertyValue(c),f=n.style.getPropertyPriority(c);u!==i.style.getPropertyValue(c)||f!==i.style.getPropertyPriority(c)?f===""?s.styleDiff[c]=u:s.styleDiff[c]=[u,f]:s._unchangedStyles[c]=[u,f]}for(const c of Array.from(i.style))n.style.getPropertyValue(c)===""&&(s.styleDiff[c]=!1)}else r==="open"&&n.tagName==="DIALOG"&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case"childList":{if(Rr(t.target,this.blockClass,this.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),a=Ph(t.target)?this.mirror.getId(it.host(t.target)):this.mirror.getId(t.target);Rr(t.target,this.blockClass,this.blockSelector,!1)||OE(n,this.mirror,this.slimDOMOptions)||!b_e(n,this.mirror)||(this.addedSet.has(n)?(L_(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||KH(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[eD(r,a)]?L_(this.movedSet,n):(this.removes.push({parentId:a,id:r,isShadow:Ph(t.target)&&Dh(t.target)?!0:void 0}),k_e(n,this.removesSubTreeCache))),this.mapRemoves.push(n))});break}}}),xe(this,"genAdds",(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(OE(t,this.mirror,this.slimDOMOptions))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[eD(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Rr(t,this.blockClass,this.blockSelector,!1)||(it.childNodes(t).forEach(r=>this.genAdds(r)),D_(t)&&it.childNodes(it.shadowRoot(t)).forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}})}init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function L_(e,t){e.delete(t),it.childNodes(t).forEach(n=>L_(e,n))}function k_e(e,t){const n=[e];for(;n.length;){const r=n.pop();t.has(r)||(t.add(r),it.childNodes(r).forEach(a=>n.push(a)))}}function tD(e,t,n){return e.size===0?!1:A_e(e,t)}function A_e(e,t,n){const r=it.parentNode(t);return r?e.has(r):!1}function nD(e,t){return e.size===0?!1:eq(e,t)}function eq(e,t){const n=it.parentNode(t);return n?e.has(n)?!0:eq(e,n):!1}let Lh;function I_e(e){Lh=e}function R_e(){Lh=void 0}const St=e=>Lh?(...n)=>{try{return e(...n)}catch(r){if(Lh&&Lh(r)===!0)return;throw r}}:e,zl=[];function $p(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function tq(e,t){const n=new __e;zl.push(n),n.init(e);const r=new(HH())(St(n.processMutations.bind(n)));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function T_e({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const a=typeof t.mousemove=="number"?t.mousemove:50,s=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let i=[],c;const u=gp(St(m=>{const g=Date.now()-c;e(i.map(y=>(y.timeOffset-=g,y)),m),i=[],c=null}),s),f=St(gp(St(m=>{const g=$p(m),{clientX:y,clientY:S}=P_(m)?m.changedTouches[0]:m;c||(c=z1()),i.push({x:y,y:S,id:r.getId(g),timeOffset:z1()-c}),u(typeof DragEvent<"u"&&m instanceof DragEvent?gt.Drag:m instanceof MouseEvent?gt.MouseMove:gt.TouchMove)}),a,{trailing:!1})),h=[Ir("mousemove",f,n),Ir("touchmove",f,n),Ir("drag",f,n)];return St(()=>{h.forEach(m=>m())})}function O_e({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const i=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,c=[];let u=null;const f=h=>m=>{const g=$p(m);if(Rr(g,r,a,!0))return;let y=null,S=h;if("pointerType"in m){switch(m.pointerType){case"mouse":y=ho.Mouse;break;case"touch":y=ho.Touch;break;case"pen":y=ho.Pen;break}y===ho.Touch?Hr[h]===Hr.MouseDown?S="TouchStart":Hr[h]===Hr.MouseUp&&(S="TouchEnd"):ho.Pen}else P_(m)&&(y=ho.Touch);y!==null?(u=y,(S.startsWith("Touch")&&y===ho.Touch||S.startsWith("Mouse")&&y===ho.Mouse)&&(y=null)):Hr[h]===Hr.Click&&(y=u,u=null);const w=P_(m)?m.changedTouches[0]:m;if(!w)return;const C=n.getId(g),{clientX:_,clientY:k}=w;St(e)({type:Hr[S],id:C,x:_,y:k,...y!==null&&{pointerType:y}})};return Object.keys(Hr).filter(h=>Number.isNaN(Number(h))&&!h.endsWith("_Departed")&&i[h]!==!1).forEach(h=>{let m=sc(h);const g=f(h);if(window.PointerEvent)switch(Hr[h]){case Hr.MouseDown:case Hr.MouseUp:m=m.replace("mouse","pointer");break;case Hr.TouchStart:case Hr.TouchEnd:return}c.push(Ir(m,g,t))}),St(()=>{c.forEach(h=>h())})}function nq({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){const i=St(gp(St(c=>{const u=$p(c);if(!u||Rr(u,r,a,!0))return;const f=n.getId(u);if(u===t&&t.defaultView){const h=qH(t.defaultView);e({id:f,x:h.left,y:h.top})}else e({id:f,x:u.scrollLeft,y:u.scrollTop})}),s.scroll||100));return Ir("scroll",i,t)}function N_e({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const a=St(gp(St(()=>{const s=WH(),i=VH();(n!==s||r!==i)&&(e({width:Number(i),height:Number(s)}),n=s,r=i)}),200));return Ir("resize",a,t)}const M_e=["INPUT","TEXTAREA","SELECT"],rD=new WeakMap;function P_e({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,ignoreClass:s,ignoreSelector:i,maskInputOptions:c,maskInputFn:u,sampling:f,userTriggeredOnInput:h}){function m(k){let A=$p(k);const R=k.isTrusted,N=A&&A.tagName;if(A&&N==="OPTION"&&(A=it.parentElement(A)),!A||!N||M_e.indexOf(N)<0||Rr(A,r,a,!0)||A.classList.contains(s)||i&&A.matches(i))return;let O=A.value,T=!1;const P=I1(A)||"";P==="radio"||P==="checkbox"?T=A.checked:(c[N.toLowerCase()]||c[P])&&(O=A1({element:A,maskInputOptions:c,tagName:N,type:P,value:O,maskInputFn:u})),g(A,h?{text:O,isChecked:T,userTriggered:R}:{text:O,isChecked:T});const L=A.name;P==="radio"&&L&&T&&t.querySelectorAll(`input[type="radio"][name="${L}"]`).forEach(H=>{if(H!==A){const j=H.value;g(H,h?{text:j,isChecked:!T,userTriggered:!1}:{text:j,isChecked:!T})}})}function g(k,A){const R=rD.get(k);if(!R||R.text!==A.text||R.isChecked!==A.isChecked){rD.set(k,A);const N=n.getId(k);St(e)({...A,id:N})}}const S=(f.input==="last"?["change"]:["input","change"]).map(k=>Ir(k,St(m),t)),w=t.defaultView;if(!w)return()=>{S.forEach(k=>k())};const C=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),_=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return C&&C.set&&S.push(..._.map(k=>Sy(k[0],k[1],{set(){St(m)({target:this,isTrusted:!1})}},!1,w))),St(()=>{S.forEach(k=>k())})}function F1(e){const t=[];function n(r,a){if(r0("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||r0("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||r0("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||r0("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const i=Array.from(r.parentRule.cssRules).indexOf(r);a.unshift(i)}else if(r.parentStyleSheet){const i=Array.from(r.parentStyleSheet.cssRules).indexOf(r);a.unshift(i)}return a}return n(e,t)}function Ri(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function D_e({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:St((h,m,g)=>{const[y,S]=g,{id:w,styleId:C}=Ri(m,t,n.styleMirror);return(w&&w!==-1||C&&C!==-1)&&e({id:w,styleId:C,adds:[{rule:y,index:S}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.addRule=function(h,m,g=this.cssRules.length){const y=`${h} { ${m} }`;return r.CSSStyleSheet.prototype.insertRule.apply(this,[y,g])};const s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:St((h,m,g)=>{const[y]=g,{id:S,styleId:w}=Ri(m,t,n.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,removes:[{index:y}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.removeRule=function(h){return r.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};let i;r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:St((h,m,g)=>{const[y]=g,{id:S,styleId:w}=Ri(m,t,n.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,replace:y}),h.apply(m,g)})}));let c;r.CSSStyleSheet.prototype.replaceSync&&(c=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:St((h,m,g)=>{const[y]=g,{id:S,styleId:w}=Ri(m,t,n.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,replaceSync:y}),h.apply(m,g)})}));const u={};a0("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(a0("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),a0("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),a0("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const f={};return Object.entries(u).forEach(([h,m])=>{f[h]={insertRule:m.prototype.insertRule,deleteRule:m.prototype.deleteRule},m.prototype.insertRule=new Proxy(f[h].insertRule,{apply:St((g,y,S)=>{const[w,C]=S,{id:_,styleId:k}=Ri(y.parentStyleSheet,t,n.styleMirror);return(_&&_!==-1||k&&k!==-1)&&e({id:_,styleId:k,adds:[{rule:w,index:[...F1(y),C||0]}]}),g.apply(y,S)})}),m.prototype.deleteRule=new Proxy(f[h].deleteRule,{apply:St((g,y,S)=>{const[w]=S,{id:C,styleId:_}=Ri(y.parentStyleSheet,t,n.styleMirror);return(C&&C!==-1||_&&_!==-1)&&e({id:C,styleId:_,removes:[{index:[...F1(y),w]}]}),g.apply(y,S)})})}),St(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),c&&(r.CSSStyleSheet.prototype.replaceSync=c),Object.entries(u).forEach(([h,m])=>{m.prototype.insertRule=f[h].insertRule,m.prototype.deleteRule=f[h].deleteRule})})}function rq({mirror:e,stylesheetManager:t},n){var r,a,s;let i=null;n.nodeName==="#document"?i=e.getId(n):i=e.getId(it.host(n));const c=n.nodeName==="#document"?(r=n.defaultView)==null?void 0:r.Document:(s=(a=n.ownerDocument)==null?void 0:a.defaultView)==null?void 0:s.ShadowRoot,u=c?.prototype?Object.getOwnPropertyDescriptor(c?.prototype,"adoptedStyleSheets"):void 0;return i===null||i===-1||!c||!u?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var f;return(f=u.get)==null?void 0:f.call(this)},set(f){var h;const m=(h=u.set)==null?void 0:h.call(this,f);if(i!==null&&i!==-1)try{t.adoptStyleSheets(f,i)}catch{}return m}}),St(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}))}function L_e({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){const s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:St((c,u,f)=>{var h;const[m,g,y]=f;if(n.has(m))return s.apply(u,[m,g,y]);const{id:S,styleId:w}=Ri((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,set:{property:m,value:g,priority:y},index:F1(u.parentRule)}),c.apply(u,f)})});const i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:St((c,u,f)=>{var h;const[m]=f;if(n.has(m))return i.apply(u,[m]);const{id:g,styleId:y}=Ri((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(g&&g!==-1||y&&y!==-1)&&e({id:g,styleId:y,remove:{property:m},index:F1(u.parentRule)}),c.apply(u,f)})}),St(()=>{a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=i})}function U_e({mediaInteractionCb:e,blockClass:t,blockSelector:n,mirror:r,sampling:a,doc:s}){const i=St(u=>gp(St(f=>{const h=$p(f);if(!h||Rr(h,t,n,!0))return;const{currentTime:m,volume:g,muted:y,playbackRate:S,loop:w}=h;e({type:u,id:r.getId(h),currentTime:m,volume:g,muted:y,playbackRate:S,loop:w})}),a.media||500)),c=[Ir("play",i(Du.Play),s),Ir("pause",i(Du.Pause),s),Ir("seeked",i(Du.Seeked),s),Ir("volumechange",i(Du.VolumeChange),s),Ir("ratechange",i(Du.RateChange),s)];return St(()=>{c.forEach(u=>u())})}function j_e({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],a=new WeakMap,s=n.FontFace;n.FontFace=function(u,f,h){const m=new s(u,f,h);return a.set(m,{family:u,buffer:typeof f!="string",descriptors:h,fontSource:typeof f=="string"?f:JSON.stringify(Array.from(new Uint8Array(f)))}),m};const i=Cc(t.fonts,"add",function(c){return function(u){return setTimeout(St(()=>{const f=a.get(u);f&&(e(f),a.delete(u))}),0),c.apply(this,[u])}});return r.push(()=>{n.FontFace=s}),r.push(i),St(()=>{r.forEach(c=>c())})}function z_e(e){const{doc:t,mirror:n,blockClass:r,blockSelector:a,selectionCb:s}=e;let i=!0;const c=St(()=>{const u=t.getSelection();if(!u||i&&u?.isCollapsed)return;i=u.isCollapsed||!1;const f=[],h=u.rangeCount||0;for(let m=0;m<h;m++){const g=u.getRangeAt(m),{startContainer:y,startOffset:S,endContainer:w,endOffset:C}=g;Rr(y,r,a,!0)||Rr(w,r,a,!0)||f.push({start:n.getId(y),startOffset:S,end:n.getId(w),endOffset:C})}s({ranges:f})});return c(),Ir("selectionchange",c)}function F_e({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:Cc(n.customElements,"define",function(a){return function(s,i,c){try{t({define:{name:s}})}catch{console.warn(`Custom element callback failed for ${s}`)}return a.apply(this,[s,i,c])}})}function $_e(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:a,scrollCb:s,viewportResizeCb:i,inputCb:c,mediaInteractionCb:u,styleSheetRuleCb:f,styleDeclarationCb:h,canvasMutationCb:m,fontCb:g,selectionCb:y,customElementCb:S}=e;e.mutationCb=(...w)=>{t.mutation&&t.mutation(...w),n(...w)},e.mousemoveCb=(...w)=>{t.mousemove&&t.mousemove(...w),r(...w)},e.mouseInteractionCb=(...w)=>{t.mouseInteraction&&t.mouseInteraction(...w),a(...w)},e.scrollCb=(...w)=>{t.scroll&&t.scroll(...w),s(...w)},e.viewportResizeCb=(...w)=>{t.viewportResize&&t.viewportResize(...w),i(...w)},e.inputCb=(...w)=>{t.input&&t.input(...w),c(...w)},e.mediaInteractionCb=(...w)=>{t.mediaInteaction&&t.mediaInteaction(...w),u(...w)},e.styleSheetRuleCb=(...w)=>{t.styleSheetRule&&t.styleSheetRule(...w),f(...w)},e.styleDeclarationCb=(...w)=>{t.styleDeclaration&&t.styleDeclaration(...w),h(...w)},e.canvasMutationCb=(...w)=>{t.canvasMutation&&t.canvasMutation(...w),m(...w)},e.fontCb=(...w)=>{t.font&&t.font(...w),g(...w)},e.selectionCb=(...w)=>{t.selection&&t.selection(...w),y(...w)},e.customElementCb=(...w)=>{t.customElement&&t.customElement(...w),S(...w)}}function B_e(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};$_e(e,t);let r;e.recordDOM&&(r=tq(e,e.doc));const a=T_e(e),s=O_e(e),i=nq(e),c=N_e(e,{win:n}),u=P_e(e),f=U_e(e);let h=()=>{},m=()=>{},g=()=>{},y=()=>{};e.recordDOM&&(h=D_e(e,{win:n}),m=rq(e,e.doc),g=L_e(e,{win:n}),e.collectFonts&&(y=j_e(e)));const S=z_e(e),w=F_e(e),C=[];for(const _ of e.plugins)C.push(_.observer(_.callback,n,_.options));return St(()=>{zl.forEach(_=>_.reset()),r?.disconnect(),a(),s(),i(),c(),u(),f(),h(),m(),g(),y(),S(),w(),C.forEach(_=>_())})}function r0(e){return typeof window[e]<"u"}function a0(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class aD{constructor(t){xe(this,"iframeIdToRemoteIdMap",new WeakMap),xe(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=t}getId(t,n,r,a){const s=r||this.getIdToRemoteIdMap(t),i=a||this.getRemoteIdToIdMap(t);let c=s.get(n);return c||(c=this.generateIdFn(),s.set(n,c),i.set(c,n)),c}getIds(t,n){const r=this.getIdToRemoteIdMap(t),a=this.getRemoteIdToIdMap(t);return n.map(s=>this.getId(t,s,r,a))}getRemoteId(t,n,r){const a=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const s=a.get(n);return s||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(a=>this.getRemoteId(t,a,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}class H_e{constructor(t){xe(this,"iframes",new WeakMap),xe(this,"crossOriginIframeMap",new WeakMap),xe(this,"crossOriginIframeMirror",new aD(bB)),xe(this,"crossOriginIframeStyleMirror"),xe(this,"crossOriginIframeRootIdMap",new WeakMap),xe(this,"mirror"),xe(this,"mutationCb"),xe(this,"wrappedEmit"),xe(this,"loadListener"),xe(this,"stylesheetManager"),xe(this,"recordCrossOriginIframes"),this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new aD(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var r,a;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((r=t.contentWindow)==null||r.addEventListener("message",this.handleMessage.bind(this))),(a=this.loadListener)==null||a.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const a=this.crossOriginIframeMap.get(t.source);if(!a)return;const s=this.transformCrossOriginEvent(a,n.data.event);s&&this.wrappedEmit(s,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case kt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const a=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,a),this.patchRootIdOnNode(n.data.node,a),{timestamp:n.timestamp,type:kt.IncrementalSnapshot,data:{source:gt.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case kt.Meta:case kt.Load:case kt.DomContentLoaded:return!1;case kt.Plugin:return n;case kt.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case kt.IncrementalSnapshot:switch(n.data.source){case gt.Mutation:return n.data.adds.forEach(a=>{this.replaceIds(a,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(a.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&&this.patchRootIdOnNode(a.node,s)}),n.data.removes.forEach(a=>{this.replaceIds(a,t,["parentId","id"])}),n.data.attributes.forEach(a=>{this.replaceIds(a,t,["id"])}),n.data.texts.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case gt.Drag:case gt.TouchMove:case gt.MouseMove:return n.data.positions.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case gt.ViewportResize:return!1;case gt.MediaInteraction:case gt.MouseInteraction:case gt.Scroll:case gt.CanvasMutation:case gt.Input:return this.replaceIds(n.data,t,["id"]),n;case gt.StyleSheetRule:case gt.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case gt.Font:return n;case gt.Selection:return n.data.ranges.forEach(a=>{this.replaceIds(a,t,["start","end"])}),n;case gt.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(a=>{this.replaceStyleIds(a,t,["styleId"])}),n}}return!1}replace(t,n,r,a){for(const s of a)!Array.isArray(n[s])&&typeof n[s]!="number"||(Array.isArray(n[s])?n[s]=t.getIds(r,n[s]):n[s]=t.getId(r,n[s]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==JH.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class q_e{constructor(t){xe(this,"shadowDoms",new WeakSet),xe(this,"mutationCb"),xe(this,"scrollCb"),xe(this,"bypassOptions"),xe(this,"mirror"),xe(this,"restoreHandlers",[]),this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Dh(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);const r=tq({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(nq({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(it.host(t))),this.restoreHandlers.push(rq({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Cc(t.prototype,"attachShadow",function(a){return function(s){const i=a.call(this,s),c=it.shadowRoot(this);return c&&QH(this)&&r.addShadowRoot(c,n),i}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}var Wu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W_e=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var s0=0;s0<Wu.length;s0++)W_e[Wu.charCodeAt(s0)]=s0;var V_e=function(e){var t=new Uint8Array(e),n,r=t.length,a="";for(n=0;n<r;n+=3)a+=Wu[t[n]>>2],a+=Wu[(t[n]&3)<<4|t[n+1]>>4],a+=Wu[(t[n+1]&15)<<2|t[n+2]>>6],a+=Wu[t[n+2]&63];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a};const sD=new Map;function G_e(e,t){let n=sD.get(e);return n||(n=new Map,sD.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const aq=(e,t,n)=>{if(!e||!(oq(e,t)||typeof e=="object"))return;const r=e.constructor.name,a=G_e(n,r);let s=a.indexOf(e);return s===-1&&(s=a.length,a.push(e)),s};function j0(e,t,n){if(e instanceof Array)return e.map(r=>j0(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,a=V_e(e);return{rr_type:r,base64:a}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[j0(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:a}=e;return{rr_type:r,src:a}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",a=e.toDataURL();return{rr_type:r,src:a}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[j0(e.data,t,n),e.width,e.height]};if(oq(e,t)||typeof e=="object"){const r=e.constructor.name,a=aq(e,t,n);return{rr_type:r,index:a}}}}return e}const sq=(e,t,n)=>e.map(r=>j0(r,t,n)),oq=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(a=>typeof t[a]=="function").find(a=>e instanceof t[a]);function K_e(e,t,n,r){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const i of s)try{if(typeof t.CanvasRenderingContext2D.prototype[i]!="function")continue;const c=Cc(t.CanvasRenderingContext2D.prototype,i,function(u){return function(...f){return Rr(this.canvas,n,r,!0)||setTimeout(()=>{const h=sq(f,t,this);e(this.canvas,{type:yd["2D"],property:i,args:h})},0),u.apply(this,f)}});a.push(c)}catch{const c=Sy(t.CanvasRenderingContext2D.prototype,i,{set(u){e(this.canvas,{type:yd["2D"],property:i,args:[u],setter:!0})}});a.push(c)}return()=>{a.forEach(i=>i())}}function Y_e(e){return e==="experimental-webgl"?"webgl":e}function oD(e,t,n,r){const a=[];try{const s=Cc(e.HTMLCanvasElement.prototype,"getContext",function(i){return function(c,...u){if(!Rr(this,t,n,!0)){const f=Y_e(c);if("__context"in this||(this.__context=f),r&&["webgl","webgl2"].includes(f))if(u[0]&&typeof u[0]=="object"){const h=u[0];h.preserveDrawingBuffer||(h.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return i.apply(this,[c,...u])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function iD(e,t,n,r,a,s){const i=[],c=Object.getOwnPropertyNames(e);for(const u of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(u))try{if(typeof e[u]!="function")continue;const f=Cc(e,u,function(h){return function(...m){const g=h.apply(this,m);if(aq(g,s,this),"tagName"in this.canvas&&!Rr(this.canvas,r,a,!0)){const y=sq(m,s,this),S={type:t,property:u,args:y};n(this.canvas,S)}return g}});i.push(f)}catch{const f=Sy(e,u,{set(h){n(this.canvas,{type:t,property:u,args:[h],setter:!0})}});i.push(f)}return i}function Z_e(e,t,n,r){const a=[];return a.push(...iD(t.WebGLRenderingContext.prototype,yd.WebGL,e,n,r,t)),typeof t.WebGL2RenderingContext<"u"&&a.push(...iD(t.WebGL2RenderingContext.prototype,yd.WebGL2,e,n,r,t)),()=>{a.forEach(s=>s())}}const iq="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdI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YWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",X_e=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),lD=typeof window<"u"&&window.Blob&&new Blob([X_e(iq)],{type:"text/javascript;charset=utf-8"});function Q_e(e){let t;try{if(t=lD&&(window.URL||window.webkitURL).createObjectURL(lD),!t)throw"";const n=new Worker(t,{name:e?.name});return n.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker("data:text/javascript;base64,"+iq,{name:e?.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class J_e{constructor(t){xe(this,"pendingCanvasMutations",new Map),xe(this,"rafStamps",{latestId:0,invokeId:null}),xe(this,"mirror"),xe(this,"mutationCb"),xe(this,"resetObservers"),xe(this,"frozen",!1),xe(this,"locked",!1),xe(this,"processMutation",(u,f)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(u)||this.pendingCanvasMutations.set(u,[]),this.pendingCanvasMutations.get(u).push(f)});const{sampling:n="all",win:r,blockClass:a,blockSelector:s,recordCanvas:i,dataURLOptions:c}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,i&&n==="all"&&this.initCanvasMutationObserver(r,a,s),i&&typeof n=="number"&&this.initCanvasFPSObserver(n,r,a,s,{dataURLOptions:c})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(t,n,r,a,s){const i=oD(n,r,a,!0),c=new Map,u=new Q_e;u.onmessage=S=>{const{id:w}=S.data;if(c.set(w,!1),!("base64"in S.data))return;const{base64:C,type:_,width:k,height:A}=S.data;this.mutationCb({id:w,type:yd["2D"],commands:[{property:"clearRect",args:[0,0,k,A]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:C}],type:_}]},0,0]}]})};const f=1e3/t;let h=0,m;const g=()=>{const S=[];return n.document.querySelectorAll("canvas").forEach(w=>{Rr(w,r,a,!0)||S.push(w)}),S},y=S=>{if(h&&S-h<f){m=requestAnimationFrame(y);return}h=S,g().forEach(async w=>{var C;const _=this.mirror.getId(w);if(c.get(_)||w.width===0||w.height===0)return;if(c.set(_,!0),["webgl","webgl2"].includes(w.__context)){const A=w.getContext(w.__context);((C=A?.getContextAttributes())==null?void 0:C.preserveDrawingBuffer)===!1&&A.clear(A.COLOR_BUFFER_BIT)}const k=await createImageBitmap(w);u.postMessage({id:_,bitmap:k,width:w.width,height:w.height,dataURLOptions:s.dataURLOptions},[k])}),m=requestAnimationFrame(y)};m=requestAnimationFrame(y),this.resetObservers=()=>{i(),cancelAnimationFrame(m)}}initCanvasMutationObserver(t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=oD(t,n,r,!1),s=K_e(this.processMutation.bind(this),t,n,r),i=Z_e(this.processMutation.bind(this),t,n,r);this.resetObservers=()=>{a(),s(),i()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const a=r.map(i=>{const{type:c,...u}=i;return u}),{type:s}=r[0];this.mutationCb({id:n,type:s,commands:a}),this.pendingCanvasMutations.delete(t)}}class eke{constructor(t){xe(this,"trackedLinkElements",new WeakSet),xe(this,"mutationCb"),xe(this,"adoptedStyleSheetCb"),xe(this,"styleMirror",new w_e),this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},a=[];for(const s of t){let i;this.styleMirror.has(s)?i=this.styleMirror.getId(s):(i=this.styleMirror.add(s),a.push({styleId:i,rules:Array.from(s.rules||CSSRule,(c,u)=>({rule:gB(c,s.href),index:u}))})),r.styleIds.push(i)}a.length>0&&(r.styles=a),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class tke{constructor(){xe(this,"nodeMap",new WeakMap),xe(this,"active",!1)}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(a=>a!==n)}add(t,n){this.active||(this.active=!0,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let xn,z0,NE,$1=!1;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((d9=e.contentWindow)==null?void 0:d9.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const Ha=r2e();function Bp(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:a="rr-block",blockSelector:s=null,ignoreClass:i="rr-ignore",ignoreSelector:c=null,maskTextClass:u="rr-mask",maskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskInputFn:S,maskTextFn:w,hooks:C,packFn:_,sampling:k={},dataURLOptions:A={},mousemoveWait:R,recordDOM:N=!0,recordCanvas:O=!1,recordCrossOriginIframes:T=!1,recordAfter:P=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:H=!1,inlineImages:j=!1,plugins:U,keepIframeSrcFn:q=()=>!1,ignoreCSSAttributes:X=new Set([]),errorHandler:se}=e;I_e(se);const B=T?window.parent===window:!0;let Q=!1;if(!B)try{window.parent.document&&(Q=!1)}catch{Q=!0}if(B&&!t)throw new Error("emit function is required");if(!B&&!Q)return()=>{};R!==void 0&&k.mousemove===void 0&&(k.mousemove=R),Ha.reset();const G=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:g!==void 0?g:{password:!0},ce=CB(y);S_e();let Se,z=0;const V=Te=>{for(const Ue of U||[])Ue.eventProcessor&&(Te=Ue.eventProcessor(Te));return _&&!Q&&(Te=_(Te)),Te};xn=(Te,Ue)=>{var je;const ke=Te;if(ke.timestamp=z1(),(je=zl[0])!=null&&je.isFrozen()&&ke.type!==kt.FullSnapshot&&!(ke.type===kt.IncrementalSnapshot&&ke.data.source===gt.Mutation)&&zl.forEach(Ut=>Ut.unfreeze()),B)t?.(V(ke),Ue);else if(Q){const Ut={type:"rrweb",event:V(ke),origin:window.location.origin,isCheckout:Ue};window.parent.postMessage(Ut,"*")}if(ke.type===kt.FullSnapshot)Se=ke,z=0;else if(ke.type===kt.IncrementalSnapshot){if(ke.data.source===gt.Mutation&&ke.data.isAttachIframe)return;z++;const Ut=r&&z>=r,Pe=n&&ke.timestamp-Se.timestamp>n;(Ut||Pe)&&z0(!0)}};const K=Te=>{xn({type:kt.IncrementalSnapshot,data:{source:gt.Mutation,...Te}})},ee=Te=>xn({type:kt.IncrementalSnapshot,data:{source:gt.Scroll,...Te}}),oe=Te=>xn({type:kt.IncrementalSnapshot,data:{source:gt.CanvasMutation,...Te}}),pe=Te=>xn({type:kt.IncrementalSnapshot,data:{source:gt.AdoptedStyleSheet,...Te}}),Y=new eke({mutationCb:K,adoptedStyleSheetCb:pe}),fe=new H_e({mirror:Ha,mutationCb:K,stylesheetManager:Y,recordCrossOriginIframes:T,wrappedEmit:xn});for(const Te of U||[])Te.getMirror&&Te.getMirror({nodeMirror:Ha,crossOriginIframeMirror:fe.crossOriginIframeMirror,crossOriginIframeStyleMirror:fe.crossOriginIframeStyleMirror});const ge=new tke;NE=new J_e({recordCanvas:O,mutationCb:oe,win:window,blockClass:a,blockSelector:s,mirror:Ha,sampling:k.canvas,dataURLOptions:A});const Ee=new q_e({mutationCb:K,scrollCb:ee,bypassOptions:{blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskInputOptions:G,dataURLOptions:A,maskTextFn:w,maskInputFn:S,recordCanvas:O,inlineImages:j,sampling:k,slimDOMOptions:ce,iframeManager:fe,stylesheetManager:Y,canvasManager:NE,keepIframeSrcFn:q,processedNodeManager:ge},mirror:Ha});z0=(Te=!1)=>{if(!N)return;xn({type:kt.Meta,data:{href:window.location.href,width:VH(),height:WH()}},Te),Y.reset(),Ee.init(),zl.forEach(je=>je.lock());const Ue=A2e(document,{mirror:Ha,blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskAllInputs:G,maskTextFn:w,maskInputFn:S,slimDOM:ce,dataURLOptions:A,recordCanvas:O,inlineImages:j,onSerialize:je=>{YH(je,Ha)&&fe.addIframe(je),ZH(je,Ha)&&Y.trackLinkElement(je),D_(je)&&Ee.addShadowRoot(it.shadowRoot(je),document)},onIframeLoad:(je,ke)=>{fe.attachIframe(je,ke),Ee.observeAttachShadow(je)},onStylesheetLoad:(je,ke)=>{Y.attachLinkElement(je,ke)},keepIframeSrcFn:q});if(!Ue)return console.warn("Failed to snapshot the document");xn({type:kt.FullSnapshot,data:{node:Ue,initialOffset:qH(window)}},Te),zl.forEach(je=>je.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Y.adoptStyleSheets(document.adoptedStyleSheets,Ha.getId(document))};try{const Te=[],Ue=ke=>{var Ut;return St(B_e)({mutationCb:K,mousemoveCb:(Pe,Bn)=>xn({type:kt.IncrementalSnapshot,data:{source:Bn,positions:Pe}}),mouseInteractionCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.MouseInteraction,...Pe}}),scrollCb:ee,viewportResizeCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.ViewportResize,...Pe}}),inputCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.Input,...Pe}}),mediaInteractionCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.MediaInteraction,...Pe}}),styleSheetRuleCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.StyleSheetRule,...Pe}}),styleDeclarationCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.StyleDeclaration,...Pe}}),canvasMutationCb:oe,fontCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.Font,...Pe}}),selectionCb:Pe=>{xn({type:kt.IncrementalSnapshot,data:{source:gt.Selection,...Pe}})},customElementCb:Pe=>{xn({type:kt.IncrementalSnapshot,data:{source:gt.CustomElement,...Pe}})},blockClass:a,ignoreClass:i,ignoreSelector:c,maskTextClass:u,maskTextSelector:f,maskInputOptions:G,inlineStylesheet:h,sampling:k,recordDOM:N,recordCanvas:O,inlineImages:j,userTriggeredOnInput:L,collectFonts:H,doc:ke,maskInputFn:S,maskTextFn:w,keepIframeSrcFn:q,blockSelector:s,slimDOMOptions:ce,dataURLOptions:A,mirror:Ha,iframeManager:fe,stylesheetManager:Y,shadowDomManager:Ee,processedNodeManager:ge,canvasManager:NE,ignoreCSSAttributes:X,plugins:((Ut=U?.filter(Pe=>Pe.observer))==null?void 0:Ut.map(Pe=>({observer:Pe.observer,options:Pe.options,callback:Bn=>xn({type:kt.Plugin,data:{plugin:Pe.name,payload:Bn}})})))||[]},C)};fe.addLoadListener(ke=>{try{Te.push(Ue(ke.contentDocument))}catch(Ut){console.warn(Ut)}});const je=()=>{z0(),Te.push(Ue(document)),$1=!0};return["interactive","complete"].includes(document.readyState)?je():(Te.push(Ir("DOMContentLoaded",()=>{xn({type:kt.DomContentLoaded,data:{}}),P==="DOMContentLoaded"&&je()})),Te.push(Ir("load",()=>{xn({type:kt.Load,data:{}}),P==="load"&&je()},window))),()=>{Te.forEach(ke=>{try{ke()}catch(Ut){String(Ut).toLowerCase().includes("cross-origin")||console.warn(Ut)}}),ge.destroy(),$1=!1,R_e()}}catch(Te){console.warn(Te)}}Bp.addCustomEvent=(e,t)=>{if(!$1)throw new Error("please add custom event after start recording");xn({type:kt.Custom,data:{tag:e,payload:t}})};Bp.freezePage=()=>{zl.forEach(e=>e.freeze())};Bp.takeFullSnapshot=e=>{if(!$1)throw new Error("please take full snapshot after start recording");z0(e)};Bp.mirror=Ha;var cD;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(cD||(cD={}));const nke="rrweb",rke={maskAllInputs:!0,maskTextSelector:"*",maskInputOptions:void 0},ake={additionalSampleRate:1,batchSize:50,flushInterval:5e3,recordOptions:{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,recordCrossOriginIframes:!1}},uD=ake;class ske extends Pa{constructor(t){super(nke),this.recordingEvents=[],this.isRecording=!1,this.recordingStartTime=null,this.flushTimer=null,this.stopRecording=null,this.enabled=!1;const n=Object.assign(Object.assign(Object.assign({},uD.recordOptions),t?.recordOptions),rke);this.config=Object.assign(Object.assign(Object.assign({},uD),t),{recordOptions:n}),we.info("RRWebPlugin initialized",{additionalSampleRate:this.config.additionalSampleRate,batchSize:this.config.batchSize,flushInterval:this.config.flushInterval})}enable(){var t;if(this.enabled){we.info("RRWebPlugin already enabled");return}const n=(t=this.context)===null||t===void 0?void 0:t.getSession();if(!n||!n.record){we.warn("RRWebPlugin skipping - session not being recorded",{hasSession:!!n,sessionRecord:n?.record});return}const r=Math.random();if(r>this.config.additionalSampleRate){we.warn("RRWebPlugin skipping - session replay additionalSampleRate",{randomValue:r,samplingRate:this.config.additionalSampleRate});return}this.enabled=!0,we.info("RRWebPlugin enabled - starting recording"),this.startRecording()}disable(){if(!this.enabled){we.info("RRWebPlugin already disabled");return}we.info("RRWebPlugin disabled - stopping recording"),this.enabled=!1,this.stopCurrentRecording()}record(t){const n=t?.action;n==="start"?(we.info("RRWebPlugin manual start recording"),this.startRecording()):n==="stop"&&(we.info("RRWebPlugin manual stop recording"),this.stopCurrentRecording())}onload(){}startRecording(){this.recordingStartTime=Date.now(),this.recordingEvents=[],this.isRecording=!0,we.info("RRWebPlugin starting rrweb recording",{startTime:this.recordingStartTime});const t=Bp(Object.assign(Object.assign({},this.config.recordOptions),{emit:this.handleRRWebEvent.bind(this)}));t?(this.stopRecording=t,we.info("RRWebPlugin rrweb recording initialized successfully")):we.warn("RRWebPlugin failed to initialize rrweb recording"),this.flushTimer=window.setInterval(()=>{this.flush()},this.config.flushInterval)}stopCurrentRecording(){if(!this.isRecording){we.info("RRWebPlugin stopCurrentRecording called but not recording");return}we.info("RRWebPlugin stopping current recording"),this.isRecording=!1,this.stopRecording&&(this.stopRecording(),this.stopRecording=null,we.info("RRWebPlugin rrweb recording stopped")),this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null,we.info("RRWebPlugin flush timer cleared")),this.flush()}handleRRWebEvent(t){this.isRecording&&(this.recordingEvents.push(t),this.recordingEvents.length>=this.config.batchSize&&(we.info("RRWebPlugin flushing events due to batch size",{eventCount:this.recordingEvents.length,batchSize:this.config.batchSize}),this.flush()))}flush(){if(this.recordingEvents.length===0){we.info("RRWebPlugin flushEvent called but no events to flush");return}we.info("RRWebPlugin flushing events",{eventCount:this.recordingEvents.length});const t=[...this.recordingEvents],n={version:"1.0.0",events:t,eventCount:t.length};this.context.record(Y7,n),we.info("RRWebPlugin events sent to RUM",{eventType:Y7,eventCount:this.recordingEvents.length}),this.recordingEvents=[]}}var oke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},U_;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(U_||(U_={}));const lq="us-west-2",j_=`https://dataplane.rum.${lq}.amazonaws.com`,cq=()=>({unique:!1,domain:window.location.hostname,path:"/",sameSite:"Strict",secure:!0}),uq=e=>({allowCookies:!1,batchLimit:100,client:TSe,compressionStrategy:{enabled:!0},cookieAttributes:e,debug:!1,disableAutoPageView:!1,dispatchInterval:5*1e3,enableRumClient:!0,enableXRay:!1,endpoint:j_,endpointUrl:new URL(j_),eventCacheSize:1e3,eventPluginsToLoad:[],pageIdFormat:U_.Path,pagesToExclude:[],pagesToInclude:[/.*/],signing:!1,recordResourceUrl:!0,retries:2,routeChangeComplete:100,routeChangeTimeout:1e4,sessionAttributes:{},sessionEventLimit:200,sessionLengthSeconds:1800,sessionSampleRate:1,suppressSessionStartEvent:!1,useBeacon:!0,userIdRetentionDays:30,enableW3CTraceId:!1,candidatesCacheSize:10});let ike=class{constructor(t,n,r,a={}){var{cookieAttributes:s}=a,i=oke(a,["cookieAttributes"]);this.eventBus=new eB,typeof r>"u"&&(r="us-west-2"),this.applicationId=t;const c=Object.assign(Object.assign({},cq()),s);this.config=Object.assign(Object.assign({fetchFunction:fetch},uq(c)),i),this.config.sessionId&&(this.config.suppressSessionStartEvent=!0),this.config.endpoint=i.endpoint?i.endpoint:j_.replace(lq,r),this.config.endpointUrl=new URL(this.config.endpoint),we.configure(this.config.debug),we.info("Initialized RUM Slim"),this.eventCache=new $we({id:t,version:n},this.config,this.eventBus),this.dispatchManager=this.initDispatch(r,t),this.pluginManager=this.initPluginManager(t,n),this.eventCache.setPluginFlushHook(()=>this.pluginManager.flush()),this.config.enableRumClient?this.enable():this.disable()}setAwsCredentials(t){this.dispatchManager.setAwsCredentials(t)}setSigningConfigFactory(t){this.dispatchManager.setSigningConfigFactory(t)}addSessionAttributes(t){this.eventCache.addSessionAttributes(t)}getSessionId(){return this.eventCache.getSessionId()}pinSessionId(t){this.eventCache.pinSessionId(t)}startSession(t){return this.eventCache.startSession(t)}getUserId(){return this.eventCache.getUserId()}pinUserId(t){this.eventCache.pinUserId(t)}setEventMetadataHook(t){this.eventCache.setEventMetadataHook(t)}clearEventMetadataHook(){this.eventCache.clearEventMetadataHook()}addPlugin(t){this.pluginManager.addPlugin(t)}dispatch(){this.dispatchManager.dispatchFetch()}dispatchBeacon(){this.dispatchManager.dispatchBeacon()}enable(){this.eventCache.enable(),this.pluginManager.enable(),this.dispatchManager.enable()}disable(){this.dispatchManager.disable(),this.pluginManager.disable(),this.eventCache.disable()}allowCookies(t){this.config.allowCookies=t}clearCookies(){const t=this.config.cookieAttributes;[S1,w1,dd,`${S1}_${this.applicationId}`,`${w1}_${this.applicationId}`,`${dd}_${this.applicationId}`].forEach(r=>Mwe(r,t))}recordPageView(t){this.eventCache.recordPageView(t)}recordError(t){this.pluginManager.record("com.amazonaws.rum.js-error",t)}registerDomEvents(t){this.pluginManager.updatePlugin("com.amazonaws.rum.dom-event",t)}recordEvent(t,n,r){this.eventCache.recordEvent(t,n,r)}initDispatch(t,n){return new OSe(n,t,this.config.endpointUrl,this.eventCache,this.config)}initPluginManager(t,n){const r={applicationId:t,applicationVersion:n,config:this.config,record:this.eventCache.recordEvent,recordCandidate:this.eventCache.recordCandidate,recordPageView:this.eventCache.recordPageView,getSession:this.eventCache.getSession,eventBus:this.eventBus},a=new Nwe(r);return this.config.disableAutoPageView||a.addPlugin(new sxe),this.config.eventPluginsToLoad.forEach(s=>{a.addPlugin(s)}),a}};var Za;(function(e){e.Errors="errors",e.Performance="performance",e.Interaction="interaction",e.Http="http",e.Replay="replay"})(Za||(Za={}));var dD;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(dD||(dD={}));const lke=e=>Object.assign(Object.assign({},uq(e)),{signing:!0,telemetries:[Za.Errors,Za.Performance,Za.Http,Za.Replay]});class cke extends ike{constructor(t,n,r,a={}){super(t,n,r,Object.assign(Object.assign({},lke(cq())),a)),we.info(`RUM client initialized for app: ${t}`),we.info(`Telemetries enabled: ${this.config.telemetries.join(", ")||"none"}`)}initDispatch(t,n){const r=super.initDispatch(t,n);return r.setSigningConfigFactory(owe),r.setCognitoCredentialProviderFactory((a,s,i,c)=>{const u={identityPoolId:i,guestRoleArn:c,cookieAttributes:a.cookieAttributes};return i&&c?new xwe(u,s).ChainAnonymousCredentialsProvider:new Cwe(u,s).ChainAnonymousCredentialsProvider}),this.config.signing&&this.config.identityPoolId&&r.setCognitoCredentials(this.config.identityPoolId,this.config.guestRoleArn),r}initPluginManager(t,n){const r=super.initPluginManager(t,n);return this.constructBuiltinPlugins().forEach(s=>{r.addPlugin(s)}),r}recordError(t){this.pluginManager.record(rB,t)}registerDomEvents(t){this.pluginManager.updatePlugin(tB,t)}constructBuiltinPlugins(){let t=[];const n=this.telemetryFunctor();return this.config.telemetries.forEach(r=>{typeof r=="string"&&n[r.toLowerCase()]?t=[...t,...n[r.toLowerCase()]({})]:Array.isArray(r)&&n[r[0].toLowerCase()]&&(t=[...t,...n[r[0].toLowerCase()](r[1])])}),t}telemetryFunctor(){return{[Za.Errors]:t=>[new Qwe(t)],[Za.Performance]:t=>[new txe(t),new ixe(t),new Axe(t)],[Za.Interaction]:t=>[new nI(t)],[Za.Http]:t=>[new Nxe(t),new Rxe(t)],[Za.Replay]:t=>[new ske(t)]}}}const dq={recordPageView:()=>{},recordError:()=>{},recordEvent:()=>{},recordTiming:()=>{}},uke=/([?&](token|access_token|id_token|authorization)=[^&]*)|\/messages\/[a-z0-9_-]+/gi;function fq(e){return e.replace(uke,"[redacted]")}function dke(e){const t=e.indexOf("?"),n=e.indexOf("#"),r=t===-1&&n===-1?e.length:t===-1?n:n===-1?t:Math.min(t,n);return fq(e.slice(0,r))}function fke(e){const t=fq(e.message);if(t===e.message)return e;const n=new Error(t);return n.name=e.name,n.stack=e.stack,n}function hke(e){return{recordPageView(t){e.recordPageView(dke(t))},recordError(t,n){e.recordError(fke(t)),n&&e.recordEvent("telemetry.error_context",n)},recordEvent(t,n){e.recordEvent(t,n??{})},recordTiming(t,n,r){e.recordEvent("telemetry.timing",{...r,name:t,durationMs:String(n)})}}}function fD(e){return e instanceof Error?e:new Error(String(e))}function pke(e){window.addEventListener("error",t=>{e.recordError(fD(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{e.recordError(fD(t.reason))})}function mke(){const{appMonitorId:e,identityPoolId:t,region:n}=uv().rum;if(!e)return dq;const r=new cke(e,"1.0.0",n,{sessionSampleRate:1,identityPoolId:t,endpoint:`https://dataplane.rum.${n}.amazonaws.com`,telemetries:["performance"],disableAutoPageView:!0,allowCookies:!1,enableXRay:!1}),a=hke(r);return pke(a),a}const hq=E.createContext(dq);function pMe(){return E.useContext(hq)}const z_="remit.theme",gke="dark";function hD(){return typeof localStorage>"u"?"system":localStorage.getItem(z_)??"system"}function F_(e){if(typeof document>"u")return;const t=e==="dark"||e==="system"&&typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle(gke,t)}function mMe(e){typeof localStorage<"u"&&(e==="system"?localStorage.removeItem(z_):localStorage.setItem(z_,e)),F_(e)}const vke=()=>{if(typeof window>"u"||(F_(hD()),typeof window.matchMedia!="function"))return;const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{F_(hD())};typeof e.addEventListener=="function"?e.addEventListener("change",t):e.addListener(t)},yke=e=>e==="true"||e==="false"||e==="null"||/^["[{]/.test(e)||e!==""&&Number.isFinite(Number(e));function pD(e){return typeof e=="object"&&e!==null?JSON.stringify(e):typeof e=="string"?yke(e)?JSON.stringify(e):e:String(e)}function bke(e){const t=new URLSearchParams;for(const r of Object.keys(e)){const a=e[r];if(a!==void 0){if(Array.isArray(a)){for(const s of a)t.append(r,pD(s));continue}t.set(r,pD(a))}}const n=t.toString();return n===""?"":`?${n}`}const Ske=(e,t,n,r)=>{const a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);Yl(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},mD={},$_=(e,t,n,r)=>{Yl(n)&&mD[n]||(Yl(n)&&(mD[n]=new Date),Ske(e,t,n,r))},pq=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},B_=(e,t,n)=>{e.loadNamespaces(t,pq(e,n))},gD=(e,t,n,r)=>{if(Yl(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return B_(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,pq(e,r))},wke=(e,t,n={})=>!t.languages||!t.languages.length?($_(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Yl=e=>typeof e=="string",xke=e=>typeof e=="object"&&e!==null,Cke=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Eke={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},_ke=e=>Eke[e],kke=e=>e.replace(Cke,_ke);let H_={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:kke};const Ake=(e={})=>{H_={...H_,...e}},Ike=()=>H_;let mq;const Rke=e=>{mq=e},Tke=()=>mq,Oke={type:"3rdParty",init(e){Ake(e.options.react),Rke(e)}},Nke=E.createContext();class Mke{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Pke=(e,t)=>{const n=E.useRef();return E.useEffect(()=>{n.current=e},[e,t]),n.current},gq=(e,t,n,r)=>e.getFixedT(t,n,r),Dke=(e,t,n,r)=>E.useCallback(gq(e,t,n,r),[e,t,n,r]),vq=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:a}=E.useContext(Nke)||{},s=n||r||Tke();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Mke),!s){$_(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const R=(O,T)=>Yl(T)?T:xke(T)&&Yl(T.defaultValue)?T.defaultValue:Array.isArray(O)?O[O.length-1]:O,N=[R,{},!1];return N.t=R,N.i18n={},N.ready=!1,N}s.options.react?.wait&&$_(s,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...Ike(),...s.options.react,...t},{useSuspense:c,keyPrefix:u}=i;let f=e||a||s.options?.defaultNS;f=Yl(f)?[f]:f||["translation"],s.reportNamespaces.addUsedNamespaces?.(f);const h=(s.isInitialized||s.initializedStoreOnce)&&f.every(R=>wke(R,s,i)),m=Dke(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),g=()=>m,y=()=>gq(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),[S,w]=E.useState(g);let C=f.join();t.lng&&(C=`${t.lng}${C}`);const _=Pke(C),k=E.useRef(!0);E.useEffect(()=>{const{bindI18n:R,bindI18nStore:N}=i;k.current=!0,!h&&!c&&(t.lng?gD(s,t.lng,f,()=>{k.current&&w(y)}):B_(s,f,()=>{k.current&&w(y)})),h&&_&&_!==C&&k.current&&w(y);const O=()=>{k.current&&w(y)};return R&&s?.on(R,O),N&&s?.store.on(N,O),()=>{k.current=!1,s&&R&&R?.split(" ").forEach(T=>s.off(T,O)),N&&s&&N.split(" ").forEach(T=>s.store.off(T,O))}},[s,C]),E.useEffect(()=>{k.current&&h&&w(g)},[s,u,h]);const A=[S,s,h];if(A.t=S,A.i18n=s,A.ready=h,h||!h&&!c)return A;throw new Promise(R=>{t.lng?gD(s,t.lng,f,()=>R()):B_(s,f,()=>R())})},Lke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts",...e,headers:{"Content-Type":"application/json",...e.headers}}),Uke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/oauth/microsoft/start",...e,headers:{"Content-Type":"application/json",...e.headers}}),jke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/test-connection",...e,headers:{"Content-Type":"application/json",...e.headers}}),zke=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e}),Fke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),$ke=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e}),Bke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e,headers:{"Content-Type":"application/json",...e.headers}}),Hke=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e}),qke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wke=e=>(e.client??Ae).put({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/folder-roles/{role}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vke=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e}),Gke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kke=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e}),Yke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zke=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e}),Xke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e,headers:{"Content-Type":"application/json",...e.headers}}),gMe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e}),Qke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Jke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize",...e,headers:{"Content-Type":"application/json",...e.headers}}),eAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),tAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/{organizeJobId}",...e}),nAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync",...e}),rAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync/status",...e}),aAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/trash/empty",...e}),sAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/search",...e}),oAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/{addressId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),iAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e}),lAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e,headers:{"Content-Type":"application/json",...e.headers}}),cAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),uAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),dAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),fAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-free-busy",...e}),hAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars",...e}),pAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),mAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),gAe=e=>(e.client??Ae).put({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),vAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config",...e}),yAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config/export",...e}),bAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/config/import",...e,headers:{"Content-Type":"application/json",...e.headers}}),vMe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads",...e}),SAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads/search",...e}),wAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/me",...e,headers:{"Content-Type":"application/json",...e.headers}}),xAe=e=>(e?.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/me/export",...e}),CAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/quarantine",...e}),EAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/vip-suggestions",...e}),_Ae=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/delete",...e,headers:{"Content-Type":"application/json",...e.headers}}),kAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),AAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),IAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/move",...e,headers:{"Content-Type":"application/json",...e.headers}}),yMe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/not-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),bMe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/report-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),RAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}",...e}),TAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),OAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/raw",...e}),NAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e}),MAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e,headers:{"Content-Type":"application/json",...e.headers}}),PAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),DAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),LAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),UAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/send",...e}),jAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/search/semantic",...e}),yq=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e}),zAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e,headers:{"Content-Type":"application/json",...e.headers}}),FAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads",...e}),$Ae=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads/{threadId}/messages",...e}),SMe=e=>({mutationFn:async n=>{const{data:r}=await Lke({...e,...n,throwOnError:!0});return r}}),tn=(e,t,n,r)=>{const a={_id:e,baseUrl:t?.baseUrl||(t?.client??Ae).getConfig().baseUrl};return t?.body&&(a.body=t.body),t?.headers&&(a.headers=t.headers),t?.path&&(a.path=t.path),t?.query&&(a.query=t.query),[a]},wMe=e=>({mutationFn:async n=>{const{data:r}=await Uke({...e,...n,throwOnError:!0});return r}}),xMe=e=>({mutationFn:async n=>{const{data:r}=await jke({...e,...n,throwOnError:!0});return r}}),CMe=e=>({mutationFn:async n=>{const{data:r}=await zke({...e,...n,throwOnError:!0});return r}}),EMe=e=>({mutationFn:async n=>{const{data:r}=await Fke({...e,...n,throwOnError:!0});return r}}),BAe=e=>tn("filterOperationsListFilters",e),_Me=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await $ke({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:BAe(e)}),kMe=e=>({mutationFn:async n=>{const{data:r}=await Bke({...e,...n,throwOnError:!0});return r}}),AMe=e=>({mutationFn:async n=>{const{data:r}=await Hke({...e,...n,throwOnError:!0});return r}}),IMe=e=>tn("filterDetailOperationsGetFilter",e),RMe=e=>({mutationFn:async n=>{const{data:r}=await qke({...e,...n,throwOnError:!0});return r}}),HAe=e=>({mutationFn:async n=>{const{data:r}=await Wke({...e,...n,throwOnError:!0});return r}}),qAe=e=>tn("labelOperationsListLabels",e),TMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await Vke({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:qAe(e)}),OMe=e=>({mutationFn:async n=>{const{data:r}=await Gke({...e,...n,throwOnError:!0});return r}}),NMe=e=>({mutationFn:async n=>{const{data:r}=await Kke({...e,...n,throwOnError:!0});return r}}),MMe=e=>({mutationFn:async n=>{const{data:r}=await Yke({...e,...n,throwOnError:!0});return r}}),bq=e=>tn("mailboxOperationsListMailboxes",e),q_=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await Zke({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:bq(e)}),WAe=e=>({mutationFn:async n=>{const{data:r}=await Xke({...e,...n,throwOnError:!0});return r}}),PMe=e=>({mutationFn:async n=>{const{data:r}=await Qke({...e,...n,throwOnError:!0});return r}}),DMe=e=>({mutationFn:async n=>{const{data:r}=await Jke({...e,...n,throwOnError:!0});return r}}),LMe=e=>({mutationFn:async n=>{const{data:r}=await eAe({...e,...n,throwOnError:!0});return r}}),VAe=e=>tn("organizeJobDetailOperationsGetOrganizeJob",e),UMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await tAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:VAe(e)}),jMe=e=>({mutationFn:async n=>{const{data:r}=await nAe({...e,...n,throwOnError:!0});return r}}),GAe=e=>tn("syncOperationsGetSyncStatus",e),zMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await rAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:GAe(e)}),FMe=e=>({mutationFn:async n=>{const{data:r}=await aAe({...e,...n,throwOnError:!0});return r}}),KAe=e=>tn("addressOperationsSearchAddresses",e),$Me=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await sAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:KAe(e)}),BMe=e=>({mutationFn:async n=>{const{data:r}=await oAe({...e,...n,throwOnError:!0});return r}}),YAe=e=>tn("calendarEventOperationsListCalendarEvents",e),HMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await iAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:YAe(e)}),qMe=e=>({mutationFn:async n=>{const{data:r}=await lAe({...e,...n,throwOnError:!0});return r}}),WMe=e=>({mutationFn:async n=>{const{data:r}=await cAe({...e,...n,throwOnError:!0});return r}}),ZAe=e=>tn("calendarEventDetailOperationsGetCalendarEvent",e),VMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await uAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:ZAe(e)}),GMe=e=>({mutationFn:async n=>{const{data:r}=await dAe({...e,...n,throwOnError:!0});return r}}),XAe=e=>tn("calendarFreeBusyOperationsListCalendarFreeBusy",e),KMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await fAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:XAe(e)}),QAe=e=>tn("calendarOperationsListCalendars",e),YMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await hAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:QAe(e)}),ZMe=e=>({mutationFn:async n=>{const{data:r}=await pAe({...e,...n,throwOnError:!0});return r}}),JAe=e=>tn("calendarDetailOperationsGetCalendarFeed",e),XMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await mAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:JAe(e)}),QMe=e=>({mutationFn:async n=>{const{data:r}=await gAe({...e,...n,throwOnError:!0});return r}}),Sq=e=>tn("configOperationsGetConfig",e),LI=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await vAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:Sq(e)}),eIe=e=>tn("configOperationsExportConfig",e),JMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await yAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:eIe(e)}),e8e=e=>({mutationFn:async n=>{const{data:r}=await bAe({...e,...n,throwOnError:!0});return r}}),t8e=e=>tn("threadOperationsListThreads",e),tIe=e=>tn("threadOperationsSearchThreads",e),n8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await SAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:tIe(e)}),r8e=e=>({mutationFn:async n=>{const{data:r}=await wAe({...e,...n,throwOnError:!0});return r}}),a8e=e=>({mutationFn:async n=>{const{data:r}=await xAe({...e,...n,throwOnError:!0});return r}}),nIe=e=>tn("meOperationsListQuarantine",e),s8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await CAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:nIe(e)}),rIe=e=>tn("meOperationsListVipSuggestions",e),o8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await EAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:rIe(e)}),i8e=e=>({mutationFn:async n=>{const{data:r}=await _Ae({...e,...n,throwOnError:!0});return r}}),l8e=e=>({mutationFn:async n=>{const{data:r}=await kAe({...e,...n,throwOnError:!0});return r}}),c8e=e=>({mutationFn:async n=>{const{data:r}=await AAe({...e,...n,throwOnError:!0});return r}}),u8e=e=>({mutationFn:async n=>{const{data:r}=await IAe({...e,...n,throwOnError:!0});return r}}),aIe=e=>tn("messageOperationsDescribeMessage",e),d8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await RAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:aIe(e)}),f8e=e=>({mutationFn:async n=>{const{data:r}=await TAe({...e,...n,throwOnError:!0});return r}}),sIe=e=>tn("messageOperationsGetRawMessage",e),h8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await OAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:sIe(e)}),wq=e=>tn("outboxOperationsListOutboxMessages",e),p8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await NAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:wq(e)}),m8e=e=>({mutationFn:async n=>{const{data:r}=await MAe({...e,...n,throwOnError:!0});return r}}),g8e=e=>({mutationFn:async n=>{const{data:r}=await PAe({...e,...n,throwOnError:!0});return r}}),oIe=e=>tn("outboxDetailOperationsGetOutboxMessage",e),iIe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await DAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:oIe(e)}),v8e=e=>({mutationFn:async n=>{const{data:r}=await LAe({...e,...n,throwOnError:!0});return r}}),y8e=e=>({mutationFn:async n=>{const{data:r}=await UAe({...e,...n,throwOnError:!0});return r}}),lIe=e=>tn("semanticSearchOperationsSemanticSearch",e),b8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await jAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:lIe(e)}),xq=e=>tn("systemOperationsGetSystemUpdate",e),cIe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await yq({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:xq(e)}),uIe=e=>({mutationFn:async n=>{const{data:r}=await zAe({...e,...n,throwOnError:!0});return r}}),dIe=e=>tn("unifiedThreadOperationsListAllThreads",e),fIe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await FAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:dIe(e)}),hIe=e=>tn("threadDetailOperationsListThreadMessages",e),S8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await $Ae({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:hIe(e)}),Cq=E.createContext(void 0),pIe=2e3,mIe=6e4,gIe=e=>e==="sent"||e==="unfiled"||e==="failed"||e==="blocked",vIe=Xj(404),vD=(e,t)=>gIe(e)||t!=null,yIe=({children:e})=>{const[t,n]=E.useState(),r=zd(),{data:a,error:s}=Jh({...iIe({path:{outboxMessageId:t??""}}),enabled:!!t,meta:vIe,retry:(f,h)=>!Aoe(h)&&f<1,refetchInterval:f=>vD(f.state.data?.status,f.state.error)?!1:pIe}),i=E.useCallback(()=>{n(void 0),r.invalidateQueries({queryKey:wq()})},[r]);E.useEffect(()=>{t&&vD(a?.status,s)&&i()},[a,s,t,i]),E.useEffect(()=>{if(!t)return;const f=setTimeout(i,mIe);return()=>clearTimeout(f)},[t,i]);const c=E.useCallback(f=>{n(f)},[]),u=E.useMemo(()=>({startSendPolling:c}),[c]);return x.jsx(Cq.Provider,{value:u,children:e})},w8e=()=>{const e=E.useContext(Cq);if(!e)throw new Error("useCompose must be used within a ComposeProvider");return e},bIe={Inbox:"Inbox",Drafts:"Drafts",Sent:"Sent",Archive:"Archive",Junk:"Junk",Trash:"Trash",All:"All",Flagged:"Flagged"},x8e={Appointed:"Appointed",Flagged:"Flagged",Reserved:"Reserved",Proposed:"Proposed",Stale:"Stale",None:"None"},yD={synced:"synced",failed:"failed"},C8e={uncategorized:"uncategorized",personal:"personal",newsletter:"newsletter",marketing:"marketing",automated:"automated",transactional:"transactional",social:"social"},E8e={Lookalike:"Lookalike",ForeignAddress:"ForeignAddress",Unrelated:"Unrelated"},_8e={MoveToInbox:"MoveToInbox",MoveToJunk:"MoveToJunk"},k8e={Attachment:"attachment"},SIe=new Set(["none","stale","unconfirmed"]),wIe=new Set(Object.values(bIe)),ME=(e,t)=>{const n=e?.[t];return typeof n=="string"?n:void 0},A8e=e=>{const t=Gj(e);if(t?.code!=="folder_role_unresolved")return;const{details:n}=t;if(!n)return;const r=ME(n,"reason"),a=ME(n,"role"),s=ME(n,"accountId");if(!(!r||!SIe.has(r))&&!(!a||!wIe.has(a)||!s))return{reason:r,role:a,accountId:s}},xIe=e=>Gj(e)?.code==="mailbox_not_settled",CIe=e=>e.hierarchyDelimiter.length===0?[e.fullPath]:e.fullPath.split(e.hierarchyDelimiter),vp=e=>{const t=CIe(e);return t[t.length-1]||e.fullPath},EIe=3e4,_Ie=1e3,kIe="The folder couldn't be created on the mail server. Please try again.",AIe="The folder was created but the mail server hasn't confirmed it yet, so nothing was attached to it. It's in your folder list — try again in a moment.",IIe=(e,t)=>new Promise((n,r)=>{if(t?.aborted){r(t.reason);return}const a=setTimeout(()=>{t?.removeEventListener("abort",s),n()},e),s=()=>{clearTimeout(a),r(t?.reason)};t?.addEventListener("abort",s,{once:!0})});async function RIe({fetchMailboxes:e,mailboxId:t,signal:n,timeoutMs:r=EIe,pollIntervalMs:a=_Ie,delay:s=IIe,now:i=Date.now}){const c=i()+r;for(;;){n?.throwIfAborted();const f=(await e()).find(h=>h.mailboxId===t);if(f?.syncStatus===yD.synced)return f;if(f?.syncStatus===yD.failed)throw new Error(kIe);if(i()>=c)throw new Error(AIe);await s(a,n)}}function Eq(e,t){const n=e.trim();return t?`${t.fullPath}${t.hierarchyDelimiter}${n}`:n}const bD=(e,t)=>{const n=t.length===0?[e]:e.split(t);return n[0]?.toLowerCase()==="inbox"&&(n[0]="INBOX"),n.join(t)};function TIe({name:e,delimiter:t,parent:n,existingPaths:r}){const a=e.trim();if(a==="")return"Enter a folder name.";if(t.length>0&&a.includes(t))return`A folder name can't contain "${t}".`;const s=bD(Eq(a,n),t);if(r.some(c=>bD(c,t)===s))return"A folder with that name already exists."}function OIe(e){const t=zd(),{data:n}=Jh({...q_({path:{accountId:e??""}}),enabled:!!e}),r=FA({...WAe(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:bq({path:{accountId:e}})})}}),a=E.useRef(new Map),s=E.useCallback(async(c,u,f)=>{if(!e)throw new Error("No account to create the folder in. Pick messages from a single account first.");const h=n?.items??[],m=u?h.find(C=>C.fullPath===u):void 0;if(u&&!m)throw new Error(`Couldn't find the folder "${u}" to create this one inside.`);const g=m?{fullPath:m.fullPath,hierarchyDelimiter:m.hierarchyDelimiter}:void 0,y=Eq(c,g);let S=a.current.get(y);if(!S){const C=g?.hierarchyDelimiter??h[0]?.hierarchyDelimiter??"/",_=TIe({name:c,delimiter:C,parent:g,existingPaths:h.map(A=>A.fullPath)});if(_)throw new Error(_);S=(await r.mutateAsync({path:{accountId:e},body:{fullPath:y,namespaceType:"personal"}})).mailboxId,a.current.set(y,S)}const w=await RIe({mailboxId:S,signal:f,fetchMailboxes:async()=>(await t.fetchQuery({...q_({path:{accountId:e}}),staleTime:0})).items??[]});return a.current.delete(y),{id:w.mailboxId,label:vp(w),path:w.fullPath}},[r,e,n,t]);return{createFolder:E.useCallback((c,u)=>s(c,"",u),[s]),createFolderIn:s,mutation:r}}const NIe=()=>{const{t:e}=vq("mail",{useSuspense:!1});return E.useCallback((t,n)=>e(t,{defaultValue:n}),[e])},PE={Inbox:"inbox",Drafts:"drafts",Sent:"sent",Archive:"archive",Junk:"junk",Trash:"trash",All:"all",Flagged:"flagged"},I8e={inbox:"Inbox",drafts:"Drafts",sent:"Sent",archive:"Archive",junk:"Junk",trash:"Trash",all:"All",flagged:"Flagged"},yp=["inbox","flagged","drafts","sent","archive","all","junk","trash"];function wy(e){const t=new Map,n=[...e].sort((r,a)=>yp.indexOf(PE[r.role])-yp.indexOf(PE[a.role]));for(const r of n){if(!r.mailboxId||t.has(r.mailboxId))continue;const a=PE[r.role];a&&t.set(r.mailboxId,a)}return t}function _q(e,t,n){const r=e.displayNameOverride?.trim();if(r)return r;const a=vp(e);return!t||!n?a:n(`sidebar.${t}`,a)}const MIe=new Set(["sent","drafts","trash"]),R8e=e=>e===void 0||!MIe.has(e),T8e=100,PIe=e=>e.trim().toLowerCase()==="inbox",DIe=(e,t)=>{if(e.hierarchyDelimiter.length===0)return!1;const n=`${e.fullPath}${e.hierarchyDelimiter}`;return t.some(r=>r.mailboxId!==e.mailboxId&&r.fullPath.startsWith(n))},LIe=["Appointed","Flagged","Reserved"],UIe=(e,t)=>e.mailboxId!==t.mailboxId?!1:e.source==="Stale"?t.specialUse?.includes(e.role)??!1:LIe.includes(e.source),jIe=(e,t)=>t.find(n=>UIe(n,e))?.role;function O8e(e,t,n){if(PIe(e.fullPath))return{deletable:!1,reason:"inbox",message:"The inbox can't be deleted."};const r=jIe(e,n);return r?{deletable:!1,reason:"role",message:`This folder is your ${r} folder. Reassign that role before deleting it.`}:DIe(e,t)?{deletable:!1,reason:"children",message:"This folder has subfolders. Delete them first."}:{deletable:!0}}function zIe(e,t){return e.filter(n=>n.mailboxId!==t)}function N8e(e){return{total:e,moved:0,phase:e===0?"moved":"moving"}}function M8e(e,t){if(e.phase!=="moving")return e;const n=Math.min(e.total,e.moved+Math.max(0,t));return{...e,moved:n,phase:n>=e.total?"moved":"moving"}}function P8e(e,t){return{...e,phase:"failed",error:t}}function D8e(e){return`Moved ${e.moved} of ${e.total}`}function L8e(e){const t=Math.max(0,Math.floor(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}function U8e(e){return e>0?"choose-fate":"confirm-empty"}const FIe=new Set(["outbox","postvak uit","boîte d'envoi","postausgang","buzón de salida","posta in uscita","送信トレイ","送件匣","发件箱","skrzynka nadawcza"]),$Ie=e=>{const t=vp(e).trim().toLowerCase();return FIe.has(t)},SD=yp.length,BIe=(e,t)=>{const n=wy(t);return[...e.filter(a=>{const s=n.get(a.mailboxId);return s==="drafts"||s==="sent"?!1:!$Ie(a)})].sort((a,s)=>{const i=n.has(a.mailboxId)?yp.indexOf(n.get(a.mailboxId)??"inbox"):SD,c=n.has(s.mailboxId)?yp.indexOf(n.get(s.mailboxId)??"inbox"):SD;return i!==c?i-c:vp(a).localeCompare(vp(s),void 0,{sensitivity:"base",numeric:!0})})},HIe=e=>e[0]?.hierarchyDelimiter??"/",qIe=({mailboxes:e,folderAppointments:t,currentMailboxId:n,excludeMailboxId:r,translator:a})=>{const s=BIe(e,t),i=wy(t);return(r?zIe(s,r):s).map(u=>({id:u.mailboxId,label:_q(u,i.get(u.mailboxId),a),path:u.fullPath,isCurrent:u.mailboxId===n,messageCount:u.messageCount}))},kq=E.createContext(void 0),wD=Symbol("appoint-failed"),WIe=({children:e})=>{const t=zd(),n=NIe(),[r,a]=E.useState(null),[s,i]=E.useState(),[c,u]=E.useState({kind:"choosing"}),f=r?.accountId,{data:h}=Jh({...LI(),staleTime:1/0,enabled:!!f}),{data:m}=Jh({...q_({path:{accountId:f??""}}),enabled:!!f}),{createFolderIn:g}=OIe(f),y=FA({...HAe(),meta:Xj(409)}),S=h?.accounts.find(U=>U.accountId===f),w=E.useMemo(()=>m?.items??[],[m]),C=E.useMemo(()=>S?.folderAppointments??[],[S]),_=E.useMemo(()=>qIe({mailboxes:w,folderAppointments:C,translator:n}),[w,C,n]),k=C.find(U=>U.role===r?.role),A=r?.guessedMailboxId??k?.mailboxId,R=w.find(U=>U.mailboxId===A),N=r?.trashFolderLabel??(R?_q(R,wy(C).get(R.mailboxId),n):void 0),O=E.useRef(null),T=E.useCallback(()=>{O.current=null,a(null),i(void 0),u({kind:"choosing"})},[]),P=E.useCallback(U=>{O.current=U,a(U),u({kind:"choosing"}),i(U.reason==="unconfirmed"?U.guessedMailboxId:void 0)},[]),L=E.useCallback(U=>{O.current===U&&T()},[T]),H=E.useCallback(U=>{r&&(u({kind:"appointing"}),y.mutateAsync({path:{accountId:r.accountId,role:r.role},body:{mailboxId:U}}).catch(q=>(u({kind:"appoint-failed",cause:xIe(q)?"mailbox-pending":"generic"}),wD)).then(async q=>{q!==wD&&(await t.invalidateQueries({queryKey:Sq()}),u({kind:"acting"}),await r.onAppointed(),L(r))}).catch(()=>L(r)))},[r,y,t,L]),j=E.useMemo(()=>({requestAppointment:P}),[P]);return x.jsxs(kq.Provider,{value:j,children:[e,r&&x.jsx(gse,{open:!0,reason:r.reason,action:r.action,folders:_,delimiter:HIe(w),trashFolderLabel:N,guessedMailboxId:A,staleFolderLabel:r.staleFolderLabel??k?.staleAppointmentPath,accountEmail:(h?.accounts.length??0)>1?S?.email:void 0,phase:c,selectedId:s,onSelect:i,onCreateFolder:g,onConfirm:H,onCancel:T})]})},j8e=()=>{const e=E.useContext(kq);if(!e)throw new Error("useRoleAppointmentPrompt must be used within a RoleAppointmentPromptProvider");return e},VIe=600,GIe=300,Aq="remit logs",KIe="https://github.com/remit-mail/reader/releases/tag/";function Iq(e,t){const n=t?.check.lastCheckedAt;return n!==void 0&&n!==e.since}function YIe(e){const t=ns(e);return`The check could not be requested — ${t===void 0?"the server did not answer":`the server answered ${t}`}. Run \`remit logs backend\` to see why.`}const ZIe={checking:"preparing",pulling:"preparing",snapshotting:"preparing",stopping:"restarting",starting:"restarting",verifying:"reconnecting",committing:"reconnecting",rollingBack:"reconnecting",recovering:"reconnecting"};function UI(e){return ZIe[e]??"reconnecting"}function Rq(e){const t=ns(e);return t===404||t===403||t===401}function Tq(e,t){const n=e?.check;if(n?.status==="ok"&&!(!n.updateAvailable||!n.latestVersion))return{version:n.latestVersion,releasedAt:B1(n.publishedAt)??t,releaseNotesUrl:n.releaseNotesUrl??Nq(n.latestVersion),summary:n.summary??""}}function XIe(e){const t=e?.check.schemaVersion,n=e?.currentSchemaVersion;return t===void 0||n===void 0?!1:t>n}function xD(){return VIe+GIe}function Oq(e,t){return Math.max(0,Math.floor((t-e)/1e3))}function B1(e){if(!e)return;const t=Date.parse(e);return Number.isNaN(t)?void 0:t}function Nq(e){return`${KIe}${e}`}function Uh(e,t,n,r,a){return{status:"applying",runId:e,version:t,target:n,phase:r,elapsedSeconds:a}}function QIe(e,t,n){switch(n){case"succeeded":return{status:"succeeded",runId:t.runId,version:t.targetVersion,previousVersion:t.fromVersion,releaseNotesUrl:e.check.releaseNotesUrl??Nq(t.targetVersion)};case"rolledBack":return{status:"rolledBack",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};case"rollbackFailed":return{status:"rollbackFailed",runId:t.runId,attemptedVersion:t.targetVersion,previousVersion:t.fromVersion,reason:t.message,logsCommand:t.logCommand};case"abandoned":return{status:"abandoned",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};default:return n}}function JIe(e,t,n,r){const a=e.check,s=B1(a.lastCheckedAt);if(n!==null)return{status:"checkFailed",version:e.currentVersion,reason:n,lastCheckedAt:s};if(t!==null&&!Iq(t,e))return{status:"checking",version:e.currentVersion};if(a.status==="failed")return{status:"checkFailed",version:e.currentVersion,reason:a.error??"Remit could not reach the update service.",lastCheckedAt:s};if(a.status==="disabled")return{status:"neverChecked",version:e.currentVersion,lastCheckedAt:s};const i=Tq(e,r);return i?{status:"available",version:e.currentVersion,release:i}:{status:"upToDate",version:e.currentVersion,checkedAt:B1(a.lastCheckedAt)??r}}function DE(e,t,n){return{surface:{status:"ready",section:e,overlay:t},releaseHeld:n}}function eRe(e,t){return{surface:{status:"ready",section:Uh(e.runId,e.previousVersion,e.attemptedVersion,"reconnecting",t),overlay:{kind:"neverCameBack",attemptedVersion:e.attemptedVersion,previousVersion:e.previousVersion,elapsedSeconds:t,logsCommand:Aq}},releaseHeld:!1}}function tRe(e,t,n,r,a){const s=Oq(e.startedAt,a),i=t?.currentVersion??e.previousVersion,c=!r&&n!==null&&n.runId===e.runId;if(c&&n!==null&&n.outcome!==null)return null;if(c&&n!==null){const u=UI(n.phase);return DE(Uh(n.runId,i,n.targetVersion,u,s),{kind:"applying",target:n.targetVersion,phase:u,elapsedSeconds:s},!1)}return r?s>xD()?eRe(e,s):DE(Uh(e.runId,e.previousVersion,e.attemptedVersion,"reconnecting",s),{kind:"applying",target:e.attemptedVersion,phase:"reconnecting",elapsedSeconds:s},!1):t===void 0?{surface:{status:"loading"},releaseHeld:!1}:s>xD()?{surface:{status:"ready",section:{status:"unreachable",runId:e.runId,previousVersion:e.previousVersion,attemptedVersion:e.attemptedVersion,elapsedSeconds:s,logsCommand:n?.logCommand??Aq},overlay:{kind:"none"}},releaseHeld:!0}:DE(Uh(e.runId,i,e.attemptedVersion,e.phase,s),{kind:"applying",target:e.attemptedVersion,phase:e.phase,elapsedSeconds:s},!1)}function CD(e){const{data:t,isError:n,dismissedRunId:r,checkPress:a,checkFailure:s,now:i}=e;if(n)return{status:"ready",section:{status:"checkFailed",version:t?.currentVersion??"the current version",reason:"Remit could not reach the update service."},overlay:{kind:"none"}};if(!t)return{status:"loading"};const c=t.run,u=c!==null&&r!==null&&c.runId===r;if(c!==null&&!u&&c.outcome!==null)return{status:"ready",section:QIe(t,c,c.outcome),overlay:{kind:"none"}};if(c!==null&&!u&&c.outcome===null){const f=Oq(B1(c.startedAt)??i,i),h=UI(c.phase);return{status:"ready",section:Uh(c.runId,c.fromVersion,c.targetVersion,h,f),overlay:{kind:"applying",target:c.targetVersion,phase:h,elapsedSeconds:f}}}return{status:"ready",section:JIe(t,a,s,i),overlay:{kind:"none"}}}function nRe(e){const{data:t,isError:n,error:r,held:a,now:s}=e,i=t?.run??null;if(Rq(r)&&!a)return{surface:{status:"absent"},releaseHeld:!0};if(a){const c=tRe(a,t,i,n,s);return c||{surface:CD(e),releaseHeld:!0}}return{surface:CD(e),releaseHeld:!1}}const rRe=3e4,aRe=5e3,sRe=3e4,oRe="The updater did not answer. Run `remit logs updater` to see why.";function iRe(e,t,n,r){if(Rq(e)&&!n)return!1;const a=t!==null&&t.outcome===null;return n||a||r?aRe:rRe}function lRe(){const e=zd(),[t,n]=E.useState(null),[r,a]=E.useState(null),[s,i]=E.useState(null),[c,u]=E.useState(null),f=E.useRef(t);f.current=t;const h=E.useRef(s);h.current=s;const m=Jh({...cIe(),retry:!1,meta:{softError:!0},refetchInterval:T=>iRe(T.state.error,T.state.data?.run??null,f.current!==null,h.current!==null)}),g=E.useRef(m.data);g.current=m.data;const y=nRe({data:m.data,isError:m.isError,error:m.error,held:t,dismissedRunId:r,checkPress:s,checkFailure:c,now:Date.now()}),S=E.useRef(null);S.current=y.surface.status==="ready"&&"runId"in y.surface.section?y.surface.section.runId:null;const{releaseHeld:w}=y;E.useEffect(()=>{w&&n(T=>T===null?T:null)},[w]),E.useEffect(()=>{s!==null&&Iq(s,m.data)&&i(null)},[s,m.data]),E.useEffect(()=>{if(s===null)return;const T=s.pressedAt+sRe-Date.now(),P=setTimeout(()=>{i(null),u(oRe)},Math.max(0,T));return()=>clearTimeout(P)},[s]);const{refetch:C}=m,_=E.useCallback(()=>{u(null),i({pressedAt:Date.now(),since:g.current?.check.lastCheckedAt}),yq({query:{refresh:!0},throwOnError:!0}).then(()=>{C()}).catch(T=>{jk(T,koe,"user")&&Wi(T),i(null),u(YIe(T))})},[C]),k=E.useCallback(()=>{C()},[C]),A=FA({...uIe(),meta:{softError:!0},onSuccess:T=>{const P=T.run;P!==null&&(n({runId:P.runId,attemptedVersion:P.targetVersion,previousVersion:P.fromVersion,phase:UI(P.phase),startedAt:Date.now()}),a(null)),e.setQueryData(xq(),T)},onError:()=>{C()}}),{mutate:R}=A,N=E.useCallback(T=>{R({body:{targetVersion:T}})},[R]),O=E.useCallback(()=>{S.current!==null&&a(S.current),n(null),i(null),u(null)},[]);return{surface:y.surface,appliesSchemaMigration:XIe(m.data),currentVersion:m.data?.currentVersion,release:Tq(m.data,Date.now()),onCheck:_,install:N,onDismissResult:O,onRetryConnection:k}}const jI=E.createContext(null);function cRe({children:e}){const t=lRe();return E.createElement(jI.Provider,{value:t},e)}function uRe(){const e=E.useContext(jI);if(e===null)throw new Error("useSelfUpdate must be used within a SelfUpdateProvider");return e}function dRe(){return E.useContext(jI)}function fRe(){const{surface:e,onRetryConnection:t}=uRe();if(e.status!=="ready")return null;const{overlay:n}=e;return n.kind==="applying"?x.jsx(loe,{target:n.target,phase:n.phase,elapsedSeconds:n.elapsedSeconds}):n.kind==="neverCameBack"?x.jsx(coe,{attemptedVersion:n.attemptedVersion,previousVersion:n.previousVersion,elapsedSeconds:n.elapsedSeconds,logsCommand:n.logsCommand,onRetryConnection:t}):null}const hRe={error:{container:"border-danger/50 bg-danger-soft",icon:"text-danger",title:"text-danger"},warning:{container:"border-warning/50 bg-warning-soft",icon:"text-warning",title:"text-warning"},info:{container:"border-accent-2/50 bg-accent-2-soft",icon:"text-accent-2",title:"text-accent-2"}},pRe={error:nte,warning:od,info:OU},mRe={error:"Error",warning:"Warning",info:"Information"},gRe=({id:e,severity:t,title:n,detail:r,action:a,onDismiss:s})=>{const i=hRe[t],c=pRe[t];return x.jsxs("div",{role:t==="error"?"alert":"status","aria-live":t==="error"?"assertive":"polite",className:Me("pointer-events-auto flex items-start gap-3 rounded-md border bg-canvas px-3 py-2 shadow-lg",i.container),children:[x.jsx(c,{className:Me("size-5 shrink-0 mt-0.5",i.icon),"aria-hidden":"true"}),x.jsxs("div",{className:"flex-1 min-w-0",children:[x.jsx("p",{className:Me("text-sm font-medium",i.title),children:n}),r&&x.jsx("p",{className:"mt-0.5 text-xs text-fg-muted break-words",children:r}),a&&x.jsx("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-block text-xs font-medium text-accent-2 underline underline-offset-2",children:a.label})]}),x.jsx("button",{type:"button",onClick:()=>s(e),className:"shrink-0 rounded-md p-1 text-fg-muted hover:bg-surface-raised hover:text-fg transition-colors","aria-label":`Dismiss ${mRe[t].toLowerCase()}`,children:x.jsx(Ps,{className:"size-4","aria-hidden":"true"})})]})},vRe=({errors:e,onDismiss:t})=>e.length===0?null:x.jsx("section",{"aria-label":"Notifications",className:"pointer-events-none fixed inset-x-0 top-0 z-[60] flex flex-col items-center gap-2 px-4 pt-[calc(1rem+env(safe-area-inset-top,0px))] sm:items-end sm:pr-6",children:x.jsx("div",{className:"flex w-full max-w-md flex-col gap-2",children:e.map(n=>x.jsx(gRe,{id:n.id,severity:n.severity,title:n.title,detail:n.detail,action:n.action,onDismiss:t},n.id))})}),ED=5,z8e=(e,t,n)=>({title:e,detail:Mq(n)??t,error:n}),Mq=e=>{if(e!=null){if(e instanceof Error)return e.message||void 0;if(typeof e=="string")return e||void 0;if(typeof e=="object"&&"message"in e&&typeof e.message=="string")return e.message||void 0}},F8e=e=>{const t=Mq(e);return t?t.startsWith("Message not found"):!1},yRe=(e,t,n)=>e.severity===n&&e.title===t.title&&e.detail===t.detail,bRe=(e,t)=>{const r=[...e.filter(a=>!yRe(a,{title:t.title,detail:t.detail,severity:t.severity},t.severity)),t];return r.length<=ED?r:r.slice(r.length-ED)},SRe=(e,t)=>e.filter(n=>n.id!==t),wRe=(e,t,n)=>({id:t,severity:e.severity??"error",title:e.title,detail:e.detail,action:e.action,createdAt:n}),Pq=E.createContext(void 0),xRe=e=>{if(e.action)return e.action;if((e.severity??"error")==="error")return{label:"Report an issue",href:zk(n1({title:`Bug: ${e.title}`,errorMessage:e.detail?`${e.title} — ${e.detail}`:e.title,stack:e.error instanceof Error?e.error.stack:void 0}))}},CRe=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`banner-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,ERe=({children:e})=>{const[t,n]=E.useState([]),r=E.useCallback(c=>{if(c.error!=null&&Zj(c.error))return Wi(c.error).correlationId;const u=wRe({...c,action:xRe(c)},CRe(),Date.now());return n(f=>bRe(f,u)),u.id},[]),a=E.useCallback(c=>{n(u=>SRe(u,c))},[]),s=E.useCallback(()=>{n([])},[]),i=E.useMemo(()=>({errors:t,pushError:r,dismissError:a,clearAll:s}),[t,r,a,s]);return x.jsxs(Pq.Provider,{value:i,children:[e,x.jsx(vRe,{errors:t,onDismiss:a})]})},$8e=()=>{const e=E.useContext(Pq);if(!e)throw new Error("useErrorBanners must be used within an ErrorBannerProvider");return e},_Re=({error:e,reset:t,info:n})=>{const r=Cv(e),a=Wi(e,{recoverable:r,componentStack:n?.componentStack});return x.jsx(az,{fatal:a,onRetry:r?t:void 0})},Ec=Qye()({component:ARe,errorComponent:_Re}),kRe=()=>{const{t:e}=vq("common",{useSuspense:!1});return x.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:z-50 focus:p-4 focus:bg-canvas focus:text-fg focus:rounded-md",children:e("accessibility.skipToContent","Skip to main content")})};function ARe(){return x.jsxs(ERe,{children:[x.jsx(WIe,{children:x.jsxs(cRe,{children:[x.jsxs(yIe,{children:[x.jsx(kRe,{}),x.jsx("main",{id:"main-content",className:"h-dvh overflow-hidden",children:x.jsx(E.Suspense,{fallback:x.jsx(wv,{}),children:x.jsx(k$,{})})})]}),x.jsx(fRe,{})]})}),x.jsx(rz,{})]})}const IRe=qe("/")({beforeLoad:()=>{throw Dp({to:"/mail/brief"})}}),RRe=uv().apiUrl;Ae.setConfig({baseUrl:RRe,fetch:xU});Ae.interceptors.error.use((e,t)=>e instanceof xv||!t?e:woe(e,t.status));const TRe=()=>Ke(()=>import("./calendar-C8r8ucbO.js"),__vite__mapDeps([0,1,2,3,4,5,6,7])),ORe=qe("/calendar")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(LI())},component:Xe(TRe,"component")}),NRe=()=>Ke(()=>import("./import-wNnA0N11.js"),__vite__mapDeps([8,9,10,11,12,13])),MRe=qe("/import")({component:Xe(NRe,"component")});var Ot;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const s={};for(const i of a)s[i]=i;return s},e.getValidEnumValues=a=>{const s=e.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),i={};for(const c of s)i[c]=a[c];return e.objectValues(i)},e.objectValues=a=>e.objectKeys(a).map(function(s){return a[s]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&s.push(i);return s},e.find=(a,s)=>{for(const i of a)if(s(i))return i},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(i=>typeof i=="string"?`'${i}'`:i).join(s)}e.joinValues=r,e.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(Ot||(Ot={}));var _D;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(_D||(_D={}));const Ne=Ot.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ti=e=>{switch(typeof e){case"undefined":return Ne.undefined;case"string":return Ne.string;case"number":return Number.isNaN(e)?Ne.nan:Ne.number;case"boolean":return Ne.boolean;case"function":return Ne.function;case"bigint":return Ne.bigint;case"symbol":return Ne.symbol;case"object":return Array.isArray(e)?Ne.array:e===null?Ne.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Ne.promise:typeof Map<"u"&&e instanceof Map?Ne.map:typeof Set<"u"&&e instanceof Set?Ne.set:typeof Date<"u"&&e instanceof Date?Ne.date:Ne.object;default:return Ne.unknown}},ve=Ot.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Mo extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(s){return s.message},r={_errors:[]},a=s=>{for(const i of s.issues)if(i.code==="invalid_union")i.unionErrors.map(a);else if(i.code==="invalid_return_type")a(i.returnTypeError);else if(i.code==="invalid_arguments")a(i.argumentsError);else if(i.path.length===0)r._errors.push(n(i));else{let c=r,u=0;for(;u<i.path.length;){const f=i.path[u];u===i.path.length-1?(c[f]=c[f]||{_errors:[]},c[f]._errors.push(n(i))):c[f]=c[f]||{_errors:[]},c=c[f],u++}}};return a(this),r}static assert(t){if(!(t instanceof Mo))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ot.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const s=a.path[0];n[s]=n[s]||[],n[s].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Mo.create=e=>new Mo(e);const W_=(e,t)=>{let n;switch(e.code){case ve.invalid_type:e.received===Ne.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ve.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ot.jsonStringifyReplacer)}`;break;case ve.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ot.joinValues(e.keys,", ")}`;break;case ve.invalid_union:n="Invalid input";break;case ve.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ot.joinValues(e.options)}`;break;case ve.invalid_enum_value:n=`Invalid enum value. Expected ${Ot.joinValues(e.options)}, received '${e.received}'`;break;case ve.invalid_arguments:n="Invalid function arguments";break;case ve.invalid_return_type:n="Invalid function return type";break;case ve.invalid_date:n="Invalid date";break;case ve.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ot.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ve.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ve.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ve.custom:n="Invalid input";break;case ve.invalid_intersection_types:n="Intersection results could not be merged";break;case ve.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ve.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ot.assertNever(e)}return{message:n}};let PRe=W_;function DRe(){return PRe}const LRe=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,s=[...n,...a.path||[]],i={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let c="";const u=r.filter(f=>!!f).slice().reverse();for(const f of u)c=f(i,{data:t,defaultError:c}).message;return{...a,path:s,message:c}};function _e(e,t){const n=DRe(),r=LRe({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===W_?void 0:W_].filter(a=>!!a)});e.common.issues.push(r)}class Nr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return Ze;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const s=await a.key,i=await a.value;r.push({key:s,value:i})}return Nr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:s,value:i}=a;if(s.status==="aborted"||i.status==="aborted")return Ze;s.status==="dirty"&&t.dirty(),i.status==="dirty"&&t.dirty(),s.value!=="__proto__"&&(typeof i.value<"u"||a.alwaysSet)&&(r[s.value]=i.value)}return{status:t.value,value:r}}}const Ze=Object.freeze({status:"aborted"}),Ch=e=>({status:"dirty",value:e}),Da=e=>({status:"valid",value:e}),kD=e=>e.status==="aborted",AD=e=>e.status==="dirty",bd=e=>e.status==="valid",H1=e=>typeof Promise<"u"&&e instanceof Promise;var Le;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Le||(Le={}));class Us{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ID=(e,t)=>{if(bd(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Mo(e.common.issues);return this._error=n,this._error}}};function ot(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(i,c)=>{const{message:u}=e;return i.code==="invalid_enum_value"?{message:u??c.defaultError}:typeof c.data>"u"?{message:u??r??c.defaultError}:i.code!=="invalid_type"?{message:c.defaultError}:{message:u??n??c.defaultError}},description:a}}class yt{get description(){return this._def.description}_getType(t){return Ti(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ti(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Nr,ctx:{common:t.parent.common,data:t.data,parsedType:Ti(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(H1(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ti(t)},a=this._parseSync({data:t,path:r.path,parent:r});return ID(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ti(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return bd(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>bd(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ti(t)},a=this._parse({data:t,path:r.path,parent:r}),s=await(H1(a)?a:Promise.resolve(a));return ID(r,s)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,s)=>{const i=t(a),c=()=>s.addIssue({code:ve.custom,...r(a)});return typeof Promise<"u"&&i instanceof Promise?i.then(u=>u?!0:(c(),!1)):i?!0:(c(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new cc({schema:this,typeName:Ge.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Bi.create(this,this._def)}nullable(){return xd.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Rs.create(this)}promise(){return K1.create(this,this._def)}or(t){return W1.create([this,t],this._def)}and(t){return V1.create(this,t,this._def)}transform(t){return new cc({...ot(this._def),schema:this,typeName:Ge.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Y_({...ot(this._def),innerType:this,defaultValue:n,typeName:Ge.ZodDefault})}brand(){return new sTe({typeName:Ge.ZodBranded,type:this,...ot(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Z_({...ot(this._def),innerType:this,catchValue:n,typeName:Ge.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return zI.create(this,t)}readonly(){return X_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const URe=/^c[^\s-]{8,}$/i,jRe=/^[0-9a-z]+$/,zRe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,FRe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,$Re=/^[a-z0-9_-]{21}$/i,BRe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,HRe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,qRe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,WRe="^(\\p{Extended_Pictographic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-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ZRe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,XRe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Dq="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",QRe=new RegExp(`^${Dq}$`);function Lq(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function JRe(e){return new RegExp(`^${Lq(e)}$`)}function eTe(e){let t=`${Dq}T${Lq(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function tTe(e,t){return!!((t==="v4"||!t)&&VRe.test(e)||(t==="v6"||!t)&&KRe.test(e))}function nTe(e,t){if(!BRe.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function rTe(e,t){return!!((t==="v4"||!t)&&GRe.test(e)||(t==="v6"||!t)&&YRe.test(e))}class As extends yt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Ne.string){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_type,expected:Ne.string,received:s.parsedType}),Ze}const r=new Nr;let a;for(const s of this._def.checks)if(s.kind==="min")t.data.length<s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")t.data.length>s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const i=t.data.length>s.value,c=t.data.length<s.value;(i||c)&&(a=this._getOrReturnCtx(t,a),i?_e(a,{code:ve.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&&_e(a,{code:ve.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")qRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"email",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")LE||(LE=new RegExp(WRe,"u")),LE.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"emoji",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")FRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"uuid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")$Re.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"nanoid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")URe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"cuid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")jRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"cuid2",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")zRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"ulid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),_e(a,{validation:"url",code:ve.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"regex",code:ve.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?t.data=t.data.trim():s.kind==="includes"?t.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?t.data=t.data.toLowerCase():s.kind==="toUpperCase"?t.data=t.data.toUpperCase():s.kind==="startsWith"?t.data.startsWith(s.value)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?t.data.endsWith(s.value)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?eTe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?QRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?JRe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?HRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"duration",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?tTe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"ip",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?nTe(t.data,s.alg)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"jwt",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?rTe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"cidr",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?ZRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"base64",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?XRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"base64url",code:ve.invalid_string,message:s.message}),r.dirty()):Ot.assertNever(s);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ve.invalid_string,...Le.errToObj(r)})}_addCheck(t){return new As({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Le.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Le.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Le.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Le.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Le.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Le.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Le.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Le.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Le.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Le.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Le.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Le.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Le.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...Le.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Le.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Le.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Le.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...Le.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Le.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Le.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Le.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Le.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Le.errToObj(n)})}nonempty(t){return this.min(1,Le.errToObj(t))}trim(){return new As({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}As.create=e=>new As({checks:[],typeName:Ge.ZodString,coerce:e?.coerce??!1,...ot(e)});function aTe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,s=Number.parseInt(e.toFixed(a).replace(".","")),i=Number.parseInt(t.toFixed(a).replace(".",""));return s%i/10**a}class oc extends yt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Ne.number){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_type,expected:Ne.number,received:s.parsedType}),Ze}let r;const a=new Nr;for(const s of this._def.checks)s.kind==="int"?Ot.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?aTe(t.data,s.value)!==0&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.not_finite,message:s.message}),a.dirty()):Ot.assertNever(s);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Le.toString(n))}setLimit(t,n,r,a){return new oc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Le.toString(a)}]})}_addCheck(t){return new oc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Le.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Le.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Le.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Le.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Le.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ot.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}oc.create=e=>new oc({checks:[],typeName:Ge.ZodNumber,coerce:e?.coerce||!1,...ot(e)});class ic extends yt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Ne.bigint)return this._getInvalidInput(t);let r;const a=new Nr;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?t.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):Ot.assertNever(s);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return _e(n,{code:ve.invalid_type,expected:Ne.bigint,received:n.parsedType}),Ze}gte(t,n){return this.setLimit("min",t,!0,Le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Le.toString(n))}setLimit(t,n,r,a){return new ic({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Le.toString(a)}]})}_addCheck(t){return new ic({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Le.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ic.create=e=>new ic({checks:[],typeName:Ge.ZodBigInt,coerce:e?.coerce??!1,...ot(e)});class q1 extends yt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Ne.boolean){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.boolean,received:r.parsedType}),Ze}return Da(t.data)}}q1.create=e=>new q1({typeName:Ge.ZodBoolean,coerce:e?.coerce||!1,...ot(e)});class Sd extends yt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Ne.date){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_type,expected:Ne.date,received:s.parsedType}),Ze}if(Number.isNaN(t.data.getTime())){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_date}),Ze}const r=new Nr;let a;for(const s of this._def.checks)s.kind==="min"?t.data.getTime()<s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?t.data.getTime()>s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):Ot.assertNever(s);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Sd({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Le.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Le.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Sd.create=e=>new Sd({checks:[],coerce:e?.coerce||!1,typeName:Ge.ZodDate,...ot(e)});class RD extends yt{_parse(t){if(this._getType(t)!==Ne.symbol){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.symbol,received:r.parsedType}),Ze}return Da(t.data)}}RD.create=e=>new RD({typeName:Ge.ZodSymbol,...ot(e)});class TD extends yt{_parse(t){if(this._getType(t)!==Ne.undefined){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.undefined,received:r.parsedType}),Ze}return Da(t.data)}}TD.create=e=>new TD({typeName:Ge.ZodUndefined,...ot(e)});class OD extends yt{_parse(t){if(this._getType(t)!==Ne.null){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.null,received:r.parsedType}),Ze}return Da(t.data)}}OD.create=e=>new OD({typeName:Ge.ZodNull,...ot(e)});class ND extends yt{constructor(){super(...arguments),this._any=!0}_parse(t){return Da(t.data)}}ND.create=e=>new ND({typeName:Ge.ZodAny,...ot(e)});class V_ extends yt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Da(t.data)}}V_.create=e=>new V_({typeName:Ge.ZodUnknown,...ot(e)});class Qi extends yt{_parse(t){const n=this._getOrReturnCtx(t);return _e(n,{code:ve.invalid_type,expected:Ne.never,received:n.parsedType}),Ze}}Qi.create=e=>new Qi({typeName:Ge.ZodNever,...ot(e)});class MD extends yt{_parse(t){if(this._getType(t)!==Ne.undefined){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.void,received:r.parsedType}),Ze}return Da(t.data)}}MD.create=e=>new MD({typeName:Ge.ZodVoid,...ot(e)});class Rs extends yt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Ne.array)return _e(n,{code:ve.invalid_type,expected:Ne.array,received:n.parsedType}),Ze;if(a.exactLength!==null){const i=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(i||c)&&(_e(n,{code:i?ve.too_big:ve.too_small,minimum:c?a.exactLength.value:void 0,maximum:i?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(_e(n,{code:ve.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(_e(n,{code:ve.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((i,c)=>a.type._parseAsync(new Us(n,i,n.path,c)))).then(i=>Nr.mergeArray(r,i));const s=[...n.data].map((i,c)=>a.type._parseSync(new Us(n,i,n.path,c)));return Nr.mergeArray(r,s)}get element(){return this._def.type}min(t,n){return new Rs({...this._def,minLength:{value:t,message:Le.toString(n)}})}max(t,n){return new Rs({...this._def,maxLength:{value:t,message:Le.toString(n)}})}length(t,n){return new Rs({...this._def,exactLength:{value:t,message:Le.toString(n)}})}nonempty(t){return this.min(1,t)}}Rs.create=(e,t)=>new Rs({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ge.ZodArray,...ot(t)});function Lu(e){if(e instanceof On){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Bi.create(Lu(r))}return new On({...e._def,shape:()=>t})}else return e instanceof Rs?new Rs({...e._def,type:Lu(e.element)}):e instanceof Bi?Bi.create(Lu(e.unwrap())):e instanceof xd?xd.create(Lu(e.unwrap())):e instanceof lc?lc.create(e.items.map(t=>Lu(t))):e}class On extends yt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Ot.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Ne.object){const f=this._getOrReturnCtx(t);return _e(f,{code:ve.invalid_type,expected:Ne.object,received:f.parsedType}),Ze}const{status:r,ctx:a}=this._processInputParams(t),{shape:s,keys:i}=this._getCached(),c=[];if(!(this._def.catchall instanceof Qi&&this._def.unknownKeys==="strip"))for(const f in a.data)i.includes(f)||c.push(f);const u=[];for(const f of i){const h=s[f],m=a.data[f];u.push({key:{status:"valid",value:f},value:h._parse(new Us(a,m,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof Qi){const f=this._def.unknownKeys;if(f==="passthrough")for(const h of c)u.push({key:{status:"valid",value:h},value:{status:"valid",value:a.data[h]}});else if(f==="strict")c.length>0&&(_e(a,{code:ve.unrecognized_keys,keys:c}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const h of c){const m=a.data[h];u.push({key:{status:"valid",value:h},value:f._parse(new Us(a,m,a.path,h)),alwaysSet:h in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const h of u){const m=await h.key,g=await h.value;f.push({key:m,value:g,alwaysSet:h.alwaysSet})}return f}).then(f=>Nr.mergeObjectSync(r,f)):Nr.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return Le.errToObj,new On({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:Le.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new On({...this._def,unknownKeys:"strip"})}passthrough(){return new On({...this._def,unknownKeys:"passthrough"})}extend(t){return new On({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new On({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ge.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new On({...this._def,catchall:t})}pick(t){const n={};for(const r of Ot.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new On({...this._def,shape:()=>n})}omit(t){const n={};for(const r of Ot.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new On({...this._def,shape:()=>n})}deepPartial(){return Lu(this)}partial(t){const n={};for(const r of Ot.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new On({...this._def,shape:()=>n})}required(t){const n={};for(const r of Ot.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof Bi;)s=s._def.innerType;n[r]=s}return new On({...this._def,shape:()=>n})}keyof(){return Uq(Ot.objectKeys(this.shape))}}On.create=(e,t)=>new On({shape:()=>e,unknownKeys:"strip",catchall:Qi.create(),typeName:Ge.ZodObject,...ot(t)});On.strictCreate=(e,t)=>new On({shape:()=>e,unknownKeys:"strict",catchall:Qi.create(),typeName:Ge.ZodObject,...ot(t)});On.lazycreate=(e,t)=>new On({shape:e,unknownKeys:"strip",catchall:Qi.create(),typeName:Ge.ZodObject,...ot(t)});class W1 extends yt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(s){for(const c of s)if(c.result.status==="valid")return c.result;for(const c of s)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const i=s.map(c=>new Mo(c.ctx.common.issues));return _e(n,{code:ve.invalid_union,unionErrors:i}),Ze}if(n.common.async)return Promise.all(r.map(async s=>{const i={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(a);{let s;const i=[];for(const u of r){const f={...n,common:{...n.common,issues:[]},parent:null},h=u._parseSync({data:n.data,path:n.path,parent:f});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:f}),f.common.issues.length&&i.push(f.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const c=i.map(u=>new Mo(u));return _e(n,{code:ve.invalid_union,unionErrors:c}),Ze}}get options(){return this._def.options}}W1.create=(e,t)=>new W1({options:e,typeName:Ge.ZodUnion,...ot(t)});function G_(e,t){const n=Ti(e),r=Ti(t);if(e===t)return{valid:!0,data:e};if(n===Ne.object&&r===Ne.object){const a=Ot.objectKeys(t),s=Ot.objectKeys(e).filter(c=>a.indexOf(c)!==-1),i={...e,...t};for(const c of s){const u=G_(e[c],t[c]);if(!u.valid)return{valid:!1};i[c]=u.data}return{valid:!0,data:i}}else if(n===Ne.array&&r===Ne.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let s=0;s<e.length;s++){const i=e[s],c=t[s],u=G_(i,c);if(!u.valid)return{valid:!1};a.push(u.data)}return{valid:!0,data:a}}else return n===Ne.date&&r===Ne.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class V1 extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(s,i)=>{if(kD(s)||kD(i))return Ze;const c=G_(s.value,i.value);return c.valid?((AD(s)||AD(i))&&n.dirty(),{status:n.value,value:c.data}):(_e(r,{code:ve.invalid_intersection_types}),Ze)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,i])=>a(s,i)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}V1.create=(e,t,n)=>new V1({left:e,right:t,typeName:Ge.ZodIntersection,...ot(n)});class lc extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.array)return _e(r,{code:ve.invalid_type,expected:Ne.array,received:r.parsedType}),Ze;if(r.data.length<this._def.items.length)return _e(r,{code:ve.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ze;!this._def.rest&&r.data.length>this._def.items.length&&(_e(r,{code:ve.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((i,c)=>{const u=this._def.items[c]||this._def.rest;return u?u._parse(new Us(r,i,r.path,c)):null}).filter(i=>!!i);return r.common.async?Promise.all(s).then(i=>Nr.mergeArray(n,i)):Nr.mergeArray(n,s)}get items(){return this._def.items}rest(t){return new lc({...this._def,rest:t})}}lc.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new lc({items:e,typeName:Ge.ZodTuple,rest:null,...ot(t)})};class G1 extends yt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.object)return _e(r,{code:ve.invalid_type,expected:Ne.object,received:r.parsedType}),Ze;const a=[],s=this._def.keyType,i=this._def.valueType;for(const c in r.data)a.push({key:s._parse(new Us(r,c,r.path,c)),value:i._parse(new Us(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?Nr.mergeObjectAsync(n,a):Nr.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof yt?new G1({keyType:t,valueType:n,typeName:Ge.ZodRecord,...ot(r)}):new G1({keyType:As.create(),valueType:t,typeName:Ge.ZodRecord,...ot(n)})}}class PD extends yt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.map)return _e(r,{code:ve.invalid_type,expected:Ne.map,received:r.parsedType}),Ze;const a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([c,u],f)=>({key:a._parse(new Us(r,c,r.path,[f,"key"])),value:s._parse(new Us(r,u,r.path,[f,"value"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const u of i){const f=await u.key,h=await u.value;if(f.status==="aborted"||h.status==="aborted")return Ze;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const u of i){const f=u.key,h=u.value;if(f.status==="aborted"||h.status==="aborted")return Ze;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}}}}PD.create=(e,t,n)=>new PD({valueType:t,keyType:e,typeName:Ge.ZodMap,...ot(n)});class bp extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.set)return _e(r,{code:ve.invalid_type,expected:Ne.set,received:r.parsedType}),Ze;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(_e(r,{code:ve.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(_e(r,{code:ve.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const s=this._def.valueType;function i(u){const f=new Set;for(const h of u){if(h.status==="aborted")return Ze;h.status==="dirty"&&n.dirty(),f.add(h.value)}return{status:n.value,value:f}}const c=[...r.data.values()].map((u,f)=>s._parse(new Us(r,u,r.path,f)));return r.common.async?Promise.all(c).then(u=>i(u)):i(c)}min(t,n){return new bp({...this._def,minSize:{value:t,message:Le.toString(n)}})}max(t,n){return new bp({...this._def,maxSize:{value:t,message:Le.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}bp.create=(e,t)=>new bp({valueType:e,minSize:null,maxSize:null,typeName:Ge.ZodSet,...ot(t)});class DD extends yt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}DD.create=(e,t)=>new DD({getter:e,typeName:Ge.ZodLazy,...ot(t)});class K_ extends yt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return _e(n,{received:n.data,code:ve.invalid_literal,expected:this._def.value}),Ze}return{status:"valid",value:t.data}}get value(){return this._def.value}}K_.create=(e,t)=>new K_({value:e,typeName:Ge.ZodLiteral,...ot(t)});function Uq(e,t){return new wd({values:e,typeName:Ge.ZodEnum,...ot(t)})}class wd extends yt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return _e(n,{expected:Ot.joinValues(r),received:n.parsedType,code:ve.invalid_type}),Ze}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return _e(n,{received:n.data,code:ve.invalid_enum_value,options:r}),Ze}return Da(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return wd.create(t,{...this._def,...n})}exclude(t,n=this._def){return wd.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}wd.create=Uq;class LD extends yt{_parse(t){const n=Ot.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Ne.string&&r.parsedType!==Ne.number){const a=Ot.objectValues(n);return _e(r,{expected:Ot.joinValues(a),received:r.parsedType,code:ve.invalid_type}),Ze}if(this._cache||(this._cache=new Set(Ot.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=Ot.objectValues(n);return _e(r,{received:r.data,code:ve.invalid_enum_value,options:a}),Ze}return Da(t.data)}get enum(){return this._def.values}}LD.create=(e,t)=>new LD({values:e,typeName:Ge.ZodNativeEnum,...ot(t)});class K1 extends yt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ne.promise&&n.common.async===!1)return _e(n,{code:ve.invalid_type,expected:Ne.promise,received:n.parsedType}),Ze;const r=n.parsedType===Ne.promise?n.data:Promise.resolve(n.data);return Da(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}K1.create=(e,t)=>new K1({type:e,typeName:Ge.ZodPromise,...ot(t)});class cc extends yt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,s={addIssue:i=>{_e(r,i),i.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const i=a.transform(r.data,s);if(r.common.async)return Promise.resolve(i).then(async c=>{if(n.value==="aborted")return Ze;const u=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return u.status==="aborted"?Ze:u.status==="dirty"||n.value==="dirty"?Ch(u.value):u});{if(n.value==="aborted")return Ze;const c=this._def.schema._parseSync({data:i,path:r.path,parent:r});return c.status==="aborted"?Ze:c.status==="dirty"||n.value==="dirty"?Ch(c.value):c}}if(a.type==="refinement"){const i=c=>{const u=a.refinement(c,s);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Ze:(c.status==="dirty"&&n.dirty(),i(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?Ze:(c.status==="dirty"&&n.dirty(),i(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!bd(i))return Ze;const c=a.transform(i.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>bd(i)?Promise.resolve(a.transform(i.value,s)).then(c=>({status:n.value,value:c})):Ze);Ot.assertNever(a)}}cc.create=(e,t,n)=>new cc({schema:e,typeName:Ge.ZodEffects,effect:t,...ot(n)});cc.createWithPreprocess=(e,t,n)=>new cc({schema:t,effect:{type:"preprocess",transform:e},typeName:Ge.ZodEffects,...ot(n)});class Bi extends yt{_parse(t){return this._getType(t)===Ne.undefined?Da(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Bi.create=(e,t)=>new Bi({innerType:e,typeName:Ge.ZodOptional,...ot(t)});class xd extends yt{_parse(t){return this._getType(t)===Ne.null?Da(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}xd.create=(e,t)=>new xd({innerType:e,typeName:Ge.ZodNullable,...ot(t)});class Y_ extends yt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Ne.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Y_.create=(e,t)=>new Y_({innerType:e,typeName:Ge.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ot(t)});class Z_ extends yt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return H1(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Mo(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Mo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Z_.create=(e,t)=>new Z_({innerType:e,typeName:Ge.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ot(t)});class UD extends yt{_parse(t){if(this._getType(t)!==Ne.nan){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.nan,received:r.parsedType}),Ze}return{status:"valid",value:t.data}}}UD.create=e=>new UD({typeName:Ge.ZodNaN,...ot(e)});class sTe extends yt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class zI extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Ze:s.status==="dirty"?(n.dirty(),Ch(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Ze:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new zI({in:t,out:n,typeName:Ge.ZodPipeline})}}class X_ extends yt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(bd(a)&&(a.value=Object.freeze(a.value)),a);return H1(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}X_.create=(e,t)=>new X_({innerType:e,typeName:Ge.ZodReadonly,...ot(t)});var Ge;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ge||(Ge={}));const nd=As.create,B8e=oc.create;ic.create;const oTe=q1.create;Sd.create;const jq=V_.create;Qi.create;const iTe=Rs.create,xy=On.create;W1.create;V1.create;lc.create;const H8e=G1.create,lTe=K_.create,Cy=wd.create;K1.create;Bi.create;xd.create;const cTe=cc.createWithPreprocess,q8e={string:(e=>As.create({...e,coerce:!0})),number:(e=>oc.create({...e,coerce:!0})),boolean:(e=>q1.create({...e,coerce:!0})),bigint:(e=>ic.create({...e,coerce:!0})),date:(e=>Sd.create({...e,coerce:!0}))},zq="/mail/brief",Fq="/mail/$mailboxId",$q="/mail/outbox",Bq="/mail/flagged";function uTe(e){for(const t of e){if(t.routeId===zq)return{list:"brief"};if(t.routeId===Bq)return{list:"flagged"};if(t.routeId===$q)return{list:"outbox"};if(t.routeId===Fq)return{list:"mailbox",mailboxId:t.params?.mailboxId}}}function W8e(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);if(t[0]!=="mail")return"";const n=t[1];return n?n==="brief"?zq:n==="flagged"?Bq:n==="outbox"?$q:dTe(n):""}function V8e(e){if(typeof e!="object"||e===null)return"";const{q:t}=e;return typeof t=="string"?t:""}function dTe(e){return`${Fq}:${e}`}function G8e(e,t){return e===t?!0:e.startsWith(`${t}/`)}function fTe(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);return t[0]==="mail"&&t.length>2}const hTe=()=>use(cse),FI=["intelligence","nav","shortcuts"],pTe=["nav","shortcuts"],Hq=e=>pTe.includes(e);function K8e(e,t){return[...e.filter(n=>!Hq(n)),...t?[t]:[]]}const mTe=Cy(FI);function Q_(e){const t=new Set(e.split(",").map(n=>mTe.safeParse(n)).filter(n=>n.success).map(n=>n.data));return FI.filter(n=>t.has(n))}function $I(e){return FI.filter(t=>e.includes(t)).join(",")}function Y8e(){const e=A$({select:t=>$I(Q_(t.hash))});return E.useMemo(()=>Q_(e),[e])}const gTe=(e,t)=>!Hq(e)&&t;function vTe(e){return(t="")=>$I(Q_(t).filter(n=>gTe(n,e)))}function Ey(){const e=hTe();return E.useMemo(()=>vTe(e),[e])}function Z8e(){const e=$s();return E.useCallback(t=>{e({search:!0,hash:$I(t),replace:!0,hashScrollIntoView:!1})},[e])}function _y(){const e=ybe({select:n=>uTe(n.matches)?.list}),t=Ju({from:"/mail/$mailboxId",shouldThrow:!1});return{list:e,mailboxId:t?.mailboxId}}function X8e(){const{pathname:e}=A$();return fTe(e)}function Q8e(){const e=$s(),t=Ey(),{list:n,mailboxId:r}=_y();return E.useCallback(()=>{const a=i=>i,s=t;if(n==="flagged"){e({to:"/mail/flagged",search:a,hash:s});return}if(n==="outbox"){e({to:"/mail/outbox",search:a,hash:s});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId",params:{mailboxId:r},search:a,hash:s});return}e({to:"/mail/brief",search:a,hash:s})},[e,t,n,r])}const yTe=["year","month","week","day","agenda"],bTe=Cy(yTe),qq="week",STe=new Set(["week","day"]),J8e=e=>STe.has(e),ePe=e=>e==="agenda";function wTe(e){const t=bTe.safeParse(e);return t.success?t.data:void 0}const xTe=/^\d{4}-\d{2}-\d{2}$/;function CTe(e){if(!xTe.test(e))return;const[t,n,r]=e.split("-").map(Number),a=Date.UTC(t,n-1,r),s=new Date(a);if(s.getUTCFullYear()===t&&s.getUTCMonth()===n-1&&s.getUTCDate()===r)return e}const Cd=e=>String(e).padStart(2,"0");function Wq(e){return`${e.getFullYear()}-${Cd(e.getMonth()+1)}-${Cd(e.getDate())}`}function ETe(e,t){return{view:wTe(e.view)??qq,date:CTe(e.date)??t}}function tPe(e,t,n){const[r,a,s]=e.split("-").map(Number);if(t==="year")return jD(r+n,a,s);if(t==="month")return jD(r,a+n,s);const i=t==="day"?1:7,c=new Date(Date.UTC(r,a-1,s+i*n));return _Te(c)}const _Te=e=>`${e.getUTCFullYear()}-${Cd(e.getUTCMonth()+1)}-${Cd(e.getUTCDate())}`;function jD(e,t,n){const r=e+Math.floor((t-1)/12),a=((t-1)%12+12)%12+1,s=new Date(Date.UTC(r,a,0)).getUTCDate();return`${r}-${Cd(a)}-${Cd(Math.min(n,s))}`}const Vq=nd().min(1);function kTe(e){const t=e==null?[]:[e].flat(),n=new Set;for(const r of t){if(typeof r!="string"&&typeof r!="number")continue;const a=Vq.safeParse(String(r));a.success&&n.add(a.data)}return[...n].sort()}const Gq=xy({calendarId:cTe(kTe,iTe(Vq)).transform(e=>e.length===0?void 0:e)}),ATe=Kye(Qae);function nPe({fragment:e,...t}){const n=Ey();return x.jsx(ATe,{...t,hash:e??n})}const ITe=["reply","reply-all","forward"],RTe=Cy(ITe),Kq="/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}",Yq="/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}",Zq="/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}";function Xq(){const e=Ju({from:Kq,shouldThrow:!1}),t=Ju({from:Yq,shouldThrow:!1}),n=Ju({from:Zq,shouldThrow:!1});return e??t??n}function BI(){const e=Xq();return E.useMemo(()=>{if(!e)return;const t=RTe.safeParse(e.mode);return t.success?{kind:"reply",mode:t.data,threadId:e.threadId,sourceMessageId:e.messageId,outboxMessageId:e.outboxMessageId}:{kind:"unknown",segment:e.mode}},[e])}function rPe(){return BI()?.kind==="reply"}function Qq(e,t,n,r){return e==="flagged"?{to:Yq,params:{...n,outboxMessageId:r}}:e==="mailbox"&&t?{to:Zq,params:{...n,mailboxId:t,outboxMessageId:r}}:{to:Kq,params:{...n,outboxMessageId:r}}}function TTe(e,t){if(e?.kind==="reply"&&e.threadId===t.threadId&&e.sourceMessageId===t.messageId)return e.outboxMessageId}function aPe(){const e=$s(),t=Ey(),{list:n,mailboxId:r}=_y(),a=BI();return E.useCallback(s=>{e({...Qq(n,r,s,TTe(a,s)),search:i=>i,hash:t})},[e,t,n,r,a])}function sPe(e,t,n){if(!(!t||!n))return r=>e({threadId:t,messageId:n,mode:r})}function oPe(){const e=$s(),{list:t,mailboxId:n}=_y(),r=BI();return E.useCallback(a=>{r?.kind==="reply"&&e({...Qq(t,n,{threadId:r.threadId,messageId:r.sourceMessageId,mode:r.mode},a),search:s=>s,hash:!0,replace:!0})},[e,t,n,r])}function iPe(){const e=$s(),t=Ey(),{list:n,mailboxId:r}=_y(),a=Xq();return E.useCallback(()=>{if(!a)return;const s=u=>u,i=t,c={threadId:a.threadId,messageId:a.messageId};if(n==="flagged"){e({to:"/mail/flagged/$threadId/$messageId",params:c,search:s,hash:i});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId/$threadId/$messageId",params:{...c,mailboxId:r},search:s,hash:i});return}e({to:"/mail/brief/$threadId/$messageId",params:c,search:s,hash:i})},[e,t,n,r,a])}const OTe=new Map;function lPe(e){const t=new Map;for(const n of e){const r=wy(n.folderAppointments);for(const[a,s]of r)t.set(a,{role:s});for(const a of n.mailboxes){const s=r.get(a.mailboxId),i={providerPath:a.fullPath,hierarchyDelimiter:a.hierarchyDelimiter};t.set(a.mailboxId,s?{role:s,...i}:i)}}return t}function cPe(e,t){const n=t[0];if(!e)return n?{mailboxId:n}:{};for(const a of t){const s=e.get(a);if(s&&Vae(s)!==void 0)return{mailboxId:a,folder:s}}if(!n)return{};const r=e.get(n);return{mailboxId:n,...r?{folder:r}:{}}}const NTe=E.createContext(null),uPe=()=>E.useContext(NTe)??{accounts:[],mailboxNameIndex:new Map,accountNameIndex:new Map,resultFolderIndex:OTe,searchQuery:"",searchInput:"",searchViewKey:"",onSearchChange:()=>{},onSearchClear:()=>{},onSearchClearQuery:()=>{},intelligenceOpen:!1,onToggleIntelligence:()=>{},onRaiseIntelligence:()=>{}},MTe=Cy(["match","properties","folder","rule","name","review","run"]),PTe=e=>{const t=MTe.safeParse(e);return t.success?t.data:void 0},DTe=lTe("search"),LTe=e=>{const t=DTe.safeParse(e);return t.success?t.data:void 0},UTe=jq().transform(LTe),jTe=()=>ty({from:"/mail",select:e=>e.wizardFrom}),zTe=jq().transform(PTe),FTe=(e,t)=>Sv(e,t)+1,Jq=()=>ty({from:"/mail",select:e=>e.wizard}),$Te=()=>{const e=$s();return E.useCallback((t,n)=>{e({to:".",search:r=>({...r,wizard:t,wizardFrom:n})})},[e])},dPe=()=>{const e=Jq(),t=$Te(),[n,r]=E.useState("organize"),a=E.useCallback(i=>{r(i),t("match")},[t]),s=E.useCallback(()=>{t("properties","search")},[t]);return{verb:n,start:a,startFromSearch:s,isOpen:e!==void 0}},fPe=e=>{const t=xr(),n=$s(),r=Jq(),a=jTe(),s=E.useRef(r!==void 0),i=E.useRef(a),c=E.useRef(void 0);E.useEffect(()=>{c.current=void 0},[r]),E.useEffect(()=>{if(!s.current)return;s.current=!1;const m=i.current;(async()=>(await n({to:".",search:g=>({...g,wizard:void 0,wizardFrom:void 0}),replace:!0}),await n({to:".",search:g=>({...g,wizard:e,wizardFrom:m})})))()},[e,n]);const u=E.useCallback(m=>{m===r||c.current===m||(c.current=m,n({to:".",search:g=>({...g,wizard:m})}))},[n,r]),f=E.useCallback(()=>{t.history.back()},[t]),h=E.useCallback((m,g)=>{t.history.go(-FTe(m,g))},[t]);return{step:r,goToStep:u,goBack:f,closeWizard:h}},BTe=()=>Ke(()=>import("./mail-D9FeEgFw.js"),__vite__mapDeps([14,15,16,3,4,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,6,2,5,32,33,34])),HTe=xy({q:nd().optional(),wizard:zTe,wizardFrom:UTe}),qTe=qe("/mail")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(LI()),e.prefetchQuery({...fIe(),staleTime:6e4})},component:Xe(BTe,"component"),validateSearch:HTe}),WTe=()=>Ke(()=>import("./onboarding-BJ9L_aBY.js"),__vite__mapDeps([35,36,33,9,10,23,37,12,13])),VTe=qe("/onboarding")({component:Xe(WTe,"component")});function GTe(){const e=dRe(),t=e?.surface.status==="ready"&&e.surface.section.status==="available";return x.jsx(ooe,{show:t,children:x.jsx(Ste,{className:"size-4"})})}const KTe=()=>Ke(()=>import("./settings-VjYg0Zim.js"),[]),hPe=[{id:"accounts",label:"Accounts",icon:x.jsx(TU,{className:"size-4"})},{id:"senders",label:"Senders & Rules",icon:x.jsx(bte,{className:"size-4"})},{id:"folders",label:"Folder roles",icon:x.jsx(cte,{className:"size-4"})},{id:"filters",label:"Filters",icon:x.jsx(ote,{className:"size-4"})},{id:"labels",label:"Labels",icon:x.jsx(vte,{className:"size-4"})},{id:"calendars",label:"Calendars",icon:x.jsx(tte,{className:"size-4"})},{id:"appearance",label:"Appearance",icon:x.jsx(fte,{className:"size-4"})},{id:"advanced",label:"Advanced",icon:x.jsx(GTe,{})}],pPe={accounts:"/settings/accounts",senders:"/settings/senders",folders:"/settings/folders",filters:"/settings/filters",labels:"/settings/labels",calendars:"/settings/calendars",appearance:"/settings/appearance",advanced:"/settings/advanced"},YTe=qe("/settings")({component:Xe(KTe,"component")}),ZTe=qe("/calendar/")({validateSearch:Gq,beforeLoad:({search:e})=>{throw Dp({to:"/calendar/$view/$date",params:{view:qq,date:Wq(new Date)},search:e,replace:!0})}}),ky=xy({q:nd().optional()}),eW=ky.extend({}),XTe=ky.extend({}),QTe=ky.extend({}),JTe=ky.extend({}),e4e=eW,t4e=qe("/mail/")({validateSearch:e4e,beforeLoad:({search:e})=>{throw Dp({to:"/mail/brief",search:e,replace:!0})}}),n4e=()=>Ke(()=>import("./_mailboxId-DYnudhcy.js"),__vite__mapDeps([38,19,20,7,21,17,22,23,24,25,26,27,39,40,33,16,28,29,30,4,15,3,41,42,37,32,43,44,45,46,47,48,49,50,51,31,52,53,54,55,56,57,58,59,60])),r4e=qe("/mail/$mailboxId")({component:Xe(n4e,"component"),validateSearch:JTe}),a4e=()=>Ke(()=>import("./brief-yRo3-exv.js"),__vite__mapDeps([61,7])),s4e=()=>Ke(()=>import("./brief-ClJZumwT.js"),__vite__mapDeps([62,19,20,7,21,17,22,23,24,25,26,27,63,40,33,16,41,15,3,4,42,37,32,43,44,45,46,47,48,49,50,51,31,28,29,30,55,54,56,64,60])),o4e=qe("/mail/brief")({component:Xe(s4e,"component"),validateSearch:eW,errorComponent:Xe(a4e,"errorComponent")}),i4e=()=>Ke(()=>import("./flagged-ClkMpEqF.js"),__vite__mapDeps([65,7])),l4e=()=>Ke(()=>import("./flagged-DeXULrpL.js"),__vite__mapDeps([66,19,20,7,21,17,22,23,24,25,26,27,67,40,33,16,41,15,3,4,42,37,32,43,44,45,46,47,48,49,50,51,31,52,30,64,60])),c4e=qe("/mail/flagged")({component:Xe(l4e,"component"),validateSearch:XTe,errorComponent:Xe(i4e,"errorComponent")}),u4e=()=>Ke(()=>import("./outbox-gzHnEGIK.js"),__vite__mapDeps([68,19,20,7,21,17,22,23,24,25,26,27,69,40,33,16,29,49,70,71,53,31,5,56,60])),d4e=qe("/mail/outbox")({component:Xe(u4e,"component"),validateSearch:QTe}),f4e=()=>Ke(()=>import("./index-Dz-gzRAB.js"),[]),h4e=qe("/settings/")({component:Xe(f4e,"component")}),p4e=()=>Ke(()=>import("./accounts-7x0pZfPR.js"),__vite__mapDeps([72,70,73,32,74,31,58,36,33,9,10,23,37,12,22,44,7,26,75])),m4e=xy({editAccountId:nd().optional(),focusSmtp:oTe().optional(),connected:nd().optional(),oauthError:nd().optional()}),g4e=qe("/settings/accounts")({component:Xe(p4e,"component"),validateSearch:m4e}),v4e=()=>Ke(()=>import("./advanced-ALXCxExQ.js"),__vite__mapDeps([76,73,32,74,31,58,11,25,10,44,12,77,6,59,7,34,4,71,49,50,75,33])),y4e=qe("/settings/advanced")({component:Xe(v4e,"component")}),b4e=()=>Ke(()=>import("./appearance-BX5KTvYX.js"),__vite__mapDeps([78,73,32,74,31,58,75,33])),S4e=qe("/settings/appearance")({component:Xe(b4e,"component")}),w4e=()=>Ke(()=>import("./calendars-0V1v9RYJ.js"),__vite__mapDeps([79,73,32,74,31,58,10,27,7,26,30,77,80])),x4e=qe("/settings/calendars")({component:Xe(w4e,"component")}),C4e=()=>Ke(()=>import("./filters-Bmrk2yIW.js"),__vite__mapDeps([81,73,32,74,31,58,57,54,51,59,7])),E4e=qe("/settings/filters")({component:Xe(C4e,"component")}),_4e=()=>Ke(()=>import("./folders-CCbZljaS.js"),__vite__mapDeps([82,18,73,32,74,31,58,7])),k4e=qe("/settings/folders")({component:Xe(_4e,"component")}),A4e=()=>Ke(()=>import("./labels-cqVsvdoI.js"),__vite__mapDeps([83,27,73,32,74,31,58,7,54])),I4e=qe("/settings/labels")({component:Xe(A4e,"component")}),R4e=()=>Ke(()=>import("./senders-BFh13fyp.js"),__vite__mapDeps([84,33,73,32,74,31,58,7,24,26,75])),T4e=qe("/settings/senders")({component:Xe(R4e,"component")}),O4e=()=>Ke(()=>import("./suggested-vips-CtqmUgUM.js"),[]),N4e=qe("/settings/suggested-vips")({component:Xe(O4e,"component")}),M4e=()=>Ke(()=>import("./_view._date-uF9TFxJl.js"),__vite__mapDeps([85,46,45,37,47,49,7,86,80,87,4,24,88,1,74,53,31])),P4e=qe("/calendar/$view/$date")({validateSearch:Gq,beforeLoad:({params:e,search:t})=>{const n=ETe(e,Wq(new Date));if(!(n.view===e.view&&n.date===e.date))throw Dp({to:"/calendar/$view/$date",params:n,search:t,replace:!0})},component:Xe(M4e,"component")}),D4e=()=>Ke(()=>import("./index-qPyH8ule.js"),__vite__mapDeps([89,39,40,33,17,16,28,29,30,4,15,3,41,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,53,54,55,56,57,58,59])),L4e=qe("/mail/$mailboxId/")({component:Xe(D4e,"component")}),U4e=()=>Ke(()=>import("./_threadId-_do74JnN.js"),[]),j4e=qe("/mail/$mailboxId/$threadId")({component:Xe(U4e,"component")}),z4e=()=>Ke(()=>import("./index-BHIDb38h.js"),__vite__mapDeps([90,63,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,28,29,30,55,54,56,64])),F4e=qe("/mail/brief/")({component:Xe(z4e,"component")}),$4e=()=>Ke(()=>import("./_threadId--8LfUaC1.js"),[]),B4e=qe("/mail/brief/$threadId")({component:Xe($4e,"component")}),H4e=()=>Ke(()=>import("./index-xqUg_v-r.js"),__vite__mapDeps([91,67,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,30,64])),q4e=qe("/mail/flagged/")({component:Xe(H4e,"component")}),W4e=()=>Ke(()=>import("./_threadId-CWeytgfB.js"),[]),V4e=qe("/mail/flagged/$threadId")({component:Xe(W4e,"component")}),G4e=()=>Ke(()=>import("./index-BVzG44f5.js"),__vite__mapDeps([92,69,40,33,17,16,29,49,70,71,53,31,26,5,56])),K4e=qe("/mail/outbox/")({component:Xe(G4e,"component")}),Y4e=()=>Ke(()=>import("./index-6qEh_q2U.js"),__vite__mapDeps([93,43])),Z4e=qe("/calendar/$view/$date/")({component:Xe(Y4e,"component")}),X4e=()=>Ke(()=>import("./_calendarObjectId-CWlun4td.js"),[]),Q4e=qe("/calendar/$view/$date/$calendarObjectId")({component:Xe(X4e,"component")}),J4e=()=>Ke(()=>import("./new-BA3EETNE.js"),__vite__mapDeps([94,95,86,7,46,88,80])),e5e=qe("/calendar/$view/$date/new")({component:Xe(J4e,"component")}),t5e=()=>Ke(()=>import("./index-BBh0EVrW.js"),__vite__mapDeps([96,39,40,33,17,16,28,29,30,4,15,3,41,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,53,54,55,56,57,58,59])),n5e=qe("/mail/$mailboxId/$threadId/")({component:Xe(t5e,"component")}),r5e=()=>Ke(()=>import("./_messageId-B2MYGmbL.js"),__vite__mapDeps([97,39,40,33,17,16,28,29,30,4,15,3,41,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,53,54,55,56,57,58,59])),a5e=qe("/mail/$mailboxId/$threadId/$messageId")({component:Xe(r5e,"component")}),s5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-D4CxSqld.js"),__vite__mapDeps([98,20,7,21,17,22,23,24,25,26,27])),o5e=qe("/mail/$mailboxId/compose/{-$outboxMessageId}")({component:Xe(s5e,"component")}),i5e=()=>Ke(()=>import("./index-CwkcuqbB.js"),__vite__mapDeps([99,63,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,28,29,30,55,54,56,64])),l5e=qe("/mail/brief/$threadId/")({component:Xe(i5e,"component")}),c5e=()=>Ke(()=>import("./_messageId-CwkcuqbB.js"),__vite__mapDeps([100,63,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,28,29,30,55,54,56,64])),u5e=qe("/mail/brief/$threadId/$messageId")({component:Xe(c5e,"component")}),d5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-Dpn9hZP3.js"),__vite__mapDeps([101,20,7,21,17,22,23,24,25,26,27])),f5e=qe("/mail/brief/compose/{-$outboxMessageId}")({component:Xe(d5e,"component")}),h5e=()=>Ke(()=>import("./index-Bp-d5Jfz.js"),__vite__mapDeps([102,67,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,30,64])),p5e=qe("/mail/flagged/$threadId/")({component:Xe(h5e,"component")}),m5e=()=>Ke(()=>import("./_messageId-Bp-d5Jfz.js"),__vite__mapDeps([103,67,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,30,64])),g5e=qe("/mail/flagged/$threadId/$messageId")({component:Xe(m5e,"component")}),v5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-gIKPaQVc.js"),__vite__mapDeps([104,20,7,21,17,22,23,24,25,26,27])),y5e=qe("/mail/flagged/compose/{-$outboxMessageId}")({component:Xe(v5e,"component")}),b5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-02sWJzi1.js"),__vite__mapDeps([105,20,7,21,17,22,23,24,25,26,27])),S5e=qe("/mail/outbox/compose/{-$outboxMessageId}")({component:Xe(b5e,"component")}),w5e=()=>Ke(()=>import("./_outboxMessageId-po8RmdS2.js"),__vite__mapDeps([106,69,40,33,17,16,29,49,70,71,53,31,26,5,56])),x5e=qe("/mail/outbox/draft/$outboxMessageId")({component:Xe(w5e,"component")}),C5e=()=>Ke(()=>import("./index-B2ajAjOU.js"),__vite__mapDeps([107,108,95,86,7,46,48,32,49,47,37,18,80,87,4])),E5e=qe("/calendar/$view/$date/$calendarObjectId/")({component:Xe(C5e,"component")}),_5e=()=>Ke(()=>import("./_recurrenceId-BnJKpVL-.js"),__vite__mapDeps([109,108,95,86,7,46,48,32,49,47,37,18,80,87,4])),k5e=qe("/calendar/$view/$date/$calendarObjectId/$recurrenceId")({component:Xe(_5e,"component")}),A5e=qe("/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}")({}),I5e=qe("/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}")({}),R5e=qe("/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}")({}),T5e=IRe.update({id:"/",path:"/",getParentRoute:()=>Ec}),HI=ORe.update({id:"/calendar",path:"/calendar",getParentRoute:()=>Ec}),O5e=MRe.update({id:"/import",path:"/import",getParentRoute:()=>Ec}),$d=qTe.update({id:"/mail",path:"/mail",getParentRoute:()=>Ec}),N5e=VTe.update({id:"/onboarding",path:"/onboarding",getParentRoute:()=>Ec}),ss=YTe.update({id:"/settings",path:"/settings",getParentRoute:()=>Ec}),M5e=ZTe.update({id:"/",path:"/",getParentRoute:()=>HI}),P5e=t4e.update({id:"/",path:"/",getParentRoute:()=>$d}),Ay=r4e.update({id:"/$mailboxId",path:"/$mailboxId",getParentRoute:()=>$d}),Iy=o4e.update({id:"/brief",path:"/brief",getParentRoute:()=>$d}),Ry=c4e.update({id:"/flagged",path:"/flagged",getParentRoute:()=>$d}),Ty=d4e.update({id:"/outbox",path:"/outbox",getParentRoute:()=>$d}),D5e=h4e.update({id:"/",path:"/",getParentRoute:()=>ss}),L5e=g4e.update({id:"/accounts",path:"/accounts",getParentRoute:()=>ss}),U5e=y4e.update({id:"/advanced",path:"/advanced",getParentRoute:()=>ss}),j5e=S4e.update({id:"/appearance",path:"/appearance",getParentRoute:()=>ss}),z5e=x4e.update({id:"/calendars",path:"/calendars",getParentRoute:()=>ss}),F5e=E4e.update({id:"/filters",path:"/filters",getParentRoute:()=>ss}),$5e=k4e.update({id:"/folders",path:"/folders",getParentRoute:()=>ss}),B5e=I4e.update({id:"/labels",path:"/labels",getParentRoute:()=>ss}),H5e=T4e.update({id:"/senders",path:"/senders",getParentRoute:()=>ss}),q5e=N4e.update({id:"/suggested-vips",path:"/suggested-vips",getParentRoute:()=>ss}),Oy=P4e.update({id:"/$view/$date",path:"/$view/$date",getParentRoute:()=>HI}),W5e=L4e.update({id:"/",path:"/",getParentRoute:()=>Ay}),qI=j4e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Ay}),V5e=F4e.update({id:"/",path:"/",getParentRoute:()=>Iy}),WI=B4e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Iy}),G5e=q4e.update({id:"/",path:"/",getParentRoute:()=>Ry}),VI=V4e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Ry}),K5e=K4e.update({id:"/",path:"/",getParentRoute:()=>Ty}),Y5e=Z4e.update({id:"/",path:"/",getParentRoute:()=>Oy}),GI=Q4e.update({id:"/$calendarObjectId",path:"/$calendarObjectId",getParentRoute:()=>Oy}),Z5e=e5e.update({id:"/new",path:"/new",getParentRoute:()=>Oy}),X5e=n5e.update({id:"/",path:"/",getParentRoute:()=>qI}),tW=a5e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>qI}),Q5e=o5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ay}),J5e=l5e.update({id:"/",path:"/",getParentRoute:()=>WI}),nW=u5e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>WI}),eOe=f5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Iy}),tOe=p5e.update({id:"/",path:"/",getParentRoute:()=>VI}),rW=g5e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>VI}),nOe=y5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ry}),rOe=S5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ty}),aOe=x5e.update({id:"/draft/$outboxMessageId",path:"/draft/$outboxMessageId",getParentRoute:()=>Ty}),sOe=E5e.update({id:"/",path:"/",getParentRoute:()=>GI}),oOe=k5e.update({id:"/$recurrenceId",path:"/$recurrenceId",getParentRoute:()=>GI}),iOe=A5e.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>tW}),lOe=I5e.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>nW}),cOe=R5e.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>rW}),uOe={CalendarViewDateCalendarObjectIdRecurrenceIdRoute:oOe,CalendarViewDateCalendarObjectIdIndexRoute:sOe},dOe=GI._addFileChildren(uOe),fOe={CalendarViewDateCalendarObjectIdRoute:dOe,CalendarViewDateNewRoute:Z5e,CalendarViewDateIndexRoute:Y5e},hOe=Oy._addFileChildren(fOe),pOe={CalendarIndexRoute:M5e,CalendarViewDateRoute:hOe},mOe=HI._addFileChildren(pOe),gOe={MailMailboxIdThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:iOe},vOe=tW._addFileChildren(gOe),yOe={MailMailboxIdThreadIdMessageIdRoute:vOe,MailMailboxIdThreadIdIndexRoute:X5e},bOe=qI._addFileChildren(yOe),SOe={MailMailboxIdThreadIdRoute:bOe,MailMailboxIdIndexRoute:W5e,MailMailboxIdComposeChar123OutboxMessageIdChar125Route:Q5e},wOe=Ay._addFileChildren(SOe),xOe={MailBriefThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:lOe},COe=nW._addFileChildren(xOe),EOe={MailBriefThreadIdMessageIdRoute:COe,MailBriefThreadIdIndexRoute:J5e},_Oe=WI._addFileChildren(EOe),kOe={MailBriefThreadIdRoute:_Oe,MailBriefIndexRoute:V5e,MailBriefComposeChar123OutboxMessageIdChar125Route:eOe},AOe=Iy._addFileChildren(kOe),IOe={MailFlaggedThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:cOe},ROe=rW._addFileChildren(IOe),TOe={MailFlaggedThreadIdMessageIdRoute:ROe,MailFlaggedThreadIdIndexRoute:tOe},OOe=VI._addFileChildren(TOe),NOe={MailFlaggedThreadIdRoute:OOe,MailFlaggedIndexRoute:G5e,MailFlaggedComposeChar123OutboxMessageIdChar125Route:nOe},MOe=Ry._addFileChildren(NOe),POe={MailOutboxIndexRoute:K5e,MailOutboxComposeChar123OutboxMessageIdChar125Route:rOe,MailOutboxDraftOutboxMessageIdRoute:aOe},DOe=Ty._addFileChildren(POe),LOe={MailMailboxIdRoute:wOe,MailBriefRoute:AOe,MailFlaggedRoute:MOe,MailOutboxRoute:DOe,MailIndexRoute:P5e},UOe=$d._addFileChildren(LOe),jOe={SettingsAccountsRoute:L5e,SettingsAdvancedRoute:U5e,SettingsAppearanceRoute:j5e,SettingsCalendarsRoute:z5e,SettingsFiltersRoute:F5e,SettingsFoldersRoute:$5e,SettingsLabelsRoute:B5e,SettingsSendersRoute:H5e,SettingsSuggestedVipsRoute:q5e,SettingsIndexRoute:D5e},zOe=ss._addFileChildren(jOe),FOe={IndexRoute:T5e,CalendarRoute:mOe,ImportRoute:O5e,MailRoute:UOe,OnboardingRoute:N5e,SettingsRoute:zOe},$Oe=Ec._addFileChildren(FOe)._addFileTypes(),BOe=(e,t)=>{const n=pbe({routeTree:$Oe,context:{queryClient:e},stringifySearch:bke,defaultPreload:"intent",defaultPendingComponent:wv,defaultPendingMs:200,defaultPendingMinMs:300});return n.subscribe("onResolved",r=>{t.recordPageView(r.toLocation.pathname),Boe(r.toLocation.pathname)}),n},Ye=e=>typeof e=="string",ch=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},zD=e=>e==null?"":""+e,HOe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},qOe=/###/g,FD=e=>e&&e.indexOf("###")>-1?e.replace(qOe,"."):e,$D=e=>!e||Ye(e),jh=(e,t,n)=>{const r=Ye(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if($D(e))return{};const s=FD(r[a]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return $D(e)?{}:{obj:e,k:FD(r[a])}},BD=(e,t,n)=>{const{obj:r,k:a}=jh(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),c=jh(e,i,Object);for(;c.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),c=jh(e,i,Object),c?.obj&&typeof c.obj[`${c.k}.${s}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${s}`]=n},WOe=(e,t,n,r)=>{const{obj:a,k:s}=jh(e,t,Object);a[s]=a[s]||[],a[s].push(n)},Y1=(e,t)=>{const{obj:n,k:r}=jh(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},VOe=(e,t,n)=>{const r=Y1(e,n);return r!==void 0?r:Y1(t,n)},aW=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Ye(e[r])||e[r]instanceof String||Ye(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):aW(e[r],t[r],n):e[r]=t[r]);return e},Eu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var GOe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const KOe=e=>Ye(e)?e.replace(/[&<>"'\/]/g,t=>GOe[t]):e;class YOe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const ZOe=[" ",",","?","!",";"],XOe=new YOe(20),QOe=(e,t,n)=>{t=t||"",n=n||"";const r=ZOe.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=XOe.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},J_=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let s=0;s<r.length;){if(!a||typeof a!="object")return;let i,c="";for(let u=s;u<r.length;++u)if(u!==s&&(c+=n),c+=r[u],i=a[c],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&u<r.length-1)continue;s+=u-s+1;break}a=i}return a},Z1=e=>e?.replace("_","-"),JOe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class X1{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||JOe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(Ye(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new X1(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new X1(this.logger,t)}}var Is=new X1;class Ny{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c.apply(c,[t,...r])})}}class HD extends Ny{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):Ye(r)&&s?c.push(...r.split(s)):c.push(r)));const u=Y1(this.data,c);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),u||!i||!Ye(r)?u:J_(this.data?.[t]?.[n],r,s)}addResource(t,n,r,a){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let c=[t,n];r&&(c=c.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(c=t.split("."),a=n,n=c[1]),this.addNamespaces(n),BD(this.data,c,a),s.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(Ye(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),a=r,r=n,n=c[1]),this.addNamespaces(n);let u=Y1(this.data,c)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?aW(u,r,s):u={...u,...r},BD(this.data,c,u),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var sW={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(s=>{t=this.processors[s]?.process(t,n,r,a)??t}),t}};const qD={},WD=e=>!Ye(e)&&typeof e!="boolean"&&typeof e!="number";class Q1 extends Ny{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),HOe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Is.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};return t==null?!1:this.resolve(t,n)?.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!QOe(t,r,a);if(i&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:Ye(s)?[s]:s};const f=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(f[0])>-1)&&(s=f.shift()),t=f.join(a)}return{key:t,namespaces:Ye(s)?[s]:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:c}=this.extractFromKey(t[t.length-1],n),u=c[c.length-1],f=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode"){if(h){const j=n.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${j}${i}`,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${j}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const m=this.resolve(t,n);let g=m?.res;const y=m?.usedKey||i,S=m?.exactUsedKey||i,w=["[object Number]","[object Function]","[object RegExp]"],C=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,k=n.count!==void 0&&!Ye(n.count),A=Q1.hasDefaultValue(n),R=k?this.pluralResolver.getSuffix(f,n.count,n):"",N=n.ordinal&&k?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",O=k&&!n.ordinal&&n.count===0,T=O&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${N}`]||n.defaultValue;let P=g;_&&!g&&A&&(P=T);const L=WD(P),H=Object.prototype.toString.apply(P);if(_&&P&&L&&w.indexOf(H)<0&&!(Ye(C)&&Array.isArray(P))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const j=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,P,{...n,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(m.res=j,m.usedParams=this.getUsedParamsDetails(n),m):j}if(s){const j=Array.isArray(P),U=j?[]:{},q=j?S:y;for(const X in P)if(Object.prototype.hasOwnProperty.call(P,X)){const se=`${q}${s}${X}`;A&&!g?U[X]=this.translate(se,{...n,defaultValue:WD(T)?T[X]:void 0,joinArrays:!1,ns:c}):U[X]=this.translate(se,{...n,joinArrays:!1,ns:c}),U[X]===se&&(U[X]=P[X])}g=U}}else if(_&&Ye(C)&&Array.isArray(g))g=g.join(C),g&&(g=this.extendTranslation(g,t,n,r));else{let j=!1,U=!1;!this.isValidLookup(g)&&A&&(j=!0,g=T),this.isValidLookup(g)||(U=!0,g=i);const X=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&U?void 0:g,se=A&&T!==g&&this.options.updateMissing;if(U||j||se){if(this.logger.log(se?"updateKey":"missingKey",f,u,i,se?T:g),s){const ce=this.resolve(i,{...n,keySeparator:!1});ce&&ce.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let B=[];const Q=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Q&&Q[0])for(let ce=0;ce<Q.length;ce++)B.push(Q[ce]);else this.options.saveMissingTo==="all"?B=this.languageUtils.toResolveHierarchy(n.lng||this.language):B.push(n.lng||this.language);const G=(ce,Se,z)=>{const V=A&&z!==g?z:X;this.options.missingKeyHandler?this.options.missingKeyHandler(ce,u,Se,V,se,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(ce,u,Se,V,se,n),this.emit("missingKey",ce,u,Se,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?B.forEach(ce=>{const Se=this.pluralResolver.getSuffixes(ce,n);O&&n[`defaultValue${this.options.pluralSeparator}zero`]&&Se.indexOf(`${this.options.pluralSeparator}zero`)<0&&Se.push(`${this.options.pluralSeparator}zero`),Se.forEach(z=>{G([ce],i+z,n[`defaultValue${z}`]||T)})}):G(B,i,T))}g=this.extendTranslation(g,t,n,m,r),U&&g===i&&this.options.appendNamespaceToMissingKey&&(g=`${u}:${i}`),(U||j)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${i}`:i,j?g:void 0))}return a?(m.res=g,m.usedParams=this.getUsedParamsDetails(n),m):g}extendTranslation(t,n,r,a,s){var i=this;if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=Ye(t)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(f){const g=t.match(this.interpolator.nestingRegexp);h=g&&g.length}let m=r.replace&&!Ye(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,r.lng||this.language||a.usedLng,r),f){const g=t.match(this.interpolator.nestingRegexp),y=g&&g.length;h<y&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var g=arguments.length,y=new Array(g),S=0;S<g;S++)y[S]=arguments[S];return s?.[0]===y[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):i.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,u=Ye(c)?[c]:c;return t!=null&&u?.length&&r.applyPostProcessor!==!1&&(t=sW.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,s,i,c;return Ye(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(u,n),h=f.key;a=h;let m=f.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const g=n.count!==void 0&&!Ye(n.count),y=g&&!n.ordinal&&n.count===0,S=n.context!==void 0&&(Ye(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);m.forEach(C=>{this.isValidLookup(r)||(c=C,!qD[`${w[0]}-${C}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(qD[`${w[0]}-${C}`]=!0,this.logger.warn(`key "${a}" for languages "${w.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(_=>{if(this.isValidLookup(r))return;i=_;const k=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(k,h,_,C,n);else{let R;g&&(R=this.pluralResolver.getSuffix(_,n.count,n));const N=`${this.options.pluralSeparator}zero`,O=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(k.push(h+R),n.ordinal&&R.indexOf(O)===0&&k.push(h+R.replace(O,this.options.pluralSeparator)),y&&k.push(h+N)),S){const T=`${h}${this.options.contextSeparator}${n.context}`;k.push(T),g&&(k.push(T+R),n.ordinal&&R.indexOf(O)===0&&k.push(T+R.replace(O,this.options.pluralSeparator)),y&&k.push(T+N))}}let A;for(;A=k.pop();)this.isValidLookup(r)||(s=A,r=this.getResource(_,C,A,n))}))})}),{res:r,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Ye(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const s of n)delete a[s]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class VD{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Is.create("languageUtils")}getScriptPartFromCode(t){if(t=Z1(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Z1(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Ye(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(s=>{if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&(s.indexOf("-")>0&&a.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===a||s.indexOf(a)===0&&a.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Ye(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return Ye(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Ye(t)&&s(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}const GD={zero:0,one:1,two:2,few:3,many:4,other:5},KD={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class e6e{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Is.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=Z1(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:a});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),KD;if(!t.match(/-|_/))return KD;const u=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(u,n)}return this.pluralRulesCache[s]=i,i}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,s)=>GD[a]-GD[s]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const YD=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=VOe(e,t,n);return!s&&a&&Ye(n)&&(s=J_(e,n,r),s===void 0&&(s=J_(t,n,r))),s},UE=e=>e.replace(/\$/g,"$$$$");class t6e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Is.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:c,suffixEscaped:u,formatSeparator:f,unescapeSuffix:h,unescapePrefix:m,nestingPrefix:g,nestingPrefixEscaped:y,nestingSuffix:S,nestingSuffixEscaped:w,nestingOptionsSeparator:C,maxReplaces:_,alwaysFormat:k}=t.interpolation;this.escape=n!==void 0?n:KOe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?Eu(s):i||"{{",this.suffix=c?Eu(c):u||"}}",this.formatSeparator=f||",",this.unescapePrefix=h?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=g?Eu(g):y||Eu("$t("),this.nestingSuffix=S?Eu(S):w||Eu(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=_||1e3,this.alwaysFormat=k!==void 0?k:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let s,i,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=y=>{if(y.indexOf(this.formatSeparator)<0){const _=YD(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_,void 0,r,{...a,...n,interpolationkey:y}):_}const S=y.split(this.formatSeparator),w=S.shift().trim(),C=S.join(this.formatSeparator).trim();return this.format(YD(n,u,w,this.options.keySeparator,this.options.ignoreJSONStructure),C,r,{...a,...n,interpolationkey:w})};this.resetRegExp();const h=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>UE(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?UE(this.escape(y)):UE(y)}].forEach(y=>{for(c=0;s=y.regex.exec(t);){const S=s[1].trim();if(i=f(S),i===void 0)if(typeof h=="function"){const C=h(t,s,a);i=Ye(C)?C:""}else if(a&&Object.prototype.hasOwnProperty.call(a,S))i="";else if(m){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${S} for interpolating ${t}`),i="";else!Ye(i)&&!this.useRawValueToEscape&&(i=zD(i));const w=y.safeValue(i);if(t=t.replace(s[0],w),m?(y.regex.lastIndex+=i.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,i;const c=(u,f)=>{const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const m=u.split(new RegExp(`${h}[ ]*{`));let g=`{${m[1]}`;u=m[0],g=this.interpolate(g,i);const y=g.match(/'/g),S=g.match(/"/g);((y?.length??0)%2===0&&!S||S.length%2!==0)&&(g=g.replace(/'/g,'"'));try{i=JSON.parse(g),f&&(i={...f,...i})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,w),`${u}${h}${g}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];i={...r},i=i.replace&&!Ye(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(m=>m.trim());a[1]=h.shift(),u=h,f=!0}if(s=n(c.call(this,a[1].trim(),i),i),s&&a[0]===t&&!Ye(s))return s;Ye(s)||(s=zD(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),f&&(s=u.reduce((h,m)=>this.format(h,m,r.lng,{...r,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const n6e=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[c,...u]=i.split(":"),f=u.join(":").trim().replace(/^'+|'+$/g,""),h=c.trim();n[h]||(n[h]=f),f==="false"&&(n[h]=!1),f==="true"&&(n[h]=!0),isNaN(f)||(n[h]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},_u=e=>{const t={};return(n,r,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={...s,[a.interpolationkey]:void 0});const i=r+JSON.stringify(s);let c=t[i];return c||(c=e(Z1(r),a),t[i]=c),c(n)}};class r6e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Is.create("formatter"),this.options=t,this.formats={number:_u((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return s=>a.format(s)}),currency:_u((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>a.format(s)}),datetime:_u((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return s=>a.format(s)}),relativetime:_u((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return s=>a.format(s,r.range||"day")}),list:_u((n,r)=>{const a=new Intl.ListFormat(n,{...r});return s=>a.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=_u(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(c=>c.indexOf(")")>-1)){const c=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,c)].join(this.formatSeparator)}return s.reduce((c,u)=>{const{formatName:f,formatOptions:h}=n6e(u);if(this.formats[f]){let m=c;try{const g=a?.formatParams?.[a.interpolationkey]||{},y=g.locale||g.lng||a.locale||a.lng||r;m=this.formats[f](c,y,{...h,...a,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${f}`);return c},t)}}const a6e=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class s6e extends Ny{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Is.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,a.backend,a)}queueLoad(t,n,r,a){const s={},i={},c={},u={};return t.forEach(f=>{let h=!0;n.forEach(m=>{const g=`${f}|${m}`;!r.reload&&this.store.hasResourceBundle(f,m)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?i[g]===void 0&&(i[g]=!0):(this.state[g]=1,h=!1,i[g]===void 0&&(i[g]=!0),s[g]===void 0&&(s[g]=!0),u[m]===void 0&&(u[m]=!0)))}),h||(c[f]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const a=t.split("|"),s=a[0],i=a[1];n&&this.emit("failedLoading",s,i,n),!n&&r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const c={};this.queue.forEach(u=>{WOe(u.loaded,[s],i),a6e(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(f=>{c[f]||(c[f]={});const h=u.loaded[f];h.length&&h.forEach(m=>{c[f][m]===void 0&&(c[f][m]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:s,callback:i});return}this.readingCalls++;const c=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(f&&h&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,s*2,i)},s);return}i(f,h)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const f=u(t,n);f&&typeof f.then=="function"?f.then(h=>c(null,h)).catch(c):c(null,f)}catch(f){c(f)}return}return u(t,n,c)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();Ye(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Ye(n)&&(n=[n]);const s=this.queueLoad(t,n,r,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],s=r[1];this.read(a,s,"read",void 0,void 0,(i,c)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${a} failed`,i),!i&&c&&this.logger.log(`${n}loaded namespace ${s} for language ${a}`,c),this.loaded(t,i,c)})}saveMissing(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const u={...i,isUpdate:s},f=this.backend.create.bind(this.backend);if(f.length<6)try{let h;f.length===5?h=f(t,n,r,a,u):h=f(t,n,r,a),h&&typeof h.then=="function"?h.then(m=>c(null,m)).catch(c):c(null,h)}catch(h){c(h)}else f(t,n,r,a,c,u)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const ZD=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Ye(e[1])&&(t.defaultValue=e[1]),Ye(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),XD=e=>(Ye(e.ns)&&(e.ns=[e.ns]),Ye(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ye(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),o0=()=>{},o6e=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Sp extends Ny{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=XD(t),this.services={},this.logger=Is,this.modules={external:[]},o6e(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),n.defaultNS==null&&n.ns&&(Ye(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=ZD();this.options={...a,...this.options,...XD(n)},this.options.interpolation={...a.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=h=>h?typeof h=="function"?new h:h:null;if(!this.options.isClone){this.modules.logger?Is.init(s(this.modules.logger),this.options):Is.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:h=r6e;const m=new VD(this.options);this.store=new HD(this.options.resources,this.options);const g=this.services;g.logger=Is,g.resourceStore=this.store,g.languageUtils=m,g.pluralResolver=new e6e(m,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(g.formatter=s(h),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new t6e(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new s6e(s(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(y){for(var S=arguments.length,w=new Array(S>1?S-1:0),C=1;C<S;C++)w[C-1]=arguments[C];t.emit(y,...w)}),this.modules.languageDetector&&(g.languageDetector=s(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=s(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new Q1(this.services,this.options),this.translator.on("*",function(y){for(var S=arguments.length,w=new Array(S>1?S-1:0),C=1;C<S;C++)w[C-1]=arguments[C];t.emit(y,...w)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=o0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const u=ch(),f=()=>{const h=(m,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(g),r(m,g)};if(this.languages&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o0;const a=Ye(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&s.indexOf(f)<0&&s.push(f)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload?.forEach?.(c=>i(c)),this.services.backendConnector.load(s,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const a=ch();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=o0),this.services.backendConnector.reload(t,n,s=>{a.resolve(),r(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&sW.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=ch();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,f)=>{f?(s(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},c=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const f=Ye(u)?u:this.services.languageUtils.getBestMatchFromCodes(u);f&&(this.language||s(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector?.cacheUserLanguage?.(f)),this.loadResources(f,h=>{i(h,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,n,r){var a=this;const s=function(i,c){let u;if(typeof c!="object"){for(var f=arguments.length,h=new Array(f>2?f-2:0),m=2;m<f;m++)h[m-2]=arguments[m];u=a.options.overloadTranslationOptionHandler([i,c].concat(h))}else u={...c};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const g=a.options.keySeparator||".";let y;return u.keyPrefix&&Array.isArray(i)?y=i.map(S=>`${u.keyPrefix}${g}${S}`):y=u.keyPrefix?`${u.keyPrefix}${g}${i}`:i,a.t(y,u)};return Ye(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.translate(...n)}exists(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.exists(...n)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(c,u)=>{const f=this.services.backendConnector.state[`${c}|${u}`];return f===-1||f===0||f===2};if(n.precheck){const c=n.precheck(this,i);if(c!==void 0)return c}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(s,t)))}loadNamespaces(t,n){const r=ch();return this.options.ns?(Ye(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=ch();Ye(t)&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new VD(ZD());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Sp(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o0;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new Sp(a);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(c=>{s[c]=this[c]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const c=Object.keys(this.store.data).reduce((u,f)=>(u[f]={...this.store.data[f]},Object.keys(u[f]).reduce((h,m)=>(h[m]={...u[f][m]},h),{})),{});s.store=new HD(c,a),s.services.resourceStore=s.store}return s.translator=new Q1(s.services,a),s.translator.on("*",function(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),h=1;h<u;h++)f[h-1]=arguments[h];s.emit(c,...f)}),s.init(a,n),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Cr=Sp.createInstance();Cr.createInstance=Sp.createInstance;Cr.createInstance;Cr.dir;Cr.init;Cr.loadResources;Cr.reloadResources;Cr.use;Cr.changeLanguage;Cr.getFixedT;Cr.t;Cr.exists;Cr.setDefaultNamespace;Cr.hasLoadedNamespace;Cr.loadNamespaces;Cr.loadLanguages;const{slice:i6e,forEach:l6e}=[];function c6e(e){return l6e.call(i6e.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function u6e(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const QD=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,d6e=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let s=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!QD.test(r.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${r.domain}`}if(r.path){if(!QD.test(r.path))throw new TypeError("option path is invalid");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(s+="; Partitioned"),s},JD={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=d6e(e,t,a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var f6e={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return JD.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:a,cookieOptions:s}=t;n&&typeof document<"u"&&JD.create(n,e,r,a,s)}},h6e={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:r}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));const s=r.substring(1).split("&");for(let i=0;i<s.length;i++){const c=s[i].indexOf("=");c>0&&s[i].substring(0,c)===t&&(n=s[i].substring(c+1))}}return n}},p6e={name:"hash",lookup(e){let{lookupHash:t,lookupFromHashIndex:n}=e,r;if(typeof window<"u"){const{hash:a}=window.location;if(a&&a.length>2){const s=a.substring(1);if(t){const i=s.split("&");for(let c=0;c<i.length;c++){const u=i[c].indexOf("=");u>0&&i[c].substring(0,u)===t&&(r=i[c].substring(u+1))}}if(r)return r;if(!r&&n>-1){const i=a.match(/\/([a-zA-Z-]*)/g);return Array.isArray(i)?i[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return r}};let ku=null;const eL=()=>{if(ku!==null)return ku;try{if(ku=typeof window<"u"&&window.localStorage!==null,!ku)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{ku=!1}return ku};var m6e={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&eL())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&eL()&&window.localStorage.setItem(n,e)}};let Au=null;const tL=()=>{if(Au!==null)return Au;try{if(Au=typeof window<"u"&&window.sessionStorage!==null,!Au)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Au=!1}return Au};var g6e={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&tL())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&tL()&&window.sessionStorage.setItem(n,e)}},v6e={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let s=0;s<n.length;s++)t.push(n[s]);r&&t.push(r),a&&t.push(a)}return t.length>0?t:void 0}},y6e={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},b6e={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},S6e={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};let oW=!1;try{document.cookie,oW=!0}catch{}const iW=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];oW||iW.splice(1,1);const w6e=()=>({order:iW,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class lW{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=c6e(n,this.options||{},w6e()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(f6e),this.addDetector(h6e),this.addDetector(m6e),this.addDetector(g6e),this.addDetector(v6e),this.addDetector(y6e),this.addDetector(b6e),this.addDetector(S6e),this.addDetector(p6e)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.filter(r=>r!=null&&!u6e(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}lW.type="languageDetector";function x6e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=C6e(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(f){throw f},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
294
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var f=n.next();return i=f.done,f},e:function(f){c=!0,s=f},f:function(){try{i||n.return==null||n.return()}finally{if(c)throw s}}}}function C6e(e,t){if(e){if(typeof e=="string")return nL(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nL(e,t):void 0}}function nL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ek(e){"@babel/helpers - typeof";return ek=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ek(e)}var cW=["__proto__","constructor","prototype"];function uW(e){return!(typeof e!="string"||e.length===0||e.length>128||cW.indexOf(e)>-1||e.indexOf("..")>-1||e.indexOf("\\")>-1||/[?#%\s@]/.test(e)||/[\x00-\x1F\x7F]/.test(e))}function dW(e){return!(!uW(e)||e.indexOf("/")>-1)}function E6e(e){return uW(e)}var _6e={lng:dW,ns:E6e};function i0(e){return typeof e!="string"?e:e.replace(/[\r\n\x00-\x1F\x7F]/g," ")}function k6e(e){if(typeof e!="string"||e.length===0)return e;try{var t=new URL(e);return t.username||t.password?(t.username="",t.password="",t.toString()):e}catch{return e.replace(/(\/\/)[^/@\s]+@/g,"$1")}}function fW(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":ek(XMLHttpRequest))==="object"}function A6e(e){return!!e&&typeof e.then=="function"}function I6e(e){return A6e(e)?e:Promise.resolve(e)}var R6e=/\{\{(.+?)\}\}/g;function rL(e,t){var n=!1,r=e.replace(R6e,function(a,s){var i=s.trim();if(cW.indexOf(i)>-1)return a;var c=t[i];if(c==null)return a;var u=_6e[i]||dW,f=String(c).split("+"),h=x6e(f),m;try{for(h.s();!(m=h.n()).done;){var g=m.value;if(!u(g))return n=!0,a}}catch(y){h.e(y)}finally{h.f()}return f.join("+")});return n?null:r}function aL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function sL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aL(Object(n),!0).forEach(function(r){T6e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function T6e(e,t,n){return(t=O6e(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O6e(e){var t=N6e(e,"string");return uc(t)=="symbol"?t:t+""}function N6e(e,t){if(uc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(uc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uc(e)}var Ji=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?Ji=global.fetch:typeof window<"u"&&window.fetch&&(Ji=window.fetch);var wp;fW()&&(typeof global<"u"&&global.XMLHttpRequest?wp=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(wp=window.XMLHttpRequest));var J1;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?J1=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(J1=window.ActiveXObject));typeof Ji!="function"&&(Ji=void 0);if(!Ji&&!wp&&!J1)try{Ke(()=>import("./browser-ponyfill-Dw7NwRq-.js").then(e=>e.b),[]).then(function(e){Ji=e.default}).catch(function(){})}catch{}var hW=["__proto__","constructor","prototype"],tk=function(t,n){if(n&&uc(n)==="object"){for(var r="",a=0,s=Object.keys(n);a<s.length;a++){var i=s[a];hW.indexOf(i)>-1||(r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]))}if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},oL=function(t,n,r,a){var s=function(u){if(!u.ok)return r(u.statusText||"Error",{status:u.status});u.text().then(function(f){r(null,{status:u.status,data:f})}).catch(r)};if(a){var i=a(t,n);if(i instanceof Promise){i.then(s).catch(r);return}}typeof fetch=="function"?fetch(t,n).then(s).catch(r):Ji(t,n).then(s).catch(r)},M6e=function(t,n,r,a){t.queryStringParams&&(n=tk(n,t.queryStringParams));var s=sL({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(s["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(s["Content-Type"]="application/json");var i=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,c=sL({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:s},t._omitFetchOptions?{}:i),u=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{oL(n,c,a,u)}catch(f){if(!i||Object.keys(i).length===0||!f.message||f.message.indexOf("not implemented")<0)return a(f);try{Object.keys(i).forEach(function(h){delete c[h]}),oL(n,c,a,u),t._omitFetchOptions=!0}catch(h){a(h)}}},P6e=function(t,n,r,a){r&&uc(r)==="object"&&(r=tk("",r).slice(1)),t.queryStringParams&&(n=tk(n,t.queryStringParams));try{var s=wp?new wp:new J1("MSXML2.XMLHTTP.3.0");s.open(r?"POST":"GET",n,1),t.crossDomain||s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.withCredentials=!!t.withCredentials,r&&s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.overrideMimeType&&s.overrideMimeType("application/json");var i=t.customHeaders;if(i=typeof i=="function"?i():i,i)for(var c=0,u=Object.keys(i);c<u.length;c++){var f=u[c];hW.indexOf(f)>-1||s.setRequestHeader(f,i[f])}s.onreadystatechange=function(){s.readyState>3&&a(s.status>=400?s.statusText:null,{status:s.status,data:s.responseText})},s.send(r)}catch(h){console&&console.log(h)}},D6e=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},Ji&&n.indexOf("file:")!==0)return M6e(t,n,r,a);if(fW()||typeof ActiveXObject=="function")return P6e(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function Ed(e){"@babel/helpers - typeof";return Ed=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ed(e)}function iL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function jE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?iL(Object(n),!0).forEach(function(r){pW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function L6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U6e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mW(r.key),r)}}function j6e(e,t,n){return t&&U6e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function pW(e,t,n){return(t=mW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mW(e){var t=z6e(e,"string");return Ed(t)=="symbol"?t:t+""}function z6e(e,t){if(Ed(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ed(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var F6e=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,a){return pW({},r,a||"")},parseLoadPayload:function(n,r){},request:D6e,reloadInterval:typeof window<"u"?!1:3600*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},gW=(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return j6e(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=jE(jE(jE({},F6e()),this.options||{}),a),this.allOptions=s,this.services&&this.options.reloadInterval){var i=setInterval(function(){return r.reload()},this.options.reloadInterval);Ed(i)==="object"&&typeof i.unref=="function"&&i.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,s,i){var c=this,u=this.options.loadPath;typeof this.options.loadPath=="function"&&(u=this.options.loadPath(n,a)),u=I6e(u),u.then(function(f){if(!f)return i(null,{});var h=rL(f,{lng:n.join("+"),ns:a.join("+")});if(h==null){var m=n.map(i0).join(", "),g=a.map(i0).join(", ");return i(new Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=["+m+"] namespaces=["+g+"]"),!1)}c.loadUrl(h,i,r,s)})}},{key:"loadUrl",value:function(n,r,a,s){var i=this,c=typeof a=="string"?[a]:a,u=typeof s=="string"?[s]:s,f=this.options.parseLoadPayload(c,u),h=i0(k6e(n));this.options.request(this.options,n,f,function(m,g){if(g&&(g.status>=500&&g.status<600||!g.status))return r("failed loading "+h+"; status code: "+g.status,!0);if(g&&g.status>=400&&g.status<500)return r("failed loading "+h+"; status code: "+g.status,!1);if(!g&&m&&m.message){var y=m.message.toLowerCase(),S=["failed","fetch","network","load"].find(function(_){return y.indexOf(_)>-1});if(S)return r("failed loading "+h+": "+i0(m.message),!0)}if(m)return r(m,!1);var w,C;try{typeof g.data=="string"?w=i.options.parse(g.data,a,s):w=g.data}catch{C="failed parsing "+h+" to json"}if(C)return r(C,!1);r(null,w)})}},{key:"create",value:function(n,r,a,s,i){var c=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var u=this.options.parsePayload(r,a,s),f=0,h=[],m=[];n.forEach(function(g){var y=c.options.addPath;typeof c.options.addPath=="function"&&(y=c.options.addPath(g,r));var S=rL(y,{lng:g,ns:r});if(S==null){f+=1,i&&f===n.length&&i(h,m);return}c.options.request(c.options,S,u,function(w,C){f+=1,h.push(w),m.push(C),f===n.length&&typeof i=="function"&&i(h,m)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,s=r.languageUtils,i=r.logger,c=a.language;if(!(c&&c.toLowerCase()==="cimode")){var u=[],f=function(m){var g=s.toResolveHierarchy(m);g.forEach(function(y){u.indexOf(y)<0&&u.push(y)})};f(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(h){return f(h)}),u.forEach(function(h){n.allOptions.ns.forEach(function(m){a.read(h,m,"read",null,null,function(g,y){g&&i.warn("loading namespace ".concat(m," for language ").concat(h," failed"),g),!g&&y&&i.log("loaded namespace ".concat(m," for language ").concat(h),y),a.loaded("".concat(h,"|").concat(m),g,y)})})})}}}])})();gW.type="backend";Cr.use(gW).use(lW).use(Oke).init({fallbackLng:"en",supportedLngs:["en","nl","de","fr"],ns:["common","mail"],defaultNS:"common",backend:{loadPath:"/locales/{{lng}}/{{ns}}.json"},detection:{order:["navigator","htmlTag"],caches:[]},interpolation:{escapeValue:!1},react:{useSuspense:!0,bindI18n:"languageChanged loaded"}});const $6e=({authProvider:e,rootElementId:t="root"})=>{zoe(),vke(),e.configure(),$be(e);const n=mke();Roe(n);const r=new fve({queryCache:new XF({onError:Wbe}),mutationCache:new ZF({onError:Vbe}),defaultOptions:{queries:{staleTime:3e4,gcTime:5*6e4,retry:1}}}),a=BOe(r,n);n.recordPageView(window.location.pathname);const s=document.getElementById(t);if(!s)throw new Error(`Root element not found: #${t}`);const{Shell:i}=e;Cbe.createRoot(s).render(x.jsx(E.StrictMode,{children:x.jsx(hq.Provider,{value:n,children:x.jsxs(hve,{client:r,children:[x.jsx(qbe,{value:e,children:x.jsx(i,{children:x.jsx(vbe,{router:a})})}),!1]})})}))};$6e({authProvider:H1e});export{mte as $,X8e as A,K0 as B,uPe as C,ANe as D,Ek as E,xne as F,q_ as G,Hq as H,TU as I,_d as J,nAe as K,$h as L,bq as M,jk as N,k$ as O,Wi as P,uv as Q,NTe as R,uTe as S,lre as T,n3 as U,tte as V,gte as W,Ps as X,t3 as Y,RU as Z,nte as _,Y8e as a,goe as a$,ute as a0,pte as a1,yte as a2,xk as a3,dte as a4,Jee as a5,ste as a6,A$ as a7,Ju as a8,G8e as a9,hv as aA,xy as aB,oTe as aC,nd as aD,q8e as aE,r8e as aF,a8e as aG,a3 as aH,g4e as aI,CMe as aJ,hPe as aK,hte as aL,pPe as aM,zMe as aN,Tk as aO,W6e as aP,Bae as aQ,xae as aR,_Ne as aS,ENe as aT,JMe as aU,PE as aV,s8e as aW,zk as aX,n1 as aY,uRe as aZ,yoe as a_,MNe as aa,vq as ab,p8e as ac,wy as ad,_q as ae,R8e as af,nPe as ag,t8e as ah,r4e as ai,rPe as aj,wv as ak,Z6e as al,ONe as am,cNe as an,Rk as ao,sae as ap,od as aq,F as ar,$8e as as,uNe as at,z8e as au,xMe as av,SMe as aw,FU as ax,ts as ay,Jae as az,Z8e as b,pve as b$,moe as b0,ns as b1,xv as b2,lPe as b3,hD as b4,v0 as b5,mMe as b6,JAe as b7,XMe as b8,koe as b9,D8e as bA,ite as bB,L8e as bC,HAe as bD,PMe as bE,O8e as bF,xIe as bG,I8e as bH,nNe as bI,o8e as bJ,rIe as bK,BMe as bL,$Me as bM,bte as bN,Gee as bO,aNe as bP,Wq as bQ,KMe as bR,ePe as bS,J8e as bT,use as bU,cse as bV,jd as bW,Fn as bX,d1 as bY,BF as bZ,ive as b_,ZMe as ba,QMe as bb,Aoe as bc,IMe as bd,RMe as be,OIe as bf,Ej as bg,mNe as bh,hTe as bi,Sae as bj,vre as bk,NIe as bl,qIe as bm,HIe as bn,Nk as bo,gNe as bp,IIe as bq,gMe as br,Zke as bs,N8e as bt,P8e as bu,IAe as bv,M8e as bw,vMe as bx,T8e as by,U8e as bz,Jh as c,ere as c$,vve as c0,wve as c1,yve as c2,bve as c3,Ar as c4,Cve as c5,r7 as c6,Sve as c7,Kae as c8,K6e as c9,y8e as cA,g8e as cB,vIe as cC,aIe as cD,xU as cE,lTe as cF,B8e as cG,iTe as cH,H8e as cI,x8e as cJ,yNe as cK,wq as cL,dPe as cM,Jq as cN,j8e as cO,A8e as cP,FMe as cQ,n8e as cR,SAe as cS,aPe as cT,sPe as cU,C8e as cV,Wee as cW,are as cX,BU as cY,Qne as cZ,Jne as c_,ine as ca,dne as cb,lne as cc,bne as cd,Ey as ce,_y as cf,Q8e as cg,tIe as ch,dIe as ci,vp as cj,rae as ck,aae as cl,ete as cm,rNe as cn,wU as co,N5 as cp,B6e as cq,H6e as cr,m8e as cs,v8e as ct,Ke as cu,fNe as cv,w8e as cw,iIe as cx,hNe as cy,Mq as cz,LI as d,qAe as d$,X6e as d0,cne as d1,OU as d2,dre as d3,IU as d4,Vae as d5,ote as d6,vNe as d7,J6e as d8,fre as d9,kAe as dA,_Ae as dB,LMe as dC,jTe as dD,fPe as dE,SNe as dF,Sv as dG,wNe as dH,xNe as dI,CNe as dJ,cPe as dK,$Te as dL,bNe as dM,eNe as dN,rne as dO,ore as dP,tNe as dQ,RNe as dR,INe as dS,Eve as dT,Q6e as dU,c8e as dV,i3 as dW,gre as dX,vte as dY,TMe as dZ,OMe as d_,tse as da,pre as db,kNe as dc,oPe as dd,iPe as de,d8e as df,l8e as dg,hIe as dh,f8e as di,_8e as dj,u8e as dk,bMe as dl,yMe as dm,Gj as dn,i8e as dp,k8e as dq,h8e as dr,F8e as ds,S8e as dt,BI as du,b8e as dv,Cv as dw,G6e as dx,E8e as dy,KAe as dz,At as e,MMe as e0,NMe as e1,DMe as e2,UMe as e3,pNe as e4,kMe as e5,BAe as e6,_Me as e7,AMe as e8,V6e as e9,FAe as ea,mre as eb,f6 as ec,fIe as ed,YMe as ee,HMe as ef,tPe as eg,ty as eh,ETe as ei,qMe as ej,GMe as ek,WMe as el,E5e as em,VMe as en,k5e as eo,ng as ep,lNe as eq,dNe as er,ire as es,rte as et,iae as eu,iNe as ev,sNe as ew,oNe as ex,en as f,o3 as g,zd as h,FA as i,x as j,e8e as k,EMe as l,jMe as m,wMe as n,Sq as o,K8e as p,pMe as q,E as r,Xj as s,Me as t,$s as u,Y6e as v,xr as w,ybe as x,W8e as y,V8e as z};
|
|
293
|
+
or you can use record.mirror to access the mirror instance during recording.`;let Q9={map:{},getId(){return console.error(Pu),-1},getNode(){return console.error(Pu),null},removeNodeFromMap(){console.error(Pu)},has(){return console.error(Pu),!1},reset(){console.error(Pu)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Q9=new Proxy(Q9,{get(e,t,n){return t==="map"&&console.error(Pu),Reflect.get(e,t,n)}}));function gp(e,t,n={}){let r=null,a=0;return function(...s){const i=Date.now();!a&&n.leading===!1&&(a=i);const c=t-(i-a),u=this;c<=0||c>t?(r&&(clearTimeout(r),r=null),a=i,e.apply(u,s)):!r&&n.trailing!==!1&&(r=setTimeout(()=>{a=n.leading===!1?0:Date.now(),r=null,e.apply(u,s)},c))}}function Sy(e,t,n,r,a=window){const s=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(i){setTimeout(()=>{n.set.call(this,i)},0),s&&s.set&&s.set.call(this,i)}}),()=>Sy(e,t,s||{},!0)}let z1=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(z1=()=>new Date().getTime());function qH(e){var t,n,r,a;const s=e.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:s.documentElement.scrollLeft||s?.body&&((t=it.parentElement(s.body))==null?void 0:t.scrollLeft)||((n=s?.body)==null?void 0:n.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:s?.documentElement.scrollTop||s?.body&&((r=it.parentElement(s.body))==null?void 0:r.scrollTop)||((a=s?.body)==null?void 0:a.scrollTop)||0}}function WH(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function VH(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function GH(e){return e?e.nodeType===e.ELEMENT_NODE?e:it.parentElement(e):null}function Rr(e,t,n,r){if(!e)return!1;const a=GH(e);if(!a)return!1;try{if(typeof t=="string"){if(a.classList.contains(t)||r&&a.closest("."+t)!==null)return!0}else if(T1(a,t,r))return!0}catch{}return!!(n&&(a.matches(n)||r&&a.closest(n)!==null))}function b_e(e,t){return t.getId(e)!==-1}function OE(e,t,n){return e.tagName==="TITLE"&&n.headTitleMutations?!0:t.getId(e)===ip}function KH(e,t){if(Ph(e))return!1;const n=t.getId(e);if(!t.has(n))return!0;const r=it.parentNode(e);return r&&r.nodeType===e.DOCUMENT_NODE?!1:r?KH(r,t):!0}function P_(e){return!!e.changedTouches}function S_e(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function YH(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function ZH(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function D_(e){return e?e instanceof PI&&"shadowRoot"in e?!!e.shadowRoot:!!it.shadowRoot(e):!1}class w_e{constructor(){xe(this,"id",1),xe(this,"styleIDMap",new WeakMap),xe(this,"idStyleMap",new Map)}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function XH(e){var t;let n=null;return"getRootNode"in e&&((t=it.getRootNode(e))==null?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&it.host(it.getRootNode(e))&&(n=it.host(it.getRootNode(e))),n}function x_e(e){let t=e,n;for(;n=XH(t);)t=n;return t}function C_e(e){const t=it.ownerDocument(e);if(!t)return!1;const n=x_e(e);return it.contains(t,n)}function QH(e){const t=it.ownerDocument(e);return t?it.contains(t,e)||C_e(e):!1}var kt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(kt||{}),gt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(gt||{}),Hr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Hr||{}),ho=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(ho||{}),yd=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(yd||{}),Du=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Du||{}),JH=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(JH||{});function J9(e){return"__ln"in e}class E_e{constructor(){xe(this,"length",0),xe(this,"head",null),xe(this,"tail",null)}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=n?.next||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&J9(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&J9(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const eD=(e,t)=>`${e}@${t}`;class __e{constructor(){xe(this,"frozen",!1),xe(this,"locked",!1),xe(this,"texts",[]),xe(this,"attributes",[]),xe(this,"attributeMap",new WeakMap),xe(this,"removes",[]),xe(this,"mapRemoves",[]),xe(this,"movedMap",{}),xe(this,"addedSet",new Set),xe(this,"movedSet",new Set),xe(this,"droppedSet",new Set),xe(this,"removesSubTreeCache",new Set),xe(this,"mutationCb"),xe(this,"blockClass"),xe(this,"blockSelector"),xe(this,"maskTextClass"),xe(this,"maskTextSelector"),xe(this,"inlineStylesheet"),xe(this,"maskInputOptions"),xe(this,"maskTextFn"),xe(this,"maskInputFn"),xe(this,"keepIframeSrcFn"),xe(this,"recordCanvas"),xe(this,"inlineImages"),xe(this,"slimDOMOptions"),xe(this,"dataURLOptions"),xe(this,"doc"),xe(this,"mirror"),xe(this,"iframeManager"),xe(this,"stylesheetManager"),xe(this,"shadowDomManager"),xe(this,"canvasManager"),xe(this,"processedNodeManager"),xe(this,"unattachedDoc"),xe(this,"processMutations",t=>{t.forEach(this.processMutation),this.emit()}),xe(this,"emit",()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new E_e,a=u=>{let f=u,h=ip;for(;h===ip;)f=f&&f.nextSibling,h=f&&this.mirror.getId(f);return h},s=u=>{const f=it.parentNode(u);if(!f||!QH(u))return;let h=!1;if(u.nodeType===Node.TEXT_NODE){const S=f.tagName;if(S==="TEXTAREA")return;S==="STYLE"&&this.addedSet.has(f)&&(h=!0)}const m=Ph(f)?this.mirror.getId(XH(u)):this.mirror.getId(f),g=a(u);if(m===-1||g===-1)return r.addNode(u);const y=qu(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:S=>{YH(S,this.mirror)&&this.iframeManager.addIframe(S),ZH(S,this.mirror)&&this.stylesheetManager.trackLinkElement(S),D_(u)&&this.shadowDomManager.addShadowRoot(it.shadowRoot(u),this.doc)},onIframeLoad:(S,w)=>{this.iframeManager.attachIframe(S,w),this.shadowDomManager.observeAttachShadow(S)},onStylesheetLoad:(S,w)=>{this.stylesheetManager.attachLinkElement(S,w)},cssCaptured:h});y&&(t.push({parentId:m,nextId:g,node:y}),n.add(y.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)tD(this.removesSubTreeCache,u,this.mirror)&&!this.movedSet.has(it.parentNode(u))||s(u);for(const u of this.addedSet)!nD(this.droppedSet,u)&&!tD(this.removesSubTreeCache,u,this.mirror)||nD(this.movedSet,u)?s(u):this.droppedSet.add(u);let i=null;for(;r.length;){let u=null;if(i){const f=this.mirror.getId(it.parentNode(i.value)),h=a(i.value);f!==-1&&h!==-1&&(u=i)}if(!u){let f=r.tail;for(;f;){const h=f;if(f=f.previous,h){const m=this.mirror.getId(it.parentNode(h.value));if(a(h.value)===-1)continue;if(m!==-1){u=h;break}else{const y=h.value,S=it.parentNode(y);if(S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const w=it.host(S);if(this.mirror.getId(w)!==-1){u=h;break}}}}}}if(!u){for(;r.head;)r.removeNode(r.head.value);break}i=u.previous,r.removeNode(u.value),s(u.value)}const c={texts:this.texts.map(u=>{const f=u.node,h=it.parentNode(f);return h&&h.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(h),{id:this.mirror.getId(f),value:u.value}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:f}=u;if(typeof f.style=="string"){const h=JSON.stringify(u.styleDiff),m=JSON.stringify(u._unchangedStyles);h.length<f.style.length&&(h+m).split("var(").length===f.style.split("var(").length&&(f.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:f}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:t};!c.texts.length&&!c.attributes.length&&!c.removes.length&&!c.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(c))}),xe(this,"genTextAreaValueMutation",t=>{let n=this.attributeMap.get(t);n||(n={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(n),this.attributeMap.set(t,n));const r=Array.from(it.childNodes(t),a=>it.textContent(a)||"").join("");n.attributes.value=A1({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:I1(t),value:r,maskInputFn:this.maskInputFn})}),xe(this,"processMutation",t=>{if(!OE(t.target,this.mirror,this.slimDOMOptions))switch(t.type){case"characterData":{const n=it.textContent(t.target);!Rr(t.target,this.blockClass,this.blockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:xB(t.target,this.maskTextClass,this.maskTextSelector,!0)&&n?this.maskTextFn?this.maskTextFn(n,GH(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,a=t.target.getAttribute(r);if(r==="value"){const i=I1(n);a=A1({element:n,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:i,value:a,maskInputFn:this.maskInputFn})}if(Rr(t.target,this.blockClass,this.blockSelector,!1)||a===t.oldValue)return;let s=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(a))if(!n.contentDocument)r="rr_src";else return;if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(t.target,s)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!wB(n.tagName,r))if(s.attributes[r]=SB(this.doc,sc(n.tagName),sc(r),a),r==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const i=this.unattachedDoc.createElement("span");t.oldValue&&i.setAttribute("style",t.oldValue);for(const c of Array.from(n.style)){const u=n.style.getPropertyValue(c),f=n.style.getPropertyPriority(c);u!==i.style.getPropertyValue(c)||f!==i.style.getPropertyPriority(c)?f===""?s.styleDiff[c]=u:s.styleDiff[c]=[u,f]:s._unchangedStyles[c]=[u,f]}for(const c of Array.from(i.style))n.style.getPropertyValue(c)===""&&(s.styleDiff[c]=!1)}else r==="open"&&n.tagName==="DIALOG"&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case"childList":{if(Rr(t.target,this.blockClass,this.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),a=Ph(t.target)?this.mirror.getId(it.host(t.target)):this.mirror.getId(t.target);Rr(t.target,this.blockClass,this.blockSelector,!1)||OE(n,this.mirror,this.slimDOMOptions)||!b_e(n,this.mirror)||(this.addedSet.has(n)?(L_(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||KH(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[eD(r,a)]?L_(this.movedSet,n):(this.removes.push({parentId:a,id:r,isShadow:Ph(t.target)&&Dh(t.target)?!0:void 0}),k_e(n,this.removesSubTreeCache))),this.mapRemoves.push(n))});break}}}),xe(this,"genAdds",(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(OE(t,this.mirror,this.slimDOMOptions))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[eD(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Rr(t,this.blockClass,this.blockSelector,!1)||(it.childNodes(t).forEach(r=>this.genAdds(r)),D_(t)&&it.childNodes(it.shadowRoot(t)).forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}})}init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function L_(e,t){e.delete(t),it.childNodes(t).forEach(n=>L_(e,n))}function k_e(e,t){const n=[e];for(;n.length;){const r=n.pop();t.has(r)||(t.add(r),it.childNodes(r).forEach(a=>n.push(a)))}}function tD(e,t,n){return e.size===0?!1:A_e(e,t)}function A_e(e,t,n){const r=it.parentNode(t);return r?e.has(r):!1}function nD(e,t){return e.size===0?!1:eq(e,t)}function eq(e,t){const n=it.parentNode(t);return n?e.has(n)?!0:eq(e,n):!1}let Lh;function I_e(e){Lh=e}function R_e(){Lh=void 0}const St=e=>Lh?(...n)=>{try{return e(...n)}catch(r){if(Lh&&Lh(r)===!0)return;throw r}}:e,zl=[];function $p(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function tq(e,t){const n=new __e;zl.push(n),n.init(e);const r=new(HH())(St(n.processMutations.bind(n)));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function T_e({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const a=typeof t.mousemove=="number"?t.mousemove:50,s=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let i=[],c;const u=gp(St(m=>{const g=Date.now()-c;e(i.map(y=>(y.timeOffset-=g,y)),m),i=[],c=null}),s),f=St(gp(St(m=>{const g=$p(m),{clientX:y,clientY:S}=P_(m)?m.changedTouches[0]:m;c||(c=z1()),i.push({x:y,y:S,id:r.getId(g),timeOffset:z1()-c}),u(typeof DragEvent<"u"&&m instanceof DragEvent?gt.Drag:m instanceof MouseEvent?gt.MouseMove:gt.TouchMove)}),a,{trailing:!1})),h=[Ir("mousemove",f,n),Ir("touchmove",f,n),Ir("drag",f,n)];return St(()=>{h.forEach(m=>m())})}function O_e({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const i=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,c=[];let u=null;const f=h=>m=>{const g=$p(m);if(Rr(g,r,a,!0))return;let y=null,S=h;if("pointerType"in m){switch(m.pointerType){case"mouse":y=ho.Mouse;break;case"touch":y=ho.Touch;break;case"pen":y=ho.Pen;break}y===ho.Touch?Hr[h]===Hr.MouseDown?S="TouchStart":Hr[h]===Hr.MouseUp&&(S="TouchEnd"):ho.Pen}else P_(m)&&(y=ho.Touch);y!==null?(u=y,(S.startsWith("Touch")&&y===ho.Touch||S.startsWith("Mouse")&&y===ho.Mouse)&&(y=null)):Hr[h]===Hr.Click&&(y=u,u=null);const w=P_(m)?m.changedTouches[0]:m;if(!w)return;const C=n.getId(g),{clientX:_,clientY:k}=w;St(e)({type:Hr[S],id:C,x:_,y:k,...y!==null&&{pointerType:y}})};return Object.keys(Hr).filter(h=>Number.isNaN(Number(h))&&!h.endsWith("_Departed")&&i[h]!==!1).forEach(h=>{let m=sc(h);const g=f(h);if(window.PointerEvent)switch(Hr[h]){case Hr.MouseDown:case Hr.MouseUp:m=m.replace("mouse","pointer");break;case Hr.TouchStart:case Hr.TouchEnd:return}c.push(Ir(m,g,t))}),St(()=>{c.forEach(h=>h())})}function nq({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){const i=St(gp(St(c=>{const u=$p(c);if(!u||Rr(u,r,a,!0))return;const f=n.getId(u);if(u===t&&t.defaultView){const h=qH(t.defaultView);e({id:f,x:h.left,y:h.top})}else e({id:f,x:u.scrollLeft,y:u.scrollTop})}),s.scroll||100));return Ir("scroll",i,t)}function N_e({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const a=St(gp(St(()=>{const s=WH(),i=VH();(n!==s||r!==i)&&(e({width:Number(i),height:Number(s)}),n=s,r=i)}),200));return Ir("resize",a,t)}const M_e=["INPUT","TEXTAREA","SELECT"],rD=new WeakMap;function P_e({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,ignoreClass:s,ignoreSelector:i,maskInputOptions:c,maskInputFn:u,sampling:f,userTriggeredOnInput:h}){function m(k){let A=$p(k);const R=k.isTrusted,N=A&&A.tagName;if(A&&N==="OPTION"&&(A=it.parentElement(A)),!A||!N||M_e.indexOf(N)<0||Rr(A,r,a,!0)||A.classList.contains(s)||i&&A.matches(i))return;let O=A.value,T=!1;const P=I1(A)||"";P==="radio"||P==="checkbox"?T=A.checked:(c[N.toLowerCase()]||c[P])&&(O=A1({element:A,maskInputOptions:c,tagName:N,type:P,value:O,maskInputFn:u})),g(A,h?{text:O,isChecked:T,userTriggered:R}:{text:O,isChecked:T});const L=A.name;P==="radio"&&L&&T&&t.querySelectorAll(`input[type="radio"][name="${L}"]`).forEach(H=>{if(H!==A){const j=H.value;g(H,h?{text:j,isChecked:!T,userTriggered:!1}:{text:j,isChecked:!T})}})}function g(k,A){const R=rD.get(k);if(!R||R.text!==A.text||R.isChecked!==A.isChecked){rD.set(k,A);const N=n.getId(k);St(e)({...A,id:N})}}const S=(f.input==="last"?["change"]:["input","change"]).map(k=>Ir(k,St(m),t)),w=t.defaultView;if(!w)return()=>{S.forEach(k=>k())};const C=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),_=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return C&&C.set&&S.push(..._.map(k=>Sy(k[0],k[1],{set(){St(m)({target:this,isTrusted:!1})}},!1,w))),St(()=>{S.forEach(k=>k())})}function F1(e){const t=[];function n(r,a){if(r0("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||r0("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||r0("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||r0("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const i=Array.from(r.parentRule.cssRules).indexOf(r);a.unshift(i)}else if(r.parentStyleSheet){const i=Array.from(r.parentStyleSheet.cssRules).indexOf(r);a.unshift(i)}return a}return n(e,t)}function Ri(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function D_e({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:St((h,m,g)=>{const[y,S]=g,{id:w,styleId:C}=Ri(m,t,n.styleMirror);return(w&&w!==-1||C&&C!==-1)&&e({id:w,styleId:C,adds:[{rule:y,index:S}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.addRule=function(h,m,g=this.cssRules.length){const y=`${h} { ${m} }`;return r.CSSStyleSheet.prototype.insertRule.apply(this,[y,g])};const s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:St((h,m,g)=>{const[y]=g,{id:S,styleId:w}=Ri(m,t,n.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,removes:[{index:y}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.removeRule=function(h){return r.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};let i;r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:St((h,m,g)=>{const[y]=g,{id:S,styleId:w}=Ri(m,t,n.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,replace:y}),h.apply(m,g)})}));let c;r.CSSStyleSheet.prototype.replaceSync&&(c=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:St((h,m,g)=>{const[y]=g,{id:S,styleId:w}=Ri(m,t,n.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,replaceSync:y}),h.apply(m,g)})}));const u={};a0("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(a0("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),a0("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),a0("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const f={};return Object.entries(u).forEach(([h,m])=>{f[h]={insertRule:m.prototype.insertRule,deleteRule:m.prototype.deleteRule},m.prototype.insertRule=new Proxy(f[h].insertRule,{apply:St((g,y,S)=>{const[w,C]=S,{id:_,styleId:k}=Ri(y.parentStyleSheet,t,n.styleMirror);return(_&&_!==-1||k&&k!==-1)&&e({id:_,styleId:k,adds:[{rule:w,index:[...F1(y),C||0]}]}),g.apply(y,S)})}),m.prototype.deleteRule=new Proxy(f[h].deleteRule,{apply:St((g,y,S)=>{const[w]=S,{id:C,styleId:_}=Ri(y.parentStyleSheet,t,n.styleMirror);return(C&&C!==-1||_&&_!==-1)&&e({id:C,styleId:_,removes:[{index:[...F1(y),w]}]}),g.apply(y,S)})})}),St(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),c&&(r.CSSStyleSheet.prototype.replaceSync=c),Object.entries(u).forEach(([h,m])=>{m.prototype.insertRule=f[h].insertRule,m.prototype.deleteRule=f[h].deleteRule})})}function rq({mirror:e,stylesheetManager:t},n){var r,a,s;let i=null;n.nodeName==="#document"?i=e.getId(n):i=e.getId(it.host(n));const c=n.nodeName==="#document"?(r=n.defaultView)==null?void 0:r.Document:(s=(a=n.ownerDocument)==null?void 0:a.defaultView)==null?void 0:s.ShadowRoot,u=c?.prototype?Object.getOwnPropertyDescriptor(c?.prototype,"adoptedStyleSheets"):void 0;return i===null||i===-1||!c||!u?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var f;return(f=u.get)==null?void 0:f.call(this)},set(f){var h;const m=(h=u.set)==null?void 0:h.call(this,f);if(i!==null&&i!==-1)try{t.adoptStyleSheets(f,i)}catch{}return m}}),St(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}))}function L_e({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){const s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:St((c,u,f)=>{var h;const[m,g,y]=f;if(n.has(m))return s.apply(u,[m,g,y]);const{id:S,styleId:w}=Ri((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(S&&S!==-1||w&&w!==-1)&&e({id:S,styleId:w,set:{property:m,value:g,priority:y},index:F1(u.parentRule)}),c.apply(u,f)})});const i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:St((c,u,f)=>{var h;const[m]=f;if(n.has(m))return i.apply(u,[m]);const{id:g,styleId:y}=Ri((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(g&&g!==-1||y&&y!==-1)&&e({id:g,styleId:y,remove:{property:m},index:F1(u.parentRule)}),c.apply(u,f)})}),St(()=>{a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=i})}function U_e({mediaInteractionCb:e,blockClass:t,blockSelector:n,mirror:r,sampling:a,doc:s}){const i=St(u=>gp(St(f=>{const h=$p(f);if(!h||Rr(h,t,n,!0))return;const{currentTime:m,volume:g,muted:y,playbackRate:S,loop:w}=h;e({type:u,id:r.getId(h),currentTime:m,volume:g,muted:y,playbackRate:S,loop:w})}),a.media||500)),c=[Ir("play",i(Du.Play),s),Ir("pause",i(Du.Pause),s),Ir("seeked",i(Du.Seeked),s),Ir("volumechange",i(Du.VolumeChange),s),Ir("ratechange",i(Du.RateChange),s)];return St(()=>{c.forEach(u=>u())})}function j_e({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],a=new WeakMap,s=n.FontFace;n.FontFace=function(u,f,h){const m=new s(u,f,h);return a.set(m,{family:u,buffer:typeof f!="string",descriptors:h,fontSource:typeof f=="string"?f:JSON.stringify(Array.from(new Uint8Array(f)))}),m};const i=Cc(t.fonts,"add",function(c){return function(u){return setTimeout(St(()=>{const f=a.get(u);f&&(e(f),a.delete(u))}),0),c.apply(this,[u])}});return r.push(()=>{n.FontFace=s}),r.push(i),St(()=>{r.forEach(c=>c())})}function z_e(e){const{doc:t,mirror:n,blockClass:r,blockSelector:a,selectionCb:s}=e;let i=!0;const c=St(()=>{const u=t.getSelection();if(!u||i&&u?.isCollapsed)return;i=u.isCollapsed||!1;const f=[],h=u.rangeCount||0;for(let m=0;m<h;m++){const g=u.getRangeAt(m),{startContainer:y,startOffset:S,endContainer:w,endOffset:C}=g;Rr(y,r,a,!0)||Rr(w,r,a,!0)||f.push({start:n.getId(y),startOffset:S,end:n.getId(w),endOffset:C})}s({ranges:f})});return c(),Ir("selectionchange",c)}function F_e({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:Cc(n.customElements,"define",function(a){return function(s,i,c){try{t({define:{name:s}})}catch{console.warn(`Custom element callback failed for ${s}`)}return a.apply(this,[s,i,c])}})}function $_e(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:a,scrollCb:s,viewportResizeCb:i,inputCb:c,mediaInteractionCb:u,styleSheetRuleCb:f,styleDeclarationCb:h,canvasMutationCb:m,fontCb:g,selectionCb:y,customElementCb:S}=e;e.mutationCb=(...w)=>{t.mutation&&t.mutation(...w),n(...w)},e.mousemoveCb=(...w)=>{t.mousemove&&t.mousemove(...w),r(...w)},e.mouseInteractionCb=(...w)=>{t.mouseInteraction&&t.mouseInteraction(...w),a(...w)},e.scrollCb=(...w)=>{t.scroll&&t.scroll(...w),s(...w)},e.viewportResizeCb=(...w)=>{t.viewportResize&&t.viewportResize(...w),i(...w)},e.inputCb=(...w)=>{t.input&&t.input(...w),c(...w)},e.mediaInteractionCb=(...w)=>{t.mediaInteaction&&t.mediaInteaction(...w),u(...w)},e.styleSheetRuleCb=(...w)=>{t.styleSheetRule&&t.styleSheetRule(...w),f(...w)},e.styleDeclarationCb=(...w)=>{t.styleDeclaration&&t.styleDeclaration(...w),h(...w)},e.canvasMutationCb=(...w)=>{t.canvasMutation&&t.canvasMutation(...w),m(...w)},e.fontCb=(...w)=>{t.font&&t.font(...w),g(...w)},e.selectionCb=(...w)=>{t.selection&&t.selection(...w),y(...w)},e.customElementCb=(...w)=>{t.customElement&&t.customElement(...w),S(...w)}}function B_e(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};$_e(e,t);let r;e.recordDOM&&(r=tq(e,e.doc));const a=T_e(e),s=O_e(e),i=nq(e),c=N_e(e,{win:n}),u=P_e(e),f=U_e(e);let h=()=>{},m=()=>{},g=()=>{},y=()=>{};e.recordDOM&&(h=D_e(e,{win:n}),m=rq(e,e.doc),g=L_e(e,{win:n}),e.collectFonts&&(y=j_e(e)));const S=z_e(e),w=F_e(e),C=[];for(const _ of e.plugins)C.push(_.observer(_.callback,n,_.options));return St(()=>{zl.forEach(_=>_.reset()),r?.disconnect(),a(),s(),i(),c(),u(),f(),h(),m(),g(),y(),S(),w(),C.forEach(_=>_())})}function r0(e){return typeof window[e]<"u"}function a0(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class aD{constructor(t){xe(this,"iframeIdToRemoteIdMap",new WeakMap),xe(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=t}getId(t,n,r,a){const s=r||this.getIdToRemoteIdMap(t),i=a||this.getRemoteIdToIdMap(t);let c=s.get(n);return c||(c=this.generateIdFn(),s.set(n,c),i.set(c,n)),c}getIds(t,n){const r=this.getIdToRemoteIdMap(t),a=this.getRemoteIdToIdMap(t);return n.map(s=>this.getId(t,s,r,a))}getRemoteId(t,n,r){const a=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const s=a.get(n);return s||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(a=>this.getRemoteId(t,a,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}class H_e{constructor(t){xe(this,"iframes",new WeakMap),xe(this,"crossOriginIframeMap",new WeakMap),xe(this,"crossOriginIframeMirror",new aD(bB)),xe(this,"crossOriginIframeStyleMirror"),xe(this,"crossOriginIframeRootIdMap",new WeakMap),xe(this,"mirror"),xe(this,"mutationCb"),xe(this,"wrappedEmit"),xe(this,"loadListener"),xe(this,"stylesheetManager"),xe(this,"recordCrossOriginIframes"),this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new aD(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var r,a;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((r=t.contentWindow)==null||r.addEventListener("message",this.handleMessage.bind(this))),(a=this.loadListener)==null||a.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const a=this.crossOriginIframeMap.get(t.source);if(!a)return;const s=this.transformCrossOriginEvent(a,n.data.event);s&&this.wrappedEmit(s,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case kt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const a=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,a),this.patchRootIdOnNode(n.data.node,a),{timestamp:n.timestamp,type:kt.IncrementalSnapshot,data:{source:gt.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case kt.Meta:case kt.Load:case kt.DomContentLoaded:return!1;case kt.Plugin:return n;case kt.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case kt.IncrementalSnapshot:switch(n.data.source){case gt.Mutation:return n.data.adds.forEach(a=>{this.replaceIds(a,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(a.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&&this.patchRootIdOnNode(a.node,s)}),n.data.removes.forEach(a=>{this.replaceIds(a,t,["parentId","id"])}),n.data.attributes.forEach(a=>{this.replaceIds(a,t,["id"])}),n.data.texts.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case gt.Drag:case gt.TouchMove:case gt.MouseMove:return n.data.positions.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case gt.ViewportResize:return!1;case gt.MediaInteraction:case gt.MouseInteraction:case gt.Scroll:case gt.CanvasMutation:case gt.Input:return this.replaceIds(n.data,t,["id"]),n;case gt.StyleSheetRule:case gt.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case gt.Font:return n;case gt.Selection:return n.data.ranges.forEach(a=>{this.replaceIds(a,t,["start","end"])}),n;case gt.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(a=>{this.replaceStyleIds(a,t,["styleId"])}),n}}return!1}replace(t,n,r,a){for(const s of a)!Array.isArray(n[s])&&typeof n[s]!="number"||(Array.isArray(n[s])?n[s]=t.getIds(r,n[s]):n[s]=t.getId(r,n[s]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==JH.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class q_e{constructor(t){xe(this,"shadowDoms",new WeakSet),xe(this,"mutationCb"),xe(this,"scrollCb"),xe(this,"bypassOptions"),xe(this,"mirror"),xe(this,"restoreHandlers",[]),this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Dh(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);const r=tq({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(nq({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(it.host(t))),this.restoreHandlers.push(rq({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Cc(t.prototype,"attachShadow",function(a){return function(s){const i=a.call(this,s),c=it.shadowRoot(this);return c&&QH(this)&&r.addShadowRoot(c,n),i}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}var Wu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W_e=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var s0=0;s0<Wu.length;s0++)W_e[Wu.charCodeAt(s0)]=s0;var V_e=function(e){var t=new Uint8Array(e),n,r=t.length,a="";for(n=0;n<r;n+=3)a+=Wu[t[n]>>2],a+=Wu[(t[n]&3)<<4|t[n+1]>>4],a+=Wu[(t[n+1]&15)<<2|t[n+2]>>6],a+=Wu[t[n+2]&63];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a};const sD=new Map;function G_e(e,t){let n=sD.get(e);return n||(n=new Map,sD.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const aq=(e,t,n)=>{if(!e||!(oq(e,t)||typeof e=="object"))return;const r=e.constructor.name,a=G_e(n,r);let s=a.indexOf(e);return s===-1&&(s=a.length,a.push(e)),s};function j0(e,t,n){if(e instanceof Array)return e.map(r=>j0(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,a=V_e(e);return{rr_type:r,base64:a}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[j0(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:a}=e;return{rr_type:r,src:a}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",a=e.toDataURL();return{rr_type:r,src:a}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[j0(e.data,t,n),e.width,e.height]};if(oq(e,t)||typeof e=="object"){const r=e.constructor.name,a=aq(e,t,n);return{rr_type:r,index:a}}}}return e}const sq=(e,t,n)=>e.map(r=>j0(r,t,n)),oq=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(a=>typeof t[a]=="function").find(a=>e instanceof t[a]);function K_e(e,t,n,r){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const i of s)try{if(typeof t.CanvasRenderingContext2D.prototype[i]!="function")continue;const c=Cc(t.CanvasRenderingContext2D.prototype,i,function(u){return function(...f){return Rr(this.canvas,n,r,!0)||setTimeout(()=>{const h=sq(f,t,this);e(this.canvas,{type:yd["2D"],property:i,args:h})},0),u.apply(this,f)}});a.push(c)}catch{const c=Sy(t.CanvasRenderingContext2D.prototype,i,{set(u){e(this.canvas,{type:yd["2D"],property:i,args:[u],setter:!0})}});a.push(c)}return()=>{a.forEach(i=>i())}}function Y_e(e){return e==="experimental-webgl"?"webgl":e}function oD(e,t,n,r){const a=[];try{const s=Cc(e.HTMLCanvasElement.prototype,"getContext",function(i){return function(c,...u){if(!Rr(this,t,n,!0)){const f=Y_e(c);if("__context"in this||(this.__context=f),r&&["webgl","webgl2"].includes(f))if(u[0]&&typeof u[0]=="object"){const h=u[0];h.preserveDrawingBuffer||(h.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return i.apply(this,[c,...u])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function iD(e,t,n,r,a,s){const i=[],c=Object.getOwnPropertyNames(e);for(const u of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(u))try{if(typeof e[u]!="function")continue;const f=Cc(e,u,function(h){return function(...m){const g=h.apply(this,m);if(aq(g,s,this),"tagName"in this.canvas&&!Rr(this.canvas,r,a,!0)){const y=sq(m,s,this),S={type:t,property:u,args:y};n(this.canvas,S)}return g}});i.push(f)}catch{const f=Sy(e,u,{set(h){n(this.canvas,{type:t,property:u,args:[h],setter:!0})}});i.push(f)}return i}function Z_e(e,t,n,r){const a=[];return a.push(...iD(t.WebGLRenderingContext.prototype,yd.WebGL,e,n,r,t)),typeof t.WebGL2RenderingContext<"u"&&a.push(...iD(t.WebGL2RenderingContext.prototype,yd.WebGL2,e,n,r,t)),()=>{a.forEach(s=>s())}}const iq="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5Yn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sIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",X_e=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),lD=typeof window<"u"&&window.Blob&&new Blob([X_e(iq)],{type:"text/javascript;charset=utf-8"});function Q_e(e){let t;try{if(t=lD&&(window.URL||window.webkitURL).createObjectURL(lD),!t)throw"";const n=new Worker(t,{name:e?.name});return n.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker("data:text/javascript;base64,"+iq,{name:e?.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class J_e{constructor(t){xe(this,"pendingCanvasMutations",new Map),xe(this,"rafStamps",{latestId:0,invokeId:null}),xe(this,"mirror"),xe(this,"mutationCb"),xe(this,"resetObservers"),xe(this,"frozen",!1),xe(this,"locked",!1),xe(this,"processMutation",(u,f)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(u)||this.pendingCanvasMutations.set(u,[]),this.pendingCanvasMutations.get(u).push(f)});const{sampling:n="all",win:r,blockClass:a,blockSelector:s,recordCanvas:i,dataURLOptions:c}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,i&&n==="all"&&this.initCanvasMutationObserver(r,a,s),i&&typeof n=="number"&&this.initCanvasFPSObserver(n,r,a,s,{dataURLOptions:c})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(t,n,r,a,s){const i=oD(n,r,a,!0),c=new Map,u=new Q_e;u.onmessage=S=>{const{id:w}=S.data;if(c.set(w,!1),!("base64"in S.data))return;const{base64:C,type:_,width:k,height:A}=S.data;this.mutationCb({id:w,type:yd["2D"],commands:[{property:"clearRect",args:[0,0,k,A]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:C}],type:_}]},0,0]}]})};const f=1e3/t;let h=0,m;const g=()=>{const S=[];return n.document.querySelectorAll("canvas").forEach(w=>{Rr(w,r,a,!0)||S.push(w)}),S},y=S=>{if(h&&S-h<f){m=requestAnimationFrame(y);return}h=S,g().forEach(async w=>{var C;const _=this.mirror.getId(w);if(c.get(_)||w.width===0||w.height===0)return;if(c.set(_,!0),["webgl","webgl2"].includes(w.__context)){const A=w.getContext(w.__context);((C=A?.getContextAttributes())==null?void 0:C.preserveDrawingBuffer)===!1&&A.clear(A.COLOR_BUFFER_BIT)}const k=await createImageBitmap(w);u.postMessage({id:_,bitmap:k,width:w.width,height:w.height,dataURLOptions:s.dataURLOptions},[k])}),m=requestAnimationFrame(y)};m=requestAnimationFrame(y),this.resetObservers=()=>{i(),cancelAnimationFrame(m)}}initCanvasMutationObserver(t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=oD(t,n,r,!1),s=K_e(this.processMutation.bind(this),t,n,r),i=Z_e(this.processMutation.bind(this),t,n,r);this.resetObservers=()=>{a(),s(),i()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const a=r.map(i=>{const{type:c,...u}=i;return u}),{type:s}=r[0];this.mutationCb({id:n,type:s,commands:a}),this.pendingCanvasMutations.delete(t)}}class eke{constructor(t){xe(this,"trackedLinkElements",new WeakSet),xe(this,"mutationCb"),xe(this,"adoptedStyleSheetCb"),xe(this,"styleMirror",new w_e),this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},a=[];for(const s of t){let i;this.styleMirror.has(s)?i=this.styleMirror.getId(s):(i=this.styleMirror.add(s),a.push({styleId:i,rules:Array.from(s.rules||CSSRule,(c,u)=>({rule:gB(c,s.href),index:u}))})),r.styleIds.push(i)}a.length>0&&(r.styles=a),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class tke{constructor(){xe(this,"nodeMap",new WeakMap),xe(this,"active",!1)}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(a=>a!==n)}add(t,n){this.active||(this.active=!0,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let xn,z0,NE,$1=!1;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((d9=e.contentWindow)==null?void 0:d9.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const Ha=r2e();function Bp(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:a="rr-block",blockSelector:s=null,ignoreClass:i="rr-ignore",ignoreSelector:c=null,maskTextClass:u="rr-mask",maskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskInputFn:S,maskTextFn:w,hooks:C,packFn:_,sampling:k={},dataURLOptions:A={},mousemoveWait:R,recordDOM:N=!0,recordCanvas:O=!1,recordCrossOriginIframes:T=!1,recordAfter:P=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:H=!1,inlineImages:j=!1,plugins:U,keepIframeSrcFn:q=()=>!1,ignoreCSSAttributes:X=new Set([]),errorHandler:se}=e;I_e(se);const B=T?window.parent===window:!0;let Q=!1;if(!B)try{window.parent.document&&(Q=!1)}catch{Q=!0}if(B&&!t)throw new Error("emit function is required");if(!B&&!Q)return()=>{};R!==void 0&&k.mousemove===void 0&&(k.mousemove=R),Ha.reset();const G=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:g!==void 0?g:{password:!0},ce=CB(y);S_e();let Se,z=0;const V=Te=>{for(const Ue of U||[])Ue.eventProcessor&&(Te=Ue.eventProcessor(Te));return _&&!Q&&(Te=_(Te)),Te};xn=(Te,Ue)=>{var je;const ke=Te;if(ke.timestamp=z1(),(je=zl[0])!=null&&je.isFrozen()&&ke.type!==kt.FullSnapshot&&!(ke.type===kt.IncrementalSnapshot&&ke.data.source===gt.Mutation)&&zl.forEach(Ut=>Ut.unfreeze()),B)t?.(V(ke),Ue);else if(Q){const Ut={type:"rrweb",event:V(ke),origin:window.location.origin,isCheckout:Ue};window.parent.postMessage(Ut,"*")}if(ke.type===kt.FullSnapshot)Se=ke,z=0;else if(ke.type===kt.IncrementalSnapshot){if(ke.data.source===gt.Mutation&&ke.data.isAttachIframe)return;z++;const Ut=r&&z>=r,Pe=n&&ke.timestamp-Se.timestamp>n;(Ut||Pe)&&z0(!0)}};const K=Te=>{xn({type:kt.IncrementalSnapshot,data:{source:gt.Mutation,...Te}})},ee=Te=>xn({type:kt.IncrementalSnapshot,data:{source:gt.Scroll,...Te}}),oe=Te=>xn({type:kt.IncrementalSnapshot,data:{source:gt.CanvasMutation,...Te}}),pe=Te=>xn({type:kt.IncrementalSnapshot,data:{source:gt.AdoptedStyleSheet,...Te}}),Y=new eke({mutationCb:K,adoptedStyleSheetCb:pe}),fe=new H_e({mirror:Ha,mutationCb:K,stylesheetManager:Y,recordCrossOriginIframes:T,wrappedEmit:xn});for(const Te of U||[])Te.getMirror&&Te.getMirror({nodeMirror:Ha,crossOriginIframeMirror:fe.crossOriginIframeMirror,crossOriginIframeStyleMirror:fe.crossOriginIframeStyleMirror});const ge=new tke;NE=new J_e({recordCanvas:O,mutationCb:oe,win:window,blockClass:a,blockSelector:s,mirror:Ha,sampling:k.canvas,dataURLOptions:A});const Ee=new q_e({mutationCb:K,scrollCb:ee,bypassOptions:{blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskInputOptions:G,dataURLOptions:A,maskTextFn:w,maskInputFn:S,recordCanvas:O,inlineImages:j,sampling:k,slimDOMOptions:ce,iframeManager:fe,stylesheetManager:Y,canvasManager:NE,keepIframeSrcFn:q,processedNodeManager:ge},mirror:Ha});z0=(Te=!1)=>{if(!N)return;xn({type:kt.Meta,data:{href:window.location.href,width:VH(),height:WH()}},Te),Y.reset(),Ee.init(),zl.forEach(je=>je.lock());const Ue=A2e(document,{mirror:Ha,blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskAllInputs:G,maskTextFn:w,maskInputFn:S,slimDOM:ce,dataURLOptions:A,recordCanvas:O,inlineImages:j,onSerialize:je=>{YH(je,Ha)&&fe.addIframe(je),ZH(je,Ha)&&Y.trackLinkElement(je),D_(je)&&Ee.addShadowRoot(it.shadowRoot(je),document)},onIframeLoad:(je,ke)=>{fe.attachIframe(je,ke),Ee.observeAttachShadow(je)},onStylesheetLoad:(je,ke)=>{Y.attachLinkElement(je,ke)},keepIframeSrcFn:q});if(!Ue)return console.warn("Failed to snapshot the document");xn({type:kt.FullSnapshot,data:{node:Ue,initialOffset:qH(window)}},Te),zl.forEach(je=>je.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Y.adoptStyleSheets(document.adoptedStyleSheets,Ha.getId(document))};try{const Te=[],Ue=ke=>{var Ut;return St(B_e)({mutationCb:K,mousemoveCb:(Pe,Bn)=>xn({type:kt.IncrementalSnapshot,data:{source:Bn,positions:Pe}}),mouseInteractionCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.MouseInteraction,...Pe}}),scrollCb:ee,viewportResizeCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.ViewportResize,...Pe}}),inputCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.Input,...Pe}}),mediaInteractionCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.MediaInteraction,...Pe}}),styleSheetRuleCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.StyleSheetRule,...Pe}}),styleDeclarationCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.StyleDeclaration,...Pe}}),canvasMutationCb:oe,fontCb:Pe=>xn({type:kt.IncrementalSnapshot,data:{source:gt.Font,...Pe}}),selectionCb:Pe=>{xn({type:kt.IncrementalSnapshot,data:{source:gt.Selection,...Pe}})},customElementCb:Pe=>{xn({type:kt.IncrementalSnapshot,data:{source:gt.CustomElement,...Pe}})},blockClass:a,ignoreClass:i,ignoreSelector:c,maskTextClass:u,maskTextSelector:f,maskInputOptions:G,inlineStylesheet:h,sampling:k,recordDOM:N,recordCanvas:O,inlineImages:j,userTriggeredOnInput:L,collectFonts:H,doc:ke,maskInputFn:S,maskTextFn:w,keepIframeSrcFn:q,blockSelector:s,slimDOMOptions:ce,dataURLOptions:A,mirror:Ha,iframeManager:fe,stylesheetManager:Y,shadowDomManager:Ee,processedNodeManager:ge,canvasManager:NE,ignoreCSSAttributes:X,plugins:((Ut=U?.filter(Pe=>Pe.observer))==null?void 0:Ut.map(Pe=>({observer:Pe.observer,options:Pe.options,callback:Bn=>xn({type:kt.Plugin,data:{plugin:Pe.name,payload:Bn}})})))||[]},C)};fe.addLoadListener(ke=>{try{Te.push(Ue(ke.contentDocument))}catch(Ut){console.warn(Ut)}});const je=()=>{z0(),Te.push(Ue(document)),$1=!0};return["interactive","complete"].includes(document.readyState)?je():(Te.push(Ir("DOMContentLoaded",()=>{xn({type:kt.DomContentLoaded,data:{}}),P==="DOMContentLoaded"&&je()})),Te.push(Ir("load",()=>{xn({type:kt.Load,data:{}}),P==="load"&&je()},window))),()=>{Te.forEach(ke=>{try{ke()}catch(Ut){String(Ut).toLowerCase().includes("cross-origin")||console.warn(Ut)}}),ge.destroy(),$1=!1,R_e()}}catch(Te){console.warn(Te)}}Bp.addCustomEvent=(e,t)=>{if(!$1)throw new Error("please add custom event after start recording");xn({type:kt.Custom,data:{tag:e,payload:t}})};Bp.freezePage=()=>{zl.forEach(e=>e.freeze())};Bp.takeFullSnapshot=e=>{if(!$1)throw new Error("please take full snapshot after start recording");z0(e)};Bp.mirror=Ha;var cD;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(cD||(cD={}));const nke="rrweb",rke={maskAllInputs:!0,maskTextSelector:"*",maskInputOptions:void 0},ake={additionalSampleRate:1,batchSize:50,flushInterval:5e3,recordOptions:{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,recordCrossOriginIframes:!1}},uD=ake;class ske extends Pa{constructor(t){super(nke),this.recordingEvents=[],this.isRecording=!1,this.recordingStartTime=null,this.flushTimer=null,this.stopRecording=null,this.enabled=!1;const n=Object.assign(Object.assign(Object.assign({},uD.recordOptions),t?.recordOptions),rke);this.config=Object.assign(Object.assign(Object.assign({},uD),t),{recordOptions:n}),we.info("RRWebPlugin initialized",{additionalSampleRate:this.config.additionalSampleRate,batchSize:this.config.batchSize,flushInterval:this.config.flushInterval})}enable(){var t;if(this.enabled){we.info("RRWebPlugin already enabled");return}const n=(t=this.context)===null||t===void 0?void 0:t.getSession();if(!n||!n.record){we.warn("RRWebPlugin skipping - session not being recorded",{hasSession:!!n,sessionRecord:n?.record});return}const r=Math.random();if(r>this.config.additionalSampleRate){we.warn("RRWebPlugin skipping - session replay additionalSampleRate",{randomValue:r,samplingRate:this.config.additionalSampleRate});return}this.enabled=!0,we.info("RRWebPlugin enabled - starting recording"),this.startRecording()}disable(){if(!this.enabled){we.info("RRWebPlugin already disabled");return}we.info("RRWebPlugin disabled - stopping recording"),this.enabled=!1,this.stopCurrentRecording()}record(t){const n=t?.action;n==="start"?(we.info("RRWebPlugin manual start recording"),this.startRecording()):n==="stop"&&(we.info("RRWebPlugin manual stop recording"),this.stopCurrentRecording())}onload(){}startRecording(){this.recordingStartTime=Date.now(),this.recordingEvents=[],this.isRecording=!0,we.info("RRWebPlugin starting rrweb recording",{startTime:this.recordingStartTime});const t=Bp(Object.assign(Object.assign({},this.config.recordOptions),{emit:this.handleRRWebEvent.bind(this)}));t?(this.stopRecording=t,we.info("RRWebPlugin rrweb recording initialized successfully")):we.warn("RRWebPlugin failed to initialize rrweb recording"),this.flushTimer=window.setInterval(()=>{this.flush()},this.config.flushInterval)}stopCurrentRecording(){if(!this.isRecording){we.info("RRWebPlugin stopCurrentRecording called but not recording");return}we.info("RRWebPlugin stopping current recording"),this.isRecording=!1,this.stopRecording&&(this.stopRecording(),this.stopRecording=null,we.info("RRWebPlugin rrweb recording stopped")),this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null,we.info("RRWebPlugin flush timer cleared")),this.flush()}handleRRWebEvent(t){this.isRecording&&(this.recordingEvents.push(t),this.recordingEvents.length>=this.config.batchSize&&(we.info("RRWebPlugin flushing events due to batch size",{eventCount:this.recordingEvents.length,batchSize:this.config.batchSize}),this.flush()))}flush(){if(this.recordingEvents.length===0){we.info("RRWebPlugin flushEvent called but no events to flush");return}we.info("RRWebPlugin flushing events",{eventCount:this.recordingEvents.length});const t=[...this.recordingEvents],n={version:"1.0.0",events:t,eventCount:t.length};this.context.record(Y7,n),we.info("RRWebPlugin events sent to RUM",{eventType:Y7,eventCount:this.recordingEvents.length}),this.recordingEvents=[]}}var oke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},U_;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(U_||(U_={}));const lq="us-west-2",j_=`https://dataplane.rum.${lq}.amazonaws.com`,cq=()=>({unique:!1,domain:window.location.hostname,path:"/",sameSite:"Strict",secure:!0}),uq=e=>({allowCookies:!1,batchLimit:100,client:TSe,compressionStrategy:{enabled:!0},cookieAttributes:e,debug:!1,disableAutoPageView:!1,dispatchInterval:5*1e3,enableRumClient:!0,enableXRay:!1,endpoint:j_,endpointUrl:new URL(j_),eventCacheSize:1e3,eventPluginsToLoad:[],pageIdFormat:U_.Path,pagesToExclude:[],pagesToInclude:[/.*/],signing:!1,recordResourceUrl:!0,retries:2,routeChangeComplete:100,routeChangeTimeout:1e4,sessionAttributes:{},sessionEventLimit:200,sessionLengthSeconds:1800,sessionSampleRate:1,suppressSessionStartEvent:!1,useBeacon:!0,userIdRetentionDays:30,enableW3CTraceId:!1,candidatesCacheSize:10});let ike=class{constructor(t,n,r,a={}){var{cookieAttributes:s}=a,i=oke(a,["cookieAttributes"]);this.eventBus=new eB,typeof r>"u"&&(r="us-west-2"),this.applicationId=t;const c=Object.assign(Object.assign({},cq()),s);this.config=Object.assign(Object.assign({fetchFunction:fetch},uq(c)),i),this.config.sessionId&&(this.config.suppressSessionStartEvent=!0),this.config.endpoint=i.endpoint?i.endpoint:j_.replace(lq,r),this.config.endpointUrl=new URL(this.config.endpoint),we.configure(this.config.debug),we.info("Initialized RUM Slim"),this.eventCache=new $we({id:t,version:n},this.config,this.eventBus),this.dispatchManager=this.initDispatch(r,t),this.pluginManager=this.initPluginManager(t,n),this.eventCache.setPluginFlushHook(()=>this.pluginManager.flush()),this.config.enableRumClient?this.enable():this.disable()}setAwsCredentials(t){this.dispatchManager.setAwsCredentials(t)}setSigningConfigFactory(t){this.dispatchManager.setSigningConfigFactory(t)}addSessionAttributes(t){this.eventCache.addSessionAttributes(t)}getSessionId(){return this.eventCache.getSessionId()}pinSessionId(t){this.eventCache.pinSessionId(t)}startSession(t){return this.eventCache.startSession(t)}getUserId(){return this.eventCache.getUserId()}pinUserId(t){this.eventCache.pinUserId(t)}setEventMetadataHook(t){this.eventCache.setEventMetadataHook(t)}clearEventMetadataHook(){this.eventCache.clearEventMetadataHook()}addPlugin(t){this.pluginManager.addPlugin(t)}dispatch(){this.dispatchManager.dispatchFetch()}dispatchBeacon(){this.dispatchManager.dispatchBeacon()}enable(){this.eventCache.enable(),this.pluginManager.enable(),this.dispatchManager.enable()}disable(){this.dispatchManager.disable(),this.pluginManager.disable(),this.eventCache.disable()}allowCookies(t){this.config.allowCookies=t}clearCookies(){const t=this.config.cookieAttributes;[S1,w1,dd,`${S1}_${this.applicationId}`,`${w1}_${this.applicationId}`,`${dd}_${this.applicationId}`].forEach(r=>Mwe(r,t))}recordPageView(t){this.eventCache.recordPageView(t)}recordError(t){this.pluginManager.record("com.amazonaws.rum.js-error",t)}registerDomEvents(t){this.pluginManager.updatePlugin("com.amazonaws.rum.dom-event",t)}recordEvent(t,n,r){this.eventCache.recordEvent(t,n,r)}initDispatch(t,n){return new OSe(n,t,this.config.endpointUrl,this.eventCache,this.config)}initPluginManager(t,n){const r={applicationId:t,applicationVersion:n,config:this.config,record:this.eventCache.recordEvent,recordCandidate:this.eventCache.recordCandidate,recordPageView:this.eventCache.recordPageView,getSession:this.eventCache.getSession,eventBus:this.eventBus},a=new Nwe(r);return this.config.disableAutoPageView||a.addPlugin(new sxe),this.config.eventPluginsToLoad.forEach(s=>{a.addPlugin(s)}),a}};var Za;(function(e){e.Errors="errors",e.Performance="performance",e.Interaction="interaction",e.Http="http",e.Replay="replay"})(Za||(Za={}));var dD;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(dD||(dD={}));const lke=e=>Object.assign(Object.assign({},uq(e)),{signing:!0,telemetries:[Za.Errors,Za.Performance,Za.Http,Za.Replay]});class cke extends ike{constructor(t,n,r,a={}){super(t,n,r,Object.assign(Object.assign({},lke(cq())),a)),we.info(`RUM client initialized for app: ${t}`),we.info(`Telemetries enabled: ${this.config.telemetries.join(", ")||"none"}`)}initDispatch(t,n){const r=super.initDispatch(t,n);return r.setSigningConfigFactory(owe),r.setCognitoCredentialProviderFactory((a,s,i,c)=>{const u={identityPoolId:i,guestRoleArn:c,cookieAttributes:a.cookieAttributes};return i&&c?new xwe(u,s).ChainAnonymousCredentialsProvider:new Cwe(u,s).ChainAnonymousCredentialsProvider}),this.config.signing&&this.config.identityPoolId&&r.setCognitoCredentials(this.config.identityPoolId,this.config.guestRoleArn),r}initPluginManager(t,n){const r=super.initPluginManager(t,n);return this.constructBuiltinPlugins().forEach(s=>{r.addPlugin(s)}),r}recordError(t){this.pluginManager.record(rB,t)}registerDomEvents(t){this.pluginManager.updatePlugin(tB,t)}constructBuiltinPlugins(){let t=[];const n=this.telemetryFunctor();return this.config.telemetries.forEach(r=>{typeof r=="string"&&n[r.toLowerCase()]?t=[...t,...n[r.toLowerCase()]({})]:Array.isArray(r)&&n[r[0].toLowerCase()]&&(t=[...t,...n[r[0].toLowerCase()](r[1])])}),t}telemetryFunctor(){return{[Za.Errors]:t=>[new Qwe(t)],[Za.Performance]:t=>[new txe(t),new ixe(t),new Axe(t)],[Za.Interaction]:t=>[new nI(t)],[Za.Http]:t=>[new Nxe(t),new Rxe(t)],[Za.Replay]:t=>[new ske(t)]}}}const dq={recordPageView:()=>{},recordError:()=>{},recordEvent:()=>{},recordTiming:()=>{}},uke=/([?&](token|access_token|id_token|authorization)=[^&]*)|\/messages\/[a-z0-9_-]+/gi;function fq(e){return e.replace(uke,"[redacted]")}function dke(e){const t=e.indexOf("?"),n=e.indexOf("#"),r=t===-1&&n===-1?e.length:t===-1?n:n===-1?t:Math.min(t,n);return fq(e.slice(0,r))}function fke(e){const t=fq(e.message);if(t===e.message)return e;const n=new Error(t);return n.name=e.name,n.stack=e.stack,n}function hke(e){return{recordPageView(t){e.recordPageView(dke(t))},recordError(t,n){e.recordError(fke(t)),n&&e.recordEvent("telemetry.error_context",n)},recordEvent(t,n){e.recordEvent(t,n??{})},recordTiming(t,n,r){e.recordEvent("telemetry.timing",{...r,name:t,durationMs:String(n)})}}}function fD(e){return e instanceof Error?e:new Error(String(e))}function pke(e){window.addEventListener("error",t=>{e.recordError(fD(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{e.recordError(fD(t.reason))})}function mke(){const{appMonitorId:e,identityPoolId:t,region:n}=uv().rum;if(!e)return dq;const r=new cke(e,"1.0.0",n,{sessionSampleRate:1,identityPoolId:t,endpoint:`https://dataplane.rum.${n}.amazonaws.com`,telemetries:["performance"],disableAutoPageView:!0,allowCookies:!1,enableXRay:!1}),a=hke(r);return pke(a),a}const hq=E.createContext(dq);function pMe(){return E.useContext(hq)}const z_="remit.theme",gke="dark";function hD(){return typeof localStorage>"u"?"system":localStorage.getItem(z_)??"system"}function F_(e){if(typeof document>"u")return;const t=e==="dark"||e==="system"&&typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle(gke,t)}function mMe(e){typeof localStorage<"u"&&(e==="system"?localStorage.removeItem(z_):localStorage.setItem(z_,e)),F_(e)}const vke=()=>{if(typeof window>"u"||(F_(hD()),typeof window.matchMedia!="function"))return;const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{F_(hD())};typeof e.addEventListener=="function"?e.addEventListener("change",t):e.addListener(t)},yke=e=>e==="true"||e==="false"||e==="null"||/^["[{]/.test(e)||e!==""&&Number.isFinite(Number(e));function pD(e){return typeof e=="object"&&e!==null?JSON.stringify(e):typeof e=="string"?yke(e)?JSON.stringify(e):e:String(e)}function bke(e){const t=new URLSearchParams;for(const r of Object.keys(e)){const a=e[r];if(a!==void 0){if(Array.isArray(a)){for(const s of a)t.append(r,pD(s));continue}t.set(r,pD(a))}}const n=t.toString();return n===""?"":`?${n}`}const Ske=(e,t,n,r)=>{const a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);Yl(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},mD={},$_=(e,t,n,r)=>{Yl(n)&&mD[n]||(Yl(n)&&(mD[n]=new Date),Ske(e,t,n,r))},pq=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},B_=(e,t,n)=>{e.loadNamespaces(t,pq(e,n))},gD=(e,t,n,r)=>{if(Yl(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return B_(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,pq(e,r))},wke=(e,t,n={})=>!t.languages||!t.languages.length?($_(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Yl=e=>typeof e=="string",xke=e=>typeof e=="object"&&e!==null,Cke=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Eke={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},_ke=e=>Eke[e],kke=e=>e.replace(Cke,_ke);let H_={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:kke};const Ake=(e={})=>{H_={...H_,...e}},Ike=()=>H_;let mq;const Rke=e=>{mq=e},Tke=()=>mq,Oke={type:"3rdParty",init(e){Ake(e.options.react),Rke(e)}},Nke=E.createContext();class Mke{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Pke=(e,t)=>{const n=E.useRef();return E.useEffect(()=>{n.current=e},[e,t]),n.current},gq=(e,t,n,r)=>e.getFixedT(t,n,r),Dke=(e,t,n,r)=>E.useCallback(gq(e,t,n,r),[e,t,n,r]),vq=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:a}=E.useContext(Nke)||{},s=n||r||Tke();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Mke),!s){$_(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const R=(O,T)=>Yl(T)?T:xke(T)&&Yl(T.defaultValue)?T.defaultValue:Array.isArray(O)?O[O.length-1]:O,N=[R,{},!1];return N.t=R,N.i18n={},N.ready=!1,N}s.options.react?.wait&&$_(s,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...Ike(),...s.options.react,...t},{useSuspense:c,keyPrefix:u}=i;let f=e||a||s.options?.defaultNS;f=Yl(f)?[f]:f||["translation"],s.reportNamespaces.addUsedNamespaces?.(f);const h=(s.isInitialized||s.initializedStoreOnce)&&f.every(R=>wke(R,s,i)),m=Dke(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),g=()=>m,y=()=>gq(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),[S,w]=E.useState(g);let C=f.join();t.lng&&(C=`${t.lng}${C}`);const _=Pke(C),k=E.useRef(!0);E.useEffect(()=>{const{bindI18n:R,bindI18nStore:N}=i;k.current=!0,!h&&!c&&(t.lng?gD(s,t.lng,f,()=>{k.current&&w(y)}):B_(s,f,()=>{k.current&&w(y)})),h&&_&&_!==C&&k.current&&w(y);const O=()=>{k.current&&w(y)};return R&&s?.on(R,O),N&&s?.store.on(N,O),()=>{k.current=!1,s&&R&&R?.split(" ").forEach(T=>s.off(T,O)),N&&s&&N.split(" ").forEach(T=>s.store.off(T,O))}},[s,C]),E.useEffect(()=>{k.current&&h&&w(g)},[s,u,h]);const A=[S,s,h];if(A.t=S,A.i18n=s,A.ready=h,h||!h&&!c)return A;throw new Promise(R=>{t.lng?gD(s,t.lng,f,()=>R()):B_(s,f,()=>R())})},Lke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts",...e,headers:{"Content-Type":"application/json",...e.headers}}),Uke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/oauth/microsoft/start",...e,headers:{"Content-Type":"application/json",...e.headers}}),jke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/test-connection",...e,headers:{"Content-Type":"application/json",...e.headers}}),zke=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e}),Fke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),$ke=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e}),Bke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e,headers:{"Content-Type":"application/json",...e.headers}}),Hke=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e}),qke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wke=e=>(e.client??Ae).put({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/folder-roles/{role}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vke=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e}),Gke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kke=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e}),Yke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zke=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e}),Xke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e,headers:{"Content-Type":"application/json",...e.headers}}),gMe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e}),Qke=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Jke=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize",...e,headers:{"Content-Type":"application/json",...e.headers}}),eAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),tAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/{organizeJobId}",...e}),nAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync",...e}),rAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync/status",...e}),aAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/trash/empty",...e}),sAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/search",...e}),oAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/{addressId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),iAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e}),lAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e,headers:{"Content-Type":"application/json",...e.headers}}),cAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),uAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),dAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),fAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-free-busy",...e}),hAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars",...e}),pAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),mAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),gAe=e=>(e.client??Ae).put({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),vAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config",...e}),yAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config/export",...e}),bAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/config/import",...e,headers:{"Content-Type":"application/json",...e.headers}}),vMe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads",...e}),SAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads/search",...e}),wAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/me",...e,headers:{"Content-Type":"application/json",...e.headers}}),xAe=e=>(e?.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/me/export",...e}),CAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/quarantine",...e}),EAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/vip-suggestions",...e}),_Ae=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/delete",...e,headers:{"Content-Type":"application/json",...e.headers}}),kAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),AAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),IAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/move",...e,headers:{"Content-Type":"application/json",...e.headers}}),yMe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/not-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),bMe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/report-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),RAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}",...e}),TAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),OAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/raw",...e}),NAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e}),MAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e,headers:{"Content-Type":"application/json",...e.headers}}),PAe=e=>(e.client??Ae).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),DAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),LAe=e=>(e.client??Ae).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),UAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/send",...e}),jAe=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/search/semantic",...e}),yq=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e}),zAe=e=>(e.client??Ae).post({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e,headers:{"Content-Type":"application/json",...e.headers}}),FAe=e=>(e?.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads",...e}),$Ae=e=>(e.client??Ae).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads/{threadId}/messages",...e}),SMe=e=>({mutationFn:async n=>{const{data:r}=await Lke({...e,...n,throwOnError:!0});return r}}),tn=(e,t,n,r)=>{const a={_id:e,baseUrl:t?.baseUrl||(t?.client??Ae).getConfig().baseUrl};return t?.body&&(a.body=t.body),t?.headers&&(a.headers=t.headers),t?.path&&(a.path=t.path),t?.query&&(a.query=t.query),[a]},wMe=e=>({mutationFn:async n=>{const{data:r}=await Uke({...e,...n,throwOnError:!0});return r}}),xMe=e=>({mutationFn:async n=>{const{data:r}=await jke({...e,...n,throwOnError:!0});return r}}),CMe=e=>({mutationFn:async n=>{const{data:r}=await zke({...e,...n,throwOnError:!0});return r}}),EMe=e=>({mutationFn:async n=>{const{data:r}=await Fke({...e,...n,throwOnError:!0});return r}}),BAe=e=>tn("filterOperationsListFilters",e),_Me=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await $ke({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:BAe(e)}),kMe=e=>({mutationFn:async n=>{const{data:r}=await Bke({...e,...n,throwOnError:!0});return r}}),AMe=e=>({mutationFn:async n=>{const{data:r}=await Hke({...e,...n,throwOnError:!0});return r}}),IMe=e=>tn("filterDetailOperationsGetFilter",e),RMe=e=>({mutationFn:async n=>{const{data:r}=await qke({...e,...n,throwOnError:!0});return r}}),HAe=e=>({mutationFn:async n=>{const{data:r}=await Wke({...e,...n,throwOnError:!0});return r}}),qAe=e=>tn("labelOperationsListLabels",e),TMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await Vke({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:qAe(e)}),OMe=e=>({mutationFn:async n=>{const{data:r}=await Gke({...e,...n,throwOnError:!0});return r}}),NMe=e=>({mutationFn:async n=>{const{data:r}=await Kke({...e,...n,throwOnError:!0});return r}}),MMe=e=>({mutationFn:async n=>{const{data:r}=await Yke({...e,...n,throwOnError:!0});return r}}),bq=e=>tn("mailboxOperationsListMailboxes",e),q_=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await Zke({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:bq(e)}),WAe=e=>({mutationFn:async n=>{const{data:r}=await Xke({...e,...n,throwOnError:!0});return r}}),PMe=e=>({mutationFn:async n=>{const{data:r}=await Qke({...e,...n,throwOnError:!0});return r}}),DMe=e=>({mutationFn:async n=>{const{data:r}=await Jke({...e,...n,throwOnError:!0});return r}}),LMe=e=>({mutationFn:async n=>{const{data:r}=await eAe({...e,...n,throwOnError:!0});return r}}),VAe=e=>tn("organizeJobDetailOperationsGetOrganizeJob",e),UMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await tAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:VAe(e)}),jMe=e=>({mutationFn:async n=>{const{data:r}=await nAe({...e,...n,throwOnError:!0});return r}}),GAe=e=>tn("syncOperationsGetSyncStatus",e),zMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await rAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:GAe(e)}),FMe=e=>({mutationFn:async n=>{const{data:r}=await aAe({...e,...n,throwOnError:!0});return r}}),KAe=e=>tn("addressOperationsSearchAddresses",e),$Me=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await sAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:KAe(e)}),BMe=e=>({mutationFn:async n=>{const{data:r}=await oAe({...e,...n,throwOnError:!0});return r}}),YAe=e=>tn("calendarEventOperationsListCalendarEvents",e),HMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await iAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:YAe(e)}),qMe=e=>({mutationFn:async n=>{const{data:r}=await lAe({...e,...n,throwOnError:!0});return r}}),WMe=e=>({mutationFn:async n=>{const{data:r}=await cAe({...e,...n,throwOnError:!0});return r}}),ZAe=e=>tn("calendarEventDetailOperationsGetCalendarEvent",e),VMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await uAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:ZAe(e)}),GMe=e=>({mutationFn:async n=>{const{data:r}=await dAe({...e,...n,throwOnError:!0});return r}}),XAe=e=>tn("calendarFreeBusyOperationsListCalendarFreeBusy",e),KMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await fAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:XAe(e)}),QAe=e=>tn("calendarOperationsListCalendars",e),YMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await hAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:QAe(e)}),ZMe=e=>({mutationFn:async n=>{const{data:r}=await pAe({...e,...n,throwOnError:!0});return r}}),JAe=e=>tn("calendarDetailOperationsGetCalendarFeed",e),XMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await mAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:JAe(e)}),QMe=e=>({mutationFn:async n=>{const{data:r}=await gAe({...e,...n,throwOnError:!0});return r}}),Sq=e=>tn("configOperationsGetConfig",e),LI=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await vAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:Sq(e)}),eIe=e=>tn("configOperationsExportConfig",e),JMe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await yAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:eIe(e)}),e8e=e=>({mutationFn:async n=>{const{data:r}=await bAe({...e,...n,throwOnError:!0});return r}}),t8e=e=>tn("threadOperationsListThreads",e),tIe=e=>tn("threadOperationsSearchThreads",e),n8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await SAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:tIe(e)}),r8e=e=>({mutationFn:async n=>{const{data:r}=await wAe({...e,...n,throwOnError:!0});return r}}),a8e=e=>({mutationFn:async n=>{const{data:r}=await xAe({...e,...n,throwOnError:!0});return r}}),nIe=e=>tn("meOperationsListQuarantine",e),s8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await CAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:nIe(e)}),rIe=e=>tn("meOperationsListVipSuggestions",e),o8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await EAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:rIe(e)}),i8e=e=>({mutationFn:async n=>{const{data:r}=await _Ae({...e,...n,throwOnError:!0});return r}}),l8e=e=>({mutationFn:async n=>{const{data:r}=await kAe({...e,...n,throwOnError:!0});return r}}),c8e=e=>({mutationFn:async n=>{const{data:r}=await AAe({...e,...n,throwOnError:!0});return r}}),u8e=e=>({mutationFn:async n=>{const{data:r}=await IAe({...e,...n,throwOnError:!0});return r}}),aIe=e=>tn("messageOperationsDescribeMessage",e),d8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await RAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:aIe(e)}),f8e=e=>({mutationFn:async n=>{const{data:r}=await TAe({...e,...n,throwOnError:!0});return r}}),sIe=e=>tn("messageOperationsGetRawMessage",e),h8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await OAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:sIe(e)}),wq=e=>tn("outboxOperationsListOutboxMessages",e),p8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await NAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:wq(e)}),m8e=e=>({mutationFn:async n=>{const{data:r}=await MAe({...e,...n,throwOnError:!0});return r}}),g8e=e=>({mutationFn:async n=>{const{data:r}=await PAe({...e,...n,throwOnError:!0});return r}}),oIe=e=>tn("outboxDetailOperationsGetOutboxMessage",e),iIe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await DAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:oIe(e)}),v8e=e=>({mutationFn:async n=>{const{data:r}=await LAe({...e,...n,throwOnError:!0});return r}}),y8e=e=>({mutationFn:async n=>{const{data:r}=await UAe({...e,...n,throwOnError:!0});return r}}),lIe=e=>tn("semanticSearchOperationsSemanticSearch",e),b8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await jAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:lIe(e)}),xq=e=>tn("systemOperationsGetSystemUpdate",e),cIe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await yq({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:xq(e)}),uIe=e=>({mutationFn:async n=>{const{data:r}=await zAe({...e,...n,throwOnError:!0});return r}}),dIe=e=>tn("unifiedThreadOperationsListAllThreads",e),fIe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await FAe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:dIe(e)}),hIe=e=>tn("threadDetailOperationsListThreadMessages",e),S8e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await $Ae({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:hIe(e)}),Cq=E.createContext(void 0),pIe=2e3,mIe=6e4,gIe=e=>e==="sent"||e==="unfiled"||e==="failed"||e==="blocked",vIe=Xj(404),vD=(e,t)=>gIe(e)||t!=null,yIe=({children:e})=>{const[t,n]=E.useState(),r=zd(),{data:a,error:s}=Jh({...iIe({path:{outboxMessageId:t??""}}),enabled:!!t,meta:vIe,retry:(f,h)=>!Aoe(h)&&f<1,refetchInterval:f=>vD(f.state.data?.status,f.state.error)?!1:pIe}),i=E.useCallback(()=>{n(void 0),r.invalidateQueries({queryKey:wq()})},[r]);E.useEffect(()=>{t&&vD(a?.status,s)&&i()},[a,s,t,i]),E.useEffect(()=>{if(!t)return;const f=setTimeout(i,mIe);return()=>clearTimeout(f)},[t,i]);const c=E.useCallback(f=>{n(f)},[]),u=E.useMemo(()=>({startSendPolling:c}),[c]);return x.jsx(Cq.Provider,{value:u,children:e})},w8e=()=>{const e=E.useContext(Cq);if(!e)throw new Error("useCompose must be used within a ComposeProvider");return e},bIe={Inbox:"Inbox",Drafts:"Drafts",Sent:"Sent",Archive:"Archive",Junk:"Junk",Trash:"Trash",All:"All",Flagged:"Flagged"},x8e={Appointed:"Appointed",Flagged:"Flagged",Reserved:"Reserved",Proposed:"Proposed",Stale:"Stale",None:"None"},yD={synced:"synced",failed:"failed"},C8e={uncategorized:"uncategorized",personal:"personal",newsletter:"newsletter",marketing:"marketing",automated:"automated",transactional:"transactional",social:"social"},E8e={Lookalike:"Lookalike",ForeignAddress:"ForeignAddress",Unrelated:"Unrelated"},_8e={MoveToInbox:"MoveToInbox",MoveToJunk:"MoveToJunk"},k8e={Attachment:"attachment"},SIe=new Set(["none","stale","unconfirmed"]),wIe=new Set(Object.values(bIe)),ME=(e,t)=>{const n=e?.[t];return typeof n=="string"?n:void 0},A8e=e=>{const t=Gj(e);if(t?.code!=="folder_role_unresolved")return;const{details:n}=t;if(!n)return;const r=ME(n,"reason"),a=ME(n,"role"),s=ME(n,"accountId");if(!(!r||!SIe.has(r))&&!(!a||!wIe.has(a)||!s))return{reason:r,role:a,accountId:s}},xIe=e=>Gj(e)?.code==="mailbox_not_settled",CIe=e=>e.hierarchyDelimiter.length===0?[e.fullPath]:e.fullPath.split(e.hierarchyDelimiter),vp=e=>{const t=CIe(e);return t[t.length-1]||e.fullPath},EIe=3e4,_Ie=1e3,kIe="The folder couldn't be created on the mail server. Please try again.",AIe="The folder was created but the mail server hasn't confirmed it yet, so nothing was attached to it. It's in your folder list — try again in a moment.",IIe=(e,t)=>new Promise((n,r)=>{if(t?.aborted){r(t.reason);return}const a=setTimeout(()=>{t?.removeEventListener("abort",s),n()},e),s=()=>{clearTimeout(a),r(t?.reason)};t?.addEventListener("abort",s,{once:!0})});async function RIe({fetchMailboxes:e,mailboxId:t,signal:n,timeoutMs:r=EIe,pollIntervalMs:a=_Ie,delay:s=IIe,now:i=Date.now}){const c=i()+r;for(;;){n?.throwIfAborted();const f=(await e()).find(h=>h.mailboxId===t);if(f?.syncStatus===yD.synced)return f;if(f?.syncStatus===yD.failed)throw new Error(kIe);if(i()>=c)throw new Error(AIe);await s(a,n)}}function Eq(e,t){const n=e.trim();return t?`${t.fullPath}${t.hierarchyDelimiter}${n}`:n}const bD=(e,t)=>{const n=t.length===0?[e]:e.split(t);return n[0]?.toLowerCase()==="inbox"&&(n[0]="INBOX"),n.join(t)};function TIe({name:e,delimiter:t,parent:n,existingPaths:r}){const a=e.trim();if(a==="")return"Enter a folder name.";if(t.length>0&&a.includes(t))return`A folder name can't contain "${t}".`;const s=bD(Eq(a,n),t);if(r.some(c=>bD(c,t)===s))return"A folder with that name already exists."}function OIe(e){const t=zd(),{data:n}=Jh({...q_({path:{accountId:e??""}}),enabled:!!e}),r=FA({...WAe(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:bq({path:{accountId:e}})})}}),a=E.useRef(new Map),s=E.useCallback(async(c,u,f)=>{if(!e)throw new Error("No account to create the folder in. Pick messages from a single account first.");const h=n?.items??[],m=u?h.find(C=>C.fullPath===u):void 0;if(u&&!m)throw new Error(`Couldn't find the folder "${u}" to create this one inside.`);const g=m?{fullPath:m.fullPath,hierarchyDelimiter:m.hierarchyDelimiter}:void 0,y=Eq(c,g);let S=a.current.get(y);if(!S){const C=g?.hierarchyDelimiter??h[0]?.hierarchyDelimiter??"/",_=TIe({name:c,delimiter:C,parent:g,existingPaths:h.map(A=>A.fullPath)});if(_)throw new Error(_);S=(await r.mutateAsync({path:{accountId:e},body:{fullPath:y,namespaceType:"personal"}})).mailboxId,a.current.set(y,S)}const w=await RIe({mailboxId:S,signal:f,fetchMailboxes:async()=>(await t.fetchQuery({...q_({path:{accountId:e}}),staleTime:0})).items??[]});return a.current.delete(y),{id:w.mailboxId,label:vp(w),path:w.fullPath}},[r,e,n,t]);return{createFolder:E.useCallback((c,u)=>s(c,"",u),[s]),createFolderIn:s,mutation:r}}const NIe=()=>{const{t:e}=vq("mail",{useSuspense:!1});return E.useCallback((t,n)=>e(t,{defaultValue:n}),[e])},PE={Inbox:"inbox",Drafts:"drafts",Sent:"sent",Archive:"archive",Junk:"junk",Trash:"trash",All:"all",Flagged:"flagged"},I8e={inbox:"Inbox",drafts:"Drafts",sent:"Sent",archive:"Archive",junk:"Junk",trash:"Trash",all:"All",flagged:"Flagged"},yp=["inbox","flagged","drafts","sent","archive","all","junk","trash"];function wy(e){const t=new Map,n=[...e].sort((r,a)=>yp.indexOf(PE[r.role])-yp.indexOf(PE[a.role]));for(const r of n){if(!r.mailboxId||t.has(r.mailboxId))continue;const a=PE[r.role];a&&t.set(r.mailboxId,a)}return t}function _q(e,t,n){const r=e.displayNameOverride?.trim();if(r)return r;const a=vp(e);return!t||!n?a:n(`sidebar.${t}`,a)}const MIe=new Set(["sent","drafts","trash"]),R8e=e=>e===void 0||!MIe.has(e),T8e=100,PIe=e=>e.trim().toLowerCase()==="inbox",DIe=(e,t)=>{if(e.hierarchyDelimiter.length===0)return!1;const n=`${e.fullPath}${e.hierarchyDelimiter}`;return t.some(r=>r.mailboxId!==e.mailboxId&&r.fullPath.startsWith(n))},LIe=["Appointed","Flagged","Reserved"],UIe=(e,t)=>e.mailboxId!==t.mailboxId?!1:e.source==="Stale"?t.specialUse?.includes(e.role)??!1:LIe.includes(e.source),jIe=(e,t)=>t.find(n=>UIe(n,e))?.role;function O8e(e,t,n){if(PIe(e.fullPath))return{deletable:!1,reason:"inbox",message:"The inbox can't be deleted."};const r=jIe(e,n);return r?{deletable:!1,reason:"role",message:`This folder is your ${r} folder. Reassign that role before deleting it.`}:DIe(e,t)?{deletable:!1,reason:"children",message:"This folder has subfolders. Delete them first."}:{deletable:!0}}function zIe(e,t){return e.filter(n=>n.mailboxId!==t)}function N8e(e){return{total:e,moved:0,phase:e===0?"moved":"moving"}}function M8e(e,t){if(e.phase!=="moving")return e;const n=Math.min(e.total,e.moved+Math.max(0,t));return{...e,moved:n,phase:n>=e.total?"moved":"moving"}}function P8e(e,t){return{...e,phase:"failed",error:t}}function D8e(e){return`Moved ${e.moved} of ${e.total}`}function L8e(e){const t=Math.max(0,Math.floor(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}function U8e(e){return e>0?"choose-fate":"confirm-empty"}const FIe=new Set(["outbox","postvak uit","boîte d'envoi","postausgang","buzón de salida","posta in uscita","送信トレイ","送件匣","发件箱","skrzynka nadawcza"]),$Ie=e=>{const t=vp(e).trim().toLowerCase();return FIe.has(t)},SD=yp.length,BIe=(e,t)=>{const n=wy(t);return[...e.filter(a=>{const s=n.get(a.mailboxId);return s==="drafts"||s==="sent"?!1:!$Ie(a)})].sort((a,s)=>{const i=n.has(a.mailboxId)?yp.indexOf(n.get(a.mailboxId)??"inbox"):SD,c=n.has(s.mailboxId)?yp.indexOf(n.get(s.mailboxId)??"inbox"):SD;return i!==c?i-c:vp(a).localeCompare(vp(s),void 0,{sensitivity:"base",numeric:!0})})},HIe=e=>e[0]?.hierarchyDelimiter??"/",qIe=({mailboxes:e,folderAppointments:t,currentMailboxId:n,excludeMailboxId:r,translator:a})=>{const s=BIe(e,t),i=wy(t);return(r?zIe(s,r):s).map(u=>({id:u.mailboxId,label:_q(u,i.get(u.mailboxId),a),path:u.fullPath,isCurrent:u.mailboxId===n,messageCount:u.messageCount}))},kq=E.createContext(void 0),wD=Symbol("appoint-failed"),WIe=({children:e})=>{const t=zd(),n=NIe(),[r,a]=E.useState(null),[s,i]=E.useState(),[c,u]=E.useState({kind:"choosing"}),f=r?.accountId,{data:h}=Jh({...LI(),staleTime:1/0,enabled:!!f}),{data:m}=Jh({...q_({path:{accountId:f??""}}),enabled:!!f}),{createFolderIn:g}=OIe(f),y=FA({...HAe(),meta:Xj(409)}),S=h?.accounts.find(U=>U.accountId===f),w=E.useMemo(()=>m?.items??[],[m]),C=E.useMemo(()=>S?.folderAppointments??[],[S]),_=E.useMemo(()=>qIe({mailboxes:w,folderAppointments:C,translator:n}),[w,C,n]),k=C.find(U=>U.role===r?.role),A=r?.guessedMailboxId??k?.mailboxId,R=w.find(U=>U.mailboxId===A),N=r?.trashFolderLabel??(R?_q(R,wy(C).get(R.mailboxId),n):void 0),O=E.useRef(null),T=E.useCallback(()=>{O.current=null,a(null),i(void 0),u({kind:"choosing"})},[]),P=E.useCallback(U=>{O.current=U,a(U),u({kind:"choosing"}),i(U.reason==="unconfirmed"?U.guessedMailboxId:void 0)},[]),L=E.useCallback(U=>{O.current===U&&T()},[T]),H=E.useCallback(U=>{r&&(u({kind:"appointing"}),y.mutateAsync({path:{accountId:r.accountId,role:r.role},body:{mailboxId:U}}).catch(q=>(u({kind:"appoint-failed",cause:xIe(q)?"mailbox-pending":"generic"}),wD)).then(async q=>{q!==wD&&(await t.invalidateQueries({queryKey:Sq()}),u({kind:"acting"}),await r.onAppointed(),L(r))}).catch(()=>L(r)))},[r,y,t,L]),j=E.useMemo(()=>({requestAppointment:P}),[P]);return x.jsxs(kq.Provider,{value:j,children:[e,r&&x.jsx(gse,{open:!0,reason:r.reason,action:r.action,folders:_,delimiter:HIe(w),trashFolderLabel:N,guessedMailboxId:A,staleFolderLabel:r.staleFolderLabel??k?.staleAppointmentPath,accountEmail:(h?.accounts.length??0)>1?S?.email:void 0,phase:c,selectedId:s,onSelect:i,onCreateFolder:g,onConfirm:H,onCancel:T})]})},j8e=()=>{const e=E.useContext(kq);if(!e)throw new Error("useRoleAppointmentPrompt must be used within a RoleAppointmentPromptProvider");return e},VIe=600,GIe=300,Aq="remit logs",KIe="https://github.com/remit-mail/reader/releases/tag/";function Iq(e,t){const n=t?.check.lastCheckedAt;return n!==void 0&&n!==e.since}function YIe(e){const t=ns(e);return`The check could not be requested — ${t===void 0?"the server did not answer":`the server answered ${t}`}. Run \`remit logs backend\` to see why.`}const ZIe={checking:"preparing",pulling:"preparing",snapshotting:"preparing",stopping:"restarting",starting:"restarting",verifying:"reconnecting",committing:"reconnecting",rollingBack:"reconnecting",recovering:"reconnecting"};function UI(e){return ZIe[e]??"reconnecting"}function Rq(e){const t=ns(e);return t===404||t===403||t===401}function Tq(e,t){const n=e?.check;if(n?.status==="ok"&&!(!n.updateAvailable||!n.latestVersion))return{version:n.latestVersion,releasedAt:B1(n.publishedAt)??t,releaseNotesUrl:n.releaseNotesUrl??Nq(n.latestVersion),summary:n.summary??""}}function XIe(e){const t=e?.check.schemaVersion,n=e?.currentSchemaVersion;return t===void 0||n===void 0?!1:t>n}function xD(){return VIe+GIe}function Oq(e,t){return Math.max(0,Math.floor((t-e)/1e3))}function B1(e){if(!e)return;const t=Date.parse(e);return Number.isNaN(t)?void 0:t}function Nq(e){return`${KIe}${e}`}function Uh(e,t,n,r,a){return{status:"applying",runId:e,version:t,target:n,phase:r,elapsedSeconds:a}}function QIe(e,t,n){switch(n){case"succeeded":return{status:"succeeded",runId:t.runId,version:t.targetVersion,previousVersion:t.fromVersion,releaseNotesUrl:e.check.releaseNotesUrl??Nq(t.targetVersion)};case"rolledBack":return{status:"rolledBack",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};case"rollbackFailed":return{status:"rollbackFailed",runId:t.runId,attemptedVersion:t.targetVersion,previousVersion:t.fromVersion,reason:t.message,logsCommand:t.logCommand};case"abandoned":return{status:"abandoned",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};default:return n}}function JIe(e,t,n,r){const a=e.check,s=B1(a.lastCheckedAt);if(n!==null)return{status:"checkFailed",version:e.currentVersion,reason:n,lastCheckedAt:s};if(t!==null&&!Iq(t,e))return{status:"checking",version:e.currentVersion};if(a.status==="failed")return{status:"checkFailed",version:e.currentVersion,reason:a.error??"Remit could not reach the update service.",lastCheckedAt:s};if(a.status==="disabled")return{status:"neverChecked",version:e.currentVersion,lastCheckedAt:s};const i=Tq(e,r);return i?{status:"available",version:e.currentVersion,release:i}:{status:"upToDate",version:e.currentVersion,checkedAt:B1(a.lastCheckedAt)??r}}function DE(e,t,n){return{surface:{status:"ready",section:e,overlay:t},releaseHeld:n}}function eRe(e,t){return{surface:{status:"ready",section:Uh(e.runId,e.previousVersion,e.attemptedVersion,"reconnecting",t),overlay:{kind:"neverCameBack",attemptedVersion:e.attemptedVersion,previousVersion:e.previousVersion,elapsedSeconds:t,logsCommand:Aq}},releaseHeld:!1}}function tRe(e,t,n,r,a){const s=Oq(e.startedAt,a),i=t?.currentVersion??e.previousVersion,c=!r&&n!==null&&n.runId===e.runId;if(c&&n!==null&&n.outcome!==null)return null;if(c&&n!==null){const u=UI(n.phase);return DE(Uh(n.runId,i,n.targetVersion,u,s),{kind:"applying",target:n.targetVersion,phase:u,elapsedSeconds:s},!1)}return r?s>xD()?eRe(e,s):DE(Uh(e.runId,e.previousVersion,e.attemptedVersion,"reconnecting",s),{kind:"applying",target:e.attemptedVersion,phase:"reconnecting",elapsedSeconds:s},!1):t===void 0?{surface:{status:"loading"},releaseHeld:!1}:s>xD()?{surface:{status:"ready",section:{status:"unreachable",runId:e.runId,previousVersion:e.previousVersion,attemptedVersion:e.attemptedVersion,elapsedSeconds:s,logsCommand:n?.logCommand??Aq},overlay:{kind:"none"}},releaseHeld:!0}:DE(Uh(e.runId,i,e.attemptedVersion,e.phase,s),{kind:"applying",target:e.attemptedVersion,phase:e.phase,elapsedSeconds:s},!1)}function CD(e){const{data:t,isError:n,dismissedRunId:r,checkPress:a,checkFailure:s,now:i}=e;if(n)return{status:"ready",section:{status:"checkFailed",version:t?.currentVersion??"the current version",reason:"Remit could not reach the update service."},overlay:{kind:"none"}};if(!t)return{status:"loading"};const c=t.run,u=c!==null&&r!==null&&c.runId===r;if(c!==null&&!u&&c.outcome!==null)return{status:"ready",section:QIe(t,c,c.outcome),overlay:{kind:"none"}};if(c!==null&&!u&&c.outcome===null){const f=Oq(B1(c.startedAt)??i,i),h=UI(c.phase);return{status:"ready",section:Uh(c.runId,c.fromVersion,c.targetVersion,h,f),overlay:{kind:"applying",target:c.targetVersion,phase:h,elapsedSeconds:f}}}return{status:"ready",section:JIe(t,a,s,i),overlay:{kind:"none"}}}function nRe(e){const{data:t,isError:n,error:r,held:a,now:s}=e,i=t?.run??null;if(Rq(r)&&!a)return{surface:{status:"absent"},releaseHeld:!0};if(a){const c=tRe(a,t,i,n,s);return c||{surface:CD(e),releaseHeld:!0}}return{surface:CD(e),releaseHeld:!1}}const rRe=3e4,aRe=5e3,sRe=3e4,oRe="The updater did not answer. Run `remit logs updater` to see why.";function iRe(e,t,n,r){if(Rq(e)&&!n)return!1;const a=t!==null&&t.outcome===null;return n||a||r?aRe:rRe}function lRe(){const e=zd(),[t,n]=E.useState(null),[r,a]=E.useState(null),[s,i]=E.useState(null),[c,u]=E.useState(null),f=E.useRef(t);f.current=t;const h=E.useRef(s);h.current=s;const m=Jh({...cIe(),retry:!1,meta:{softError:!0},refetchInterval:T=>iRe(T.state.error,T.state.data?.run??null,f.current!==null,h.current!==null)}),g=E.useRef(m.data);g.current=m.data;const y=nRe({data:m.data,isError:m.isError,error:m.error,held:t,dismissedRunId:r,checkPress:s,checkFailure:c,now:Date.now()}),S=E.useRef(null);S.current=y.surface.status==="ready"&&"runId"in y.surface.section?y.surface.section.runId:null;const{releaseHeld:w}=y;E.useEffect(()=>{w&&n(T=>T===null?T:null)},[w]),E.useEffect(()=>{s!==null&&Iq(s,m.data)&&i(null)},[s,m.data]),E.useEffect(()=>{if(s===null)return;const T=s.pressedAt+sRe-Date.now(),P=setTimeout(()=>{i(null),u(oRe)},Math.max(0,T));return()=>clearTimeout(P)},[s]);const{refetch:C}=m,_=E.useCallback(()=>{u(null),i({pressedAt:Date.now(),since:g.current?.check.lastCheckedAt}),yq({query:{refresh:!0},throwOnError:!0}).then(()=>{C()}).catch(T=>{jk(T,koe,"user")&&Wi(T),i(null),u(YIe(T))})},[C]),k=E.useCallback(()=>{C()},[C]),A=FA({...uIe(),meta:{softError:!0},onSuccess:T=>{const P=T.run;P!==null&&(n({runId:P.runId,attemptedVersion:P.targetVersion,previousVersion:P.fromVersion,phase:UI(P.phase),startedAt:Date.now()}),a(null)),e.setQueryData(xq(),T)},onError:()=>{C()}}),{mutate:R}=A,N=E.useCallback(T=>{R({body:{targetVersion:T}})},[R]),O=E.useCallback(()=>{S.current!==null&&a(S.current),n(null),i(null),u(null)},[]);return{surface:y.surface,appliesSchemaMigration:XIe(m.data),currentVersion:m.data?.currentVersion,release:Tq(m.data,Date.now()),onCheck:_,install:N,onDismissResult:O,onRetryConnection:k}}const jI=E.createContext(null);function cRe({children:e}){const t=lRe();return E.createElement(jI.Provider,{value:t},e)}function uRe(){const e=E.useContext(jI);if(e===null)throw new Error("useSelfUpdate must be used within a SelfUpdateProvider");return e}function dRe(){return E.useContext(jI)}function fRe(){const{surface:e,onRetryConnection:t}=uRe();if(e.status!=="ready")return null;const{overlay:n}=e;return n.kind==="applying"?x.jsx(loe,{target:n.target,phase:n.phase,elapsedSeconds:n.elapsedSeconds}):n.kind==="neverCameBack"?x.jsx(coe,{attemptedVersion:n.attemptedVersion,previousVersion:n.previousVersion,elapsedSeconds:n.elapsedSeconds,logsCommand:n.logsCommand,onRetryConnection:t}):null}const hRe={error:{container:"border-danger/50 bg-danger-soft",icon:"text-danger",title:"text-danger"},warning:{container:"border-warning/50 bg-warning-soft",icon:"text-warning",title:"text-warning"},info:{container:"border-accent-2/50 bg-accent-2-soft",icon:"text-accent-2",title:"text-accent-2"}},pRe={error:nte,warning:od,info:OU},mRe={error:"Error",warning:"Warning",info:"Information"},gRe=({id:e,severity:t,title:n,detail:r,action:a,onDismiss:s})=>{const i=hRe[t],c=pRe[t];return x.jsxs("div",{role:t==="error"?"alert":"status","aria-live":t==="error"?"assertive":"polite",className:Me("pointer-events-auto flex items-start gap-3 rounded-md border bg-canvas px-3 py-2 shadow-lg",i.container),children:[x.jsx(c,{className:Me("size-5 shrink-0 mt-0.5",i.icon),"aria-hidden":"true"}),x.jsxs("div",{className:"flex-1 min-w-0",children:[x.jsx("p",{className:Me("text-sm font-medium",i.title),children:n}),r&&x.jsx("p",{className:"mt-0.5 text-xs text-fg-muted break-words",children:r}),a&&x.jsx("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-block text-xs font-medium text-accent-2 underline underline-offset-2",children:a.label})]}),x.jsx("button",{type:"button",onClick:()=>s(e),className:"shrink-0 rounded-md p-1 text-fg-muted hover:bg-surface-raised hover:text-fg transition-colors","aria-label":`Dismiss ${mRe[t].toLowerCase()}`,children:x.jsx(Ps,{className:"size-4","aria-hidden":"true"})})]})},vRe=({errors:e,onDismiss:t})=>e.length===0?null:x.jsx("section",{"aria-label":"Notifications",className:"pointer-events-none fixed inset-x-0 top-0 z-[60] flex flex-col items-center gap-2 px-4 pt-[calc(1rem+env(safe-area-inset-top,0px))] sm:items-end sm:pr-6",children:x.jsx("div",{className:"flex w-full max-w-md flex-col gap-2",children:e.map(n=>x.jsx(gRe,{id:n.id,severity:n.severity,title:n.title,detail:n.detail,action:n.action,onDismiss:t},n.id))})}),ED=5,z8e=(e,t,n)=>({title:e,detail:Mq(n)??t,error:n}),Mq=e=>{if(e!=null){if(e instanceof Error)return e.message||void 0;if(typeof e=="string")return e||void 0;if(typeof e=="object"&&"message"in e&&typeof e.message=="string")return e.message||void 0}},F8e=e=>{const t=Mq(e);return t?t.startsWith("Message not found"):!1},yRe=(e,t,n)=>e.severity===n&&e.title===t.title&&e.detail===t.detail,bRe=(e,t)=>{const r=[...e.filter(a=>!yRe(a,{title:t.title,detail:t.detail,severity:t.severity},t.severity)),t];return r.length<=ED?r:r.slice(r.length-ED)},SRe=(e,t)=>e.filter(n=>n.id!==t),wRe=(e,t,n)=>({id:t,severity:e.severity??"error",title:e.title,detail:e.detail,action:e.action,createdAt:n}),Pq=E.createContext(void 0),xRe=e=>{if(e.action)return e.action;if((e.severity??"error")==="error")return{label:"Report an issue",href:zk(n1({title:`Bug: ${e.title}`,errorMessage:e.detail?`${e.title} — ${e.detail}`:e.title,stack:e.error instanceof Error?e.error.stack:void 0}))}},CRe=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`banner-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,ERe=({children:e})=>{const[t,n]=E.useState([]),r=E.useCallback(c=>{if(c.error!=null&&Zj(c.error))return Wi(c.error).correlationId;const u=wRe({...c,action:xRe(c)},CRe(),Date.now());return n(f=>bRe(f,u)),u.id},[]),a=E.useCallback(c=>{n(u=>SRe(u,c))},[]),s=E.useCallback(()=>{n([])},[]),i=E.useMemo(()=>({errors:t,pushError:r,dismissError:a,clearAll:s}),[t,r,a,s]);return x.jsxs(Pq.Provider,{value:i,children:[e,x.jsx(vRe,{errors:t,onDismiss:a})]})},$8e=()=>{const e=E.useContext(Pq);if(!e)throw new Error("useErrorBanners must be used within an ErrorBannerProvider");return e},_Re=({error:e,reset:t,info:n})=>{const r=Cv(e),a=Wi(e,{recoverable:r,componentStack:n?.componentStack});return x.jsx(az,{fatal:a,onRetry:r?t:void 0})},Ec=Qye()({component:ARe,errorComponent:_Re}),kRe=()=>{const{t:e}=vq("common",{useSuspense:!1});return x.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:z-50 focus:p-4 focus:bg-canvas focus:text-fg focus:rounded-md",children:e("accessibility.skipToContent","Skip to main content")})};function ARe(){return x.jsxs(ERe,{children:[x.jsx(WIe,{children:x.jsxs(cRe,{children:[x.jsxs(yIe,{children:[x.jsx(kRe,{}),x.jsx("main",{id:"main-content",className:"h-dvh overflow-hidden",children:x.jsx(E.Suspense,{fallback:x.jsx(wv,{}),children:x.jsx(k$,{})})})]}),x.jsx(fRe,{})]})}),x.jsx(rz,{})]})}const IRe=qe("/")({beforeLoad:()=>{throw Dp({to:"/mail/brief"})}}),RRe=uv().apiUrl;Ae.setConfig({baseUrl:RRe,fetch:xU});Ae.interceptors.error.use((e,t)=>e instanceof xv||!t?e:woe(e,t.status));const TRe=()=>Ke(()=>import("./calendar-D-vW3Kkp.js"),__vite__mapDeps([0,1,2,3,4,5,6,7])),ORe=qe("/calendar")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(LI())},component:Xe(TRe,"component")}),NRe=()=>Ke(()=>import("./import-TpXs6BGB.js"),__vite__mapDeps([8,9,10,11,12,13])),MRe=qe("/import")({component:Xe(NRe,"component")});var Ot;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const s={};for(const i of a)s[i]=i;return s},e.getValidEnumValues=a=>{const s=e.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),i={};for(const c of s)i[c]=a[c];return e.objectValues(i)},e.objectValues=a=>e.objectKeys(a).map(function(s){return a[s]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&s.push(i);return s},e.find=(a,s)=>{for(const i of a)if(s(i))return i},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(i=>typeof i=="string"?`'${i}'`:i).join(s)}e.joinValues=r,e.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(Ot||(Ot={}));var _D;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(_D||(_D={}));const Ne=Ot.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ti=e=>{switch(typeof e){case"undefined":return Ne.undefined;case"string":return Ne.string;case"number":return Number.isNaN(e)?Ne.nan:Ne.number;case"boolean":return Ne.boolean;case"function":return Ne.function;case"bigint":return Ne.bigint;case"symbol":return Ne.symbol;case"object":return Array.isArray(e)?Ne.array:e===null?Ne.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Ne.promise:typeof Map<"u"&&e instanceof Map?Ne.map:typeof Set<"u"&&e instanceof Set?Ne.set:typeof Date<"u"&&e instanceof Date?Ne.date:Ne.object;default:return Ne.unknown}},ve=Ot.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Mo extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(s){return s.message},r={_errors:[]},a=s=>{for(const i of s.issues)if(i.code==="invalid_union")i.unionErrors.map(a);else if(i.code==="invalid_return_type")a(i.returnTypeError);else if(i.code==="invalid_arguments")a(i.argumentsError);else if(i.path.length===0)r._errors.push(n(i));else{let c=r,u=0;for(;u<i.path.length;){const f=i.path[u];u===i.path.length-1?(c[f]=c[f]||{_errors:[]},c[f]._errors.push(n(i))):c[f]=c[f]||{_errors:[]},c=c[f],u++}}};return a(this),r}static assert(t){if(!(t instanceof Mo))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ot.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const s=a.path[0];n[s]=n[s]||[],n[s].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Mo.create=e=>new Mo(e);const W_=(e,t)=>{let n;switch(e.code){case ve.invalid_type:e.received===Ne.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ve.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ot.jsonStringifyReplacer)}`;break;case ve.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ot.joinValues(e.keys,", ")}`;break;case ve.invalid_union:n="Invalid input";break;case ve.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ot.joinValues(e.options)}`;break;case ve.invalid_enum_value:n=`Invalid enum value. Expected ${Ot.joinValues(e.options)}, received '${e.received}'`;break;case ve.invalid_arguments:n="Invalid function arguments";break;case ve.invalid_return_type:n="Invalid function return type";break;case ve.invalid_date:n="Invalid date";break;case ve.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ot.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ve.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ve.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ve.custom:n="Invalid input";break;case ve.invalid_intersection_types:n="Intersection results could not be merged";break;case ve.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ve.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ot.assertNever(e)}return{message:n}};let PRe=W_;function DRe(){return PRe}const LRe=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,s=[...n,...a.path||[]],i={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let c="";const u=r.filter(f=>!!f).slice().reverse();for(const f of u)c=f(i,{data:t,defaultError:c}).message;return{...a,path:s,message:c}};function _e(e,t){const n=DRe(),r=LRe({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===W_?void 0:W_].filter(a=>!!a)});e.common.issues.push(r)}class Nr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return Ze;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const s=await a.key,i=await a.value;r.push({key:s,value:i})}return Nr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:s,value:i}=a;if(s.status==="aborted"||i.status==="aborted")return Ze;s.status==="dirty"&&t.dirty(),i.status==="dirty"&&t.dirty(),s.value!=="__proto__"&&(typeof i.value<"u"||a.alwaysSet)&&(r[s.value]=i.value)}return{status:t.value,value:r}}}const Ze=Object.freeze({status:"aborted"}),Ch=e=>({status:"dirty",value:e}),Da=e=>({status:"valid",value:e}),kD=e=>e.status==="aborted",AD=e=>e.status==="dirty",bd=e=>e.status==="valid",H1=e=>typeof Promise<"u"&&e instanceof Promise;var Le;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Le||(Le={}));class Us{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ID=(e,t)=>{if(bd(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Mo(e.common.issues);return this._error=n,this._error}}};function ot(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(i,c)=>{const{message:u}=e;return i.code==="invalid_enum_value"?{message:u??c.defaultError}:typeof c.data>"u"?{message:u??r??c.defaultError}:i.code!=="invalid_type"?{message:c.defaultError}:{message:u??n??c.defaultError}},description:a}}class yt{get description(){return this._def.description}_getType(t){return Ti(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ti(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Nr,ctx:{common:t.parent.common,data:t.data,parsedType:Ti(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(H1(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ti(t)},a=this._parseSync({data:t,path:r.path,parent:r});return ID(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ti(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return bd(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>bd(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ti(t)},a=this._parse({data:t,path:r.path,parent:r}),s=await(H1(a)?a:Promise.resolve(a));return ID(r,s)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,s)=>{const i=t(a),c=()=>s.addIssue({code:ve.custom,...r(a)});return typeof Promise<"u"&&i instanceof Promise?i.then(u=>u?!0:(c(),!1)):i?!0:(c(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new cc({schema:this,typeName:Ge.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Bi.create(this,this._def)}nullable(){return xd.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Rs.create(this)}promise(){return K1.create(this,this._def)}or(t){return W1.create([this,t],this._def)}and(t){return V1.create(this,t,this._def)}transform(t){return new cc({...ot(this._def),schema:this,typeName:Ge.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Y_({...ot(this._def),innerType:this,defaultValue:n,typeName:Ge.ZodDefault})}brand(){return new sTe({typeName:Ge.ZodBranded,type:this,...ot(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Z_({...ot(this._def),innerType:this,catchValue:n,typeName:Ge.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return zI.create(this,t)}readonly(){return X_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const URe=/^c[^\s-]{8,}$/i,jRe=/^[0-9a-z]+$/,zRe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,FRe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,$Re=/^[a-z0-9_-]{21}$/i,BRe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,HRe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,qRe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,WRe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let LE;const VRe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,GRe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|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80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ZRe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,XRe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Dq="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",QRe=new RegExp(`^${Dq}$`);function Lq(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function JRe(e){return new RegExp(`^${Lq(e)}$`)}function eTe(e){let t=`${Dq}T${Lq(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function tTe(e,t){return!!((t==="v4"||!t)&&VRe.test(e)||(t==="v6"||!t)&&KRe.test(e))}function nTe(e,t){if(!BRe.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function rTe(e,t){return!!((t==="v4"||!t)&&GRe.test(e)||(t==="v6"||!t)&&YRe.test(e))}class As extends yt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Ne.string){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_type,expected:Ne.string,received:s.parsedType}),Ze}const r=new Nr;let a;for(const s of this._def.checks)if(s.kind==="min")t.data.length<s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")t.data.length>s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const i=t.data.length>s.value,c=t.data.length<s.value;(i||c)&&(a=this._getOrReturnCtx(t,a),i?_e(a,{code:ve.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&&_e(a,{code:ve.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")qRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"email",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")LE||(LE=new RegExp(WRe,"u")),LE.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"emoji",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")FRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"uuid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")$Re.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"nanoid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")URe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"cuid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")jRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"cuid2",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")zRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"ulid",code:ve.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),_e(a,{validation:"url",code:ve.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"regex",code:ve.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?t.data=t.data.trim():s.kind==="includes"?t.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?t.data=t.data.toLowerCase():s.kind==="toUpperCase"?t.data=t.data.toUpperCase():s.kind==="startsWith"?t.data.startsWith(s.value)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?t.data.endsWith(s.value)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?eTe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?QRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?JRe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?HRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"duration",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?tTe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"ip",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?nTe(t.data,s.alg)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"jwt",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?rTe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"cidr",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?ZRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"base64",code:ve.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?XRe.test(t.data)||(a=this._getOrReturnCtx(t,a),_e(a,{validation:"base64url",code:ve.invalid_string,message:s.message}),r.dirty()):Ot.assertNever(s);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ve.invalid_string,...Le.errToObj(r)})}_addCheck(t){return new As({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Le.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Le.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Le.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Le.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Le.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Le.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Le.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Le.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Le.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Le.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Le.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Le.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Le.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...Le.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Le.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Le.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Le.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...Le.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Le.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Le.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Le.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Le.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Le.errToObj(n)})}nonempty(t){return this.min(1,Le.errToObj(t))}trim(){return new As({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}As.create=e=>new As({checks:[],typeName:Ge.ZodString,coerce:e?.coerce??!1,...ot(e)});function aTe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,s=Number.parseInt(e.toFixed(a).replace(".","")),i=Number.parseInt(t.toFixed(a).replace(".",""));return s%i/10**a}class oc extends yt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Ne.number){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_type,expected:Ne.number,received:s.parsedType}),Ze}let r;const a=new Nr;for(const s of this._def.checks)s.kind==="int"?Ot.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?aTe(t.data,s.value)!==0&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.not_finite,message:s.message}),a.dirty()):Ot.assertNever(s);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Le.toString(n))}setLimit(t,n,r,a){return new oc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Le.toString(a)}]})}_addCheck(t){return new oc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Le.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Le.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Le.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Le.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Le.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ot.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}oc.create=e=>new oc({checks:[],typeName:Ge.ZodNumber,coerce:e?.coerce||!1,...ot(e)});class ic extends yt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Ne.bigint)return this._getInvalidInput(t);let r;const a=new Nr;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?t.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),_e(r,{code:ve.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):Ot.assertNever(s);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return _e(n,{code:ve.invalid_type,expected:Ne.bigint,received:n.parsedType}),Ze}gte(t,n){return this.setLimit("min",t,!0,Le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Le.toString(n))}setLimit(t,n,r,a){return new ic({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Le.toString(a)}]})}_addCheck(t){return new ic({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Le.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ic.create=e=>new ic({checks:[],typeName:Ge.ZodBigInt,coerce:e?.coerce??!1,...ot(e)});class q1 extends yt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Ne.boolean){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.boolean,received:r.parsedType}),Ze}return Da(t.data)}}q1.create=e=>new q1({typeName:Ge.ZodBoolean,coerce:e?.coerce||!1,...ot(e)});class Sd extends yt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Ne.date){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_type,expected:Ne.date,received:s.parsedType}),Ze}if(Number.isNaN(t.data.getTime())){const s=this._getOrReturnCtx(t);return _e(s,{code:ve.invalid_date}),Ze}const r=new Nr;let a;for(const s of this._def.checks)s.kind==="min"?t.data.getTime()<s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?t.data.getTime()>s.value&&(a=this._getOrReturnCtx(t,a),_e(a,{code:ve.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):Ot.assertNever(s);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Sd({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Le.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Le.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Sd.create=e=>new Sd({checks:[],coerce:e?.coerce||!1,typeName:Ge.ZodDate,...ot(e)});class RD extends yt{_parse(t){if(this._getType(t)!==Ne.symbol){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.symbol,received:r.parsedType}),Ze}return Da(t.data)}}RD.create=e=>new RD({typeName:Ge.ZodSymbol,...ot(e)});class TD extends yt{_parse(t){if(this._getType(t)!==Ne.undefined){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.undefined,received:r.parsedType}),Ze}return Da(t.data)}}TD.create=e=>new TD({typeName:Ge.ZodUndefined,...ot(e)});class OD extends yt{_parse(t){if(this._getType(t)!==Ne.null){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.null,received:r.parsedType}),Ze}return Da(t.data)}}OD.create=e=>new OD({typeName:Ge.ZodNull,...ot(e)});class ND extends yt{constructor(){super(...arguments),this._any=!0}_parse(t){return Da(t.data)}}ND.create=e=>new ND({typeName:Ge.ZodAny,...ot(e)});class V_ extends yt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Da(t.data)}}V_.create=e=>new V_({typeName:Ge.ZodUnknown,...ot(e)});class Qi extends yt{_parse(t){const n=this._getOrReturnCtx(t);return _e(n,{code:ve.invalid_type,expected:Ne.never,received:n.parsedType}),Ze}}Qi.create=e=>new Qi({typeName:Ge.ZodNever,...ot(e)});class MD extends yt{_parse(t){if(this._getType(t)!==Ne.undefined){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.void,received:r.parsedType}),Ze}return Da(t.data)}}MD.create=e=>new MD({typeName:Ge.ZodVoid,...ot(e)});class Rs extends yt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Ne.array)return _e(n,{code:ve.invalid_type,expected:Ne.array,received:n.parsedType}),Ze;if(a.exactLength!==null){const i=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(i||c)&&(_e(n,{code:i?ve.too_big:ve.too_small,minimum:c?a.exactLength.value:void 0,maximum:i?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(_e(n,{code:ve.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(_e(n,{code:ve.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((i,c)=>a.type._parseAsync(new Us(n,i,n.path,c)))).then(i=>Nr.mergeArray(r,i));const s=[...n.data].map((i,c)=>a.type._parseSync(new Us(n,i,n.path,c)));return Nr.mergeArray(r,s)}get element(){return this._def.type}min(t,n){return new Rs({...this._def,minLength:{value:t,message:Le.toString(n)}})}max(t,n){return new Rs({...this._def,maxLength:{value:t,message:Le.toString(n)}})}length(t,n){return new Rs({...this._def,exactLength:{value:t,message:Le.toString(n)}})}nonempty(t){return this.min(1,t)}}Rs.create=(e,t)=>new Rs({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ge.ZodArray,...ot(t)});function Lu(e){if(e instanceof On){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Bi.create(Lu(r))}return new On({...e._def,shape:()=>t})}else return e instanceof Rs?new Rs({...e._def,type:Lu(e.element)}):e instanceof Bi?Bi.create(Lu(e.unwrap())):e instanceof xd?xd.create(Lu(e.unwrap())):e instanceof lc?lc.create(e.items.map(t=>Lu(t))):e}class On extends yt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Ot.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Ne.object){const f=this._getOrReturnCtx(t);return _e(f,{code:ve.invalid_type,expected:Ne.object,received:f.parsedType}),Ze}const{status:r,ctx:a}=this._processInputParams(t),{shape:s,keys:i}=this._getCached(),c=[];if(!(this._def.catchall instanceof Qi&&this._def.unknownKeys==="strip"))for(const f in a.data)i.includes(f)||c.push(f);const u=[];for(const f of i){const h=s[f],m=a.data[f];u.push({key:{status:"valid",value:f},value:h._parse(new Us(a,m,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof Qi){const f=this._def.unknownKeys;if(f==="passthrough")for(const h of c)u.push({key:{status:"valid",value:h},value:{status:"valid",value:a.data[h]}});else if(f==="strict")c.length>0&&(_e(a,{code:ve.unrecognized_keys,keys:c}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const h of c){const m=a.data[h];u.push({key:{status:"valid",value:h},value:f._parse(new Us(a,m,a.path,h)),alwaysSet:h in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const h of u){const m=await h.key,g=await h.value;f.push({key:m,value:g,alwaysSet:h.alwaysSet})}return f}).then(f=>Nr.mergeObjectSync(r,f)):Nr.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return Le.errToObj,new On({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:Le.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new On({...this._def,unknownKeys:"strip"})}passthrough(){return new On({...this._def,unknownKeys:"passthrough"})}extend(t){return new On({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new On({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ge.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new On({...this._def,catchall:t})}pick(t){const n={};for(const r of Ot.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new On({...this._def,shape:()=>n})}omit(t){const n={};for(const r of Ot.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new On({...this._def,shape:()=>n})}deepPartial(){return Lu(this)}partial(t){const n={};for(const r of Ot.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new On({...this._def,shape:()=>n})}required(t){const n={};for(const r of Ot.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof Bi;)s=s._def.innerType;n[r]=s}return new On({...this._def,shape:()=>n})}keyof(){return Uq(Ot.objectKeys(this.shape))}}On.create=(e,t)=>new On({shape:()=>e,unknownKeys:"strip",catchall:Qi.create(),typeName:Ge.ZodObject,...ot(t)});On.strictCreate=(e,t)=>new On({shape:()=>e,unknownKeys:"strict",catchall:Qi.create(),typeName:Ge.ZodObject,...ot(t)});On.lazycreate=(e,t)=>new On({shape:e,unknownKeys:"strip",catchall:Qi.create(),typeName:Ge.ZodObject,...ot(t)});class W1 extends yt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(s){for(const c of s)if(c.result.status==="valid")return c.result;for(const c of s)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const i=s.map(c=>new Mo(c.ctx.common.issues));return _e(n,{code:ve.invalid_union,unionErrors:i}),Ze}if(n.common.async)return Promise.all(r.map(async s=>{const i={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(a);{let s;const i=[];for(const u of r){const f={...n,common:{...n.common,issues:[]},parent:null},h=u._parseSync({data:n.data,path:n.path,parent:f});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:f}),f.common.issues.length&&i.push(f.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const c=i.map(u=>new Mo(u));return _e(n,{code:ve.invalid_union,unionErrors:c}),Ze}}get options(){return this._def.options}}W1.create=(e,t)=>new W1({options:e,typeName:Ge.ZodUnion,...ot(t)});function G_(e,t){const n=Ti(e),r=Ti(t);if(e===t)return{valid:!0,data:e};if(n===Ne.object&&r===Ne.object){const a=Ot.objectKeys(t),s=Ot.objectKeys(e).filter(c=>a.indexOf(c)!==-1),i={...e,...t};for(const c of s){const u=G_(e[c],t[c]);if(!u.valid)return{valid:!1};i[c]=u.data}return{valid:!0,data:i}}else if(n===Ne.array&&r===Ne.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let s=0;s<e.length;s++){const i=e[s],c=t[s],u=G_(i,c);if(!u.valid)return{valid:!1};a.push(u.data)}return{valid:!0,data:a}}else return n===Ne.date&&r===Ne.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class V1 extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(s,i)=>{if(kD(s)||kD(i))return Ze;const c=G_(s.value,i.value);return c.valid?((AD(s)||AD(i))&&n.dirty(),{status:n.value,value:c.data}):(_e(r,{code:ve.invalid_intersection_types}),Ze)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,i])=>a(s,i)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}V1.create=(e,t,n)=>new V1({left:e,right:t,typeName:Ge.ZodIntersection,...ot(n)});class lc extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.array)return _e(r,{code:ve.invalid_type,expected:Ne.array,received:r.parsedType}),Ze;if(r.data.length<this._def.items.length)return _e(r,{code:ve.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ze;!this._def.rest&&r.data.length>this._def.items.length&&(_e(r,{code:ve.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((i,c)=>{const u=this._def.items[c]||this._def.rest;return u?u._parse(new Us(r,i,r.path,c)):null}).filter(i=>!!i);return r.common.async?Promise.all(s).then(i=>Nr.mergeArray(n,i)):Nr.mergeArray(n,s)}get items(){return this._def.items}rest(t){return new lc({...this._def,rest:t})}}lc.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new lc({items:e,typeName:Ge.ZodTuple,rest:null,...ot(t)})};class G1 extends yt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.object)return _e(r,{code:ve.invalid_type,expected:Ne.object,received:r.parsedType}),Ze;const a=[],s=this._def.keyType,i=this._def.valueType;for(const c in r.data)a.push({key:s._parse(new Us(r,c,r.path,c)),value:i._parse(new Us(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?Nr.mergeObjectAsync(n,a):Nr.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof yt?new G1({keyType:t,valueType:n,typeName:Ge.ZodRecord,...ot(r)}):new G1({keyType:As.create(),valueType:t,typeName:Ge.ZodRecord,...ot(n)})}}class PD extends yt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.map)return _e(r,{code:ve.invalid_type,expected:Ne.map,received:r.parsedType}),Ze;const a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([c,u],f)=>({key:a._parse(new Us(r,c,r.path,[f,"key"])),value:s._parse(new Us(r,u,r.path,[f,"value"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const u of i){const f=await u.key,h=await u.value;if(f.status==="aborted"||h.status==="aborted")return Ze;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const u of i){const f=u.key,h=u.value;if(f.status==="aborted"||h.status==="aborted")return Ze;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}}}}PD.create=(e,t,n)=>new PD({valueType:t,keyType:e,typeName:Ge.ZodMap,...ot(n)});class bp extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ne.set)return _e(r,{code:ve.invalid_type,expected:Ne.set,received:r.parsedType}),Ze;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(_e(r,{code:ve.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(_e(r,{code:ve.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const s=this._def.valueType;function i(u){const f=new Set;for(const h of u){if(h.status==="aborted")return Ze;h.status==="dirty"&&n.dirty(),f.add(h.value)}return{status:n.value,value:f}}const c=[...r.data.values()].map((u,f)=>s._parse(new Us(r,u,r.path,f)));return r.common.async?Promise.all(c).then(u=>i(u)):i(c)}min(t,n){return new bp({...this._def,minSize:{value:t,message:Le.toString(n)}})}max(t,n){return new bp({...this._def,maxSize:{value:t,message:Le.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}bp.create=(e,t)=>new bp({valueType:e,minSize:null,maxSize:null,typeName:Ge.ZodSet,...ot(t)});class DD extends yt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}DD.create=(e,t)=>new DD({getter:e,typeName:Ge.ZodLazy,...ot(t)});class K_ extends yt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return _e(n,{received:n.data,code:ve.invalid_literal,expected:this._def.value}),Ze}return{status:"valid",value:t.data}}get value(){return this._def.value}}K_.create=(e,t)=>new K_({value:e,typeName:Ge.ZodLiteral,...ot(t)});function Uq(e,t){return new wd({values:e,typeName:Ge.ZodEnum,...ot(t)})}class wd extends yt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return _e(n,{expected:Ot.joinValues(r),received:n.parsedType,code:ve.invalid_type}),Ze}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return _e(n,{received:n.data,code:ve.invalid_enum_value,options:r}),Ze}return Da(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return wd.create(t,{...this._def,...n})}exclude(t,n=this._def){return wd.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}wd.create=Uq;class LD extends yt{_parse(t){const n=Ot.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Ne.string&&r.parsedType!==Ne.number){const a=Ot.objectValues(n);return _e(r,{expected:Ot.joinValues(a),received:r.parsedType,code:ve.invalid_type}),Ze}if(this._cache||(this._cache=new Set(Ot.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=Ot.objectValues(n);return _e(r,{received:r.data,code:ve.invalid_enum_value,options:a}),Ze}return Da(t.data)}get enum(){return this._def.values}}LD.create=(e,t)=>new LD({values:e,typeName:Ge.ZodNativeEnum,...ot(t)});class K1 extends yt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ne.promise&&n.common.async===!1)return _e(n,{code:ve.invalid_type,expected:Ne.promise,received:n.parsedType}),Ze;const r=n.parsedType===Ne.promise?n.data:Promise.resolve(n.data);return Da(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}K1.create=(e,t)=>new K1({type:e,typeName:Ge.ZodPromise,...ot(t)});class cc extends yt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,s={addIssue:i=>{_e(r,i),i.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const i=a.transform(r.data,s);if(r.common.async)return Promise.resolve(i).then(async c=>{if(n.value==="aborted")return Ze;const u=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return u.status==="aborted"?Ze:u.status==="dirty"||n.value==="dirty"?Ch(u.value):u});{if(n.value==="aborted")return Ze;const c=this._def.schema._parseSync({data:i,path:r.path,parent:r});return c.status==="aborted"?Ze:c.status==="dirty"||n.value==="dirty"?Ch(c.value):c}}if(a.type==="refinement"){const i=c=>{const u=a.refinement(c,s);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Ze:(c.status==="dirty"&&n.dirty(),i(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?Ze:(c.status==="dirty"&&n.dirty(),i(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!bd(i))return Ze;const c=a.transform(i.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>bd(i)?Promise.resolve(a.transform(i.value,s)).then(c=>({status:n.value,value:c})):Ze);Ot.assertNever(a)}}cc.create=(e,t,n)=>new cc({schema:e,typeName:Ge.ZodEffects,effect:t,...ot(n)});cc.createWithPreprocess=(e,t,n)=>new cc({schema:t,effect:{type:"preprocess",transform:e},typeName:Ge.ZodEffects,...ot(n)});class Bi extends yt{_parse(t){return this._getType(t)===Ne.undefined?Da(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Bi.create=(e,t)=>new Bi({innerType:e,typeName:Ge.ZodOptional,...ot(t)});class xd extends yt{_parse(t){return this._getType(t)===Ne.null?Da(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}xd.create=(e,t)=>new xd({innerType:e,typeName:Ge.ZodNullable,...ot(t)});class Y_ extends yt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Ne.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Y_.create=(e,t)=>new Y_({innerType:e,typeName:Ge.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ot(t)});class Z_ extends yt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return H1(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Mo(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Mo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Z_.create=(e,t)=>new Z_({innerType:e,typeName:Ge.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ot(t)});class UD extends yt{_parse(t){if(this._getType(t)!==Ne.nan){const r=this._getOrReturnCtx(t);return _e(r,{code:ve.invalid_type,expected:Ne.nan,received:r.parsedType}),Ze}return{status:"valid",value:t.data}}}UD.create=e=>new UD({typeName:Ge.ZodNaN,...ot(e)});class sTe extends yt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class zI extends yt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Ze:s.status==="dirty"?(n.dirty(),Ch(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Ze:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new zI({in:t,out:n,typeName:Ge.ZodPipeline})}}class X_ extends yt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(bd(a)&&(a.value=Object.freeze(a.value)),a);return H1(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}X_.create=(e,t)=>new X_({innerType:e,typeName:Ge.ZodReadonly,...ot(t)});var Ge;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ge||(Ge={}));const nd=As.create,B8e=oc.create;ic.create;const oTe=q1.create;Sd.create;const jq=V_.create;Qi.create;const iTe=Rs.create,xy=On.create;W1.create;V1.create;lc.create;const H8e=G1.create,lTe=K_.create,Cy=wd.create;K1.create;Bi.create;xd.create;const cTe=cc.createWithPreprocess,q8e={string:(e=>As.create({...e,coerce:!0})),number:(e=>oc.create({...e,coerce:!0})),boolean:(e=>q1.create({...e,coerce:!0})),bigint:(e=>ic.create({...e,coerce:!0})),date:(e=>Sd.create({...e,coerce:!0}))},zq="/mail/brief",Fq="/mail/$mailboxId",$q="/mail/outbox",Bq="/mail/flagged";function uTe(e){for(const t of e){if(t.routeId===zq)return{list:"brief"};if(t.routeId===Bq)return{list:"flagged"};if(t.routeId===$q)return{list:"outbox"};if(t.routeId===Fq)return{list:"mailbox",mailboxId:t.params?.mailboxId}}}function W8e(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);if(t[0]!=="mail")return"";const n=t[1];return n?n==="brief"?zq:n==="flagged"?Bq:n==="outbox"?$q:dTe(n):""}function V8e(e){if(typeof e!="object"||e===null)return"";const{q:t}=e;return typeof t=="string"?t:""}function dTe(e){return`${Fq}:${e}`}function G8e(e,t){return e===t?!0:e.startsWith(`${t}/`)}function fTe(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);return t[0]==="mail"&&t.length>2}const hTe=()=>use(cse),FI=["intelligence","nav","shortcuts"],pTe=["nav","shortcuts"],Hq=e=>pTe.includes(e);function K8e(e,t){return[...e.filter(n=>!Hq(n)),...t?[t]:[]]}const mTe=Cy(FI);function Q_(e){const t=new Set(e.split(",").map(n=>mTe.safeParse(n)).filter(n=>n.success).map(n=>n.data));return FI.filter(n=>t.has(n))}function $I(e){return FI.filter(t=>e.includes(t)).join(",")}function Y8e(){const e=A$({select:t=>$I(Q_(t.hash))});return E.useMemo(()=>Q_(e),[e])}const gTe=(e,t)=>!Hq(e)&&t;function vTe(e){return(t="")=>$I(Q_(t).filter(n=>gTe(n,e)))}function Ey(){const e=hTe();return E.useMemo(()=>vTe(e),[e])}function Z8e(){const e=$s();return E.useCallback(t=>{e({search:!0,hash:$I(t),replace:!0,hashScrollIntoView:!1})},[e])}function _y(){const e=ybe({select:n=>uTe(n.matches)?.list}),t=Ju({from:"/mail/$mailboxId",shouldThrow:!1});return{list:e,mailboxId:t?.mailboxId}}function X8e(){const{pathname:e}=A$();return fTe(e)}function Q8e(){const e=$s(),t=Ey(),{list:n,mailboxId:r}=_y();return E.useCallback(()=>{const a=i=>i,s=t;if(n==="flagged"){e({to:"/mail/flagged",search:a,hash:s});return}if(n==="outbox"){e({to:"/mail/outbox",search:a,hash:s});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId",params:{mailboxId:r},search:a,hash:s});return}e({to:"/mail/brief",search:a,hash:s})},[e,t,n,r])}const yTe=["year","month","week","day","agenda"],bTe=Cy(yTe),qq="week",STe=new Set(["week","day"]),J8e=e=>STe.has(e),ePe=e=>e==="agenda";function wTe(e){const t=bTe.safeParse(e);return t.success?t.data:void 0}const xTe=/^\d{4}-\d{2}-\d{2}$/;function CTe(e){if(!xTe.test(e))return;const[t,n,r]=e.split("-").map(Number),a=Date.UTC(t,n-1,r),s=new Date(a);if(s.getUTCFullYear()===t&&s.getUTCMonth()===n-1&&s.getUTCDate()===r)return e}const Cd=e=>String(e).padStart(2,"0");function Wq(e){return`${e.getFullYear()}-${Cd(e.getMonth()+1)}-${Cd(e.getDate())}`}function ETe(e,t){return{view:wTe(e.view)??qq,date:CTe(e.date)??t}}function tPe(e,t,n){const[r,a,s]=e.split("-").map(Number);if(t==="year")return jD(r+n,a,s);if(t==="month")return jD(r,a+n,s);const i=t==="day"?1:7,c=new Date(Date.UTC(r,a-1,s+i*n));return _Te(c)}const _Te=e=>`${e.getUTCFullYear()}-${Cd(e.getUTCMonth()+1)}-${Cd(e.getUTCDate())}`;function jD(e,t,n){const r=e+Math.floor((t-1)/12),a=((t-1)%12+12)%12+1,s=new Date(Date.UTC(r,a,0)).getUTCDate();return`${r}-${Cd(a)}-${Cd(Math.min(n,s))}`}const Vq=nd().min(1);function kTe(e){const t=e==null?[]:[e].flat(),n=new Set;for(const r of t){if(typeof r!="string"&&typeof r!="number")continue;const a=Vq.safeParse(String(r));a.success&&n.add(a.data)}return[...n].sort()}const Gq=xy({calendarId:cTe(kTe,iTe(Vq)).transform(e=>e.length===0?void 0:e)}),ATe=Kye(Qae);function nPe({fragment:e,...t}){const n=Ey();return x.jsx(ATe,{...t,hash:e??n})}const ITe=["reply","reply-all","forward"],RTe=Cy(ITe),Kq="/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}",Yq="/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}",Zq="/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}";function Xq(){const e=Ju({from:Kq,shouldThrow:!1}),t=Ju({from:Yq,shouldThrow:!1}),n=Ju({from:Zq,shouldThrow:!1});return e??t??n}function BI(){const e=Xq();return E.useMemo(()=>{if(!e)return;const t=RTe.safeParse(e.mode);return t.success?{kind:"reply",mode:t.data,threadId:e.threadId,sourceMessageId:e.messageId,outboxMessageId:e.outboxMessageId}:{kind:"unknown",segment:e.mode}},[e])}function rPe(){return BI()?.kind==="reply"}function Qq(e,t,n,r){return e==="flagged"?{to:Yq,params:{...n,outboxMessageId:r}}:e==="mailbox"&&t?{to:Zq,params:{...n,mailboxId:t,outboxMessageId:r}}:{to:Kq,params:{...n,outboxMessageId:r}}}function TTe(e,t){if(e?.kind==="reply"&&e.threadId===t.threadId&&e.sourceMessageId===t.messageId)return e.outboxMessageId}function aPe(){const e=$s(),t=Ey(),{list:n,mailboxId:r}=_y(),a=BI();return E.useCallback(s=>{e({...Qq(n,r,s,TTe(a,s)),search:i=>i,hash:t})},[e,t,n,r,a])}function sPe(e,t,n){if(!(!t||!n))return r=>e({threadId:t,messageId:n,mode:r})}function oPe(){const e=$s(),{list:t,mailboxId:n}=_y(),r=BI();return E.useCallback(a=>{r?.kind==="reply"&&e({...Qq(t,n,{threadId:r.threadId,messageId:r.sourceMessageId,mode:r.mode},a),search:s=>s,hash:!0,replace:!0})},[e,t,n,r])}function iPe(){const e=$s(),t=Ey(),{list:n,mailboxId:r}=_y(),a=Xq();return E.useCallback(()=>{if(!a)return;const s=u=>u,i=t,c={threadId:a.threadId,messageId:a.messageId};if(n==="flagged"){e({to:"/mail/flagged/$threadId/$messageId",params:c,search:s,hash:i});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId/$threadId/$messageId",params:{...c,mailboxId:r},search:s,hash:i});return}e({to:"/mail/brief/$threadId/$messageId",params:c,search:s,hash:i})},[e,t,n,r,a])}const OTe=new Map;function lPe(e){const t=new Map;for(const n of e){const r=wy(n.folderAppointments);for(const[a,s]of r)t.set(a,{role:s});for(const a of n.mailboxes){const s=r.get(a.mailboxId),i={providerPath:a.fullPath,hierarchyDelimiter:a.hierarchyDelimiter};t.set(a.mailboxId,s?{role:s,...i}:i)}}return t}function cPe(e,t){const n=t[0];if(!e)return n?{mailboxId:n}:{};for(const a of t){const s=e.get(a);if(s&&Vae(s)!==void 0)return{mailboxId:a,folder:s}}if(!n)return{};const r=e.get(n);return{mailboxId:n,...r?{folder:r}:{}}}const NTe=E.createContext(null),uPe=()=>E.useContext(NTe)??{accounts:[],mailboxNameIndex:new Map,accountNameIndex:new Map,resultFolderIndex:OTe,searchQuery:"",searchInput:"",searchViewKey:"",onSearchChange:()=>{},onSearchClear:()=>{},onSearchClearQuery:()=>{},intelligenceOpen:!1,onToggleIntelligence:()=>{},onRaiseIntelligence:()=>{}},MTe=Cy(["match","properties","folder","rule","name","review","run"]),PTe=e=>{const t=MTe.safeParse(e);return t.success?t.data:void 0},DTe=lTe("search"),LTe=e=>{const t=DTe.safeParse(e);return t.success?t.data:void 0},UTe=jq().transform(LTe),jTe=()=>ty({from:"/mail",select:e=>e.wizardFrom}),zTe=jq().transform(PTe),FTe=(e,t)=>Sv(e,t)+1,Jq=()=>ty({from:"/mail",select:e=>e.wizard}),$Te=()=>{const e=$s();return E.useCallback((t,n)=>{e({to:".",search:r=>({...r,wizard:t,wizardFrom:n})})},[e])},dPe=()=>{const e=Jq(),t=$Te(),[n,r]=E.useState("organize"),a=E.useCallback(i=>{r(i),t("match")},[t]),s=E.useCallback(()=>{t("properties","search")},[t]);return{verb:n,start:a,startFromSearch:s,isOpen:e!==void 0}},fPe=e=>{const t=xr(),n=$s(),r=Jq(),a=jTe(),s=E.useRef(r!==void 0),i=E.useRef(a),c=E.useRef(void 0);E.useEffect(()=>{c.current=void 0},[r]),E.useEffect(()=>{if(!s.current)return;s.current=!1;const m=i.current;(async()=>(await n({to:".",search:g=>({...g,wizard:void 0,wizardFrom:void 0}),replace:!0}),await n({to:".",search:g=>({...g,wizard:e,wizardFrom:m})})))()},[e,n]);const u=E.useCallback(m=>{m===r||c.current===m||(c.current=m,n({to:".",search:g=>({...g,wizard:m})}))},[n,r]),f=E.useCallback(()=>{t.history.back()},[t]),h=E.useCallback((m,g)=>{t.history.go(-FTe(m,g))},[t]);return{step:r,goToStep:u,goBack:f,closeWizard:h}},BTe=()=>Ke(()=>import("./mail-q4w25p61.js"),__vite__mapDeps([14,15,16,3,4,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,6,2,5,32,33,34])),HTe=xy({q:nd().optional(),wizard:zTe,wizardFrom:UTe}),qTe=qe("/mail")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(LI()),e.prefetchQuery({...fIe(),staleTime:6e4})},component:Xe(BTe,"component"),validateSearch:HTe}),WTe=()=>Ke(()=>import("./onboarding-CitgBtS4.js"),__vite__mapDeps([35,36,33,9,10,23,37,12,13])),VTe=qe("/onboarding")({component:Xe(WTe,"component")});function GTe(){const e=dRe(),t=e?.surface.status==="ready"&&e.surface.section.status==="available";return x.jsx(ooe,{show:t,children:x.jsx(Ste,{className:"size-4"})})}const KTe=()=>Ke(()=>import("./settings-B4lO0gY5.js"),[]),hPe=[{id:"accounts",label:"Accounts",icon:x.jsx(TU,{className:"size-4"})},{id:"senders",label:"Senders & Rules",icon:x.jsx(bte,{className:"size-4"})},{id:"folders",label:"Folder roles",icon:x.jsx(cte,{className:"size-4"})},{id:"filters",label:"Filters",icon:x.jsx(ote,{className:"size-4"})},{id:"labels",label:"Labels",icon:x.jsx(vte,{className:"size-4"})},{id:"calendars",label:"Calendars",icon:x.jsx(tte,{className:"size-4"})},{id:"appearance",label:"Appearance",icon:x.jsx(fte,{className:"size-4"})},{id:"advanced",label:"Advanced",icon:x.jsx(GTe,{})}],pPe={accounts:"/settings/accounts",senders:"/settings/senders",folders:"/settings/folders",filters:"/settings/filters",labels:"/settings/labels",calendars:"/settings/calendars",appearance:"/settings/appearance",advanced:"/settings/advanced"},YTe=qe("/settings")({component:Xe(KTe,"component")}),ZTe=qe("/calendar/")({validateSearch:Gq,beforeLoad:({search:e})=>{throw Dp({to:"/calendar/$view/$date",params:{view:qq,date:Wq(new Date)},search:e,replace:!0})}}),ky=xy({q:nd().optional()}),eW=ky.extend({}),XTe=ky.extend({}),QTe=ky.extend({}),JTe=ky.extend({}),e4e=eW,t4e=qe("/mail/")({validateSearch:e4e,beforeLoad:({search:e})=>{throw Dp({to:"/mail/brief",search:e,replace:!0})}}),n4e=()=>Ke(()=>import("./_mailboxId-zt4ASVXf.js"),__vite__mapDeps([38,19,20,7,21,17,22,23,24,25,26,27,39,40,33,16,28,29,30,4,15,3,41,42,37,32,43,44,45,46,47,48,49,50,51,31,52,53,54,55,56,57,58,59,60])),r4e=qe("/mail/$mailboxId")({component:Xe(n4e,"component"),validateSearch:JTe}),a4e=()=>Ke(()=>import("./brief-CF_lzlEW.js"),__vite__mapDeps([61,7])),s4e=()=>Ke(()=>import("./brief-CkR7cgP8.js"),__vite__mapDeps([62,19,20,7,21,17,22,23,24,25,26,27,63,40,33,16,41,15,3,4,42,37,32,43,44,45,46,47,48,49,50,51,31,28,29,30,55,54,56,64,60])),o4e=qe("/mail/brief")({component:Xe(s4e,"component"),validateSearch:eW,errorComponent:Xe(a4e,"errorComponent")}),i4e=()=>Ke(()=>import("./flagged-swzc1EJh.js"),__vite__mapDeps([65,7])),l4e=()=>Ke(()=>import("./flagged-ydi2A1RS.js"),__vite__mapDeps([66,19,20,7,21,17,22,23,24,25,26,27,67,40,33,16,41,15,3,4,42,37,32,43,44,45,46,47,48,49,50,51,31,52,30,64,60])),c4e=qe("/mail/flagged")({component:Xe(l4e,"component"),validateSearch:XTe,errorComponent:Xe(i4e,"errorComponent")}),u4e=()=>Ke(()=>import("./outbox-KtQ9gg2t.js"),__vite__mapDeps([68,19,20,7,21,17,22,23,24,25,26,27,69,40,33,16,29,49,70,71,53,31,5,56,60])),d4e=qe("/mail/outbox")({component:Xe(u4e,"component"),validateSearch:QTe}),f4e=()=>Ke(()=>import("./index-D8-PS9AQ.js"),[]),h4e=qe("/settings/")({component:Xe(f4e,"component")}),p4e=()=>Ke(()=>import("./accounts-CTkm1wTh.js"),__vite__mapDeps([72,70,73,32,74,31,58,36,33,9,10,23,37,12,22,44,7,26,75])),m4e=xy({editAccountId:nd().optional(),focusSmtp:oTe().optional(),connected:nd().optional(),oauthError:nd().optional()}),g4e=qe("/settings/accounts")({component:Xe(p4e,"component"),validateSearch:m4e}),v4e=()=>Ke(()=>import("./advanced-DdguuMCj.js"),__vite__mapDeps([76,73,32,74,31,58,11,25,10,44,12,77,6,59,7,34,4,71,49,50,75,33])),y4e=qe("/settings/advanced")({component:Xe(v4e,"component")}),b4e=()=>Ke(()=>import("./appearance-DntjOQBX.js"),__vite__mapDeps([78,73,32,74,31,58,75,33])),S4e=qe("/settings/appearance")({component:Xe(b4e,"component")}),w4e=()=>Ke(()=>import("./calendars-CCYO-_Ee.js"),__vite__mapDeps([79,73,32,74,31,58,10,27,7,26,30,77,80])),x4e=qe("/settings/calendars")({component:Xe(w4e,"component")}),C4e=()=>Ke(()=>import("./filters-x-cdy0aE.js"),__vite__mapDeps([81,73,32,74,31,58,57,54,51,59,7])),E4e=qe("/settings/filters")({component:Xe(C4e,"component")}),_4e=()=>Ke(()=>import("./folders-Da0AytCF.js"),__vite__mapDeps([82,18,73,32,74,31,58,7])),k4e=qe("/settings/folders")({component:Xe(_4e,"component")}),A4e=()=>Ke(()=>import("./labels-DDdN8R-T.js"),__vite__mapDeps([83,27,73,32,74,31,58,7,54])),I4e=qe("/settings/labels")({component:Xe(A4e,"component")}),R4e=()=>Ke(()=>import("./senders-Cg04kz_d.js"),__vite__mapDeps([84,33,73,32,74,31,58,7,24,26,75])),T4e=qe("/settings/senders")({component:Xe(R4e,"component")}),O4e=()=>Ke(()=>import("./suggested-vips-4BCi28Fh.js"),[]),N4e=qe("/settings/suggested-vips")({component:Xe(O4e,"component")}),M4e=()=>Ke(()=>import("./_view._date-BrosMklw.js"),__vite__mapDeps([85,46,45,37,47,49,7,86,80,87,4,24,88,1,74,53,31])),P4e=qe("/calendar/$view/$date")({validateSearch:Gq,beforeLoad:({params:e,search:t})=>{const n=ETe(e,Wq(new Date));if(!(n.view===e.view&&n.date===e.date))throw Dp({to:"/calendar/$view/$date",params:n,search:t,replace:!0})},component:Xe(M4e,"component")}),D4e=()=>Ke(()=>import("./index-CDlcYvW1.js"),__vite__mapDeps([89,39,40,33,17,16,28,29,30,4,15,3,41,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,53,54,55,56,57,58,59])),L4e=qe("/mail/$mailboxId/")({component:Xe(D4e,"component")}),U4e=()=>Ke(()=>import("./_threadId-C09L_Ndg.js"),[]),j4e=qe("/mail/$mailboxId/$threadId")({component:Xe(U4e,"component")}),z4e=()=>Ke(()=>import("./index-DfColYq3.js"),__vite__mapDeps([90,63,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,28,29,30,55,54,56,64])),F4e=qe("/mail/brief/")({component:Xe(z4e,"component")}),$4e=()=>Ke(()=>import("./_threadId-Cnxq9dtQ.js"),[]),B4e=qe("/mail/brief/$threadId")({component:Xe($4e,"component")}),H4e=()=>Ke(()=>import("./index-D3yVJMPV.js"),__vite__mapDeps([91,67,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,30,64])),q4e=qe("/mail/flagged/")({component:Xe(H4e,"component")}),W4e=()=>Ke(()=>import("./_threadId-D8QQPxe4.js"),[]),V4e=qe("/mail/flagged/$threadId")({component:Xe(W4e,"component")}),G4e=()=>Ke(()=>import("./index-DO2wma9F.js"),__vite__mapDeps([92,69,40,33,17,16,29,49,70,71,53,31,26,5,56])),K4e=qe("/mail/outbox/")({component:Xe(G4e,"component")}),Y4e=()=>Ke(()=>import("./index-Cx71QSmj.js"),__vite__mapDeps([93,43])),Z4e=qe("/calendar/$view/$date/")({component:Xe(Y4e,"component")}),X4e=()=>Ke(()=>import("./_calendarObjectId-A098jYTb.js"),[]),Q4e=qe("/calendar/$view/$date/$calendarObjectId")({component:Xe(X4e,"component")}),J4e=()=>Ke(()=>import("./new-Hq5axjkw.js"),__vite__mapDeps([94,95,86,7,46,88,80])),e5e=qe("/calendar/$view/$date/new")({component:Xe(J4e,"component")}),t5e=()=>Ke(()=>import("./index-BrvtKtrI.js"),__vite__mapDeps([96,39,40,33,17,16,28,29,30,4,15,3,41,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,53,54,55,56,57,58,59])),n5e=qe("/mail/$mailboxId/$threadId/")({component:Xe(t5e,"component")}),r5e=()=>Ke(()=>import("./_messageId-BHksw194.js"),__vite__mapDeps([97,39,40,33,17,16,28,29,30,4,15,3,41,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,53,54,55,56,57,58,59])),a5e=qe("/mail/$mailboxId/$threadId/$messageId")({component:Xe(r5e,"component")}),s5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-Ds2Z_uIk.js"),__vite__mapDeps([98,20,7,21,17,22,23,24,25,26,27])),o5e=qe("/mail/$mailboxId/compose/{-$outboxMessageId}")({component:Xe(s5e,"component")}),i5e=()=>Ke(()=>import("./index-D4MG_Odb.js"),__vite__mapDeps([99,63,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,28,29,30,55,54,56,64])),l5e=qe("/mail/brief/$threadId/")({component:Xe(i5e,"component")}),c5e=()=>Ke(()=>import("./_messageId-D4MG_Odb.js"),__vite__mapDeps([100,63,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,28,29,30,55,54,56,64])),u5e=qe("/mail/brief/$threadId/$messageId")({component:Xe(c5e,"component")}),d5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-b4oQVsyr.js"),__vite__mapDeps([101,20,7,21,17,22,23,24,25,26,27])),f5e=qe("/mail/brief/compose/{-$outboxMessageId}")({component:Xe(d5e,"component")}),h5e=()=>Ke(()=>import("./index-xm2XGRwu.js"),__vite__mapDeps([102,67,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,30,64])),p5e=qe("/mail/flagged/$threadId/")({component:Xe(h5e,"component")}),m5e=()=>Ke(()=>import("./_messageId-xm2XGRwu.js"),__vite__mapDeps([103,67,40,33,17,16,41,15,3,4,42,37,32,21,22,23,24,25,26,43,7,44,45,46,47,48,49,50,51,27,31,52,30,64])),g5e=qe("/mail/flagged/$threadId/$messageId")({component:Xe(m5e,"component")}),v5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-B89uOE7x.js"),__vite__mapDeps([104,20,7,21,17,22,23,24,25,26,27])),y5e=qe("/mail/flagged/compose/{-$outboxMessageId}")({component:Xe(v5e,"component")}),b5e=()=>Ke(()=>import("./compose._-_outboxMessageId_-zz8674mS.js"),__vite__mapDeps([105,20,7,21,17,22,23,24,25,26,27])),S5e=qe("/mail/outbox/compose/{-$outboxMessageId}")({component:Xe(b5e,"component")}),w5e=()=>Ke(()=>import("./_outboxMessageId-3u3xqBLv.js"),__vite__mapDeps([106,69,40,33,17,16,29,49,70,71,53,31,26,5,56])),x5e=qe("/mail/outbox/draft/$outboxMessageId")({component:Xe(w5e,"component")}),C5e=()=>Ke(()=>import("./index-Bv9cfjaV.js"),__vite__mapDeps([107,108,95,86,7,46,48,32,49,47,37,18,80,87,4])),E5e=qe("/calendar/$view/$date/$calendarObjectId/")({component:Xe(C5e,"component")}),_5e=()=>Ke(()=>import("./_recurrenceId-DqpqaZgy.js"),__vite__mapDeps([109,108,95,86,7,46,48,32,49,47,37,18,80,87,4])),k5e=qe("/calendar/$view/$date/$calendarObjectId/$recurrenceId")({component:Xe(_5e,"component")}),A5e=qe("/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}")({}),I5e=qe("/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}")({}),R5e=qe("/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}")({}),T5e=IRe.update({id:"/",path:"/",getParentRoute:()=>Ec}),HI=ORe.update({id:"/calendar",path:"/calendar",getParentRoute:()=>Ec}),O5e=MRe.update({id:"/import",path:"/import",getParentRoute:()=>Ec}),$d=qTe.update({id:"/mail",path:"/mail",getParentRoute:()=>Ec}),N5e=VTe.update({id:"/onboarding",path:"/onboarding",getParentRoute:()=>Ec}),ss=YTe.update({id:"/settings",path:"/settings",getParentRoute:()=>Ec}),M5e=ZTe.update({id:"/",path:"/",getParentRoute:()=>HI}),P5e=t4e.update({id:"/",path:"/",getParentRoute:()=>$d}),Ay=r4e.update({id:"/$mailboxId",path:"/$mailboxId",getParentRoute:()=>$d}),Iy=o4e.update({id:"/brief",path:"/brief",getParentRoute:()=>$d}),Ry=c4e.update({id:"/flagged",path:"/flagged",getParentRoute:()=>$d}),Ty=d4e.update({id:"/outbox",path:"/outbox",getParentRoute:()=>$d}),D5e=h4e.update({id:"/",path:"/",getParentRoute:()=>ss}),L5e=g4e.update({id:"/accounts",path:"/accounts",getParentRoute:()=>ss}),U5e=y4e.update({id:"/advanced",path:"/advanced",getParentRoute:()=>ss}),j5e=S4e.update({id:"/appearance",path:"/appearance",getParentRoute:()=>ss}),z5e=x4e.update({id:"/calendars",path:"/calendars",getParentRoute:()=>ss}),F5e=E4e.update({id:"/filters",path:"/filters",getParentRoute:()=>ss}),$5e=k4e.update({id:"/folders",path:"/folders",getParentRoute:()=>ss}),B5e=I4e.update({id:"/labels",path:"/labels",getParentRoute:()=>ss}),H5e=T4e.update({id:"/senders",path:"/senders",getParentRoute:()=>ss}),q5e=N4e.update({id:"/suggested-vips",path:"/suggested-vips",getParentRoute:()=>ss}),Oy=P4e.update({id:"/$view/$date",path:"/$view/$date",getParentRoute:()=>HI}),W5e=L4e.update({id:"/",path:"/",getParentRoute:()=>Ay}),qI=j4e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Ay}),V5e=F4e.update({id:"/",path:"/",getParentRoute:()=>Iy}),WI=B4e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Iy}),G5e=q4e.update({id:"/",path:"/",getParentRoute:()=>Ry}),VI=V4e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Ry}),K5e=K4e.update({id:"/",path:"/",getParentRoute:()=>Ty}),Y5e=Z4e.update({id:"/",path:"/",getParentRoute:()=>Oy}),GI=Q4e.update({id:"/$calendarObjectId",path:"/$calendarObjectId",getParentRoute:()=>Oy}),Z5e=e5e.update({id:"/new",path:"/new",getParentRoute:()=>Oy}),X5e=n5e.update({id:"/",path:"/",getParentRoute:()=>qI}),tW=a5e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>qI}),Q5e=o5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ay}),J5e=l5e.update({id:"/",path:"/",getParentRoute:()=>WI}),nW=u5e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>WI}),eOe=f5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Iy}),tOe=p5e.update({id:"/",path:"/",getParentRoute:()=>VI}),rW=g5e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>VI}),nOe=y5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ry}),rOe=S5e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ty}),aOe=x5e.update({id:"/draft/$outboxMessageId",path:"/draft/$outboxMessageId",getParentRoute:()=>Ty}),sOe=E5e.update({id:"/",path:"/",getParentRoute:()=>GI}),oOe=k5e.update({id:"/$recurrenceId",path:"/$recurrenceId",getParentRoute:()=>GI}),iOe=A5e.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>tW}),lOe=I5e.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>nW}),cOe=R5e.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>rW}),uOe={CalendarViewDateCalendarObjectIdRecurrenceIdRoute:oOe,CalendarViewDateCalendarObjectIdIndexRoute:sOe},dOe=GI._addFileChildren(uOe),fOe={CalendarViewDateCalendarObjectIdRoute:dOe,CalendarViewDateNewRoute:Z5e,CalendarViewDateIndexRoute:Y5e},hOe=Oy._addFileChildren(fOe),pOe={CalendarIndexRoute:M5e,CalendarViewDateRoute:hOe},mOe=HI._addFileChildren(pOe),gOe={MailMailboxIdThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:iOe},vOe=tW._addFileChildren(gOe),yOe={MailMailboxIdThreadIdMessageIdRoute:vOe,MailMailboxIdThreadIdIndexRoute:X5e},bOe=qI._addFileChildren(yOe),SOe={MailMailboxIdThreadIdRoute:bOe,MailMailboxIdIndexRoute:W5e,MailMailboxIdComposeChar123OutboxMessageIdChar125Route:Q5e},wOe=Ay._addFileChildren(SOe),xOe={MailBriefThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:lOe},COe=nW._addFileChildren(xOe),EOe={MailBriefThreadIdMessageIdRoute:COe,MailBriefThreadIdIndexRoute:J5e},_Oe=WI._addFileChildren(EOe),kOe={MailBriefThreadIdRoute:_Oe,MailBriefIndexRoute:V5e,MailBriefComposeChar123OutboxMessageIdChar125Route:eOe},AOe=Iy._addFileChildren(kOe),IOe={MailFlaggedThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:cOe},ROe=rW._addFileChildren(IOe),TOe={MailFlaggedThreadIdMessageIdRoute:ROe,MailFlaggedThreadIdIndexRoute:tOe},OOe=VI._addFileChildren(TOe),NOe={MailFlaggedThreadIdRoute:OOe,MailFlaggedIndexRoute:G5e,MailFlaggedComposeChar123OutboxMessageIdChar125Route:nOe},MOe=Ry._addFileChildren(NOe),POe={MailOutboxIndexRoute:K5e,MailOutboxComposeChar123OutboxMessageIdChar125Route:rOe,MailOutboxDraftOutboxMessageIdRoute:aOe},DOe=Ty._addFileChildren(POe),LOe={MailMailboxIdRoute:wOe,MailBriefRoute:AOe,MailFlaggedRoute:MOe,MailOutboxRoute:DOe,MailIndexRoute:P5e},UOe=$d._addFileChildren(LOe),jOe={SettingsAccountsRoute:L5e,SettingsAdvancedRoute:U5e,SettingsAppearanceRoute:j5e,SettingsCalendarsRoute:z5e,SettingsFiltersRoute:F5e,SettingsFoldersRoute:$5e,SettingsLabelsRoute:B5e,SettingsSendersRoute:H5e,SettingsSuggestedVipsRoute:q5e,SettingsIndexRoute:D5e},zOe=ss._addFileChildren(jOe),FOe={IndexRoute:T5e,CalendarRoute:mOe,ImportRoute:O5e,MailRoute:UOe,OnboardingRoute:N5e,SettingsRoute:zOe},$Oe=Ec._addFileChildren(FOe)._addFileTypes(),BOe=(e,t)=>{const n=pbe({routeTree:$Oe,context:{queryClient:e},stringifySearch:bke,defaultPreload:"intent",defaultPendingComponent:wv,defaultPendingMs:200,defaultPendingMinMs:300});return n.subscribe("onResolved",r=>{t.recordPageView(r.toLocation.pathname),Boe(r.toLocation.pathname)}),n},Ye=e=>typeof e=="string",ch=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},zD=e=>e==null?"":""+e,HOe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},qOe=/###/g,FD=e=>e&&e.indexOf("###")>-1?e.replace(qOe,"."):e,$D=e=>!e||Ye(e),jh=(e,t,n)=>{const r=Ye(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if($D(e))return{};const s=FD(r[a]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return $D(e)?{}:{obj:e,k:FD(r[a])}},BD=(e,t,n)=>{const{obj:r,k:a}=jh(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),c=jh(e,i,Object);for(;c.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),c=jh(e,i,Object),c?.obj&&typeof c.obj[`${c.k}.${s}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${s}`]=n},WOe=(e,t,n,r)=>{const{obj:a,k:s}=jh(e,t,Object);a[s]=a[s]||[],a[s].push(n)},Y1=(e,t)=>{const{obj:n,k:r}=jh(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},VOe=(e,t,n)=>{const r=Y1(e,n);return r!==void 0?r:Y1(t,n)},aW=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Ye(e[r])||e[r]instanceof String||Ye(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):aW(e[r],t[r],n):e[r]=t[r]);return e},Eu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var GOe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const KOe=e=>Ye(e)?e.replace(/[&<>"'\/]/g,t=>GOe[t]):e;class YOe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const ZOe=[" ",",","?","!",";"],XOe=new YOe(20),QOe=(e,t,n)=>{t=t||"",n=n||"";const r=ZOe.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=XOe.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},J_=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let s=0;s<r.length;){if(!a||typeof a!="object")return;let i,c="";for(let u=s;u<r.length;++u)if(u!==s&&(c+=n),c+=r[u],i=a[c],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&u<r.length-1)continue;s+=u-s+1;break}a=i}return a},Z1=e=>e?.replace("_","-"),JOe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class X1{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||JOe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(Ye(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new X1(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new X1(this.logger,t)}}var Is=new X1;class Ny{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c.apply(c,[t,...r])})}}class HD extends Ny{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):Ye(r)&&s?c.push(...r.split(s)):c.push(r)));const u=Y1(this.data,c);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),u||!i||!Ye(r)?u:J_(this.data?.[t]?.[n],r,s)}addResource(t,n,r,a){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let c=[t,n];r&&(c=c.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(c=t.split("."),a=n,n=c[1]),this.addNamespaces(n),BD(this.data,c,a),s.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(Ye(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),a=r,r=n,n=c[1]),this.addNamespaces(n);let u=Y1(this.data,c)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?aW(u,r,s):u={...u,...r},BD(this.data,c,u),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var sW={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(s=>{t=this.processors[s]?.process(t,n,r,a)??t}),t}};const qD={},WD=e=>!Ye(e)&&typeof e!="boolean"&&typeof e!="number";class Q1 extends Ny{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),HOe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Is.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};return t==null?!1:this.resolve(t,n)?.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!QOe(t,r,a);if(i&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:Ye(s)?[s]:s};const f=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(f[0])>-1)&&(s=f.shift()),t=f.join(a)}return{key:t,namespaces:Ye(s)?[s]:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:c}=this.extractFromKey(t[t.length-1],n),u=c[c.length-1],f=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode"){if(h){const j=n.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${j}${i}`,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${j}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const m=this.resolve(t,n);let g=m?.res;const y=m?.usedKey||i,S=m?.exactUsedKey||i,w=["[object Number]","[object Function]","[object RegExp]"],C=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,k=n.count!==void 0&&!Ye(n.count),A=Q1.hasDefaultValue(n),R=k?this.pluralResolver.getSuffix(f,n.count,n):"",N=n.ordinal&&k?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",O=k&&!n.ordinal&&n.count===0,T=O&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${N}`]||n.defaultValue;let P=g;_&&!g&&A&&(P=T);const L=WD(P),H=Object.prototype.toString.apply(P);if(_&&P&&L&&w.indexOf(H)<0&&!(Ye(C)&&Array.isArray(P))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const j=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,P,{...n,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(m.res=j,m.usedParams=this.getUsedParamsDetails(n),m):j}if(s){const j=Array.isArray(P),U=j?[]:{},q=j?S:y;for(const X in P)if(Object.prototype.hasOwnProperty.call(P,X)){const se=`${q}${s}${X}`;A&&!g?U[X]=this.translate(se,{...n,defaultValue:WD(T)?T[X]:void 0,joinArrays:!1,ns:c}):U[X]=this.translate(se,{...n,joinArrays:!1,ns:c}),U[X]===se&&(U[X]=P[X])}g=U}}else if(_&&Ye(C)&&Array.isArray(g))g=g.join(C),g&&(g=this.extendTranslation(g,t,n,r));else{let j=!1,U=!1;!this.isValidLookup(g)&&A&&(j=!0,g=T),this.isValidLookup(g)||(U=!0,g=i);const X=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&U?void 0:g,se=A&&T!==g&&this.options.updateMissing;if(U||j||se){if(this.logger.log(se?"updateKey":"missingKey",f,u,i,se?T:g),s){const ce=this.resolve(i,{...n,keySeparator:!1});ce&&ce.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let B=[];const Q=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Q&&Q[0])for(let ce=0;ce<Q.length;ce++)B.push(Q[ce]);else this.options.saveMissingTo==="all"?B=this.languageUtils.toResolveHierarchy(n.lng||this.language):B.push(n.lng||this.language);const G=(ce,Se,z)=>{const V=A&&z!==g?z:X;this.options.missingKeyHandler?this.options.missingKeyHandler(ce,u,Se,V,se,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(ce,u,Se,V,se,n),this.emit("missingKey",ce,u,Se,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?B.forEach(ce=>{const Se=this.pluralResolver.getSuffixes(ce,n);O&&n[`defaultValue${this.options.pluralSeparator}zero`]&&Se.indexOf(`${this.options.pluralSeparator}zero`)<0&&Se.push(`${this.options.pluralSeparator}zero`),Se.forEach(z=>{G([ce],i+z,n[`defaultValue${z}`]||T)})}):G(B,i,T))}g=this.extendTranslation(g,t,n,m,r),U&&g===i&&this.options.appendNamespaceToMissingKey&&(g=`${u}:${i}`),(U||j)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${i}`:i,j?g:void 0))}return a?(m.res=g,m.usedParams=this.getUsedParamsDetails(n),m):g}extendTranslation(t,n,r,a,s){var i=this;if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=Ye(t)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(f){const g=t.match(this.interpolator.nestingRegexp);h=g&&g.length}let m=r.replace&&!Ye(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,r.lng||this.language||a.usedLng,r),f){const g=t.match(this.interpolator.nestingRegexp),y=g&&g.length;h<y&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var g=arguments.length,y=new Array(g),S=0;S<g;S++)y[S]=arguments[S];return s?.[0]===y[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):i.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,u=Ye(c)?[c]:c;return t!=null&&u?.length&&r.applyPostProcessor!==!1&&(t=sW.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,s,i,c;return Ye(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(u,n),h=f.key;a=h;let m=f.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const g=n.count!==void 0&&!Ye(n.count),y=g&&!n.ordinal&&n.count===0,S=n.context!==void 0&&(Ye(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);m.forEach(C=>{this.isValidLookup(r)||(c=C,!qD[`${w[0]}-${C}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(qD[`${w[0]}-${C}`]=!0,this.logger.warn(`key "${a}" for languages "${w.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(_=>{if(this.isValidLookup(r))return;i=_;const k=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(k,h,_,C,n);else{let R;g&&(R=this.pluralResolver.getSuffix(_,n.count,n));const N=`${this.options.pluralSeparator}zero`,O=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(k.push(h+R),n.ordinal&&R.indexOf(O)===0&&k.push(h+R.replace(O,this.options.pluralSeparator)),y&&k.push(h+N)),S){const T=`${h}${this.options.contextSeparator}${n.context}`;k.push(T),g&&(k.push(T+R),n.ordinal&&R.indexOf(O)===0&&k.push(T+R.replace(O,this.options.pluralSeparator)),y&&k.push(T+N))}}let A;for(;A=k.pop();)this.isValidLookup(r)||(s=A,r=this.getResource(_,C,A,n))}))})}),{res:r,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Ye(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const s of n)delete a[s]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class VD{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Is.create("languageUtils")}getScriptPartFromCode(t){if(t=Z1(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Z1(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Ye(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(s=>{if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&(s.indexOf("-")>0&&a.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===a||s.indexOf(a)===0&&a.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Ye(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return Ye(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Ye(t)&&s(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}const GD={zero:0,one:1,two:2,few:3,many:4,other:5},KD={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class e6e{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Is.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=Z1(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:a});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),KD;if(!t.match(/-|_/))return KD;const u=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(u,n)}return this.pluralRulesCache[s]=i,i}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,s)=>GD[a]-GD[s]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const YD=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=VOe(e,t,n);return!s&&a&&Ye(n)&&(s=J_(e,n,r),s===void 0&&(s=J_(t,n,r))),s},UE=e=>e.replace(/\$/g,"$$$$");class t6e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Is.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:c,suffixEscaped:u,formatSeparator:f,unescapeSuffix:h,unescapePrefix:m,nestingPrefix:g,nestingPrefixEscaped:y,nestingSuffix:S,nestingSuffixEscaped:w,nestingOptionsSeparator:C,maxReplaces:_,alwaysFormat:k}=t.interpolation;this.escape=n!==void 0?n:KOe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?Eu(s):i||"{{",this.suffix=c?Eu(c):u||"}}",this.formatSeparator=f||",",this.unescapePrefix=h?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=g?Eu(g):y||Eu("$t("),this.nestingSuffix=S?Eu(S):w||Eu(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=_||1e3,this.alwaysFormat=k!==void 0?k:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let s,i,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=y=>{if(y.indexOf(this.formatSeparator)<0){const _=YD(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_,void 0,r,{...a,...n,interpolationkey:y}):_}const S=y.split(this.formatSeparator),w=S.shift().trim(),C=S.join(this.formatSeparator).trim();return this.format(YD(n,u,w,this.options.keySeparator,this.options.ignoreJSONStructure),C,r,{...a,...n,interpolationkey:w})};this.resetRegExp();const h=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>UE(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?UE(this.escape(y)):UE(y)}].forEach(y=>{for(c=0;s=y.regex.exec(t);){const S=s[1].trim();if(i=f(S),i===void 0)if(typeof h=="function"){const C=h(t,s,a);i=Ye(C)?C:""}else if(a&&Object.prototype.hasOwnProperty.call(a,S))i="";else if(m){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${S} for interpolating ${t}`),i="";else!Ye(i)&&!this.useRawValueToEscape&&(i=zD(i));const w=y.safeValue(i);if(t=t.replace(s[0],w),m?(y.regex.lastIndex+=i.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,i;const c=(u,f)=>{const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const m=u.split(new RegExp(`${h}[ ]*{`));let g=`{${m[1]}`;u=m[0],g=this.interpolate(g,i);const y=g.match(/'/g),S=g.match(/"/g);((y?.length??0)%2===0&&!S||S.length%2!==0)&&(g=g.replace(/'/g,'"'));try{i=JSON.parse(g),f&&(i={...f,...i})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,w),`${u}${h}${g}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];i={...r},i=i.replace&&!Ye(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(m=>m.trim());a[1]=h.shift(),u=h,f=!0}if(s=n(c.call(this,a[1].trim(),i),i),s&&a[0]===t&&!Ye(s))return s;Ye(s)||(s=zD(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),f&&(s=u.reduce((h,m)=>this.format(h,m,r.lng,{...r,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const n6e=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[c,...u]=i.split(":"),f=u.join(":").trim().replace(/^'+|'+$/g,""),h=c.trim();n[h]||(n[h]=f),f==="false"&&(n[h]=!1),f==="true"&&(n[h]=!0),isNaN(f)||(n[h]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},_u=e=>{const t={};return(n,r,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={...s,[a.interpolationkey]:void 0});const i=r+JSON.stringify(s);let c=t[i];return c||(c=e(Z1(r),a),t[i]=c),c(n)}};class r6e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Is.create("formatter"),this.options=t,this.formats={number:_u((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return s=>a.format(s)}),currency:_u((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>a.format(s)}),datetime:_u((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return s=>a.format(s)}),relativetime:_u((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return s=>a.format(s,r.range||"day")}),list:_u((n,r)=>{const a=new Intl.ListFormat(n,{...r});return s=>a.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=_u(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(c=>c.indexOf(")")>-1)){const c=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,c)].join(this.formatSeparator)}return s.reduce((c,u)=>{const{formatName:f,formatOptions:h}=n6e(u);if(this.formats[f]){let m=c;try{const g=a?.formatParams?.[a.interpolationkey]||{},y=g.locale||g.lng||a.locale||a.lng||r;m=this.formats[f](c,y,{...h,...a,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${f}`);return c},t)}}const a6e=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class s6e extends Ny{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Is.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,a.backend,a)}queueLoad(t,n,r,a){const s={},i={},c={},u={};return t.forEach(f=>{let h=!0;n.forEach(m=>{const g=`${f}|${m}`;!r.reload&&this.store.hasResourceBundle(f,m)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?i[g]===void 0&&(i[g]=!0):(this.state[g]=1,h=!1,i[g]===void 0&&(i[g]=!0),s[g]===void 0&&(s[g]=!0),u[m]===void 0&&(u[m]=!0)))}),h||(c[f]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const a=t.split("|"),s=a[0],i=a[1];n&&this.emit("failedLoading",s,i,n),!n&&r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const c={};this.queue.forEach(u=>{WOe(u.loaded,[s],i),a6e(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(f=>{c[f]||(c[f]={});const h=u.loaded[f];h.length&&h.forEach(m=>{c[f][m]===void 0&&(c[f][m]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:s,callback:i});return}this.readingCalls++;const c=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(f&&h&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,s*2,i)},s);return}i(f,h)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const f=u(t,n);f&&typeof f.then=="function"?f.then(h=>c(null,h)).catch(c):c(null,f)}catch(f){c(f)}return}return u(t,n,c)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();Ye(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Ye(n)&&(n=[n]);const s=this.queueLoad(t,n,r,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],s=r[1];this.read(a,s,"read",void 0,void 0,(i,c)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${a} failed`,i),!i&&c&&this.logger.log(`${n}loaded namespace ${s} for language ${a}`,c),this.loaded(t,i,c)})}saveMissing(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const u={...i,isUpdate:s},f=this.backend.create.bind(this.backend);if(f.length<6)try{let h;f.length===5?h=f(t,n,r,a,u):h=f(t,n,r,a),h&&typeof h.then=="function"?h.then(m=>c(null,m)).catch(c):c(null,h)}catch(h){c(h)}else f(t,n,r,a,c,u)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const ZD=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Ye(e[1])&&(t.defaultValue=e[1]),Ye(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),XD=e=>(Ye(e.ns)&&(e.ns=[e.ns]),Ye(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ye(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),o0=()=>{},o6e=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Sp extends Ny{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=XD(t),this.services={},this.logger=Is,this.modules={external:[]},o6e(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),n.defaultNS==null&&n.ns&&(Ye(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=ZD();this.options={...a,...this.options,...XD(n)},this.options.interpolation={...a.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=h=>h?typeof h=="function"?new h:h:null;if(!this.options.isClone){this.modules.logger?Is.init(s(this.modules.logger),this.options):Is.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:h=r6e;const m=new VD(this.options);this.store=new HD(this.options.resources,this.options);const g=this.services;g.logger=Is,g.resourceStore=this.store,g.languageUtils=m,g.pluralResolver=new e6e(m,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(g.formatter=s(h),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new t6e(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new s6e(s(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(y){for(var S=arguments.length,w=new Array(S>1?S-1:0),C=1;C<S;C++)w[C-1]=arguments[C];t.emit(y,...w)}),this.modules.languageDetector&&(g.languageDetector=s(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=s(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new Q1(this.services,this.options),this.translator.on("*",function(y){for(var S=arguments.length,w=new Array(S>1?S-1:0),C=1;C<S;C++)w[C-1]=arguments[C];t.emit(y,...w)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=o0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const u=ch(),f=()=>{const h=(m,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(g),r(m,g)};if(this.languages&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o0;const a=Ye(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&s.indexOf(f)<0&&s.push(f)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload?.forEach?.(c=>i(c)),this.services.backendConnector.load(s,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const a=ch();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=o0),this.services.backendConnector.reload(t,n,s=>{a.resolve(),r(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&sW.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=ch();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,f)=>{f?(s(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},c=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const f=Ye(u)?u:this.services.languageUtils.getBestMatchFromCodes(u);f&&(this.language||s(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector?.cacheUserLanguage?.(f)),this.loadResources(f,h=>{i(h,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,n,r){var a=this;const s=function(i,c){let u;if(typeof c!="object"){for(var f=arguments.length,h=new Array(f>2?f-2:0),m=2;m<f;m++)h[m-2]=arguments[m];u=a.options.overloadTranslationOptionHandler([i,c].concat(h))}else u={...c};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const g=a.options.keySeparator||".";let y;return u.keyPrefix&&Array.isArray(i)?y=i.map(S=>`${u.keyPrefix}${g}${S}`):y=u.keyPrefix?`${u.keyPrefix}${g}${i}`:i,a.t(y,u)};return Ye(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.translate(...n)}exists(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.exists(...n)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(c,u)=>{const f=this.services.backendConnector.state[`${c}|${u}`];return f===-1||f===0||f===2};if(n.precheck){const c=n.precheck(this,i);if(c!==void 0)return c}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(s,t)))}loadNamespaces(t,n){const r=ch();return this.options.ns?(Ye(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=ch();Ye(t)&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new VD(ZD());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Sp(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o0;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new Sp(a);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(c=>{s[c]=this[c]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const c=Object.keys(this.store.data).reduce((u,f)=>(u[f]={...this.store.data[f]},Object.keys(u[f]).reduce((h,m)=>(h[m]={...u[f][m]},h),{})),{});s.store=new HD(c,a),s.services.resourceStore=s.store}return s.translator=new Q1(s.services,a),s.translator.on("*",function(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),h=1;h<u;h++)f[h-1]=arguments[h];s.emit(c,...f)}),s.init(a,n),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Cr=Sp.createInstance();Cr.createInstance=Sp.createInstance;Cr.createInstance;Cr.dir;Cr.init;Cr.loadResources;Cr.reloadResources;Cr.use;Cr.changeLanguage;Cr.getFixedT;Cr.t;Cr.exists;Cr.setDefaultNamespace;Cr.hasLoadedNamespace;Cr.loadNamespaces;Cr.loadLanguages;const{slice:i6e,forEach:l6e}=[];function c6e(e){return l6e.call(i6e.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function u6e(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const QD=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,d6e=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let s=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!QD.test(r.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${r.domain}`}if(r.path){if(!QD.test(r.path))throw new TypeError("option path is invalid");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(s+="; Partitioned"),s},JD={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=d6e(e,t,a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var f6e={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return JD.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:a,cookieOptions:s}=t;n&&typeof document<"u"&&JD.create(n,e,r,a,s)}},h6e={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:r}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));const s=r.substring(1).split("&");for(let i=0;i<s.length;i++){const c=s[i].indexOf("=");c>0&&s[i].substring(0,c)===t&&(n=s[i].substring(c+1))}}return n}},p6e={name:"hash",lookup(e){let{lookupHash:t,lookupFromHashIndex:n}=e,r;if(typeof window<"u"){const{hash:a}=window.location;if(a&&a.length>2){const s=a.substring(1);if(t){const i=s.split("&");for(let c=0;c<i.length;c++){const u=i[c].indexOf("=");u>0&&i[c].substring(0,u)===t&&(r=i[c].substring(u+1))}}if(r)return r;if(!r&&n>-1){const i=a.match(/\/([a-zA-Z-]*)/g);return Array.isArray(i)?i[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return r}};let ku=null;const eL=()=>{if(ku!==null)return ku;try{if(ku=typeof window<"u"&&window.localStorage!==null,!ku)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{ku=!1}return ku};var m6e={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&eL())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&eL()&&window.localStorage.setItem(n,e)}};let Au=null;const tL=()=>{if(Au!==null)return Au;try{if(Au=typeof window<"u"&&window.sessionStorage!==null,!Au)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Au=!1}return Au};var g6e={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&tL())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&tL()&&window.sessionStorage.setItem(n,e)}},v6e={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let s=0;s<n.length;s++)t.push(n[s]);r&&t.push(r),a&&t.push(a)}return t.length>0?t:void 0}},y6e={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},b6e={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},S6e={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};let oW=!1;try{document.cookie,oW=!0}catch{}const iW=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];oW||iW.splice(1,1);const w6e=()=>({order:iW,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class lW{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=c6e(n,this.options||{},w6e()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(f6e),this.addDetector(h6e),this.addDetector(m6e),this.addDetector(g6e),this.addDetector(v6e),this.addDetector(y6e),this.addDetector(b6e),this.addDetector(S6e),this.addDetector(p6e)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.filter(r=>r!=null&&!u6e(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}lW.type="languageDetector";function x6e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=C6e(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(f){throw f},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
294
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var f=n.next();return i=f.done,f},e:function(f){c=!0,s=f},f:function(){try{i||n.return==null||n.return()}finally{if(c)throw s}}}}function C6e(e,t){if(e){if(typeof e=="string")return nL(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nL(e,t):void 0}}function nL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ek(e){"@babel/helpers - typeof";return ek=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ek(e)}var cW=["__proto__","constructor","prototype"];function uW(e){return!(typeof e!="string"||e.length===0||e.length>128||cW.indexOf(e)>-1||e.indexOf("..")>-1||e.indexOf("\\")>-1||/[?#%\s@]/.test(e)||/[\x00-\x1F\x7F]/.test(e))}function dW(e){return!(!uW(e)||e.indexOf("/")>-1)}function E6e(e){return uW(e)}var _6e={lng:dW,ns:E6e};function i0(e){return typeof e!="string"?e:e.replace(/[\r\n\x00-\x1F\x7F]/g," ")}function k6e(e){if(typeof e!="string"||e.length===0)return e;try{var t=new URL(e);return t.username||t.password?(t.username="",t.password="",t.toString()):e}catch{return e.replace(/(\/\/)[^/@\s]+@/g,"$1")}}function fW(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":ek(XMLHttpRequest))==="object"}function A6e(e){return!!e&&typeof e.then=="function"}function I6e(e){return A6e(e)?e:Promise.resolve(e)}var R6e=/\{\{(.+?)\}\}/g;function rL(e,t){var n=!1,r=e.replace(R6e,function(a,s){var i=s.trim();if(cW.indexOf(i)>-1)return a;var c=t[i];if(c==null)return a;var u=_6e[i]||dW,f=String(c).split("+"),h=x6e(f),m;try{for(h.s();!(m=h.n()).done;){var g=m.value;if(!u(g))return n=!0,a}}catch(y){h.e(y)}finally{h.f()}return f.join("+")});return n?null:r}function aL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function sL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aL(Object(n),!0).forEach(function(r){T6e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function T6e(e,t,n){return(t=O6e(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O6e(e){var t=N6e(e,"string");return uc(t)=="symbol"?t:t+""}function N6e(e,t){if(uc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(uc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uc(e)}var Ji=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?Ji=global.fetch:typeof window<"u"&&window.fetch&&(Ji=window.fetch);var wp;fW()&&(typeof global<"u"&&global.XMLHttpRequest?wp=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(wp=window.XMLHttpRequest));var J1;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?J1=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(J1=window.ActiveXObject));typeof Ji!="function"&&(Ji=void 0);if(!Ji&&!wp&&!J1)try{Ke(()=>import("./browser-ponyfill-CTENCzbs.js").then(e=>e.b),[]).then(function(e){Ji=e.default}).catch(function(){})}catch{}var hW=["__proto__","constructor","prototype"],tk=function(t,n){if(n&&uc(n)==="object"){for(var r="",a=0,s=Object.keys(n);a<s.length;a++){var i=s[a];hW.indexOf(i)>-1||(r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]))}if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},oL=function(t,n,r,a){var s=function(u){if(!u.ok)return r(u.statusText||"Error",{status:u.status});u.text().then(function(f){r(null,{status:u.status,data:f})}).catch(r)};if(a){var i=a(t,n);if(i instanceof Promise){i.then(s).catch(r);return}}typeof fetch=="function"?fetch(t,n).then(s).catch(r):Ji(t,n).then(s).catch(r)},M6e=function(t,n,r,a){t.queryStringParams&&(n=tk(n,t.queryStringParams));var s=sL({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(s["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(s["Content-Type"]="application/json");var i=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,c=sL({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:s},t._omitFetchOptions?{}:i),u=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{oL(n,c,a,u)}catch(f){if(!i||Object.keys(i).length===0||!f.message||f.message.indexOf("not implemented")<0)return a(f);try{Object.keys(i).forEach(function(h){delete c[h]}),oL(n,c,a,u),t._omitFetchOptions=!0}catch(h){a(h)}}},P6e=function(t,n,r,a){r&&uc(r)==="object"&&(r=tk("",r).slice(1)),t.queryStringParams&&(n=tk(n,t.queryStringParams));try{var s=wp?new wp:new J1("MSXML2.XMLHTTP.3.0");s.open(r?"POST":"GET",n,1),t.crossDomain||s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.withCredentials=!!t.withCredentials,r&&s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.overrideMimeType&&s.overrideMimeType("application/json");var i=t.customHeaders;if(i=typeof i=="function"?i():i,i)for(var c=0,u=Object.keys(i);c<u.length;c++){var f=u[c];hW.indexOf(f)>-1||s.setRequestHeader(f,i[f])}s.onreadystatechange=function(){s.readyState>3&&a(s.status>=400?s.statusText:null,{status:s.status,data:s.responseText})},s.send(r)}catch(h){console&&console.log(h)}},D6e=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},Ji&&n.indexOf("file:")!==0)return M6e(t,n,r,a);if(fW()||typeof ActiveXObject=="function")return P6e(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function Ed(e){"@babel/helpers - typeof";return Ed=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ed(e)}function iL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function jE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?iL(Object(n),!0).forEach(function(r){pW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function L6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U6e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mW(r.key),r)}}function j6e(e,t,n){return t&&U6e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function pW(e,t,n){return(t=mW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mW(e){var t=z6e(e,"string");return Ed(t)=="symbol"?t:t+""}function z6e(e,t){if(Ed(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ed(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var F6e=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,a){return pW({},r,a||"")},parseLoadPayload:function(n,r){},request:D6e,reloadInterval:typeof window<"u"?!1:3600*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},gW=(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return j6e(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=jE(jE(jE({},F6e()),this.options||{}),a),this.allOptions=s,this.services&&this.options.reloadInterval){var i=setInterval(function(){return r.reload()},this.options.reloadInterval);Ed(i)==="object"&&typeof i.unref=="function"&&i.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,s,i){var c=this,u=this.options.loadPath;typeof this.options.loadPath=="function"&&(u=this.options.loadPath(n,a)),u=I6e(u),u.then(function(f){if(!f)return i(null,{});var h=rL(f,{lng:n.join("+"),ns:a.join("+")});if(h==null){var m=n.map(i0).join(", "),g=a.map(i0).join(", ");return i(new Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=["+m+"] namespaces=["+g+"]"),!1)}c.loadUrl(h,i,r,s)})}},{key:"loadUrl",value:function(n,r,a,s){var i=this,c=typeof a=="string"?[a]:a,u=typeof s=="string"?[s]:s,f=this.options.parseLoadPayload(c,u),h=i0(k6e(n));this.options.request(this.options,n,f,function(m,g){if(g&&(g.status>=500&&g.status<600||!g.status))return r("failed loading "+h+"; status code: "+g.status,!0);if(g&&g.status>=400&&g.status<500)return r("failed loading "+h+"; status code: "+g.status,!1);if(!g&&m&&m.message){var y=m.message.toLowerCase(),S=["failed","fetch","network","load"].find(function(_){return y.indexOf(_)>-1});if(S)return r("failed loading "+h+": "+i0(m.message),!0)}if(m)return r(m,!1);var w,C;try{typeof g.data=="string"?w=i.options.parse(g.data,a,s):w=g.data}catch{C="failed parsing "+h+" to json"}if(C)return r(C,!1);r(null,w)})}},{key:"create",value:function(n,r,a,s,i){var c=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var u=this.options.parsePayload(r,a,s),f=0,h=[],m=[];n.forEach(function(g){var y=c.options.addPath;typeof c.options.addPath=="function"&&(y=c.options.addPath(g,r));var S=rL(y,{lng:g,ns:r});if(S==null){f+=1,i&&f===n.length&&i(h,m);return}c.options.request(c.options,S,u,function(w,C){f+=1,h.push(w),m.push(C),f===n.length&&typeof i=="function"&&i(h,m)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,s=r.languageUtils,i=r.logger,c=a.language;if(!(c&&c.toLowerCase()==="cimode")){var u=[],f=function(m){var g=s.toResolveHierarchy(m);g.forEach(function(y){u.indexOf(y)<0&&u.push(y)})};f(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(h){return f(h)}),u.forEach(function(h){n.allOptions.ns.forEach(function(m){a.read(h,m,"read",null,null,function(g,y){g&&i.warn("loading namespace ".concat(m," for language ").concat(h," failed"),g),!g&&y&&i.log("loaded namespace ".concat(m," for language ").concat(h),y),a.loaded("".concat(h,"|").concat(m),g,y)})})})}}}])})();gW.type="backend";Cr.use(gW).use(lW).use(Oke).init({fallbackLng:"en",supportedLngs:["en","nl","de","fr"],ns:["common","mail"],defaultNS:"common",backend:{loadPath:"/locales/{{lng}}/{{ns}}.json"},detection:{order:["navigator","htmlTag"],caches:[]},interpolation:{escapeValue:!1},react:{useSuspense:!0,bindI18n:"languageChanged loaded"}});const $6e=({authProvider:e,rootElementId:t="root"})=>{zoe(),vke(),e.configure(),$be(e);const n=mke();Roe(n);const r=new fve({queryCache:new XF({onError:Wbe}),mutationCache:new ZF({onError:Vbe}),defaultOptions:{queries:{staleTime:3e4,gcTime:5*6e4,retry:1}}}),a=BOe(r,n);n.recordPageView(window.location.pathname);const s=document.getElementById(t);if(!s)throw new Error(`Root element not found: #${t}`);const{Shell:i}=e;Cbe.createRoot(s).render(x.jsx(E.StrictMode,{children:x.jsx(hq.Provider,{value:n,children:x.jsxs(hve,{client:r,children:[x.jsx(qbe,{value:e,children:x.jsx(i,{children:x.jsx(vbe,{router:a})})}),!1]})})}))};$6e({authProvider:H1e});export{mte as $,X8e as A,K0 as B,uPe as C,ANe as D,Ek as E,xne as F,q_ as G,Hq as H,TU as I,_d as J,nAe as K,$h as L,bq as M,jk as N,k$ as O,Wi as P,uv as Q,NTe as R,uTe as S,lre as T,n3 as U,tte as V,gte as W,Ps as X,t3 as Y,RU as Z,nte as _,Y8e as a,goe as a$,ute as a0,pte as a1,yte as a2,xk as a3,dte as a4,Jee as a5,ste as a6,A$ as a7,Ju as a8,G8e as a9,hv as aA,xy as aB,oTe as aC,nd as aD,q8e as aE,r8e as aF,a8e as aG,a3 as aH,g4e as aI,CMe as aJ,hPe as aK,hte as aL,pPe as aM,zMe as aN,Tk as aO,W6e as aP,Bae as aQ,xae as aR,_Ne as aS,ENe as aT,JMe as aU,PE as aV,s8e as aW,zk as aX,n1 as aY,uRe as aZ,yoe as a_,MNe as aa,vq as ab,p8e as ac,wy as ad,_q as ae,R8e as af,nPe as ag,t8e as ah,r4e as ai,rPe as aj,wv as ak,Z6e as al,ONe as am,cNe as an,Rk as ao,sae as ap,od as aq,F as ar,$8e as as,uNe as at,z8e as au,xMe as av,SMe as aw,FU as ax,ts as ay,Jae as az,Z8e as b,pve as b$,moe as b0,ns as b1,xv as b2,lPe as b3,hD as b4,v0 as b5,mMe as b6,JAe as b7,XMe as b8,koe as b9,D8e as bA,ite as bB,L8e as bC,HAe as bD,PMe as bE,O8e as bF,xIe as bG,I8e as bH,nNe as bI,o8e as bJ,rIe as bK,BMe as bL,$Me as bM,bte as bN,Gee as bO,aNe as bP,Wq as bQ,KMe as bR,ePe as bS,J8e as bT,use as bU,cse as bV,jd as bW,Fn as bX,d1 as bY,BF as bZ,ive as b_,ZMe as ba,QMe as bb,Aoe as bc,IMe as bd,RMe as be,OIe as bf,Ej as bg,mNe as bh,hTe as bi,Sae as bj,vre as bk,NIe as bl,qIe as bm,HIe as bn,Nk as bo,gNe as bp,IIe as bq,gMe as br,Zke as bs,N8e as bt,P8e as bu,IAe as bv,M8e as bw,vMe as bx,T8e as by,U8e as bz,Jh as c,ere as c$,vve as c0,wve as c1,yve as c2,bve as c3,Ar as c4,Cve as c5,r7 as c6,Sve as c7,Kae as c8,K6e as c9,y8e as cA,g8e as cB,vIe as cC,aIe as cD,xU as cE,lTe as cF,B8e as cG,iTe as cH,H8e as cI,x8e as cJ,yNe as cK,wq as cL,dPe as cM,Jq as cN,j8e as cO,A8e as cP,FMe as cQ,n8e as cR,SAe as cS,aPe as cT,sPe as cU,C8e as cV,Wee as cW,are as cX,BU as cY,Qne as cZ,Jne as c_,ine as ca,dne as cb,lne as cc,bne as cd,Ey as ce,_y as cf,Q8e as cg,tIe as ch,dIe as ci,vp as cj,rae as ck,aae as cl,ete as cm,rNe as cn,wU as co,N5 as cp,B6e as cq,H6e as cr,m8e as cs,v8e as ct,Ke as cu,fNe as cv,w8e as cw,iIe as cx,hNe as cy,Mq as cz,LI as d,qAe as d$,X6e as d0,cne as d1,OU as d2,dre as d3,IU as d4,Vae as d5,ote as d6,vNe as d7,J6e as d8,fre as d9,kAe as dA,_Ae as dB,LMe as dC,jTe as dD,fPe as dE,SNe as dF,Sv as dG,wNe as dH,xNe as dI,CNe as dJ,cPe as dK,$Te as dL,bNe as dM,eNe as dN,rne as dO,ore as dP,tNe as dQ,RNe as dR,INe as dS,Eve as dT,Q6e as dU,c8e as dV,i3 as dW,gre as dX,vte as dY,TMe as dZ,OMe as d_,tse as da,pre as db,kNe as dc,oPe as dd,iPe as de,d8e as df,l8e as dg,hIe as dh,f8e as di,_8e as dj,u8e as dk,bMe as dl,yMe as dm,Gj as dn,i8e as dp,k8e as dq,h8e as dr,F8e as ds,S8e as dt,BI as du,b8e as dv,Cv as dw,G6e as dx,E8e as dy,KAe as dz,At as e,MMe as e0,NMe as e1,DMe as e2,UMe as e3,pNe as e4,kMe as e5,BAe as e6,_Me as e7,AMe as e8,V6e as e9,FAe as ea,mre as eb,f6 as ec,fIe as ed,YMe as ee,HMe as ef,tPe as eg,ty as eh,ETe as ei,qMe as ej,GMe as ek,WMe as el,E5e as em,VMe as en,k5e as eo,ng as ep,lNe as eq,dNe as er,ire as es,rte as et,iae as eu,iNe as ev,sNe as ew,oNe as ex,en as f,o3 as g,zd as h,FA as i,x as j,e8e as k,EMe as l,jMe as m,wMe as n,Sq as o,K8e as p,pMe as q,E as r,Xj as s,Me as t,$s as u,Y6e as v,xr as w,ybe as x,W8e as y,V8e as z};
|