@nylas/web-elements 2.0.1 → 2.0.3

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 (241) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +191 -95
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +10418 -10260
  3. package/dist/cjs/{abstract-provider-ca4f7e4f.js → abstract-provider-f84a6735.js} +2 -2
  4. package/dist/cjs/{abstract-provider-ca4f7e4f.js.map → abstract-provider-f84a6735.js.map} +1 -1
  5. package/dist/cjs/app-globals-ee500b74.js.map +1 -1
  6. package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js +36 -21
  7. package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js.map +1 -1
  8. package/dist/cjs/{calendar-check-icon_2.cjs.entry.js → calendar-check-icon.cjs.entry.js} +3 -19
  9. package/dist/cjs/calendar-check-icon.cjs.entry.js.map +1 -0
  10. package/dist/cjs/checkbox-component_2.cjs.entry.js +1 -1
  11. package/dist/cjs/checkbox-group_4.cjs.entry.js +3 -3
  12. package/dist/cjs/checkmark-circle-icon.cjs.entry.js +24 -0
  13. package/dist/cjs/checkmark-circle-icon.cjs.entry.js.map +1 -0
  14. package/dist/cjs/checkmark-icon_15.cjs.entry.js +11 -7
  15. package/dist/cjs/checkmark-icon_15.cjs.entry.js.map +1 -1
  16. package/dist/cjs/{customParseFormat-bb3a23c5.js → customParseFormat-95790293.js} +2 -2
  17. package/dist/cjs/{customParseFormat-bb3a23c5.js.map → customParseFormat-95790293.js.map} +1 -1
  18. package/dist/cjs/{feedbackSync-1c5ec9aa.js → feedbackSync-4ed99749.js} +2 -2
  19. package/dist/cjs/{feedbackSync-1c5ec9aa.js.map → feedbackSync-4ed99749.js.map} +1 -1
  20. package/dist/cjs/globe-icon_2.cjs.entry.js +2 -2
  21. package/dist/cjs/google-logo-icon_6.cjs.entry.js +8 -8
  22. package/dist/cjs/index-e07e3a7e.js +6 -2
  23. package/dist/cjs/index.cjs.js +2 -2
  24. package/dist/cjs/{index.es-c563f3ba.js → index.es-62161daa.js} +2 -2
  25. package/dist/cjs/{index.es-c563f3ba.js.map → index.es-62161daa.js.map} +1 -1
  26. package/dist/cjs/input-component.cjs.entry.js +1 -1
  27. package/dist/cjs/input-dropdown_2.cjs.entry.js +1 -1
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
  30. package/dist/cjs/{nylas-api-request-4d148ff1.js → nylas-api-request-03d7f604.js} +2 -2
  31. package/dist/cjs/{nylas-api-request-4d148ff1.js.map → nylas-api-request-03d7f604.js.map} +1 -1
  32. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +82 -25
  33. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js.map +1 -1
  34. package/dist/cjs/nylas-form-card.cjs.entry.js +2 -2
  35. package/dist/cjs/nylas-notification_2.cjs.entry.js +1 -1
  36. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +6 -6
  37. package/dist/cjs/nylas-scheduling.cjs.entry.js +42 -14
  38. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  39. package/dist/cjs/nylas-web-elements.cjs.js +1 -1
  40. package/dist/cjs/{register-component-70744713.js → register-component-f4ad9751.js} +2 -2
  41. package/dist/cjs/{register-component-70744713.js.map → register-component-f4ad9751.js.map} +1 -1
  42. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  43. package/dist/cjs/{utils-dd3b6f4c.js → utils-03b13826.js} +154 -55
  44. package/dist/cjs/utils-03b13826.js.map +1 -0
  45. package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +11 -3
  46. package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js.map +1 -1
  47. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +49 -4
  48. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
  49. package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js +3 -3
  50. package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js.map +1 -1
  51. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +37 -1
  52. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js.map +1 -1
  53. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +34 -2
  54. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js.map +1 -1
  55. package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.css +1 -1
  56. package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +34 -1
  57. package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js.map +1 -1
  58. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +10 -4
  59. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
  60. package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +10 -2
  61. package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js.map +1 -1
  62. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.css +13 -0
  63. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +66 -7
  64. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  65. package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js +33 -0
  66. package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js.map +1 -1
  67. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +20 -5
  68. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js.map +1 -1
  69. package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
  70. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +12 -6
  71. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
  72. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +1 -1
  73. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js +12 -6
  74. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js.map +1 -1
  75. package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +6 -3
  76. package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
  77. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +14 -8
  78. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
  79. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +3 -3
  80. package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js +1 -1
  81. package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js +8 -4
  82. package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js.map +1 -1
  83. package/dist/components/index.js.map +1 -1
  84. package/dist/components/nylas-additional-participants2.js +12 -6
  85. package/dist/components/nylas-additional-participants2.js.map +1 -1
  86. package/dist/components/nylas-booked-event-card2.js +13 -6
  87. package/dist/components/nylas-booked-event-card2.js.map +1 -1
  88. package/dist/components/nylas-booking-confirmation-redirect2.js +12 -6
  89. package/dist/components/nylas-booking-confirmation-redirect2.js.map +1 -1
  90. package/dist/components/nylas-booking-form2.js +28 -6
  91. package/dist/components/nylas-booking-form2.js.map +1 -1
  92. package/dist/components/nylas-cancel-booking-form2.js +13 -3
  93. package/dist/components/nylas-cancel-booking-form2.js.map +1 -1
  94. package/dist/components/nylas-cancelled-event-card2.js +12 -3
  95. package/dist/components/nylas-cancelled-event-card2.js.map +1 -1
  96. package/dist/components/nylas-confirmation-email2.js +6 -3
  97. package/dist/components/nylas-confirmation-email2.js.map +1 -1
  98. package/dist/components/nylas-confirmed-event-card2.js +18 -8
  99. package/dist/components/nylas-confirmed-event-card2.js.map +1 -1
  100. package/dist/components/nylas-custom-event-slug2.js +15 -9
  101. package/dist/components/nylas-custom-event-slug2.js.map +1 -1
  102. package/dist/components/nylas-date-picker2.js +1 -1
  103. package/dist/components/nylas-date-picker2.js.map +1 -1
  104. package/dist/components/nylas-editor-tabs-group2.js +2 -2
  105. package/dist/components/nylas-editor-tabs2.js +2 -2
  106. package/dist/components/nylas-organizer-confirmation-card2.js +12 -5
  107. package/dist/components/nylas-organizer-confirmation-card2.js.map +1 -1
  108. package/dist/components/nylas-reminder-emails2.js +8 -4
  109. package/dist/components/nylas-reminder-emails2.js.map +1 -1
  110. package/dist/components/nylas-scheduler-editor.js +2 -2
  111. package/dist/components/nylas-scheduling.js +42 -12
  112. package/dist/components/nylas-scheduling.js.map +1 -1
  113. package/dist/components/nylas-selected-event-card2.js +12 -5
  114. package/dist/components/nylas-selected-event-card2.js.map +1 -1
  115. package/dist/components/nylas-timeslot-picker2.js.map +1 -1
  116. package/dist/components/utils.js +153 -54
  117. package/dist/components/utils.js.map +1 -1
  118. package/dist/esm/{abstract-provider-efe136bd.js → abstract-provider-bdb7d9b4.js} +2 -2
  119. package/dist/esm/{abstract-provider-efe136bd.js.map → abstract-provider-bdb7d9b4.js.map} +1 -1
  120. package/dist/esm/app-globals-295a87be.js.map +1 -1
  121. package/dist/esm/calendar-agenda-fill-icon_36.entry.js +36 -21
  122. package/dist/esm/calendar-agenda-fill-icon_36.entry.js.map +1 -1
  123. package/dist/esm/{calendar-check-icon_2.entry.js → calendar-check-icon.entry.js} +4 -19
  124. package/dist/esm/calendar-check-icon.entry.js.map +1 -0
  125. package/dist/esm/checkbox-component_2.entry.js +1 -1
  126. package/dist/esm/checkbox-group_4.entry.js +3 -3
  127. package/dist/esm/checkmark-circle-icon.entry.js +20 -0
  128. package/dist/esm/checkmark-circle-icon.entry.js.map +1 -0
  129. package/dist/esm/checkmark-icon_15.entry.js +11 -7
  130. package/dist/esm/checkmark-icon_15.entry.js.map +1 -1
  131. package/dist/esm/{customParseFormat-edc38d83.js → customParseFormat-f0d21eb3.js} +2 -2
  132. package/dist/esm/{customParseFormat-edc38d83.js.map → customParseFormat-f0d21eb3.js.map} +1 -1
  133. package/dist/esm/{feedbackSync-e4378c0b.js → feedbackSync-b9c9e719.js} +2 -2
  134. package/dist/esm/{feedbackSync-e4378c0b.js.map → feedbackSync-b9c9e719.js.map} +1 -1
  135. package/dist/esm/globe-icon_2.entry.js +2 -2
  136. package/dist/esm/google-logo-icon_6.entry.js +8 -8
  137. package/dist/esm/index-091600eb.js +6 -2
  138. package/dist/esm/{index.es-6a9d55cf.js → index.es-ccb2a286.js} +2 -2
  139. package/dist/esm/{index.es-6a9d55cf.js.map → index.es-ccb2a286.js.map} +1 -1
  140. package/dist/esm/index.js +2 -2
  141. package/dist/esm/input-component.entry.js +1 -1
  142. package/dist/esm/input-dropdown_2.entry.js +1 -1
  143. package/dist/esm/loader.js +1 -1
  144. package/dist/esm/multi-select-dropdown.entry.js +1 -1
  145. package/dist/esm/{nylas-api-request-f2e4e9b6.js → nylas-api-request-7d702661.js} +2 -2
  146. package/dist/esm/{nylas-api-request-f2e4e9b6.js.map → nylas-api-request-7d702661.js.map} +1 -1
  147. package/dist/esm/nylas-booked-event-card_11.entry.js +82 -25
  148. package/dist/esm/nylas-booked-event-card_11.entry.js.map +1 -1
  149. package/dist/esm/nylas-form-card.entry.js +2 -2
  150. package/dist/esm/nylas-notification_2.entry.js +1 -1
  151. package/dist/esm/nylas-scheduler-editor.entry.js +6 -6
  152. package/dist/esm/nylas-scheduling.entry.js +43 -15
  153. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  154. package/dist/esm/nylas-web-elements.js +1 -1
  155. package/dist/esm/{register-component-a1c3d7b4.js → register-component-9d4ceee5.js} +2 -2
  156. package/dist/esm/{register-component-a1c3d7b4.js.map → register-component-9d4ceee5.js.map} +1 -1
  157. package/dist/esm/textarea-component.entry.js +1 -1
  158. package/dist/esm/{utils-b7f9cbcc.js → utils-fb8a9ce4.js} +154 -55
  159. package/dist/esm/utils-fb8a9ce4.js.map +1 -0
  160. package/dist/nylas-web-elements/index.esm.js +1 -1
  161. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  162. package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
  163. package/dist/nylas-web-elements/{p-3ce8e281.js → p-094be30f.js} +2 -2
  164. package/dist/nylas-web-elements/p-18c58ea1.entry.js +2 -0
  165. package/dist/nylas-web-elements/p-18c58ea1.entry.js.map +1 -0
  166. package/dist/nylas-web-elements/{p-c12c18b2.entry.js → p-1dbaf879.entry.js} +2 -2
  167. package/dist/nylas-web-elements/p-2830522f.entry.js +2 -0
  168. package/dist/nylas-web-elements/p-2830522f.entry.js.map +1 -0
  169. package/dist/nylas-web-elements/{p-35297f33.entry.js → p-3b56d656.entry.js} +2 -2
  170. package/dist/nylas-web-elements/{p-8e7882a1.js → p-3c8b7ba1.js} +2 -2
  171. package/dist/nylas-web-elements/{p-3204882f.entry.js → p-3f5e1e6b.entry.js} +2 -2
  172. package/dist/nylas-web-elements/{p-5aae729f.js → p-4c1fafb4.js} +2 -2
  173. package/dist/nylas-web-elements/p-522270a2.entry.js +2 -0
  174. package/dist/nylas-web-elements/p-522270a2.entry.js.map +1 -0
  175. package/dist/nylas-web-elements/p-67e936ce.entry.js +2 -0
  176. package/dist/nylas-web-elements/p-67e936ce.entry.js.map +1 -0
  177. package/dist/nylas-web-elements/{p-9e11eb2c.js → p-6d8e2c6b.js} +2 -2
  178. package/dist/nylas-web-elements/{p-3362cf82.entry.js → p-8f82f281.entry.js} +2 -2
  179. package/dist/nylas-web-elements/p-920812bd.entry.js +8 -0
  180. package/dist/nylas-web-elements/p-920812bd.entry.js.map +1 -0
  181. package/dist/nylas-web-elements/{p-b40f7a77.entry.js → p-a42f41f7.entry.js} +2 -2
  182. package/dist/nylas-web-elements/p-a6e2e49c.js.map +1 -1
  183. package/dist/nylas-web-elements/{p-8340d845.entry.js → p-aad611b4.entry.js} +2 -2
  184. package/dist/nylas-web-elements/{p-6e56eb3f.js → p-ab88518b.js} +2 -2
  185. package/dist/nylas-web-elements/{p-5cf6301e.entry.js → p-b3500bf1.entry.js} +2 -2
  186. package/dist/nylas-web-elements/{p-4d8f9740.entry.js → p-b6d863e0.entry.js} +2 -2
  187. package/dist/nylas-web-elements/{p-50c255fa.entry.js → p-b8cf836f.entry.js} +2 -2
  188. package/dist/nylas-web-elements/{p-996c827d.entry.js → p-bf37be06.entry.js} +2 -2
  189. package/dist/nylas-web-elements/p-de4b01ac.entry.js +2 -0
  190. package/dist/nylas-web-elements/p-de4b01ac.entry.js.map +1 -0
  191. package/dist/nylas-web-elements/{p-308e7adb.entry.js → p-f42e87c6.entry.js} +3 -3
  192. package/dist/nylas-web-elements/{p-dea32251.js → p-f4825eb1.js} +2 -2
  193. package/dist/nylas-web-elements/p-faa30369.js +14 -0
  194. package/dist/nylas-web-elements/{p-59e4ab2d.js.map → p-faa30369.js.map} +1 -1
  195. package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +2 -0
  196. package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +7 -0
  197. package/dist/types/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.d.ts +3 -0
  198. package/dist/types/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.d.ts +3 -1
  199. package/dist/types/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.d.ts +3 -1
  200. package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +2 -1
  201. package/dist/types/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.d.ts +2 -0
  202. package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +6 -0
  203. package/dist/types/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.d.ts +3 -1
  204. package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +2 -1
  205. package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +2 -0
  206. package/dist/types/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.d.ts +2 -0
  207. package/dist/types/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.d.ts +2 -0
  208. package/dist/types/components.d.ts +46 -6
  209. package/package.json +3 -5
  210. package/dist/cjs/calendar-check-icon_2.cjs.entry.js.map +0 -1
  211. package/dist/cjs/utils-dd3b6f4c.js.map +0 -1
  212. package/dist/esm/calendar-check-icon_2.entry.js.map +0 -1
  213. package/dist/esm/utils-b7f9cbcc.js.map +0 -1
  214. package/dist/nylas-web-elements/p-2b52b854.entry.js +0 -2
  215. package/dist/nylas-web-elements/p-2b52b854.entry.js.map +0 -1
  216. package/dist/nylas-web-elements/p-59e4ab2d.js +0 -14
  217. package/dist/nylas-web-elements/p-8a3965ba.entry.js +0 -2
  218. package/dist/nylas-web-elements/p-8a3965ba.entry.js.map +0 -1
  219. package/dist/nylas-web-elements/p-97128be4.entry.js +0 -8
  220. package/dist/nylas-web-elements/p-97128be4.entry.js.map +0 -1
  221. package/dist/nylas-web-elements/p-d69f9d47.entry.js +0 -2
  222. package/dist/nylas-web-elements/p-d69f9d47.entry.js.map +0 -1
  223. package/dist/nylas-web-elements/p-dcc8ca35.entry.js +0 -2
  224. package/dist/nylas-web-elements/p-dcc8ca35.entry.js.map +0 -1
  225. /package/dist/nylas-web-elements/{p-3ce8e281.js.map → p-094be30f.js.map} +0 -0
  226. /package/dist/nylas-web-elements/{p-c12c18b2.entry.js.map → p-1dbaf879.entry.js.map} +0 -0
  227. /package/dist/nylas-web-elements/{p-35297f33.entry.js.map → p-3b56d656.entry.js.map} +0 -0
  228. /package/dist/nylas-web-elements/{p-8e7882a1.js.map → p-3c8b7ba1.js.map} +0 -0
  229. /package/dist/nylas-web-elements/{p-3204882f.entry.js.map → p-3f5e1e6b.entry.js.map} +0 -0
  230. /package/dist/nylas-web-elements/{p-5aae729f.js.map → p-4c1fafb4.js.map} +0 -0
  231. /package/dist/nylas-web-elements/{p-9e11eb2c.js.map → p-6d8e2c6b.js.map} +0 -0
  232. /package/dist/nylas-web-elements/{p-3362cf82.entry.js.map → p-8f82f281.entry.js.map} +0 -0
  233. /package/dist/nylas-web-elements/{p-b40f7a77.entry.js.map → p-a42f41f7.entry.js.map} +0 -0
  234. /package/dist/nylas-web-elements/{p-8340d845.entry.js.map → p-aad611b4.entry.js.map} +0 -0
  235. /package/dist/nylas-web-elements/{p-6e56eb3f.js.map → p-ab88518b.js.map} +0 -0
  236. /package/dist/nylas-web-elements/{p-5cf6301e.entry.js.map → p-b3500bf1.entry.js.map} +0 -0
  237. /package/dist/nylas-web-elements/{p-4d8f9740.entry.js.map → p-b6d863e0.entry.js.map} +0 -0
  238. /package/dist/nylas-web-elements/{p-50c255fa.entry.js.map → p-b8cf836f.entry.js.map} +0 -0
  239. /package/dist/nylas-web-elements/{p-996c827d.entry.js.map → p-bf37be06.entry.js.map} +0 -0
  240. /package/dist/nylas-web-elements/{p-308e7adb.entry.js.map → p-f42e87c6.entry.js.map} +0 -0
  241. /package/dist/nylas-web-elements/{p-dea32251.js.map → p-f4825eb1.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e07e3a7e.js');
6
- const utils = require('./utils-dd3b6f4c.js');
6
+ const utils = require('./utils-03b13826.js');
7
7
 
8
8
  const inputComponentCss = ":host{display:block;height:auto;--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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.input_wrapper{display:flex;align-items:center;gap:1rem}input[type=text],input[type=number],input[type=email],input[type=phone_number]{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%;width:-moz-available;width:-webkit-fill-available}input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=phone_number]:focus{outline-color:var(--nylas-primary)}input[type=text].error,input[type=number].error,input[type=email].error,input[type=phone_number].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=number].error::placeholder,input[type=email].error::placeholder,input[type=phone_number].error::placeholder{font-weight:400}input[type=text]::placeholder,input[type=number]::placeholder,input[type=email]::placeholder,input[type=phone_number]::placeholder{color:var(--nylas-base-300)}input:read-only{background-color:var(--nylas-base-100);cursor:not-allowed}";
9
9
  const InputComponentStyle0 = inputComponentCss;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e07e3a7e.js');
6
6
  const constants = require('./constants-27331d2d.js');
7
- const utils = require('./utils-dd3b6f4c.js');
7
+ const utils = require('./utils-03b13826.js');
8
8
 
9
9
  const inputDropdownCss = ":host{display:block;position:relative;--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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}@media screen and (max-width: 768px){:host{position:unset}}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:10px;font-size:16px;font-family:var(--nylas-font-family);cursor:pointer;display:flex;gap:0.5rem;background:transparent;border:none;border-radius:var(--nylas-border-radius-2x);padding:14px 16px;border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);max-width:306px;width:max-content;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}";
10
10
  const InputDropdownStyle0 = inputDropdownCss;
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-ee500b74.js');
8
8
  const defineCustomElements = (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  appGlobals.globalScripts();
11
- return index.bootstrapLazy(JSON.parse("[[\"nylas-scheduler-editor.cjs\",[[1,\"nylas-scheduler-editor\",{\"configurationId\":[1025,\"configuration-id\"],\"nylasApiRequest\":[1040],\"nylasSessionsConfig\":[16],\"defaultAuthArgs\":[16],\"eventOverrides\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"defaultSchedulerConfigState\":[16],\"mode\":[1],\"additionalParticipants\":[16],\"hideEditorTabs\":[16],\"conferenceProviders\":[16],\"requiresSlug\":[4,\"requires-slug\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"defaultLanguage\":[1,\"default-language\"],\"localization\":[16],\"nylasBranding\":[4,\"nylas-branding\"],\"experimentalFeatures\":[16],\"enableEventTypes\":[16],\"automaticComponentRegistration\":[32],\"selectedLanguage\":[32],\"langVersion\":[32],\"version\":[32],\"store\":[64],\"schedulerConnector\":[64]},[[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"configurationId\":[\"configurationIdChanged\"],\"localization\":[\"updateLocalization\"],\"nylasBranding\":[\"updateNylasBranding\"],\"experimentalFeatures\":[\"updateExperimentalFeatures\"],\"enableEventTypes\":[\"updateEnableEventTypes\"]}]]],[\"nylas-scheduling.cjs\",[[1,\"nylas-scheduling\",{\"mode\":[1],\"defaultSchedulerState\":[16],\"sessionId\":[1,\"session-id\"],\"schedulerApiUrl\":[1,\"scheduler-api-url\"],\"bookingInfo\":[16],\"rescheduleBookingRef\":[1,\"reschedule-booking-ref\"],\"cancelBookingRef\":[1,\"cancel-booking-ref\"],\"organizerConfirmationBookingRef\":[1,\"organizer-confirmation-booking-ref\"],\"configurationId\":[1,\"configuration-id\"],\"slug\":[1],\"clientId\":[1,\"client-id\"],\"nylasBranding\":[4,\"nylas-branding\"],\"eventOverrides\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16],\"localization\":[16],\"showNotification\":[4,\"show-notification\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"hour12\":[4,\"hour-1-2\"],\"automaticComponentRegistration\":[32],\"selectedDateLabel\":[32],\"refConfigId\":[32],\"language\":[32],\"showFeedbackModal\":[32],\"bookingInfoConfirmed\":[32],\"version\":[32],\"getNylasSchedulerStore\":[64],\"getNylasSchedulerConnector\":[64],\"getRef\":[64]},[[0,\"languageChanged\",\"languageChanged\"],[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"monthChanged\",\"monthChangedHandler\"],[0,\"detailsConfirmed\",\"bookButtonClickedHandler\"],[0,\"dateSelected\",\"dateSelectedHandler\"],[0,\"cancelBookedEventError\",\"cancelBookedEventErrorHandler\"],[0,\"cancelBookedEventValidationError\",\"cancelBookedEventValidationErrorHandler\"],[0,\"rescheduleBookedEventError\",\"rescheduleBookedEventErrorHandler\"],[0,\"confirmBookingError\",\"confirmBookingErrorHandler\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"validateTimeslotError\",\"eventIsFullHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"]],{\"bookingInfo\":[\"bookingInfoChanged\"],\"rescheduleBookingRef\":[\"rescheduleBookingRefChanged\"],\"cancelBookingRef\":[\"cancelBookingRefChanged\"],\"organizerConfirmationBookingRef\":[\"organizerConfirmationBookingRefChanged\"],\"localization\":[\"localizationChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"archive-icon.cjs\",[[2,\"archive-icon\",{\"width\":[1],\"height\":[1]}]]],[\"arrow-icon.cjs\",[[2,\"arrow-icon\",{\"width\":[1],\"height\":[1]}]]],[\"bold-icon.cjs\",[[2,\"bold-icon\",{\"width\":[1],\"height\":[1]}]]],[\"document-refresh-icon.cjs\",[[2,\"document-refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"folder-icon.cjs\",[[2,\"folder-icon\",{\"width\":[1],\"height\":[1]}]]],[\"forward-icon.cjs\",[[2,\"forward-icon\",{\"width\":[1],\"height\":[1]}]]],[\"inbox-icon.cjs\",[[2,\"inbox-icon\",{\"width\":[1],\"height\":[1]}]]],[\"italic-icon.cjs\",[[2,\"italic-icon\",{\"width\":[1],\"height\":[1]}]]],[\"play-icon.cjs\",[[2,\"play-icon\",{\"width\":[1],\"height\":[1]}]]],[\"refresh-icon.cjs\",[[2,\"refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-all-icon.cjs\",[[2,\"reply-all-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-icon.cjs\",[[2,\"reply-icon\",{\"width\":[1],\"height\":[1]}]]],[\"sent-icon.cjs\",[[2,\"sent-icon\",{\"width\":[1],\"height\":[1]}]]],[\"spam-icon.cjs\",[[2,\"spam-icon\",{\"width\":[1],\"height\":[1]}]]],[\"star-icon.cjs\",[[2,\"star-icon\",{\"width\":[1],\"height\":[1]}]]],[\"stop-icon.cjs\",[[2,\"stop-icon\",{\"width\":[1],\"height\":[1]}]]],[\"trash-fill-icon.cjs\",[[2,\"trash-fill-icon\",{\"width\":[1],\"height\":[1]}]]],[\"underline-icon.cjs\",[[2,\"underline-icon\",{\"width\":[1],\"height\":[1]}]]],[\"delete-icon.cjs\",[[2,\"delete-icon\",{\"width\":[1],\"height\":[1]}]]],[\"person-icon.cjs\",[[2,\"person-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-cancel-icon.cjs\",[[2,\"calendar-cancel-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-icon.cjs\",[[2,\"calendar-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-check-icon_2.cjs\",[[2,\"checkmark-circle-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-check-icon\",{\"width\":[1],\"height\":[1]}]]],[\"radio-button-group.cjs\",[[1,\"radio-button-group\",{\"name\":[1],\"options\":[16],\"defaultSelectedValue\":[1,\"default-selected-value\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"selectedValue\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"defaultSelectedValue\":[\"handleDefaultSelectedValueChange\"]}]]],[\"toggle-switch.cjs\",[[1,\"toggle-switch\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"isChecked\":[32]},null,{\"checked\":[\"checkedChanged\"]}]]],[\"translate-icon.cjs\",[[2,\"translate-icon\",{\"width\":[1],\"height\":[1]}]]],[\"textarea-component.cjs\",[[1,\"textarea-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"maxLength\":[2,\"max-length\"],\"type\":[1],\"tooltip\":[1],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"triggerValidation\",\"handletriggerValidation\"]]]]],[\"nylas-form-card.cjs\",[[65,\"nylas-form-card\"]]],[\"multi-select-dropdown.cjs\",[[1,\"multi-select-dropdown\",{\"name\":[1],\"label\":[1],\"options\":[16],\"error\":[1025],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"multipleOptionsSelectedLabel\":[1,\"multiple-options-selected-label\"],\"selectAtLeastOneOptionLabel\":[1,\"select-at-least-one-option-label\"],\"availableOptions\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"shouldFocusFirstOption\":[32]},[[6,\"click\",\"handleOutsideClick\"],[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"options\":[\"optionsChangedHandler\"]}]]],[\"checkbox-component_2.cjs\",[[1,\"checkbox-component\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"isChecked\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"checked\":[\"checkedPropChangedHandler\"]}],[1,\"nylas-date-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"minDate\":[1,\"min-date\"],\"hasError\":[4,\"has-error\"],\"value\":[32],\"error\":[32],\"isDateValid\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"input-component.cjs\",[[1,\"input-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"type\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"maxValue\":[2,\"max-value\"],\"minValue\":[2,\"min-value\"],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"globe-icon_2.cjs\",[[1,\"nylas-time-window-picker\",{\"time\":[1],\"minimumStartTime\":[1,\"minimum-start-time\"],\"placeholder\":[1],\"name\":[1],\"hasError\":[516,\"has-error\"],\"language\":[1],\"err\":[32],\"showTimes\":[32],\"ariaActivedescendant\":[32],\"times\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"minimumStartTime\":[\"minimumStartTimeChangedHandler\"]}],[2,\"globe-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-meet-icon_5.cjs\",[[2,\"google-meet-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-off-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-teams-icon\",{\"width\":[1],\"height\":[1]}],[2,\"zoom-icon\",{\"width\":[1],\"height\":[1]}]]],[\"add-circle-icon_2.cjs\",[[2,\"add-circle-icon\",{\"width\":[1],\"height\":[1]}],[2,\"close-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-icon_15.cjs\",[[65,\"nylas-event-location\",{\"name\":[1],\"currentUser\":[16],\"userProvider\":[1,\"user-provider\"],\"eventConferencing\":[16],\"conferenceProviders\":[16],\"selectedConfiguration\":[16],\"eventLocation\":[1,\"event-location\"],\"selectedLanguage\":[1,\"selected-language\"],\"location\":[32],\"grantId\":[32],\"selectedLocationOption\":[32],\"userProviderState\":[32],\"locationOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"currentUser\":[\"currentUserChangedHandler\"],\"conferenceProviders\":[\"conferenceProvidersChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-additional-participants\",{\"name\":[1],\"selectedConfiguration\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"participantOptions\":[16],\"eventParticipants\":[16],\"roundRobinConfig\":[4,\"round-robin-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"participants\":[32],\"participantErrors\":[32],\"includeOrganizerAsParticipant\":[32],\"isRoundRobinConfig\":[32],\"error\":[32]},[[0,\"inputOptionChanged\",\"onInputOptionChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUser\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-feedback-form\",{\"themeConfig\":[8,\"theme-config\"],\"feedbackMessage\":[32]},[[4,\"nylasFormInputChanged\",\"handleFormInputChanged\"]]],[65,\"nylas-reminder-time\",{\"name\":[1],\"eventReminderTimeMinutes\":[2,\"event-reminder-time-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32],\"errorState\":[32]},[[4,\"nylasSuggestReminderMinutes\",\"nylasSuggestReminderMinutesHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"eventReminderTimeMinutes\":[\"eventReminderTimeMinutesChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-description\",{\"selectedConfiguration\":[16],\"eventDescription\":[1,\"event-description\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"hideAutoPopulateButton\":[4,\"hide-auto-populate-button\"],\"noTemplates\":[4,\"no-templates\"],\"description\":[32],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"additionalFieldTokens\":[32]},[[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-title\",{\"selectedConfiguration\":[16],\"eventTitle\":[1,\"event-title\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"noTemplates\":[4,\"no-templates\"],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"configEventTitle\":[32],\"additionalFieldTokens\":[32]},[[8,\"formSubmitted\",\"formSubmittedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"ariaActivedescendant\":[\"ariaActivedescendantChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"input-color-picker\",{\"name\":[1],\"defaultSelectedColor\":[1,\"default-selected-color\"],\"selectedColor\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"errorMessage\":[32]},[[6,\"click\",\"handleOutsideClick\"]]],[65,\"input-image-url\",{\"imageUrl\":[1,\"image-url\"],\"errorMessage\":[1,\"error-message\"],\"name\":[1],\"currentImageUrl\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"errorMessage\":[\"errorMessageChangedHandler\"]}],[65,\"nylas-event-info\",{\"selectedLanguage\":[1,\"selected-language\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"checkmark-icon\",{\"width\":[1],\"height\":[1]}],[2,\"dragable-icon\",{\"width\":[1],\"height\":[1]}],[2,\"eye-icon\",{\"width\":[1],\"height\":[1]}],[2,\"feedback-icon\",{\"width\":[1],\"height\":[1]}],[2,\"trash-icon\",{\"width\":[1],\"height\":[1]}],[2,\"copy-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkbox-group_4.cjs\",[[65,\"nylas-event-calendar\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"groupEvents\":[16],\"currentUser\":[16],\"calendars\":[16],\"masterGroupEvents\":[16],\"isLoading\":[4,\"is-loading\"],\"selectedView\":[32],\"events\":[32],\"calendar\":[32],\"selectedEvent\":[32],\"selectedDateRangeString\":[32],\"showEditEventDetails\":[32],\"showCreateEventDetails\":[32],\"editOptionChoices\":[32],\"updateOptionChoices\":[32],\"deleteOptionChoices\":[32],\"editOptions\":[32],\"showEditOptions\":[32],\"updateOptions\":[32],\"showUpdateOptions\":[32],\"deleteOptions\":[32],\"showDeleteOptions\":[32],\"unsavedChanges\":[32],\"showConfirmDiscardUnsavedChangesModal\":[32],\"createNewGroupEventTimeslot\":[32],\"formError\":[32],\"formErrors\":[32],\"loadingOptions\":[32],\"showChooseParticipantsModal\":[32],\"importParticipants\":[32],\"selectedImportParticipants\":[32],\"showAllEvents\":[32]},[[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"timeWindowFormError\",\"timeWindowFormErrorHandler\"],[0,\"dateTimeInputError\",\"dateTimeInputErrorHandler\"],[4,\"saveGroupEventChangesError\",\"saveGroupEventChangesErrorHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasCheckboxGroupChanged\",\"nylasCheckboxGroupChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"groupEvents\":[\"groupEventsChangedHandler\"],\"isLoading\":[\"isLoadingChangedHandler\"]}],[65,\"nylas-event-timeslot\",{\"name\":[1],\"initialValue\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"currentUser\":[16],\"selectedDate\":[32],\"selectedStartTime\":[32],\"selectedEndTime\":[32],\"selectedTimezone\":[32],\"selectedRecurrenceType\":[32],\"timeRangeError\":[32],\"selectedRrule\":[32],\"recurrenceOptions\":[32],\"repeatEveryInterval\":[32],\"repeatEveryFrequency\":[32],\"repeatOnDays\":[32],\"repeatMonthlySameDate\":[32],\"repeatEndType\":[32],\"repeatEndAfter\":[32],\"repeatEndOn\":[32],\"monthRecurrenceOptions\":[32],\"endDate\":[32],\"hasDateTimeInputError\":[32]},[[0,\"timeChange\",\"setTime\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-capacity\",{\"name\":[1],\"capacity\":[2],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventCapacity\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"checkbox-group\",{\"name\":[1],\"label\":[1],\"options\":[16],\"required\":[4],\"direction\":[1],\"error\":[32],\"selectedValues\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"nylasFormCheckboxToggled\",\"handleCheckboxToggled\"]],{\"options\":[\"optionsChangedHandler\"]}]]],[\"nylas-notification_2.cjs\",[[1,\"nylas-notification\",{\"ttl\":[8],\"allowedCategories\":[16],\"notifications\":[32]},[[16,\"nylasSchedulerError\",\"onError\"],[16,\"nylasSchedulerWarning\",\"onWarning\"],[16,\"nylasSchedulerInfo\",\"onInfo\"],[16,\"nylasSchedulerSuccess\",\"onSuccess\"],[16,\"dismissNotification\",\"onDismissNotification\"]]],[2,\"warning-icon\",{\"width\":[1],\"height\":[1]}]]],[\"input-dropdown_2.cjs\",[[2,\"time-period-selector\",{\"timePeriods\":[16],\"defaultSelectedPeriod\":[1,\"default-selected-period\"],\"defaultSelectedNumber\":[2,\"default-selected-number\"],\"hasError\":[4,\"has-error\"],\"selectedPeriod\":[32],\"selectedNumber\":[32],\"numberOptions\":[32],\"timePeriodOptions\":[32]},[[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"defaultSelectedPeriod\":[\"defaultSelectedPeriodChanged\"],\"defaultSelectedNumber\":[\"defaultSelectedNumberChanged\"],\"timePeriods\":[\"timePeriodsChanged\"]}],[1,\"input-dropdown\",{\"name\":[1],\"options\":[16],\"defaultInputOption\":[16],\"inputValue\":[1,\"input-value\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"filterable\":[4],\"selectedOption\":[32],\"isOpen\":[32],\"typedValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultInputOption\":[\"defaultSelectedOptionChangedHandler\"],\"inputValue\":[\"inputValueChangedHandler\"]}]]],[\"clock-icon_4.cjs\",[[2,\"person-clipboard-icon\",{\"width\":[1],\"height\":[1]}],[2,\"plus-icon\",{\"width\":[1],\"height\":[1]}],[2,\"edit-icon\",{\"width\":[1],\"height\":[1]}],[2,\"clock-icon\",{\"width\":[1],\"height\":[1]}]]],[\"button-component_2.cjs\",[[6,\"button-component\",{\"variant\":[1],\"disabled\":[4],\"type\":[1],\"tooltip\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"mouseOverHandler\":[16],\"mouseOutHandler\":[16],\"focusHandler\":[16],\"blurHandler\":[16]}],[1,\"loading-icon\",{\"width\":[1],\"height\":[1]}]]],[\"info-icon_2.cjs\",[[1,\"tooltip-component\",{\"position\":[1]}],[2,\"info-icon\",{\"width\":[1],\"height\":[1]}]]],[\"chevron-icon_3.cjs\",[[1,\"select-dropdown\",{\"name\":[1],\"options\":[16],\"defaultSelectedOption\":[16],\"withSearch\":[4,\"with-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"dropdownButtonText\":[1,\"dropdown-button-text\"],\"withChevron\":[4,\"with-chevron\"],\"emptyValue\":[1,\"empty-value\"],\"errorMessage\":[1,\"error-message\"],\"selectedOption\":[32],\"isOpen\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"],[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultSelectedOption\":[\"defaultSelectedOptionChangedHandler\"]}],[2,\"search-icon\",{\"width\":[1],\"height\":[1]}],[2,\"chevron-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-agenda-fill-icon_36.cjs\",[[65,\"nylas-participants-custom-availability\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedParticipants\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"],[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-limit-future-bookings\",{\"selectedConfiguration\":[16],\"availableDaysInFuture\":[2,\"available-days-in-future\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-connected-calendars\",{\"name\":[1],\"selectedConfiguration\":[16],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendars\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-participant-booking-calendars\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendar\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-timeslot-interval\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"internalEventDurationMinutes\":[32],\"selectedInterval\":[32],\"selectedRoundTo\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormRadioChanged\",\"nylasFormRadioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-buffer-time\",{\"selectedConfiguration\":[16],\"name\":[1],\"buffer\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedBeforeBufferTime\":[32],\"selectedAfterBufferTime\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-duration\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"duration\":[32],\"durationMinutes\":[32],\"durationIncrement\":[32],\"error\":[32],\"durationMinutesOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"calendar-info-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-patterns-icon\",{\"width\":[1],\"height\":[1]}],[2,\"people-icon\",{\"width\":[1],\"height\":[1]}],[65,\"nylas-reminder-emails\",{\"selectedConfiguration\":[16],\"eventReminders\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"reminders\":[32],\"reminderErrors\":[32],\"participants\":[32],\"clearError\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"],[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-confirmation-email\",{\"selectedConfiguration\":[16],\"confirmationEmailTemplate\":[16],\"participants\":[16],\"name\":[1],\"nylasBranding\":[4,\"nylas-branding\"],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmationEmail\":[32],\"isConfirmationEmailOpen\":[32],\"participantsState\":[32],\"invalidImageErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"nylasFormInputImageUrlInvalid\",\"nylasFormInputImageUrlInvalidHandler\"],[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"nylasBranding\":[\"nylasBrandingChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-booking-form-config\",{\"selectedConfiguration\":[16],\"name\":[1],\"additionalFields\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"staticFields\":[32],\"formFields\":[32],\"formFieldsOrder\":[32],\"count\":[32],\"watchFields\":[32],\"fieldTypes\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16],\"openHours\":[16],\"defaultTimezone\":[1,\"default-timezone\"],\"hideHeader\":[4,\"hide-header\"],\"selectedLanguage\":[1,\"selected-language\"],\"schedule\":[32],\"timezone\":[32],\"overlapDays\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"timeChange\",\"setTime\"],[0,\"timeWindowFormError\",\"setFormError\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-disable-emails\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"organizerLocale\":[32],\"disableEmails\":[32]},[[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-min-booking-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minBookingNotice\":[2,\"min-booking-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-min-cancellation-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minCancellationNotice\":[2,\"min-cancellation-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-booking-confirmation-redirect\",{\"selectedConfiguration\":[16],\"name\":[1],\"redirectUrl\":[1,\"redirect-url\"],\"redirectUrlErrorMessage\":[1,\"redirect-url-error-message\"],\"selectedLanguage\":[1,\"selected-language\"],\"currentRedirectUrl\":[32],\"acceptUrl\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[4,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-custom-event-slug\",{\"selectedConfiguration\":[16],\"defaultUrlSlug\":[1,\"default-url-slug\"],\"isOpen\":[4,\"is-open\"],\"slugErrorMessage\":[1,\"slug-error-message\"],\"name\":[1],\"requiresSlug\":[4,\"requires-slug\"],\"selectedLanguage\":[1,\"selected-language\"],\"urlSlug\":[32],\"focus\":[32],\"copied\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"nylasFormInputFocused\",\"nylasFormInputFocusHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[8,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-scheduling-method\",{\"selectedConfiguration\":[16],\"name\":[1],\"participantOptions\":[16],\"readOnly\":[4,\"read-only\"],\"selectedLanguage\":[1,\"selected-language\"],\"showSubTitle\":[4,\"show-sub-title\"],\"selectedBookingType\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-booking-calendar-picker\",{\"calendars\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"name\":[1],\"defaultBookingCalendar\":[1,\"default-booking-calendar\"],\"hideHeader\":[4,\"hide-header\"],\"expressFlow\":[4,\"express-flow\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendar\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUserCalendars\":[\"currentUserCalendarsChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-booking-confirmation-type\",{\"selectedConfiguration\":[16],\"name\":[1],\"bookingType\":[1,\"booking-type\"],\"showComponent\":[4,\"show-component\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedBookingType\":[32],\"showDropdown\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-calendar-picker\",{\"name\":[1],\"currentUser\":[16],\"calendars\":[16],\"defaultSelectedCalendars\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendars\":[32],\"error\":[32]},[[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-page-name\",{\"selectedConfiguration\":[16],\"name\":[1],\"pageName\":[1,\"page-name\"],\"showToggle\":[4,\"show-toggle\"],\"isOpen\":[4,\"is-open\"],\"required\":[4],\"selectedLanguage\":[1,\"selected-language\"],\"requirePageName\":[4,\"require-page-name\"],\"currentPageName\":[32],\"pageNameErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-customize-booking-settings\",{\"selectedConfiguration\":[16],\"defaultHideAdditionalGuests\":[4,\"default-hide-additional-guests\"],\"defaultHideCancellationOptions\":[4,\"default-hide-cancellation-options\"],\"defaultHideReschedulingOptions\":[4,\"default-hide-rescheduling-options\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"showSettings\":[16],\"allowGuestsToInvite\":[32],\"hideCancellationOptions\":[32],\"hideReschedulingOptions\":[32]},[[0,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-cancellation-policy\",{\"selectedConfiguration\":[16],\"cancellationPolicy\":[1,\"cancellation-policy\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"message\":[32]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-page-styling\",{\"selectedConfiguration\":[16],\"name\":[1],\"appearance\":[16],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"currentAppearance\":[32],\"customInputsSlot\":[32]},[[4,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[4,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"],[4,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[4,\"nylasFormRadioChanged\",\"radioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-custom-booking-flow\",{\"selectedLanguage\":[1,\"selected-language\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-limits\",{\"selectedLanguage\":[1,\"selected-language\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"calendar-agenda-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-agenda-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-icon\",{\"width\":[1],\"height\":[1]}],[2,\"flow-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-logo-icon_6.cjs\",[[6,\"nylas-editor-tabs\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[6,\"nylas-editor-tabs-group\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"selectedGroupEvent\":[16],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"componentLoaded\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"importGroupEvent\",\"importGroupEventHandler\"],[0,\"saveGroupEventChanges\",\"saveGroupEventChangesHandler\"],[0,\"deleteGroupEvent\",\"deleteGroupEventHandler\"],[0,\"createGroupEvent\",\"createGroupEventHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedGroupEvent\":[\"selectedGroupEventChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-list-configurations\",{\"configurations\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"listConfigurationsNextCursor\":[1,\"list-configurations-next-cursor\"],\"state\":[32],\"error\":[32],\"currentCursor\":[32],\"previousCursors\":[32],\"disableNextPageButton\":[32],\"deleteConfigurationId\":[32],\"showDeleteButtonLoading\":[32],\"editButtonLoadingId\":[32],\"registerCallback\":[64],\"getState\":[64],\"setState\":[64],\"setError\":[64],\"hideDeleteConfirmation\":[64],\"hideEditButtonLoading\":[64]},[[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"]],{\"listConfigurationsNextCursor\":[\"listConfigurationsNextCursorChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-select-event-type\",{\"participantOptions\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"enableEventTypes\":[16]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"google-logo-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-logo-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-booked-event-card_11.cjs\",[[1,\"nylas-booking-form\",{\"isLoading\":[4,\"is-loading\"],\"bookingInfo\":[16],\"eventInfo\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"name\":[32],\"email\":[32],\"guestEmails\":[32],\"guestEmailErrors\":[32],\"isNameValid\":[32],\"isEmailValid\":[32],\"additionalFields\":[32],\"validationError\":[32],\"backButtonLoading\":[32],\"firstRender\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"selectOptionChangedHandler\"],[0,\"selectedOptionsChanged\",\"selecedOptionsChangedHandler\"],[0,\"nylasFormSwitchToggled\",\"switchToggledHandler\"],[0,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[0,\"nylasFormRadioChanged\",\"radioChangedHandler\"],[0,\"nylasFormDropdownDefaultSelected\",\"dropdownDefaultSelectedHandler\"]],{\"bookingInfo\":[\"bookingInfoChangedHandler\"],\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-cancel-booking-form\",{\"cancelBookingId\":[1,\"cancel-booking-id\"],\"rejectBookingId\":[1,\"reject-booking-id\"],\"selectedTimeslot\":[16],\"configSettings\":[16],\"eventInfo\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"cancellationReason\":[32],\"cancellationError\":[32],\"cancellationPolicy\":[32]},[[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-booked-event-card\",{\"eventInfo\":[16],\"rescheduleBookingId\":[1,\"reschedule-booking-id\"],\"bookingInfo\":[16],\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-locale-switch\",{\"themeConfig\":[8,\"theme-config\"],\"bookingInfo\":[16],\"selectedTimezone\":[1025,\"selected-timezone\"],\"selectedLanguage\":[1025,\"selected-language\"],\"searchPlaceholder\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"themeConfig\":[\"themeConfigChanged\"],\"bookingInfo\":[\"bookingInfoChangedHandler\"]}],[1,\"nylas-cancelled-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"cancelledEventInfo\":[16],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-confirmed-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"confirmedEventInfo\":[16],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-date-picker\",{\"selectableDates\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"isLoading\":[4,\"is-loading\"],\"eventDuration\":[2,\"event-duration\"],\"month\":[32],\"dates\":[32],\"disableNextMonthButton\":[32],\"selectableDatesTimezone\":[32]},null,{\"configSettings\":[\"configSettingsChanged\"],\"selectedLanguage\":[\"selectedLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"selectedTimezone\":[\"selectedTimezoneChanged\"],\"selectableDates\":[\"selectableDatesChanged\"]}],[1,\"nylas-organizer-confirmation-card\",{\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"organizerConfirmationBookingId\":[1,\"organizer-confirmation-booking-id\"],\"selectedLanguage\":[1,\"selected-language\"],\"action\":[32],\"resetAction\":[64]},null,{\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-selected-event-card\",{\"themeConfig\":[8,\"theme-config\"],\"selectedDate\":[16],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-timeslot-picker\",{\"availability\":[16],\"isLoading\":[4,\"loading-state\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"times\":[32],\"hoveredTimeslotIndex\":[32],\"selectedTimeslotIndex\":[32],\"emitValidateTimeslotError\":[64]},null,{\"selectedLanguage\":[\"selectedLanguageChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"availability\":[\"availabilityChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}],[2,\"nylas-logo\",{\"width\":[1],\"height\":[1]}]]]]"), options);
11
+ return index.bootstrapLazy(JSON.parse("[[\"nylas-scheduler-editor.cjs\",[[1,\"nylas-scheduler-editor\",{\"configurationId\":[1025,\"configuration-id\"],\"nylasApiRequest\":[1040],\"nylasSessionsConfig\":[16],\"defaultAuthArgs\":[16],\"eventOverrides\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"defaultSchedulerConfigState\":[16],\"mode\":[1],\"additionalParticipants\":[16],\"hideEditorTabs\":[16],\"conferenceProviders\":[16],\"requiresSlug\":[4,\"requires-slug\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"defaultLanguage\":[1,\"default-language\"],\"localization\":[16],\"nylasBranding\":[4,\"nylas-branding\"],\"experimentalFeatures\":[16],\"enableEventTypes\":[16],\"automaticComponentRegistration\":[32],\"selectedLanguage\":[32],\"langVersion\":[32],\"version\":[32],\"store\":[64],\"schedulerConnector\":[64]},[[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"configurationId\":[\"configurationIdChanged\"],\"localization\":[\"updateLocalization\"],\"nylasBranding\":[\"updateNylasBranding\"],\"experimentalFeatures\":[\"updateExperimentalFeatures\"],\"enableEventTypes\":[\"updateEnableEventTypes\"]}]]],[\"nylas-scheduling.cjs\",[[1,\"nylas-scheduling\",{\"mode\":[1],\"defaultSchedulerState\":[16],\"sessionId\":[1,\"session-id\"],\"schedulerApiUrl\":[1,\"scheduler-api-url\"],\"bookingInfo\":[16],\"rescheduleBookingRef\":[1,\"reschedule-booking-ref\"],\"cancelBookingRef\":[1,\"cancel-booking-ref\"],\"organizerConfirmationBookingRef\":[1,\"organizer-confirmation-booking-ref\"],\"configurationId\":[1,\"configuration-id\"],\"slug\":[1],\"clientId\":[1,\"client-id\"],\"nylasBranding\":[4,\"nylas-branding\"],\"eventOverrides\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16],\"localization\":[16],\"defaultLanguage\":[1,\"default-language\"],\"showNotification\":[4,\"show-notification\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"hour12\":[4,\"hour-1-2\"],\"automaticComponentRegistration\":[32],\"selectedDateLabel\":[32],\"refConfigId\":[32],\"language\":[32],\"showFeedbackModal\":[32],\"bookingInfoConfirmed\":[32],\"version\":[32],\"getNylasSchedulerStore\":[64],\"getNylasSchedulerConnector\":[64],\"getRef\":[64]},[[0,\"languageChanged\",\"languageChanged\"],[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"monthChanged\",\"monthChangedHandler\"],[0,\"detailsConfirmed\",\"bookButtonClickedHandler\"],[0,\"dateSelected\",\"dateSelectedHandler\"],[0,\"cancelBookedEventError\",\"cancelBookedEventErrorHandler\"],[0,\"cancelBookedEventValidationError\",\"cancelBookedEventValidationErrorHandler\"],[0,\"rescheduleBookedEventError\",\"rescheduleBookedEventErrorHandler\"],[0,\"confirmBookingError\",\"confirmBookingErrorHandler\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"validateTimeslotError\",\"eventIsFullHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"bookingInfo\":[\"bookingInfoChanged\"],\"rescheduleBookingRef\":[\"rescheduleBookingRefChanged\"],\"cancelBookingRef\":[\"cancelBookingRefChanged\"],\"organizerConfirmationBookingRef\":[\"organizerConfirmationBookingRefChanged\"],\"localization\":[\"localizationChanged\"],\"defaultLanguage\":[\"defaultLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"archive-icon.cjs\",[[2,\"archive-icon\",{\"width\":[1],\"height\":[1]}]]],[\"arrow-icon.cjs\",[[2,\"arrow-icon\",{\"width\":[1],\"height\":[1]}]]],[\"bold-icon.cjs\",[[2,\"bold-icon\",{\"width\":[1],\"height\":[1]}]]],[\"document-refresh-icon.cjs\",[[2,\"document-refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"folder-icon.cjs\",[[2,\"folder-icon\",{\"width\":[1],\"height\":[1]}]]],[\"forward-icon.cjs\",[[2,\"forward-icon\",{\"width\":[1],\"height\":[1]}]]],[\"inbox-icon.cjs\",[[2,\"inbox-icon\",{\"width\":[1],\"height\":[1]}]]],[\"italic-icon.cjs\",[[2,\"italic-icon\",{\"width\":[1],\"height\":[1]}]]],[\"play-icon.cjs\",[[2,\"play-icon\",{\"width\":[1],\"height\":[1]}]]],[\"refresh-icon.cjs\",[[2,\"refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-all-icon.cjs\",[[2,\"reply-all-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-icon.cjs\",[[2,\"reply-icon\",{\"width\":[1],\"height\":[1]}]]],[\"sent-icon.cjs\",[[2,\"sent-icon\",{\"width\":[1],\"height\":[1]}]]],[\"spam-icon.cjs\",[[2,\"spam-icon\",{\"width\":[1],\"height\":[1]}]]],[\"star-icon.cjs\",[[2,\"star-icon\",{\"width\":[1],\"height\":[1]}]]],[\"stop-icon.cjs\",[[2,\"stop-icon\",{\"width\":[1],\"height\":[1]}]]],[\"trash-fill-icon.cjs\",[[2,\"trash-fill-icon\",{\"width\":[1],\"height\":[1]}]]],[\"underline-icon.cjs\",[[2,\"underline-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-circle-icon.cjs\",[[2,\"checkmark-circle-icon\",{\"width\":[1],\"height\":[1]}]]],[\"delete-icon.cjs\",[[2,\"delete-icon\",{\"width\":[1],\"height\":[1]}]]],[\"person-icon.cjs\",[[2,\"person-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-cancel-icon.cjs\",[[2,\"calendar-cancel-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-check-icon.cjs\",[[2,\"calendar-check-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-icon.cjs\",[[2,\"calendar-icon\",{\"width\":[1],\"height\":[1]}]]],[\"radio-button-group.cjs\",[[1,\"radio-button-group\",{\"name\":[1],\"options\":[16],\"defaultSelectedValue\":[1,\"default-selected-value\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"selectedValue\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"defaultSelectedValue\":[\"handleDefaultSelectedValueChange\"]}]]],[\"toggle-switch.cjs\",[[1,\"toggle-switch\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"isChecked\":[32]},null,{\"checked\":[\"checkedChanged\"]}]]],[\"translate-icon.cjs\",[[2,\"translate-icon\",{\"width\":[1],\"height\":[1]}]]],[\"textarea-component.cjs\",[[1,\"textarea-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"maxLength\":[2,\"max-length\"],\"type\":[1],\"tooltip\":[1],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"triggerValidation\",\"handletriggerValidation\"]]]]],[\"nylas-form-card.cjs\",[[65,\"nylas-form-card\"]]],[\"multi-select-dropdown.cjs\",[[1,\"multi-select-dropdown\",{\"name\":[1],\"label\":[1],\"options\":[16],\"error\":[1025],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"multipleOptionsSelectedLabel\":[1,\"multiple-options-selected-label\"],\"selectAtLeastOneOptionLabel\":[1,\"select-at-least-one-option-label\"],\"availableOptions\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"shouldFocusFirstOption\":[32]},[[6,\"click\",\"handleOutsideClick\"],[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"options\":[\"optionsChangedHandler\"]}]]],[\"checkbox-component_2.cjs\",[[1,\"checkbox-component\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"isChecked\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"checked\":[\"checkedPropChangedHandler\"]}],[1,\"nylas-date-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"minDate\":[1,\"min-date\"],\"hasError\":[4,\"has-error\"],\"value\":[32],\"error\":[32],\"isDateValid\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"input-component.cjs\",[[1,\"input-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"type\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"maxValue\":[2,\"max-value\"],\"minValue\":[2,\"min-value\"],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"globe-icon_2.cjs\",[[1,\"nylas-time-window-picker\",{\"time\":[1],\"minimumStartTime\":[1,\"minimum-start-time\"],\"placeholder\":[1],\"name\":[1],\"hasError\":[516,\"has-error\"],\"language\":[1],\"err\":[32],\"showTimes\":[32],\"ariaActivedescendant\":[32],\"times\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"minimumStartTime\":[\"minimumStartTimeChangedHandler\"]}],[2,\"globe-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-meet-icon_5.cjs\",[[2,\"google-meet-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-off-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-teams-icon\",{\"width\":[1],\"height\":[1]}],[2,\"zoom-icon\",{\"width\":[1],\"height\":[1]}]]],[\"add-circle-icon_2.cjs\",[[2,\"add-circle-icon\",{\"width\":[1],\"height\":[1]}],[2,\"close-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-icon_15.cjs\",[[65,\"nylas-event-location\",{\"name\":[1],\"currentUser\":[16],\"userProvider\":[1,\"user-provider\"],\"eventConferencing\":[16],\"conferenceProviders\":[16],\"selectedConfiguration\":[16],\"eventLocation\":[1,\"event-location\"],\"selectedLanguage\":[1,\"selected-language\"],\"location\":[32],\"grantId\":[32],\"selectedLocationOption\":[32],\"userProviderState\":[32],\"locationOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"currentUser\":[\"currentUserChangedHandler\"],\"conferenceProviders\":[\"conferenceProvidersChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-additional-participants\",{\"name\":[1],\"selectedConfiguration\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"participantOptions\":[16],\"eventParticipants\":[16],\"roundRobinConfig\":[4,\"round-robin-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"participants\":[32],\"participantErrors\":[32],\"includeOrganizerAsParticipant\":[32],\"isRoundRobinConfig\":[32],\"error\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"inputOptionChanged\",\"onInputOptionChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUser\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-feedback-form\",{\"themeConfig\":[8,\"theme-config\"],\"feedbackMessage\":[32]},[[4,\"nylasFormInputChanged\",\"handleFormInputChanged\"]]],[65,\"nylas-reminder-time\",{\"name\":[1],\"eventReminderTimeMinutes\":[2,\"event-reminder-time-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32],\"errorState\":[32]},[[4,\"nylasSuggestReminderMinutes\",\"nylasSuggestReminderMinutesHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"eventReminderTimeMinutes\":[\"eventReminderTimeMinutesChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-description\",{\"selectedConfiguration\":[16],\"eventDescription\":[1,\"event-description\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"hideAutoPopulateButton\":[4,\"hide-auto-populate-button\"],\"noTemplates\":[4,\"no-templates\"],\"description\":[32],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"additionalFieldTokens\":[32]},[[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-title\",{\"selectedConfiguration\":[16],\"eventTitle\":[1,\"event-title\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"noTemplates\":[4,\"no-templates\"],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"configEventTitle\":[32],\"additionalFieldTokens\":[32]},[[8,\"formSubmitted\",\"formSubmittedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"ariaActivedescendant\":[\"ariaActivedescendantChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"input-color-picker\",{\"name\":[1],\"defaultSelectedColor\":[1,\"default-selected-color\"],\"selectedColor\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"errorMessage\":[32]},[[6,\"click\",\"handleOutsideClick\"]]],[65,\"input-image-url\",{\"imageUrl\":[1,\"image-url\"],\"errorMessage\":[1,\"error-message\"],\"name\":[1],\"currentImageUrl\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"errorMessage\":[\"errorMessageChangedHandler\"]}],[65,\"nylas-event-info\",{\"selectedLanguage\":[1,\"selected-language\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"checkmark-icon\",{\"width\":[1],\"height\":[1]}],[2,\"dragable-icon\",{\"width\":[1],\"height\":[1]}],[2,\"eye-icon\",{\"width\":[1],\"height\":[1]}],[2,\"feedback-icon\",{\"width\":[1],\"height\":[1]}],[2,\"trash-icon\",{\"width\":[1],\"height\":[1]}],[2,\"copy-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkbox-group_4.cjs\",[[65,\"nylas-event-calendar\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"groupEvents\":[16],\"currentUser\":[16],\"calendars\":[16],\"masterGroupEvents\":[16],\"isLoading\":[4,\"is-loading\"],\"selectedView\":[32],\"events\":[32],\"calendar\":[32],\"selectedEvent\":[32],\"selectedDateRangeString\":[32],\"showEditEventDetails\":[32],\"showCreateEventDetails\":[32],\"editOptionChoices\":[32],\"updateOptionChoices\":[32],\"deleteOptionChoices\":[32],\"editOptions\":[32],\"showEditOptions\":[32],\"updateOptions\":[32],\"showUpdateOptions\":[32],\"deleteOptions\":[32],\"showDeleteOptions\":[32],\"unsavedChanges\":[32],\"showConfirmDiscardUnsavedChangesModal\":[32],\"createNewGroupEventTimeslot\":[32],\"formError\":[32],\"formErrors\":[32],\"loadingOptions\":[32],\"showChooseParticipantsModal\":[32],\"importParticipants\":[32],\"selectedImportParticipants\":[32],\"showAllEvents\":[32]},[[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"timeWindowFormError\",\"timeWindowFormErrorHandler\"],[0,\"dateTimeInputError\",\"dateTimeInputErrorHandler\"],[4,\"saveGroupEventChangesError\",\"saveGroupEventChangesErrorHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasCheckboxGroupChanged\",\"nylasCheckboxGroupChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"groupEvents\":[\"groupEventsChangedHandler\"],\"isLoading\":[\"isLoadingChangedHandler\"]}],[65,\"nylas-event-timeslot\",{\"name\":[1],\"initialValue\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"currentUser\":[16],\"selectedDate\":[32],\"selectedStartTime\":[32],\"selectedEndTime\":[32],\"selectedTimezone\":[32],\"selectedRecurrenceType\":[32],\"timeRangeError\":[32],\"selectedRrule\":[32],\"recurrenceOptions\":[32],\"repeatEveryInterval\":[32],\"repeatEveryFrequency\":[32],\"repeatOnDays\":[32],\"repeatMonthlySameDate\":[32],\"repeatEndType\":[32],\"repeatEndAfter\":[32],\"repeatEndOn\":[32],\"monthRecurrenceOptions\":[32],\"endDate\":[32],\"hasDateTimeInputError\":[32]},[[0,\"timeChange\",\"setTime\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-capacity\",{\"name\":[1],\"capacity\":[2],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventCapacity\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"checkbox-group\",{\"name\":[1],\"label\":[1],\"options\":[16],\"required\":[4],\"direction\":[1],\"error\":[32],\"selectedValues\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"nylasFormCheckboxToggled\",\"handleCheckboxToggled\"]],{\"options\":[\"optionsChangedHandler\"]}]]],[\"nylas-notification_2.cjs\",[[1,\"nylas-notification\",{\"ttl\":[8],\"allowedCategories\":[16],\"notifications\":[32]},[[16,\"nylasSchedulerError\",\"onError\"],[16,\"nylasSchedulerWarning\",\"onWarning\"],[16,\"nylasSchedulerInfo\",\"onInfo\"],[16,\"nylasSchedulerSuccess\",\"onSuccess\"],[16,\"dismissNotification\",\"onDismissNotification\"]]],[2,\"warning-icon\",{\"width\":[1],\"height\":[1]}]]],[\"input-dropdown_2.cjs\",[[2,\"time-period-selector\",{\"timePeriods\":[16],\"defaultSelectedPeriod\":[1,\"default-selected-period\"],\"defaultSelectedNumber\":[2,\"default-selected-number\"],\"hasError\":[4,\"has-error\"],\"selectedPeriod\":[32],\"selectedNumber\":[32],\"numberOptions\":[32],\"timePeriodOptions\":[32]},[[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"defaultSelectedPeriod\":[\"defaultSelectedPeriodChanged\"],\"defaultSelectedNumber\":[\"defaultSelectedNumberChanged\"],\"timePeriods\":[\"timePeriodsChanged\"]}],[1,\"input-dropdown\",{\"name\":[1],\"options\":[16],\"defaultInputOption\":[16],\"inputValue\":[1,\"input-value\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"filterable\":[4],\"selectedOption\":[32],\"isOpen\":[32],\"typedValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultInputOption\":[\"defaultSelectedOptionChangedHandler\"],\"inputValue\":[\"inputValueChangedHandler\"]}]]],[\"clock-icon_4.cjs\",[[2,\"person-clipboard-icon\",{\"width\":[1],\"height\":[1]}],[2,\"plus-icon\",{\"width\":[1],\"height\":[1]}],[2,\"edit-icon\",{\"width\":[1],\"height\":[1]}],[2,\"clock-icon\",{\"width\":[1],\"height\":[1]}]]],[\"button-component_2.cjs\",[[6,\"button-component\",{\"variant\":[1],\"disabled\":[4],\"type\":[1],\"tooltip\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"mouseOverHandler\":[16],\"mouseOutHandler\":[16],\"focusHandler\":[16],\"blurHandler\":[16]}],[1,\"loading-icon\",{\"width\":[1],\"height\":[1]}]]],[\"info-icon_2.cjs\",[[1,\"tooltip-component\",{\"position\":[1]}],[2,\"info-icon\",{\"width\":[1],\"height\":[1]}]]],[\"chevron-icon_3.cjs\",[[1,\"select-dropdown\",{\"name\":[1],\"options\":[16],\"defaultSelectedOption\":[16],\"withSearch\":[4,\"with-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"dropdownButtonText\":[1,\"dropdown-button-text\"],\"withChevron\":[4,\"with-chevron\"],\"emptyValue\":[1,\"empty-value\"],\"errorMessage\":[1,\"error-message\"],\"selectedOption\":[32],\"isOpen\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"],[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultSelectedOption\":[\"defaultSelectedOptionChangedHandler\"]}],[2,\"search-icon\",{\"width\":[1],\"height\":[1]}],[2,\"chevron-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-agenda-fill-icon_36.cjs\",[[65,\"nylas-participants-custom-availability\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedParticipants\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"],[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-limit-future-bookings\",{\"selectedConfiguration\":[16],\"availableDaysInFuture\":[2,\"available-days-in-future\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-connected-calendars\",{\"name\":[1],\"selectedConfiguration\":[16],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendars\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-participant-booking-calendars\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendar\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-timeslot-interval\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"internalEventDurationMinutes\":[32],\"selectedInterval\":[32],\"selectedRoundTo\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormRadioChanged\",\"nylasFormRadioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-buffer-time\",{\"selectedConfiguration\":[16],\"name\":[1],\"buffer\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedBeforeBufferTime\":[32],\"selectedAfterBufferTime\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-duration\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"duration\":[32],\"durationMinutes\":[32],\"durationIncrement\":[32],\"error\":[32],\"durationMinutesOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"calendar-info-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-patterns-icon\",{\"width\":[1],\"height\":[1]}],[2,\"people-icon\",{\"width\":[1],\"height\":[1]}],[65,\"nylas-reminder-emails\",{\"selectedConfiguration\":[16],\"eventReminders\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"reminders\":[32],\"reminderErrors\":[32],\"participants\":[32],\"clearError\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"],[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-confirmation-email\",{\"selectedConfiguration\":[16],\"confirmationEmailTemplate\":[16],\"participants\":[16],\"name\":[1],\"nylasBranding\":[4,\"nylas-branding\"],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmationEmail\":[32],\"isConfirmationEmailOpen\":[32],\"participantsState\":[32],\"invalidImageErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"nylasFormInputImageUrlInvalid\",\"nylasFormInputImageUrlInvalidHandler\"],[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"nylasBranding\":[\"nylasBrandingChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-booking-form-config\",{\"selectedConfiguration\":[16],\"name\":[1],\"additionalFields\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"staticFields\":[32],\"formFields\":[32],\"formFieldsOrder\":[32],\"count\":[32],\"watchFields\":[32],\"fieldTypes\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16],\"openHours\":[16],\"defaultTimezone\":[1,\"default-timezone\"],\"hideHeader\":[4,\"hide-header\"],\"selectedLanguage\":[1,\"selected-language\"],\"schedule\":[32],\"timezone\":[32],\"overlapDays\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"timeChange\",\"setTime\"],[0,\"timeWindowFormError\",\"setFormError\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-disable-emails\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"organizerLocale\":[32],\"disableEmails\":[32]},[[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-min-booking-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minBookingNotice\":[2,\"min-booking-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-min-cancellation-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minCancellationNotice\":[2,\"min-cancellation-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-booking-confirmation-redirect\",{\"selectedConfiguration\":[16],\"name\":[1],\"redirectUrl\":[1,\"redirect-url\"],\"redirectUrlErrorMessage\":[1,\"redirect-url-error-message\"],\"selectedLanguage\":[1,\"selected-language\"],\"currentRedirectUrl\":[32],\"acceptUrl\":[32],\"componentLoaded\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[4,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-custom-event-slug\",{\"selectedConfiguration\":[16],\"defaultUrlSlug\":[1,\"default-url-slug\"],\"isOpen\":[4,\"is-open\"],\"slugErrorMessage\":[1,\"slug-error-message\"],\"name\":[1],\"requiresSlug\":[4,\"requires-slug\"],\"selectedLanguage\":[1,\"selected-language\"],\"urlSlug\":[32],\"focus\":[32],\"copied\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"nylasFormInputFocused\",\"nylasFormInputFocusHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[8,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-scheduling-method\",{\"selectedConfiguration\":[16],\"name\":[1],\"participantOptions\":[16],\"readOnly\":[4,\"read-only\"],\"selectedLanguage\":[1,\"selected-language\"],\"showSubTitle\":[4,\"show-sub-title\"],\"selectedBookingType\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-booking-calendar-picker\",{\"calendars\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"name\":[1],\"defaultBookingCalendar\":[1,\"default-booking-calendar\"],\"hideHeader\":[4,\"hide-header\"],\"expressFlow\":[4,\"express-flow\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendar\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUserCalendars\":[\"currentUserCalendarsChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-booking-confirmation-type\",{\"selectedConfiguration\":[16],\"name\":[1],\"bookingType\":[1,\"booking-type\"],\"showComponent\":[4,\"show-component\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedBookingType\":[32],\"showDropdown\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-calendar-picker\",{\"name\":[1],\"currentUser\":[16],\"calendars\":[16],\"defaultSelectedCalendars\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"selectedCalendars\":[32],\"error\":[32]},[[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-page-name\",{\"selectedConfiguration\":[16],\"name\":[1],\"pageName\":[1,\"page-name\"],\"showToggle\":[4,\"show-toggle\"],\"isOpen\":[4,\"is-open\"],\"required\":[4],\"selectedLanguage\":[1,\"selected-language\"],\"requirePageName\":[4,\"require-page-name\"],\"currentPageName\":[32],\"pageNameErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-customize-booking-settings\",{\"selectedConfiguration\":[16],\"defaultHideAdditionalGuests\":[4,\"default-hide-additional-guests\"],\"defaultHideCancellationOptions\":[4,\"default-hide-cancellation-options\"],\"defaultHideReschedulingOptions\":[4,\"default-hide-rescheduling-options\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"showSettings\":[16],\"allowGuestsToInvite\":[32],\"hideCancellationOptions\":[32],\"hideReschedulingOptions\":[32]},[[0,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-cancellation-policy\",{\"selectedConfiguration\":[16],\"cancellationPolicy\":[1,\"cancellation-policy\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"message\":[32]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-page-styling\",{\"selectedConfiguration\":[16],\"name\":[1],\"appearance\":[16],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"currentAppearance\":[32],\"customInputsSlot\":[32]},[[4,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[4,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"],[4,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[4,\"nylasFormRadioChanged\",\"radioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-custom-booking-flow\",{\"selectedLanguage\":[1,\"selected-language\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[65,\"nylas-event-limits\",{\"selectedLanguage\":[1,\"selected-language\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"calendar-agenda-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-agenda-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-icon\",{\"width\":[1],\"height\":[1]}],[2,\"flow-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-logo-icon_6.cjs\",[[6,\"nylas-editor-tabs\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[6,\"nylas-editor-tabs-group\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"selectedGroupEvent\":[16],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"componentLoaded\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"importGroupEvent\",\"importGroupEventHandler\"],[0,\"saveGroupEventChanges\",\"saveGroupEventChangesHandler\"],[0,\"deleteGroupEvent\",\"deleteGroupEventHandler\"],[0,\"createGroupEvent\",\"createGroupEventHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedGroupEvent\":[\"selectedGroupEventChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-list-configurations\",{\"configurations\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"listConfigurationsNextCursor\":[1,\"list-configurations-next-cursor\"],\"state\":[32],\"error\":[32],\"currentCursor\":[32],\"previousCursors\":[32],\"disableNextPageButton\":[32],\"deleteConfigurationId\":[32],\"showDeleteButtonLoading\":[32],\"editButtonLoadingId\":[32],\"registerCallback\":[64],\"getState\":[64],\"setState\":[64],\"setError\":[64],\"hideDeleteConfirmation\":[64],\"hideEditButtonLoading\":[64]},[[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"]],{\"listConfigurationsNextCursor\":[\"listConfigurationsNextCursorChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-select-event-type\",{\"participantOptions\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"enableEventTypes\":[16]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[2,\"google-logo-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-logo-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-booked-event-card_11.cjs\",[[1,\"nylas-booking-form\",{\"isLoading\":[4,\"is-loading\"],\"bookingInfo\":[16],\"eventInfo\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"name\":[32],\"email\":[32],\"guestEmails\":[32],\"guestEmailErrors\":[32],\"isNameValid\":[32],\"isEmailValid\":[32],\"additionalFields\":[32],\"namePatternError\":[32],\"nameRequiredError\":[32],\"emailPatternError\":[32],\"emailRequiredError\":[32],\"validationError\":[32],\"backButtonLoading\":[32],\"firstRender\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"selectOptionChangedHandler\"],[0,\"selectedOptionsChanged\",\"selecedOptionsChangedHandler\"],[0,\"nylasFormSwitchToggled\",\"switchToggledHandler\"],[0,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[0,\"nylasFormRadioChanged\",\"radioChangedHandler\"],[0,\"nylasFormDropdownDefaultSelected\",\"dropdownDefaultSelectedHandler\"]],{\"bookingInfo\":[\"bookingInfoChangedHandler\"],\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-cancel-booking-form\",{\"cancelBookingId\":[1,\"cancel-booking-id\"],\"rejectBookingId\":[1,\"reject-booking-id\"],\"selectedTimeslot\":[16],\"configSettings\":[16],\"eventInfo\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancellationReason\":[32],\"cancellationError\":[32],\"cancellationPolicy\":[32]},[[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-booked-event-card\",{\"eventInfo\":[16],\"rescheduleBookingId\":[1,\"reschedule-booking-id\"],\"bookingInfo\":[16],\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-locale-switch\",{\"themeConfig\":[8,\"theme-config\"],\"bookingInfo\":[16],\"selectedTimezone\":[1025,\"selected-timezone\"],\"selectedLanguage\":[1025,\"selected-language\"],\"searchPlaceholder\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"themeConfig\":[\"themeConfigChanged\"],\"bookingInfo\":[\"bookingInfoChangedHandler\"]}],[1,\"nylas-cancelled-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancelledEventInfo\":[16],\"isClosing\":[32]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-confirmed-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmedEventInfo\":[16],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-date-picker\",{\"selectableDates\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"isLoading\":[4,\"is-loading\"],\"eventDuration\":[2,\"event-duration\"],\"month\":[32],\"dates\":[32],\"disableNextMonthButton\":[32],\"selectableDatesTimezone\":[32]},null,{\"configSettings\":[\"configSettingsChanged\"],\"selectedLanguage\":[\"selectedLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"selectedTimezone\":[\"selectedTimezoneChanged\"],\"selectableDates\":[\"selectableDatesChanged\"]}],[1,\"nylas-organizer-confirmation-card\",{\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"organizerConfirmationBookingId\":[1,\"organizer-confirmation-booking-id\"],\"selectedLanguage\":[1,\"selected-language\"],\"action\":[32],\"resetAction\":[64]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-selected-event-card\",{\"themeConfig\":[8,\"theme-config\"],\"selectedDate\":[16],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-timeslot-picker\",{\"availability\":[16],\"isLoading\":[4,\"loading-state\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"times\":[32],\"hoveredTimeslotIndex\":[32],\"selectedTimeslotIndex\":[32],\"emitValidateTimeslotError\":[64]},null,{\"selectedLanguage\":[\"selectedLanguageChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"availability\":[\"availabilityChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}],[2,\"nylas-logo\",{\"width\":[1],\"height\":[1]}]]]]"), options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e07e3a7e.js');
6
- const utils = require('./utils-dd3b6f4c.js');
6
+ const utils = require('./utils-03b13826.js');
7
7
 
8
8
  const multiSelectDropdownCss = ":host{display:block;width:inherit;--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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.dropdown{display:inline-block;width:100%;position:relative}.dropdown .dropdown-label{display:flex;align-items:center;gap:0.25rem;color:var(--nylas-base-800)}.dropdown .dropdown-label p{margin:0}.dropdown .dropdown-label span.required{color:var(--nylas-error);padding:0 0.25rem}.dropdown span.error{color:var(--nylas-error);font-size:14px}.dropbtn{width:inherit;height:48px;color:var(--nylas-base-900);padding:0.5rem;font-size:16px;cursor:pointer;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn:hover,.dropbtn:active{border:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn:disabled{cursor:not-allowed;background:var(--nylas-base-100)}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;top:72px;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content ul li label{display:flex;align-items:center;gap:0.5rem}.dropdown-content ul li label input{margin:0}.dropdown-content ul li.disabled{cursor:not-allowed;opacity:0.5}.dropdown-content ul li.disabled label{cursor:not-allowed}.dropdown-content ul li.disabled label input{cursor:not-allowed}.selected-options{display:flex;flex-wrap:wrap;gap:0.5rem;padding:0.5rem 0;margin-top:0.25rem;background:var(--nylas-base-0)}.selected-options .selected-option{display:flex;align-items:center;gap:0.5rem;padding:4px 8px;border-radius:var(--nylas-border-radius-2x);background:var(--nylas-base-100);color:var(--nylas-base-800);font-size:16px;font-weight:500;line-height:1.5rem;letter-spacing:0.5px}.selected-options .selected-option button{background:transparent;border:none;cursor:pointer;padding:0}.selected-options .selected-option button:hover{color:var(--nylas-primary)}.selected-options .selected-option button:disabled{cursor:not-allowed;background:var(--nylas-base-100)}";
9
9
  const MultiSelectDropdownStyle0 = multiSelectDropdownCss;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utils = require('./utils-dd3b6f4c.js');
3
+ const utils = require('./utils-03b13826.js');
4
4
 
5
5
  class NylasIdentityRequestWrapper {
6
6
  constructor(session) {
@@ -76,4 +76,4 @@ class NylasIdentityRequestWrapper {
76
76
 
77
77
  exports.NylasIdentityRequestWrapper = NylasIdentityRequestWrapper;
78
78
 
79
- //# sourceMappingURL=nylas-api-request-4d148ff1.js.map
79
+ //# sourceMappingURL=nylas-api-request-03d7f604.js.map
@@ -1 +1 @@
1
- {"file":"nylas-api-request-4d148ff1.js","mappings":";;;;MAuFa,2BAA2B;IAqBtC,YAAY,OAAsB;QAN1B,oBAAe,GAAe,EAAE,CAAC;QAOvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;KACxB;IAQD,gBAAgB,CAAC,OAAe;QAC9B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;KAC9B;IAWD,MAAM,OAAO,CAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAoB;QAChE,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,IAAI,EAAE,EAAE;gBAC7D,MAAM;gBACN,OAAO,EAAE,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,GAAG,SAAS;gBACnD,IAAI;gBACJ,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC;aACjG,CAAC,CAAC;YAIH,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;gBACnC,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;aAC1C;YAED,OAAOA,kBAAY,CAAC,QAAa,CAAC,CAAC;SACpC;QAAC,OAAO,KAAU,EAAE;YACnB,IAAI,YAAY,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YACjC,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC,EAAE;gBACpD,YAAY,GAAG,sDAAsD,CAAC;gBACtE,UAAU,CAAC;oBACT,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;oBACjC,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;oBAChC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAC1B,EAAE,IAAI,CAAC,CAAC;aACV;YACD,OAAOA,kBAAY,CAAC,IAAS,EAAE;gBAC7B,OAAO,EAAE,YAAY;aACtB,CAAC,CAAC;SACJ;KACF;IAOD,MAAM,WAAW;QACf,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/E,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAEvD,IAAI,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE;YACnC,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE;gBAC1D,MAAM,EAAE,KAAK;gBACb,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC;aACjG,CAAC,CAAC;YACH,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC;YAEjC,IAAI,CAAC,OAAO,IAAI,CAAC,KAAK,EAAE;gBACtB,OAAO,IAAI,CAAC;aACb;YAED,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC;YAC/B,OAAO;gBACL,EAAE,EAAE,OAAO,CAAC,GAAG;gBACf,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;aAC3B,CAAC;SACH;QAED,OAAO,IAAI,CAAC;KACb;IAOD,MAAM,iBAAiB,CAAC,QAAmB;QACzC,MAAM,QAAQ,GAAG,QAAQ,EAAE,QAAQ,IAAI,QAAQ,CAAC;QAChD,MAAM,WAAW,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;QAClF,IAAI,IAAI,GAAG,WAAW,IAAI,EAAE,CAAC;QAE7B,IAAI,QAAQ,EAAE;YACZ,IAAI,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,QAAQ,EAAE,CAAC;SACjC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAChC;IAMD,kBAAkB,CAAC,QAAoB;QACrC,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;KACjC;;;;;","names":["dataResponse"],"sources":["src/common/nylas-api-request.ts"],"sourcesContent":["import { dataResponse } from '@/utils/utils';\nimport type { NylasSessions } from '@nylas/identity';\nimport { DataResponseReturnType } from './types';\n\n/**\n * Arguments for making a request to the Nylas API.\n */\nexport type NylasRequestArgs = {\n method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';\n path: string;\n body?: any;\n headers?: Record<string, string>;\n};\n\n/**\n * A model representing a user in the Nylas Identity system.\n */\nexport type User = {\n id: string;\n email: string;\n name?: string;\n provider?: string;\n};\n\n/**\n * Arguments for authenticating a user with the Nylas Identity system.\n */\nexport type AuthArgs = {\n /**\n * The provider of the user's email address.\n */\n provider?: string;\n /**\n * A list of permission scopes for the provider.\n */\n scope?: Array<string>;\n /**\n * The login hint associated with the user.\n */\n loginHint?: string;\n /**\n * Whether to include grant scopes in the auth exchange.\n */\n includeGrantScopes?: boolean;\n prompt?: string;\n metadata?: string;\n state?: string;\n};\n\n/**\n * Interface for making requests to the Nylas API.\n *\n * This is an abstract class that is meant to be implemented by customers to provide their own\n * implementation of making requests to the Nylas API. This allows customers to use their own\n * authentication mechanism, or to use a different HTTP client library.\n */\nexport abstract class NylasApiRequest {\n /**\n * This method should make an authenticated request to the Nylas API.\n * Note: It should not throw an error if the request fails, but should return an object with the error\n * information as part of the tuple returned.\n * @param args NylasRequestArgs\n */\n abstract request<T = any>(args: NylasRequestArgs): Promise<DataResponseReturnType<T>>;\n\n /**\n * This method should return the current user's information.\n */\n\n abstract currentUser(): Promise<User | null>;\n\n /**\n * This method should set the default authentication arguments to use when authenticating the user.\n */\n abstract setDefaultAuthArgs(authArgs: AuthArgs[]): void;\n\n /**\n * This method should return the URL to redirect the user to for authentication.\n */\n abstract authenticationUrl(authArgs?: AuthArgs): Promise<string | undefined>;\n}\n\n/**\n * A wrapper around the Nylas Identity session that implements the NylasApiRequest interface.\n * This class is used by the Nylas Web Elements to make requests to the Nylas API if no custom\n * implementation of NylasApiRequest is provided.\n */\nexport class NylasIdentityRequestWrapper implements NylasApiRequest {\n /**\n * The Nylas Identity session instance.\n */\n private session: NylasSessions;\n\n /**\n * The grant_id to use for requests, if there is multi-account support\n * enabled in the Nylas Identity settings.\n */\n private activeGrantId?: string;\n\n /**\n * The default authentication arguments to use when authenticating the user.\n */\n private defaultAuthArgs: AuthArgs[] = [];\n\n /**\n * Constructor for the NylasIdentityRequestWrapper class.\n * @param session The Nylas Identity session instance.\n */\n constructor(session: NylasSessions) {\n this.session = session;\n }\n\n /**\n * This method sets the grant_id to use for requests.\n * This is used when there is multi-account support enabled in the Nylas Identity settings.\n *\n * @param grantId\n */\n setActiveGrantId(grantId: string) {\n this.activeGrantId = grantId;\n }\n\n /**\n * This method makes a request to the Nylas API, using the Nylas Identity's fetch method.\n *\n * The `grants/me/` prefix is added because all requests made from the browser to the Nylas API\n * must be made on behalf of the currently logged in user with a valid access token.\n *\n * @param NylasRequestArgs\n * @returns Promise<[T | null, NylasErrorResponse['error'] | null]>\n */\n async request<T>({ method, path, body, headers }: NylasRequestArgs): Promise<DataResponseReturnType<T>> {\n try {\n const response = await this.session.fetch(`grants/me/${path}`, {\n method,\n headers: headers ? new Headers(headers) : undefined,\n body,\n ...(this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}),\n });\n\n // Sometimes the Nylas identity session fetch method returns undefined.\n // Possibly due to CORS issues. In this case, we throw an error.\n if (typeof response === 'undefined') {\n throw new Error('Response is undefined');\n }\n\n return dataResponse(response as T);\n } catch (error: any) {\n let errorMessage = String(error);\n if (String(error).includes('Access token not found')) {\n errorMessage = 'Session expired, please log in again. Redirecting...';\n setTimeout(() => {\n localStorage.removeItem('grant');\n localStorage.removeItem('user');\n window.location.reload();\n }, 1000);\n }\n return dataResponse(null as T, {\n message: errorMessage,\n });\n }\n }\n\n /**\n * This method returns the current (logged in) user's information.\n * If the user is not logged in, it returns null.\n * @returns Promise<User | null>\n */\n async currentUser(): Promise<User | null> {\n const grantId = this.session.isMultiAccount() ? this.activeGrantId : undefined;\n const idToken = await this.session.getProfile(grantId);\n // If the user is not logged in, we can't get the grant (no access token)\n if (await this.session.isLoggedIn()) {\n const grantResponse = await this.session.fetch(`grants/me`, {\n method: 'GET',\n ...(this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}),\n });\n const grant = grantResponse.data;\n\n if (!idToken || !grant) {\n return null;\n }\n\n const grantEmail = grant.email;\n return {\n id: idToken.sub,\n email: grantEmail,\n name: idToken.name,\n provider: idToken.provider,\n };\n }\n\n return null;\n }\n\n /**\n * This method returns the URL to redirect the user to for authentication.\n * @param authConfig authArgs\n * @returns Promise<string | undefined>\n */\n async authenticationUrl(authArgs?: AuthArgs): Promise<string | undefined> {\n const provider = authArgs?.provider || 'google';\n const defaultArgs = this.defaultAuthArgs.find(args => args.provider === provider);\n let args = defaultArgs || {};\n\n if (authArgs) {\n args = { ...args, ...authArgs };\n }\n return this.session.auth(args);\n }\n\n /**\n * This method sets the default authentication arguments to use when authenticating the user.\n * @param authArgs authArgs\n */\n setDefaultAuthArgs(authArgs: AuthArgs[]) {\n this.defaultAuthArgs = authArgs;\n }\n}\n"],"version":3}
1
+ {"file":"nylas-api-request-03d7f604.js","mappings":";;;;MAuFa,2BAA2B;IAqBtC,YAAY,OAAsB;QAN1B,oBAAe,GAAe,EAAE,CAAC;QAOvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;KACxB;IAQD,gBAAgB,CAAC,OAAe;QAC9B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;KAC9B;IAWD,MAAM,OAAO,CAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAoB;QAChE,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,IAAI,EAAE,EAAE;gBAC7D,MAAM;gBACN,OAAO,EAAE,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,GAAG,SAAS;gBACnD,IAAI;gBACJ,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC;aACjG,CAAC,CAAC;YAIH,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;gBACnC,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;aAC1C;YAED,OAAOA,kBAAY,CAAC,QAAa,CAAC,CAAC;SACpC;QAAC,OAAO,KAAU,EAAE;YACnB,IAAI,YAAY,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YACjC,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC,EAAE;gBACpD,YAAY,GAAG,sDAAsD,CAAC;gBACtE,UAAU,CAAC;oBACT,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;oBACjC,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;oBAChC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAC1B,EAAE,IAAI,CAAC,CAAC;aACV;YACD,OAAOA,kBAAY,CAAC,IAAS,EAAE;gBAC7B,OAAO,EAAE,YAAY;aACtB,CAAC,CAAC;SACJ;KACF;IAOD,MAAM,WAAW;QACf,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/E,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAEvD,IAAI,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE;YACnC,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE;gBAC1D,MAAM,EAAE,KAAK;gBACb,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC;aACjG,CAAC,CAAC;YACH,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC;YAEjC,IAAI,CAAC,OAAO,IAAI,CAAC,KAAK,EAAE;gBACtB,OAAO,IAAI,CAAC;aACb;YAED,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC;YAC/B,OAAO;gBACL,EAAE,EAAE,OAAO,CAAC,GAAG;gBACf,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;aAC3B,CAAC;SACH;QAED,OAAO,IAAI,CAAC;KACb;IAOD,MAAM,iBAAiB,CAAC,QAAmB;QACzC,MAAM,QAAQ,GAAG,QAAQ,EAAE,QAAQ,IAAI,QAAQ,CAAC;QAChD,MAAM,WAAW,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;QAClF,IAAI,IAAI,GAAG,WAAW,IAAI,EAAE,CAAC;QAE7B,IAAI,QAAQ,EAAE;YACZ,IAAI,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,QAAQ,EAAE,CAAC;SACjC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAChC;IAMD,kBAAkB,CAAC,QAAoB;QACrC,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;KACjC;;;;;","names":["dataResponse"],"sources":["src/common/nylas-api-request.ts"],"sourcesContent":["import { dataResponse } from '@/utils/utils';\nimport type { NylasSessions } from '@nylas/identity';\nimport { DataResponseReturnType } from './types';\n\n/**\n * Arguments for making a request to the Nylas API.\n */\nexport type NylasRequestArgs = {\n method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';\n path: string;\n body?: any;\n headers?: Record<string, string>;\n};\n\n/**\n * A model representing a user in the Nylas Identity system.\n */\nexport type User = {\n id: string;\n email: string;\n name?: string;\n provider?: string;\n};\n\n/**\n * Arguments for authenticating a user with the Nylas Identity system.\n */\nexport type AuthArgs = {\n /**\n * The provider of the user's email address.\n */\n provider?: string;\n /**\n * A list of permission scopes for the provider.\n */\n scope?: Array<string>;\n /**\n * The login hint associated with the user.\n */\n loginHint?: string;\n /**\n * Whether to include grant scopes in the auth exchange.\n */\n includeGrantScopes?: boolean;\n prompt?: string;\n metadata?: string;\n state?: string;\n};\n\n/**\n * Interface for making requests to the Nylas API.\n *\n * This is an abstract class that is meant to be implemented by customers to provide their own\n * implementation of making requests to the Nylas API. This allows customers to use their own\n * authentication mechanism, or to use a different HTTP client library.\n */\nexport abstract class NylasApiRequest {\n /**\n * This method should make an authenticated request to the Nylas API.\n * Note: It should not throw an error if the request fails, but should return an object with the error\n * information as part of the tuple returned.\n * @param args NylasRequestArgs\n */\n abstract request<T = any>(args: NylasRequestArgs): Promise<DataResponseReturnType<T>>;\n\n /**\n * This method should return the current user's information.\n */\n\n abstract currentUser(): Promise<User | null>;\n\n /**\n * This method should set the default authentication arguments to use when authenticating the user.\n */\n abstract setDefaultAuthArgs(authArgs: AuthArgs[]): void;\n\n /**\n * This method should return the URL to redirect the user to for authentication.\n */\n abstract authenticationUrl(authArgs?: AuthArgs): Promise<string | undefined>;\n}\n\n/**\n * A wrapper around the Nylas Identity session that implements the NylasApiRequest interface.\n * This class is used by the Nylas Web Elements to make requests to the Nylas API if no custom\n * implementation of NylasApiRequest is provided.\n */\nexport class NylasIdentityRequestWrapper implements NylasApiRequest {\n /**\n * The Nylas Identity session instance.\n */\n private session: NylasSessions;\n\n /**\n * The grant_id to use for requests, if there is multi-account support\n * enabled in the Nylas Identity settings.\n */\n private activeGrantId?: string;\n\n /**\n * The default authentication arguments to use when authenticating the user.\n */\n private defaultAuthArgs: AuthArgs[] = [];\n\n /**\n * Constructor for the NylasIdentityRequestWrapper class.\n * @param session The Nylas Identity session instance.\n */\n constructor(session: NylasSessions) {\n this.session = session;\n }\n\n /**\n * This method sets the grant_id to use for requests.\n * This is used when there is multi-account support enabled in the Nylas Identity settings.\n *\n * @param grantId\n */\n setActiveGrantId(grantId: string) {\n this.activeGrantId = grantId;\n }\n\n /**\n * This method makes a request to the Nylas API, using the Nylas Identity's fetch method.\n *\n * The `grants/me/` prefix is added because all requests made from the browser to the Nylas API\n * must be made on behalf of the currently logged in user with a valid access token.\n *\n * @param NylasRequestArgs\n * @returns Promise<[T | null, NylasErrorResponse['error'] | null]>\n */\n async request<T>({ method, path, body, headers }: NylasRequestArgs): Promise<DataResponseReturnType<T>> {\n try {\n const response = await this.session.fetch(`grants/me/${path}`, {\n method,\n headers: headers ? new Headers(headers) : undefined,\n body,\n ...(this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}),\n });\n\n // Sometimes the Nylas identity session fetch method returns undefined.\n // Possibly due to CORS issues. In this case, we throw an error.\n if (typeof response === 'undefined') {\n throw new Error('Response is undefined');\n }\n\n return dataResponse(response as T);\n } catch (error: any) {\n let errorMessage = String(error);\n if (String(error).includes('Access token not found')) {\n errorMessage = 'Session expired, please log in again. Redirecting...';\n setTimeout(() => {\n localStorage.removeItem('grant');\n localStorage.removeItem('user');\n window.location.reload();\n }, 1000);\n }\n return dataResponse(null as T, {\n message: errorMessage,\n });\n }\n }\n\n /**\n * This method returns the current (logged in) user's information.\n * If the user is not logged in, it returns null.\n * @returns Promise<User | null>\n */\n async currentUser(): Promise<User | null> {\n const grantId = this.session.isMultiAccount() ? this.activeGrantId : undefined;\n const idToken = await this.session.getProfile(grantId);\n // If the user is not logged in, we can't get the grant (no access token)\n if (await this.session.isLoggedIn()) {\n const grantResponse = await this.session.fetch(`grants/me`, {\n method: 'GET',\n ...(this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}),\n });\n const grant = grantResponse.data;\n\n if (!idToken || !grant) {\n return null;\n }\n\n const grantEmail = grant.email;\n return {\n id: idToken.sub,\n email: grantEmail,\n name: idToken.name,\n provider: idToken.provider,\n };\n }\n\n return null;\n }\n\n /**\n * This method returns the URL to redirect the user to for authentication.\n * @param authConfig authArgs\n * @returns Promise<string | undefined>\n */\n async authenticationUrl(authArgs?: AuthArgs): Promise<string | undefined> {\n const provider = authArgs?.provider || 'google';\n const defaultArgs = this.defaultAuthArgs.find(args => args.provider === provider);\n let args = defaultArgs || {};\n\n if (authArgs) {\n args = { ...args, ...authArgs };\n }\n return this.session.auth(args);\n }\n\n /**\n * This method sets the default authentication arguments to use when authenticating the user.\n * @param authArgs authArgs\n */\n setDefaultAuthArgs(authArgs: AuthArgs[]) {\n this.defaultAuthArgs = authArgs;\n }\n}\n"],"version":3}