@nylas/web-elements 0.0.0-canary-20241008193213 → 0.0.0-canary-20241015194719

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 (813) hide show
  1. package/dist/cdn/add-circle/add-circle.es.js +1 -1
  2. package/dist/cdn/add-circle-icon/add-circle-icon.es.js +1 -1
  3. package/dist/cdn/archive-icon/archive-icon.es.js +127 -127
  4. package/dist/cdn/arrow-icon/arrow-icon.es.js +248 -248
  5. package/dist/cdn/bold-icon/bold-icon.es.js +1 -1
  6. package/dist/cdn/button-component/button-component.es.js +2 -2
  7. package/dist/cdn/calendar/calendar.es.js +77 -77
  8. package/dist/cdn/calendar-agenda/calendar-agenda.es.js +1 -1
  9. package/dist/cdn/calendar-agenda-fill/calendar-agenda-fill.es.js +1 -1
  10. package/dist/cdn/calendar-agenda-fill-icon/calendar-agenda-fill-icon.es.js +1 -1
  11. package/dist/cdn/calendar-agenda-icon/calendar-agenda-icon.es.js +1 -1
  12. package/dist/cdn/calendar-cancel/calendar-cancel.es.js +1 -1
  13. package/dist/cdn/calendar-cancel-icon/calendar-cancel-icon.es.js +1 -1
  14. package/dist/cdn/calendar-check/calendar-check.es.js +139 -139
  15. package/dist/cdn/calendar-check-icon/calendar-check-icon.es.js +14 -14
  16. package/dist/cdn/calendar-icon/calendar-icon.es.js +24 -24
  17. package/dist/cdn/calendar-info/calendar-info.es.js +1 -1
  18. package/dist/cdn/calendar-info-icon/calendar-info-icon.es.js +1 -1
  19. package/dist/cdn/calendar-patterns/calendar-patterns.es.js +1 -1
  20. package/dist/cdn/calendar-patterns-icon/calendar-patterns-icon.es.js +1 -1
  21. package/dist/cdn/checkbox-component/checkbox-component.es.js +1 -1
  22. package/dist/cdn/checkmark/checkmark.es.js +86 -86
  23. package/dist/cdn/checkmark-circle/checkmark-circle.es.js +99 -99
  24. package/dist/cdn/checkmark-circle-icon/checkmark-circle-icon.es.js +14 -14
  25. package/dist/cdn/checkmark-icon/checkmark-icon.es.js +1 -1
  26. package/dist/cdn/chevron/chevron.es.js +16 -16
  27. package/dist/cdn/chevron-icon/chevron-icon.es.js +14 -14
  28. package/dist/cdn/clock/clock.es.js +16 -16
  29. package/dist/cdn/clock-icon/clock-icon.es.js +14 -14
  30. package/dist/cdn/close/close.es.js +1 -1
  31. package/dist/cdn/close-icon/close-icon.es.js +54 -54
  32. package/dist/cdn/constants/constants.es.js +3 -3
  33. package/dist/cdn/copy/copy.es.js +239 -239
  34. package/dist/cdn/copy-icon/copy-icon.es.js +271 -271
  35. package/dist/cdn/delete/delete.es.js +1 -1
  36. package/dist/cdn/delete-icon/delete-icon.es.js +1 -1
  37. package/dist/cdn/document-refresh-icon/document-refresh-icon.es.js +1 -1
  38. package/dist/cdn/dragable/dragable.es.js +54 -54
  39. package/dist/cdn/dragable-icon/dragable-icon.es.js +1 -1
  40. package/dist/cdn/edit/edit.es.js +1 -1
  41. package/dist/cdn/edit-icon/edit-icon.es.js +1 -1
  42. package/dist/cdn/envelope/envelope.es.js +25 -25
  43. package/dist/cdn/envelope-fill/envelope-fill.es.js +16 -16
  44. package/dist/cdn/envelope-fill-icon/envelope-fill-icon.es.js +97 -97
  45. package/dist/cdn/envelope-icon/envelope-icon.es.js +24 -24
  46. package/dist/cdn/eye/eye.es.js +1 -1
  47. package/dist/cdn/eye-icon/eye-icon.es.js +1 -1
  48. package/dist/cdn/feedback-icon/feedback-icon.es.js +86 -86
  49. package/dist/cdn/flow/flow.es.js +1 -1
  50. package/dist/cdn/flow-icon/flow-icon.es.js +1 -1
  51. package/dist/cdn/folder-icon/folder-icon.es.js +14 -14
  52. package/dist/cdn/forward-icon/forward-icon.es.js +240 -240
  53. package/dist/cdn/globe/globe.es.js +1 -1
  54. package/dist/cdn/globe-icon/globe-icon.es.js +1 -1
  55. package/dist/cdn/google-logo/google-logo.es.js +1 -1
  56. package/dist/cdn/google-logo-icon/google-logo-icon.es.js +1 -1
  57. package/dist/cdn/google-meet/google-meet.es.js +15 -15
  58. package/dist/cdn/google-meet-icon/google-meet-icon.es.js +1 -1
  59. package/dist/cdn/inbox-icon/inbox-icon.es.js +1 -1
  60. package/dist/cdn/info/info.es.js +239 -239
  61. package/dist/cdn/info-icon/info-icon.es.js +240 -240
  62. package/dist/cdn/input-color-picker/input-color-picker.es.js +3 -3
  63. package/dist/cdn/input-component/input-component.es.js +1 -1
  64. package/dist/cdn/input-dropdown/input-dropdown.es.js +1 -1
  65. package/dist/cdn/input-image-url/input-image-url.es.js +2 -2
  66. package/dist/cdn/italic-icon/italic-icon.es.js +86 -86
  67. package/dist/cdn/loading/loading.es.js +270 -270
  68. package/dist/cdn/loading-icon/loading-icon.es.js +271 -271
  69. package/dist/cdn/location/location.es.js +100 -100
  70. package/dist/cdn/location-icon/location-icon.es.js +19 -19
  71. package/dist/cdn/location-off/location-off.es.js +86 -86
  72. package/dist/cdn/location-off-icon/location-off-icon.es.js +1 -1
  73. package/dist/cdn/microsof-teams/microsof-teams.es.js +96 -96
  74. package/dist/cdn/microsoft-logo/microsoft-logo.es.js +1 -1
  75. package/dist/cdn/microsoft-logo-icon/microsoft-logo-icon.es.js +1 -1
  76. package/dist/cdn/microsoft-teams-icon/microsoft-teams-icon.es.js +97 -97
  77. package/dist/cdn/multi-select-dropdown/multi-select-dropdown.es.js +3 -3
  78. package/dist/cdn/nylas-additional-participants/nylas-additional-participants.es.js +12 -12
  79. package/dist/cdn/nylas-availability-picker/nylas-availability-picker.es.js +15 -15
  80. package/dist/cdn/nylas-booked-event-card/nylas-booked-event-card.es.js +10 -10
  81. package/dist/cdn/nylas-booking-calendar-picker/nylas-booking-calendar-picker.es.js +5 -5
  82. package/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.es.js +7 -7
  83. package/dist/cdn/nylas-booking-confirmation-type/nylas-booking-confirmation-type.es.js +733 -734
  84. package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +154 -151
  85. package/dist/cdn/nylas-booking-form-config/nylas-booking-form-config.es.js +9 -9
  86. package/dist/cdn/nylas-buffer-time/nylas-buffer-time.es.js +5 -5
  87. package/dist/cdn/nylas-calendar-picker/nylas-calendar-picker.es.js +7 -7
  88. package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +10 -10
  89. package/dist/cdn/nylas-cancellation-policy/nylas-cancellation-policy.es.js +3 -3
  90. package/dist/cdn/nylas-cancelled-event-card/nylas-cancelled-event-card.es.js +7 -7
  91. package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +15 -15
  92. package/dist/cdn/nylas-confirmed-event-card/nylas-confirmed-event-card.es.js +723 -723
  93. package/dist/cdn/nylas-connected-calendars/nylas-connected-calendars.es.js +179 -179
  94. package/dist/cdn/nylas-custom-booking-flow/nylas-custom-booking-flow.es.js +2 -2
  95. package/dist/cdn/nylas-custom-event-slug/nylas-custom-event-slug.es.js +7 -7
  96. package/dist/cdn/nylas-customize-booking-settings/nylas-customize-booking-settings.es.js +147 -147
  97. package/dist/cdn/nylas-date-picker/nylas-date-picker.es.js +7 -7
  98. package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +6323 -5910
  99. package/dist/cdn/nylas-event-description/nylas-event-description.es.js +3 -3
  100. package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +5 -5
  101. package/dist/cdn/nylas-event-info/nylas-event-info.es.js +2 -2
  102. package/dist/cdn/nylas-event-limits/nylas-event-limits.es.js +2 -2
  103. package/dist/cdn/nylas-event-location/nylas-event-location.es.js +2558 -2533
  104. package/dist/cdn/nylas-event-title/nylas-event-title.es.js +10 -5
  105. package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +8 -8
  106. package/dist/cdn/nylas-form-card/nylas-form-card.es.js +1 -1
  107. package/dist/cdn/nylas-if-state/nylas-if-state.es.js +1 -1
  108. package/dist/cdn/nylas-limit-future-bookings/nylas-limit-future-bookings.es.js +8 -8
  109. package/dist/cdn/nylas-list-configurations/nylas-list-configurations.es.js +21 -17
  110. package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +1168 -1168
  111. package/dist/cdn/nylas-login/nylas-login.es.js +1 -1
  112. package/dist/cdn/nylas-logo/nylas-logo.es.js +125 -125
  113. package/dist/cdn/nylas-min-booking-notice/nylas-min-booking-notice.es.js +10 -10
  114. package/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js +10 -10
  115. package/dist/cdn/nylas-notification/nylas-notification.es.js +3 -3
  116. package/dist/cdn/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.es.js +6 -6
  117. package/dist/cdn/nylas-page-name/nylas-page-name.es.js +7 -7
  118. package/dist/cdn/nylas-page-styling/nylas-page-styling.es.js +4 -4
  119. package/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js +8 -8
  120. package/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js +176 -176
  121. package/dist/cdn/nylas-provider/nylas-provider.es.js +652 -644
  122. package/dist/cdn/nylas-reminder-emails/nylas-reminder-emails.es.js +17 -17
  123. package/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js +5 -5
  124. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +1364 -937
  125. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1077 -1053
  126. package/dist/cdn/nylas-scheduling-method/nylas-scheduling-method.es.js +10 -12
  127. package/dist/cdn/nylas-selected-event-card/nylas-selected-event-card.es.js +4 -4
  128. package/dist/cdn/nylas-time-window-picker/nylas-time-window-picker.es.js +1 -1
  129. package/dist/cdn/nylas-timeslot-interval/nylas-timeslot-interval.es.js +147 -149
  130. package/dist/cdn/nylas-timeslot-picker/nylas-timeslot-picker.es.js +6 -6
  131. package/dist/cdn/paintbrush/paintbrush.es.js +239 -239
  132. package/dist/cdn/paintbrush-fill/paintbrush-fill.es.js +1 -1
  133. package/dist/cdn/paintbrush-fill-icon/paintbrush-fill-icon.es.js +1 -1
  134. package/dist/cdn/paintbrush-icon/paintbrush-icon.es.js +240 -240
  135. package/dist/cdn/people/people.es.js +1 -1
  136. package/dist/cdn/people-icon/people-icon.es.js +1 -1
  137. package/dist/cdn/person/person.es.js +1 -1
  138. package/dist/cdn/person-clipboard/person-clipboard.es.js +1 -1
  139. package/dist/cdn/person-clipboard-icon/person-clipboard-icon.es.js +1 -1
  140. package/dist/cdn/person-icon/person-icon.es.js +1 -1
  141. package/dist/cdn/play-icon/play-icon.es.js +248 -248
  142. package/dist/cdn/plus/plus.es.js +16 -16
  143. package/dist/cdn/plus-icon/plus-icon.es.js +14 -14
  144. package/dist/cdn/radio-button-group/radio-button-group.es.js +1 -1
  145. package/dist/cdn/refresh-icon/refresh-icon.es.js +14 -14
  146. package/dist/cdn/reply-all-icon/reply-all-icon.es.js +14 -14
  147. package/dist/cdn/reply-icon/reply-icon.es.js +14 -14
  148. package/dist/cdn/scheduler-store/scheduler-store.es.js +654 -646
  149. package/dist/cdn/search/search.es.js +1 -1
  150. package/dist/cdn/search-icon/search-icon.es.js +86 -86
  151. package/dist/cdn/select-dropdown/select-dropdown.es.js +3 -3
  152. package/dist/cdn/sent-icon/sent-icon.es.js +1 -1
  153. package/dist/cdn/spam-icon/spam-icon.es.js +86 -86
  154. package/dist/cdn/star-icon/star-icon.es.js +1 -1
  155. package/dist/cdn/stop-icon/stop-icon.es.js +1 -1
  156. package/dist/cdn/textarea-component/textarea-component.es.js +3 -3
  157. package/dist/cdn/time-period-selector/time-period-selector.es.js +230 -230
  158. package/dist/cdn/toggle-switch/toggle-switch.es.js +1 -1
  159. package/dist/cdn/toolitp-component/toolitp-component.es.js +23 -23
  160. package/dist/cdn/tooltip-component/tooltip-component.es.js +26 -26
  161. package/dist/cdn/translate/translate.es.js +246 -246
  162. package/dist/cdn/translate-icon/translate-icon.es.js +247 -247
  163. package/dist/cdn/trash/trash.es.js +1 -1
  164. package/dist/cdn/trash-fill-icon/trash-fill-icon.es.js +14 -14
  165. package/dist/cdn/trash-icon/trash-icon.es.js +1 -1
  166. package/dist/cdn/underline-icon/underline-icon.es.js +1 -1
  167. package/dist/cdn/warning/warning.es.js +247 -247
  168. package/dist/cdn/warning-icon/warning-icon.es.js +248 -248
  169. package/dist/cdn/zoom/zoom.es.js +1 -1
  170. package/dist/cdn/zoom-icon/zoom-icon.es.js +1 -1
  171. package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
  172. package/dist/cjs/archive-icon.cjs.entry.js +1 -1
  173. package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
  174. package/dist/cjs/bold-icon.cjs.entry.js +1 -1
  175. package/dist/cjs/button-component_2.cjs.entry.js +2 -2
  176. package/dist/cjs/{calendar-agenda-fill-icon_51.cjs.entry.js → calendar-agenda-fill-icon_54.cjs.entry.js} +703 -304
  177. package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js.map +1 -0
  178. package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
  179. package/dist/cjs/calendar-check-icon_2.cjs.entry.js +2 -2
  180. package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
  181. package/dist/cjs/checkbox-component_2.cjs.entry.js +2 -2
  182. package/dist/cjs/chevron-icon_3.cjs.entry.js +3 -3
  183. package/dist/cjs/clock-icon_4.cjs.entry.js +4 -4
  184. package/dist/cjs/copy-icon.cjs.entry.js +1 -1
  185. package/dist/cjs/delete-icon.cjs.entry.js +1 -1
  186. package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
  187. package/dist/cjs/folder-icon.cjs.entry.js +1 -1
  188. package/dist/cjs/forward-icon.cjs.entry.js +1 -1
  189. package/dist/cjs/globe-icon.cjs.entry.js +1 -1
  190. package/dist/cjs/google-logo-icon_4.cjs.entry.js +34 -23
  191. package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
  192. package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
  193. package/dist/cjs/index-7af03e3f.js +2 -10
  194. package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
  195. package/dist/cjs/input-color-picker.cjs.entry.js +2 -2
  196. package/dist/cjs/input-component.cjs.entry.js +1 -1
  197. package/dist/cjs/input-dropdown.cjs.entry.js +1 -1
  198. package/dist/cjs/italic-icon.cjs.entry.js +1 -1
  199. package/dist/cjs/loader.cjs.js +1 -1
  200. package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
  201. package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +33 -32
  202. package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
  203. package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
  204. package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
  205. package/dist/cjs/nylas-login.cjs.entry.js +1 -1
  206. package/dist/cjs/nylas-provider.cjs.entry.js +2 -2
  207. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
  208. package/dist/cjs/nylas-scheduling.cjs.entry.js +22 -9
  209. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  210. package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
  211. package/dist/cjs/nylas-web-elements.cjs.js +1 -1
  212. package/dist/cjs/person-icon.cjs.entry.js +1 -1
  213. package/dist/cjs/play-icon.cjs.entry.js +1 -1
  214. package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
  215. package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
  216. package/dist/cjs/reply-icon.cjs.entry.js +1 -1
  217. package/dist/cjs/{scheduler-store-4489a68b.js → scheduler-store-e3ddffc1.js} +13 -4
  218. package/dist/cjs/scheduler-store-e3ddffc1.js.map +1 -0
  219. package/dist/cjs/sent-icon.cjs.entry.js +1 -1
  220. package/dist/cjs/spam-icon.cjs.entry.js +1 -1
  221. package/dist/cjs/star-icon.cjs.entry.js +1 -1
  222. package/dist/cjs/stop-icon.cjs.entry.js +1 -1
  223. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  224. package/dist/cjs/time-period-selector.cjs.entry.js +1 -1
  225. package/dist/cjs/translate-icon.cjs.entry.js +1 -1
  226. package/dist/cjs/trash-fill-icon.cjs.entry.js +1 -1
  227. package/dist/cjs/underline-icon.cjs.entry.js +1 -1
  228. package/dist/cjs/warning-icon.cjs.entry.js +1 -1
  229. package/dist/collection/common/icons/add-circle.js +1 -1
  230. package/dist/collection/common/icons/archive.js +1 -1
  231. package/dist/collection/common/icons/arrow.js +1 -1
  232. package/dist/collection/common/icons/bold.js +1 -1
  233. package/dist/collection/common/icons/calendar-agenda-fill.js +1 -1
  234. package/dist/collection/common/icons/calendar-agenda.js +1 -1
  235. package/dist/collection/common/icons/calendar-cancel.js +1 -1
  236. package/dist/collection/common/icons/calendar-check.js +1 -1
  237. package/dist/collection/common/icons/calendar-info.js +1 -1
  238. package/dist/collection/common/icons/calendar-patterns.js +1 -1
  239. package/dist/collection/common/icons/calendar.js +1 -1
  240. package/dist/collection/common/icons/checkmark-circle.js +1 -1
  241. package/dist/collection/common/icons/checkmark.js +1 -1
  242. package/dist/collection/common/icons/chevron.js +1 -1
  243. package/dist/collection/common/icons/clock.js +1 -1
  244. package/dist/collection/common/icons/close.js +1 -1
  245. package/dist/collection/common/icons/copy.js +1 -1
  246. package/dist/collection/common/icons/delete.js +1 -1
  247. package/dist/collection/common/icons/document-refresh.js +1 -1
  248. package/dist/collection/common/icons/dragable.js +1 -1
  249. package/dist/collection/common/icons/edit.js +1 -1
  250. package/dist/collection/common/icons/envelope-fill.js +1 -1
  251. package/dist/collection/common/icons/envelope.js +1 -1
  252. package/dist/collection/common/icons/eye.js +1 -1
  253. package/dist/collection/common/icons/feedback-icon.js +1 -1
  254. package/dist/collection/common/icons/flow.js +1 -1
  255. package/dist/collection/common/icons/folder.js +1 -1
  256. package/dist/collection/common/icons/forward.js +1 -1
  257. package/dist/collection/common/icons/globe.js +1 -1
  258. package/dist/collection/common/icons/google-logo.js +1 -1
  259. package/dist/collection/common/icons/google-meet.js +1 -1
  260. package/dist/collection/common/icons/inbox.js +1 -1
  261. package/dist/collection/common/icons/info.js +1 -1
  262. package/dist/collection/common/icons/italic.js +1 -1
  263. package/dist/collection/common/icons/loading.js +1 -1
  264. package/dist/collection/common/icons/location-off.js +1 -1
  265. package/dist/collection/common/icons/location.js +1 -1
  266. package/dist/collection/common/icons/microsof-teams.js +1 -1
  267. package/dist/collection/common/icons/microsoft-logo.js +1 -1
  268. package/dist/collection/common/icons/nylas-logo.js +1 -1
  269. package/dist/collection/common/icons/paintbrush-fill.js +1 -1
  270. package/dist/collection/common/icons/paintbrush.js +1 -1
  271. package/dist/collection/common/icons/people.js +1 -1
  272. package/dist/collection/common/icons/person-clipboard.js +1 -1
  273. package/dist/collection/common/icons/person.js +1 -1
  274. package/dist/collection/common/icons/play.js +1 -1
  275. package/dist/collection/common/icons/plus.js +1 -1
  276. package/dist/collection/common/icons/refresh.js +1 -1
  277. package/dist/collection/common/icons/reply-all.js +1 -1
  278. package/dist/collection/common/icons/reply.js +1 -1
  279. package/dist/collection/common/icons/search.js +1 -1
  280. package/dist/collection/common/icons/sent.js +1 -1
  281. package/dist/collection/common/icons/spam.js +1 -1
  282. package/dist/collection/common/icons/star.js +1 -1
  283. package/dist/collection/common/icons/stop.js +1 -1
  284. package/dist/collection/common/icons/translate.js +1 -1
  285. package/dist/collection/common/icons/trash-fill.js +1 -1
  286. package/dist/collection/common/icons/trash.js +1 -1
  287. package/dist/collection/common/icons/underline.js +1 -1
  288. package/dist/collection/common/icons/warning.js +1 -1
  289. package/dist/collection/common/icons/zoom.js +1 -1
  290. package/dist/collection/common/types.js.map +1 -1
  291. package/dist/collection/components/design-system/button-component/button-component.js +1 -1
  292. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
  293. package/dist/collection/components/design-system/input-color-picker/input-color-picker.js +2 -2
  294. package/dist/collection/components/design-system/input-component/input-component.js +1 -1
  295. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +1 -1
  296. package/dist/collection/components/design-system/input-image-url/input-image-url.js +1 -1
  297. package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +1 -1
  298. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
  299. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +1 -1
  300. package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
  301. package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
  302. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
  303. package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
  304. package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
  305. package/dist/collection/components/nylas-login/nylas-login.js +1 -1
  306. package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
  307. package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.css +23 -0
  308. package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +66 -51
  309. package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js.map +1 -1
  310. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.css +23 -0
  311. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +35 -24
  312. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
  313. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.css +23 -0
  314. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +38 -29
  315. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js.map +1 -1
  316. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.css +23 -0
  317. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +26 -23
  318. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js.map +1 -1
  319. package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +26 -23
  320. package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js.map +1 -1
  321. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.css +23 -0
  322. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +26 -20
  323. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
  324. package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js +2 -2
  325. package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.css +23 -0
  326. package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
  327. package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +29 -23
  328. package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js.map +1 -1
  329. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +24 -10
  330. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  331. package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js +143 -0
  332. package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js.map +1 -1
  333. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.css +23 -0
  334. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +3 -3
  335. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js.map +1 -1
  336. package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.css +23 -0
  337. package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +48 -42
  338. package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
  339. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +56 -41
  340. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
  341. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +44 -28
  342. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
  343. package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js +25 -10
  344. package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js.map +1 -1
  345. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js +21 -9
  346. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js.map +1 -1
  347. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js +19 -10
  348. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js.map +1 -1
  349. package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +6 -3
  350. package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js.map +1 -1
  351. package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js +10 -4
  352. package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js.map +1 -1
  353. package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js +45 -33
  354. package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js.map +1 -1
  355. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.css +2 -1
  356. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +16 -7
  357. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js.map +1 -1
  358. package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +8 -4
  359. package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
  360. package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js +26 -10
  361. package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js.map +1 -1
  362. package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
  363. package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js.map +1 -1
  364. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +1 -0
  365. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
  366. package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +17 -11
  367. package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js.map +1 -1
  368. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +62 -28
  369. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  370. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
  371. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
  372. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js +171 -1
  373. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js.map +1 -1
  374. package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +16 -7
  375. package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js.map +1 -1
  376. package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +16 -7
  377. package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +1 -1
  378. package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
  379. package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
  380. package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +74 -29
  381. package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js.map +1 -1
  382. package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +25 -11
  383. package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js.map +1 -1
  384. package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
  385. package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +16 -7
  386. package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js.map +1 -1
  387. package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js +2 -2
  388. package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js.map +1 -1
  389. package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +32 -23
  390. package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js.map +1 -1
  391. package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +32 -23
  392. package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js.map +1 -1
  393. package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js +43 -28
  394. package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js.map +1 -1
  395. package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +38 -26
  396. package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js.map +1 -1
  397. package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js +31 -12
  398. package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js.map +1 -1
  399. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +18 -8
  400. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
  401. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js +47 -0
  402. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js.map +1 -0
  403. package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js +3 -3
  404. package/dist/collection/components/scheduler-editor/nylas-reminder-time/nylas-reminder-time.js +1 -1
  405. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +1 -1
  406. package/dist/collection/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.js +34 -27
  407. package/dist/collection/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.js.map +1 -1
  408. package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
  409. package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +18 -53
  410. package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js.map +1 -1
  411. package/dist/collection/connector/shared/api/scheduler.js +12 -3
  412. package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
  413. package/dist/collection/types/index.js +7 -6
  414. package/dist/collection/types/index.js.map +1 -1
  415. package/dist/collection/utils/test-utils.js +9 -0
  416. package/dist/collection/utils/test-utils.js.map +1 -1
  417. package/dist/components/add-circle.js +1 -1
  418. package/dist/components/archive-icon.js +1 -1
  419. package/dist/components/arrow-icon.js +1 -1
  420. package/dist/components/bold-icon.js +1 -1
  421. package/dist/components/button-component2.js +1 -1
  422. package/dist/components/calendar-agenda-fill.js +1 -1
  423. package/dist/components/calendar-agenda.js +1 -1
  424. package/dist/components/calendar-cancel.js +1 -1
  425. package/dist/components/calendar-check.js +1 -1
  426. package/dist/components/calendar-info.js +1 -1
  427. package/dist/components/calendar-patterns.js +1 -1
  428. package/dist/components/calendar.js +1 -1
  429. package/dist/components/checkbox-component2.js +1 -1
  430. package/dist/components/checkmark-circle.js +1 -1
  431. package/dist/components/checkmark.js +1 -1
  432. package/dist/components/chevron.js +1 -1
  433. package/dist/components/clock.js +1 -1
  434. package/dist/components/close.js +1 -1
  435. package/dist/components/constants.js +1 -1
  436. package/dist/components/copy.js +1 -1
  437. package/dist/components/delete.js +1 -1
  438. package/dist/components/document-refresh-icon.js +1 -1
  439. package/dist/components/dragable.js +1 -1
  440. package/dist/components/edit.js +1 -1
  441. package/dist/components/envelope-fill.js +1 -1
  442. package/dist/components/envelope.js +1 -1
  443. package/dist/components/eye.js +1 -1
  444. package/dist/components/feedback-icon2.js +1 -1
  445. package/dist/components/flow.js +1 -1
  446. package/dist/components/folder-icon.js +1 -1
  447. package/dist/components/forward-icon.js +1 -1
  448. package/dist/components/globe.js +1 -1
  449. package/dist/components/google-logo.js +1 -1
  450. package/dist/components/google-meet.js +1 -1
  451. package/dist/components/inbox-icon.js +1 -1
  452. package/dist/components/info.js +1 -1
  453. package/dist/components/input-color-picker.js +2 -2
  454. package/dist/components/input-component2.js +1 -1
  455. package/dist/components/input-dropdown2.js +1 -1
  456. package/dist/components/input-image-url2.js +1 -1
  457. package/dist/components/italic-icon.js +1 -1
  458. package/dist/components/loading.js +1 -1
  459. package/dist/components/location-off.js +1 -1
  460. package/dist/components/location.js +1 -1
  461. package/dist/components/microsof-teams.js +1 -1
  462. package/dist/components/microsoft-logo.js +1 -1
  463. package/dist/components/multi-select-dropdown2.js +1 -1
  464. package/dist/components/nylas-additional-participants2.js +6 -6
  465. package/dist/components/nylas-additional-participants2.js.map +1 -1
  466. package/dist/components/nylas-availability-picker2.js +5 -4
  467. package/dist/components/nylas-availability-picker2.js.map +1 -1
  468. package/dist/components/nylas-booked-event-card2.js +8 -8
  469. package/dist/components/nylas-booked-event-card2.js.map +1 -1
  470. package/dist/components/nylas-booking-calendar-picker2.js.map +1 -1
  471. package/dist/components/nylas-booking-confirmation-redirect2.js +1 -1
  472. package/dist/components/nylas-booking-confirmation-redirect2.js.map +1 -1
  473. package/dist/components/nylas-booking-confirmation-type2.js +2 -2
  474. package/dist/components/nylas-booking-confirmation-type2.js.map +1 -1
  475. package/dist/components/nylas-booking-form-config2.js +1 -1
  476. package/dist/components/nylas-booking-form-config2.js.map +1 -1
  477. package/dist/components/nylas-booking-form2.js +6 -5
  478. package/dist/components/nylas-booking-form2.js.map +1 -1
  479. package/dist/components/nylas-buffer-time2.js.map +1 -1
  480. package/dist/components/nylas-calendar-picker2.js +4 -4
  481. package/dist/components/nylas-calendar-picker2.js.map +1 -1
  482. package/dist/components/nylas-cancel-booking-form2.js +4 -4
  483. package/dist/components/nylas-cancel-booking-form2.js.map +1 -1
  484. package/dist/components/nylas-cancellation-policy2.js +1 -1
  485. package/dist/components/nylas-cancellation-policy2.js.map +1 -1
  486. package/dist/components/nylas-cancelled-event-card2.js +4 -4
  487. package/dist/components/nylas-cancelled-event-card2.js.map +1 -1
  488. package/dist/components/nylas-confirmation-email2.js +3 -2
  489. package/dist/components/nylas-confirmation-email2.js.map +1 -1
  490. package/dist/components/nylas-confirmed-event-card2.js +3 -3
  491. package/dist/components/nylas-confirmed-event-card2.js.map +1 -1
  492. package/dist/components/nylas-connected-calendars2.js +6 -2
  493. package/dist/components/nylas-connected-calendars2.js.map +1 -1
  494. package/dist/components/nylas-custom-booking-flow2.js +1 -1
  495. package/dist/components/nylas-custom-booking-flow2.js.map +1 -1
  496. package/dist/components/nylas-custom-event-slug2.js +1 -0
  497. package/dist/components/nylas-custom-event-slug2.js.map +1 -1
  498. package/dist/components/nylas-customize-booking-settings2.js +4 -4
  499. package/dist/components/nylas-customize-booking-settings2.js.map +1 -1
  500. package/dist/components/nylas-date-picker2.js +4 -4
  501. package/dist/components/nylas-date-picker2.js.map +1 -1
  502. package/dist/components/nylas-editor-tabs2.js +196 -167
  503. package/dist/components/nylas-editor-tabs2.js.map +1 -1
  504. package/dist/components/nylas-event-description2.js +1 -1
  505. package/dist/components/nylas-event-description2.js.map +1 -1
  506. package/dist/components/nylas-event-duration2.js +1 -1
  507. package/dist/components/nylas-event-duration2.js.map +1 -1
  508. package/dist/components/nylas-event-info2.js +1 -1
  509. package/dist/components/nylas-event-limits2.js +1 -1
  510. package/dist/components/nylas-event-location2.js +39 -15
  511. package/dist/components/nylas-event-location2.js.map +1 -1
  512. package/dist/components/nylas-event-title2.js +10 -5
  513. package/dist/components/nylas-event-title2.js.map +1 -1
  514. package/dist/components/nylas-feedback-form2.js +2 -2
  515. package/dist/components/nylas-form-card2.js +1 -1
  516. package/dist/components/nylas-if-state.js +1 -1
  517. package/dist/components/nylas-limit-future-bookings2.js +1 -1
  518. package/dist/components/nylas-limit-future-bookings2.js.map +1 -1
  519. package/dist/components/nylas-list-configurations2.js +2 -2
  520. package/dist/components/nylas-list-configurations2.js.map +1 -1
  521. package/dist/components/nylas-locale-switch2.js +2 -2
  522. package/dist/components/nylas-locale-switch2.js.map +1 -1
  523. package/dist/components/nylas-login.js +1 -1
  524. package/dist/components/nylas-logo2.js +1 -1
  525. package/dist/components/nylas-min-booking-notice2.js +3 -3
  526. package/dist/components/nylas-min-booking-notice2.js.map +1 -1
  527. package/dist/components/nylas-min-cancellation-notice2.js +3 -3
  528. package/dist/components/nylas-min-cancellation-notice2.js.map +1 -1
  529. package/dist/components/nylas-notification2.js +1 -1
  530. package/dist/components/nylas-organizer-confirmation-card2.js +3 -3
  531. package/dist/components/nylas-organizer-confirmation-card2.js.map +1 -1
  532. package/dist/components/nylas-page-name2.js +3 -3
  533. package/dist/components/nylas-page-name2.js.map +1 -1
  534. package/dist/components/nylas-page-styling2.js +3 -3
  535. package/dist/components/nylas-page-styling2.js.map +1 -1
  536. package/dist/components/nylas-participant-booking-calendars2.js +6 -2
  537. package/dist/components/nylas-participant-booking-calendars2.js.map +1 -1
  538. package/dist/components/nylas-participants-custom-availability2.js +3 -2
  539. package/dist/components/nylas-participants-custom-availability2.js.map +1 -1
  540. package/dist/components/nylas-provider.js +1 -1
  541. package/dist/components/nylas-reminder-emails.js +1 -302
  542. package/dist/components/nylas-reminder-emails.js.map +1 -1
  543. package/dist/{esm/nylas-reminder-emails.entry.js → components/nylas-reminder-emails2.js} +123 -21
  544. package/dist/components/nylas-reminder-emails2.js.map +1 -0
  545. package/dist/components/nylas-reminder-time2.js +2 -2
  546. package/dist/components/nylas-scheduler-editor.js +179 -161
  547. package/dist/components/nylas-scheduler-editor.js.map +1 -1
  548. package/dist/components/nylas-scheduling-method2.js +4 -6
  549. package/dist/components/nylas-scheduling-method2.js.map +1 -1
  550. package/dist/components/nylas-scheduling.js +22 -8
  551. package/dist/components/nylas-scheduling.js.map +1 -1
  552. package/dist/components/nylas-selected-event-card2.js +3 -3
  553. package/dist/components/nylas-selected-event-card2.js.map +1 -1
  554. package/dist/components/nylas-time-window-picker2.js +1 -1
  555. package/dist/components/nylas-timeslot-interval2.js +4 -8
  556. package/dist/components/nylas-timeslot-interval2.js.map +1 -1
  557. package/dist/components/nylas-timeslot-picker2.js +5 -5
  558. package/dist/components/nylas-timeslot-picker2.js.map +1 -1
  559. package/dist/components/paintbrush-fill.js +1 -1
  560. package/dist/components/paintbrush.js +1 -1
  561. package/dist/components/people.js +1 -1
  562. package/dist/components/person-clipboard.js +1 -1
  563. package/dist/components/person.js +1 -1
  564. package/dist/components/play-icon.js +1 -1
  565. package/dist/components/plus.js +1 -1
  566. package/dist/components/radio-button-group2.js +1 -1
  567. package/dist/components/refresh-icon.js +1 -1
  568. package/dist/components/reply-all-icon.js +1 -1
  569. package/dist/components/reply-icon.js +1 -1
  570. package/dist/components/scheduler-store.js +12 -3
  571. package/dist/components/scheduler-store.js.map +1 -1
  572. package/dist/components/search.js +1 -1
  573. package/dist/components/select-dropdown2.js +1 -1
  574. package/dist/components/sent-icon.js +1 -1
  575. package/dist/components/spam-icon.js +1 -1
  576. package/dist/components/star-icon.js +1 -1
  577. package/dist/components/stop-icon.js +1 -1
  578. package/dist/components/textarea-component2.js +1 -1
  579. package/dist/components/time-period-selector2.js +1 -1
  580. package/dist/components/toggle-switch2.js +1 -1
  581. package/dist/components/toolitp-component.js +1 -1
  582. package/dist/components/translate.js +1 -1
  583. package/dist/components/trash-fill-icon.js +1 -1
  584. package/dist/components/trash.js +1 -1
  585. package/dist/components/underline-icon.js +1 -1
  586. package/dist/components/warning.js +1 -1
  587. package/dist/components/zoom.js +1 -1
  588. package/dist/esm/add-circle-icon_2.entry.js +2 -2
  589. package/dist/esm/archive-icon.entry.js +1 -1
  590. package/dist/esm/arrow-icon.entry.js +1 -1
  591. package/dist/esm/bold-icon.entry.js +1 -1
  592. package/dist/esm/button-component_2.entry.js +2 -2
  593. package/dist/esm/{calendar-agenda-fill-icon_51.entry.js → calendar-agenda-fill-icon_54.entry.js} +702 -306
  594. package/dist/esm/calendar-agenda-fill-icon_54.entry.js.map +1 -0
  595. package/dist/esm/calendar-cancel-icon.entry.js +1 -1
  596. package/dist/esm/calendar-check-icon_2.entry.js +2 -2
  597. package/dist/esm/calendar-icon.entry.js +1 -1
  598. package/dist/esm/checkbox-component_2.entry.js +2 -2
  599. package/dist/esm/chevron-icon_3.entry.js +3 -3
  600. package/dist/esm/clock-icon_4.entry.js +4 -4
  601. package/dist/esm/{constants-94520f89.js → constants-c549b12b.js} +2 -2
  602. package/dist/esm/{constants-94520f89.js.map → constants-c549b12b.js.map} +1 -1
  603. package/dist/esm/copy-icon.entry.js +1 -1
  604. package/dist/esm/delete-icon.entry.js +1 -1
  605. package/dist/esm/document-refresh-icon.entry.js +1 -1
  606. package/dist/esm/folder-icon.entry.js +1 -1
  607. package/dist/esm/forward-icon.entry.js +1 -1
  608. package/dist/esm/globe-icon.entry.js +1 -1
  609. package/dist/esm/google-logo-icon_4.entry.js +35 -24
  610. package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
  611. package/dist/esm/inbox-icon.entry.js +1 -1
  612. package/dist/esm/index-7cb0dd3d.js +2 -10
  613. package/dist/esm/info-icon_2.entry.js +2 -2
  614. package/dist/esm/input-color-picker.entry.js +2 -2
  615. package/dist/esm/input-component.entry.js +1 -1
  616. package/dist/esm/input-dropdown.entry.js +1 -1
  617. package/dist/esm/italic-icon.entry.js +1 -1
  618. package/dist/esm/loader.js +1 -1
  619. package/dist/esm/multi-select-dropdown.entry.js +1 -1
  620. package/dist/esm/nylas-booked-event-card_12.entry.js +34 -33
  621. package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
  622. package/dist/esm/nylas-form-card.entry.js +1 -1
  623. package/dist/esm/nylas-if-state.entry.js +1 -1
  624. package/dist/esm/nylas-login.entry.js +1 -1
  625. package/dist/esm/nylas-provider.entry.js +2 -2
  626. package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
  627. package/dist/esm/nylas-scheduling.entry.js +23 -10
  628. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  629. package/dist/esm/nylas-time-window-picker.entry.js +1 -1
  630. package/dist/esm/nylas-web-elements.js +1 -1
  631. package/dist/esm/person-icon.entry.js +1 -1
  632. package/dist/esm/play-icon.entry.js +1 -1
  633. package/dist/esm/refresh-icon.entry.js +1 -1
  634. package/dist/esm/reply-all-icon.entry.js +1 -1
  635. package/dist/esm/reply-icon.entry.js +1 -1
  636. package/dist/esm/{scheduler-store-24e5fb65.js → scheduler-store-d4784b24.js} +13 -4
  637. package/dist/esm/scheduler-store-d4784b24.js.map +1 -0
  638. package/dist/esm/sent-icon.entry.js +1 -1
  639. package/dist/esm/spam-icon.entry.js +1 -1
  640. package/dist/esm/star-icon.entry.js +1 -1
  641. package/dist/esm/stop-icon.entry.js +1 -1
  642. package/dist/esm/textarea-component.entry.js +1 -1
  643. package/dist/esm/time-period-selector.entry.js +1 -1
  644. package/dist/esm/translate-icon.entry.js +1 -1
  645. package/dist/esm/trash-fill-icon.entry.js +1 -1
  646. package/dist/esm/underline-icon.entry.js +1 -1
  647. package/dist/esm/warning-icon.entry.js +1 -1
  648. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  649. package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
  650. package/dist/nylas-web-elements/{p-14493c1f.entry.js → p-04d397d3.entry.js} +2 -2
  651. package/dist/nylas-web-elements/{p-b6e4de5b.js → p-08a590fe.js} +2 -2
  652. package/dist/nylas-web-elements/{p-7943a9f3.entry.js → p-108bd821.entry.js} +2 -2
  653. package/dist/nylas-web-elements/p-12d690b8.js +2 -0
  654. package/dist/nylas-web-elements/p-12d690b8.js.map +1 -0
  655. package/dist/nylas-web-elements/{p-d902a356.entry.js → p-1546bd61.entry.js} +2 -2
  656. package/dist/nylas-web-elements/{p-651232a3.entry.js → p-1c25b695.entry.js} +2 -2
  657. package/dist/nylas-web-elements/{p-caad44c4.entry.js → p-2c1432a2.entry.js} +2 -2
  658. package/dist/nylas-web-elements/{p-21fb688e.entry.js → p-2f91359b.entry.js} +2 -2
  659. package/dist/nylas-web-elements/{p-27074ad6.entry.js → p-3268077f.entry.js} +2 -2
  660. package/dist/nylas-web-elements/p-32bc7f60.entry.js +2 -0
  661. package/dist/nylas-web-elements/p-33800554.entry.js +2 -0
  662. package/dist/nylas-web-elements/p-3971e86b.entry.js +2 -0
  663. package/dist/nylas-web-elements/p-483f2fb4.entry.js +2 -0
  664. package/dist/nylas-web-elements/{p-8a082b24.entry.js → p-4e57a9ee.entry.js} +2 -2
  665. package/dist/nylas-web-elements/p-4fb91c8b.entry.js +2 -0
  666. package/dist/nylas-web-elements/{p-effd77ed.entry.js → p-525bd709.entry.js} +2 -2
  667. package/dist/nylas-web-elements/{p-7d5b3918.entry.js → p-56834b7a.entry.js} +2 -2
  668. package/dist/nylas-web-elements/{p-faeec15a.entry.js → p-5ed596d7.entry.js} +2 -2
  669. package/dist/nylas-web-elements/{p-6fa4597b.entry.js → p-6089d6fa.entry.js} +2 -2
  670. package/dist/nylas-web-elements/{p-39af67b7.entry.js → p-61ea19c2.entry.js} +2 -2
  671. package/dist/nylas-web-elements/p-698d229c.entry.js +2 -0
  672. package/dist/nylas-web-elements/p-698d229c.entry.js.map +1 -0
  673. package/dist/nylas-web-elements/p-713505c9.entry.js +2 -0
  674. package/dist/nylas-web-elements/{p-bd85bf92.entry.js → p-7140bca8.entry.js} +2 -2
  675. package/dist/nylas-web-elements/{p-3f2f3b85.entry.js → p-762ae706.entry.js} +2 -2
  676. package/dist/nylas-web-elements/p-7919d41d.entry.js +2 -0
  677. package/dist/nylas-web-elements/p-7bed0959.entry.js +2 -0
  678. package/dist/nylas-web-elements/p-7bed0959.entry.js.map +1 -0
  679. package/dist/nylas-web-elements/{p-27b52475.entry.js → p-7c20444b.entry.js} +2 -2
  680. package/dist/nylas-web-elements/{p-d55f619c.entry.js → p-988eee6f.entry.js} +2 -2
  681. package/dist/nylas-web-elements/{p-0519e48e.entry.js → p-9d8ffc7b.entry.js} +2 -2
  682. package/dist/nylas-web-elements/{p-fbddb6fe.entry.js → p-9f009793.entry.js} +2 -2
  683. package/dist/nylas-web-elements/{p-1e2ffdc6.entry.js → p-aa4b24ce.entry.js} +2 -2
  684. package/dist/nylas-web-elements/{p-5973b208.entry.js → p-ac8386d1.entry.js} +2 -2
  685. package/dist/nylas-web-elements/{p-062f6da2.entry.js → p-acfe4f6e.entry.js} +2 -2
  686. package/dist/nylas-web-elements/p-af2ab331.entry.js +2 -0
  687. package/dist/nylas-web-elements/{p-100c9ff7.entry.js → p-b110d5c1.entry.js} +2 -2
  688. package/dist/nylas-web-elements/p-b9a8d404.entry.js +8 -0
  689. package/dist/nylas-web-elements/p-b9a8d404.entry.js.map +1 -0
  690. package/dist/nylas-web-elements/{p-e012eac3.entry.js → p-be938025.entry.js} +2 -2
  691. package/dist/nylas-web-elements/{p-36792b8a.entry.js → p-cad17478.entry.js} +2 -2
  692. package/dist/nylas-web-elements/p-ce2c8e67.entry.js +2 -0
  693. package/dist/nylas-web-elements/{p-68320c97.entry.js → p-d1abdef7.entry.js} +2 -2
  694. package/dist/nylas-web-elements/{p-8013d0a2.entry.js → p-dcdb47dd.entry.js} +2 -2
  695. package/dist/nylas-web-elements/{p-cc8f94f7.entry.js → p-e1cd1887.entry.js} +2 -2
  696. package/dist/nylas-web-elements/{p-00d89615.entry.js → p-eb2d8167.entry.js} +2 -2
  697. package/dist/nylas-web-elements/{p-9b62edf6.entry.js → p-ec302526.entry.js} +2 -2
  698. package/dist/nylas-web-elements/{p-bbcf8659.entry.js → p-ec528a20.entry.js} +2 -2
  699. package/dist/nylas-web-elements/{p-0e0c00cc.entry.js → p-eee29c7e.entry.js} +2 -2
  700. package/dist/nylas-web-elements/{p-f62df769.entry.js → p-f2ae34c9.entry.js} +2 -2
  701. package/dist/nylas-web-elements/{p-fecf68ef.entry.js → p-f4334e3a.entry.js} +2 -2
  702. package/dist/nylas-web-elements/p-fc6ae4ec.entry.js +2 -0
  703. package/dist/nylas-web-elements/p-fc6ae4ec.entry.js.map +1 -0
  704. package/dist/nylas-web-elements/p-fe34d0ee.entry.js +2 -0
  705. package/dist/nylas-web-elements/p-febf4adf.entry.js +2 -0
  706. package/dist/types/common/types.d.ts +3 -0
  707. package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +2 -2
  708. package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +3 -4
  709. package/dist/types/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.d.ts +1 -1
  710. package/dist/types/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.d.ts +1 -1
  711. package/dist/types/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.d.ts +1 -1
  712. package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +1 -1
  713. package/dist/types/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.d.ts +1 -1
  714. package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +5 -3
  715. package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +2 -2
  716. package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +2 -2
  717. package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +1 -1
  718. package/dist/types/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.d.ts +2 -2
  719. package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +2 -1
  720. package/dist/types/components/scheduler-editor/nylas-event-location/nylas-event-location.d.ts +2 -0
  721. package/dist/types/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.d.ts +1 -1
  722. package/dist/types/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.d.ts +1 -1
  723. package/dist/types/components/scheduler-editor/nylas-page-name/nylas-page-name.d.ts +1 -1
  724. package/dist/types/components/scheduler-editor/nylas-page-styling/nylas-page-styling.d.ts +1 -1
  725. package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +1 -0
  726. package/dist/types/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.d.ts +1 -1
  727. package/dist/types/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.d.ts +0 -2
  728. package/dist/types/components.d.ts +252 -289
  729. package/dist/types/connector/shared/api/scheduler.d.ts +4 -4
  730. package/dist/types/types/index.d.ts +164 -32
  731. package/package.json +7 -5
  732. package/dist/cjs/calendar-agenda-fill-icon_51.cjs.entry.js.map +0 -1
  733. package/dist/cjs/nylas-reminder-emails.cjs.entry.js +0 -208
  734. package/dist/cjs/nylas-reminder-emails.cjs.entry.js.map +0 -1
  735. package/dist/cjs/nylas-reminder-time_2.cjs.entry.js +0 -175
  736. package/dist/cjs/nylas-reminder-time_2.cjs.entry.js.map +0 -1
  737. package/dist/cjs/scheduler-store-4489a68b.js.map +0 -1
  738. package/dist/esm/calendar-agenda-fill-icon_51.entry.js.map +0 -1
  739. package/dist/esm/nylas-reminder-emails.entry.js.map +0 -1
  740. package/dist/esm/nylas-reminder-time_2.entry.js +0 -170
  741. package/dist/esm/nylas-reminder-time_2.entry.js.map +0 -1
  742. package/dist/esm/scheduler-store-24e5fb65.js.map +0 -1
  743. package/dist/nylas-web-elements/p-06e44cfc.entry.js +0 -2
  744. package/dist/nylas-web-elements/p-06e44cfc.entry.js.map +0 -1
  745. package/dist/nylas-web-elements/p-2653e311.entry.js +0 -2
  746. package/dist/nylas-web-elements/p-3ff76491.entry.js +0 -2
  747. package/dist/nylas-web-elements/p-3ff76491.entry.js.map +0 -1
  748. package/dist/nylas-web-elements/p-51a66bf5.entry.js +0 -2
  749. package/dist/nylas-web-elements/p-5b237299.entry.js +0 -2
  750. package/dist/nylas-web-elements/p-63341f71.entry.js +0 -2
  751. package/dist/nylas-web-elements/p-6c833d5e.entry.js +0 -2
  752. package/dist/nylas-web-elements/p-6c833d5e.entry.js.map +0 -1
  753. package/dist/nylas-web-elements/p-742d7c3c.entry.js +0 -2
  754. package/dist/nylas-web-elements/p-76fc639b.entry.js +0 -2
  755. package/dist/nylas-web-elements/p-781e954b.entry.js +0 -2
  756. package/dist/nylas-web-elements/p-7f56a139.entry.js +0 -2
  757. package/dist/nylas-web-elements/p-7f56a139.entry.js.map +0 -1
  758. package/dist/nylas-web-elements/p-86194780.entry.js +0 -2
  759. package/dist/nylas-web-elements/p-86194780.entry.js.map +0 -1
  760. package/dist/nylas-web-elements/p-96bcc255.entry.js +0 -2
  761. package/dist/nylas-web-elements/p-aeab587c.entry.js +0 -2
  762. package/dist/nylas-web-elements/p-c417fd2f.entry.js +0 -2
  763. package/dist/nylas-web-elements/p-ef3561ae.js +0 -2
  764. package/dist/nylas-web-elements/p-ef3561ae.js.map +0 -1
  765. package/dist/nylas-web-elements/p-fbe814b2.entry.js +0 -8
  766. package/dist/nylas-web-elements/p-fbe814b2.entry.js.map +0 -1
  767. package/dist/nylas-web-elements/p-fdc60ce2.entry.js +0 -2
  768. /package/dist/nylas-web-elements/{p-14493c1f.entry.js.map → p-04d397d3.entry.js.map} +0 -0
  769. /package/dist/nylas-web-elements/{p-b6e4de5b.js.map → p-08a590fe.js.map} +0 -0
  770. /package/dist/nylas-web-elements/{p-7943a9f3.entry.js.map → p-108bd821.entry.js.map} +0 -0
  771. /package/dist/nylas-web-elements/{p-d902a356.entry.js.map → p-1546bd61.entry.js.map} +0 -0
  772. /package/dist/nylas-web-elements/{p-651232a3.entry.js.map → p-1c25b695.entry.js.map} +0 -0
  773. /package/dist/nylas-web-elements/{p-caad44c4.entry.js.map → p-2c1432a2.entry.js.map} +0 -0
  774. /package/dist/nylas-web-elements/{p-21fb688e.entry.js.map → p-2f91359b.entry.js.map} +0 -0
  775. /package/dist/nylas-web-elements/{p-27074ad6.entry.js.map → p-3268077f.entry.js.map} +0 -0
  776. /package/dist/nylas-web-elements/{p-aeab587c.entry.js.map → p-32bc7f60.entry.js.map} +0 -0
  777. /package/dist/nylas-web-elements/{p-76fc639b.entry.js.map → p-33800554.entry.js.map} +0 -0
  778. /package/dist/nylas-web-elements/{p-781e954b.entry.js.map → p-3971e86b.entry.js.map} +0 -0
  779. /package/dist/nylas-web-elements/{p-63341f71.entry.js.map → p-483f2fb4.entry.js.map} +0 -0
  780. /package/dist/nylas-web-elements/{p-8a082b24.entry.js.map → p-4e57a9ee.entry.js.map} +0 -0
  781. /package/dist/nylas-web-elements/{p-5b237299.entry.js.map → p-4fb91c8b.entry.js.map} +0 -0
  782. /package/dist/nylas-web-elements/{p-effd77ed.entry.js.map → p-525bd709.entry.js.map} +0 -0
  783. /package/dist/nylas-web-elements/{p-7d5b3918.entry.js.map → p-56834b7a.entry.js.map} +0 -0
  784. /package/dist/nylas-web-elements/{p-faeec15a.entry.js.map → p-5ed596d7.entry.js.map} +0 -0
  785. /package/dist/nylas-web-elements/{p-6fa4597b.entry.js.map → p-6089d6fa.entry.js.map} +0 -0
  786. /package/dist/nylas-web-elements/{p-39af67b7.entry.js.map → p-61ea19c2.entry.js.map} +0 -0
  787. /package/dist/nylas-web-elements/{p-fdc60ce2.entry.js.map → p-713505c9.entry.js.map} +0 -0
  788. /package/dist/nylas-web-elements/{p-bd85bf92.entry.js.map → p-7140bca8.entry.js.map} +0 -0
  789. /package/dist/nylas-web-elements/{p-3f2f3b85.entry.js.map → p-762ae706.entry.js.map} +0 -0
  790. /package/dist/nylas-web-elements/{p-c417fd2f.entry.js.map → p-7919d41d.entry.js.map} +0 -0
  791. /package/dist/nylas-web-elements/{p-27b52475.entry.js.map → p-7c20444b.entry.js.map} +0 -0
  792. /package/dist/nylas-web-elements/{p-d55f619c.entry.js.map → p-988eee6f.entry.js.map} +0 -0
  793. /package/dist/nylas-web-elements/{p-0519e48e.entry.js.map → p-9d8ffc7b.entry.js.map} +0 -0
  794. /package/dist/nylas-web-elements/{p-fbddb6fe.entry.js.map → p-9f009793.entry.js.map} +0 -0
  795. /package/dist/nylas-web-elements/{p-1e2ffdc6.entry.js.map → p-aa4b24ce.entry.js.map} +0 -0
  796. /package/dist/nylas-web-elements/{p-5973b208.entry.js.map → p-ac8386d1.entry.js.map} +0 -0
  797. /package/dist/nylas-web-elements/{p-062f6da2.entry.js.map → p-acfe4f6e.entry.js.map} +0 -0
  798. /package/dist/nylas-web-elements/{p-742d7c3c.entry.js.map → p-af2ab331.entry.js.map} +0 -0
  799. /package/dist/nylas-web-elements/{p-100c9ff7.entry.js.map → p-b110d5c1.entry.js.map} +0 -0
  800. /package/dist/nylas-web-elements/{p-e012eac3.entry.js.map → p-be938025.entry.js.map} +0 -0
  801. /package/dist/nylas-web-elements/{p-36792b8a.entry.js.map → p-cad17478.entry.js.map} +0 -0
  802. /package/dist/nylas-web-elements/{p-2653e311.entry.js.map → p-ce2c8e67.entry.js.map} +0 -0
  803. /package/dist/nylas-web-elements/{p-68320c97.entry.js.map → p-d1abdef7.entry.js.map} +0 -0
  804. /package/dist/nylas-web-elements/{p-8013d0a2.entry.js.map → p-dcdb47dd.entry.js.map} +0 -0
  805. /package/dist/nylas-web-elements/{p-cc8f94f7.entry.js.map → p-e1cd1887.entry.js.map} +0 -0
  806. /package/dist/nylas-web-elements/{p-00d89615.entry.js.map → p-eb2d8167.entry.js.map} +0 -0
  807. /package/dist/nylas-web-elements/{p-9b62edf6.entry.js.map → p-ec302526.entry.js.map} +0 -0
  808. /package/dist/nylas-web-elements/{p-bbcf8659.entry.js.map → p-ec528a20.entry.js.map} +0 -0
  809. /package/dist/nylas-web-elements/{p-0e0c00cc.entry.js.map → p-eee29c7e.entry.js.map} +0 -0
  810. /package/dist/nylas-web-elements/{p-f62df769.entry.js.map → p-f2ae34c9.entry.js.map} +0 -0
  811. /package/dist/nylas-web-elements/{p-fecf68ef.entry.js.map → p-f4334e3a.entry.js.map} +0 -0
  812. /package/dist/nylas-web-elements/{p-96bcc255.entry.js.map → p-fe34d0ee.entry.js.map} +0 -0
  813. /package/dist/nylas-web-elements/{p-51a66bf5.entry.js.map → p-febf4adf.entry.js.map} +0 -0
@@ -94,7 +94,7 @@ function B4(t) {
94
94
  var e, n, r;
95
95
  return (r = (n = (e = t.head) === null || e === void 0 ? void 0 : e.querySelector('meta[name="csp-nonce"]')) === null || n === void 0 ? void 0 : n.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
96
96
  }
97
- const b = (t, e, ...n) => {
97
+ const g = (t, e, ...n) => {
98
98
  let r = null, i = null, o = null, s = !1, a = !1;
99
99
  const u = [], c = (l) => {
100
100
  for (let f = 0; f < l.length; f++)
@@ -133,7 +133,7 @@ const b = (t, e, ...n) => {
133
133
  }), P4 = (t) => {
134
134
  if (typeof t.vtag == "function") {
135
135
  const n = Object.assign({}, t.vattrs);
136
- return t.vkey && (n.key = t.vkey), t.vname && (n.name = t.vname), b(t.vtag, n, ...t.vchildren || []);
136
+ return t.vkey && (n.key = t.vkey), t.vname && (n.name = t.vname), g(t.vtag, n, ...t.vchildren || []);
137
137
  }
138
138
  const e = Oo(t.vtag, t.vtext);
139
139
  return e.$attrs$ = t.vattrs, e.$children$ = t.vchildren, e.$key$ = t.vkey, e.$name$ = t.vname, e;
@@ -255,7 +255,7 @@ const b = (t, e, ...n) => {
255
255
  }
256
256
  }
257
257
  }, H4 = (t, e, n, r, i = !1) => {
258
- let o = 0, s = 0, a = 0, u = 0, c = e.length - 1, d = e[0], l = e[c], f = r.length - 1, h = r[0], p = r[f], g, m;
258
+ let o = 0, s = 0, a = 0, u = 0, c = e.length - 1, d = e[0], l = e[c], f = r.length - 1, h = r[0], p = r[f], b, m;
259
259
  for (; o <= c && s <= f; )
260
260
  if (d == null)
261
261
  d = e[++o];
@@ -279,7 +279,7 @@ const b = (t, e, ...n) => {
279
279
  a = u;
280
280
  break;
281
281
  }
282
- a >= 0 ? (m = e[a], m.$tag$ !== h.$tag$ ? g = Lo(e && e[s], n, a, t) : (nr(m, h, i), e[a] = void 0, g = m.$elm$), h = r[++s]) : (g = Lo(e && e[s], n, s, t), h = r[++s]), g && ch(d.$elm$).insertBefore(g, oc(d.$elm$));
282
+ a >= 0 ? (m = e[a], m.$tag$ !== h.$tag$ ? b = Lo(e && e[s], n, a, t) : (nr(m, h, i), e[a] = void 0, b = m.$elm$), h = r[++s]) : (b = Lo(e && e[s], n, s, t), h = r[++s]), b && ch(d.$elm$).insertBefore(b, oc(d.$elm$));
283
283
  }
284
284
  o > c ? ah(t, r[f + 1] == null ? null : r[f + 1].$elm$, n, r, s, f) : s > f && uh(e, o, c);
285
285
  }, Fi = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1, oc = (t) => t && t["s-ol"] || t, ch = (t) => (t["s-ol"] ? t["s-ol"] : t).parentNode, nr = (t, e, n = !1) => {
@@ -334,7 +334,7 @@ const b = (t, e, ...n) => {
334
334
  t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(fh);
335
335
  }, q4 = (t, e, n = !1) => {
336
336
  var r, i, o, s, a;
337
- const u = t.$hostElement$, c = t.$cmpMeta$, d = t.$vnode$ || Oo(null, null), l = D4(e) ? e : b(null, null, e);
337
+ const u = t.$hostElement$, c = t.$cmpMeta$, d = t.$vnode$ || Oo(null, null), l = D4(e) ? e : g(null, null, e);
338
338
  if (ti = u.tagName, c.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, c.$attrsToReflect$.map(([f, h]) => l.$attrs$[h] = u[f])), n && l.$attrs$)
339
339
  for (const f of Object.keys(l.$attrs$))
340
340
  u.hasAttribute(f) && !["key", "ref", "style", "class"].includes(f) && (l.$attrs$[f] = u[f]);
@@ -352,20 +352,20 @@ const b = (t, e, ...n) => {
352
352
  for (const f of Ht) {
353
353
  const h = f.$nodeToRelocate$, p = f.$slotRefNode$;
354
354
  if (p) {
355
- const g = p.parentNode;
355
+ const b = p.parentNode;
356
356
  let m = p.nextSibling;
357
357
  {
358
358
  let y = (r = h["s-ol"]) === null || r === void 0 ? void 0 : r.previousSibling;
359
359
  for (; y; ) {
360
360
  let v = (i = y["s-nr"]) !== null && i !== void 0 ? i : null;
361
- if (v && v["s-sn"] === h["s-sn"] && g === v.parentNode && (v = v.nextSibling, !v || !v["s-nr"])) {
361
+ if (v && v["s-sn"] === h["s-sn"] && b === v.parentNode && (v = v.nextSibling, !v || !v["s-nr"])) {
362
362
  m = v;
363
363
  break;
364
364
  }
365
365
  y = y.previousSibling;
366
366
  }
367
367
  }
368
- (!m && g !== h.parentNode || h.nextSibling !== m) && h !== m && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), g.insertBefore(h, m), h.nodeType === 1 && (h.hidden = (o = h["s-ih"]) !== null && o !== void 0 ? o : !1));
368
+ (!m && b !== h.parentNode || h.nextSibling !== m) && h !== m && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), b.insertBefore(h, m), h.nodeType === 1 && (h.hidden = (o = h["s-ih"]) !== null && o !== void 0 ? o : !1));
369
369
  } else
370
370
  h.nodeType === 1 && (n && (h["s-ih"] = (s = h.hidden) !== null && s !== void 0 ? s : !1), h.hidden = !0);
371
371
  }
@@ -464,9 +464,9 @@ const b = (t, e, ...n) => {
464
464
  if (l == null) {
465
465
  const f = Cr(this), h = f == null ? void 0 : f.$flags$;
466
466
  if (h && !(h & 8) && h & 128 && c !== u) {
467
- const g = this, m = (d = e.$watchers$) === null || d === void 0 ? void 0 : d[a];
467
+ const b = this, m = (d = e.$watchers$) === null || d === void 0 ? void 0 : d[a];
468
468
  m == null || m.forEach((y) => {
469
- g[y] != null && g[y].call(g, c, u, a);
469
+ b[y] != null && b[y].call(b, c, u, a);
470
470
  });
471
471
  }
472
472
  return;
@@ -656,12 +656,12 @@ function vs(t, e, n, r, i) {
656
656
  return (h ? -1 : 1) * s * Math.pow(2, o - r);
657
657
  }
658
658
  function bh(t, e, n, r, i, o) {
659
- var s, a, u, c = o * 8 - i - 1, d = (1 << c) - 1, l = d >> 1, f = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = r ? 0 : o - 1, p = r ? 1 : -1, g = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
659
+ var s, a, u, c = o * 8 - i - 1, d = (1 << c) - 1, l = d >> 1, f = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = r ? 0 : o - 1, p = r ? 1 : -1, b = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
660
660
  for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s = d) : (s = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -s)) < 1 && (s--, u *= 2), s + l >= 1 ? e += f / u : e += f * Math.pow(2, 1 - l), e * u >= 2 && (s++, u /= 2), s + l >= d ? (a = 0, s = d) : s + l >= 1 ? (a = (e * u - 1) * Math.pow(2, i), s = s + l) : (a = e * Math.pow(2, l - 1) * Math.pow(2, i), s = 0)); i >= 8; t[n + h] = a & 255, h += p, a /= 256, i -= 8)
661
661
  ;
662
662
  for (s = s << i | a, c += i; c > 0; t[n + h] = s & 255, h += p, s /= 256, c -= 8)
663
663
  ;
664
- t[n + h - p] |= g * 128;
664
+ t[n + h - p] |= b * 128;
665
665
  }
666
666
  var v_ = {}.toString, yh = Array.isArray || function(t) {
667
667
  return v_.call(t) == "[object Array]";
@@ -1490,60 +1490,60 @@ var Ih = { exports: {} };
1490
1490
  (function(n, r) {
1491
1491
  t.exports = r();
1492
1492
  })(Qe, function() {
1493
- var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", c = "day", d = "week", l = "month", f = "quarter", h = "year", p = "date", g = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
1494
- var S = ["th", "st", "nd", "rd"], _ = A % 100;
1495
- return "[" + A + (S[(_ - 20) % 10] || S[_] || S[0]) + "]";
1496
- } }, w = function(A, S, _) {
1497
- var T = String(A);
1498
- return !T || T.length >= S ? A : "" + Array(S + 1 - T.length).join(_) + A;
1499
- }, C = { s: w, z: function(A) {
1500
- var S = -A.utcOffset(), _ = Math.abs(S), T = Math.floor(_ / 60), x = _ % 60;
1501
- return (S <= 0 ? "+" : "-") + w(T, 2, "0") + ":" + w(x, 2, "0");
1502
- }, m: function A(S, _) {
1503
- if (S.date() < _.date()) return -A(_, S);
1504
- var T = 12 * (_.year() - S.year()) + (_.month() - S.month()), x = S.clone().add(T, l), M = _ - x < 0, F = S.clone().add(T + (M ? -1 : 1), l);
1505
- return +(-(T + (_ - x) / (M ? x - F : F - x)) || 0);
1506
- }, a: function(A) {
1507
- return A < 0 ? Math.ceil(A) || 0 : Math.floor(A);
1508
- }, p: function(A) {
1509
- return { M: l, y: h, w: d, d: c, D: p, h: u, m: a, s, ms: o, Q: f }[A] || String(A || "").toLowerCase().replace(/s$/, "");
1510
- }, u: function(A) {
1511
- return A === void 0;
1512
- } }, B = "en", P = {};
1513
- P[B] = v;
1514
- var I = function(A) {
1515
- return A instanceof k;
1516
- }, j = function A(S, _, T) {
1493
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", c = "day", d = "week", l = "month", f = "quarter", h = "year", p = "date", b = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
1494
+ var S = ["th", "st", "nd", "rd"], _ = T % 100;
1495
+ return "[" + T + (S[(_ - 20) % 10] || S[_] || S[0]) + "]";
1496
+ } }, E = function(T, S, _) {
1497
+ var A = String(T);
1498
+ return !A || A.length >= S ? T : "" + Array(S + 1 - A.length).join(_) + T;
1499
+ }, C = { s: E, z: function(T) {
1500
+ var S = -T.utcOffset(), _ = Math.abs(S), A = Math.floor(_ / 60), x = _ % 60;
1501
+ return (S <= 0 ? "+" : "-") + E(A, 2, "0") + ":" + E(x, 2, "0");
1502
+ }, m: function T(S, _) {
1503
+ if (S.date() < _.date()) return -T(_, S);
1504
+ var A = 12 * (_.year() - S.year()) + (_.month() - S.month()), x = S.clone().add(A, l), M = _ - x < 0, F = S.clone().add(A + (M ? -1 : 1), l);
1505
+ return +(-(A + (_ - x) / (M ? x - F : F - x)) || 0);
1506
+ }, a: function(T) {
1507
+ return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
1508
+ }, p: function(T) {
1509
+ return { M: l, y: h, w: d, d: c, D: p, h: u, m: a, s, ms: o, Q: f }[T] || String(T || "").toLowerCase().replace(/s$/, "");
1510
+ }, u: function(T) {
1511
+ return T === void 0;
1512
+ } }, $ = "en", B = {};
1513
+ B[$] = v;
1514
+ var D = function(T) {
1515
+ return T instanceof k;
1516
+ }, j = function T(S, _, A) {
1517
1517
  var x;
1518
- if (!S) return B;
1518
+ if (!S) return $;
1519
1519
  if (typeof S == "string") {
1520
1520
  var M = S.toLowerCase();
1521
- P[M] && (x = M), _ && (P[M] = _, x = M);
1521
+ B[M] && (x = M), _ && (B[M] = _, x = M);
1522
1522
  var F = S.split("-");
1523
- if (!x && F.length > 1) return A(F[0]);
1523
+ if (!x && F.length > 1) return T(F[0]);
1524
1524
  } else {
1525
1525
  var z = S.name;
1526
- P[z] = S, x = z;
1526
+ B[z] = S, x = z;
1527
1527
  }
1528
- return !T && x && (B = x), x || !T && B;
1529
- }, E = function(A, S) {
1530
- if (I(A)) return A.clone();
1528
+ return !A && x && ($ = x), x || !A && $;
1529
+ }, w = function(T, S) {
1530
+ if (D(T)) return T.clone();
1531
1531
  var _ = typeof S == "object" ? S : {};
1532
- return _.date = A, _.args = arguments, new k(_);
1533
- }, D = C;
1534
- D.l = j, D.i = I, D.w = function(A, S) {
1535
- return E(A, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
1532
+ return _.date = T, _.args = arguments, new k(_);
1533
+ }, P = C;
1534
+ P.l = j, P.i = D, P.w = function(T, S) {
1535
+ return w(T, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
1536
1536
  };
1537
1537
  var k = function() {
1538
- function A(_) {
1538
+ function T(_) {
1539
1539
  this.$L = j(_.locale, null, !0), this.parse(_);
1540
1540
  }
1541
- var S = A.prototype;
1541
+ var S = T.prototype;
1542
1542
  return S.parse = function(_) {
1543
- this.$d = function(T) {
1544
- var x = T.date, M = T.utc;
1543
+ this.$d = function(A) {
1544
+ var x = A.date, M = A.utc;
1545
1545
  if (x === null) return /* @__PURE__ */ new Date(NaN);
1546
- if (D.u(x)) return /* @__PURE__ */ new Date();
1546
+ if (P.u(x)) return /* @__PURE__ */ new Date();
1547
1547
  if (x instanceof Date) return new Date(x);
1548
1548
  if (typeof x == "string" && !/Z$/i.test(x)) {
1549
1549
  var F = x.match(m);
@@ -1558,28 +1558,28 @@ var Ih = { exports: {} };
1558
1558
  var _ = this.$d;
1559
1559
  this.$y = _.getFullYear(), this.$M = _.getMonth(), this.$D = _.getDate(), this.$W = _.getDay(), this.$H = _.getHours(), this.$m = _.getMinutes(), this.$s = _.getSeconds(), this.$ms = _.getMilliseconds();
1560
1560
  }, S.$utils = function() {
1561
- return D;
1561
+ return P;
1562
1562
  }, S.isValid = function() {
1563
- return this.$d.toString() !== g;
1564
- }, S.isSame = function(_, T) {
1565
- var x = E(_);
1566
- return this.startOf(T) <= x && x <= this.endOf(T);
1567
- }, S.isAfter = function(_, T) {
1568
- return E(_) < this.startOf(T);
1569
- }, S.isBefore = function(_, T) {
1570
- return this.endOf(T) < E(_);
1571
- }, S.$g = function(_, T, x) {
1572
- return D.u(_) ? this[T] : this.set(x, _);
1563
+ return this.$d.toString() !== b;
1564
+ }, S.isSame = function(_, A) {
1565
+ var x = w(_);
1566
+ return this.startOf(A) <= x && x <= this.endOf(A);
1567
+ }, S.isAfter = function(_, A) {
1568
+ return w(_) < this.startOf(A);
1569
+ }, S.isBefore = function(_, A) {
1570
+ return this.endOf(A) < w(_);
1571
+ }, S.$g = function(_, A, x) {
1572
+ return P.u(_) ? this[A] : this.set(x, _);
1573
1573
  }, S.unix = function() {
1574
1574
  return Math.floor(this.valueOf() / 1e3);
1575
1575
  }, S.valueOf = function() {
1576
1576
  return this.$d.getTime();
1577
- }, S.startOf = function(_, T) {
1578
- var x = this, M = !!D.u(T) || T, F = D.p(_), z = function(Ee, Ce) {
1579
- var Ze = D.w(x.$u ? Date.UTC(x.$y, Ce, Ee) : new Date(x.$y, Ce, Ee), x);
1577
+ }, S.startOf = function(_, A) {
1578
+ var x = this, M = !!P.u(A) || A, F = P.p(_), z = function(Ee, Ce) {
1579
+ var Ze = P.w(x.$u ? Date.UTC(x.$y, Ce, Ee) : new Date(x.$y, Ce, Ee), x);
1580
1580
  return M ? Ze : Ze.endOf(c);
1581
1581
  }, G = function(Ee, Ce) {
1582
- return D.w(x.toDate()[Ee].apply(x.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ce)), x);
1582
+ return P.w(x.toDate()[Ee].apply(x.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ce)), x);
1583
1583
  }, Y = this.$W, we = this.$M, Q = this.$D, W = "set" + (this.$u ? "UTC" : "");
1584
1584
  switch (F) {
1585
1585
  case h:
@@ -1603,61 +1603,61 @@ var Ih = { exports: {} };
1603
1603
  }
1604
1604
  }, S.endOf = function(_) {
1605
1605
  return this.startOf(_, !1);
1606
- }, S.$set = function(_, T) {
1607
- var x, M = D.p(_), F = "set" + (this.$u ? "UTC" : ""), z = (x = {}, x[c] = F + "Date", x[p] = F + "Date", x[l] = F + "Month", x[h] = F + "FullYear", x[u] = F + "Hours", x[a] = F + "Minutes", x[s] = F + "Seconds", x[o] = F + "Milliseconds", x)[M], G = M === c ? this.$D + (T - this.$W) : T;
1606
+ }, S.$set = function(_, A) {
1607
+ var x, M = P.p(_), F = "set" + (this.$u ? "UTC" : ""), z = (x = {}, x[c] = F + "Date", x[p] = F + "Date", x[l] = F + "Month", x[h] = F + "FullYear", x[u] = F + "Hours", x[a] = F + "Minutes", x[s] = F + "Seconds", x[o] = F + "Milliseconds", x)[M], G = M === c ? this.$D + (A - this.$W) : A;
1608
1608
  if (M === l || M === h) {
1609
1609
  var Y = this.clone().set(p, 1);
1610
1610
  Y.$d[z](G), Y.init(), this.$d = Y.set(p, Math.min(this.$D, Y.daysInMonth())).$d;
1611
1611
  } else z && this.$d[z](G);
1612
1612
  return this.init(), this;
1613
- }, S.set = function(_, T) {
1614
- return this.clone().$set(_, T);
1613
+ }, S.set = function(_, A) {
1614
+ return this.clone().$set(_, A);
1615
1615
  }, S.get = function(_) {
1616
- return this[D.p(_)]();
1617
- }, S.add = function(_, T) {
1616
+ return this[P.p(_)]();
1617
+ }, S.add = function(_, A) {
1618
1618
  var x, M = this;
1619
1619
  _ = Number(_);
1620
- var F = D.p(T), z = function(we) {
1621
- var Q = E(M);
1622
- return D.w(Q.date(Q.date() + Math.round(we * _)), M);
1620
+ var F = P.p(A), z = function(we) {
1621
+ var Q = w(M);
1622
+ return P.w(Q.date(Q.date() + Math.round(we * _)), M);
1623
1623
  };
1624
1624
  if (F === l) return this.set(l, this.$M + _);
1625
1625
  if (F === h) return this.set(h, this.$y + _);
1626
1626
  if (F === c) return z(1);
1627
1627
  if (F === d) return z(7);
1628
1628
  var G = (x = {}, x[a] = r, x[u] = i, x[s] = n, x)[F] || 1, Y = this.$d.getTime() + _ * G;
1629
- return D.w(Y, this);
1630
- }, S.subtract = function(_, T) {
1631
- return this.add(-1 * _, T);
1629
+ return P.w(Y, this);
1630
+ }, S.subtract = function(_, A) {
1631
+ return this.add(-1 * _, A);
1632
1632
  }, S.format = function(_) {
1633
- var T = this, x = this.$locale();
1634
- if (!this.isValid()) return x.invalidDate || g;
1635
- var M = _ || "YYYY-MM-DDTHH:mm:ssZ", F = D.z(this), z = this.$H, G = this.$m, Y = this.$M, we = x.weekdays, Q = x.months, W = function(Ce, Ze, xn, ae) {
1636
- return Ce && (Ce[Ze] || Ce(T, M)) || xn[Ze].slice(0, ae);
1633
+ var A = this, x = this.$locale();
1634
+ if (!this.isValid()) return x.invalidDate || b;
1635
+ var M = _ || "YYYY-MM-DDTHH:mm:ssZ", F = P.z(this), z = this.$H, G = this.$m, Y = this.$M, we = x.weekdays, Q = x.months, W = function(Ce, Ze, xn, ae) {
1636
+ return Ce && (Ce[Ze] || Ce(A, M)) || xn[Ze].slice(0, ae);
1637
1637
  }, Ie = function(Ce) {
1638
- return D.s(z % 12 || 12, Ce, "0");
1638
+ return P.s(z % 12 || 12, Ce, "0");
1639
1639
  }, De = x.meridiem || function(Ce, Ze, xn) {
1640
1640
  var ae = Ce < 12 ? "AM" : "PM";
1641
1641
  return xn ? ae.toLowerCase() : ae;
1642
- }, Ee = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: D.s(Y + 1, 2, "0"), MMM: W(x.monthsShort, Y, Q, 3), MMMM: W(Q, Y), D: this.$D, DD: D.s(this.$D, 2, "0"), d: String(this.$W), dd: W(x.weekdaysMin, this.$W, we, 2), ddd: W(x.weekdaysShort, this.$W, we, 3), dddd: we[this.$W], H: String(z), HH: D.s(z, 2, "0"), h: Ie(1), hh: Ie(2), a: De(z, G, !0), A: De(z, G, !1), m: String(G), mm: D.s(G, 2, "0"), s: String(this.$s), ss: D.s(this.$s, 2, "0"), SSS: D.s(this.$ms, 3, "0"), Z: F };
1642
+ }, Ee = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: P.s(Y + 1, 2, "0"), MMM: W(x.monthsShort, Y, Q, 3), MMMM: W(Q, Y), D: this.$D, DD: P.s(this.$D, 2, "0"), d: String(this.$W), dd: W(x.weekdaysMin, this.$W, we, 2), ddd: W(x.weekdaysShort, this.$W, we, 3), dddd: we[this.$W], H: String(z), HH: P.s(z, 2, "0"), h: Ie(1), hh: Ie(2), a: De(z, G, !0), A: De(z, G, !1), m: String(G), mm: P.s(G, 2, "0"), s: String(this.$s), ss: P.s(this.$s, 2, "0"), SSS: P.s(this.$ms, 3, "0"), Z: F };
1643
1643
  return M.replace(y, function(Ce, Ze) {
1644
1644
  return Ze || Ee[Ce] || F.replace(":", "");
1645
1645
  });
1646
1646
  }, S.utcOffset = function() {
1647
1647
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1648
- }, S.diff = function(_, T, x) {
1649
- var M, F = D.p(T), z = E(_), G = (z.utcOffset() - this.utcOffset()) * r, Y = this - z, we = D.m(this, z);
1650
- return we = (M = {}, M[h] = we / 12, M[l] = we, M[f] = we / 3, M[d] = (Y - G) / 6048e5, M[c] = (Y - G) / 864e5, M[u] = Y / i, M[a] = Y / r, M[s] = Y / n, M)[F] || Y, x ? we : D.a(we);
1648
+ }, S.diff = function(_, A, x) {
1649
+ var M, F = P.p(A), z = w(_), G = (z.utcOffset() - this.utcOffset()) * r, Y = this - z, we = P.m(this, z);
1650
+ return we = (M = {}, M[h] = we / 12, M[l] = we, M[f] = we / 3, M[d] = (Y - G) / 6048e5, M[c] = (Y - G) / 864e5, M[u] = Y / i, M[a] = Y / r, M[s] = Y / n, M)[F] || Y, x ? we : P.a(we);
1651
1651
  }, S.daysInMonth = function() {
1652
1652
  return this.endOf(l).$D;
1653
1653
  }, S.$locale = function() {
1654
- return P[this.$L];
1655
- }, S.locale = function(_, T) {
1654
+ return B[this.$L];
1655
+ }, S.locale = function(_, A) {
1656
1656
  if (!_) return this.$L;
1657
- var x = this.clone(), M = j(_, T, !0);
1657
+ var x = this.clone(), M = j(_, A, !0);
1658
1658
  return M && (x.$L = M), x;
1659
1659
  }, S.clone = function() {
1660
- return D.w(this.$d, this);
1660
+ return P.w(this.$d, this);
1661
1661
  }, S.toDate = function() {
1662
1662
  return new Date(this.valueOf());
1663
1663
  }, S.toJSON = function() {
@@ -1666,17 +1666,17 @@ var Ih = { exports: {} };
1666
1666
  return this.$d.toISOString();
1667
1667
  }, S.toString = function() {
1668
1668
  return this.$d.toUTCString();
1669
- }, A;
1670
- }(), $ = k.prototype;
1671
- return E.prototype = $, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", c], ["$M", l], ["$y", h], ["$D", p]].forEach(function(A) {
1672
- $[A[1]] = function(S) {
1673
- return this.$g(S, A[0], A[1]);
1669
+ }, T;
1670
+ }(), I = k.prototype;
1671
+ return w.prototype = I, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", c], ["$M", l], ["$y", h], ["$D", p]].forEach(function(T) {
1672
+ I[T[1]] = function(S) {
1673
+ return this.$g(S, T[0], T[1]);
1674
1674
  };
1675
- }), E.extend = function(A, S) {
1676
- return A.$i || (A(S, k, E), A.$i = !0), E;
1677
- }, E.locale = j, E.isDayjs = I, E.unix = function(A) {
1678
- return E(1e3 * A);
1679
- }, E.en = P[B], E.Ls = P, E.p = {}, E;
1675
+ }), w.extend = function(T, S) {
1676
+ return T.$i || (T(S, k, w), T.$i = !0), w;
1677
+ }, w.locale = j, w.isDayjs = D, w.unix = function(T) {
1678
+ return w(1e3 * T);
1679
+ }, w.en = B[$], w.Ls = B, w.p = {}, w;
1680
1680
  });
1681
1681
  })(Ih);
1682
1682
  const Es = Ih.exports;
@@ -2217,10 +2217,10 @@ function Lh(t, e) {
2217
2217
  for (; r.accept("comma"); ) {
2218
2218
  if (r.isDone())
2219
2219
  throw new Error("Unexpected end");
2220
- var g = a();
2221
- if (!g)
2220
+ var b = a();
2221
+ if (!b)
2222
2222
  throw new Error("Unexpected symbol " + r.symbol + ", expected month");
2223
- n.bymonth.push(g), r.nextSymbol();
2223
+ n.bymonth.push(b), r.nextSymbol();
2224
2224
  }
2225
2225
  o(), l();
2226
2226
  break;
@@ -2232,11 +2232,11 @@ function Lh(t, e) {
2232
2232
  var f = r.accept("on"), h = r.accept("the");
2233
2233
  if (f || h)
2234
2234
  do {
2235
- var p = c(), g = u(), m = a();
2235
+ var p = c(), b = u(), m = a();
2236
2236
  if (p)
2237
- g ? (r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(J[g].nth(p))) : (n.bymonthday || (n.bymonthday = []), n.bymonthday.push(p), r.accept("day(s)"));
2238
- else if (g)
2239
- r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(J[g]);
2237
+ b ? (r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(J[b].nth(p))) : (n.bymonthday || (n.bymonthday = []), n.bymonthday.push(p), r.accept("day(s)"));
2238
+ else if (b)
2239
+ r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(J[b]);
2240
2240
  else if (r.symbol === "weekday(s)")
2241
2241
  r.nextSymbol(), n.byweekday || (n.byweekday = [J.MO, J.TU, J.WE, J.TH, J.FR]);
2242
2242
  else if (r.symbol === "week(s)") {
@@ -2713,8 +2713,8 @@ function qa(t) {
2713
2713
  }
2714
2714
  }
2715
2715
  var l = e.map(function(h) {
2716
- var p = h[0], g = h[1];
2717
- return "".concat(p, "=").concat(g.toString());
2716
+ var p = h[0], b = h[1];
2717
+ return "".concat(p, "=").concat(b.toString());
2718
2718
  }).join(";"), f = "";
2719
2719
  return l !== "" && (f = "RRULE:".concat(l)), [n, f].filter(function(h) {
2720
2720
  return !!h;
@@ -2777,10 +2777,10 @@ function Sk(t, e) {
2777
2777
  var u, c, d = u = lt(7 - s + e.wkst, 7);
2778
2778
  d >= 4 ? (d = 0, c = a.yearlen + lt(s - e.wkst, 7)) : c = r - d;
2779
2779
  for (var l = Math.floor(c / 7), f = lt(c, 7), h = Math.floor(l + f / 4), p = 0; p < e.byweekno.length; p++) {
2780
- var g = e.byweekno[p];
2781
- if (g < 0 && (g += h + 1), g > 0 && g <= h) {
2780
+ var b = e.byweekno[p];
2781
+ if (b < 0 && (b += h + 1), b > 0 && b <= h) {
2782
2782
  var m = void 0;
2783
- g > 1 ? (m = d + (g - 1) * 7, d !== u && (m -= 7 - u)) : m = d;
2783
+ b > 1 ? (m = d + (b - 1) * 7, d !== u && (m -= 7 - u)) : m = d;
2784
2784
  for (var y = 0; y < 7 && (a.wnomask[m] = 1, m++, a.wdaymask[m] !== e.wkst); y++)
2785
2785
  ;
2786
2786
  }
@@ -2796,8 +2796,8 @@ function Sk(t, e) {
2796
2796
  if (he(e.byweekno, -1))
2797
2797
  v = -1;
2798
2798
  else {
2799
- var w = pr(Bn(t - 1, 1, 1)), C = lt(7 - w.valueOf() + e.wkst, 7), B = Yr(t - 1) ? 366 : 365, P = void 0;
2800
- C >= 4 ? (C = 0, P = B + lt(w - e.wkst, 7)) : P = r - d, v = Math.floor(52 + lt(P, 7) / 4);
2799
+ var E = pr(Bn(t - 1, 1, 1)), C = lt(7 - E.valueOf() + e.wkst, 7), $ = Yr(t - 1) ? 366 : 365, B = void 0;
2800
+ C >= 4 ? (C = 0, B = $ + lt(E - e.wkst, 7)) : B = r - d, v = Math.floor(52 + lt(B, 7) / 4);
2801
2801
  }
2802
2802
  if (he(e.byweekno, v))
2803
2803
  for (var m = 0; m < d; m++)
@@ -2839,14 +2839,14 @@ function Ak(t, e, n, r, i, o) {
2839
2839
  s.nwdaymask = ie(0, n);
2840
2840
  for (var u = 0; u < a.length; u++)
2841
2841
  for (var c = a[u], d = c[0], l = c[1] - 1, f = 0; f < o.bynweekday.length; f++) {
2842
- var h = void 0, p = o.bynweekday[f], g = p[0], m = p[1];
2843
- m < 0 ? (h = l + (m + 1) * 7, h -= lt(i[h] - g, 7)) : (h = d + (m - 1) * 7, h += lt(7 - i[h] + g, 7)), d <= h && h <= l && (s.nwdaymask[h] = 1);
2842
+ var h = void 0, p = o.bynweekday[f], b = p[0], m = p[1];
2843
+ m < 0 ? (h = l + (m + 1) * 7, h -= lt(i[h] - b, 7)) : (h = d + (m - 1) * 7, h += lt(7 - i[h] + b, 7)), d <= h && h <= l && (s.nwdaymask[h] = 1);
2844
2844
  }
2845
2845
  return s;
2846
2846
  }
2847
2847
  function $k(t, e) {
2848
2848
  e === void 0 && (e = 0);
2849
- var n = t % 19, r = Math.floor(t / 100), i = t % 100, o = Math.floor(r / 4), s = r % 4, a = Math.floor((r + 8) / 25), u = Math.floor((r - a + 1) / 3), c = Math.floor(19 * n + r - o - u + 15) % 30, d = Math.floor(i / 4), l = i % 4, f = Math.floor(32 + 2 * s + 2 * d - c - l) % 7, h = Math.floor((n + 11 * c + 22 * f) / 451), p = Math.floor((c + f - 7 * h + 114) / 31), g = (c + f - 7 * h + 114) % 31 + 1, m = Date.UTC(t, p - 1, g + e), y = Date.UTC(t, 0, 1);
2849
+ var n = t % 19, r = Math.floor(t / 100), i = t % 100, o = Math.floor(r / 4), s = r % 4, a = Math.floor((r + 8) / 25), u = Math.floor((r - a + 1) / 3), c = Math.floor(19 * n + r - o - u + 15) % 30, d = Math.floor(i / 4), l = i % 4, f = Math.floor(32 + 2 * s + 2 * d - c - l) % 7, h = Math.floor((n + 11 * c + 22 * f) / 451), p = Math.floor((c + f - 7 * h + 114) / 31), b = (c + f - 7 * h + 114) % 31 + 1, m = Date.UTC(t, p - 1, b + e), y = Date.UTC(t, 0, 1);
2850
2850
  return [Math.ceil((m - y) / (1e3 * 60 * 60 * 24))];
2851
2851
  }
2852
2852
  var Ik = (
@@ -2994,7 +2994,7 @@ function Bk(t, e, n, r, i, o) {
2994
2994
  }
2995
2995
  var p = void 0;
2996
2996
  u < 0 ? p = l.slice(u)[0] : p = l[u];
2997
- var g = e[c], m = Rh(i.yearordinal + p), y = Oh(m, g);
2997
+ var b = e[c], m = Rh(i.yearordinal + p), y = Oh(m, b);
2998
2998
  he(s, y) || s.push(y);
2999
2999
  }
3000
3000
  return ii(s), s;
@@ -3006,15 +3006,15 @@ function Fh(t, e) {
3006
3006
  var u = ok.fromDate(n), c = new Ik(e);
3007
3007
  c.rebuild(u.year, u.month);
3008
3008
  for (var d = Pk(c, u, e); ; ) {
3009
- var l = c.getdayset(r)(u.year, u.month, u.day), f = l[0], h = l[1], p = l[2], g = Mk(f, h, p, c, e);
3009
+ var l = c.getdayset(r)(u.year, u.month, u.day), f = l[0], h = l[1], p = l[2], b = Mk(f, h, p, c, e);
3010
3010
  if (Pe(s))
3011
3011
  for (var m = Bk(s, d, h, p, c, f), y = 0; y < m.length; y++) {
3012
3012
  var v = m[y];
3013
3013
  if (o && v > o)
3014
3014
  return Ot(t);
3015
3015
  if (v >= n) {
3016
- var w = zl(v, e);
3017
- if (!t.accept(w) || a && (--a, !a))
3016
+ var E = zl(v, e);
3017
+ if (!t.accept(E) || a && (--a, !a))
3018
3018
  return Ot(t);
3019
3019
  }
3020
3020
  }
@@ -3022,18 +3022,18 @@ function Fh(t, e) {
3022
3022
  for (var y = h; y < p; y++) {
3023
3023
  var C = f[y];
3024
3024
  if (Te(C))
3025
- for (var B = Rh(c.yearordinal + C), P = 0; P < d.length; P++) {
3026
- var I = d[P], v = Oh(B, I);
3025
+ for (var $ = Rh(c.yearordinal + C), B = 0; B < d.length; B++) {
3026
+ var D = d[B], v = Oh($, D);
3027
3027
  if (o && v > o)
3028
3028
  return Ot(t);
3029
3029
  if (v >= n) {
3030
- var w = zl(v, e);
3031
- if (!t.accept(w) || a && (--a, !a))
3030
+ var E = zl(v, e);
3031
+ if (!t.accept(E) || a && (--a, !a))
3032
3032
  return Ot(t);
3033
3033
  }
3034
3034
  }
3035
3035
  }
3036
- if (e.interval === 0 || (u.add(e, g), u.year > Dh))
3036
+ if (e.interval === 0 || (u.add(e, b), u.year > Dh))
3037
3037
  return Ot(t);
3038
3038
  hc(r) || (d = c.gettimeset(r)(u.hour, u.minute, u.second, 0)), c.rebuild(u.year, u.month);
3039
3039
  }
@@ -3160,8 +3160,8 @@ function Ok(t, e, n, r, i, o) {
3160
3160
  var s = {}, a = t.accept;
3161
3161
  function u(f, h) {
3162
3162
  n.forEach(function(p) {
3163
- p.between(f, h, !0).forEach(function(g) {
3164
- s[Number(g)] = !0;
3163
+ p.between(f, h, !0).forEach(function(b) {
3164
+ s[Number(b)] = !0;
3165
3165
  });
3166
3166
  });
3167
3167
  }
@@ -3208,7 +3208,7 @@ function Lk(t, e) {
3208
3208
  return c.forEach(function(d) {
3209
3209
  var l;
3210
3210
  if (d) {
3211
- var f = Uk(d), h = f.name, p = f.parms, g = f.value;
3211
+ var f = Uk(d), h = f.name, p = f.parms, b = f.value;
3212
3212
  switch (h.toUpperCase()) {
3213
3213
  case "RRULE":
3214
3214
  if (p.length)
@@ -3217,15 +3217,15 @@ function Lk(t, e) {
3217
3217
  break;
3218
3218
  case "RDATE":
3219
3219
  var m = (l = /RDATE(?:;TZID=([^:=]+))?/i.exec(d)) !== null && l !== void 0 ? l : [], y = m[1];
3220
- y && !u && (u = y), r = r.concat(Gl(g, p));
3220
+ y && !u && (u = y), r = r.concat(Gl(b, p));
3221
3221
  break;
3222
3222
  case "EXRULE":
3223
3223
  if (p.length)
3224
3224
  throw new Error("unsupported EXRULE parm: ".concat(p.join(",")));
3225
- i.push(Ha(g));
3225
+ i.push(Ha(b));
3226
3226
  break;
3227
3227
  case "EXDATE":
3228
- o = o.concat(Gl(g, p));
3228
+ o = o.concat(Gl(b, p));
3229
3229
  break;
3230
3230
  case "DTSTART":
3231
3231
  break;
@@ -3796,8 +3796,8 @@ class Ko extends Cs {
3796
3796
  }
3797
3797
  const l = this.resolve(e, n);
3798
3798
  let f = l && l.res;
3799
- const h = l && l.usedKey || s, p = l && l.exactUsedKey || s, g = Object.prototype.toString.apply(f), m = ["[object Number]", "[object Function]", "[object RegExp]"], y = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, v = !this.i18nFormat || this.i18nFormat.handleAsObject;
3800
- if (v && f && (typeof f != "string" && typeof f != "boolean" && typeof f != "number") && m.indexOf(g) < 0 && !(typeof y == "string" && Array.isArray(f))) {
3799
+ const h = l && l.usedKey || s, p = l && l.exactUsedKey || s, b = Object.prototype.toString.apply(f), m = ["[object Number]", "[object Function]", "[object RegExp]"], y = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, v = !this.i18nFormat || this.i18nFormat.handleAsObject;
3800
+ if (v && f && (typeof f != "string" && typeof f != "boolean" && typeof f != "number") && m.indexOf(b) < 0 && !(typeof y == "string" && Array.isArray(f))) {
3801
3801
  if (!n.returnObjects && !this.options.returnObjects) {
3802
3802
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
3803
3803
  const C = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, f, {
@@ -3807,28 +3807,28 @@ class Ko extends Cs {
3807
3807
  return i ? (l.res = C, l.usedParams = this.getUsedParamsDetails(n), l) : C;
3808
3808
  }
3809
3809
  if (o) {
3810
- const C = Array.isArray(f), B = C ? [] : {}, P = C ? p : h;
3811
- for (const I in f)
3812
- if (Object.prototype.hasOwnProperty.call(f, I)) {
3813
- const j = `${P}${o}${I}`;
3814
- B[I] = this.translate(j, {
3810
+ const C = Array.isArray(f), $ = C ? [] : {}, B = C ? p : h;
3811
+ for (const D in f)
3812
+ if (Object.prototype.hasOwnProperty.call(f, D)) {
3813
+ const j = `${B}${o}${D}`;
3814
+ $[D] = this.translate(j, {
3815
3815
  ...n,
3816
3816
  joinArrays: !1,
3817
3817
  ns: a
3818
- }), B[I] === j && (B[I] = f[I]);
3818
+ }), $[D] === j && ($[D] = f[D]);
3819
3819
  }
3820
- f = B;
3820
+ f = $;
3821
3821
  }
3822
3822
  } else if (v && typeof y == "string" && Array.isArray(f))
3823
3823
  f = f.join(y), f && (f = this.extendTranslation(f, e, n, r));
3824
3824
  else {
3825
- let C = !1, B = !1;
3826
- const P = n.count !== void 0 && typeof n.count != "string", I = Ko.hasDefaultValue(n), j = P ? this.pluralResolver.getSuffix(c, n.count, n) : "", E = n.ordinal && P ? this.pluralResolver.getSuffix(c, n.count, {
3825
+ let C = !1, $ = !1;
3826
+ const B = n.count !== void 0 && typeof n.count != "string", D = Ko.hasDefaultValue(n), j = B ? this.pluralResolver.getSuffix(c, n.count, n) : "", w = n.ordinal && B ? this.pluralResolver.getSuffix(c, n.count, {
3827
3827
  ordinal: !1
3828
- }) : "", D = P && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = D && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${j}`] || n[`defaultValue${E}`] || n.defaultValue;
3829
- !this.isValidLookup(f) && I && (C = !0, f = k), this.isValidLookup(f) || (B = !0, f = s);
3830
- const A = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && B ? void 0 : f, S = I && k !== f && this.options.updateMissing;
3831
- if (B || C || S) {
3828
+ }) : "", P = B && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = P && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${j}`] || n[`defaultValue${w}`] || n.defaultValue;
3829
+ !this.isValidLookup(f) && D && (C = !0, f = k), this.isValidLookup(f) || ($ = !0, f = s);
3830
+ const T = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && $ ? void 0 : f, S = D && k !== f && this.options.updateMissing;
3831
+ if ($ || C || S) {
3832
3832
  if (this.logger.log(S ? "updateKey" : "missingKey", c, u, s, S ? k : f), o) {
3833
3833
  const M = this.resolve(s, {
3834
3834
  ...n,
@@ -3837,23 +3837,23 @@ class Ko extends Cs {
3837
3837
  M && M.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
3838
3838
  }
3839
3839
  let _ = [];
3840
- const T = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
3841
- if (this.options.saveMissingTo === "fallback" && T && T[0])
3842
- for (let M = 0; M < T.length; M++)
3843
- _.push(T[M]);
3840
+ const A = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
3841
+ if (this.options.saveMissingTo === "fallback" && A && A[0])
3842
+ for (let M = 0; M < A.length; M++)
3843
+ _.push(A[M]);
3844
3844
  else this.options.saveMissingTo === "all" ? _ = this.languageUtils.toResolveHierarchy(n.lng || this.language) : _.push(n.lng || this.language);
3845
3845
  const x = (M, F, z) => {
3846
- const G = I && z !== f ? z : A;
3846
+ const G = D && z !== f ? z : T;
3847
3847
  this.options.missingKeyHandler ? this.options.missingKeyHandler(M, u, F, G, S, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(M, u, F, G, S, n), this.emit("missingKey", M, u, F, f);
3848
3848
  };
3849
- this.options.saveMissing && (this.options.saveMissingPlurals && P ? _.forEach((M) => {
3849
+ this.options.saveMissing && (this.options.saveMissingPlurals && B ? _.forEach((M) => {
3850
3850
  const F = this.pluralResolver.getSuffixes(M, n);
3851
- D && n[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((z) => {
3851
+ P && n[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((z) => {
3852
3852
  x([M], s + z, n[`defaultValue${z}`] || k);
3853
3853
  });
3854
3854
  }) : x(_, s, k));
3855
3855
  }
3856
- f = this.extendTranslation(f, e, n, l, r), B && f === s && this.options.appendNamespaceToMissingKey && (f = `${u}:${s}`), (B || C) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? f = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${s}` : s, C ? f : void 0) : f = this.options.parseMissingKeyHandler(f));
3856
+ f = this.extendTranslation(f, e, n, l, r), $ && f === s && this.options.appendNamespaceToMissingKey && (f = `${u}:${s}`), ($ || C) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? f = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${s}` : s, C ? f : void 0) : f = this.options.parseMissingKeyHandler(f));
3857
3857
  }
3858
3858
  return i ? (l.res = f, l.usedParams = this.getUsedParamsDetails(n), l) : f;
3859
3859
  }
@@ -3911,9 +3911,9 @@ class Ko extends Cs {
3911
3911
  i = d;
3912
3912
  let l = c.namespaces;
3913
3913
  this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
3914
- const f = n.count !== void 0 && typeof n.count != "string", h = f && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", g = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
3914
+ const f = n.count !== void 0 && typeof n.count != "string", h = f && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", b = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
3915
3915
  l.forEach((m) => {
3916
- this.isValidLookup(r) || (a = m, !Ql[`${g[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (Ql[`${g[0]}-${m}`] = !0, this.logger.warn(`key "${i}" for languages "${g.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), g.forEach((y) => {
3916
+ this.isValidLookup(r) || (a = m, !Ql[`${b[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (Ql[`${b[0]}-${m}`] = !0, this.logger.warn(`key "${i}" for languages "${b.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), b.forEach((y) => {
3917
3917
  if (this.isValidLookup(r)) return;
3918
3918
  s = y;
3919
3919
  const v = [d];
@@ -3922,15 +3922,15 @@ class Ko extends Cs {
3922
3922
  else {
3923
3923
  let C;
3924
3924
  f && (C = this.pluralResolver.getSuffix(y, n.count, n));
3925
- const B = `${this.options.pluralSeparator}zero`, P = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
3926
- if (f && (v.push(d + C), n.ordinal && C.indexOf(P) === 0 && v.push(d + C.replace(P, this.options.pluralSeparator)), h && v.push(d + B)), p) {
3927
- const I = `${d}${this.options.contextSeparator}${n.context}`;
3928
- v.push(I), f && (v.push(I + C), n.ordinal && C.indexOf(P) === 0 && v.push(I + C.replace(P, this.options.pluralSeparator)), h && v.push(I + B));
3925
+ const $ = `${this.options.pluralSeparator}zero`, B = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
3926
+ if (f && (v.push(d + C), n.ordinal && C.indexOf(B) === 0 && v.push(d + C.replace(B, this.options.pluralSeparator)), h && v.push(d + $)), p) {
3927
+ const D = `${d}${this.options.contextSeparator}${n.context}`;
3928
+ v.push(D), f && (v.push(D + C), n.ordinal && C.indexOf(B) === 0 && v.push(D + C.replace(B, this.options.pluralSeparator)), h && v.push(D + $));
3929
3929
  }
3930
3930
  }
3931
- let w;
3932
- for (; w = v.pop(); )
3933
- this.isValidLookup(r) || (o = w, r = this.getResource(y, m, w, n));
3931
+ let E;
3932
+ for (; E = v.pop(); )
3933
+ this.isValidLookup(r) || (o = E, r = this.getResource(y, m, E, n));
3934
3934
  }));
3935
3935
  });
3936
3936
  }), {
@@ -4291,12 +4291,12 @@ class u8 {
4291
4291
  nestingPrefix: f,
4292
4292
  nestingPrefixEscaped: h,
4293
4293
  nestingSuffix: p,
4294
- nestingSuffixEscaped: g,
4294
+ nestingSuffixEscaped: b,
4295
4295
  nestingOptionsSeparator: m,
4296
4296
  maxReplaces: y,
4297
4297
  alwaysFormat: v
4298
4298
  } = e.interpolation;
4299
- this.escape = n !== void 0 ? n : Jk, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = o ? Wn(o) : s || "{{", this.suffix = a ? Wn(a) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : l || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = f ? Wn(f) : h || Wn("$t("), this.nestingSuffix = p ? Wn(p) : g || Wn(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = v !== void 0 ? v : !1, this.resetRegExp();
4299
+ this.escape = n !== void 0 ? n : Jk, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = o ? Wn(o) : s || "{{", this.suffix = a ? Wn(a) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : l || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = f ? Wn(f) : h || Wn("$t("), this.nestingSuffix = p ? Wn(p) : b || Wn(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = v !== void 0 ? v : !1, this.resetRegExp();
4300
4300
  }
4301
4301
  reset() {
4302
4302
  this.options && this.init(this.options);
@@ -4320,7 +4320,7 @@ class u8 {
4320
4320
  interpolationkey: p
4321
4321
  }) : v;
4322
4322
  }
4323
- const g = p.split(this.formatSeparator), m = g.shift().trim(), y = g.join(this.formatSeparator).trim();
4323
+ const b = p.split(this.formatSeparator), m = b.shift().trim(), y = b.join(this.formatSeparator).trim();
4324
4324
  return this.format(nd(n, u, m, this.options.keySeparator, this.options.ignoreJSONStructure), y, r, {
4325
4325
  ...i,
4326
4326
  ...n,
@@ -4337,18 +4337,18 @@ class u8 {
4337
4337
  safeValue: (p) => this.escapeValue ? c(this.escape(p)) : c(p)
4338
4338
  }].forEach((p) => {
4339
4339
  for (a = 0; o = p.regex.exec(e); ) {
4340
- const g = o[1].trim();
4341
- if (s = d(g), s === void 0)
4340
+ const b = o[1].trim();
4341
+ if (s = d(b), s === void 0)
4342
4342
  if (typeof l == "function") {
4343
4343
  const y = l(e, o, i);
4344
4344
  s = typeof y == "string" ? y : "";
4345
- } else if (i && Object.prototype.hasOwnProperty.call(i, g))
4345
+ } else if (i && Object.prototype.hasOwnProperty.call(i, b))
4346
4346
  s = "";
4347
4347
  else if (f) {
4348
4348
  s = o[0];
4349
4349
  continue;
4350
4350
  } else
4351
- this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`), s = "";
4351
+ this.logger.warn(`missed to pass in variable ${b} for interpolating ${e}`), s = "";
4352
4352
  else typeof s != "string" && !this.useRawValueToEscape && (s = Zl(s));
4353
4353
  const m = p.safeValue(s);
4354
4354
  if (e = e.replace(o[0], m), f ? (p.regex.lastIndex += s.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
@@ -4371,8 +4371,8 @@ class u8 {
4371
4371
  ...c,
4372
4372
  ...s
4373
4373
  });
4374
- } catch (g) {
4375
- return this.logger.warn(`failed parsing options string in nesting for key ${u}`, g), `${u}${d}${f}`;
4374
+ } catch (b) {
4375
+ return this.logger.warn(`failed parsing options string in nesting for key ${u}`, b), `${u}${d}${f}`;
4376
4376
  }
4377
4377
  return s.defaultValue && s.defaultValue.indexOf(this.prefix) > -1 && delete s.defaultValue, u;
4378
4378
  }
@@ -4747,13 +4747,13 @@ class oi extends Cs {
4747
4747
  }), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (f.formatter = o(d), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new u8(this.options), f.utils = {
4748
4748
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
4749
4749
  }, f.backendConnector = new f8(o(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", function(h) {
4750
- for (var p = arguments.length, g = new Array(p > 1 ? p - 1 : 0), m = 1; m < p; m++)
4751
- g[m - 1] = arguments[m];
4752
- e.emit(h, ...g);
4750
+ for (var p = arguments.length, b = new Array(p > 1 ? p - 1 : 0), m = 1; m < p; m++)
4751
+ b[m - 1] = arguments[m];
4752
+ e.emit(h, ...b);
4753
4753
  }), this.modules.languageDetector && (f.languageDetector = o(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = o(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Ko(this.services, this.options), this.translator.on("*", function(h) {
4754
- for (var p = arguments.length, g = new Array(p > 1 ? p - 1 : 0), m = 1; m < p; m++)
4755
- g[m - 1] = arguments[m];
4756
- e.emit(h, ...g);
4754
+ for (var p = arguments.length, b = new Array(p > 1 ? p - 1 : 0), m = 1; m < p; m++)
4755
+ b[m - 1] = arguments[m];
4756
+ e.emit(h, ...b);
4757
4757
  }), this.modules.external.forEach((h) => {
4758
4758
  h.init && h.init(this);
4759
4759
  });
@@ -6326,23 +6326,23 @@ var Ya = {};
6326
6326
  t.default = i;
6327
6327
  })(Ya);
6328
6328
  (function(t) {
6329
- var e = Qe && Qe.__createBinding || (Object.create ? function(k, $, A, S) {
6330
- S === void 0 && (S = A);
6331
- var _ = Object.getOwnPropertyDescriptor($, A);
6332
- (!_ || ("get" in _ ? !$.__esModule : _.writable || _.configurable)) && (_ = { enumerable: !0, get: function() {
6333
- return $[A];
6329
+ var e = Qe && Qe.__createBinding || (Object.create ? function(k, I, T, S) {
6330
+ S === void 0 && (S = T);
6331
+ var _ = Object.getOwnPropertyDescriptor(I, T);
6332
+ (!_ || ("get" in _ ? !I.__esModule : _.writable || _.configurable)) && (_ = { enumerable: !0, get: function() {
6333
+ return I[T];
6334
6334
  } }), Object.defineProperty(k, S, _);
6335
- } : function(k, $, A, S) {
6336
- S === void 0 && (S = A), k[S] = $[A];
6337
- }), n = Qe && Qe.__setModuleDefault || (Object.create ? function(k, $) {
6338
- Object.defineProperty(k, "default", { enumerable: !0, value: $ });
6339
- } : function(k, $) {
6340
- k.default = $;
6335
+ } : function(k, I, T, S) {
6336
+ S === void 0 && (S = T), k[S] = I[T];
6337
+ }), n = Qe && Qe.__setModuleDefault || (Object.create ? function(k, I) {
6338
+ Object.defineProperty(k, "default", { enumerable: !0, value: I });
6339
+ } : function(k, I) {
6340
+ k.default = I;
6341
6341
  }), r = Qe && Qe.__importStar || function(k) {
6342
6342
  if (k && k.__esModule) return k;
6343
- var $ = {};
6344
- if (k != null) for (var A in k) A !== "default" && Object.prototype.hasOwnProperty.call(k, A) && e($, k, A);
6345
- return n($, k), $;
6343
+ var I = {};
6344
+ if (k != null) for (var T in k) T !== "default" && Object.prototype.hasOwnProperty.call(k, T) && e(I, k, T);
6345
+ return n(I, k), I;
6346
6346
  }, i = Qe && Qe.__importDefault || function(k) {
6347
6347
  return k && k.__esModule ? k : { default: k };
6348
6348
  };
@@ -6376,7 +6376,7 @@ var Ya = {};
6376
6376
  function p(k) {
6377
6377
  return k >= c.UPPER_A && k <= c.UPPER_Z || k >= c.LOWER_A && k <= c.LOWER_Z || f(k);
6378
6378
  }
6379
- function g(k) {
6379
+ function b(k) {
6380
6380
  return k === c.EQUALS || p(k);
6381
6381
  }
6382
6382
  var m;
@@ -6390,81 +6390,81 @@ var Ya = {};
6390
6390
  var v = (
6391
6391
  /** @class */
6392
6392
  function() {
6393
- function k($, A, S) {
6394
- this.decodeTree = $, this.emitCodePoint = A, this.errors = S, this.state = m.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = y.Strict;
6393
+ function k(I, T, S) {
6394
+ this.decodeTree = I, this.emitCodePoint = T, this.errors = S, this.state = m.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = y.Strict;
6395
6395
  }
6396
- return k.prototype.startEntity = function($) {
6397
- this.decodeMode = $, this.state = m.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
6398
- }, k.prototype.write = function($, A) {
6396
+ return k.prototype.startEntity = function(I) {
6397
+ this.decodeMode = I, this.state = m.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
6398
+ }, k.prototype.write = function(I, T) {
6399
6399
  switch (this.state) {
6400
6400
  case m.EntityStart:
6401
- return $.charCodeAt(A) === c.NUM ? (this.state = m.NumericStart, this.consumed += 1, this.stateNumericStart($, A + 1)) : (this.state = m.NamedEntity, this.stateNamedEntity($, A));
6401
+ return I.charCodeAt(T) === c.NUM ? (this.state = m.NumericStart, this.consumed += 1, this.stateNumericStart(I, T + 1)) : (this.state = m.NamedEntity, this.stateNamedEntity(I, T));
6402
6402
  case m.NumericStart:
6403
- return this.stateNumericStart($, A);
6403
+ return this.stateNumericStart(I, T);
6404
6404
  case m.NumericDecimal:
6405
- return this.stateNumericDecimal($, A);
6405
+ return this.stateNumericDecimal(I, T);
6406
6406
  case m.NumericHex:
6407
- return this.stateNumericHex($, A);
6407
+ return this.stateNumericHex(I, T);
6408
6408
  case m.NamedEntity:
6409
- return this.stateNamedEntity($, A);
6409
+ return this.stateNamedEntity(I, T);
6410
6410
  }
6411
- }, k.prototype.stateNumericStart = function($, A) {
6412
- return A >= $.length ? -1 : ($.charCodeAt(A) | d) === c.LOWER_X ? (this.state = m.NumericHex, this.consumed += 1, this.stateNumericHex($, A + 1)) : (this.state = m.NumericDecimal, this.stateNumericDecimal($, A));
6413
- }, k.prototype.addToNumericResult = function($, A, S, _) {
6414
- if (A !== S) {
6415
- var T = S - A;
6416
- this.result = this.result * Math.pow(_, T) + parseInt($.substr(A, T), _), this.consumed += T;
6411
+ }, k.prototype.stateNumericStart = function(I, T) {
6412
+ return T >= I.length ? -1 : (I.charCodeAt(T) | d) === c.LOWER_X ? (this.state = m.NumericHex, this.consumed += 1, this.stateNumericHex(I, T + 1)) : (this.state = m.NumericDecimal, this.stateNumericDecimal(I, T));
6413
+ }, k.prototype.addToNumericResult = function(I, T, S, _) {
6414
+ if (T !== S) {
6415
+ var A = S - T;
6416
+ this.result = this.result * Math.pow(_, A) + parseInt(I.substr(T, A), _), this.consumed += A;
6417
6417
  }
6418
- }, k.prototype.stateNumericHex = function($, A) {
6419
- for (var S = A; A < $.length; ) {
6420
- var _ = $.charCodeAt(A);
6418
+ }, k.prototype.stateNumericHex = function(I, T) {
6419
+ for (var S = T; T < I.length; ) {
6420
+ var _ = I.charCodeAt(T);
6421
6421
  if (f(_) || h(_))
6422
- A += 1;
6422
+ T += 1;
6423
6423
  else
6424
- return this.addToNumericResult($, S, A, 16), this.emitNumericEntity(_, 3);
6424
+ return this.addToNumericResult(I, S, T, 16), this.emitNumericEntity(_, 3);
6425
6425
  }
6426
- return this.addToNumericResult($, S, A, 16), -1;
6427
- }, k.prototype.stateNumericDecimal = function($, A) {
6428
- for (var S = A; A < $.length; ) {
6429
- var _ = $.charCodeAt(A);
6426
+ return this.addToNumericResult(I, S, T, 16), -1;
6427
+ }, k.prototype.stateNumericDecimal = function(I, T) {
6428
+ for (var S = T; T < I.length; ) {
6429
+ var _ = I.charCodeAt(T);
6430
6430
  if (f(_))
6431
- A += 1;
6431
+ T += 1;
6432
6432
  else
6433
- return this.addToNumericResult($, S, A, 10), this.emitNumericEntity(_, 2);
6433
+ return this.addToNumericResult(I, S, T, 10), this.emitNumericEntity(_, 2);
6434
6434
  }
6435
- return this.addToNumericResult($, S, A, 10), -1;
6436
- }, k.prototype.emitNumericEntity = function($, A) {
6435
+ return this.addToNumericResult(I, S, T, 10), -1;
6436
+ }, k.prototype.emitNumericEntity = function(I, T) {
6437
6437
  var S;
6438
- if (this.consumed <= A)
6438
+ if (this.consumed <= T)
6439
6439
  return (S = this.errors) === null || S === void 0 || S.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
6440
- if ($ === c.SEMI)
6440
+ if (I === c.SEMI)
6441
6441
  this.consumed += 1;
6442
6442
  else if (this.decodeMode === y.Strict)
6443
6443
  return 0;
6444
- return this.emitCodePoint((0, a.replaceCodePoint)(this.result), this.consumed), this.errors && ($ !== c.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
6445
- }, k.prototype.stateNamedEntity = function($, A) {
6446
- for (var S = this.decodeTree, _ = S[this.treeIndex], T = (_ & l.VALUE_LENGTH) >> 14; A < $.length; A++, this.excess++) {
6447
- var x = $.charCodeAt(A);
6448
- if (this.treeIndex = C(S, _, this.treeIndex + Math.max(1, T), x), this.treeIndex < 0)
6444
+ return this.emitCodePoint((0, a.replaceCodePoint)(this.result), this.consumed), this.errors && (I !== c.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
6445
+ }, k.prototype.stateNamedEntity = function(I, T) {
6446
+ for (var S = this.decodeTree, _ = S[this.treeIndex], A = (_ & l.VALUE_LENGTH) >> 14; T < I.length; T++, this.excess++) {
6447
+ var x = I.charCodeAt(T);
6448
+ if (this.treeIndex = C(S, _, this.treeIndex + Math.max(1, A), x), this.treeIndex < 0)
6449
6449
  return this.result === 0 || // If we are parsing an attribute
6450
6450
  this.decodeMode === y.Attribute && // We shouldn't have consumed any characters after the entity,
6451
- (T === 0 || // And there should be no invalid characters.
6452
- g(x)) ? 0 : this.emitNotTerminatedNamedEntity();
6453
- if (_ = S[this.treeIndex], T = (_ & l.VALUE_LENGTH) >> 14, T !== 0) {
6451
+ (A === 0 || // And there should be no invalid characters.
6452
+ b(x)) ? 0 : this.emitNotTerminatedNamedEntity();
6453
+ if (_ = S[this.treeIndex], A = (_ & l.VALUE_LENGTH) >> 14, A !== 0) {
6454
6454
  if (x === c.SEMI)
6455
- return this.emitNamedEntityData(this.treeIndex, T, this.consumed + this.excess);
6455
+ return this.emitNamedEntityData(this.treeIndex, A, this.consumed + this.excess);
6456
6456
  this.decodeMode !== y.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
6457
6457
  }
6458
6458
  }
6459
6459
  return -1;
6460
6460
  }, k.prototype.emitNotTerminatedNamedEntity = function() {
6461
- var $, A = this, S = A.result, _ = A.decodeTree, T = (_[S] & l.VALUE_LENGTH) >> 14;
6462
- return this.emitNamedEntityData(S, T, this.consumed), ($ = this.errors) === null || $ === void 0 || $.missingSemicolonAfterCharacterReference(), this.consumed;
6463
- }, k.prototype.emitNamedEntityData = function($, A, S) {
6461
+ var I, T = this, S = T.result, _ = T.decodeTree, A = (_[S] & l.VALUE_LENGTH) >> 14;
6462
+ return this.emitNamedEntityData(S, A, this.consumed), (I = this.errors) === null || I === void 0 || I.missingSemicolonAfterCharacterReference(), this.consumed;
6463
+ }, k.prototype.emitNamedEntityData = function(I, T, S) {
6464
6464
  var _ = this.decodeTree;
6465
- return this.emitCodePoint(A === 1 ? _[$] & ~l.VALUE_LENGTH : _[$ + 1], S), A === 3 && this.emitCodePoint(_[$ + 2], S), S;
6465
+ return this.emitCodePoint(T === 1 ? _[I] & ~l.VALUE_LENGTH : _[I + 1], S), T === 3 && this.emitCodePoint(_[I + 2], S), S;
6466
6466
  }, k.prototype.end = function() {
6467
- var $;
6467
+ var I;
6468
6468
  switch (this.state) {
6469
6469
  case m.NamedEntity:
6470
6470
  return this.result !== 0 && (this.decodeMode !== y.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
@@ -6473,7 +6473,7 @@ var Ya = {};
6473
6473
  case m.NumericHex:
6474
6474
  return this.emitNumericEntity(0, 3);
6475
6475
  case m.NumericStart:
6476
- return ($ = this.errors) === null || $ === void 0 || $.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
6476
+ return (I = this.errors) === null || I === void 0 || I.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
6477
6477
  case m.EntityStart:
6478
6478
  return 0;
6479
6479
  }
@@ -6481,37 +6481,37 @@ var Ya = {};
6481
6481
  }()
6482
6482
  );
6483
6483
  t.EntityDecoder = v;
6484
- function w(k) {
6485
- var $ = "", A = new v(k, function(S) {
6486
- return $ += (0, a.fromCodePoint)(S);
6484
+ function E(k) {
6485
+ var I = "", T = new v(k, function(S) {
6486
+ return I += (0, a.fromCodePoint)(S);
6487
6487
  });
6488
- return function(_, T) {
6488
+ return function(_, A) {
6489
6489
  for (var x = 0, M = 0; (M = _.indexOf("&", M)) >= 0; ) {
6490
- $ += _.slice(x, M), A.startEntity(T);
6491
- var F = A.write(
6490
+ I += _.slice(x, M), T.startEntity(A);
6491
+ var F = T.write(
6492
6492
  _,
6493
6493
  // Skip the "&"
6494
6494
  M + 1
6495
6495
  );
6496
6496
  if (F < 0) {
6497
- x = M + A.end();
6497
+ x = M + T.end();
6498
6498
  break;
6499
6499
  }
6500
6500
  x = M + F, M = F === 0 ? x + 1 : x;
6501
6501
  }
6502
- var z = $ + _.slice(x);
6503
- return $ = "", z;
6502
+ var z = I + _.slice(x);
6503
+ return I = "", z;
6504
6504
  };
6505
6505
  }
6506
- function C(k, $, A, S) {
6507
- var _ = ($ & l.BRANCH_LENGTH) >> 7, T = $ & l.JUMP_TABLE;
6506
+ function C(k, I, T, S) {
6507
+ var _ = (I & l.BRANCH_LENGTH) >> 7, A = I & l.JUMP_TABLE;
6508
6508
  if (_ === 0)
6509
- return T !== 0 && S === T ? A : -1;
6510
- if (T) {
6511
- var x = S - T;
6512
- return x < 0 || x >= _ ? -1 : k[A + x] - 1;
6509
+ return A !== 0 && S === A ? T : -1;
6510
+ if (A) {
6511
+ var x = S - A;
6512
+ return x < 0 || x >= _ ? -1 : k[T + x] - 1;
6513
6513
  }
6514
- for (var M = A, F = M + _ - 1; M <= F; ) {
6514
+ for (var M = T, F = M + _ - 1; M <= F; ) {
6515
6515
  var z = M + F >>> 1, G = k[z];
6516
6516
  if (G < S)
6517
6517
  M = z + 1;
@@ -6523,23 +6523,23 @@ var Ya = {};
6523
6523
  return -1;
6524
6524
  }
6525
6525
  t.determineBranch = C;
6526
- var B = w(o.default), P = w(s.default);
6527
- function I(k, $) {
6528
- return $ === void 0 && ($ = y.Legacy), B(k, $);
6526
+ var $ = E(o.default), B = E(s.default);
6527
+ function D(k, I) {
6528
+ return I === void 0 && (I = y.Legacy), $(k, I);
6529
6529
  }
6530
- t.decodeHTML = I;
6530
+ t.decodeHTML = D;
6531
6531
  function j(k) {
6532
- return B(k, y.Attribute);
6532
+ return $(k, y.Attribute);
6533
6533
  }
6534
6534
  t.decodeHTMLAttribute = j;
6535
- function E(k) {
6536
- return B(k, y.Strict);
6535
+ function w(k) {
6536
+ return $(k, y.Strict);
6537
6537
  }
6538
- t.decodeHTMLStrict = E;
6539
- function D(k) {
6540
- return P(k, y.Strict);
6538
+ t.decodeHTMLStrict = w;
6539
+ function P(k) {
6540
+ return B(k, y.Strict);
6541
6541
  }
6542
- t.decodeXML = D;
6542
+ t.decodeXML = P;
6543
6543
  })(Et);
6544
6544
  var H;
6545
6545
  (function(t) {
@@ -8327,52 +8327,52 @@ var Wx = mr, Vx = Wx, ev = { exports: {} };
8327
8327
  C === "\r";
8328
8328
  }
8329
8329
  function r(C) {
8330
- var B, P = C.exec(e.substring(m));
8331
- if (P)
8332
- return B = P[0], m += B.length, B;
8330
+ var $, B = C.exec(e.substring(m));
8331
+ if (B)
8332
+ return $ = B[0], m += $.length, $;
8333
8333
  }
8334
- for (var i = e.length, o = /^[ \t\n\r\u000c]+/, s = /^[, \t\n\r\u000c]+/, a = /^[^ \t\n\r\u000c]+/, u = /[,]+$/, c = /^\d+$/, d = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, l, f, h, p, g, m = 0, y = []; ; ) {
8334
+ for (var i = e.length, o = /^[ \t\n\r\u000c]+/, s = /^[, \t\n\r\u000c]+/, a = /^[^ \t\n\r\u000c]+/, u = /[,]+$/, c = /^\d+$/, d = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, l, f, h, p, b, m = 0, y = []; ; ) {
8335
8335
  if (r(s), m >= i)
8336
8336
  return y;
8337
- l = r(a), f = [], l.slice(-1) === "," ? (l = l.replace(u, ""), w()) : v();
8337
+ l = r(a), f = [], l.slice(-1) === "," ? (l = l.replace(u, ""), E()) : v();
8338
8338
  }
8339
8339
  function v() {
8340
8340
  for (r(o), h = "", p = "in descriptor"; ; ) {
8341
- if (g = e.charAt(m), p === "in descriptor")
8342
- if (n(g))
8341
+ if (b = e.charAt(m), p === "in descriptor")
8342
+ if (n(b))
8343
8343
  h && (f.push(h), h = "", p = "after descriptor");
8344
- else if (g === ",") {
8345
- m += 1, h && f.push(h), w();
8344
+ else if (b === ",") {
8345
+ m += 1, h && f.push(h), E();
8346
8346
  return;
8347
- } else if (g === "(")
8348
- h = h + g, p = "in parens";
8349
- else if (g === "") {
8350
- h && f.push(h), w();
8347
+ } else if (b === "(")
8348
+ h = h + b, p = "in parens";
8349
+ else if (b === "") {
8350
+ h && f.push(h), E();
8351
8351
  return;
8352
8352
  } else
8353
- h = h + g;
8353
+ h = h + b;
8354
8354
  else if (p === "in parens")
8355
- if (g === ")")
8356
- h = h + g, p = "in descriptor";
8357
- else if (g === "") {
8358
- f.push(h), w();
8355
+ if (b === ")")
8356
+ h = h + b, p = "in descriptor";
8357
+ else if (b === "") {
8358
+ f.push(h), E();
8359
8359
  return;
8360
8360
  } else
8361
- h = h + g;
8362
- else if (p === "after descriptor" && !n(g))
8363
- if (g === "") {
8364
- w();
8361
+ h = h + b;
8362
+ else if (p === "after descriptor" && !n(b))
8363
+ if (b === "") {
8364
+ E();
8365
8365
  return;
8366
8366
  } else
8367
8367
  p = "in descriptor", m -= 1;
8368
8368
  m += 1;
8369
8369
  }
8370
8370
  }
8371
- function w() {
8372
- var C = !1, B, P, I, j, E = {}, D, k, $, A, S;
8371
+ function E() {
8372
+ var C = !1, $, B, D, j, w = {}, P, k, I, T, S;
8373
8373
  for (j = 0; j < f.length; j++)
8374
- D = f[j], k = D[D.length - 1], $ = D.substring(0, D.length - 1), A = parseInt($, 10), S = parseFloat($), c.test($) && k === "w" ? ((B || P) && (C = !0), A === 0 ? C = !0 : B = A) : d.test($) && k === "x" ? ((B || P || I) && (C = !0), S < 0 ? C = !0 : P = S) : c.test($) && k === "h" ? ((I || P) && (C = !0), A === 0 ? C = !0 : I = A) : C = !0;
8375
- C ? console && console.log && console.log("Invalid srcset descriptor found in '" + e + "' at '" + D + "'.") : (E.url = l, B && (E.w = B), P && (E.d = P), I && (E.h = I), y.push(E));
8374
+ P = f[j], k = P[P.length - 1], I = P.substring(0, P.length - 1), T = parseInt(I, 10), S = parseFloat(I), c.test(I) && k === "w" ? (($ || B) && (C = !0), T === 0 ? C = !0 : $ = T) : d.test(I) && k === "x" ? (($ || B || D) && (C = !0), S < 0 ? C = !0 : B = S) : c.test(I) && k === "h" ? ((D || B) && (C = !0), T === 0 ? C = !0 : D = T) : C = !0;
8375
+ C ? console && console.log && console.log("Invalid srcset descriptor found in '" + e + "' at '" + P + "'.") : (w.url = l, $ && (w.w = $), B && (w.d = B), D && (w.h = D), y.push(w));
8376
8376
  }
8377
8377
  };
8378
8378
  });
@@ -9484,20 +9484,20 @@ var $c = su;
9484
9484
  su.default = su;
9485
9485
  const ta = 39, Cd = 34, qi = 92, Sd = 47, Gi = 10, Pr = 32, Yi = 12, Ki = 9, Wi = 13, Tw = 91, Aw = 93, $w = 40, Iw = 41, Bw = 123, Dw = 125, Mw = 59, Pw = 42, Rw = 58, Ow = 64, Vi = /[\t\n\f\r "#'()/;[\\\]{}]/g, Zi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Lw = /.[\n"'(/\\]/, Td = /[\da-f]/i;
9486
9486
  var Nw = function(e, n = {}) {
9487
- let r = e.css.valueOf(), i = n.ignoreErrors, o, s, a, u, c, d, l, f, h, p, g = r.length, m = 0, y = [], v = [];
9488
- function w() {
9487
+ let r = e.css.valueOf(), i = n.ignoreErrors, o, s, a, u, c, d, l, f, h, p, b = r.length, m = 0, y = [], v = [];
9488
+ function E() {
9489
9489
  return m;
9490
9490
  }
9491
9491
  function C(j) {
9492
9492
  throw e.error("Unclosed " + j, m);
9493
9493
  }
9494
- function B() {
9495
- return v.length === 0 && m >= g;
9494
+ function $() {
9495
+ return v.length === 0 && m >= b;
9496
9496
  }
9497
- function P(j) {
9497
+ function B(j) {
9498
9498
  if (v.length) return v.pop();
9499
- if (m >= g) return;
9500
- let E = j ? j.ignoreUnclosed : !1;
9499
+ if (m >= b) return;
9500
+ let w = j ? j.ignoreUnclosed : !1;
9501
9501
  switch (o = r.charCodeAt(m), o) {
9502
9502
  case Gi:
9503
9503
  case Pr:
@@ -9518,8 +9518,8 @@ var Nw = function(e, n = {}) {
9518
9518
  case Rw:
9519
9519
  case Mw:
9520
9520
  case Iw: {
9521
- let D = String.fromCharCode(o);
9522
- p = [D, D, m];
9521
+ let P = String.fromCharCode(o);
9522
+ p = [P, P, m];
9523
9523
  break;
9524
9524
  }
9525
9525
  case $w: {
@@ -9527,7 +9527,7 @@ var Nw = function(e, n = {}) {
9527
9527
  s = m;
9528
9528
  do {
9529
9529
  if (d = !1, s = r.indexOf(")", s + 1), s === -1)
9530
- if (i || E) {
9530
+ if (i || w) {
9531
9531
  s = m;
9532
9532
  break;
9533
9533
  } else
@@ -9545,7 +9545,7 @@ var Nw = function(e, n = {}) {
9545
9545
  a = o === ta ? "'" : '"', s = m;
9546
9546
  do {
9547
9547
  if (d = !1, s = r.indexOf(a, s + 1), s === -1)
9548
- if (i || E) {
9548
+ if (i || w) {
9549
9549
  s = m + 1;
9550
9550
  break;
9551
9551
  } else
@@ -9572,20 +9572,20 @@ var Nw = function(e, n = {}) {
9572
9572
  break;
9573
9573
  }
9574
9574
  default: {
9575
- o === Sd && r.charCodeAt(m + 1) === Pw ? (s = r.indexOf("*/", m + 2) + 1, s === 0 && (i || E ? s = r.length : C("comment")), p = ["comment", r.slice(m, s + 1), m, s], m = s) : (Zi.lastIndex = m + 1, Zi.test(r), Zi.lastIndex === 0 ? s = r.length - 1 : s = Zi.lastIndex - 2, p = ["word", r.slice(m, s + 1), m, s], y.push(p), m = s);
9575
+ o === Sd && r.charCodeAt(m + 1) === Pw ? (s = r.indexOf("*/", m + 2) + 1, s === 0 && (i || w ? s = r.length : C("comment")), p = ["comment", r.slice(m, s + 1), m, s], m = s) : (Zi.lastIndex = m + 1, Zi.test(r), Zi.lastIndex === 0 ? s = r.length - 1 : s = Zi.lastIndex - 2, p = ["word", r.slice(m, s + 1), m, s], y.push(p), m = s);
9576
9576
  break;
9577
9577
  }
9578
9578
  }
9579
9579
  return m++, p;
9580
9580
  }
9581
- function I(j) {
9581
+ function D(j) {
9582
9582
  v.push(j);
9583
9583
  }
9584
9584
  return {
9585
- back: I,
9586
- nextToken: P,
9587
- endOfFile: B,
9588
- position: w
9585
+ back: D,
9586
+ nextToken: B,
9587
+ endOfFile: $,
9588
+ position: E
9589
9589
  };
9590
9590
  };
9591
9591
  let _v = zn;
@@ -10550,9 +10550,9 @@ function fi(t, e, n) {
10550
10550
  return "";
10551
10551
  typeof t == "number" && (t = t.toString());
10552
10552
  let r = "", i = "";
10553
- function o(_, T) {
10553
+ function o(_, A) {
10554
10554
  const x = this;
10555
- this.tag = _, this.attribs = T || {}, this.tagPosition = r.length, this.text = "", this.mediaChildren = [], this.updateParentNodeText = function() {
10555
+ this.tag = _, this.attribs = A || {}, this.tagPosition = r.length, this.text = "", this.mediaChildren = [], this.updateParentNodeText = function() {
10556
10556
  if (m.length) {
10557
10557
  const M = m[m.length - 1];
10558
10558
  M.text += x.text;
@@ -10582,47 +10582,47 @@ and ensure you are accounting for this risk.
10582
10582
  "option"
10583
10583
  ];
10584
10584
  let u, c;
10585
- e.allowedAttributes && (u = {}, c = {}, jr(e.allowedAttributes, function(_, T) {
10586
- u[T] = [];
10585
+ e.allowedAttributes && (u = {}, c = {}, jr(e.allowedAttributes, function(_, A) {
10586
+ u[A] = [];
10587
10587
  const x = [];
10588
10588
  _.forEach(function(M) {
10589
- typeof M == "string" && M.indexOf("*") >= 0 ? x.push(Dd(M).replace(/\\\*/g, ".*")) : u[T].push(M);
10590
- }), x.length && (c[T] = new RegExp("^(" + x.join("|") + ")$"));
10589
+ typeof M == "string" && M.indexOf("*") >= 0 ? x.push(Dd(M).replace(/\\\*/g, ".*")) : u[A].push(M);
10590
+ }), x.length && (c[A] = new RegExp("^(" + x.join("|") + ")$"));
10591
10591
  }));
10592
10592
  const d = {}, l = {}, f = {};
10593
- jr(e.allowedClasses, function(_, T) {
10594
- if (u && (jt(u, T) || (u[T] = []), u[T].push("class")), d[T] = _, Array.isArray(_)) {
10593
+ jr(e.allowedClasses, function(_, A) {
10594
+ if (u && (jt(u, A) || (u[A] = []), u[A].push("class")), d[A] = _, Array.isArray(_)) {
10595
10595
  const x = [];
10596
- d[T] = [], f[T] = [], _.forEach(function(M) {
10597
- typeof M == "string" && M.indexOf("*") >= 0 ? x.push(Dd(M).replace(/\\\*/g, ".*")) : M instanceof RegExp ? f[T].push(M) : d[T].push(M);
10598
- }), x.length && (l[T] = new RegExp("^(" + x.join("|") + ")$"));
10596
+ d[A] = [], f[A] = [], _.forEach(function(M) {
10597
+ typeof M == "string" && M.indexOf("*") >= 0 ? x.push(Dd(M).replace(/\\\*/g, ".*")) : M instanceof RegExp ? f[A].push(M) : d[A].push(M);
10598
+ }), x.length && (l[A] = new RegExp("^(" + x.join("|") + ")$"));
10599
10599
  }
10600
10600
  });
10601
10601
  const h = {};
10602
10602
  let p;
10603
- jr(e.transformTags, function(_, T) {
10603
+ jr(e.transformTags, function(_, A) {
10604
10604
  let x;
10605
- typeof _ == "function" ? x = _ : typeof _ == "string" && (x = fi.simpleTransform(_)), T === "*" ? p = x : h[T] = x;
10605
+ typeof _ == "function" ? x = _ : typeof _ == "string" && (x = fi.simpleTransform(_)), A === "*" ? p = x : h[A] = x;
10606
10606
  });
10607
- let g, m, y, v, w, C, B = !1;
10608
- I();
10609
- const P = new LE.Parser({
10610
- onopentag: function(_, T) {
10611
- if (e.enforceHtmlBoundary && _ === "html" && I(), w) {
10607
+ let b, m, y, v, E, C, $ = !1;
10608
+ D();
10609
+ const B = new LE.Parser({
10610
+ onopentag: function(_, A) {
10611
+ if (e.enforceHtmlBoundary && _ === "html" && D(), E) {
10612
10612
  C++;
10613
10613
  return;
10614
10614
  }
10615
- const x = new o(_, T);
10615
+ const x = new o(_, A);
10616
10616
  m.push(x);
10617
10617
  let M = !1;
10618
10618
  const F = !!x.text;
10619
10619
  let z;
10620
- if (jt(h, _) && (z = h[_](_, T), x.attribs = T = z.attribs, z.text !== void 0 && (x.innerText = z.text), _ !== z.tagName && (x.name = _ = z.tagName, v[g] = z.tagName)), p && (z = p(_, T), x.attribs = T = z.attribs, _ !== z.tagName && (x.name = _ = z.tagName, v[g] = z.tagName)), (!s(_) || e.disallowedTagsMode === "recursiveEscape" && !HE(y) || e.nestingLimit != null && g >= e.nestingLimit) && (M = !0, y[g] = !0, (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && a.indexOf(_) !== -1 && (w = !0, C = 1), y[g] = !0), g++, M) {
10620
+ if (jt(h, _) && (z = h[_](_, A), x.attribs = A = z.attribs, z.text !== void 0 && (x.innerText = z.text), _ !== z.tagName && (x.name = _ = z.tagName, v[b] = z.tagName)), p && (z = p(_, A), x.attribs = A = z.attribs, _ !== z.tagName && (x.name = _ = z.tagName, v[b] = z.tagName)), (!s(_) || e.disallowedTagsMode === "recursiveEscape" && !HE(y) || e.nestingLimit != null && b >= e.nestingLimit) && (M = !0, y[b] = !0, (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && a.indexOf(_) !== -1 && (E = !0, C = 1), y[b] = !0), b++, M) {
10621
10621
  if (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard")
10622
10622
  return;
10623
10623
  i = r, r = "";
10624
10624
  }
10625
- r += "<" + _, _ === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (x.innerText = ""), (!u || jt(u, _) || u["*"]) && jr(T, function(G, Y) {
10625
+ r += "<" + _, _ === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (x.innerText = ""), (!u || jt(u, _) || u["*"]) && jr(A, function(G, Y) {
10626
10626
  if (!YE.test(Y)) {
10627
10627
  delete x.attribs[Y];
10628
10628
  return;
@@ -10648,14 +10648,14 @@ and ensure you are accounting for this risk.
10648
10648
  }
10649
10649
  }
10650
10650
  if (we) {
10651
- if (e.allowedSchemesAppliedToAttributes.indexOf(Y) !== -1 && E(_, G)) {
10651
+ if (e.allowedSchemesAppliedToAttributes.indexOf(Y) !== -1 && w(_, G)) {
10652
10652
  delete x.attribs[Y];
10653
10653
  return;
10654
10654
  }
10655
10655
  if (_ === "script" && Y === "src") {
10656
10656
  let Q = !0;
10657
10657
  try {
10658
- const W = D(G);
10658
+ const W = P(G);
10659
10659
  if (e.allowedScriptHostnames || e.allowedScriptDomains) {
10660
10660
  const Ie = (e.allowedScriptHostnames || []).find(function(Ee) {
10661
10661
  return Ee === W.url.hostname;
@@ -10675,7 +10675,7 @@ and ensure you are accounting for this risk.
10675
10675
  if (_ === "iframe" && Y === "src") {
10676
10676
  let Q = !0;
10677
10677
  try {
10678
- const W = D(G);
10678
+ const W = P(G);
10679
10679
  if (W.isRelativeUrl)
10680
10680
  Q = jt(e, "allowIframeRelativeUrls") ? e.allowIframeRelativeUrls : !e.allowedIframeHostnames && !e.allowedIframeDomains;
10681
10681
  else if (e.allowedIframeHostnames || e.allowedIframeDomains) {
@@ -10698,7 +10698,7 @@ and ensure you are accounting for this risk.
10698
10698
  try {
10699
10699
  let Q = FE(G);
10700
10700
  if (Q.forEach(function(W) {
10701
- E("srcset", W.url) && (W.evil = !0);
10701
+ w("srcset", W.url) && (W.evil = !0);
10702
10702
  }), Q = Pd(Q, function(W) {
10703
10703
  return !W.evil;
10704
10704
  }), Q.length)
@@ -10729,7 +10729,7 @@ and ensure you are accounting for this risk.
10729
10729
  if (e.parseStyleAttributes)
10730
10730
  try {
10731
10731
  const Q = jE(_ + " {" + G + "}", { map: !1 }), W = k(Q, e.allowedStyles);
10732
- if (G = $(W), G.length === 0) {
10732
+ if (G = I(W), G.length === 0) {
10733
10733
  delete x.attribs[Y];
10734
10734
  return;
10735
10735
  }
@@ -10743,30 +10743,30 @@ and ensure you are accounting for this risk.
10743
10743
  r += " " + Y, G && G.length ? r += '="' + j(G, !0) + '"' : e.allowedEmptyAttributes.includes(Y) && (r += '=""');
10744
10744
  } else
10745
10745
  delete x.attribs[Y];
10746
- }), e.selfClosing.indexOf(_) !== -1 ? r += " />" : (r += ">", x.innerText && !F && !e.textFilter && (r += j(x.innerText), B = !0)), M && (r = i + j(r), i = "");
10746
+ }), e.selfClosing.indexOf(_) !== -1 ? r += " />" : (r += ">", x.innerText && !F && !e.textFilter && (r += j(x.innerText), $ = !0)), M && (r = i + j(r), i = "");
10747
10747
  },
10748
10748
  ontext: function(_) {
10749
- if (w)
10749
+ if (E)
10750
10750
  return;
10751
- const T = m[m.length - 1];
10751
+ const A = m[m.length - 1];
10752
10752
  let x;
10753
- if (T && (x = T.tag, _ = T.innerText !== void 0 ? T.innerText : _), e.disallowedTagsMode === "completelyDiscard" && !s(x))
10753
+ if (A && (x = A.tag, _ = A.innerText !== void 0 ? A.innerText : _), e.disallowedTagsMode === "completelyDiscard" && !s(x))
10754
10754
  _ = "";
10755
10755
  else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (x === "script" || x === "style"))
10756
10756
  r += _;
10757
10757
  else {
10758
10758
  const M = j(_, !1);
10759
- e.textFilter && !B ? r += e.textFilter(M, x) : B || (r += M);
10759
+ e.textFilter && !$ ? r += e.textFilter(M, x) : $ || (r += M);
10760
10760
  }
10761
10761
  if (m.length) {
10762
10762
  const M = m[m.length - 1];
10763
10763
  M.text += _;
10764
10764
  }
10765
10765
  },
10766
- onclosetag: function(_, T) {
10767
- if (w)
10766
+ onclosetag: function(_, A) {
10767
+ if (E)
10768
10768
  if (C--, !C)
10769
- w = !1;
10769
+ E = !1;
10770
10770
  else
10771
10771
  return;
10772
10772
  const x = m.pop();
@@ -10776,90 +10776,90 @@ and ensure you are accounting for this risk.
10776
10776
  m.push(x);
10777
10777
  return;
10778
10778
  }
10779
- w = e.enforceHtmlBoundary ? _ === "html" : !1, g--;
10780
- const M = y[g];
10779
+ E = e.enforceHtmlBoundary ? _ === "html" : !1, b--;
10780
+ const M = y[b];
10781
10781
  if (M) {
10782
- if (delete y[g], e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
10782
+ if (delete y[b], e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
10783
10783
  x.updateParentNodeText();
10784
10784
  return;
10785
10785
  }
10786
10786
  i = r, r = "";
10787
10787
  }
10788
- if (v[g] && (_ = v[g], delete v[g]), e.exclusiveFilter && e.exclusiveFilter(x)) {
10788
+ if (v[b] && (_ = v[b], delete v[b]), e.exclusiveFilter && e.exclusiveFilter(x)) {
10789
10789
  r = r.substr(0, x.tagPosition);
10790
10790
  return;
10791
10791
  }
10792
10792
  if (x.updateParentNodeMediaChildren(), x.updateParentNodeText(), // Already output />
10793
10793
  e.selfClosing.indexOf(_) !== -1 || // Escaped tag, closing tag is implied
10794
- T && !s(_) && ["escape", "recursiveEscape"].indexOf(e.disallowedTagsMode) >= 0) {
10794
+ A && !s(_) && ["escape", "recursiveEscape"].indexOf(e.disallowedTagsMode) >= 0) {
10795
10795
  M && (r = i, i = "");
10796
10796
  return;
10797
10797
  }
10798
- r += "</" + _ + ">", M && (r = i + j(r), i = ""), B = !1;
10798
+ r += "</" + _ + ">", M && (r = i + j(r), i = ""), $ = !1;
10799
10799
  }
10800
10800
  }, e.parser);
10801
- return P.write(t), P.end(), r;
10802
- function I() {
10803
- r = "", g = 0, m = [], y = {}, v = {}, w = !1, C = 0;
10801
+ return B.write(t), B.end(), r;
10802
+ function D() {
10803
+ r = "", b = 0, m = [], y = {}, v = {}, E = !1, C = 0;
10804
10804
  }
10805
- function j(_, T) {
10806
- return typeof _ != "string" && (_ = _ + ""), e.parser.decodeEntities && (_ = _.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), T && (_ = _.replace(/"/g, "&quot;"))), _ = _.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), T && (_ = _.replace(/"/g, "&quot;")), _;
10805
+ function j(_, A) {
10806
+ return typeof _ != "string" && (_ = _ + ""), e.parser.decodeEntities && (_ = _.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), A && (_ = _.replace(/"/g, "&quot;"))), _ = _.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), A && (_ = _.replace(/"/g, "&quot;")), _;
10807
10807
  }
10808
- function E(_, T) {
10809
- for (T = T.replace(/[\x00-\x20]+/g, ""); ; ) {
10810
- const F = T.indexOf("<!--");
10808
+ function w(_, A) {
10809
+ for (A = A.replace(/[\x00-\x20]+/g, ""); ; ) {
10810
+ const F = A.indexOf("<!--");
10811
10811
  if (F === -1)
10812
10812
  break;
10813
- const z = T.indexOf("-->", F + 4);
10813
+ const z = A.indexOf("-->", F + 4);
10814
10814
  if (z === -1)
10815
10815
  break;
10816
- T = T.substring(0, F) + T.substring(z + 3);
10816
+ A = A.substring(0, F) + A.substring(z + 3);
10817
10817
  }
10818
- const x = T.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);
10818
+ const x = A.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);
10819
10819
  if (!x)
10820
- return T.match(/^[/\\]{2}/) ? !e.allowProtocolRelative : !1;
10820
+ return A.match(/^[/\\]{2}/) ? !e.allowProtocolRelative : !1;
10821
10821
  const M = x[1].toLowerCase();
10822
10822
  return jt(e.allowedSchemesByTag, _) ? e.allowedSchemesByTag[_].indexOf(M) === -1 : !e.allowedSchemes || e.allowedSchemes.indexOf(M) === -1;
10823
10823
  }
10824
- function D(_) {
10824
+ function P(_) {
10825
10825
  if (_ = _.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/, "$1//"), _.startsWith("relative:"))
10826
10826
  throw new Error("relative: exploit attempt");
10827
- let T = "relative://relative-site";
10827
+ let A = "relative://relative-site";
10828
10828
  for (let F = 0; F < 100; F++)
10829
- T += `/${F}`;
10830
- const x = new URL(_, T);
10829
+ A += `/${F}`;
10830
+ const x = new URL(_, A);
10831
10831
  return {
10832
10832
  isRelativeUrl: x && x.hostname === "relative-site" && x.protocol === "relative:",
10833
10833
  url: x
10834
10834
  };
10835
10835
  }
10836
- function k(_, T) {
10837
- if (!T)
10836
+ function k(_, A) {
10837
+ if (!A)
10838
10838
  return _;
10839
10839
  const x = _.nodes[0];
10840
10840
  let M;
10841
- return T[x.selector] && T["*"] ? M = Md(
10842
- T[x.selector],
10843
- T["*"]
10844
- ) : M = T[x.selector] || T["*"], M && (_.nodes[0].nodes = x.nodes.reduce(A(M), [])), _;
10845
- }
10846
- function $(_) {
10847
- return _.nodes[0].nodes.reduce(function(T, x) {
10848
- return T.push(
10841
+ return A[x.selector] && A["*"] ? M = Md(
10842
+ A[x.selector],
10843
+ A["*"]
10844
+ ) : M = A[x.selector] || A["*"], M && (_.nodes[0].nodes = x.nodes.reduce(T(M), [])), _;
10845
+ }
10846
+ function I(_) {
10847
+ return _.nodes[0].nodes.reduce(function(A, x) {
10848
+ return A.push(
10849
10849
  `${x.prop}:${x.value}${x.important ? " !important" : ""}`
10850
- ), T;
10850
+ ), A;
10851
10851
  }, []).join(";");
10852
10852
  }
10853
- function A(_) {
10854
- return function(T, x) {
10853
+ function T(_) {
10854
+ return function(A, x) {
10855
10855
  return jt(_, x.prop) && _[x.prop].some(function(F) {
10856
10856
  return F.test(x.value);
10857
- }) && T.push(x), T;
10857
+ }) && A.push(x), A;
10858
10858
  };
10859
10859
  }
10860
- function S(_, T, x) {
10861
- return T ? (_ = _.split(/\s+/), _.filter(function(M) {
10862
- return T.indexOf(M) !== -1 || x.some(function(F) {
10860
+ function S(_, A, x) {
10861
+ return A ? (_ = _.split(/\s+/), _.filter(function(M) {
10862
+ return A.indexOf(M) !== -1 || x.some(function(F) {
10863
10863
  return F.test(M);
10864
10864
  });
10865
10865
  }).join(" ")) : _;
@@ -11185,52 +11185,52 @@ var Pv = { exports: {} };
11185
11185
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
11186
11186
  return function(o, s, a) {
11187
11187
  var u = s.prototype;
11188
- a.utc = function(g) {
11189
- var m = { date: g, utc: !0, args: arguments };
11188
+ a.utc = function(b) {
11189
+ var m = { date: b, utc: !0, args: arguments };
11190
11190
  return new s(m);
11191
- }, u.utc = function(g) {
11191
+ }, u.utc = function(b) {
11192
11192
  var m = a(this.toDate(), { locale: this.$L, utc: !0 });
11193
- return g ? m.add(this.utcOffset(), n) : m;
11193
+ return b ? m.add(this.utcOffset(), n) : m;
11194
11194
  }, u.local = function() {
11195
11195
  return a(this.toDate(), { locale: this.$L, utc: !1 });
11196
11196
  };
11197
11197
  var c = u.parse;
11198
- u.parse = function(g) {
11199
- g.utc && (this.$u = !0), this.$utils().u(g.$offset) || (this.$offset = g.$offset), c.call(this, g);
11198
+ u.parse = function(b) {
11199
+ b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), c.call(this, b);
11200
11200
  };
11201
11201
  var d = u.init;
11202
11202
  u.init = function() {
11203
11203
  if (this.$u) {
11204
- var g = this.$d;
11205
- this.$y = g.getUTCFullYear(), this.$M = g.getUTCMonth(), this.$D = g.getUTCDate(), this.$W = g.getUTCDay(), this.$H = g.getUTCHours(), this.$m = g.getUTCMinutes(), this.$s = g.getUTCSeconds(), this.$ms = g.getUTCMilliseconds();
11204
+ var b = this.$d;
11205
+ this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
11206
11206
  } else d.call(this);
11207
11207
  };
11208
11208
  var l = u.utcOffset;
11209
- u.utcOffset = function(g, m) {
11209
+ u.utcOffset = function(b, m) {
11210
11210
  var y = this.$utils().u;
11211
- if (y(g)) return this.$u ? 0 : y(this.$offset) ? l.call(this) : this.$offset;
11212
- if (typeof g == "string" && (g = function(B) {
11213
- B === void 0 && (B = "");
11214
- var P = B.match(r);
11215
- if (!P) return null;
11216
- var I = ("" + P[0]).match(i) || ["-", 0, 0], j = I[0], E = 60 * +I[1] + +I[2];
11217
- return E === 0 ? 0 : j === "+" ? E : -E;
11218
- }(g), g === null)) return this;
11219
- var v = Math.abs(g) <= 16 ? 60 * g : g, w = this;
11220
- if (m) return w.$offset = v, w.$u = g === 0, w;
11221
- if (g !== 0) {
11211
+ if (y(b)) return this.$u ? 0 : y(this.$offset) ? l.call(this) : this.$offset;
11212
+ if (typeof b == "string" && (b = function($) {
11213
+ $ === void 0 && ($ = "");
11214
+ var B = $.match(r);
11215
+ if (!B) return null;
11216
+ var D = ("" + B[0]).match(i) || ["-", 0, 0], j = D[0], w = 60 * +D[1] + +D[2];
11217
+ return w === 0 ? 0 : j === "+" ? w : -w;
11218
+ }(b), b === null)) return this;
11219
+ var v = Math.abs(b) <= 16 ? 60 * b : b, E = this;
11220
+ if (m) return E.$offset = v, E.$u = b === 0, E;
11221
+ if (b !== 0) {
11222
11222
  var C = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
11223
- (w = this.local().add(v + C, n)).$offset = v, w.$x.$localOffset = C;
11224
- } else w = this.utc();
11225
- return w;
11223
+ (E = this.local().add(v + C, n)).$offset = v, E.$x.$localOffset = C;
11224
+ } else E = this.utc();
11225
+ return E;
11226
11226
  };
11227
11227
  var f = u.format;
11228
- u.format = function(g) {
11229
- var m = g || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
11228
+ u.format = function(b) {
11229
+ var m = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
11230
11230
  return f.call(this, m);
11231
11231
  }, u.valueOf = function() {
11232
- var g = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
11233
- return this.$d.valueOf() - 6e4 * g;
11232
+ var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
11233
+ return this.$d.valueOf() - 6e4 * b;
11234
11234
  }, u.isUTC = function() {
11235
11235
  return !!this.$u;
11236
11236
  }, u.toISOString = function() {
@@ -11239,14 +11239,14 @@ var Pv = { exports: {} };
11239
11239
  return this.toDate().toUTCString();
11240
11240
  };
11241
11241
  var h = u.toDate;
11242
- u.toDate = function(g) {
11243
- return g === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : h.call(this);
11242
+ u.toDate = function(b) {
11243
+ return b === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : h.call(this);
11244
11244
  };
11245
11245
  var p = u.diff;
11246
- u.diff = function(g, m, y) {
11247
- if (g && this.$u === g.$u) return p.call(this, g, m, y);
11248
- var v = this.local(), w = a(g).local();
11249
- return p.call(v, w, m, y);
11246
+ u.diff = function(b, m, y) {
11247
+ if (b && this.$u === b.$u) return p.call(this, b, m, y);
11248
+ var v = this.local(), E = a(b).local();
11249
+ return p.call(v, E, m, y);
11250
11250
  };
11251
11251
  };
11252
11252
  });
@@ -11261,31 +11261,31 @@ var Rv = { exports: {} };
11261
11261
  return function(i, o, s) {
11262
11262
  var a, u = function(f, h, p) {
11263
11263
  p === void 0 && (p = {});
11264
- var g = new Date(f), m = function(y, v) {
11264
+ var b = new Date(f), m = function(y, v) {
11265
11265
  v === void 0 && (v = {});
11266
- var w = v.timeZoneName || "short", C = y + "|" + w, B = r[C];
11267
- return B || (B = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: y, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: w }), r[C] = B), B;
11266
+ var E = v.timeZoneName || "short", C = y + "|" + E, $ = r[C];
11267
+ return $ || ($ = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: y, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: E }), r[C] = $), $;
11268
11268
  }(h, p);
11269
- return m.formatToParts(g);
11269
+ return m.formatToParts(b);
11270
11270
  }, c = function(f, h) {
11271
- for (var p = u(f, h), g = [], m = 0; m < p.length; m += 1) {
11272
- var y = p[m], v = y.type, w = y.value, C = n[v];
11273
- C >= 0 && (g[C] = parseInt(w, 10));
11271
+ for (var p = u(f, h), b = [], m = 0; m < p.length; m += 1) {
11272
+ var y = p[m], v = y.type, E = y.value, C = n[v];
11273
+ C >= 0 && (b[C] = parseInt(E, 10));
11274
11274
  }
11275
- var B = g[3], P = B === 24 ? 0 : B, I = g[0] + "-" + g[1] + "-" + g[2] + " " + P + ":" + g[4] + ":" + g[5] + ":000", j = +f;
11276
- return (s.utc(I).valueOf() - (j -= j % 1e3)) / 6e4;
11275
+ var $ = b[3], B = $ === 24 ? 0 : $, D = b[0] + "-" + b[1] + "-" + b[2] + " " + B + ":" + b[4] + ":" + b[5] + ":000", j = +f;
11276
+ return (s.utc(D).valueOf() - (j -= j % 1e3)) / 6e4;
11277
11277
  }, d = o.prototype;
11278
11278
  d.tz = function(f, h) {
11279
11279
  f === void 0 && (f = a);
11280
- var p = this.utcOffset(), g = this.toDate(), m = g.toLocaleString("en-US", { timeZone: f }), y = Math.round((g - new Date(m)) / 1e3 / 60), v = s(m).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(g.getTimezoneOffset() / 15) - y, !0);
11280
+ var p = this.utcOffset(), b = this.toDate(), m = b.toLocaleString("en-US", { timeZone: f }), y = Math.round((b - new Date(m)) / 1e3 / 60), v = s(m).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(b.getTimezoneOffset() / 15) - y, !0);
11281
11281
  if (h) {
11282
- var w = v.utcOffset();
11283
- v = v.add(p - w, "minute");
11282
+ var E = v.utcOffset();
11283
+ v = v.add(p - E, "minute");
11284
11284
  }
11285
11285
  return v.$x.$timezone = f, v;
11286
11286
  }, d.offsetName = function(f) {
11287
- var h = this.$x.$timezone || s.tz.guess(), p = u(this.valueOf(), h, { timeZoneName: f }).find(function(g) {
11288
- return g.type.toLowerCase() === "timezonename";
11287
+ var h = this.$x.$timezone || s.tz.guess(), p = u(this.valueOf(), h, { timeZoneName: f }).find(function(b) {
11288
+ return b.type.toLowerCase() === "timezonename";
11289
11289
  });
11290
11290
  return p && p.value;
11291
11291
  };
@@ -11295,15 +11295,15 @@ var Rv = { exports: {} };
11295
11295
  var p = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
11296
11296
  return l.call(p, f, h).tz(this.$x.$timezone, !0);
11297
11297
  }, s.tz = function(f, h, p) {
11298
- var g = p && h, m = p || h || a, y = c(+s(), m);
11298
+ var b = p && h, m = p || h || a, y = c(+s(), m);
11299
11299
  if (typeof f != "string") return s(f).tz(m);
11300
- var v = function(P, I, j) {
11301
- var E = P - 60 * I * 1e3, D = c(E, j);
11302
- if (I === D) return [E, I];
11303
- var k = c(E -= 60 * (D - I) * 1e3, j);
11304
- return D === k ? [E, D] : [P - 60 * Math.min(D, k) * 1e3, Math.max(D, k)];
11305
- }(s.utc(f, g).valueOf(), y, m), w = v[0], C = v[1], B = s(w).utcOffset(C);
11306
- return B.$x.$timezone = m, B;
11300
+ var v = function(B, D, j) {
11301
+ var w = B - 60 * D * 1e3, P = c(w, j);
11302
+ if (D === P) return [w, D];
11303
+ var k = c(w -= 60 * (P - D) * 1e3, j);
11304
+ return P === k ? [w, P] : [B - 60 * Math.min(P, k) * 1e3, Math.max(P, k)];
11305
+ }(s.utc(f, b).valueOf(), y, m), E = v[0], C = v[1], $ = s(E).utcOffset(C);
11306
+ return $.$x.$timezone = m, $;
11307
11307
  }, s.tz.guess = function() {
11308
11308
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
11309
11309
  }, s.tz.setDefault = function(f) {
@@ -11442,18 +11442,18 @@ class r7 {
11442
11442
  var y;
11443
11443
  const h = this.nylasConnector, p = async (v) => {
11444
11444
  N(`[${this.hostTagName}] Handling "${e.name}" prop "${String(f)}" event.`, { event: v }), f in d && (N(`[${this.hostTagName}] Found event override for "${String(f)}" event. Calling override.`), await d[f](v, h)), v.defaultPrevented || await l(v, h);
11445
- }, g = e.element.dataset.nylasId;
11446
- g && !this.eventListenerRegistrations.has(g) && this.eventListenerRegistrations.set(g, []), g && ((y = this.eventListenerRegistrations.get(g)) == null || y.push([c, f, p])), N(`[${this.hostTagName}] Setting "${e.name}" event "${String(f)}" to automcially call NylasConnector method.`);
11445
+ }, b = e.element.dataset.nylasId;
11446
+ b && !this.eventListenerRegistrations.has(b) && this.eventListenerRegistrations.set(b, []), b && ((y = this.eventListenerRegistrations.get(b)) == null || y.push([c, f, p])), N(`[${this.hostTagName}] Setting "${e.name}" event "${String(f)}" to automcially call NylasConnector method.`);
11447
11447
  const m = Rd(f.toString());
11448
11448
  N(`[${this.hostTagName}] Adding event listener for "${m}" on "${c.tagName}"`), c.addEventListener(m, p);
11449
11449
  }), r == null || r.forEach((l, f) => {
11450
- var y, v, w, C;
11450
+ var y, v, E, C;
11451
11451
  const [h, p] = f.split("."), m = this.getStore(h).state[p];
11452
11452
  if (!c.dataset.nylasId) {
11453
11453
  N(`[${this.hostTagName}] Component "${e.name}" not registered. Skipping.`, { component: e });
11454
11454
  return;
11455
11455
  }
11456
- this.propStateRegistrations.has(h) || this.propStateRegistrations.set(h, /* @__PURE__ */ new Map()), (y = this.propStateRegistrations.get(h)) != null && y.has(p) ? (C = (w = this.propStateRegistrations.get(h)) == null ? void 0 : w.get(p)) == null || C.push({
11456
+ this.propStateRegistrations.has(h) || this.propStateRegistrations.set(h, /* @__PURE__ */ new Map()), (y = this.propStateRegistrations.get(h)) != null && y.has(p) ? (C = (E = this.propStateRegistrations.get(h)) == null ? void 0 : E.get(p)) == null || C.push({
11457
11457
  elementId: c.dataset.nylasId,
11458
11458
  propKey: l
11459
11459
  }) : (v = this.propStateRegistrations.get(h)) == null || v.set(p, [
@@ -12237,8 +12237,8 @@ class A7 {
12237
12237
  const [a, u] = n.reduce(([c, d], l) => {
12238
12238
  const f = i[l], h = e[l];
12239
12239
  return [c || f, c || !f ? Pn(d, f && f.multi ? (p) => {
12240
- const g = Vt(p, l);
12241
- return Ue(g) && g.some((m) => s(h, m));
12240
+ const b = Vt(p, l);
12241
+ return Ue(b) && b.some((m) => s(h, m));
12242
12242
  } : (p) => s(h, Vt(p, l))) : d];
12243
12243
  }, [null, null]);
12244
12244
  return a ? this.where(a.name).equals(e[a.keyPath]).filter(u) : r ? this.filter(u) : this.where(n).equals("");
@@ -12418,11 +12418,11 @@ function Xr(t) {
12418
12418
  if (f !== "asap")
12419
12419
  throw new Z.InvalidArgument("Invalid event config");
12420
12420
  var h = o(l, pi, function() {
12421
- for (var p = arguments.length, g = new Array(p); p--; )
12422
- g[p] = arguments[p];
12421
+ for (var p = arguments.length, b = new Array(p); p--; )
12422
+ b[p] = arguments[p];
12423
12423
  h.subscribers.forEach(function(m) {
12424
12424
  Nv(function() {
12425
- m.apply(null, g);
12425
+ m.apply(null, b);
12426
12426
  });
12427
12427
  });
12428
12428
  });
@@ -12710,43 +12710,43 @@ class $7 {
12710
12710
  i = e;
12711
12711
  else {
12712
12712
  var o = Ae(e), s = o.length;
12713
- i = function(g) {
12713
+ i = function(b) {
12714
12714
  for (var m = !1, y = 0; y < s; ++y) {
12715
- var v = o[y], w = e[v];
12716
- Vt(g, v) !== w && (gt(g, v, w), m = !0);
12715
+ var v = o[y], E = e[v];
12716
+ Vt(b, v) !== E && (gt(b, v, E), m = !0);
12717
12717
  }
12718
12718
  return m;
12719
12719
  };
12720
12720
  }
12721
12721
  const a = n.table.core, { outbound: u, extractKey: c } = a.schema.primaryKey, d = this.db._options.modifyChunkSize || 200, l = [];
12722
12722
  let f = 0;
12723
- const h = [], p = (g, m) => {
12723
+ const h = [], p = (b, m) => {
12724
12724
  const { failures: y, numFailures: v } = m;
12725
- f += g - v;
12726
- for (let w of Ae(y))
12727
- l.push(y[w]);
12725
+ f += b - v;
12726
+ for (let E of Ae(y))
12727
+ l.push(y[E]);
12728
12728
  };
12729
- return this.clone().primaryKeys().then((g) => {
12729
+ return this.clone().primaryKeys().then((b) => {
12730
12730
  const m = (y) => {
12731
- const v = Math.min(d, g.length - y);
12732
- return a.getMany({ trans: r, keys: g.slice(y, y + v), cache: "immutable" }).then((w) => {
12733
- const C = [], B = [], P = u ? [] : null, I = [];
12734
- for (let E = 0; E < v; ++E) {
12735
- const D = w[E], k = { value: Si(D), primKey: g[y + E] };
12736
- i.call(k, k.value, k) !== !1 && (k.value == null ? I.push(g[y + E]) : u || qe(c(D), c(k.value)) === 0 ? (B.push(k.value), u && P.push(g[y + E])) : (I.push(g[y + E]), C.push(k.value)));
12731
+ const v = Math.min(d, b.length - y);
12732
+ return a.getMany({ trans: r, keys: b.slice(y, y + v), cache: "immutable" }).then((E) => {
12733
+ const C = [], $ = [], B = u ? [] : null, D = [];
12734
+ for (let w = 0; w < v; ++w) {
12735
+ const P = E[w], k = { value: Si(P), primKey: b[y + w] };
12736
+ i.call(k, k.value, k) !== !1 && (k.value == null ? D.push(b[y + w]) : u || qe(c(P), c(k.value)) === 0 ? ($.push(k.value), u && B.push(b[y + w])) : (D.push(b[y + w]), C.push(k.value)));
12737
12737
  }
12738
12738
  const j = Xn(n) && n.limit === 1 / 0 && (typeof e != "function" || e === ua) && { index: n.index, range: n.range };
12739
- return Promise.resolve(C.length > 0 && a.mutate({ trans: r, type: "add", values: C }).then((E) => {
12740
- for (let D in E.failures)
12741
- I.splice(parseInt(D), 1);
12742
- p(C.length, E);
12743
- })).then(() => (B.length > 0 || j && typeof e == "object") && a.mutate({ trans: r, type: "put", keys: P, values: B, criteria: j, changeSpec: typeof e != "function" && e }).then((E) => p(B.length, E))).then(() => (I.length > 0 || j && e === ua) && a.mutate({ trans: r, type: "delete", keys: I, criteria: j }).then((E) => p(I.length, E))).then(() => g.length > y + v && m(y + d));
12739
+ return Promise.resolve(C.length > 0 && a.mutate({ trans: r, type: "add", values: C }).then((w) => {
12740
+ for (let P in w.failures)
12741
+ D.splice(parseInt(P), 1);
12742
+ p(C.length, w);
12743
+ })).then(() => ($.length > 0 || j && typeof e == "object") && a.mutate({ trans: r, type: "put", keys: B, values: $, criteria: j, changeSpec: typeof e != "function" && e }).then((w) => p($.length, w))).then(() => (D.length > 0 || j && e === ua) && a.mutate({ trans: r, type: "delete", keys: D, criteria: j }).then((w) => p(D.length, w))).then(() => b.length > y + v && m(y + d));
12744
12744
  });
12745
12745
  };
12746
12746
  return m(0).then(() => {
12747
12747
  if (l.length > 0)
12748
12748
  throw new os("Error modifying one or more objects", l, f, h);
12749
- return g.length;
12749
+ return b.length;
12750
12750
  });
12751
12751
  });
12752
12752
  });
@@ -12788,14 +12788,14 @@ function D7(t, e, n, r, i, o) {
12788
12788
  }
12789
12789
  function ro(t, e, n, r) {
12790
12790
  var i, o, s, a, u, c, d, l = n.length;
12791
- if (!n.every((g) => typeof g == "string"))
12791
+ if (!n.every((b) => typeof b == "string"))
12792
12792
  return Je(t, n5);
12793
- function f(g) {
12793
+ function f(b) {
12794
12794
  i = /* @__PURE__ */ function(y) {
12795
12795
  return y === "next" ? (v) => v.toUpperCase() : (v) => v.toLowerCase();
12796
- }(g), o = /* @__PURE__ */ function(y) {
12796
+ }(b), o = /* @__PURE__ */ function(y) {
12797
12797
  return y === "next" ? (v) => v.toLowerCase() : (v) => v.toUpperCase();
12798
- }(g), s = g === "next" ? I7 : B7;
12798
+ }(b), s = b === "next" ? I7 : B7;
12799
12799
  var m = n.map(function(y) {
12800
12800
  return { lower: o(y), upper: i(y) };
12801
12801
  }).sort(function(y, v) {
@@ -12805,27 +12805,27 @@ function ro(t, e, n, r) {
12805
12805
  return y.upper;
12806
12806
  }), u = m.map(function(y) {
12807
12807
  return y.lower;
12808
- }), c = g, d = g === "next" ? "" : r;
12808
+ }), c = b, d = b === "next" ? "" : r;
12809
12809
  }
12810
12810
  f("next");
12811
12811
  var h = new t.Collection(t, () => rn(a[0], u[l - 1] + r));
12812
- h._ondirectionchange = function(g) {
12813
- f(g);
12812
+ h._ondirectionchange = function(b) {
12813
+ f(b);
12814
12814
  };
12815
12815
  var p = 0;
12816
- return h._addAlgorithm(function(g, m, y) {
12817
- var v = g.key;
12816
+ return h._addAlgorithm(function(b, m, y) {
12817
+ var v = b.key;
12818
12818
  if (typeof v != "string")
12819
12819
  return !1;
12820
- var w = o(v);
12821
- if (e(w, u, p))
12820
+ var E = o(v);
12821
+ if (e(E, u, p))
12822
12822
  return !0;
12823
- for (var C = null, B = p; B < l; ++B) {
12824
- var P = D7(v, w, a[B], u[B], s, c);
12825
- P === null && C === null ? p = B + 1 : (C === null || s(C, P) > 0) && (C = P);
12823
+ for (var C = null, $ = p; $ < l; ++$) {
12824
+ var B = D7(v, E, a[$], u[$], s, c);
12825
+ B === null && C === null ? p = $ + 1 : (C === null || s(C, B) > 0) && (C = B);
12826
12826
  }
12827
12827
  return m(C !== null ? function() {
12828
- g.continue(C + d);
12828
+ b.continue(C + d);
12829
12829
  } : y), !1;
12830
12830
  }), h;
12831
12831
  }
@@ -12927,37 +12927,37 @@ class s5 {
12927
12927
  return Je(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", Z.InvalidArgument);
12928
12928
  const u = !n || n.includeLowers !== !1, c = n && n.includeUppers === !0;
12929
12929
  let d, l = i;
12930
- function f(v, w) {
12931
- return l(v[0], w[0]);
12930
+ function f(v, E) {
12931
+ return l(v[0], E[0]);
12932
12932
  }
12933
12933
  try {
12934
- d = e.reduce(function(v, w) {
12935
- let C = 0, B = v.length;
12936
- for (; C < B; ++C) {
12937
- const P = v[C];
12938
- if (r(w[0], P[1]) < 0 && r(w[1], P[0]) > 0) {
12939
- P[0] = s(P[0], w[0]), P[1] = a(P[1], w[1]);
12934
+ d = e.reduce(function(v, E) {
12935
+ let C = 0, $ = v.length;
12936
+ for (; C < $; ++C) {
12937
+ const B = v[C];
12938
+ if (r(E[0], B[1]) < 0 && r(E[1], B[0]) > 0) {
12939
+ B[0] = s(B[0], E[0]), B[1] = a(B[1], E[1]);
12940
12940
  break;
12941
12941
  }
12942
12942
  }
12943
- return C === B && v.push(w), v;
12943
+ return C === $ && v.push(E), v;
12944
12944
  }, []), d.sort(f);
12945
12945
  } catch {
12946
12946
  return Je(this, Lt);
12947
12947
  }
12948
12948
  let h = 0;
12949
- const p = c ? (v) => i(v, d[h][1]) > 0 : (v) => i(v, d[h][1]) >= 0, g = u ? (v) => o(v, d[h][0]) > 0 : (v) => o(v, d[h][0]) >= 0;
12949
+ const p = c ? (v) => i(v, d[h][1]) > 0 : (v) => i(v, d[h][1]) >= 0, b = u ? (v) => o(v, d[h][0]) > 0 : (v) => o(v, d[h][0]) >= 0;
12950
12950
  let m = p;
12951
12951
  const y = new this.Collection(this, () => rn(d[0][0], d[d.length - 1][1], !u, !c));
12952
12952
  return y._ondirectionchange = (v) => {
12953
- v === "next" ? (m = p, l = i) : (m = g, l = o), d.sort(f);
12954
- }, y._addAlgorithm((v, w, C) => {
12955
- for (var B = v.key; m(B); )
12953
+ v === "next" ? (m = p, l = i) : (m = b, l = o), d.sort(f);
12954
+ }, y._addAlgorithm((v, E, C) => {
12955
+ for (var $ = v.key; m($); )
12956
12956
  if (++h, h === d.length)
12957
- return w(C), !1;
12958
- return !!function(P) {
12959
- return !p(P) && !g(P);
12960
- }(B) || (this._cmp(B, d[h][1]) === 0 || this._cmp(B, d[h][0]) === 0 || w(() => {
12957
+ return E(C), !1;
12958
+ return !!function(B) {
12959
+ return !p(B) && !b(B);
12960
+ }($) || (this._cmp($, d[h][1]) === 0 || this._cmp($, d[h][0]) === 0 || E(() => {
12961
12961
  l === i ? v.continue(d[h][0]) : v.continue(d[h][1]);
12962
12962
  }), !1);
12963
12963
  }), y;
@@ -13122,133 +13122,133 @@ function R7(t, e, n) {
13122
13122
  const { schema: i, hasGetAll: o } = function(u, c) {
13123
13123
  const d = Yd(u.objectStoreNames);
13124
13124
  return { schema: { name: u.name, tables: d.map((l) => c.objectStore(l)).map((l) => {
13125
- const { keyPath: f, autoIncrement: h } = l, p = Ue(f), g = f == null, m = {}, y = { name: l.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: g, compound: p, keyPath: f, autoIncrement: h, unique: !0, extractKey: Su(f) }, indexes: Yd(l.indexNames).map((v) => l.index(v)).map((v) => {
13126
- const { name: w, unique: C, multiEntry: B, keyPath: P } = v, I = { name: w, compound: Ue(P), keyPath: P, unique: C, multiEntry: B, extractKey: Su(P) };
13127
- return m[Qr(P)] = I, I;
13125
+ const { keyPath: f, autoIncrement: h } = l, p = Ue(f), b = f == null, m = {}, y = { name: l.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: b, compound: p, keyPath: f, autoIncrement: h, unique: !0, extractKey: Su(f) }, indexes: Yd(l.indexNames).map((v) => l.index(v)).map((v) => {
13126
+ const { name: E, unique: C, multiEntry: $, keyPath: B } = v, D = { name: E, compound: Ue(B), keyPath: B, unique: C, multiEntry: $, extractKey: Su(B) };
13127
+ return m[Qr(B)] = D, D;
13128
13128
  }), getIndexByKeyPath: (v) => m[Qr(v)] };
13129
13129
  return m[":id"] = y.primaryKey, f != null && (m[Qr(f)] = y.primaryKey), y;
13130
13130
  }) }, hasGetAll: d.length > 0 && "getAll" in c.objectStore(d[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) };
13131
13131
  }(t, n), s = i.tables.map((u) => function(c) {
13132
13132
  const d = c.name;
13133
- return { name: d, schema: c, mutate: function({ trans: l, type: f, keys: h, values: p, range: g }) {
13133
+ return { name: d, schema: c, mutate: function({ trans: l, type: f, keys: h, values: p, range: b }) {
13134
13134
  return new Promise((m, y) => {
13135
13135
  m = ke(m);
13136
- const v = l.objectStore(d), w = v.keyPath == null, C = f === "put" || f === "add";
13136
+ const v = l.objectStore(d), E = v.keyPath == null, C = f === "put" || f === "add";
13137
13137
  if (!C && f !== "delete" && f !== "deleteRange")
13138
13138
  throw new Error("Invalid operation type: " + f);
13139
- const { length: B } = h || p || { length: 1 };
13139
+ const { length: $ } = h || p || { length: 1 };
13140
13140
  if (h && p && h.length !== p.length)
13141
13141
  throw new Error("Given keys array must have same length as given values array.");
13142
- if (B === 0)
13142
+ if ($ === 0)
13143
13143
  return m({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
13144
- let P;
13145
- const I = [], j = [];
13146
- let E = 0;
13147
- const D = ($) => {
13148
- ++E, gi($);
13144
+ let B;
13145
+ const D = [], j = [];
13146
+ let w = 0;
13147
+ const P = (I) => {
13148
+ ++w, gi(I);
13149
13149
  };
13150
13150
  if (f === "deleteRange") {
13151
- if (g.type === 4)
13152
- return m({ numFailures: E, failures: j, results: [], lastResult: void 0 });
13153
- g.type === 3 ? I.push(P = v.clear()) : I.push(P = v.delete(r(g)));
13151
+ if (b.type === 4)
13152
+ return m({ numFailures: w, failures: j, results: [], lastResult: void 0 });
13153
+ b.type === 3 ? D.push(B = v.clear()) : D.push(B = v.delete(r(b)));
13154
13154
  } else {
13155
- const [$, A] = C ? w ? [p, h] : [p, null] : [h, null];
13155
+ const [I, T] = C ? E ? [p, h] : [p, null] : [h, null];
13156
13156
  if (C)
13157
- for (let S = 0; S < B; ++S)
13158
- I.push(P = A && A[S] !== void 0 ? v[f]($[S], A[S]) : v[f]($[S])), P.onerror = D;
13157
+ for (let S = 0; S < $; ++S)
13158
+ D.push(B = T && T[S] !== void 0 ? v[f](I[S], T[S]) : v[f](I[S])), B.onerror = P;
13159
13159
  else
13160
- for (let S = 0; S < B; ++S)
13161
- I.push(P = v[f]($[S])), P.onerror = D;
13160
+ for (let S = 0; S < $; ++S)
13161
+ D.push(B = v[f](I[S])), B.onerror = P;
13162
13162
  }
13163
- const k = ($) => {
13164
- const A = $.target.result;
13165
- I.forEach((S, _) => S.error != null && (j[_] = S.error)), m({ numFailures: E, failures: j, results: f === "delete" ? h : I.map((S) => S.result), lastResult: A });
13163
+ const k = (I) => {
13164
+ const T = I.target.result;
13165
+ D.forEach((S, _) => S.error != null && (j[_] = S.error)), m({ numFailures: w, failures: j, results: f === "delete" ? h : D.map((S) => S.result), lastResult: T });
13166
13166
  };
13167
- P.onerror = ($) => {
13168
- D($), k($);
13169
- }, P.onsuccess = k;
13167
+ B.onerror = (I) => {
13168
+ P(I), k(I);
13169
+ }, B.onsuccess = k;
13170
13170
  });
13171
13171
  }, getMany: ({ trans: l, keys: f }) => new Promise((h, p) => {
13172
13172
  h = ke(h);
13173
- const g = l.objectStore(d), m = f.length, y = new Array(m);
13174
- let v, w = 0, C = 0;
13175
- const B = (I) => {
13176
- const j = I.target;
13177
- y[j._pos] = j.result, ++C === w && h(y);
13178
- }, P = Ct(p);
13179
- for (let I = 0; I < m; ++I)
13180
- f[I] != null && (v = g.get(f[I]), v._pos = I, v.onsuccess = B, v.onerror = P, ++w);
13181
- w === 0 && h(y);
13173
+ const b = l.objectStore(d), m = f.length, y = new Array(m);
13174
+ let v, E = 0, C = 0;
13175
+ const $ = (D) => {
13176
+ const j = D.target;
13177
+ y[j._pos] = j.result, ++C === E && h(y);
13178
+ }, B = Ct(p);
13179
+ for (let D = 0; D < m; ++D)
13180
+ f[D] != null && (v = b.get(f[D]), v._pos = D, v.onsuccess = $, v.onerror = B, ++E);
13181
+ E === 0 && h(y);
13182
13182
  }), get: ({ trans: l, key: f }) => new Promise((h, p) => {
13183
13183
  h = ke(h);
13184
- const g = l.objectStore(d).get(f);
13185
- g.onsuccess = (m) => h(m.target.result), g.onerror = Ct(p);
13184
+ const b = l.objectStore(d).get(f);
13185
+ b.onsuccess = (m) => h(m.target.result), b.onerror = Ct(p);
13186
13186
  }), query: /* @__PURE__ */ function(l) {
13187
13187
  return (f) => new Promise((h, p) => {
13188
13188
  h = ke(h);
13189
- const { trans: g, values: m, limit: y, query: v } = f, w = y === 1 / 0 ? void 0 : y, { index: C, range: B } = v, P = g.objectStore(d), I = C.isPrimaryKey ? P : P.index(C.name), j = r(B);
13189
+ const { trans: b, values: m, limit: y, query: v } = f, E = y === 1 / 0 ? void 0 : y, { index: C, range: $ } = v, B = b.objectStore(d), D = C.isPrimaryKey ? B : B.index(C.name), j = r($);
13190
13190
  if (y === 0)
13191
13191
  return h({ result: [] });
13192
13192
  if (l) {
13193
- const E = m ? I.getAll(j, w) : I.getAllKeys(j, w);
13194
- E.onsuccess = (D) => h({ result: D.target.result }), E.onerror = Ct(p);
13193
+ const w = m ? D.getAll(j, E) : D.getAllKeys(j, E);
13194
+ w.onsuccess = (P) => h({ result: P.target.result }), w.onerror = Ct(p);
13195
13195
  } else {
13196
- let E = 0;
13197
- const D = m || !("openKeyCursor" in I) ? I.openCursor(j) : I.openKeyCursor(j), k = [];
13198
- D.onsuccess = ($) => {
13199
- const A = D.result;
13200
- return A ? (k.push(m ? A.value : A.primaryKey), ++E === y ? h({ result: k }) : void A.continue()) : h({ result: k });
13201
- }, D.onerror = Ct(p);
13196
+ let w = 0;
13197
+ const P = m || !("openKeyCursor" in D) ? D.openCursor(j) : D.openKeyCursor(j), k = [];
13198
+ P.onsuccess = (I) => {
13199
+ const T = P.result;
13200
+ return T ? (k.push(m ? T.value : T.primaryKey), ++w === y ? h({ result: k }) : void T.continue()) : h({ result: k });
13201
+ }, P.onerror = Ct(p);
13202
13202
  }
13203
13203
  });
13204
- }(o), openCursor: function({ trans: l, values: f, query: h, reverse: p, unique: g }) {
13204
+ }(o), openCursor: function({ trans: l, values: f, query: h, reverse: p, unique: b }) {
13205
13205
  return new Promise((m, y) => {
13206
13206
  m = ke(m);
13207
- const { index: v, range: w } = h, C = l.objectStore(d), B = v.isPrimaryKey ? C : C.index(v.name), P = p ? g ? "prevunique" : "prev" : g ? "nextunique" : "next", I = f || !("openKeyCursor" in B) ? B.openCursor(r(w), P) : B.openKeyCursor(r(w), P);
13208
- I.onerror = Ct(y), I.onsuccess = ke((j) => {
13209
- const E = I.result;
13210
- if (!E)
13207
+ const { index: v, range: E } = h, C = l.objectStore(d), $ = v.isPrimaryKey ? C : C.index(v.name), B = p ? b ? "prevunique" : "prev" : b ? "nextunique" : "next", D = f || !("openKeyCursor" in $) ? $.openCursor(r(E), B) : $.openKeyCursor(r(E), B);
13208
+ D.onerror = Ct(y), D.onsuccess = ke((j) => {
13209
+ const w = D.result;
13210
+ if (!w)
13211
13211
  return void m(null);
13212
- E.___id = ++P7, E.done = !1;
13213
- const D = E.continue.bind(E);
13214
- let k = E.continuePrimaryKey;
13215
- k && (k = k.bind(E));
13216
- const $ = E.advance.bind(E), A = () => {
13212
+ w.___id = ++P7, w.done = !1;
13213
+ const P = w.continue.bind(w);
13214
+ let k = w.continuePrimaryKey;
13215
+ k && (k = k.bind(w));
13216
+ const I = w.advance.bind(w), T = () => {
13217
13217
  throw new Error("Cursor not stopped");
13218
13218
  };
13219
- E.trans = l, E.stop = E.continue = E.continuePrimaryKey = E.advance = () => {
13219
+ w.trans = l, w.stop = w.continue = w.continuePrimaryKey = w.advance = () => {
13220
13220
  throw new Error("Cursor not started");
13221
- }, E.fail = ke(y), E.next = function() {
13221
+ }, w.fail = ke(y), w.next = function() {
13222
13222
  let S = 1;
13223
13223
  return this.start(() => S-- ? this.continue() : this.stop()).then(() => this);
13224
- }, E.start = (S) => {
13224
+ }, w.start = (S) => {
13225
13225
  const _ = new Promise((x, M) => {
13226
- x = ke(x), I.onerror = Ct(M), E.fail = M, E.stop = (F) => {
13227
- E.stop = E.continue = E.continuePrimaryKey = E.advance = A, x(F);
13226
+ x = ke(x), D.onerror = Ct(M), w.fail = M, w.stop = (F) => {
13227
+ w.stop = w.continue = w.continuePrimaryKey = w.advance = T, x(F);
13228
13228
  };
13229
- }), T = () => {
13230
- if (I.result)
13229
+ }), A = () => {
13230
+ if (D.result)
13231
13231
  try {
13232
13232
  S();
13233
13233
  } catch (x) {
13234
- E.fail(x);
13234
+ w.fail(x);
13235
13235
  }
13236
13236
  else
13237
- E.done = !0, E.start = () => {
13237
+ w.done = !0, w.start = () => {
13238
13238
  throw new Error("Cursor behind last entry");
13239
- }, E.stop();
13239
+ }, w.stop();
13240
13240
  };
13241
- return I.onsuccess = ke((x) => {
13242
- I.onsuccess = T, T();
13243
- }), E.continue = D, E.continuePrimaryKey = k, E.advance = $, T(), _;
13244
- }, m(E);
13241
+ return D.onsuccess = ke((x) => {
13242
+ D.onsuccess = A, A();
13243
+ }), w.continue = P, w.continuePrimaryKey = k, w.advance = I, A(), _;
13244
+ }, m(w);
13245
13245
  }, y);
13246
13246
  });
13247
13247
  }, count({ query: l, trans: f }) {
13248
13248
  const { index: h, range: p } = l;
13249
- return new Promise((g, m) => {
13250
- const y = f.objectStore(d), v = h.isPrimaryKey ? y : y.index(h.name), w = r(p), C = w ? v.count(w) : v.count();
13251
- C.onsuccess = ke((B) => g(B.target.result)), C.onerror = Ct(m);
13249
+ return new Promise((b, m) => {
13250
+ const y = f.objectStore(d), v = h.isPrimaryKey ? y : y.index(h.name), E = r(p), C = E ? v.count(E) : v.count();
13251
+ C.onsuccess = ke(($) => b($.target.result)), C.onerror = Ct(m);
13252
13252
  });
13253
13253
  } };
13254
13254
  }(u)), a = {};
@@ -13300,55 +13300,55 @@ function L7(t, e, n, r) {
13300
13300
  ca(n, u, i[u].primKey, i[u].indexes);
13301
13301
  }), Tu(t, n), q.follow(() => t.on.populate.fire(o)).catch(s)) : function({ _novip: u }, c, d, l) {
13302
13302
  const f = [], h = u._versions;
13303
- let p = u._dbSchema = Iu(u, u.idbdb, l), g = !1;
13303
+ let p = u._dbSchema = Iu(u, u.idbdb, l), b = !1;
13304
13304
  const m = h.filter((v) => v._cfg.version >= c);
13305
13305
  function y() {
13306
13306
  return f.length ? q.resolve(f.shift()(d.idbtrans)).then(y) : q.resolve();
13307
13307
  }
13308
13308
  return m.forEach((v) => {
13309
13309
  f.push(() => {
13310
- const w = p, C = v._cfg.dbschema;
13311
- Bu(u, w, l), Bu(u, C, l), p = u._dbSchema = C;
13312
- const B = c5(w, C);
13313
- B.add.forEach((I) => {
13314
- ca(l, I[0], I[1].primKey, I[1].indexes);
13315
- }), B.change.forEach((I) => {
13316
- if (I.recreate)
13310
+ const E = p, C = v._cfg.dbschema;
13311
+ Bu(u, E, l), Bu(u, C, l), p = u._dbSchema = C;
13312
+ const $ = c5(E, C);
13313
+ $.add.forEach((D) => {
13314
+ ca(l, D[0], D[1].primKey, D[1].indexes);
13315
+ }), $.change.forEach((D) => {
13316
+ if (D.recreate)
13317
13317
  throw new Z.Upgrade("Not yet support for changing primary key");
13318
13318
  {
13319
- const j = l.objectStore(I.name);
13320
- I.add.forEach((E) => $u(j, E)), I.change.forEach((E) => {
13321
- j.deleteIndex(E.name), $u(j, E);
13322
- }), I.del.forEach((E) => j.deleteIndex(E));
13319
+ const j = l.objectStore(D.name);
13320
+ D.add.forEach((w) => $u(j, w)), D.change.forEach((w) => {
13321
+ j.deleteIndex(w.name), $u(j, w);
13322
+ }), D.del.forEach((w) => j.deleteIndex(w));
13323
13323
  }
13324
13324
  });
13325
- const P = v._cfg.contentUpgrade;
13326
- if (P && v._cfg.version > c) {
13327
- Tu(u, l), d._memoizedTables = {}, g = !0;
13328
- let I = jv(C);
13329
- B.del.forEach((k) => {
13330
- I[k] = w[k];
13331
- }), Au(u, [u.Transaction.prototype]), ls(u, [u.Transaction.prototype], Ae(I), I), d.schema = I;
13332
- const j = Oc(P);
13333
- let E;
13325
+ const B = v._cfg.contentUpgrade;
13326
+ if (B && v._cfg.version > c) {
13327
+ Tu(u, l), d._memoizedTables = {}, b = !0;
13328
+ let D = jv(C);
13329
+ $.del.forEach((k) => {
13330
+ D[k] = E[k];
13331
+ }), Au(u, [u.Transaction.prototype]), ls(u, [u.Transaction.prototype], Ae(D), D), d.schema = D;
13332
+ const j = Oc(B);
13333
+ let w;
13334
13334
  j && $r();
13335
- const D = q.follow(() => {
13336
- if (E = P(d), E && j) {
13335
+ const P = q.follow(() => {
13336
+ if (w = B(d), w && j) {
13337
13337
  var k = Xt.bind(null, null);
13338
- E.then(k, k);
13338
+ w.then(k, k);
13339
13339
  }
13340
13340
  });
13341
- return E && typeof E.then == "function" ? q.resolve(E) : D.then(() => E);
13341
+ return w && typeof w.then == "function" ? q.resolve(w) : P.then(() => w);
13342
13342
  }
13343
- }), f.push((w) => {
13344
- (!g || !S7) && function(C, B) {
13345
- [].slice.call(B.db.objectStoreNames).forEach((P) => C[P] == null && B.db.deleteObjectStore(P));
13346
- }(v._cfg.dbschema, w), Au(u, [u.Transaction.prototype]), ls(u, [u.Transaction.prototype], u._storeNames, u._dbSchema), d.schema = u._dbSchema;
13343
+ }), f.push((E) => {
13344
+ (!b || !S7) && function(C, $) {
13345
+ [].slice.call($.db.objectStoreNames).forEach((B) => C[B] == null && $.db.deleteObjectStore(B));
13346
+ }(v._cfg.dbschema, E), Au(u, [u.Transaction.prototype]), ls(u, [u.Transaction.prototype], u._storeNames, u._dbSchema), d.schema = u._dbSchema;
13347
13347
  });
13348
13348
  }), y().then(() => {
13349
- var v, w;
13350
- w = l, Ae(v = p).forEach((C) => {
13351
- w.db.objectStoreNames.contains(C) || ca(w, C, v[C].primKey, v[C].indexes);
13349
+ var v, E;
13350
+ E = l, Ae(v = p).forEach((C) => {
13351
+ E.db.objectStoreNames.contains(C) || ca(E, C, v[C].primKey, v[C].indexes);
13352
13352
  });
13353
13353
  });
13354
13354
  }(t, e, o, n).catch(s);
@@ -13507,24 +13507,24 @@ function j7(t) {
13507
13507
  const f = t._novip.idbdb = l.result, h = is(f.objectStoreNames);
13508
13508
  if (h.length > 0)
13509
13509
  try {
13510
- const g = f.transaction((p = h).length === 1 ? p[0] : p, "readonly");
13510
+ const b = f.transaction((p = h).length === 1 ? p[0] : p, "readonly");
13511
13511
  e.autoSchema ? function({ _novip: m }, y, v) {
13512
13512
  m.verno = y.version / 10;
13513
- const w = m._dbSchema = Iu(0, y, v);
13514
- m._storeNames = is(y.objectStoreNames, 0), ls(m, [m._allTables], Ae(w), w);
13515
- }(t, f, g) : (Bu(t, t._dbSchema, g), function(m, y) {
13513
+ const E = m._dbSchema = Iu(0, y, v);
13514
+ m._storeNames = is(y.objectStoreNames, 0), ls(m, [m._allTables], Ae(E), E);
13515
+ }(t, f, b) : (Bu(t, t._dbSchema, b), function(m, y) {
13516
13516
  const v = c5(Iu(0, m.idbdb, y), m._dbSchema);
13517
- return !(v.add.length || v.change.some((w) => w.add.length || w.change.length));
13518
- }(t, g) || console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")), Tu(t, g);
13517
+ return !(v.add.length || v.change.some((E) => E.add.length || E.change.length));
13518
+ }(t, b) || console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")), Tu(t, b);
13519
13519
  } catch {
13520
13520
  }
13521
13521
  var p;
13522
- Jr.push(t), f.onversionchange = ke((g) => {
13523
- e.vcFired = !0, t.on("versionchange").fire(g);
13524
- }), f.onclose = ke((g) => {
13525
- t.on("close").fire(g);
13526
- }), a && function({ indexedDB: g, IDBKeyRange: m }, y) {
13527
- !qc(g) && y !== Ps && Hc(g, m).put({ name: y }).catch(pe);
13522
+ Jr.push(t), f.onversionchange = ke((b) => {
13523
+ e.vcFired = !0, t.on("versionchange").fire(b);
13524
+ }), f.onclose = ke((b) => {
13525
+ t.on("close").fire(b);
13526
+ }), a && function({ indexedDB: b, IDBKeyRange: m }, y) {
13527
+ !qc(b) && y !== Ps && Hc(b, m).put({ name: y }).catch(pe);
13528
13528
  }(t._deps, d), u();
13529
13529
  }, c);
13530
13530
  }))]).then(() => (i(), e.onReadyBeingFired = [], q.resolve(Du(() => t.on.ready.fire(t.vip))).then(function u() {
@@ -13598,7 +13598,7 @@ const z7 = { stack: "dbcore", name: "VirtualIndexMiddleware", level: 1, create:
13598
13598
  return { ...t, table(e) {
13599
13599
  const n = t.table(e), { schema: r } = n, i = {}, o = [];
13600
13600
  function s(c, d, l) {
13601
- const f = Qr(c), h = i[f] = i[f] || [], p = c == null ? 0 : typeof c == "string" ? 1 : c.length, g = d > 0, m = { ...l, isVirtual: g, keyTail: d, keyLength: p, extractKey: Su(c), unique: !g && l.unique };
13601
+ const f = Qr(c), h = i[f] = i[f] || [], p = c == null ? 0 : typeof c == "string" ? 1 : c.length, b = d > 0, m = { ...l, isVirtual: b, keyTail: d, keyLength: p, extractKey: Su(c), unique: !b && l.unique };
13602
13602
  return h.push(m), m.isPrimaryKey || o.push(m), p > 1 && s(p === 2 ? c[0] : c.slice(0, p - 1), d + 1, l), h.sort((y, v) => y.keyTail - v.keyTail), m;
13603
13603
  }
13604
13604
  const a = s(r.primaryKey.keyPath, 0, r.primaryKey);
@@ -13616,13 +13616,13 @@ const z7 = { stack: "dbcore", name: "VirtualIndexMiddleware", level: 1, create:
13616
13616
  } }, count: (c) => n.count(u(c)), query: (c) => n.query(u(c)), openCursor(c) {
13617
13617
  const { keyTail: d, isVirtual: l, keyLength: f } = c.query.index;
13618
13618
  return l ? n.openCursor(u(c)).then((h) => h && function(p) {
13619
- return Object.create(p, { continue: { value: function(g) {
13620
- g != null ? p.continue(io(g, c.reverse ? t.MAX_KEY : t.MIN_KEY, d)) : c.unique ? p.continue(p.key.slice(0, f).concat(c.reverse ? t.MIN_KEY : t.MAX_KEY, d)) : p.continue();
13621
- } }, continuePrimaryKey: { value(g, m) {
13622
- p.continuePrimaryKey(io(g, t.MAX_KEY, d), m);
13619
+ return Object.create(p, { continue: { value: function(b) {
13620
+ b != null ? p.continue(io(b, c.reverse ? t.MAX_KEY : t.MIN_KEY, d)) : c.unique ? p.continue(p.key.slice(0, f).concat(c.reverse ? t.MIN_KEY : t.MAX_KEY, d)) : p.continue();
13621
+ } }, continuePrimaryKey: { value(b, m) {
13622
+ p.continuePrimaryKey(io(b, t.MAX_KEY, d), m);
13623
13623
  } }, primaryKey: { get: () => p.primaryKey }, key: { get() {
13624
- const g = p.key;
13625
- return f === 1 ? g[0] : g.slice(0, f);
13624
+ const b = p.key;
13625
+ return f === 1 ? b[0] : b.slice(0, f);
13626
13626
  } }, value: { get: () => p.value } });
13627
13627
  }(h)) : n.openCursor(c);
13628
13628
  } };
@@ -13669,43 +13669,43 @@ const H7 = { stack: "dbcore", name: "HooksMiddleware", level: 2, create: (t) =>
13669
13669
  }
13670
13670
  return n.mutate(i);
13671
13671
  function c(l) {
13672
- const f = K.trans, h = l.keys || function(p, g) {
13673
- return g.type === "delete" ? g.keys : g.keys || g.values.map(p.extractKey);
13672
+ const f = K.trans, h = l.keys || function(p, b) {
13673
+ return b.type === "delete" ? b.keys : b.keys || b.values.map(p.extractKey);
13674
13674
  }(r, l);
13675
13675
  if (!h)
13676
13676
  throw new Error("Keys missing");
13677
- return (l = l.type === "add" || l.type === "put" ? { ...l, keys: h } : { ...l }).type !== "delete" && (l.values = [...l.values]), l.keys && (l.keys = [...l.keys]), function(p, g, m) {
13678
- return g.type === "add" ? Promise.resolve([]) : p.getMany({ trans: g.trans, keys: m, cache: "immutable" });
13677
+ return (l = l.type === "add" || l.type === "put" ? { ...l, keys: h } : { ...l }).type !== "delete" && (l.values = [...l.values]), l.keys && (l.keys = [...l.keys]), function(p, b, m) {
13678
+ return b.type === "add" ? Promise.resolve([]) : p.getMany({ trans: b.trans, keys: m, cache: "immutable" });
13679
13679
  }(n, l, h).then((p) => {
13680
- const g = h.map((m, y) => {
13681
- const v = p[y], w = { onerror: null, onsuccess: null };
13680
+ const b = h.map((m, y) => {
13681
+ const v = p[y], E = { onerror: null, onsuccess: null };
13682
13682
  if (l.type === "delete")
13683
- s.fire.call(w, m, v, f);
13683
+ s.fire.call(E, m, v, f);
13684
13684
  else if (l.type === "add" || v === void 0) {
13685
- const C = a.fire.call(w, m, l.values[y], f);
13685
+ const C = a.fire.call(E, m, l.values[y], f);
13686
13686
  m == null && C != null && (m = C, l.keys[y] = m, r.outbound || gt(l.values[y], r.keyPath, m));
13687
13687
  } else {
13688
- const C = Gc(v, l.values[y]), B = u.fire.call(w, C, m, v, f);
13689
- if (B) {
13690
- const P = l.values[y];
13691
- Object.keys(B).forEach((I) => {
13692
- st(P, I) ? P[I] = B[I] : gt(P, I, B[I]);
13688
+ const C = Gc(v, l.values[y]), $ = u.fire.call(E, C, m, v, f);
13689
+ if ($) {
13690
+ const B = l.values[y];
13691
+ Object.keys($).forEach((D) => {
13692
+ st(B, D) ? B[D] = $[D] : gt(B, D, $[D]);
13693
13693
  });
13694
13694
  }
13695
13695
  }
13696
- return w;
13696
+ return E;
13697
13697
  });
13698
- return n.mutate(l).then(({ failures: m, results: y, numFailures: v, lastResult: w }) => {
13698
+ return n.mutate(l).then(({ failures: m, results: y, numFailures: v, lastResult: E }) => {
13699
13699
  for (let C = 0; C < h.length; ++C) {
13700
- const B = y ? y[C] : h[C], P = g[C];
13701
- B == null ? P.onerror && P.onerror(m[C]) : P.onsuccess && P.onsuccess(l.type === "put" && p[C] ? l.values[C] : B);
13700
+ const $ = y ? y[C] : h[C], B = b[C];
13701
+ $ == null ? B.onerror && B.onerror(m[C]) : B.onsuccess && B.onsuccess(l.type === "put" && p[C] ? l.values[C] : $);
13702
13702
  }
13703
- return { failures: m, results: y, numFailures: v, lastResult: w };
13704
- }).catch((m) => (g.forEach((y) => y.onerror && y.onerror(m)), Promise.reject(m)));
13703
+ return { failures: m, results: y, numFailures: v, lastResult: E };
13704
+ }).catch((m) => (b.forEach((y) => y.onerror && y.onerror(m)), Promise.reject(m)));
13705
13705
  });
13706
13706
  }
13707
13707
  function d(l, f, h) {
13708
- return n.query({ trans: l, values: !1, query: { index: r, range: f }, limit: h }).then(({ result: p }) => c({ type: "delete", keys: p, trans: l }).then((g) => g.numFailures > 0 ? Promise.reject(g.failures[0]) : p.length < h ? { failures: [], numFailures: 0, lastResult: void 0 } : d(l, { ...f, lower: p[p.length - 1], lowerOpen: !0 }, h)));
13708
+ return n.query({ trans: l, values: !1, query: { index: r, range: f }, limit: h }).then(({ result: p }) => c({ type: "delete", keys: p, trans: l }).then((b) => b.numFailures > 0 ? Promise.reject(b.failures[0]) : p.length < h ? { failures: [], numFailures: 0, lastResult: void 0 } : d(l, { ...f, lower: p[p.length - 1], lowerOpen: !0 }, h)));
13709
13709
  }
13710
13710
  } };
13711
13711
  } }) };
@@ -13829,66 +13829,66 @@ const Y7 = { stack: "dbcore", level: 0, create: (t) => {
13829
13829
  const e = t.schema.name, n = new qt(t.MIN_KEY, t.MAX_KEY);
13830
13830
  return { ...t, table: (r) => {
13831
13831
  const i = t.table(r), { schema: o } = i, { primaryKey: s } = o, { extractKey: a, outbound: u } = s, c = { ...i, mutate: (f) => {
13832
- const h = f.trans, p = h.mutatedParts || (h.mutatedParts = {}), g = (P) => {
13833
- const I = `idb://${e}/${r}/${P}`;
13834
- return p[I] || (p[I] = new qt());
13835
- }, m = g(""), y = g(":dels"), { type: v } = f;
13836
- let [w, C] = f.type === "deleteRange" ? [f.range] : f.type === "delete" ? [f.keys] : f.values.length < 50 ? [[], f.values] : [];
13837
- const B = f.trans._cache;
13838
- return i.mutate(f).then((P) => {
13839
- if (Ue(w)) {
13840
- v !== "delete" && (w = P.results), m.addKeys(w);
13841
- const I = d5(w, B);
13842
- I || v === "add" || y.addKeys(w), (I || C) && function(j, E, D, k) {
13843
- function $(A) {
13844
- const S = j(A.name || "");
13832
+ const h = f.trans, p = h.mutatedParts || (h.mutatedParts = {}), b = (B) => {
13833
+ const D = `idb://${e}/${r}/${B}`;
13834
+ return p[D] || (p[D] = new qt());
13835
+ }, m = b(""), y = b(":dels"), { type: v } = f;
13836
+ let [E, C] = f.type === "deleteRange" ? [f.range] : f.type === "delete" ? [f.keys] : f.values.length < 50 ? [[], f.values] : [];
13837
+ const $ = f.trans._cache;
13838
+ return i.mutate(f).then((B) => {
13839
+ if (Ue(E)) {
13840
+ v !== "delete" && (E = B.results), m.addKeys(E);
13841
+ const D = d5(E, $);
13842
+ D || v === "add" || y.addKeys(E), (D || C) && function(j, w, P, k) {
13843
+ function I(T) {
13844
+ const S = j(T.name || "");
13845
13845
  function _(x) {
13846
- return x != null ? A.extractKey(x) : null;
13846
+ return x != null ? T.extractKey(x) : null;
13847
13847
  }
13848
- const T = (x) => A.multiEntry && Ue(x) ? x.forEach((M) => S.addKey(M)) : S.addKey(x);
13849
- (D || k).forEach((x, M) => {
13850
- const F = D && _(D[M]), z = k && _(k[M]);
13851
- qe(F, z) !== 0 && (F != null && T(F), z != null && T(z));
13848
+ const A = (x) => T.multiEntry && Ue(x) ? x.forEach((M) => S.addKey(M)) : S.addKey(x);
13849
+ (P || k).forEach((x, M) => {
13850
+ const F = P && _(P[M]), z = k && _(k[M]);
13851
+ qe(F, z) !== 0 && (F != null && A(F), z != null && A(z));
13852
13852
  });
13853
13853
  }
13854
- E.indexes.forEach($);
13855
- }(g, o, I, C);
13856
- } else if (w) {
13857
- const I = { from: w.lower, to: w.upper };
13858
- y.add(I), m.add(I);
13854
+ w.indexes.forEach(I);
13855
+ }(b, o, D, C);
13856
+ } else if (E) {
13857
+ const D = { from: E.lower, to: E.upper };
13858
+ y.add(D), m.add(D);
13859
13859
  } else
13860
- m.add(n), y.add(n), o.indexes.forEach((I) => g(I.name).add(n));
13861
- return P;
13860
+ m.add(n), y.add(n), o.indexes.forEach((D) => b(D.name).add(n));
13861
+ return B;
13862
13862
  });
13863
13863
  } }, d = ({ query: { index: f, range: h } }) => {
13864
- var p, g;
13865
- return [f, new qt((p = h.lower) !== null && p !== void 0 ? p : t.MIN_KEY, (g = h.upper) !== null && g !== void 0 ? g : t.MAX_KEY)];
13864
+ var p, b;
13865
+ return [f, new qt((p = h.lower) !== null && p !== void 0 ? p : t.MIN_KEY, (b = h.upper) !== null && b !== void 0 ? b : t.MAX_KEY)];
13866
13866
  }, l = { get: (f) => [s, new qt(f.key)], getMany: (f) => [s, new qt().addKeys(f.keys)], count: d, query: d, openCursor: d };
13867
13867
  return Ae(l).forEach((f) => {
13868
13868
  c[f] = function(h) {
13869
13869
  const { subscr: p } = K;
13870
13870
  if (p) {
13871
- const g = (C) => {
13872
- const B = `idb://${e}/${r}/${C}`;
13873
- return p[B] || (p[B] = new qt());
13874
- }, m = g(""), y = g(":dels"), [v, w] = l[f](h);
13875
- if (g(v.name || "").add(w), !v.isPrimaryKey) {
13871
+ const b = (C) => {
13872
+ const $ = `idb://${e}/${r}/${C}`;
13873
+ return p[$] || (p[$] = new qt());
13874
+ }, m = b(""), y = b(":dels"), [v, E] = l[f](h);
13875
+ if (b(v.name || "").add(E), !v.isPrimaryKey) {
13876
13876
  if (f !== "count") {
13877
13877
  const C = f === "query" && u && h.values && i.query({ ...h, values: !1 });
13878
- return i[f].apply(this, arguments).then((B) => {
13878
+ return i[f].apply(this, arguments).then(($) => {
13879
13879
  if (f === "query") {
13880
13880
  if (u && h.values)
13881
- return C.then(({ result: I }) => (m.addKeys(I), B));
13882
- const P = h.values ? B.result.map(a) : B.result;
13883
- h.values ? m.addKeys(P) : y.addKeys(P);
13881
+ return C.then(({ result: D }) => (m.addKeys(D), $));
13882
+ const B = h.values ? $.result.map(a) : $.result;
13883
+ h.values ? m.addKeys(B) : y.addKeys(B);
13884
13884
  } else if (f === "openCursor") {
13885
- const P = B, I = h.values;
13886
- return P && Object.create(P, { key: { get: () => (y.addKey(P.primaryKey), P.key) }, primaryKey: { get() {
13887
- const j = P.primaryKey;
13885
+ const B = $, D = h.values;
13886
+ return B && Object.create(B, { key: { get: () => (y.addKey(B.primaryKey), B.key) }, primaryKey: { get() {
13887
+ const j = B.primaryKey;
13888
13888
  return y.addKey(j), j;
13889
- } }, value: { get: () => (I && m.addKey(P.primaryKey), P.value) } });
13889
+ } }, value: { get: () => (D && m.addKey(B.primaryKey), B.value) } });
13890
13890
  }
13891
- return B;
13891
+ return $;
13892
13892
  });
13893
13893
  }
13894
13894
  y.add(n);
@@ -14143,21 +14143,21 @@ function V7(t) {
14143
14143
  i.start && i.start(c);
14144
14144
  let d = !1, l = !1;
14145
14145
  function f() {
14146
- return Ae(u).some((g) => a[g] && G7(a[g], u[g]));
14146
+ return Ae(u).some((b) => a[b] && G7(a[b], u[b]));
14147
14147
  }
14148
- const h = (g) => {
14149
- f5(a, g), f() && p();
14148
+ const h = (b) => {
14149
+ f5(a, b), f() && p();
14150
14150
  }, p = () => {
14151
14151
  if (d || s)
14152
14152
  return;
14153
14153
  a = {};
14154
- const g = {}, m = function(y) {
14154
+ const b = {}, m = function(y) {
14155
14155
  o && $r();
14156
- const v = () => yn(t, { subscr: y, trans: null }), w = K.trans ? Ir(K.transless, v) : v();
14157
- return o && w.then(Xt, Xt), w;
14158
- }(g);
14156
+ const v = () => yn(t, { subscr: y, trans: null }), E = K.trans ? Ir(K.transless, v) : v();
14157
+ return o && E.then(Xt, Xt), E;
14158
+ }(b);
14159
14159
  l || (_n(bi, h), l = !0), d = !0, Promise.resolve(m).then((y) => {
14160
- n = !0, e = y, d = !1, s || (f() ? p() : (a = {}, u = g, i.next && i.next(y)));
14160
+ n = !0, e = y, d = !1, s || (f() ? p() : (a = {}, u = b, i.next && i.next(y)));
14161
14161
  }, (y) => {
14162
14162
  d = !1, n = !1, i.error && i.error(y), c.unsubscribe();
14163
14163
  });
@@ -14298,15 +14298,15 @@ const Z7 = (t, e, n) => {
14298
14298
  reset: []
14299
14299
  }, o = () => {
14300
14300
  var p;
14301
- r = new Map(Object.entries((p = la(t)) !== null && p !== void 0 ? p : {})), i.reset.forEach((g) => g());
14301
+ r = new Map(Object.entries((p = la(t)) !== null && p !== void 0 ? p : {})), i.reset.forEach((b) => b());
14302
14302
  }, s = () => {
14303
14303
  i.dispose.forEach((p) => p()), o();
14304
- }, a = (p) => (i.get.forEach((g) => g(p)), r.get(p)), u = (p, g) => {
14304
+ }, a = (p) => (i.get.forEach((b) => b(p)), r.get(p)), u = (p, b) => {
14305
14305
  const m = r.get(p);
14306
- e(g, m, p) && (r.set(p, g), i.set.forEach((y) => y(p, g, m)));
14306
+ e(b, m, p) && (r.set(p, b), i.set.forEach((y) => y(p, b, m)));
14307
14307
  }, c = typeof Proxy > "u" ? {} : new Proxy(n, {
14308
- get(p, g) {
14309
- return a(g);
14308
+ get(p, b) {
14309
+ return a(b);
14310
14310
  },
14311
14311
  ownKeys(p) {
14312
14312
  return Array.from(r.keys());
@@ -14317,37 +14317,37 @@ const Z7 = (t, e, n) => {
14317
14317
  configurable: !0
14318
14318
  };
14319
14319
  },
14320
- has(p, g) {
14321
- return r.has(g);
14320
+ has(p, b) {
14321
+ return r.has(b);
14322
14322
  },
14323
- set(p, g, m) {
14324
- return u(g, m), !0;
14323
+ set(p, b, m) {
14324
+ return u(b, m), !0;
14325
14325
  }
14326
- }), d = (p, g) => (i[p].push(g), () => {
14327
- t9(i[p], g);
14326
+ }), d = (p, b) => (i[p].push(b), () => {
14327
+ t9(i[p], b);
14328
14328
  });
14329
14329
  return {
14330
14330
  state: c,
14331
14331
  get: a,
14332
14332
  set: u,
14333
14333
  on: d,
14334
- onChange: (p, g) => {
14335
- const m = d("set", (v, w) => {
14336
- v === p && g(w);
14337
- }), y = d("reset", () => g(la(t)[p]));
14334
+ onChange: (p, b) => {
14335
+ const m = d("set", (v, E) => {
14336
+ v === p && b(E);
14337
+ }), y = d("reset", () => b(la(t)[p]));
14338
14338
  return () => {
14339
14339
  m(), y();
14340
14340
  };
14341
14341
  },
14342
14342
  use: (...p) => {
14343
- const g = p.reduce((m, y) => (y.set && m.push(d("set", y.set)), y.get && m.push(d("get", y.get)), y.reset && m.push(d("reset", y.reset)), y.dispose && m.push(d("dispose", y.dispose)), m), []);
14344
- return () => g.forEach((m) => m());
14343
+ const b = p.reduce((m, y) => (y.set && m.push(d("set", y.set)), y.get && m.push(d("get", y.get)), y.reset && m.push(d("reset", y.reset)), y.dispose && m.push(d("dispose", y.dispose)), m), []);
14344
+ return () => b.forEach((m) => m());
14345
14345
  },
14346
14346
  dispose: s,
14347
14347
  reset: o,
14348
14348
  forceUpdate: (p) => {
14349
- const g = r.get(p);
14350
- i.set.forEach((m) => m(p, g, g));
14349
+ const b = r.get(p);
14350
+ i.set.forEach((m) => m(p, b, b));
14351
14351
  }
14352
14352
  };
14353
14353
  }, t9 = (t, e) => {
@@ -14570,7 +14570,7 @@ class i9 {
14570
14570
  return this.schedulerStore.set("organizerConfirmationBookingId", ""), this.schedulerStore.set("confirmedEventInfo", void 0), e;
14571
14571
  }
14572
14572
  async bookTimeslot(e) {
14573
- var y;
14573
+ var E;
14574
14574
  this.schedulerStore.set("isLoading", !0);
14575
14575
  const { selectedTimeslot: n, selectedTimezone: r, bookingInfo: i, selectedLanguage: o } = this.schedulerStore.state;
14576
14576
  if (!e && !i)
@@ -14578,40 +14578,44 @@ class i9 {
14578
14578
  const s = (e == null ? void 0 : e.timeslot) || n;
14579
14579
  if (!s)
14580
14580
  return { error: this.errors.component(R.t("createBookingErrorTitle")).no_timeslot_selected() };
14581
- const a = e && (e != null && e.timezone) ? e == null ? void 0 : e.timezone : r;
14581
+ const a = e && (e != null && e.timezone) ? e == null ? void 0 : e.timezone : r, u = o || "en-US";
14582
14582
  if (!a)
14583
14583
  return { error: this.errors.component(R.t("createBookingErrorTitle")).no_timezone_selected() };
14584
- const u = this.schedulerStore.get("availabilityOrderEmails");
14585
- let c = "";
14586
- if (u.length > 0) {
14587
- const v = (s == null ? void 0 : s.emails) || [];
14588
- for (let w = 0; w < u.length; w++)
14589
- if (v.includes(u[w])) {
14590
- c = u[w];
14584
+ const c = this.schedulerStore.get("availabilityOrderEmails");
14585
+ let d = "";
14586
+ if (c.length > 0) {
14587
+ const C = (s == null ? void 0 : s.emails) || [];
14588
+ for (let $ = 0; $ < c.length; $++)
14589
+ if (C.includes(c[$])) {
14590
+ d = c[$];
14591
14591
  break;
14592
14592
  }
14593
14593
  }
14594
- const d = e ? e == null ? void 0 : e.primaryParticipant : i == null ? void 0 : i.primaryParticipant, l = e ? (e == null ? void 0 : e.guests) || [] : (i == null ? void 0 : i.guests) || [], f = e ? e == null ? void 0 : e.additionalFields : i == null ? void 0 : i.additionalFields, h = this.getHeaders(), g = `/v3/scheduling/bookings${!this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : ""}`, m = await this.makeAPIRequest(decodeURIComponent(g), "POST", JSON.stringify({
14595
- participants: c ? [{ email: c }] : void 0,
14596
- additional_fields: f,
14597
- additional_guests: l,
14598
- guest: { ...d },
14594
+ const l = {};
14595
+ Object.entries((i == null ? void 0 : i.additionalFields) || {}).forEach(([C, $]) => {
14596
+ l[C] = $.value;
14597
+ });
14598
+ const f = e ? e == null ? void 0 : e.primaryParticipant : i == null ? void 0 : i.primaryParticipant, h = e ? (e == null ? void 0 : e.guests) || [] : (i == null ? void 0 : i.guests) || [], p = e ? e == null ? void 0 : e.additionalFields : l, b = this.getHeaders(), y = `/v3/scheduling/bookings${!this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : ""}`, v = await this.makeAPIRequest(decodeURIComponent(y), "POST", JSON.stringify({
14599
+ participants: d ? [{ email: d }] : void 0,
14600
+ additional_fields: p,
14601
+ additional_guests: h,
14602
+ guest: { ...f },
14599
14603
  start_time: s.start_time.getTime() / 1e3,
14600
14604
  end_time: s.end_time.getTime() / 1e3,
14601
14605
  timezone: a,
14602
- email_language: this.getTwoLetterLanguageCode(o)
14603
- }), h);
14604
- if ("error" in m) {
14606
+ email_language: this.getTwoLetterLanguageCode(u)
14607
+ }), b);
14608
+ if ("error" in v) {
14605
14609
  this.schedulerStore.set("isLoading", !1);
14606
- const v = (y = m.error) == null ? void 0 : y.type;
14607
- let w = m.error;
14608
- if (v && v in this.errors.api("Create Booking")) {
14609
- const C = this.getErrorMessage(w);
14610
- w = this.errors.api("Create Booking")[v](C);
14610
+ const C = (E = v.error) == null ? void 0 : E.type;
14611
+ let $ = v.error;
14612
+ if (C && C in this.errors.api("Create Booking")) {
14613
+ const B = this.getErrorMessage($);
14614
+ $ = this.errors.api("Create Booking")[C](B);
14611
14615
  }
14612
- return { error: w };
14616
+ return { error: $ };
14613
14617
  }
14614
- return "data" in m && this.schedulerStore.set("eventInfo", m == null ? void 0 : m.data), this.schedulerStore.set("isLoading", !1), m;
14618
+ return "data" in v && this.schedulerStore.set("eventInfo", v == null ? void 0 : v.data), this.schedulerStore.set("isLoading", !1), v;
14615
14619
  }
14616
14620
  async getUISettings() {
14617
14621
  var o;
@@ -14642,7 +14646,7 @@ class i9 {
14642
14646
  return Math.min(i, e);
14643
14647
  }
14644
14648
  async getAvailability(e = 0, n = 0) {
14645
- var f, h, p, g;
14649
+ var f, h, p, b;
14646
14650
  this.schedulerStore.set("isLoading", !0);
14647
14651
  const r = new URLSearchParams(), i = /* @__PURE__ */ new Date(), o = i.getTime();
14648
14652
  if (n && n < o / 1e3)
@@ -14672,13 +14676,13 @@ class i9 {
14672
14676
  return { error: y };
14673
14677
  }
14674
14678
  if ("data" in l) {
14675
- const y = (((p = (h = l.data) == null ? void 0 : h.time_slots) == null ? void 0 : p.map((w) => ({
14676
- ...w,
14677
- start_time: new Date(w.start_time * 1e3),
14678
- end_time: new Date(w.end_time * 1e3)
14679
- }))) || []).filter((w) => w.start_time.getTime() > o);
14679
+ const y = (((p = (h = l.data) == null ? void 0 : h.time_slots) == null ? void 0 : p.map((E) => ({
14680
+ ...E,
14681
+ start_time: new Date(E.start_time * 1e3),
14682
+ end_time: new Date(E.end_time * 1e3)
14683
+ }))) || []).filter((E) => E.start_time.getTime() > o);
14680
14684
  this.schedulerStore.set("availability", y);
14681
- const v = ((g = l.data) == null ? void 0 : g.order) || [];
14685
+ const v = ((b = l.data) == null ? void 0 : b.order) || [];
14682
14686
  this.schedulerStore.set("availabilityOrderEmails", v);
14683
14687
  }
14684
14688
  return this.schedulerStore.set("isLoading", !1), l;
@@ -14706,7 +14710,7 @@ class i9 {
14706
14710
  }), this.schedulerStore.set("rescheduleBookingId", ""), this.schedulerStore.set("isLoading", !1), s;
14707
14711
  }
14708
14712
  async rescheduleBooking(e, n) {
14709
- var E;
14713
+ var P;
14710
14714
  if (this.schedulerStore.set("isLoading", !0), !e)
14711
14715
  return { error: this.errors.component(R.t("rescheduleBookingErrorTitle")).no_booking_id() };
14712
14716
  const r = this.errors.api(R.t("rescheduleBookingErrorTitle")), i = this.errors.component(R.t("rescheduleBookingErrorTitle")), { bookingInfo: o, selectedTimeslot: s, selectedTimezone: a, selectedLanguage: u } = this.schedulerStore.state, { startTime: c, endTime: d, timezone: l } = n, f = c || (s == null ? void 0 : s.start_time);
@@ -14716,50 +14720,54 @@ class i9 {
14716
14720
  if (!h)
14717
14721
  return { error: i.invalid_end_time('Please pass "endTime" in data or set "selectedTimeslot" in the defaultSchedulerState.') };
14718
14722
  const p = this.schedulerStore.get("availabilityOrderEmails");
14719
- let g = "";
14723
+ let b = "";
14720
14724
  if (p.length > 0) {
14721
- const D = (s == null ? void 0 : s.emails) || [];
14722
- for (let k = 0; k < p.length; k++)
14723
- if (D.includes(p[k])) {
14724
- g = p[k];
14725
+ const k = (s == null ? void 0 : s.emails) || [];
14726
+ for (let I = 0; I < p.length; I++)
14727
+ if (k.includes(p[I])) {
14728
+ b = p[I];
14725
14729
  break;
14726
14730
  }
14727
14731
  }
14728
14732
  const m = l || a;
14729
14733
  if (!m)
14730
14734
  return { error: i.invalid_timezone('Please pass "timezone" in data or set "selectedTimezone" in the defaultSchedulerState.') };
14731
- const y = n ? n == null ? void 0 : n.primaryParticipant : o == null ? void 0 : o.primaryParticipant, v = n ? (n == null ? void 0 : n.guests) || [] : (o == null ? void 0 : o.guests) || [], w = n ? n == null ? void 0 : n.additionalFields : o == null ? void 0 : o.additionalFields, C = !this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : "", B = `/v3/scheduling/bookings/${e}${C}`, P = this.getHeaders(), I = await this.makeAPIRequest(decodeURIComponent(B), "PATCH", JSON.stringify({
14735
+ const y = {};
14736
+ Object.entries((o == null ? void 0 : o.additionalFields) || {}).forEach(([k, I]) => {
14737
+ y[k] = I.value;
14738
+ });
14739
+ const v = n ? n == null ? void 0 : n.primaryParticipant : o == null ? void 0 : o.primaryParticipant, E = n ? (n == null ? void 0 : n.guests) || [] : (o == null ? void 0 : o.guests) || [], C = n ? n == null ? void 0 : n.additionalFields : y, $ = !this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : "", B = `/v3/scheduling/bookings/${e}${$}`, D = this.getHeaders(), j = await this.makeAPIRequest(decodeURIComponent(B), "PATCH", JSON.stringify({
14732
14740
  start_time: f.getTime() / 1e3,
14733
14741
  end_time: h.getTime() / 1e3,
14734
14742
  timezone: m,
14735
- additional_fields: w,
14736
- guest: { ...y },
14737
- additional_guests: v,
14738
- participants: g ? [{ email: g }] : void 0,
14743
+ additional_fields: C,
14744
+ guest: { ...v },
14745
+ additional_guests: E,
14746
+ participants: b ? [{ email: b }] : void 0,
14739
14747
  email_language: this.getTwoLetterLanguageCode(u)
14740
- }), P);
14741
- if ("error" in I) {
14748
+ }), D);
14749
+ if ("error" in j) {
14742
14750
  this.schedulerStore.set("isLoading", !1);
14743
- const D = (E = I.error) == null ? void 0 : E.type;
14744
- let k = I.error;
14745
- if (D && D in r) {
14746
- const $ = this.getErrorMessage(k);
14747
- k = r[D]($);
14751
+ const k = (P = j.error) == null ? void 0 : P.type;
14752
+ let I = j.error;
14753
+ if (k && k in r) {
14754
+ const T = this.getErrorMessage(I);
14755
+ I = r[k](T);
14748
14756
  }
14749
- return { error: k };
14757
+ return { error: I };
14750
14758
  }
14751
- const j = this.schedulerStore.get("reschedulingEventInfo");
14752
- if ("data" in I)
14753
- this.schedulerStore.set("eventInfo", I == null ? void 0 : I.data);
14754
- else if (j)
14755
- this.schedulerStore.set("eventInfo", j);
14759
+ const w = this.schedulerStore.get("reschedulingEventInfo");
14760
+ if ("data" in j)
14761
+ this.schedulerStore.set("eventInfo", j == null ? void 0 : j.data);
14762
+ else if (w)
14763
+ this.schedulerStore.set("eventInfo", w);
14756
14764
  else {
14757
- const D = {
14765
+ const k = {
14758
14766
  booking_id: e
14759
14767
  };
14760
- this.schedulerStore.set("eventInfo", D);
14768
+ this.schedulerStore.set("eventInfo", k);
14761
14769
  }
14762
- return this.schedulerStore.set("isLoading", !1), I;
14770
+ return this.schedulerStore.set("isLoading", !1), j;
14763
14771
  }
14764
14772
  async updateBooking(e) {
14765
14773
  var l;
@@ -15466,7 +15474,7 @@ const a9 = ".sc-add-circle-icon-h{display:flex}", u9 = a9, c9 = te(class extends
15466
15474
  super(), this.__registerHost(), this.width = "24", this.height = "25";
15467
15475
  }
15468
15476
  render() {
15469
- return b("svg", { key: "5f4574833991cf259f08df93a218894bd849d112", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "5369d12ef03c62758a830c0a48d45aa1f731bbc8", d: "M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z", fill: "currentColor" }));
15477
+ return g("svg", { key: "9e690681d1b901e7e3d253077f78686f791649a5", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "790a61b553585cc1f31547f19adadc95a46c5166", d: "M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z", fill: "currentColor" }));
15470
15478
  }
15471
15479
  static get style() {
15472
15480
  return u9;
@@ -15491,7 +15499,7 @@ const l9 = ".wave{display:flex;align-items:center;justify-content:center}.dot{wi
15491
15499
  super(), this.__registerHost(), this.__attachShadow(), this.width = "15", this.height = "15";
15492
15500
  }
15493
15501
  render() {
15494
- return b("div", { key: "4fd330645289551b628d0721382f4f24769b09c9", class: "wave" }, b("div", { key: "b23500951f1409eb1ffb244d2b9ee78e444264ac", class: "dot" }), b("div", { key: "4ae7966e56af13fb94df25a46e734909f95febea", class: "dot" }), b("div", { key: "da55a5c9efa1f7de83252d32324b4c8726c6ee66", class: "dot" }));
15502
+ return g("div", { key: "bdc7f9acf0664597d87c4a2cc8917783a13c142e", class: "wave" }, g("div", { key: "15dcde4af03cb76dc4860c26742f97190f9e0cab", class: "dot" }), g("div", { key: "43bb08a9fbc89a1219f6f0b749413f6bca4bd253", class: "dot" }), g("div", { key: "16ca9fed347d7d67869ae4bfdbaecdd4c9bd33d9", class: "dot" }));
15495
15503
  }
15496
15504
  static get style() {
15497
15505
  return d9;
@@ -15517,7 +15525,7 @@ const h9 = "button.sc-button-component{display:flex;align-items:center;justify-c
15517
15525
  }
15518
15526
  render() {
15519
15527
  const e = `button-${this.variant}` + (this.disabled ? " disabled" : "");
15520
- return b("button", { key: "062f523a6eaa6c883cb39a4ffc6d26a12c83912d", class: e, disabled: this.disabled, type: "type", title: this.tooltip, onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, !!this.isLoading && b("loading-icon", { slot: "icon" }), b("slot", { key: "dbac2e8205f067c8c38e62afbb35f5ab9222dba3" }));
15528
+ return g("button", { key: "2a4e992f2030ebb415320236ea0765802f589b6c", class: e, disabled: this.disabled, type: "type", title: this.tooltip, onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, !!this.isLoading && g("loading-icon", { slot: "icon" }), g("slot", { key: "c7a81cba389b6d0aa8974f7e599fdb84773deeb5" }));
15521
15529
  }
15522
15530
  static get style() {
15523
15531
  return p9;
@@ -15553,7 +15561,7 @@ const g9 = ".sc-calendar-cancel-icon-h{display:flex}", b9 = g9, y9 = te(class ex
15553
15561
  super(), this.__registerHost(), this.width = "20", this.height = "20";
15554
15562
  }
15555
15563
  render() {
15556
- return b("svg", { key: "5ff29ddc97a243744db396235bc13b7195c89d25", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "fa795122766d6e316bd976c764f755e9030e339d", d: "M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z", fill: "currentColor" }));
15564
+ return g("svg", { key: "73067881feeacd7becb2872f91f78229996f06dd", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "bed216fd298ad011b68ac073bfd1e8c526855566", d: "M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z", fill: "currentColor" }));
15557
15565
  }
15558
15566
  static get style() {
15559
15567
  return b9;
@@ -15578,7 +15586,7 @@ const v9 = ".sc-calendar-check-icon-h{display:flex}", _9 = v9, k9 = te(class ext
15578
15586
  super(), this.__registerHost(), this.width = "20", this.height = "20";
15579
15587
  }
15580
15588
  render() {
15581
- return b("svg", { key: "d420247054d820d224bbd96b2621070bd99ab4f2", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "6eab330ec43178d80f6749af4dc04df8cf13330f", fill: "currentColor", d: "M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z" }));
15589
+ return g("svg", { key: "a5370d8a3a42db8fc9427f05882c22604196d36b", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "92afc634de1e85e89c07ef55b3a0888b4c269831", fill: "currentColor", d: "M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z" }));
15582
15590
  }
15583
15591
  static get style() {
15584
15592
  return _9;
@@ -15603,7 +15611,7 @@ const x9 = ".sc-calendar-icon-h{display:flex}", w9 = x9, E9 = te(class extends n
15603
15611
  super(), this.__registerHost(), this.width = "15", this.height = "15";
15604
15612
  }
15605
15613
  render() {
15606
- return b("svg", { key: "191b109701c6f5313db44b645c587e5fa87b05b1", width: this.width, height: this.height, fill: "none", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "342f1e92a6d3883109903d0d039ad06ba1862476", fill: "currentColor", d: "M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z" }));
15614
+ return g("svg", { key: "39561d399a389e6184f4c64ef06d99a6b8f62f29", width: this.width, height: this.height, fill: "none", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "70b125ef198c0a892da3235a47c9de5649eb7d82", fill: "currentColor", d: "M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z" }));
15607
15615
  }
15608
15616
  static get style() {
15609
15617
  return w9;
@@ -15648,7 +15656,7 @@ const C9 = '.checkbox-container{--nylas-primary:#2563eb;--nylas-error:#cc4841;--
15648
15656
  });
15649
15657
  }
15650
15658
  render() {
15651
- return b("div", { key: "74e0d44c5ddaed43394168f6ab4cdc72ebf3bd16", class: "checkbox-container" }, b("label", { key: "70277f3b2f7dac256bb8c51f596b5f0f17e32978" }, b("input", { key: "c5345e326259f7d9d4a49d4acb57e304c1af1145", type: "checkbox", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), b("span", { key: "45fc49120959723dec59cdb941f755e0ad609fe2", class: "checkmark" }), b("slot", { key: "238f1cd2c6bff3e37a1f52025e5e8fea0fa79b91", name: "label" }, b("span", { key: "71145a01988e0b4c7a287f66bc426d88a0bf411e", class: "label" }, this.label))), this.error && b("p", { class: "error" }, this.error));
15659
+ return g("div", { key: "f4dfab5a5da9f9c79424930bfd5497c24dc1bfe5", class: "checkbox-container" }, g("label", { key: "78e192f2eddcfd788ac16e80be3ac0b9c47e6f6a" }, g("input", { key: "6e3aa50fb6542cb134dc5454e9fc0052be22e36f", type: "checkbox", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), g("span", { key: "abbd103b06bf934eff294b443b468e446901c371", class: "checkmark" }), g("slot", { key: "f11d669ba02b705ba7679985e83b91086a17ccc9", name: "label" }, g("span", { key: "1298c44fbbe9ce75638b00ac07e6e83bab1394c2", class: "label" }, this.label))), this.error && g("p", { class: "error" }, this.error));
15652
15660
  }
15653
15661
  get el() {
15654
15662
  return this;
@@ -15680,7 +15688,7 @@ const A9 = ".sc-checkmark-circle-icon-h{display:flex}", $9 = A9, I9 = te(class e
15680
15688
  super(), this.__registerHost(), this.width = "20", this.height = "20";
15681
15689
  }
15682
15690
  render() {
15683
- return b("svg", { key: "b649104414191838b83ade055743e6bed4ff7a05", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, b("path", { key: "3789e5cbd09550b5a9fb1b715f82198caa7efe37", fill: "currentColor", d: "M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z" }));
15691
+ return g("svg", { key: "236437ba0c458e74e9c1c275a2207be0bc767c17", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, g("path", { key: "ba7976c7791f538dc7e4831a083c087b9185613a", fill: "currentColor", d: "M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z" }));
15684
15692
  }
15685
15693
  static get style() {
15686
15694
  return $9;
@@ -15705,7 +15713,7 @@ const B9 = ".sc-chevron-icon-h{display:flex}", D9 = B9, M9 = te(class extends ne
15705
15713
  super(), this.__registerHost(), this.width = "24", this.height = "24";
15706
15714
  }
15707
15715
  render() {
15708
- return b("svg", { key: "750f65d52fa710778d800b825058c4f49c3bd998", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, b("path", { key: "f03cbd70f5a3b0304c2fd55960ccf20576619908", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
15716
+ return g("svg", { key: "fb1ba717c31f07393be2b8b0c984e1be9aac2042", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, g("path", { key: "df8820887c1787356ad0727baf34fe0c5b76bbd4", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
15709
15717
  }
15710
15718
  static get style() {
15711
15719
  return D9;
@@ -15730,7 +15738,7 @@ const P9 = ".sc-clock-icon-h{display:flex}", R9 = P9, O9 = te(class extends ne {
15730
15738
  super(), this.__registerHost(), this.width = "16", this.height = "16";
15731
15739
  }
15732
15740
  render() {
15733
- return b("svg", { key: "b333677464fef61be9d0813857b38e973a7c9dd0", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "d4dd428b261b7b744dfe0c64fd42b8b1e017cf2d", d: "M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z", fill: "currentColor" }));
15741
+ return g("svg", { key: "a43286079781f2fb317a0a7b9d651f3fe7012800", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "434cb947dc4f5a3802cede1bc4bc9ea420faa7a8", d: "M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z", fill: "currentColor" }));
15734
15742
  }
15735
15743
  static get style() {
15736
15744
  return R9;
@@ -15755,7 +15763,7 @@ const L9 = ".sc-close-icon-h{display:flex}", N9 = L9, F9 = te(class extends ne {
15755
15763
  super(), this.__registerHost(), this.width = "16", this.height = "16";
15756
15764
  }
15757
15765
  render() {
15758
- return b("svg", { key: "ae2727b3e3bb8e386a60828defc34532de883473", width: "21", height: "21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("g", { key: "3bc87607b1cf527273887ff3835716c2b16c312c", "clip-path": "url(#a)" }, b("path", { key: "3e5870c3439d7aba6930d4468925e958cd3867bf", d: "M5.73 4.574a.75.75 0 1 0-1.061 1.06l4.419 4.42-4.42 4.42a.75.75 0 1 0 1.061 1.06l4.42-4.42 4.419 4.42a.75.75 0 0 0 1.06-1.06l-4.419-4.42 4.42-4.42a.75.75 0 1 0-1.061-1.06l-4.42 4.42-4.419-4.42Z", fill: "currentColor" })), b("defs", { key: "7ae8ce566367e278782c83c4c2a3964013968579" }, b("clipPath", { key: "184fe559a12c59831e92e05d9564787fb14ce197", id: "a" }, b("path", { key: "907b8eb528141f6ff41e3d266557d6b720617a2a", fill: "#fff", transform: "translate(.148 .054)", d: "M0 0h20v20H0z" }))));
15766
+ return g("svg", { key: "ea4c2e95733509b6dec0689e638a25df560567e2", width: "21", height: "21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("g", { key: "49366dc579896a3e8fcfed0c7d3cce7dab209d50", "clip-path": "url(#a)" }, g("path", { key: "57a3efd12ca2c8f019b118f0113172342ddb6354", d: "M5.73 4.574a.75.75 0 1 0-1.061 1.06l4.419 4.42-4.42 4.42a.75.75 0 1 0 1.061 1.06l4.42-4.42 4.419 4.42a.75.75 0 0 0 1.06-1.06l-4.419-4.42 4.42-4.42a.75.75 0 1 0-1.061-1.06l-4.42 4.42-4.419-4.42Z", fill: "currentColor" })), g("defs", { key: "424636139255dfdcebe6d3dc901c84168c4c713e" }, g("clipPath", { key: "0ebaa728a38c48694e48f1182c1de98bba97ff0d", id: "a" }, g("path", { key: "bfe4ed6e55fe74a819e6d512a0b7e2c018baec14", fill: "#fff", transform: "translate(.148 .054)", d: "M0 0h20v20H0z" }))));
15759
15767
  }
15760
15768
  static get style() {
15761
15769
  return N9;
@@ -15780,7 +15788,7 @@ const j9 = ".sc-feedback-icon-h{display:flex}", U9 = j9, z9 = te(class extends n
15780
15788
  super(), this.__registerHost(), this.width = "11", this.height = "14";
15781
15789
  }
15782
15790
  render() {
15783
- return b("svg", { key: "1e7e1826be1f86b435464168fa36ac8d828b4a23", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "1ee9e1f6fd7faaddf27b621c1ca5e20cdde34f44", d: "M0.5 8.875C0.5 8.875 1.125 8.25 3 8.25C4.875 8.25 6.125 9.5 8 9.5C9.875 9.5 10.5 8.875 10.5 8.875V1.375C10.5 1.375 9.875 2 8 2C6.125 2 4.875 0.75 3 0.75C1.125 0.75 0.5 1.375 0.5 1.375V8.875ZM0.5 8.875V13.25", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }));
15791
+ return g("svg", { key: "fc5d4aa6d299768c11f13c54218eaf28a45c97df", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "457d0f4155d6da655950e8fb1d3c74374b053782", d: "M0.5 8.875C0.5 8.875 1.125 8.25 3 8.25C4.875 8.25 6.125 9.5 8 9.5C9.875 9.5 10.5 8.875 10.5 8.875V1.375C10.5 1.375 9.875 2 8 2C6.125 2 4.875 0.75 3 0.75C1.125 0.75 0.5 1.375 0.5 1.375V8.875ZM0.5 8.875V13.25", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }));
15784
15792
  }
15785
15793
  static get style() {
15786
15794
  return U9;
@@ -15805,7 +15813,7 @@ const q9 = ".sc-globe-icon-h{display:flex}", G9 = q9, Y9 = te(class extends ne {
15805
15813
  super(), this.__registerHost(), this.width = "16", this.height = "16";
15806
15814
  }
15807
15815
  render() {
15808
- return b("svg", { key: "6d2438d4cba21ffe183b4e2398e88cdecd682906", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 16 16", fill: "none" }, b("path", { key: "8b9c541ba270469b64bfe4d98995196ede0fd286", d: "M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM8 3C8.37372 3 8.87543 3.35608 9.31258 4.31781C9.4073 4.52619 9.49448 4.75446 9.57265 5H6.42735C6.50552 4.75446 6.5927 4.52619 6.68742 4.31781C7.12457 3.35608 7.62628 3 8 3ZM5.77705 3.90401C5.62614 4.23601 5.49428 4.6038 5.38411 5H3.99963C4.52341 4.30269 5.22525 3.74677 6.03766 3.39978C5.94287 3.56117 5.85596 3.7304 5.77705 3.90401ZM5.16299 6C5.05694 6.6275 5 7.30146 5 8C5 8.69854 5.05694 9.3725 5.16299 10H3.41604C3.14845 9.38754 3 8.7111 3 8C3 7.2889 3.14845 6.61246 3.41604 6H5.16299ZM5.38411 11C5.49428 11.3962 5.62614 11.764 5.77705 12.096C5.85596 12.2696 5.94287 12.4388 6.03766 12.6002C5.22525 12.2532 4.52341 11.6973 3.99963 11H5.38411ZM6.42735 11H9.57265C9.49448 11.2455 9.4073 11.4738 9.31258 11.6822C8.87543 12.6439 8.37372 13 8 13C7.62628 13 7.12457 12.6439 6.68742 11.6822C6.5927 11.4738 6.50552 11.2455 6.42735 11ZM9.82134 10H6.17866C6.06438 9.3892 6 8.71396 6 8C6 7.28604 6.06438 6.6108 6.17866 6H9.82134C9.93562 6.6108 10 7.28604 10 8C10 8.71396 9.93562 9.3892 9.82134 10ZM10.6159 11H12.0004C11.4766 11.6973 10.7747 12.2532 9.96234 12.6002C10.0571 12.4388 10.144 12.2696 10.2229 12.096C10.3739 11.764 10.5057 11.3962 10.6159 11ZM12.584 10H10.837C10.9431 9.3725 11 8.69854 11 8C11 7.30146 10.9431 6.6275 10.837 6H12.584C12.8516 6.61246 13 7.2889 13 8C13 8.7111 12.8516 9.38754 12.584 10ZM9.96234 3.39978C10.7747 3.74677 11.4766 4.30269 12.0004 5H10.6159C10.5057 4.6038 10.3739 4.23601 10.2229 3.90401C10.144 3.7304 10.0571 3.56117 9.96234 3.39978Z", fill: "currentColor" }));
15816
+ return g("svg", { key: "98e808bd1ac6b795bde88c406417bc6c6d591b9a", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 16 16", fill: "none" }, g("path", { key: "7f2bde4ecf31c667198f791c6f8b313d145f4591", d: "M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM8 3C8.37372 3 8.87543 3.35608 9.31258 4.31781C9.4073 4.52619 9.49448 4.75446 9.57265 5H6.42735C6.50552 4.75446 6.5927 4.52619 6.68742 4.31781C7.12457 3.35608 7.62628 3 8 3ZM5.77705 3.90401C5.62614 4.23601 5.49428 4.6038 5.38411 5H3.99963C4.52341 4.30269 5.22525 3.74677 6.03766 3.39978C5.94287 3.56117 5.85596 3.7304 5.77705 3.90401ZM5.16299 6C5.05694 6.6275 5 7.30146 5 8C5 8.69854 5.05694 9.3725 5.16299 10H3.41604C3.14845 9.38754 3 8.7111 3 8C3 7.2889 3.14845 6.61246 3.41604 6H5.16299ZM5.38411 11C5.49428 11.3962 5.62614 11.764 5.77705 12.096C5.85596 12.2696 5.94287 12.4388 6.03766 12.6002C5.22525 12.2532 4.52341 11.6973 3.99963 11H5.38411ZM6.42735 11H9.57265C9.49448 11.2455 9.4073 11.4738 9.31258 11.6822C8.87543 12.6439 8.37372 13 8 13C7.62628 13 7.12457 12.6439 6.68742 11.6822C6.5927 11.4738 6.50552 11.2455 6.42735 11ZM9.82134 10H6.17866C6.06438 9.3892 6 8.71396 6 8C6 7.28604 6.06438 6.6108 6.17866 6H9.82134C9.93562 6.6108 10 7.28604 10 8C10 8.71396 9.93562 9.3892 9.82134 10ZM10.6159 11H12.0004C11.4766 11.6973 10.7747 12.2532 9.96234 12.6002C10.0571 12.4388 10.144 12.2696 10.2229 12.096C10.3739 11.764 10.5057 11.3962 10.6159 11ZM12.584 10H10.837C10.9431 9.3725 11 8.69854 11 8C11 7.30146 10.9431 6.6275 10.837 6H12.584C12.8516 6.61246 13 7.2889 13 8C13 8.7111 12.8516 9.38754 12.584 10ZM9.96234 3.39978C10.7747 3.74677 11.4766 4.30269 12.0004 5H10.6159C10.5057 4.6038 10.3739 4.23601 10.2229 3.90401C10.144 3.7304 10.0571 3.56117 9.96234 3.39978Z", fill: "currentColor" }));
15809
15817
  }
15810
15818
  static get style() {
15811
15819
  return G9;
@@ -15830,7 +15838,7 @@ const K9 = ".sc-info-icon-h{display:flex}", W9 = K9, V9 = te(class extends ne {
15830
15838
  super(), this.__registerHost(), this.width = "14", this.height = "14";
15831
15839
  }
15832
15840
  render() {
15833
- return b("svg", { key: "149fd3ce434b49a4f6537d02e61826b37902eaf7", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "0f3bee3c4081b4d171771096bfe4f325a64dbe1c", fill: "currentColor", d: "M6.5 5.5C6.77614 5.5 7 5.72386 7 6V9C7 9.27614 6.77614 9.5 6.5 9.5C6.22386 9.5 6 9.27614 6 9V6C6 5.72386 6.22386 5.5 6.5 5.5ZM6.50001 4.74907C6.91369 4.74907 7.24905 4.41371 7.24905 4.00003C7.24905 3.58635 6.91369 3.251 6.50001 3.251C6.08633 3.251 5.75098 3.58635 5.75098 4.00003C5.75098 4.41371 6.08633 4.74907 6.50001 4.74907ZM0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5C9.81371 0.5 12.5 3.18629 12.5 6.5C12.5 9.81371 9.81371 12.5 6.5 12.5C3.18629 12.5 0.5 9.81371 0.5 6.5ZM6.5 1.5C3.73858 1.5 1.5 3.73858 1.5 6.5C1.5 9.26142 3.73858 11.5 6.5 11.5C9.26142 11.5 11.5 9.26142 11.5 6.5C11.5 3.73858 9.26142 1.5 6.5 1.5Z" }));
15841
+ return g("svg", { key: "3087788ff23b6230877edbe5ef6ec384a3cbd3cc", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "41bc050582f31986abd97b6eab9c6d52a24dc62c", fill: "currentColor", d: "M6.5 5.5C6.77614 5.5 7 5.72386 7 6V9C7 9.27614 6.77614 9.5 6.5 9.5C6.22386 9.5 6 9.27614 6 9V6C6 5.72386 6.22386 5.5 6.5 5.5ZM6.50001 4.74907C6.91369 4.74907 7.24905 4.41371 7.24905 4.00003C7.24905 3.58635 6.91369 3.251 6.50001 3.251C6.08633 3.251 5.75098 3.58635 5.75098 4.00003C5.75098 4.41371 6.08633 4.74907 6.50001 4.74907ZM0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5C9.81371 0.5 12.5 3.18629 12.5 6.5C12.5 9.81371 9.81371 12.5 6.5 12.5C3.18629 12.5 0.5 9.81371 0.5 6.5ZM6.5 1.5C3.73858 1.5 1.5 3.73858 1.5 6.5C1.5 9.26142 3.73858 11.5 6.5 11.5C9.26142 11.5 11.5 9.26142 11.5 6.5C11.5 3.73858 9.26142 1.5 6.5 1.5Z" }));
15834
15842
  }
15835
15843
  static get style() {
15836
15844
  return W9;
@@ -15902,7 +15910,7 @@ const Z9 = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
15902
15910
  !this.pattern || !e && !this.required || (this.pattern.test(e) ? this.error = "" : this.error = this.patternError || "Invalid format.");
15903
15911
  }
15904
15912
  render() {
15905
- return b("label", { key: "e34259d7c68764f76d23e5e29a2e146abc37d8e8", part: "ic__label", class: { error: !!this.error } }, this.label && b("p", null, b("span", { class: "label" }, this.label), this.required && b("span", { class: "required" }, "*")), b("div", { key: "bbf9cc51221105ef91447dec3e6a8f37112652fb", part: "ic__input_wrapper", class: "input_wrapper" }, b("input", { key: "a4772fec8494e8ae308960568baf58dddebbb741", type: "text", name: this.name, part: "ic__input", readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, placeholder: this.placeholder, class: { error: !!this.error }, onInput: (e) => this.handleInput(e), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur() }), b("slot", { key: "4baaf6f7b6929da24393e3f81df17fb8ce263d4a", name: "additional-input" })), this.error && b("span", { class: "error help-text" }, this.error));
15913
+ return g("label", { key: "9f2b420dc76c3fd263d690689887ac66ce519264", part: "ic__label", class: { error: !!this.error } }, this.label && g("p", null, g("span", { class: "label" }, this.label), this.required && g("span", { class: "required" }, "*")), g("div", { key: "2a4405560068cfad04acda9bd5ef6ec6c79646f0", part: "ic__input_wrapper", class: "input_wrapper" }, g("input", { key: "fa44c6f9e2c93698fa49948a7ec74f2a87aeb852", type: "text", name: this.name, part: "ic__input", readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, placeholder: this.placeholder, class: { error: !!this.error }, onInput: (e) => this.handleInput(e), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur() }), g("slot", { key: "b37c67e64154ed48cadc382c64eca9313b967f66", name: "additional-input" })), this.error && g("span", { class: "error help-text" }, this.error));
15906
15914
  }
15907
15915
  get el() {
15908
15916
  return this;
@@ -16049,7 +16057,7 @@ function _t(t) {
16049
16057
  });
16050
16058
  };
16051
16059
  }
16052
- const rC = ":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%}", iC = rC;
16060
+ const rC = ':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-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%}', iC = rC;
16053
16061
  var oC = function(t, e, n, r) {
16054
16062
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
16055
16063
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -16087,7 +16095,7 @@ const v5 = te(class extends ne {
16087
16095
  default:
16088
16096
  return "";
16089
16097
  }
16090
- }, this.eventInfo = void 0, this.rescheduleBookingId = void 0, this.bookingInfo = void 0, this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedTimeslot = void 0, this.configSettings = void 0, this.isLoading = void 0, this.selectedLanguage = navigator.language, this.startTime = "", this.endTime = "";
16098
+ }, this.eventInfo = void 0, this.rescheduleBookingId = void 0, this.bookingInfo = void 0, this.configSettings = void 0, this.isLoading = void 0, this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedTimeslot = void 0, this.selectedLanguage = navigator.language, this.startTime = "", this.endTime = "";
16091
16099
  }
16092
16100
  connectedCallback() {
16093
16101
  }
@@ -16101,13 +16109,13 @@ const v5 = te(class extends ne {
16101
16109
  N("[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.'), this.startTime = Od((e = this.selectedTimeslot) == null ? void 0 : e.start_time, this.selectedTimezone), this.endTime = Od((n = this.selectedTimeslot) == null ? void 0 : n.end_time, this.selectedTimezone);
16102
16110
  }
16103
16111
  render() {
16104
- var r, i, o, s, a, u, c, d, l, f, h, p, g, m, y, v;
16112
+ var r, i, o, s, a, u, c, d, l, f, h, p, b, m, y, v;
16105
16113
  const e = (r = this.configSettings) == null ? void 0 : r.booking_type, n = e && e !== "booking";
16106
- return b(ye, { key: "3f0b76f9b5f26d05aaa2d31821a2efa255212b10", part: "nbec" }, b("div", { key: "64d6fcb473af121495dc22b5681ff13cc99cba93", class: "nylas-booked-event-card" }, b("div", { key: "c0503453b6341171778619588452cf6b9be6034c", class: "booked-event-timezone" }, b("globe-icon", { key: "200569b371723f89d79361fa119c7c0668190c6c" }), ei[this.selectedTimezone]), b("div", { key: "09197fcc9429484c32c6030e7d76d94efc0b5e4e", class: "event-card-wrapper", part: "nbec__card" }, b("div", { key: "8356550843fa7f6498db7a338cc494e0ab9e39f5", class: "calendar-icon" }, b("calendar-check-icon", { key: "d04242aeb233d24a70ecc93fed80816545ec5adf" })), b("div", { key: "ee7af6bc4207da846efe0e6cf550aeb7edc14806", class: "booked-event-header" }, b("h2", { key: "6d054e9429c7d3695725f4fb969b85f7e9f50f44", slot: "card-title", part: "nbec__title" }, this.rescheduleBookingId && !this.isLoading ? `${R.t("bookingRescheduled")}` : n && !this.isLoading ? `${R.t("bookingSent")}` : `${R.t("bookingConfirmed")}`, "!"), b("div", { key: "1ea44bacdc8f8013bbed3395bd4a601453765a6a", class: "card-description", part: "nbec__description" }, n ? R.t("bookingSentDescription") : b("span", null, R.t("bookingConfirmedDescription")))), b("div", { key: "4d4cdf50ad8f80826d2c3e5d48db5dc7472e0b73", class: "booking-date-time" }, b("checkmark-circle-icon", { key: "a3727ff8b06fd002f2126c6f587228ae482754dc" }), b("h3", { key: "4d3e6798e236c2da3e7ccc8b0c2982107fa93e61" }, R.t("bookingDateAndTimeHeader")), b("p", { key: "2669d3f2d99b7227c3781cf65e058ce47a8c6fe4" }, (i = this.selectedTimeslot) != null && i.start_time ? Pc(new Date((o = this.selectedTimeslot) == null ? void 0 : o.start_time).toLocaleDateString(Kc[this.selectedLanguage], { dateStyle: "full" })) : "-", " ", b("br", { key: "8f4f99417f8684678ff30d1300c655a5ab909da8" }), this.startTime, " - ", this.endTime)), b("div", { key: "c37bfad518c9e0530755253706d39e0fdacf413b", class: "booking-participants" }), !n && b("div", { class: "button-container" }, b("div", { class: {
16114
+ return g(ye, { key: "4c047c53d7532b60d6d28be607b3e926e07f2e50", part: "nbec" }, g("div", { key: "154180aa38c82fc2e28d8b9ad753804fdfb837d7", class: "nylas-booked-event-card" }, g("div", { key: "a6d046deffb82706bd609a2ac7f33f462578326a", class: "booked-event-timezone" }, g("globe-icon", { key: "22418924800ed88cdf685441561728ecac4594cd" }), ei[this.selectedTimezone]), g("div", { key: "f4f4ffb1ff084cba9f1032c1d5e394a9b65286e2", class: "event-card-wrapper", part: "nbec__card" }, g("div", { key: "7440e6baed4f509594acf69166566a6546d9b2ae", class: "calendar-icon" }, g("calendar-check-icon", { key: "6a82cfb9ac8d89bb8151e86dcbb9d49422513b89" })), g("div", { key: "c913c479384ecd4e5df96dea05a1305a12df76c8", class: "booked-event-header" }, g("h2", { key: "c818d579e73751d6e83bf50f9dc34a3523e2b0f1", slot: "card-title", part: "nbec__title" }, this.rescheduleBookingId && !this.isLoading ? `${R.t("bookingRescheduled")}` : n && !this.isLoading ? `${R.t("bookingSent")}` : `${R.t("bookingConfirmed")}`, "!"), g("div", { key: "bb6cef397ebe5aec3ed49f455ac00430594c4c6f", class: "card-description", part: "nbec__description" }, n ? R.t("bookingSentDescription") : g("span", null, R.t("bookingConfirmedDescription")))), g("div", { key: "d4732fc9421c4d54062bdac74e69a476322f168a", class: "booking-date-time" }, g("checkmark-circle-icon", { key: "caadcce299c4506d709a65bfbc3d10fec64ef6d6" }), g("h3", { key: "8a2dc813f1be6bab13a53328c4e9dbb5ec7d41df" }, R.t("bookingDateAndTimeHeader")), g("p", { key: "fedc61f46ba1b96e424b23aff08c382296e4a6d3" }, (i = this.selectedTimeslot) != null && i.start_time ? Pc(new Date((o = this.selectedTimeslot) == null ? void 0 : o.start_time).toLocaleDateString(Kc[this.selectedLanguage], { dateStyle: "full" })) : "-", " ", g("br", { key: "6efc18bfd398bca545c359b5876ff9a16792485f" }), this.startTime, " - ", this.endTime)), g("div", { key: "c972d3fc4f1541ec6a1fde958176de0adccf3bcd", class: "booking-participants" }), !n && g("div", { class: "button-container" }, g("div", { class: {
16107
16115
  footer: !0,
16108
16116
  "no-footer": ((a = (s = this.configSettings) == null ? void 0 : s.scheduler) == null ? void 0 : a.hide_cancellation_options) && ((c = (u = this.configSettings) == null ? void 0 : u.scheduler) == null ? void 0 : c.hide_rescheduling_options) || ((d = this.configSettings) == null ? void 0 : d.booking_type) === "organizer-confirmation",
16109
16117
  "no-template-cols": ((f = (l = this.configSettings) == null ? void 0 : l.scheduler) == null ? void 0 : f.hide_cancellation_options) || ((p = (h = this.configSettings) == null ? void 0 : h.scheduler) == null ? void 0 : p.hide_rescheduling_options)
16110
- } }, !((m = (g = this.configSettings) == null ? void 0 : g.scheduler) != null && m.hide_cancellation_options) && b("button-component", { variant: "destructive", onClick: this.handleCancelBookingButtonClicked, part: "nbec__button-outline nbec__cancel-cta" }, `${R.t("cancelBookingButton")}`), !((v = (y = this.configSettings) == null ? void 0 : y.scheduler) != null && v.hide_rescheduling_options) && b("button-component", { variant: "basic", onClick: this.handleRescheduleButtonClicked, part: "nbec__button-outline nbec__reschedule-cta" }, `${R.t("rescheduleBookingButton")}`))))));
16118
+ } }, !((m = (b = this.configSettings) == null ? void 0 : b.scheduler) != null && m.hide_cancellation_options) && g("button-component", { variant: "destructive", onClick: this.handleCancelBookingButtonClicked, part: "nbec__button-outline nbec__cancel-cta" }, `${R.t("cancelBookingButton")}`), !((v = (y = this.configSettings) == null ? void 0 : y.scheduler) != null && v.hide_rescheduling_options) && g("button-component", { variant: "basic", onClick: this.handleRescheduleButtonClicked, part: "nbec__button-outline nbec__reschedule-cta" }, `${R.t("rescheduleBookingButton")}`))))));
16111
16119
  }
16112
16120
  static get style() {
16113
16121
  return iC;
@@ -16116,10 +16124,10 @@ const v5 = te(class extends ne {
16116
16124
  eventInfo: [16],
16117
16125
  rescheduleBookingId: [1, "reschedule-booking-id"],
16118
16126
  bookingInfo: [8, "booking-info"],
16119
- selectedTimezone: [1, "selected-timezone"],
16120
- selectedTimeslot: [16],
16121
16127
  configSettings: [8, "config-settings"],
16122
16128
  isLoading: [4, "is-loading"],
16129
+ selectedTimezone: [1, "selected-timezone"],
16130
+ selectedTimeslot: [16],
16123
16131
  selectedLanguage: [1, "selected-language"],
16124
16132
  startTime: [32],
16125
16133
  endTime: [32]
@@ -16211,7 +16219,7 @@ const aC = '.radio-group{display:flex;flex-direction:column;gap:0.5rem;--nylas-p
16211
16219
  });
16212
16220
  }
16213
16221
  render() {
16214
- return b("div", { key: "6f0060f42904099fb5a9dd4fad67bb52a04daa73", class: "radio-group" }, b("slot", { key: "670730b884d45e19fb27ccb66fe5029c656ac8dd", name: "label" }, this.label && b("p", { class: { error: !!this.error } }, b("span", { class: "label" }, this.label), this.required && b("span", { class: "required" }, "*"))), this.options.map((e) => b("label", null, b("div", { class: "radio-option" }, b("input", { type: "radio", name: this.name, value: e.value, checked: this.selectedValue === e.value, onChange: () => this.handleChange(e.value) }), b("p", null, b("span", { class: "title" }, e.label), b("span", { class: "description" }, e.description))))), this.error && b("span", { class: "error help-text" }, this.error));
16222
+ return g("div", { key: "6848b97b9a503ab19ce43b405d86d6e98ca3caaa", class: "radio-group" }, g("slot", { key: "be574ba6675264e5f616f55126a6a83f3706975f", name: "label" }, this.label && g("p", { class: { error: !!this.error } }, g("span", { class: "label" }, this.label), this.required && g("span", { class: "required" }, "*"))), this.options.map((e) => g("label", null, g("div", { class: "radio-option" }, g("input", { type: "radio", name: this.name, value: e.value, checked: this.selectedValue === e.value, onChange: () => this.handleChange(e.value) }), g("p", null, g("span", { class: "title" }, e.label), g("span", { class: "description" }, e.description))))), this.error && g("span", { class: "error help-text" }, this.error));
16215
16223
  }
16216
16224
  get el() {
16217
16225
  return this;
@@ -16251,7 +16259,7 @@ const lC = ".sc-search-icon-h{display:flex}", dC = lC, fC = te(class extends ne
16251
16259
  super(), this.__registerHost(), this.width = "15", this.height = "15";
16252
16260
  }
16253
16261
  render() {
16254
- return b("svg", { key: "475f6a8b18cbc4cd5dae71afb1157cf7a2653bc7", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "c9df789c3d41d5fdf4c557f3c371a5a5b6fe9783", fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" }));
16262
+ return g("svg", { key: "ddf419d549f82cf693e9b261d671dcb402c193f6", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "d30e346032f2d41161d314e0b1305643688d6402", fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" }));
16255
16263
  }
16256
16264
  static get style() {
16257
16265
  return dC;
@@ -16370,11 +16378,11 @@ const hC = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nyla
16370
16378
  }
16371
16379
  render() {
16372
16380
  const e = this.generateButtonText(this.selectedOption, this.dropdownButtonText);
16373
- return b("div", { key: "c7b83d5ff4a62e9bfa3bd45eeee99a07ad544f4f", class: "dropdown", part: "sd_dropdown" }, b("label", { key: "be35a7cad3d6bc797268f970c403b95587dcc942", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && b("p", null, b("span", { class: "label" }, this.label), this.required && b("span", { class: "required" }, "*")), b("button", { key: "b718647bb19fb6a16a916617ffe6e5dd46022bba", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (n) => this.handleSelectButtonKeyDown(n) }, b("slot", { key: "590d08c9b4f0d39b5019ea6b457746b842c45ab2", name: "select-icon", "aria-hidden": "true" }), b("span", { key: "e163fe537b51357c076adbec269665efa10c548d", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && b("span", { class: {
16381
+ return g("div", { key: "ada528ac19d43f03f7717c3fe3102d3c87b95305", class: "dropdown", part: "sd_dropdown" }, g("label", { key: "cd088bcbfd74f506407597edad97730bc5fce96e", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && g("p", null, g("span", { class: "label" }, this.label), this.required && g("span", { class: "required" }, "*")), g("button", { key: "9f0e7d114b4978f37818c1d424b5f8c786ba8e87", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (n) => this.handleSelectButtonKeyDown(n) }, g("slot", { key: "e834d848d72159fa808ee8b3a48c2f66c0aad7fc", name: "select-icon", "aria-hidden": "true" }), g("span", { key: "2cbf36487ff22baf541534d86d3d210d61a8fced", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && g("span", { class: {
16374
16382
  open: this.isOpen,
16375
16383
  closed: !this.isOpen,
16376
16384
  chevron: !0
16377
- }, "aria-hidden": "true" }, b("chevron-icon", { width: "16", height: "16" }))), this.errorMessage && b("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? b("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && b("div", { class: { "search-box": !0, open: this.isOpen } }, b("search-icon", { width: "15", height: "15", class: "icon" }), b("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: (n) => this.inputRef = n, onInput: (n) => this.filterOptions(n), onKeyDown: (n) => this.handleComboboxKeyDown(n) })), b("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (n) => this.handleListboxKeydown(n) }, this.filteredOptions.map((n) => n.value.toString() ? b("li", { tabindex: "0", key: n.value, id: n.value, onClick: () => this.selectOption(n), role: "option" }, n.labelHTML ? b("div", { part: "sd_dropdown-labelhtml" }, n.labelHTML) : n.label) : null))) : null);
16385
+ }, "aria-hidden": "true" }, g("chevron-icon", { width: "16", height: "16" }))), this.errorMessage && g("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? g("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && g("div", { class: { "search-box": !0, open: this.isOpen } }, g("search-icon", { width: "15", height: "15", class: "icon" }), g("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: (n) => this.inputRef = n, onInput: (n) => this.filterOptions(n), onKeyDown: (n) => this.handleComboboxKeyDown(n) })), g("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (n) => this.handleListboxKeydown(n) }, this.filteredOptions.map((n) => n.value.toString() ? g("li", { tabindex: "0", key: n.value, id: n.value, onClick: () => this.selectOption(n), role: "option" }, n.labelHTML ? g("div", { part: "sd_dropdown-labelhtml" }, n.labelHTML) : n.label) : null))) : null);
16378
16386
  }
16379
16387
  get el() {
16380
16388
  return this;
@@ -16436,7 +16444,7 @@ const gC = '.tooltip-container{position:relative;display:flex;--nylas-primary:#2
16436
16444
  e.target.nextElementSibling.style.visibility = "hidden", e.target.nextElementSibling.style.opacity = "0";
16437
16445
  }
16438
16446
  render() {
16439
- return b("div", { key: "f7ed680c86f53928c284ced8d5a6c30cd6a8a158", class: "tooltip-container", part: "tc__container" }, b("span", { key: "07d396ac91688a025497e4ff9ea5ea4c9263e787", class: "info-icon", tabindex: "0", onFocus: this.showTooltip.bind(this), onBlur: this.hideTooltip.bind(this) }, b("slot", { key: "f8ed2155292bdd8f6e7adc72e0e89ed16a6fa823", name: "tooltip-icon" }, "i")), b("span", { key: "69f9669f987897f46ede1c67f6001824e7d27553", class: `tooltip-content ${this.position}`, part: "tc__content" }, b("slot", { key: "f7e46722aca747f4ec8022df2080d08e5200e256", name: "tooltip-content" }, "This is a help text.")));
16447
+ return g("div", { key: "dbfd3d300f3f3d3e139991f1cb84a12161b61a73", class: "tooltip-container", part: "tc__container" }, g("span", { key: "8a03f9657c641680d4fa166f3fc680d35aa24281", class: "info-icon", tabindex: "0", onFocus: this.showTooltip.bind(this), onBlur: this.hideTooltip.bind(this) }, g("slot", { key: "0f8478af1526e2775907e17555a36db85f482ff4", name: "tooltip-icon" }, "i")), g("span", { key: "171ae65f59875214c68e80749f5a9c108fb365fb", class: `tooltip-content ${this.position}`, part: "tc__content" }, g("slot", { key: "888f7faaf29825faa27df7935e47526d6fa6f126", name: "tooltip-content" }, "This is a help text.")));
16440
16448
  }
16441
16449
  get el() {
16442
16450
  return this;
@@ -16485,7 +16493,7 @@ const vC = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
16485
16493
  this.required && !e ? this.error = `${this.label} is required.` : e.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
16486
16494
  }
16487
16495
  render() {
16488
- return b("label", { key: "64fd0ab44f5bf5bfe2211448c46b1d8a0e1ce738", part: "tc__label", class: { error: !!this.error } }, b("p", { key: "757c7a471006fb281793ff131e579d6e55a1ac19" }, b("span", { key: "66661b8ca6bbcec8f61c7001eca363398b7496f5", class: "label" }, this.label), this.required && b("span", { class: "required" }, "*"), this.tooltip && b("tooltip-component", null, b("info-icon", { slot: "tooltip-icon" }), b("span", { slot: "tooltip-content" }, this.tooltip))), b("textarea", { key: "bb1de6d8152e1f723b66c85cab6085cc6843dce8", name: this.name, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && b("span", { class: "error help-text" }, this.error));
16496
+ return g("label", { key: "503a9e472a4dea351f13d8e430a0ee9ecc20e3fb", part: "tc__label", class: { error: !!this.error } }, g("p", { key: "7ce9a57c8e2dc9d0c3a88edf93ba09a3b49cf149" }, g("span", { key: "8feedbb7300d0eb20192b17a0482f9c981bba120", class: "label" }, this.label), this.required && g("span", { class: "required" }, "*"), this.tooltip && g("tooltip-component", null, g("info-icon", { slot: "tooltip-icon" }), g("span", { slot: "tooltip-content" }, this.tooltip))), g("textarea", { key: "79dd6889c5da4797b26504731583db5887c21bcb", name: this.name, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && g("span", { class: "error help-text" }, this.error));
16489
16497
  }
16490
16498
  static get style() {
16491
16499
  return _C;
@@ -16521,7 +16529,7 @@ function Fs() {
16521
16529
  }
16522
16530
  });
16523
16531
  }
16524
- const xC = ":host{display:block;height:100%}.nylas-booking-form{width:100%;padding:1.5rem;box-sizing:border-box;height:450px;overflow-y:auto;height:100%}form{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center}sp-textfield{--spectrum-corner-radius-100:var(--nylas-border-radius-2x);--spectrum-textfield-border-color:var(--nylas-base-300);position:relative;width:100%;height:48px;margin-bottom:16px;color:var(--nylas-base-500)}.cta{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;align-items:flex-start;justify-content:space-between;gap:0.5rem;padding:14px;box-sizing:border-box;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.cta{grid-template-columns:1fr}}.input-wrapper{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:1rem}.input-wrapper input::placeholder{color:var(--nylas-base-300)}.input-wrapper label,.input-wrapper input{font-family:var(--nylas-font-family);font-size:16px}.input-wrapper .help-text{margin:0;color:var(--nylas-error)}.button-wrapper{width:100%;align-items:flex-start;height:max-content;position:relative}.button-content{display:flex;gap:4px;align-items:center}sp-infield-button{--spectrum-infield-button-background-color:transparent;--spectrum-infield-button-background-color-hover:transparent;--spectrum-infield-button-background-color-active:transparent;--spectrum-infield-button-border-color:transparent;--spectrum-infield-button-border-width:1px;--spectrum-infield-button-border-radius:0;color:var(--nylas-base-600);background:transparent;border:none;outline:1px solid var(--nylas-base-300);border-radius:0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x) 0;height:52px;width:52px;display:flex;position:absolute;right:0;align-items:center;justify-content:center;cursor:pointer}sp-infield-button sp-icon-cross300{color:var(--nylas-base-600)}sp-infield-button.error{border-width:2px;border-color:var(--nylas-error)}input[type=text],input[type=email]{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%}input[type=text]:focus,input[type=email]:focus{outline-color:var(--nylas-primary)}input[type=text].error,input[type=email].error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}input[type=text].error::placeholder,input[type=email].error::placeholder{font-weight:400}input[type=text]::placeholder,input[type=email]::placeholder{color:var(--nylas-base-300)}input[type=text].guest-email,input[type=email].guest-email{color:var(--nylas-base-900);padding-right:52px}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}button-component.remove-guest{position:absolute;height:51px;right:0}button-component.remove-guest.error button{border-color:var(--nylas-error)}button-component.remove-guest button{height:inherit;border-top-left-radius:initial;border-bottom-left-radius:initial;border:none !important;border-left:1px solid var(--nylas-base-300) !important}button-component.remove-guest button:hover,button-component.remove-guest button:focus{outline:1px solid var(--nylas-primary) !important;color:var(--nylas-primary)}button-component.back button{--dot-color:var(--nylas-base-800)}.guest-email-input{position:relative;display:flex;width:100%}", wC = xC;
16532
+ const xC = ':host{display:block;height:100%;--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-booking-form{width:100%;padding:1.5rem;box-sizing:border-box;height:450px;overflow-y:auto;height:100%}form{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center}sp-textfield{--spectrum-corner-radius-100:var(--nylas-border-radius-2x);--spectrum-textfield-border-color:var(--nylas-base-300);position:relative;width:100%;height:48px;margin-bottom:16px;color:var(--nylas-base-500)}.cta{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;align-items:flex-start;justify-content:space-between;gap:0.5rem;padding:14px;box-sizing:border-box;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.cta{grid-template-columns:1fr}}.input-wrapper{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:1rem}.input-wrapper input::placeholder{color:var(--nylas-base-300)}.input-wrapper label,.input-wrapper input{font-family:var(--nylas-font-family);font-size:16px}.input-wrapper .help-text{margin:0;color:var(--nylas-error)}.button-wrapper{width:100%;align-items:flex-start;height:max-content;position:relative}.button-content{display:flex;gap:4px;align-items:center}sp-infield-button{--spectrum-infield-button-background-color:transparent;--spectrum-infield-button-background-color-hover:transparent;--spectrum-infield-button-background-color-active:transparent;--spectrum-infield-button-border-color:transparent;--spectrum-infield-button-border-width:1px;--spectrum-infield-button-border-radius:0;color:var(--nylas-base-600);background:transparent;border:none;outline:1px solid var(--nylas-base-300);border-radius:0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x) 0;height:52px;width:52px;display:flex;position:absolute;right:0;align-items:center;justify-content:center;cursor:pointer}sp-infield-button sp-icon-cross300{color:var(--nylas-base-600)}sp-infield-button.error{border-width:2px;border-color:var(--nylas-error)}input[type=text],input[type=email]{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%}input[type=text]:focus,input[type=email]:focus{outline-color:var(--nylas-primary)}input[type=text].error,input[type=email].error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}input[type=text].error::placeholder,input[type=email].error::placeholder{font-weight:400}input[type=text]::placeholder,input[type=email]::placeholder{color:var(--nylas-base-300)}input[type=text].guest-email,input[type=email].guest-email{color:var(--nylas-base-900);padding-right:52px}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}button-component.remove-guest{position:absolute;height:51px;right:0}button-component.remove-guest.error button{border-color:var(--nylas-error)}button-component.remove-guest button{height:inherit;border-top-left-radius:initial;border-bottom-left-radius:initial;border:none !important;border-left:1px solid var(--nylas-base-300) !important}button-component.remove-guest button:hover,button-component.remove-guest button:focus{outline:1px solid var(--nylas-primary) !important;color:var(--nylas-primary)}button-component.back button{--dot-color:var(--nylas-base-800)}.guest-email-input{position:relative;display:flex;width:100%}', wC = xC;
16525
16533
  var EC = function(t, e, n, r) {
16526
16534
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
16527
16535
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -16559,7 +16567,7 @@ const oo = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
16559
16567
  }, this.handleBackButtonClicked = (e) => {
16560
16568
  e.preventDefault(), this.backButtonLoading = !0, this.backButtonClicked.emit();
16561
16569
  }, this.bookButtonClickedHandler = async (e) => {
16562
- var a, u, c, d, l, f, h;
16570
+ var a, u, c, d, l, f, h, p, b;
16563
16571
  if (e.preventDefault(), this.bookingFormSubmitted.emit().defaultPrevented)
16564
16572
  return;
16565
16573
  N("nylas-booking-form", "bookButtonClickedHandler", this.bookingInfo);
@@ -16587,23 +16595,26 @@ const oo = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
16587
16595
  }
16588
16596
  let o = [];
16589
16597
  if (this.guestEmails.length > 0) {
16590
- let p = !1;
16591
- if (this.guestEmails.forEach((g, m) => {
16592
- g === "" ? (p = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [m]: R.t("fieldRequired", { field: R.t("email") }) }) : oo.test(g) || (p = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [m]: R.t("invalidInputFormat", { field: R.t("email") }) });
16593
- }), p) {
16598
+ let m = !1;
16599
+ if (this.guestEmails.forEach((y, v) => {
16600
+ y === "" ? (m = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [v]: R.t("fieldRequired", { field: R.t("email") }) }) : oo.test(y) || (m = !0, this.guestEmailErrors = { ...this.guestEmailErrors, [v]: R.t("invalidInputFormat", { field: R.t("email") }) });
16601
+ }), m) {
16594
16602
  this.bookingFormError.emit({
16595
16603
  title: "Booking form error",
16596
16604
  description: R.t("invalidInputFormat", { field: R.t("guestEmail") }) || "Invalid guest email"
16597
16605
  });
16598
16606
  return;
16599
16607
  }
16600
- o = this.guestEmails.map((g) => ({ name: g.trim(), email: g.trim() }));
16608
+ o = this.guestEmails.map((y) => ({ name: y.trim(), email: y.trim() }));
16601
16609
  } else (l = this.bookingInfo) != null && l.guests && (o = (f = this.bookingInfo) == null ? void 0 : f.guests);
16602
16610
  const s = {};
16603
- (h = this.bookingInfo) != null && h.additionalFields && Object.entries(this.bookingInfo.additionalFields).forEach(([p, g]) => {
16604
- var m, y;
16605
- p in ((y = (m = this.configSettings) == null ? void 0 : m.scheduler) == null ? void 0 : y.additional_fields) && (s[p] = g.value);
16606
- }), this.detailsConfirmed.emit({
16611
+ if ((h = this.bookingInfo) != null && h.additionalFields) {
16612
+ const m = ((b = (p = this.configSettings) == null ? void 0 : p.scheduler) == null ? void 0 : b.additional_fields) || {};
16613
+ Object.entries(this.bookingInfo.additionalFields).forEach(([y, v]) => {
16614
+ y in m && (s[y] = v.value);
16615
+ });
16616
+ }
16617
+ this.detailsConfirmed.emit({
16607
16618
  primaryParticipant: {
16608
16619
  name: r,
16609
16620
  email: i
@@ -16680,9 +16691,9 @@ const oo = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
16680
16691
  }
16681
16692
  render() {
16682
16693
  var e, n, r, i, o, s, a, u, c;
16683
- return b(ye, { key: "c5759aaa6dd8fe46bbca8d6948cb2f8b62b2f596" }, b("form", { key: "8b1def5e7238fe8c31fe190f772d5b852ea7297b", onSubmit: (d) => this.bookButtonClickedHandler(d), noValidate: !0 }, b("div", { key: "0ac8350dd52ee87af62aff182bbb2a302b4b9488", class: "nylas-booking-form", part: "nbf" }, b("div", { key: "3eed8eda2bc3e0e34d9ef72178d308276036abc3", class: "input-wrapper", part: "nbf__input-wrapper" }, b("input-component", { key: "2e6a8c3e0c578e98cb16133d5c2d2c3638b12a8e", label: R.t("name"), name: "name", id: "name", defaultValue: ((n = (e = this.bookingInfo) == null ? void 0 : e.primaryParticipant) == null ? void 0 : n.name) || this.name, placeholder: R.t("namePlaceholder"), type: "text", required: !0, requiredError: R.t("fieldRequired", { field: R.t("name") }), patternError: R.t("invalidInputFormat", { field: R.t("name") }), part: "nbf__input-textfield" })), b("div", { key: "f750e23602d5cd20020ad18293a6122c46e858a8", class: "input-wrapper", part: "nbf__input-wrapper" }, b("input-component", { key: "d3e76502be140769b1bcfdca4e5fc119aa080b20", label: R.t("email"), name: "email", id: "email", pattern: oo, defaultValue: ((i = (r = this.bookingInfo) == null ? void 0 : r.primaryParticipant) == null ? void 0 : i.email) || this.email, placeholder: R.t("emailPlaceholder"), type: "email", required: !0, requiredError: R.t("fieldRequired", { field: R.t("email") }), patternError: R.t("invalidInputFormat", { field: R.t("email") }), part: "nbf__input-textfield" })), ((s = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : s.hide_additional_guests) !== !0 && b("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, this.guestEmails.map((d, l) => b("div", { class: "input-wrapper button-wrapper" }, b("label", { class: {
16694
+ return g(ye, { key: "0ea30bef8b00673240ee959d6b8baaffc7d2c715" }, g("form", { key: "d5bf36df0f5419c98b5114719c731e8c3201bc7b", onSubmit: (d) => this.bookButtonClickedHandler(d), noValidate: !0 }, g("div", { key: "2a7a7cbaae2af6f3b79e23366752a421bf2304ba", class: "nylas-booking-form", part: "nbf" }, g("div", { key: "9af4ebc990cb2ef4e3e58af148eb7609b203c78a", class: "input-wrapper", part: "nbf__input-wrapper" }, g("input-component", { key: "31ea0d5c904a62c2c9b8d7572b448d9a28b24e86", label: R.t("name"), name: "name", id: "name", defaultValue: ((n = (e = this.bookingInfo) == null ? void 0 : e.primaryParticipant) == null ? void 0 : n.name) || this.name, placeholder: R.t("namePlaceholder"), type: "text", required: !0, requiredError: R.t("fieldRequired", { field: R.t("name") }), patternError: R.t("invalidInputFormat", { field: R.t("name") }), part: "nbf__input-textfield" })), g("div", { key: "95de0dabca66d11e1370b282e4d23eb545fb33a6", class: "input-wrapper", part: "nbf__input-wrapper" }, g("input-component", { key: "712b25028a9d12bde236ada12c9b8ee15a70c885", label: R.t("email"), name: "email", id: "email", pattern: oo, defaultValue: ((i = (r = this.bookingInfo) == null ? void 0 : r.primaryParticipant) == null ? void 0 : i.email) || this.email, placeholder: R.t("emailPlaceholder"), type: "email", required: !0, requiredError: R.t("fieldRequired", { field: R.t("email") }), patternError: R.t("invalidInputFormat", { field: R.t("email") }), part: "nbf__input-textfield" })), ((s = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : s.hide_additional_guests) !== !0 && g("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, this.guestEmails.map((d, l) => g("div", { class: "input-wrapper button-wrapper" }, g("label", { class: {
16684
16695
  error: !!this.guestEmailErrors[l]
16685
- } }, R.t("guestEmail")), b("div", { class: "guest-email-input" }, b("input", { type: "email", id: `guest-email-${l}`, maxLength: 100, class: {
16696
+ } }, R.t("guestEmail")), g("div", { class: "guest-email-input" }, g("input", { type: "email", id: `guest-email-${l}`, maxLength: 100, class: {
16686
16697
  "guest-email": !0,
16687
16698
  error: !!this.guestEmailErrors[l]
16688
16699
  }, placeholder: R.t("guestEmailPlaceholder"), value: d, "data-index": l, part: "nbf__input-textfield", onBlur: (f) => {
@@ -16691,25 +16702,25 @@ const oo = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
16691
16702
  }, onInput: (f) => {
16692
16703
  var h;
16693
16704
  return this.handleGuestChange(l, (h = f.target) == null ? void 0 : h.value);
16694
- } }), b("button-component", { variant: "basic", tooltip: "Remove guest", onClick: (f) => this.removeGuestButtonClickHandler(f, l), class: {
16705
+ } }), g("button-component", { variant: "basic", tooltip: "Remove guest", onClick: (f) => this.removeGuestButtonClickHandler(f, l), class: {
16695
16706
  "remove-guest": !0,
16696
16707
  error: !!this.guestEmailErrors[l]
16697
- } }, b("close-icon", null))), b("p", { class: "help-text" }, this.guestEmailErrors[l]))), b("button-component", { class: "add-guest", variant: "invisible", part: "nbf__button-ghost", onClick: (d) => this.addGuestButtonClickedHandler(d) }, b("div", { class: "button-content" }, b("add-circle-icon", { slot: "icon" }), this.guestEmails.length > 0 ? `${R.t("addAnotherGuest")}` : `${R.t("addGuest")}`))), (c = Object.entries(((u = (a = this.configSettings) == null ? void 0 : a.scheduler) == null ? void 0 : u.additional_fields) || {})) == null ? void 0 : c.sort((d, l) => d[1].order - l[1].order).map((d) => {
16698
- var g, m, y, v, w, C;
16699
- const l = d[1], f = l.label, h = d[0], p = ((y = (m = (g = this.bookingInfo) == null ? void 0 : g.additionalFields) == null ? void 0 : m[h]) == null ? void 0 : y.value) || "";
16708
+ } }, g("close-icon", null))), g("p", { class: "help-text" }, this.guestEmailErrors[l]))), g("button-component", { class: "add-guest", variant: "invisible", part: "nbf__button-ghost", onClick: (d) => this.addGuestButtonClickedHandler(d) }, g("div", { class: "button-content" }, g("add-circle-icon", { slot: "icon" }), this.guestEmails.length > 0 ? `${R.t("addAnotherGuest")}` : `${R.t("addGuest")}`))), (c = Object.entries(((u = (a = this.configSettings) == null ? void 0 : a.scheduler) == null ? void 0 : u.additional_fields) || {})) == null ? void 0 : c.sort((d, l) => d[1].order - l[1].order).map((d) => {
16709
+ var b, m, y, v, E, C;
16710
+ const l = d[1], f = l.label, h = d[0], p = ((y = (m = (b = this.bookingInfo) == null ? void 0 : b.additionalFields) == null ? void 0 : m[h]) == null ? void 0 : y.value) || "";
16700
16711
  switch (l.type) {
16701
16712
  case "dropdown":
16702
- return b("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, b("select-dropdown", { label: f, name: h, id: h, withSearch: !1, defaultSelectedOption: p ? { value: p, label: p } : void 0, options: (v = l.options) == null ? void 0 : v.map((B) => ({ value: B, label: B })), required: l.required, exportparts: "sd_dropdown: nbf__dropdown, sd_dropdown-button: nbf__dropdown-button, sd_dropdown-content: nbf__dropdown-content" }));
16713
+ return g("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, g("select-dropdown", { label: f, name: h, id: h, withSearch: !1, defaultSelectedOption: p ? { value: p, label: p } : void 0, options: (v = l.options) == null ? void 0 : v.map(($) => ({ value: $, label: $ })), required: l.required, exportparts: "sd_dropdown: nbf__dropdown, sd_dropdown-button: nbf__dropdown-button, sd_dropdown-content: nbf__dropdown-content" }));
16703
16714
  case "checkbox":
16704
- return b("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, b("checkbox-component", { label: f, name: h, id: h, checked: p === "true", required: l.required, part: "nbf__checkbox-component" }));
16715
+ return g("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, g("checkbox-component", { label: f, name: h, id: h, checked: p === "true", required: l.required, part: "nbf__checkbox-component" }));
16705
16716
  case "radio_button":
16706
- return b("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, b("radio-button-group", { label: f, name: h, id: h, defaultSelectedValue: p || ((w = l.options) == null ? void 0 : w[0]) || "", options: (C = l.options) == null ? void 0 : C.map((B) => ({ value: B, label: B })), required: l.required, part: "nbf__radio-button-group" }));
16717
+ return g("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, g("radio-button-group", { label: f, name: h, id: h, defaultSelectedValue: p || ((E = l.options) == null ? void 0 : E[0]) || "", options: (C = l.options) == null ? void 0 : C.map(($) => ({ value: $, label: $ })), required: l.required, part: "nbf__radio-button-group" }));
16707
16718
  case "multi_line_text":
16708
- return b("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, b("textarea-component", { label: f, defaultValue: p, name: h, id: h, required: l.required, part: "nbf__textarea-component" }));
16719
+ return g("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, g("textarea-component", { label: f, defaultValue: p, name: h, id: h, required: l.required, part: "nbf__textarea-component" }));
16709
16720
  default:
16710
- return b("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, b("input-component", { label: f, name: h, id: h, type: l.type, defaultValue: p || "", requiredError: R.t("fieldRequired", { field: f }), required: l.required, part: "nbf__input-textfield" }));
16721
+ return g("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, g("input-component", { label: f, name: h, id: h, type: l.type, defaultValue: p || "", requiredError: R.t("fieldRequired", { field: f }), required: l.required, part: "nbf__input-textfield" }));
16711
16722
  }
16712
- })), b("div", { key: "49ce45d55dd541515a7015e352f864e8287cdfa4", class: "cta" }, b("button-component", { key: "0afa9b48216531170197a6bece9520d111789f5d", variant: "basic", class: "back", part: "nbf__button-outline", isLoading: this.backButtonLoading && this.isLoading, onClick: this.handleBackButtonClicked }, b("slot", { key: "5396a9449f932af8c7ad4a1b93f0a11ef1c7b9e4", name: "booking-form-back-label" }, `${R.t("backButton")}`)), b("button-component", { key: "26090462808119a30db0506ddc1eed26ceaab8b7", variant: "primary", isLoading: !this.backButtonLoading && this.isLoading, disabled: this.isLoading, part: "nbf__button-primary", type: "submit" }, b("slot", { key: "18c5675de4b737b486a122f31ba1049f6271e645", name: "booking-form-book-label" }, `${R.t("bookNowButton")}`)))));
16723
+ })), g("div", { key: "f89d9ed23eca94e127aca472e8444336160a4a49", class: "cta" }, g("button-component", { key: "e1de4364cd5d351f23499ab82bf4d444185a47cc", variant: "basic", class: "back", part: "nbf__button-outline", isLoading: this.backButtonLoading && this.isLoading, onClick: this.handleBackButtonClicked }, g("slot", { key: "1b1a422766e53e8e1aec7d31db9c2406afec3da1", name: "booking-form-back-label" }, `${R.t("backButton")}`)), g("button-component", { key: "68c249ef1ca7dad8b6217d86662dd195ec77b016", variant: "primary", isLoading: !this.backButtonLoading && this.isLoading, disabled: this.isLoading, part: "nbf__button-primary", type: "submit" }, g("slot", { key: "de2c7d09c9203409e7d92b80f6901b5099ab1163", name: "booking-form-book-label" }, `${R.t("bookNowButton")}`)))));
16713
16724
  }
16714
16725
  get host() {
16715
16726
  return this;
@@ -16726,7 +16737,7 @@ const oo = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
16726
16737
  isLoading: [4, "is-loading"],
16727
16738
  bookingInfo: [16],
16728
16739
  eventInfo: [16],
16729
- configSettings: [8, "config-settings"],
16740
+ configSettings: [16],
16730
16741
  name: [32],
16731
16742
  email: [32],
16732
16743
  guestEmails: [32],
@@ -16824,7 +16835,7 @@ function CC() {
16824
16835
  }
16825
16836
  });
16826
16837
  }
16827
- const SC = ":host{display:block;width:400px;font-family:var(--nylas-font-family)}.nylas-cancel-booking-form{display:flex;align-items:center;flex-direction:column;background-color:var(--nylas-base-0);color:var(--nylas-base-800);border-radius:var(--nylas-border-radius-2x);padding:1.5rem;position:relative;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}.nylas-cancel-booking-form form{width:100%}.nylas-cancel-booking-form__title{font-size:18px;font-weight:600;margin-bottom:0;color:var(--nylas-base-900)}.nylas-cancel-booking-form__description{font-size:1rem;font-style:normal;font-weight:400;line-height:140%;color:var(--nylas-base-600);padding-bottom:1.25rem}.nylas-cancel-booking-form__calendar-icon{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)}calendar-cancel-icon{display:flex;align-items:center;justify-content:center;height:100%}.footer{display:grid;grid-template-columns:1fr 1fr;width:100%;padding-top:1.25rem;gap:1rem;border-top:1px solid var(--nylas-base-200);margin-top:1.25rem}", TC = SC;
16838
+ const SC = ':host{--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;display:block;width:400px;font-family:var(--nylas-font-family)}.nylas-cancel-booking-form{display:flex;align-items:center;flex-direction:column;background-color:var(--nylas-base-0);color:var(--nylas-base-800);border-radius:var(--nylas-border-radius-2x);padding:1.5rem;position:relative;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}.nylas-cancel-booking-form form{width:100%}.nylas-cancel-booking-form__title{font-size:18px;font-weight:600;margin-bottom:0;color:var(--nylas-base-900)}.nylas-cancel-booking-form__description{font-size:1rem;font-style:normal;font-weight:400;line-height:140%;color:var(--nylas-base-600);padding-bottom:1.25rem}.nylas-cancel-booking-form__calendar-icon{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)}calendar-cancel-icon{display:flex;align-items:center;justify-content:center;height:100%}.footer{display:grid;grid-template-columns:1fr 1fr;width:100%;padding-top:1.25rem;gap:1rem;border-top:1px solid var(--nylas-base-200);margin-top:1.25rem}', TC = SC;
16828
16839
  var AC = function(t, e, n, r) {
16829
16840
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
16830
16841
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -16863,7 +16874,7 @@ const x5 = te(class extends ne {
16863
16874
  this.cancelBookedEventError.emit(c);
16864
16875
  };
16865
16876
  this.cancelBookingId ? this.cancelBookingFormSubmitted.emit({ bookingId: this.cancelBookingId, action: "cancel", reason: this.cancellationReason, errorHandler: o }) : this.rejectBookingId && this.cancelBookingFormSubmitted.emit({ bookingId: this.rejectBookingId, action: "reject", reason: this.cancellationReason, errorHandler: o });
16866
- }, this.cancelBookingId = void 0, this.rejectBookingId = void 0, this.configSettings = void 0, this.eventInfo = void 0, this.selectedTimeslot = void 0, this.isLoading = void 0, this.cancellationReason = "", this.cancellationError = "", this.cancellationPolicy = ((n = (e = this.configSettings) == null ? void 0 : e.scheduler) == null ? void 0 : n.cancellation_policy) || "Your current timeslot will become available to others.";
16877
+ }, this.cancelBookingId = void 0, this.rejectBookingId = void 0, this.selectedTimeslot = void 0, this.configSettings = void 0, this.eventInfo = void 0, this.isLoading = void 0, this.cancellationReason = "", this.cancellationError = "", this.cancellationPolicy = ((n = (e = this.configSettings) == null ? void 0 : e.scheduler) == null ? void 0 : n.cancellation_policy) || "Your current timeslot will become available to others.";
16867
16878
  }
16868
16879
  configSettingsChangedHandler(e) {
16869
16880
  var n;
@@ -16886,7 +16897,7 @@ const x5 = te(class extends ne {
16886
16897
  }
16887
16898
  render() {
16888
16899
  var e, n;
16889
- return b(ye, { key: "6f680273959b2726cc68cb465aeacce03447ba8e", part: "ncbf" }, b("div", { key: "be243375f24e2029af0ad14c990a254c7f005631", class: "nylas-cancel-booking-form", part: "ncbf__card" }, b("div", { key: "5bef53a115c1108a0ff15ed52b773e03456ed249", class: "nylas-cancel-booking-form__calendar-icon", part: "ncbf__icon" }, b("calendar-cancel-icon", { key: "baa79cd9b1b8fea1019ccacdf0679b702d2f07a2" })), b("h3", { key: "260994a6886a04baccbba07198cb7b55843dcb94", class: "nylas-cancel-booking-form__title", part: "ncbf__title" }, R.t("cancelBookingTitle")), b("div", { key: "5b551fb4c2f91a043b1a06b64dd635cfb2a6465e", class: "nylas-cancel-booking-form__description", part: "ncbf__description" }, (n = (e = this.configSettings) == null ? void 0 : e.scheduler) != null && n.cancellation_policy ? this.cancellationPolicy : `${R.t("cancelBookingMessage")}`), b("form", { key: "535c7fbc0ccd04b614b0b52e39c183bcc0bd4501", onSubmit: this.handleSubmitCancelBooking }, b("textarea-component", { key: "349fa734e6ca521418f315feca30de5c67c5b4ab", id: "cancel-reason", name: "cancel-reason", required: !0, label: R.t("reasonForCancellation"), class: this.cancellationError ? "error" : "", part: "ncbf__reason-textarea", defaultValue: this.cancellationReason }), b("div", { key: "c260628841bb3872a9a1439499c42e494894af9e", class: "footer" }, b("button-component", { key: "1de46efdfe24eaffae44d5a649f9b3ad6a11b3b6", variant: "destructive", class: "cancel", type: "submit", part: "ncbf__button-cta", disabled: this.isLoading }, R.t("cancelBookingButton")), !!this.eventInfo && b("button-component", { variant: "basic", class: "back", part: "ncbf__button-outline", onClick: this.handleGoBackClicked }, R.t("goBackButton"))))));
16900
+ return g(ye, { key: "c4bdf11986a6efc5b9005e82583c3e0543c424b7", part: "ncbf" }, g("div", { key: "be45863d677fc6f4e0e7a473367d4e668988a6e3", class: "nylas-cancel-booking-form", part: "ncbf__card" }, g("div", { key: "acd1467de81bc7518ef026d18abaf2bec08ee9e7", class: "nylas-cancel-booking-form__calendar-icon", part: "ncbf__icon" }, g("calendar-cancel-icon", { key: "8622cec85da5c6767d4acd913d540ab5379d6a6b" })), g("h3", { key: "b16e109071f7b3ce4bdeff18d75b395b6397ef66", class: "nylas-cancel-booking-form__title", part: "ncbf__title" }, R.t("cancelBookingTitle")), g("div", { key: "99a98fda2cf78631fbf217425e98f50053819944", class: "nylas-cancel-booking-form__description", part: "ncbf__description" }, (n = (e = this.configSettings) == null ? void 0 : e.scheduler) != null && n.cancellation_policy ? this.cancellationPolicy : `${R.t("cancelBookingMessage")}`), g("form", { key: "4f139a76c233767562d69e6abbc8bed2fe7068a4", onSubmit: this.handleSubmitCancelBooking }, g("textarea-component", { key: "cb9cb36cbc8054f0c99049230edd6867864b85eb", id: "cancel-reason", name: "cancel-reason", required: !0, label: R.t("reasonForCancellation"), class: this.cancellationError ? "error" : "", part: "ncbf__reason-textarea", defaultValue: this.cancellationReason }), g("div", { key: "d10517e31cc74630c726db714b2ec2f732ebb595", class: "footer" }, g("button-component", { key: "4074187227af0cb6c35a530faef004edde580f34", variant: "destructive", class: "cancel", type: "submit", part: "ncbf__button-cta", disabled: this.isLoading }, R.t("cancelBookingButton")), !!this.eventInfo && g("button-component", { variant: "basic", class: "back", part: "ncbf__button-outline", onClick: this.handleGoBackClicked }, R.t("goBackButton"))))));
16890
16901
  }
16891
16902
  static get watchers() {
16892
16903
  return {
@@ -16899,9 +16910,9 @@ const x5 = te(class extends ne {
16899
16910
  }, [1, "nylas-cancel-booking-form", {
16900
16911
  cancelBookingId: [1, "cancel-booking-id"],
16901
16912
  rejectBookingId: [1, "reject-booking-id"],
16913
+ selectedTimeslot: [16],
16902
16914
  configSettings: [16],
16903
16915
  eventInfo: [16],
16904
- selectedTimeslot: [16],
16905
16916
  isLoading: [4, "is-loading"],
16906
16917
  cancellationReason: [32],
16907
16918
  cancellationError: [32],
@@ -16980,7 +16991,7 @@ function $C() {
16980
16991
  }
16981
16992
  });
16982
16993
  }
16983
- const IC = ":host{display:block}.nylas-cancelled-event-card{height:inherit;display:flex;flex-direction:column;justify-content:space-between;align-items:center;font-family:var(--nylas-font-family);width:400px;background-color:var(--nylas-base-0);color:var(--nylas-base-800);border-radius:var(--nylas-border-radius-2x);padding:1.5rem;position:relative;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){.nylas-cancelled-event-card{width:inherit}}.nylas-cancelled-event-card__title{font-size:18px;font-weight:600;line-height:24px;color:var(--nylas-base-900);text-align:center}.nylas-cancelled-event-description{font-size:16px;font-weight:500;color:var(--nylas-base-600)}.nylas-cancelled-event-card__calendar-icon{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)}.nylas-cancelled-event-card__cta{width:100%;display:flex;flex-direction:row;align-items:flex-start;margin-top:1rem}calendar-cancel-icon{display:flex;align-items:center;justify-content:center;height:100%}button-component{width:100%}", BC = IC;
16994
+ const IC = ':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-cancelled-event-card{height:inherit;display:flex;flex-direction:column;justify-content:space-between;align-items:center;font-family:var(--nylas-font-family);width:400px;background-color:var(--nylas-base-0);color:var(--nylas-base-800);border-radius:var(--nylas-border-radius-2x);padding:1.5rem;position:relative;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){.nylas-cancelled-event-card{width:inherit}}.nylas-cancelled-event-card__title{font-size:18px;font-weight:600;line-height:24px;color:var(--nylas-base-900);text-align:center}.nylas-cancelled-event-description{font-size:16px;font-weight:500;color:var(--nylas-base-600)}.nylas-cancelled-event-card__calendar-icon{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)}.nylas-cancelled-event-card__cta{width:100%;display:flex;flex-direction:row;align-items:flex-start;margin-top:1rem}calendar-cancel-icon{display:flex;align-items:center;justify-content:center;height:100%}button-component{width:100%}', BC = IC;
16984
16995
  var DC = function(t, e, n, r) {
16985
16996
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
16986
16997
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -17001,7 +17012,7 @@ const w5 = te(class extends ne {
17001
17012
  this.cancelledEventCardError.emit(n), this.isClosing = !1;
17002
17013
  };
17003
17014
  this.closeCancelEventCardClicked.emit({ errorHandler: e });
17004
- }, this.cancelledEventInfo = void 0, this.isClosing = !1, this.configSettings = void 0;
17015
+ }, this.configSettings = void 0, this.cancelledEventInfo = void 0, this.isClosing = !1;
17005
17016
  }
17006
17017
  connectedCallback() {
17007
17018
  N("[nylas-cancelled-event-card] Component connected");
@@ -17017,14 +17028,14 @@ const w5 = te(class extends ne {
17017
17028
  }
17018
17029
  render() {
17019
17030
  var e, n;
17020
- return b(ye, { key: "e890d06179d7e35d38abe0f30934645d0dd0866f", part: "ncec" }, b("div", { key: "c2e455774c4d962dbd178c967d6ffcf0dad495e8", class: "nylas-cancelled-event-card", part: "ncec__card" }, b("div", { key: "dae3d09a326b89e8d5c5ac662b663a87332b483f", class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, b("calendar-cancel-icon", { key: "908f8f9dce64ef8a02d12b8bea383a9e65662def" })), b("h3", { key: "61a2d624b51686a6a1d9e045a3efa99f204c9e21", class: "nylas-cancelled-event-card__title", part: "ncec__title" }, R.t("bookingCancelledTitle"), "!"), b("div", { key: "0cbf5bce08b5b623729e0741108ecd1a169c0cdb", class: "nylas-cancelled-event-card__description", part: "ncec__description" }, R.t("bookingCancelledMessage"), " ", ((n = (e = this.configSettings) == null ? void 0 : e.organizer) == null ? void 0 : n.name) || "the participants", "."), b("div", { key: "e43af5b395977d607b3c427bcb7d6062db8d6678", class: "nylas-cancelled-event-card__cta" }, b("button-component", { key: "36bb4ba3bf9fa46a52f5fd7b452bf8e001341d00", variant: "basic", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? `${R.t("closingButton")}...` : `${R.t("closeButton")}`))));
17031
+ return g(ye, { key: "e5e3ac32d965a7d9e9bc0bb8bbd774625ff07d7b", part: "ncec" }, g("div", { key: "e4ef634f512035b0e36012009a49d4e3e9845973", class: "nylas-cancelled-event-card", part: "ncec__card" }, g("div", { key: "8a739422bcf542b9b8c97c0a56032b4393755d5d", class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, g("calendar-cancel-icon", { key: "cd4aa557789c4487f6ce7ef70337a4af83e4d3be" })), g("h3", { key: "48aff2d9672f9d7e24b61ec5fa3b21ec63345f54", class: "nylas-cancelled-event-card__title", part: "ncec__title" }, R.t("bookingCancelledTitle"), "!"), g("div", { key: "0c861a46988ad3071850dbe61f8344b5da6cd6d6", class: "nylas-cancelled-event-card__description", part: "ncec__description" }, R.t("bookingCancelledMessage"), " ", ((n = (e = this.configSettings) == null ? void 0 : e.organizer) == null ? void 0 : n.name) || "the participants", "."), g("div", { key: "d9801695af5953536439a188c7e1d8d324a2fdbd", class: "nylas-cancelled-event-card__cta" }, g("button-component", { key: "b8c463a0ef0c36a4c28b46a3ad0aaa7f5b8f2efc", variant: "basic", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? `${R.t("closingButton")}...` : `${R.t("closeButton")}`))));
17021
17032
  }
17022
17033
  static get style() {
17023
17034
  return BC;
17024
17035
  }
17025
17036
  }, [1, "nylas-cancelled-event-card", {
17026
- cancelledEventInfo: [16],
17027
17037
  configSettings: [16],
17038
+ cancelledEventInfo: [16],
17028
17039
  isClosing: [32]
17029
17040
  }]);
17030
17041
  DC([
@@ -17087,7 +17098,7 @@ const E5 = te(class extends ne {
17087
17098
  this.confirmedEventCardError.emit(n), this.isClosing = !1;
17088
17099
  };
17089
17100
  this.closeConfirmEventCardClicked.emit({ errorHandler: e });
17090
- }, this.confirmedEventInfo = void 0, this.isClosing = !1, this.configSettings = void 0;
17101
+ }, this.configSettings = void 0, this.confirmedEventInfo = void 0, this.isClosing = !1;
17091
17102
  }
17092
17103
  connectedCallback() {
17093
17104
  N("[nylas-confirmed-event-card] Component connected");
@@ -17103,14 +17114,14 @@ const E5 = te(class extends ne {
17103
17114
  }
17104
17115
  render() {
17105
17116
  var e, n;
17106
- return b(ye, { key: "b9b4c10f89c27f54070faa3f2ad53b9fbd9f38d8", part: "ncec" }, b("div", { key: "6009b8d7f5b8f8b9d87fc5621250f07c2e5af38d", class: "nylas-confirmed-event-card", part: "ncec__card" }, b("div", { key: "427eb1b59885d8d273842c45a15576a418e5c6ea", class: "nylas-confirmed-event-card__calendar-icon", part: "ncec__icon" }, b("calendar-cancel-icon", { key: "f08b3c34d88bcc72b7fc48807ceb10b5d040a7b6" })), b("h3", { key: "56bc3626c7f84bf4aa6c536e0d978eaab6aabec1", class: "nylas-confirmed-event-card__title", part: "ncec__title" }, R.t("confirmedEventCardTitle"), "!"), b("div", { key: "8f84edf7d10c1a70437e0487ade88d13d9fe8c59", class: "nylas-confirmed-event-card__description", part: "ncec__description" }, R.t("confirmedEventCardDescription"), " ", ((n = (e = this.configSettings) == null ? void 0 : e.organizer) == null ? void 0 : n.name) || "the participants", "."), b("div", { key: "90d3967b143032d09c8d99d65d711cb4619c1314", class: "nylas-confirmed-event-card__cta" }, b("button-component", { key: "ae8791ba490a8565045287720ceebc0978a85ed9", variant: "basic", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? `${R.t("closingButton")}...` : `${R.t("closeButton")}`))));
17117
+ return g(ye, { key: "a5fbf79c6b7f27046b599c16d231226ff9c88f84", part: "ncec" }, g("div", { key: "06c6f5fa4e75d9ce01dc9145259bf4bfddf33624", class: "nylas-confirmed-event-card", part: "ncec__card" }, g("div", { key: "11a58aa7dba6da706cd35791c58442b022f97939", class: "nylas-confirmed-event-card__calendar-icon", part: "ncec__icon" }, g("calendar-cancel-icon", { key: "752da0991cdcfa12dc9c7dc1020ea9388f11c30e" })), g("h3", { key: "238934bc1f8bcb137e6e33eb66afb5bee01749b7", class: "nylas-confirmed-event-card__title", part: "ncec__title" }, R.t("confirmedEventCardTitle"), "!"), g("div", { key: "3a3d8ad8302ad54b528c37f0eb25d12590bb4f0d", class: "nylas-confirmed-event-card__description", part: "ncec__description" }, R.t("confirmedEventCardDescription"), " ", ((n = (e = this.configSettings) == null ? void 0 : e.organizer) == null ? void 0 : n.name) || "the participants", "."), g("div", { key: "49c69f2f9c01e4e775cb8caadbca213424e0a952", class: "nylas-confirmed-event-card__cta" }, g("button-component", { key: "e6e75c57f294d688a108df09ffc9daf849ef6319", variant: "basic", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? `${R.t("closingButton")}...` : `${R.t("closeButton")}`))));
17107
17118
  }
17108
17119
  static get style() {
17109
17120
  return RC;
17110
17121
  }
17111
17122
  }, [1, "nylas-confirmed-event-card", {
17112
- confirmedEventInfo: [16],
17113
17123
  configSettings: [16],
17124
+ confirmedEventInfo: [16],
17114
17125
  isClosing: [32]
17115
17126
  }]);
17116
17127
  OC([
@@ -17154,7 +17165,7 @@ const NC = ".sc-person-icon-h{display:flex}", FC = NC, jC = te(class extends ne
17154
17165
  super(), this.__registerHost(), this.width = "14", this.height = "16";
17155
17166
  }
17156
17167
  render() {
17157
- return b("svg", { key: "ce837bb2bd6980c62d563f8bc4d5b1618cc717b5", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "fa24a15fa2e88fb2ca17700b998f71a10a9017de", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
17168
+ return g("svg", { key: "bf77344f510a860cf3b05daea1254dbe06465bcf", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "6704d143c071b2de1ce05a823bb98ba59fbffba7", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
17158
17169
  }
17159
17170
  static get style() {
17160
17171
  return FC;
@@ -17218,7 +17229,7 @@ js((t) => {
17218
17229
  }, (t, e) => {
17219
17230
  t.setUTCDate(t.getUTCDate() + e);
17220
17231
  }, (t, e) => (e - t) / fs, (t) => Math.floor(t / fs));
17221
- const HC = ':host{display:block;min-height:444px}@media screen and (max-width: 768px){:host{min-height:auto}}.nylas-date-picker{display:flex;gap:1rem;flex-direction:column}.header{margin:0 0.5rem;height:48px}.header h2{font-size:1.3125rem;font-weight:400;line-height:1rem;color:var(--nylas-base-800)}.header h2 strong{font-weight:600}.title{margin:0 -1.25rem;display:flex;flex-direction:column;padding:0 1.5rem;gap:0.5rem;border-bottom:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family)}.title h1{margin-bottom:0;font-size:18px;line-height:20px;font-weight:600;display:flex;gap:0.5rem;align-items:center}.title p{margin-top:0;font-size:16px;display:flex;gap:0.5rem;align-items:center}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.dates{display:grid;justify-items:center;grid-template-columns:repeat(7, 1fr);gap:0.5rem;margin-bottom:24px}.dates .date{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;height:48px;width:48px;min-width:2rem;min-height:2rem;cursor:pointer;border-radius:var(--nylas-border-radius-2x);font-size:16px;font-weight:600;font-family:inherit;color:var(--nylas-base-text);background-color:var(--nylas-base-100);cursor:pointer;border:none}@media screen and (max-width: 412px){.dates .date{width:38px;height:38px;min-width:none}}.dates .date:hover:not(:disabled){box-shadow:0 0 0 2px var(--nylas-base-500) inset}.dates .date.date.current-month{color:var(--nylas-base-800)}.dates .date.date.selected{background-color:var(--nylas-primary);color:var(--nylas-base-0);font-weight:700}.dates .date.date.day-skeleton{color:var(--nylas-base-300)}.dates .date:disabled{color:var(--nylas-base-300);background-color:transparent;font-weight:400;cursor:not-allowed}.dates .day{font-size:12px;color:var(--nylas-base-800);font-weight:600;letter-spacing:0.5px;height:32px;display:flex;align-items:center}@media screen and (max-width: 768px){.dates .day{font-size:14px}}.dates .date.day-skeleton{height:48px;width:48px;border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite ease-in-out;background-color:var(--nylas-base-50)}@media screen and (max-width: 412px){.dates .date.day-skeleton{width:38px;height:38px;min-width:none}}.dates .date.current-day::after{content:"";position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:6px;height:6px;border-radius:50%;background-color:var(--nylas-base-500)}.dates .date.current-day.selected::after{background-color:var(--nylas-base-100)}.pagination{display:flex;flex-direction:row;justify-content:space-between;align-items:center;min-width:92px}.pagination .chevron-right{transform:rotate(180deg)}.pagination .button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);background-color:transparent;color:var(--nylas-base-800);cursor:pointer;border:none}.pagination .button:hover{background-color:var(--nylas-base-50)}.pagination .button:active{background-color:var(--nylas-base-100)}.pagination .button:disabled{background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.flex-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--nylas-base-500)}', qC = HC;
17232
+ const HC = ':host{display:block;min-height:444px;--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}@media screen and (max-width: 768px){:host{min-height:auto}}.nylas-date-picker{display:flex;gap:1rem;flex-direction:column}.header{margin:0 0.5rem;height:48px}.header h2{font-size:1.3125rem;font-weight:400;line-height:1rem;color:var(--nylas-base-800)}.header h2 strong{font-weight:600}.title{margin:0 -1.25rem;display:flex;flex-direction:column;padding:0 1.5rem;gap:0.5rem;border-bottom:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family)}.title h1{margin-bottom:0;font-size:18px;line-height:20px;font-weight:600;display:flex;gap:0.5rem;align-items:center}.title p{margin-top:0;font-size:16px;display:flex;gap:0.5rem;align-items:center}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.dates{display:grid;justify-items:center;grid-template-columns:repeat(7, 1fr);gap:0.5rem;margin-bottom:24px}.dates .date{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;height:48px;width:48px;min-width:2rem;min-height:2rem;cursor:pointer;border-radius:var(--nylas-border-radius-2x);font-size:16px;font-weight:600;font-family:inherit;color:var(--nylas-base-text);background-color:var(--nylas-base-100);cursor:pointer;border:none}@media screen and (max-width: 412px){.dates .date{width:38px;height:38px;min-width:none}}.dates .date:hover:not(:disabled){box-shadow:0 0 0 2px var(--nylas-base-500) inset}.dates .date.date.current-month{color:var(--nylas-base-800)}.dates .date.date.selected{background-color:var(--nylas-primary);color:var(--nylas-base-0);font-weight:700}.dates .date.date.day-skeleton{color:var(--nylas-base-300)}.dates .date:disabled{color:var(--nylas-base-300);background-color:transparent;font-weight:400;cursor:not-allowed}.dates .day{font-size:12px;color:var(--nylas-base-800);font-weight:600;letter-spacing:0.5px;height:32px;display:flex;align-items:center}@media screen and (max-width: 768px){.dates .day{font-size:14px}}.dates .date.day-skeleton{height:48px;width:48px;border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite ease-in-out;background-color:var(--nylas-base-50)}@media screen and (max-width: 412px){.dates .date.day-skeleton{width:38px;height:38px;min-width:none}}.dates .date.current-day::after{content:"";position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:6px;height:6px;border-radius:50%;background-color:var(--nylas-base-500)}.dates .date.current-day.selected::after{background-color:var(--nylas-base-100)}.pagination{display:flex;flex-direction:row;justify-content:space-between;align-items:center;min-width:92px}.pagination .chevron-right{transform:rotate(180deg)}.pagination .button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);background-color:transparent;color:var(--nylas-base-800);cursor:pointer;border:none}.pagination .button:hover{background-color:var(--nylas-base-50)}.pagination .button:active{background-color:var(--nylas-base-100)}.pagination .button:disabled{background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.flex-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--nylas-base-500)}', qC = HC;
17222
17233
  var GC = function(t, e, n, r) {
17223
17234
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
17224
17235
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -17233,7 +17244,7 @@ var GC = function(t, e, n, r) {
17233
17244
  };
17234
17245
  const T5 = te(class extends ne {
17235
17246
  constructor() {
17236
- super(), this.__registerHost(), this.__attachShadow(), this.dateSelected = X(this, "dateSelected", 7), this.monthChanged = X(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;
17247
+ super(), this.__registerHost(), this.__attachShadow(), this.dateSelected = X(this, "dateSelected", 7), this.monthChanged = X(this, "monthChanged", 7), this.selectableDates = void 0, this.configSettings = void 0, this.selectedDate = 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;
17237
17248
  }
17238
17249
  configSettingsChanged(e) {
17239
17250
  var o;
@@ -17272,7 +17283,7 @@ const T5 = te(class extends ne {
17272
17283
  }
17273
17284
  render() {
17274
17285
  var e, n, r, i, o, s, a;
17275
- return b(ye, { key: "3e6dd28572687991de4841d639c5bdbd5d2d6e0b", part: "ndp" }, b("div", { key: "b8a31231d9e04035c468f9c025bbd3adb4f0dbb2", class: "nylas-date-picker" }, b("div", { key: "c25024241ce71fb94bcc485cc32614c820a69fee", class: "title", part: "ndp__title" }, (e = this.configSettings) != null && e.name ? b("h1", null, (n = this.configSettings) == null ? void 0 : n.name) : ((i = (r = this.configSettings) == null ? void 0 : r.organizer) == null ? void 0 : i.name) && b("h1", null, b("person-icon", null), ((s = (o = this.configSettings) == null ? void 0 : o.organizer) == null ? void 0 : s.name) || "Organizer"), b("p", { key: "f51da2bb7f8b5d6b84ea5a9ea66aef03b9e10e12" }, b("clock-icon", { key: "42a947b00a14afe7c57c716e37ef4d418e55e337" }), this.eventDuration ? t7(this.eventDuration) : `- ${R.t("time.minutes")}`)), b("div", { key: "bb264f745cbe51ece10238e3a2f3fae55d2f1bdb", class: "header flex-row" }, b("h2", { key: "16ecbac96e4ede32b8b524a645f96e30d16e2814", part: "ndp__month-header" }, b("strong", { key: "aaf8064ac4ebd41680fb4c147b5a23fc7e5554f2" }, n7(this.month.toLocaleDateString(void 0, { month: "long" }).toLocaleLowerCase())), " ", this.month.toLocaleDateString(void 0, { year: "numeric" })), b("div", { key: "8d5fdca1f4de5d8b75c89ebf6bc6d964b39b8351", class: "pagination" }, b("button", { key: "f70a9c3d9a8bbcf75ce3f702f82d161a59e7c7c8", title: "Previous month", onClick: () => this.changeMonth(-1), class: { "chevron-left": !0, button: !0 }, disabled: !((a = this.selectableDates) != null && a.length) || this.month <= /* @__PURE__ */ new Date(), part: "ndp__month-button" }, b("chevron-icon", { key: "8069fa1e5bfc7ef18f2f67f2ddb2fcfcb026ced3" })), b("button", { key: "6fde72c0e1bc2554ef284517637f35de19fcdd38", title: "Next month", onClick: () => this.changeMonth(1), class: { "chevron-right": !0, button: !0 }, disabled: this.disableNextMonthButton, part: "ndp__month-button" }, b("chevron-icon", { key: "79ec52b0c06fa56a763a9cb604ab54c746c63468" })))), b("div", { key: "f099f477ac31c9e686f24b721d3032455653cdea", class: "dates" }, [
17286
+ return g(ye, { key: "06638094c3e21b094641e5adbf08762b346fc10e", part: "ndp" }, g("div", { key: "370143e471513ab59c49dc369208365e5dcd1865", class: "nylas-date-picker" }, g("div", { key: "9b84a00eada140f2f142dec17a8418854160be87", class: "title", part: "ndp__title" }, (e = this.configSettings) != null && e.name ? g("h1", null, (n = this.configSettings) == null ? void 0 : n.name) : ((i = (r = this.configSettings) == null ? void 0 : r.organizer) == null ? void 0 : i.name) && g("h1", null, g("person-icon", null), ((s = (o = this.configSettings) == null ? void 0 : o.organizer) == null ? void 0 : s.name) || "Organizer"), g("p", { key: "a64fee4f4c6886b31620cdc62de0769e3908b634" }, g("clock-icon", { key: "e6c4d1cf6fd0b45e9824f26cb4f1a9fd828347d3" }), this.eventDuration ? t7(this.eventDuration) : `- ${R.t("time.minutes")}`)), g("div", { key: "7568638d6af0fa03f84cf4b32b418c6b4f4df0de", class: "header flex-row" }, g("h2", { key: "7b656957b240be95038151d5ca2089967b3704cd", part: "ndp__month-header" }, g("strong", { key: "cea1b1a9fc986885cb1425075364bb6b97b0d0e2" }, n7(this.month.toLocaleDateString(void 0, { month: "long" }).toLocaleLowerCase())), " ", this.month.toLocaleDateString(void 0, { year: "numeric" })), g("div", { key: "daf2f52ae4ca9e381fefadf53b9bf9f7a2c47987", class: "pagination" }, g("button", { key: "e182f6af777a122aaaa323fbada73258fd8bcf90", title: "Previous month", onClick: () => this.changeMonth(-1), class: { "chevron-left": !0, button: !0 }, disabled: !((a = this.selectableDates) != null && a.length) || this.month <= /* @__PURE__ */ new Date(), part: "ndp__month-button" }, g("chevron-icon", { key: "a9703cc9a0cbfc72e800f72a56233467bff2e5f9" })), g("button", { key: "bcafc749f794352746d64974e8e564a5db1125a4", title: "Next month", onClick: () => this.changeMonth(1), class: { "chevron-right": !0, button: !0 }, disabled: this.disableNextMonthButton, part: "ndp__month-button" }, g("chevron-icon", { key: "5fc036471ed8f1caabe79e8489321070d9b6eae3" })))), g("div", { key: "701d99cc45475a8b9217893bfa56c0fa80f61520", class: "dates" }, [
17276
17287
  R.t("days.sunday"),
17277
17288
  R.t("days.monday"),
17278
17289
  R.t("days.tuesday"),
@@ -17280,13 +17291,13 @@ const T5 = te(class extends ne {
17280
17291
  R.t("days.thursday"),
17281
17292
  R.t("days.friday"),
17282
17293
  R.t("days.saturday")
17283
- ].map((u) => b("div", { class: "day", part: "ndp__day" }, u)), this.dates.map((u, c) => {
17294
+ ].map((u) => g("div", { class: "day", part: "ndp__day" }, u)), this.dates.map((u, c) => {
17284
17295
  var l;
17285
17296
  const d = this.isDisabled(u, this.selectableDates);
17286
- return this.isLoading ? b("button", { disabled: !0, class: {
17297
+ return this.isLoading ? g("button", { disabled: !0, class: {
17287
17298
  "date day-skeleton": !0,
17288
17299
  "current-month": na(u, this.month)
17289
- }, style: { animationDelay: `${c * 20}ms` }, part: "ndp__date ndp__date--disabled" }, u.getDate()) : b("button", { class: {
17300
+ }, style: { animationDelay: `${c * 20}ms` }, part: "ndp__date ndp__date--disabled" }, u.getDate()) : g("button", { class: {
17290
17301
  date: !0,
17291
17302
  selected: !!(this.selectedDate && cn(u, this.selectedDate) && this.selectableDates && ((l = this.selectableDates) == null ? void 0 : l.length) > 0),
17292
17303
  "current-day": cn(u, /* @__PURE__ */ new Date()),
@@ -17305,8 +17316,8 @@ const T5 = te(class extends ne {
17305
17316
  }
17306
17317
  }, [1, "nylas-date-picker", {
17307
17318
  selectableDates: [16],
17308
- selectedDate: [16],
17309
17319
  configSettings: [16],
17320
+ selectedDate: [16],
17310
17321
  selectedLanguage: [1, "selected-language"],
17311
17322
  isLoading: [4, "is-loading"],
17312
17323
  eventDuration: [2, "event-duration"],
@@ -17398,9 +17409,9 @@ const A5 = te(class extends ne {
17398
17409
  e.preventDefault(), e.stopImmediatePropagation(), this.feedbackModalClosed.emit();
17399
17410
  }
17400
17411
  render() {
17401
- return b(ye, { key: "3a49a9dbf3e0cc9b3f87a2700b9b15bc072e6eda", part: "nfbf" }, b("div", { key: "2067b40da6d1c922a40408e2bfeb237be8aa9978", class: "card-wrapper", part: "nfbfc__card" }, b("div", { key: "96df66416dc02ff70000e251ae246f3505c7e931", class: "close-button" }, b("button-component", { key: "910b2cb6dc4bac4544155004c871d2d4e777a83c", tooltip: "Close", id: "close", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__close-button" }, b("close-icon", { key: "d7c517fcbf55b8192e21c6478383a73a1e8cb23d" }))), b("div", { key: "9f5bb5ef21432fed35f21296276852c194c8a2d4", class: "header" }, b("h2", { key: "999b25ddca766608b95ab1a15042572941845ea9", slot: "card-title", part: "nfbf__title" }, R.t("feedbackFormTitle"))), b("div", { key: "0f4400b23db8458b878bf6b2aaf2e91fcf77de29", class: "description title-desc" }, b("p", { key: "c17b98e3d1049fb5bdd3dc78f1ac430da347fa78" }, R.t("feedbackFormDescription"))), b("textarea-component", { key: "8f7456a4c656073e227e162a241e8b05d6af44d0", label: R.t("feedbackMessageLabel"), required: !0, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: R.t("feedbackMessagePlaceholder") }), b("div", { key: "d6ce3852116a3414c974ea6d75911dbe6918d14d", class: "description footer-desc" }, b("p", { key: "f44a322d4019deb4c8e8ac24c5095b0c8f75eaf7" }, "By sending this report, you agree to Nylas’ access to the data necessary to respond to this issue, subject to Nylas’", " ", b("a", { key: "1425cfa93c0e603877ceffddb62f3f6c5d75b505", href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), b("div", { key: "efd8316203dc5050d634a3876543a0eef6d0974d", class: {
17412
+ return g(ye, { key: "00514f43a6b2052ce2a4144917ccc5adc965a94a", part: "nfbf" }, g("div", { key: "4271697a749f74d3d62f611df6841dc4d7e4ef4d", class: "card-wrapper", part: "nfbfc__card" }, g("div", { key: "59271c12c04a4f78fac68534ec66b24ac9803784", class: "close-button" }, g("button-component", { key: "de7ced90803da24ff46d2dc30f7e925b6fb760a8", tooltip: "Close", id: "close", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__close-button" }, g("close-icon", { key: "3f64b2db3958bf082829310126566ef58ae54f46" }))), g("div", { key: "526d959d10a00d49d66d66fe3a56bce3a03893f4", class: "header" }, g("h2", { key: "699f00cca09366e19081e0972a76a2f67d471ecc", slot: "card-title", part: "nfbf__title" }, R.t("feedbackFormTitle"))), g("div", { key: "95062b4d3557eef49fac7246526f0d413acdd7ff", class: "description title-desc" }, g("p", { key: "6806a1ae323b2f67c5fcacbb0238df86a4f32bce" }, R.t("feedbackFormDescription"))), g("textarea-component", { key: "1135f11f19f5cca1f814812c606b39c3a828bf9b", label: R.t("feedbackMessageLabel"), required: !0, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: R.t("feedbackMessagePlaceholder") }), g("div", { key: "388f7897c0eb2a9d87d25b98b49d3f60363e0108", class: "description footer-desc" }, g("p", { key: "ab9ba37f8e5533b8480c223ad668ffb91b95ab7e" }, "By sending this report, you agree to Nylas’ access to the data necessary to respond to this issue, subject to Nylas’", " ", g("a", { key: "c1a380ed74cb1c6081ca7c557e761eab7ae5ab9d", href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), g("div", { key: "d8da33e015c718e6c8cf59b407eb7df7efaa26f9", class: {
17402
17413
  footer: !0
17403
- } }, b("button-component", { key: "dd0fd83ea7d430815d8fdceda14225e38357bb64", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${R.t("feedbackModalCloseButton")}`), b("button-component", { key: "75616d6c4b4d5bbc19287e22b08a490a47a6cac0", variant: "primary", onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${R.t("feedbackModalSubmitButton")}`))));
17414
+ } }, g("button-component", { key: "52f9c1a0a54907f9b83167387247fc3c979ad498", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${R.t("feedbackModalCloseButton")}`), g("button-component", { key: "819fc5952960c841c3a6b46af127699cd5f69c88", variant: "primary", onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${R.t("feedbackModalSubmitButton")}`))));
17404
17415
  }
17405
17416
  get host() {
17406
17417
  return this;
@@ -17459,7 +17470,7 @@ const JC = ".sc-translate-icon-h{display:flex}", XC = JC, QC = te(class extends
17459
17470
  super(), this.__registerHost(), this.width = "16", this.height = "16";
17460
17471
  }
17461
17472
  render() {
17462
- return b("svg", { key: "6da8339145701dd3c2bb2a0a655af1f784d79aa3", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none" }, b("path", { key: "b064ce1fd408072409031db8792b0fa938fb3096", fill: "currentColor", d: "M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z" }));
17473
+ return g("svg", { key: "a30c1511ca0c16efbba06eeafc1507f4d2e5e723", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none" }, g("path", { key: "2ea649b4607a9a990230be8543af0de419d68050", fill: "currentColor", d: "M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z" }));
17463
17474
  }
17464
17475
  static get style() {
17465
17476
  return XC;
@@ -17479,7 +17490,7 @@ function $5() {
17479
17490
  }
17480
17491
  });
17481
17492
  }
17482
- const eS = ":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}", tS = eS;
17493
+ const eS = ':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-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}', tS = eS;
17483
17494
  var nS = function(t, e, n, r) {
17484
17495
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
17485
17496
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -17514,12 +17525,12 @@ const I5 = te(class extends ne {
17514
17525
  }
17515
17526
  getTimezoneLabelHTML(e) {
17516
17527
  const n = JE(e);
17517
- return b("span", { class: "timezone-label", style: {
17528
+ return g("span", { class: "timezone-label", style: {
17518
17529
  display: "flex",
17519
17530
  alignItems: "center",
17520
17531
  justifyContent: "space-between",
17521
17532
  width: "-webkit-fill-available"
17522
- } }, ei[e], " ", b("span", { class: "timezone-offset", style: {
17533
+ } }, ei[e], " ", g("span", { class: "timezone-offset", style: {
17523
17534
  fontSize: "14px",
17524
17535
  fontWeight: "400",
17525
17536
  color: "var(--nylas-base-500)"
@@ -17534,13 +17545,13 @@ const I5 = te(class extends ne {
17534
17545
  label: Xd[r],
17535
17546
  value: r
17536
17547
  }));
17537
- return b(ye, { key: "8e8ec3819083fb25cb8620f14aa1f140a995ec89" }, b("div", { key: "45aaebcd9f80d54dc01b5d611094fa05225c8331", class: "nylas-locale-switch", part: "nls" }, b("div", { key: "47d8166b91a3ef742b14e5783338c3701be85eb7", class: {
17548
+ return g(ye, { key: "8e8ec3819083fb25cb8620f14aa1f140a995ec89" }, g("div", { key: "45aaebcd9f80d54dc01b5d611094fa05225c8331", class: "nylas-locale-switch", part: "nls" }, g("div", { key: "47d8166b91a3ef742b14e5783338c3701be85eb7", class: {
17538
17549
  "select-wrapper": !0,
17539
17550
  timezone: !0
17540
- }, part: "nls__timezone" }, b("select-dropdown", { key: "71edd2352b6067a18b9ba676495e59c954e6c07d", name: "timezone", options: e, defaultSelectedOption: e.find((r) => r.value == this.selectedTimezone), exportparts: "sd_dropdown: nls__timezone-dropdown, sd_dropdown-button: nls__timezone-drop-button, sd_dropdown-button-selected-label: nls__timezone-drop-button-selected-label, sd_dropdown-content: nls__timezone-drop-content, sd_dropdown_label: nls__timezone-drop-label" }, b("span", { key: "f48e3c11a1981e32b75f5425570db0b584db7f51", slot: "select-icon" }, b("globe-icon", { key: "6b6721c8d88d715dbcb52d2e2750c22015ac252c", width: "20", height: "20" })))), b("div", { key: "fe652536d637774336cad11a65bba7bfd8636972", class: {
17551
+ }, part: "nls__timezone" }, g("select-dropdown", { key: "71edd2352b6067a18b9ba676495e59c954e6c07d", name: "timezone", options: e, defaultSelectedOption: e.find((r) => r.value == this.selectedTimezone), exportparts: "sd_dropdown: nls__timezone-dropdown, sd_dropdown-button: nls__timezone-drop-button, sd_dropdown-button-selected-label: nls__timezone-drop-button-selected-label, sd_dropdown-content: nls__timezone-drop-content, sd_dropdown_label: nls__timezone-drop-label" }, g("span", { key: "f48e3c11a1981e32b75f5425570db0b584db7f51", slot: "select-icon" }, g("globe-icon", { key: "6b6721c8d88d715dbcb52d2e2750c22015ac252c", width: "20", height: "20" })))), g("div", { key: "fe652536d637774336cad11a65bba7bfd8636972", class: {
17541
17552
  "select-wrapper": !0,
17542
17553
  language: !0
17543
- }, part: "nls__language" }, b("select-dropdown", { key: "f83f8dbf84878fb1670d4a6f59b045c111420ce1", name: "language", options: n, defaultSelectedOption: n.find((r) => r.value == this.selectedLanguage), exportparts: "sd_dropdown: nls__language-dropdown, sd_dropdown-button: nls__language-drop-button, sd_dropdown-content: nls__language-drop-content, sd_dropdown_label: nls__language-drop-label" }, b("span", { key: "3d66833265053e81c9333b5d36ae822ed3a17878", slot: "select-icon" }, b("translate-icon", { key: "30121c5733873930e7e1e3bdaedf11bd2f258139", width: "20", height: "20" }))))));
17554
+ }, part: "nls__language" }, g("select-dropdown", { key: "f83f8dbf84878fb1670d4a6f59b045c111420ce1", name: "language", options: n, defaultSelectedOption: n.find((r) => r.value == this.selectedLanguage), exportparts: "sd_dropdown: nls__language-dropdown, sd_dropdown-button: nls__language-drop-button, sd_dropdown-content: nls__language-drop-content, sd_dropdown_label: nls__language-drop-label" }, g("span", { key: "3d66833265053e81c9333b5d36ae822ed3a17878", slot: "select-icon" }, g("translate-icon", { key: "30121c5733873930e7e1e3bdaedf11bd2f258139", width: "20", height: "20" }))))));
17544
17555
  }
17545
17556
  static get style() {
17546
17557
  return tS;
@@ -17601,7 +17612,7 @@ const iS = ".sc-nylas-logo-h{display:flex}", oS = iS, sS = te(class extends ne {
17601
17612
  super(), this.__registerHost(), this.width = "69", this.height = "24";
17602
17613
  }
17603
17614
  render() {
17604
- return b("svg", { key: "aeb5a7e31cfa6b2846b43e3d1ea193a0d153dac4", width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("g", { key: "425c49e05a92478dba4bc83fadecdd8ecd547847", "clip-path": "url(#clip0_455_3543)" }, b("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" }), b("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" }), b("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" }), b("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" }), b("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" }), b("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" }), b("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" }), b("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" })), b("defs", { key: "fd197f32005cc211e8c265d9909df3a33911fd08" }, b("clipPath", { key: "fc1ae55255e6bd8e6b2e97348a9a76c92c433876", id: "clip0_455_3543" }, b("rect", { key: "c67f2f37b5f3a524e3c89aa3eba842cfc3c86c0c", width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" }))));
17615
+ return g("svg", { key: "12dffc0c444183dfd3bb8593076a6b022de4654b", width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("g", { key: "89545db6a2731faffdf62b9f0826211c9827af35", "clip-path": "url(#clip0_455_3543)" }, g("path", { key: "bc169c74819239b2c40b3730a445f45d1a16f445", 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" }), g("path", { key: "456cd298652217764f8486bca01860c4f1132e58", 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" }), g("path", { key: "99e86fdeed7fd4e6440e749884432df26dfe1d37", 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" }), g("path", { key: "68231e9e8a5f86804d3590ca240bcaf362df1fa6", 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" }), g("path", { key: "80b2550211f60e218c5f52f975a060e3ac4ea84a", 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" }), g("path", { key: "b5db41daab85f0ffd7738f492ede6189237b7d5f", 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" }), g("path", { key: "9fc6c3fe5eb5f86e4e53126c98958f36a128030f", 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" }), g("path", { key: "dcbcc1f9ad3d20c137644553a90ec0afc7f6bdf9", 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" })), g("defs", { key: "569df0349b4a24ea2d0a0bee9788b0b8911dcf39" }, g("clipPath", { key: "7a24bd2f656eba24c53b46b1b65b6ae5ea11c378", id: "clip0_455_3543" }, g("rect", { key: "60a57936d17acf21b9c58a177f17f3ce3fede7f1", width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" }))));
17605
17616
  }
17606
17617
  static get style() {
17607
17618
  return oS;
@@ -17626,7 +17637,7 @@ const uS = ".sc-warning-icon-h{display:flex}", cS = uS, lS = te(class extends ne
17626
17637
  super(), this.__registerHost(), this.width = "16", this.height = "16";
17627
17638
  }
17628
17639
  render() {
17629
- return b("svg", { key: "f72e992cdb7a11e047451c6274fca33c4615f539", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, b("path", { key: "1abecd46fba3a97e1b496c174dca0ecc31f8bde5", d: "M7.68551 1.35232L1.12678 13.2773C0.576954 14.277 1.3002 15.5002 2.4411 15.5002H15.5586C16.6995 15.5002 17.4227 14.277 16.8729 13.2773L10.3142 1.35232C9.74426 0.316153 8.2554 0.316157 7.68551 1.35232ZM8.99982 5.25016C9.41403 5.25016 9.74982 5.58595 9.74982 6.00016V10.0002C9.74982 10.4144 9.41403 10.7502 8.99982 10.7502C8.5856 10.7502 8.24982 10.4144 8.24982 10.0002V6.00016C8.24982 5.58595 8.5856 5.25016 8.99982 5.25016ZM9.74982 12.2502C9.74982 12.6644 9.41403 13.0002 8.99982 13.0002C8.5856 13.0002 8.24982 12.6644 8.24982 12.2502C8.24982 11.8359 8.5856 11.5002 8.99982 11.5002C9.41403 11.5002 9.74982 11.8359 9.74982 12.2502Z", fill: "currentColor" }));
17640
+ return g("svg", { key: "78a733b398ff7718a9a80331bb07830b5f27f1f6", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, g("path", { key: "6bde2554d33fffe3f76763fcb4372fb1ec7a1c75", d: "M7.68551 1.35232L1.12678 13.2773C0.576954 14.277 1.3002 15.5002 2.4411 15.5002H15.5586C16.6995 15.5002 17.4227 14.277 16.8729 13.2773L10.3142 1.35232C9.74426 0.316153 8.2554 0.316157 7.68551 1.35232ZM8.99982 5.25016C9.41403 5.25016 9.74982 5.58595 9.74982 6.00016V10.0002C9.74982 10.4144 9.41403 10.7502 8.99982 10.7502C8.5856 10.7502 8.24982 10.4144 8.24982 10.0002V6.00016C8.24982 5.58595 8.5856 5.25016 8.99982 5.25016ZM9.74982 12.2502C9.74982 12.6644 9.41403 13.0002 8.99982 13.0002C8.5856 13.0002 8.24982 12.6644 8.24982 12.2502C8.24982 11.8359 8.5856 11.5002 8.99982 11.5002C9.41403 11.5002 9.74982 11.8359 9.74982 12.2502Z", fill: "currentColor" }));
17630
17641
  }
17631
17642
  static get style() {
17632
17643
  return cS;
@@ -17700,7 +17711,7 @@ const dS = ':host{display:block;margin-bottom:-12px;width:100%;z-index:1;--nylas
17700
17711
  this.notifications = this.notifications.filter((n) => n.id !== e);
17701
17712
  }
17702
17713
  render() {
17703
- return b(ye, { key: "83454a1a73a488653b469774ee8915e21d892d65" }, b(Ra, { key: "34b9bdef55e83f345074ad482a256f7eb3ed719e" }, this.notifications.map((e) => b("div", { class: `notif ${e.type}`, key: e.id }, b("div", { class: "content" }, b("span", { class: `icon ${e.type}` }, (e.type === "error" || e.type === "warning") && b("warning-icon", null)), b("span", { class: "message" }, b("span", { class: "title" }, e.title), e.description && b("span", { class: "description" }, e.description))), b("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(e.id) }, b("close-icon", null)))), b("slot", { key: "bff0a753c23041a123bea8391363b0caad111342" })));
17714
+ return g(ye, { key: "03f95b47c77afb69a2696473c2bf8c3f1e1ed44a" }, g(Ra, { key: "990afe9475e36dbae84a70266ef0b5188d2011de" }, this.notifications.map((e) => g("div", { class: `notif ${e.type}`, key: e.id }, g("div", { class: "content" }, g("span", { class: `icon ${e.type}` }, (e.type === "error" || e.type === "warning") && g("warning-icon", null)), g("span", { class: "message" }, g("span", { class: "title" }, e.title), e.description && g("span", { class: "description" }, e.description))), g("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(e.id) }, g("close-icon", null)))), g("slot", { key: "49a5c13a306626b5bba79c443bb8501fe50c7ea3" })));
17704
17715
  }
17705
17716
  get host() {
17706
17717
  return this;
@@ -17753,7 +17764,7 @@ const D5 = te(class extends ne {
17753
17764
  this.organizerConfirmationBookingId && !this.isLoading && this.confirmBookingButtonClicked.emit({ bookingId: this.organizerConfirmationBookingId, host: this.host, errorHandler: e });
17754
17765
  }, this.handleRejectBookingButtonClicked = () => {
17755
17766
  this.action = "reject", this.organizerConfirmationBookingId && !this.isLoading && this.rejectBookingButtonClicked.emit({ bookingId: this.organizerConfirmationBookingId, host: this.host });
17756
- }, this.organizerConfirmationBookingId = void 0, this.configSettings = void 0, this.isLoading = void 0, this.selectedLanguage = navigator.language, this.action = null;
17767
+ }, this.configSettings = void 0, this.isLoading = void 0, this.organizerConfirmationBookingId = void 0, this.selectedLanguage = navigator.language, this.action = null;
17757
17768
  }
17758
17769
  connectedCallback() {
17759
17770
  }
@@ -17770,11 +17781,11 @@ const D5 = te(class extends ne {
17770
17781
  }
17771
17782
  render() {
17772
17783
  var e, n, r, i, o, s, a, u, c, d, l, f;
17773
- return b(ye, { key: "123955b645210a040f6916e9a85847c934222b79", part: "nmcc" }, b("div", { key: "cc41530612eaf960219e9a9eeab0b77f76d35c5e", class: "event-card-wrapper", part: "nmccc__card" }, b("div", { key: "c24348bc400422f9aa2136b0a895fc4b8b5d5591", class: "calendar-icon" }, b("calendar-check-icon", { key: "fb172e317fabeea80d213a1c2b98aa67ed63f641" })), b("div", { key: "4d75233d1b6601beca52683ad9313e3cc2c12404", class: "booked-event-header" }, b("h2", { key: "7f27dbb922928b25f1fe97929356d9f4f6060759", slot: "card-title", part: "nmcc__title" }, !!this.organizerConfirmationBookingId && `${R.t("bookingPendingTitle")}!`)), b("div", { key: "faf8aec0e5815abc2dac1e0dc3a8527b8394ea3c", class: "manage-booking-description" }, b("p", { key: "b6eb26a6f6f6af476dbceffee3ccadf10c0f97a9" }, R.t("bookingPendingnDescription"))), b("div", { key: "73009ddd0596cd27c1da6c0c5252ee2766475297", class: {
17784
+ return g(ye, { key: "c722e5ad0c458060b988e0a49fde079d8258125e", part: "nmcc" }, g("div", { key: "758b60b6834f7150a30434538707f321754f9f8b", class: "event-card-wrapper", part: "nmccc__card" }, g("div", { key: "675e8ab2297fefe3840eb06b536706e216cd525a", class: "calendar-icon" }, g("calendar-check-icon", { key: "56768b41e1abebb836619f1da25fdba7b0b32203" })), g("div", { key: "a026a0daa62a4bf5054682a93c19f296b4761d31", class: "booked-event-header" }, g("h2", { key: "38ba7f91abcde16f459f50a3638245e2c994f4f5", slot: "card-title", part: "nmcc__title" }, !!this.organizerConfirmationBookingId && `${R.t("bookingPendingTitle")}!`)), g("div", { key: "4ca2d5bd6cf71f624bb2eed64c0f8c44089adc0a", class: "manage-booking-description" }, g("p", { key: "6584d4ac6e59c6b4156f886a6903d05dcef37c3a" }, R.t("bookingPendingnDescription"))), g("div", { key: "805a279cbff4f92eb91f150146a6d5688945ffe6", class: {
17774
17785
  footer: !0,
17775
17786
  "no-footer": ((n = (e = this.configSettings) == null ? void 0 : e.scheduler) == null ? void 0 : n.hide_cancellation_options) && ((i = (r = this.configSettings) == null ? void 0 : r.scheduler) == null ? void 0 : i.hide_rescheduling_options),
17776
17787
  "no-template-cols": ((s = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : s.hide_cancellation_options) || ((u = (a = this.configSettings) == null ? void 0 : a.scheduler) == null ? void 0 : u.hide_rescheduling_options)
17777
- } }, !((d = (c = this.configSettings) == null ? void 0 : c.scheduler) != null && d.hide_cancellation_options) && b("button-component", { variant: "destructive", onClick: this.handleRejectBookingButtonClicked, isLoading: this.isLoading && this.action === "reject", part: "nmcc__button-outline nmcc__cancel-cta" }, `${R.t("rejectBookingButton")}`), !((f = (l = this.configSettings) == null ? void 0 : l.scheduler) != null && f.hide_rescheduling_options) && b("button-component", { variant: "basic", onClick: this.handleConfirmBookingButtonClicked, isLoading: this.isLoading && this.action === "confirm", part: "nmcc__button-outline nmcc__reschedule-cta" }, `${R.t("confirmBookingButton")}`))));
17788
+ } }, !((d = (c = this.configSettings) == null ? void 0 : c.scheduler) != null && d.hide_cancellation_options) && g("button-component", { variant: "destructive", onClick: this.handleRejectBookingButtonClicked, isLoading: this.isLoading && this.action === "reject", part: "nmcc__button-outline nmcc__cancel-cta" }, `${R.t("rejectBookingButton")}`), !((f = (l = this.configSettings) == null ? void 0 : l.scheduler) != null && f.hide_rescheduling_options) && g("button-component", { variant: "basic", onClick: this.handleConfirmBookingButtonClicked, isLoading: this.isLoading && this.action === "confirm", part: "nmcc__button-outline nmcc__reschedule-cta" }, `${R.t("confirmBookingButton")}`))));
17778
17789
  }
17779
17790
  get host() {
17780
17791
  return this;
@@ -17783,9 +17794,9 @@ const D5 = te(class extends ne {
17783
17794
  return gS;
17784
17795
  }
17785
17796
  }, [1, "nylas-organizer-confirmation-card", {
17786
- organizerConfirmationBookingId: [1, "organizer-confirmation-booking-id"],
17787
17797
  configSettings: [8, "config-settings"],
17788
17798
  isLoading: [4, "is-loading"],
17799
+ organizerConfirmationBookingId: [1, "organizer-confirmation-booking-id"],
17789
17800
  selectedLanguage: [1, "selected-language"],
17790
17801
  action: [32],
17791
17802
  resetAction: [64]
@@ -17837,7 +17848,7 @@ function yS() {
17837
17848
  }
17838
17849
  });
17839
17850
  }
17840
- const vS = ":host{display:block;position:relative;height:inherit;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:var(--nylas-font-family)}.event-card{display:flex;align-items:center;flex-direction:column;width:calc(100% - 3rem);background-color:var(--nylas-base-0);color:var(--nylas-base-800);border-radius:var(--nylas-border-radius-2x);padding:3rem 1.5rem 1.5rem 1.5rem;position:relative;box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.event-card{margin-bottom:2rem}}.nylas-selected-event-card__date{font-size:min(max(16px, 3vw), 18px);font-weight:600}.nylas-selected-event-card__time{font-size:16px;font-weight:500}.calendar-icon{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)}calendar-icon{display:flex;align-items:center;justify-content:center;height:100%}.event-timezone{display:flex;color:var(--nylas-base-600);margin-bottom:8px;gap:4px;align-items:center}@media screen and (max-width: 768px){.event-timezone{margin-bottom:16px}}", _S = vS;
17851
+ const vS = ':host{--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;display:block;position:relative;height:inherit;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:var(--nylas-font-family)}.event-card{display:flex;align-items:center;flex-direction:column;width:calc(100% - 3rem);background-color:var(--nylas-base-0);color:var(--nylas-base-800);border-radius:var(--nylas-border-radius-2x);padding:3rem 1.5rem 1.5rem 1.5rem;position:relative;box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.event-card{margin-bottom:2rem}}.nylas-selected-event-card__date{font-size:min(max(16px, 3vw), 18px);font-weight:600}.nylas-selected-event-card__time{font-size:16px;font-weight:500}.calendar-icon{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)}calendar-icon{display:flex;align-items:center;justify-content:center;height:100%}.event-timezone{display:flex;color:var(--nylas-base-600);margin-bottom:8px;gap:4px;align-items:center}@media screen and (max-width: 768px){.event-timezone{margin-bottom:16px}}', _S = vS;
17841
17852
  var kS = function(t, e, n, r) {
17842
17853
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
17843
17854
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -17873,7 +17884,7 @@ const M5 = te(class extends ne {
17873
17884
  }
17874
17885
  render() {
17875
17886
  var e;
17876
- return b(ye, { key: "2b4257d6793fd263e7978504b88e270d77e2e78f", part: "nsec" }, b("div", { key: "8eb84c0c375afd9824d88337003d09b7fe3db171", class: "event-card", part: "nsec__card" }, b("div", { key: "bc7d364f1ec772f06f5eab4549b0433cb947f68d", class: "calendar-icon", part: "nsec__icon" }, b("calendar-icon", { key: "a3f38777fea8b17714ad0dc34cd236a93e4360fd" })), b("div", { key: "1d23698c5a8d627bc10c7969e269a381584b6477", class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate ? Pc((e = this.selectedDate) == null ? void 0 : e.toLocaleDateString(Kc[this.selectedLanguage || navigator.language], { dateStyle: "full", timeZone: this.selectedTimezone })) : "-"), b("div", { key: "4e02d04cc6918076935614be321619a9df16430d", class: "nylas-selected-event-card__time", part: "nsec__time" }, this.startTime, " - ", this.endTime)), b("div", { key: "ad39ae7e3df5e6652b0dad88b98695cfee00e3db", class: "event-timezone", part: "nsec__timezone" }, b("globe-icon", { key: "23b1e1fd15842a65278a969e1ce3aea0313ea46e" }), ei[this.selectedTimezone]));
17887
+ return g(ye, { key: "988d5270aa9dbd656c11d70ae0f3058dd25b4eb8", part: "nsec" }, g("div", { key: "21681211baf07faa5b09cec29611859a8dbdd37b", class: "event-card", part: "nsec__card" }, g("div", { key: "9b478bc27a5469a7c67786e3b1958e20e2f59d9e", class: "calendar-icon", part: "nsec__icon" }, g("calendar-icon", { key: "9a9f4cd2551747874876d8a32943a8cd98032d1e" })), g("div", { key: "f9dcde6ca9cffbfeb2f5dcd4e3586433bf2fd055", class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate ? Pc((e = this.selectedDate) == null ? void 0 : e.toLocaleDateString(Kc[this.selectedLanguage || navigator.language], { dateStyle: "full", timeZone: this.selectedTimezone })) : "-"), g("div", { key: "a6151b6f505de22f748fcd959c5aa04721a4dd52", class: "nylas-selected-event-card__time", part: "nsec__time" }, this.startTime, " - ", this.endTime)), g("div", { key: "9190417c554a5e960841a8e132f3995574da14be", class: "event-timezone", part: "nsec__timezone" }, g("globe-icon", { key: "16f199ce28c18cc975bd8ade52f6b4fccfbe4455" }), ei[this.selectedTimezone]));
17877
17888
  }
17878
17889
  static get style() {
17879
17890
  return _S;
@@ -17919,7 +17930,7 @@ function xS() {
17919
17930
  }
17920
17931
  });
17921
17932
  }
17922
- const wS = ":host{display:block;height:calc(100% - 48px)}.time-picker-wrapper{display:flex;flex-direction:column;height:100%}.timeslots{position:relative;display:flex;flex-direction:column;gap:0.75rem;align-items:center;overflow-y:scroll;padding:0.5rem 1.5rem 1.5rem;flex:1}.time{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4px 12px;gap:0.5rem;font-size:16px;font-weight:500;font-family:inherit;width:100%;height:48px;color:var(--nylas-base-800);background:var(--nylas-base-0);border:none;outline:1.5px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);flex:none;order:4;align-self:stretch;flex-grow:0;cursor:pointer}.time:hover,.time:focus{color:var(--nylas-primary);outline-color:var(--nylas-primary)}.time.selected{font-weight:600;color:var(--nylas-primary);outline:2px solid var(--nylas-primary);border-color:transparent;box-shadow:0 0 0 2px var(--nylas-primary)}.empty{text-align:center;padding:0 1.5rem;color:var(--nylas-base-600);font-size:min(max(12px, 2vw), 14px);height:450px;display:flex;align-items:center;justify-content:center}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.loading{padding:0 1.5rem}.loading .timeslot-skeleton{width:100%;height:4rem;background-color:var(--nylas-base-50);margin-bottom:0.5rem;border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite ease-in-out}.footer{width:100%;padding:14px;box-sizing:border-box;border-top:1px solid var(--nylas-base-200)}", ES = wS;
17933
+ const wS = ':host{display:block;height:calc(100% - 48px);--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}.time-picker-wrapper{display:flex;flex-direction:column;height:100%}.timeslots{position:relative;display:flex;flex-direction:column;gap:0.75rem;align-items:center;overflow-y:scroll;padding:0.5rem 1.5rem 1.5rem;flex:1}.time{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4px 12px;gap:0.5rem;font-size:16px;font-weight:500;font-family:inherit;width:100%;height:48px;color:var(--nylas-base-800);background:var(--nylas-base-0);border:none;outline:1.5px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);flex:none;order:4;align-self:stretch;flex-grow:0;cursor:pointer}.time:hover,.time:focus{color:var(--nylas-primary);outline-color:var(--nylas-primary)}.time.selected{font-weight:600;color:var(--nylas-primary);outline:2px solid var(--nylas-primary);border-color:transparent;box-shadow:0 0 0 2px var(--nylas-primary)}.empty{text-align:center;padding:0 1.5rem;color:var(--nylas-base-600);font-size:min(max(12px, 2vw), 14px);height:450px;display:flex;align-items:center;justify-content:center}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.loading{padding:0 1.5rem}.loading .timeslot-skeleton{width:100%;height:4rem;background-color:var(--nylas-base-50);margin-bottom:0.5rem;border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite ease-in-out}.footer{width:100%;padding:14px;box-sizing:border-box;border-top:1px solid var(--nylas-base-200)}', ES = wS;
17923
17934
  var CS = function(t, e, n, r) {
17924
17935
  var i = arguments.length, o = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, s;
17925
17936
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -17940,7 +17951,7 @@ const P5 = te(class extends ne {
17940
17951
  this.hoveredTimeslotIndex = e;
17941
17952
  }, this.handleMouseLeave = () => {
17942
17953
  this.hoveredTimeslotIndex = -1;
17943
- }, this.selectedDate = /* @__PURE__ */ new Date(), this.availability = void 0, this.selectedTimeslot = void 0, this.isLoading = void 0, this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage = void 0, this.times = [], this.hoveredTimeslotIndex = void 0, this.selectedTimeslotIndex = void 0;
17954
+ }, this.availability = void 0, this.isLoading = void 0, this.selectedTimeslot = void 0, this.selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedDate = /* @__PURE__ */ new Date(), this.selectedLanguage = void 0, this.times = [], this.hoveredTimeslotIndex = void 0, this.selectedTimeslotIndex = void 0;
17944
17955
  }
17945
17956
  selectedLanguageChanged(e) {
17946
17957
  R.changeLanguage(e);
@@ -17989,13 +18000,13 @@ const P5 = te(class extends ne {
17989
18000
  return `${n.format(e.start_time)} - ${n.format(e.end_time)}`;
17990
18001
  }
17991
18002
  render() {
17992
- return this.isLoading ? b(ye, null, b("div", { class: "loading" }, new Array(6).fill(0).map((e, n) => b("div", { class: "timeslot-skeleton", style: { animationDelay: `${n * 20}ms` } })))) : this.availability && this.availability.length === 0 ? b(ye, null, b("div", { class: "empty" }, b("span", null, "No dates available"))) : (!this.times || this.times.length === 0) && this.selectedDate ? b(ye, null, b("div", { class: "empty" }, b("span", null, "No time slots available for selected date"))) : this.selectedDate ? b(ye, { part: "ntp" }, b("div", { class: "time-picker-wrapper" }, b("div", { class: "timeslots" }, this.times.map((e, n) => {
18003
+ return this.isLoading ? g(ye, null, g("div", { class: "loading" }, new Array(6).fill(0).map((e, n) => g("div", { class: "timeslot-skeleton", style: { animationDelay: `${n * 20}ms` } })))) : this.availability && this.availability.length === 0 ? g(ye, null, g("div", { class: "empty" }, g("span", null, "No dates available"))) : (!this.times || this.times.length === 0) && this.selectedDate ? g(ye, null, g("div", { class: "empty" }, g("span", null, "No time slots available for selected date"))) : this.selectedDate ? g(ye, { part: "ntp" }, g("div", { class: "time-picker-wrapper" }, g("div", { class: "timeslots" }, this.times.map((e, n) => {
17993
18004
  var r, i, o, s;
17994
- return b("button", { part: `ntp__timeslot ${((i = (r = this.selectedTimeslot) == null ? void 0 : r.start_time) == null ? void 0 : i.getTime()) === e.start_time.getTime() ? "ntp__timeslot--selected" : ""}`, "aria-role": "button", class: {
18005
+ return g("button", { part: `ntp__timeslot ${((i = (r = this.selectedTimeslot) == null ? void 0 : r.start_time) == null ? void 0 : i.getTime()) === e.start_time.getTime() ? "ntp__timeslot--selected" : ""}`, "aria-role": "button", class: {
17995
18006
  time: !0,
17996
18007
  selected: typeof this.selectedTimeslot < "u" && ((s = (o = this.selectedTimeslot) == null ? void 0 : o.start_time) == null ? void 0 : s.getTime()) === e.start_time.getTime()
17997
18008
  }, onClick: () => this.onClickSelectTime(e, n), onMouseEnter: () => this.handleMouseEnter(n), onMouseLeave: () => this.handleMouseLeave() }, this.hoveredTimeslotIndex == n || this.selectedTimeslotIndex == this.getTimeslotId(e.start_time, n) ? this.getTimeSlotLabel(e) : e.start_time.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", timeZone: this.selectedTimezone }));
17998
- })), this.selectedTimeslot && b("div", { class: "footer" }, b("button-component", { variant: "primary", onClick: (e) => this.handleConfirmedTimeslot(e, this.selectedTimeslot), part: "ntp__button-primary" }, b("slot", { name: "timeslot-picker-cta-label" }, R.t("nextButton")))))) : b(ye, null);
18009
+ })), this.selectedTimeslot && g("div", { class: "footer" }, g("button-component", { variant: "primary", onClick: (e) => this.handleConfirmedTimeslot(e, this.selectedTimeslot), part: "ntp__button-primary" }, g("slot", { name: "timeslot-picker-cta-label" }, R.t("nextButton")))))) : g(ye, null);
17999
18010
  }
18000
18011
  static get watchers() {
18001
18012
  return {
@@ -18008,11 +18019,11 @@ const P5 = te(class extends ne {
18008
18019
  return ES;
18009
18020
  }
18010
18021
  }, [1, "nylas-timeslot-picker", {
18011
- selectedDate: [16],
18012
18022
  availability: [16],
18013
- selectedTimeslot: [16],
18014
18023
  isLoading: [4, "loading-state"],
18024
+ selectedTimeslot: [16],
18015
18025
  selectedTimezone: [1, "selected-timezone"],
18026
+ selectedDate: [16],
18016
18027
  selectedLanguage: [1, "selected-language"],
18017
18028
  times: [32],
18018
18029
  hoveredTimeslotIndex: [32],
@@ -20565,10 +20576,10 @@ class NA {
20565
20576
  }
20566
20577
  throw new $t(`${c} returned \`null\`, will not send event.`, "log");
20567
20578
  }
20568
- const g = r && r.getSession();
20569
- if (!s && g && this._updateSessionFromEvent(g, p), s) {
20570
- const y = p.sdkProcessingMetadata && p.sdkProcessingMetadata.spanCountBeforeProcessing || 0, v = p.spans ? p.spans.length : 0, w = y - v;
20571
- w > 0 && this.recordDroppedEvent("before_send", "span", w);
20579
+ const b = r && r.getSession();
20580
+ if (!s && b && this._updateSessionFromEvent(b, p), s) {
20581
+ const y = p.sdkProcessingMetadata && p.sdkProcessingMetadata.spanCountBeforeProcessing || 0, v = p.spans ? p.spans.length : 0, E = y - v;
20582
+ E > 0 && this.recordDroppedEvent("before_send", "span", E);
20572
20583
  }
20573
20584
  const m = p.transaction_info;
20574
20585
  if (s && m && p.transaction !== e.transaction) {
@@ -22327,26 +22338,26 @@ const fB = ({
22327
22338
  },
22328
22339
  tags: h,
22329
22340
  styleNonce: p,
22330
- scriptNonce: g,
22341
+ scriptNonce: b,
22331
22342
  // FeedbackThemeConfiguration
22332
22343
  colorScheme: m = "system",
22333
22344
  themeLight: y = {},
22334
22345
  themeDark: v = {},
22335
22346
  // FeedbackTextConfiguration
22336
- addScreenshotButtonLabel: w = QI,
22347
+ addScreenshotButtonLabel: E = QI,
22337
22348
  cancelButtonLabel: C = UI,
22338
- confirmButtonLabel: B = HI,
22339
- emailLabel: P = YI,
22340
- emailPlaceholder: I = GI,
22349
+ confirmButtonLabel: $ = HI,
22350
+ emailLabel: B = YI,
22351
+ emailPlaceholder: D = GI,
22341
22352
  formTitle: j = qI,
22342
- isRequiredLabel: E = XI,
22343
- messageLabel: D = WI,
22353
+ isRequiredLabel: w = XI,
22354
+ messageLabel: P = WI,
22344
22355
  messagePlaceholder: k = KI,
22345
- nameLabel: $ = ZI,
22346
- namePlaceholder: A = VI,
22356
+ nameLabel: I = ZI,
22357
+ namePlaceholder: T = VI,
22347
22358
  removeScreenshotButtonLabel: S = eB,
22348
22359
  submitButtonLabel: _ = zI,
22349
- successMessageText: T = JI,
22360
+ successMessageText: A = JI,
22350
22361
  triggerLabel: x = h4,
22351
22362
  triggerAriaLabel: M = "",
22352
22363
  // FeedbackCallbacks
@@ -22368,7 +22379,7 @@ const fB = ({
22368
22379
  useSentryUser: f,
22369
22380
  tags: h,
22370
22381
  styleNonce: p,
22371
- scriptNonce: g,
22382
+ scriptNonce: b,
22372
22383
  colorScheme: m,
22373
22384
  themeDark: v,
22374
22385
  themeLight: y,
@@ -22376,17 +22387,17 @@ const fB = ({
22376
22387
  triggerAriaLabel: M,
22377
22388
  cancelButtonLabel: C,
22378
22389
  submitButtonLabel: _,
22379
- confirmButtonLabel: B,
22390
+ confirmButtonLabel: $,
22380
22391
  formTitle: j,
22381
- emailLabel: P,
22382
- emailPlaceholder: I,
22383
- messageLabel: D,
22392
+ emailLabel: B,
22393
+ emailPlaceholder: D,
22394
+ messageLabel: P,
22384
22395
  messagePlaceholder: k,
22385
- nameLabel: $,
22386
- namePlaceholder: A,
22387
- successMessageText: T,
22388
- isRequiredLabel: E,
22389
- addScreenshotButtonLabel: w,
22396
+ nameLabel: I,
22397
+ namePlaceholder: T,
22398
+ successMessageText: A,
22399
+ isRequiredLabel: w,
22400
+ addScreenshotButtonLabel: E,
22390
22401
  removeScreenshotButtonLabel: S,
22391
22402
  onFormClose: z,
22392
22403
  onFormOpen: F,
@@ -22405,7 +22416,7 @@ const fB = ({
22405
22416
  const Oe = $e(), Me = Oe && Oe.getIntegrationByName(ae);
22406
22417
  if (Me)
22407
22418
  return Me;
22408
- const Yn = (Se && Se() || await t(kt, g))();
22419
+ const Yn = (Se && Se() || await t(kt, b))();
22409
22420
  return Oe && Oe.addIntegration(Yn), Yn;
22410
22421
  }, Ce = async (ae) => {
22411
22422
  const Se = ae.enableScreenshot && oB(), [kt, Oe] = await Promise.all([
@@ -22561,9 +22572,9 @@ function bs() {
22561
22572
  e && ec(r, e, i), bs.__r = 0;
22562
22573
  }
22563
22574
  function v4(t, e, n, r, i, o, s, a, u, c, d) {
22564
- var l, f, h, p, g, m = r && r.__k || cl, y = e.length;
22565
- for (n.__d = u, mB(n, e, m), u = n.__d, l = 0; l < y; l++) (h = n.__k[l]) != null && typeof h != "boolean" && typeof h != "function" && (f = h.__i === -1 ? ki : m[h.__i] || ki, h.__i = l, dl(t, h, f, i, o, s, a, u, c, d), p = h.__e, h.ref && f.ref != h.ref && (f.ref && fl(f.ref, null, h), d.push(h.ref, h.__c || p, h)), g == null && p != null && (g = p), 65536 & h.__u || f.__k === h.__k ? u = _4(h, u, t) : typeof h.type == "function" && h.__d !== void 0 ? u = h.__d : p && (u = p.nextSibling), h.__d = void 0, h.__u &= -196609);
22566
- n.__d = u, n.__e = g;
22575
+ var l, f, h, p, b, m = r && r.__k || cl, y = e.length;
22576
+ for (n.__d = u, mB(n, e, m), u = n.__d, l = 0; l < y; l++) (h = n.__k[l]) != null && typeof h != "boolean" && typeof h != "function" && (f = h.__i === -1 ? ki : m[h.__i] || ki, h.__i = l, dl(t, h, f, i, o, s, a, u, c, d), p = h.__e, h.ref && f.ref != h.ref && (f.ref && fl(f.ref, null, h), d.push(h.ref, h.__c || p, h)), b == null && p != null && (b = p), 65536 & h.__u || f.__k === h.__k ? u = _4(h, u, t) : typeof h.type == "function" && h.__d !== void 0 ? u = h.__d : p && (u = p.nextSibling), h.__d = void 0, h.__u &= -196609);
22577
+ n.__d = u, n.__e = b;
22567
22578
  }
22568
22579
  function mB(t, e, n) {
22569
22580
  var r, i, o, s, a, u = e.length, c = n.length, d = c, l = 0;
@@ -22631,32 +22642,32 @@ function qf(t) {
22631
22642
  if (this.l) return this.l[t.type + !0](ge.event ? ge.event(t) : t);
22632
22643
  }
22633
22644
  function dl(t, e, n, r, i, o, s, a, u, c) {
22634
- var d, l, f, h, p, g, m, y, v, w, C, B, P, I, j, E = e.type;
22645
+ var d, l, f, h, p, b, m, y, v, E, C, $, B, D, j, w = e.type;
22635
22646
  if (e.constructor !== void 0) return null;
22636
22647
  128 & n.__u && (u = !!(32 & n.__u), o = [a = e.__e = n.__e]), (d = ge.__b) && d(e);
22637
- e: if (typeof E == "function") try {
22638
- if (y = e.props, v = (d = E.contextType) && r[d.__c], w = d ? v ? v.props.value : d.__ : r, n.__c ? m = (l = e.__c = n.__c).__ = l.__E : ("prototype" in E && E.prototype.render ? e.__c = l = new E(y, w) : (e.__c = l = new Do(y, w), l.constructor = E, l.render = yB), v && v.sub(l), l.props = y, l.state || (l.state = {}), l.context = w, l.__n = r, f = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), E.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = pn({}, l.__s)), pn(l.__s, E.getDerivedStateFromProps(y, l.__s))), h = l.props, p = l.state, l.__v = e, f) E.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
22648
+ e: if (typeof w == "function") try {
22649
+ if (y = e.props, v = (d = w.contextType) && r[d.__c], E = d ? v ? v.props.value : d.__ : r, n.__c ? m = (l = e.__c = n.__c).__ = l.__E : ("prototype" in w && w.prototype.render ? e.__c = l = new w(y, E) : (e.__c = l = new Do(y, E), l.constructor = w, l.render = yB), v && v.sub(l), l.props = y, l.state || (l.state = {}), l.context = E, l.__n = r, f = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), w.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = pn({}, l.__s)), pn(l.__s, w.getDerivedStateFromProps(y, l.__s))), h = l.props, p = l.state, l.__v = e, f) w.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
22639
22650
  else {
22640
- if (E.getDerivedStateFromProps == null && y !== h && l.componentWillReceiveProps != null && l.componentWillReceiveProps(y, w), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(y, l.__s, w) === !1 || e.__v === n.__v)) {
22641
- for (e.__v !== n.__v && (l.props = y, l.state = l.__s, l.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(D) {
22642
- D && (D.__ = e);
22651
+ if (w.getDerivedStateFromProps == null && y !== h && l.componentWillReceiveProps != null && l.componentWillReceiveProps(y, E), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(y, l.__s, E) === !1 || e.__v === n.__v)) {
22652
+ for (e.__v !== n.__v && (l.props = y, l.state = l.__s, l.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(P) {
22653
+ P && (P.__ = e);
22643
22654
  }), C = 0; C < l._sb.length; C++) l.__h.push(l._sb[C]);
22644
22655
  l._sb = [], l.__h.length && s.push(l);
22645
22656
  break e;
22646
22657
  }
22647
- l.componentWillUpdate != null && l.componentWillUpdate(y, l.__s, w), l.componentDidUpdate != null && l.__h.push(function() {
22648
- l.componentDidUpdate(h, p, g);
22658
+ l.componentWillUpdate != null && l.componentWillUpdate(y, l.__s, E), l.componentDidUpdate != null && l.__h.push(function() {
22659
+ l.componentDidUpdate(h, p, b);
22649
22660
  });
22650
22661
  }
22651
- if (l.context = w, l.props = y, l.__P = t, l.__e = !1, B = ge.__r, P = 0, "prototype" in E && E.prototype.render) {
22652
- for (l.state = l.__s, l.__d = !1, B && B(e), d = l.render(l.props, l.state, l.context), I = 0; I < l._sb.length; I++) l.__h.push(l._sb[I]);
22662
+ if (l.context = E, l.props = y, l.__P = t, l.__e = !1, $ = ge.__r, B = 0, "prototype" in w && w.prototype.render) {
22663
+ for (l.state = l.__s, l.__d = !1, $ && $(e), d = l.render(l.props, l.state, l.context), D = 0; D < l._sb.length; D++) l.__h.push(l._sb[D]);
22653
22664
  l._sb = [];
22654
22665
  } else do
22655
- l.__d = !1, B && B(e), d = l.render(l.props, l.state, l.context), l.state = l.__s;
22656
- while (l.__d && ++P < 25);
22657
- l.state = l.__s, l.getChildContext != null && (r = pn(pn({}, r), l.getChildContext())), f || l.getSnapshotBeforeUpdate == null || (g = l.getSnapshotBeforeUpdate(h, p)), v4(t, ll(j = d != null && d.type === Li && d.key == null ? d.props.children : d) ? j : [j], e, n, r, i, o, s, a, u, c), l.base = e.__e, e.__u &= -161, l.__h.length && s.push(l), m && (l.__E = l.__ = null);
22658
- } catch (D) {
22659
- e.__v = null, u || o != null ? (e.__e = a, e.__u |= u ? 160 : 32, o[o.indexOf(a)] = null) : (e.__e = n.__e, e.__k = n.__k), ge.__e(D, e, n);
22666
+ l.__d = !1, $ && $(e), d = l.render(l.props, l.state, l.context), l.state = l.__s;
22667
+ while (l.__d && ++B < 25);
22668
+ l.state = l.__s, l.getChildContext != null && (r = pn(pn({}, r), l.getChildContext())), f || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(h, p)), v4(t, ll(j = d != null && d.type === Li && d.key == null ? d.props.children : d) ? j : [j], e, n, r, i, o, s, a, u, c), l.base = e.__e, e.__u &= -161, l.__h.length && s.push(l), m && (l.__E = l.__ = null);
22669
+ } catch (P) {
22670
+ e.__v = null, u || o != null ? (e.__e = a, e.__u |= u ? 160 : 32, o[o.indexOf(a)] = null) : (e.__e = n.__e, e.__k = n.__k), ge.__e(P, e, n);
22660
22671
  }
22661
22672
  else o == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = bB(n.__e, e, n, r, i, o, s, u, c);
22662
22673
  (d = ge.diffed) && d(e);
@@ -22674,7 +22685,7 @@ function ec(t, e, n) {
22674
22685
  });
22675
22686
  }
22676
22687
  function bB(t, e, n, r, i, o, s, a, u) {
22677
- var c, d, l, f, h, p, g, m = n.props, y = e.props, v = e.type;
22688
+ var c, d, l, f, h, p, b, m = n.props, y = e.props, v = e.type;
22678
22689
  if (v === "svg" && (i = !0), o != null) {
22679
22690
  for (c = 0; c < o.length; c++) if ((h = o[c]) && "setAttribute" in h == !!v && (v ? h.localName === v : h.nodeType === 3)) {
22680
22691
  t = h, o[c] = null;
@@ -22689,10 +22700,10 @@ function bB(t, e, n, r, i, o, s, a, u) {
22689
22700
  else {
22690
22701
  if (o = o && Ys.call(t.childNodes), m = n.props || ki, !a && o != null) for (m = {}, c = 0; c < t.attributes.length; c++) m[(h = t.attributes[c]).name] = h.value;
22691
22702
  for (c in m) h = m[c], c == "children" || (c == "dangerouslySetInnerHTML" ? l = h : c === "key" || c in y || po(t, c, null, h, i));
22692
- for (c in y) h = y[c], c == "children" ? f = h : c == "dangerouslySetInnerHTML" ? d = h : c == "value" ? p = h : c == "checked" ? g = h : c === "key" || a && typeof h != "function" || m[c] === h || po(t, c, h, m[c], i);
22703
+ for (c in y) h = y[c], c == "children" ? f = h : c == "dangerouslySetInnerHTML" ? d = h : c == "value" ? p = h : c == "checked" ? b = h : c === "key" || a && typeof h != "function" || m[c] === h || po(t, c, h, m[c], i);
22693
22704
  if (d) a || l && (d.__html === l.__html || d.__html === t.innerHTML) || (t.innerHTML = d.__html), e.__k = [];
22694
22705
  else if (l && (t.innerHTML = ""), v4(t, ll(f) ? f : [f], e, n, r, i && v !== "foreignObject", o, s, o ? o[0] : n.__k && wr(n, 0), a, u), o != null) for (c = o.length; c--; ) o[c] != null && b4(o[c]);
22695
- a || (c = "value", p !== void 0 && (p !== t[c] || v === "progress" && !p || v === "option" && p !== m[c]) && po(t, c, p, m[c], !1), c = "checked", g !== void 0 && g !== t[c] && po(t, c, g, m[c], !1));
22706
+ a || (c = "value", p !== void 0 && (p !== t[c] || v === "progress" && !p || v === "option" && p !== m[c]) && po(t, c, p, m[c], !1), c = "checked", b !== void 0 && b !== t[c] && po(t, c, b, m[c], !1));
22696
22707
  }
22697
22708
  return t;
22698
22709
  }
@@ -22981,18 +22992,18 @@ function PB({
22981
22992
  removeScreenshotButtonLabel: f,
22982
22993
  cancelButtonLabel: h,
22983
22994
  emailLabel: p,
22984
- emailPlaceholder: g,
22995
+ emailPlaceholder: b,
22985
22996
  isEmailRequired: m,
22986
22997
  isNameRequired: y,
22987
22998
  messageLabel: v,
22988
- messagePlaceholder: w,
22999
+ messagePlaceholder: E,
22989
23000
  nameLabel: C,
22990
- namePlaceholder: B,
22991
- submitButtonLabel: P,
22992
- isRequiredLabel: I
22993
- } = t, [j, E] = fr(null), [D, k] = fr(!1), $ = c && c.input, [A, S] = fr(null), _ = hr((M) => {
23001
+ namePlaceholder: $,
23002
+ submitButtonLabel: B,
23003
+ isRequiredLabel: D
23004
+ } = t, [j, w] = fr(null), [P, k] = fr(!1), I = c && c.input, [T, S] = fr(null), _ = hr((M) => {
22994
23005
  S(M), k(!1);
22995
- }, []), T = hr(
23006
+ }, []), A = hr(
22996
23007
  (M) => {
22997
23008
  const F = MB(M, {
22998
23009
  emailLabel: p,
@@ -23001,7 +23012,7 @@ function PB({
23001
23012
  messageLabel: v,
23002
23013
  nameLabel: C
23003
23014
  });
23004
- return F.length > 0 ? E(`Please enter in the following required fields: ${F.join(", ")}`) : E(null), F.length === 0;
23015
+ return F.length > 0 ? w(`Please enter in the following required fields: ${F.join(", ")}`) : w(null), F.length === 0;
23005
23016
  },
23006
23017
  [p, m, y, v, C]
23007
23018
  ), x = hr(
@@ -23009,13 +23020,13 @@ function PB({
23009
23020
  try {
23010
23021
  if (M.preventDefault(), !(M.target instanceof HTMLFormElement))
23011
23022
  return;
23012
- const F = new FormData(M.target), z = await (c && D ? c.value() : void 0), G = {
23023
+ const F = new FormData(M.target), z = await (c && P ? c.value() : void 0), G = {
23013
23024
  name: $a(F, "name"),
23014
23025
  email: $a(F, "email"),
23015
23026
  message: $a(F, "message"),
23016
23027
  attachments: z ? [z] : void 0
23017
23028
  };
23018
- if (!T(G))
23029
+ if (!A(G))
23019
23030
  return;
23020
23031
  try {
23021
23032
  await i(
@@ -23029,17 +23040,17 @@ function PB({
23029
23040
  { attachments: G.attachments }
23030
23041
  ), o(G);
23031
23042
  } catch (Y) {
23032
- Io && V.error(Y), E(Y), s(Y);
23043
+ Io && V.error(Y), w(Y), s(Y);
23033
23044
  }
23034
23045
  } catch {
23035
23046
  }
23036
23047
  },
23037
- [c && D, o, s]
23048
+ [c && P, o, s]
23038
23049
  );
23039
23050
  return ee(
23040
23051
  "form",
23041
23052
  { class: "form", onSubmit: x, __self: this, __source: { fileName: _e, lineNumber: 144 } },
23042
- $ && D ? ee($, { onError: _, __self: this, __source: { fileName: _e, lineNumber: 146 } }) : null,
23053
+ I && P ? ee(I, { onError: _, __self: this, __source: { fileName: _e, lineNumber: 146 } }) : null,
23043
23054
  ee(
23044
23055
  "div",
23045
23056
  { class: "form__right", "data-sentry-feedback": !0, __self: this, __source: { fileName: _e, lineNumber: 149 } },
@@ -23050,7 +23061,7 @@ function PB({
23050
23061
  u ? ee(
23051
23062
  "label",
23052
23063
  { for: "name", class: "form__label", __self: this, __source: { fileName: _e, lineNumber: 154 } },
23053
- ee(Ia, { label: C, isRequiredLabel: I, isRequired: y, __self: this, __source: { fileName: _e, lineNumber: 155 } }),
23064
+ ee(Ia, { label: C, isRequiredLabel: D, isRequired: y, __self: this, __source: { fileName: _e, lineNumber: 155 } }),
23054
23065
  ee(
23055
23066
  "input",
23056
23067
  {
@@ -23058,7 +23069,7 @@ function PB({
23058
23069
  defaultValue: n,
23059
23070
  id: "name",
23060
23071
  name: "name",
23061
- placeholder: B,
23072
+ placeholder: $,
23062
23073
  required: y,
23063
23074
  type: "text",
23064
23075
  __self: this,
@@ -23069,7 +23080,7 @@ function PB({
23069
23080
  a ? ee(
23070
23081
  "label",
23071
23082
  { for: "email", class: "form__label", __self: this, __source: { fileName: _e, lineNumber: 171 } },
23072
- ee(Ia, { label: p, isRequiredLabel: I, isRequired: m, __self: this, __source: { fileName: _e, lineNumber: 172 } }),
23083
+ ee(Ia, { label: p, isRequiredLabel: D, isRequired: m, __self: this, __source: { fileName: _e, lineNumber: 172 } }),
23073
23084
  ee(
23074
23085
  "input",
23075
23086
  {
@@ -23077,7 +23088,7 @@ function PB({
23077
23088
  defaultValue: e,
23078
23089
  id: "email",
23079
23090
  name: "email",
23080
- placeholder: g,
23091
+ placeholder: b,
23081
23092
  required: m,
23082
23093
  type: "email",
23083
23094
  __self: this,
@@ -23088,7 +23099,7 @@ function PB({
23088
23099
  ee(
23089
23100
  "label",
23090
23101
  { for: "message", class: "form__label", __self: this, __source: { fileName: _e, lineNumber: 187 } },
23091
- ee(Ia, { label: v, isRequiredLabel: I, isRequired: !0, __self: this, __source: { fileName: _e, lineNumber: 188 } }),
23102
+ ee(Ia, { label: v, isRequiredLabel: D, isRequired: !0, __self: this, __source: { fileName: _e, lineNumber: 188 } }),
23092
23103
  ee(
23093
23104
  "textarea",
23094
23105
  {
@@ -23096,7 +23107,7 @@ function PB({
23096
23107
  class: "form__input form__input--textarea",
23097
23108
  id: "message",
23098
23109
  name: "message",
23099
- placeholder: w,
23110
+ placeholder: E,
23100
23111
  required: !0,
23101
23112
  rows: 5,
23102
23113
  __self: this,
@@ -23104,7 +23115,7 @@ function PB({
23104
23115
  }
23105
23116
  )
23106
23117
  ),
23107
- $ ? ee(
23118
+ I ? ee(
23108
23119
  "label",
23109
23120
  { for: "screenshot", class: "form__label", __self: this, __source: { fileName: _e, lineNumber: 201 } },
23110
23121
  ee(
@@ -23118,9 +23129,9 @@ function PB({
23118
23129
  __self: this,
23119
23130
  __source: { fileName: _e, lineNumber: 202 }
23120
23131
  },
23121
- D ? f : l
23132
+ P ? f : l
23122
23133
  ),
23123
- A ? ee("div", { class: "form__error-container", __self: this, __source: { fileName: _e, lineNumber: 212 } }, A.message) : null
23134
+ T ? ee("div", { class: "form__error-container", __self: this, __source: { fileName: _e, lineNumber: 212 } }, T.message) : null
23124
23135
  ) : null
23125
23136
  ),
23126
23137
  ee(
@@ -23129,7 +23140,7 @@ function PB({
23129
23140
  ee(
23130
23141
  "button",
23131
23142
  { class: "btn btn--primary", type: "submit", __self: this, __source: { fileName: _e, lineNumber: 217 } },
23132
- P
23143
+ B
23133
23144
  ),
23134
23145
  ee(
23135
23146
  "button",
@@ -23723,88 +23734,88 @@ function JB({
23723
23734
  }) {
23724
23735
  const o = ZB({ hooks: e });
23725
23736
  return function({ onError: a }) {
23726
- const u = e.useMemo(() => ({ __html: VB(i.styleNonce).innerText }), []), c = WB({ h: t }), d = e.useRef(null), l = e.useRef(null), f = e.useRef(null), [h, p] = e.useState({ startX: 0, startY: 0, endX: 0, endY: 0 }), [g, m] = e.useState(!1), [y, v] = e.useState(!1);
23737
+ const u = e.useMemo(() => ({ __html: VB(i.styleNonce).innerText }), []), c = WB({ h: t }), d = e.useRef(null), l = e.useRef(null), f = e.useRef(null), [h, p] = e.useState({ startX: 0, startY: 0, endX: 0, endY: 0 }), [b, m] = e.useState(!1), [y, v] = e.useState(!1);
23727
23738
  e.useEffect(() => {
23728
- Bt.addEventListener("resize", w, !1);
23739
+ Bt.addEventListener("resize", E, !1);
23729
23740
  }, []);
23730
- function w() {
23731
- const E = f.current, D = Nr(Ba(n));
23732
- if (E) {
23733
- E.width = D.width * Ke, E.height = D.height * Ke, E.style.width = `${D.width}px`, E.style.height = `${D.height}px`;
23734
- const $ = E.getContext("2d");
23735
- $ && $.scale(Ke, Ke);
23741
+ function E() {
23742
+ const w = f.current, P = Nr(Ba(n));
23743
+ if (w) {
23744
+ w.width = P.width * Ke, w.height = P.height * Ke, w.style.width = `${P.width}px`, w.style.height = `${P.height}px`;
23745
+ const I = w.getContext("2d");
23746
+ I && I.scale(Ke, Ke);
23736
23747
  }
23737
23748
  const k = l.current;
23738
- k && (k.style.width = `${D.width}px`, k.style.height = `${D.height}px`), p({ startX: 0, startY: 0, endX: D.width, endY: D.height });
23749
+ k && (k.style.width = `${P.width}px`, k.style.height = `${P.height}px`), p({ startX: 0, startY: 0, endX: P.width, endY: P.height });
23739
23750
  }
23740
23751
  e.useEffect(() => {
23741
- const E = f.current;
23742
- if (!E)
23752
+ const w = f.current;
23753
+ if (!w)
23743
23754
  return;
23744
- const D = E.getContext("2d");
23745
- if (!D)
23755
+ const P = w.getContext("2d");
23756
+ if (!P)
23746
23757
  return;
23747
- const k = Nr(Ba(n)), $ = Nr(h);
23748
- D.clearRect(0, 0, k.width, k.height), D.fillStyle = "rgba(0, 0, 0, 0.5)", D.fillRect(0, 0, k.width, k.height), D.clearRect($.x, $.y, $.width, $.height), D.strokeStyle = "#ffffff", D.lineWidth = 3, D.strokeRect($.x + 1, $.y + 1, $.width - 2, $.height - 2), D.strokeStyle = "#000000", D.lineWidth = 1, D.strokeRect($.x + 3, $.y + 3, $.width - 6, $.height - 6);
23758
+ const k = Nr(Ba(n)), I = Nr(h);
23759
+ P.clearRect(0, 0, k.width, k.height), P.fillStyle = "rgba(0, 0, 0, 0.5)", P.fillRect(0, 0, k.width, k.height), P.clearRect(I.x, I.y, I.width, I.height), P.strokeStyle = "#ffffff", P.lineWidth = 3, P.strokeRect(I.x + 1, I.y + 1, I.width - 2, I.height - 2), P.strokeStyle = "#000000", P.lineWidth = 1, P.strokeRect(I.x + 3, I.y + 3, I.width - 6, I.height - 6);
23749
23760
  }, [h]);
23750
- function C(E, D) {
23761
+ function C(w, P) {
23751
23762
  m(!1), v(!0);
23752
- const k = B(D), $ = () => {
23753
- ce.removeEventListener("mousemove", k), ce.removeEventListener("mouseup", $), m(!0), v(!1);
23763
+ const k = $(P), I = () => {
23764
+ ce.removeEventListener("mousemove", k), ce.removeEventListener("mouseup", I), m(!0), v(!1);
23754
23765
  };
23755
- ce.addEventListener("mouseup", $), ce.addEventListener("mousemove", k);
23766
+ ce.addEventListener("mouseup", I), ce.addEventListener("mousemove", k);
23756
23767
  }
23757
- const B = e.useCallback((E) => function(D) {
23768
+ const $ = e.useCallback((w) => function(P) {
23758
23769
  if (!f.current)
23759
23770
  return;
23760
- const k = f.current, $ = k.getBoundingClientRect(), A = D.clientX - $.x, S = D.clientY - $.y;
23761
- switch (E) {
23771
+ const k = f.current, I = k.getBoundingClientRect(), T = P.clientX - I.x, S = P.clientY - I.y;
23772
+ switch (w) {
23762
23773
  case "top-left":
23763
23774
  p((_) => ({
23764
23775
  ..._,
23765
- startX: Math.min(Math.max(0, A), _.endX - nn),
23776
+ startX: Math.min(Math.max(0, T), _.endX - nn),
23766
23777
  startY: Math.min(Math.max(0, S), _.endY - nn)
23767
23778
  }));
23768
23779
  break;
23769
23780
  case "top-right":
23770
23781
  p((_) => ({
23771
23782
  ..._,
23772
- endX: Math.max(Math.min(A, k.width / Ke), _.startX + nn),
23783
+ endX: Math.max(Math.min(T, k.width / Ke), _.startX + nn),
23773
23784
  startY: Math.min(Math.max(0, S), _.endY - nn)
23774
23785
  }));
23775
23786
  break;
23776
23787
  case "bottom-left":
23777
23788
  p((_) => ({
23778
23789
  ..._,
23779
- startX: Math.min(Math.max(0, A), _.endX - nn),
23790
+ startX: Math.min(Math.max(0, T), _.endX - nn),
23780
23791
  endY: Math.max(Math.min(S, k.height / Ke), _.startY + nn)
23781
23792
  }));
23782
23793
  break;
23783
23794
  case "bottom-right":
23784
23795
  p((_) => ({
23785
23796
  ..._,
23786
- endX: Math.max(Math.min(A, k.width / Ke), _.startX + nn),
23797
+ endX: Math.max(Math.min(T, k.width / Ke), _.startX + nn),
23787
23798
  endY: Math.max(Math.min(S, k.height / Ke), _.startY + nn)
23788
23799
  }));
23789
23800
  break;
23790
23801
  }
23791
- }, []), P = e.useRef({ initialX: 0, initialY: 0 });
23792
- function I(E) {
23802
+ }, []), B = e.useRef({ initialX: 0, initialY: 0 });
23803
+ function D(w) {
23793
23804
  if (y) return;
23794
- P.current = { initialX: E.clientX, initialY: E.clientY };
23795
- const D = ($) => {
23796
- const A = f.current;
23797
- if (!A) return;
23798
- const S = $.clientX - P.current.initialX, _ = $.clientY - P.current.initialY;
23799
- p((T) => {
23805
+ B.current = { initialX: w.clientX, initialY: w.clientY };
23806
+ const P = (I) => {
23807
+ const T = f.current;
23808
+ if (!T) return;
23809
+ const S = I.clientX - B.current.initialX, _ = I.clientY - B.current.initialY;
23810
+ p((A) => {
23800
23811
  const x = Math.max(
23801
23812
  0,
23802
- Math.min(T.startX + S, A.width / Ke - (T.endX - T.startX))
23813
+ Math.min(A.startX + S, T.width / Ke - (A.endX - A.startX))
23803
23814
  ), M = Math.max(
23804
23815
  0,
23805
- Math.min(T.startY + _, A.height / Ke - (T.endY - T.startY))
23806
- ), F = x + (T.endX - T.startX), z = M + (T.endY - T.startY);
23807
- return P.current.initialX = $.clientX, P.current.initialY = $.clientY, {
23816
+ Math.min(A.startY + _, T.height / Ke - (A.endY - A.startY))
23817
+ ), F = x + (A.endX - A.startX), z = M + (A.endY - A.startY);
23818
+ return B.current.initialX = I.clientX, B.current.initialY = I.clientY, {
23808
23819
  startX: x,
23809
23820
  startY: M,
23810
23821
  endX: F,
@@ -23812,48 +23823,48 @@ function JB({
23812
23823
  };
23813
23824
  });
23814
23825
  }, k = () => {
23815
- ce.removeEventListener("mousemove", D), ce.removeEventListener("mouseup", k);
23826
+ ce.removeEventListener("mousemove", P), ce.removeEventListener("mouseup", k);
23816
23827
  };
23817
- ce.addEventListener("mousemove", D), ce.addEventListener("mouseup", k);
23828
+ ce.addEventListener("mousemove", P), ce.addEventListener("mouseup", k);
23818
23829
  }
23819
23830
  function j() {
23820
- const E = ce.createElement("canvas"), D = Nr(Ba(n)), k = Nr(h);
23821
- E.width = k.width * Ke, E.height = k.height * Ke;
23822
- const $ = E.getContext("2d");
23823
- $ && n && $.drawImage(
23831
+ const w = ce.createElement("canvas"), P = Nr(Ba(n)), k = Nr(h);
23832
+ w.width = k.width * Ke, w.height = k.height * Ke;
23833
+ const I = w.getContext("2d");
23834
+ I && n && I.drawImage(
23824
23835
  n,
23825
- k.x / D.width * n.width,
23826
- k.y / D.height * n.height,
23827
- k.width / D.width * n.width,
23828
- k.height / D.height * n.height,
23836
+ k.x / P.width * n.width,
23837
+ k.y / P.height * n.height,
23838
+ k.width / P.width * n.width,
23839
+ k.height / P.height * n.height,
23829
23840
  0,
23830
23841
  0,
23831
- E.width,
23832
- E.height
23842
+ w.width,
23843
+ w.height
23833
23844
  );
23834
- const A = n.getContext("2d");
23835
- A && (A.clearRect(0, 0, n.width, n.height), n.width = E.width, n.height = E.height, n.style.width = `${k.width}px`, n.style.height = `${k.height}px`, A.drawImage(E, 0, 0), w());
23845
+ const T = n.getContext("2d");
23846
+ T && (T.clearRect(0, 0, n.width, n.height), n.width = w.width, n.height = w.height, n.style.width = `${k.width}px`, n.style.height = `${k.height}px`, T.drawImage(w, 0, 0), E());
23836
23847
  }
23837
23848
  return o({
23838
23849
  onBeforeScreenshot: e.useCallback(() => {
23839
23850
  r.el.style.display = "none";
23840
23851
  }, []),
23841
23852
  onScreenshot: e.useCallback(
23842
- (E) => {
23843
- const D = n.getContext("2d");
23844
- if (!D)
23853
+ (w) => {
23854
+ const P = n.getContext("2d");
23855
+ if (!P)
23845
23856
  throw new Error("Could not get canvas context");
23846
- n.width = E.videoWidth, n.height = E.videoHeight, n.style.width = "100%", n.style.height = "100%", D.drawImage(E, 0, 0);
23857
+ n.width = w.videoWidth, n.height = w.videoHeight, n.style.width = "100%", n.style.height = "100%", P.drawImage(w, 0, 0);
23847
23858
  },
23848
23859
  [n]
23849
23860
  ),
23850
23861
  onAfterScreenshot: e.useCallback(() => {
23851
23862
  r.el.style.display = "block";
23852
- const E = d.current;
23853
- E && E.appendChild(n), w();
23863
+ const w = d.current;
23864
+ w && w.appendChild(n), E();
23854
23865
  }, []),
23855
- onError: e.useCallback((E) => {
23856
- r.el.style.display = "block", a(E);
23866
+ onError: e.useCallback((w) => {
23867
+ r.el.style.display = "block", a(w);
23857
23868
  }, [])
23858
23869
  }), t(
23859
23870
  "div",
@@ -23868,8 +23879,8 @@ function JB({
23868
23879
  t(
23869
23880
  "canvas",
23870
23881
  {
23871
- onMouseDown: I,
23872
- style: { position: "absolute", cursor: g ? "move" : "auto" },
23882
+ onMouseDown: D,
23883
+ style: { position: "absolute", cursor: b ? "move" : "auto" },
23873
23884
  ref: f,
23874
23885
  __self: this,
23875
23886
  __source: { fileName: at, lineNumber: 319 }
@@ -23925,7 +23936,7 @@ function JB({
23925
23936
  style: {
23926
23937
  left: Math.max(0, h.endX - 191),
23927
23938
  top: Math.max(0, h.endY + 8),
23928
- display: g ? "flex" : "none"
23939
+ display: b ? "flex" : "none"
23929
23940
  },
23930
23941
  class: "editor__crop-btn-group",
23931
23942
  __self: this,
@@ -23934,8 +23945,8 @@ function JB({
23934
23945
  t(
23935
23946
  "button",
23936
23947
  {
23937
- onClick: (E) => {
23938
- E.preventDefault(), f.current && p({
23948
+ onClick: (w) => {
23949
+ w.preventDefault(), f.current && p({
23939
23950
  startX: 0,
23940
23951
  startY: 0,
23941
23952
  endX: f.current.width / Ke,
@@ -23951,8 +23962,8 @@ function JB({
23951
23962
  t(
23952
23963
  "button",
23953
23964
  {
23954
- onClick: (E) => {
23955
- E.preventDefault(), j(), m(!1);
23965
+ onClick: (w) => {
23966
+ w.preventDefault(), j(), m(!1);
23956
23967
  },
23957
23968
  class: "btn btn--primary",
23958
23969
  __self: this,
@@ -24033,39 +24044,39 @@ class eD {
24033
24044
  }
24034
24045
  const En = (t, e) => {
24035
24046
  const n = t.isLoading, r = t.showNotification, i = t.nylasBranding;
24036
- return b(
24047
+ return g(
24037
24048
  Ra,
24038
24049
  null,
24039
- r && b("nylas-notification", null),
24040
- n && b(
24050
+ r && g("nylas-notification", null),
24051
+ n && g(
24041
24052
  "div",
24042
24053
  { class: "loading" },
24043
- b(
24054
+ g(
24044
24055
  "div",
24045
24056
  { class: "left" },
24046
- b("div", { class: "skeleton" })
24057
+ g("div", { class: "skeleton" })
24047
24058
  ),
24048
- b(
24059
+ g(
24049
24060
  "div",
24050
24061
  { class: "right" },
24051
- b("div", { class: "skeleton" }),
24052
- b("div", { class: "skeleton" }),
24053
- b("div", { class: "skeleton" }),
24054
- b("div", { class: "skeleton" }),
24055
- b("div", { class: "skeleton" })
24062
+ g("div", { class: "skeleton" }),
24063
+ g("div", { class: "skeleton" }),
24064
+ g("div", { class: "skeleton" }),
24065
+ g("div", { class: "skeleton" }),
24066
+ g("div", { class: "skeleton" })
24056
24067
  )
24057
24068
  ),
24058
24069
  !n && e,
24059
- b("div", { class: "footer" }, i && b(
24070
+ g("div", { class: "footer" }, i && g(
24060
24071
  Ra,
24061
24072
  null,
24062
24073
  "Powered by ",
24063
- b("nylas-logo", null)
24074
+ g("nylas-logo", null)
24064
24075
  ))
24065
24076
  );
24066
- }, th = (t, e) => b("div", { class: "message-banner" }, e), tD = ':host{display:flex;flex-direction:column;overflow:visible;border-radius:var(--nylas-border-radius-2x);width:fit-content;background:var(--nylas-base-0);position:relative;box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.05), 0px 8px 16px -2px rgba(0, 0, 0, 0.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;font-family:var(--nylas-font-family);font-optical-sizing:auto;font-style:normal;font-variation-settings:"slnt" 0}@media screen and (max-width: 768px){:host{width:auto;min-width:325px}}:root{font-family:inherit}.error{padding:8rem 12rem;color:var(--nylas-base-0);background-color:var(--nylas-error);margin:1.5rem;border-radius:var(--nylas-border-radius-2x)}.message-banner{text-align:right;color:var(--nylas-base-800);padding:1rem;border-bottom:1px solid var(--nylas-color-primary-200);margin:0}.loading{margin:1.5rem;display:flex;gap:1rem}.loading .skeleton{border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite}.loading .skeleton:nth-child(2){animation-delay:-100ms}.loading .skeleton:nth-child(3){animation-delay:-200ms}.loading .skeleton:nth-child(4){animation-delay:-300ms}.loading .skeleton:nth-child(5){animation-delay:-400ms}.loading .left .skeleton{height:100%;width:400px}.loading .right .skeleton{height:5rem;width:300px;margin-bottom:1rem}.loading .right .skeleton:last-child{margin-bottom:0}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.select-date-page,.additional-data-page,.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{border-top-left-radius:var(--nylas-border-radius-2x);border-top-right-radius:var(--nylas-border-radius-2x)}.select-date-page,.additional-data-page{display:flex}@media screen and (max-width: 768px){.select-date-page,.additional-data-page{flex-direction:column}}.booked-event-page,.manual-confirmation-page{background-color:var(--nylas-base-50)}.cancelled-event-page,.manual-confirmation-page,.cancel-flow-page{padding:1rem;height:496px;display:flex;justify-content:center;align-items:center}.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:784px;background:var(--nylas-base-50)}@media screen and (max-width: 768px){.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:90%}}.left-panel{display:flex;flex-direction:column;min-width:424px;border-top-left-radius:inherit;background:var(--nylas-base-0);position:relative;padding:1rem 0 0 0;height:624px}@media screen and (max-width: 768px){.left-panel{border-top-right-radius:inherit;min-width:unset;height:auto}}@media screen and (max-width: 768px){.select-date-page .left-panel{padding:0.5rem 4px 0;height:624px}}.border{margin-left:-20px;margin-right:-20px;border-top-width:1px;height:0.5px;background-color:var(--nylas-base-200)}@media screen and (max-width: 768px){.border{display:none}}.right-panel{min-width:360px;width:360px;background-color:var(--nylas-base-50);height:624px;padding-top:16px;border-left:1px solid var(--nylas-base-200);border-top-right-radius:inherit}.right-panel.reschedule{border-top-right-radius:0px}@media screen and (max-width: 768px){.right-panel{border-top-right-radius:0px;width:inherit;min-width:unset;height:auto}}.right-panel h2{display:flex;margin:0;height:48px;gap:0.5rem;justify-content:center;align-items:center;width:auto;font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;color:var(--nylas-base-800)}.additional-data-page .left-panel{background-color:var(--nylas-base-50)}.additional-data-page .right-panel{background-color:var(--nylas-base-0)}nylas-selected-event-card{height:604px;padding:0 1rem}@media screen and (max-width: 768px){nylas-selected-event-card{height:250px}}.footer{display:flex;justify-content:flex-end;align-items:center;padding:16px;font-size:14px;font-weight:300;color:var(--nylas-base-500);border-top:1px solid var(--nylas-base-200);min-height:24px}.footer svg{fill:var(--nylas-base-500)}.footer svg{margin-top:1px}nylas-selected-event-card::part(nsec__timezone){position:absolute;bottom:0}nylas-notification{margin:1.5rem;width:-webkit-fill-available;width:-moz-available;position:absolute}nylas-locale-switch{position:absolute;padding:18px 20px;bottom:0;width:-webkit-fill-available;width:-moz-available;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){nylas-locale-switch{height:auto}}nylas-date-picker{padding:0 20px}button-component#report-issue{width:auto;position:absolute;bottom:4px;left:16px}nylas-feedback-form{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}', nD = tD, nh = { title: R.t("genericErrorTitle"), type: Wr.Error, category: Rn.Component }, C4 = te(class extends ne {
24077
+ }, th = (t, e) => g("div", { class: "message-banner" }, e), tD = ':host{display:flex;flex-direction:column;overflow:visible;border-radius:var(--nylas-border-radius-2x);width:fit-content;background:var(--nylas-base-0);position:relative;box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.05), 0px 8px 16px -2px rgba(0, 0, 0, 0.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;font-family:var(--nylas-font-family);font-optical-sizing:auto;font-style:normal;font-variation-settings:"slnt" 0}@media screen and (max-width: 768px){:host{width:auto;min-width:325px}}:root{font-family:inherit}.error{padding:8rem 12rem;color:var(--nylas-base-0);background-color:var(--nylas-error);margin:1.5rem;border-radius:var(--nylas-border-radius-2x)}.message-banner{text-align:right;color:var(--nylas-base-800);padding:1rem;border-bottom:1px solid var(--nylas-color-primary-200);margin:0}.loading{margin:1.5rem;display:flex;gap:1rem}.loading .skeleton{border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite}.loading .skeleton:nth-child(2){animation-delay:-100ms}.loading .skeleton:nth-child(3){animation-delay:-200ms}.loading .skeleton:nth-child(4){animation-delay:-300ms}.loading .skeleton:nth-child(5){animation-delay:-400ms}.loading .left .skeleton{height:100%;width:400px}.loading .right .skeleton{height:5rem;width:300px;margin-bottom:1rem}.loading .right .skeleton:last-child{margin-bottom:0}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.select-date-page,.additional-data-page,.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{border-top-left-radius:var(--nylas-border-radius-2x);border-top-right-radius:var(--nylas-border-radius-2x)}.select-date-page,.additional-data-page{display:flex}@media screen and (max-width: 768px){.select-date-page,.additional-data-page{flex-direction:column}}.booked-event-page,.manual-confirmation-page{background-color:var(--nylas-base-50)}.cancelled-event-page,.manual-confirmation-page,.cancel-flow-page{padding:1rem;height:496px;display:flex;justify-content:center;align-items:center}.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:784px;background:var(--nylas-base-50)}@media screen and (max-width: 768px){.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:90%}}.left-panel{display:flex;flex-direction:column;min-width:424px;border-top-left-radius:inherit;background:var(--nylas-base-0);position:relative;padding:1rem 0 0 0;height:624px}@media screen and (max-width: 768px){.left-panel{border-top-right-radius:inherit;min-width:unset;height:auto}}@media screen and (max-width: 768px){.select-date-page .left-panel{padding:0.5rem 4px 0;height:624px}}.border{margin-left:-20px;margin-right:-20px;border-top-width:1px;height:0.5px;background-color:var(--nylas-base-200)}@media screen and (max-width: 768px){.border{display:none}}.right-panel{min-width:360px;width:360px;background-color:var(--nylas-base-50);height:624px;padding-top:16px;border-left:1px solid var(--nylas-base-200);border-top-right-radius:inherit}.right-panel.reschedule{border-top-right-radius:0px}@media screen and (max-width: 768px){.right-panel{border-top-right-radius:0px;width:inherit;min-width:unset;height:auto}}.right-panel h2{display:flex;margin:0;height:48px;gap:0.5rem;justify-content:center;align-items:center;width:auto;font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;color:var(--nylas-base-800)}.additional-data-page .left-panel{background-color:var(--nylas-base-50)}.additional-data-page .right-panel{background-color:var(--nylas-base-0)}nylas-selected-event-card{height:604px;padding:0 1rem}@media screen and (max-width: 768px){nylas-selected-event-card{height:250px}}.footer{display:flex;justify-content:flex-end;align-items:center;padding:16px;font-size:14px;font-weight:300;color:var(--nylas-base-500);border-top:1px solid var(--nylas-base-200);min-height:24px}.footer svg{fill:var(--nylas-base-500)}.footer svg{margin-top:1px}nylas-selected-event-card::part(nsec__timezone){position:absolute;bottom:0}nylas-notification{margin:1.5rem;width:-webkit-fill-available;width:-moz-available;position:absolute}nylas-locale-switch{position:absolute;padding:18px 20px;bottom:0;width:-webkit-fill-available;width:-moz-available;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){nylas-locale-switch{height:auto}}nylas-date-picker{padding:0 20px}button-component#report-issue{width:auto;position:absolute;bottom:4px;left:16px}nylas-feedback-form{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}', nD = tD, nh = { title: R.t("genericErrorTitle"), type: Wr.Error, category: Rn.Component }, C4 = te(class extends ne {
24067
24078
  constructor() {
24068
- super(), this.__registerHost(), this.__attachShadow(), this.init = X(this, "init", 7), this.schedulerWillLoad = X(this, "schedulerWillLoad", 7), this.schedulerDidLoad = X(this, "schedulerDidLoad", 7), this.nylasSchedulerError = X(this, "nylasSchedulerError", 7), this.configSettingsLoaded = X(this, "configSettingsLoaded", 7), this.bookingRefExtracted = X(this, "bookingRefExtracted", 7), this.bookedEventInfo = X(this, "bookedEventInfo", 7), this.mode = "app", this.defaultSchedulerState = void 0, this.sessionId = void 0, this.schedulerApiUrl = "https://api.us.nylas.com", this.bookingInfo = void 0, this.rescheduleBookingRef = void 0, this.cancelBookingRef = void 0, this.organizerConfirmationBookingRef = void 0, this.configurationId = void 0, this.slug = void 0, this.clientId = void 0, this.nylasBranding = !0, this.eventOverrides = {}, this.isLoading = void 0, this.themeConfig = void 0, this.localization = void 0, this.showNotification = !0, this.enableUserFeedback = !0, this.automaticComponentRegistration = !0, this.selectedDateLabel = (/* @__PURE__ */ new Date()).toLocaleDateString(void 0, { dateStyle: "full" }) || `${R.t("noDateSelected")}`, this.refConfigId = void 0, this.language = navigator.language, this.showFeedbackModal = !1;
24079
+ super(), this.__registerHost(), this.__attachShadow(), this.init = X(this, "init", 7), this.schedulerWillLoad = X(this, "schedulerWillLoad", 7), this.schedulerDidLoad = X(this, "schedulerDidLoad", 7), this.nylasSchedulerError = X(this, "nylasSchedulerError", 7), this.configSettingsLoaded = X(this, "configSettingsLoaded", 7), this.bookingRefExtracted = X(this, "bookingRefExtracted", 7), this.bookedEventInfo = X(this, "bookedEventInfo", 7), this.mode = "app", this.defaultSchedulerState = void 0, this.sessionId = void 0, this.schedulerApiUrl = "https://api.us.nylas.com", this.bookingInfo = void 0, this.rescheduleBookingRef = void 0, this.cancelBookingRef = void 0, this.organizerConfirmationBookingRef = void 0, this.configurationId = void 0, this.slug = void 0, this.clientId = void 0, this.nylasBranding = !0, this.eventOverrides = {}, this.isLoading = void 0, this.themeConfig = void 0, this.localization = void 0, this.showNotification = !0, this.enableUserFeedback = !0, this.automaticComponentRegistration = !0, this.selectedDateLabel = (/* @__PURE__ */ new Date()).toLocaleDateString(void 0, { dateStyle: "full" }) || `${R.t("noDateSelected")}`, this.refConfigId = void 0, this.language = navigator.language, this.showFeedbackModal = !1, this.bookingInfoConfirmed = null;
24069
24080
  }
24070
24081
  connectedCallback() {
24071
24082
  N("[nylas-scheduler] connectedCallback");
@@ -24121,7 +24132,7 @@ const En = (t, e) => {
24121
24132
  "init" in this.eventOverrides && (await this.eventOverrides.init(i, this.nylasSchedulerConnector), i.defaultPrevented) || ((s = this.baseProvider) == null || s.componentWillLoad(this.nylasSchedulerConnector), this.applyThemeConfig(this.themeConfig));
24122
24133
  }
24123
24134
  async componentDidLoad() {
24124
- var c, d, l, f, h, p, g, m;
24135
+ var c, d, l, f, h, p, b, m;
24125
24136
  (c = this.baseProvider) == null || c.componentDidLoad();
24126
24137
  const e = this.schedulerDidLoad.emit(this.host);
24127
24138
  if ("schedulerDidLoad" in this.eventOverrides && (await this.eventOverrides.schedulerDidLoad(e, this.nylasSchedulerConnector), e.defaultPrevented) || !this.checkIfSessionIdOrConfigIdExists())
@@ -24150,15 +24161,15 @@ const En = (t, e) => {
24150
24161
  let u;
24151
24162
  if (!(a && a.length > 0)) {
24152
24163
  if (s) {
24153
- const { startTime: y, endTime: v, endTimeForAvailableDaysInFuture: w } = this.validateAvailableDaysInFuture(s, i || 30);
24154
- s.getTime() < w * 1e3 && (u = await ((m = this.nylasSchedulerConnector) == null ? void 0 : m.scheduler.getAvailability(y, v)));
24164
+ const { startTime: y, endTime: v, endTimeForAvailableDaysInFuture: E } = this.validateAvailableDaysInFuture(s, i || 30);
24165
+ s.getTime() < E * 1e3 && (u = await ((m = this.nylasSchedulerConnector) == null ? void 0 : m.scheduler.getAvailability(y, v)));
24155
24166
  } else {
24156
- const y = /* @__PURE__ */ new Date(), { startTime: v, endTime: w, endTimeForAvailableDaysInFuture: C } = this.validateAvailableDaysInFuture(y, i || 30);
24157
- y.getTime() < C * 1e3 && (u = await ((g = this.nylasSchedulerConnector) == null ? void 0 : g.scheduler.getAvailability(v, w)));
24167
+ const y = /* @__PURE__ */ new Date(), { startTime: v, endTime: E, endTimeForAvailableDaysInFuture: C } = this.validateAvailableDaysInFuture(y, i || 30);
24168
+ y.getTime() < C * 1e3 && (u = await ((b = this.nylasSchedulerConnector) == null ? void 0 : b.scheduler.getAvailability(v, E)));
24158
24169
  }
24159
24170
  if ((!u || "error" in u) && this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject(u == null ? void 0 : u.error) }, host: this.host }), !s) {
24160
24171
  let y = /* @__PURE__ */ new Date();
24161
- const v = r == null ? void 0 : r.get("availability").find((w) => new Date(w.start_time) > /* @__PURE__ */ new Date());
24172
+ const v = r == null ? void 0 : r.get("availability").find((E) => new Date(E.start_time) > /* @__PURE__ */ new Date());
24162
24173
  v && (y = v.start_time), r == null || r.set("selectedDate", y);
24163
24174
  }
24164
24175
  }
@@ -24218,8 +24229,8 @@ const En = (t, e) => {
24218
24229
  if (i < s && n.getTime() < s * 1e3) {
24219
24230
  const p = await ((l = this.nylasSchedulerConnector) == null ? void 0 : l.scheduler.getAvailability(i, o));
24220
24231
  (!p || "error" in p) && this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject(p == null ? void 0 : p.error) }, host: this.host });
24221
- const g = (f = this.stores) == null ? void 0 : f.scheduler.get("selectableDates");
24222
- g && g.length > 0 && ((h = this.stores) == null || h.scheduler.set("selectedDate", g[0]));
24232
+ const b = (f = this.stores) == null ? void 0 : f.scheduler.get("selectableDates");
24233
+ b && b.length > 0 && ((h = this.stores) == null || h.scheduler.set("selectedDate", b[0]));
24223
24234
  }
24224
24235
  }
24225
24236
  mapToBookingData(e) {
@@ -24227,8 +24238,8 @@ const En = (t, e) => {
24227
24238
  const n = (a = this.stores) == null ? void 0 : a.scheduler.get("selectedTimeslot"), r = (u = this.stores) == null ? void 0 : u.scheduler.get("selectedLanguage"), i = (c = this.stores) == null ? void 0 : c.scheduler.get("selectedTimezone"), o = n != null && n.start_time ? new Date(n == null ? void 0 : n.start_time).getTime() / 1e3 : "", s = n != null && n.end_time ? new Date(n == null ? void 0 : n.end_time).getTime() / 1e3 : "";
24228
24239
  return {
24229
24240
  additional_guests: e.guests,
24230
- guest: e.primaryParticipant,
24231
- additional_fields: e.additionalFields,
24241
+ guest: { ...e.primaryParticipant },
24242
+ additional_fields: { ...e.additionalFields },
24232
24243
  start_time: o,
24233
24244
  end_time: s,
24234
24245
  email_language: r,
@@ -24236,21 +24247,23 @@ const En = (t, e) => {
24236
24247
  };
24237
24248
  }
24238
24249
  async bookButtonClickedHandler(e) {
24239
- var l, f, h, p, g, m, y;
24240
- const n = e.detail, r = this.mapToBookingData(n), o = { ...(f = (l = this.nylasSchedulerConnector) == null ? void 0 : l.schedulerStore) == null ? void 0 : f.get("bookingInfo"), ...n };
24241
- (h = this.stores) == null || h.scheduler.set("bookingInfo", o);
24242
- const a = (g = (p = this.nylasSchedulerConnector) == null ? void 0 : p.schedulerStore) == null ? void 0 : g.get("rescheduleBookingId");
24243
- if (a) {
24244
- const v = await ((m = this.nylasSchedulerConnector) == null ? void 0 : m.scheduler.rescheduleBooking(a, n));
24245
- (!v || "error" in v) && this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject(v == null ? void 0 : v.error) }, host: this.host });
24246
- const w = v == null ? void 0 : v.data, C = this.bookedEventInfo.emit({ ...v, data: { ...w, ...r } });
24247
- "bookedEventInfo" in this.eventOverrides && await this.eventOverrides.bookedEventInfo(C, this.nylasSchedulerConnector);
24250
+ var c, d, l, f;
24251
+ if (e.defaultPrevented)
24252
+ return;
24253
+ const n = e.detail, r = this.mapToBookingData(n);
24254
+ this.bookingInfoConfirmed = n;
24255
+ const o = (d = (c = this.nylasSchedulerConnector) == null ? void 0 : c.schedulerStore) == null ? void 0 : d.get("rescheduleBookingId");
24256
+ if (o) {
24257
+ const h = await ((l = this.nylasSchedulerConnector) == null ? void 0 : l.scheduler.rescheduleBooking(o, n));
24258
+ (!h || "error" in h) && this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject(h == null ? void 0 : h.error) }, host: this.host });
24259
+ const p = h == null ? void 0 : h.data, b = this.bookedEventInfo.emit({ ...h, data: { ...p, ...r } });
24260
+ "bookedEventInfo" in this.eventOverrides && await this.eventOverrides.bookedEventInfo(b, this.nylasSchedulerConnector);
24248
24261
  return;
24249
24262
  }
24250
- const u = await ((y = this.nylasSchedulerConnector) == null ? void 0 : y.scheduler.bookTimeslot(n));
24251
- (!u || "error" in u) && this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject(u == null ? void 0 : u.error) }, host: this.host });
24252
- const c = u == null ? void 0 : u.data, d = this.bookedEventInfo.emit({ ...u, data: { ...c, ...r } });
24253
- "bookedEventInfo" in this.eventOverrides && await this.eventOverrides.bookedEventInfo(d, this.nylasSchedulerConnector);
24263
+ const s = await ((f = this.nylasSchedulerConnector) == null ? void 0 : f.scheduler.bookTimeslot(n));
24264
+ (!s || "error" in s) && this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject(s == null ? void 0 : s.error) }, host: this.host });
24265
+ const a = s == null ? void 0 : s.data, u = this.bookedEventInfo.emit({ ...s, data: { ...a, ...r } });
24266
+ "bookedEventInfo" in this.eventOverrides && await this.eventOverrides.bookedEventInfo(u, this.nylasSchedulerConnector);
24254
24267
  }
24255
24268
  dateSelectedHandler(e) {
24256
24269
  const n = e.detail;
@@ -24352,29 +24365,39 @@ const En = (t, e) => {
24352
24365
  onFeedbackClick() {
24353
24366
  this.showFeedbackModal = !0;
24354
24367
  }
24368
+ redirectToCustomUrl(e) {
24369
+ window.location.assign(e);
24370
+ }
24355
24371
  render() {
24356
- var g, m, y, v, w, C, B, P, I, j, E;
24357
- const e = this.mode === "app", n = (g = this.baseProvider) == null ? void 0 : g.getStore("scheduler"), r = n == null ? void 0 : n.get("eventInfo"), i = n == null ? void 0 : n.get("showBookingForm"), o = n == null ? void 0 : n.get("cancelledEventInfo"), s = n == null ? void 0 : n.get("cancelBookingId"), a = n == null ? void 0 : n.get("selectedTimeslot"), u = n == null ? void 0 : n.get("rescheduleBookingId"), c = n == null ? void 0 : n.get("organizerConfirmationBookingId"), d = n == null ? void 0 : n.get("rejectBookingId"), l = n == null ? void 0 : n.get("confirmedEventInfo"), f = (n == null ? void 0 : n.get("nylasBranding")) || this.nylasBranding, h = n == null ? void 0 : n.get("selectedDate"), p = (y = (m = n == null ? void 0 : n.get("configSettings")) == null ? void 0 : m.scheduler) == null ? void 0 : y.confirmation_redirect_url;
24372
+ var b, m, y, v, E, C, $, B, D, j;
24373
+ const e = this.mode === "app", n = (b = this.baseProvider) == null ? void 0 : b.getStore("scheduler"), r = n == null ? void 0 : n.get("eventInfo"), i = n == null ? void 0 : n.get("showBookingForm"), o = n == null ? void 0 : n.get("cancelledEventInfo"), s = n == null ? void 0 : n.get("cancelBookingId"), a = n == null ? void 0 : n.get("selectedTimeslot"), u = n == null ? void 0 : n.get("rescheduleBookingId"), c = n == null ? void 0 : n.get("organizerConfirmationBookingId"), d = n == null ? void 0 : n.get("rejectBookingId"), l = n == null ? void 0 : n.get("confirmedEventInfo"), f = (n == null ? void 0 : n.get("nylasBranding")) || this.nylasBranding, h = n == null ? void 0 : n.get("selectedDate"), p = (y = (m = n == null ? void 0 : n.get("configSettings")) == null ? void 0 : m.scheduler) == null ? void 0 : y.confirmation_redirect_url;
24358
24374
  if (this.selectedDateLabel = h && this.language ? Pc(h.toLocaleDateString(Kc[this.language], { dateStyle: "full" })) : `${R.t("noDateSelected")}`, e && (s || d) && !o)
24359
- return b(ye, null, b(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, b("div", { class: "cancel-flow-page", part: "cancel-flow-page" }, b("nylas-cancel-booking-form", { selectedTimeslot: a, cancelBookingId: s, rejectBookingId: d, exportparts: "ncbf, ncbf__icon, ncbf__title, ncbf__description, ncbf__reason-textarea, ncbf__button-cta, ncbf__button-outline, ncbf__card" }))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null));
24375
+ return g(ye, null, g(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, g("div", { class: "cancel-flow-page", part: "cancel-flow-page" }, g("nylas-cancel-booking-form", { selectedTimeslot: a, cancelBookingId: s, rejectBookingId: d, exportparts: "ncbf, ncbf__icon, ncbf__title, ncbf__description, ncbf__reason-textarea, ncbf__button-cta, ncbf__button-outline, ncbf__card" }))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null));
24360
24376
  if (e && c)
24361
- return b(ye, null, b(En, null, b("div", { class: "manual-confirmation-page", part: "manual-confirmation-page" }, b("nylas-organizer-confirmation-card", { organizerConfirmationBookingId: c, exportparts: "nmcc, nmcc__title, nmcc__description, nmcc__button-cta, nmcc__button-outline" }))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null));
24377
+ return g(ye, null, g(En, null, g("div", { class: "manual-confirmation-page", part: "manual-confirmation-page" }, g("nylas-organizer-confirmation-card", { organizerConfirmationBookingId: c, exportparts: "nmcc, nmcc__title, nmcc__description, nmcc__button-cta, nmcc__button-outline" }))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null));
24362
24378
  if (e && o)
24363
- return b(ye, null, b(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, b("div", { class: "cancelled-event-page", part: "cancelled-event-page" }, b("nylas-cancelled-event-card", { cancelledEventInfo: o, exportparts: "ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card" }))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null));
24379
+ return g(ye, null, g(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, g("div", { class: "cancelled-event-page", part: "cancelled-event-page" }, g("nylas-cancelled-event-card", { cancelledEventInfo: o, exportparts: "ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card" }))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null));
24364
24380
  if (e && l)
24365
- return b(ye, null, b(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, b("div", { class: "cancelled-event-page", part: "confirmed-event-page" }, b("nylas-confirmed-event-card", { confirmedEventInfo: l, exportparts: "ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card" }))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null));
24381
+ return g(ye, null, g(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, g("div", { class: "cancelled-event-page", part: "confirmed-event-page" }, g("nylas-confirmed-event-card", { confirmedEventInfo: l, exportparts: "ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card" }))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null));
24366
24382
  if (e && r && p) {
24367
- const D = (w = (v = this.stores) == null ? void 0 : v.scheduler.get("bookingInfo")) == null ? void 0 : w.primaryParticipant, k = (B = (C = this.stores) == null ? void 0 : C.scheduler.get("bookingInfo")) == null ? void 0 : B.additionalFields, $ = (P = this.stores) == null ? void 0 : P.scheduler.get("selectedTimeslot"), A = (I = this.stores) == null ? void 0 : I.scheduler.get("selectedTimezone"), S = (j = this.stores) == null ? void 0 : j.scheduler.get("selectedLanguage"), _ = (E = this.stores) == null ? void 0 : E.scheduler.get("configSettings"), T = this.configurationId ? this.configurationId : _ == null ? void 0 : _.configuration_id, x = window.location.search, M = new URLSearchParams(x);
24368
- M.set("booking_id", r.booking_id), D != null && D.name && M.set("name", D.name), D != null && D.email && M.set("email", D.email), $ != null && $.start_time && M.set("start_time", (new Date($.start_time).getTime() / 1e3).toString()), $ != null && $.end_time && M.set("end_time", (new Date($.end_time).getTime() / 1e3).toString()), A && M.set("tz", A), S && M.set("language", S), k && M.set("additional_values", JSON.stringify(k)), this.slug && M.set("page_slug", this.slug), T && M.set("config_id", T), window.location.assign(`${p}?${M.toString()}`);
24383
+ const w = (v = this.bookingInfoConfirmed) == null ? void 0 : v.primaryParticipant, P = ((E = this.bookingInfoConfirmed) == null ? void 0 : E.additionalFields) || {};
24384
+ if (this.bookingInfo && typeof ((C = this.bookingInfo) == null ? void 0 : C.additionalFields) < "u") {
24385
+ const M = this.bookingInfo.additionalFields;
24386
+ Object.keys(M).forEach((F) => {
24387
+ !P[F] && (M != null && M[F]) && (P[F] = M[F].value);
24388
+ });
24389
+ }
24390
+ const k = ($ = this.stores) == null ? void 0 : $.scheduler.get("selectedTimeslot"), I = (B = this.stores) == null ? void 0 : B.scheduler.get("selectedTimezone"), T = (D = this.stores) == null ? void 0 : D.scheduler.get("selectedLanguage"), S = (j = this.stores) == null ? void 0 : j.scheduler.get("configSettings"), _ = this.configurationId ? this.configurationId : S == null ? void 0 : S.configuration_id, A = window.location.search, x = new URLSearchParams(A);
24391
+ x.set("booking_id", r.booking_id), w != null && w.name && x.set("name", w.name), w != null && w.email && x.set("email", w.email), k != null && k.start_time && x.set("start_time", (new Date(k.start_time).getTime() / 1e3).toString()), k != null && k.end_time && x.set("end_time", (new Date(k.end_time).getTime() / 1e3).toString()), I && x.set("tz", I), T && x.set("language", T), P && x.set("additional_values", JSON.stringify(P)), this.slug && x.set("page_slug", this.slug), _ && x.set("config_id", _), this.redirectToCustomUrl(`${p}?${x.toString()}`);
24369
24392
  return;
24370
24393
  }
24371
24394
  if (e && r)
24372
- return b(ye, null, b(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, b("div", { class: "booked-event-page", part: "booked-event-page" }, b("nylas-booked-event-card", { selectedTimeslot: a, eventInfo: r, exportparts: "nbec, nbec__title, nbec__card, nbec__description, nbec__button-outline, nbec__cancel-cta, nbec__reschedule-cta" }))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null));
24395
+ return g(ye, null, g(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, g("div", { class: "booked-event-page", part: "booked-event-page" }, g("nylas-booked-event-card", { selectedTimeslot: a, eventInfo: r, exportparts: "nbec, nbec__title, nbec__card, nbec__description, nbec__button-outline, nbec__cancel-cta, nbec__reschedule-cta" }))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null));
24373
24396
  if (e && (!r || u) && !i) {
24374
- const D = this.host.querySelector('[slot="timeslot-picker-cta-label"]');
24375
- return b(ye, null, b(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, u && b(th, null, `${R.t("rescheduleTitle")}`), b("div", { class: "select-date-page", part: "select-date-page" }, b("div", { class: "left-panel" }, b("nylas-date-picker", { exportparts: "ndp, ndp__title, ndp__month-header, ndp__month-button, ndp__day, ndp__date, ndp__date--disabled, ndp__date--selected, ndp__date--current-day, ndp__date--current-month" }), b("nylas-locale-switch", { exportparts: "nls, nls__timezone, nls__timezone-dropdown, nls__timezone-drop-button, nls__timezone-drop-button-selected-label, nls__timezone-drop-content, nls__timezone-drop-label, nls__language, nls__language-dropdown, nls__language-drop-button, nls__language-drop-content, nls__language-drop-label" })), b("div", { class: `right-panel ${u ? "reschedule" : ""}` }, b("h2", null, b("calendar-icon", null), b("span", { id: "selectedDate" }, this.selectedDateLabel)), b("nylas-timeslot-picker", { exportparts: "ntp, ntp__timeslot, ntp__timeslot--selected, ntp__button-primary" }, D && b("span", { slot: "timeslot-picker-cta-label" }, b("slot", { name: "timeslot-picker-cta-label" })))))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null));
24397
+ const w = this.host.querySelector('[slot="timeslot-picker-cta-label"]');
24398
+ return g(ye, null, g(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, u && g(th, null, `${R.t("rescheduleTitle")}`), g("div", { class: "select-date-page", part: "select-date-page" }, g("div", { class: "left-panel" }, g("nylas-date-picker", { exportparts: "ndp, ndp__title, ndp__month-header, ndp__month-button, ndp__day, ndp__date, ndp__date--disabled, ndp__date--selected, ndp__date--current-day, ndp__date--current-month" }), g("nylas-locale-switch", { exportparts: "nls, nls__timezone, nls__timezone-dropdown, nls__timezone-drop-button, nls__timezone-drop-button-selected-label, nls__timezone-drop-content, nls__timezone-drop-label, nls__language, nls__language-dropdown, nls__language-drop-button, nls__language-drop-content, nls__language-drop-label" })), g("div", { class: `right-panel ${u ? "reschedule" : ""}` }, g("h2", null, g("calendar-icon", null), g("span", { id: "selectedDate" }, this.selectedDateLabel)), g("nylas-timeslot-picker", { exportparts: "ntp, ntp__timeslot, ntp__timeslot--selected, ntp__button-primary" }, w && g("span", { slot: "timeslot-picker-cta-label" }, g("slot", { name: "timeslot-picker-cta-label" })))))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null));
24376
24399
  }
24377
- return e && !r && i ? b(ye, null, b(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, u && b(th, null, `${R.t("rescheduleTitle")}`), b("div", { class: "additional-data-page", part: "additional-data-page" }, b("div", { class: "left-panel" }, b("div", { class: "wrapper" }, b("nylas-selected-event-card", { exportparts: "nsec, nsec__card, nsec__icon, nsec__date, nsec__time, nsec__timezone" }))), b("div", { class: `right-panel ${u ? "reschedule" : ""}` }, b("nylas-booking-form", { exportparts: "nbf, nbf__input-textfield, nbf__button-ghost, nbf__button-outline, nbf__button-primary, nbf__input-wrapper, nbf__checkbox-component, nbf__radio-button-group, nbf__textarea-component, nbf__dropdown, nbf__dropdown-button, nbf__dropdown-content" })))), this.enableUserFeedback && b("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, b("feedback-icon", null)), this.showFeedbackModal && b("nylas-feedback-form", null)) : b(ye, null, b("slot", null));
24400
+ return e && !r && i ? g(ye, null, g(En, { nylasBranding: f, isLoading: this.isLoading, showNotification: this.showNotification }, u && g(th, null, `${R.t("rescheduleTitle")}`), g("div", { class: "additional-data-page", part: "additional-data-page" }, g("div", { class: "left-panel" }, g("div", { class: "wrapper" }, g("nylas-selected-event-card", { exportparts: "nsec, nsec__card, nsec__icon, nsec__date, nsec__time, nsec__timezone" }))), g("div", { class: `right-panel ${u ? "reschedule" : ""}` }, g("nylas-booking-form", { exportparts: "nbf, nbf__input-textfield, nbf__button-ghost, nbf__button-outline, nbf__button-primary, nbf__input-wrapper, nbf__checkbox-component, nbf__radio-button-group, nbf__textarea-component, nbf__dropdown, nbf__dropdown-button, nbf__dropdown-content" })))), this.enableUserFeedback && g("button-component", { id: "report-issue", variant: "basic", onClick: () => this.onFeedbackClick() }, g("feedback-icon", null)), this.showFeedbackModal && g("nylas-feedback-form", null)) : g(ye, null, g("slot", null));
24378
24401
  }
24379
24402
  get host() {
24380
24403
  return this;
@@ -24416,6 +24439,7 @@ const En = (t, e) => {
24416
24439
  refConfigId: [32],
24417
24440
  language: [32],
24418
24441
  showFeedbackModal: [32],
24442
+ bookingInfoConfirmed: [32],
24419
24443
  getNylasSchedulerStore: [64],
24420
24444
  getNylasSchedulerConnector: [64],
24421
24445
  getRef: [64]