@nylas/react 2.0.3 → 2.0.6

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 (148) hide show
  1. package/dist/{abstract-provider-bdb7d9b4-12a95387.cjs → abstract-provider-45ada3b4-31e3ed72.cjs} +1 -1
  2. package/dist/{abstract-provider-bdb7d9b4-22cf4a74.js → abstract-provider-45ada3b4-abd3105d.js} +1 -1
  3. package/dist/{add-circle-icon_2.entry-d56f519c.cjs → add-circle-icon_2.entry-48953f9c.cjs} +1 -1
  4. package/dist/{add-circle-icon_2.entry-0ff79148.js → add-circle-icon_2.entry-f6f8b5e5.js} +1 -1
  5. package/dist/{archive-icon.entry-aaff46ec.js → archive-icon.entry-b3a76711.js} +1 -1
  6. package/dist/{archive-icon.entry-6ab120ff.cjs → archive-icon.entry-e2880dc7.cjs} +1 -1
  7. package/dist/{arrow-icon.entry-d57cf44f.cjs → arrow-icon.entry-84d1e26c.cjs} +1 -1
  8. package/dist/{arrow-icon.entry-d8fcbc1f.js → arrow-icon.entry-9b3441aa.js} +1 -1
  9. package/dist/{bold-icon.entry-e48075a4.js → bold-icon.entry-0749a116.js} +1 -1
  10. package/dist/{bold-icon.entry-0f23543d.cjs → bold-icon.entry-e1d8ab5e.cjs} +1 -1
  11. package/dist/{button-component_2.entry-3d622397.cjs → button-component_2.entry-1a817230.cjs} +1 -1
  12. package/dist/{button-component_2.entry-5db80bec.js → button-component_2.entry-6eb55e97.js} +1 -1
  13. package/dist/calendar-agenda-fill-icon_37.entry-0ca8b9f4.cjs +6 -0
  14. package/dist/calendar-agenda-fill-icon_37.entry-4adf73a2.js +5231 -0
  15. package/dist/{calendar-cancel-icon.entry-8b43441c.js → calendar-cancel-icon.entry-2a29cb3f.js} +1 -1
  16. package/dist/{calendar-cancel-icon.entry-9546c7c3.cjs → calendar-cancel-icon.entry-e0dee585.cjs} +1 -1
  17. package/dist/{calendar-check-icon.entry-a03b249a.cjs → calendar-check-icon.entry-7f96d456.cjs} +1 -1
  18. package/dist/{calendar-check-icon.entry-4e6abda7.js → calendar-check-icon.entry-c12b63ea.js} +1 -1
  19. package/dist/{calendar-icon.entry-cd4b0ec4.cjs → calendar-icon.entry-a2d19ff2.cjs} +1 -1
  20. package/dist/{calendar-icon.entry-5b622c12.js → calendar-icon.entry-e82a5169.js} +1 -1
  21. package/dist/checkbox-component.entry-59612a67.js +52 -0
  22. package/dist/checkbox-component.entry-ddce70bc.cjs +1 -0
  23. package/dist/checkbox-group_4.entry-3311da64.cjs +28 -0
  24. package/dist/{checkbox-group_4.entry-b2a5b2b2.js → checkbox-group_4.entry-7df47ad4.js} +287 -246
  25. package/dist/{checkmark-circle-icon.entry-30582af4.js → checkmark-circle-icon.entry-677b0def.js} +1 -1
  26. package/dist/{checkmark-circle-icon.entry-9617301c.cjs → checkmark-circle-icon.entry-67df713b.cjs} +1 -1
  27. package/dist/checkmark-icon_15.entry-2121e1b7.cjs +5 -0
  28. package/dist/checkmark-icon_15.entry-9fd0ec58.js +1412 -0
  29. package/dist/chevron-icon_3.entry-1a42235c.cjs +1 -0
  30. package/dist/{chevron-icon_3.entry-517447a6.js → chevron-icon_3.entry-f0ad71d9.js} +19 -10
  31. package/dist/{clock-icon_4.entry-5351318c.cjs → clock-icon_4.entry-88822a84.cjs} +1 -1
  32. package/dist/{clock-icon_4.entry-7ea1274d.js → clock-icon_4.entry-e7472d5f.js} +1 -1
  33. package/dist/{customParseFormat-f0d21eb3-904f1e57.js → customParseFormat-eeec04f5-3ad26beb.js} +1 -1
  34. package/dist/{customParseFormat-f0d21eb3-769d6bf2.cjs → customParseFormat-eeec04f5-d5957784.cjs} +1 -1
  35. package/dist/{delete-icon.entry-64b61f5c.cjs → delete-icon.entry-3cb58910.cjs} +1 -1
  36. package/dist/{delete-icon.entry-02e44ba1.js → delete-icon.entry-813429d7.js} +1 -1
  37. package/dist/{document-refresh-icon.entry-2f599a22.cjs → document-refresh-icon.entry-ae361b0b.cjs} +1 -1
  38. package/dist/{document-refresh-icon.entry-fcaa84ad.js → document-refresh-icon.entry-c224c778.js} +1 -1
  39. package/dist/{feedbackSync-b9c9e719-b54b3268.js → feedbackSync-0ebd0eda-803c3ebe.js} +1 -1
  40. package/dist/{feedbackSync-b9c9e719-bee3fea1.cjs → feedbackSync-0ebd0eda-e12b00d5.cjs} +1 -1
  41. package/dist/{folder-icon.entry-55c123dc.cjs → folder-icon.entry-107841af.cjs} +1 -1
  42. package/dist/{folder-icon.entry-f4862c1b.js → folder-icon.entry-9c1f7c41.js} +1 -1
  43. package/dist/{forward-icon.entry-4a41e94f.js → forward-icon.entry-4ac22c16.js} +1 -1
  44. package/dist/{forward-icon.entry-82719382.cjs → forward-icon.entry-6cec1f94.cjs} +1 -1
  45. package/dist/globe-icon.entry-7798c93b.js +16 -0
  46. package/dist/globe-icon.entry-909c1382.cjs +1 -0
  47. package/dist/google-logo-icon_6.entry-1f4ad364.cjs +2 -0
  48. package/dist/{google-logo-icon_6.entry-b331ab60.js → google-logo-icon_6.entry-b198c90a.js} +332 -282
  49. package/dist/{google-meet-icon_5.entry-e3d44d56.cjs → google-meet-icon_5.entry-82d87e77.cjs} +1 -1
  50. package/dist/{google-meet-icon_5.entry-eb9f7d93.js → google-meet-icon_5.entry-fa6dc1dc.js} +1 -1
  51. package/dist/{inbox-icon.entry-a385095d.js → inbox-icon.entry-1b123e64.js} +1 -1
  52. package/dist/{inbox-icon.entry-fa9085cd.cjs → inbox-icon.entry-84f96d31.cjs} +1 -1
  53. package/dist/{index-ad781fbc.js → index-140eb219.js} +6753 -6439
  54. package/dist/index-d8a42c15.cjs +118 -0
  55. package/dist/{index.es-ccb2a286-dfa2bfbe.js → index.es-57d4a08f-184cbc01.js} +1 -1
  56. package/dist/{index.es-ccb2a286-9a2c0934.cjs → index.es-57d4a08f-b0a2ca19.cjs} +1 -1
  57. package/dist/info-icon_2.entry-f09e7dae.cjs +1 -0
  58. package/dist/info-icon_2.entry-f8b72d08.js +35 -0
  59. package/dist/input-component.entry-44607977.js +93 -0
  60. package/dist/input-component.entry-fd38953d.cjs +1 -0
  61. package/dist/input-dropdown_2.entry-4c2e5e1a.cjs +1 -0
  62. package/dist/{input-dropdown_2.entry-1b55ef0c.js → input-dropdown_2.entry-6898b420.js} +30 -9
  63. package/dist/{italic-icon.entry-4266a817.js → italic-icon.entry-16aa1ada.js} +1 -1
  64. package/dist/{italic-icon.entry-843feb2b.cjs → italic-icon.entry-beef2254.cjs} +1 -1
  65. package/dist/lib/elements/index.d.ts +1 -0
  66. package/dist/lib/notetaker/SendNotetaker/SendNotetaker.d.ts +3 -2
  67. package/dist/lib/notetaker/VideoPlayer/VideoPlayer.d.ts +2 -0
  68. package/dist/lib/notetaker/lib/store.d.ts +1 -2
  69. package/dist/multi-select-dropdown.entry-50133d29.js +130 -0
  70. package/dist/multi-select-dropdown.entry-c82cd6d4.cjs +1 -0
  71. package/dist/{nylas-booked-event-card_11.entry-ccf30d91.js → nylas-booked-event-card_11.entry-56768a09.js} +69 -69
  72. package/dist/nylas-booked-event-card_11.entry-eb4b3c5c.cjs +1 -0
  73. package/dist/nylas-date-component_2.entry-93f2f352.cjs +1 -0
  74. package/dist/nylas-date-component_2.entry-df957150.js +307 -0
  75. package/dist/nylas-form-card.entry-4d95a4ad.cjs +1 -0
  76. package/dist/nylas-form-card.entry-7724e61f.js +72 -0
  77. package/dist/nylas-notification_2.entry-448c2cb8.cjs +1 -0
  78. package/dist/nylas-notification_2.entry-af763b6c.js +85 -0
  79. package/dist/{nylas-scheduler-editor.entry-aa079dff.js → nylas-scheduler-editor.entry-0e4ba46d.js} +45 -34
  80. package/dist/{nylas-scheduler-editor.entry-9744694a.cjs → nylas-scheduler-editor.entry-e36cdd9d.cjs} +2 -2
  81. package/dist/{nylas-scheduling.entry-7441979c.js → nylas-scheduling.entry-1b207e91.js} +196 -185
  82. package/dist/nylas-scheduling.entry-904dd10e.cjs +1 -0
  83. package/dist/{person-icon.entry-acf4d22b.cjs → person-icon.entry-70d46ca6.cjs} +1 -1
  84. package/dist/{person-icon.entry-23a69633.js → person-icon.entry-f2979577.js} +1 -1
  85. package/dist/{play-icon.entry-aa088180.cjs → play-icon.entry-c2cf0b12.cjs} +1 -1
  86. package/dist/{play-icon.entry-4e7884d4.js → play-icon.entry-d387df5d.js} +1 -1
  87. package/dist/radio-button-group.entry-45dbd2df.js +56 -0
  88. package/dist/radio-button-group.entry-94e06176.cjs +1 -0
  89. package/dist/react.cjs +1 -1
  90. package/dist/react.js +41 -40
  91. package/dist/{refresh-icon.entry-96cb008f.cjs → refresh-icon.entry-5ab20f26.cjs} +1 -1
  92. package/dist/{refresh-icon.entry-d1603555.js → refresh-icon.entry-777cff27.js} +1 -1
  93. package/dist/{register-component-9d4ceee5-46f58baf.js → register-component-0aad9e3d-b395364a.js} +1 -1
  94. package/dist/{register-component-9d4ceee5-6fabc42c.cjs → register-component-0aad9e3d-d2f2e543.cjs} +1 -1
  95. package/dist/{reply-all-icon.entry-537f7718.cjs → reply-all-icon.entry-3c90510e.cjs} +1 -1
  96. package/dist/{reply-all-icon.entry-6fae7288.js → reply-all-icon.entry-e2dd6da9.js} +1 -1
  97. package/dist/{reply-icon.entry-ae114e35.js → reply-icon.entry-00a97d9f.js} +1 -1
  98. package/dist/{reply-icon.entry-72fa6e4c.cjs → reply-icon.entry-d96478be.cjs} +1 -1
  99. package/dist/{sent-icon.entry-30a6ac17.cjs → sent-icon.entry-2d16da4e.cjs} +1 -1
  100. package/dist/{sent-icon.entry-b10d5e26.js → sent-icon.entry-949cf214.js} +1 -1
  101. package/dist/{spam-icon.entry-bed45849.js → spam-icon.entry-3baf9e79.js} +1 -1
  102. package/dist/{spam-icon.entry-357aa525.cjs → spam-icon.entry-7ee61730.cjs} +1 -1
  103. package/dist/{star-icon.entry-010349a5.js → star-icon.entry-9fdb278b.js} +1 -1
  104. package/dist/{star-icon.entry-53c85ebb.cjs → star-icon.entry-dc702d73.cjs} +1 -1
  105. package/dist/{stop-icon.entry-20af3bf5.cjs → stop-icon.entry-b5ae7e55.cjs} +1 -1
  106. package/dist/{stop-icon.entry-18f650bf.js → stop-icon.entry-efa1ea66.js} +1 -1
  107. package/dist/textarea-component.entry-247aca42.cjs +1 -0
  108. package/dist/textarea-component.entry-7c6fc4d8.js +55 -0
  109. package/dist/toggle-switch.entry-a0295d17.js +49 -0
  110. package/dist/toggle-switch.entry-d52b0338.cjs +1 -0
  111. package/dist/{translate-icon.entry-2308a8e4.js → translate-icon.entry-219cab17.js} +1 -1
  112. package/dist/{translate-icon.entry-7cb7a479.cjs → translate-icon.entry-985b3b29.cjs} +1 -1
  113. package/dist/{trash-fill-icon.entry-7f410c82.js → trash-fill-icon.entry-03c90559.js} +1 -1
  114. package/dist/{trash-fill-icon.entry-c70b9326.cjs → trash-fill-icon.entry-4dfd7d24.cjs} +1 -1
  115. package/dist/{underline-icon.entry-58ef1a9f.js → underline-icon.entry-58fa18b5.js} +1 -1
  116. package/dist/{underline-icon.entry-23f478f3.cjs → underline-icon.entry-c60b77a6.cjs} +1 -1
  117. package/package.json +3 -3
  118. package/dist/calendar-agenda-fill-icon_36.entry-75d7cd5b.cjs +0 -6
  119. package/dist/calendar-agenda-fill-icon_36.entry-78fc2e0d.js +0 -4708
  120. package/dist/checkbox-component_2.entry-82f4b1f2.js +0 -115
  121. package/dist/checkbox-component_2.entry-c9c8a87d.cjs +0 -1
  122. package/dist/checkbox-group_4.entry-5a4f0ed2.cjs +0 -28
  123. package/dist/checkmark-icon_15.entry-01536ed2.js +0 -1339
  124. package/dist/checkmark-icon_15.entry-c5eaad9b.cjs +0 -5
  125. package/dist/chevron-icon_3.entry-26f14744.cjs +0 -1
  126. package/dist/globe-icon_2.entry-3f0e408e.cjs +0 -1
  127. package/dist/globe-icon_2.entry-8f5c79b2.js +0 -210
  128. package/dist/google-logo-icon_6.entry-9c91c3d4.cjs +0 -2
  129. package/dist/index-dc6efb5e.cjs +0 -118
  130. package/dist/info-icon_2.entry-9f32753b.cjs +0 -1
  131. package/dist/info-icon_2.entry-c18a111e.js +0 -35
  132. package/dist/input-component.entry-eae64f46.js +0 -84
  133. package/dist/input-component.entry-ff9e04c9.cjs +0 -1
  134. package/dist/input-dropdown_2.entry-67d6d292.cjs +0 -1
  135. package/dist/multi-select-dropdown.entry-854265ef.js +0 -121
  136. package/dist/multi-select-dropdown.entry-ca9acf75.cjs +0 -1
  137. package/dist/nylas-booked-event-card_11.entry-8d3e2019.cjs +0 -1
  138. package/dist/nylas-form-card.entry-481ede48.js +0 -58
  139. package/dist/nylas-form-card.entry-58162c72.cjs +0 -1
  140. package/dist/nylas-notification_2.entry-7d3ed3b0.js +0 -85
  141. package/dist/nylas-notification_2.entry-dffa3ff6.cjs +0 -1
  142. package/dist/nylas-scheduling.entry-b1fcb48f.cjs +0 -1
  143. package/dist/radio-button-group.entry-243d7988.js +0 -47
  144. package/dist/radio-button-group.entry-cea225c8.cjs +0 -1
  145. package/dist/textarea-component.entry-b19642f1.cjs +0 -1
  146. package/dist/textarea-component.entry-e6120440.js +0 -39
  147. package/dist/toggle-switch.entry-32b0e964.js +0 -34
  148. package/dist/toggle-switch.entry-becdda2c.cjs +0 -1
@@ -1,23 +1,31 @@
1
- import { r as St, a as W, h as g, g as Dt, d as x, u as ir, t as rr, i as _, b as z, H as vn, R as Nt, I as ea } from "./index-ad781fbc.js";
2
- import { R as yn } from "./register-component-9d4ceee5-46f58baf.js";
1
+ import { r as St, a as W, h as g, g as Dt, d as x, u as ir, t as rr, i as _, b as z, H as vn, R as Nt, I as ea } from "./index-140eb219.js";
2
+ import { R as yn } from "./register-component-0aad9e3d-b395364a.js";
3
3
  import { T as Pt } from "./constants-f51538ef-e0a5f026.js";
4
- import { c as ta } from "./customParseFormat-f0d21eb3-904f1e57.js";
4
+ import { c as ta } from "./customParseFormat-eeec04f5-3ad26beb.js";
5
5
  import "react";
6
6
  import "react/jsx-runtime";
7
7
  import "react-dom";
8
8
  const na = ":host{display:block}.checkbox-group-container{display:flex;flex-direction:column;gap:0.5rem}.group-label{font-weight:500;margin-bottom:0.25rem}.group-label .required{color:var(--nylas-error);margin-left:0.25rem}.checkbox-list{display:flex;gap:16px}.checkbox-list.vertical{flex-direction:column}.checkbox-list.horizontal{flex-direction:row;align-items:center}.checkbox-list checkbox-component{width:max-content}.checkbox-list checkbox-component::part(checkbox-label-span){width:inherit;margin-left:24px}.error{color:var(--nylas-error);font-size:0.875rem;margin-top:0.25rem}", ia = na, ra = class {
9
9
  constructor(t) {
10
- St(this, t), this.nylasCheckboxGroupChanged = W(this, "nylasCheckboxGroupChanged", 7), this.componentType = "checkbox-group", this.name = "checkbox-group", this.label = "", this.options = [], this.required = !1, this.direction = "vertical", this.error = "", this.selectedValues = [];
10
+ St(this, t), this.nylasCheckboxGroupChanged = W(this, "nylasCheckboxGroupChanged", 7), this.componentType = "checkbox-group", this.name = "checkbox-group", this.label = "", this.options = [], this.required = !1, this.direction = "vertical", this.themeConfig = void 0, this.error = "", this.selectedValues = [];
11
11
  }
12
12
  componentWillLoad() {
13
13
  this.el.setAttribute("component-type", this.componentType);
14
14
  }
15
15
  componentDidLoad() {
16
- this.selectedValues = this.options.filter((t) => t.checked).map((t) => t.value);
16
+ this.selectedValues = this.options.filter((t) => t.checked).map((t) => t.value), this.applyThemeConfig(this.themeConfig);
17
17
  }
18
18
  optionsChangedHandler(t, e) {
19
19
  JSON.stringify(t) !== JSON.stringify(e) && (this.selectedValues = t.filter((n) => n.checked).map((n) => n.value));
20
20
  }
21
+ themeConfigChangedHandler(t, e) {
22
+ t !== e && this.applyThemeConfig(t);
23
+ }
24
+ applyThemeConfig(t) {
25
+ if (t)
26
+ for (const [e, n] of Object.entries(t))
27
+ this.el.style.setProperty(`${e}`, n);
28
+ }
21
29
  handleBookingFormSubmitted(t) {
22
30
  this.required && !this.hasCheckedOptions() && (this.error = "Please select at least one option."), this.error && t.preventDefault();
23
31
  }
@@ -38,14 +46,15 @@ const na = ":host{display:block}.checkbox-group-container{display:flex;flex-dire
38
46
  this.handleCheckboxToggle(t);
39
47
  }
40
48
  render() {
41
- return g("div", { key: "76ae2efb8faa2b161472a0330e398b1557e149a2", class: "checkbox-group-container" }, this.label && g("div", { class: "group-label" }, this.label, this.required && g("span", { class: "required" }, "*")), g("div", { key: "fbc0e62c6ea9cd92bf1195721910f6a03b031900", class: `checkbox-list ${this.direction}` }, this.options.map((t) => g("checkbox-component", { name: `${this.name}-${t.value}`, label: t.label, checked: this.selectedValues.includes(t.value), readOnly: t.disabled, required: this.required }))), this.error && g("p", { class: "error" }, this.error));
49
+ return g("div", { key: "0bd42088f8f82790fe46cbf6f82dc12ff78e179c", class: "checkbox-group-container" }, this.label && g("div", { class: "group-label" }, this.label, this.required && g("span", { class: "required" }, "*")), g("div", { key: "460013aa58840bfa0a1a0702cb8bc91084a7c6d5", class: `checkbox-list ${this.direction}` }, this.options.map((t) => g("checkbox-component", { name: `${this.name}-${t.value}`, label: t.label, checked: this.selectedValues.includes(t.value), readOnly: t.disabled, required: this.required, themeConfig: this.themeConfig }))), this.error && g("p", { class: "error" }, this.error));
42
50
  }
43
51
  get el() {
44
52
  return Dt(this);
45
53
  }
46
54
  static get watchers() {
47
55
  return {
48
- options: ["optionsChangedHandler"]
56
+ options: ["optionsChangedHandler"],
57
+ themeConfig: ["themeConfigChangedHandler"]
49
58
  };
50
59
  }
51
60
  };
@@ -73,7 +82,7 @@ function rt(t, e, n, i, r) {
73
82
  var s = { type: t, props: e, key: n, ref: i, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: r ?? ++sr };
74
83
  return r == null && S.vnode != null && S.vnode(s), s;
75
84
  }
76
- function j() {
85
+ function F() {
77
86
  return { current: null };
78
87
  }
79
88
  function H(t) {
@@ -231,7 +240,7 @@ function pr(t) {
231
240
  return null;
232
241
  }
233
242
  function bn(t, e, n, i, r, s, a, l, o) {
234
- var d, c, h, f, u, v, y, b, E, C, T, A, O, M, N, R = e.type;
243
+ var d, c, h, f, u, v, y, b, E, C, T, A, I, M, N, R = e.type;
235
244
  if (e.constructor !== void 0)
236
245
  return null;
237
246
  n.__h != null && (o = n.__h, l = e.__e = n.__e, e.__h = null, s = [l]), (d = S.__b) && d(e);
@@ -253,14 +262,14 @@ function bn(t, e, n, i, r, s, a, l, o) {
253
262
  c.componentDidUpdate(f, u, v);
254
263
  });
255
264
  }
256
- if (c.context = C, c.props = b, c.__P = t, A = S.__r, O = 0, "prototype" in R && R.prototype.render) {
265
+ if (c.context = C, c.props = b, c.__P = t, A = S.__r, I = 0, "prototype" in R && R.prototype.render) {
257
266
  for (c.state = c.__s, c.__d = !1, A && A(e), d = c.render(c.props, c.state, c.context), M = 0; M < c._sb.length; M++)
258
267
  c.__h.push(c._sb[M]);
259
268
  c._sb = [];
260
269
  } else
261
270
  do
262
271
  c.__d = !1, A && A(e), d = c.render(c.props, c.state, c.context), c.state = c.__s;
263
- while (c.__d && ++O < 25);
272
+ while (c.__d && ++I < 25);
264
273
  c.state = c.__s, c.getChildContext != null && (i = le(le({}, i), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (v = c.getSnapshotBeforeUpdate(f, u)), N = d != null && d.type === H && d.key == null ? d.props.children : d, ur(t, Array.isArray(N) ? N : [N], e, n, i, r, s, a, l, o), c.base = e.__e, e.__h = null, c.__h.length && a.push(c), y && (c.__E = c.__ = null), c.__e = !1;
265
274
  } else
266
275
  s == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = oa(n.__e, e, n, i, r, s, a, o);
@@ -702,13 +711,13 @@ function Ma(t, e) {
702
711
  }
703
712
  return i;
704
713
  }
705
- const Ia = /(top|left|right|bottom|width|height)$/i;
714
+ const Oa = /(top|left|right|bottom|width|height)$/i;
706
715
  function He(t, e) {
707
716
  for (let n in e)
708
717
  Dr(t, n, e[n]);
709
718
  }
710
719
  function Dr(t, e, n) {
711
- n == null ? t.style[e] = "" : typeof n == "number" && Ia.test(e) ? t.style[e] = `${n}px` : t.style[e] = n;
720
+ n == null ? t.style[e] = "" : typeof n == "number" && Oa.test(e) ? t.style[e] = `${n}px` : t.style[e] = n;
712
721
  }
713
722
  function Ar(t) {
714
723
  var e, n;
@@ -721,14 +730,14 @@ function Tt() {
721
730
  function xt(t) {
722
731
  t.preventDefault();
723
732
  }
724
- function Oa(t, e) {
733
+ function Ia(t, e) {
725
734
  return (n) => {
726
735
  let i = U(n.target, t);
727
736
  i && e.call(i, n, i);
728
737
  };
729
738
  }
730
739
  function Tr(t, e, n, i) {
731
- let r = Oa(n, i);
740
+ let r = Ia(n, i);
732
741
  return t.addEventListener(e, r), () => {
733
742
  t.removeEventListener(e, r);
734
743
  };
@@ -801,14 +810,14 @@ function Ua(t) {
801
810
  r = n[i], typeof r == "string" ? e.push(r.charAt(0) === "-" ? { field: r.substring(1), order: -1 } : { field: r, order: 1 }) : typeof r == "function" && e.push({ func: r });
802
811
  return e;
803
812
  }
804
- function Fa(t, e, n) {
813
+ function ja(t, e, n) {
805
814
  let i, r;
806
815
  for (i = 0; i < n.length; i += 1)
807
- if (r = ja(t, e, n[i]), r)
816
+ if (r = Fa(t, e, n[i]), r)
808
817
  return r;
809
818
  return 0;
810
819
  }
811
- function ja(t, e, n) {
820
+ function Fa(t, e, n) {
812
821
  return n.func ? n.func(t, e) : Wa(t[n.field], e[n.field]) * (n.order || 1);
813
822
  }
814
823
  function Wa(t, e) {
@@ -1052,7 +1061,7 @@ function Si(t, e) {
1052
1061
  let n = oe(t);
1053
1062
  return n[2] += e * 7, V(n);
1054
1063
  }
1055
- function F(t, e) {
1064
+ function j(t, e) {
1056
1065
  let n = oe(t);
1057
1066
  return n[2] += e, V(n);
1058
1067
  }
@@ -1126,13 +1135,13 @@ function fl(t) {
1126
1135
  ]);
1127
1136
  }
1128
1137
  function hl(t, e, n) {
1129
- let i = t.getUTCFullYear(), r = Ft(t, i, e, n);
1138
+ let i = t.getUTCFullYear(), r = jt(t, i, e, n);
1130
1139
  if (r < 1)
1131
- return Ft(t, i - 1, e, n);
1132
- let s = Ft(t, i + 1, e, n);
1140
+ return jt(t, i - 1, e, n);
1141
+ let s = jt(t, i + 1, e, n);
1133
1142
  return s >= 1 ? Math.min(r, s) : r;
1134
1143
  }
1135
- function Ft(t, e, n, i) {
1144
+ function jt(t, e, n, i) {
1136
1145
  let r = V([e, 0, 1 + pl(e, n, i)]), s = P(t), a = Math.round(Ce(r, s));
1137
1146
  return Math.floor(a / 7) + 1;
1138
1147
  }
@@ -1182,7 +1191,7 @@ function Mr(t) {
1182
1191
  function ce(t) {
1183
1192
  return t.getUTCHours() * 1e3 * 60 * 60 + t.getUTCMinutes() * 1e3 * 60 + t.getUTCSeconds() * 1e3 + t.getUTCMilliseconds();
1184
1193
  }
1185
- function Ir(t, e, n = !1) {
1194
+ function Or(t, e, n = !1) {
1186
1195
  let i = t.toISOString();
1187
1196
  return i = i.replace(".000", ""), n && (i = i.replace("T00:00:00Z", "")), i.length > 10 && (e == null ? i = i.replace("Z", "") : e !== 0 && (i = i.replace("Z", xn(e, !0)))), i;
1188
1197
  }
@@ -1649,7 +1658,7 @@ const ki = {
1649
1658
  _noEventResize: m,
1650
1659
  _resize: m,
1651
1660
  _scrollRequest: m
1652
- }, Ii = {
1661
+ }, Oi = {
1653
1662
  buttonText: m,
1654
1663
  buttonHints: m,
1655
1664
  views: m,
@@ -1675,7 +1684,7 @@ function ge(t, e) {
1675
1684
  function Xe(t, e) {
1676
1685
  return Array.isArray(t) && Array.isArray(e) ? ue(t, e) : t === e;
1677
1686
  }
1678
- const Il = {
1687
+ const Ol = {
1679
1688
  type: String,
1680
1689
  component: m,
1681
1690
  buttonText: String,
@@ -1687,7 +1696,7 @@ const Il = {
1687
1696
  didMount: m,
1688
1697
  willUnmount: m
1689
1698
  };
1690
- function jt(t) {
1699
+ function Ft(t) {
1691
1700
  return Dn(t, pe);
1692
1701
  }
1693
1702
  function Rn(t, e) {
@@ -1710,7 +1719,7 @@ function kn(t, e, n, i) {
1710
1719
  forcedEndTzo: i ?? null
1711
1720
  };
1712
1721
  }
1713
- function Ol(t, e, n, i) {
1722
+ function Il(t, e, n, i) {
1714
1723
  for (let r = 0; r < i.length; r += 1) {
1715
1724
  let s = i[r].parse(t, n);
1716
1725
  if (s) {
@@ -1752,8 +1761,8 @@ function Nl(t, e, n, i, r) {
1752
1761
  }, i);
1753
1762
  return t.allDay && (a = a.map(P)), a;
1754
1763
  }
1755
- function Fe(t, e, n, i, r, s) {
1756
- let a = Y(), l = On(n);
1764
+ function je(t, e, n, i, r, s) {
1765
+ let a = Y(), l = In(n);
1757
1766
  for (let o of t) {
1758
1767
  let d = Pr(o, e, n, i, l, r, s);
1759
1768
  d && on(d, a);
@@ -1777,7 +1786,7 @@ function Pl(t, e) {
1777
1786
  function Y() {
1778
1787
  return { defs: {}, instances: {} };
1779
1788
  }
1780
- function In(t, e) {
1789
+ function On(t, e) {
1781
1790
  return {
1782
1791
  defs: Object.assign(Object.assign({}, t.defs), e.defs),
1783
1792
  instances: Object.assign(Object.assign({}, t.instances), e.instances)
@@ -1800,9 +1809,9 @@ function Hl(t, e) {
1800
1809
  };
1801
1810
  }
1802
1811
  function Ll(t, e) {
1803
- return Array.isArray(t) ? Fe(t, null, e, !0) : typeof t == "object" && t ? Fe([t], null, e, !0) : t != null ? String(t) : null;
1812
+ return Array.isArray(t) ? je(t, null, e, !0) : typeof t == "object" && t ? je([t], null, e, !0) : t != null ? String(t) : null;
1804
1813
  }
1805
- function Oi(t) {
1814
+ function Ii(t) {
1806
1815
  return Array.isArray(t) ? t : typeof t == "string" ? t.split(/\s+/) : [];
1807
1816
  }
1808
1817
  const vt = {
@@ -1813,8 +1822,8 @@ const vt = {
1813
1822
  constraint: m,
1814
1823
  overlap: m,
1815
1824
  allow: m,
1816
- className: Oi,
1817
- classNames: Oi,
1825
+ className: Ii,
1826
+ classNames: Ii,
1818
1827
  color: String,
1819
1828
  backgroundColor: String,
1820
1829
  borderColor: String,
@@ -1847,7 +1856,7 @@ function yt(t, e) {
1847
1856
  // join singular and plural
1848
1857
  };
1849
1858
  }
1850
- function Or(t) {
1859
+ function Ir(t) {
1851
1860
  return t.reduce(zl, Bl);
1852
1861
  }
1853
1862
  function zl(t, e) {
@@ -1876,8 +1885,8 @@ const ot = {
1876
1885
  date: m,
1877
1886
  allDay: Boolean
1878
1887
  }, Ul = Object.assign(Object.assign(Object.assign({}, ot), Nr), { extendedProps: m });
1879
- function Pr(t, e, n, i, r = On(n), s, a) {
1880
- let { refined: l, extra: o } = Hr(t, n, r), d = jl(e, n), c = Ol(l, d, n.dateEnv, n.pluginHooks.recurringTypes);
1888
+ function Pr(t, e, n, i, r = In(n), s, a) {
1889
+ let { refined: l, extra: o } = Hr(t, n, r), d = Fl(e, n), c = Il(l, d, n.dateEnv, n.pluginHooks.recurringTypes);
1881
1890
  if (c) {
1882
1891
  let f = cn(l, o, e ? e.sourceId : "", c.allDay, !!c.duration, n, s);
1883
1892
  return f.recurringDef = {
@@ -1886,17 +1895,17 @@ function Pr(t, e, n, i, r = On(n), s, a) {
1886
1895
  duration: c.duration
1887
1896
  }, { def: f, instance: null };
1888
1897
  }
1889
- let h = Fl(l, d, n, i);
1898
+ let h = jl(l, d, n, i);
1890
1899
  if (h) {
1891
1900
  let f = cn(l, o, e ? e.sourceId : "", h.allDay, h.hasEnd, n, s), u = kn(f.defId, h.range, h.forcedStartTzo, h.forcedEndTzo);
1892
1901
  return a && f.publicId && a[f.publicId] && (u.instanceId = a[f.publicId]), { def: f, instance: u };
1893
1902
  }
1894
1903
  return null;
1895
1904
  }
1896
- function Hr(t, e, n = On(e)) {
1905
+ function Hr(t, e, n = In(e)) {
1897
1906
  return Rn(t, n);
1898
1907
  }
1899
- function On(t) {
1908
+ function In(t) {
1900
1909
  return Object.assign(Object.assign(Object.assign({}, vt), Ul), t.pluginHooks.eventRefiners);
1901
1910
  }
1902
1911
  function cn(t, e, n, i, r, s, a) {
@@ -1918,7 +1927,7 @@ function cn(t, e, n, i, r, s, a) {
1918
1927
  Object.assign(l, o(t));
1919
1928
  return Object.freeze(l.ui.classNames), Object.freeze(l.extendedProps), l;
1920
1929
  }
1921
- function Fl(t, e, n, i) {
1930
+ function jl(t, e, n, i) {
1922
1931
  let { allDay: r } = t, s, a = null, l = !1, o, d = null, c = t.start != null ? t.start : t.date;
1923
1932
  if (s = n.dateEnv.createMarkerMeta(c), s)
1924
1933
  a = s.marker;
@@ -1932,7 +1941,7 @@ function Fl(t, e, n, i) {
1932
1941
  forcedEndTzo: o ? o.forcedTzo : null
1933
1942
  };
1934
1943
  }
1935
- function jl(t, e) {
1944
+ function Fl(t, e) {
1936
1945
  let n = null;
1937
1946
  return t && (n = t.defaultAllDay), n == null && (n = e.options.defaultAllDay), n;
1938
1947
  }
@@ -1946,14 +1955,14 @@ const Wl = {
1946
1955
  // so multiple defs get grouped
1947
1956
  };
1948
1957
  function Vl(t, e) {
1949
- return Fe(Gl(t), null, e);
1958
+ return je(Gl(t), null, e);
1950
1959
  }
1951
1960
  function Gl(t) {
1952
1961
  let e;
1953
1962
  return t === !0 ? e = [{}] : Array.isArray(t) ? e = t.filter((n) => n.daysOfWeek) : typeof t == "object" && t ? e = [t] : e = [], e = e.map((n) => Object.assign(Object.assign({}, Wl), n)), e;
1954
1963
  }
1955
1964
  function Lr(t) {
1956
- let e = Math.floor(Ce(t.start, t.end)) || 1, n = P(t.start), i = F(n, e);
1965
+ let e = Math.floor(Ce(t.start, t.end)) || 1, n = P(t.start), i = j(n, e);
1957
1966
  return { start: n, end: i };
1958
1967
  }
1959
1968
  function Br(t, e = k(0)) {
@@ -1961,9 +1970,9 @@ function Br(t, e = k(0)) {
1961
1970
  if (t.end) {
1962
1971
  i = P(t.end);
1963
1972
  let r = t.end.valueOf() - i.valueOf();
1964
- r && r >= Z(e) && (i = F(i, 1));
1973
+ r && r >= Z(e) && (i = j(i, 1));
1965
1974
  }
1966
- return t.start && (n = P(t.start), i && i <= n && (i = F(n, 1))), { start: n, end: i };
1975
+ return t.start && (n = P(t.start), i && i <= n && (i = j(n, 1))), { start: n, end: i };
1967
1976
  }
1968
1977
  function Ae(t, e, n, i) {
1969
1978
  return i === "year" ? k(n.diffWholeYears(t, e), "year") : i === "month" ? k(n.diffWholeMonths(t, e), "month") : ol(t, e);
@@ -2086,7 +2095,7 @@ function Jl(t, e, n) {
2086
2095
  let i = [];
2087
2096
  t && i.push(t), e && i.push(e);
2088
2097
  let r = {
2089
- "": Or(i)
2098
+ "": Ir(i)
2090
2099
  };
2091
2100
  return n && Object.assign(r, n), r;
2092
2101
  }
@@ -2122,7 +2131,7 @@ function te(t, e) {
2122
2131
  function no(t, e) {
2123
2132
  return e.start != null && t < e.start ? e.start : e.end != null && t >= e.end ? new Date(e.end.valueOf() - 1) : t;
2124
2133
  }
2125
- function Fr(t, e, n, i) {
2134
+ function jr(t, e, n, i) {
2126
2135
  return {
2127
2136
  dow: t.getUTCDay(),
2128
2137
  isDisabled: !!(i && !te(i.activeRange, t)),
@@ -2178,17 +2187,17 @@ function lo() {
2178
2187
  function oo() {
2179
2188
  let t = document.createElement("div");
2180
2189
  t.style.overflow = "scroll", t.style.position = "absolute", t.style.top = "-9999px", t.style.left = "-9999px", document.body.appendChild(t);
2181
- let e = jr(t);
2190
+ let e = Fr(t);
2182
2191
  return document.body.removeChild(t), e;
2183
2192
  }
2184
- function jr(t) {
2193
+ function Fr(t) {
2185
2194
  return {
2186
2195
  x: t.offsetHeight - t.clientHeight,
2187
2196
  y: t.offsetWidth - t.clientWidth
2188
2197
  };
2189
2198
  }
2190
2199
  function co(t, e = !1) {
2191
- let n = window.getComputedStyle(t), i = parseInt(n.borderLeftWidth, 10) || 0, r = parseInt(n.borderRightWidth, 10) || 0, s = parseInt(n.borderTopWidth, 10) || 0, a = parseInt(n.borderBottomWidth, 10) || 0, l = jr(t), o = l.y - i - r, d = l.x - s - a, c = {
2200
+ let n = window.getComputedStyle(t), i = parseInt(n.borderLeftWidth, 10) || 0, r = parseInt(n.borderRightWidth, 10) || 0, s = parseInt(n.borderTopWidth, 10) || 0, a = parseInt(n.borderBottomWidth, 10) || 0, l = Fr(t), o = l.y - i - r, d = l.x - s - a, c = {
2192
2201
  borderLeft: i,
2193
2202
  borderRight: r,
2194
2203
  borderTop: s,
@@ -2419,7 +2428,7 @@ class vo extends Ln {
2419
2428
  return document.documentElement.clientWidth;
2420
2429
  }
2421
2430
  }
2422
- class je {
2431
+ class Fe {
2423
2432
  constructor(e) {
2424
2433
  this.iconOverrideOption && this.setIconOverride(e[this.iconOverrideOption]);
2425
2434
  }
@@ -2449,10 +2458,10 @@ class je {
2449
2458
  return this.iconOverrideCustomButtonOption && (n = e[this.iconOverrideCustomButtonOption], n) ? `${this.baseIconClass} ${this.applyIconOverridePrefix(n)}` : "";
2450
2459
  }
2451
2460
  }
2452
- je.prototype.classes = {};
2453
- je.prototype.iconClasses = {};
2454
- je.prototype.baseIconClass = "";
2455
- je.prototype.iconOverridePrefix = "";
2461
+ Fe.prototype.classes = {};
2462
+ Fe.prototype.iconClasses = {};
2463
+ Fe.prototype.baseIconClass = "";
2464
+ Fe.prototype.iconOverridePrefix = "";
2456
2465
  function Pi(t) {
2457
2466
  t();
2458
2467
  let e = S.debounceRendering, n = [];
@@ -2555,9 +2564,9 @@ Se.addStateEquality = wo;
2555
2564
  Se.contextType = re;
2556
2565
  Se.prototype.propEquality = {};
2557
2566
  Se.prototype.stateEquality = {};
2558
- class I extends Se {
2567
+ class O extends Se {
2559
2568
  }
2560
- I.contextType = re;
2569
+ O.contextType = re;
2561
2570
  function _o(t) {
2562
2571
  let e = Object.create(this.prototype.propEquality);
2563
2572
  Object.assign(e, t), this.prototype.propEquality = e;
@@ -2569,7 +2578,7 @@ function wo(t) {
2569
2578
  function ie(t, e) {
2570
2579
  typeof t == "function" ? t(e) : t && (t.current = e);
2571
2580
  }
2572
- class K extends I {
2581
+ class K extends O {
2573
2582
  constructor() {
2574
2583
  super(...arguments), this.uid = we();
2575
2584
  }
@@ -2686,7 +2695,7 @@ class Gr {
2686
2695
  // slotMinTime or slotMaxTime causes the range to expand.
2687
2696
  adjustActiveRange(e) {
2688
2697
  let { dateEnv: n, usesMinMaxTime: i, slotMinTime: r, slotMaxTime: s } = this.props, { start: a, end: l } = e;
2689
- return i && (xe(r) < 0 && (a = P(a), a = n.add(a, r)), xe(s) > 1 && (l = P(l), l = F(l, -1), l = n.add(l, s))), { start: a, end: l };
2698
+ return i && (xe(r) < 0 && (a = P(a), a = n.add(a, r)), xe(s) > 1 && (l = P(l), l = j(l, -1), l = n.add(l, s))), { start: a, end: l };
2690
2699
  }
2691
2700
  // Builds the "current" range when it is specified as an explicit duration.
2692
2701
  // `unit` is the already-computed greatestDurationDenominator unit of duration.
@@ -2707,7 +2716,7 @@ class Gr {
2707
2716
  let { dateEnv: r, dateAlignment: s } = this.props, a = 0, l = e, o;
2708
2717
  s && (l = r.startOf(l, s)), l = P(l), l = this.skipHiddenDays(l, n), o = l;
2709
2718
  do
2710
- o = F(o, 1), this.isHiddenDay(o) || (a += 1);
2719
+ o = j(o, 1), this.isHiddenDay(o) || (a += 1);
2711
2720
  while (a < i);
2712
2721
  return { start: l, end: o };
2713
2722
  }
@@ -2765,7 +2774,7 @@ class Gr {
2765
2774
  // `inc` defaults to `1` (increment one day forward each time)
2766
2775
  skipHiddenDays(e, n = 1, i = !1) {
2767
2776
  for (; this.isHiddenDayHash[(e.getUTCDay() + (i ? n : 0) + 7) % 7]; )
2768
- e = F(e, n);
2777
+ e = j(e, n);
2769
2778
  return e;
2770
2779
  }
2771
2780
  }
@@ -3147,7 +3156,7 @@ function xo(t) {
3147
3156
  function Bi(t, e) {
3148
3157
  t.fcSeg = e;
3149
3158
  }
3150
- function Ie(t) {
3159
+ function Oe(t) {
3151
3160
  return t.fcSeg || t.parentNode.fcSeg || // for the harness
3152
3161
  null;
3153
3162
  }
@@ -3156,11 +3165,11 @@ function Et(t, e) {
3156
3165
  }
3157
3166
  function Qr(t, e) {
3158
3167
  let n = [];
3159
- return e[""] && n.push(e[""]), e[t.defId] && n.push(e[t.defId]), n.push(t.ui), Or(n);
3168
+ return e[""] && n.push(e[""]), e[t.defId] && n.push(e[t.defId]), n.push(t.ui), Ir(n);
3160
3169
  }
3161
3170
  function $r(t, e) {
3162
3171
  let n = t.map(Ro);
3163
- return n.sort((i, r) => Fa(i, r, e)), n.map((i) => i._seg);
3172
+ return n.sort((i, r) => ja(i, r, e)), n.map((i) => i._seg);
3164
3173
  }
3165
3174
  function Ro(t) {
3166
3175
  let { eventRange: e } = t, n = e.def, i = e.instance ? e.instance.range : e.range, r = i.start ? i.start.valueOf() : 0, s = i.end ? i.end.valueOf() : 0;
@@ -3182,7 +3191,7 @@ function ko(t, e) {
3182
3191
  function Mo(t, e) {
3183
3192
  return t.isStart && t.eventRange.ui.durationEditable && e.options.eventResizableFromStart;
3184
3193
  }
3185
- function Io(t, e) {
3194
+ function Oo(t, e) {
3186
3195
  return t.isEnd && t.eventRange.ui.durationEditable;
3187
3196
  }
3188
3197
  function Zr(t, e, n, i, r, s, a) {
@@ -3205,7 +3214,7 @@ function de(t, e, n) {
3205
3214
  isToday: e && te(e, i.start)
3206
3215
  };
3207
3216
  }
3208
- function Oo(t) {
3217
+ function Io(t) {
3209
3218
  let e = ["fc-event"];
3210
3219
  return t.isMirror && e.push("fc-event-mirror"), t.isDraggable && e.push("fc-event-draggable"), (t.isStartResizable || t.isEndResizable) && e.push("fc-event-resizable"), t.isDragging && e.push("fc-event-dragging"), t.isResizing && e.push("fc-event-resizing"), t.isSelected && e.push("fc-event-selected"), t.isStart && e.push("fc-event-start"), t.isEnd && e.push("fc-event-end"), t.isPast && e.push("fc-event-past"), t.isToday && e.push("fc-event-today"), t.isFuture && e.push("fc-event-future"), e;
3211
3220
  }
@@ -3296,10 +3305,10 @@ function Uo(t, e, n) {
3296
3305
  };
3297
3306
  }
3298
3307
  let ts = {};
3299
- function Fo(t, e) {
3308
+ function jo(t, e) {
3300
3309
  ts[t] = e;
3301
3310
  }
3302
- function jo(t) {
3311
+ function Fo(t) {
3303
3312
  return new ts[t]();
3304
3313
  }
3305
3314
  class Wo {
@@ -3319,7 +3328,7 @@ class Wo {
3319
3328
  return oe(e);
3320
3329
  }
3321
3330
  }
3322
- Fo("gregory", Wo);
3331
+ jo("gregory", Wo);
3323
3332
  const Vo = /^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;
3324
3333
  function Go(t) {
3325
3334
  let e = Vo.exec(t);
@@ -3339,7 +3348,7 @@ function Go(t) {
3339
3348
  class Yo {
3340
3349
  constructor(e) {
3341
3350
  let n = this.timeZone = e.timeZone, i = n !== "local" && n !== "UTC";
3342
- e.namedTimeZoneImpl && i && (this.namedTimeZoneImpl = new e.namedTimeZoneImpl(n)), this.canComputeOffset = !!(!i || this.namedTimeZoneImpl), this.calendarSystem = jo(e.calendarSystem), this.locale = e.locale, this.weekDow = e.locale.week.dow, this.weekDoy = e.locale.week.doy, e.weekNumberCalculation === "ISO" && (this.weekDow = 1, this.weekDoy = 4), typeof e.firstDay == "number" && (this.weekDow = e.firstDay), typeof e.weekNumberCalculation == "function" && (this.weekNumberFunc = e.weekNumberCalculation), this.weekText = e.weekText != null ? e.weekText : e.locale.options.weekText, this.weekTextLong = (e.weekTextLong != null ? e.weekTextLong : e.locale.options.weekTextLong) || this.weekText, this.cmdFormatter = e.cmdFormatter, this.defaultSeparator = e.defaultSeparator;
3351
+ e.namedTimeZoneImpl && i && (this.namedTimeZoneImpl = new e.namedTimeZoneImpl(n)), this.canComputeOffset = !!(!i || this.namedTimeZoneImpl), this.calendarSystem = Fo(e.calendarSystem), this.locale = e.locale, this.weekDow = e.locale.week.dow, this.weekDoy = e.locale.week.doy, e.weekNumberCalculation === "ISO" && (this.weekDow = 1, this.weekDoy = 4), typeof e.firstDay == "number" && (this.weekDow = e.firstDay), typeof e.weekNumberCalculation == "function" && (this.weekNumberFunc = e.weekNumberCalculation), this.weekText = e.weekText != null ? e.weekText : e.locale.options.weekText, this.weekTextLong = (e.weekTextLong != null ? e.weekTextLong : e.locale.options.weekTextLong) || this.weekText, this.cmdFormatter = e.cmdFormatter, this.defaultSeparator = e.defaultSeparator;
3343
3352
  }
3344
3353
  // Creating / Parsing
3345
3354
  createMarker(e) {
@@ -3456,7 +3465,7 @@ class Yo {
3456
3465
  */
3457
3466
  formatIso(e, n = {}) {
3458
3467
  let i = null;
3459
- return n.omitTimeZoneOffset || (n.forcedTzo != null ? i = n.forcedTzo : i = this.offsetForMarker(e)), Ir(e, i, n.omitTime);
3468
+ return n.omitTimeZoneOffset || (n.forcedTzo != null ? i = n.forcedTzo : i = this.offsetForMarker(e)), Or(e, i, n.omitTime);
3460
3469
  }
3461
3470
  // TimeZone
3462
3471
  timestampToMarker(e) {
@@ -3607,7 +3616,7 @@ function un(t, e, n) {
3607
3616
  }
3608
3617
  return [i, 0];
3609
3618
  }
3610
- class Oe {
3619
+ class Ie {
3611
3620
  constructor(e) {
3612
3621
  this.component = e.component, this.isHitComboAllowed = e.isHitComboAllowed || null;
3613
3622
  }
@@ -3622,7 +3631,7 @@ function $o(t, e) {
3622
3631
  isHitComboAllowed: e.isHitComboAllowed || null
3623
3632
  };
3624
3633
  }
3625
- function Fn(t) {
3634
+ function jn(t) {
3626
3635
  return {
3627
3636
  [t.component.uid]: t
3628
3637
  };
@@ -3641,8 +3650,8 @@ class Zo {
3641
3650
  setAutoScrollEnabled(e) {
3642
3651
  }
3643
3652
  }
3644
- const jn = {};
3645
- class Xo extends I {
3653
+ const Fn = {};
3654
+ class Xo extends O {
3646
3655
  constructor() {
3647
3656
  super(...arguments), this.state = {
3648
3657
  forPrint: !1
@@ -3677,7 +3686,7 @@ const is = "fc-col-header-cell";
3677
3686
  function rs(t) {
3678
3687
  return t.text;
3679
3688
  }
3680
- class Wn extends I {
3689
+ class Wn extends O {
3681
3690
  constructor() {
3682
3691
  super(...arguments), this.id = we(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (e) => {
3683
3692
  this.props.elRef && ie(this.props.elRef, e);
@@ -3782,9 +3791,9 @@ function tc(t, e) {
3782
3791
  const n = typeof t == "function" ? t(e) : t || [];
3783
3792
  return typeof n == "string" ? [n] : n;
3784
3793
  }
3785
- class nc extends I {
3794
+ class nc extends O {
3786
3795
  render() {
3787
- let { dateEnv: e, options: n, theme: i, viewApi: r } = this.context, { props: s } = this, { date: a, dateProfile: l } = s, o = Fr(a, s.todayRange, null, l), d = [is].concat(Pn(o, i)), c = e.format(a, s.dayHeaderFormat), h = !o.isDisabled && s.colCnt > 1 ? bt(this.context, a) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(a), view: r }, s.extraRenderProps), { text: c }), o);
3796
+ let { dateEnv: e, options: n, theme: i, viewApi: r } = this.context, { props: s } = this, { date: a, dateProfile: l } = s, o = jr(a, s.todayRange, null, l), d = [is].concat(Pn(o, i)), c = e.format(a, s.dayHeaderFormat), h = !o.isDisabled && s.colCnt > 1 ? bt(this.context, a) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(a), view: r }, s.extraRenderProps), { text: c }), o);
3788
3797
  return p(q, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": o.isDisabled ? void 0 : Tn(a) }, s.extraDataAttrs), renderProps: f, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: rs, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (u) => p("div", { className: "fc-scrollgrid-sync-inner" }, !o.isDisabled && p(u, { elTag: "a", elAttrs: h, elClasses: [
3789
3798
  "fc-col-header-cell-cushion",
3790
3799
  s.isSticky && "fc-sticky"
@@ -3792,9 +3801,9 @@ class nc extends I {
3792
3801
  }
3793
3802
  }
3794
3803
  const ic = B({ weekday: "long" });
3795
- class rc extends I {
3804
+ class rc extends O {
3796
3805
  render() {
3797
- let { props: e } = this, { dateEnv: n, theme: i, viewApi: r, options: s } = this.context, a = F(/* @__PURE__ */ new Date(2592e5), e.dow), l = {
3806
+ let { props: e } = this, { dateEnv: n, theme: i, viewApi: r, options: s } = this.context, a = j(/* @__PURE__ */ new Date(2592e5), e.dow), l = {
3798
3807
  dow: e.dow,
3799
3808
  isDisabled: !1,
3800
3809
  isFuture: !1,
@@ -3860,10 +3869,10 @@ class Ve extends G {
3860
3869
  }
3861
3870
  Ve.contextType = re;
3862
3871
  function zi(t) {
3863
- let e = P(t), n = F(e, 1);
3872
+ let e = P(t), n = j(e, 1);
3864
3873
  return { start: e, end: n };
3865
3874
  }
3866
- class os extends I {
3875
+ class os extends O {
3867
3876
  constructor() {
3868
3877
  super(...arguments), this.createDayHeaderFormatter = D(sc);
3869
3878
  }
@@ -3884,11 +3893,11 @@ class cs {
3884
3893
  constructor(e, n) {
3885
3894
  let i = e.start, { end: r } = e, s = [], a = [], l = -1;
3886
3895
  for (; i < r; )
3887
- n.isHiddenDay(i) ? s.push(l + 0.5) : (l += 1, s.push(l), a.push(i)), i = F(i, 1);
3896
+ n.isHiddenDay(i) ? s.push(l + 0.5) : (l += 1, s.push(l), a.push(i)), i = j(i, 1);
3888
3897
  this.dates = a, this.indices = s, this.cnt = a.length;
3889
3898
  }
3890
3899
  sliceRange(e) {
3891
- let n = this.getDateDayIndex(e.start), i = this.getDateDayIndex(F(e.end, -1)), r = Math.max(0, n), s = Math.min(this.cnt - 1, i);
3900
+ let n = this.getDateDayIndex(e.start), i = this.getDateDayIndex(j(e.end, -1)), r = Math.max(0, n), s = Math.min(this.cnt - 1, i);
3892
3901
  return r = Math.ceil(r), s = Math.floor(s), r <= s ? {
3893
3902
  firstIndex: r,
3894
3903
  lastIndex: s,
@@ -4037,7 +4046,7 @@ class us {
4037
4046
  let i = e.range;
4038
4047
  this.forceDayIfListItem && e.ui.display === "list-item" && (i = {
4039
4048
  start: i.start,
4040
- end: F(i.start, 1)
4049
+ end: j(i.start, 1)
4041
4050
  });
4042
4051
  let r = this.sliceRange(i, ...n);
4043
4052
  for (let s of r)
@@ -4070,7 +4079,7 @@ function ac(t, e, n, i, r) {
4070
4079
  case "RESET_EVENTS":
4071
4080
  return e.eventStore;
4072
4081
  case "MERGE_EVENTS":
4073
- return In(t, e.eventStore);
4082
+ return On(t, e.eventStore);
4074
4083
  case "PREV":
4075
4084
  case "NEXT":
4076
4085
  case "CHANGE_DATE":
@@ -4091,14 +4100,14 @@ function ac(t, e, n, i, r) {
4091
4100
  function lc(t, e, n, i, r, s) {
4092
4101
  if (e && // not already removed
4093
4102
  n === e.latestFetchId) {
4094
- let a = Fe(fs(r, e, s), e, s);
4095
- return i && (a = Ee(a, i, s)), In(hs(t, e.sourceId), a);
4103
+ let a = je(fs(r, e, s), e, s);
4104
+ return i && (a = Ee(a, i, s)), On(hs(t, e.sourceId), a);
4096
4105
  }
4097
4106
  return t;
4098
4107
  }
4099
4108
  function oc(t, e, n, i, r) {
4100
4109
  const { defIdMap: s, instanceIdMap: a } = uc(t);
4101
- let l = Fe(fs(n, e, r), e, r, !1, s, a);
4110
+ let l = je(fs(n, e, r), e, r, !1, s, a);
4102
4111
  return Ee(l, i, r);
4103
4112
  }
4104
4113
  function fs(t, e, n) {
@@ -4119,9 +4128,9 @@ function Ui(t, e) {
4119
4128
  return n;
4120
4129
  }
4121
4130
  function cc(t, e, n, i) {
4122
- return n && (e = Ee(e, n, i)), In(t, e);
4131
+ return n && (e = Ee(e, n, i)), On(t, e);
4123
4132
  }
4124
- function Fi(t, e, n) {
4133
+ function ji(t, e, n) {
4125
4134
  let { defs: i } = t, r = ne(t.instances, (s) => i[s.defId].allDay ? s : Object.assign(Object.assign({}, s), { range: {
4126
4135
  start: n.createMarker(e.toDate(s.range.start, s.forcedStartTzo)),
4127
4136
  end: n.createMarker(e.toDate(s.range.end, s.forcedEndTzo))
@@ -4184,9 +4193,9 @@ function pc(t, e, n, i) {
4184
4193
  )))
4185
4194
  return !1;
4186
4195
  }
4187
- let O = r.eventStore;
4196
+ let I = r.eventStore;
4188
4197
  for (let M of E.allows) {
4189
- let N = Object.assign(Object.assign({}, n), { range: y.range, allDay: C.allDay }), R = O.defs[C.defId], Q = O.instances[v], ae;
4198
+ let N = Object.assign(Object.assign({}, n), { range: y.range, allDay: C.allDay }), R = I.defs[C.defId], Q = I.instances[v], ae;
4190
4199
  if (R ? ae = new L(e, R, Q) : ae = new L(e, C), !M(Bn(N, e), ae))
4191
4200
  return !1;
4192
4201
  }
@@ -4231,7 +4240,7 @@ function vc(t, e) {
4231
4240
  return !0;
4232
4241
  return !1;
4233
4242
  }
4234
- class ji extends Error {
4243
+ class Fi extends Error {
4235
4244
  constructor(e, n) {
4236
4245
  super(e), this.response = n;
4237
4246
  }
@@ -4246,9 +4255,9 @@ function yc(t, e, n) {
4246
4255
  }), fetch(e, i).then((r) => {
4247
4256
  if (r.ok)
4248
4257
  return r.json().then((s) => [s, r], () => {
4249
- throw new ji("Failure parsing JSON", r);
4258
+ throw new Fi("Failure parsing JSON", r);
4250
4259
  });
4251
- throw new ji("Request failed", r);
4260
+ throw new Fi("Request failed", r);
4252
4261
  });
4253
4262
  }
4254
4263
  class Vn {
@@ -4291,7 +4300,7 @@ class Vn {
4291
4300
  }
4292
4301
  }
4293
4302
  const et = /^(visible|hidden)$/;
4294
- class bc extends I {
4303
+ class bc extends O {
4295
4304
  constructor() {
4296
4305
  super(...arguments), this.handleEl = (e) => {
4297
4306
  this.el = e, ie(this.props.elRef, e);
@@ -4444,7 +4453,7 @@ function ys(t) {
4444
4453
  let { stickyFooterScrollbar: e } = t;
4445
4454
  return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
4446
4455
  }
4447
- class Gn extends I {
4456
+ class Gn extends O {
4448
4457
  constructor() {
4449
4458
  super(...arguments), this.processCols = D((e) => e, Cc), this.renderMicroColGroup = D(Sc), this.scrollerRefs = new ee(), this.scrollerElRefs = new ee(this._handleScrollerEl.bind(this)), this.state = {
4450
4459
  shrinkWidth: null,
@@ -4544,7 +4553,7 @@ function Rc(t, e) {
4544
4553
  return n;
4545
4554
  return null;
4546
4555
  }
4547
- class Yn extends I {
4556
+ class Yn extends O {
4548
4557
  constructor() {
4549
4558
  super(...arguments), this.handleEl = (e) => {
4550
4559
  this.el = e, e && Bi(e, this.props.seg);
@@ -4560,7 +4569,7 @@ class Yn extends I {
4560
4569
  borderColor: a.borderColor,
4561
4570
  isDraggable: !e.disableDragging && ko(r, n),
4562
4571
  isStartResizable: !e.disableResizing && Mo(r, n),
4563
- isEndResizable: !e.disableResizing && Io(r),
4572
+ isEndResizable: !e.disableResizing && Oo(r),
4564
4573
  isMirror: !!(e.isDragging || e.isResizing || e.isDateSelecting),
4565
4574
  isStart: !!r.isStart,
4566
4575
  isEnd: !!r.isEnd,
@@ -4572,7 +4581,7 @@ class Yn extends I {
4572
4581
  isResizing: !!e.isResizing
4573
4582
  };
4574
4583
  return p(q, Object.assign({}, e, { elRef: this.handleEl, elClasses: [
4575
- ...Oo(l),
4584
+ ...Io(l),
4576
4585
  ...r.eventRange.ui.classNames,
4577
4586
  ...e.elClasses || []
4578
4587
  ], renderProps: l, generatorName: "eventContent", customGenerator: i.eventContent, defaultGenerator: e.defaultGenerator, classNameGenerator: i.eventClassNames, didMount: i.eventDidMount, willUnmount: i.eventWillUnmount }));
@@ -4581,7 +4590,7 @@ class Yn extends I {
4581
4590
  this.el && this.props.seg !== e.seg && Bi(this.el, this.props.seg);
4582
4591
  }
4583
4592
  }
4584
- class bs extends I {
4593
+ class bs extends O {
4585
4594
  render() {
4586
4595
  let { props: e, context: n } = this, { options: i } = n, { seg: r } = e, { ui: s } = r.eventRange, a = i.eventTimeFormat || e.defaultTimeFormat, l = Zr(r, a, n, e.defaultDisplayEventTime, e.defaultDisplayEventEnd);
4587
4596
  return p(Yn, Object.assign({}, e, { elTag: "a", elStyle: {
@@ -4616,9 +4625,9 @@ const qn = (t) => p(re.Consumer, null, (e) => {
4616
4625
  };
4617
4626
  return p(q, Object.assign({}, t, { elTag: t.elTag || "div", renderProps: i, generatorName: "nowIndicatorContent", customGenerator: n.nowIndicatorContent, classNameGenerator: n.nowIndicatorClassNames, didMount: n.nowIndicatorDidMount, willUnmount: n.nowIndicatorWillUnmount }));
4618
4627
  }), Mc = B({ day: "numeric" });
4619
- class Qn extends I {
4628
+ class Qn extends O {
4620
4629
  constructor() {
4621
- super(...arguments), this.refineRenderProps = lt(Ic);
4630
+ super(...arguments), this.refineRenderProps = lt(Oc);
4622
4631
  }
4623
4632
  render() {
4624
4633
  let { props: e, context: n } = this, { options: i } = n, r = this.refineRenderProps({
@@ -4644,20 +4653,20 @@ class Qn extends I {
4644
4653
  function $n(t) {
4645
4654
  return !!(t.dayCellContent || ss("dayCellContent", t));
4646
4655
  }
4647
- function Ic(t) {
4648
- let { date: e, dateEnv: n, dateProfile: i, isMonthStart: r } = t, s = Fr(e, t.todayRange, null, i), a = t.showDayNumber ? n.format(e, r ? t.monthStartFormat : Mc) : "";
4656
+ function Oc(t) {
4657
+ let { date: e, dateEnv: n, dateProfile: i, isMonthStart: r } = t, s = jr(e, t.todayRange, null, i), a = t.showDayNumber ? n.format(e, r ? t.monthStartFormat : Mc) : "";
4649
4658
  return Object.assign(Object.assign(Object.assign({ date: n.toDate(e), view: t.viewApi }, s), {
4650
4659
  isMonthStart: r,
4651
4660
  dayNumberText: a
4652
4661
  }), t.extraRenderProps);
4653
4662
  }
4654
- class Es extends I {
4663
+ class Es extends O {
4655
4664
  render() {
4656
4665
  let { props: e } = this, { seg: n } = e;
4657
- return p(Yn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Oc, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4666
+ return p(Yn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Ic, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4658
4667
  }
4659
4668
  }
4660
- function Oc(t) {
4669
+ function Ic(t) {
4661
4670
  let { title: e } = t.event;
4662
4671
  return e && p("div", { className: "fc-event-title" }, t.event.title);
4663
4672
  }
@@ -4675,7 +4684,7 @@ function Nc(t) {
4675
4684
  return t.text;
4676
4685
  }
4677
4686
  const $t = 10;
4678
- class Pc extends I {
4687
+ class Pc extends O {
4679
4688
  constructor() {
4680
4689
  super(...arguments), this.state = {
4681
4690
  titleId: Tt()
@@ -4765,7 +4774,7 @@ class Hc extends K {
4765
4774
  } : null;
4766
4775
  }
4767
4776
  }
4768
- class Cs extends I {
4777
+ class Cs extends O {
4769
4778
  constructor() {
4770
4779
  super(...arguments), this.state = {
4771
4780
  isPopoverOpen: !1,
@@ -4833,7 +4842,7 @@ function Wi(t) {
4833
4842
  if (t.allDayDate)
4834
4843
  return {
4835
4844
  start: t.allDayDate,
4836
- end: F(t.allDayDate, 1)
4845
+ end: j(t.allDayDate, 1)
4837
4846
  };
4838
4847
  let { hiddenSegs: e } = t;
4839
4848
  return {
@@ -4853,7 +4862,7 @@ function zc(t) {
4853
4862
  function Uc(t, e) {
4854
4863
  return t.eventRange.range.end > e.eventRange.range.end ? t : e;
4855
4864
  }
4856
- class wt extends I {
4865
+ class wt extends O {
4857
4866
  render() {
4858
4867
  let { props: e, context: n } = this, { options: i } = n, r = { view: n.viewApi };
4859
4868
  return p(q, Object.assign({}, e, { elTag: e.elTag || "div", elClasses: [
@@ -4868,7 +4877,7 @@ function Ds(t) {
4868
4877
  "fc-view"
4869
4878
  ];
4870
4879
  }
4871
- const Fc = {
4880
+ const jc = {
4872
4881
  id: String,
4873
4882
  defaultAllDay: Boolean,
4874
4883
  url: String,
@@ -4882,7 +4891,7 @@ const Fc = {
4882
4891
  function As(t, e, n = Ts(e)) {
4883
4892
  let i;
4884
4893
  if (typeof t == "string" ? i = { url: t } : typeof t == "function" || Array.isArray(t) ? i = { events: t } : typeof t == "object" && t && (i = t), i) {
4885
- let { refined: r, extra: s } = Rn(i, n), a = jc(r, e);
4894
+ let { refined: r, extra: s } = Rn(i, n), a = Fc(r, e);
4886
4895
  if (a)
4887
4896
  return {
4888
4897
  _raw: t,
@@ -4904,9 +4913,9 @@ function As(t, e, n = Ts(e)) {
4904
4913
  return null;
4905
4914
  }
4906
4915
  function Ts(t) {
4907
- return Object.assign(Object.assign(Object.assign({}, vt), Fc), t.pluginHooks.eventSourceRefiners);
4916
+ return Object.assign(Object.assign(Object.assign({}, vt), jc), t.pluginHooks.eventSourceRefiners);
4908
4917
  }
4909
- function jc(t, e) {
4918
+ function Fc(t, e) {
4910
4919
  let n = e.pluginHooks.eventSourceDefs;
4911
4920
  for (let i = n.length - 1; i >= 0; i -= 1) {
4912
4921
  let s = n[i].parseMeta(t);
@@ -5415,7 +5424,7 @@ function Zc(t, e) {
5415
5424
  function Xc(t, e) {
5416
5425
  return t === void 0 ? e : e === void 0 ? t : new Date(Math.max(t.valueOf(), e.valueOf()));
5417
5426
  }
5418
- class he extends je {
5427
+ class he extends Fe {
5419
5428
  }
5420
5429
  he.prototype.classes = {
5421
5430
  root: "fc-theme-standard",
@@ -5474,7 +5483,7 @@ function Vi(t) {
5474
5483
  }
5475
5484
  function ed(t) {
5476
5485
  let e = typeof t == "function" ? { component: t } : t, { component: n } = e;
5477
- return e.content ? n = Gi(e) : n && !(n.prototype instanceof I) && (n = Gi(Object.assign(Object.assign({}, e), { content: n }))), {
5486
+ return e.content ? n = Gi(e) : n && !(n.prototype instanceof O) && (n = Gi(Object.assign(Object.assign({}, e), { content: n }))), {
5478
5487
  superType: e.type,
5479
5488
  component: n,
5480
5489
  rawOptions: e
@@ -5558,13 +5567,13 @@ function ad(t, e, n, i) {
5558
5567
  }
5559
5568
  function ld(t, e, n) {
5560
5569
  let i = e ? e.activeRange : null;
5561
- return Os({}, pd(t, n), i, n);
5570
+ return Is({}, pd(t, n), i, n);
5562
5571
  }
5563
5572
  function od(t, e, n, i) {
5564
5573
  let r = n ? n.activeRange : null;
5565
5574
  switch (e.type) {
5566
5575
  case "ADD_EVENT_SOURCES":
5567
- return Os(t, e.sources, r, i);
5576
+ return Is(t, e.sources, r, i);
5568
5577
  case "REMOVE_EVENT_SOURCE":
5569
5578
  return dd(t, e.sourceId);
5570
5579
  case "PREV":
@@ -5590,13 +5599,13 @@ function cd(t, e, n) {
5590
5599
  let i = e ? e.activeRange : null;
5591
5600
  return Zn(t, Ps(t, n), i, !0, n);
5592
5601
  }
5593
- function Is(t) {
5602
+ function Os(t) {
5594
5603
  for (let e in t)
5595
5604
  if (t[e].isFetching)
5596
5605
  return !0;
5597
5606
  return !1;
5598
5607
  }
5599
- function Os(t, e, n, i) {
5608
+ function Is(t, e, n, i) {
5600
5609
  let r = {};
5601
5610
  for (let s of e)
5602
5611
  r[s.sourceId] = s;
@@ -5734,15 +5743,15 @@ function Ed(t, e, n, i, r, s) {
5734
5743
  return { widgets: f.map((b) => b.split(",").map((E) => {
5735
5744
  if (E === "title")
5736
5745
  return v = !0, { buttonName: E };
5737
- let C, T, A, O, M, N;
5746
+ let C, T, A, I, M, N;
5738
5747
  if (C = l[E])
5739
5748
  A = (R) => {
5740
5749
  C.click && C.click.call(R.target, R, R.target);
5741
- }, (O = i.getCustomButtonIconClass(C)) || (O = i.getIconClass(E, a)) || (M = C.text), N = C.hint || C.text;
5750
+ }, (I = i.getCustomButtonIconClass(C)) || (I = i.getIconClass(E, a)) || (M = C.text), N = C.hint || C.text;
5742
5751
  else if (T = r[E]) {
5743
5752
  u.push(E), A = () => {
5744
5753
  s.changeView(E);
5745
- }, (M = T.buttonTextOverride) || (O = i.getIconClass(E, a)) || (M = T.buttonTextDefault);
5754
+ }, (M = T.buttonTextOverride) || (I = i.getIconClass(E, a)) || (M = T.buttonTextDefault);
5746
5755
  let R = T.buttonTextOverride || T.buttonTextDefault;
5747
5756
  N = Le(
5748
5757
  T.buttonTitleOverride || T.buttonTitleDefault || e.viewHint,
@@ -5753,7 +5762,7 @@ function Ed(t, e, n, i, r, s) {
5753
5762
  } else if (s[E])
5754
5763
  if (A = () => {
5755
5764
  s[E]();
5756
- }, (M = o[E]) || (O = i.getIconClass(E, a)) || (M = d[E]), E === "prevYear" || E === "nextYear") {
5765
+ }, (M = o[E]) || (I = i.getIconClass(E, a)) || (M = d[E]), E === "prevYear" || E === "nextYear") {
5757
5766
  let R = E === "prevYear" ? "prev" : "next";
5758
5767
  N = Le(c[R] || h[R], [
5759
5768
  d.year || "year",
@@ -5764,7 +5773,7 @@ function Ed(t, e, n, i, r, s) {
5764
5773
  d[R] || R,
5765
5774
  R
5766
5775
  ], d[E]);
5767
- return { buttonName: E, buttonClick: A, buttonIcon: O, buttonText: M, buttonHint: N };
5776
+ return { buttonName: E, buttonClick: A, buttonIcon: I, buttonText: M, buttonHint: N };
5768
5777
  })), viewsWithButtons: u, hasTitle: v };
5769
5778
  }
5770
5779
  class _d {
@@ -5884,19 +5893,19 @@ let Md = {
5884
5893
  },
5885
5894
  expand(t, e, n) {
5886
5895
  let i = _e(e, { start: t.startRecur, end: t.endRecur });
5887
- return i ? Od(t.daysOfWeek, t.startTime, i, n) : [];
5896
+ return i ? Id(t.daysOfWeek, t.startTime, i, n) : [];
5888
5897
  }
5889
5898
  };
5890
- const Id = se({
5899
+ const Od = se({
5891
5900
  name: "simple-recurring-event",
5892
5901
  recurringTypes: [Md],
5893
5902
  eventRefiners: kd
5894
5903
  });
5895
- function Od(t, e, n, i) {
5904
+ function Id(t, e, n, i) {
5896
5905
  let r = t ? kr(t) : null, s = P(n.start), a = n.end, l = [];
5897
5906
  for (; s < a; ) {
5898
5907
  let o;
5899
- (!r || r[s.getUTCDay()]) && (e ? o = i.add(s, e) : o = s, l.push(o)), s = F(s, 1);
5908
+ (!r || r[s.getUTCDay()]) && (e ? o = i.add(s, e) : o = s, l.push(o)), s = j(s, 1);
5900
5909
  }
5901
5910
  return l;
5902
5911
  }
@@ -5948,12 +5957,12 @@ const Ld = [
5948
5957
  Cd,
5949
5958
  Dd,
5950
5959
  xd,
5951
- Id,
5960
+ Od,
5952
5961
  Nd,
5953
5962
  se({
5954
5963
  name: "misc",
5955
5964
  isLoadingFuncs: [
5956
- (t) => Is(t.eventSources)
5965
+ (t) => Os(t.eventSources)
5957
5966
  ],
5958
5967
  propSetHandlers: {
5959
5968
  dateProfile: Pd,
@@ -6006,9 +6015,9 @@ function Ud(t) {
6006
6015
  let n = pt(t.currentRange.start, t.currentRange.end);
6007
6016
  return n !== null && n > 1 ? { year: "numeric", month: "short", day: "numeric" } : { year: "numeric", month: "long", day: "numeric" };
6008
6017
  }
6009
- class Fd {
6018
+ class jd {
6010
6019
  constructor(e) {
6011
- this.computeCurrentViewData = D(this._computeCurrentViewData), this.organizeRawLocales = D(Gc), this.buildLocale = D(ks), this.buildPluginHooks = $c(), this.buildDateEnv = D(jd), this.buildTheme = D(Wd), this.parseToolbars = D(bd), this.buildViewSpecs = D(td), this.buildDateProfileGenerator = lt(Vd), this.buildViewApi = D(Gd), this.buildViewUiProps = lt(Qd), this.buildEventUiBySource = D(Yd, J), this.buildEventUiBases = D(qd), this.parseContextBusinessHours = lt($d), this.buildTitle = D(zd), this.emitter = new Mt(), this.actionRunner = new Bd(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
6020
+ this.computeCurrentViewData = D(this._computeCurrentViewData), this.organizeRawLocales = D(Gc), this.buildLocale = D(ks), this.buildPluginHooks = $c(), this.buildDateEnv = D(Fd), this.buildTheme = D(Wd), this.parseToolbars = D(bd), this.buildViewSpecs = D(td), this.buildDateProfileGenerator = lt(Vd), this.buildViewApi = D(Gd), this.buildViewUiProps = lt(Qd), this.buildEventUiBySource = D(Yd, J), this.buildEventUiBases = D(qd), this.parseContextBusinessHours = lt($d), this.buildTitle = D(zd), this.emitter = new Mt(), this.actionRunner = new Bd(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
6012
6021
  this.actionRunner.request(f);
6013
6022
  }, this.props = e, this.actionRunner.pause();
6014
6023
  let n = {}, i = this.computeOptionsData(e.optionOverrides, n, e.calendarApi), r = i.calendarOptions.initialView || i.pluginHooks.initialView, s = this.computeCurrentViewData(r, i, e.optionOverrides, n);
@@ -6067,7 +6076,7 @@ class Fd {
6067
6076
  this.data && this.data.dateProfileGenerator !== o.dateProfileGenerator && (h = o.dateProfileGenerator.build(c)), c = Co(c, e), h = ad(h, e, c, o.dateProfileGenerator), (e.type === "PREV" || // TODO: move this logic into DateProfileGenerator
6068
6077
  e.type === "NEXT" || // "
6069
6078
  !te(h.currentRange, c)) && (c = h.currentRange.start);
6070
- let f = od(i.eventSources, e, h, d), u = ac(i.eventStore, e, f, h, d), y = Is(f) && !o.options.progressiveEventRendering && i.renderableEventStore || u, { eventUiSingleBase: b, selectionConfig: E } = this.buildViewUiProps(d), C = this.buildEventUiBySource(f), T = this.buildEventUiBases(y.defs, b, C), A = {
6079
+ let f = od(i.eventSources, e, h, d), u = ac(i.eventStore, e, f, h, d), y = Os(f) && !o.options.progressiveEventRendering && i.renderableEventStore || u, { eventUiSingleBase: b, selectionConfig: E } = this.buildViewUiProps(d), C = this.buildEventUiBySource(f), T = this.buildEventUiBases(y.defs, b, C), A = {
6071
6080
  dynamicOptionOverrides: s,
6072
6081
  currentViewType: l,
6073
6082
  currentDate: c,
@@ -6082,16 +6091,16 @@ class Fd {
6082
6091
  eventSelection: md(i.eventSelection, e),
6083
6092
  eventDrag: vd(i.eventDrag, e),
6084
6093
  eventResize: yd(i.eventResize, e)
6085
- }, O = Object.assign(Object.assign({}, d), A);
6094
+ }, I = Object.assign(Object.assign({}, d), A);
6086
6095
  for (let R of a.pluginHooks.reducers)
6087
- Object.assign(A, R(i, e, O));
6096
+ Object.assign(A, R(i, e, I));
6088
6097
  let M = Zt(i, d), N = Zt(A, d);
6089
6098
  !M && N ? r.trigger("loading", !0) : M && !N && r.trigger("loading", !1), this.state = A, n.onAction && n.onAction(e);
6090
6099
  }
6091
6100
  updateData() {
6092
6101
  let { props: e, state: n } = this, i = this.data, r = this.computeOptionsData(e.optionOverrides, n.dynamicOptionOverrides, e.calendarApi), s = this.computeCurrentViewData(n.currentViewType, r, e.optionOverrides, n.dynamicOptionOverrides), a = this.data = Object.assign(Object.assign(Object.assign({ viewTitle: this.buildTitle(n.dateProfile, s.options, r.dateEnv), calendarApi: e.calendarApi, dispatch: this.dispatch, emitter: this.emitter, getCurrentData: this.getCurrentData }, r), s), n), l = r.pluginHooks.optionChangeHandlers, o = i && i.calendarOptions, d = r.calendarOptions;
6093
6102
  if (o && o !== d) {
6094
- o.timeZone !== d.timeZone && (n.eventSources = a.eventSources = cd(a.eventSources, n.dateProfile, a), n.eventStore = a.eventStore = Fi(a.eventStore, i.dateEnv, a.dateEnv), n.renderableEventStore = a.renderableEventStore = Fi(a.renderableEventStore, i.dateEnv, a.dateEnv));
6103
+ o.timeZone !== d.timeZone && (n.eventSources = a.eventSources = cd(a.eventSources, n.dateProfile, a), n.eventStore = a.eventStore = ji(a.eventStore, i.dateEnv, a.dateEnv), n.renderableEventStore = a.renderableEventStore = ji(a.renderableEventStore, i.dateEnv, a.dateEnv));
6095
6104
  for (let c in l)
6096
6105
  (this.optionsForHandling.indexOf(c) !== -1 || o[c] !== d[c]) && l[c](d[c], a);
6097
6106
  }
@@ -6116,11 +6125,11 @@ class Fd {
6116
6125
  }
6117
6126
  // always called from behind a memoizer
6118
6127
  processRawCalendarOptions(e, n) {
6119
- let { locales: i, locale: r } = jt([
6128
+ let { locales: i, locale: r } = Ft([
6120
6129
  Be,
6121
6130
  e,
6122
6131
  n
6123
- ]), s = this.organizeRawLocales(i), a = s.map, l = this.buildLocale(r || s.defaultCode, a).options, o = this.buildPluginHooks(e.plugins || [], Ld), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ki), Mi), Ii), o.listenerRefiners), o.optionRefiners), c = {}, h = jt([
6132
+ ]), s = this.organizeRawLocales(i), a = s.map, l = this.buildLocale(r || s.defaultCode, a).options, o = this.buildPluginHooks(e.plugins || [], Ld), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ki), Mi), Oi), o.listenerRefiners), o.optionRefiners), c = {}, h = Ft([
6124
6133
  Be,
6125
6134
  l,
6126
6135
  e,
@@ -6166,14 +6175,14 @@ class Fd {
6166
6175
  return { viewSpec: s, options: a, dateProfileGenerator: o, viewApi: d };
6167
6176
  }
6168
6177
  processRawViewOptions(e, n, i, r, s) {
6169
- let a = jt([
6178
+ let a = Ft([
6170
6179
  Be,
6171
6180
  e.optionDefaults,
6172
6181
  i,
6173
6182
  r,
6174
6183
  e.optionOverrides,
6175
6184
  s
6176
- ]), l = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ki), Mi), Ii), Il), n.listenerRefiners), n.optionRefiners), o = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6185
+ ]), l = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ki), Mi), Oi), Ol), n.listenerRefiners), n.optionRefiners), o = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6177
6186
  for (let u in a)
6178
6187
  a[u] === d[u] || pe[u] && pe[u](a[u], d[u]) ? o[u] = c[u] : (a[u] === this.currentCalendarOptionsInput[u] || pe[u] && pe[u](a[u], this.currentCalendarOptionsInput[u]) ? u in this.currentCalendarOptionsRefined && (o[u] = this.currentCalendarOptionsRefined[u]) : l[u] ? o[u] = l[u](a[u]) : f[u] = a[u], h = !0);
6179
6188
  return h && (this.currentViewOptionsInput = a, this.currentViewOptionsRefined = o), {
@@ -6183,7 +6192,7 @@ class Fd {
6183
6192
  };
6184
6193
  }
6185
6194
  }
6186
- function jd(t, e, n, i, r, s, a, l) {
6195
+ function Fd(t, e, n, i, r, s, a, l) {
6187
6196
  let o = ks(e || a.defaultCode, a.map);
6188
6197
  return new Yo({
6189
6198
  calendarSystem: "gregory",
@@ -6256,7 +6265,7 @@ function $i(t, e) {
6256
6265
  for (let n in t)
6257
6266
  console.warn(`Unknown option '${n}'` + (e ? ` for view '${e}'` : ""));
6258
6267
  }
6259
- class Zd extends I {
6268
+ class Zd extends O {
6260
6269
  render() {
6261
6270
  let e = this.props.widgetGroups.map((n) => this.renderWidgetGroup(n));
6262
6271
  return p("div", { className: "fc-toolbar-chunk" }, ...e);
@@ -6279,7 +6288,7 @@ class Zd extends I {
6279
6288
  return r[0];
6280
6289
  }
6281
6290
  }
6282
- class Zi extends I {
6291
+ class Zi extends O {
6283
6292
  render() {
6284
6293
  let { model: e, extraClassName: n } = this.props, i = !1, r, s, a = e.sectionWidgets, l = a.center;
6285
6294
  return a.left ? (i = !0, r = a.left) : r = a.start, a.right ? (i = !0, s = a.right) : s = a.end, p(
@@ -6299,7 +6308,7 @@ class Zi extends I {
6299
6308
  return p(Zd, { key: e, widgetGroups: n, title: i.title, navUnit: i.navUnit, activeButton: i.activeButton, isTodayEnabled: i.isTodayEnabled, isPrevEnabled: i.isPrevEnabled, isNextEnabled: i.isNextEnabled, titleId: i.titleId });
6300
6309
  }
6301
6310
  }
6302
- class Xd extends I {
6311
+ class Xd extends O {
6303
6312
  constructor() {
6304
6313
  super(...arguments), this.state = {
6305
6314
  availableWidth: null
@@ -6328,10 +6337,10 @@ class Xd extends I {
6328
6337
  this.props.aspectRatio && this.setState({ availableWidth: this.el.offsetWidth });
6329
6338
  }
6330
6339
  }
6331
- class Jd extends Oe {
6340
+ class Jd extends Ie {
6332
6341
  constructor(e) {
6333
6342
  super(e), this.handleSegClick = (n, i) => {
6334
- let { component: r } = this, { context: s } = r, a = Ie(i);
6343
+ let { component: r } = this, { context: s } = r, a = Oe(i);
6335
6344
  if (a && // might be the <div> surrounding the more link
6336
6345
  r.isValidSegDownEl(n.target)) {
6337
6346
  let l = U(n.target, ".fc-event-forced-url"), o = l ? l.querySelector("a[href]").href : "";
@@ -6351,12 +6360,12 @@ class Jd extends Oe {
6351
6360
  );
6352
6361
  }
6353
6362
  }
6354
- class Kd extends Oe {
6363
+ class Kd extends Ie {
6355
6364
  constructor(e) {
6356
6365
  super(e), this.handleEventElRemove = (n) => {
6357
6366
  n === this.currentSegEl && this.handleSegLeave(null, this.currentSegEl);
6358
6367
  }, this.handleSegEnter = (n, i) => {
6359
- Ie(i) && (this.currentSegEl = i, this.triggerEvent("eventMouseEnter", n, i));
6368
+ Oe(i) && (this.currentSegEl = i, this.triggerEvent("eventMouseEnter", n, i));
6360
6369
  }, this.handleSegLeave = (n, i) => {
6361
6370
  this.currentSegEl && (this.currentSegEl = null, this.triggerEvent("eventMouseLeave", n, i));
6362
6371
  }, this.removeHoverListeners = Na(
@@ -6371,7 +6380,7 @@ class Kd extends Oe {
6371
6380
  this.removeHoverListeners();
6372
6381
  }
6373
6382
  triggerEvent(e, n, i) {
6374
- let { component: r } = this, { context: s } = r, a = Ie(i);
6383
+ let { component: r } = this, { context: s } = r, a = Oe(i);
6375
6384
  (!n || r.isValidSegDownEl(n.target)) && s.emitter.trigger(e, {
6376
6385
  el: i,
6377
6386
  event: new L(s, a.eventRange.def, a.eventRange.instance),
@@ -6382,7 +6391,7 @@ class Kd extends Oe {
6382
6391
  }
6383
6392
  class eu extends Se {
6384
6393
  constructor() {
6385
- super(...arguments), this.buildViewContext = D(Eo), this.buildViewPropTransformers = D(nu), this.buildToolbarProps = D(tu), this.headerRef = j(), this.footerRef = j(), this.interactionsStore = {}, this.state = {
6394
+ super(...arguments), this.buildViewContext = D(Eo), this.buildViewPropTransformers = D(nu), this.buildToolbarProps = D(tu), this.headerRef = F(), this.footerRef = F(), this.interactionsStore = {}, this.state = {
6386
6395
  viewLabelId: Tt()
6387
6396
  }, this.registerInteractiveComponent = (e, n) => {
6388
6397
  let i = $o(e, n), a = [
@@ -6511,7 +6520,7 @@ class iu extends Wc {
6511
6520
  });
6512
6521
  } else
6513
6522
  this.isRendered && (this.isRendered = !1, Ue(null, this.el), this.setClassNames([]), this.setHeight(""));
6514
- }, Da(e), this.el = e, this.renderRunner = new Vn(this.handleRenderRequest), new Fd({
6523
+ }, Da(e), this.el = e, this.renderRunner = new Vn(this.handleRenderRequest), new jd({
6515
6524
  optionOverrides: n,
6516
6525
  calendarApi: this,
6517
6526
  onAction: this.handleAction,
@@ -6602,13 +6611,13 @@ function Bs(t) {
6602
6611
  t.isStart && // "
6603
6612
  t.isEnd;
6604
6613
  }
6605
- class zs extends I {
6614
+ class zs extends O {
6606
6615
  render() {
6607
6616
  let { props: e } = this;
6608
6617
  return p(bs, Object.assign({}, e, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: Ls, defaultDisplayEventEnd: e.defaultDisplayEventEnd, disableResizing: !e.seg.eventRange.def.allDay }));
6609
6618
  }
6610
6619
  }
6611
- class Us extends I {
6620
+ class Us extends O {
6612
6621
  render() {
6613
6622
  let { props: e, context: n } = this, { options: i } = n, { seg: r } = e, s = i.eventTimeFormat || Ls, a = Zr(r, s, n, !0, e.defaultDisplayEventEnd);
6614
6623
  return p(Yn, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Jr(e.seg, n), defaultGenerator: su, timeText: a, isResizing: !1, isDateSelecting: !1 }));
@@ -6623,7 +6632,7 @@ function su(t) {
6623
6632
  p("div", { className: "fc-event-title" }, t.event.title || p(H, null, " "))
6624
6633
  );
6625
6634
  }
6626
- class au extends I {
6635
+ class au extends O {
6627
6636
  constructor() {
6628
6637
  super(...arguments), this.compileSegs = D(lu);
6629
6638
  }
@@ -6649,7 +6658,7 @@ function lu(t) {
6649
6658
  const ou = B({ week: "narrow" });
6650
6659
  class cu extends K {
6651
6660
  constructor() {
6652
- super(...arguments), this.rootElRef = j(), this.state = {
6661
+ super(...arguments), this.rootElRef = F(), this.state = {
6653
6662
  dayNumberId: Tt()
6654
6663
  }, this.handleRootEl = (e) => {
6655
6664
  ie(this.rootElRef, e), ie(this.props.elRef, e);
@@ -6811,7 +6820,7 @@ function Re(t, e, n, i) {
6811
6820
  return t;
6812
6821
  let r = t.eventRange, s = r.range, a = _e(s, {
6813
6822
  start: i[e].date,
6814
- end: F(i[n - 1].date, 1)
6823
+ end: j(i[n - 1].date, 1)
6815
6824
  });
6816
6825
  return Object.assign(Object.assign({}, t), { firstCol: e, lastCol: n - 1, eventRange: {
6817
6826
  def: r.def,
@@ -6844,9 +6853,9 @@ class gu extends ns {
6844
6853
  return super.handleInvalidInsertion(e, n, i);
6845
6854
  }
6846
6855
  }
6847
- class Fs extends K {
6856
+ class js extends K {
6848
6857
  constructor() {
6849
- super(...arguments), this.cellElRefs = new ee(), this.frameElRefs = new ee(), this.fgElRefs = new ee(), this.segHarnessRefs = new ee(), this.rootElRef = j(), this.state = {
6858
+ super(...arguments), this.cellElRefs = new ee(), this.frameElRefs = new ee(), this.fgElRefs = new ee(), this.segHarnessRefs = new ee(), this.rootElRef = F(), this.state = {
6850
6859
  framePositions: null,
6851
6860
  maxContentHeight: null,
6852
6861
  eventInstanceHeights: {}
@@ -6908,13 +6917,13 @@ class Fs extends K {
6908
6917
  let { context: o } = this, { eventSelection: d } = this.props, { framePositions: c } = this.state, h = this.props.cells.length === 1, f = s || a || l, u = [];
6909
6918
  if (c)
6910
6919
  for (let v of n) {
6911
- let { seg: y } = v, { instanceId: b } = y.eventRange.instance, E = b + ":" + e, C = v.isVisible && !r[b], T = v.isAbsolute, A = "", O = "";
6912
- T && (o.isRtl ? (O = 0, A = c.lefts[y.lastCol] - c.lefts[y.firstCol]) : (A = 0, O = c.rights[y.firstCol] - c.rights[y.lastCol])), u.push(p("div", { className: "fc-daygrid-event-harness" + (T ? " fc-daygrid-event-harness-abs" : ""), key: E, ref: f ? null : this.segHarnessRefs.createRef(E), style: {
6920
+ let { seg: y } = v, { instanceId: b } = y.eventRange.instance, E = b + ":" + e, C = v.isVisible && !r[b], T = v.isAbsolute, A = "", I = "";
6921
+ T && (o.isRtl ? (I = 0, A = c.lefts[y.lastCol] - c.lefts[y.firstCol]) : (A = 0, I = c.rights[y.firstCol] - c.rights[y.lastCol])), u.push(p("div", { className: "fc-daygrid-event-harness" + (T ? " fc-daygrid-event-harness-abs" : ""), key: E, ref: f ? null : this.segHarnessRefs.createRef(E), style: {
6913
6922
  visibility: C ? "" : "hidden",
6914
6923
  marginTop: T ? "" : v.marginTop,
6915
6924
  top: T ? v.absoluteTop : "",
6916
6925
  left: A,
6917
- right: O
6926
+ right: I
6918
6927
  } }, Bs(y) ? p(Us, Object.assign({ seg: y, isDragging: s, isSelected: b === d, defaultDisplayEventEnd: h }, de(y, i))) : p(zs, Object.assign({ seg: y, isDragging: s, isResizing: a, isDateSelecting: l, isSelected: b === d, defaultDisplayEventEnd: h }, de(y, i)))));
6919
6928
  }
6920
6929
  return u;
@@ -6985,7 +6994,7 @@ class Fs extends K {
6985
6994
  return this.props.cells.map((n) => e[n.key]);
6986
6995
  }
6987
6996
  }
6988
- Fs.addStateEquality({
6997
+ js.addStateEquality({
6989
6998
  eventInstanceHeights: J
6990
6999
  });
6991
7000
  function mu(t, e) {
@@ -7013,7 +7022,7 @@ class yu extends K {
7013
7022
  }
7014
7023
  render() {
7015
7024
  let { props: e, context: n } = this, i = e.cells.length, r = this.splitBusinessHourSegs(e.businessHourSegs, i), s = this.splitBgEventSegs(e.bgEventSegs, i), a = this.splitFgEventSegs(e.fgEventSegs, i), l = this.splitDateSelectionSegs(e.dateSelectionSegs, i), o = this.splitEventDrag(e.eventDrag, i), d = this.splitEventResize(e.eventResize, i), c = i >= 7 && e.clientWidth ? e.clientWidth / n.options.aspectRatio / 6 : null;
7016
- return p(Ve, { unit: "day" }, (h, f) => p(H, null, e.cells.map((u, v) => p(Fs, {
7025
+ return p(Ve, { unit: "day" }, (h, f) => p(H, null, e.cells.map((u, v) => p(js, {
7017
7026
  ref: this.rowRefs.createRef(v),
7018
7027
  key: u.length ? u[0].date.toISOString() : v,
7019
7028
  showDayNumbers: i > 1,
@@ -7088,7 +7097,7 @@ class yu extends K {
7088
7097
  return this.rowRefs.currentMap[e].getCellEls()[n];
7089
7098
  }
7090
7099
  getCellRange(e, n) {
7091
- let i = this.props.cells[e][n].date, r = F(i, 1);
7100
+ let i = this.props.cells[e][n].date, r = j(i, 1);
7092
7101
  return { start: i, end: r };
7093
7102
  }
7094
7103
  }
@@ -7097,7 +7106,7 @@ function bu(t) {
7097
7106
  }
7098
7107
  class Eu extends K {
7099
7108
  constructor() {
7100
- super(...arguments), this.elRef = j(), this.needsScrollReset = !1;
7109
+ super(...arguments), this.elRef = F(), this.needsScrollReset = !1;
7101
7110
  }
7102
7111
  render() {
7103
7112
  let { props: e } = this, { dayMaxEventRows: n, dayMaxEvents: i, expandRows: r } = e, s = i === !0 || n === !0;
@@ -7164,9 +7173,9 @@ class wu extends us {
7164
7173
  return n.sliceRange(e);
7165
7174
  }
7166
7175
  }
7167
- class js extends K {
7176
+ class Fs extends K {
7168
7177
  constructor() {
7169
- super(...arguments), this.slicer = new wu(), this.tableRef = j();
7178
+ super(...arguments), this.slicer = new wu(), this.tableRef = F();
7170
7179
  }
7171
7180
  render() {
7172
7181
  let { props: e, context: n } = this;
@@ -7188,7 +7197,7 @@ class Cu extends Gr {
7188
7197
  function Su(t) {
7189
7198
  let { dateEnv: e, currentRange: n } = t, { start: i, end: r } = n, s;
7190
7199
  if (t.snapToWeek && (i = e.startOfWeek(i), s = e.startOfWeek(r), s.valueOf() !== r.valueOf() && (r = Si(s, 1))), t.fixedWeekCount) {
7191
- let a = e.startOfWeek(e.startOfMonth(F(n.end, -1))), l = Math.ceil(
7200
+ let a = e.startOfWeek(e.startOfMonth(j(n.end, -1))), l = Math.ceil(
7192
7201
  // could be partial weeks due to hiddenDays
7193
7202
  rl(a, r)
7194
7203
  );
@@ -7198,7 +7207,7 @@ function Su(t) {
7198
7207
  }
7199
7208
  class Du extends K {
7200
7209
  constructor() {
7201
- super(...arguments), this.headerElRef = j();
7210
+ super(...arguments), this.headerElRef = F();
7202
7211
  }
7203
7212
  renderSimpleLayout(e, n) {
7204
7213
  let { props: i, context: r } = this, s = [], a = _t(r.options);
@@ -7262,10 +7271,10 @@ class Du extends K {
7262
7271
  }
7263
7272
  class Au extends Du {
7264
7273
  constructor() {
7265
- super(...arguments), this.buildDayTableModel = D(Tu), this.headerRef = j(), this.tableRef = j();
7274
+ super(...arguments), this.buildDayTableModel = D(Tu), this.headerRef = F(), this.tableRef = F();
7266
7275
  }
7267
7276
  render() {
7268
- let { options: e, dateProfileGenerator: n } = this.context, { props: i } = this, r = this.buildDayTableModel(i.dateProfile, n), s = e.dayHeaders && p(os, { ref: this.headerRef, dateProfile: i.dateProfile, dates: r.headerDates, datesRepDistinctDays: r.rowCnt === 1 }), a = (l) => p(js, { ref: this.tableRef, dateProfile: i.dateProfile, dayTableModel: r, businessHours: i.businessHours, dateSelection: i.dateSelection, eventStore: i.eventStore, eventUiBases: i.eventUiBases, eventSelection: i.eventSelection, eventDrag: i.eventDrag, eventResize: i.eventResize, nextDayThreshold: e.nextDayThreshold, colGroupNode: l.tableColGroupNode, tableMinWidth: l.tableMinWidth, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.weekNumbers, expandRows: !i.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: l.clientWidth, clientHeight: l.clientHeight, forPrint: i.forPrint });
7277
+ let { options: e, dateProfileGenerator: n } = this.context, { props: i } = this, r = this.buildDayTableModel(i.dateProfile, n), s = e.dayHeaders && p(os, { ref: this.headerRef, dateProfile: i.dateProfile, dates: r.headerDates, datesRepDistinctDays: r.rowCnt === 1 }), a = (l) => p(Fs, { ref: this.tableRef, dateProfile: i.dateProfile, dayTableModel: r, businessHours: i.businessHours, dateSelection: i.dateSelection, eventStore: i.eventStore, eventUiBases: i.eventUiBases, eventSelection: i.eventSelection, eventDrag: i.eventDrag, eventResize: i.eventResize, nextDayThreshold: e.nextDayThreshold, colGroupNode: l.tableColGroupNode, tableMinWidth: l.tableMinWidth, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.weekNumbers, expandRows: !i.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: l.clientWidth, clientHeight: l.clientHeight, forPrint: i.forPrint });
7269
7278
  return e.dayMinWidth ? this.renderHScrollLayout(s, a, r.colCnt, e.dayMinWidth) : this.renderSimpleLayout(s, a);
7270
7279
  }
7271
7280
  }
@@ -7342,7 +7351,7 @@ function Ws(t) {
7342
7351
  };
7343
7352
  return p(q, { elTag: "td", elClasses: e, elAttrs: {
7344
7353
  "data-time": t.isoTimeStr
7345
- }, renderProps: l, generatorName: "slotLabelContent", customGenerator: r.slotLabelContent, defaultGenerator: Iu, classNameGenerator: r.slotLabelClassNames, didMount: r.slotLabelDidMount, willUnmount: r.slotLabelWillUnmount }, (o) => p(
7354
+ }, renderProps: l, generatorName: "slotLabelContent", customGenerator: r.slotLabelContent, defaultGenerator: Ou, classNameGenerator: r.slotLabelClassNames, didMount: r.slotLabelDidMount, willUnmount: r.slotLabelWillUnmount }, (o) => p(
7346
7355
  "div",
7347
7356
  { className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
7348
7357
  p(o, { elTag: "div", elClasses: [
@@ -7352,10 +7361,10 @@ function Ws(t) {
7352
7361
  ));
7353
7362
  });
7354
7363
  }
7355
- function Iu(t) {
7364
+ function Ou(t) {
7356
7365
  return t.text;
7357
7366
  }
7358
- class Ou extends I {
7367
+ class Iu extends O {
7359
7368
  render() {
7360
7369
  return this.props.slatMetas.map((e) => p(
7361
7370
  "tr",
@@ -7367,7 +7376,7 @@ class Ou extends I {
7367
7376
  const Nu = B({ week: "short" }), Pu = 5;
7368
7377
  class Hu extends K {
7369
7378
  constructor() {
7370
- super(...arguments), this.allDaySplitter = new ku(), this.headerElRef = j(), this.rootElRef = j(), this.scrollerElRef = j(), this.state = {
7379
+ super(...arguments), this.allDaySplitter = new ku(), this.headerElRef = F(), this.rootElRef = F(), this.scrollerElRef = F(), this.state = {
7371
7380
  slatCoords: null
7372
7381
  }, this.handleScrollTopRequest = (e) => {
7373
7382
  let n = this.scrollerElRef.current;
@@ -7538,7 +7547,7 @@ class Hu extends K {
7538
7547
  p(
7539
7548
  "tbody",
7540
7549
  null,
7541
- p(Ou, { slatMetas: a })
7550
+ p(Iu, { slatMetas: a })
7542
7551
  )
7543
7552
  ),
7544
7553
  p(
@@ -7620,7 +7629,7 @@ class Bu {
7620
7629
  return s = Math.max(0, s), s = Math.min(r, s), a = Math.floor(s), a = Math.min(a, r - 1), l = s - a, n.tops[a] + n.getHeight(a) * l;
7621
7630
  }
7622
7631
  }
7623
- class zu extends I {
7632
+ class zu extends O {
7624
7633
  render() {
7625
7634
  let { props: e, context: n } = this, { options: i } = n, { slatElRefs: r } = e;
7626
7635
  return p("tbody", null, e.slatMetas.map((s, a) => {
@@ -7644,9 +7653,9 @@ class zu extends I {
7644
7653
  }));
7645
7654
  }
7646
7655
  }
7647
- class Uu extends I {
7656
+ class Uu extends O {
7648
7657
  constructor() {
7649
- super(...arguments), this.rootElRef = j(), this.slatElRefs = new ee();
7658
+ super(...arguments), this.rootElRef = F(), this.slatElRefs = new ee();
7650
7659
  }
7651
7660
  render() {
7652
7661
  let { props: e, context: n } = this;
@@ -7676,10 +7685,10 @@ class Uu extends I {
7676
7685
  }
7677
7686
  updateSizing() {
7678
7687
  let { context: e, props: n } = this;
7679
- n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Bu(new Me(this.rootElRef.current, Fu(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7688
+ n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Bu(new Me(this.rootElRef.current, ju(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7680
7689
  }
7681
7690
  }
7682
- function Fu(t, e) {
7691
+ function ju(t, e) {
7683
7692
  return e.map((n) => t[n.key]);
7684
7693
  }
7685
7694
  function Pe(t, e) {
@@ -7707,7 +7716,7 @@ function Ji(t, e) {
7707
7716
  n[i] = null;
7708
7717
  return n;
7709
7718
  }
7710
- class ju extends I {
7719
+ class Fu extends O {
7711
7720
  render() {
7712
7721
  let { props: e } = this;
7713
7722
  return p(Cs, { elClasses: ["fc-timegrid-more-link"], elStyle: {
@@ -7858,7 +7867,7 @@ const Ju = B({
7858
7867
  minute: "2-digit",
7859
7868
  meridiem: !1
7860
7869
  });
7861
- class Vs extends I {
7870
+ class Vs extends O {
7862
7871
  render() {
7863
7872
  return p(bs, Object.assign({}, this.props, { elClasses: [
7864
7873
  "fc-timegrid-event",
@@ -7867,7 +7876,7 @@ class Vs extends I {
7867
7876
  ], defaultTimeFormat: Ju }));
7868
7877
  }
7869
7878
  }
7870
- class Ku extends I {
7879
+ class Ku extends O {
7871
7880
  constructor() {
7872
7881
  super(...arguments), this.sortEventSegs = D($r);
7873
7882
  }
@@ -7910,11 +7919,11 @@ class Ku extends I {
7910
7919
  null,
7911
7920
  this.renderHiddenGroups(T, e),
7912
7921
  C.map((A) => {
7913
- let { seg: O, rect: M } = A, N = O.eventRange.instance.instanceId, R = b || !!(!n[N] && M), Q = Xt(M && M.span), ae = !b && M ? this.computeSegHStyle(M) : { left: 0, right: 0 }, qe = !!M && M.stackForward > 0, Qe = !!M && M.span.end - M.span.start < o;
7922
+ let { seg: I, rect: M } = A, N = I.eventRange.instance.instanceId, R = b || !!(!n[N] && M), Q = Xt(M && M.span), ae = !b && M ? this.computeSegHStyle(M) : { left: 0, right: 0 }, qe = !!M && M.stackForward > 0, Qe = !!M && M.span.end - M.span.start < o;
7914
7923
  return p(
7915
7924
  "div",
7916
7925
  { className: "fc-timegrid-event-harness" + (qe ? " fc-timegrid-event-harness-inset" : ""), key: a || N, style: Object.assign(Object.assign({ visibility: R ? "" : "hidden" }, Q), ae) },
7917
- p(Vs, Object.assign({ seg: O, isDragging: i, isResizing: r, isDateSelecting: s, isSelected: N === u, isShort: Qe }, de(O, v, y)))
7926
+ p(Vs, Object.assign({ seg: I, isDragging: i, isResizing: r, isDateSelecting: s, isSelected: N === u, isShort: Qe }, de(I, v, y)))
7918
7927
  );
7919
7928
  })
7920
7929
  );
@@ -7924,7 +7933,7 @@ class Ku extends I {
7924
7933
  let { extraDateSpan: i, dateProfile: r, todayRange: s, nowDate: a, eventSelection: l, eventDrag: o, eventResize: d } = this.props;
7925
7934
  return p(H, null, e.map((c) => {
7926
7935
  let h = Xt(c.span), f = ef(c.entries, n);
7927
- return p(ju, { key: Ir(Ss(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: i, dateProfile: r, todayRange: s, nowDate: a, eventSelection: l, eventDrag: o, eventResize: d });
7936
+ return p(Fu, { key: Or(Ss(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: i, dateProfile: r, todayRange: s, nowDate: a, eventSelection: l, eventDrag: o, eventResize: d });
7928
7937
  }));
7929
7938
  }
7930
7939
  renderFillSegs(e, n) {
@@ -7981,9 +7990,9 @@ function Xt(t) {
7981
7990
  function ef(t, e) {
7982
7991
  return t.map((n) => e[n.index]);
7983
7992
  }
7984
- class tf extends I {
7993
+ class tf extends O {
7985
7994
  constructor() {
7986
- super(...arguments), this.splitFgEventSegs = D(Pe), this.splitBgEventSegs = D(Pe), this.splitBusinessHourSegs = D(Pe), this.splitNowIndicatorSegs = D(Pe), this.splitDateSelectionSegs = D(Pe), this.splitEventDrag = D(Ji), this.splitEventResize = D(Ji), this.rootElRef = j(), this.cellElRefs = new ee();
7995
+ super(...arguments), this.splitFgEventSegs = D(Pe), this.splitBgEventSegs = D(Pe), this.splitBusinessHourSegs = D(Pe), this.splitNowIndicatorSegs = D(Pe), this.splitDateSelectionSegs = D(Pe), this.splitEventDrag = D(Ji), this.splitEventResize = D(Ji), this.rootElRef = F(), this.cellElRefs = new ee();
7987
7996
  }
7988
7997
  render() {
7989
7998
  let { props: e, context: n } = this, i = n.options.nowIndicator && e.slatCoords && e.slatCoords.safeComputeTop(e.nowDate), r = e.cells.length, s = this.splitFgEventSegs(e.fgEventSegs, r), a = this.splitBgEventSegs(e.bgEventSegs, r), l = this.splitBusinessHourSegs(e.businessHourSegs, r), o = this.splitNowIndicatorSegs(e.nowIndicatorSegs, r), d = this.splitDateSelectionSegs(e.dateSelectionSegs, r), c = this.splitEventDrag(e.eventDrag, r), h = this.splitEventResize(e.eventResize, r);
@@ -8089,10 +8098,10 @@ class rf extends K {
8089
8098
  queryHit(e, n) {
8090
8099
  let { dateEnv: i, options: r } = this.context, { colCoords: s } = this, { dateProfile: a } = this.props, { slatCoords: l } = this.state, { snapDuration: o, snapsPerSlot: d } = this.processSlotOptions(this.props.slotDuration, r.snapDuration), c = s.leftToIndex(e), h = l.positions.topToIndex(n);
8091
8100
  if (c != null && h != null) {
8092
- let f = this.props.cells[c], u = l.positions.tops[h], v = l.positions.getHeight(h), y = (n - u) / v, b = Math.floor(y * d), E = h * d + b, C = this.props.cells[c].date, T = sn(a.slotMinTime, Za(o, E)), A = i.add(C, T), O = i.add(A, o);
8101
+ let f = this.props.cells[c], u = l.positions.tops[h], v = l.positions.getHeight(h), y = (n - u) / v, b = Math.floor(y * d), E = h * d + b, C = this.props.cells[c].date, T = sn(a.slotMinTime, Za(o, E)), A = i.add(C, T), I = i.add(A, o);
8093
8102
  return {
8094
8103
  dateProfile: a,
8095
- dateSpan: Object.assign({ range: { start: A, end: O }, allDay: !1 }, f.extraDateSpan),
8104
+ dateSpan: Object.assign({ range: { start: A, end: I }, allDay: !1 }, f.extraDateSpan),
8096
8105
  dayEl: s.els[c],
8097
8106
  rect: {
8098
8107
  left: s.lefts[c],
@@ -8128,7 +8137,7 @@ class af extends us {
8128
8137
  }
8129
8138
  class lf extends K {
8130
8139
  constructor() {
8131
- super(...arguments), this.buildDayRanges = D(of), this.slicer = new af(), this.timeColsRef = j();
8140
+ super(...arguments), this.buildDayRanges = D(of), this.slicer = new af(), this.timeColsRef = F();
8132
8141
  }
8133
8142
  render() {
8134
8143
  let { props: e, context: n } = this, { dateProfile: i, dayTableModel: r } = e, { nowIndicator: s, nextDayThreshold: a } = n.options, l = this.buildDayRanges(r, i, n.dateEnv);
@@ -8177,7 +8186,7 @@ class uf extends Hu {
8177
8186
  super(...arguments), this.buildTimeColsModel = D(ff), this.buildSlatMetas = D(cf);
8178
8187
  }
8179
8188
  render() {
8180
- let { options: e, dateEnv: n, dateProfileGenerator: i } = this.context, { props: r } = this, { dateProfile: s } = r, a = this.buildTimeColsModel(s, i), l = this.allDaySplitter.splitProps(r), o = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && p(os, { dates: a.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((y) => p(js, Object.assign({}, l.allDay, { dateProfile: s, dayTableModel: a, nextDayThreshold: e.nextDayThreshold, tableMinWidth: y.tableMinWidth, colGroupNode: y.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: y.clientWidth, clientHeight: y.clientHeight, forPrint: r.forPrint }, this.getAllDayMaxEventProps()))), v = (y) => p(lf, Object.assign({}, l.timed, { dayTableModel: a, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: o, forPrint: r.forPrint, tableColGroupNode: y.tableColGroupNode, tableMinWidth: y.tableMinWidth, clientWidth: y.clientWidth, clientHeight: y.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: y.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8189
+ let { options: e, dateEnv: n, dateProfileGenerator: i } = this.context, { props: r } = this, { dateProfile: s } = r, a = this.buildTimeColsModel(s, i), l = this.allDaySplitter.splitProps(r), o = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && p(os, { dates: a.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((y) => p(Fs, Object.assign({}, l.allDay, { dateProfile: s, dayTableModel: a, nextDayThreshold: e.nextDayThreshold, tableMinWidth: y.tableMinWidth, colGroupNode: y.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: y.clientWidth, clientHeight: y.clientHeight, forPrint: r.forPrint }, this.getAllDayMaxEventProps()))), v = (y) => p(lf, Object.assign({}, l.timed, { dayTableModel: a, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: o, forPrint: r.forPrint, tableColGroupNode: y.tableColGroupNode, tableMinWidth: y.tableMinWidth, clientWidth: y.clientWidth, clientHeight: y.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: y.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8181
8190
  return h ? this.renderHScrollLayout(f, u, v, a.colCnt, d, o, this.state.slatCoords) : this.renderSimpleLayout(f, u, v);
8182
8191
  }
8183
8192
  }
@@ -8211,7 +8220,7 @@ var pf = se({
8211
8220
  }
8212
8221
  }
8213
8222
  });
8214
- jn.touchMouseIgnoreWait = 500;
8223
+ Fn.touchMouseIgnoreWait = 500;
8215
8224
  let gn = 0, Ct = 0, mn = !1;
8216
8225
  class Ys {
8217
8226
  constructor(e) {
@@ -8322,7 +8331,7 @@ function gf(t) {
8322
8331
  function mf() {
8323
8332
  gn += 1, setTimeout(() => {
8324
8333
  gn -= 1;
8325
- }, jn.touchMouseIgnoreWait);
8334
+ }, Fn.touchMouseIgnoreWait);
8326
8335
  }
8327
8336
  function vf() {
8328
8337
  Ct += 1, Ct === 1 && window.addEventListener("touchmove", qs, { passive: !1 });
@@ -8616,7 +8625,7 @@ function Cf(t) {
8616
8625
  let e = t.tagName;
8617
8626
  return e === "HTML" || e === "BODY";
8618
8627
  }
8619
- class It {
8628
+ class Ot {
8620
8629
  constructor(e, n) {
8621
8630
  this.useSubjectCenter = !1, this.requireInitial = !0, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (i) => {
8622
8631
  let { dragging: r } = this;
@@ -8648,7 +8657,7 @@ class It {
8648
8657
  }
8649
8658
  handleMove(e, n) {
8650
8659
  let i = this.queryHitForOffset(e.pageX + this.coordAdjust.left, e.pageY + this.coordAdjust.top);
8651
- (n || !Ot(this.movingHit, i)) && (this.movingHit = i, this.emitter.trigger("hitupdate", i, !1, e));
8660
+ (n || !It(this.movingHit, i)) && (this.movingHit = i, this.emitter.trigger("hitupdate", i, !1, e));
8652
8661
  }
8653
8662
  prepareHits() {
8654
8663
  this.offsetTrackers = ne(this.droppableStore, (e) => (e.component.prepareHits(), new wf(e.el)));
@@ -8679,7 +8688,7 @@ class It {
8679
8688
  return s;
8680
8689
  }
8681
8690
  }
8682
- function Ot(t, e) {
8691
+ function It(t, e) {
8683
8692
  return !t && !e ? !0 : !!t != !!e ? !1 : Lo(t.dateSpan, e.dateSpan);
8684
8693
  }
8685
8694
  function Zs(t, e) {
@@ -8695,7 +8704,7 @@ function Sf(t, e) {
8695
8704
  allDay: t.allDay
8696
8705
  };
8697
8706
  }
8698
- class Df extends Oe {
8707
+ class Df extends Ie {
8699
8708
  constructor(e) {
8700
8709
  super(e), this.handlePointerDown = (i) => {
8701
8710
  let { dragging: r } = this, s = i.origEvent.target;
@@ -8704,20 +8713,20 @@ class Df extends Oe {
8704
8713
  let { component: r } = this, { pointer: s } = this.dragging;
8705
8714
  if (!s.wasTouchScroll) {
8706
8715
  let { initialHit: a, finalHit: l } = this.hitDragging;
8707
- if (a && l && Ot(a, l)) {
8716
+ if (a && l && It(a, l)) {
8708
8717
  let { context: o } = r, d = Object.assign(Object.assign({}, Zs(a.dateSpan, o)), { dayEl: a.dayEl, jsEvent: i.origEvent, view: o.viewApi || o.calendarApi.view });
8709
8718
  o.emitter.trigger("dateClick", d);
8710
8719
  }
8711
8720
  }
8712
8721
  }, this.dragging = new Ge(e.el), this.dragging.autoScroller.isEnabled = !1;
8713
- let n = this.hitDragging = new It(this.dragging, Fn(e));
8722
+ let n = this.hitDragging = new Ot(this.dragging, jn(e));
8714
8723
  n.emitter.on("pointerdown", this.handlePointerDown), n.emitter.on("dragend", this.handleDragEnd);
8715
8724
  }
8716
8725
  destroy() {
8717
8726
  this.dragging.destroy();
8718
8727
  }
8719
8728
  }
8720
- class Af extends Oe {
8729
+ class Af extends Ie {
8721
8730
  constructor(e) {
8722
8731
  super(e), this.dragSelection = null, this.handlePointerDown = (a) => {
8723
8732
  let { component: l, dragging: o } = this, { options: d } = l.context, c = d.selectable && l.isValidDateDownEl(a.origEvent.target);
@@ -8736,7 +8745,7 @@ class Af extends Oe {
8736
8745
  };
8737
8746
  let { component: n } = e, { options: i } = n.context, r = this.dragging = new Ge(e.el);
8738
8747
  r.touchScrollAllowed = !1, r.minDistance = i.selectMinDistance || 0, r.autoScroller.isEnabled = i.dragScroll;
8739
- let s = this.hitDragging = new It(this.dragging, Fn(e));
8748
+ let s = this.hitDragging = new Ot(this.dragging, jn(e));
8740
8749
  s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp);
8741
8750
  }
8742
8751
  destroy() {
@@ -8764,12 +8773,12 @@ function xf(t, e, n) {
8764
8773
  }
8765
8774
  return a.range = { start: s[0], end: s[3] }, a.allDay = i.allDay, a;
8766
8775
  }
8767
- class Ye extends Oe {
8776
+ class Ye extends Ie {
8768
8777
  constructor(e) {
8769
8778
  super(e), this.subjectEl = null, this.subjectSeg = null, this.isDragging = !1, this.eventRange = null, this.relevantEvents = null, this.receivingContext = null, this.validMutation = null, this.mutatedRelevantEvents = null, this.handlePointerDown = (a) => {
8770
8779
  let l = a.origEvent.target, { component: o, dragging: d } = this, { mirror: c } = d, { options: h } = o.context, f = o.context;
8771
8780
  this.subjectEl = a.subjectEl;
8772
- let u = this.subjectSeg = Ie(a.subjectEl), y = (this.eventRange = u.eventRange).instance.instanceId;
8781
+ let u = this.subjectSeg = Oe(a.subjectEl), y = (this.eventRange = u.eventRange).instance.instanceId;
8773
8782
  this.relevantEvents = Mn(f.getCurrentData().eventStore, y), d.minDistance = a.isTouch ? 0 : h.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8774
8783
  a.isTouch && y !== o.props.eventSelection ? kf(o) : null, h.fixedMirrorParent ? c.parentNode = h.fixedMirrorParent : c.parentNode = U(l, ".fc"), c.revertDuration = h.dragRevertDuration;
8775
8784
  let b = o.isValidSegDownEl(l) && !U(l, ".fc-event-resizer");
@@ -8796,7 +8805,7 @@ class Ye extends Oe {
8796
8805
  c === h || b.editable && b.droppable ? (f = Rf(d, a, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u = zn(o, h.getCurrentData().eventUiBases, f, h), y.mutatedEvents = u, ps(y, a.dateProfile, h) || (v = !0, f = null, u = null, y.mutatedEvents = Y()))) : h = null;
8797
8806
  }
8798
8807
  this.displayDrag(h, y), v ? wn() : Cn(), l || (c === h && // TODO: write test for this
8799
- Ot(d, a) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!a || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
8808
+ It(d, a) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!a || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
8800
8809
  }, this.handlePointerUp = () => {
8801
8810
  this.isDragging || this.cleanup();
8802
8811
  }, this.handleDragEnd = (a) => {
@@ -8849,7 +8858,7 @@ class Ye extends Oe {
8849
8858
  type: "MERGE_EVENTS",
8850
8859
  eventStore: y
8851
8860
  });
8852
- let O = {
8861
+ let I = {
8853
8862
  event: A,
8854
8863
  relatedEvents: ve(y, d, T),
8855
8864
  revert() {
@@ -8859,10 +8868,10 @@ class Ye extends Oe {
8859
8868
  });
8860
8869
  }
8861
8870
  };
8862
- d.emitter.trigger("eventAdd", O), a.isTouch && d.dispatch({
8871
+ d.emitter.trigger("eventAdd", I), a.isTouch && d.dispatch({
8863
8872
  type: "SELECT_EVENT",
8864
8873
  eventInstanceId: f.instanceId
8865
- }), d.emitter.trigger("drop", Object.assign(Object.assign({}, Zs(b.dateSpan, d)), { draggedEl: a.subjectEl, jsEvent: a.origEvent, view: b.context.viewApi })), d.emitter.trigger("eventReceive", Object.assign(Object.assign({}, O), { draggedEl: a.subjectEl, view: b.context.viewApi }));
8874
+ }), d.emitter.trigger("drop", Object.assign(Object.assign({}, Zs(b.dateSpan, d)), { draggedEl: a.subjectEl, jsEvent: a.origEvent, view: b.context.viewApi })), d.emitter.trigger("eventReceive", Object.assign(Object.assign({}, I), { draggedEl: a.subjectEl, view: b.context.viewApi }));
8866
8875
  }
8867
8876
  } else
8868
8877
  l.emitter.trigger("_noEventDrop");
@@ -8871,7 +8880,7 @@ class Ye extends Oe {
8871
8880
  };
8872
8881
  let { component: n } = this, { options: i } = n.context, r = this.dragging = new Ge(e.el);
8873
8882
  r.pointer.selector = Ye.SELECTOR, r.touchScrollAllowed = !1, r.autoScroller.isEnabled = i.dragScroll;
8874
- let s = this.hitDragging = new It(this.dragging, fn);
8883
+ let s = this.hitDragging = new Ot(this.dragging, fn);
8875
8884
  s.useSubjectCenter = e.useEventCenter, s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp), s.emitter.on("dragend", this.handleDragEnd);
8876
8885
  }
8877
8886
  destroy() {
@@ -8915,16 +8924,16 @@ function kf(t) {
8915
8924
  let { options: e } = t.context, n = e.eventLongPressDelay;
8916
8925
  return n == null && (n = e.longPressDelay), n;
8917
8926
  }
8918
- class Mf extends Oe {
8927
+ class Mf extends Ie {
8919
8928
  constructor(e) {
8920
8929
  super(e), this.draggingSegEl = null, this.draggingSeg = null, this.eventRange = null, this.relevantEvents = null, this.validMutation = null, this.mutatedRelevantEvents = null, this.handlePointerDown = (s) => {
8921
- let { component: a } = this, l = this.querySegEl(s), o = Ie(l), d = this.eventRange = o.eventRange;
8930
+ let { component: a } = this, l = this.querySegEl(s), o = Oe(l), d = this.eventRange = o.eventRange;
8922
8931
  this.dragging.minDistance = a.context.options.eventDragMinDistance, this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(s.origEvent.target) || s.isTouch && this.component.props.eventSelection !== d.instance.instanceId);
8923
8932
  }, this.handleDragStart = (s) => {
8924
8933
  let { context: a } = this.component, l = this.eventRange;
8925
8934
  this.relevantEvents = Mn(a.getCurrentData().eventStore, this.eventRange.instance.instanceId);
8926
8935
  let o = this.querySegEl(s);
8927
- this.draggingSegEl = o, this.draggingSeg = Ie(o), a.calendarApi.unselect(), a.emitter.trigger("eventResizeStart", {
8936
+ this.draggingSegEl = o, this.draggingSeg = Oe(o), a.calendarApi.unselect(), a.emitter.trigger("eventResizeStart", {
8928
8937
  el: o,
8929
8938
  event: new L(a, l.def, l.instance),
8930
8939
  jsEvent: s.origEvent,
@@ -8936,10 +8945,10 @@ class Mf extends Oe {
8936
8945
  mutatedEvents: Y(),
8937
8946
  isEvent: !0
8938
8947
  };
8939
- s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = If(c, s, l.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = zn(d, o.getCurrentData().eventUiBases, f, o), y.mutatedEvents = u, ps(y, s.dateProfile, o) || (v = !0, f = null, u = null, y.mutatedEvents = null)), u ? o.dispatch({
8948
+ s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Of(c, s, l.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = zn(d, o.getCurrentData().eventUiBases, f, o), y.mutatedEvents = u, ps(y, s.dateProfile, o) || (v = !0, f = null, u = null, y.mutatedEvents = null)), u ? o.dispatch({
8940
8949
  type: "SET_EVENT_RESIZE",
8941
8950
  state: y
8942
- }) : o.dispatch({ type: "UNSET_EVENT_RESIZE" }), v ? wn() : Cn(), a || (f && Ot(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
8951
+ }) : o.dispatch({ type: "UNSET_EVENT_RESIZE" }), v ? wn() : Cn(), a || (f && It(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
8943
8952
  }, this.handleDragEnd = (s) => {
8944
8953
  let { context: a } = this.component, l = this.eventRange.def, o = this.eventRange.instance, d = new L(a, l, o), c = this.relevantEvents, h = this.mutatedRelevantEvents;
8945
8954
  if (a.emitter.trigger("eventResizeStop", {
@@ -8972,7 +8981,7 @@ class Mf extends Oe {
8972
8981
  };
8973
8982
  let { component: n } = e, i = this.dragging = new Ge(e.el);
8974
8983
  i.pointer.selector = ".fc-event-resizer", i.touchScrollAllowed = !1, i.autoScroller.isEnabled = n.context.options.dragScroll;
8975
- let r = this.hitDragging = new It(this.dragging, Fn(e));
8984
+ let r = this.hitDragging = new Ot(this.dragging, jn(e));
8976
8985
  r.emitter.on("pointerdown", this.handlePointerDown), r.emitter.on("dragstart", this.handleDragStart), r.emitter.on("hitupdate", this.handleHitUpdate), r.emitter.on("dragend", this.handleDragEnd);
8977
8986
  }
8978
8987
  destroy() {
@@ -8982,7 +8991,7 @@ class Mf extends Oe {
8982
8991
  return U(e.subjectEl, ".fc-event");
8983
8992
  }
8984
8993
  }
8985
- function If(t, e, n, i) {
8994
+ function Of(t, e, n, i) {
8986
8995
  let r = t.context.dateEnv, s = t.dateSpan.range.start, a = e.dateSpan.range.start, l = Ae(s, a, r, t.largeUnit);
8987
8996
  if (n) {
8988
8997
  if (r.add(i.start, l) < i.end)
@@ -8991,7 +9000,7 @@ function If(t, e, n, i) {
8991
9000
  return { endDelta: l };
8992
9001
  return null;
8993
9002
  }
8994
- class Of {
9003
+ class If {
8995
9004
  constructor(e) {
8996
9005
  this.context = e, this.isRecentPointerDateSelect = !1, this.matchesCancel = !1, this.matchesEvent = !1, this.onSelect = (i) => {
8997
9006
  i.jsEvent && (this.isRecentPointerDateSelect = !0);
@@ -9032,16 +9041,16 @@ const Nf = {
9032
9041
  eventReceive: m,
9033
9042
  eventLeave: m
9034
9043
  };
9035
- jn.dataAttrPrefix = "";
9044
+ Fn.dataAttrPrefix = "";
9036
9045
  var Hf = se({
9037
9046
  name: "@fullcalendar/interaction",
9038
9047
  componentInteractions: [Df, Af, Ye, Mf],
9039
- calendarInteractions: [Of],
9048
+ calendarInteractions: [If],
9040
9049
  elementDraggingImpl: Ge,
9041
9050
  optionRefiners: Nf,
9042
9051
  listenerRefiners: Pf
9043
9052
  });
9044
- const Lf = ':host{display:block;height:100%;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-event-calendar{height:inherit;padding:0 16px}.calendar-header{display:flex;flex-direction:column;position:sticky;top:0;z-index:3;background:var(--nylas-base-0)}.calendar-header .calendar-header__row_one{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nylas-base-200)}.calendar-header .calendar-header__row_two{display:flex;justify-content:space-between;margin:12px 0;justify-self:center}@media screen and (max-width: 768px){.calendar-header{flex-direction:column;align-items:flex-start;margin-bottom:16px}}.calendar-header .calendar-header__title{display:flex;align-items:center;gap:16px;font-family:var(--nylas-font-family);font-size:20px;font-weight:600;line-height:30px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.calendar-header .calendar-header__title .calendar-header-prev-next{display:flex;align-items:center}.calendar-header .calendar-header__title .calendar-header-prev-next .chevron-right{transform:rotate(180deg)}.calendar-header .calendar-header__title .calendar-header-prev-next .button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);background-color:transparent;color:var(--nylas-base-800);cursor:pointer;border:none}.calendar-header .calendar-header__title .calendar-header-prev-next .button:hover{background-color:var(--nylas-base-50)}.calendar-header .calendar-header__title .calendar-header-prev-next .button:active{background-color:var(--nylas-base-100)}.calendar-header .calendar-header__title .calendar-header-prev-next .button:disabled{background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.calendar-header .calendar-header__current-calendar{padding:6px 12px;border-radius:var(--nylas-border-radius);border:1px solid var(--nylas-base-200)}.calendar-header .calendar-header__hide-non-group-events{margin-right:20px;display:flex;align-items:center;gap:16px}.calendar-header .calendar-header__hide-non-group-events label{display:flex;align-items:center;gap:4px}.calendar-header .calendar-header__hide-non-group-events tooltip-component::part(tc__content){left:24px}@media screen and (max-width: 768px){.calendar-header .calendar-header__view-options{display:grid;grid-template-columns:1fr 1fr 1fr;width:-webkit-fill-available}}.calendar-header .calendar-header__view-options button{color:var(--nylas-base-800);background:var(--nylas-base-0)}.calendar-header .calendar-header__view-options button.selected{background-color:var(--nylas-color-blue-100);border-radius:4px}.calendar-header .calendar-header__view-options button:hover:not(.selected){background:var(--nylas-base-50)}.calendar-header h3{font-size:1.5rem;font-weight:600}button{padding:0.5rem 1rem;margin-right:0.5rem;border:none;background-color:#0073e6;color:white;border-radius:4px;cursor:pointer;font-size:1rem}button:hover{background-color:#005bb5}.calendar-container{border-radius:4px;flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);min-height:0;position:relative;overflow-y:auto;z-index:0;--fc-today-bg-color:var(--nylas-base-0);--fc-now-indicator-color:var(--nylas-error)}@media screen and (max-width: 768px){.calendar-container{height:calc(100% - 116px)}}.calendar-container.show-event{height:calc(100% - 456px - 80px - 16px)}@media screen and (max-width: 768px){.calendar-container.show-event{height:calc(100% - 116px + 16px)}}.calendar-container.hide{display:none}.calendar-container .fc .fc-view-harness{}.calendar-container .fc .fc-view-harness .fc-scrollgrid{border-right-width:0px;position:relative;border-top:0}.calendar-container .fc .fc-view-harness .fc-scrollgrid thead{position:sticky !important;top:96px;z-index:2}.calendar-container .fc .fc-view-harness .fc-scrollgrid tbody .fc-timegrid-divider{display:none}.calendar-container .fc .fc-view-harness .fc-col-header{position:sticky;top:0;background:#fff;border-top:1px solid var(--nylas-base-200)}.calendar-container .fc .fc-view-harness .custom-day-header{display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Arial, sans-serif;font-size:14px;color:#1e3a8a;font-weight:bold;text-transform:uppercase}.calendar-container .fc .fc-view-harness .custom-day-header .day-name{color:var(--nylas-base-400);margin-bottom:4px;font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.calendar-container .fc .fc-view-harness .custom-day-header .day-number{font-size:16px;background-color:var(--nylas-base-0);color:var(--nylas-base-800);padding:6px;border-radius:50%;font-family:var(--nylas-font-family);font-size:22px;font-weight:500;line-height:32px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;width:44px;display:inline-flex;justify-content:center;align-items:center}.calendar-container .fc .fc-view-harness .custom-day-header .day-number.today{background-color:var(--nylas-primary);color:var(--nylas-base-0)}.calendar-container .fc .fc-timegrid-now-indicator-line{border-width:1.5px 0 0}.calendar-container .fc .fc-daygrid-day.fc-day-today{background-color:transparent}.calendar-container .fc .fc-day-today .fc-daygrid-day-top .fc-daygrid-day-number{background-color:var(--nylas-primary);color:var(--nylas-base-0);border-radius:50%;width:36px;height:36px;margin:8px 8px}.calendar-container .fc .fc-daygrid-day-top{flex-direction:row}.calendar-container .fc .fc-daygrid-day-top .fc-daygrid-day-number{display:inline-flex;justify-content:center;align-items:center;padding:16px;color:var(--nylas-base-400);font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.calendar-container .fc .fc-v-event{border:none}.calendar-container .fc .fc-v-event .fc-event-main{border-radius:2px}.calendar-container .fc .fc-v-event.group-event .fc-event-main{background:var(--nylas-color-green-50);color:var(--nylas-color-green-900)}.calendar-container .fc .fc-v-event.group-event:not(.read-only):not(.no-participants){cursor:pointer}.calendar-container .fc .fc-v-event.regular-event .fc-event-main{background:var(--nylas-color-blue-300);color:var(--nylas-base-800)}.calendar-container .fc .fc-v-event.regular-event:not(.read-only):not(.no-participants){cursor:pointer}.calendar-container .fc .fc-v-event.read-only,.calendar-container .fc .fc-v-event.no-participants{opacity:0.5;cursor:not-allowed}.action-options{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);z-index:4}@media screen and (max-width: 768px){.action-options{height:calc(100% - 96px)}}.action-options.update-options,.action-options.delete-options,.action-options.discard-changes{height:calc(100% + 80px);border-bottom-left-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.action-options.update-options,.action-options.delete-options,.action-options.discard-changes{height:calc(100% + 176px)}}.action-options .action-options__card{display:flex;flex-direction:column;justify-content:center;background:var(--nylas-base-0);border-radius:var(--nylas-border-radius-2x);min-width:240px}.action-options .action-options__card.discard-changes__card{min-width:320px}.action-options .action-options__card button-component#close-edit-options,.action-options .action-options__card button-component#close-update-options,.action-options .action-options__card button-component#close-delete-options,.action-options .action-options__card button-component#close-discard-changes,.action-options .action-options__card button-component#close-choose-participants-modal{display:flex;justify-content:flex-end;padding-top:8px}.action-options .action-options__card button-component#close-edit-options button,.action-options .action-options__card button-component#close-update-options button,.action-options .action-options__card button-component#close-delete-options button,.action-options .action-options__card button-component#close-discard-changes button,.action-options .action-options__card button-component#close-choose-participants-modal button{padding:0;height:auto;width:auto}.action-options .action-options__card button-component#close-edit-options button:hover,.action-options .action-options__card button-component#close-update-options button:hover,.action-options .action-options__card button-component#close-delete-options button:hover,.action-options .action-options__card button-component#close-discard-changes button:hover,.action-options .action-options__card button-component#close-choose-participants-modal button:hover{background-color:transparent !important}.action-options .action-options__card .action-options__header{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid var(--nylas-base-200)}.action-options .action-options__card .action-options__header h3{font-family:var(--nylas-font-family);font-size:18px;font-weight:500;line-height:30px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;color:var(--nylas-base-900);margin:0;padding:8px 16px 0}.action-options .action-options__card .edit-options__content ul li#import{display:flex;align-items:center;justify-content:space-between}.action-options .action-options__card .action-options__content.choose-participants-modal__content{padding:24px;display:flex;flex-direction:column;gap:16px;width:400px;max-height:200px;overflow-y:auto}@media screen and (max-width: 768px){.action-options .action-options__card .action-options__content.choose-participants-modal__content{width:-webkit-fill-available;max-height:120px}}.action-options .action-options__card .action-options__content.discard-changes__content{padding:24px}.action-options .action-options__card .action-options__content.discard-changes__content h3{font-family:var(--nylas-font-family);font-size:20px;font-weight:500;line-height:30px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;color:var(--nylas-base-900);margin:0}.action-options .action-options__card .action-options__content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.action-options .action-options__card .action-options__content ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:var(--nylas-font-family);font-weight:400;font-size:14px;line-height:21px;letter-spacing:0px;text-align:left;cursor:pointer}.action-options .action-options__card .action-options__content ul li:hover,.action-options .action-options__card .action-options__content ul li:focus{background-color:var(--nylas-base-100)}.action-options .action-options__card .action-options__content ul li.disabled{cursor:not-allowed;opacity:0.5}.action-options .action-options__card .action-options__footer{display:flex;justify-content:flex-end;gap:16px;padding:16px;border-top:1px solid var(--nylas-base-200)}.event-details-container{position:absolute;bottom:-80px;left:0;width:100%;z-index:3;background:var(--nylas-base-0);box-shadow:4px -8px 12px -12px rgba(0, 0, 0, 0.5);border-bottom-left-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.event-details-container{bottom:-176px}}.event-details-container .event-details-header{margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-bottom:1px solid var(--nylas-base-200)}.event-details-container .event-details-header div.event-details-header__actions{display:flex;align-items:center;gap:16px}.event-details-container .event-details-header div.event-details-header__actions button-component#close button{padding:0;height:auto}.event-details-container .event-details-header div.event-details-header__actions button-component#close button:hover{background-color:transparent !important}.event-details-container .event-details{max-height:440px;overflow-y:scroll;padding:0 16px;display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.event-details-container .event-details.edit-event-details nylas-additional-participants{margin:16px 0}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nfc){border:none}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nadtnlpart__title){font-weight:400}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nadtnlpart__content){padding:16px 0}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nfc__header){padding:0;border-bottom:none}.event-details-container .event-details .event-details-form-inputs{display:flex;flex-direction:column;gap:16px}.event-details-container .event-details-footer{display:flex;justify-content:flex-end;gap:16px;padding:16px;border-top:1px solid var(--nylas-base-200)}.event-details-container .event-details-footer .event-details-footer__error{color:var(--nylas-error);font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font}.event-details-container .event-details-footer .event-details-footer__helper-text{color:var(--nylas-base-800);font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font}.event-details-container .event-details-footer .event-details-footer__actions{display:flex;gap:16px}', Bf = Lf;
9053
+ const Lf = ':host{display:block;height:100%;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-event-calendar{height:inherit;padding:0 16px}.calendar-header{display:flex;flex-direction:column;position:sticky;top:0;z-index:3;background:var(--nylas-base-0)}.calendar-header .calendar-header__row_one{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nylas-base-200)}.calendar-header .calendar-header__row_two{display:flex;justify-content:space-between;margin:12px 0;justify-self:center}@media screen and (max-width: 768px){.calendar-header{flex-direction:column;align-items:flex-start;margin-bottom:16px}}.calendar-header .calendar-header__title{display:flex;align-items:center;gap:16px;font-family:var(--nylas-font-family);font-size:20px;font-weight:600;line-height:30px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;color:var(--nylas-base-900)}.calendar-header .calendar-header__title .calendar-header-prev-next{display:flex;align-items:center}.calendar-header .calendar-header__title .calendar-header-prev-next .chevron-right{transform:rotate(180deg)}.calendar-header .calendar-header__title .calendar-header-prev-next .button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);background-color:transparent;color:var(--nylas-base-800);cursor:pointer;border:none}.calendar-header .calendar-header__title .calendar-header-prev-next .button:hover{background-color:var(--nylas-base-50)}.calendar-header .calendar-header__title .calendar-header-prev-next .button:active{background-color:var(--nylas-base-100)}.calendar-header .calendar-header__title .calendar-header-prev-next .button:disabled{background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.calendar-header .calendar-header__current-calendar{padding:6px 12px;border-radius:var(--nylas-border-radius);border:1px solid var(--nylas-base-200);color:var(--nylas-base-900)}.calendar-header .calendar-header__hide-non-group-events{margin-right:20px;display:flex;align-items:center;gap:16px;color:var(--nylas-base-900)}.calendar-header .calendar-header__hide-non-group-events label{display:flex;align-items:center;gap:4px}.calendar-header .calendar-header__hide-non-group-events tooltip-component::part(tc__content){left:24px}@media screen and (max-width: 768px){.calendar-header .calendar-header__view-options{display:grid;grid-template-columns:1fr 1fr 1fr;width:-webkit-fill-available}}.calendar-header .calendar-header__view-options button{color:var(--nylas-base-800);background:var(--nylas-base-0)}.calendar-header .calendar-header__view-options button.selected{background-color:var(--nylas-color-blue-100);border-radius:4px}.calendar-header .calendar-header__view-options button:hover:not(.selected){background:var(--nylas-base-50)}.calendar-header h3{font-size:1.5rem;font-weight:600}button{padding:0.5rem 1rem;margin-right:0.5rem;border:none;background-color:#0073e6;color:white;border-radius:4px;cursor:pointer;font-size:1rem}button:hover{background-color:#005bb5}.calendar-container{border-radius:4px;flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);min-height:0;position:relative;overflow-y:auto;z-index:0;--fc-today-bg-color:var(--nylas-base-0);--fc-now-indicator-color:var(--nylas-error)}@media screen and (max-width: 768px){.calendar-container{height:calc(100% - 116px)}}.calendar-container.show-event{height:calc(100% - 456px - 80px - 16px)}@media screen and (max-width: 768px){.calendar-container.show-event{height:calc(100% - 116px + 16px)}}.calendar-container.hide{display:none}.calendar-container .fc .fc-view-harness{}.calendar-container .fc .fc-view-harness .fc-scrollgrid{border-right-width:0px;position:relative;border-top:0}.calendar-container .fc .fc-view-harness .fc-scrollgrid thead{position:sticky !important;top:96px;z-index:2}.calendar-container .fc .fc-view-harness .fc-scrollgrid tbody .fc-timegrid-divider{display:none}.calendar-container .fc .fc-view-harness .fc-col-header{position:sticky;top:0;background:var(--nylas-base-0);border-top:1px solid var(--nylas-base-200)}.calendar-container .fc .fc-view-harness .custom-day-header{display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Arial, sans-serif;font-size:14px;color:#1e3a8a;font-weight:bold;text-transform:uppercase}.calendar-container .fc .fc-view-harness .custom-day-header .day-name{color:var(--nylas-base-400);margin-bottom:4px;font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.calendar-container .fc .fc-view-harness .custom-day-header .day-number{font-size:16px;background-color:var(--nylas-base-0);color:var(--nylas-base-800);padding:6px;border-radius:50%;font-family:var(--nylas-font-family);font-size:22px;font-weight:500;line-height:32px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;width:44px;display:inline-flex;justify-content:center;align-items:center}.calendar-container .fc .fc-view-harness .custom-day-header .day-number.today{background-color:var(--nylas-primary);color:var(--nylas-base-0)}.calendar-container .fc .fc-timegrid-now-indicator-line{border-width:1.5px 0 0}.calendar-container .fc .fc-timegrid-slot-label{color:var(--nylas-base-900)}.calendar-container .fc .fc-daygrid-day.fc-day-today{background-color:transparent}.calendar-container .fc .fc-day-today .fc-daygrid-day-top .fc-daygrid-day-number{background-color:var(--nylas-primary);color:var(--nylas-base-0);border-radius:50%;width:36px;height:36px;margin:8px 8px}.calendar-container .fc .fc-daygrid-day-top{flex-direction:row}.calendar-container .fc .fc-daygrid-day-top .fc-daygrid-day-number{display:inline-flex;justify-content:center;align-items:center;padding:16px;color:var(--nylas-base-400);font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.calendar-container .fc .fc-v-event{border:none}.calendar-container .fc .fc-v-event .fc-event-main{border-radius:2px}.calendar-container .fc .fc-v-event.group-event .fc-event-main{background:var(--nylas-color-green-50);color:var(--nylas-color-green-900)}.calendar-container .fc .fc-v-event.group-event:not(.read-only):not(.no-participants){cursor:pointer}.calendar-container .fc .fc-v-event.regular-event .fc-event-main{background:var(--nylas-color-blue-300);color:var(--nylas-base-800)}.calendar-container .fc .fc-v-event.regular-event:not(.read-only):not(.no-participants){cursor:pointer}.calendar-container .fc .fc-v-event.read-only,.calendar-container .fc .fc-v-event.no-participants{opacity:0.5;cursor:not-allowed}.action-options{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);z-index:4}@media screen and (max-width: 768px){.action-options{height:calc(100% - 96px)}}.action-options.update-options,.action-options.delete-options,.action-options.discard-changes{height:calc(100% + 80px);border-bottom-left-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.action-options.update-options,.action-options.delete-options,.action-options.discard-changes{height:calc(100% + 176px)}}.action-options .action-options__card{display:flex;flex-direction:column;justify-content:center;background:var(--nylas-base-0);border-radius:var(--nylas-border-radius-2x);min-width:240px}.action-options .action-options__card.discard-changes__card{min-width:320px}.action-options .action-options__card button-component#close-edit-options,.action-options .action-options__card button-component#close-update-options,.action-options .action-options__card button-component#close-delete-options,.action-options .action-options__card button-component#close-discard-changes,.action-options .action-options__card button-component#close-choose-participants-modal{display:flex;justify-content:flex-end;padding-top:8px}.action-options .action-options__card button-component#close-edit-options button,.action-options .action-options__card button-component#close-update-options button,.action-options .action-options__card button-component#close-delete-options button,.action-options .action-options__card button-component#close-discard-changes button,.action-options .action-options__card button-component#close-choose-participants-modal button{padding:0;height:auto;width:auto}.action-options .action-options__card button-component#close-edit-options button:hover,.action-options .action-options__card button-component#close-update-options button:hover,.action-options .action-options__card button-component#close-delete-options button:hover,.action-options .action-options__card button-component#close-discard-changes button:hover,.action-options .action-options__card button-component#close-choose-participants-modal button:hover{background-color:transparent !important}.action-options .action-options__card .action-options__header{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid var(--nylas-base-200)}.action-options .action-options__card .action-options__header h3{font-family:var(--nylas-font-family);font-size:18px;font-weight:500;line-height:30px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;color:var(--nylas-base-900);margin:0;padding:8px 16px 0}.action-options .action-options__card .edit-options__content ul li#import{display:flex;align-items:center;justify-content:space-between}.action-options .action-options__card .action-options__content.choose-participants-modal__content{padding:24px;display:flex;flex-direction:column;gap:16px;width:400px;max-height:200px;overflow-y:auto}@media screen and (max-width: 768px){.action-options .action-options__card .action-options__content.choose-participants-modal__content{width:-webkit-fill-available;max-height:120px}}.action-options .action-options__card .action-options__content.discard-changes__content{padding:24px}.action-options .action-options__card .action-options__content.discard-changes__content h3{font-family:var(--nylas-font-family);font-size:20px;font-weight:500;line-height:30px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none;color:var(--nylas-base-900);margin:0}.action-options .action-options__card .action-options__content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.action-options .action-options__card .action-options__content ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:var(--nylas-font-family);font-weight:400;font-size:14px;line-height:21px;letter-spacing:0px;text-align:left;cursor:pointer}.action-options .action-options__card .action-options__content ul li:hover,.action-options .action-options__card .action-options__content ul li:focus{background-color:var(--nylas-base-100)}.action-options .action-options__card .action-options__content ul li.disabled{cursor:not-allowed;opacity:0.5}.action-options .action-options__card .action-options__footer{display:flex;justify-content:flex-end;gap:16px;padding:16px;border-top:1px solid var(--nylas-base-200)}.event-details-container{position:absolute;bottom:-80px;left:0;width:100%;z-index:3;background:var(--nylas-base-0);box-shadow:4px -8px 12px -12px rgba(0, 0, 0, 0.5);border-bottom-left-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.event-details-container{bottom:-176px}}.event-details-container .event-details-header{margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-bottom:1px solid var(--nylas-base-200);color:var(--nylas-base-900)}.event-details-container .event-details-header div.event-details-header__actions{display:flex;align-items:center;gap:16px}.event-details-container .event-details-header div.event-details-header__actions button-component#close button{padding:0;height:auto}.event-details-container .event-details-header div.event-details-header__actions button-component#close button:hover{background-color:transparent !important}.event-details-container .event-details{max-height:440px;overflow-y:scroll;padding:0 16px;display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.event-details-container .event-details nylas-additional-participants::part(nadtnlpart__content){background-color:var(--nylas-base-0)}.event-details-container .event-details.edit-event-details nylas-additional-participants{margin:16px 0}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nfc){border:none}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nadtnlpart__title){font-weight:400}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nadtnlpart__content){padding:16px 0}.event-details-container .event-details.edit-event-details nylas-additional-participants::part(nfc__header){padding:0;border-bottom:none}.event-details-container .event-details .event-details-form-inputs{display:flex;flex-direction:column;gap:16px}.event-details-container .event-details-footer{display:flex;justify-content:flex-end;gap:16px;padding:16px;border-top:1px solid var(--nylas-base-200)}.event-details-container .event-details-footer .event-details-footer__error{color:var(--nylas-error);font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font}.event-details-container .event-details-footer .event-details-footer__helper-text{color:var(--nylas-base-800);font-family:var(--nylas-font-family);font-size:14px;font-weight:400;line-height:20px;text-align:left;text-underline-position:from-font}.event-details-container .event-details-footer .event-details-footer__actions{display:flex;gap:16px}', Bf = Lf;
9045
9054
  var zf = function(t, e, n, i) {
9046
9055
  var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, n) : i, a;
9047
9056
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -9064,12 +9073,12 @@ const it = {
9064
9073
  timeGridDay: "day",
9065
9074
  timeGridWeek: "week",
9066
9075
  dayGridMonth: "month"
9067
- }, Ff = [
9076
+ }, jf = [
9068
9077
  { label: _.t("nylasEventCalendar.editOptions.import") || "Import", value: "import", langKey: "nylasEventCalendar.editOptions.import" },
9069
9078
  { label: _.t("nylasEventCalendar.editOptions.edit") || "Edit", value: "edit", langKey: "nylasEventCalendar.editOptions.edit" },
9070
9079
  { label: _.t("nylasEventCalendar.editOptions.deleteThis") || "Delete this event only", value: "delete-this", langKey: "nylasEventCalendar.editOptions.deleteThis" },
9071
9080
  { label: _.t("nylasEventCalendar.editOptions.deleteAll") || "Delete all events", value: "delete-all", langKey: "nylasEventCalendar.editOptions.deleteAll" }
9072
- ], jf = [
9081
+ ], Ff = [
9073
9082
  { label: _.t("nylasEventCalendar.updateOptions.updateThis") || "Update this event", value: "this", langKey: "nylasEventCalendar.updateOptions.updateThis" },
9074
9083
  {
9075
9084
  label: _.t("nylasEventCalendar.updateOptions.updateFuture") || "Update all future occurrences",
@@ -9087,7 +9096,7 @@ const it = {
9087
9096
  { label: _.t("nylasEventCalendar.deleteOptions.deleteAll") || "Delete all events", value: "all", langKey: "nylasEventCalendar.deleteOptions.deleteAll" }
9088
9097
  ], Xs = class {
9089
9098
  constructor(t) {
9090
- St(this, t), this.fetchMasterGroupEvent = W(this, "fetchMasterGroupEvent", 7), this.saveGroupEventChanges = W(this, "saveGroupEventChanges", 7), this.deleteGroupEvent = W(this, "deleteGroupEvent", 7), this.groupEventSelected = W(this, "groupEventSelected", 7), this.createGroupEvent = W(this, "createGroupEvent", 7), this.calendarViewChanged = W(this, "calendarViewChanged", 7), this.previosNextClicked = W(this, "previosNextClicked", 7), this.setCalendarViewDateRange = W(this, "setCalendarViewDateRange", 7), this.importGroupEvent = W(this, "importGroupEvent", 7), t.$hostElement$["s-ei"] ? this.internals = t.$hostElement$["s-ei"] : (this.internals = t.$hostElement$.attachInternals(), t.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "page-name", this.selectedLanguage = void 0, this.groupEvents = void 0, this.currentUser = void 0, this.calendars = void 0, this.masterGroupEvents = void 0, this.isLoading = void 0, this.selectedView = "week", this.events = [], this.calendar = void 0, this.selectedEvent = null, this.selectedDateRangeString = "", this.showEditEventDetails = !1, this.showCreateEventDetails = !1, this.editOptionChoices = Ff, this.updateOptionChoices = jf, this.deleteOptionChoices = Wf, this.editOptions = this.editOptionChoices, this.showEditOptions = !1, this.updateOptions = this.updateOptionChoices, this.showUpdateOptions = !1, this.deleteOptions = this.deleteOptionChoices, this.showDeleteOptions = !1, this.unsavedChanges = !1, this.showConfirmDiscardUnsavedChangesModal = !1, this.createNewGroupEventTimeslot = null, this.formError = "", this.formErrors = {}, this.loadingOptions = {
9099
+ St(this, t), this.fetchMasterGroupEvent = W(this, "fetchMasterGroupEvent", 7), this.saveGroupEventChanges = W(this, "saveGroupEventChanges", 7), this.deleteGroupEvent = W(this, "deleteGroupEvent", 7), this.groupEventSelected = W(this, "groupEventSelected", 7), this.createGroupEvent = W(this, "createGroupEvent", 7), this.calendarViewChanged = W(this, "calendarViewChanged", 7), this.previosNextClicked = W(this, "previosNextClicked", 7), this.setCalendarViewDateRange = W(this, "setCalendarViewDateRange", 7), this.importGroupEvent = W(this, "importGroupEvent", 7), t.$hostElement$["s-ei"] ? this.internals = t.$hostElement$["s-ei"] : (this.internals = t.$hostElement$.attachInternals(), t.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "page-name", this.selectedLanguage = void 0, this.groupEvents = void 0, this.currentUser = void 0, this.calendars = void 0, this.masterGroupEvents = void 0, this.isLoading = void 0, this.themeConfig = void 0, this.selectedView = "week", this.events = [], this.calendar = void 0, this.selectedEvent = null, this.selectedDateRangeString = "", this.showEditEventDetails = !1, this.showCreateEventDetails = !1, this.editOptionChoices = jf, this.updateOptionChoices = Ff, this.deleteOptionChoices = Wf, this.editOptions = this.editOptionChoices, this.showEditOptions = !1, this.updateOptions = this.updateOptionChoices, this.showUpdateOptions = !1, this.deleteOptions = this.deleteOptionChoices, this.showDeleteOptions = !1, this.unsavedChanges = !1, this.showConfirmDiscardUnsavedChangesModal = !1, this.createNewGroupEventTimeslot = null, this.formError = "", this.formErrors = {}, this.loadingOptions = {
9091
9100
  update: "",
9092
9101
  delete: "",
9093
9102
  create: ""
@@ -9170,6 +9179,14 @@ const it = {
9170
9179
  let n = JSON.parse(JSON.stringify(this.events));
9171
9180
  this.showAllEvents || (n = n.filter((r) => r == null ? void 0 : r.classNames.includes("group-event"))), (i = this.calendar) == null || i.setOption("events", n);
9172
9181
  }
9182
+ themeConfigChangedHandler(t, e) {
9183
+ t !== e && this.applyThemeConfig(t);
9184
+ }
9185
+ applyThemeConfig(t) {
9186
+ if (t)
9187
+ for (const [e, n] of Object.entries(t))
9188
+ this.host.style.setProperty(`${e}`, n);
9189
+ }
9173
9190
  connectedCallback() {
9174
9191
  z("nylas-connected-calendars", "connectedCallback");
9175
9192
  }
@@ -9439,12 +9456,12 @@ const it = {
9439
9456
  }
9440
9457
  }
9441
9458
  render() {
9442
- var d, c, h, f, u, v, y, b, E, C, T, A, O, M, N, R, Q, ae, qe, Qe, Jn;
9459
+ var d, c, h, f, u, v, y, b, E, C, T, A, I, M, N, R, Q, ae, qe, Qe, Jn;
9443
9460
  const t = (c = (d = this.selectedConfiguration) == null ? void 0 : d.group_booking) == null ? void 0 : c.calendar_id, e = t ? (h = this.calendars) == null ? void 0 : h.find((w) => w.id === t) : null, n = _.t("timePeriod_day") || "day", i = _.t("timePeriod_week") || "week", r = _.t("timePeriod_month") || "month", s = (v = (u = (f = this.selectedEvent) == null ? void 0 : f.event) == null ? void 0 : u.when) == null ? void 0 : v.start_time, a = (E = (b = (y = this.selectedEvent) == null ? void 0 : y.event) == null ? void 0 : b.when) == null ? void 0 : E.start_timezone, l = s ? x(s * 1e3).tz(a) : null, o = l && l.isBefore(x().tz(a));
9444
9461
  return g(vn, null, g("div", { class: "nylas-event-calendar" }, g("div", { class: {
9445
9462
  "calendar-container": !0,
9446
9463
  "show-event": this.showEditEventDetails || this.showCreateEventDetails
9447
- } }, g("div", { class: "calendar-header" }, g("div", { class: "calendar-header__row_one" }, g("div", { class: "calendar-header__title" }, g("div", { class: "calendar-header-prev-next" }, g("button", { onClick: () => this.handlePrevNextClick("prev"), class: { "chevron-left": !0, button: !0 } }, " ", g("chevron-icon", null)), g("span", null, this.selectedDateRangeString), g("button", { onClick: () => this.handlePrevNextClick("next"), class: { "chevron-right": !0, button: !0 } }, " ", g("chevron-icon", null)))), g("div", { class: "calendar-header__current-calendar" }, (e == null ? void 0 : e.name) || (e == null ? void 0 : e.id), "'s calendar"), g("div", { class: "calendar-header__view-options" }, g("button", { class: { selected: ((C = this.calendar) == null ? void 0 : C.view.type) === it.day }, onClick: () => this.setView("day") }, n.charAt(0).toUpperCase() + n.slice(1)), g("button", { class: { selected: ((T = this.calendar) == null ? void 0 : T.view.type) === it.week }, onClick: () => this.setView("week") }, i.charAt(0).toUpperCase() + i.slice(1)), g("button", { class: { selected: ((A = this.calendar) == null ? void 0 : A.view.type) === it.month }, onClick: () => this.setView("month") }, r.charAt(0).toUpperCase() + r.slice(1)))), g("div", { class: "calendar-header__row_two" }, g("div", { class: "calendar-header__hide-non-group-events" }, g("label", null, _.t("nylasEventCalendar.hideNonGroupEvents.showLabel"), g("span", { class: "label-icon" }, g("tooltip-component", null, g("info-icon", { slot: "tooltip-icon" }), g("span", { slot: "tooltip-content" }, _.t("nylasEventCalendar.hideNonGroupEvents.tooltip.desc"))))), g("checkbox-group", { direction: "horizontal", name: "hide-non-group-events", options: [{ label: _.t("nylasEventCalendar.hideNonGroupEvents.options.group"), value: "group-only", checked: !1 }] })))), g("div", { ref: (w) => this.calendarEl = w })), this.showEditEventDetails && ((O = this.selectedEvent) == null ? void 0 : O.group_event_info) && g("div", { class: "event-details-container" }, g("div", { class: "event-details-header" }, g("h3", null, _.t("nylasEventCalendar.editEventDetails.headerTitle")), g("div", { class: "event-details-header__actions" }, g("button-component", { tooltip: _.t("nylasEventCalendar.editEventDetails.closeButtonTooltip"), id: "close", disabled: this.isLoading, variant: "invisible", onClick: (w) => {
9464
+ } }, g("div", { class: "calendar-header" }, g("div", { class: "calendar-header__row_one" }, g("div", { class: "calendar-header__title" }, g("div", { class: "calendar-header-prev-next" }, g("button", { onClick: () => this.handlePrevNextClick("prev"), class: { "chevron-left": !0, button: !0 } }, " ", g("chevron-icon", null)), g("span", null, this.selectedDateRangeString), g("button", { onClick: () => this.handlePrevNextClick("next"), class: { "chevron-right": !0, button: !0 } }, " ", g("chevron-icon", null)))), g("div", { class: "calendar-header__current-calendar" }, (e == null ? void 0 : e.name) || (e == null ? void 0 : e.id), "'s calendar"), g("div", { class: "calendar-header__view-options" }, g("button", { class: { selected: ((C = this.calendar) == null ? void 0 : C.view.type) === it.day }, onClick: () => this.setView("day") }, n.charAt(0).toUpperCase() + n.slice(1)), g("button", { class: { selected: ((T = this.calendar) == null ? void 0 : T.view.type) === it.week }, onClick: () => this.setView("week") }, i.charAt(0).toUpperCase() + i.slice(1)), g("button", { class: { selected: ((A = this.calendar) == null ? void 0 : A.view.type) === it.month }, onClick: () => this.setView("month") }, r.charAt(0).toUpperCase() + r.slice(1)))), g("div", { class: "calendar-header__row_two" }, g("div", { class: "calendar-header__hide-non-group-events" }, g("label", null, _.t("nylasEventCalendar.hideNonGroupEvents.showLabel"), g("span", { class: "label-icon" }, g("tooltip-component", null, g("info-icon", { slot: "tooltip-icon" }), g("span", { slot: "tooltip-content" }, _.t("nylasEventCalendar.hideNonGroupEvents.tooltip.desc"))))), g("checkbox-group", { direction: "horizontal", name: "hide-non-group-events", themeConfig: this.themeConfig, options: [{ label: _.t("nylasEventCalendar.hideNonGroupEvents.options.group"), value: "group-only", checked: !1 }] })))), g("div", { ref: (w) => this.calendarEl = w })), this.showEditEventDetails && ((I = this.selectedEvent) == null ? void 0 : I.group_event_info) && g("div", { class: "event-details-container" }, g("div", { class: "event-details-header" }, g("h3", null, _.t("nylasEventCalendar.editEventDetails.headerTitle")), g("div", { class: "event-details-header__actions" }, g("button-component", { tooltip: _.t("nylasEventCalendar.editEventDetails.closeButtonTooltip"), id: "close", disabled: this.isLoading, variant: "invisible", onClick: (w) => {
9448
9465
  w.preventDefault(), w.stopImmediatePropagation(), this.unsavedChanges ? this.showConfirmDiscardUnsavedChangesModal = !0 : (this.showEditEventDetails = !1, this.unsavedChanges = !1, this.selectedEvent = null, this.formError = "");
9449
9466
  } }, g("close-icon", null)))), g("div", { class: {
9450
9467
  "event-details": !0,
@@ -9478,7 +9495,7 @@ const it = {
9478
9495
  w.preventDefault(), w.stopImmediatePropagation(), this.showDeleteOptions = !1;
9479
9496
  } }, g("close-icon", null)), g("div", { class: "delete-options__content action-options__content" }, g("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name }, this.deleteOptions.map((w) => w.value.toString() ? g("li", { class: { disabled: !!this.isLoading }, tabindex: "0", key: w.value, id: w.value, role: "option", onClick: ($) => this.handleDeleteGroupEvent($, w) }, this.isLoading && this.loadingOptions.delete === w.value ? _.t("nylasEventCalendar.deleteEvent.deleting") : w.label) : null))))), this.showChooseParticipantsModal && g("div", { class: "choose-participants-modal action-options" }, g("div", { class: "choose-participants-modal__card action-options__card" }, g("button-component", { tooltip: _.t("nylasEventCalendar.importEvent.closeButtonTooltip"), id: "close-choose-participants-modal", variant: "invisible", disabled: this.isLoading, onClick: (w) => {
9480
9497
  w.preventDefault(), w.stopImmediatePropagation(), this.showChooseParticipantsModal = !1;
9481
- } }, g("close-icon", null)), g("div", { class: "choose-participants-modal__content action-options__content" }, g("multi-select-dropdown", { name: "participants", multipleOptionsSelectedLabel: _.t("multipleOptionsSelected"), selectAtLeastOneOptionLabel: _.t("selectOneOrMoreOptions"), label: _.t("nylasEventCalendar.importEvent.participantsLabel"), options: this.importParticipants }), g("button-component", { variant: "basic", onClick: () => this.handleImportGroupEvent() }, _.t("nylasEventCalendar.importEvent.importButton")))))));
9498
+ } }, g("close-icon", null)), g("div", { class: "choose-participants-modal__content action-options__content" }, g("multi-select-dropdown", { name: "participants", multipleOptionsSelectedLabel: _.t("multipleOptionsSelected"), selectAtLeastOneOptionLabel: _.t("selectOneOrMoreOptions"), label: _.t("nylasEventCalendar.importEvent.participantsLabel"), options: this.importParticipants, themeConfig: this.themeConfig }), g("button-component", { variant: "basic", onClick: () => this.handleImportGroupEvent() }, _.t("nylasEventCalendar.importEvent.importButton")))))));
9482
9499
  }
9483
9500
  static get formAssociated() {
9484
9501
  return !0;
@@ -9491,6 +9508,7 @@ const it = {
9491
9508
  name: ["elementNameChangedHandler"],
9492
9509
  selectedLanguage: ["selectedLanguageChangedHandler"],
9493
9510
  groupEvents: ["groupEventsChangedHandler"],
9511
+ themeConfig: ["themeConfigChangedHandler"],
9494
9512
  isLoading: ["isLoadingChangedHandler"]
9495
9513
  };
9496
9514
  }
@@ -9505,7 +9523,8 @@ zf([
9505
9523
  ["schedulerConfig.currentUser", "currentUser"],
9506
9524
  ["schedulerConfig.calendars", "calendars"],
9507
9525
  ["schedulerConfig.isLoading", "isLoading"],
9508
- ["schedulerConfig.selectedConfiguration", "selectedConfiguration"]
9526
+ ["schedulerConfig.selectedConfiguration", "selectedConfiguration"],
9527
+ ["schedulerConfig.themeConfig", "themeConfig"]
9509
9528
  ]),
9510
9529
  eventToProps: {
9511
9530
  groupEventSelected: async (t, e) => {
@@ -9562,7 +9581,7 @@ zf([
9562
9581
  Jt("design:returntype", void 0)
9563
9582
  ], Xs.prototype, "render", null);
9564
9583
  Xs.style = Bf;
9565
- const Vf = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-event-capacity{display:flex;flex-direction:column;gap:4px}.nylas-event-capacity label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-capacity label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-capacity label span.label-icon{margin-left:4px}.nylas-event-capacity label span.label-icon tooltip-component{display:flex}.nylas-event-capacity label tooltip-component::part(tc__content){left:50px}.nylas-event-capacity__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-capacity__wrapper input-component{width:auto}.nylas-event-capacity__wrapper input-component::part(ic__input){border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:80px}.nylas-event-capacity__wrapper input-component::part(ic__input--error){border:1px solid var(--nylas-error)}.nylas-event-capacity__wrapper input-component::part(ic__label--error){position:relative;margin-bottom:24px}.nylas-event-capacity__wrapper input-component::part(ic__error_message){position:absolute;top:54px;width:max-content}.nylas-event-capacity__wrapper span.attendees.error{margin-top:-24px}', Gf = Vf;
9584
+ const Vf = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-event-capacity{display:flex;flex-direction:column;gap:4px}.nylas-event-capacity label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-capacity label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-capacity label span.label-icon{margin-left:4px}.nylas-event-capacity label span.label-icon tooltip-component{display:flex}.nylas-event-capacity label tooltip-component::part(tc__content){left:50px}.nylas-event-capacity__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-capacity__wrapper input-component{width:auto}.nylas-event-capacity__wrapper input-component::part(ic__input){border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:80px}.nylas-event-capacity__wrapper input-component::part(ic__input--error){border:1px solid var(--nylas-error)}.nylas-event-capacity__wrapper input-component::part(ic__label--error){position:relative;margin-bottom:24px}.nylas-event-capacity__wrapper input-component::part(ic__error_message){position:absolute;top:54px;width:max-content}.nylas-event-capacity__wrapper span.attendees.error{margin-top:-24px}', Gf = Vf;
9566
9585
  var Yf = function(t, e, n, i) {
9567
9586
  var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, n) : i, a;
9568
9587
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -9577,7 +9596,7 @@ var Yf = function(t, e, n, i) {
9577
9596
  };
9578
9597
  const Js = class {
9579
9598
  constructor(t) {
9580
- St(this, t), this.valueChanged = W(this, "valueChanged", 7), t.$hostElement$["s-ei"] ? this.internals = t.$hostElement$["s-ei"] : (this.internals = t.$hostElement$.attachInternals(), t.$hostElement$["s-ei"] = this.internals), this.name = "event-capacity", this.capacity = void 0, this.selectedLanguage = void 0, this.selectedEventCapacity = void 0, this.error = "";
9599
+ St(this, t), this.valueChanged = W(this, "valueChanged", 7), t.$hostElement$["s-ei"] ? this.internals = t.$hostElement$["s-ei"] : (this.internals = t.$hostElement$.attachInternals(), t.$hostElement$["s-ei"] = this.internals), this.name = "event-capacity", this.capacity = void 0, this.selectedLanguage = void 0, this.themeConfig = void 0, this.selectedEventCapacity = void 0, this.error = "";
9581
9600
  }
9582
9601
  connectedCallback() {
9583
9602
  z("nylas-event-capacity", "connectedCallback");
@@ -9609,6 +9628,14 @@ const Js = class {
9609
9628
  selectedLanguageChangedHandler(t, e) {
9610
9629
  t !== e && _.changeLanguage(t);
9611
9630
  }
9631
+ themeConfigChangedHandler(t, e) {
9632
+ t !== e && this.applyThemeConfig(t);
9633
+ }
9634
+ applyThemeConfig(t) {
9635
+ if (t)
9636
+ for (const [e, n] of Object.entries(t))
9637
+ this.host.style.setProperty(`${e}`, n);
9638
+ }
9612
9639
  async nylasFormInputChangeHandler(t) {
9613
9640
  const { name: e, value: n } = t.detail;
9614
9641
  if (e === "event-capacity") {
@@ -9622,7 +9649,7 @@ const Js = class {
9622
9649
  }
9623
9650
  render() {
9624
9651
  const t = typeof this.selectedEventCapacity < "u";
9625
- return g(vn, { key: "a5f7f13597235b6cafcb8201960bafe720c937bc" }, g("div", { key: "7565faeeb192bb44d1ccf2483c6b1e4590b48876", class: "nylas-event-capacity", part: "necapacity" }, g("label", { key: "d46746e76bdc2daef8302602efd123cf676e8c9e", htmlFor: "event-capacity" }, g("span", { key: "f6e17aac8d8f378a22de076378be2b7c3dbda4be" }, _.t("nylasEventCapacity.headerTitle"), g("span", { key: "382366c5d94050870b88316216c6c64077561ddd", class: "required" }, "*")), g("tooltip-component", { key: "f2122314aec576da8ca7723ddd7672311aed2d4e" }, g("info-icon", { key: "bbfd875ee167603721e872f15fb83d12c371fa1d", slot: "tooltip-icon" }), g("span", { key: "49cd6598f2835f251cc0d34aa83065a0fb773e6a", slot: "tooltip-content" }, _.t("nylasEventCapacity.tooltip.desc")))), t && g("div", { class: "nylas-event-capacity__wrapper" }, g("input-component", { name: "event-capacity", id: "event-capacity", type: "number", pattern: /^[0-9]*$/, patternError: _.t("invalidInputFormat", { field: "Event capacity" }), minValue: 1, maxValue: 500, required: !1, exportparts: "ic_input: necapacity__input-textfield", defaultValue: typeof this.selectedEventCapacity == "number" ? this.selectedEventCapacity.toString() : "10" }), g("span", { class: this.error ? "attendees error" : "attendees" }, _.t("nylasEventCapacity.attendees")))));
9652
+ return g(vn, { key: "93197cab0e3999f1dc9eaaed7672bb2dca4f5667" }, g("div", { key: "dd37d030dce6b3cb66e1c651645b56cf00fec8d9", class: "nylas-event-capacity", part: "necapacity" }, g("label", { key: "a818a00a215d298f6ed961eb59de4986e22b5868", htmlFor: "event-capacity" }, g("span", { key: "5da9529a65a9aaaf6ca8f04d425ac809217ee387" }, _.t("nylasEventCapacity.headerTitle"), g("span", { key: "dfb696a9e73b2eb506255da96fd947db4db7337b", class: "required" }, "*")), g("tooltip-component", { key: "cc226e5db749d363b619b76927a61fdd6f637256" }, g("info-icon", { key: "e9678e1881cabbe5a3f99b57ddcb67f742fdeda3", slot: "tooltip-icon" }), g("span", { key: "8edf5f53066cedb3dee7d11d36700e1240b0f726", slot: "tooltip-content" }, _.t("nylasEventCapacity.tooltip.desc")))), t && g("div", { class: "nylas-event-capacity__wrapper" }, g("input-component", { name: "event-capacity", id: "event-capacity", type: "number", pattern: /^[0-9]*$/, patternError: _.t("invalidInputFormat", { field: "Event capacity" }), minValue: 1, maxValue: 500, required: !1, exportparts: "ic_input: necapacity__input-textfield", defaultValue: typeof this.selectedEventCapacity == "number" ? this.selectedEventCapacity.toString() : "10", themeConfig: this.themeConfig }), g("span", { class: this.error ? "attendees error" : "attendees" }, _.t("nylasEventCapacity.attendees")))));
9626
9653
  }
9627
9654
  static get formAssociated() {
9628
9655
  return !0;
@@ -9633,14 +9660,18 @@ const Js = class {
9633
9660
  static get watchers() {
9634
9661
  return {
9635
9662
  name: ["elementNameChangedHandler"],
9636
- selectedLanguage: ["selectedLanguageChangedHandler"]
9663
+ selectedLanguage: ["selectedLanguageChangedHandler"],
9664
+ themeConfig: ["themeConfigChangedHandler"]
9637
9665
  };
9638
9666
  }
9639
9667
  };
9640
9668
  Yf([
9641
9669
  yn({
9642
9670
  name: "nylas-event-capacity",
9643
- stateToProps: /* @__PURE__ */ new Map([["schedulerConfig.selectedLanguage", "selectedLanguage"]]),
9671
+ stateToProps: /* @__PURE__ */ new Map([
9672
+ ["schedulerConfig.selectedLanguage", "selectedLanguage"],
9673
+ ["schedulerConfig.themeConfig", "themeConfig"]
9674
+ ]),
9644
9675
  eventToProps: {
9645
9676
  valueChanged: async (t, e) => {
9646
9677
  const { valueChanged: n } = t.detail;
@@ -9654,7 +9685,7 @@ Yf([
9654
9685
  Kt("design:returntype", void 0)
9655
9686
  ], Js.prototype, "render", null);
9656
9687
  Js.style = Gf;
9657
- const qf = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}div.nylas-event-timeslot label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%}div.nylas-event-timeslot div.date-time-input div.date-time-picker{display:flex;gap:32px}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker{flex-direction:column;gap:16px}}div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component{width:224px}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component{width:100%}}div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component:not(.error)::part(ic__date){border-color:var(--nylas-base-200)}div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component::part(ic__date){height:50px}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range{display:flex;gap:8px;align-items:flex-start}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range span{margin:12px 0 0 6px;display:inline-flex;align-items:flex-start}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range{display:grid;grid-template-columns:1fr 20px 1fr}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range nylas-time-window-picker::part(time-picker){width:-webkit-fill-available}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range nylas-time-window-picker::part(time-input){width:calc(100% - 8px)}}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown{width:fit-content}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown){position:relative}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-button){border:none;padding:14px;justify-content:flex-start}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-button):hover{border:none;outline:none;color:var(--nylas-primary)}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown{width:-webkit-fill-available}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-button-selected-label){max-width:fit-content}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-content){right:unset;width:unset}}div.nylas-event-timeslot div.date-time-input div.recurrence-options{margin:8px 0}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown){position:relative}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button){width:fit-content;padding:14px;border-color:var(--nylas-base-200)}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button):hover{color:var(--nylas-primary)}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-content){width:fit-content}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button-selected-label){max-width:100%;width:fit-content;font-size:16px}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown{width:-webkit-fill-available}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button-selected-label){max-width:254px;width:fit-content}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-content){right:unset;width:unset}}@media screen and (max-width: 412px){div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button-selected-label){max-width:240px}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end{display:grid;align-items:center;gap:16px;grid-template-columns:128px 1fr;margin-bottom:8px}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period select-dropdown::part(sd_dropdown-button),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type select-dropdown::part(sd_dropdown-button),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end select-dropdown::part(sd_dropdown-button){border-color:var(--nylas-base-200)}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end{grid-template-columns:1fr;gap:4px;margin:16px 0}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period time-period-selector::part(id_dropdown-input),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type time-period-selector::part(id_dropdown-input),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end time-period-selector::part(id_dropdown-input){padding:16px}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period time-period-selector input-dropdown:hover,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type time-period-selector input-dropdown:hover,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end time-period-selector input-dropdown:hover{border:1px solid var(--nylas-primary);outline:1px solid transparent}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days{margin:16px 0;display:flex;gap:16px;align-items:center}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons{display:flex;gap:8px;margin:8px 0}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button{border-radius:50%;border:none;height:24px;width:24px;color:var(--nylas-base-800);cursor:pointer}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button.selected{background-color:var(--nylas-primary);color:var(--nylas-base-0)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button:hover{background-color:var(--nylas-base-500);color:var(--nylas-base-0)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button:active{background-color:var(--nylas-base-600);color:var(--nylas-base-0)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence-ends,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.month-recurrence{display:grid;align-items:center;gap:16px;grid-template-columns:128px 1fr}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence-ends,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.month-recurrence{grid-template-columns:1fr;gap:4px;margin:16px 0}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence-ends #custom-recurrence-end-type::part(sd_dropdown-button){padding:16px}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence{display:flex;gap:16px;align-items:baseline}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence{flex-direction:column;align-items:flex-start;gap:0}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after{display:flex;gap:8px;align-items:center}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after{flex-direction:column;align-items:flex-start}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after #recurrence-end-after::part(netimeslot__input-textfield),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after #recurrence-end-after::part(ic__input){border-color:var(--nylas-base-200)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence nylas-date-component::part(ic__date){padding:0 16px;height:52px;border:1px solid var(--nylas-base-200)}', Qf = qf;
9688
+ const qf = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}div.nylas-event-timeslot label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%}div.nylas-event-timeslot div.date-time-input div.date-time-picker{display:flex;gap:32px}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker{flex-direction:column;gap:16px}}div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component{width:224px}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component{width:100%}}div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component:not(.error)::part(ic__date){border-color:var(--nylas-base-200)}div.nylas-event-timeslot div.date-time-input div.date-time-picker nylas-date-component::part(ic__date){height:50px}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range{display:flex;gap:8px;align-items:flex-start}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range span{margin:12px 0 0 6px;display:inline-flex;align-items:flex-start}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range{display:grid;grid-template-columns:1fr 20px 1fr}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range nylas-time-window-picker::part(time-picker){width:-webkit-fill-available}div.nylas-event-timeslot div.date-time-input div.date-time-picker div.time-range nylas-time-window-picker::part(time-input){width:calc(100% - 8px)}}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown{width:fit-content}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown){position:relative}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-button){border:none;padding:14px;justify-content:flex-start}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-button):hover{border:none;outline:none;color:var(--nylas-primary)}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown{width:-webkit-fill-available}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-button-selected-label){max-width:fit-content}div.nylas-event-timeslot div.date-time-input div.date-time-picker select-dropdown::part(sd_dropdown-content){right:unset;width:unset}}div.nylas-event-timeslot div.date-time-input div.recurrence-options{margin:8px 0}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown){position:relative}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button){width:fit-content;padding:14px;border-color:var(--nylas-base-200)}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button):hover{color:var(--nylas-primary)}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-content){width:fit-content}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button-selected-label){max-width:100%;width:fit-content;font-size:16px}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown{width:-webkit-fill-available}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button-selected-label){max-width:254px;width:fit-content}div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-content){right:unset;width:unset}}@media screen and (max-width: 412px){div.nylas-event-timeslot div.date-time-input div.recurrence-options select-dropdown::part(sd_dropdown-button-selected-label){max-width:240px}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end{display:grid;align-items:center;gap:16px;grid-template-columns:128px 1fr;margin-bottom:8px}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period select-dropdown::part(sd_dropdown-button),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type select-dropdown::part(sd_dropdown-button),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end select-dropdown::part(sd_dropdown-button){border-color:var(--nylas-base-200)}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end{grid-template-columns:1fr;gap:4px;margin:16px 0}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period time-period-selector::part(id_dropdown-input),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type time-period-selector::part(id_dropdown-input),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end time-period-selector::part(id_dropdown-input){padding:16px}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.custom-recurrence-time-period time-period-selector input-dropdown:hover,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-type time-period-selector input-dropdown:hover,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.recurrence-end time-period-selector input-dropdown:hover{border:1px solid var(--nylas-primary);outline:1px solid transparent}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days{margin:16px 0;display:flex;gap:16px;align-items:center}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons{display:flex;gap:8px;margin:8px 0}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button{border-radius:50%;border:none;height:24px;width:24px;color:var(--nylas-base-800);cursor:pointer;background:var(--nylas-base-100)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button:hover{background-color:var(--nylas-base-500);color:var(--nylas-base-0)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button.selected{background-color:var(--nylas-primary);color:var(--nylas-base-0)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days div.buttons button:active{background-color:var(--nylas-base-600);color:var(--nylas-base-0)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence-ends,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.month-recurrence{display:grid;align-items:center;gap:16px;grid-template-columns:128px 1fr}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.days,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence-ends,div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.month-recurrence{grid-template-columns:1fr;gap:4px;margin:16px 0}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence-ends #custom-recurrence-end-type::part(sd_dropdown-button){padding:16px}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence{display:flex;gap:16px;align-items:baseline}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence{flex-direction:column;align-items:flex-start;gap:0}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after{display:flex;gap:8px;align-items:center}@media screen and (max-width: 768px){div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after{flex-direction:column;align-items:flex-start}}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after #recurrence-end-after::part(netimeslot__input-textfield),div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence div.custom-recurrence-end-after #recurrence-end-after::part(ic__input){border-color:var(--nylas-base-200)}div.nylas-event-timeslot div.date-time-input div.recurrence-options div.repeat-on div.custom-recurrence nylas-date-component::part(ic__date){padding:0 16px;height:52px;border:1px solid var(--nylas-base-200)}', Qf = qf;
9658
9689
  var $f = function(t, e, n, i) {
9659
9690
  var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, n) : i, a;
9660
9691
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -9677,7 +9708,7 @@ const Zf = {
9677
9708
  year: "yearly"
9678
9709
  }, Ks = class {
9679
9710
  constructor(t) {
9680
- St(this, t), this.valueChanged = W(this, "valueChanged", 7), this.timeWindowFormError = W(this, "timeWindowFormError", 7), this.dateTimeInputError = W(this, "dateTimeInputError", 7), t.$hostElement$["s-ei"] ? this.internals = t.$hostElement$["s-ei"] : (this.internals = t.$hostElement$.attachInternals(), t.$hostElement$["s-ei"] = this.internals), this.name = "event-timeslot", this.initialValue = void 0, this.selectedLanguage = void 0, this.currentUser = void 0, this.selectedDate = void 0, this.selectedStartTime = void 0, this.selectedEndTime = void 0, this.selectedTimezone = void 0, this.selectedRecurrenceType = void 0, this.timeRangeError = !1, this.selectedRrule = void 0, this.recurrenceOptions = [], this.repeatEveryInterval = 1, this.repeatEveryFrequency = "week", this.repeatOnDays = [], this.repeatMonthlySameDate = !0, this.repeatEndType = "never", this.repeatEndAfter = 1, this.repeatEndOn = void 0, this.monthRecurrenceOptions = [], this.endDate = void 0, this.hasDateTimeInputError = !1;
9711
+ St(this, t), this.valueChanged = W(this, "valueChanged", 7), this.timeWindowFormError = W(this, "timeWindowFormError", 7), this.dateTimeInputError = W(this, "dateTimeInputError", 7), t.$hostElement$["s-ei"] ? this.internals = t.$hostElement$["s-ei"] : (this.internals = t.$hostElement$.attachInternals(), t.$hostElement$["s-ei"] = this.internals), this.name = "event-timeslot", this.initialValue = void 0, this.selectedLanguage = void 0, this.currentUser = void 0, this.themeConfig = void 0, this.selectedDate = void 0, this.selectedStartTime = void 0, this.selectedEndTime = void 0, this.selectedTimezone = void 0, this.selectedRecurrenceType = void 0, this.timeRangeError = !1, this.selectedRrule = void 0, this.recurrenceOptions = [], this.repeatEveryInterval = 1, this.repeatEveryFrequency = "week", this.repeatOnDays = [], this.repeatMonthlySameDate = !0, this.repeatEndType = "never", this.repeatEndAfter = 1, this.repeatEndOn = void 0, this.monthRecurrenceOptions = [], this.endDate = void 0, this.hasDateTimeInputError = !1;
9681
9712
  }
9682
9713
  connectedCallback() {
9683
9714
  z("nylas-event-timeslot", "connectedCallback");
@@ -9727,6 +9758,14 @@ const Zf = {
9727
9758
  selectedLanguageChangedHandler(t, e) {
9728
9759
  t !== e && _.changeLanguage(t);
9729
9760
  }
9761
+ themeConfigChangedHandler(t, e) {
9762
+ t !== e && this.applyThemeConfig(t);
9763
+ }
9764
+ applyThemeConfig(t) {
9765
+ if (t)
9766
+ for (const [e, n] of Object.entries(t))
9767
+ this.host.style.setProperty(`${e}`, n);
9768
+ }
9730
9769
  getOrdinalSuffix(t) {
9731
9770
  const e = ["th", "st", "nd", "rd"], n = t % 100;
9732
9771
  return t + (e[(n - 20) % 10] || e[n] || e[0]);
@@ -9913,12 +9952,12 @@ const Zf = {
9913
9952
  ], s = x(this.selectedDate).add(1, "year").toISOString().split("T")[0], a = this.repeatEveryFrequency === "week" ? 4 : this.repeatEveryFrequency === "month" ? 12 : 5;
9914
9953
  this.repeatEndOn = this.repeatEndOn || s, this.repeatEndAfter = this.repeatEndAfter || a;
9915
9954
  const l = x().tz(this.selectedTimezone);
9916
- return g(vn, { key: "92581d88eaad6ec232d41d494635ce1cf922e310" }, g("div", { key: "2031b25539623b44c19924972fd768409ee524c7", class: "nylas-event-timeslot", part: "netimeslot" }, g("label", { key: "aced1ba3abf182ee443917d347b8c7c6c4fc4478", htmlFor: "date-time-input" }, _.t("nylasEventTimeslot.dateTimeLabel")), g("div", { key: "25e8065e47d81b54f680edbdbd8aa7e2b744aa96", class: "date-time-input", part: "netimeslot__date-time-input" }, g("div", { key: "bef56e130618fb6142e0aa604310ee083e3661bc", class: "date-time-picker", part: "netimeslot__date-time-picker" }, g("nylas-date-component", { key: "5f603058e7e5a67970f74108d93340cc6ed150e6", minDate: x().tz(this.selectedTimezone).toISOString().split("T")[0], name: "date-time-input", defaultValue: this.selectedDate, id: "date-time-input", class: { error: this.hasDateTimeInputError }, required: !0, hasError: this.hasDateTimeInputError }), g("div", { key: "26ab20902a5d50be85b27c7634525f8e155bf4cc", class: "time-range", part: "netimeslot__time-range" }, g("nylas-time-window-picker", { id: "event-timeslot-start-time", hasError: this.timeRangeError, time: this.selectedStartTime, language: this.selectedLanguage, name: "event-timeslot-start-time", key: "event-timeslot-start-time", exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times" }), g("span", { key: "97433b9bef4f2d4f670f36fdb844518fcccd7dee" }, "–"), g("nylas-time-window-picker", { id: "event-timeslot-end-time", hasError: this.timeRangeError, time: this.selectedEndTime, language: this.selectedLanguage, name: "event-timeslot-end-time", key: "event-timeslot-end-time", minimumStartTime: this.selectedStartTime, exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times" })), (i == null ? void 0 : i.label) && g("select-dropdown", { searchPlaceholder: _.t("search"), name: "timezone", exportparts: "sd_dropdown: nap__timezone-container, sd_dropdown-button: nap__timezone-button, sd_dropdown-content: nap__timezone-dropdown-content", options: n, withChevron: !1, defaultSelectedOption: i }, g("span", { slot: "select-icon" }, g("globe-icon", { width: "20", height: "20" })))), !t && g("div", { class: "recurrence-options", part: "netimeslot__recurrence-options" }, e && (e == null ? void 0 : e.label) && g("div", { class: "recurrence-type", part: "netimeslot__recurrence-type" }, g("label", { htmlFor: "recurrence-type" }, _.t("nylasEventTimeslot.recurrenceLabel")), g("select-dropdown", { withSearch: !1, id: "recurrence-type", name: "recurrence-type", options: this.recurrenceOptions, defaultSelectedOption: e, exportparts: "sd_dropdown: netimeslot__dropdown, sd_dropdown-button: netimeslot__dropdown-button, sd_dropdown-content: netimeslot__dropdown-content" })), this.selectedRecurrenceType !== "custom" && this.selectedRecurrenceType !== "none" && g("div", { class: "recurrence-end", part: "netimeslot__recurrence-end" }, g("label", null, _.t("nylasEventTimeslot.endDate")), g("nylas-date-component", { name: "recurrence-end-date", minDate: l.toISOString().split("T")[0], defaultValue: this.repeatEndOn || s, id: "recurrence-end-date", required: !0 })), this.selectedRecurrenceType === "custom" && g("div", { class: "custom-recurrence-time-period", part: "netimeslot__custom-recurrence" }, g("label", { htmlFor: "" }, _.t("nylasEventTimeslot.customRecurrence.repeatEvery")), g("time-period-selector", { id: "custom-recurrence-time-period", exportparts: "tps__number-dropdown: netimeslot__number-dropdown, tps__number-dropdown-button: netimeslot__number-dropdown-button, tps__number-dropdown-content: netimeslot__number-dropdown-content, tps__period-dropdown: netimeslot__period-dropdown, tps__period-dropdown-button: netimeslot__period-dropdown-button, tps__period-dropdown-content: netimeslot__period-dropdown-content", timePeriods: [
9955
+ return g(vn, { key: "7f35ee4ea0533482d29132037a1b818e616966fa" }, g("div", { key: "7daa5bffa3cabde6ec1bbf60b706eca5346e13f1", class: "nylas-event-timeslot", part: "netimeslot" }, g("label", { key: "e9e43e718822ece476a9e16c8cede01ed7a2645b", htmlFor: "date-time-input" }, _.t("nylasEventTimeslot.dateTimeLabel")), g("div", { key: "27bf91d3f9d8d1bcad941aa7a38567b2763b4466", class: "date-time-input", part: "netimeslot__date-time-input" }, g("div", { key: "fe0781051d55ba93638d06f15457c0eeb850aad8", class: "date-time-picker", part: "netimeslot__date-time-picker" }, g("nylas-date-component", { key: "6cce6d526d7d8b2a0ab9161ee3d19f091878cefd", minDate: x().tz(this.selectedTimezone).toISOString().split("T")[0], name: "date-time-input", defaultValue: this.selectedDate, id: "date-time-input", class: { error: this.hasDateTimeInputError }, required: !0, hasError: this.hasDateTimeInputError, themeConfig: this.themeConfig }), g("div", { key: "636a7492ebf1fea422c27c2b7ba558afbb8e391b", class: "time-range", part: "netimeslot__time-range" }, g("nylas-time-window-picker", { id: "event-timeslot-start-time", hasError: this.timeRangeError, time: this.selectedStartTime, language: this.selectedLanguage, name: "event-timeslot-start-time", key: "event-timeslot-start-time", themeConfig: this.themeConfig, exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times" }), g("span", { key: "9322f419a06b69f8c0b3bed29ea2ba31595639a1" }, "–"), g("nylas-time-window-picker", { id: "event-timeslot-end-time", hasError: this.timeRangeError, time: this.selectedEndTime, language: this.selectedLanguage, name: "event-timeslot-end-time", key: "event-timeslot-end-time", minimumStartTime: this.selectedStartTime, themeConfig: this.themeConfig, exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times" })), (i == null ? void 0 : i.label) && g("select-dropdown", { searchPlaceholder: _.t("search"), name: "timezone", exportparts: "sd_dropdown: nap__timezone-container, sd_dropdown-button: nap__timezone-button, sd_dropdown-content: nap__timezone-dropdown-content", options: n, withChevron: !1, defaultSelectedOption: i, themeConfig: this.themeConfig }, g("span", { slot: "select-icon" }, g("globe-icon", { width: "20", height: "20" })))), !t && g("div", { class: "recurrence-options", part: "netimeslot__recurrence-options" }, e && (e == null ? void 0 : e.label) && g("div", { class: "recurrence-type", part: "netimeslot__recurrence-type" }, g("label", { htmlFor: "recurrence-type" }, _.t("nylasEventTimeslot.recurrenceLabel")), g("select-dropdown", { withSearch: !1, id: "recurrence-type", name: "recurrence-type", options: this.recurrenceOptions, themeConfig: this.themeConfig, defaultSelectedOption: e, exportparts: "sd_dropdown: netimeslot__dropdown, sd_dropdown-button: netimeslot__dropdown-button, sd_dropdown-content: netimeslot__dropdown-content" })), this.selectedRecurrenceType !== "custom" && this.selectedRecurrenceType !== "none" && g("div", { class: "recurrence-end", part: "netimeslot__recurrence-end" }, g("label", null, _.t("nylasEventTimeslot.endDate")), g("nylas-date-component", { name: "recurrence-end-date", minDate: l.toISOString().split("T")[0], defaultValue: this.repeatEndOn || s, id: "recurrence-end-date", required: !0, themeConfig: this.themeConfig })), this.selectedRecurrenceType === "custom" && g("div", { class: "custom-recurrence-time-period", part: "netimeslot__custom-recurrence" }, g("label", { htmlFor: "" }, _.t("nylasEventTimeslot.customRecurrence.repeatEvery")), g("time-period-selector", { id: "custom-recurrence-time-period", exportparts: "tps__number-dropdown: netimeslot__number-dropdown, tps__number-dropdown-button: netimeslot__number-dropdown-button, tps__number-dropdown-content: netimeslot__number-dropdown-content, tps__period-dropdown: netimeslot__period-dropdown, tps__period-dropdown-button: netimeslot__period-dropdown-button, tps__period-dropdown-content: netimeslot__period-dropdown-content", timePeriods: [
9917
9956
  { value: "day", label: _.t("timePeriod", { context: "day" }) },
9918
9957
  { value: "week", label: _.t("timePeriod", { context: "week" }) },
9919
9958
  { value: "month", label: _.t("timePeriod", { context: "month" }) },
9920
9959
  { value: "year", label: _.t("timePeriod", { context: "year" }) }
9921
- ], defaultSelectedNumber: this.repeatEveryInterval, defaultSelectedPeriod: this.repeatEveryFrequency })), g("div", { class: "repeat-on" }, this.selectedRecurrenceType === "custom" && this.repeatEveryFrequency === "week" && g("div", { class: "days" }, g("label", null, _.t("nylasEventTimeslot.customRecurrence.repeatOn")), g("div", { class: "buttons" }, [
9960
+ ], themeConfig: this.themeConfig, defaultSelectedNumber: this.repeatEveryInterval, defaultSelectedPeriod: this.repeatEveryFrequency })), g("div", { class: "repeat-on" }, this.selectedRecurrenceType === "custom" && this.repeatEveryFrequency === "week" && g("div", { class: "days" }, g("label", null, _.t("nylasEventTimeslot.customRecurrence.repeatOn")), g("div", { class: "buttons" }, [
9922
9961
  { label: "S", value: "SU", title: "Sunday" },
9923
9962
  { label: "M", value: "MO", title: "Monday" },
9924
9963
  { label: "T", value: "TU", title: "Tuesday" },
@@ -9928,7 +9967,7 @@ const Zf = {
9928
9967
  { label: "S", value: "SA", title: "Saturday" }
9929
9968
  ].map((d) => g("button", { class: { selected: this.repeatOnDays.includes(d.value) }, title: d.title, onClick: () => {
9930
9969
  this.repeatOnDays = this.repeatOnDays.includes(d.value) ? this.repeatOnDays.filter((c) => c !== d.value) : [...this.repeatOnDays, d.value], this.handleValueChanged();
9931
- } }, d.label)))), this.selectedRecurrenceType === "custom" && this.repeatEveryFrequency === "month" && g("div", { class: "month-recurrence" }, g("span", null), g("select-dropdown", { withSearch: !1, id: "month-recurrence-type", name: "month-recurrence-type", options: this.monthRecurrenceOptions, defaultSelectedOption: this.repeatMonthlySameDate ? this.monthRecurrenceOptions[0] : this.monthRecurrenceOptions[1], exportparts: "sd_dropdown: netimeslot__dropdown, sd_dropdown-button: netimeslot__dropdown-button, sd_dropdown-content: netimeslot__dropdown-content" })), g("div", { class: "custom-recurrence" }, this.selectedRecurrenceType === "custom" && g("div", { class: "custom-recurrence-ends" }, g("label", { htmlFor: "recurrence-type" }, _.t("nylasEventTimeslot.customRecurrence.ends")), g("select-dropdown", { withSearch: !1, id: "custom-recurrence-end-type", name: "custom-recurrence-end-type", options: r, defaultSelectedOption: r.find((d) => d.value === this.repeatEndType), exportparts: "sd_dropdown: netimeslot__dropdown, sd_dropdown-button: netimeslot__dropdown-button, sd_dropdown-content: netimeslot__dropdown-content" })), this.selectedRecurrenceType === "custom" && this.repeatEndType === "on" && g("div", null, g("nylas-date-component", { name: "custom-recurrence-end-date", minDate: l.toISOString().split("T")[0], defaultValue: this.repeatEndOn || s, id: "custom-recurrence-end-date", required: !0 })), this.selectedRecurrenceType === "custom" && this.repeatEndType === "after" && g("div", { class: "custom-recurrence-end-after" }, g("input-component", { name: "recurrence-end-after", id: "recurrence-end-after", type: "number", minValue: 1, defaultValue: a.toString(), exportparts: "ic_input: netimeslot__input-textfield" }), g("span", null, _.t("nylasEventTimeslot.customRecurrence.occurrences")))))))));
9970
+ } }, d.label)))), this.selectedRecurrenceType === "custom" && this.repeatEveryFrequency === "month" && g("div", { class: "month-recurrence" }, g("span", null), g("select-dropdown", { withSearch: !1, id: "month-recurrence-type", name: "month-recurrence-type", options: this.monthRecurrenceOptions, themeConfig: this.themeConfig, defaultSelectedOption: this.repeatMonthlySameDate ? this.monthRecurrenceOptions[0] : this.monthRecurrenceOptions[1], exportparts: "sd_dropdown: netimeslot__dropdown, sd_dropdown-button: netimeslot__dropdown-button, sd_dropdown-content: netimeslot__dropdown-content" })), g("div", { class: "custom-recurrence" }, this.selectedRecurrenceType === "custom" && g("div", { class: "custom-recurrence-ends" }, g("label", { htmlFor: "recurrence-type" }, _.t("nylasEventTimeslot.customRecurrence.ends")), g("select-dropdown", { withSearch: !1, id: "custom-recurrence-end-type", name: "custom-recurrence-end-type", options: r, themeConfig: this.themeConfig, defaultSelectedOption: r.find((d) => d.value === this.repeatEndType), exportparts: "sd_dropdown: netimeslot__dropdown, sd_dropdown-button: netimeslot__dropdown-button, sd_dropdown-content: netimeslot__dropdown-content" })), this.selectedRecurrenceType === "custom" && this.repeatEndType === "on" && g("div", null, g("nylas-date-component", { name: "custom-recurrence-end-date", minDate: l.toISOString().split("T")[0], defaultValue: this.repeatEndOn || s, id: "custom-recurrence-end-date", required: !0, themeConfig: this.themeConfig })), this.selectedRecurrenceType === "custom" && this.repeatEndType === "after" && g("div", { class: "custom-recurrence-end-after" }, g("input-component", { name: "recurrence-end-after", id: "recurrence-end-after", type: "number", minValue: 1, themeConfig: this.themeConfig, defaultValue: a.toString(), exportparts: "ic_input: netimeslot__input-textfield" }), g("span", null, _.t("nylasEventTimeslot.customRecurrence.occurrences")))))))));
9932
9971
  }
9933
9972
  static get formAssociated() {
9934
9973
  return !0;
@@ -9939,7 +9978,8 @@ const Zf = {
9939
9978
  static get watchers() {
9940
9979
  return {
9941
9980
  name: ["elementNameChangedHandler"],
9942
- selectedLanguage: ["selectedLanguageChangedHandler"]
9981
+ selectedLanguage: ["selectedLanguageChangedHandler"],
9982
+ themeConfig: ["themeConfigChangedHandler"]
9943
9983
  };
9944
9984
  }
9945
9985
  };
@@ -9948,7 +9988,8 @@ $f([
9948
9988
  name: "nylas-event-timeslot",
9949
9989
  stateToProps: /* @__PURE__ */ new Map([
9950
9990
  ["schedulerConfig.selectedLanguage", "selectedLanguage"],
9951
- ["schedulerConfig.currentUser", "currentUser"]
9991
+ ["schedulerConfig.currentUser", "currentUser"],
9992
+ ["schedulerConfig.themeConfig", "themeConfig"]
9952
9993
  ]),
9953
9994
  eventToProps: {
9954
9995
  valueChanged: async (t, e) => {