@nylas/react 1.1.2 → 1.1.4

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 (172) hide show
  1. package/dist/add-circle-icon_2.entry-6753bd65.js +25 -0
  2. package/dist/add-circle-icon_2.entry-cd9a7f37.cjs +1 -0
  3. package/dist/archive-icon.entry-434d1696.js +15 -0
  4. package/dist/archive-icon.entry-7cb1c265.cjs +1 -0
  5. package/dist/arrow-icon.entry-20b50784.js +15 -0
  6. package/dist/{arrow-icon.entry-a924df13.cjs → arrow-icon.entry-83c3105b.cjs} +1 -1
  7. package/dist/bold-icon.entry-0e3d84e1.cjs +1 -0
  8. package/dist/bold-icon.entry-34b18d0d.js +15 -0
  9. package/dist/{button-component_2.entry-b9d3f6a2.cjs → button-component_2.entry-54101987.cjs} +1 -1
  10. package/dist/{button-component_2.entry-93aa59a2.js → button-component_2.entry-8a5e99da.js} +7 -7
  11. package/dist/calendar-agenda-fill-icon_51.entry-1920adc2.cjs +7 -0
  12. package/dist/{calendar-agenda-fill-icon_48.entry-476bc4ef.js → calendar-agenda-fill-icon_51.entry-a351dca5.js} +997 -917
  13. package/dist/{calendar-cancel-icon.entry-11bb8656.cjs → calendar-cancel-icon.entry-00756264.cjs} +1 -1
  14. package/dist/{calendar-cancel-icon.entry-ee0acc54.js → calendar-cancel-icon.entry-f83e9b41.js} +2 -2
  15. package/dist/{calendar-check-icon_2.entry-54a82e1e.js → calendar-check-icon_2.entry-1817540c.js} +7 -7
  16. package/dist/{calendar-check-icon_2.entry-14548656.cjs → calendar-check-icon_2.entry-6ac948fc.cjs} +1 -1
  17. package/dist/{calendar-icon.entry-29f7003b.js → calendar-icon.entry-362428bf.js} +4 -4
  18. package/dist/{calendar-icon.entry-1a17f887.cjs → calendar-icon.entry-68e53f52.cjs} +1 -1
  19. package/dist/{checkbox-component_2.entry-dfec10cb.js → checkbox-component_2.entry-0d7c1916.js} +3 -3
  20. package/dist/{checkbox-component_2.entry-84a17232.cjs → checkbox-component_2.entry-5ce9807d.cjs} +1 -1
  21. package/dist/{chevron-icon_3.entry-826e81d4.js → chevron-icon_3.entry-37c087a7.js} +8 -8
  22. package/dist/{chevron-icon_3.entry-5da08d02.cjs → chevron-icon_3.entry-89c52603.cjs} +1 -1
  23. package/dist/{clock-icon_4.entry-36d97f00.js → clock-icon_4.entry-2e78febe.js} +11 -11
  24. package/dist/{clock-icon_4.entry-dafdd895.cjs → clock-icon_4.entry-496058ef.cjs} +1 -1
  25. package/dist/{constants-50c3e067-fed7fb48.js → constants-c31dccfe-04b9cd8a.js} +2 -2
  26. package/dist/{constants-50c3e067-1fe54cf3.cjs → constants-c31dccfe-1a739653.cjs} +2 -2
  27. package/dist/{copy-icon.entry-6d1a649d.js → copy-icon.entry-6d4e05b0.js} +7 -7
  28. package/dist/{copy-icon.entry-eec265da.cjs → copy-icon.entry-a1baee33.cjs} +1 -1
  29. package/dist/delete-icon.entry-e98b336e.cjs +1 -0
  30. package/dist/delete-icon.entry-ea06b42a.js +15 -0
  31. package/dist/document-refresh-icon.entry-09750b52.cjs +1 -0
  32. package/dist/document-refresh-icon.entry-afae6621.js +15 -0
  33. package/dist/elements/index.d.ts +2 -11
  34. package/dist/feedbackSync-ab657d65-e650e46d.cjs +448 -0
  35. package/dist/feedbackSync-ab657d65-e8b7c001.js +6035 -0
  36. package/dist/folder-icon.entry-5c3f4e8f.cjs +1 -0
  37. package/dist/folder-icon.entry-6096fbf4.js +15 -0
  38. package/dist/forward-icon.entry-4089e3bb.cjs +1 -0
  39. package/dist/forward-icon.entry-da319c05.js +15 -0
  40. package/dist/{globe-icon.entry-154ccdb5.js → globe-icon.entry-59f4c2f9.js} +4 -4
  41. package/dist/{globe-icon.entry-95fc0408.cjs → globe-icon.entry-e8ca972e.cjs} +1 -1
  42. package/dist/{google-logo-icon_4.entry-68cfa3fe.js → google-logo-icon_4.entry-d4b8926f.js} +331 -289
  43. package/dist/google-logo-icon_4.entry-e2001f83.cjs +1 -0
  44. package/dist/inbox-icon.entry-70dae5ec.js +15 -0
  45. package/dist/inbox-icon.entry-80ee9082.cjs +1 -0
  46. package/dist/index-6b9d4b01.cjs +81 -0
  47. package/dist/{index-1322d804.js → index-e475e0c0.js} +3126 -3103
  48. package/dist/index.d.ts +1 -1
  49. package/dist/{index.es-79f5b771-08cc349d.cjs → index.es-b475d61f-68a74a28.cjs} +5 -5
  50. package/dist/{index.es-79f5b771-04cd3414.js → index.es-b475d61f-bfa2cba2.js} +125 -131
  51. package/dist/{info-icon_2.entry-49261a0a.js → info-icon_2.entry-2bb60213.js} +3 -3
  52. package/dist/{info-icon_2.entry-2af880b8.cjs → info-icon_2.entry-f1b1dfba.cjs} +1 -1
  53. package/dist/{input-color-picker.entry-aefe0e26.js → input-color-picker.entry-5ae45a9e.js} +3 -3
  54. package/dist/{input-color-picker.entry-57adff77.cjs → input-color-picker.entry-b669f7fb.cjs} +1 -1
  55. package/dist/{input-component.entry-d7c2724b.js → input-component.entry-cb958501.js} +2 -2
  56. package/dist/{input-component.entry-09c3c9b6.cjs → input-component.entry-eeb95361.cjs} +1 -1
  57. package/dist/{input-dropdown.entry-e7d26273.cjs → input-dropdown.entry-0b458f68.cjs} +1 -1
  58. package/dist/{input-dropdown.entry-e573ade0.js → input-dropdown.entry-962605f8.js} +4 -4
  59. package/dist/italic-icon.entry-4a89e289.cjs +1 -0
  60. package/dist/italic-icon.entry-5be07509.js +15 -0
  61. package/dist/{multi-select-dropdown.entry-15cacb87.js → multi-select-dropdown.entry-3084e1fc.js} +5 -5
  62. package/dist/{multi-select-dropdown.entry-46b2b1c9.cjs → multi-select-dropdown.entry-a66408a2.cjs} +1 -1
  63. package/dist/nylas-booked-event-card_12.entry-227ccf31.cjs +1 -0
  64. package/dist/{nylas-booked-event-card_12.entry-3921071a.js → nylas-booked-event-card_12.entry-29e2a4b1.js} +84 -81
  65. package/dist/{nylas-form-card.entry-ca835017.js → nylas-form-card.entry-33b4c295.js} +15 -15
  66. package/dist/{nylas-form-card.entry-db3f0e3b.cjs → nylas-form-card.entry-8465eccf.cjs} +1 -1
  67. package/dist/{nylas-if-state.entry-4159d41d.js → nylas-if-state.entry-9d96fc87.js} +2 -2
  68. package/dist/{nylas-if-state.entry-5410607c.cjs → nylas-if-state.entry-adb6103a.cjs} +1 -1
  69. package/dist/{nylas-login.entry-590e7fba.js → nylas-login.entry-3f7c195e.js} +7 -7
  70. package/dist/{nylas-login.entry-f1d7bc7d.cjs → nylas-login.entry-78b968d1.cjs} +1 -1
  71. package/dist/nylas-provider.entry-19635620.js +264 -0
  72. package/dist/nylas-provider.entry-b918d0f6.cjs +1 -0
  73. package/dist/nylas-reminder-emails.entry-ec79b757.js +168 -0
  74. package/dist/nylas-reminder-emails.entry-ee76db24.cjs +4 -0
  75. package/dist/{nylas-reminder-time_2.entry-0357f280.js → nylas-reminder-time_2.entry-105de2d0.js} +42 -39
  76. package/dist/nylas-reminder-time_2.entry-83ecc1d4.cjs +1 -0
  77. package/dist/{nylas-scheduler-editor.entry-d2c3bddc.cjs → nylas-scheduler-editor.entry-cfed7ae2.cjs} +2 -2
  78. package/dist/{nylas-scheduler-editor.entry-6bb290ed.js → nylas-scheduler-editor.entry-e848771f.js} +7 -7
  79. package/dist/nylas-scheduling.entry-da987c02.js +400 -0
  80. package/dist/nylas-scheduling.entry-e989cf9e.cjs +1 -0
  81. package/dist/{nylas-time-window-picker.entry-1b449403.cjs → nylas-time-window-picker.entry-1f76b577.cjs} +1 -1
  82. package/dist/{nylas-time-window-picker.entry-260f52a6.js → nylas-time-window-picker.entry-3c6b29d9.js} +20 -20
  83. package/dist/{person-icon.entry-ed6786db.js → person-icon.entry-79fcd9fb.js} +4 -4
  84. package/dist/{person-icon.entry-b4ce06b7.cjs → person-icon.entry-82bbb87c.cjs} +1 -1
  85. package/dist/play-icon.entry-3f357ea4.cjs +1 -0
  86. package/dist/play-icon.entry-97b40470.js +15 -0
  87. package/dist/react.cjs +1 -1
  88. package/dist/react.js +109 -118
  89. package/dist/{refresh-icon.entry-87af05b0.js → refresh-icon.entry-1427a5e6.js} +5 -5
  90. package/dist/{refresh-icon.entry-21ac359d.cjs → refresh-icon.entry-7ce5ec90.cjs} +1 -1
  91. package/dist/{register-component-ea95564d-a64ee107.cjs → register-component-679c1308-b5a96acf.cjs} +1 -1
  92. package/dist/{register-component-ea95564d-843da1da.js → register-component-679c1308-de697ecb.js} +1 -1
  93. package/dist/reply-all-icon.entry-cf8114db.cjs +1 -0
  94. package/dist/reply-all-icon.entry-f1165660.js +15 -0
  95. package/dist/reply-icon.entry-3a601cff.js +15 -0
  96. package/dist/reply-icon.entry-3db337c9.cjs +1 -0
  97. package/dist/{scheduler-config-store-2a3b403d-8553b685.js → scheduler-config-store-2a3b403d-e5210f72.js} +1 -1
  98. package/dist/{scheduler-config-store-2a3b403d-88840eb1.cjs → scheduler-config-store-2a3b403d-e6f5bcab.cjs} +1 -1
  99. package/dist/scheduler-store-908886c8-62d14677.cjs +1 -0
  100. package/dist/{scheduler-store-9ff4914b-d1a624f8.js → scheduler-store-908886c8-b0f43cb9.js} +2 -2
  101. package/dist/sent-icon.entry-2c7bd48e.js +15 -0
  102. package/dist/sent-icon.entry-708b9a2b.cjs +1 -0
  103. package/dist/spam-icon.entry-3106ed3d.js +15 -0
  104. package/dist/spam-icon.entry-fa8b80c6.cjs +1 -0
  105. package/dist/star-icon.entry-88501c8b.cjs +1 -0
  106. package/dist/star-icon.entry-b15601ca.js +15 -0
  107. package/dist/stop-icon.entry-3475e257.cjs +1 -0
  108. package/dist/stop-icon.entry-f926a8db.js +15 -0
  109. package/dist/{textarea-component.entry-cbffb0b0.cjs → textarea-component.entry-683c2959.cjs} +1 -1
  110. package/dist/{textarea-component.entry-dad42f20.js → textarea-component.entry-d1f4dd9a.js} +2 -2
  111. package/dist/{time-period-selector.entry-e54d0989.cjs → time-period-selector.entry-8cfdf750.cjs} +1 -1
  112. package/dist/{time-period-selector.entry-79c94da3.js → time-period-selector.entry-e97f86fd.js} +2 -2
  113. package/dist/{translate-icon.entry-ef6266c4.js → translate-icon.entry-09c5574f.js} +2 -2
  114. package/dist/{translate-icon.entry-8e9eeeba.cjs → translate-icon.entry-5757c37c.cjs} +1 -1
  115. package/dist/trash-fill-icon.entry-470ec1ff.js +15 -0
  116. package/dist/trash-fill-icon.entry-4bbfabcc.cjs +1 -0
  117. package/dist/underline-icon.entry-6d729068.cjs +1 -0
  118. package/dist/underline-icon.entry-9fe74ba7.js +15 -0
  119. package/dist/{warning-icon.entry-34c85de2.cjs → warning-icon.entry-c1d48318.cjs} +1 -1
  120. package/dist/{warning-icon.entry-adf18211.js → warning-icon.entry-d924f8f9.js} +5 -5
  121. package/package.json +2 -2
  122. package/dist/add-circle-icon_2.entry-611be49d.js +0 -25
  123. package/dist/add-circle-icon_2.entry-f1383568.cjs +0 -1
  124. package/dist/archive-icon_7.entry-59cc6868.cjs +0 -1
  125. package/dist/archive-icon_7.entry-5e6ba9e7.js +0 -75
  126. package/dist/arrow-icon.entry-9c19a803.js +0 -15
  127. package/dist/bold-icon_3.entry-2935a3df.js +0 -35
  128. package/dist/bold-icon_3.entry-ffe02f93.cjs +0 -1
  129. package/dist/calendar-agenda-fill-icon_48.entry-c4ea84b3.cjs +0 -7
  130. package/dist/delete-icon_2.entry-160ba41e.cjs +0 -1
  131. package/dist/delete-icon_2.entry-528a3879.js +0 -25
  132. package/dist/document-refresh-icon.entry-276704dc.cjs +0 -1
  133. package/dist/document-refresh-icon.entry-6565f3b5.js +0 -15
  134. package/dist/elements-dc5b338e-2d3857dc.js +0 -28031
  135. package/dist/elements-dc5b338e-b06b2857.cjs +0 -16516
  136. package/dist/flow-40ff9cea-6f8c30e2.cjs +0 -9
  137. package/dist/flow-40ff9cea-ee70fdf5.js +0 -505
  138. package/dist/focus-visible-e8093c16-47e61336.cjs +0 -1
  139. package/dist/focus-visible-e8093c16-6f68eb89.js +0 -84
  140. package/dist/forward-icon_6.entry-ed6ab66a.js +0 -953
  141. package/dist/forward-icon_6.entry-fed8994d.cjs +0 -3
  142. package/dist/google-logo-icon_4.entry-afffb209.cjs +0 -1
  143. package/dist/index-c4e817ef.cjs +0 -82
  144. package/dist/mailbox-store-9c52a3fa-27f8f7e6.js +0 -380
  145. package/dist/mailbox-store-9c52a3fa-6b39645f.cjs +0 -1
  146. package/dist/nylas-booked-event-card_12.entry-47c5381d.cjs +0 -1
  147. package/dist/nylas-list-folders.entry-0f143930.cjs +0 -1
  148. package/dist/nylas-list-folders.entry-6b4a3d96.js +0 -120
  149. package/dist/nylas-list-threads.entry-62108562.js +0 -70
  150. package/dist/nylas-list-threads.entry-68b6f32b.cjs +0 -1
  151. package/dist/nylas-mailbox-pagination.entry-8377fdee.cjs +0 -1
  152. package/dist/nylas-mailbox-pagination.entry-ba1af8fb.js +0 -101
  153. package/dist/nylas-mailbox-toolbar-button.entry-4497acd0.js +0 -82
  154. package/dist/nylas-mailbox-toolbar-button.entry-6a5d8387.cjs +0 -1
  155. package/dist/nylas-mailbox.entry-917c22f5.js +0 -134
  156. package/dist/nylas-mailbox.entry-a07652b4.cjs +0 -1
  157. package/dist/nylas-provider.entry-0e520ac3.cjs +0 -1
  158. package/dist/nylas-provider.entry-20c47b14.js +0 -145
  159. package/dist/nylas-reminder-emails.entry-088ee120.js +0 -129
  160. package/dist/nylas-reminder-emails.entry-69626e7f.cjs +0 -4
  161. package/dist/nylas-reminder-time_2.entry-b5c181db.cjs +0 -1
  162. package/dist/nylas-scheduling.entry-bc9c25c5.js +0 -359
  163. package/dist/nylas-scheduling.entry-dc92d5e7.cjs +0 -1
  164. package/dist/nylas-threads-refresh.entry-45d7d171.js +0 -74
  165. package/dist/nylas-threads-refresh.entry-6636e7b1.cjs +0 -1
  166. package/dist/nylas-threads-search.entry-4460aa9b.js +0 -69
  167. package/dist/nylas-threads-search.entry-ae87695a.cjs +0 -1
  168. package/dist/nylas-view-thread.entry-5821630b.js +0 -203
  169. package/dist/nylas-view-thread.entry-5a9b353a.cjs +0 -1
  170. package/dist/play-icon_2.entry-261ea828.js +0 -25
  171. package/dist/play-icon_2.entry-87fe39a9.cjs +0 -1
  172. package/dist/scheduler-store-9ff4914b-63dc472a.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { r as v, c as h, d, h as n, k as c, n as J, H as g, D as U, E as de, g as W, m as X, G as fe, I as he, J as w, K as me, L as be, M as R, F as pe } from "./index-1322d804.js";
2
- import { R as C } from "./register-component-ea95564d-843da1da.js";
3
- import { T as L, a as K, g as ue, b as Y } from "./constants-50c3e067-fed7fb48.js";
1
+ import { r as C, c as h, d, h as n, i as c, k as J, H as g, s as U, q as de, g as W, j as X, t as fe, v as he, w as E, x as me, y as pe, z as R, F as be } from "./index-e475e0c0.js";
2
+ import { R as x } from "./register-component-679c1308-de697ecb.js";
3
+ import { T as L, a as K, g as ue, b as Y } from "./constants-c31dccfe-04b9cd8a.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  const ge = ":host{display:block}.nylas-booked-event-card{height:inherit;display:flex;flex-direction:column;justify-content:space-between;align-items:center;font-family:var(--nylas-font-family)}.event-card-wrapper{display:flex;align-items:center;flex-direction:column;background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);position:relative;margin-top:1rem;margin-bottom:2rem;width:424px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.event-card-wrapper{width:100%;border-radius:0px}}.calendar-icon{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:50%;position:absolute;top:-1.25rem;left:50%;transform:translateX(-50%);background-color:var(--nylas-base-0);border:1px solid var(--nylas-base-200);color:var(--nylas-base-700)}.booked-event-header{margin:1.5rem 0;overflow-wrap:anywhere;display:flex;align-items:center;flex-direction:column;font-size:1rem;font-weight:400;border-bottom:1px solid var(--nylas-base-200);width:inherit;padding:0 0 1.5rem}.booked-event-header h2{color:var(--nylas-base-600);margin-top:1.5rem;margin-bottom:0.25rem;font-size:1.125rem;font-weight:600}.booked-event-header .card-description{text-align:center}.booking-date-time,.booking-participants{padding:0 1rem;margin-top:1.5rem;margin-left:3rem;display:flex;flex-direction:column;justify-content:space-between;align-self:flex-start;position:relative}.booking-date-time svg,.booking-participants svg{color:var(--nylas-base-700);position:absolute;left:-10px}.booking-date-time .block,.booking-participants .block{display:block}.booking-date-time h3,.booking-participants h3{color:var(--nylas-base-600);margin:0;font-size:16px;font-weight:600;line-height:1.25rem;text-align:justify;margin-bottom:4px}.booking-date-time p,.booking-participants p{font-size:16px;margin:0;font-weight:400;text-align:justify;color:var(--nylas-base-800)}.booking-participants{margin-bottom:1.5rem}.booked-event-timezone{display:flex;color:var(--nylas-base-600);margin-bottom:1.5rem;gap:4px;margin:2rem;align-items:center;align-self:flex-end}.button-container{width:inherit}.footer{padding:0.5rem;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);border-top:1px solid var(--nylas-base-200);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.footer.no-template-cols{grid-template-columns:1fr}.footer.no-footer{display:none}sp-divider{background-color:var(--nylas-base-200);height:1px}calendar-check-icon{display:flex;align-items:center;justify-content:center;height:100%}", ye = ge;
@@ -18,7 +18,7 @@ var ve = function(e, t, a, r) {
18
18
  };
19
19
  const Q = class {
20
20
  constructor(e) {
21
- v(this, e), this.cancelBookingButtonClicked = h(this, "cancelBookingButtonClicked", 7), this.rescheduleButtonClicked = h(this, "rescheduleButtonClicked", 7), this.rescheduleBookedEventError = h(this, "rescheduleBookedEventError", 7), this.cancelBookedEventValidationError = h(this, "cancelBookedEventValidationError", 7), this.handleCancelBookingButtonClicked = () => {
21
+ C(this, e), this.cancelBookingButtonClicked = h(this, "cancelBookingButtonClicked", 7), this.rescheduleButtonClicked = h(this, "rescheduleButtonClicked", 7), this.rescheduleBookedEventError = h(this, "rescheduleBookedEventError", 7), this.cancelBookedEventValidationError = h(this, "cancelBookedEventValidationError", 7), this.handleCancelBookingButtonClicked = () => {
22
22
  var o, i;
23
23
  const t = new Date(this.selectedTimeslot.start_time), a = (i = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : i.min_cancellation_notice;
24
24
  t.getTime() - a * 60 * 1e3 < (/* @__PURE__ */ new Date()).getTime() ? this.cancelBookedEventValidationError.emit({
@@ -54,17 +54,17 @@ const Q = class {
54
54
  d("[nylas-booked-event-card] Component did load"), this.eventInfo || console.warn('[nylas-booked-event-card] "eventInfo" prop missing. Please provide the event info to display the event details in the booked event card component.'), this.bookingInfo || console.warn('[nylas-booked-event-card] "bookingInfo" prop missing. Please provide the booking info to display the guest details in the booked event card component.');
55
55
  }
56
56
  render() {
57
- var a, r, o, i, s, l, u, m, f, p, b, y, _, k, x, E, B, T;
57
+ var a, r, o, i, s, l, u, m, f, b, p, y, k, v, _, w, B, T;
58
58
  const e = (a = this.configSettings) == null ? void 0 : a.booking_type, t = e && e !== "booking";
59
59
  return n(g, { key: "6780a2a0b1c59efc4311278e85e6800f72ab6a98", part: "nbec" }, n("div", { key: "eed7c01aaaca8c92a65beccac1242efe1194f4a3", class: "nylas-booked-event-card" }, n("div", { key: "f20609db6794c30012f299017b01bf63752b6b7f", class: "booked-event-timezone" }, n("globe-icon", { key: "e2f277abf894b2c34e32f4cec4309e81a1b6e19b" }), L[this.selectedTimezone]), n("div", { key: "84c8bcdc7f247eade07d502cd480430cfb2894fd", class: "event-card-wrapper", part: "nbec__card" }, n("div", { key: "58835f4e2b261dff59e212573a2391cac9217cb6", class: "calendar-icon" }, n("calendar-check-icon", { key: "53e406d85941c03c7d0c7c5e86e071f948fe85bd" })), n("div", { key: "0e16b5cabfe5afcea5fd15fefbf88ed2558c5492", class: "booked-event-header" }, n("h2", { key: "8ad08c13c5860cf47b217cc9c6d82dddb0940894", slot: "card-title", part: "nbec__title" }, this.rescheduleBookingId && !this.isLoading ? `${c.t("bookingRescheduled")}` : t && !this.isLoading ? `${c.t("bookingSent")}` : `${c.t("bookingConfirmed")}`, "!"), n("div", { key: "07a056ef47e7d3c173c7ad67acedc5b94748d28f", class: "card-description", part: "nbec__description" }, t ? c.t("bookingSentDescription") : n("span", null, c.t("bookingConfirmedDescription")))), n("div", { key: "4d4f43295cef324b63b3d5fa6f3476dcf3163d25", class: "booking-date-time" }, n("checkmark-circle-icon", { key: "2c717204ed669e40898c8b23dd408e3c62608e8f" }), n("h3", { key: "1a2ec41f82e740d9bdbac8fe1a818454e402db2f" }, c.t("bookingDateAndTimeHeader")), n("p", { key: "1451ecae33ccfbe9f0bc4b682d90a64313f1120c" }, (r = this.selectedTimeslot) != null && r.start_time ? J(new Date((o = this.selectedTimeslot) == null ? void 0 : o.start_time).toLocaleDateString(K[this.selectedLanguage], { dateStyle: "full" })) : "-", " ", n("br", { key: "df6922d0097f6d3aa7b17dee26a7903e89c9258c" }), new Date((i = this.selectedTimeslot) == null ? void 0 : i.start_time).toLocaleTimeString(void 0, { timeStyle: "short" }), " -", " ", new Date((s = this.selectedTimeslot) == null ? void 0 : s.end_time).toLocaleTimeString(void 0, { timeStyle: "short" }))), n("div", { key: "6e4264737dc50225feeec5374a6bec91de77a0ea", class: "booking-participants" }), !t && n("div", { class: "button-container" }, n("div", { class: {
60
60
  footer: !0,
61
- "no-footer": ((u = (l = this.configSettings) == null ? void 0 : l.scheduler) == null ? void 0 : u.hide_cancellation_options) && ((f = (m = this.configSettings) == null ? void 0 : m.scheduler) == null ? void 0 : f.hide_rescheduling_options) || ((p = this.configSettings) == null ? void 0 : p.booking_type) === "organizer-confirmation",
62
- "no-template-cols": ((y = (b = this.configSettings) == null ? void 0 : b.scheduler) == null ? void 0 : y.hide_cancellation_options) || ((k = (_ = this.configSettings) == null ? void 0 : _.scheduler) == null ? void 0 : k.hide_rescheduling_options)
63
- } }, !((E = (x = this.configSettings) == null ? void 0 : x.scheduler) != null && E.hide_cancellation_options) && n("button-component", { variant: "destructive", onClick: this.handleCancelBookingButtonClicked, part: "nbec__button-outline nbec__cancel-cta" }, `${c.t("cancelBookingButton")}`), !((T = (B = this.configSettings) == null ? void 0 : B.scheduler) != null && T.hide_rescheduling_options) && n("button-component", { variant: "basic", onClick: this.handleRescheduleButtonClicked, part: "nbec__button-outline nbec__reschedule-cta" }, `${c.t("rescheduleBookingButton")}`))))));
61
+ "no-footer": ((u = (l = this.configSettings) == null ? void 0 : l.scheduler) == null ? void 0 : u.hide_cancellation_options) && ((f = (m = this.configSettings) == null ? void 0 : m.scheduler) == null ? void 0 : f.hide_rescheduling_options) || ((b = this.configSettings) == null ? void 0 : b.booking_type) === "organizer-confirmation",
62
+ "no-template-cols": ((y = (p = this.configSettings) == null ? void 0 : p.scheduler) == null ? void 0 : y.hide_cancellation_options) || ((v = (k = this.configSettings) == null ? void 0 : k.scheduler) == null ? void 0 : v.hide_rescheduling_options)
63
+ } }, !((w = (_ = this.configSettings) == null ? void 0 : _.scheduler) != null && w.hide_cancellation_options) && n("button-component", { variant: "destructive", onClick: this.handleCancelBookingButtonClicked, part: "nbec__button-outline nbec__cancel-cta" }, `${c.t("cancelBookingButton")}`), !((T = (B = this.configSettings) == null ? void 0 : B.scheduler) != null && T.hide_rescheduling_options) && n("button-component", { variant: "basic", onClick: this.handleRescheduleButtonClicked, part: "nbec__button-outline nbec__reschedule-cta" }, `${c.t("rescheduleBookingButton")}`))))));
64
64
  }
65
65
  };
66
66
  ve([
67
- C({
67
+ x({
68
68
  name: "nylas-booked-event-card",
69
69
  stateToProps: /* @__PURE__ */ new Map([
70
70
  ["scheduler.bookingInfo", "bookingInfo"],
@@ -112,7 +112,7 @@ var _e = function(e, t, a, r) {
112
112
  };
113
113
  const S = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, ee = class {
114
114
  constructor(e) {
115
- v(this, e), this.nameChanged = h(this, "nameChanged", 7), this.emailChanged = h(this, "emailChanged", 7), this.backButtonClicked = h(this, "backButtonClicked", 7), this.detailsConfirmed = h(this, "detailsConfirmed", 7), this.bookingFormError = h(this, "bookingFormError", 7), this.bookingFormSubmitted = h(this, "bookingFormSubmitted", 7), this.handleGuestChange = (t, a) => {
115
+ C(this, e), this.nameChanged = h(this, "nameChanged", 7), this.emailChanged = h(this, "emailChanged", 7), this.backButtonClicked = h(this, "backButtonClicked", 7), this.detailsConfirmed = h(this, "detailsConfirmed", 7), this.bookingFormError = h(this, "bookingFormError", 7), this.bookingFormSubmitted = h(this, "bookingFormSubmitted", 7), this.handleGuestChange = (t, a) => {
116
116
  this.resetGuestEmailError(t);
117
117
  const r = [...this.guestEmails];
118
118
  r[t] = U(a), this.guestEmails = [...r];
@@ -135,7 +135,7 @@ const S = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-
135
135
  }, this.handleBackButtonClicked = (t) => {
136
136
  t.preventDefault(), this.backButtonLoading = !0, this.backButtonClicked.emit();
137
137
  }, this.bookButtonClickedHandler = async (t) => {
138
- var l, u, m, f, p, b, y;
138
+ var l, u, m, f, b, p, y;
139
139
  if (t.preventDefault(), this.bookingFormSubmitted.emit().defaultPrevented)
140
140
  return;
141
141
  d("nylas-booking-form", "bookButtonClickedHandler", this.bookingInfo);
@@ -163,21 +163,24 @@ const S = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-
163
163
  }
164
164
  let i = [];
165
165
  if (this.guestEmails.length > 0) {
166
- let _ = !1;
167
- if (this.guestEmails.forEach((k, x) => {
168
- k === "" ? (_ = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [x]: c.t("fieldRequired", { field: c.t("email") }) }) : S.test(k) || (_ = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [x]: c.t("invalidInputFormat", { field: c.t("email") }) });
169
- }), _) {
166
+ let k = !1;
167
+ if (this.guestEmails.forEach((v, _) => {
168
+ v === "" ? (k = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [_]: c.t("fieldRequired", { field: c.t("email") }) }) : S.test(v) || (k = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [_]: c.t("invalidInputFormat", { field: c.t("email") }) });
169
+ }), k) {
170
170
  this.bookingFormError.emit({
171
171
  title: "Booking form error",
172
172
  description: c.t("invalidInputFormat", { field: c.t("guestEmail") }) || "Invalid guest email"
173
173
  });
174
174
  return;
175
175
  }
176
- i = this.guestEmails.map((k) => ({ name: k.trim(), email: k.trim() }));
176
+ i = this.guestEmails.map((v) => ({ name: v.trim(), email: v.trim() }));
177
177
  } else
178
- (p = this.bookingInfo) != null && p.guests && (i = (b = this.bookingInfo) == null ? void 0 : b.guests);
179
- const s = ((y = this.bookingInfo) == null ? void 0 : y.additionalFields) || [];
180
- this.detailsConfirmed.emit({
178
+ (b = this.bookingInfo) != null && b.guests && (i = (p = this.bookingInfo) == null ? void 0 : p.guests);
179
+ const s = {};
180
+ (y = this.bookingInfo) != null && y.additionalFields && Object.entries(this.bookingInfo.additionalFields).forEach(([k, v]) => {
181
+ var _, w;
182
+ k in ((w = (_ = this.configSettings) == null ? void 0 : _.scheduler) == null ? void 0 : w.additional_fields) && (s[k] = v.value);
183
+ }), this.detailsConfirmed.emit({
181
184
  primaryParticipant: {
182
185
  name: r,
183
186
  email: o
@@ -254,36 +257,36 @@ const S = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-
254
257
  }
255
258
  render() {
256
259
  var e, t, a, r, o, i, s, l, u;
257
- return n(g, { key: "e6226715a8817b1ac42f46e3efd78cc2aa1d413c" }, n("form", { key: "d6e4aff3c6f9b978bef7cc7c1becdd8f84f2897d", onSubmit: (m) => this.bookButtonClickedHandler(m), noValidate: !0 }, n("div", { key: "c3561940f06b86fab4eb248626cb63a09cbf1353", class: "nylas-booking-form", part: "nbf" }, n("div", { key: "02072469ac898b656c9829c484a24415d9e8e597", class: "input-wrapper", part: "nbf__input-wrapper" }, n("input-component", { key: "301574dd5c31489404efc426bc41d413b659c0a4", label: c.t("name"), name: "name", id: "name", defaultValue: ((t = (e = this.bookingInfo) == null ? void 0 : e.primaryParticipant) == null ? void 0 : t.name) || this.name, placeholder: c.t("namePlaceholder"), type: "text", required: !0, requiredError: c.t("fieldRequired", { field: c.t("name") }), patternError: c.t("invalidInputFormat", { field: c.t("name") }), part: "nbf__input-textfield" })), n("div", { key: "af992058321d3efbc622e335400da283123fe54c", class: "input-wrapper", part: "nbf__input-wrapper" }, n("input-component", { key: "3815bf80434a7178dcdc75fde5ee80db5c651179", label: c.t("email"), name: "email", id: "email", pattern: S, defaultValue: ((r = (a = this.bookingInfo) == null ? void 0 : a.primaryParticipant) == null ? void 0 : r.email) || this.email, placeholder: c.t("emailPlaceholder"), type: "email", required: !0, requiredError: c.t("fieldRequired", { field: c.t("email") }), patternError: c.t("invalidInputFormat", { field: c.t("email") }), part: "nbf__input-textfield" })), ((i = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : i.hide_additional_guests) !== !0 && n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, this.guestEmails.map((m, f) => n("div", { class: "input-wrapper button-wrapper" }, n("label", { class: {
260
+ return n(g, { key: "c5759aaa6dd8fe46bbca8d6948cb2f8b62b2f596" }, n("form", { key: "8b1def5e7238fe8c31fe190f772d5b852ea7297b", onSubmit: (m) => this.bookButtonClickedHandler(m), noValidate: !0 }, n("div", { key: "0ac8350dd52ee87af62aff182bbb2a302b4b9488", class: "nylas-booking-form", part: "nbf" }, n("div", { key: "3eed8eda2bc3e0e34d9ef72178d308276036abc3", class: "input-wrapper", part: "nbf__input-wrapper" }, n("input-component", { key: "2e6a8c3e0c578e98cb16133d5c2d2c3638b12a8e", label: c.t("name"), name: "name", id: "name", defaultValue: ((t = (e = this.bookingInfo) == null ? void 0 : e.primaryParticipant) == null ? void 0 : t.name) || this.name, placeholder: c.t("namePlaceholder"), type: "text", required: !0, requiredError: c.t("fieldRequired", { field: c.t("name") }), patternError: c.t("invalidInputFormat", { field: c.t("name") }), part: "nbf__input-textfield" })), n("div", { key: "f750e23602d5cd20020ad18293a6122c46e858a8", class: "input-wrapper", part: "nbf__input-wrapper" }, n("input-component", { key: "d3e76502be140769b1bcfdca4e5fc119aa080b20", label: c.t("email"), name: "email", id: "email", pattern: S, defaultValue: ((r = (a = this.bookingInfo) == null ? void 0 : a.primaryParticipant) == null ? void 0 : r.email) || this.email, placeholder: c.t("emailPlaceholder"), type: "email", required: !0, requiredError: c.t("fieldRequired", { field: c.t("email") }), patternError: c.t("invalidInputFormat", { field: c.t("email") }), part: "nbf__input-textfield" })), ((i = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : i.hide_additional_guests) !== !0 && n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, this.guestEmails.map((m, f) => n("div", { class: "input-wrapper button-wrapper" }, n("label", { class: {
258
261
  error: !!this.guestEmailErrors[f]
259
262
  } }, c.t("guestEmail")), n("div", { class: "guest-email-input" }, n("input", { type: "email", id: `guest-email-${f}`, maxLength: 100, class: {
260
263
  "guest-email": !0,
261
264
  error: !!this.guestEmailErrors[f]
262
- }, placeholder: c.t("guestEmailPlaceholder"), value: m, "data-index": f, part: "nbf__input-textfield", onBlur: (p) => {
263
- var b;
264
- return this.handleGuestBlur(f, (b = p.target) == null ? void 0 : b.value);
265
- }, onInput: (p) => {
266
- var b;
267
- return this.handleGuestChange(f, (b = p.target) == null ? void 0 : b.value);
268
- } }), n("button-component", { variant: "basic", onClick: (p) => this.removeGuestButtonClickHandler(p, f), class: {
265
+ }, placeholder: c.t("guestEmailPlaceholder"), value: m, "data-index": f, part: "nbf__input-textfield", onBlur: (b) => {
266
+ var p;
267
+ return this.handleGuestBlur(f, (p = b.target) == null ? void 0 : p.value);
268
+ }, onInput: (b) => {
269
+ var p;
270
+ return this.handleGuestChange(f, (p = b.target) == null ? void 0 : p.value);
271
+ } }), n("button-component", { variant: "basic", tooltip: "Remove guest", onClick: (b) => this.removeGuestButtonClickHandler(b, f), class: {
269
272
  "remove-guest": !0,
270
273
  error: !!this.guestEmailErrors[f]
271
274
  } }, n("close-icon", null))), n("p", { class: "help-text" }, this.guestEmailErrors[f]))), n("button-component", { class: "add-guest", variant: "invisible", part: "nbf__button-ghost", onClick: (m) => this.addGuestButtonClickedHandler(m) }, n("div", { class: "button-content" }, n("add-circle-icon", { slot: "icon" }), this.guestEmails.length > 0 ? `${c.t("addAnotherGuest")}` : `${c.t("addGuest")}`))), (u = Object.entries(((l = (s = this.configSettings) == null ? void 0 : s.scheduler) == null ? void 0 : l.additional_fields) || {})) == null ? void 0 : u.sort((m, f) => m[1].order - f[1].order).map((m) => {
272
- var _, k, x, E, B, T;
273
- const f = m[1], p = f.label, b = m[0], y = ((x = (k = (_ = this.bookingInfo) == null ? void 0 : _.additionalFields) == null ? void 0 : k[b]) == null ? void 0 : x.value) || "";
275
+ var k, v, _, w, B, T;
276
+ const f = m[1], b = f.label, p = m[0], y = ((_ = (v = (k = this.bookingInfo) == null ? void 0 : k.additionalFields) == null ? void 0 : v[p]) == null ? void 0 : _.value) || "";
274
277
  switch (f.type) {
275
278
  case "dropdown":
276
- return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("select-dropdown", { label: p, name: b, id: b, withSearch: !1, defaultSelectedOption: y ? { value: y, label: y } : void 0, options: (E = f.options) == null ? void 0 : E.map((D) => ({ value: D, label: D })), required: f.required, exportparts: "sd_dropdown: nbf__dropdown, sd_dropdown-button: nbf__dropdown-button, sd_dropdown-content: nbf__dropdown-content" }));
279
+ return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("select-dropdown", { label: b, name: p, id: p, withSearch: !1, defaultSelectedOption: y ? { value: y, label: y } : void 0, options: (w = f.options) == null ? void 0 : w.map((D) => ({ value: D, label: D })), required: f.required, exportparts: "sd_dropdown: nbf__dropdown, sd_dropdown-button: nbf__dropdown-button, sd_dropdown-content: nbf__dropdown-content" }));
277
280
  case "checkbox":
278
- return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("checkbox-component", { label: p, name: b, id: b, checked: y === "true", required: f.required, part: "nbf__checkbox-component" }));
281
+ return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("checkbox-component", { label: b, name: p, id: p, checked: y === "true", required: f.required, part: "nbf__checkbox-component" }));
279
282
  case "radio_button":
280
- return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("radio-button-group", { label: p, name: b, id: b, defaultSelectedValue: y || ((B = f.options) == null ? void 0 : B[0]) || "", options: (T = f.options) == null ? void 0 : T.map((D) => ({ value: D, label: D })), required: f.required, part: "nbf__radio-button-group" }));
283
+ return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("radio-button-group", { label: b, name: p, id: p, defaultSelectedValue: y || ((B = f.options) == null ? void 0 : B[0]) || "", options: (T = f.options) == null ? void 0 : T.map((D) => ({ value: D, label: D })), required: f.required, part: "nbf__radio-button-group" }));
281
284
  case "multi_line_text":
282
- return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("textarea-component", { label: p, defaultValue: y, name: b, id: b, required: f.required, part: "nbf__textarea-component" }));
285
+ return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("textarea-component", { label: b, defaultValue: y, name: p, id: p, required: f.required, part: "nbf__textarea-component" }));
283
286
  default:
284
- return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("input-component", { label: p, name: b, id: b, type: f.type, defaultValue: y || "", requiredError: c.t("fieldRequired", { field: p }), required: f.required, part: "nbf__input-textfield" }));
287
+ return n("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, n("input-component", { label: b, name: p, id: p, type: f.type, defaultValue: y || "", requiredError: c.t("fieldRequired", { field: b }), required: f.required, part: "nbf__input-textfield" }));
285
288
  }
286
- })), n("div", { key: "0f18461673aa4542e73b9316509aa7b5a2fba6f3", class: "cta" }, n("button-component", { key: "7041a279f4acc3fb2029321dec40b9fffd9d9a6d", variant: "basic", class: "back", part: "nbf__button-outline", isLoading: this.backButtonLoading && this.isLoading, onClick: this.handleBackButtonClicked }, n("slot", { key: "6bf9092b2143c0b48cf56f2159d91283f804c3a3", name: "booking-form-back-label" }, `${c.t("backButton")}`)), n("button-component", { key: "2e97b28476b04ede3687737c78bfa6a8814b42c9", variant: "primary", isLoading: !this.backButtonLoading && this.isLoading, disabled: this.isLoading, part: "nbf__button-primary", type: "submit" }, n("slot", { key: "e708cfa7c230cced4f75c814a660af51a1b8dfe4", name: "booking-form-book-label" }, `${c.t("bookNowButton")}`)))));
289
+ })), n("div", { key: "49ce45d55dd541515a7015e352f864e8287cdfa4", class: "cta" }, n("button-component", { key: "0afa9b48216531170197a6bece9520d111789f5d", variant: "basic", class: "back", part: "nbf__button-outline", isLoading: this.backButtonLoading && this.isLoading, onClick: this.handleBackButtonClicked }, n("slot", { key: "5396a9449f932af8c7ad4a1b93f0a11ef1c7b9e4", name: "booking-form-back-label" }, `${c.t("backButton")}`)), n("button-component", { key: "26090462808119a30db0506ddc1eed26ceaab8b7", variant: "primary", isLoading: !this.backButtonLoading && this.isLoading, disabled: this.isLoading, part: "nbf__button-primary", type: "submit" }, n("slot", { key: "18c5675de4b737b486a122f31ba1049f6271e645", name: "booking-form-book-label" }, `${c.t("bookNowButton")}`)))));
287
290
  }
288
291
  get host() {
289
292
  return W(this);
@@ -295,7 +298,7 @@ const S = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-
295
298
  }
296
299
  };
297
300
  _e([
298
- C({
301
+ x({
299
302
  name: "nylas-booking-form",
300
303
  stateToProps: /* @__PURE__ */ new Map([
301
304
  ["scheduler.isLoading", "isLoading"],
@@ -346,7 +349,7 @@ var Ee = function(e, t, a, r) {
346
349
  const te = class {
347
350
  constructor(e) {
348
351
  var t, a;
349
- v(this, e), this.goBackButtonClicked = h(this, "goBackButtonClicked", 7), this.cancelBookingFormSubmitted = h(this, "cancelBookingFormSubmitted", 7), this.triggerValidation = h(this, "triggerValidation", 7), this.cancelBookedEventError = h(this, "cancelBookedEventError", 7), this.cancelBookingFormError = h(this, "cancelBookingFormError", 7), this.handleGoBackClicked = () => {
352
+ C(this, e), this.goBackButtonClicked = h(this, "goBackButtonClicked", 7), this.cancelBookingFormSubmitted = h(this, "cancelBookingFormSubmitted", 7), this.triggerValidation = h(this, "triggerValidation", 7), this.cancelBookedEventError = h(this, "cancelBookedEventError", 7), this.cancelBookingFormError = h(this, "cancelBookingFormError", 7), this.handleGoBackClicked = () => {
350
353
  this.goBackButtonClicked.emit();
351
354
  }, this.handleSubmitCancelBooking = (r) => {
352
355
  var s, l, u;
@@ -401,7 +404,7 @@ const te = class {
401
404
  }
402
405
  };
403
406
  Ee([
404
- C({
407
+ x({
405
408
  name: "nylas-cancel-booking-form",
406
409
  stateToProps: /* @__PURE__ */ new Map([
407
410
  ["scheduler.configSettings", "configSettings"],
@@ -458,7 +461,7 @@ var De = function(e, t, a, r) {
458
461
  };
459
462
  const ne = class {
460
463
  constructor(e) {
461
- v(this, e), this.closeCancelEventCardClicked = h(this, "closeCancelEventCardClicked", 7), this.cancelledEventCardError = h(this, "cancelledEventCardError", 7), this.handleCloseClicked = () => {
464
+ C(this, e), this.closeCancelEventCardClicked = h(this, "closeCancelEventCardClicked", 7), this.cancelledEventCardError = h(this, "cancelledEventCardError", 7), this.handleCloseClicked = () => {
462
465
  this.isClosing = !0;
463
466
  const t = (a) => {
464
467
  this.cancelledEventCardError.emit(a), this.isClosing = !1;
@@ -484,7 +487,7 @@ const ne = class {
484
487
  }
485
488
  };
486
489
  De([
487
- C({
490
+ x({
488
491
  name: "nylas-cancelled-event-card",
489
492
  stateToProps: /* @__PURE__ */ new Map([["scheduler.configSettings", "configSettings"]]),
490
493
  eventToProps: {
@@ -518,7 +521,7 @@ var ze = function(e, t, a, r) {
518
521
  };
519
522
  const ae = class {
520
523
  constructor(e) {
521
- v(this, e), this.closeConfirmEventCardClicked = h(this, "closeConfirmEventCardClicked", 7), this.confirmedEventCardError = h(this, "confirmedEventCardError", 7), this.handleCloseClicked = () => {
524
+ C(this, e), this.closeConfirmEventCardClicked = h(this, "closeConfirmEventCardClicked", 7), this.confirmedEventCardError = h(this, "confirmedEventCardError", 7), this.handleCloseClicked = () => {
522
525
  this.isClosing = !0;
523
526
  const t = (a) => {
524
527
  this.confirmedEventCardError.emit(a), this.isClosing = !1;
@@ -540,11 +543,11 @@ const ae = class {
540
543
  }
541
544
  render() {
542
545
  var e, t;
543
- return n(g, { key: "f78755849f1e51daa16349080efbd1154ee5421f", part: "ncec" }, n("div", { key: "3bef7ce7a2365171566b29b096b1625d0724a322", class: "nylas-confirmed-event-card", part: "ncec__card" }, n("div", { key: "1a246865b9400017d1945eb079691ac8f94baf1b", class: "nylas-confirmed-event-card__calendar-icon", part: "ncec__icon" }, n("calendar-cancel-icon", { key: "6af3a586336dc9d89f9e20bd9fbb2d64641c883f" })), n("h3", { key: "ccb933bf503bd9f316c04647dd99652ac4422c78", class: "nylas-confirmed-event-card__title", part: "ncec__title" }, c.t("confirmedEventCardTitle"), "!"), n("div", { key: "21d9fa9069fc947e05b1bfe5f9c5e9a6aa4bb091", class: "nylas-confirmed-event-card__description", part: "ncec__description" }, c.t("confirmedEventCardDescription"), " ", ((t = (e = this.configSettings) == null ? void 0 : e.organizer) == null ? void 0 : t.name) || "the participants", "."), n("div", { key: "93ee8ddcb48b9ec5f30df4cce75ca1a13a38bfff", class: "nylas-confirmed-event-card__cta" }, n("button-component", { key: "ca0960f860c3701821b492e318a47a7cf58d6c40", variant: "basic", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? `${c.t("closingButton")}...` : `${c.t("closeButton")}`))));
546
+ return n(g, { key: "b9b4c10f89c27f54070faa3f2ad53b9fbd9f38d8", part: "ncec" }, n("div", { key: "6009b8d7f5b8f8b9d87fc5621250f07c2e5af38d", class: "nylas-confirmed-event-card", part: "ncec__card" }, n("div", { key: "427eb1b59885d8d273842c45a15576a418e5c6ea", class: "nylas-confirmed-event-card__calendar-icon", part: "ncec__icon" }, n("calendar-cancel-icon", { key: "f08b3c34d88bcc72b7fc48807ceb10b5d040a7b6" })), n("h3", { key: "56bc3626c7f84bf4aa6c536e0d978eaab6aabec1", class: "nylas-confirmed-event-card__title", part: "ncec__title" }, c.t("confirmedEventCardTitle"), "!"), n("div", { key: "8f84edf7d10c1a70437e0487ade88d13d9fe8c59", class: "nylas-confirmed-event-card__description", part: "ncec__description" }, c.t("confirmedEventCardDescription"), " ", ((t = (e = this.configSettings) == null ? void 0 : e.organizer) == null ? void 0 : t.name) || "the participants", "."), n("div", { key: "90d3967b143032d09c8d99d65d711cb4619c1314", class: "nylas-confirmed-event-card__cta" }, n("button-component", { key: "ae8791ba490a8565045287720ceebc0978a85ed9", variant: "basic", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? `${c.t("closingButton")}...` : `${c.t("closeButton")}`))));
544
547
  }
545
548
  };
546
549
  ze([
547
- C({
550
+ x({
548
551
  name: "nylas-confirmed-event-card",
549
552
  stateToProps: /* @__PURE__ */ new Map([["scheduler.configSettings", "configSettings"]]),
550
553
  eventToProps: {
@@ -618,13 +621,13 @@ var Pe = function(e, t, a, r) {
618
621
  for (var l = e.length - 1; l >= 0; l--)
619
622
  (s = e[l]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, a, i) : s(t, a)) || i);
620
623
  return o > 3 && i && Object.defineProperty(t, a, i), i;
621
- }, A = function(e, t) {
624
+ }, q = function(e, t) {
622
625
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
623
626
  return Reflect.metadata(e, t);
624
627
  };
625
628
  const oe = class {
626
629
  constructor(e) {
627
- v(this, e), this.dateSelected = h(this, "dateSelected", 7), this.monthChanged = h(this, "monthChanged", 7), this.selectableDates = void 0, this.selectedDate = void 0, this.configSettings = void 0, this.selectedLanguage = void 0, this.isLoading = void 0, this.eventDuration = void 0, this.month = this.selectedDate || /* @__PURE__ */ new Date(), this.dates = this.getDates(), this.disableNextMonthButton = !1;
630
+ C(this, e), this.dateSelected = h(this, "dateSelected", 7), this.monthChanged = h(this, "monthChanged", 7), this.selectableDates = void 0, this.selectedDate = void 0, this.configSettings = void 0, this.selectedLanguage = void 0, this.isLoading = void 0, this.eventDuration = void 0, this.month = this.selectedDate || /* @__PURE__ */ new Date(), this.dates = this.getDates(), this.disableNextMonthButton = !1;
628
631
  }
629
632
  configSettingsChanged(e) {
630
633
  var o;
@@ -656,14 +659,14 @@ const oe = class {
656
659
  X(/* @__PURE__ */ new Date(), a).getTime() < t.getTime() ? this.disableNextMonthButton = !0 : this.disableNextMonthButton = !1, this.dates = this.getDates(), this.monthChanged.emit(this.month);
657
660
  }
658
661
  isSelected(e, t, a) {
659
- return e && t && w(e, t) && a && (a == null ? void 0 : a.length) > 0;
662
+ return e && t && E(e, t) && a && (a == null ? void 0 : a.length) > 0;
660
663
  }
661
664
  isDisabled(e, t) {
662
- return e && (t == null ? void 0 : t.find((a) => w(a, e))) === void 0;
665
+ return e && (t == null ? void 0 : t.find((a) => E(a, e))) === void 0;
663
666
  }
664
667
  render() {
665
668
  var e, t, a, r, o, i, s;
666
- return n(g, { key: "3e6dd28572687991de4841d639c5bdbd5d2d6e0b", part: "ndp" }, n("div", { key: "b8a31231d9e04035c468f9c025bbd3adb4f0dbb2", class: "nylas-date-picker" }, n("div", { key: "c25024241ce71fb94bcc485cc32614c820a69fee", class: "title", part: "ndp__title" }, (e = this.configSettings) != null && e.name ? n("h1", null, (t = this.configSettings) == null ? void 0 : t.name) : ((r = (a = this.configSettings) == null ? void 0 : a.organizer) == null ? void 0 : r.name) && n("h1", null, n("person-icon", null), ((i = (o = this.configSettings) == null ? void 0 : o.organizer) == null ? void 0 : i.name) || "Organizer"), n("p", { key: "f51da2bb7f8b5d6b84ea5a9ea66aef03b9e10e12" }, n("clock-icon", { key: "42a947b00a14afe7c57c716e37ef4d418e55e337" }), this.eventDuration ? me(this.eventDuration) : `- ${c.t("time.minutes")}`)), n("div", { key: "bb264f745cbe51ece10238e3a2f3fae55d2f1bdb", class: "header flex-row" }, n("h2", { key: "16ecbac96e4ede32b8b524a645f96e30d16e2814", part: "ndp__month-header" }, n("strong", { key: "aaf8064ac4ebd41680fb4c147b5a23fc7e5554f2" }, be(this.month.toLocaleDateString(void 0, { month: "long" }).toLocaleLowerCase())), " ", this.month.toLocaleDateString(void 0, { year: "numeric" })), n("div", { key: "8d5fdca1f4de5d8b75c89ebf6bc6d964b39b8351", class: "pagination" }, n("button", { key: "9a993814c06483337caea097727932aa75e53243", onClick: () => this.changeMonth(-1), class: { "chevron-left": !0, button: !0 }, disabled: !((s = this.selectableDates) != null && s.length) || this.month <= /* @__PURE__ */ new Date(), part: "ndp__month-button" }, n("chevron-icon", { key: "edd3668dee154cb573cf3ed25e72beb2938cb9d2" })), n("button", { key: "9452edc29c45e8ff24f76521b94762f128201ba0", onClick: () => this.changeMonth(1), class: { "chevron-right": !0, button: !0 }, disabled: this.disableNextMonthButton, part: "ndp__month-button" }, n("chevron-icon", { key: "1f27334ee808470e844f8f08c4fd4dfc39376b2d" })))), n("div", { key: "4173feb8a2661c49d0c898864886db0f90f6a181", class: "dates" }, [
669
+ return n(g, { key: "3e6dd28572687991de4841d639c5bdbd5d2d6e0b", part: "ndp" }, n("div", { key: "b8a31231d9e04035c468f9c025bbd3adb4f0dbb2", class: "nylas-date-picker" }, n("div", { key: "c25024241ce71fb94bcc485cc32614c820a69fee", class: "title", part: "ndp__title" }, (e = this.configSettings) != null && e.name ? n("h1", null, (t = this.configSettings) == null ? void 0 : t.name) : ((r = (a = this.configSettings) == null ? void 0 : a.organizer) == null ? void 0 : r.name) && n("h1", null, n("person-icon", null), ((i = (o = this.configSettings) == null ? void 0 : o.organizer) == null ? void 0 : i.name) || "Organizer"), n("p", { key: "f51da2bb7f8b5d6b84ea5a9ea66aef03b9e10e12" }, n("clock-icon", { key: "42a947b00a14afe7c57c716e37ef4d418e55e337" }), this.eventDuration ? me(this.eventDuration) : `- ${c.t("time.minutes")}`)), n("div", { key: "bb264f745cbe51ece10238e3a2f3fae55d2f1bdb", class: "header flex-row" }, n("h2", { key: "16ecbac96e4ede32b8b524a645f96e30d16e2814", part: "ndp__month-header" }, n("strong", { key: "aaf8064ac4ebd41680fb4c147b5a23fc7e5554f2" }, pe(this.month.toLocaleDateString(void 0, { month: "long" }).toLocaleLowerCase())), " ", this.month.toLocaleDateString(void 0, { year: "numeric" })), n("div", { key: "8d5fdca1f4de5d8b75c89ebf6bc6d964b39b8351", class: "pagination" }, n("button", { key: "f70a9c3d9a8bbcf75ce3f702f82d161a59e7c7c8", title: "Previous month", onClick: () => this.changeMonth(-1), class: { "chevron-left": !0, button: !0 }, disabled: !((s = this.selectableDates) != null && s.length) || this.month <= /* @__PURE__ */ new Date(), part: "ndp__month-button" }, n("chevron-icon", { key: "8069fa1e5bfc7ef18f2f67f2ddb2fcfcb026ced3" })), n("button", { key: "6fde72c0e1bc2554ef284517637f35de19fcdd38", title: "Next month", onClick: () => this.changeMonth(1), class: { "chevron-right": !0, button: !0 }, disabled: this.disableNextMonthButton, part: "ndp__month-button" }, n("chevron-icon", { key: "79ec52b0c06fa56a763a9cb604ab54c746c63468" })))), n("div", { key: "f099f477ac31c9e686f24b721d3032455653cdea", class: "dates" }, [
667
670
  c.t("days.sunday"),
668
671
  c.t("days.monday"),
669
672
  c.t("days.tuesday"),
@@ -679,10 +682,10 @@ const oe = class {
679
682
  "current-month": R(l, this.month)
680
683
  }, style: { animationDelay: `${u * 20}ms` }, part: "ndp__date ndp__date--disabled" }, l.getDate()) : n("button", { class: {
681
684
  date: !0,
682
- selected: !!(this.selectedDate && w(l, this.selectedDate) && this.selectableDates && ((f = this.selectableDates) == null ? void 0 : f.length) > 0),
683
- "current-day": w(l, /* @__PURE__ */ new Date()),
685
+ selected: !!(this.selectedDate && E(l, this.selectedDate) && this.selectableDates && ((f = this.selectableDates) == null ? void 0 : f.length) > 0),
686
+ "current-day": E(l, /* @__PURE__ */ new Date()),
684
687
  "current-month": R(l, this.month)
685
- }, "aria-lang": l.toLocaleDateString(void 0, { dateStyle: "full" }), disabled: m, onClick: () => this.selectDate(l), part: `ndp__date ${this.isSelected(l, this.selectedDate, this.selectableDates) ? "ndp__date--selected" : ""} ${w(l, /* @__PURE__ */ new Date()) ? "ndp__date--current-day" : ""} ${R(l, this.month) ? "ndp__date--current-month" : ""}` }, l.getDate());
688
+ }, "aria-lang": l.toLocaleDateString(void 0, { dateStyle: "full" }), disabled: m, onClick: () => this.selectDate(l), part: `ndp__date ${this.isSelected(l, this.selectedDate, this.selectableDates) ? "ndp__date--selected" : ""} ${E(l, /* @__PURE__ */ new Date()) ? "ndp__date--current-day" : ""} ${R(l, this.month) ? "ndp__date--current-month" : ""}` }, l.getDate());
686
689
  }))));
687
690
  }
688
691
  static get watchers() {
@@ -693,7 +696,7 @@ const oe = class {
693
696
  }
694
697
  };
695
698
  Pe([
696
- C({
699
+ x({
697
700
  name: "nylas-date-picker",
698
701
  stateToProps: /* @__PURE__ */ new Map([
699
702
  ["scheduler.selectableDates", "selectableDates"],
@@ -713,9 +716,9 @@ Pe([
713
716
  },
714
717
  fireRegisterEvent: !0
715
718
  }),
716
- A("design:type", Function),
717
- A("design:paramtypes", []),
718
- A("design:returntype", void 0)
719
+ q("design:type", Function),
720
+ q("design:paramtypes", []),
721
+ q("design:returntype", void 0)
719
722
  ], oe.prototype, "render", null);
720
723
  oe.style = Fe;
721
724
  const Me = ":host{display:block}.nylas-locale-switch{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-left:none;border-right:none;color:var(--nylas-base-50);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s ease-in-out;font-family:inherit}@media screen and (max-width: 768px){.nylas-locale-switch{font-size:16px}}.select-wrapper{display:flex;align-items:center;gap:0.5rem}select{border:none;background:transparent;cursor:pointer;outline:none;background-color:transparent;margin:0 0 1px;padding:4px;vertical-align:middle}select#timezone{width:140px}select#language{width:80px}span.timezone-label{display:flex;width:-webkit-fill-available;justify-content:space-between}select-dropdown{width:auto}select-dropdown::part(sd_dropdown-button){border:none;padding:10px}select-dropdown::part(sd_dropdown-content){max-width:306px}", Ne = Me;
@@ -727,13 +730,13 @@ var Oe = function(e, t, a, r) {
727
730
  for (var l = e.length - 1; l >= 0; l--)
728
731
  (s = e[l]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, a, i) : s(t, a)) || i);
729
732
  return o > 3 && i && Object.defineProperty(t, a, i), i;
730
- }, q = function(e, t) {
733
+ }, A = function(e, t) {
731
734
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
732
735
  return Reflect.metadata(e, t);
733
736
  };
734
737
  const re = class {
735
738
  constructor(e) {
736
- v(this, e), this.timezoneChanged = h(this, "timezoneChanged", 7), this.languageChanged = h(this, "languageChanged", 7), this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage = navigator.language;
739
+ C(this, e), this.timezoneChanged = h(this, "timezoneChanged", 7), this.languageChanged = h(this, "languageChanged", 7), this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage = navigator.language;
737
740
  }
738
741
  connectedCallback() {
739
742
  }
@@ -783,7 +786,7 @@ const re = class {
783
786
  }
784
787
  };
785
788
  Oe([
786
- C({
789
+ x({
787
790
  name: "nylas-locale-switch",
788
791
  stateToProps: /* @__PURE__ */ new Map([
789
792
  ["scheduler.selectedLanguage", "selectedLanguage"],
@@ -799,23 +802,23 @@ Oe([
799
802
  },
800
803
  fireRegisterEvent: !0
801
804
  }),
802
- q("design:type", Function),
803
- q("design:paramtypes", []),
804
- q("design:returntype", void 0)
805
+ A("design:type", Function),
806
+ A("design:paramtypes", []),
807
+ A("design:returntype", void 0)
805
808
  ], re.prototype, "render", null);
806
809
  re.style = Ne;
807
- const $e = ".sc-nylas-logo-h{display:flex}", He = $e, Ae = class {
810
+ const $e = ".sc-nylas-logo-h{display:flex}", He = $e, qe = class {
808
811
  constructor(e) {
809
- v(this, e), this.width = "69", this.height = "24";
812
+ C(this, e), this.width = "69", this.height = "24";
810
813
  }
811
814
  render() {
812
- return n("svg", { key: "62222dd3800378729b2adde6c2983fe6cee23caa", width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("g", { key: "97910c954c2b27d45639c4efee40a9b692928d5c", "clip-path": "url(#clip0_455_3543)" }, n("path", { key: "e0334bf2d85c5bb3d69f9ef9fd16dfcc213fe853", d: "M15.8092 3.03248C14.6497 1.86996 13.1076 1.23047 11.4646 1.23047C9.82156 1.23047 8.27753 1.86996 7.11999 3.03248L0.835347 9.33381C0.686846 9.4827 0.60498 9.68123 0.60498 9.89312C0.60498 10.105 0.686846 10.3035 0.835347 10.4524C0.983848 10.6013 1.18185 10.6834 1.39318 10.6834C1.60451 10.6834 1.80251 10.6013 1.95101 10.4524L8.23374 4.15111C10.0139 2.36627 12.9134 2.36627 14.6935 4.15111C16.4736 5.93785 16.4756 8.84322 14.6935 10.6281L8.4108 16.9275C8.10428 17.2348 8.10428 17.7368 8.4108 18.0461C8.5593 18.195 8.75731 18.2771 8.96863 18.2771C9.17996 18.2771 9.37796 18.195 9.52646 18.0461L15.8092 11.7467C16.9687 10.5841 17.6064 9.03793 17.6064 7.39053C17.6064 5.74314 16.9687 4.19501 15.8092 3.03439V3.03248Z", fill: "currentColor" }), n("path", { key: "0e4dcb860598c50b18aa23b870f995c387df5db1", d: "M14.9296 7.39038C14.9296 6.46074 14.5698 5.58837 13.9148 4.93361C12.5631 3.57828 10.3641 3.57828 9.01239 4.93361L0.663961 13.3023C0.51546 13.4512 0.433594 13.6497 0.433594 13.8616C0.433594 14.0735 0.51546 14.272 0.663961 14.4209C0.812462 14.5698 1.01046 14.6519 1.22179 14.6519C1.43312 14.6519 1.63112 14.5698 1.77962 14.4209L10.0367 6.1515L10.05 6.13623C10.0747 6.10759 10.1014 6.07705 10.128 6.05033C10.1585 6.01978 10.1928 5.99115 10.2251 5.96252L10.2442 5.94534C10.9886 5.31349 12.1119 5.3593 12.8011 6.05033C13.4903 6.74135 13.536 7.78171 12.9705 8.53192L12.9648 8.53955C12.9058 8.61591 12.8544 8.67699 12.8011 8.73044C12.7497 8.78198 12.6906 8.83352 12.6069 8.90033L4.45264 17.0991C4.30414 17.248 4.22227 17.4465 4.22227 17.6584C4.22227 17.8703 4.30414 18.0689 4.45264 18.2177C4.60114 18.3666 4.79914 18.4487 5.01047 18.4487C5.2218 18.4487 5.4198 18.3666 5.5683 18.2177L13.9167 9.84716C14.5698 9.1924 14.9315 8.31812 14.9315 7.39038H14.9296Z", fill: "currentColor" }), n("path", { key: "0932b6eef652d9a91bd578c888bdaf3bd14aba4a", d: "M10.6821 9.11238C10.4727 9.01694 10.2861 8.88904 10.1281 8.7306C9.97008 8.57216 9.84252 8.38508 9.74733 8.1751L9.69021 8.05103L0.467916 17.2978C0.287049 17.4792 0.174721 17.7082 0.149971 17.9411C0.125221 18.1778 0.19376 18.3897 0.344165 18.5405C0.471724 18.6684 0.65259 18.739 0.850592 18.739C1.11142 18.739 1.37796 18.6207 1.58358 18.4145L10.8059 9.16774L10.6821 9.11047V9.11238Z", fill: "currentColor" }), n("path", { key: "19c41ab0458b7c96debb14698f9b7c12fb8155d7", d: "M68.401 10.6185C68.2126 10.2692 67.9593 9.97334 67.6433 9.73854C67.3235 9.49993 66.956 9.31094 66.5486 9.17541C66.1316 9.03606 65.7033 8.91771 65.2749 8.81844C64.7951 8.70582 64.3039 8.57983 63.8165 8.44811C63.3196 8.31258 62.9065 8.14269 62.5905 7.94225C62.4743 7.88689 62.3391 7.76663 62.3391 7.50129C62.3391 7.39821 62.3639 7.29704 62.4153 7.19587L62.4248 7.18059C62.5352 7.02216 62.7142 6.8828 62.975 6.75109C63.234 6.62128 63.609 6.55829 64.1231 6.55829C64.5286 6.55829 64.877 6.61365 65.1569 6.72436C65.4348 6.83508 65.6652 6.96871 65.8442 7.12524C66.0212 7.27986 66.1659 7.45357 66.2782 7.63873C66.3563 7.76854 66.4267 7.89262 66.4858 8.00525L68.2754 6.84081C68.1669 6.59456 68.0146 6.33495 67.8204 6.0677C67.6033 5.768 67.3254 5.4893 66.9922 5.23732C66.659 4.98534 66.2516 4.77345 65.7813 4.60929C65.3111 4.44512 64.7532 4.36304 64.1231 4.36304C63.3844 4.36304 62.7599 4.46421 62.2706 4.66083C61.7813 4.85935 61.3815 5.09988 61.0845 5.37667C60.7875 5.65346 60.5628 5.95125 60.4143 6.2605C60.2639 6.57547 60.1611 6.85799 60.1078 7.10233C60.0945 7.18059 60.0812 7.27031 60.0678 7.36767C60.0545 7.4593 60.0469 7.5452 60.0469 7.62537C60.0469 8.13314 60.1745 8.56074 60.4239 8.89671C60.679 9.24222 61.0045 9.53429 61.391 9.76336C61.7813 9.99624 62.2116 10.1852 62.6704 10.3227C63.1388 10.462 63.5862 10.5823 64.0012 10.6796C64.4067 10.777 64.7932 10.8782 65.1531 10.9774C65.5224 11.0786 65.8289 11.2122 66.0631 11.3745C66.2801 11.5425 66.3887 11.7448 66.3887 11.9777C66.3887 12.2278 66.2916 12.4263 66.0993 12.5695C65.9279 12.6954 65.7261 12.7985 65.4958 12.8711C65.273 12.9436 65.0407 12.9913 64.8066 13.0142C64.58 13.0352 64.3915 13.0467 64.2468 13.0467C63.8032 13.0467 63.4224 13.0028 63.1197 12.915C62.8151 12.8272 62.5638 12.7241 62.3734 12.6057C62.1811 12.4874 62.0288 12.3614 61.9222 12.2316C61.8213 12.1094 61.747 12.0082 61.7014 11.9319L61.4957 11.6303L59.708 12.7928C59.8508 13.0161 60.0298 13.2643 60.2392 13.5296C60.4772 13.8293 60.7837 14.1138 61.153 14.3734C61.5224 14.633 61.966 14.8525 62.4724 15.0243C62.9788 15.1961 63.5748 15.282 64.2468 15.282C64.797 15.282 65.2901 15.2324 65.7166 15.137C66.1412 15.0396 66.5162 14.9117 66.8285 14.7552C67.1388 14.6005 67.4015 14.4192 67.6109 14.2149C67.8223 14.0107 67.9974 13.8026 68.1326 13.6003C68.4563 13.1135 68.6409 12.5504 68.6828 11.9262C68.6828 11.4069 68.5876 10.9641 68.401 10.6166V10.6185Z", fill: "currentColor" }), n("path", { key: "3f67d09eef5ed6fd2189d8f346cdc87a1fb2d9eb", d: "M26.3585 4.27905C23.7901 4.27905 21.6997 6.37504 21.6997 8.95017V15.0701H23.9291V8.95017C23.9291 7.6082 25.0181 6.5163 26.3565 6.5163C27.695 6.5163 28.784 7.6082 28.784 8.95017V15.0701H31.0134V8.95017C31.0134 6.37504 28.9229 4.27905 26.3546 4.27905H26.3585Z", fill: "currentColor" }), n("path", { key: "12c89a71827969f361db08eaa92989e77273197c", d: "M53.4522 4.27905C50.4251 4.27905 47.9634 6.74728 47.9634 9.78245C47.9634 12.8176 50.427 15.2859 53.4522 15.2859C54.5545 15.2859 55.6188 14.9594 56.5288 14.3409L56.7116 14.2169V15.0682H58.941V9.78245C58.941 6.74728 56.4793 4.27905 53.4522 4.27905ZM53.4522 13.0505C51.655 13.0505 50.1928 11.5845 50.1928 9.78245C50.1928 7.98044 51.655 6.51439 53.4522 6.51439C55.2494 6.51439 56.7116 7.98044 56.7116 9.78245C56.7116 11.5845 55.2494 13.0505 53.4522 13.0505Z", fill: "currentColor" }), n("path", { key: "e129a0531742754423169ea6d4f88a8b9a7a3448", d: "M45.5795 10.6166V0.356201H43.3501V10.6166C43.3501 13.1517 45.3758 15.2228 47.8908 15.2858V13.0486C46.6057 12.9875 45.5795 11.9204 45.5795 10.6166Z", fill: "currentColor" }), n("path", { key: "f1e19b3ef09568e57cac44d71d21a8db19ee1184", d: "M39.5428 4.4967V10.63C39.5428 11.6761 38.8669 12.621 37.9016 12.9284C37.1249 13.1746 36.3157 13.0486 35.6817 12.5829C35.0592 12.1247 34.6879 11.3917 34.6879 10.6186V4.4967H32.4585V10.5995C32.4585 12.7165 33.8388 14.57 35.8131 15.1084C37.0354 15.4424 38.2995 15.2973 39.3695 14.7037L39.5428 14.6063V14.9747C39.5428 16.2766 38.5166 17.3437 37.2315 17.4067V19.6439C39.7465 19.5809 41.7722 17.5117 41.7722 14.9747V4.4967H39.5428Z", fill: "currentColor" })), n("defs", { key: "c97ba75e4811081b3bd50460af81e60666c44d38" }, n("clipPath", { key: "e585d77949e6cf411e08275bd51b239a8a6b4af8", id: "clip0_455_3543" }, n("rect", { key: "586c6b1e9c085419045cf92a2fd21301ead072ea", width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" }))));
815
+ return n("svg", { key: "aeb5a7e31cfa6b2846b43e3d1ea193a0d153dac4", width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("g", { key: "425c49e05a92478dba4bc83fadecdd8ecd547847", "clip-path": "url(#clip0_455_3543)" }, n("path", { key: "32bb9a4fbd72da875039ed9986b04f7a5dd322ad", d: "M15.8092 3.03248C14.6497 1.86996 13.1076 1.23047 11.4646 1.23047C9.82156 1.23047 8.27753 1.86996 7.11999 3.03248L0.835347 9.33381C0.686846 9.4827 0.60498 9.68123 0.60498 9.89312C0.60498 10.105 0.686846 10.3035 0.835347 10.4524C0.983848 10.6013 1.18185 10.6834 1.39318 10.6834C1.60451 10.6834 1.80251 10.6013 1.95101 10.4524L8.23374 4.15111C10.0139 2.36627 12.9134 2.36627 14.6935 4.15111C16.4736 5.93785 16.4756 8.84322 14.6935 10.6281L8.4108 16.9275C8.10428 17.2348 8.10428 17.7368 8.4108 18.0461C8.5593 18.195 8.75731 18.2771 8.96863 18.2771C9.17996 18.2771 9.37796 18.195 9.52646 18.0461L15.8092 11.7467C16.9687 10.5841 17.6064 9.03793 17.6064 7.39053C17.6064 5.74314 16.9687 4.19501 15.8092 3.03439V3.03248Z", fill: "currentColor" }), n("path", { key: "e2ab1ab8a9eb353201c2510647cca662e1078b52", d: "M14.9296 7.39038C14.9296 6.46074 14.5698 5.58837 13.9148 4.93361C12.5631 3.57828 10.3641 3.57828 9.01239 4.93361L0.663961 13.3023C0.51546 13.4512 0.433594 13.6497 0.433594 13.8616C0.433594 14.0735 0.51546 14.272 0.663961 14.4209C0.812462 14.5698 1.01046 14.6519 1.22179 14.6519C1.43312 14.6519 1.63112 14.5698 1.77962 14.4209L10.0367 6.1515L10.05 6.13623C10.0747 6.10759 10.1014 6.07705 10.128 6.05033C10.1585 6.01978 10.1928 5.99115 10.2251 5.96252L10.2442 5.94534C10.9886 5.31349 12.1119 5.3593 12.8011 6.05033C13.4903 6.74135 13.536 7.78171 12.9705 8.53192L12.9648 8.53955C12.9058 8.61591 12.8544 8.67699 12.8011 8.73044C12.7497 8.78198 12.6906 8.83352 12.6069 8.90033L4.45264 17.0991C4.30414 17.248 4.22227 17.4465 4.22227 17.6584C4.22227 17.8703 4.30414 18.0689 4.45264 18.2177C4.60114 18.3666 4.79914 18.4487 5.01047 18.4487C5.2218 18.4487 5.4198 18.3666 5.5683 18.2177L13.9167 9.84716C14.5698 9.1924 14.9315 8.31812 14.9315 7.39038H14.9296Z", fill: "currentColor" }), n("path", { key: "bf60edb0f9ef7af659f002e137f22d437bb5156e", d: "M10.6821 9.11238C10.4727 9.01694 10.2861 8.88904 10.1281 8.7306C9.97008 8.57216 9.84252 8.38508 9.74733 8.1751L9.69021 8.05103L0.467916 17.2978C0.287049 17.4792 0.174721 17.7082 0.149971 17.9411C0.125221 18.1778 0.19376 18.3897 0.344165 18.5405C0.471724 18.6684 0.65259 18.739 0.850592 18.739C1.11142 18.739 1.37796 18.6207 1.58358 18.4145L10.8059 9.16774L10.6821 9.11047V9.11238Z", fill: "currentColor" }), n("path", { key: "91492a460d37310bd3d7296ed085052c5f5d5ff7", d: "M68.401 10.6185C68.2126 10.2692 67.9593 9.97334 67.6433 9.73854C67.3235 9.49993 66.956 9.31094 66.5486 9.17541C66.1316 9.03606 65.7033 8.91771 65.2749 8.81844C64.7951 8.70582 64.3039 8.57983 63.8165 8.44811C63.3196 8.31258 62.9065 8.14269 62.5905 7.94225C62.4743 7.88689 62.3391 7.76663 62.3391 7.50129C62.3391 7.39821 62.3639 7.29704 62.4153 7.19587L62.4248 7.18059C62.5352 7.02216 62.7142 6.8828 62.975 6.75109C63.234 6.62128 63.609 6.55829 64.1231 6.55829C64.5286 6.55829 64.877 6.61365 65.1569 6.72436C65.4348 6.83508 65.6652 6.96871 65.8442 7.12524C66.0212 7.27986 66.1659 7.45357 66.2782 7.63873C66.3563 7.76854 66.4267 7.89262 66.4858 8.00525L68.2754 6.84081C68.1669 6.59456 68.0146 6.33495 67.8204 6.0677C67.6033 5.768 67.3254 5.4893 66.9922 5.23732C66.659 4.98534 66.2516 4.77345 65.7813 4.60929C65.3111 4.44512 64.7532 4.36304 64.1231 4.36304C63.3844 4.36304 62.7599 4.46421 62.2706 4.66083C61.7813 4.85935 61.3815 5.09988 61.0845 5.37667C60.7875 5.65346 60.5628 5.95125 60.4143 6.2605C60.2639 6.57547 60.1611 6.85799 60.1078 7.10233C60.0945 7.18059 60.0812 7.27031 60.0678 7.36767C60.0545 7.4593 60.0469 7.5452 60.0469 7.62537C60.0469 8.13314 60.1745 8.56074 60.4239 8.89671C60.679 9.24222 61.0045 9.53429 61.391 9.76336C61.7813 9.99624 62.2116 10.1852 62.6704 10.3227C63.1388 10.462 63.5862 10.5823 64.0012 10.6796C64.4067 10.777 64.7932 10.8782 65.1531 10.9774C65.5224 11.0786 65.8289 11.2122 66.0631 11.3745C66.2801 11.5425 66.3887 11.7448 66.3887 11.9777C66.3887 12.2278 66.2916 12.4263 66.0993 12.5695C65.9279 12.6954 65.7261 12.7985 65.4958 12.8711C65.273 12.9436 65.0407 12.9913 64.8066 13.0142C64.58 13.0352 64.3915 13.0467 64.2468 13.0467C63.8032 13.0467 63.4224 13.0028 63.1197 12.915C62.8151 12.8272 62.5638 12.7241 62.3734 12.6057C62.1811 12.4874 62.0288 12.3614 61.9222 12.2316C61.8213 12.1094 61.747 12.0082 61.7014 11.9319L61.4957 11.6303L59.708 12.7928C59.8508 13.0161 60.0298 13.2643 60.2392 13.5296C60.4772 13.8293 60.7837 14.1138 61.153 14.3734C61.5224 14.633 61.966 14.8525 62.4724 15.0243C62.9788 15.1961 63.5748 15.282 64.2468 15.282C64.797 15.282 65.2901 15.2324 65.7166 15.137C66.1412 15.0396 66.5162 14.9117 66.8285 14.7552C67.1388 14.6005 67.4015 14.4192 67.6109 14.2149C67.8223 14.0107 67.9974 13.8026 68.1326 13.6003C68.4563 13.1135 68.6409 12.5504 68.6828 11.9262C68.6828 11.4069 68.5876 10.9641 68.401 10.6166V10.6185Z", fill: "currentColor" }), n("path", { key: "9fc1463f04937f556f2a92080601c06823b65fff", d: "M26.3585 4.27905C23.7901 4.27905 21.6997 6.37504 21.6997 8.95017V15.0701H23.9291V8.95017C23.9291 7.6082 25.0181 6.5163 26.3565 6.5163C27.695 6.5163 28.784 7.6082 28.784 8.95017V15.0701H31.0134V8.95017C31.0134 6.37504 28.9229 4.27905 26.3546 4.27905H26.3585Z", fill: "currentColor" }), n("path", { key: "1d7377b0a33ddd2289ea3248c5f3f8ca5843797d", d: "M53.4522 4.27905C50.4251 4.27905 47.9634 6.74728 47.9634 9.78245C47.9634 12.8176 50.427 15.2859 53.4522 15.2859C54.5545 15.2859 55.6188 14.9594 56.5288 14.3409L56.7116 14.2169V15.0682H58.941V9.78245C58.941 6.74728 56.4793 4.27905 53.4522 4.27905ZM53.4522 13.0505C51.655 13.0505 50.1928 11.5845 50.1928 9.78245C50.1928 7.98044 51.655 6.51439 53.4522 6.51439C55.2494 6.51439 56.7116 7.98044 56.7116 9.78245C56.7116 11.5845 55.2494 13.0505 53.4522 13.0505Z", fill: "currentColor" }), n("path", { key: "363876835f54604ef28b9991316d8456435b490f", d: "M45.5795 10.6166V0.356201H43.3501V10.6166C43.3501 13.1517 45.3758 15.2228 47.8908 15.2858V13.0486C46.6057 12.9875 45.5795 11.9204 45.5795 10.6166Z", fill: "currentColor" }), n("path", { key: "72a40845c1767db7f047c30d97327c42989e0cec", d: "M39.5428 4.4967V10.63C39.5428 11.6761 38.8669 12.621 37.9016 12.9284C37.1249 13.1746 36.3157 13.0486 35.6817 12.5829C35.0592 12.1247 34.6879 11.3917 34.6879 10.6186V4.4967H32.4585V10.5995C32.4585 12.7165 33.8388 14.57 35.8131 15.1084C37.0354 15.4424 38.2995 15.2973 39.3695 14.7037L39.5428 14.6063V14.9747C39.5428 16.2766 38.5166 17.3437 37.2315 17.4067V19.6439C39.7465 19.5809 41.7722 17.5117 41.7722 14.9747V4.4967H39.5428Z", fill: "currentColor" })), n("defs", { key: "fd197f32005cc211e8c265d9909df3a33911fd08" }, n("clipPath", { key: "fc1ae55255e6bd8e6b2e97348a9a76c92c433876", id: "clip0_455_3543" }, n("rect", { key: "c67f2f37b5f3a524e3c89aa3eba842cfc3c86c0c", width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" }))));
813
816
  }
814
817
  };
815
- Ae.style = He;
816
- const qe = ':host{display:block;margin-bottom:-12px;width:100%;z-index:1;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.notif{display:flex;padding:17px;align-items:flex-start;justify-content:space-between;gap:16px;border-radius:var(--nylas-border-radius-2x);border:1.5px solid var(--nylas-error);background:var(--nylas-base-0)}@media screen and (max-width: 768px){.notif{width:auto}}.notif .content{display:flex;flex-direction:row;gap:8px}.notif .content .message{font-size:14px;font-weight:400;color:var(--nylas-base-800)}.notif .content .message .title{font-size:16px;font-weight:600;color:var(--nylas-base-950);display:block}.notif .content .message .description{font-size:14px;font-weight:400;color:var(--nylas-base-800);display:block}.notif .content .icon.error{color:var(--nylas-error)}.notif.error{border-color:var(--nylas-error);background:rgb(255, 248, 248)}.notif.warning{border-color:var(--nylas-warning)}.notif.info{border-color:var(--nylas-info)}.notif.success{border-color:var(--nylas-success)}.notif .dismiss-btn{background:none;border:none;color:var(--nylas-base-950);cursor:pointer}', Ve = qe, Ze = class {
818
+ qe.style = He;
819
+ const Ae = ':host{display:block;margin-bottom:-12px;width:100%;z-index:1;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.notif{display:flex;padding:17px;align-items:flex-start;justify-content:space-between;gap:16px;border-radius:var(--nylas-border-radius-2x);border:1.5px solid var(--nylas-error);background:var(--nylas-base-0)}@media screen and (max-width: 768px){.notif{width:auto}}.notif .content{display:flex;flex-direction:row;gap:8px}.notif .content .message{font-size:14px;font-weight:400;color:var(--nylas-base-800)}.notif .content .message .title{font-size:16px;font-weight:600;color:var(--nylas-base-950);display:block}.notif .content .message .description{font-size:14px;font-weight:400;color:var(--nylas-base-800);display:block}.notif .content .icon.error{color:var(--nylas-error)}.notif.error{border-color:var(--nylas-error);background:rgb(255, 248, 248)}.notif.warning{border-color:var(--nylas-warning)}.notif.info{border-color:var(--nylas-info)}.notif.success{border-color:var(--nylas-success)}.notif .dismiss-btn{background:none;border:none;color:var(--nylas-base-950);cursor:pointer}', Ve = Ae, Ze = class {
817
820
  constructor(e) {
818
- v(this, e), this.ttl = 5e3, this.allowedCategories = ["component", "api", "validation", "invalid_session"], this.notifications = [];
821
+ C(this, e), this.ttl = 5e3, this.allowedCategories = ["component", "api", "validation", "invalid_session"], this.notifications = [];
819
822
  }
820
823
  onError(e) {
821
824
  d(`[nylas-notification] Error: ${e.detail.notification.title}`), this.handleNotification(e);
@@ -867,7 +870,7 @@ const qe = ':host{display:block;margin-bottom:-12px;width:100%;z-index:1;--nylas
867
870
  this.notifications = this.notifications.filter((t) => t.id !== e);
868
871
  }
869
872
  render() {
870
- return n(g, { key: "9a2b2d32b746b25c06f61494c2cae183712f61e0" }, n(pe, { key: "561d628e0954735a0a0643b076101f4a0e4cfe0a" }, this.notifications.map((e) => n("div", { class: `notif ${e.type}`, key: e.id }, n("div", { class: "content" }, n("span", { class: `icon ${e.type}` }, (e.type === "error" || e.type === "warning") && n("warning-icon", null)), n("span", { class: "message" }, n("span", { class: "title" }, e.title), e.description && n("span", { class: "description" }, e.description))), n("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(e.id) }, n("close-icon", null)))), n("slot", { key: "2f2d91b57282c87026f507f065b0e98615658ff2" })));
873
+ return n(g, { key: "83454a1a73a488653b469774ee8915e21d892d65" }, n(be, { key: "34b9bdef55e83f345074ad482a256f7eb3ed719e" }, this.notifications.map((e) => n("div", { class: `notif ${e.type}`, key: e.id }, n("div", { class: "content" }, n("span", { class: `icon ${e.type}` }, (e.type === "error" || e.type === "warning") && n("warning-icon", null)), n("span", { class: "message" }, n("span", { class: "title" }, e.title), e.description && n("span", { class: "description" }, e.description))), n("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(e.id) }, n("close-icon", null)))), n("slot", { key: "bff0a753c23041a123bea8391363b0caad111342" })));
871
874
  }
872
875
  get host() {
873
876
  return W(this);
@@ -889,7 +892,7 @@ var Ue = function(e, t, a, r) {
889
892
  };
890
893
  const se = class {
891
894
  constructor(e) {
892
- v(this, e), this.rejectBookingButtonClicked = h(this, "rejectBookingButtonClicked", 7), this.confirmBookingButtonClicked = h(this, "confirmBookingButtonClicked", 7), this.confirmBookingError = h(this, "confirmBookingError", 7), this.handleConfirmBookingButtonClicked = () => {
895
+ C(this, e), this.rejectBookingButtonClicked = h(this, "rejectBookingButtonClicked", 7), this.confirmBookingButtonClicked = h(this, "confirmBookingButtonClicked", 7), this.confirmBookingError = h(this, "confirmBookingError", 7), this.handleConfirmBookingButtonClicked = () => {
893
896
  this.action = "confirm";
894
897
  const t = (a) => {
895
898
  this.confirmBookingError.emit(a);
@@ -913,19 +916,19 @@ const se = class {
913
916
  this.action = null;
914
917
  }
915
918
  render() {
916
- var e, t, a, r, o, i, s, l, u, m, f, p;
917
- return n(g, { key: "6d80da6d7d359bad3d317d04db827e51d02f36c9", part: "nmcc" }, n("div", { key: "eeca3a1fe7937e7be2a15ab418e0c46bee8b207f", class: "event-card-wrapper", part: "nmccc__card" }, n("div", { key: "7b5fad347fbe69a1b62945cd4945854e086e4bd2", class: "calendar-icon" }, n("calendar-check-icon", { key: "427696f8e3de3f7d1f8d131626897460beb616f9" })), n("div", { key: "fdb11fa1b76f83cd64e8ed44e637aff89b33e93e", class: "booked-event-header" }, n("h2", { key: "2c18ab70ed2f00251552c972a040721c64979276", slot: "card-title", part: "nmcc__title" }, !!this.organizerConfirmationBookingId && `${c.t("bookingPendingTitle")}!`)), n("div", { key: "70cbb157ae6436799d24092f6bd0ce82df8c4c5d", class: "manage-booking-description" }, n("p", { key: "afaeb94cf6ff0d75fa17c8a24298078b95d5d8f8" }, c.t("bookingPendingnDescription"))), n("div", { key: "fb6b22ad30e9af98b50cd4a35ad545ba8b5a100b", class: {
919
+ var e, t, a, r, o, i, s, l, u, m, f, b;
920
+ return n(g, { key: "123955b645210a040f6916e9a85847c934222b79", part: "nmcc" }, n("div", { key: "cc41530612eaf960219e9a9eeab0b77f76d35c5e", class: "event-card-wrapper", part: "nmccc__card" }, n("div", { key: "c24348bc400422f9aa2136b0a895fc4b8b5d5591", class: "calendar-icon" }, n("calendar-check-icon", { key: "fb172e317fabeea80d213a1c2b98aa67ed63f641" })), n("div", { key: "4d75233d1b6601beca52683ad9313e3cc2c12404", class: "booked-event-header" }, n("h2", { key: "7f27dbb922928b25f1fe97929356d9f4f6060759", slot: "card-title", part: "nmcc__title" }, !!this.organizerConfirmationBookingId && `${c.t("bookingPendingTitle")}!`)), n("div", { key: "faf8aec0e5815abc2dac1e0dc3a8527b8394ea3c", class: "manage-booking-description" }, n("p", { key: "b6eb26a6f6f6af476dbceffee3ccadf10c0f97a9" }, c.t("bookingPendingnDescription"))), n("div", { key: "73009ddd0596cd27c1da6c0c5252ee2766475297", class: {
918
921
  footer: !0,
919
922
  "no-footer": ((t = (e = this.configSettings) == null ? void 0 : e.scheduler) == null ? void 0 : t.hide_cancellation_options) && ((r = (a = this.configSettings) == null ? void 0 : a.scheduler) == null ? void 0 : r.hide_rescheduling_options),
920
923
  "no-template-cols": ((i = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : i.hide_cancellation_options) || ((l = (s = this.configSettings) == null ? void 0 : s.scheduler) == null ? void 0 : l.hide_rescheduling_options)
921
- } }, !((m = (u = this.configSettings) == null ? void 0 : u.scheduler) != null && m.hide_cancellation_options) && n("button-component", { variant: "destructive", onClick: this.handleRejectBookingButtonClicked, isLoading: this.isLoading && this.action === "reject", part: "nmcc__button-outline nmcc__cancel-cta" }, `${c.t("rejectBookingButton")}`), !((p = (f = this.configSettings) == null ? void 0 : f.scheduler) != null && p.hide_rescheduling_options) && n("button-component", { variant: "basic", onClick: this.handleConfirmBookingButtonClicked, isLoading: this.isLoading && this.action === "confirm", part: "nmcc__button-outline nmcc__reschedule-cta" }, `${c.t("confirmBookingButton")}`))));
924
+ } }, !((m = (u = this.configSettings) == null ? void 0 : u.scheduler) != null && m.hide_cancellation_options) && n("button-component", { variant: "destructive", onClick: this.handleRejectBookingButtonClicked, isLoading: this.isLoading && this.action === "reject", part: "nmcc__button-outline nmcc__cancel-cta" }, `${c.t("rejectBookingButton")}`), !((b = (f = this.configSettings) == null ? void 0 : f.scheduler) != null && b.hide_rescheduling_options) && n("button-component", { variant: "basic", onClick: this.handleConfirmBookingButtonClicked, isLoading: this.isLoading && this.action === "confirm", part: "nmcc__button-outline nmcc__reschedule-cta" }, `${c.t("confirmBookingButton")}`))));
922
925
  }
923
926
  get host() {
924
927
  return W(this);
925
928
  }
926
929
  };
927
930
  Ue([
928
- C({
931
+ x({
929
932
  name: "nylas-organizer-confirmation-card",
930
933
  stateToProps: /* @__PURE__ */ new Map([
931
934
  ["scheduler.organizerConfirmationBookingId", "organizerConfirmationBookingId"],
@@ -967,7 +970,7 @@ var Je = function(e, t, a, r) {
967
970
  };
968
971
  const le = class {
969
972
  constructor(e) {
970
- v(this, e), this.selectedDate = void 0, this.selectedTimeslot = void 0, this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage = void 0, this.startTime = "", this.endTime = "";
973
+ C(this, e), this.selectedDate = void 0, this.selectedTimeslot = void 0, this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage = void 0, this.startTime = "", this.endTime = "";
971
974
  }
972
975
  connectedCallback() {
973
976
  }
@@ -992,7 +995,7 @@ const le = class {
992
995
  }
993
996
  };
994
997
  Je([
995
- C({
998
+ x({
996
999
  name: "nylas-selected-event-card",
997
1000
  stateToProps: /* @__PURE__ */ new Map([
998
1001
  ["scheduler.selectedDate", "selectedDate"],
@@ -1023,7 +1026,7 @@ var et = function(e, t, a, r) {
1023
1026
  };
1024
1027
  const ce = class {
1025
1028
  constructor(e) {
1026
- v(this, e), this.timeslotSelected = h(this, "timeslotSelected", 7), this.timeslotConfirmed = h(this, "timeslotConfirmed", 7), this.handleConfirmedTimeslot = async (t, a) => {
1029
+ C(this, e), this.timeslotSelected = h(this, "timeslotSelected", 7), this.timeslotConfirmed = h(this, "timeslotConfirmed", 7), this.handleConfirmedTimeslot = async (t, a) => {
1027
1030
  t.preventDefault(), d("[nylas-timeslot-picker] Confirm timeslot", a), this.timeslotConfirmed.emit(a);
1028
1031
  }, this.handleMouseEnter = (t) => {
1029
1032
  this.hoveredTimeslotIndex = t;
@@ -1037,13 +1040,13 @@ const ce = class {
1037
1040
  selectedDateChanged(e) {
1038
1041
  var t;
1039
1042
  if (d("[nylas-timeslot-picker] Selected date changed", { newVal: e }), e && (this.selectedTimeslotIndex = "", typeof e < "u")) {
1040
- const a = (t = this.availability) == null ? void 0 : t.filter((r) => w(r.start_time, e)).map((r) => r);
1043
+ const a = (t = this.availability) == null ? void 0 : t.filter((r) => E(r.start_time, e)).map((r) => r);
1041
1044
  this.times = a || [];
1042
1045
  }
1043
1046
  }
1044
1047
  availabilityChanged(e) {
1045
1048
  if (d("[nylas-timeslot-picker] Available times changed", { newVal: e, selectedDate: this.selectedDate }), typeof e < "u") {
1046
- const t = e == null ? void 0 : e.filter((a) => this.selectedDate && w(a.start_time, this.selectedDate)).map((a) => a);
1049
+ const t = e == null ? void 0 : e.filter((a) => this.selectedDate && E(a.start_time, this.selectedDate)).map((a) => a);
1047
1050
  this.times = t || [];
1048
1051
  }
1049
1052
  }
@@ -1053,7 +1056,7 @@ const ce = class {
1053
1056
  }
1054
1057
  async componentWillLoad() {
1055
1058
  var t;
1056
- const e = (t = this.availability) == null ? void 0 : t.filter((a) => this.selectedDate && w(a.start_time, this.selectedDate)).map((a) => a);
1059
+ const e = (t = this.availability) == null ? void 0 : t.filter((a) => this.selectedDate && E(a.start_time, this.selectedDate)).map((a) => a);
1057
1060
  this.times = e || [], d("[nylas-timeslot-picker] Component will load", { selectedDate: this.selectedDate, availability: this.availability, times: this.times });
1058
1061
  }
1059
1062
  async componentDidLoad() {
@@ -1095,7 +1098,7 @@ const ce = class {
1095
1098
  }
1096
1099
  };
1097
1100
  et([
1098
- C({
1101
+ x({
1099
1102
  name: "nylas-timeslot-picker",
1100
1103
  stateToProps: /* @__PURE__ */ new Map([
1101
1104
  ["scheduler.selectedDate", "selectedDate"],
@@ -1128,7 +1131,7 @@ export {
1128
1131
  ae as nylas_confirmed_event_card,
1129
1132
  oe as nylas_date_picker,
1130
1133
  re as nylas_locale_switch,
1131
- Ae as nylas_logo,
1134
+ qe as nylas_logo,
1132
1135
  Ze as nylas_notification,
1133
1136
  se as nylas_organizer_confirmation_card,
1134
1137
  le as nylas_selected_event_card,
@@ -1,23 +1,23 @@
1
- import { r as b, d as o, T as y, h as n, H as m, g as p } from "./index-1322d804.js";
2
- import { R as u } from "./register-component-ea95564d-843da1da.js";
1
+ import { r as i, d as o, I as y, h as n, H as m, g as p } from "./index-e475e0c0.js";
2
+ import { R as u } from "./register-component-679c1308-de697ecb.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  const h = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-form-card{width:100%;border-radius:8px;border:1px solid var(--nylas-base-200)}.nylas-form-card__header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}', v = h;
6
6
  var _ = function(e, a, t, r) {
7
- var c = arguments.length, s = c < 3 ? a : r === null ? r = Object.getOwnPropertyDescriptor(a, t) : r, l;
7
+ var l = arguments.length, s = l < 3 ? a : r === null ? r = Object.getOwnPropertyDescriptor(a, t) : r, c;
8
8
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
9
9
  s = Reflect.decorate(e, a, t, r);
10
10
  else
11
11
  for (var d = e.length - 1; d >= 0; d--)
12
- (l = e[d]) && (s = (c < 3 ? l(s) : c > 3 ? l(a, t, s) : l(a, t)) || s);
13
- return c > 3 && s && Object.defineProperty(a, t, s), s;
14
- }, i = function(e, a) {
12
+ (c = e[d]) && (s = (l < 3 ? c(s) : l > 3 ? c(a, t, s) : c(a, t)) || s);
13
+ return l > 3 && s && Object.defineProperty(a, t, s), s;
14
+ }, f = function(e, a) {
15
15
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
16
16
  return Reflect.metadata(e, a);
17
17
  };
18
- const f = class {
18
+ const b = class {
19
19
  constructor(e) {
20
- b(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
20
+ i(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
21
21
  }
22
22
  connectedCallback() {
23
23
  o("nylas-event-card", "connectedCallback");
@@ -32,7 +32,7 @@ const f = class {
32
32
  o("nylas-event-card", "disconnectedCallback"), y(["header-title", "header-subtitle", "content"], this.host);
33
33
  }
34
34
  render() {
35
- return n(m, { key: "ceadfc37c47ece06fb9e188692f12d9b7c1c069d" }, n("div", { key: "2f05c5a7258c800b26dc55d6ffd2d3505dd746c7", class: "nylas-form-card", part: "nfc" }, n("div", { key: "96de3e134413e04a4631d013bb5c3a03c2b07b10", class: "nylas-form-card__header", part: "nfc__header" }, n("slot", { key: "bd3dc03079117538110f3011775eee108b41da9e", name: "header-title" }), n("slot", { key: "9c140e29b9ff9d8e7ea214dcd0d1eb9c4b752e20", name: "header-subtitle" })), n("div", { key: "1c75e8768e0b59ae4fd2b18f301905ecc8595a82", class: "nylas-form-card__content" }, n("slot", { key: "2b4c082461c47313cb506dced2018af660a20ec8", name: "content" }))));
35
+ return n(m, { key: "9c490244ceaa1c08fae75cad5f796e2b45ea2538" }, n("div", { key: "696b86c8697f4062afcd8a5862c97bf3bf5492e0", class: "nylas-form-card", part: "nfc" }, n("div", { key: "af1f2eb827a74586fe44b476f1d59f9f8785e980", class: "nylas-form-card__header", part: "nfc__header" }, n("slot", { key: "968b720f04d9e64df5708fd1c4d94a9998aa72fc", name: "header-title" }), n("slot", { key: "4df6bddacc17d303f3be42584be48e50bf7fb0f0", name: "header-subtitle" })), n("div", { key: "890fbc0f1628e40a2b92201bb3e4ebc116ed2f9e", class: "nylas-form-card__content" }, n("slot", { key: "861b981bb7a420151fc375cc68dcdcd58ffbb8c2", name: "content" }))));
36
36
  }
37
37
  static get formAssociated() {
38
38
  return !0;
@@ -47,11 +47,11 @@ _([
47
47
  eventToProps: {},
48
48
  fireRegisterEvent: !0
49
49
  }),
50
- i("design:type", Function),
51
- i("design:paramtypes", []),
52
- i("design:returntype", void 0)
53
- ], f.prototype, "render", null);
54
- f.style = v;
50
+ f("design:type", Function),
51
+ f("design:paramtypes", []),
52
+ f("design:returntype", void 0)
53
+ ], b.prototype, "render", null);
54
+ b.style = v;
55
55
  export {
56
- f as nylas_form_card
56
+ b as nylas_form_card
57
57
  };