@nylas/web-elements 2.3.0 → 2.3.1-canary-20260108155205

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 (64) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +1 -1
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4941 -4925
  3. package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +8 -0
  6. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js.map +1 -1
  7. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
  8. package/dist/cjs/nylas-scheduling.cjs.entry.js +16 -3
  9. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  10. package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
  11. package/dist/cjs/nylas-web-elements.cjs.js +1 -1
  12. package/dist/cjs/{version-DOUE1CF3.js → version-BIKhGgjH.js} +3 -3
  13. package/dist/cjs/{version-DOUE1CF3.js.map → version-BIKhGgjH.js.map} +1 -1
  14. package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +10 -0
  15. package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
  16. package/dist/collection/connector/shared/api/scheduler.js +18 -2
  17. package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
  18. package/dist/collection/version.js +1 -1
  19. package/dist/collection/version.js.map +1 -1
  20. package/dist/components/nylas-editor-tabs-group.js +1 -1
  21. package/dist/components/nylas-editor-tabs.js +1 -1
  22. package/dist/components/nylas-scheduler-editor.js +3 -3
  23. package/dist/components/nylas-scheduling.js +18 -5
  24. package/dist/components/nylas-scheduling.js.map +1 -1
  25. package/dist/components/nylas-timeslot-picker.js +1 -1
  26. package/dist/components/{p-Yb-Jmnhb.js → p-CUriRAxu.js} +3 -3
  27. package/dist/components/{p-Yb-Jmnhb.js.map → p-CUriRAxu.js.map} +1 -1
  28. package/dist/components/{p-ne-_OsQh.js → p-D_fU0kvl.js} +11 -2
  29. package/dist/components/p-D_fU0kvl.js.map +1 -0
  30. package/dist/components/{p-OF14LJnh.js → p-DkfG_oE2.js} +3 -3
  31. package/dist/components/{p-OF14LJnh.js.map → p-DkfG_oE2.js.map} +1 -1
  32. package/dist/components/{p-rnP3lTjZ.js → p-DzM_DEIH.js} +3 -3
  33. package/dist/components/{p-rnP3lTjZ.js.map → p-DzM_DEIH.js.map} +1 -1
  34. package/dist/esm/google-logo-icon_6.entry.js +1 -1
  35. package/dist/esm/loader.js +1 -1
  36. package/dist/esm/nylas-booked-event-card_11.entry.js +8 -0
  37. package/dist/esm/nylas-booked-event-card_11.entry.js.map +1 -1
  38. package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
  39. package/dist/esm/nylas-scheduling.entry.js +17 -4
  40. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  41. package/dist/esm/nylas-web-elements.js +1 -1
  42. package/dist/esm/{version-Vj35JRt4.js → version-CXFvcHg5.js} +3 -3
  43. package/dist/esm/{version-Vj35JRt4.js.map → version-CXFvcHg5.js.map} +1 -1
  44. package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
  45. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  46. package/dist/nylas-web-elements/{p-2f3336a6.entry.js → p-15e67701.entry.js} +2 -2
  47. package/dist/nylas-web-elements/p-3a989daf.entry.js +2 -0
  48. package/dist/nylas-web-elements/p-3a989daf.entry.js.map +1 -0
  49. package/dist/nylas-web-elements/{p-5ae85f94.entry.js → p-544c4297.entry.js} +2 -2
  50. package/dist/nylas-web-elements/p-544c4297.entry.js.map +1 -0
  51. package/dist/nylas-web-elements/{p-5eb93f5b.entry.js → p-60fb00a8.entry.js} +2 -2
  52. package/dist/nylas-web-elements/p-CXFvcHg5.js +2 -0
  53. package/dist/nylas-web-elements/{p-Vj35JRt4.js.map → p-CXFvcHg5.js.map} +1 -1
  54. package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +1 -0
  55. package/dist/types/connector/shared/api/scheduler.d.ts +1 -1
  56. package/dist/types/version.d.ts +1 -1
  57. package/package.json +1 -1
  58. package/dist/components/p-ne-_OsQh.js.map +0 -1
  59. package/dist/nylas-web-elements/p-5ae85f94.entry.js.map +0 -1
  60. package/dist/nylas-web-elements/p-Vj35JRt4.js +0 -2
  61. package/dist/nylas-web-elements/p-f32db1ab.entry.js +0 -2
  62. package/dist/nylas-web-elements/p-f32db1ab.entry.js.map +0 -1
  63. /package/dist/nylas-web-elements/{p-2f3336a6.entry.js.map → p-15e67701.entry.js.map} +0 -0
  64. /package/dist/nylas-web-elements/{p-5eb93f5b.entry.js.map → p-60fb00a8.entry.js.map} +0 -0
@@ -18,7 +18,7 @@ var patchBrowser = () => {
18
18
 
19
19
  patchBrowser().then(async (options) => {
20
20
  await index.globalScripts();
21
- return index.bootstrapLazy(JSON.parse("[[\"nylas-scheduler-editor.cjs\",[[257,\"nylas-scheduler-editor\",{\"configurationId\":[1025,\"configuration-id\"],\"nylasApiRequest\":[1040,\"nylas-api-request\"],\"nylasSessionsConfig\":[16,\"nylas-sessions-config\"],\"defaultAuthArgs\":[16,\"default-auth-args\"],\"eventOverrides\":[16,\"event-overrides\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"defaultSchedulerConfigState\":[16,\"default-scheduler-config-store-state\"],\"mode\":[1],\"additionalParticipants\":[16,\"additional-participants\"],\"hideEditorTabs\":[16,\"hide-editor-tabs\"],\"conferenceProviders\":[16,\"conference-providers\"],\"requiresSlug\":[4,\"requires-slug\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"defaultLanguage\":[1,\"default-language\"],\"localization\":[16],\"nylasBranding\":[4,\"nylas-branding\"],\"enableNotetaker\":[4,\"enable-notetaker\"],\"experimentalFeatures\":[16,\"experimental-features\"],\"enableEventTypes\":[16,\"enable-event-types\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"nylas-scheduling.cjs\",[[257,\"nylas-scheduling\",{\"mode\":[1],\"defaultSchedulerState\":[16,\"default-scheduler-store-state\"],\"sessionId\":[1,\"session-id\"],\"schedulerApiUrl\":[1,\"scheduler-api-url\"],\"bookingInfo\":[16,\"booking-info\"],\"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,\"event-overrides\"],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16,\"theme-config\"],\"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\",[[258,\"archive-icon\",{\"width\":[1],\"height\":[1]}]]],[\"arrow-icon.cjs\",[[258,\"arrow-icon\",{\"width\":[1],\"height\":[1]}]]],[\"bold-icon.cjs\",[[258,\"bold-icon\",{\"width\":[1],\"height\":[1]}]]],[\"document-refresh-icon.cjs\",[[258,\"document-refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"folder-icon.cjs\",[[258,\"folder-icon\",{\"width\":[1],\"height\":[1]}]]],[\"forward-icon.cjs\",[[258,\"forward-icon\",{\"width\":[1],\"height\":[1]}]]],[\"inbox-icon.cjs\",[[258,\"inbox-icon\",{\"width\":[1],\"height\":[1]}]]],[\"italic-icon.cjs\",[[258,\"italic-icon\",{\"width\":[1],\"height\":[1]}]]],[\"play-icon.cjs\",[[258,\"play-icon\",{\"width\":[1],\"height\":[1]}]]],[\"refresh-icon.cjs\",[[258,\"refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-all-icon.cjs\",[[258,\"reply-all-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-icon.cjs\",[[258,\"reply-icon\",{\"width\":[1],\"height\":[1]}]]],[\"sent-icon.cjs\",[[258,\"sent-icon\",{\"width\":[1],\"height\":[1]}]]],[\"spam-icon.cjs\",[[258,\"spam-icon\",{\"width\":[1],\"height\":[1]}]]],[\"star-icon.cjs\",[[258,\"star-icon\",{\"width\":[1],\"height\":[1]}]]],[\"stop-icon.cjs\",[[258,\"stop-icon\",{\"width\":[1],\"height\":[1]}]]],[\"trash-fill-icon.cjs\",[[258,\"trash-fill-icon\",{\"width\":[1],\"height\":[1]}]]],[\"underline-icon.cjs\",[[258,\"underline-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-circle-icon.cjs\",[[258,\"checkmark-circle-icon\",{\"width\":[1],\"height\":[1]}]]],[\"delete-icon.cjs\",[[258,\"delete-icon\",{\"width\":[1],\"height\":[1]}]]],[\"person-icon.cjs\",[[258,\"person-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-cancel-icon.cjs\",[[258,\"calendar-cancel-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-check-icon.cjs\",[[258,\"calendar-check-icon\",{\"width\":[1],\"height\":[1]}]]],[\"radio-button-group.cjs\",[[257,\"radio-button-group\",{\"name\":[1],\"options\":[16],\"defaultSelectedValue\":[1,\"default-selected-value\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"selectedValue\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"defaultSelectedValue\":[\"handleDefaultSelectedValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"translate-icon.cjs\",[[258,\"translate-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-icon.cjs\",[[258,\"calendar-icon\",{\"width\":[1],\"height\":[1]}]]],[\"toggle-switch.cjs\",[[257,\"toggle-switch\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"themeConfig\":[16,\"theme-config\"],\"isChecked\":[32]},null,{\"checked\":[\"checkedChanged\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-form-card.cjs\",[[321,\"nylas-form-card\",{\"themeConfig\":[16,\"theme-config\"]},null,{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"multi-select-dropdown.cjs\",[[257,\"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\"],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"availableOptions\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"shouldFocusFirstOption\":[32],\"openDropdown\":[64],\"closeDropdown\":[64]},[[6,\"click\",\"handleOutsideClick\"],[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"textarea-component.cjs\",[[257,\"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],\"errorMessage\":[1,\"error-message\"],\"themeConfig\":[16,\"theme-config\"],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"triggerValidation\",\"handletriggerValidation\"]],{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"checkbox-component.cjs\",[[257,\"checkbox-component\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"isChecked\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"checked\":[\"checkedPropChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"input-component.cjs\",[[257,\"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\"],\"themeConfig\":[16,\"theme-config\"],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"input-dropdown_2.cjs\",[[258,\"time-period-selector\",{\"themeConfig\":[16,\"theme-config\"],\"timePeriods\":[16,\"time-periods\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"input-dropdown\",{\"name\":[1],\"options\":[16],\"defaultInputOption\":[16,\"default-input-option\"],\"inputValue\":[1,\"input-value\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"filterable\":[4],\"themeConfig\":[16,\"theme-config\"],\"selectedOption\":[32],\"isOpen\":[32],\"typedValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultInputOption\":[\"defaultSelectedOptionChangedHandler\"],\"inputValue\":[\"inputValueChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"google-meet-icon_5.cjs\",[[258,\"google-meet-icon\",{\"width\":[1],\"height\":[1]}],[258,\"location-icon\",{\"width\":[1],\"height\":[1]}],[258,\"location-off-icon\",{\"width\":[1],\"height\":[1]}],[258,\"microsoft-teams-icon\",{\"width\":[1],\"height\":[1]}],[258,\"zoom-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-icon_15.cjs\",[[321,\"nylas-event-location\",{\"name\":[1],\"currentUser\":[16,\"current-user\"],\"userProvider\":[1,\"user-provider\"],\"eventConferencing\":[16,\"event-conferencing\"],\"conferenceProviders\":[16,\"conference-providers\"],\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventLocation\":[1,\"event-location\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"location\":[32],\"grantId\":[32],\"selectedLocationOption\":[32],\"userProviderState\":[32],\"locationOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"currentUser\":[\"currentUserChangedHandler\"],\"conferenceProviders\":[\"conferenceProvidersChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-additional-participants\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"currentUser\":[16,\"current-user\"],\"currentUserCalendars\":[16,\"current-user-calendars\"],\"participantOptions\":[16,\"participant-options\"],\"eventParticipants\":[16,\"event-participants\"],\"roundRobinConfig\":[4,\"round-robin-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"nylas-feedback-form\",{\"themeConfig\":[8,\"theme-config\"],\"feedbackMessage\":[32]},[[4,\"nylasFormInputChanged\",\"handleFormInputChanged\"]]],[321,\"nylas-reminder-time\",{\"name\":[1],\"eventReminderTimeMinutes\":[2,\"event-reminder-time-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32],\"errorState\":[32]},[[4,\"nylasSuggestReminderMinutes\",\"nylasSuggestReminderMinutesHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"eventReminderTimeMinutes\":[\"eventReminderTimeMinutesChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-description\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventDescription\":[1,\"event-description\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"hideAutoPopulateButton\":[4,\"hide-auto-populate-button\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-title\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventTitle\":[1,\"event-title\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"input-color-picker\",{\"name\":[1],\"defaultSelectedColor\":[1,\"default-selected-color\"],\"selectedColor\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"errorMessage\":[32]},[[6,\"click\",\"handleOutsideClick\"]]],[321,\"input-image-url\",{\"imageUrl\":[1,\"image-url\"],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"name\":[1],\"currentImageUrl\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"errorMessage\":[\"errorMessageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-info\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"checkmark-icon\",{\"width\":[1],\"height\":[1]}],[258,\"dragable-icon\",{\"width\":[1],\"height\":[1]}],[258,\"eye-icon\",{\"width\":[1],\"height\":[1]}],[258,\"feedback-icon\",{\"width\":[1],\"height\":[1]}],[258,\"trash-icon\",{\"width\":[1],\"height\":[1]}],[258,\"copy-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkbox-group_4.cjs\",[[321,\"nylas-event-calendar\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"groupEvents\":[16,\"group-events\"],\"currentUser\":[16,\"current-user\"],\"calendars\":[16],\"masterGroupEvents\":[16,\"master-group-events\"],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"isLoading\":[\"isLoadingChangedHandler\"]}],[321,\"nylas-event-timeslot\",{\"name\":[1],\"initialValue\":[16,\"initial-value\"],\"selectedLanguage\":[1,\"selected-language\"],\"currentUser\":[16,\"current-user\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-capacity\",{\"name\":[1],\"capacity\":[2],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedEventCapacity\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"checkbox-group\",{\"name\":[1],\"label\":[1],\"options\":[16],\"required\":[4],\"direction\":[1],\"themeConfig\":[16,\"theme-config\"],\"error\":[32],\"selectedValues\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"nylasFormCheckboxToggled\",\"handleCheckboxToggled\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-notification_2.cjs\",[[257,\"nylas-notification\",{\"ttl\":[8],\"allowedCategories\":[16,\"allowed-categories\"],\"notifications\":[32]},[[16,\"nylasSchedulerError\",\"onError\"],[16,\"nylasSchedulerWarning\",\"onWarning\"],[16,\"nylasSchedulerInfo\",\"onInfo\"],[16,\"nylasSchedulerSuccess\",\"onSuccess\"],[16,\"dismissNotification\",\"onDismissNotification\"]]],[258,\"warning-icon\",{\"width\":[1],\"height\":[1]}]]],[\"clock-icon_4.cjs\",[[258,\"person-clipboard-icon\",{\"width\":[1],\"height\":[1]}],[258,\"plus-icon\",{\"width\":[1],\"height\":[1]}],[258,\"edit-icon\",{\"width\":[1],\"height\":[1]}],[258,\"clock-icon\",{\"width\":[1],\"height\":[1]}]]],[\"add-circle-icon_2.cjs\",[[258,\"add-circle-icon\",{\"width\":[1],\"height\":[1]}],[258,\"close-icon\",{\"width\":[1],\"height\":[1]}]]],[\"globe-icon_3.cjs\",[[257,\"nylas-time-window-picker\",{\"time\":[1],\"minimumStartTime\":[1,\"minimum-start-time\"],\"placeholder\":[1],\"name\":[1],\"hasError\":[516,\"has-error\"],\"language\":[1],\"themeConfig\":[16,\"theme-config\"],\"err\":[32],\"showTimes\":[32],\"ariaActivedescendant\":[32],\"times\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"time\":[\"timeChangedHandler\"],\"minimumStartTime\":[\"minimumStartTimeChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"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\"],\"errorMessage\":[1,\"error-message\"],\"minDate\":[1,\"min-date\"],\"hasError\":[4,\"has-error\"],\"themeConfig\":[16,\"theme-config\"],\"value\":[32],\"error\":[32],\"isDateValid\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"globe-icon\",{\"width\":[1],\"height\":[1]}]]],[\"button-component_2.cjs\",[[262,\"button-component\",{\"variant\":[1],\"disabled\":[4],\"type\":[1],\"tooltip\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16,\"click-handler\"],\"mouseOverHandler\":[16,\"mouse-over-handler\"],\"mouseOutHandler\":[16,\"mouse-out-handler\"],\"focusHandler\":[16,\"focus-handler\"],\"blurHandler\":[16,\"blur-handler\"]}],[257,\"loading-icon\",{\"width\":[1],\"height\":[1]}]]],[\"info-icon_2.cjs\",[[257,\"tooltip-component\",{\"position\":[1],\"alignment\":[1],\"offset\":[2],\"boundaryPadding\":[2,\"boundary-padding\"],\"showArrow\":[4,\"show-arrow\"],\"showDelay\":[2,\"show-delay\"],\"hideDelay\":[2,\"hide-delay\"],\"isVisible\":[32],\"isPinned\":[32],\"actualPosition\":[32],\"show\":[64],\"hide\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[6,\"click\",\"handleDocumentClick\"],[11,\"scroll\",\"handleScroll\"],[9,\"resize\",\"handleResize\"]]],[258,\"info-icon\",{\"width\":[1],\"height\":[1]}]]],[\"chevron-icon_3.cjs\",[[257,\"select-dropdown\",{\"name\":[513],\"options\":[16],\"defaultSelectedOption\":[16,\"default-selected-option\"],\"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\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"search-icon\",{\"width\":[1],\"height\":[1]}],[258,\"chevron-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-agenda-fill-icon_39.cjs\",[[321,\"nylas-participants-custom-availability\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"participants\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedParticipants\":[32],\"validationError\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"],[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-limit-future-bookings\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"availableDaysInFuture\":[2,\"available-days-in-future\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-connected-calendars\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16,\"participant-options\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendars\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-participant-booking-calendars\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16,\"participant-options\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendar\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-timeslot-interval\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"internalEventDurationMinutes\":[32],\"selectedInterval\":[32],\"selectedRoundTo\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormRadioChanged\",\"nylasFormRadioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-buffer-time\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"buffer\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedBeforeBufferTime\":[32],\"selectedAfterBufferTime\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-notetaker-config\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"conferencing\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"enabled\":[32],\"showUiConsentMessage\":[32],\"notetakerName\":[32],\"videoRecording\":[32],\"audioRecording\":[32],\"transcription\":[32],\"summary\":[32],\"summaryCustomInstructions\":[32],\"actionItems\":[32],\"actionItemsCustomInstructions\":[32],\"validationError\":[32],\"summaryInstructionsError\":[32],\"actionItemsInstructionsError\":[32],\"updateConferencing\":[64],\"setNotetakerEnabled\":[64],\"setNotetakerOption\":[64],\"getNotetakerState\":[64]},[[4,\"nylasFormCheckboxToggled\",\"nylasFormCheckboxToggledHandler\"],[4,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"conferencing\":[\"conferencingChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-duration\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"duration\":[32],\"durationMinutes\":[32],\"durationIncrement\":[32],\"error\":[32],\"durationMinutesOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-only-specific-time-availability\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"onlySpecificTimeAvailability\":[4,\"only-specific-time-availability\"],\"enableSpecificTimeAvailability\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"onlySpecificTimeAvailability\":[\"onlySpecificTimeAvailabilityChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"calendar-info-icon\",{\"width\":[1],\"height\":[1]}],[258,\"calendar-patterns-icon\",{\"width\":[1],\"height\":[1]}],[258,\"people-icon\",{\"width\":[1],\"height\":[1]}],[321,\"nylas-reminder-emails\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventReminders\":[16,\"event-reminders\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"reminders\":[32],\"reminderErrors\":[32],\"participants\":[32],\"clearError\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"],[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-specific-time-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"selectedLanguage\":[1,\"selected-language\"],\"specificTimesAvailability\":[16,\"specific-times-availability\"],\"themeConfig\":[16,\"theme-config\"],\"hideHeader\":[4,\"hide-header\"],\"defaultTimezone\":[1,\"default-timezone\"],\"specificDateEntries\":[32],\"validationErrors\":[32],\"timezone\":[32]},[[0,\"timeChange\",\"handleTimeChange\"],[0,\"timeWindowFormError\",\"setFormError\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputChanged\",\"handleFormInputChange\"]],{\"name\":[\"elementNameChangedHandler\"],\"defaultTimezone\":[\"defaultTimezoneChanged\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-confirmation-email\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"confirmationEmailTemplate\":[16,\"confirmation-email-template\"],\"participants\":[16],\"name\":[1],\"nylasBranding\":[4,\"nylas-branding\"],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-form-config\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"additionalFields\":[16,\"additional-fields\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"openHours\":[16,\"open-hours\"],\"defaultTimezone\":[1,\"default-timezone\"],\"hideHeader\":[4,\"hide-header\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"schedule\":[32],\"timezone\":[32],\"overlapDays\":[32],\"timeWindowErrors\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"timeChange\",\"setTime\"],[0,\"timeWindowFormError\",\"setFormError\"]],{\"name\":[\"elementNameChangedHandler\"],\"defaultTimezone\":[\"defaultTimezoneChanged\"],\"openHours\":[\"openHoursChanged\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-disable-emails\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"organizerLocale\":[32],\"disableEmails\":[32]},[[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-min-booking-notice\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"minBookingNotice\":[2,\"min-booking-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-min-cancellation-notice\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"minCancellationNotice\":[2,\"min-cancellation-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-confirmation-redirect\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"redirectUrl\":[1,\"redirect-url\"],\"redirectUrlErrorMessage\":[1,\"redirect-url-error-message\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-custom-event-slug\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"defaultUrlSlug\":[1,\"default-url-slug\"],\"isOpen\":[4,\"is-open\"],\"slugErrorMessage\":[1,\"slug-error-message\"],\"name\":[1],\"requiresSlug\":[4,\"requires-slug\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-scheduling-method\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"participantOptions\":[16,\"participant-options\"],\"readOnly\":[4,\"read-only\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"showSubTitle\":[4,\"show-sub-title\"],\"selectedBookingType\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-calendar-picker\",{\"calendars\":[16],\"currentUser\":[16,\"current-user\"],\"currentUserCalendars\":[16,\"current-user-calendars\"],\"name\":[1],\"defaultBookingCalendar\":[1,\"default-booking-calendar\"],\"hideHeader\":[4,\"hide-header\"],\"expressFlow\":[4,\"express-flow\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendar\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUserCalendars\":[\"currentUserCalendarsChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-confirmation-type\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"bookingType\":[1,\"booking-type\"],\"showComponent\":[4,\"show-component\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedBookingType\":[32],\"showDropdown\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-calendar-picker\",{\"name\":[1],\"currentUser\":[16,\"current-user\"],\"calendars\":[16],\"defaultSelectedCalendars\":[16,\"default-selected-calendars\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendars\":[32],\"error\":[32]},[[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-page-name\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"pageName\":[1,\"page-name\"],\"showToggle\":[4,\"show-toggle\"],\"isOpen\":[4,\"is-open\"],\"required\":[4],\"themeConfig\":[16,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"requirePageName\":[4,\"require-page-name\"],\"currentPageName\":[32],\"pageNameErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-customize-booking-settings\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"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,\"show-settings\"],\"themeConfig\":[16,\"theme-config\"],\"allowGuestsToInvite\":[32],\"hideCancellationOptions\":[32],\"hideReschedulingOptions\":[32]},[[0,\"nylasFormCheckboxToggled\",\"nylasFormCheckboxToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-cancellation-policy\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"cancellationPolicy\":[1,\"cancellation-policy\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"message\":[32]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-page-styling\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"appearance\":[16],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"currentAppearance\":[32],\"customInputsSlot\":[32]},[[4,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[4,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"],[4,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[4,\"nylasFormRadioChanged\",\"radioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[321,\"nylas-custom-booking-flow\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-limits\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"calendar-agenda-fill-icon\",{\"width\":[1],\"height\":[1]}],[258,\"calendar-agenda-icon\",{\"width\":[1],\"height\":[1]}],[258,\"envelope-fill-icon\",{\"width\":[1],\"height\":[1]}],[258,\"envelope-icon\",{\"width\":[1],\"height\":[1]}],[258,\"flow-icon\",{\"width\":[1],\"height\":[1]}],[258,\"paintbrush-fill-icon\",{\"width\":[1],\"height\":[1]}],[258,\"paintbrush-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-logo-icon_6.cjs\",[[262,\"nylas-editor-tabs\",{\"calendars\":[16],\"selectedConfiguration\":[16,\"selected-configuration\"],\"configurations\":[16],\"currentUser\":[16,\"current-user\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16,\"hide-editor-tabs\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"enableNotetaker\":[4,\"enable-notetaker\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"themeConfig\":[16,\"theme-config\"],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"loaded\":[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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[262,\"nylas-editor-tabs-group\",{\"calendars\":[16],\"selectedConfiguration\":[16,\"selected-configuration\"],\"configurations\":[16],\"currentUser\":[16,\"current-user\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16,\"hide-editor-tabs\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"selectedGroupEvent\":[16,\"selected-group-event\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"nylas-list-configurations\",{\"configurations\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"listConfigurationsNextCursor\":[1,\"list-configurations-next-cursor\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"nylas-select-event-type\",{\"participantOptions\":[16,\"participant-options\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"enableEventTypes\":[16,\"enable-event-types\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"google-logo-icon\",{\"width\":[1],\"height\":[1]}],[258,\"microsoft-logo-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-booked-event-card_11.cjs\",[[257,\"nylas-booking-form\",{\"isLoading\":[4,\"is-loading\"],\"bookingInfo\":[16,\"booking-info\"],\"eventInfo\":[16,\"event-info\"],\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"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\"]}],[257,\"nylas-cancel-booking-form\",{\"cancelBookingId\":[1,\"cancel-booking-id\"],\"rejectBookingId\":[1,\"reject-booking-id\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"configSettings\":[16,\"config-settings\"],\"eventInfo\":[16,\"event-info\"],\"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\"]}],[257,\"nylas-booked-event-card\",{\"eventInfo\":[16,\"event-info\"],\"rescheduleBookingId\":[1,\"reschedule-booking-id\"],\"bookingInfo\":[16,\"booking-info\"],\"configSettings\":[16,\"config-settings\"],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[257,\"nylas-locale-switch\",{\"themeConfig\":[8,\"theme-config\"],\"bookingInfo\":[16,\"booking-info\"],\"selectedTimezone\":[1025,\"selected-timezone\"],\"selectedLanguage\":[1025,\"selected-language\"],\"searchPlaceholder\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"themeConfig\":[\"themeConfigChanged\"],\"bookingInfo\":[\"bookingInfoChangedHandler\"]}],[257,\"nylas-cancelled-event-card\",{\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancelledEventInfo\":[16,\"cancelled-event-info\"],\"isClosing\":[32]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[257,\"nylas-confirmed-event-card\",{\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmedEventInfo\":[16,\"confirmed-event-info\"],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[257,\"nylas-date-picker\",{\"selectableDates\":[16,\"selectable-dates\"],\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16,\"selected-date\"],\"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\"]}],[257,\"nylas-organizer-confirmation-card\",{\"configSettings\":[16,\"config-settings\"],\"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\"]}],[257,\"nylas-selected-event-card\",{\"themeConfig\":[8,\"theme-config\"],\"selectedDate\":[16,\"selected-date\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedTimeslot\":[\"selectedTimeslotChangedHandler\"],\"selectedTimezone\":[\"selectedTimezoneChangedHandler\"],\"hour12\":[\"hour12ChangedHandler\"]}],[257,\"nylas-timeslot-picker\",{\"availability\":[16],\"isLoading\":[4,\"loading-state\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16,\"selected-date\"],\"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\"]}],[258,\"nylas-logo\",{\"width\":[1],\"height\":[1]}]]]]"), options);
21
+ return index.bootstrapLazy(JSON.parse("[[\"nylas-scheduler-editor.cjs\",[[257,\"nylas-scheduler-editor\",{\"configurationId\":[1025,\"configuration-id\"],\"nylasApiRequest\":[1040,\"nylas-api-request\"],\"nylasSessionsConfig\":[16,\"nylas-sessions-config\"],\"defaultAuthArgs\":[16,\"default-auth-args\"],\"eventOverrides\":[16,\"event-overrides\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"defaultSchedulerConfigState\":[16,\"default-scheduler-config-store-state\"],\"mode\":[1],\"additionalParticipants\":[16,\"additional-participants\"],\"hideEditorTabs\":[16,\"hide-editor-tabs\"],\"conferenceProviders\":[16,\"conference-providers\"],\"requiresSlug\":[4,\"requires-slug\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"defaultLanguage\":[1,\"default-language\"],\"localization\":[16],\"nylasBranding\":[4,\"nylas-branding\"],\"enableNotetaker\":[4,\"enable-notetaker\"],\"experimentalFeatures\":[16,\"experimental-features\"],\"enableEventTypes\":[16,\"enable-event-types\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"nylas-scheduling.cjs\",[[257,\"nylas-scheduling\",{\"mode\":[1],\"defaultSchedulerState\":[16,\"default-scheduler-store-state\"],\"sessionId\":[1,\"session-id\"],\"schedulerApiUrl\":[1,\"scheduler-api-url\"],\"bookingInfo\":[16,\"booking-info\"],\"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,\"event-overrides\"],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16,\"theme-config\"],\"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\",[[258,\"archive-icon\",{\"width\":[1],\"height\":[1]}]]],[\"arrow-icon.cjs\",[[258,\"arrow-icon\",{\"width\":[1],\"height\":[1]}]]],[\"bold-icon.cjs\",[[258,\"bold-icon\",{\"width\":[1],\"height\":[1]}]]],[\"document-refresh-icon.cjs\",[[258,\"document-refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"folder-icon.cjs\",[[258,\"folder-icon\",{\"width\":[1],\"height\":[1]}]]],[\"forward-icon.cjs\",[[258,\"forward-icon\",{\"width\":[1],\"height\":[1]}]]],[\"inbox-icon.cjs\",[[258,\"inbox-icon\",{\"width\":[1],\"height\":[1]}]]],[\"italic-icon.cjs\",[[258,\"italic-icon\",{\"width\":[1],\"height\":[1]}]]],[\"play-icon.cjs\",[[258,\"play-icon\",{\"width\":[1],\"height\":[1]}]]],[\"refresh-icon.cjs\",[[258,\"refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-all-icon.cjs\",[[258,\"reply-all-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-icon.cjs\",[[258,\"reply-icon\",{\"width\":[1],\"height\":[1]}]]],[\"sent-icon.cjs\",[[258,\"sent-icon\",{\"width\":[1],\"height\":[1]}]]],[\"spam-icon.cjs\",[[258,\"spam-icon\",{\"width\":[1],\"height\":[1]}]]],[\"star-icon.cjs\",[[258,\"star-icon\",{\"width\":[1],\"height\":[1]}]]],[\"stop-icon.cjs\",[[258,\"stop-icon\",{\"width\":[1],\"height\":[1]}]]],[\"trash-fill-icon.cjs\",[[258,\"trash-fill-icon\",{\"width\":[1],\"height\":[1]}]]],[\"underline-icon.cjs\",[[258,\"underline-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-circle-icon.cjs\",[[258,\"checkmark-circle-icon\",{\"width\":[1],\"height\":[1]}]]],[\"delete-icon.cjs\",[[258,\"delete-icon\",{\"width\":[1],\"height\":[1]}]]],[\"person-icon.cjs\",[[258,\"person-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-cancel-icon.cjs\",[[258,\"calendar-cancel-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-check-icon.cjs\",[[258,\"calendar-check-icon\",{\"width\":[1],\"height\":[1]}]]],[\"radio-button-group.cjs\",[[257,\"radio-button-group\",{\"name\":[1],\"options\":[16],\"defaultSelectedValue\":[1,\"default-selected-value\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"selectedValue\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"defaultSelectedValue\":[\"handleDefaultSelectedValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"translate-icon.cjs\",[[258,\"translate-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-icon.cjs\",[[258,\"calendar-icon\",{\"width\":[1],\"height\":[1]}]]],[\"toggle-switch.cjs\",[[257,\"toggle-switch\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"themeConfig\":[16,\"theme-config\"],\"isChecked\":[32]},null,{\"checked\":[\"checkedChanged\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-form-card.cjs\",[[321,\"nylas-form-card\",{\"themeConfig\":[16,\"theme-config\"]},null,{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"multi-select-dropdown.cjs\",[[257,\"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\"],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"availableOptions\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"shouldFocusFirstOption\":[32],\"openDropdown\":[64],\"closeDropdown\":[64]},[[6,\"click\",\"handleOutsideClick\"],[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"textarea-component.cjs\",[[257,\"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],\"errorMessage\":[1,\"error-message\"],\"themeConfig\":[16,\"theme-config\"],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"triggerValidation\",\"handletriggerValidation\"]],{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"checkbox-component.cjs\",[[257,\"checkbox-component\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"isChecked\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"checked\":[\"checkedPropChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"input-component.cjs\",[[257,\"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\"],\"themeConfig\":[16,\"theme-config\"],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"input-dropdown_2.cjs\",[[258,\"time-period-selector\",{\"themeConfig\":[16,\"theme-config\"],\"timePeriods\":[16,\"time-periods\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"input-dropdown\",{\"name\":[1],\"options\":[16],\"defaultInputOption\":[16,\"default-input-option\"],\"inputValue\":[1,\"input-value\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"filterable\":[4],\"themeConfig\":[16,\"theme-config\"],\"selectedOption\":[32],\"isOpen\":[32],\"typedValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultInputOption\":[\"defaultSelectedOptionChangedHandler\"],\"inputValue\":[\"inputValueChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"google-meet-icon_5.cjs\",[[258,\"google-meet-icon\",{\"width\":[1],\"height\":[1]}],[258,\"location-icon\",{\"width\":[1],\"height\":[1]}],[258,\"location-off-icon\",{\"width\":[1],\"height\":[1]}],[258,\"microsoft-teams-icon\",{\"width\":[1],\"height\":[1]}],[258,\"zoom-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-icon_15.cjs\",[[321,\"nylas-event-location\",{\"name\":[1],\"currentUser\":[16,\"current-user\"],\"userProvider\":[1,\"user-provider\"],\"eventConferencing\":[16,\"event-conferencing\"],\"conferenceProviders\":[16,\"conference-providers\"],\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventLocation\":[1,\"event-location\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"location\":[32],\"grantId\":[32],\"selectedLocationOption\":[32],\"userProviderState\":[32],\"locationOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"currentUser\":[\"currentUserChangedHandler\"],\"conferenceProviders\":[\"conferenceProvidersChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-additional-participants\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"currentUser\":[16,\"current-user\"],\"currentUserCalendars\":[16,\"current-user-calendars\"],\"participantOptions\":[16,\"participant-options\"],\"eventParticipants\":[16,\"event-participants\"],\"roundRobinConfig\":[4,\"round-robin-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"nylas-feedback-form\",{\"themeConfig\":[8,\"theme-config\"],\"feedbackMessage\":[32]},[[4,\"nylasFormInputChanged\",\"handleFormInputChanged\"]]],[321,\"nylas-reminder-time\",{\"name\":[1],\"eventReminderTimeMinutes\":[2,\"event-reminder-time-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32],\"errorState\":[32]},[[4,\"nylasSuggestReminderMinutes\",\"nylasSuggestReminderMinutesHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"eventReminderTimeMinutes\":[\"eventReminderTimeMinutesChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-description\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventDescription\":[1,\"event-description\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"hideAutoPopulateButton\":[4,\"hide-auto-populate-button\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-title\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventTitle\":[1,\"event-title\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"input-color-picker\",{\"name\":[1],\"defaultSelectedColor\":[1,\"default-selected-color\"],\"selectedColor\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"errorMessage\":[32]},[[6,\"click\",\"handleOutsideClick\"]]],[321,\"input-image-url\",{\"imageUrl\":[1,\"image-url\"],\"themeConfig\":[16,\"theme-config\"],\"errorMessage\":[1,\"error-message\"],\"name\":[1],\"currentImageUrl\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"errorMessage\":[\"errorMessageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-info\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"checkmark-icon\",{\"width\":[1],\"height\":[1]}],[258,\"dragable-icon\",{\"width\":[1],\"height\":[1]}],[258,\"eye-icon\",{\"width\":[1],\"height\":[1]}],[258,\"feedback-icon\",{\"width\":[1],\"height\":[1]}],[258,\"trash-icon\",{\"width\":[1],\"height\":[1]}],[258,\"copy-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkbox-group_4.cjs\",[[321,\"nylas-event-calendar\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"groupEvents\":[16,\"group-events\"],\"currentUser\":[16,\"current-user\"],\"calendars\":[16],\"masterGroupEvents\":[16,\"master-group-events\"],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"isLoading\":[\"isLoadingChangedHandler\"]}],[321,\"nylas-event-timeslot\",{\"name\":[1],\"initialValue\":[16,\"initial-value\"],\"selectedLanguage\":[1,\"selected-language\"],\"currentUser\":[16,\"current-user\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-capacity\",{\"name\":[1],\"capacity\":[2],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedEventCapacity\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"checkbox-group\",{\"name\":[1],\"label\":[1],\"options\":[16],\"required\":[4],\"direction\":[1],\"themeConfig\":[16,\"theme-config\"],\"error\":[32],\"selectedValues\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"nylasFormCheckboxToggled\",\"handleCheckboxToggled\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-notification_2.cjs\",[[257,\"nylas-notification\",{\"ttl\":[8],\"allowedCategories\":[16,\"allowed-categories\"],\"notifications\":[32]},[[16,\"nylasSchedulerError\",\"onError\"],[16,\"nylasSchedulerWarning\",\"onWarning\"],[16,\"nylasSchedulerInfo\",\"onInfo\"],[16,\"nylasSchedulerSuccess\",\"onSuccess\"],[16,\"dismissNotification\",\"onDismissNotification\"]]],[258,\"warning-icon\",{\"width\":[1],\"height\":[1]}]]],[\"clock-icon_4.cjs\",[[258,\"person-clipboard-icon\",{\"width\":[1],\"height\":[1]}],[258,\"plus-icon\",{\"width\":[1],\"height\":[1]}],[258,\"edit-icon\",{\"width\":[1],\"height\":[1]}],[258,\"clock-icon\",{\"width\":[1],\"height\":[1]}]]],[\"add-circle-icon_2.cjs\",[[258,\"add-circle-icon\",{\"width\":[1],\"height\":[1]}],[258,\"close-icon\",{\"width\":[1],\"height\":[1]}]]],[\"globe-icon_3.cjs\",[[257,\"nylas-time-window-picker\",{\"time\":[1],\"minimumStartTime\":[1,\"minimum-start-time\"],\"placeholder\":[1],\"name\":[1],\"hasError\":[516,\"has-error\"],\"language\":[1],\"themeConfig\":[16,\"theme-config\"],\"err\":[32],\"showTimes\":[32],\"ariaActivedescendant\":[32],\"times\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"time\":[\"timeChangedHandler\"],\"minimumStartTime\":[\"minimumStartTimeChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"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\"],\"errorMessage\":[1,\"error-message\"],\"minDate\":[1,\"min-date\"],\"hasError\":[4,\"has-error\"],\"themeConfig\":[16,\"theme-config\"],\"value\":[32],\"error\":[32],\"isDateValid\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"globe-icon\",{\"width\":[1],\"height\":[1]}]]],[\"button-component_2.cjs\",[[262,\"button-component\",{\"variant\":[1],\"disabled\":[4],\"type\":[1],\"tooltip\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16,\"click-handler\"],\"mouseOverHandler\":[16,\"mouse-over-handler\"],\"mouseOutHandler\":[16,\"mouse-out-handler\"],\"focusHandler\":[16,\"focus-handler\"],\"blurHandler\":[16,\"blur-handler\"]}],[257,\"loading-icon\",{\"width\":[1],\"height\":[1]}]]],[\"info-icon_2.cjs\",[[257,\"tooltip-component\",{\"position\":[1],\"alignment\":[1],\"offset\":[2],\"boundaryPadding\":[2,\"boundary-padding\"],\"showArrow\":[4,\"show-arrow\"],\"showDelay\":[2,\"show-delay\"],\"hideDelay\":[2,\"hide-delay\"],\"isVisible\":[32],\"isPinned\":[32],\"actualPosition\":[32],\"show\":[64],\"hide\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[6,\"click\",\"handleDocumentClick\"],[11,\"scroll\",\"handleScroll\"],[9,\"resize\",\"handleResize\"]]],[258,\"info-icon\",{\"width\":[1],\"height\":[1]}]]],[\"chevron-icon_3.cjs\",[[257,\"select-dropdown\",{\"name\":[513],\"options\":[16],\"defaultSelectedOption\":[16,\"default-selected-option\"],\"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\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"search-icon\",{\"width\":[1],\"height\":[1]}],[258,\"chevron-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-agenda-fill-icon_39.cjs\",[[321,\"nylas-participants-custom-availability\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"participants\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedParticipants\":[32],\"validationError\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"],[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-limit-future-bookings\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"availableDaysInFuture\":[2,\"available-days-in-future\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-connected-calendars\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16,\"participant-options\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendars\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-participant-booking-calendars\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16,\"participant-options\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendar\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-timeslot-interval\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"internalEventDurationMinutes\":[32],\"selectedInterval\":[32],\"selectedRoundTo\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormRadioChanged\",\"nylasFormRadioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-buffer-time\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"buffer\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedBeforeBufferTime\":[32],\"selectedAfterBufferTime\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-notetaker-config\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"conferencing\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"enabled\":[32],\"showUiConsentMessage\":[32],\"notetakerName\":[32],\"videoRecording\":[32],\"audioRecording\":[32],\"transcription\":[32],\"summary\":[32],\"summaryCustomInstructions\":[32],\"actionItems\":[32],\"actionItemsCustomInstructions\":[32],\"validationError\":[32],\"summaryInstructionsError\":[32],\"actionItemsInstructionsError\":[32],\"updateConferencing\":[64],\"setNotetakerEnabled\":[64],\"setNotetakerOption\":[64],\"getNotetakerState\":[64]},[[4,\"nylasFormCheckboxToggled\",\"nylasFormCheckboxToggledHandler\"],[4,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"conferencing\":[\"conferencingChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-duration\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"duration\":[32],\"durationMinutes\":[32],\"durationIncrement\":[32],\"error\":[32],\"durationMinutesOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-only-specific-time-availability\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"onlySpecificTimeAvailability\":[4,\"only-specific-time-availability\"],\"enableSpecificTimeAvailability\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"onlySpecificTimeAvailability\":[\"onlySpecificTimeAvailabilityChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"calendar-info-icon\",{\"width\":[1],\"height\":[1]}],[258,\"calendar-patterns-icon\",{\"width\":[1],\"height\":[1]}],[258,\"people-icon\",{\"width\":[1],\"height\":[1]}],[321,\"nylas-reminder-emails\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"eventReminders\":[16,\"event-reminders\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"reminders\":[32],\"reminderErrors\":[32],\"participants\":[32],\"clearError\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"],[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-specific-time-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"selectedLanguage\":[1,\"selected-language\"],\"specificTimesAvailability\":[16,\"specific-times-availability\"],\"themeConfig\":[16,\"theme-config\"],\"hideHeader\":[4,\"hide-header\"],\"defaultTimezone\":[1,\"default-timezone\"],\"specificDateEntries\":[32],\"validationErrors\":[32],\"timezone\":[32]},[[0,\"timeChange\",\"handleTimeChange\"],[0,\"timeWindowFormError\",\"setFormError\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputChanged\",\"handleFormInputChange\"]],{\"name\":[\"elementNameChangedHandler\"],\"defaultTimezone\":[\"defaultTimezoneChanged\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-confirmation-email\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"confirmationEmailTemplate\":[16,\"confirmation-email-template\"],\"participants\":[16],\"name\":[1],\"nylasBranding\":[4,\"nylas-branding\"],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-form-config\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"additionalFields\":[16,\"additional-fields\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16,\"selected-configuration\"],\"openHours\":[16,\"open-hours\"],\"defaultTimezone\":[1,\"default-timezone\"],\"hideHeader\":[4,\"hide-header\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"schedule\":[32],\"timezone\":[32],\"overlapDays\":[32],\"timeWindowErrors\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"timeChange\",\"setTime\"],[0,\"timeWindowFormError\",\"setFormError\"]],{\"name\":[\"elementNameChangedHandler\"],\"defaultTimezone\":[\"defaultTimezoneChanged\"],\"openHours\":[\"openHoursChanged\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-disable-emails\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"organizerLocale\":[32],\"disableEmails\":[32]},[[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-min-booking-notice\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"minBookingNotice\":[2,\"min-booking-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-min-cancellation-notice\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"minCancellationNotice\":[2,\"min-cancellation-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-confirmation-redirect\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"redirectUrl\":[1,\"redirect-url\"],\"redirectUrlErrorMessage\":[1,\"redirect-url-error-message\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-custom-event-slug\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"defaultUrlSlug\":[1,\"default-url-slug\"],\"isOpen\":[4,\"is-open\"],\"slugErrorMessage\":[1,\"slug-error-message\"],\"name\":[1],\"requiresSlug\":[4,\"requires-slug\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-scheduling-method\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"participantOptions\":[16,\"participant-options\"],\"readOnly\":[4,\"read-only\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"showSubTitle\":[4,\"show-sub-title\"],\"selectedBookingType\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-calendar-picker\",{\"calendars\":[16],\"currentUser\":[16,\"current-user\"],\"currentUserCalendars\":[16,\"current-user-calendars\"],\"name\":[1],\"defaultBookingCalendar\":[1,\"default-booking-calendar\"],\"hideHeader\":[4,\"hide-header\"],\"expressFlow\":[4,\"express-flow\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendar\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUserCalendars\":[\"currentUserCalendarsChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-booking-confirmation-type\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"bookingType\":[1,\"booking-type\"],\"showComponent\":[4,\"show-component\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedBookingType\":[32],\"showDropdown\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-calendar-picker\",{\"name\":[1],\"currentUser\":[16,\"current-user\"],\"calendars\":[16],\"defaultSelectedCalendars\":[16,\"default-selected-calendars\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"selectedCalendars\":[32],\"error\":[32]},[[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-page-name\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"pageName\":[1,\"page-name\"],\"showToggle\":[4,\"show-toggle\"],\"isOpen\":[4,\"is-open\"],\"required\":[4],\"themeConfig\":[16,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"requirePageName\":[4,\"require-page-name\"],\"currentPageName\":[32],\"pageNameErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-customize-booking-settings\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"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,\"show-settings\"],\"themeConfig\":[16,\"theme-config\"],\"allowGuestsToInvite\":[32],\"hideCancellationOptions\":[32],\"hideReschedulingOptions\":[32]},[[0,\"nylasFormCheckboxToggled\",\"nylasFormCheckboxToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-cancellation-policy\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"cancellationPolicy\":[1,\"cancellation-policy\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"message\":[32]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-page-styling\",{\"selectedConfiguration\":[16,\"selected-configuration\"],\"name\":[1],\"appearance\":[16],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"],\"currentAppearance\":[32],\"customInputsSlot\":[32]},[[4,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[4,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"],[4,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[4,\"nylasFormRadioChanged\",\"radioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[321,\"nylas-custom-booking-flow\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[321,\"nylas-event-limits\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"calendar-agenda-fill-icon\",{\"width\":[1],\"height\":[1]}],[258,\"calendar-agenda-icon\",{\"width\":[1],\"height\":[1]}],[258,\"envelope-fill-icon\",{\"width\":[1],\"height\":[1]}],[258,\"envelope-icon\",{\"width\":[1],\"height\":[1]}],[258,\"flow-icon\",{\"width\":[1],\"height\":[1]}],[258,\"paintbrush-fill-icon\",{\"width\":[1],\"height\":[1]}],[258,\"paintbrush-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-logo-icon_6.cjs\",[[262,\"nylas-editor-tabs\",{\"calendars\":[16],\"selectedConfiguration\":[16,\"selected-configuration\"],\"configurations\":[16],\"currentUser\":[16,\"current-user\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16,\"hide-editor-tabs\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"enableNotetaker\":[4,\"enable-notetaker\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"themeConfig\":[16,\"theme-config\"],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"loaded\":[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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[262,\"nylas-editor-tabs-group\",{\"calendars\":[16],\"selectedConfiguration\":[16,\"selected-configuration\"],\"configurations\":[16],\"currentUser\":[16,\"current-user\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16,\"hide-editor-tabs\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"selectedGroupEvent\":[16,\"selected-group-event\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"nylas-list-configurations\",{\"configurations\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"listConfigurationsNextCursor\":[1,\"list-configurations-next-cursor\"],\"themeConfig\":[16,\"theme-config\"],\"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\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[257,\"nylas-select-event-type\",{\"participantOptions\":[16,\"participant-options\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"enableEventTypes\":[16,\"enable-event-types\"],\"themeConfig\":[16,\"theme-config\"]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[258,\"google-logo-icon\",{\"width\":[1],\"height\":[1]}],[258,\"microsoft-logo-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-booked-event-card_11.cjs\",[[257,\"nylas-booking-form\",{\"isLoading\":[4,\"is-loading\"],\"bookingInfo\":[16,\"booking-info\"],\"eventInfo\":[16,\"event-info\"],\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"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\"]}],[257,\"nylas-cancel-booking-form\",{\"cancelBookingId\":[1,\"cancel-booking-id\"],\"rejectBookingId\":[1,\"reject-booking-id\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"configSettings\":[16,\"config-settings\"],\"eventInfo\":[16,\"event-info\"],\"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\"]}],[257,\"nylas-booked-event-card\",{\"eventInfo\":[16,\"event-info\"],\"rescheduleBookingId\":[1,\"reschedule-booking-id\"],\"bookingInfo\":[16,\"booking-info\"],\"configSettings\":[16,\"config-settings\"],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[257,\"nylas-locale-switch\",{\"themeConfig\":[8,\"theme-config\"],\"bookingInfo\":[16,\"booking-info\"],\"selectedTimezone\":[1025,\"selected-timezone\"],\"selectedLanguage\":[1025,\"selected-language\"],\"searchPlaceholder\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"themeConfig\":[\"themeConfigChanged\"],\"bookingInfo\":[\"bookingInfoChangedHandler\"]}],[257,\"nylas-cancelled-event-card\",{\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancelledEventInfo\":[16,\"cancelled-event-info\"],\"isClosing\":[32]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[257,\"nylas-confirmed-event-card\",{\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmedEventInfo\":[16,\"confirmed-event-info\"],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[257,\"nylas-date-picker\",{\"selectableDates\":[16,\"selectable-dates\"],\"configSettings\":[16,\"config-settings\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16,\"selected-date\"],\"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\"]}],[257,\"nylas-organizer-confirmation-card\",{\"configSettings\":[16,\"config-settings\"],\"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\"]}],[257,\"nylas-selected-event-card\",{\"themeConfig\":[8,\"theme-config\"],\"selectedDate\":[16,\"selected-date\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedTimeslot\":[\"selectedTimeslotChangedHandler\"],\"selectedTimezone\":[\"selectedTimezoneChangedHandler\"],\"hour12\":[\"hour12ChangedHandler\"]}],[257,\"nylas-timeslot-picker\",{\"availability\":[16],\"isLoading\":[4,\"loading-state\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16,\"selected-timeslot\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16,\"selected-date\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"times\":[32],\"hoveredTimeslotIndex\":[32],\"selectedTimeslotIndex\":[32],\"emitValidateTimeslotError\":[64]},null,{\"selectedLanguage\":[\"selectedLanguageChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"availability\":[\"availabilityChanged\"],\"selectedTimezone\":[\"selectedTimezoneChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}],[258,\"nylas-logo\",{\"width\":[1],\"height\":[1]}]]]]"), options);
22
22
  });
23
23
 
24
24
  exports.setNonce = index.setNonce;
@@ -3,11 +3,11 @@
3
3
  var u = /* @__PURE__ */ ((r) => (r.Error = "error", r.Warning = "warning", r.Info = "info", r.Success = "success", r))(u || {});
4
4
  const o = (r) => r !== null && typeof r == "object" && "error" in r;
5
5
 
6
- const version = '2.3.0';
6
+ const version = '2.3.1-canary-20260108155205';
7
7
 
8
8
  exports.o = o;
9
9
  exports.u = u;
10
10
  exports.version = version;
11
- //# sourceMappingURL=version-DOUE1CF3.js.map
11
+ //# sourceMappingURL=version-BIKhGgjH.js.map
12
12
 
13
- //# sourceMappingURL=version-DOUE1CF3.js.map
13
+ //# sourceMappingURL=version-BIKhGgjH.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version-DOUE1CF3.js","sources":["../nylas-js-core/dist/index.es.js","src/version.ts"],"sourcesContent":["var t = Object.defineProperty;\nvar c = (r, n, s) => n in r ? t(r, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[n] = s;\nvar a = (r, n, s) => (c(r, typeof n != \"symbol\" ? n + \"\" : n, s), s);\nvar u = /* @__PURE__ */ ((r) => (r.Error = \"error\", r.Warning = \"warning\", r.Info = \"info\", r.Success = \"success\", r))(u || {});\nconst e = (r) => r !== null && typeof r == \"object\" && \"data\" in r, o = (r) => r !== null && typeof r == \"object\" && \"error\" in r;\nclass E extends Error {\n constructor(s) {\n super(s == null ? void 0 : s.message);\n a(this, \"apiError\");\n this.name = \"NylasAPIError\", this.stack = new Error().stack, this.apiError = s;\n }\n}\nexport {\n u as NotificationType,\n E as NylasAPIError,\n o as isNylasErrorResponse,\n e as isNylasSuccessResponse\n};\n","export const version = '2.3.0';\n"],"names":[],"mappings":";;AAGG,IAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,GAAG,OAAO,EAAE,CAAC,CAAC,OAAO,GAAG,SAAS,EAAE,CAAC,CAAC,IAAI,GAAG,MAAM,EAAE,CAAC,CAAC,OAAO,GAAG,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE;AACzH,MAA+D,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,OAAO,CAAC,IAAI,QAAQ,IAAI,OAAO,IAAI;;ACJzH,MAAM,OAAO,GAAG;;;;;;"}
1
+ {"version":3,"file":"version-BIKhGgjH.js","sources":["../nylas-js-core/dist/index.es.js","src/version.ts"],"sourcesContent":["var t = Object.defineProperty;\nvar c = (r, n, s) => n in r ? t(r, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[n] = s;\nvar a = (r, n, s) => (c(r, typeof n != \"symbol\" ? n + \"\" : n, s), s);\nvar u = /* @__PURE__ */ ((r) => (r.Error = \"error\", r.Warning = \"warning\", r.Info = \"info\", r.Success = \"success\", r))(u || {});\nconst e = (r) => r !== null && typeof r == \"object\" && \"data\" in r, o = (r) => r !== null && typeof r == \"object\" && \"error\" in r;\nclass E extends Error {\n constructor(s) {\n super(s == null ? void 0 : s.message);\n a(this, \"apiError\");\n this.name = \"NylasAPIError\", this.stack = new Error().stack, this.apiError = s;\n }\n}\nexport {\n u as NotificationType,\n E as NylasAPIError,\n o as isNylasErrorResponse,\n e as isNylasSuccessResponse\n};\n","export const version = '2.3.1-canary-20260108155205';\n"],"names":[],"mappings":";;AAGG,IAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,GAAG,OAAO,EAAE,CAAC,CAAC,OAAO,GAAG,SAAS,EAAE,CAAC,CAAC,IAAI,GAAG,MAAM,EAAE,CAAC,CAAC,OAAO,GAAG,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE;AACzH,MAA+D,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,OAAO,CAAC,IAAI,QAAQ,IAAI,OAAO,IAAI;;ACJzH,MAAM,OAAO,GAAG;;;;;;"}
@@ -58,6 +58,13 @@ export class NylasTimeslotPicker {
58
58
  this.times = availableTimes || [];
59
59
  }
60
60
  }
61
+ selectedTimezoneChanged(newTimezone) {
62
+ debug(`[nylas-timeslot-picker] Selected timezone changed`, { newTimezone, selectedDate: this.selectedDate });
63
+ if (this.selectedDate && this.availability) {
64
+ const availableTimes = this.availability?.filter(timeslot => isSameDayTimezone(timeslot.start_time, this.selectedDate, newTimezone)).map(timeslot => timeslot);
65
+ this.times = availableTimes || [];
66
+ }
67
+ }
61
68
  themeConfigChanged(newThemeConfig) {
62
69
  this.applyThemeConfig(newThemeConfig);
63
70
  }
@@ -451,6 +458,9 @@ export class NylasTimeslotPicker {
451
458
  }, {
452
459
  "propName": "availability",
453
460
  "methodName": "availabilityChanged"
461
+ }, {
462
+ "propName": "selectedTimezone",
463
+ "methodName": "selectedTimezoneChanged"
454
464
  }, {
455
465
  "propName": "themeConfig",
456
466
  "methodName": "themeConfigChanged"
@@ -1 +1 @@
1
- {"version":3,"file":"nylas-timeslot-picker.js","sourceRoot":"","sources":["../../../../../src/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EA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CAAC;wBAChG,IAAI,YAAY,KAAK,eAAe,EAAE,CAAC;4BACrC,IAAI,CAAC,yBAAyB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;wBACvD,CAAC;6BAAM,CAAC;4BACN,IAAI,CAAC,yBAAyB,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;wBACxD,CAAC;oBACH,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,uBAAuB,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC;YACH,CAAC;YACD,qBAAqB,EAAE,KAAK,EAAE,KAAqC,EAAE,wBAAiD,EAAE,EAAE;gBACxH,KAAK,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YACxE,CAAC;SACF;QACD,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;iDAiFD","sourcesContent":["import { RegisterComponent } from '@/common/register-component';\nimport { debug, isSameDayTimezone } from '@/utils/utils';\nimport { Component, Element, Event, EventEmitter, Host, Method, Prop, State, Watch, h } from '@stencil/core';\nimport { NylasSchedulerConnector } from '../../..';\nimport { NylasScheduling } from '../nylas-scheduling/nylas-scheduling';\nimport { AvailabilityTimeslot } from '@/stores/scheduler-store';\nimport type { ThemeConfig, Timeslot } from '@nylas/core';\nimport i18next from '@/utils/i18n';\nimport { LANGUAGE_CODE, LANGUAGE_CODE_TO_LOCALE_MAP } from '@/common/constants';\n\n/**\n * The `nylas-timeslot-picker` component is a UI component that allows users to select a timeslot from a list of available timeslots.\n *\n * @slot timeslot-picker-cta-label - The label for the timeslot picker CTA. Default is \"Next\".\n * @part ntp - The timeslot picker component.\n * @part ntp__timeslot - The timeslot button.\n * @part ntp__timeslot--selected - The selected timeslot button.\n * @part ntp__button-primary - The timeslot picker CTA.\n * @part ntp__time-picker-wrapper - The timeslot picker wrapper.\n * @part ntp__timeslots - The timeslot picker timeslots.\n */\n@Component({\n tag: 'nylas-timeslot-picker',\n styleUrl: 'nylas-timeslot-picker.scss',\n shadow: true,\n})\nexport class NylasTimeslotPicker {\n /**\n * The host element.\n * Used to manage the host element of the provider.\n */\n @Element() private host!: HTMLNylasTimeslotPickerElement;\n /**\n * @standalone\n * The available timeslots.\n */\n @Prop({ attribute: 'availability' }) readonly availability?: AvailabilityTimeslot[];\n /**\n * @standalone\n * The loading state prop. Used to display loading state when fetching availability.\n */\n @Prop({ attribute: 'loading-state' }) readonly isLoading?: boolean;\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: any;\n /**\n * The selected timeslot.\n */\n @Prop({ attribute: 'selected-timeslot' }) readonly selectedTimeslot?: Timeslot;\n /**\n * The selected timezone.\n */\n @Prop({ attribute: 'selected-timezone' }) readonly selectedTimezone: string = Intl.DateTimeFormat().resolvedOptions().timeZone;\n /**\n * The selected date.\n */\n @Prop({ attribute: 'selected-date' }) readonly selectedDate?: Date = new Date();\n /**\n * The selected language.\n */\n @Prop() selectedLanguage?: string;\n /**\n * The 12-hour time format.\n */\n @Prop() hour12?: boolean;\n\n /**\n * This event is fired when a timeslot is selected.\n */\n @Event() readonly timeslotSelected!: EventEmitter<Timeslot>;\n /**\n * This event is fired when a timeslot is confirmed. By default, this will proceed to the booking form page.\n */\n @Event() readonly timeslotConfirmed!: EventEmitter<{ timeslot: Timeslot; host: HTMLNylasTimeslotPickerElement }>;\n\n @Event() readonly validateTimeslotError!: EventEmitter<{ error: string; type: 'error' | 'info' }>;\n\n @State() times: AvailabilityTimeslot[] = [];\n @State() hoveredTimeslotIndex?: number;\n @State() selectedTimeslotIndex?: string;\n\n @Watch('selectedLanguage')\n selectedLanguageChanged(newLanguage: LANGUAGE_CODE) {\n i18next.changeLanguage(newLanguage);\n }\n\n @Watch('selectedDate')\n selectedDateChanged(newVal: Date | null | undefined) {\n debug(`[nylas-timeslot-picker] Selected date changed`, { newVal });\n\n if (newVal) {\n this.selectedTimeslotIndex = '';\n if (typeof newVal !== 'undefined') {\n const availableTimes = this.availability?.filter(timeslot => isSameDayTimezone(timeslot.start_time, newVal, this.selectedTimezone)).map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n }\n }\n\n @Watch('availability')\n availabilityChanged(newVal: AvailabilityTimeslot[] | undefined) {\n debug(`[nylas-timeslot-picker] Available times changed`, { newVal, selectedDate: this.selectedDate });\n if (typeof newVal !== 'undefined') {\n const availableTimes = newVal\n ?.filter(timeslot => this.selectedDate && isSameDayTimezone(timeslot.start_time, this.selectedDate, this.selectedTimezone))\n .map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n }\n\n @Watch('themeConfig')\n themeConfigChanged(newThemeConfig: ThemeConfig) {\n this.applyThemeConfig(newThemeConfig);\n }\n\n connectedCallback() {\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {}\n\n async componentWillLoad() {\n debug(`[nylas-timeslot-picker] Component will load`, { selectedDate: this.selectedDate, availability: this.availability, times: this.times });\n }\n\n async componentDidLoad() {\n debug(`[nylas-timeslot-picker] Component did load`);\n const availableTimes = this.availability\n ?.filter(timeslot => this.selectedDate && isSameDayTimezone(timeslot.start_time, this.selectedDate, this.selectedTimezone))\n .map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n }\n }\n }\n\n private getTimeslotId(timeslot: Timeslot, index: number) {\n const date = new Date(timeslot.start_time);\n const eventId = timeslot.event_id;\n return `${date.toLocaleDateString()}-${index}${eventId ? `-${eventId}` : ''}`;\n }\n\n private onClickSelectTime(timeslot: Timeslot, index: number) {\n debug(`[nylas-timeslot-picker] Time selected`, timeslot, index);\n this.selectedTimeslotIndex = this.getTimeslotId(timeslot, index);\n this.timeslotSelected.emit({\n start_time: timeslot.start_time,\n end_time: timeslot.end_time,\n emails: timeslot.emails,\n capacity: timeslot?.capacity,\n event_id: timeslot?.event_id,\n master_id: timeslot?.master_id,\n calendar_id: timeslot?.calendar_id,\n });\n }\n\n private handleConfirmedTimeslot = async (event: Event, timeslot: Timeslot | undefined) => {\n event.preventDefault();\n debug(`[nylas-timeslot-picker] Confirm timeslot`, timeslot);\n if (timeslot) {\n this.timeslotConfirmed.emit({ timeslot, host: this.host });\n }\n };\n\n @Method()\n async emitValidateTimeslotError(error: string, type: 'error' | 'info') {\n this.validateTimeslotError.emit({ error, type });\n }\n\n private handleMouseEnter = (index: number) => {\n this.hoveredTimeslotIndex = index;\n };\n\n private handleMouseLeave = () => {\n this.hoveredTimeslotIndex = -1;\n };\n\n private getTimeSlotLabel(timeslot: Timeslot) {\n const locale = LANGUAGE_CODE_TO_LOCALE_MAP[this.selectedLanguage || 'en'];\n const timeFormat = new Intl.DateTimeFormat(locale, {\n hour: '2-digit',\n minute: '2-digit',\n timeZone: this.selectedTimezone,\n hour12: this.hour12,\n });\n return `${timeFormat.format(timeslot.start_time)} - ${timeFormat.format(timeslot.end_time)}`;\n }\n\n @RegisterComponent<NylasTimeslotPicker, NylasSchedulerConnector, Exclude<NylasScheduling['stores'], undefined>>({\n name: 'nylas-timeslot-picker',\n stateToProps: new Map([\n ['scheduler.selectedDate', 'selectedDate'],\n ['scheduler.availability', 'availability'],\n ['scheduler.selectedTimeslot', 'selectedTimeslot'],\n ['scheduler.selectedTimezone', 'selectedTimezone'],\n ['scheduler.selectedLanguage', 'selectedLanguage'],\n ['scheduler.isLoading', 'isLoading'],\n ['scheduler.themeConfig', 'themeConfig'],\n ['scheduler.hour12', 'hour12'],\n ]),\n eventToProps: {\n timeslotSelected: async (event: CustomEvent<Timeslot>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-timeslot-picker', 'timeslotSelected', event.detail);\n nylasSchedulerConnector.scheduler.selectTime(event.detail);\n },\n timeslotConfirmed: async (event: CustomEvent<{ timeslot: Timeslot; host: HTMLNylasTimeslotPickerElement }>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-timeslot-picker', 'timeslotConfirmed', event.detail);\n const { timeslot, host } = event.detail;\n if (timeslot && timeslot?.event_id && timeslot?.capacity) {\n const result = await nylasSchedulerConnector.scheduler.validateGroupEventTimeslot(timeslot);\n if (result && 'error' in result) {\n const errorMessage = result.error?.message || 'An error occurred while validating the timeslot';\n if (errorMessage === 'Event is full') {\n host.emitValidateTimeslotError(errorMessage, 'info');\n } else {\n host.emitValidateTimeslotError(errorMessage, 'error');\n }\n }\n } else {\n nylasSchedulerConnector.scheduler.toggleAdditionalData(true);\n }\n },\n validateTimeslotError: async (event: CustomEvent<{ error: string }>, _nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-timeslot-picker', 'validateTimeslotError', event.detail);\n },\n },\n fireRegisterEvent: true,\n })\n render() {\n const locale = LANGUAGE_CODE_TO_LOCALE_MAP[this.selectedLanguage || 'en'];\n if (this.isLoading) {\n return (\n <Host>\n <div class={'loading'}>\n {new Array(6).fill(0).map((_, i) => (\n <div class={'timeslot-skeleton'} style={{ animationDelay: `${i * 20}ms` }} />\n ))}\n </div>\n </Host>\n );\n }\n\n if (this.availability && this.availability.length === 0) {\n return (\n <Host>\n <div class={'empty'}>\n <span>No dates available</span>\n </div>\n </Host>\n );\n }\n\n const filteredTimes = this.times.filter(timeslot => {\n const groupEvent = timeslot?.event_id || timeslot?.master_id;\n const showCapacity = typeof timeslot?.capacity === 'number' && timeslot?.capacity > 0;\n return !(groupEvent && !showCapacity);\n });\n\n if ((!this.times || this.times.length === 0 || filteredTimes.length === 0) && !!this.selectedDate) {\n return (\n <Host>\n <div class={'empty'}>\n <span>No time slots available for selected date</span>\n </div>\n </Host>\n );\n }\n\n if (!this.selectedDate) return <Host></Host>;\n\n return (\n <Host part=\"ntp\">\n <div class={'time-picker-wrapper'} part=\"ntp__time-picker-wrapper\">\n <div class={'timeslots'} part=\"ntp__timeslots\">\n {filteredTimes.map((timeslot, index) => {\n const showCapacity = typeof timeslot?.capacity === 'number' && timeslot?.capacity > 0;\n const isSelected = this.selectedTimeslotIndex == this.getTimeslotId(timeslot, index);\n return (\n <button\n part={`ntp__timeslot ${this.selectedTimeslot?.start_time?.getTime() === timeslot.start_time.getTime() ? 'ntp__timeslot--selected' : ''}`}\n class={{\n time: true,\n selected: typeof this.selectedTimeslot !== 'undefined' && isSelected,\n }}\n onClick={() => this.onClickSelectTime(timeslot, index)}\n onMouseEnter={() => this.handleMouseEnter(index)}\n onMouseLeave={() => this.handleMouseLeave()}\n >\n <div class=\"time-label\" part=\"ntp__time-label\">\n {this.hoveredTimeslotIndex == index || isSelected\n ? this.getTimeSlotLabel(timeslot)\n : timeslot.start_time.toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit', timeZone: this.selectedTimezone, hour12: this.hour12 })}\n <span class=\"spots\">{showCapacity ? i18next.t('spotsLeft', { count: timeslot?.capacity }) : null}</span>\n </div>\n </button>\n );\n })}\n </div>\n {this.selectedTimeslot && (\n <div class={'footer'}>\n <button-component variant={'primary'} onClick={(event: Event) => this.handleConfirmedTimeslot(event, this.selectedTimeslot)} part=\"ntp__button-primary\">\n <slot name=\"timeslot-picker-cta-label\">{i18next.t('nextButton')}</slot>\n </button-component>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"nylas-timeslot-picker.js","sourceRoot":"","sources":["../../../../../src/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,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gBAClE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;gBACxC,IAAI,QAAQ,IAAI,QAAQ,EAAE,QAAQ,IAAI,QAAQ,EAAE,QAAQ,EAAE,CAAC;oBACzD,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,SAAS,CAAC,0BAA0B,CAAC,QAAQ,CAAC,CAAC;oBAC5F,IAAI,MAAM,IAAI,OAAO,IAAI,MAAM,EAAE,CAAC;wBAChC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,EAAE,OAAO,IAAI,iDAAiD,CAAC;wBAChG,IAAI,YAAY,KAAK,eAAe,EAAE,CAAC;4BACrC,IAAI,CAAC,yBAAyB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;wBACvD,CAAC;6BAAM,CAAC;4BACN,IAAI,CAAC,yBAAyB,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;wBACxD,CAAC;oBACH,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,uBAAuB,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC;YACH,CAAC;YACD,qBAAqB,EAAE,KAAK,EAAE,KAAqC,EAAE,wBAAiD,EAAE,EAAE;gBACxH,KAAK,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YACxE,CAAC;SACF;QACD,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;iDAiFD","sourcesContent":["import { RegisterComponent } from '@/common/register-component';\nimport { debug, isSameDayTimezone } from '@/utils/utils';\nimport { Component, Element, Event, EventEmitter, Host, Method, Prop, State, Watch, h } from '@stencil/core';\nimport { NylasSchedulerConnector } from '../../..';\nimport { NylasScheduling } from '../nylas-scheduling/nylas-scheduling';\nimport { AvailabilityTimeslot } from '@/stores/scheduler-store';\nimport type { ThemeConfig, Timeslot } from '@nylas/core';\nimport i18next from '@/utils/i18n';\nimport { LANGUAGE_CODE, LANGUAGE_CODE_TO_LOCALE_MAP } from '@/common/constants';\n\n/**\n * The `nylas-timeslot-picker` component is a UI component that allows users to select a timeslot from a list of available timeslots.\n *\n * @slot timeslot-picker-cta-label - The label for the timeslot picker CTA. Default is \"Next\".\n * @part ntp - The timeslot picker component.\n * @part ntp__timeslot - The timeslot button.\n * @part ntp__timeslot--selected - The selected timeslot button.\n * @part ntp__button-primary - The timeslot picker CTA.\n * @part ntp__time-picker-wrapper - The timeslot picker wrapper.\n * @part ntp__timeslots - The timeslot picker timeslots.\n */\n@Component({\n tag: 'nylas-timeslot-picker',\n styleUrl: 'nylas-timeslot-picker.scss',\n shadow: true,\n})\nexport class NylasTimeslotPicker {\n /**\n * The host element.\n * Used to manage the host element of the provider.\n */\n @Element() private host!: HTMLNylasTimeslotPickerElement;\n /**\n * @standalone\n * The available timeslots.\n */\n @Prop({ attribute: 'availability' }) readonly availability?: AvailabilityTimeslot[];\n /**\n * @standalone\n * The loading state prop. Used to display loading state when fetching availability.\n */\n @Prop({ attribute: 'loading-state' }) readonly isLoading?: boolean;\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: any;\n /**\n * The selected timeslot.\n */\n @Prop({ attribute: 'selected-timeslot' }) readonly selectedTimeslot?: Timeslot;\n /**\n * The selected timezone.\n */\n @Prop({ attribute: 'selected-timezone' }) readonly selectedTimezone: string = Intl.DateTimeFormat().resolvedOptions().timeZone;\n /**\n * The selected date.\n */\n @Prop({ attribute: 'selected-date' }) readonly selectedDate?: Date = new Date();\n /**\n * The selected language.\n */\n @Prop() selectedLanguage?: string;\n /**\n * The 12-hour time format.\n */\n @Prop() hour12?: boolean;\n\n /**\n * This event is fired when a timeslot is selected.\n */\n @Event() readonly timeslotSelected!: EventEmitter<Timeslot>;\n /**\n * This event is fired when a timeslot is confirmed. By default, this will proceed to the booking form page.\n */\n @Event() readonly timeslotConfirmed!: EventEmitter<{ timeslot: Timeslot; host: HTMLNylasTimeslotPickerElement }>;\n\n @Event() readonly validateTimeslotError!: EventEmitter<{ error: string; type: 'error' | 'info' }>;\n\n @State() times: AvailabilityTimeslot[] = [];\n @State() hoveredTimeslotIndex?: number;\n @State() selectedTimeslotIndex?: string;\n\n @Watch('selectedLanguage')\n selectedLanguageChanged(newLanguage: LANGUAGE_CODE) {\n i18next.changeLanguage(newLanguage);\n }\n\n @Watch('selectedDate')\n selectedDateChanged(newVal: Date | null | undefined) {\n debug(`[nylas-timeslot-picker] Selected date changed`, { newVal });\n\n if (newVal) {\n this.selectedTimeslotIndex = '';\n if (typeof newVal !== 'undefined') {\n const availableTimes = this.availability?.filter(timeslot => isSameDayTimezone(timeslot.start_time, newVal, this.selectedTimezone)).map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n }\n }\n\n @Watch('availability')\n availabilityChanged(newVal: AvailabilityTimeslot[] | undefined) {\n debug(`[nylas-timeslot-picker] Available times changed`, { newVal, selectedDate: this.selectedDate });\n if (typeof newVal !== 'undefined') {\n const availableTimes = newVal\n ?.filter(timeslot => this.selectedDate && isSameDayTimezone(timeslot.start_time, this.selectedDate, this.selectedTimezone))\n .map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n }\n\n @Watch('selectedTimezone')\n selectedTimezoneChanged(newTimezone: string) {\n debug(`[nylas-timeslot-picker] Selected timezone changed`, { newTimezone, selectedDate: this.selectedDate });\n // Recalculate times when timezone changes because a timeslot that was on\n // \"January 7th in UTC\" might be on \"January 8th in Tokyo timezone\"\n if (this.selectedDate && this.availability) {\n const availableTimes = this.availability?.filter(timeslot => isSameDayTimezone(timeslot.start_time, this.selectedDate!, newTimezone)).map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n }\n\n @Watch('themeConfig')\n themeConfigChanged(newThemeConfig: ThemeConfig) {\n this.applyThemeConfig(newThemeConfig);\n }\n\n connectedCallback() {\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {}\n\n async componentWillLoad() {\n debug(`[nylas-timeslot-picker] Component will load`, { selectedDate: this.selectedDate, availability: this.availability, times: this.times });\n }\n\n async componentDidLoad() {\n debug(`[nylas-timeslot-picker] Component did load`);\n const availableTimes = this.availability\n ?.filter(timeslot => this.selectedDate && isSameDayTimezone(timeslot.start_time, this.selectedDate, this.selectedTimezone))\n .map(timeslot => timeslot);\n this.times = availableTimes || [];\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n }\n }\n }\n\n private getTimeslotId(timeslot: Timeslot, index: number) {\n const date = new Date(timeslot.start_time);\n const eventId = timeslot.event_id;\n return `${date.toLocaleDateString()}-${index}${eventId ? `-${eventId}` : ''}`;\n }\n\n private onClickSelectTime(timeslot: Timeslot, index: number) {\n debug(`[nylas-timeslot-picker] Time selected`, timeslot, index);\n this.selectedTimeslotIndex = this.getTimeslotId(timeslot, index);\n this.timeslotSelected.emit({\n start_time: timeslot.start_time,\n end_time: timeslot.end_time,\n emails: timeslot.emails,\n capacity: timeslot?.capacity,\n event_id: timeslot?.event_id,\n master_id: timeslot?.master_id,\n calendar_id: timeslot?.calendar_id,\n });\n }\n\n private handleConfirmedTimeslot = async (event: Event, timeslot: Timeslot | undefined) => {\n event.preventDefault();\n debug(`[nylas-timeslot-picker] Confirm timeslot`, timeslot);\n if (timeslot) {\n this.timeslotConfirmed.emit({ timeslot, host: this.host });\n }\n };\n\n @Method()\n async emitValidateTimeslotError(error: string, type: 'error' | 'info') {\n this.validateTimeslotError.emit({ error, type });\n }\n\n private handleMouseEnter = (index: number) => {\n this.hoveredTimeslotIndex = index;\n };\n\n private handleMouseLeave = () => {\n this.hoveredTimeslotIndex = -1;\n };\n\n private getTimeSlotLabel(timeslot: Timeslot) {\n const locale = LANGUAGE_CODE_TO_LOCALE_MAP[this.selectedLanguage || 'en'];\n const timeFormat = new Intl.DateTimeFormat(locale, {\n hour: '2-digit',\n minute: '2-digit',\n timeZone: this.selectedTimezone,\n hour12: this.hour12,\n });\n return `${timeFormat.format(timeslot.start_time)} - ${timeFormat.format(timeslot.end_time)}`;\n }\n\n @RegisterComponent<NylasTimeslotPicker, NylasSchedulerConnector, Exclude<NylasScheduling['stores'], undefined>>({\n name: 'nylas-timeslot-picker',\n stateToProps: new Map([\n ['scheduler.selectedDate', 'selectedDate'],\n ['scheduler.availability', 'availability'],\n ['scheduler.selectedTimeslot', 'selectedTimeslot'],\n ['scheduler.selectedTimezone', 'selectedTimezone'],\n ['scheduler.selectedLanguage', 'selectedLanguage'],\n ['scheduler.isLoading', 'isLoading'],\n ['scheduler.themeConfig', 'themeConfig'],\n ['scheduler.hour12', 'hour12'],\n ]),\n eventToProps: {\n timeslotSelected: async (event: CustomEvent<Timeslot>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-timeslot-picker', 'timeslotSelected', event.detail);\n nylasSchedulerConnector.scheduler.selectTime(event.detail);\n },\n timeslotConfirmed: async (event: CustomEvent<{ timeslot: Timeslot; host: HTMLNylasTimeslotPickerElement }>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-timeslot-picker', 'timeslotConfirmed', event.detail);\n const { timeslot, host } = event.detail;\n if (timeslot && timeslot?.event_id && timeslot?.capacity) {\n const result = await nylasSchedulerConnector.scheduler.validateGroupEventTimeslot(timeslot);\n if (result && 'error' in result) {\n const errorMessage = result.error?.message || 'An error occurred while validating the timeslot';\n if (errorMessage === 'Event is full') {\n host.emitValidateTimeslotError(errorMessage, 'info');\n } else {\n host.emitValidateTimeslotError(errorMessage, 'error');\n }\n }\n } else {\n nylasSchedulerConnector.scheduler.toggleAdditionalData(true);\n }\n },\n validateTimeslotError: async (event: CustomEvent<{ error: string }>, _nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-timeslot-picker', 'validateTimeslotError', event.detail);\n },\n },\n fireRegisterEvent: true,\n })\n render() {\n const locale = LANGUAGE_CODE_TO_LOCALE_MAP[this.selectedLanguage || 'en'];\n if (this.isLoading) {\n return (\n <Host>\n <div class={'loading'}>\n {new Array(6).fill(0).map((_, i) => (\n <div class={'timeslot-skeleton'} style={{ animationDelay: `${i * 20}ms` }} />\n ))}\n </div>\n </Host>\n );\n }\n\n if (this.availability && this.availability.length === 0) {\n return (\n <Host>\n <div class={'empty'}>\n <span>No dates available</span>\n </div>\n </Host>\n );\n }\n\n const filteredTimes = this.times.filter(timeslot => {\n const groupEvent = timeslot?.event_id || timeslot?.master_id;\n const showCapacity = typeof timeslot?.capacity === 'number' && timeslot?.capacity > 0;\n return !(groupEvent && !showCapacity);\n });\n\n if ((!this.times || this.times.length === 0 || filteredTimes.length === 0) && !!this.selectedDate) {\n return (\n <Host>\n <div class={'empty'}>\n <span>No time slots available for selected date</span>\n </div>\n </Host>\n );\n }\n\n if (!this.selectedDate) return <Host></Host>;\n\n return (\n <Host part=\"ntp\">\n <div class={'time-picker-wrapper'} part=\"ntp__time-picker-wrapper\">\n <div class={'timeslots'} part=\"ntp__timeslots\">\n {filteredTimes.map((timeslot, index) => {\n const showCapacity = typeof timeslot?.capacity === 'number' && timeslot?.capacity > 0;\n const isSelected = this.selectedTimeslotIndex == this.getTimeslotId(timeslot, index);\n return (\n <button\n part={`ntp__timeslot ${this.selectedTimeslot?.start_time?.getTime() === timeslot.start_time.getTime() ? 'ntp__timeslot--selected' : ''}`}\n class={{\n time: true,\n selected: typeof this.selectedTimeslot !== 'undefined' && isSelected,\n }}\n onClick={() => this.onClickSelectTime(timeslot, index)}\n onMouseEnter={() => this.handleMouseEnter(index)}\n onMouseLeave={() => this.handleMouseLeave()}\n >\n <div class=\"time-label\" part=\"ntp__time-label\">\n {this.hoveredTimeslotIndex == index || isSelected\n ? this.getTimeSlotLabel(timeslot)\n : timeslot.start_time.toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit', timeZone: this.selectedTimezone, hour12: this.hour12 })}\n <span class=\"spots\">{showCapacity ? i18next.t('spotsLeft', { count: timeslot?.capacity }) : null}</span>\n </div>\n </button>\n );\n })}\n </div>\n {this.selectedTimeslot && (\n <div class={'footer'}>\n <button-component variant={'primary'} onClick={(event: Event) => this.handleConfirmedTimeslot(event, this.selectedTimeslot)} part=\"ntp__button-primary\">\n <slot name=\"timeslot-picker-cta-label\">{i18next.t('nextButton')}</slot>\n </button-component>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -3,6 +3,11 @@ import { addDaysToCurrentDate } from "../../../utils/utils";
3
3
  import i18next from "../../../utils/i18n";
4
4
  import { ErrorCategory } from "../../../types/index";
5
5
  import { version } from "../../../version";
6
+ import dayjs from "dayjs";
7
+ import utc from "dayjs/plugin/utc";
8
+ import timezone from "dayjs/plugin/timezone";
9
+ dayjs.extend(utc);
10
+ dayjs.extend(timezone);
6
11
  export class NylaSchedulerAPIConnector {
7
12
  constructor({ schedulerAPIURL, schedulerStore, sessionId, configId, slug, clientId }) {
8
13
  this.errors = new Errors();
@@ -66,8 +71,19 @@ export class NylaSchedulerAPIConnector {
66
71
  selectTime(time) {
67
72
  this.schedulerStore.set('selectedTimeslot', time);
68
73
  }
69
- selectTimezone(timezone) {
70
- this.schedulerStore.set('selectedTimezone', timezone);
74
+ selectTimezone(newTimezone) {
75
+ const currentTimezone = this.schedulerStore.get('selectedTimezone');
76
+ const selectedDate = this.schedulerStore.get('selectedDate');
77
+ if (selectedDate && currentTimezone && currentTimezone !== newTimezone) {
78
+ const dateInOldTimezone = dayjs(selectedDate).tz(currentTimezone);
79
+ const year = dateInOldTimezone.year();
80
+ const month = dateInOldTimezone.month();
81
+ const date = dateInOldTimezone.date();
82
+ const adjustedDate = dayjs.tz(`${year}-${String(month + 1).padStart(2, '0')}-${String(date).padStart(2, '0')} 12:00`, newTimezone);
83
+ this.schedulerStore.set('selectedDate', adjustedDate.toDate());
84
+ }
85
+ this.schedulerStore.set('selectedTimeslot', null);
86
+ this.schedulerStore.set('selectedTimezone', newTimezone);
71
87
  }
72
88
  selectLanguage(language) {
73
89
  this.schedulerStore.set('selectedLanguage', language);