@remit/web-client-dist 0.0.550 → 0.0.552

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.
Files changed (150) hide show
  1. package/assets/{BriefPane-DxnNoP6a.js → BriefPane-KLlpL-7H.js} +1 -1
  2. package/assets/{CalendarComposePane-CAOF-nPv.js → CalendarComposePane-CsWkzDBi.js} +1 -1
  3. package/assets/{CalendarComposeSeed-BQbfPaqp.js → CalendarComposeSeed-udz8ANMw.js} +1 -1
  4. package/assets/{CalendarShell-DpbQU5xG.js → CalendarShell-WswEc33Y.js} +1 -1
  5. package/assets/{EmptyState-C3n18O-8.js → EmptyState-D8775COI.js} +1 -1
  6. package/assets/{ErrorState-waTZEVlb.js → ErrorState-BUi73q43.js} +1 -1
  7. package/assets/{FlaggedPane-DwuX-FGR.js → FlaggedPane-DeZhlWFy.js} +1 -1
  8. package/assets/{FullCompose-B_mSC1Rm.js → FullCompose-C8dlsR-Q.js} +1 -1
  9. package/assets/{MailListHeader-Dwc-CFkI.js → MailListHeader-BJX8BuyA.js} +1 -1
  10. package/assets/{MailNav-DVbvZNp7.js → MailNav-DpCROJMP.js} +1 -1
  11. package/assets/{MailShell-DIHk0EtZ.js → MailShell-CMOL8AKI.js} +1 -1
  12. package/assets/{MailViewChrome-C_Gdc8bR.js → MailViewChrome-CaqCUxFx.js} +1 -1
  13. package/assets/MailboxPane-BgjcYu1t.js +1 -0
  14. package/assets/{NavMenuButton-r1Fm79xW.js → NavMenuButton-CVdc16Vd.js} +1 -1
  15. package/assets/{OnboardingWizard-DuJEUOLt.js → OnboardingWizard-BJ_im7-I.js} +1 -1
  16. package/assets/{OpenCalendarEvent-Cjxcwj3W.js → OpenCalendarEvent-BGfbdWGu.js} +1 -1
  17. package/assets/{OutboxPane-u83fdkiE.js → OutboxPane-Dd-mfB0h.js} +1 -1
  18. package/assets/_calendarObjectId-BI57QUkI.js +1 -0
  19. package/assets/_mailboxId-B2c8yk-P.js +1 -0
  20. package/assets/_messageId-BiRjaSGS.js +1 -0
  21. package/assets/_messageId-CfZiEhfq.js +1 -0
  22. package/assets/_messageId-DRWKKgAe.js +1 -0
  23. package/assets/_outboxMessageId-DHeCkE_E.js +1 -0
  24. package/assets/_recurrenceId-CZXJ1ipm.js +1 -0
  25. package/assets/_threadId-BpHQ4umN.js +1 -0
  26. package/assets/_threadId-CG2H5qxG.js +1 -0
  27. package/assets/_threadId-DZe74h9F.js +1 -0
  28. package/assets/{_view._date-BW7m2UUO.js → _view._date-ByRpWyOf.js} +1 -1
  29. package/assets/{accounts-CbzWeGqe.js → accounts-rX_ZGBrU.js} +1 -1
  30. package/assets/{advanced-DjTGDp1B.js → advanced--feucAHp.js} +1 -1
  31. package/assets/{appearance-B0x1WJZk.js → appearance-BzFLOBIM.js} +1 -1
  32. package/assets/{attachment-file-C_subxto.js → attachment-file-B5mkzgR1.js} +1 -1
  33. package/assets/{attendee-row-9sT7DjwF.js → attendee-row-BeKlhe0A.js} +1 -1
  34. package/assets/{avatar-BrdmrrTM.js → avatar-Dso3OQH7.js} +1 -1
  35. package/assets/bottom-sheet-BX-sJ8v6.js +1 -0
  36. package/assets/brief-1BFpZzpI.js +1 -0
  37. package/assets/{brief-C8SHGfDI.js → brief-BqBII2NQ.js} +1 -1
  38. package/assets/{browser-ponyfill-CMK_6O3Q.js → browser-ponyfill-h0JbYDKj.js} +1 -1
  39. package/assets/{bug-DNNKDHev.js → bug-B-341whi.js} +1 -1
  40. package/assets/{calendar-C6tEGEY1.js → calendar-CkW9BQ4L.js} +1 -1
  41. package/assets/{calendar-color-DMot25jS.js → calendar-color-BG7928-_.js} +1 -1
  42. package/assets/{calendar-event-chip-DV7VrNqC.js → calendar-event-chip-CoD7r2-a.js} +1 -1
  43. package/assets/{calendars-DtL0c4T9.js → calendars-DCTcgC1a.js} +1 -1
  44. package/assets/{card-Bbnjrfwy.js → card-CPhaopb5.js} +1 -1
  45. package/assets/chevron-left-C0OrzYvI.js +1 -0
  46. package/assets/{circle-check-CO95-FPW.js → circle-check-CLuBMQlt.js} +1 -1
  47. package/assets/{circle-check-big-DEmZetXy.js → circle-check-big-C-MjzzMN.js} +1 -1
  48. package/assets/{circle-help-EVff0LUn.js → circle-help-DpcwUo3O.js} +1 -1
  49. package/assets/{clock-DUYaqtJD.js → clock-DycMqInq.js} +1 -1
  50. package/assets/compose._-_outboxMessageId_-BKdOnGgE.js +1 -0
  51. package/assets/compose._-_outboxMessageId_-C5J40rof.js +1 -0
  52. package/assets/compose._-_outboxMessageId_-CHg6RCur.js +1 -0
  53. package/assets/compose._-_outboxMessageId_-CecgSs9p.js +1 -0
  54. package/assets/{config-import-W4GeV-m8.js → config-import-CUYN2G7f.js} +1 -1
  55. package/assets/{confirm-dialog-BFQr1kaP.js → confirm-dialog-C_t09Gva.js} +1 -1
  56. package/assets/{copy-DnpxVQkU.js → copy-DXbRkbsg.js} +1 -1
  57. package/assets/{credential-steps-CgdDYYxA.js → credential-steps-BPMPrFp_.js} +1 -1
  58. package/assets/{download-IdmPeqMJ.js → download-9A_DQZED.js} +1 -1
  59. package/assets/{file-json-CV0PVp51.js → file-json-DhoZdq39.js} +1 -1
  60. package/assets/{filters-Nt0IbhkL.js → filters-BsLKH-KQ.js} +1 -1
  61. package/assets/flagged-Be5oNxz8.js +1 -0
  62. package/assets/{flagged-Dq8258Ff.js → flagged-CG6WICxW.js} +1 -1
  63. package/assets/{folders-qQtUB6QD.js → folders-D0x6C1Ck.js} +1 -1
  64. package/assets/{format-Cv0v2QYw.js → format-C58wplMJ.js} +1 -1
  65. package/assets/{help-copy-DcoSaq-y.js → help-copy-BuBfUFvN.js} +1 -1
  66. package/assets/{import-DKYmCutH.js → import-BnuIvvYO.js} +1 -1
  67. package/assets/{index-DxmGE3m0.js → index-CAWCA7kp.js} +4 -4
  68. package/assets/index-CBQb_AiQ.js +1 -0
  69. package/assets/index-Cg9FFpxv.js +1 -0
  70. package/assets/index-D4oNqihE.js +1 -0
  71. package/assets/index-DCnzuDfm.js +1 -0
  72. package/assets/index-DRWKKgAe.js +1 -0
  73. package/assets/index-DnQf9APo.js +1 -0
  74. package/assets/index-DnzPPKUB.js +1 -0
  75. package/assets/{index-Dx0dKUBY.js → index-DoJ8vs9_.js} +1 -1
  76. package/assets/index-Dst_2SBO.js +1 -0
  77. package/assets/{index-Bp69o_hx.js → index-_JBKtYXu.js} +52 -52
  78. package/assets/index-ipkUvHk0.js +1 -0
  79. package/assets/{kbd-Dlyb756r.js → kbd-CUNCsdLt.js} +1 -1
  80. package/assets/{labels-CD95hJ3m.js → labels-BY9SfPtP.js} +1 -1
  81. package/assets/{mail-Az7LNkPT.js → mail-B73P70rO.js} +1 -1
  82. package/assets/{mail-C-vHQPUd.js → mail-CArT0__I.js} +1 -1
  83. package/assets/{map-pin-sKE11Ose.js → map-pin-CEP5uZHA.js} +1 -1
  84. package/assets/{menu-BFlsiQIN.js → menu-CyMA8ejK.js} +1 -1
  85. package/assets/{new-CzmnDZEZ.js → new-RJZncfFf.js} +1 -1
  86. package/assets/onboarding-aoafNXL7.js +1 -0
  87. package/assets/{onboarding-completion-2NaCd5nw.js → onboarding-completion-FFjKdakA.js} +1 -1
  88. package/assets/outbox-BF-J9hLg.js +1 -0
  89. package/assets/{pencil-D2kQNShx.js → pencil-C8wWVDp1.js} +1 -1
  90. package/assets/{refresh-cw-D1EHQAQk.js → refresh-cw-Mvz24VPI.js} +1 -1
  91. package/assets/{rich-text-BMx2DEPU.js → rich-text-D67UO7zJ.js} +2 -2
  92. package/assets/{rich-text-spellcheck-worker-provider-c3Qx_xOM.js → rich-text-spellcheck-worker-provider-DKCw8H_J.js} +1 -1
  93. package/assets/{rotate-ccw-BKXu5q3v.js → rotate-ccw-ByXIAEyt.js} +1 -1
  94. package/assets/{roving-focus-DQHWPAVb.js → roving-focus-R7ZTRnKj.js} +1 -1
  95. package/assets/{row-actions-KXYdPyQc.js → row-actions-BsCd_UKz.js} +1 -1
  96. package/assets/{search-mirror-Bb2WesIz.js → search-mirror-CJOCjfkC.js} +1 -1
  97. package/assets/{search-token-index-CiYTZY4U.js → search-token-index-U-0PE-Ox.js} +1 -1
  98. package/assets/{sections-Ds8T4WGv.js → sections-Bz1Hz1WB.js} +1 -1
  99. package/assets/{senders-BiLMrBit.js → senders-CRjKU72H.js} +1 -1
  100. package/assets/settings-DptY6F_3.js +1 -0
  101. package/assets/{settings-screen-RL84VvHJ.js → settings-screen-BmT3r6tg.js} +1 -1
  102. package/assets/{shield-check-BnavN1HV.js → shield-check-WkiJUavf.js} +1 -1
  103. package/assets/{suggested-vips-DsCqsoDt.js → suggested-vips-DLM7277B.js} +1 -1
  104. package/assets/{useCalendarData-B5J45tWv.js → useCalendarData-CxT_7y0k.js} +1 -1
  105. package/assets/{useCalendars-zHPvsPN-.js → useCalendars-dRe0PNET.js} +1 -1
  106. package/assets/{useDebouncedValue-DjKhDws_.js → useDebouncedValue-DYu0unJr.js} +1 -1
  107. package/assets/{useFilters-JZzi-OuL.js → useFilters-BDQsNdKM.js} +1 -1
  108. package/assets/{useLabels-PUdXuz7u.js → useLabels-DIvHKWeo.js} +1 -1
  109. package/assets/{useLayoutTier-DMB1Eh-w.js → useLayoutTier-D1c62D6O.js} +1 -1
  110. package/assets/{useMessageBodyContent-BAOiu5RU.js → useMessageBodyContent-ChO4c73P.js} +1 -1
  111. package/assets/{useQueries-CgkkspjR.js → useQueries-DNMW1lkL.js} +1 -1
  112. package/assets/{useRefreshControl-tx1oKfsp.js → useRefreshControl-hwJW949Z.js} +1 -1
  113. package/assets/{useResultFolderIndex-DY_o6Qse.js → useResultFolderIndex-C-1ZYMvt.js} +1 -1
  114. package/assets/{useSearchTokenContext-Bt8He2xM.js → useSearchTokenContext-Du649zXC.js} +1 -1
  115. package/assets/{useSemanticSearch-BMLe92eM.js → useSemanticSearch-Dkvkustt.js} +1 -1
  116. package/assets/{useSignature-Dtdki29s.js → useSignature-CkDxKXxk.js} +1 -1
  117. package/assets/{window-Wb6AhZ1T.js → window-CT3glB3e.js} +1 -1
  118. package/index.html +1 -1
  119. package/package.json +1 -1
  120. package/assets/MailboxPane-DW5d6LOg.js +0 -1
  121. package/assets/_calendarObjectId-f7asmO2F.js +0 -1
  122. package/assets/_mailboxId-d6LGf4_v.js +0 -1
  123. package/assets/_messageId-45Vhchlh.js +0 -1
  124. package/assets/_messageId-B0sUIDac.js +0 -1
  125. package/assets/_messageId-BdIoxkjt.js +0 -1
  126. package/assets/_outboxMessageId-3NOfRyUG.js +0 -1
  127. package/assets/_recurrenceId-CZ-RU_6D.js +0 -1
  128. package/assets/_threadId-BFqKN57y.js +0 -1
  129. package/assets/_threadId-BuZ-Pk9V.js +0 -1
  130. package/assets/_threadId-ZYznJBMI.js +0 -1
  131. package/assets/bottom-sheet-DULe1n8g.js +0 -1
  132. package/assets/brief-K4zweAIj.js +0 -1
  133. package/assets/chevron-left-DeM1PsCb.js +0 -1
  134. package/assets/compose._-_outboxMessageId_-CLKO0YhT.js +0 -1
  135. package/assets/compose._-_outboxMessageId_-CUS6wPlR.js +0 -1
  136. package/assets/compose._-_outboxMessageId_-DGkbQ1bW.js +0 -1
  137. package/assets/compose._-_outboxMessageId_-aM0vETym.js +0 -1
  138. package/assets/flagged-C4KaPbUm.js +0 -1
  139. package/assets/index-45Vhchlh.js +0 -1
  140. package/assets/index-4pBfeicI.js +0 -1
  141. package/assets/index-B8hA_E28.js +0 -1
  142. package/assets/index-BBrdcGEd.js +0 -1
  143. package/assets/index-BQmVSdwl.js +0 -1
  144. package/assets/index-BiSSWJKx.js +0 -1
  145. package/assets/index-CPhKZAxD.js +0 -1
  146. package/assets/index-CczPjshz.js +0 -1
  147. package/assets/index-DZCUAk3p.js +0 -1
  148. package/assets/onboarding-Cxvcf0Qu.js +0 -1
  149. package/assets/outbox-D6SWYkZH.js +0 -1
  150. package/assets/settings-JOgkRPQH.js +0 -1
@@ -0,0 +1 @@
1
+ import{j as o}from"./index-_JBKtYXu.js";import{M as i}from"./MailboxPane-BgjcYu1t.js";import"./useSearchTokenContext-Du649zXC.js";import"./kbd-CUNCsdLt.js";import"./useMessageBodyContent-ChO4c73P.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-hwJW949Z.js";import"./circle-check-big-C-MjzzMN.js";import"./refresh-cw-Mvz24VPI.js";import"./useQueries-DNMW1lkL.js";import"./search-token-index-U-0PE-Ox.js";import"./useLayoutTier-D1c62D6O.js";import"./MailListHeader-BJX8BuyA.js";import"./roving-focus-R7ZTRnKj.js";import"./attachment-file-B5mkzgR1.js";import"./mail-B73P70rO.js";import"./avatar-Dso3OQH7.js";import"./index-CAWCA7kp.js";import"./useSignature-CkDxKXxk.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-DYu0unJr.js";import"./sections-Bz1Hz1WB.js";import"./format-C58wplMJ.js";import"./EmptyState-D8775COI.js";import"./ErrorState-BUi73q43.js";import"./download-9A_DQZED.js";import"./calendar-event-chip-CoD7r2-a.js";import"./calendar-color-BG7928-_.js";import"./map-pin-CEP5uZHA.js";import"./attendee-row-BeKlhe0A.js";import"./clock-DycMqInq.js";import"./shield-check-WkiJUavf.js";import"./useFilters-BDQsNdKM.js";import"./confirm-dialog-C_t09Gva.js";import"./menu-CyMA8ejK.js";import"./MailViewChrome-CaqCUxFx.js";import"./NavMenuButton-CVdc16Vd.js";import"./useLabels-DIvHKWeo.js";import"./useSemanticSearch-Dkvkustt.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-BX-sJ8v6.js";import"./circle-help-DpcwUo3O.js";import"./circle-check-CLuBMQlt.js";function T(){return o.jsx(i.Reading,{})}export{T as component};
@@ -1 +1 @@
1
- import{j as n,t as s}from"./index-Bp69o_hx.js";function x({className:e,...t}){return n.jsx("kbd",{className:s("inline-flex h-4 min-w-4 items-center justify-center rounded-xs border border-line bg-surface-sunken px-1 font-sans text-2xs text-fg-muted",e),...t})}export{x as K};
1
+ import{j as n,t as s}from"./index-_JBKtYXu.js";function x({className:e,...t}){return n.jsx("kbd",{className:s("inline-flex h-4 min-w-4 items-center justify-center rounded-xs border border-line bg-surface-sunken px-1 font-sans text-2xs text-fg-muted",e),...t})}export{x as K};
@@ -1 +1 @@
1
- import{r as f,j as e,ax as h,bj as y,aw as b,bH as g,f as v,a1 as N,u as C,c as L,d as I,aJ as D,aL as S,B as w}from"./index-Bp69o_hx.js";import{C as E}from"./confirm-dialog-BFQr1kaP.js";import{S as $}from"./settings-screen-RL84VvHJ.js";import{E as j}from"./ErrorState-waTZEVlb.js";import{a as T,b as k,c as R,u as O}from"./useLabels-PUdXuz7u.js";import"./avatar-BrdmrrTM.js";import"./chevron-left-DeM1PsCb.js";import"./menu-BFlsiQIN.js";import"./circle-help-EVff0LUn.js";function B({labels:l,onRename:i,onRecolor:n,onDelete:m,deletingLabelId:c}){const[u,r]=f.useState(),[o,d]=f.useState("");if(l.length===0)return e.jsx("p",{className:"py-6 text-sm text-fg-muted",children:"No labels yet. Create one below, then use it in a filter or apply it to mail directly."});const t=a=>{const s=o.trim();s!==""&&i(a,s),r(void 0)};return e.jsx("ul",{className:"divide-y divide-line rounded-md border border-line",children:l.map(a=>e.jsxs("li",{className:"flex items-center gap-3 px-3 py-2.5",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[u===a.labelId?e.jsx(h,{autoFocus:!0,value:o,onChange:s=>d(s.target.value),onBlur:()=>t(a.labelId),onKeyDown:s=>{s.key==="Enter"&&(s.preventDefault(),t(a.labelId)),s.key==="Escape"&&(s.preventDefault(),r(void 0))},"aria-label":`Rename label ${a.name}`}):e.jsx("button",{type:"button",onClick:()=>{r(a.labelId),d(a.name)},"aria-label":`Rename label ${a.name}`,className:"flex items-center gap-2 rounded-sm text-left hover:opacity-80",children:e.jsx(y,{label:a})}),e.jsx("p",{className:"mt-0.5 text-xs text-fg-subtle",children:a.filterCount===0?"Not used in any filter":`Used in ${a.filterCount} ${a.filterCount===1?"filter":"filters"}`})]}),e.jsx(b,{"aria-label":`Color for ${a.name}`,value:a.color,onChange:s=>n(a.labelId,s.target.value),className:"w-28 shrink-0",children:g.map(s=>e.jsx("option",{value:s,children:s},s))}),e.jsx(v,{variant:"ghost",size:"sm",icon:e.jsx(N,{className:"size-4 text-danger"}),onClick:()=>m(a),disabled:c===a.labelId,"aria-label":`Delete label ${a.name}`})]},a.labelId))})}const P=(l,i)=>{if(i===0)return{title:`Delete the "${l}" label?`};const n=i===1?"filter":"filters";return{title:`Delete the "${l}" label?`,description:`This also deletes ${i} ${n} that ${i===1?"applies":"apply"} it — they can't be recovered.`}},H=e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{children:"Labels mark mail without moving it — a message can carry any number of them alongside whichever folder it lives in."}),e.jsx("p",{children:"Use a label in a filter's action to have new (and existing) mail label itself automatically, or apply one to a selection directly from the mailbox."}),e.jsx("p",{children:"Deleting a label removes it from every message, and deletes every filter that applies it — the confirmation names how many."})]});function _({accountId:l}){const{createLabel:i,isPending:n,isError:m}=O(l),[c,u]=f.useState(""),[r,o]=f.useState("Default"),d=()=>{const t=c.trim();t!==""&&i(t,r).then(()=>{u(""),o("Default")})};return e.jsxs("div",{className:"space-y-2 rounded-sm border border-line bg-surface p-3",children:[e.jsx("p",{className:"text-sm font-medium text-fg",children:"New label"}),e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end",children:[e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("span",{className:"text-xs text-fg-muted",children:"Name"}),e.jsx(h,{value:c,onChange:t=>u(t.target.value),placeholder:"e.g. Receipts","aria-label":"Label name",onKeyDown:t=>{t.key==="Enter"&&(t.preventDefault(),d())}})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("span",{className:"text-xs text-fg-muted",children:"Color"}),e.jsx(b,{value:r,onChange:t=>o(t.target.value),"aria-label":"Label color",className:"w-28",children:g.map(t=>e.jsx("option",{value:t,children:t},t))})]}),e.jsx(v,{variant:"primary",onClick:d,disabled:n||c.trim()==="",children:n?"Creating…":"Create label"})]}),m&&e.jsx(w,{tone:"danger",variant:"soft",children:"Couldn't create that label. Please try again."})]})}function A({account:l}){const i=l.accountId,{labels:n,isPending:m,isError:c,error:u,refetch:r}=T(i),{updateLabel:o}=k(i),{deleteLabel:d,deletingLabelId:t}=R(i),[a,s]=f.useState();return e.jsxs("section",{className:"space-y-2",children:[e.jsx("h2",{className:"text-sm font-semibold text-fg",children:l.email}),m?e.jsx("div",{className:"h-16 animate-pulse rounded-md border border-line bg-surface","aria-busy":"true","aria-label":`Loading labels for ${l.email}`}):c?e.jsx(j,{variant:"inline",title:`Couldn't load labels for ${l.email}`,error:u,onRetry:()=>{r()}}):e.jsx(B,{labels:n,onRename:(p,x)=>o(p,{name:x}),onRecolor:(p,x)=>o(p,{color:x}),onDelete:s,deletingLabelId:t}),e.jsx(_,{accountId:i}),a&&(()=>{const p=P(a.name,a.filterCount);return e.jsx(E,{isOpen:!0,title:p.title,description:p.description,confirmLabel:"Delete label",destructive:!0,isBusy:t===a.labelId,onConfirm:()=>{d(a.labelId),s(void 0)},onCancel:()=>s(void 0)})})()]})}function q(){const l=C(),[i,n]=f.useState(!0),{data:m,isPending:c,isError:u,error:r,refetch:o}=L(I()),d=t=>{const a=S[t];a&&l({to:a})};return e.jsx($,{items:D,activeId:"labels",title:"Labels",description:"Mark mail without moving it, per account.",help:H,helpOpen:i,onToggleHelp:()=>n(t=>!t),onSelect:d,onBackToMail:()=>{l({to:"/mail"})},children:c?e.jsx("div",{className:"h-24 animate-pulse rounded-sm border border-line bg-surface","aria-busy":"true","aria-label":"Loading accounts"}):u?e.jsx(j,{title:"Couldn't load accounts",error:r,onRetry:()=>{o()}}):m.accounts.length===0?e.jsx("p",{className:"py-12 text-sm text-fg-muted",children:"No accounts configured."}):e.jsx("div",{className:"space-y-8",children:m.accounts.map(t=>e.jsx(A,{account:t},t.accountId))})})}export{q as component};
1
+ import{r as f,j as e,ax as h,bj as y,aw as b,bH as g,f as v,a1 as N,u as C,c as L,d as I,aJ as D,aL as S,B as w}from"./index-_JBKtYXu.js";import{C as E}from"./confirm-dialog-C_t09Gva.js";import{S as $}from"./settings-screen-BmT3r6tg.js";import{E as j}from"./ErrorState-BUi73q43.js";import{a as T,b as k,c as R,u as O}from"./useLabels-DIvHKWeo.js";import"./avatar-Dso3OQH7.js";import"./chevron-left-C0OrzYvI.js";import"./menu-CyMA8ejK.js";import"./circle-help-DpcwUo3O.js";function B({labels:l,onRename:i,onRecolor:n,onDelete:m,deletingLabelId:c}){const[u,r]=f.useState(),[o,d]=f.useState("");if(l.length===0)return e.jsx("p",{className:"py-6 text-sm text-fg-muted",children:"No labels yet. Create one below, then use it in a filter or apply it to mail directly."});const t=a=>{const s=o.trim();s!==""&&i(a,s),r(void 0)};return e.jsx("ul",{className:"divide-y divide-line rounded-md border border-line",children:l.map(a=>e.jsxs("li",{className:"flex items-center gap-3 px-3 py-2.5",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[u===a.labelId?e.jsx(h,{autoFocus:!0,value:o,onChange:s=>d(s.target.value),onBlur:()=>t(a.labelId),onKeyDown:s=>{s.key==="Enter"&&(s.preventDefault(),t(a.labelId)),s.key==="Escape"&&(s.preventDefault(),r(void 0))},"aria-label":`Rename label ${a.name}`}):e.jsx("button",{type:"button",onClick:()=>{r(a.labelId),d(a.name)},"aria-label":`Rename label ${a.name}`,className:"flex items-center gap-2 rounded-sm text-left hover:opacity-80",children:e.jsx(y,{label:a})}),e.jsx("p",{className:"mt-0.5 text-xs text-fg-subtle",children:a.filterCount===0?"Not used in any filter":`Used in ${a.filterCount} ${a.filterCount===1?"filter":"filters"}`})]}),e.jsx(b,{"aria-label":`Color for ${a.name}`,value:a.color,onChange:s=>n(a.labelId,s.target.value),className:"w-28 shrink-0",children:g.map(s=>e.jsx("option",{value:s,children:s},s))}),e.jsx(v,{variant:"ghost",size:"sm",icon:e.jsx(N,{className:"size-4 text-danger"}),onClick:()=>m(a),disabled:c===a.labelId,"aria-label":`Delete label ${a.name}`})]},a.labelId))})}const P=(l,i)=>{if(i===0)return{title:`Delete the "${l}" label?`};const n=i===1?"filter":"filters";return{title:`Delete the "${l}" label?`,description:`This also deletes ${i} ${n} that ${i===1?"applies":"apply"} it — they can't be recovered.`}},H=e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{children:"Labels mark mail without moving it — a message can carry any number of them alongside whichever folder it lives in."}),e.jsx("p",{children:"Use a label in a filter's action to have new (and existing) mail label itself automatically, or apply one to a selection directly from the mailbox."}),e.jsx("p",{children:"Deleting a label removes it from every message, and deletes every filter that applies it — the confirmation names how many."})]});function _({accountId:l}){const{createLabel:i,isPending:n,isError:m}=O(l),[c,u]=f.useState(""),[r,o]=f.useState("Default"),d=()=>{const t=c.trim();t!==""&&i(t,r).then(()=>{u(""),o("Default")})};return e.jsxs("div",{className:"space-y-2 rounded-sm border border-line bg-surface p-3",children:[e.jsx("p",{className:"text-sm font-medium text-fg",children:"New label"}),e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end",children:[e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("span",{className:"text-xs text-fg-muted",children:"Name"}),e.jsx(h,{value:c,onChange:t=>u(t.target.value),placeholder:"e.g. Receipts","aria-label":"Label name",onKeyDown:t=>{t.key==="Enter"&&(t.preventDefault(),d())}})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("span",{className:"text-xs text-fg-muted",children:"Color"}),e.jsx(b,{value:r,onChange:t=>o(t.target.value),"aria-label":"Label color",className:"w-28",children:g.map(t=>e.jsx("option",{value:t,children:t},t))})]}),e.jsx(v,{variant:"primary",onClick:d,disabled:n||c.trim()==="",children:n?"Creating…":"Create label"})]}),m&&e.jsx(w,{tone:"danger",variant:"soft",children:"Couldn't create that label. Please try again."})]})}function A({account:l}){const i=l.accountId,{labels:n,isPending:m,isError:c,error:u,refetch:r}=T(i),{updateLabel:o}=k(i),{deleteLabel:d,deletingLabelId:t}=R(i),[a,s]=f.useState();return e.jsxs("section",{className:"space-y-2",children:[e.jsx("h2",{className:"text-sm font-semibold text-fg",children:l.email}),m?e.jsx("div",{className:"h-16 animate-pulse rounded-md border border-line bg-surface","aria-busy":"true","aria-label":`Loading labels for ${l.email}`}):c?e.jsx(j,{variant:"inline",title:`Couldn't load labels for ${l.email}`,error:u,onRetry:()=>{r()}}):e.jsx(B,{labels:n,onRename:(p,x)=>o(p,{name:x}),onRecolor:(p,x)=>o(p,{color:x}),onDelete:s,deletingLabelId:t}),e.jsx(_,{accountId:i}),a&&(()=>{const p=P(a.name,a.filterCount);return e.jsx(E,{isOpen:!0,title:p.title,description:p.description,confirmLabel:"Delete label",destructive:!0,isBusy:t===a.labelId,onConfirm:()=>{d(a.labelId),s(void 0)},onCancel:()=>s(void 0)})})()]})}function q(){const l=C(),[i,n]=f.useState(!0),{data:m,isPending:c,isError:u,error:r,refetch:o}=L(I()),d=t=>{const a=S[t];a&&l({to:a})};return e.jsx($,{items:D,activeId:"labels",title:"Labels",description:"Mark mail without moving it, per account.",help:H,helpOpen:i,onToggleHelp:()=>n(t=>!t),onSelect:d,onBackToMail:()=>{l({to:"/mail"})},children:c?e.jsx("div",{className:"h-24 animate-pulse rounded-sm border border-line bg-surface","aria-busy":"true","aria-label":"Loading accounts"}):u?e.jsx(j,{title:"Couldn't load accounts",error:r,onRetry:()=>{o()}}):m.accounts.length===0?e.jsx("p",{className:"py-12 text-sm text-fg-muted",children:"No accounts configured."}):e.jsx("div",{className:"space-y-8",children:m.accounts.map(t=>e.jsx(A,{account:t},t.accountId))})})}export{q as component};
@@ -1 +1 @@
1
- import{e}from"./index-Bp69o_hx.js";const a=e("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);export{a as M};
1
+ import{e}from"./index-_JBKtYXu.js";const a=e("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);export{a as M};
@@ -1 +1 @@
1
- import{e as ee,j as s,t as F,v as se,f as I,w as te,x as M,r as d,y as R,z as ne,A as oe,C as ae,h as Q,D as re,E as ie,F as ce,X as le,G as ue,a as de,b as me,H as pe,J as he,K as fe,M as xe,N as ge,P as ve,Q as be,u as ye,c as Se,d as je,R as Ce,O as Ie,S as Ne}from"./index-Bp69o_hx.js";import{S as we,D as Me,a as Ee,b as Oe,u as Pe,s as Re,i as ke,t as Te,K as Le,c as Ae,d as De,e as Fe,f as Qe}from"./search-token-index-CiYTZY4U.js";import{u as O,a as Ke}from"./useMessageBodyContent-BAOiu5RU.js";import{P as _e}from"./pencil-D2kQNShx.js";import{c as ze,s as Be,M as He}from"./MailShell-DIHk0EtZ.js";import{u as Ve,a as qe,R as $e,s as Ge,i as Ue,H as We,M as Ye}from"./useRefreshControl-tx1oKfsp.js";import{M as Je}from"./menu-BFlsiQIN.js";import{B as Xe}from"./bug-DNNKDHev.js";import{S as Ze,A as es,L as ss,M as ts}from"./MailNav-DVbvZNp7.js";import{A as ns}from"./avatar-BrdmrrTM.js";import{u as os}from"./sections-Ds8T4WGv.js";import{E as as}from"./ErrorState-waTZEVlb.js";import{K as k}from"./kbd-Dlyb756r.js";import{u as rs}from"./index-DxmGE3m0.js";import{u as K,i as is}from"./useLayoutTier-DMB1Eh-w.js";import{u as cs}from"./useQueries-CgkkspjR.js";import{u as ls}from"./useResultFolderIndex-DY_o6Qse.js";import{u as us}from"./useDebouncedValue-DjKhDws_.js";import"./search-scope-B5-OK3Cq.js";import"./FullCompose-B_mSC1Rm.js";import"./confirm-dialog-BFQr1kaP.js";import"./circle-check-big-DEmZetXy.js";import"./refresh-cw-D1EHQAQk.js";import"./roving-focus-DQHWPAVb.js";import"./outbox-status-BlKn6P0x.js";import"./useSignature-Dtdki29s.js";import"./account-form-helpers-DhckT_PN.js";import"./format-Cv0v2QYw.js";const ds=ee("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function ms({leading:e,search:t,actions:n,className:o}){return s.jsxs("header",{className:F("flex min-h-pane-header w-full shrink-0 items-center gap-2 border-b border-line bg-canvas px-row-inset py-1",o),children:[e&&s.jsx("div",{className:"flex shrink-0 items-center gap-1",children:e}),s.jsx("div",{className:"flex min-w-0 flex-1 justify-start",children:s.jsx("div",{className:"w-full max-w-xs transition-[max-width] duration-150 ease-out focus-within:max-w-lg",children:t})}),n&&s.jsx("div",{className:"flex shrink-0 items-center gap-1",children:n})]})}function ps(){const e=se();if(!e)return null;const t=e.showNavPane?!e.navCollapsed:!1;return s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Je,{className:"size-4"}),onClick:e.toggleNav,"aria-label":t?"Hide folders":"Show folders","aria-expanded":t,title:"Folders",className:"shrink-0"})}const hs={global:"Search all mail",pending:"Search mail",scoped:"Search this folder"};function fs({search:e,onCompose:t,onReportBug:n,onOpenSettings:o,composeShortcut:a,refreshControl:r,account:l}){return s.jsx(ms,{leading:s.jsx(ps,{}),search:s.jsx(we,{value:e.value,onChange:e.onChange,onClear:e.onClear,onClearQuery:e.onClearQuery,chips:e.chips,onRemoveChip:e.onRemoveChip,placeholder:hs[e.scope]}),actions:s.jsxs(s.Fragment,{children:[s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(ds,{className:"size-4"}),title:a?`Compose (${a})`:"Compose","aria-label":"Compose",onClick:t}),s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Xe,{className:"size-4"}),title:"Report a bug","aria-label":"Report a bug",onClick:n}),s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Ze,{className:"size-4"}),title:"Settings","aria-label":"Settings",onClick:o}),r,l]})})}function xs(){const e=te(),t=M({select:c=>R(c.location.pathname)}),n=M({select:c=>ne(c.location.search)}),[o,a]=d.useState(n),r=us(o,200),[l,u]=d.useState(t);if(l!==t){const c=Be(l,t,n);u(t),c!==void 0&&a(c)}const p=d.useCallback(c=>{u(R(e.state.location.pathname)),a(c)},[e]);return{searchInput:o,committedQuery:ze(o,r),viewKey:t,setSearchInput:p}}const gs=()=>{const e=O();return oe()?null:s.jsx("button",{type:"button",onClick:e,"aria-label":"Compose new message",className:"lg:hidden fixed right-4 z-30 h-14 w-14 rounded-full bg-accent text-accent-fg shadow-lg flex items-center justify-center hover:opacity-90 active:scale-95 transition-all",style:{bottom:"calc(env(safe-area-inset-bottom, 0) + 1rem)"},children:s.jsx(_e,{className:"size-6"})})},vs=({email:e,onSignOut:t})=>{const n=e??"Account";return s.jsxs(Me,{trigger:s.jsx(ns,{name:n,email:e??void 0,size:"sm"}),align:"right",children:[e&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"px-3 py-2 text-xs text-fg-muted truncate",title:e,"data-testid":"account-menu-email",children:e}),s.jsx(Ee,{})]}),s.jsxs(Oe,{onClick:t,children:[s.jsx(ss,{className:"size-4"}),"Sign out"]})]})},bs=()=>s.jsx(es,{children:({email:e,signOut:t})=>s.jsx(vs,{email:e,onSignOut:t})});function ys({accounts:e}){const{searchInput:t,onSearchChange:n,onSearchClear:o,onSearchClearQuery:a,resultFolderIndex:r}=ae(),l=Q(),u=os(),p=O(),{scope:c,clearScope:x}=Pe(e),f=c.kind==="scoped"?[{id:c.chip.id,label:c.chip.label,tone:"scope"}]:void 0,m=d.useMemo(()=>e.map(v=>v.accountId),[e]),{hasNewMail:i}=Ve(),{state:h,errorMessage:y,refresh:g}=qe(m,{onSettled:()=>ke(l,Te(r.keys()))});return s.jsx(fs,{search:{value:t,scope:c.kind,chips:f,onChange:n,onClear:o,onClearQuery:a,onRemoveChip:x},onCompose:p,onReportBug:re,onOpenSettings:()=>u("accounts"),composeShortcut:Re("compose"),refreshControl:s.jsx($e,{state:h,onRefresh:g,label:"Refresh all accounts",errorMessage:y,hasUpdate:i(m)}),account:s.jsx(bs,{})})}const Ss=({isOpen:e,onClose:t})=>(ie({id:"shortcuts",open:e,answers:{back:t}}),e?s.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[s.jsx(ce,{label:"Dismiss keyboard shortcuts",onDismiss:t,className:"backdrop-blur-sm"}),s.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Keyboard shortcuts",className:F("relative z-10 max-h-[85vh] w-full max-w-2xl overflow-y-auto","rounded-lg border border-line bg-surface shadow-lg","p-6"),children:[s.jsxs("div",{className:"mb-6 flex items-center justify-between",children:[s.jsx("h2",{className:"text-lg font-semibold",children:"Keyboard shortcuts"}),s.jsx("button",{type:"button",onClick:t,className:"p-1 text-fg-muted transition-colors hover:text-fg","aria-label":"Close",children:s.jsx(le,{className:"size-5"})})]}),s.jsx("div",{className:"grid gap-x-8 gap-y-6 sm:grid-cols-2",children:Le.map(n=>s.jsxs("div",{children:[s.jsx("h3",{className:"mb-3 text-sm font-medium text-fg-muted",children:n.title}),s.jsx("div",{className:"space-y-2",children:n.hints.map(o=>s.jsxs("div",{className:"flex items-center justify-between gap-4",children:[s.jsx("span",{className:"text-sm",children:o.description}),s.jsx("span",{className:"flex shrink-0 items-center gap-1",children:o.keys.map((a,r)=>s.jsxs(d.Fragment,{children:[r>0&&o.keys[0]==="g"&&s.jsx("span",{className:"text-2xs text-fg-subtle",children:"then"}),s.jsx(k,{children:a})]},a))})]},`${o.action}-${o.keys.join("+")}`))})]},n.title))}),s.jsx("div",{className:"mt-6 border-t border-line pt-4",children:s.jsxs("p",{className:"text-center text-xs text-fg-muted",children:["Press ",s.jsx(k,{children:"Esc"})," to close"]})})]})]}):null);function js(e){const t=cs({queries:e.map(n=>({...ue({path:{accountId:n.accountId}}),staleTime:1/0}))});return d.useMemo(()=>Ae(t.map(n=>n.data?.items??[])),[t])}const _="remit:intelligence-open";function Cs(){try{return localStorage.getItem(_)!=="closed"}catch{return!0}}function Is(e){try{localStorage.setItem(_,e?"open":"closed")}catch{}}function T({panels:e,prefersOpen:t,isDesktop:n,hasThread:o,raisedFor:a,openMessage:r}){return a!==null&&a===r?!0:e.length>0?e.includes("intelligence"):n&&o&&t}const Ns=()=>{const e=K(),t=de(),n=me(),o=t.find(pe),a=De(),[r,l]=d.useState(Cs),u=a?`${a.threadId}/${a.messageId??""}`:null,[p,c]=d.useState(null),x={panels:t,prefersOpen:r,isDesktop:e==="desktop",hasThread:a!==void 0,openMessage:u},f=T({...x,raisedFor:p}),m=T({...x,raisedFor:null}),i=d.useCallback((v,S)=>{n([...v?["intelligence"]:[],...S?[S]:[]])},[n]),h=d.useCallback(v=>{i(m,v)},[m,i]),y=d.useCallback(()=>{if(f&&!m){c(null);return}const v=!f;Is(v),l(v),c(null),i(v,o)},[m,f,o,i]),g=d.useCallback(()=>{c(u)},[u]);return{openOverlay:o,intelligenceOpen:f,showOverlay:h,toggleIntelligence:y,raiseIntelligence:g}};var j={exports:{}},L;function ws(){if(L)return j.exports;L=1;const e=(t,n,o)=>new Promise((a,r)=>{if(o=Object.assign({concurrency:1/0},o),typeof n!="function")throw new TypeError("Mapper function is required");const{concurrency:l}=o;if(!(typeof l=="number"&&l>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${l}\` (${typeof l})`);const u=[],p=t[Symbol.iterator]();let c=!1,x=!1,f=0,m=0;const i=()=>{if(c)return;const h=p.next(),y=m;if(m++,h.done){x=!0,f===0&&a(u);return}f++,Promise.resolve(h.value).then(g=>n(g,y)).then(g=>{u[y]=g,f--,i()},g=>{c=!0,r(g)})};for(let h=0;h<l&&(i(),!x);h++);});return j.exports=e,j.exports.default=e,j.exports}var Ms=ws();const Es=he(Ms),Os=900*1e3,Ps=30,Rs=(e,t)=>{if(!e)return t;const n=Number.parseInt(e,10);return Number.isFinite(n)&&n>0?n:t},ks=30*1e3,Ts=e=>Math.max(Rs(e,Ps)*1e3,ks),z=Ts(be().mailboxPollIntervalSeconds),C=(e=Date.now(),t=z)=>Ue(e)?Math.min(We,t):t,Ls=5,E=new Set,As=(e,t,n=Os)=>e.filter(o=>{const a=o.lastSyncAt;return a==null?!0:t-a>n}).map(o=>o.accountId),Ds=(e,t,n=z)=>e-t>=n,Fs=(e,t)=>e.filter(n=>!t.has(n)),A=(e,t)=>{if(E.delete(e),ge(t,{softError:!0},"nobody")){ve(t);return}console.warn("[remit] background mailbox sync failed",{accountId:e,error:t})},D=(e,t)=>fe({path:{accountId:e},throwOnError:!0}).then(()=>{t.invalidateQueries({queryKey:xe({path:{accountId:e}})})}),Qs=e=>{const t=Q(),n=d.useRef(e);n.current=e;const o=e.map(a=>a.accountId).join(",");d.useEffect(()=>{const a=Date.now(),l=As(n.current,a).filter(u=>!E.has(u));if(l.length!==0)for(const u of l)E.add(u),D(u,t).catch(p=>{A(u,p)})},[o,t]),d.useEffect(()=>{let a=Date.now(),r;const l=new Set,u=()=>{a=Date.now();const m=Fs(n.current.map(i=>i.accountId),l);for(const i of m)l.add(i);Es(m,i=>D(i,t).catch(h=>{A(i,h)}).finally(()=>{l.delete(i)}),{concurrency:Ls})},p=()=>{if(document.visibilityState==="visible"){u(),r=setTimeout(p,C());return}},c=()=>{if(document.visibilityState!=="visible")return;r!==void 0&&clearTimeout(r);const m=Date.now(),i=C(m);if(Ds(m,a,i)){u(),r=setTimeout(p,i);return}r=setTimeout(p,a+i-m)},x=()=>{document.visibilityState==="visible"&&(r!==void 0&&clearTimeout(r),a=Date.now(),r=setTimeout(p,C()))};r=setTimeout(p,C()),document.addEventListener("visibilitychange",c);const f=Ge(x);return()=>{r!==void 0&&clearTimeout(r),document.removeEventListener("visibilitychange",c),f()}},[o,t])};function pt(){const e=ye(),t=K(),n=is(t),{openOverlay:o,intelligenceOpen:a,showOverlay:r,toggleIntelligence:l,raiseIntelligence:u}=Ns(),p=o==="shortcuts",c=o==="nav",{searchInput:x,committedQuery:f,viewKey:m,setSearchInput:i}=xs(),{data:h,isLoading:y,isError:g,error:v,refetch:S}=Se({...je(),staleTime:1/0}),N=!!(h&&(h.accounts?.length??0)===0);d.useEffect(()=>{N&&e({to:"/onboarding",replace:!0})},[N,e]),rs({enabled:!p,bindings:[{key:"?",action:"help",handler:()=>r("shortcuts"),noModifiers:!1,preventDefault:!0}]});const P=O(),B=Ke(),H=M({select:w=>Ne(w.matches)?.list==="mailbox"}),V=d.useMemo(()=>({compose:P}),[P]);Fe({enabled:!H&&!B,handlers:V});const q=d.useCallback(()=>{i("")},[i]),$=d.useCallback(()=>{i("")},[i]),b=h?.accounts??[],G=d.useMemo(()=>b.map(w=>w.accountId),[b]),U=js(b),W=ls(b).index,Y=d.useMemo(()=>Qe(b),[b]);Qs(b);const J=d.useCallback(()=>{o==="nav"&&r(void 0)},[o,r]),X={accounts:b,mailboxNameIndex:U,accountNameIndex:Y,resultFolderIndex:W,searchQuery:f,searchInput:x,searchViewKey:m,onSearchChange:i,onSearchClear:q,onSearchClearQuery:$,intelligenceOpen:a,onToggleIntelligence:l,onRaiseIntelligence:u},Z={isSinglePane:n,isLoading:y||N,intelligenceOpen:a,nav:s.jsx(ts,{accounts:b,onMailboxSelect:J}),topBar:n?void 0:s.jsx(ys,{accounts:b}),overlay:n?s.jsx(gs,{}):void 0,navOpen:c,onOpenNav:()=>r("nav"),onCloseNav:()=>r(void 0)};return s.jsx(Ce.Provider,{value:X,children:s.jsxs(Ye,{accountIds:G,children:[g?s.jsx("div",{className:"flex h-full items-center justify-center bg-canvas p-4",children:s.jsx(as,{title:"Couldn't load your account",error:v,onRetry:()=>{S()}})}):s.jsx(He,{chrome:Z,children:s.jsx(Ie,{})}),s.jsx(Ss,{isOpen:p,onClose:()=>r(void 0)})]})})}export{pt as component,ae as useMailContext};
1
+ import{e as ee,j as s,t as F,v as se,f as I,w as te,x as M,r as d,y as R,z as ne,A as oe,C as ae,h as Q,D as re,E as ie,F as ce,X as le,G as ue,a as de,b as me,H as pe,J as he,K as fe,M as xe,N as ge,P as ve,Q as be,u as ye,c as Se,d as je,R as Ce,O as Ie,S as Ne}from"./index-_JBKtYXu.js";import{S as we,D as Me,a as Ee,b as Oe,u as Pe,s as Re,i as ke,t as Te,K as Le,c as Ae,d as De,e as Fe,f as Qe}from"./search-token-index-U-0PE-Ox.js";import{u as O,a as Ke}from"./useMessageBodyContent-ChO4c73P.js";import{P as _e}from"./pencil-C8wWVDp1.js";import{c as ze,s as Be,M as He}from"./MailShell-CMOL8AKI.js";import{u as Ve,a as qe,R as $e,s as Ge,i as Ue,H as We,M as Ye}from"./useRefreshControl-hwJW949Z.js";import{M as Je}from"./menu-CyMA8ejK.js";import{B as Xe}from"./bug-B-341whi.js";import{S as Ze,A as es,L as ss,M as ts}from"./MailNav-DpCROJMP.js";import{A as ns}from"./avatar-Dso3OQH7.js";import{u as os}from"./sections-Bz1Hz1WB.js";import{E as as}from"./ErrorState-BUi73q43.js";import{K as k}from"./kbd-CUNCsdLt.js";import{u as rs}from"./index-CAWCA7kp.js";import{u as K,i as is}from"./useLayoutTier-D1c62D6O.js";import{u as cs}from"./useQueries-DNMW1lkL.js";import{u as ls}from"./useResultFolderIndex-C-1ZYMvt.js";import{u as us}from"./useDebouncedValue-DYu0unJr.js";import"./search-scope-B5-OK3Cq.js";import"./FullCompose-C8dlsR-Q.js";import"./confirm-dialog-C_t09Gva.js";import"./circle-check-big-C-MjzzMN.js";import"./refresh-cw-Mvz24VPI.js";import"./roving-focus-R7ZTRnKj.js";import"./outbox-status-BlKn6P0x.js";import"./useSignature-CkDxKXxk.js";import"./account-form-helpers-DhckT_PN.js";import"./format-C58wplMJ.js";const ds=ee("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function ms({leading:e,search:t,actions:n,className:o}){return s.jsxs("header",{className:F("flex min-h-pane-header w-full shrink-0 items-center gap-2 border-b border-line bg-canvas px-row-inset py-1",o),children:[e&&s.jsx("div",{className:"flex shrink-0 items-center gap-1",children:e}),s.jsx("div",{className:"flex min-w-0 flex-1 justify-start",children:s.jsx("div",{className:"w-full max-w-xs transition-[max-width] duration-150 ease-out focus-within:max-w-lg",children:t})}),n&&s.jsx("div",{className:"flex shrink-0 items-center gap-1",children:n})]})}function ps(){const e=se();if(!e)return null;const t=e.showNavPane?!e.navCollapsed:!1;return s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Je,{className:"size-4"}),onClick:e.toggleNav,"aria-label":t?"Hide folders":"Show folders","aria-expanded":t,title:"Folders",className:"shrink-0"})}const hs={global:"Search all mail",pending:"Search mail",scoped:"Search this folder"};function fs({search:e,onCompose:t,onReportBug:n,onOpenSettings:o,composeShortcut:a,refreshControl:r,account:l}){return s.jsx(ms,{leading:s.jsx(ps,{}),search:s.jsx(we,{value:e.value,onChange:e.onChange,onClear:e.onClear,onClearQuery:e.onClearQuery,chips:e.chips,onRemoveChip:e.onRemoveChip,placeholder:hs[e.scope]}),actions:s.jsxs(s.Fragment,{children:[s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(ds,{className:"size-4"}),title:a?`Compose (${a})`:"Compose","aria-label":"Compose",onClick:t}),s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Xe,{className:"size-4"}),title:"Report a bug","aria-label":"Report a bug",onClick:n}),s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Ze,{className:"size-4"}),title:"Settings","aria-label":"Settings",onClick:o}),r,l]})})}function xs(){const e=te(),t=M({select:c=>R(c.location.pathname)}),n=M({select:c=>ne(c.location.search)}),[o,a]=d.useState(n),r=us(o,200),[l,u]=d.useState(t);if(l!==t){const c=Be(l,t,n);u(t),c!==void 0&&a(c)}const p=d.useCallback(c=>{u(R(e.state.location.pathname)),a(c)},[e]);return{searchInput:o,committedQuery:ze(o,r),viewKey:t,setSearchInput:p}}const gs=()=>{const e=O();return oe()?null:s.jsx("button",{type:"button",onClick:e,"aria-label":"Compose new message",className:"lg:hidden fixed right-4 z-30 h-14 w-14 rounded-full bg-accent text-accent-fg shadow-lg flex items-center justify-center hover:opacity-90 active:scale-95 transition-all",style:{bottom:"calc(env(safe-area-inset-bottom, 0) + 1rem)"},children:s.jsx(_e,{className:"size-6"})})},vs=({email:e,onSignOut:t})=>{const n=e??"Account";return s.jsxs(Me,{trigger:s.jsx(ns,{name:n,email:e??void 0,size:"sm"}),align:"right",children:[e&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"px-3 py-2 text-xs text-fg-muted truncate",title:e,"data-testid":"account-menu-email",children:e}),s.jsx(Ee,{})]}),s.jsxs(Oe,{onClick:t,children:[s.jsx(ss,{className:"size-4"}),"Sign out"]})]})},bs=()=>s.jsx(es,{children:({email:e,signOut:t})=>s.jsx(vs,{email:e,onSignOut:t})});function ys({accounts:e}){const{searchInput:t,onSearchChange:n,onSearchClear:o,onSearchClearQuery:a,resultFolderIndex:r}=ae(),l=Q(),u=os(),p=O(),{scope:c,clearScope:x}=Pe(e),f=c.kind==="scoped"?[{id:c.chip.id,label:c.chip.label,tone:"scope"}]:void 0,m=d.useMemo(()=>e.map(v=>v.accountId),[e]),{hasNewMail:i}=Ve(),{state:h,errorMessage:y,refresh:g}=qe(m,{onSettled:()=>ke(l,Te(r.keys()))});return s.jsx(fs,{search:{value:t,scope:c.kind,chips:f,onChange:n,onClear:o,onClearQuery:a,onRemoveChip:x},onCompose:p,onReportBug:re,onOpenSettings:()=>u("accounts"),composeShortcut:Re("compose"),refreshControl:s.jsx($e,{state:h,onRefresh:g,label:"Refresh all accounts",errorMessage:y,hasUpdate:i(m)}),account:s.jsx(bs,{})})}const Ss=({isOpen:e,onClose:t})=>(ie({id:"shortcuts",open:e,answers:{back:t}}),e?s.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[s.jsx(ce,{label:"Dismiss keyboard shortcuts",onDismiss:t,className:"backdrop-blur-sm"}),s.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Keyboard shortcuts",className:F("relative z-10 max-h-[85vh] w-full max-w-2xl overflow-y-auto","rounded-lg border border-line bg-surface shadow-lg","p-6"),children:[s.jsxs("div",{className:"mb-6 flex items-center justify-between",children:[s.jsx("h2",{className:"text-lg font-semibold",children:"Keyboard shortcuts"}),s.jsx("button",{type:"button",onClick:t,className:"p-1 text-fg-muted transition-colors hover:text-fg","aria-label":"Close",children:s.jsx(le,{className:"size-5"})})]}),s.jsx("div",{className:"grid gap-x-8 gap-y-6 sm:grid-cols-2",children:Le.map(n=>s.jsxs("div",{children:[s.jsx("h3",{className:"mb-3 text-sm font-medium text-fg-muted",children:n.title}),s.jsx("div",{className:"space-y-2",children:n.hints.map(o=>s.jsxs("div",{className:"flex items-center justify-between gap-4",children:[s.jsx("span",{className:"text-sm",children:o.description}),s.jsx("span",{className:"flex shrink-0 items-center gap-1",children:o.keys.map((a,r)=>s.jsxs(d.Fragment,{children:[r>0&&o.keys[0]==="g"&&s.jsx("span",{className:"text-2xs text-fg-subtle",children:"then"}),s.jsx(k,{children:a})]},a))})]},`${o.action}-${o.keys.join("+")}`))})]},n.title))}),s.jsx("div",{className:"mt-6 border-t border-line pt-4",children:s.jsxs("p",{className:"text-center text-xs text-fg-muted",children:["Press ",s.jsx(k,{children:"Esc"})," to close"]})})]})]}):null);function js(e){const t=cs({queries:e.map(n=>({...ue({path:{accountId:n.accountId}}),staleTime:1/0}))});return d.useMemo(()=>Ae(t.map(n=>n.data?.items??[])),[t])}const _="remit:intelligence-open";function Cs(){try{return localStorage.getItem(_)!=="closed"}catch{return!0}}function Is(e){try{localStorage.setItem(_,e?"open":"closed")}catch{}}function T({panels:e,prefersOpen:t,isDesktop:n,hasThread:o,raisedFor:a,openMessage:r}){return a!==null&&a===r?!0:e.length>0?e.includes("intelligence"):n&&o&&t}const Ns=()=>{const e=K(),t=de(),n=me(),o=t.find(pe),a=De(),[r,l]=d.useState(Cs),u=a?`${a.threadId}/${a.messageId??""}`:null,[p,c]=d.useState(null),x={panels:t,prefersOpen:r,isDesktop:e==="desktop",hasThread:a!==void 0,openMessage:u},f=T({...x,raisedFor:p}),m=T({...x,raisedFor:null}),i=d.useCallback((v,S)=>{n([...v?["intelligence"]:[],...S?[S]:[]])},[n]),h=d.useCallback(v=>{i(m,v)},[m,i]),y=d.useCallback(()=>{if(f&&!m){c(null);return}const v=!f;Is(v),l(v),c(null),i(v,o)},[m,f,o,i]),g=d.useCallback(()=>{c(u)},[u]);return{openOverlay:o,intelligenceOpen:f,showOverlay:h,toggleIntelligence:y,raiseIntelligence:g}};var j={exports:{}},L;function ws(){if(L)return j.exports;L=1;const e=(t,n,o)=>new Promise((a,r)=>{if(o=Object.assign({concurrency:1/0},o),typeof n!="function")throw new TypeError("Mapper function is required");const{concurrency:l}=o;if(!(typeof l=="number"&&l>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${l}\` (${typeof l})`);const u=[],p=t[Symbol.iterator]();let c=!1,x=!1,f=0,m=0;const i=()=>{if(c)return;const h=p.next(),y=m;if(m++,h.done){x=!0,f===0&&a(u);return}f++,Promise.resolve(h.value).then(g=>n(g,y)).then(g=>{u[y]=g,f--,i()},g=>{c=!0,r(g)})};for(let h=0;h<l&&(i(),!x);h++);});return j.exports=e,j.exports.default=e,j.exports}var Ms=ws();const Es=he(Ms),Os=900*1e3,Ps=30,Rs=(e,t)=>{if(!e)return t;const n=Number.parseInt(e,10);return Number.isFinite(n)&&n>0?n:t},ks=30*1e3,Ts=e=>Math.max(Rs(e,Ps)*1e3,ks),z=Ts(be().mailboxPollIntervalSeconds),C=(e=Date.now(),t=z)=>Ue(e)?Math.min(We,t):t,Ls=5,E=new Set,As=(e,t,n=Os)=>e.filter(o=>{const a=o.lastSyncAt;return a==null?!0:t-a>n}).map(o=>o.accountId),Ds=(e,t,n=z)=>e-t>=n,Fs=(e,t)=>e.filter(n=>!t.has(n)),A=(e,t)=>{if(E.delete(e),ge(t,{softError:!0},"nobody")){ve(t);return}console.warn("[remit] background mailbox sync failed",{accountId:e,error:t})},D=(e,t)=>fe({path:{accountId:e},throwOnError:!0}).then(()=>{t.invalidateQueries({queryKey:xe({path:{accountId:e}})})}),Qs=e=>{const t=Q(),n=d.useRef(e);n.current=e;const o=e.map(a=>a.accountId).join(",");d.useEffect(()=>{const a=Date.now(),l=As(n.current,a).filter(u=>!E.has(u));if(l.length!==0)for(const u of l)E.add(u),D(u,t).catch(p=>{A(u,p)})},[o,t]),d.useEffect(()=>{let a=Date.now(),r;const l=new Set,u=()=>{a=Date.now();const m=Fs(n.current.map(i=>i.accountId),l);for(const i of m)l.add(i);Es(m,i=>D(i,t).catch(h=>{A(i,h)}).finally(()=>{l.delete(i)}),{concurrency:Ls})},p=()=>{if(document.visibilityState==="visible"){u(),r=setTimeout(p,C());return}},c=()=>{if(document.visibilityState!=="visible")return;r!==void 0&&clearTimeout(r);const m=Date.now(),i=C(m);if(Ds(m,a,i)){u(),r=setTimeout(p,i);return}r=setTimeout(p,a+i-m)},x=()=>{document.visibilityState==="visible"&&(r!==void 0&&clearTimeout(r),a=Date.now(),r=setTimeout(p,C()))};r=setTimeout(p,C()),document.addEventListener("visibilitychange",c);const f=Ge(x);return()=>{r!==void 0&&clearTimeout(r),document.removeEventListener("visibilitychange",c),f()}},[o,t])};function pt(){const e=ye(),t=K(),n=is(t),{openOverlay:o,intelligenceOpen:a,showOverlay:r,toggleIntelligence:l,raiseIntelligence:u}=Ns(),p=o==="shortcuts",c=o==="nav",{searchInput:x,committedQuery:f,viewKey:m,setSearchInput:i}=xs(),{data:h,isLoading:y,isError:g,error:v,refetch:S}=Se({...je(),staleTime:1/0}),N=!!(h&&(h.accounts?.length??0)===0);d.useEffect(()=>{N&&e({to:"/onboarding",replace:!0})},[N,e]),rs({enabled:!p,bindings:[{key:"?",action:"help",handler:()=>r("shortcuts"),noModifiers:!1,preventDefault:!0}]});const P=O(),B=Ke(),H=M({select:w=>Ne(w.matches)?.list==="mailbox"}),V=d.useMemo(()=>({compose:P}),[P]);Fe({enabled:!H&&!B,handlers:V});const q=d.useCallback(()=>{i("")},[i]),$=d.useCallback(()=>{i("")},[i]),b=h?.accounts??[],G=d.useMemo(()=>b.map(w=>w.accountId),[b]),U=js(b),W=ls(b).index,Y=d.useMemo(()=>Qe(b),[b]);Qs(b);const J=d.useCallback(()=>{o==="nav"&&r(void 0)},[o,r]),X={accounts:b,mailboxNameIndex:U,accountNameIndex:Y,resultFolderIndex:W,searchQuery:f,searchInput:x,searchViewKey:m,onSearchChange:i,onSearchClear:q,onSearchClearQuery:$,intelligenceOpen:a,onToggleIntelligence:l,onRaiseIntelligence:u},Z={isSinglePane:n,isLoading:y||N,intelligenceOpen:a,nav:s.jsx(ts,{accounts:b,onMailboxSelect:J}),topBar:n?void 0:s.jsx(ys,{accounts:b}),overlay:n?s.jsx(gs,{}):void 0,navOpen:c,onOpenNav:()=>r("nav"),onCloseNav:()=>r(void 0)};return s.jsx(Ce.Provider,{value:X,children:s.jsxs(Ye,{accountIds:G,children:[g?s.jsx("div",{className:"flex h-full items-center justify-center bg-canvas p-4",children:s.jsx(as,{title:"Couldn't load your account",error:v,onRetry:()=>{S()}})}):s.jsx(He,{chrome:Z,children:s.jsx(Ie,{})}),s.jsx(Ss,{isOpen:p,onClose:()=>r(void 0)})]})})}export{pt as component,ae as useMailContext};
@@ -1 +1 @@
1
- import{e as c}from"./index-Bp69o_hx.js";const a=c("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const r=c("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);export{a as G,r as M};
1
+ import{e as c}from"./index-_JBKtYXu.js";const a=c("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const r=c("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);export{a as G,r as M};
@@ -1 +1 @@
1
- import{e}from"./index-Bp69o_hx.js";const n=e("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);export{n as M};
1
+ import{e}from"./index-_JBKtYXu.js";const n=e("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);export{n as M};
@@ -1 +1 @@
1
- import{r as i,j as m}from"./index-Bp69o_hx.js";import{u as D,e as b,C as g,c as y}from"./CalendarComposePane-CAOF-nPv.js";import{u as E}from"./CalendarComposeSeed-BQbfPaqp.js";import{u as h,U as x}from"./useCalendars-zHPvsPN-.js";import{u as I,b as w}from"./window-Wb6AhZ1T.js";import"./ErrorState-waTZEVlb.js";import"./calendar-color-DMot25jS.js";function N({onClose:t}){const{date:c}=I(),a=E(),{calendars:d,timeZoneByCalendarId:u}=h(),{createEvent:f,isWriting:p}=D(),[C,r]=i.useState(""),[n,l]=i.useState(()=>{const e=b(a?.date??c,"");return a?{...e,allDay:a.allDay,startTime:a.allDay?"":a.startTime,endTime:a.allDay?"":a.endTime}:e}),s=d[0]?.id??"";i.useEffect(()=>{s!==""&&l(e=>e.calendarId===""?{...e,calendarId:s}:e)},[s]);const v=()=>{const e=y(n,u[n.calendarId]??x);if(!e.ok){r(e.problem);return}f(e.input).then(o=>{if(o.kind==="written"){r(""),t();return}r(o.kind==="conflict"?"This calendar changed while you were writing. Close the form and try again.":o.message)})};return m.jsx(g,{title:"New event",subtitle:n.date,calendars:d,draft:n,onChange:l,problem:C,saveLabel:"Add",isSaving:p,onSave:v,onCancel:t})}function L(){const{closeEvent:t}=w();return m.jsx(N,{onClose:t})}export{L as component};
1
+ import{r as i,j as m}from"./index-_JBKtYXu.js";import{u as D,e as b,C as g,c as y}from"./CalendarComposePane-CsWkzDBi.js";import{u as E}from"./CalendarComposeSeed-udz8ANMw.js";import{u as h,U as x}from"./useCalendars-dRe0PNET.js";import{u as I,b as w}from"./window-CT3glB3e.js";import"./ErrorState-BUi73q43.js";import"./calendar-color-BG7928-_.js";function N({onClose:t}){const{date:c}=I(),a=E(),{calendars:d,timeZoneByCalendarId:u}=h(),{createEvent:f,isWriting:p}=D(),[C,r]=i.useState(""),[n,l]=i.useState(()=>{const e=b(a?.date??c,"");return a?{...e,allDay:a.allDay,startTime:a.allDay?"":a.startTime,endTime:a.allDay?"":a.endTime}:e}),s=d[0]?.id??"";i.useEffect(()=>{s!==""&&l(e=>e.calendarId===""?{...e,calendarId:s}:e)},[s]);const v=()=>{const e=y(n,u[n.calendarId]??x);if(!e.ok){r(e.problem);return}f(e.input).then(o=>{if(o.kind==="written"){r(""),t();return}r(o.kind==="conflict"?"This calendar changed while you were writing. Close the form and try again.":o.message)})};return m.jsx(g,{title:"New event",subtitle:n.date,calendars:d,draft:n,onChange:l,problem:C,saveLabel:"Add",isSaving:p,onSave:v,onCancel:t})}function L(){const{closeEvent:t}=w();return m.jsx(N,{onClose:t})}export{L as component};
@@ -0,0 +1 @@
1
+ import{q as n,h as i,u as a,r as m,j as s}from"./index-_JBKtYXu.js";import{O as p}from"./OnboardingWizard-BJ_im7-I.js";import{c}from"./onboarding-completion-FFjKdakA.js";import"./kbd-CUNCsdLt.js";import"./credential-steps-BPMPrFp_.js";import"./card-CPhaopb5.js";import"./account-form-helpers-DhckT_PN.js";import"./mail-B73P70rO.js";import"./file-json-DhoZdq39.js";function O(){const o=n(),e=i(),t=a(),r=m.useCallback(l=>{c({queryClient:e,recordCompleted:()=>o.recordEvent("onboarding.completed"),navigateToInbox:()=>{window.location.assign("/mail")}})},[o,e]);return s.jsx(p,{skipWelcome:!1,onComplete:r,onImportConfig:()=>{t({to:"/import"})}})}export{O as component};
@@ -1 +1 @@
1
- import{o}from"./index-Bp69o_hx.js";async function n(e){e.recordCompleted(),await e.queryClient.refetchQueries({queryKey:o()}),e.navigateToInbox()}export{n as c};
1
+ import{o}from"./index-_JBKtYXu.js";async function n(e){e.recordCompleted(),await e.queryClient.refetchQueries({queryKey:o()}),e.navigateToInbox()}export{n as c};
@@ -0,0 +1 @@
1
+ import{j as o,O as i}from"./index-_JBKtYXu.js";import{a as m}from"./MailShell-CMOL8AKI.js";import{u as p,O as t}from"./OutboxPane-Dd-mfB0h.js";import{u as s}from"./search-mirror-CJOCjfkC.js";import"./FullCompose-C8dlsR-Q.js";import"./ErrorState-BUi73q43.js";import"./index-CAWCA7kp.js";import"./useMessageBodyContent-ChO4c73P.js";import"./useSignature-CkDxKXxk.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-DYu0unJr.js";import"./sections-Bz1Hz1WB.js";import"./format-C58wplMJ.js";import"./confirm-dialog-C_t09Gva.js";import"./roving-focus-R7ZTRnKj.js";import"./useSearchTokenContext-Du649zXC.js";import"./kbd-CUNCsdLt.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-C-MjzzMN.js";import"./clock-DycMqInq.js";import"./row-actions-BsCd_UKz.js";import"./rotate-ccw-ByXIAEyt.js";import"./NavMenuButton-CVdc16Vd.js";import"./menu-CyMA8ejK.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function w(){const r=p();return s({to:"/mail/outbox"}),o.jsx(t,{outboxMessageId:r,children:o.jsx(m,{phone:o.jsx(t.Phone,{}),list:o.jsx(t.List,{}),reading:o.jsx(i,{})})})}export{w as component};
@@ -1 +1 @@
1
- import{e as a}from"./index-Bp69o_hx.js";const c=a("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);export{c as P};
1
+ import{e as a}from"./index-_JBKtYXu.js";const c=a("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);export{c as P};
@@ -1 +1 @@
1
- import{e}from"./index-Bp69o_hx.js";const t=e("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{t as R};
1
+ import{e}from"./index-_JBKtYXu.js";const t=e("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{t as R};