@remit/web-client-dist 0.0.564 → 0.0.566

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 (168) hide show
  1. package/assets/BriefPane-BSJc4ufm.js +1 -0
  2. package/assets/CalendarComposePane-DAQHpMrQ.js +1 -0
  3. package/assets/{CalendarComposeSeed-DNwuCKpr.js → CalendarComposeSeed-BoJ25Z4n.js} +1 -1
  4. package/assets/{CalendarShell-CGVvcfrA.js → CalendarShell-t1-2Y_Mx.js} +1 -1
  5. package/assets/{EmptyState-BTKm9F6Q.js → EmptyState-aKocWGoA.js} +1 -1
  6. package/assets/ErrorState-LP7AwW_p.js +1 -0
  7. package/assets/FlaggedPane-BBHVAfeU.js +1 -0
  8. package/assets/{FullCompose-AEoBq77L.js → FullCompose-BGRUJh6v.js} +1 -1
  9. package/assets/MailListHeader-sHAZiuvt.js +7 -0
  10. package/assets/MailNav-CJLhcbFk.js +1 -0
  11. package/assets/{MailShell-DX1zBcaU.js → MailShell-1bk-N22N.js} +1 -1
  12. package/assets/MailViewChrome-DXBi4P0H.js +1 -0
  13. package/assets/MailboxPane-DG81nhZp.js +1 -0
  14. package/assets/{NavMenuButton-CgziJeDD.js → NavMenuButton-BfJ2z8-p.js} +1 -1
  15. package/assets/{OnboardingWizard-Cq8ycceQ.js → OnboardingWizard-CmZ01AQi.js} +1 -1
  16. package/assets/OpenCalendarEvent-B7sk8Y9D.js +2 -0
  17. package/assets/OutboxPane-DffQA6-a.js +1 -0
  18. package/assets/_calendarObjectId-CZhe2ZOn.js +1 -0
  19. package/assets/_mailboxId-CeGv_4X5.js +1 -0
  20. package/assets/_messageId-Brtone_a.js +1 -0
  21. package/assets/_messageId-CjcRJFc4.js +1 -0
  22. package/assets/_messageId-CsrcFMPz.js +1 -0
  23. package/assets/_outboxMessageId-Ct60rh-G.js +1 -0
  24. package/assets/_recurrenceId-BEl7wwCo.js +1 -0
  25. package/assets/_threadId-B2k2md9Y.js +1 -0
  26. package/assets/_threadId-B9wrJ2nR.js +1 -0
  27. package/assets/_threadId-C181ZJF2.js +1 -0
  28. package/assets/_view._date-CvsLA6jP.js +1 -0
  29. package/assets/accounts-Bvb71cuD.js +1 -0
  30. package/assets/{advanced-D2ikJQGg.js → advanced-DFF0GBZN.js} +3 -3
  31. package/assets/{appearance-DsXwlVTk.js → appearance-COIu5SBk.js} +1 -1
  32. package/assets/{attachment-file-BRLoj6sG.js → attachment-file-Dpl8hNc0.js} +1 -1
  33. package/assets/{attendee-row-OHoLTo23.js → attendee-row-C4aifNUr.js} +1 -1
  34. package/assets/{avatar-BuUa_-Ae.js → avatar-C4qRFeeX.js} +1 -1
  35. package/assets/{bottom-sheet-BUcSDGQJ.js → bottom-sheet-A__0esXP.js} +1 -1
  36. package/assets/brief-CnRsQwJb.js +1 -0
  37. package/assets/{brief--NWfZGeB.js → brief-e1MDqt0Y.js} +1 -1
  38. package/assets/{browser-ponyfill-C1Yxcmyx.js → browser-ponyfill-DIGDHadX.js} +2 -2
  39. package/assets/{bug-C0Ms2LYI.js → bug-DTaMGe9c.js} +1 -1
  40. package/assets/{calendar-Bx2owKH5.js → calendar-B3bdWTl1.js} +1 -1
  41. package/assets/{calendar-color-PMGOIawE.js → calendar-color-C1HATGvz.js} +1 -1
  42. package/assets/{calendar-event-chip-CX0GIGM0.js → calendar-event-chip-CNYRAKOE.js} +1 -1
  43. package/assets/calendars-DRiWSSoo.js +1 -0
  44. package/assets/{card-Drp0FnU2.js → card-CgowAhQY.js} +1 -1
  45. package/assets/chevron-left-k4hHGFxU.js +1 -0
  46. package/assets/{circle-check-8G_6IWKh.js → circle-check-C6InBO6B.js} +1 -1
  47. package/assets/{circle-check-big-CVRDL2A5.js → circle-check-big-BrbWEiEZ.js} +1 -1
  48. package/assets/{circle-help-Ck_g9Pip.js → circle-help-CXIkMdfH.js} +1 -1
  49. package/assets/{clock-KUoHWkrr.js → clock-Dm6u_ukU.js} +1 -1
  50. package/assets/compose._-_outboxMessageId_-B8MenUoB.js +1 -0
  51. package/assets/compose._-_outboxMessageId_-B_gpxVdz.js +1 -0
  52. package/assets/compose._-_outboxMessageId_-C4Ava6lK.js +1 -0
  53. package/assets/compose._-_outboxMessageId_-DY2D7fpo.js +1 -0
  54. package/assets/{config-import-DJqfxqLZ.js → config-import-CfF4lyQV.js} +1 -1
  55. package/assets/{confirm-dialog-BVXTDPyQ.js → confirm-dialog-CABiCtGp.js} +1 -1
  56. package/assets/{copy-D_J7-xdX.js → copy-BIEy2UO-.js} +1 -1
  57. package/assets/{credential-steps-CuyQQqOh.js → credential-steps-DM1fuM06.js} +1 -1
  58. package/assets/{download-cdI2QZPl.js → download-1tA41rYM.js} +1 -1
  59. package/assets/{file-json-CxdRqoDn.js → file-json-CCwrBIYv.js} +1 -1
  60. package/assets/{filters-CVrzif88.js → filters-BEDbiXL6.js} +1 -1
  61. package/assets/flagged-CtYcd1p3.js +1 -0
  62. package/assets/{flagged-CaNZehgH.js → flagged-KaUU5BlX.js} +1 -1
  63. package/assets/folders-CltOBBCV.js +1 -0
  64. package/assets/{help-copy-CbN-pFZa.js → help-copy-DmIwayFx.js} +1 -1
  65. package/assets/{import-CmBHI3PY.js → import-DXciaSb6.js} +1 -1
  66. package/assets/{index-BsL3dqbS.js → index-2ffnljAr.js} +7 -7
  67. package/assets/{index-BSMLcnNv.js → index-B2JlIrVH.js} +80 -80
  68. package/assets/index-BHbbifX5.js +1 -0
  69. package/assets/index-C1bmRGl4.js +1 -0
  70. package/assets/index-CEbjxa0F.js +1 -0
  71. package/assets/index-CFa_ITEH.js +1 -0
  72. package/assets/index-CjcRJFc4.js +1 -0
  73. package/assets/index-CsrcFMPz.js +1 -0
  74. package/assets/{index-qHz-C81K.js → index-D1lrZZom.js} +1 -1
  75. package/assets/index-DhG8aWpV.js +1 -0
  76. package/assets/index-TiiA2WZz.js +1 -0
  77. package/assets/index-iHWlHwnx.js +1 -0
  78. package/assets/{kbd-MeQzj_AS.js → kbd-TVUw5dQH.js} +1 -1
  79. package/assets/{labels-DIjqFgrM.js → labels-CTevNzRb.js} +1 -1
  80. package/assets/{mail-zfMejK7g.js → mail-BQ0Xqoj_.js} +1 -1
  81. package/assets/mail-DRM5ncN9.js +1 -0
  82. package/assets/{map-pin-DHhEILKJ.js → map-pin-Dc-USzX4.js} +1 -1
  83. package/assets/{menu-D4SB6ohG.js → menu-CTvIK5Qx.js} +1 -1
  84. package/assets/{new-CEVTgWfF.js → new-DV2drXW-.js} +1 -1
  85. package/assets/onboarding-BPSBX3tT.js +1 -0
  86. package/assets/{onboarding-completion-Dr1hm10w.js → onboarding-completion-BhqyiyYl.js} +1 -1
  87. package/assets/outbox-DxSSQPiK.js +1 -0
  88. package/assets/{pencil-BSemJDIl.js → pencil-C__8PZQ-.js} +1 -1
  89. package/assets/{refresh-cw-Bdx0EEOe.js → refresh-cw-CijD9tc5.js} +1 -1
  90. package/assets/{rich-text-C_I7yglD.js → rich-text-DJQbTsPr.js} +15 -15
  91. package/assets/{rich-text-spellcheck-worker-provider-fakJuGkh.js → rich-text-spellcheck-worker-provider-sncBwGVt.js} +1 -1
  92. package/assets/{rotate-ccw-rjesddf9.js → rotate-ccw-BhqDWKvR.js} +1 -1
  93. package/assets/{roving-focus-JRZm8Nsl.js → roving-focus-BWokg8ha.js} +1 -1
  94. package/assets/{row-actions-BAj0uoQs.js → row-actions-CdfQhGZT.js} +1 -1
  95. package/assets/{search-mirror-CD8ms6aC.js → search-mirror-B1Zf9cCU.js} +1 -1
  96. package/assets/search-token-index-27XVZbA6.js +1 -0
  97. package/assets/{sections-B3k1IUqe.js → sections-Clno-i5j.js} +1 -1
  98. package/assets/senders-ClVGlZzf.js +1 -0
  99. package/assets/settings-CYdqGIm_.js +1 -0
  100. package/assets/{settings-screen-CX00GQZz.js → settings-screen-X-U5v_Fa.js} +1 -1
  101. package/assets/{shield-check-B34-2hLP.js → shield-check-BGc8_VeV.js} +1 -1
  102. package/assets/suggested-vips-B5a-Xv9j.js +1 -0
  103. package/assets/{useCalendarData-BtwJetQk.js → useCalendarData-CrF9X78_.js} +1 -1
  104. package/assets/{useCalendars-D7gapaJ1.js → useCalendars-Dzvxbs9C.js} +1 -1
  105. package/assets/{useDebouncedValue--1NwWG_J.js → useDebouncedValue-B2LCK_pq.js} +1 -1
  106. package/assets/{useFilters-BYL5dTX8.js → useFilters-A9SedagU.js} +1 -1
  107. package/assets/{useLabels-BTBI_l7Q.js → useLabels-5zE8gASV.js} +1 -1
  108. package/assets/{useLayoutTier-C5sdkyR7.js → useLayoutTier-DcOqI0AI.js} +1 -1
  109. package/assets/{useMessageBodyContent-BuyQJK-3.js → useMessageBodyContent-D2Bi044R.js} +1 -1
  110. package/assets/{useQueries-hzIIiVUF.js → useQueries-Cf2uvzGz.js} +1 -1
  111. package/assets/useRefreshControl-C7RXJa78.js +1 -0
  112. package/assets/{useResultFolderIndex-DfM23jXb.js → useResultFolderIndex-DjdYfjMq.js} +1 -1
  113. package/assets/{useSearchTokenContext-BOZY3WZQ.js → useSearchTokenContext-C0dIvEKK.js} +3 -3
  114. package/assets/useSemanticSearch-DyTFmiDr.js +1 -0
  115. package/assets/{useSignature-B3bSZUlR.js → useSignature-KOdqyay3.js} +1 -1
  116. package/assets/{window-ZjseaC3I.js → window-C_72cp1d.js} +1 -1
  117. package/index.html +1 -1
  118. package/package.json +1 -1
  119. package/assets/BriefPane-DojIZDdy.js +0 -1
  120. package/assets/CalendarComposePane-B3fOrTrG.js +0 -1
  121. package/assets/ErrorState-jZhKH-Aj.js +0 -1
  122. package/assets/FlaggedPane-Gh0sDSpK.js +0 -1
  123. package/assets/MailListHeader-CP5Mrq7I.js +0 -7
  124. package/assets/MailNav-_b1NBnYa.js +0 -1
  125. package/assets/MailViewChrome-WyEJa7LW.js +0 -1
  126. package/assets/MailboxPane-B0QAN8MQ.js +0 -1
  127. package/assets/OpenCalendarEvent-CWAwJawV.js +0 -2
  128. package/assets/OutboxPane-CQ3uaHpb.js +0 -1
  129. package/assets/_calendarObjectId-CCinxQsA.js +0 -1
  130. package/assets/_mailboxId-BLTbspU-.js +0 -1
  131. package/assets/_messageId-BdFNsbyK.js +0 -1
  132. package/assets/_messageId-DGh1GohX.js +0 -1
  133. package/assets/_messageId-Rx6VPRb8.js +0 -1
  134. package/assets/_outboxMessageId-Ds-AxAdc.js +0 -1
  135. package/assets/_recurrenceId-CnuWP_v3.js +0 -1
  136. package/assets/_threadId-14e9BvEq.js +0 -1
  137. package/assets/_threadId-CaHK3QT7.js +0 -1
  138. package/assets/_threadId-zRV3tTyF.js +0 -1
  139. package/assets/_view._date-CzvdNpZJ.js +0 -1
  140. package/assets/accounts-BZE9IR6B.js +0 -1
  141. package/assets/brief-BzLBKBJb.js +0 -1
  142. package/assets/calendars-CJ1pdgeL.js +0 -1
  143. package/assets/chevron-left-BW6j5W1b.js +0 -1
  144. package/assets/compose._-_outboxMessageId_-BT5t9O9p.js +0 -1
  145. package/assets/compose._-_outboxMessageId_-DVisJU-4.js +0 -1
  146. package/assets/compose._-_outboxMessageId_-PDyjMj_y.js +0 -1
  147. package/assets/compose._-_outboxMessageId_-kk1Oxbpv.js +0 -1
  148. package/assets/flagged-DgBi4zNy.js +0 -1
  149. package/assets/folders-D6pNCcVN.js +0 -1
  150. package/assets/format-bkonYesy.js +0 -1
  151. package/assets/index-B5pFel5d.js +0 -1
  152. package/assets/index-BeGGBd6V.js +0 -1
  153. package/assets/index-CRC7JV7N.js +0 -1
  154. package/assets/index-CdtVuvhW.js +0 -1
  155. package/assets/index-CwgKXaQc.js +0 -1
  156. package/assets/index-CyAwBGa1.js +0 -1
  157. package/assets/index-DGh1GohX.js +0 -1
  158. package/assets/index-DIINe8ie.js +0 -1
  159. package/assets/index-aVEEHAqm.js +0 -1
  160. package/assets/mail-DNGMGkWt.js +0 -1
  161. package/assets/onboarding-CHzcHHo-.js +0 -1
  162. package/assets/outbox-BQPbQr6w.js +0 -1
  163. package/assets/search-token-index-srRTXc29.js +0 -1
  164. package/assets/senders-BorZpOXg.js +0 -1
  165. package/assets/settings-BV8meyD4.js +0 -1
  166. package/assets/suggested-vips-C60kF2rS.js +0 -1
  167. package/assets/useRefreshControl-D15eEjeE.js +0 -1
  168. package/assets/useSemanticSearch-DT9Nt957.js +0 -1
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-B2JlIrVH.js";import{B as o}from"./BriefPane-BSJc4ufm.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-sHAZiuvt.js";import"./roving-focus-BWokg8ha.js";import"./search-token-index-27XVZbA6.js";import"./useLayoutTier-DcOqI0AI.js";import"./useQueries-Cf2uvzGz.js";import"./attachment-file-Dpl8hNc0.js";import"./mail-BQ0Xqoj_.js";import"./avatar-C4qRFeeX.js";import"./index-2ffnljAr.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./EmptyState-aKocWGoA.js";import"./ErrorState-LP7AwW_p.js";import"./download-1tA41rYM.js";import"./calendar-event-chip-CNYRAKOE.js";import"./calendar-color-C1HATGvz.js";import"./map-pin-Dc-USzX4.js";import"./attendee-row-C4aifNUr.js";import"./clock-Dm6u_ukU.js";import"./shield-check-BGc8_VeV.js";import"./useFilters-A9SedagU.js";import"./confirm-dialog-CABiCtGp.js";import"./menu-CTvIK5Qx.js";import"./useRefreshControl-C7RXJa78.js";import"./circle-check-big-BrbWEiEZ.js";import"./refresh-cw-CijD9tc5.js";import"./useSemanticSearch-DyTFmiDr.js";import"./useLabels-5zE8gASV.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function M(){return r.jsx(o.Reading,{})}export{M as component};
@@ -0,0 +1 @@
1
+ import{eI as o,j as r}from"./index-B2JlIrVH.js";import{O as m}from"./OpenCalendarEvent-B7sk8Y9D.js";import"./CalendarComposePane-DAQHpMrQ.js";import"./window-C_72cp1d.js";import"./ErrorState-LP7AwW_p.js";import"./calendar-color-C1HATGvz.js";import"./attendee-row-C4aifNUr.js";import"./avatar-C4qRFeeX.js";import"./clock-Dm6u_ukU.js";import"./map-pin-Dc-USzX4.js";import"./mail-BQ0Xqoj_.js";import"./pencil-C__8PZQ-.js";import"./useCalendars-Dzvxbs9C.js";import"./useCalendarData-CrF9X78_.js";import"./useQueries-Cf2uvzGz.js";function R(){const{calendarObjectId:t}=o.useParams();return r.jsx(m,{calendarObjectId:t})}export{R as component};
@@ -0,0 +1 @@
1
+ import{j as o}from"./index-B2JlIrVH.js";import{O as t}from"./OutboxPane-DffQA6-a.js";import"./roving-focus-BWokg8ha.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-BrbWEiEZ.js";import"./clock-Dm6u_ukU.js";import"./row-actions-CdfQhGZT.js";import"./rotate-ccw-BhqDWKvR.js";import"./NavMenuButton-BfJ2z8-p.js";import"./menu-CTvIK5Qx.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function c(){return o.jsx(t.Reading,{})}export{c as component};
@@ -0,0 +1 @@
1
+ import{j as o}from"./index-B2JlIrVH.js";import{M as r}from"./MailboxPane-DG81nhZp.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-C7RXJa78.js";import"./circle-check-big-BrbWEiEZ.js";import"./refresh-cw-CijD9tc5.js";import"./useQueries-Cf2uvzGz.js";import"./MailListHeader-sHAZiuvt.js";import"./roving-focus-BWokg8ha.js";import"./search-token-index-27XVZbA6.js";import"./useLayoutTier-DcOqI0AI.js";import"./attachment-file-Dpl8hNc0.js";import"./mail-BQ0Xqoj_.js";import"./avatar-C4qRFeeX.js";import"./index-2ffnljAr.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./EmptyState-aKocWGoA.js";import"./ErrorState-LP7AwW_p.js";import"./download-1tA41rYM.js";import"./calendar-event-chip-CNYRAKOE.js";import"./calendar-color-C1HATGvz.js";import"./map-pin-Dc-USzX4.js";import"./attendee-row-C4aifNUr.js";import"./clock-Dm6u_ukU.js";import"./shield-check-BGc8_VeV.js";import"./useFilters-A9SedagU.js";import"./confirm-dialog-CABiCtGp.js";import"./menu-CTvIK5Qx.js";import"./MailViewChrome-DXBi4P0H.js";import"./NavMenuButton-BfJ2z8-p.js";import"./useLabels-5zE8gASV.js";import"./useSemanticSearch-DyTFmiDr.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-A__0esXP.js";import"./circle-help-CXIkMdfH.js";import"./circle-check-C6InBO6B.js";function Q(){return o.jsx(r.Reading,{})}export{Q as component};
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-B2JlIrVH.js";import{B as o}from"./BriefPane-BSJc4ufm.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-sHAZiuvt.js";import"./roving-focus-BWokg8ha.js";import"./search-token-index-27XVZbA6.js";import"./useLayoutTier-DcOqI0AI.js";import"./useQueries-Cf2uvzGz.js";import"./attachment-file-Dpl8hNc0.js";import"./mail-BQ0Xqoj_.js";import"./avatar-C4qRFeeX.js";import"./index-2ffnljAr.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./EmptyState-aKocWGoA.js";import"./ErrorState-LP7AwW_p.js";import"./download-1tA41rYM.js";import"./calendar-event-chip-CNYRAKOE.js";import"./calendar-color-C1HATGvz.js";import"./map-pin-Dc-USzX4.js";import"./attendee-row-C4aifNUr.js";import"./clock-Dm6u_ukU.js";import"./shield-check-BGc8_VeV.js";import"./useFilters-A9SedagU.js";import"./confirm-dialog-CABiCtGp.js";import"./menu-CTvIK5Qx.js";import"./useRefreshControl-C7RXJa78.js";import"./circle-check-big-BrbWEiEZ.js";import"./refresh-cw-CijD9tc5.js";import"./useSemanticSearch-DyTFmiDr.js";import"./useLabels-5zE8gASV.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function L(){return r.jsx(o.Reading,{})}export{L as component};
@@ -0,0 +1 @@
1
+ import{j as o}from"./index-B2JlIrVH.js";import{F as r}from"./FlaggedPane-BBHVAfeU.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-sHAZiuvt.js";import"./roving-focus-BWokg8ha.js";import"./search-token-index-27XVZbA6.js";import"./useLayoutTier-DcOqI0AI.js";import"./useQueries-Cf2uvzGz.js";import"./attachment-file-Dpl8hNc0.js";import"./mail-BQ0Xqoj_.js";import"./avatar-C4qRFeeX.js";import"./index-2ffnljAr.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./EmptyState-aKocWGoA.js";import"./ErrorState-LP7AwW_p.js";import"./download-1tA41rYM.js";import"./calendar-event-chip-CNYRAKOE.js";import"./calendar-color-C1HATGvz.js";import"./map-pin-Dc-USzX4.js";import"./attendee-row-C4aifNUr.js";import"./clock-Dm6u_ukU.js";import"./shield-check-BGc8_VeV.js";import"./useFilters-A9SedagU.js";import"./confirm-dialog-CABiCtGp.js";import"./menu-CTvIK5Qx.js";import"./MailViewChrome-DXBi4P0H.js";import"./refresh-cw-CijD9tc5.js";import"./wizard-selection-DxUM65kM.js";function H(){return o.jsx(r.Reading,{})}export{H as component};
@@ -1 +1 @@
1
- import{j as e,V as a}from"./index-BSMLcnNv.js";import{E as s}from"./EmptyState-BTKm9F6Q.js";function r(){return e.jsx("div",{className:"flex h-full items-center justify-center bg-surface",children:e.jsx(s,{message:"Pick an event to read it here.",icon:e.jsx(a,{className:"size-8"})})})}export{r as component};
1
+ import{j as e,Y as a}from"./index-B2JlIrVH.js";import{E as s}from"./EmptyState-aKocWGoA.js";function r(){return e.jsx("div",{className:"flex h-full items-center justify-center bg-surface",children:e.jsx(s,{message:"Pick an event to read it here.",icon:e.jsx(a,{className:"size-8"})})})}export{r as component};
@@ -0,0 +1 @@
1
+ import{j as o}from"./index-B2JlIrVH.js";import{F as r}from"./FlaggedPane-BBHVAfeU.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-sHAZiuvt.js";import"./roving-focus-BWokg8ha.js";import"./search-token-index-27XVZbA6.js";import"./useLayoutTier-DcOqI0AI.js";import"./useQueries-Cf2uvzGz.js";import"./attachment-file-Dpl8hNc0.js";import"./mail-BQ0Xqoj_.js";import"./avatar-C4qRFeeX.js";import"./index-2ffnljAr.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./EmptyState-aKocWGoA.js";import"./ErrorState-LP7AwW_p.js";import"./download-1tA41rYM.js";import"./calendar-event-chip-CNYRAKOE.js";import"./calendar-color-C1HATGvz.js";import"./map-pin-Dc-USzX4.js";import"./attendee-row-C4aifNUr.js";import"./clock-Dm6u_ukU.js";import"./shield-check-BGc8_VeV.js";import"./useFilters-A9SedagU.js";import"./confirm-dialog-CABiCtGp.js";import"./menu-CTvIK5Qx.js";import"./MailViewChrome-DXBi4P0H.js";import"./refresh-cw-CijD9tc5.js";import"./wizard-selection-DxUM65kM.js";function I(){return o.jsx(r.Reading,{})}export{I as component};
@@ -0,0 +1 @@
1
+ import{j as o}from"./index-B2JlIrVH.js";import{M as i}from"./MailboxPane-DG81nhZp.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./useMessageBodyContent-D2Bi044R.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-C7RXJa78.js";import"./circle-check-big-BrbWEiEZ.js";import"./refresh-cw-CijD9tc5.js";import"./useQueries-Cf2uvzGz.js";import"./MailListHeader-sHAZiuvt.js";import"./roving-focus-BWokg8ha.js";import"./search-token-index-27XVZbA6.js";import"./useLayoutTier-DcOqI0AI.js";import"./attachment-file-Dpl8hNc0.js";import"./mail-BQ0Xqoj_.js";import"./avatar-C4qRFeeX.js";import"./index-2ffnljAr.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./EmptyState-aKocWGoA.js";import"./ErrorState-LP7AwW_p.js";import"./download-1tA41rYM.js";import"./calendar-event-chip-CNYRAKOE.js";import"./calendar-color-C1HATGvz.js";import"./map-pin-Dc-USzX4.js";import"./attendee-row-C4aifNUr.js";import"./clock-Dm6u_ukU.js";import"./shield-check-BGc8_VeV.js";import"./useFilters-A9SedagU.js";import"./confirm-dialog-CABiCtGp.js";import"./menu-CTvIK5Qx.js";import"./MailViewChrome-DXBi4P0H.js";import"./NavMenuButton-BfJ2z8-p.js";import"./useLabels-5zE8gASV.js";import"./useSemanticSearch-DyTFmiDr.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-A__0esXP.js";import"./circle-help-CXIkMdfH.js";import"./circle-check-C6InBO6B.js";function S(){return o.jsx(i.Reading,{})}export{S as component};
@@ -0,0 +1 @@
1
+ import{j as t,ao as o}from"./index-B2JlIrVH.js";const n=()=>t.jsx(o,{to:"/settings/accounts"});export{n as component};
@@ -1 +1 @@
1
- import{j as n,t as s}from"./index-BSMLcnNv.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-B2JlIrVH.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,ay as h,bk as y,ax as b,bI as g,f as v,a2 as N,u as C,c as L,d as I,aK as D,aM as S,B as w}from"./index-BSMLcnNv.js";import{C as E}from"./confirm-dialog-BVXTDPyQ.js";import{S as $}from"./settings-screen-CX00GQZz.js";import{E as j}from"./ErrorState-jZhKH-Aj.js";import{a as k,b as T,c as R,u as O}from"./useLabels-BTBI_l7Q.js";import"./avatar-BuUa_-Ae.js";import"./chevron-left-BW6j5W1b.js";import"./menu-D4SB6ohG.js";import"./circle-help-Ck_g9Pip.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.`}},_=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 H({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 M({account:l}){const i=l.accountId,{labels:n,isPending:m,isError:c,error:u,refetch:r}=k(i),{updateLabel:o}=T(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(H,{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 J(){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:_,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(M,{account:t},t.accountId))})})}export{J as component};
1
+ import{r as f,j as e,aA as h,bo as y,az as b,bM as g,f as v,a4 as N,u as C,c as L,d as I,aM as D,aO as S,B as w}from"./index-B2JlIrVH.js";import{C as E}from"./confirm-dialog-CABiCtGp.js";import{S as $}from"./settings-screen-X-U5v_Fa.js";import{E as j}from"./ErrorState-LP7AwW_p.js";import{a as T,b as k,c as R,u as O}from"./useLabels-5zE8gASV.js";import"./avatar-C4qRFeeX.js";import"./chevron-left-k4hHGFxU.js";import"./menu-CTvIK5Qx.js";import"./circle-help-CXIkMdfH.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.`}},M=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 J(){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:M,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{J as component};
@@ -1 +1 @@
1
- import{e}from"./index-BSMLcnNv.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-B2JlIrVH.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};
@@ -0,0 +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 u,y as P,z as ne,A as oe,C as ae,h as Q,D as re,E as ie,F as ce,G as le,H as ue,J as de,X as me,K as pe,a as he,b as fe,M as xe,N as ge,P as ve,Q as be,R as ye,S as Se,T as je,u as Ce,c as Ie,d as Ne,U as we,O as Me,V as Ee}from"./index-B2JlIrVH.js";import{S as Oe,D as Re,a as Pe,b as Te,u as ke,s as Le,K as Ae,c as De,d as Fe,e as Qe,f as Ke}from"./search-token-index-27XVZbA6.js";import{u as O,a as _e}from"./useMessageBodyContent-D2Bi044R.js";import{P as ze}from"./pencil-C__8PZQ-.js";import{c as Be,s as He,M as Ve}from"./MailShell-1bk-N22N.js";import{u as qe,a as $e,R as Ge,s as Ue,i as We,H as Ye,M as Je}from"./useRefreshControl-C7RXJa78.js";import{M as Xe}from"./menu-CTvIK5Qx.js";import{B as Ze}from"./bug-DTaMGe9c.js";import{S as es,A as ss,L as ts,M as ns}from"./MailNav-CJLhcbFk.js";import{A as os}from"./avatar-C4qRFeeX.js";import{u as as}from"./sections-Clno-i5j.js";import{E as rs}from"./ErrorState-LP7AwW_p.js";import{K as T}from"./kbd-TVUw5dQH.js";import{u as is}from"./index-2ffnljAr.js";import{u as K,i as cs}from"./useLayoutTier-DcOqI0AI.js";import{u as ls}from"./useQueries-Cf2uvzGz.js";import{u as us}from"./useResultFolderIndex-DjdYfjMq.js";import{u as ds}from"./useDebouncedValue-B2LCK_pq.js";import"./search-scope-B5-OK3Cq.js";import"./FullCompose-BGRUJh6v.js";import"./confirm-dialog-CABiCtGp.js";import"./circle-check-big-BrbWEiEZ.js";import"./refresh-cw-CijD9tc5.js";import"./roving-focus-BWokg8ha.js";import"./outbox-status-BlKn6P0x.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";const ms=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 ps({leading:e,search:t,actions:n,className:a}){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",a),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 hs(){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(Xe,{className:"size-4"}),onClick:e.toggleNav,"aria-label":t?"Hide folders":"Show folders","aria-expanded":t,title:"Folders",className:"shrink-0"})}const fs={global:"Search all mail",pending:"Search mail",scoped:"Search this folder"};function xs({search:e,onCompose:t,onReportBug:n,onOpenSettings:a,composeShortcut:o,refreshControl:r,account:c}){return s.jsx(ps,{leading:s.jsx(hs,{}),search:s.jsx(Oe,{value:e.value,onChange:e.onChange,onClear:e.onClear,onClearQuery:e.onClearQuery,chips:e.chips,onRemoveChip:e.onRemoveChip,placeholder:fs[e.scope]}),actions:s.jsxs(s.Fragment,{children:[s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(ms,{className:"size-4"}),title:o?`Compose (${o})`:"Compose","aria-label":"Compose",onClick:t}),s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(Ze,{className:"size-4"}),title:"Report a bug","aria-label":"Report a bug",onClick:n}),s.jsx(I,{variant:"ghost",size:"sm",icon:s.jsx(es,{className:"size-4"}),title:"Settings","aria-label":"Settings",onClick:a}),r,c]})})}function gs(){const e=te(),t=M({select:l=>P(l.location.pathname)}),n=M({select:l=>ne(l.location.search)}),[a,o]=u.useState(n),r=ds(a,200),[c,d]=u.useState(t);if(c!==t){const l=He(c,t,n);d(t),l!==void 0&&o(l)}const p=u.useCallback(l=>{d(P(e.state.location.pathname)),o(l)},[e]);return{searchInput:a,committedQuery:Be(a,r),viewKey:t,setSearchInput:p}}const vs=()=>{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(ze,{className:"size-6"})})},bs=({email:e,onSignOut:t})=>{const n=e??"Account";return s.jsxs(Re,{trigger:s.jsx(os,{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(Pe,{})]}),s.jsxs(Te,{onClick:t,children:[s.jsx(ts,{className:"size-4"}),"Sign out"]})]})},ys=()=>s.jsx(ss,{children:({email:e,signOut:t})=>s.jsx(bs,{email:e,onSignOut:t})});function Ss({accounts:e}){const{searchInput:t,onSearchChange:n,onSearchClear:a,onSearchClearQuery:o,resultFolderIndex:r}=ae(),c=Q(),d=as(),p=O(),{scope:l,clearScope:x}=ke(e),f=l.kind==="scoped"?[{id:l.chip.id,label:l.chip.label,tone:"scope"}]:void 0,m=u.useMemo(()=>e.map(v=>v.accountId),[e]),{hasNewMail:i}=qe(),{state:h,errorMessage:y,refresh:g}=$e(m,{onSettled:()=>ie(c,ce(r.keys()))});return s.jsx(xs,{search:{value:t,scope:l.kind,chips:f,onChange:n,onClear:a,onClearQuery:o,onRemoveChip:x},onCompose:p,onReportBug:re,onOpenSettings:()=>d("accounts"),composeShortcut:Le("compose"),refreshControl:s.jsx(Ge,{state:h,onRefresh:g,label:"Refresh all accounts",errorMessage:y,hasUpdate:i(m)}),account:s.jsx(ys,{})})}const js=({isOpen:e,onClose:t})=>{const n=u.useRef(null);return le({id:"shortcuts",open:e,answers:{back:t}}),ue(n,e),e?s.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[s.jsx(de,{label:"Dismiss keyboard shortcuts",onDismiss:t,className:"backdrop-blur-sm"}),s.jsxs("div",{ref:n,role:"dialog","aria-modal":"true","aria-label":"Keyboard shortcuts",tabIndex:-1,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(me,{className:"size-5"})})]}),s.jsx("div",{className:"grid gap-x-8 gap-y-6 sm:grid-cols-2",children:Ae.map(a=>s.jsxs("div",{children:[s.jsx("h3",{className:"mb-3 text-sm font-medium text-fg-muted",children:a.title}),s.jsx("div",{className:"space-y-2",children:a.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((r,c)=>s.jsxs(u.Fragment,{children:[c>0&&o.keys[0]==="g"&&s.jsx("span",{className:"text-2xs text-fg-subtle",children:"then"}),s.jsx(T,{children:r})]},r))})]},`${o.action}-${o.keys.join("+")}`))})]},a.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(T,{children:"Esc"})," to close"]})})]})]}):null};function Cs(e){const t=ls({queries:e.map(n=>({...pe({path:{accountId:n.accountId}}),staleTime:1/0}))});return u.useMemo(()=>De(t.map(n=>n.data?.items??[])),[t])}const _="remit:intelligence-open";function Is(){try{return localStorage.getItem(_)!=="closed"}catch{return!0}}function Ns(e){try{localStorage.setItem(_,e?"open":"closed")}catch{}}function k({panels:e,prefersOpen:t,isDesktop:n,hasThread:a,raisedFor:o,openMessage:r}){return o!==null&&o===r?!0:e.length>0?e.includes("intelligence"):n&&a&&t}const ws=()=>{const e=K(),t=he(),n=fe(),a=t.find(xe),o=Fe(),[r,c]=u.useState(Is),d=o?`${o.threadId}/${o.messageId??""}`:null,[p,l]=u.useState(null),x={panels:t,prefersOpen:r,isDesktop:e==="desktop",hasThread:o!==void 0,openMessage:d},f=k({...x,raisedFor:p}),m=k({...x,raisedFor:null}),i=u.useCallback((v,S)=>{n([...v?["intelligence"]:[],...S?[S]:[]])},[n]),h=u.useCallback(v=>{i(m,v)},[m,i]),y=u.useCallback(()=>{if(f&&!m){l(null);return}const v=!f;Ns(v),c(v),l(null),i(v,a)},[m,f,a,i]),g=u.useCallback(()=>{l(d)},[d]);return{openOverlay:a,intelligenceOpen:f,showOverlay:h,toggleIntelligence:y,raiseIntelligence:g}};var j={exports:{}},L;function Ms(){if(L)return j.exports;L=1;const e=(t,n,a)=>new Promise((o,r)=>{if(a=Object.assign({concurrency:1/0},a),typeof n!="function")throw new TypeError("Mapper function is required");const{concurrency:c}=a;if(!(typeof c=="number"&&c>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${c}\` (${typeof c})`);const d=[],p=t[Symbol.iterator]();let l=!1,x=!1,f=0,m=0;const i=()=>{if(l)return;const h=p.next(),y=m;if(m++,h.done){x=!0,f===0&&o(d);return}f++,Promise.resolve(h.value).then(g=>n(g,y)).then(g=>{d[y]=g,f--,i()},g=>{l=!0,r(g)})};for(let h=0;h<c&&(i(),!x);h++);});return j.exports=e,j.exports.default=e,j.exports}var Es=Ms();const Os=ge(Es),Rs=900*1e3,Ps=30,Ts=(e,t)=>{if(!e)return t;const n=Number.parseInt(e,10);return Number.isFinite(n)&&n>0?n:t},ks=30*1e3,Ls=e=>Math.max(Ts(e,Ps)*1e3,ks),z=Ls(je().mailboxPollIntervalSeconds),C=(e=Date.now(),t=z)=>We(e)?Math.min(Ye,t):t,As=5,E=new Set,Ds=(e,t,n=Rs)=>e.filter(a=>{const o=a.lastSyncAt;return o==null?!0:t-o>n}).map(a=>a.accountId),Fs=(e,t,n=z)=>e-t>=n,Qs=(e,t)=>e.filter(n=>!t.has(n)),A=(e,t)=>{if(E.delete(e),ye(t,{softError:!0},"nobody")){Se(t);return}console.warn("[remit] background mailbox sync failed",{accountId:e,error:t})},D=(e,t)=>ve({path:{accountId:e},throwOnError:!0}).then(()=>{t.invalidateQueries({queryKey:be({path:{accountId:e}})})}),Ks=e=>{const t=Q(),n=u.useRef(e);n.current=e;const a=e.map(o=>o.accountId).join(",");u.useEffect(()=>{const o=Date.now(),c=Ds(n.current,o).filter(d=>!E.has(d));if(c.length!==0)for(const d of c)E.add(d),D(d,t).catch(p=>{A(d,p)})},[a,t]),u.useEffect(()=>{let o=Date.now(),r;const c=new Set,d=()=>{o=Date.now();const m=Qs(n.current.map(i=>i.accountId),c);for(const i of m)c.add(i);Os(m,i=>D(i,t).catch(h=>{A(i,h)}).finally(()=>{c.delete(i)}),{concurrency:As})},p=()=>{if(document.visibilityState==="visible"){d(),r=setTimeout(p,C());return}},l=()=>{if(document.visibilityState!=="visible")return;r!==void 0&&clearTimeout(r);const m=Date.now(),i=C(m);if(Fs(m,o,i)){d(),r=setTimeout(p,i);return}r=setTimeout(p,o+i-m)},x=()=>{document.visibilityState==="visible"&&(r!==void 0&&clearTimeout(r),o=Date.now(),r=setTimeout(p,C()))};r=setTimeout(p,C()),document.addEventListener("visibilitychange",l);const f=Ue(x);return()=>{r!==void 0&&clearTimeout(r),document.removeEventListener("visibilitychange",l),f()}},[a,t])};function pt(){const e=Ce(),t=K(),n=cs(t),{openOverlay:a,intelligenceOpen:o,showOverlay:r,toggleIntelligence:c,raiseIntelligence:d}=ws(),p=a==="shortcuts",l=a==="nav",{searchInput:x,committedQuery:f,viewKey:m,setSearchInput:i}=gs(),{data:h,isLoading:y,isError:g,error:v,refetch:S}=Ie({...Ne(),staleTime:1/0}),N=!!(h&&(h.accounts?.length??0)===0);u.useEffect(()=>{N&&e({to:"/onboarding",replace:!0})},[N,e]),is({enabled:!p,bindings:[{key:"?",action:"help",handler:()=>r("shortcuts"),noModifiers:!1,preventDefault:!0}]});const R=O(),B=_e(),H=M({select:w=>Ee(w.matches)?.list==="mailbox"}),V=u.useMemo(()=>({compose:R}),[R]);Qe({enabled:!H&&!B,handlers:V});const q=u.useCallback(()=>{i("")},[i]),$=u.useCallback(()=>{i("")},[i]),b=h?.accounts??[],G=u.useMemo(()=>b.map(w=>w.accountId),[b]),U=Cs(b),W=us(b).index,Y=u.useMemo(()=>Ke(b),[b]);Ks(b);const J=u.useCallback(()=>{a==="nav"&&r(void 0)},[a,r]),X={accounts:b,mailboxNameIndex:U,accountNameIndex:Y,resultFolderIndex:W,searchQuery:f,searchInput:x,searchViewKey:m,onSearchChange:i,onSearchClear:q,onSearchClearQuery:$,intelligenceOpen:o,onToggleIntelligence:c,onRaiseIntelligence:d},Z={isSinglePane:n,isLoading:y||N,intelligenceOpen:o,nav:s.jsx(ns,{accounts:b,onMailboxSelect:J}),topBar:n?void 0:s.jsx(Ss,{accounts:b}),overlay:n?s.jsx(vs,{}):void 0,navOpen:l,onOpenNav:()=>r("nav"),onCloseNav:()=>r(void 0)};return s.jsx(we.Provider,{value:X,children:s.jsxs(Je,{accountIds:G,children:[g?s.jsx("div",{className:"flex h-full items-center justify-center bg-canvas p-4",children:s.jsx(rs,{title:"Couldn't load your account",error:v,onRetry:()=>{S()}})}):s.jsx(Ve,{chrome:Z,children:s.jsx(Me,{})}),s.jsx(js,{isOpen:p,onClose:()=>r(void 0)})]})})}export{pt as component,ae as useMailContext};
@@ -1 +1 @@
1
- import{e as c}from"./index-BSMLcnNv.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-B2JlIrVH.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-BSMLcnNv.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-B2JlIrVH.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-BSMLcnNv.js";import{u as D,e as b,C as g,c as y}from"./CalendarComposePane-B3fOrTrG.js";import{u as E}from"./CalendarComposeSeed-DNwuCKpr.js";import{u as h,U as x}from"./useCalendars-D7gapaJ1.js";import{u as I,b as w}from"./window-ZjseaC3I.js";import"./ErrorState-jZhKH-Aj.js";import"./calendar-color-PMGOIawE.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-B2JlIrVH.js";import{u as D,e as b,C as g,c as y}from"./CalendarComposePane-DAQHpMrQ.js";import{u as E}from"./CalendarComposeSeed-BoJ25Z4n.js";import{u as h,U as x}from"./useCalendars-Dzvxbs9C.js";import{u as I,b as w}from"./window-C_72cp1d.js";import"./ErrorState-LP7AwW_p.js";import"./calendar-color-C1HATGvz.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-B2JlIrVH.js";import{O as p}from"./OnboardingWizard-CmZ01AQi.js";import{c}from"./onboarding-completion-BhqyiyYl.js";import"./kbd-TVUw5dQH.js";import"./credential-steps-DM1fuM06.js";import"./card-CgowAhQY.js";import"./account-form-helpers-DhckT_PN.js";import"./mail-BQ0Xqoj_.js";import"./file-json-CCwrBIYv.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-BSMLcnNv.js";async function n(e){e.recordCompleted(),await e.queryClient.refetchQueries({queryKey:o()}),e.navigateToInbox()}export{n as c};
1
+ import{o}from"./index-B2JlIrVH.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-B2JlIrVH.js";import{a as m}from"./MailShell-1bk-N22N.js";import{u as p,O as t}from"./OutboxPane-DffQA6-a.js";import{u as s}from"./search-mirror-B1Zf9cCU.js";import"./FullCompose-BGRUJh6v.js";import"./ErrorState-LP7AwW_p.js";import"./index-2ffnljAr.js";import"./useMessageBodyContent-D2Bi044R.js";import"./useSignature-KOdqyay3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B2LCK_pq.js";import"./sections-Clno-i5j.js";import"./confirm-dialog-CABiCtGp.js";import"./roving-focus-BWokg8ha.js";import"./useSearchTokenContext-C0dIvEKK.js";import"./kbd-TVUw5dQH.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-BrbWEiEZ.js";import"./clock-Dm6u_ukU.js";import"./row-actions-CdfQhGZT.js";import"./rotate-ccw-BhqDWKvR.js";import"./NavMenuButton-BfJ2z8-p.js";import"./menu-CTvIK5Qx.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function v(){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{v as component};
@@ -1 +1 @@
1
- import{e as a}from"./index-BSMLcnNv.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-B2JlIrVH.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-BSMLcnNv.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-B2JlIrVH.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};