@nylas/react 1.2.0 → 1.3.0

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 (118) hide show
  1. package/dist/add-circle-icon.entry-0f0cd6d8.cjs +1 -0
  2. package/dist/add-circle-icon.entry-d2b7178c.js +15 -0
  3. package/dist/{archive-icon.entry-50c4b134.js → archive-icon.entry-602d3c58.js} +1 -1
  4. package/dist/{archive-icon.entry-718a1225.cjs → archive-icon.entry-ec25f93a.cjs} +1 -1
  5. package/dist/{arrow-icon.entry-ca9625d3.cjs → arrow-icon.entry-7bcb6442.cjs} +1 -1
  6. package/dist/{arrow-icon.entry-53337688.js → arrow-icon.entry-d4dd38b3.js} +1 -1
  7. package/dist/{bold-icon.entry-c6109b88.js → bold-icon.entry-5fc41386.js} +1 -1
  8. package/dist/{bold-icon.entry-36e679f1.cjs → bold-icon.entry-fc1d34a6.cjs} +1 -1
  9. package/dist/{button-component_2.entry-a1b8cd03.cjs → button-component_2.entry-d23be43d.cjs} +1 -1
  10. package/dist/{button-component_2.entry-0a06b0c4.js → button-component_2.entry-d62ae520.js} +1 -1
  11. package/dist/{calendar-agenda-fill-icon_54.entry-e4d8ab10.js → calendar-agenda-fill-icon_54.entry-1a42103a.js} +96 -98
  12. package/dist/{calendar-agenda-fill-icon_54.entry-5b185e75.cjs → calendar-agenda-fill-icon_54.entry-95ccb99e.cjs} +3 -3
  13. package/dist/{calendar-cancel-icon.entry-813a8330.js → calendar-cancel-icon.entry-1566c286.js} +1 -1
  14. package/dist/{calendar-cancel-icon.entry-22862d8c.cjs → calendar-cancel-icon.entry-bf9fc719.cjs} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-2ca25094.cjs → calendar-check-icon_2.entry-4c3e78a6.cjs} +1 -1
  16. package/dist/{calendar-check-icon_2.entry-79d381ce.js → calendar-check-icon_2.entry-82407a92.js} +1 -1
  17. package/dist/{calendar-icon.entry-78bb4f9b.cjs → calendar-icon.entry-359c064c.cjs} +1 -1
  18. package/dist/{calendar-icon.entry-d52951b0.js → calendar-icon.entry-c3c23413.js} +1 -1
  19. package/dist/{checkbox-component_2.entry-1219f0cf.js → checkbox-component_2.entry-97e97789.js} +1 -1
  20. package/dist/{checkbox-component_2.entry-a6114846.cjs → checkbox-component_2.entry-f974e789.cjs} +1 -1
  21. package/dist/{chevron-icon_3.entry-d8f195dc.cjs → chevron-icon_3.entry-2453084c.cjs} +1 -1
  22. package/dist/{chevron-icon_3.entry-82878ccf.js → chevron-icon_3.entry-a6189c37.js} +1 -1
  23. package/dist/{clock-icon_4.entry-e081ccca.cjs → clock-icon_4.entry-5162dfec.cjs} +1 -1
  24. package/dist/{clock-icon_4.entry-9ab4bc41.js → clock-icon_4.entry-ad679142.js} +1 -1
  25. package/dist/close-icon.entry-2c6cdf35.js +15 -0
  26. package/dist/close-icon.entry-38dc2638.cjs +1 -0
  27. package/dist/{copy-icon.entry-9d6e0f48.js → copy-icon.entry-6630ce5a.js} +1 -1
  28. package/dist/{copy-icon.entry-9c6f38c2.cjs → copy-icon.entry-79df1d0e.cjs} +1 -1
  29. package/dist/{delete-icon.entry-fd8dc119.js → delete-icon.entry-716f906c.js} +1 -1
  30. package/dist/{delete-icon.entry-6ec9c80d.cjs → delete-icon.entry-f9a265b6.cjs} +1 -1
  31. package/dist/{document-refresh-icon.entry-bea78baf.cjs → document-refresh-icon.entry-bb91822a.cjs} +1 -1
  32. package/dist/{document-refresh-icon.entry-2b531e97.js → document-refresh-icon.entry-fa775295.js} +1 -1
  33. package/dist/{feedbackSync-b56b29ed-a7e9f258.js → feedbackSync-adc893c2-5965d5ba.js} +1 -1
  34. package/dist/{feedbackSync-b56b29ed-cdcec5be.cjs → feedbackSync-adc893c2-70d06afc.cjs} +1 -1
  35. package/dist/{folder-icon.entry-485465be.cjs → folder-icon.entry-82a02de7.cjs} +1 -1
  36. package/dist/{folder-icon.entry-6a43630e.js → folder-icon.entry-9cf7590f.js} +1 -1
  37. package/dist/{forward-icon.entry-a1af9122.cjs → forward-icon.entry-034ec3be.cjs} +1 -1
  38. package/dist/{forward-icon.entry-514ea4a8.js → forward-icon.entry-ebd5e108.js} +1 -1
  39. package/dist/{globe-icon.entry-adcff451.js → globe-icon.entry-48837e22.js} +1 -1
  40. package/dist/{globe-icon.entry-970082a4.cjs → globe-icon.entry-b67c68d5.cjs} +1 -1
  41. package/dist/{google-logo-icon_4.entry-2b68fe81.js → google-logo-icon_4.entry-819d7d0d.js} +142 -128
  42. package/dist/{google-logo-icon_4.entry-21cb4b95.cjs → google-logo-icon_4.entry-b637470a.cjs} +1 -1
  43. package/dist/{inbox-icon.entry-94507d27.cjs → inbox-icon.entry-7f91d971.cjs} +1 -1
  44. package/dist/{inbox-icon.entry-d3e42f82.js → inbox-icon.entry-c611c154.js} +1 -1
  45. package/dist/{index-9dc1bd32.js → index-72501df0.js} +2623 -2554
  46. package/dist/{index-bec58f1d.cjs → index-92ba1b80.cjs} +28 -28
  47. package/dist/{index.es-c7ca1bad-5652d50c.cjs → index.es-28b1b2ec-595c0513.cjs} +1 -1
  48. package/dist/{index.es-c7ca1bad-38475209.js → index.es-28b1b2ec-5a87db22.js} +1 -1
  49. package/dist/{info-icon_2.entry-3b5a2c7f.js → info-icon_2.entry-4ad69286.js} +1 -1
  50. package/dist/{info-icon_2.entry-e23f3ffd.cjs → info-icon_2.entry-4c70ab61.cjs} +1 -1
  51. package/dist/{input-color-picker.entry-b4ea90c5.cjs → input-color-picker.entry-46bf04e1.cjs} +1 -1
  52. package/dist/{input-color-picker.entry-9bc48bd3.js → input-color-picker.entry-4e5760ce.js} +1 -1
  53. package/dist/{input-component.entry-e567ec08.cjs → input-component.entry-1019ce99.cjs} +1 -1
  54. package/dist/{input-component.entry-ebae3a8a.js → input-component.entry-dca1013f.js} +1 -1
  55. package/dist/{input-dropdown.entry-597cd5a8.cjs → input-dropdown.entry-e535fb5e.cjs} +1 -1
  56. package/dist/{input-dropdown.entry-1f704009.js → input-dropdown.entry-f14c59e7.js} +1 -1
  57. package/dist/{italic-icon.entry-08593dd0.js → italic-icon.entry-2ab53839.js} +1 -1
  58. package/dist/{italic-icon.entry-8f614353.cjs → italic-icon.entry-726cc194.cjs} +1 -1
  59. package/dist/{multi-select-dropdown.entry-eb978e22.cjs → multi-select-dropdown.entry-6820d249.cjs} +1 -1
  60. package/dist/{multi-select-dropdown.entry-5f1c73f3.js → multi-select-dropdown.entry-a097d3cb.js} +1 -1
  61. package/dist/{nylas-booked-event-card_12.entry-73785c5c.cjs → nylas-booked-event-card_12.entry-c684905b.cjs} +1 -1
  62. package/dist/{nylas-booked-event-card_12.entry-c4043d8f.js → nylas-booked-event-card_12.entry-ccd85ff4.js} +49 -49
  63. package/dist/{nylas-form-card.entry-1540207c.cjs → nylas-form-card.entry-8eb47f3d.cjs} +1 -1
  64. package/dist/{nylas-form-card.entry-80688e35.js → nylas-form-card.entry-afdfee47.js} +2 -2
  65. package/dist/{nylas-if-state.entry-037d0454.js → nylas-if-state.entry-7caad39f.js} +2 -2
  66. package/dist/{nylas-if-state.entry-e5155b5b.cjs → nylas-if-state.entry-be7978de.cjs} +1 -1
  67. package/dist/{nylas-login.entry-b3d73ab9.cjs → nylas-login.entry-bce4f689.cjs} +1 -1
  68. package/dist/{nylas-login.entry-d157a6ed.js → nylas-login.entry-dcf85f93.js} +2 -2
  69. package/dist/{nylas-provider.entry-cf4b8b57.js → nylas-provider.entry-97882e4b.js} +4 -4
  70. package/dist/{nylas-provider.entry-884ba204.cjs → nylas-provider.entry-f02017da.cjs} +1 -1
  71. package/dist/{nylas-scheduler-editor.entry-6f76d0d5.cjs → nylas-scheduler-editor.entry-cc6f4060.cjs} +2 -2
  72. package/dist/{nylas-scheduler-editor.entry-e731ca4a.js → nylas-scheduler-editor.entry-dcfdd6bf.js} +3 -3
  73. package/dist/{nylas-scheduling.entry-86b18d85.js → nylas-scheduling.entry-2b842e93.js} +41 -40
  74. package/dist/nylas-scheduling.entry-e0e9c8e8.cjs +1 -0
  75. package/dist/{nylas-time-window-picker.entry-393e855b.js → nylas-time-window-picker.entry-96f5fe9a.js} +1 -1
  76. package/dist/{nylas-time-window-picker.entry-f9687046.cjs → nylas-time-window-picker.entry-a8780f2e.cjs} +1 -1
  77. package/dist/{person-icon.entry-1b5dcd2e.cjs → person-icon.entry-2f8e00fd.cjs} +1 -1
  78. package/dist/{person-icon.entry-b5ccb1f4.js → person-icon.entry-3ec67feb.js} +1 -1
  79. package/dist/{play-icon.entry-3f2e7e31.cjs → play-icon.entry-1abf79e9.cjs} +1 -1
  80. package/dist/{play-icon.entry-5e51d961.js → play-icon.entry-a840bdca.js} +1 -1
  81. package/dist/react.cjs +1 -1
  82. package/dist/react.js +1 -1
  83. package/dist/{refresh-icon.entry-9beaa8e1.js → refresh-icon.entry-11fcb673.js} +1 -1
  84. package/dist/{refresh-icon.entry-3d241ffd.cjs → refresh-icon.entry-af7f54b4.cjs} +1 -1
  85. package/dist/{register-component-3444af44-94783766.js → register-component-75f530bc-0e4e3d7a.js} +1 -1
  86. package/dist/{register-component-3444af44-890ac950.cjs → register-component-75f530bc-61b6f2dd.cjs} +1 -1
  87. package/dist/{reply-all-icon.entry-6b55d3b3.js → reply-all-icon.entry-5c8b3356.js} +1 -1
  88. package/dist/{reply-all-icon.entry-a0fcbf30.cjs → reply-all-icon.entry-cc2ad940.cjs} +1 -1
  89. package/dist/{reply-icon.entry-c7d0d967.cjs → reply-icon.entry-840acade.cjs} +1 -1
  90. package/dist/{reply-icon.entry-c709b46f.js → reply-icon.entry-d048736f.js} +1 -1
  91. package/dist/{scheduler-config-store-ed4a8dfd-ba68cc09.cjs → scheduler-config-store-ed4a8dfd-161a3efd.cjs} +1 -1
  92. package/dist/{scheduler-config-store-ed4a8dfd-13c1c187.js → scheduler-config-store-ed4a8dfd-f74e58ae.js} +1 -1
  93. package/dist/{scheduler-store-ecd15be2-d2ef4ac2.js → scheduler-store-d84b82a0-11faba86.js} +2 -2
  94. package/dist/{scheduler-store-ecd15be2-8f7d171f.cjs → scheduler-store-d84b82a0-7a7fe186.cjs} +1 -1
  95. package/dist/{sent-icon.entry-9083bca9.cjs → sent-icon.entry-987760ce.cjs} +1 -1
  96. package/dist/{sent-icon.entry-b65083f4.js → sent-icon.entry-fd3b9ad9.js} +1 -1
  97. package/dist/{spam-icon.entry-e6c1a82a.cjs → spam-icon.entry-3ce4f9fc.cjs} +1 -1
  98. package/dist/{spam-icon.entry-120eca46.js → spam-icon.entry-4665415c.js} +1 -1
  99. package/dist/{star-icon.entry-e3563c0b.js → star-icon.entry-0f446ac7.js} +1 -1
  100. package/dist/{star-icon.entry-efbc2679.cjs → star-icon.entry-a3ba4703.cjs} +1 -1
  101. package/dist/{stop-icon.entry-ab5cf663.js → stop-icon.entry-72c964b2.js} +1 -1
  102. package/dist/{stop-icon.entry-8d07d719.cjs → stop-icon.entry-9c13e00a.cjs} +1 -1
  103. package/dist/{textarea-component.entry-a0ef9f03.js → textarea-component.entry-d414e219.js} +1 -1
  104. package/dist/{textarea-component.entry-93be4a65.cjs → textarea-component.entry-ff04b5fa.cjs} +1 -1
  105. package/dist/{time-period-selector.entry-16f96af9.cjs → time-period-selector.entry-2ce3347a.cjs} +1 -1
  106. package/dist/{time-period-selector.entry-2a86f48f.js → time-period-selector.entry-53edc0ba.js} +1 -1
  107. package/dist/{translate-icon.entry-d632b37b.js → translate-icon.entry-84a78b9a.js} +1 -1
  108. package/dist/{translate-icon.entry-868948d3.cjs → translate-icon.entry-9bab13ad.cjs} +1 -1
  109. package/dist/{trash-fill-icon.entry-eeab235e.js → trash-fill-icon.entry-2881a44c.js} +1 -1
  110. package/dist/{trash-fill-icon.entry-88dfffbc.cjs → trash-fill-icon.entry-84f52290.cjs} +1 -1
  111. package/dist/{underline-icon.entry-65e42dcf.js → underline-icon.entry-23eca319.js} +1 -1
  112. package/dist/{underline-icon.entry-35430c19.cjs → underline-icon.entry-5a8410ef.cjs} +1 -1
  113. package/dist/{warning-icon.entry-e7714a43.cjs → warning-icon.entry-1966042d.cjs} +1 -1
  114. package/dist/{warning-icon.entry-bab6d190.js → warning-icon.entry-abf9e5dc.js} +1 -1
  115. package/package.json +3 -3
  116. package/dist/add-circle-icon_2.entry-52cc3933.cjs +0 -1
  117. package/dist/add-circle-icon_2.entry-5ea903bf.js +0 -25
  118. package/dist/nylas-scheduling.entry-c8ee9a2a.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { r as b, h as s, c as x, d, D as ua, H as E, g as O, E as ue, G as se, I as it, J as st, t as Oe, K as Qn, L as ya, i as ye, M as be, O as ba } from "./index-9dc1bd32.js";
2
- import { R as S } from "./register-component-3444af44-94783766.js";
1
+ import { r as b, h as s, c as x, d, D as ua, H as E, g as O, E as ue, G as se, I as it, J as st, t as Oe, K as Qn, L as ya, i as ye, M as be, O as ba } from "./index-72501df0.js";
2
+ import { R as S } from "./register-component-75f530bc-0e4e3d7a.js";
3
3
  import { D as vt, T as ot, F as rt, c as ga, P as on, C as va, E as lt, R as dt, d as _a, e as Ca } from "./constants-35df11e7-b37e3406.js";
4
4
  import "react";
5
5
  import "react-dom";
@@ -39,7 +39,7 @@ const Ia = ".sc-calendar-patterns-icon-h{display:flex}", $a = Ia, Pa = class {
39
39
  }
40
40
  };
41
41
  Pa.style = $a;
42
- const Na = ".sc-checkmark-icon-h{display:flex}", Fa = Na, Ra = class {
42
+ const Fa = ".sc-checkmark-icon-h{display:flex}", Na = Fa, Ra = class {
43
43
  constructor(e) {
44
44
  b(this, e), this.width = "18", this.height = "14";
45
45
  }
@@ -47,7 +47,7 @@ const Na = ".sc-checkmark-icon-h{display:flex}", Fa = Na, Ra = class {
47
47
  return s("svg", { key: "49ad9466fa210919af89c80d546cf2a846b84d49", width: this.width, height: this.height, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "08d62d352782e9847494ebc8daad7e1300ebaad9", d: "M1.53033 7.46967C1.23744 7.17678 0.762563 7.17678 0.46967 7.46967C0.176777 7.76256 0.176777 8.23744 0.46967 8.53033L4.96967 13.0303C5.26256 13.3232 5.73744 13.3232 6.03033 13.0303L17.0303 2.03033C17.3232 1.73744 17.3232 1.26256 17.0303 0.96967C16.7374 0.676777 16.2626 0.676777 15.9697 0.96967L5.5 11.4393L1.53033 7.46967Z", fill: "#293056" }));
48
48
  }
49
49
  };
50
- Ra.style = Fa;
50
+ Ra.style = Na;
51
51
  const La = ".sc-dragable-icon-h{display:flex}", Aa = La, Ma = class {
52
52
  constructor(e) {
53
53
  b(this, e), this.width = "20", this.height = "20";
@@ -997,12 +997,12 @@ function Pi(e, n) {
997
997
  }
998
998
  return t;
999
999
  }
1000
- var Ni = "1.15.2";
1000
+ var Fi = "1.15.2";
1001
1001
  function ee(e) {
1002
1002
  if (typeof window < "u" && window.navigator)
1003
1003
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
1004
1004
  }
1005
- var te = ee(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ze = ee(/Edge/i), pt = ee(/firefox/i), Fe = ee(/safari/i) && !ee(/chrome/i) && !ee(/android/i), Ot = ee(/iP(ad|od|hone)/i), St = ee(/chrome/i) && ee(/android/i), Dt = {
1005
+ var te = ee(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ze = ee(/Edge/i), pt = ee(/firefox/i), Ne = ee(/safari/i) && !ee(/chrome/i) && !ee(/android/i), Ot = ee(/iP(ad|od|hone)/i), St = ee(/chrome/i) && ee(/android/i), Dt = {
1006
1006
  capture: !1,
1007
1007
  passive: !1
1008
1008
  };
@@ -1028,7 +1028,7 @@ function Qe(e, n) {
1028
1028
  return !1;
1029
1029
  }
1030
1030
  }
1031
- function Fi(e) {
1031
+ function Ni(e) {
1032
1032
  return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
1033
1033
  }
1034
1034
  function G(e, n, t, a) {
@@ -1039,7 +1039,7 @@ function G(e, n, t, a) {
1039
1039
  return e;
1040
1040
  if (e === t)
1041
1041
  break;
1042
- } while (e = Fi(e));
1042
+ } while (e = Ni(e));
1043
1043
  }
1044
1044
  return null;
1045
1045
  }
@@ -1087,7 +1087,7 @@ function X() {
1087
1087
  var e = document.scrollingElement;
1088
1088
  return e || document.documentElement;
1089
1089
  }
1090
- function N(e, n, t, a, o) {
1090
+ function F(e, n, t, a, o) {
1091
1091
  if (!(!e.getBoundingClientRect && e !== window)) {
1092
1092
  var i, r, l, c, p, m, f;
1093
1093
  if (e !== window && e.parentNode && e !== X() ? (i = e.getBoundingClientRect(), r = i.top, l = i.left, c = i.bottom, p = i.right, m = i.height, f = i.width) : (r = 0, l = 0, c = window.innerHeight, p = window.innerWidth, m = window.innerHeight, f = window.innerWidth), (n || t) && e !== window && (o = o || e.parentNode, !te))
@@ -1113,8 +1113,8 @@ function N(e, n, t, a, o) {
1113
1113
  }
1114
1114
  }
1115
1115
  function mt(e, n, t) {
1116
- for (var a = le(e, !0), o = N(e)[n]; a; ) {
1117
- var i = N(a)[t], r = void 0;
1116
+ for (var a = le(e, !0), o = F(e)[n]; a; ) {
1117
+ var i = F(a)[t], r = void 0;
1118
1118
  if (t === "top" || t === "left" ? r = o >= i : r = o <= i, !r)
1119
1119
  return a;
1120
1120
  if (a === X())
@@ -1218,7 +1218,7 @@ function Pt(e, n, t) {
1218
1218
  return Array.from(e.children).forEach(function(o) {
1219
1219
  var i, r, l, c;
1220
1220
  if (!(!G(o, n.draggable, e, !1) || o.animated || o === t)) {
1221
- var p = N(o);
1221
+ var p = F(o);
1222
1222
  a.left = Math.min((i = a.left) !== null && i !== void 0 ? i : 1 / 0, p.left), a.top = Math.min((r = a.top) !== null && r !== void 0 ? r : 1 / 0, p.top), a.right = Math.max((l = a.right) !== null && l !== void 0 ? l : -1 / 0, p.right), a.bottom = Math.max((c = a.bottom) !== null && c !== void 0 ? c : -1 / 0, p.bottom);
1223
1223
  }
1224
1224
  }), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
@@ -1234,7 +1234,7 @@ function Mi() {
1234
1234
  if (!(v(o, "display") === "none" || o === _.ghost)) {
1235
1235
  e.push({
1236
1236
  target: o,
1237
- rect: N(o)
1237
+ rect: F(o)
1238
1238
  });
1239
1239
  var i = K({}, e[e.length - 1].rect);
1240
1240
  if (o.thisAnimationDuration) {
@@ -1262,7 +1262,7 @@ function Mi() {
1262
1262
  }
1263
1263
  var i = !1, r = 0;
1264
1264
  e.forEach(function(l) {
1265
- var c = 0, p = l.target, m = p.fromRect, f = N(p), u = p.prevFromRect, g = p.prevToRect, y = l.rect, w = ke(p, !0);
1265
+ var c = 0, p = l.target, m = p.fromRect, f = F(p), u = p.prevFromRect, g = p.prevToRect, y = l.rect, w = ke(p, !0);
1266
1266
  w && (f.top -= w.f, f.left -= w.e), p.toRect = f, p.thisAnimationDuration && mn(u, f) && !mn(m, f) && // Make sure animatingRect is on line between toRect & fromRect
1267
1267
  (y.top - f.top) / (y.left - f.left) === (m.top - f.top) / (m.left - f.left) && (c = ji(y, u, g, o.options)), mn(f, m) || (p.prevFromRect = m, p.prevToRect = f, c || (c = o.options.animation), o.animate(p, y, f, c)), c && (i = !0, r = Math.max(r, c), clearTimeout(p.animationResetTimer), p.animationResetTimer = setTimeout(function() {
1268
1268
  p.animationTime = 0, p.prevFromRect = null, p.fromRect = null, p.prevToRect = null, p.thisAnimationDuration = null;
@@ -1343,7 +1343,7 @@ var ge = [], hn = {
1343
1343
  function Ui(e) {
1344
1344
  var n = e.sortable, t = e.rootEl, a = e.name, o = e.targetEl, i = e.cloneEl, r = e.toEl, l = e.fromEl, c = e.oldIndex, p = e.newIndex, m = e.oldDraggableIndex, f = e.newDraggableIndex, u = e.originalEvent, g = e.putSortable, y = e.extraEventProperties;
1345
1345
  if (n = n || t && t[Z], !!n) {
1346
- var w, $ = n.options, F = "on" + a.charAt(0).toUpperCase() + a.substr(1);
1346
+ var w, $ = n.options, N = "on" + a.charAt(0).toUpperCase() + a.substr(1);
1347
1347
  window.CustomEvent && !te && !ze ? w = new CustomEvent(a, {
1348
1348
  bubbles: !0,
1349
1349
  cancelable: !0
@@ -1351,7 +1351,7 @@ function Ui(e) {
1351
1351
  var R = K(K({}, y), je.getEventProperties(a, n));
1352
1352
  for (var V in R)
1353
1353
  w[V] = R[V];
1354
- t && t.dispatchEvent(w), $[F] && $[F].call(n, w);
1354
+ t && t.dispatchEvent(w), $[N] && $[N].call(n, w);
1355
1355
  }
1356
1356
  }
1357
1357
  var Wi = ["evt"], z = function(n, t) {
@@ -1402,15 +1402,15 @@ function M(e) {
1402
1402
  newDraggableIndex: oe
1403
1403
  }, e));
1404
1404
  }
1405
- var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [], fe, J, un, yn, ut, yt, $e, ve, Ae, Me = !1, Be = !1, Ye, A, bn = [], Gn = !1, tn = [], sn = typeof document < "u", Ze = Ot, bt = ze || te ? "cssFloat" : "float", Bi = sn && !St && !Ot && "draggable" in document.createElement("div"), Nt = function() {
1405
+ var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [], fe, J, un, yn, ut, yt, $e, ve, Ae, Me = !1, Be = !1, Ye, A, bn = [], Gn = !1, tn = [], sn = typeof document < "u", Ze = Ot, bt = ze || te ? "cssFloat" : "float", Bi = sn && !St && !Ot && "draggable" in document.createElement("div"), Ft = function() {
1406
1406
  if (sn) {
1407
1407
  if (te)
1408
1408
  return !1;
1409
1409
  var e = document.createElement("x");
1410
1410
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
1411
1411
  }
1412
- }(), Ft = function(n, t) {
1413
- var a = v(n), o = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), i = Ee(n, 0, t), r = Ee(n, 1, t), l = i && v(i), c = r && v(r), p = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + N(i).width, m = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + N(r).width;
1412
+ }(), Nt = function(n, t) {
1413
+ var a = v(n), o = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), i = Ee(n, 0, t), r = Ee(n, 1, t), l = i && v(i), c = r && v(r), p = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + F(i).width, m = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + F(r).width;
1414
1414
  if (a.display === "flex")
1415
1415
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1416
1416
  if (a.display === "grid")
@@ -1428,7 +1428,7 @@ var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [],
1428
1428
  return nn.some(function(o) {
1429
1429
  var i = o[Z].options.emptyInsertThreshold;
1430
1430
  if (!(!i || et(o))) {
1431
- var r = N(o), l = n >= r.left - i && n <= r.right + i, c = t >= r.top - i && t <= r.bottom + i;
1431
+ var r = F(o), l = n >= r.left - i && n <= r.right + i, c = t >= r.top - i && t <= r.bottom + i;
1432
1432
  if (l && c)
1433
1433
  return a = o;
1434
1434
  }
@@ -1454,9 +1454,9 @@ var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [],
1454
1454
  name: o
1455
1455
  }), a.name = o.name, a.checkPull = t(o.pull, !0), a.checkPut = t(o.put), a.revertClone = o.revertClone, n.group = a;
1456
1456
  }, Lt = function() {
1457
- !Nt && C && v(C, "display", "none");
1457
+ !Ft && C && v(C, "display", "none");
1458
1458
  }, At = function() {
1459
- !Nt && C && v(C, "display", "");
1459
+ !Ft && C && v(C, "display", "");
1460
1460
  };
1461
1461
  sn && !St && document.addEventListener("click", function(e) {
1462
1462
  if (en)
@@ -1495,7 +1495,7 @@ function _(e, n) {
1495
1495
  // will be set to same as swapThreshold if default
1496
1496
  removeCloneOnHide: !0,
1497
1497
  direction: function() {
1498
- return Ft(e, this.options);
1498
+ return Nt(e, this.options);
1499
1499
  },
1500
1500
  ghostClass: "sortable-ghost",
1501
1501
  chosenClass: "sortable-chosen",
@@ -1522,7 +1522,7 @@ function _(e, n) {
1522
1522
  x: 0,
1523
1523
  y: 0
1524
1524
  },
1525
- supportPointer: _.supportPointer !== !1 && "PointerEvent" in window && !Fe,
1525
+ supportPointer: _.supportPointer !== !1 && "PointerEvent" in window && !Ne,
1526
1526
  emptyInsertThreshold: 5
1527
1527
  };
1528
1528
  je.initializePlugins(this, e, t);
@@ -1545,7 +1545,7 @@ _.prototype = /** @lends Sortable.prototype */
1545
1545
  _onTapStart: function(n) {
1546
1546
  if (n.cancelable) {
1547
1547
  var t = this, a = this.el, o = this.options, i = o.preventOnFilter, r = n.type, l = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, c = (l || n).target, p = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || c, m = o.filter;
1548
- if (ns(a), !h && !(/mousedown|pointerdown/.test(r) && n.button !== 0 || o.disabled) && !p.isContentEditable && !(!this.nativeDraggable && Fe && c && c.tagName.toUpperCase() === "SELECT") && (c = G(c, o.draggable, a, !1), !(c && c.animated) && Ge !== c)) {
1548
+ if (ns(a), !h && !(/mousedown|pointerdown/.test(r) && n.button !== 0 || o.disabled) && !p.isContentEditable && !(!this.nativeDraggable && Ne && c && c.tagName.toUpperCase() === "SELECT") && (c = G(c, o.draggable, a, !1), !(c && c.animated) && Ge !== c)) {
1549
1549
  if (we = q(c), Le = q(c, o.draggable), typeof m == "function") {
1550
1550
  if (m.call(this, n, c, this)) {
1551
1551
  M({
@@ -1583,7 +1583,7 @@ _.prototype = /** @lends Sortable.prototype */
1583
1583
  _prepareDragStart: function(n, t, a) {
1584
1584
  var o = this, i = o.el, r = o.options, l = i.ownerDocument, c;
1585
1585
  if (a && !h && a.parentNode === i) {
1586
- var p = N(a);
1586
+ var p = F(a);
1587
1587
  if (H = i, h = a, I = h.parentNode, he = h.nextSibling, Ge = a, We = r.group, _.dragged = h, fe = {
1588
1588
  target: h,
1589
1589
  clientX: (t || n).clientX,
@@ -1695,7 +1695,7 @@ _.prototype = /** @lends Sortable.prototype */
1695
1695
  },
1696
1696
  _appendGhost: function() {
1697
1697
  if (!C) {
1698
- var n = this.options.fallbackOnBody ? document.body : H, t = N(h, !0, Ze, !0, n), a = this.options;
1698
+ var n = this.options.fallbackOnBody ? document.body : H, t = F(h, !0, Ze, !0, n), a = this.options;
1699
1699
  if (Ze) {
1700
1700
  for (A = n; v(A, "position") === "static" && v(A, "transform") === "none" && A !== document; )
1701
1701
  A = A.parentNode;
@@ -1717,7 +1717,7 @@ _.prototype = /** @lends Sortable.prototype */
1717
1717
  sortable: a,
1718
1718
  name: "clone"
1719
1719
  }));
1720
- }), !t && W(h, i.dragClass, !0), t ? (en = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (k(document, "mouseup", a._onDrop), k(document, "touchend", a._onDrop), k(document, "touchcancel", a._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(a, o, h)), D(document, "drop", a), v(h, "transform", "translateZ(0)")), Ce = !0, a._dragStartId = Xe(a._dragStarted.bind(a, t, n)), D(document, "selectstart", a), $e = !0, Fe && v(document.body, "user-select", "none");
1720
+ }), !t && W(h, i.dragClass, !0), t ? (en = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (k(document, "mouseup", a._onDrop), k(document, "touchend", a._onDrop), k(document, "touchcancel", a._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(a, o, h)), D(document, "drop", a), v(h, "transform", "translateZ(0)")), Ce = !0, a._dragStartId = Xe(a._dragStarted.bind(a, t, n)), D(document, "selectstart", a), $e = !0, Ne && v(document.body, "user-select", "none");
1721
1721
  },
1722
1722
  // Returns true - if no further action is needed (either inserted or another condition)
1723
1723
  _onDragOver: function(n) {
@@ -1737,12 +1737,12 @@ _.prototype = /** @lends Sortable.prototype */
1737
1737
  target: a,
1738
1738
  completed: R,
1739
1739
  onMove: function(at, ha) {
1740
- return qe(H, t, h, o, at, N(at), n, ha);
1740
+ return qe(H, t, h, o, at, F(at), n, ha);
1741
1741
  },
1742
1742
  changed: V
1743
1743
  }, ma));
1744
1744
  }
1745
- function F() {
1745
+ function N() {
1746
1746
  $("dragOverAnimationCapture"), y.captureAnimationState(), y !== u && u.captureAnimationState();
1747
1747
  }
1748
1748
  function R(Ie) {
@@ -1767,24 +1767,24 @@ _.prototype = /** @lends Sortable.prototype */
1767
1767
  if (h.contains(n.target) || a.animated && a.animatingX && a.animatingY || y._ignoreWhileAnimating === a)
1768
1768
  return R(!1);
1769
1769
  if (en = !1, p && !l.disabled && (m ? f || (r = I !== H) : L === this || (this.lastPutMode = We.checkPull(this, p, h, n)) && c.checkPut(this, p, h, n))) {
1770
- if (g = this._getDirection(n, a) === "vertical", o = N(h), $("dragOverValid"), _.eventCanceled)
1770
+ if (g = this._getDirection(n, a) === "vertical", o = F(h), $("dragOverValid"), _.eventCanceled)
1771
1771
  return w;
1772
1772
  if (r)
1773
- return I = H, F(), this._hideClone(), $("revert"), _.eventCanceled || (he ? H.insertBefore(h, he) : H.appendChild(h)), R(!0);
1773
+ return I = H, N(), this._hideClone(), $("revert"), _.eventCanceled || (he ? H.insertBefore(h, he) : H.appendChild(h)), R(!0);
1774
1774
  var j = et(t, l.draggable);
1775
1775
  if (!j || Xi(n, g, this) && !j.animated) {
1776
1776
  if (j === h)
1777
1777
  return R(!1);
1778
- if (j && t === n.target && (a = j), a && (i = N(a)), qe(H, t, h, o, a, i, n, !!a) !== !1)
1779
- return F(), j && j.nextSibling ? t.insertBefore(h, j.nextSibling) : t.appendChild(h), I = t, V(), R(!0);
1778
+ if (j && t === n.target && (a = j), a && (i = F(a)), qe(H, t, h, o, a, i, n, !!a) !== !1)
1779
+ return N(), j && j.nextSibling ? t.insertBefore(h, j.nextSibling) : t.appendChild(h), I = t, V(), R(!0);
1780
1780
  } else if (j && Yi(n, g, this)) {
1781
1781
  var de = Ee(t, 0, l, !0);
1782
1782
  if (de === h)
1783
1783
  return R(!1);
1784
- if (a = de, i = N(a), qe(H, t, h, o, a, i, n, !1) !== !1)
1785
- return F(), t.insertBefore(h, de), I = t, V(), R(!0);
1784
+ if (a = de, i = F(a), qe(H, t, h, o, a, i, n, !1) !== !1)
1785
+ return N(), t.insertBefore(h, de), I = t, V(), R(!0);
1786
1786
  } else if (a.parentNode === t) {
1787
- i = N(a);
1787
+ i = F(a);
1788
1788
  var Y = 0, ce, Se = h.parentNode !== t, U = !Zi(h.animated && h.toRect || o, a.animated && a.toRect || i, g), De = g ? "top" : "left", ae = mt(a, "top", "top") || mt(h, "top", "top"), He = ae ? ae.scrollTop : void 0;
1789
1789
  ve !== a && (ce = i[De], Me = !1, Be = !U && l.invertSwap || Se), Y = Ki(n, a, i, g, U ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Be, ve === a);
1790
1790
  var Q;
@@ -1801,7 +1801,7 @@ _.prototype = /** @lends Sortable.prototype */
1801
1801
  ie = Y === 1;
1802
1802
  var Ue = qe(H, t, h, o, a, i, n, ie);
1803
1803
  if (Ue !== !1)
1804
- return (Ue === 1 || Ue === -1) && (ie = Ue === 1), Gn = !0, setTimeout(Gi, 30), F(), ie && !Te ? t.appendChild(h) : a.parentNode.insertBefore(h, ie ? Te : a), ae && It(ae, 0, He - ae.scrollTop), I = h.parentNode, ce !== void 0 && !Be && (Ye = Math.abs(ce - N(a)[De])), V(), R(!0);
1804
+ return (Ue === 1 || Ue === -1) && (ie = Ue === 1), Gn = !0, setTimeout(Gi, 30), N(), ie && !Te ? t.appendChild(h) : a.parentNode.insertBefore(h, ie ? Te : a), ae && It(ae, 0, He - ae.scrollTop), I = h.parentNode, ce !== void 0 && !Be && (Ye = Math.abs(ce - F(a)[De])), V(), R(!0);
1805
1805
  }
1806
1806
  if (t.contains(h))
1807
1807
  return R(!1);
@@ -1824,7 +1824,7 @@ _.prototype = /** @lends Sortable.prototype */
1824
1824
  this._nulling();
1825
1825
  return;
1826
1826
  }
1827
- Ce = !1, Be = !1, Me = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yn(this.cloneId), Yn(this._dragStartId), this.nativeDraggable && (k(document, "drop", this), k(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Fe && v(document.body, "user-select", ""), v(h, "transform", ""), n && ($e && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), C && C.parentNode && C.parentNode.removeChild(C), (H === I || L && L.lastPutMode !== "clone") && T && T.parentNode && T.parentNode.removeChild(T), h && (this.nativeDraggable && k(h, "dragend", this), gn(h), h.style["will-change"] = "", $e && !Ce && W(h, L ? L.options.ghostClass : this.options.ghostClass, !1), W(h, this.options.chosenClass, !1), M({
1827
+ Ce = !1, Be = !1, Me = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yn(this.cloneId), Yn(this._dragStartId), this.nativeDraggable && (k(document, "drop", this), k(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ne && v(document.body, "user-select", ""), v(h, "transform", ""), n && ($e && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), C && C.parentNode && C.parentNode.removeChild(C), (H === I || L && L.lastPutMode !== "clone") && T && T.parentNode && T.parentNode.removeChild(T), h && (this.nativeDraggable && k(h, "dragend", this), gn(h), h.style["will-change"] = "", $e && !Ce && W(h, L ? L.options.ghostClass : this.options.ghostClass, !1), W(h, this.options.chosenClass, !1), M({
1828
1828
  sortable: this,
1829
1829
  name: "unchoose",
1830
1830
  toEl: I,
@@ -1978,7 +1978,7 @@ function qe(e, n, t, a, o, i, r, l) {
1978
1978
  return window.CustomEvent && !te && !ze ? c = new CustomEvent("move", {
1979
1979
  bubbles: !0,
1980
1980
  cancelable: !0
1981
- }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = n, c.from = e, c.dragged = t, c.draggedRect = a, c.related = o || n, c.relatedRect = i || N(n), c.willInsertAfter = l, c.originalEvent = r, e.dispatchEvent(c), m && (f = m.call(p, c, r)), f;
1981
+ }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = n, c.from = e, c.dragged = t, c.draggedRect = a, c.related = o || n, c.relatedRect = i || F(n), c.willInsertAfter = l, c.originalEvent = r, e.dispatchEvent(c), m && (f = m.call(p, c, r)), f;
1982
1982
  }
1983
1983
  function gn(e) {
1984
1984
  e.draggable = !1;
@@ -1987,11 +1987,11 @@ function Gi() {
1987
1987
  Gn = !1;
1988
1988
  }
1989
1989
  function Yi(e, n, t) {
1990
- var a = N(Ee(t.el, 0, t.options, !0)), o = Pt(t.el, t.options, C), i = 10;
1990
+ var a = F(Ee(t.el, 0, t.options, !0)), o = Pt(t.el, t.options, C), i = 10;
1991
1991
  return n ? e.clientX < o.left - i || e.clientY < a.top && e.clientX < a.right : e.clientY < o.top - i || e.clientY < a.bottom && e.clientX < a.left;
1992
1992
  }
1993
1993
  function Xi(e, n, t) {
1994
- var a = N(et(t.el, t.options.draggable)), o = Pt(t.el, t.options, C), i = 10;
1994
+ var a = F(et(t.el, t.options.draggable)), o = Pt(t.el, t.options, C), i = 10;
1995
1995
  return n ? e.clientX > o.right + i || e.clientY > a.bottom && e.clientX > a.left : e.clientY > o.bottom + i || e.clientX > a.right && e.clientY > a.top;
1996
1996
  }
1997
1997
  function Ki(e, n, t, a, o, i, r, l) {
@@ -2047,7 +2047,7 @@ _.utils = {
2047
2047
  index: q,
2048
2048
  nextTick: Xe,
2049
2049
  cancelNextTick: Yn,
2050
- detectDirection: Ft,
2050
+ detectDirection: Nt,
2051
2051
  getChild: Ee
2052
2052
  };
2053
2053
  _.get = function(e) {
@@ -2065,8 +2065,8 @@ _.mount = function() {
2065
2065
  _.create = function(e, n) {
2066
2066
  return new _(e, n);
2067
2067
  };
2068
- _.version = Ni;
2069
- var P = [], Pe, Xn, Kn = !1, vn, _n, an, Ne;
2068
+ _.version = Fi;
2069
+ var P = [], Pe, Xn, Kn = !1, vn, _n, an, Fe;
2070
2070
  function ts() {
2071
2071
  function e() {
2072
2072
  this.defaults = {
@@ -2092,17 +2092,17 @@ function ts() {
2092
2092
  this.sortable.nativeDraggable ? k(document, "dragover", this._handleAutoScroll) : (k(document, "pointermove", this._handleFallbackAutoScroll), k(document, "touchmove", this._handleFallbackAutoScroll), k(document, "mousemove", this._handleFallbackAutoScroll)), gt(), Ke(), Ai();
2093
2093
  },
2094
2094
  nulling: function() {
2095
- an = Xn = Pe = Kn = Ne = vn = _n = null, P.length = 0;
2095
+ an = Xn = Pe = Kn = Fe = vn = _n = null, P.length = 0;
2096
2096
  },
2097
2097
  _handleFallbackAutoScroll: function(t) {
2098
2098
  this._handleAutoScroll(t, !0);
2099
2099
  },
2100
2100
  _handleAutoScroll: function(t, a) {
2101
2101
  var o = this, i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(i, r);
2102
- if (an = t, a || this.options.forceAutoScrollFallback || ze || te || Fe) {
2102
+ if (an = t, a || this.options.forceAutoScrollFallback || ze || te || Ne) {
2103
2103
  Cn(t, this.options, l, a);
2104
2104
  var c = le(l, !0);
2105
- Kn && (!Ne || i !== vn || r !== _n) && (Ne && gt(), Ne = setInterval(function() {
2105
+ Kn && (!Fe || i !== vn || r !== _n) && (Fe && gt(), Fe = setInterval(function() {
2106
2106
  var p = le(document.elementFromPoint(i, r), !0);
2107
2107
  p !== c && (c = p, Ke()), Cn(t, o.options, p, a);
2108
2108
  }, 10), vn = i, _n = r);
@@ -2125,7 +2125,7 @@ function Ke() {
2125
2125
  }), P = [];
2126
2126
  }
2127
2127
  function gt() {
2128
- clearInterval(Ne);
2128
+ clearInterval(Fe);
2129
2129
  }
2130
2130
  var Cn = Tt(function(e, n, t, a) {
2131
2131
  if (n.scroll) {
@@ -2133,9 +2133,9 @@ var Cn = Tt(function(e, n, t, a) {
2133
2133
  Xn !== t && (Xn = t, Ke(), Pe = n.scroll, m = n.scrollFn, Pe === !0 && (Pe = le(t, !0)));
2134
2134
  var f = 0, u = Pe;
2135
2135
  do {
2136
- var g = u, y = N(g), w = y.top, $ = y.bottom, F = y.left, R = y.right, V = y.width, j = y.height, de = void 0, Y = void 0, ce = g.scrollWidth, Se = g.scrollHeight, U = v(g), De = g.scrollLeft, ae = g.scrollTop;
2136
+ var g = u, y = F(g), w = y.top, $ = y.bottom, N = y.left, R = y.right, V = y.width, j = y.height, de = void 0, Y = void 0, ce = g.scrollWidth, Se = g.scrollHeight, U = v(g), De = g.scrollLeft, ae = g.scrollTop;
2137
2137
  g === c ? (de = V < ce && (U.overflowX === "auto" || U.overflowX === "scroll" || U.overflowX === "visible"), Y = j < Se && (U.overflowY === "auto" || U.overflowY === "scroll" || U.overflowY === "visible")) : (de = V < ce && (U.overflowX === "auto" || U.overflowX === "scroll"), Y = j < Se && (U.overflowY === "auto" || U.overflowY === "scroll"));
2138
- var He = de && (Math.abs(R - o) <= r && De + V < ce) - (Math.abs(F - o) <= r && !!De), Q = Y && (Math.abs($ - i) <= r && ae + j < Se) - (Math.abs(w - i) <= r && !!ae);
2138
+ var He = de && (Math.abs(R - o) <= r && De + V < ce) - (Math.abs(N - o) <= r && !!De), Q = Y && (Math.abs($ - i) <= r && ae + j < Se) - (Math.abs(w - i) <= r && !!ae);
2139
2139
  if (!P[f])
2140
2140
  for (var pe = 0; pe <= f; pe++)
2141
2141
  P[pe] || (P[pe] = {});
@@ -2834,13 +2834,13 @@ const Zt = class {
2834
2834
  const p = e == null ? void 0 : e.filter((f) => n.some((u) => u.email === f.email)), m = e == null ? void 0 : e.filter((f) => !n.some((u) => u.email === f.email));
2835
2835
  p == null || p.forEach((f) => {
2836
2836
  var y, w, $;
2837
- const u = n == null ? void 0 : n.find((F) => F.email === f.email);
2837
+ const u = n == null ? void 0 : n.find((N) => N.email === f.email);
2838
2838
  if (!u)
2839
2839
  return;
2840
2840
  this.participantDefaultSelectedCalendars[f.email] = ((y = f.availability) == null ? void 0 : y.calendar_ids) || [];
2841
2841
  const g = u.calendars ?? [];
2842
- ($ = (w = f.availability) == null ? void 0 : w.calendar_ids) == null || $.forEach((F) => {
2843
- !(g != null && g.some((R) => R.id === F)) && F !== "primary" && g.push({ id: F, name: F });
2842
+ ($ = (w = f.availability) == null ? void 0 : w.calendar_ids) == null || $.forEach((N) => {
2843
+ !(g != null && g.some((R) => R.id === N)) && N !== "primary" && g.push({ id: N, name: N });
2844
2844
  }), o[f.email] = g;
2845
2845
  }), a && (m == null || m.forEach((f) => {
2846
2846
  var u, g, y, w;
@@ -3247,7 +3247,7 @@ const Gt = class {
3247
3247
  this.description = n, this.internals.setFormValue(n, "description"), this.valueChanged.emit({ value: n, name: this.name });
3248
3248
  }
3249
3249
  render() {
3250
- return s(E, { key: "6a7fc19449be05b4b6207692d5ceec94347f913e" }, s("div", { key: "8e0d79a310e1cccf1d9b7772703714907b01688f", class: "nylas-event-description", part: "nedesc" }, s("label", { key: "aac3fa43d77623ce9f51cd4aa81075c779a9da3e", htmlFor: "description" }, "Event description", s("span", { key: "a62743418230bdc20188052795c6ecb9e7ad2903", class: "label-icon" }, s("tooltip-component", { key: "7842c029c8f46d97f65cd321668cc6c7243b9787" }, s("info-icon", { key: "df7e6389587e8a76f9dcb8b57c7373f747569a0b", slot: "tooltip-icon" }), s("span", { key: "a8c37a68325c6d674c2f8ee6bdb8999d5f5d4b04", slot: "tooltip-content" }, "The event description appears in the Scheduler Editor’s manager view.")))), s("textarea", { key: "92938097ecfa8812dea7f663f9f93439398e856f", id: "description", part: "nedesc__textarea", name: "description", value: this.description, maxlength: "8192", onInput: (e) => this.handleChange(e) })));
3250
+ return s(E, { key: "6a7fc19449be05b4b6207692d5ceec94347f913e" }, s("div", { key: "8e0d79a310e1cccf1d9b7772703714907b01688f", class: "nylas-event-description", part: "nedesc" }, s("label", { key: "aac3fa43d77623ce9f51cd4aa81075c779a9da3e", htmlFor: "description" }, "Event description", s("span", { key: "a62743418230bdc20188052795c6ecb9e7ad2903", class: "label-icon" }, s("tooltip-component", { key: "7842c029c8f46d97f65cd321668cc6c7243b9787" }, s("info-icon", { key: "df7e6389587e8a76f9dcb8b57c7373f747569a0b", slot: "tooltip-icon" }), s("span", { key: "a8c37a68325c6d674c2f8ee6bdb8999d5f5d4b04", slot: "tooltip-content" }, "The event description appears in the Scheduler Editor’s manager view and in the response payload when a booking is created.")))), s("textarea", { key: "b411e8e7b3986b2197af6089116f9a5bf99fab89", id: "description", part: "nedesc__textarea", name: "description", value: this.description, maxlength: "8192", onInput: (e) => this.handleChange(e) })));
3251
3251
  }
3252
3252
  static get formAssociated() {
3253
3253
  return !0;
@@ -3274,8 +3274,8 @@ $s([
3274
3274
  In("design:returntype", void 0)
3275
3275
  ], Gt.prototype, "render", null);
3276
3276
  Gt.style = Is;
3277
- const Ps = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-duration{display:flex;flex-direction:column;gap:4px}.nylas-event-duration label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-duration label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-duration label span.label-icon{margin-left:4px}.nylas-event-duration label span.label-icon tooltip-component{display:flex}.nylas-event-duration__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-duration__wrapper input{padding:12px 16px;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:48px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px;width:50px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:200px}.nylas-event-duration__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-event-duration__wrapper select-dropdown{width:100%}}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}', Ns = Ps;
3278
- var Fs = function(e, n, t, a) {
3277
+ const Ps = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-duration{display:flex;flex-direction:column;gap:4px}.nylas-event-duration label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-duration label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-duration label span.label-icon{margin-left:4px}.nylas-event-duration label span.label-icon tooltip-component{display:flex}.nylas-event-duration__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-duration__wrapper input{padding:12px 16px;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:48px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px;width:50px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:200px}.nylas-event-duration__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-event-duration__wrapper select-dropdown{width:100%}}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}', Fs = Ps;
3278
+ var Ns = function(e, n, t, a) {
3279
3279
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
3280
3280
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
3281
3281
  i = Reflect.decorate(e, n, t, a);
@@ -3364,7 +3364,7 @@ const Yt = class {
3364
3364
  };
3365
3365
  }
3366
3366
  };
3367
- Fs([
3367
+ Ns([
3368
3368
  S({
3369
3369
  name: "nylas-event-duration",
3370
3370
  stateToProps: /* @__PURE__ */ new Map([["schedulerConfig.selectedConfiguration", "selectedConfiguration"]]),
@@ -3375,7 +3375,7 @@ Fs([
3375
3375
  $n("design:paramtypes", []),
3376
3376
  $n("design:returntype", void 0)
3377
3377
  ], Yt.prototype, "render", null);
3378
- Yt.style = Ns;
3378
+ Yt.style = Fs;
3379
3379
  const Rs = ':host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-info__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-info__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-info__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-info__block{display:flex;justify-content:space-between;gap:0.5rem}', Ls = Rs;
3380
3380
  var As = function(e, n, t, a) {
3381
3381
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
@@ -3435,7 +3435,7 @@ var js = function(e, n, t, a) {
3435
3435
  for (var l = e.length - 1; l >= 0; l--)
3436
3436
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3437
3437
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3438
- }, Nn = function(e, n) {
3438
+ }, Fn = function(e, n) {
3439
3439
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3440
3440
  return Reflect.metadata(e, n);
3441
3441
  };
@@ -3471,9 +3471,9 @@ js([
3471
3471
  eventToProps: {},
3472
3472
  fireRegisterEvent: !0
3473
3473
  }),
3474
- Nn("design:type", Function),
3475
- Nn("design:paramtypes", []),
3476
- Nn("design:returntype", void 0)
3474
+ Fn("design:type", Function),
3475
+ Fn("design:paramtypes", []),
3476
+ Fn("design:returntype", void 0)
3477
3477
  ], Kt.prototype, "render", null);
3478
3478
  Kt.style = zs;
3479
3479
  const Us = ':host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-location{display:flex;flex-direction:column;gap:4px;font-family:var(--nylas-font-family)}.nylas-event-location label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-location label span.label-icon{margin-left:4px}.nylas-event-location label span.label-icon tooltip-component{display:flex}.nylas-event-location span[slot=select-icon]{border-right:1px solid var(--nylas-base-200);padding:16px 0.75rem 16px 0.5rem;border-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:0;border-top-right-radius:0;height:20px}.nylas-event-location div.location-input{display:grid;grid-template-columns:auto 1fr;width:100%;gap:0.5rem}@media screen and (max-width: 768px){.nylas-event-location div.location-input{grid-template-columns:1fr}}.nylas-event-location div.location-input input{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:12px 16px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-event-location select-dropdown{width:208px}@media screen and (max-width: 768px){.nylas-event-location select-dropdown{width:100%}}.nylas-event-location select-dropdown::part(sd_dropdown){width:100%}.nylas-event-location select-dropdown::part(sd_dropdown-content){left:calc(35px + 0.5rem)}.nylas-event-location select-dropdown::part(sd_dropdown-button){display:flex;justify-content:space-between;width:100%;border:1px solid var(--nylas-base-200);padding:0 0.5rem}.nylas-event-location select-dropdown::part(sd_dropdown-button-selected-label){display:inline-flex;align-self:center;padding:14px 0;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Ws = Us;
@@ -3485,7 +3485,7 @@ var Bs = function(e, n, t, a) {
3485
3485
  for (var l = e.length - 1; l >= 0; l--)
3486
3486
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3487
3487
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3488
- }, Fn = function(e, n) {
3488
+ }, Nn = function(e, n) {
3489
3489
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3490
3490
  return Reflect.metadata(e, n);
3491
3491
  };
@@ -3497,7 +3497,11 @@ const _e = {
3497
3497
  zoom: "Zoom Meeting"
3498
3498
  }, Qt = class {
3499
3499
  constructor(e) {
3500
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "location", this.currentUser = void 0, this.userProvider = void 0, this.eventConferencing = void 0, this.conferenceProviders = void 0, this.selectedConfiguration = void 0, this.eventLocation = void 0, this.location = this.eventLocation ?? "", this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : "", this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : "none", this.userProviderState = this.userProvider ?? "";
3500
+ var n;
3501
+ b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "location", this.currentUser = void 0, this.userProvider = void 0, this.eventConferencing = void 0, this.conferenceProviders = void 0, this.selectedConfiguration = void 0, this.eventLocation = void 0, this.location = this.eventLocation ?? "", this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : "", this.selectedLocationOption = void 0, this.userProviderState = this.userProvider ?? ((n = this.currentUser) == null ? void 0 : n.provider) ?? "", this.locationOptions = [
3502
+ { value: "none", label: _e.none, labelHTML: this.getLabelHTML("none") },
3503
+ { value: "custom", label: _e.custom, labelHTML: this.getLabelHTML("custom") }
3504
+ ];
3501
3505
  }
3502
3506
  elementNameChangedHandler(e) {
3503
3507
  d("nylas-event-location", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -3515,8 +3519,16 @@ const _e = {
3515
3519
  d("nylas-event-location", "componentWillLoad"), this.host.setAttribute("name", this.name);
3516
3520
  }
3517
3521
  componentDidLoad() {
3518
- var e;
3519
- d("nylas-event-location", "componentDidLoad"), this.selectedConfiguration && this.selectedConfigurationChangedHandler(this.selectedConfiguration), (e = this.currentUser) != null && e.provider && (this.userProviderState = this.currentUser.provider);
3522
+ var e, n;
3523
+ switch (d("nylas-event-location", "componentDidLoad"), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : this.selectedLocationOption = this.setDefaultLocationOption(this.eventConferencing || null, this.eventLocation ?? ""), this.userProviderState = this.userProvider ?? ((e = this.currentUser) == null ? void 0 : e.provider) ?? "", this.userProviderState) {
3524
+ case "google":
3525
+ this.locationOptions.push({ value: "google", label: _e.google, labelHTML: this.getLabelHTML("google") });
3526
+ break;
3527
+ case "microsoft":
3528
+ this.locationOptions.push({ value: "microsoft", label: _e.microsoft, labelHTML: this.getLabelHTML("microsoft") });
3529
+ break;
3530
+ }
3531
+ (n = this.conferenceProviders) != null && n.zoom && this.locationOptions.push({ value: "zoom", label: _e.zoom, labelHTML: this.getLabelHTML("zoom") });
3520
3532
  }
3521
3533
  disconnectedCallback() {
3522
3534
  d("nylas-event-location", "disconnectedCallback");
@@ -3527,10 +3539,10 @@ const _e = {
3527
3539
  let n;
3528
3540
  switch (this.selectedLocationOption) {
3529
3541
  case "none":
3530
- this.location = "", this.setFormValue("", this.name), this.valueChanged.emit({ value: "", name: this.name }), this.valueChanged.emit({ value: JSON.stringify({}), name: "conference" });
3542
+ this.location = "", this.setFormValue("", this.name), this.valueChanged.emit({ value: "", name: this.name }), this.valueChanged.emit({ value: JSON.stringify(null), name: "conference" });
3531
3543
  break;
3532
3544
  case "custom":
3533
- this.valueChanged.emit({ value: JSON.stringify({}), name: "conference" });
3545
+ this.valueChanged.emit({ value: JSON.stringify(null), name: "conference" });
3534
3546
  break;
3535
3547
  case "google":
3536
3548
  this.location = "", this.setFormValue("", this.name);
@@ -3604,22 +3616,8 @@ const _e = {
3604
3616
  } }, _e[e]));
3605
3617
  }
3606
3618
  render() {
3607
- var a;
3608
- const e = [
3609
- { value: "none", label: _e.none, labelHTML: this.getLabelHTML("none") },
3610
- { value: "custom", label: _e.custom, labelHTML: this.getLabelHTML("custom") }
3611
- ];
3612
- switch (this.userProviderState) {
3613
- case "google":
3614
- e.push({ value: "google", label: _e.google, labelHTML: this.getLabelHTML("google") });
3615
- break;
3616
- case "microsoft":
3617
- e.push({ value: "microsoft", label: _e.microsoft, labelHTML: this.getLabelHTML("microsoft") });
3618
- break;
3619
- }
3620
- (a = this.conferenceProviders) != null && a.zoom && e.push({ value: "zoom", label: _e.zoom, labelHTML: this.getLabelHTML("zoom") });
3621
- const n = [...e], t = e.find((o) => o.value == this.selectedLocationOption);
3622
- return s(E, { key: "9ace3d0c618879dede4f6ea52aed41a0e193352f" }, s("div", { key: "06f62cedba0696aabc59058f9d1cce12819f350b", class: "nylas-event-location", part: "nel" }, s("label", { key: "584acc644bdeddcb319395b531a7dad90a165452", htmlFor: "location" }, "Event meeting or location", s("span", { key: "a4e2414ab1cf5c83c5f487a21d22d5c66f5b945d", class: "label-icon" }, s("tooltip-component", { key: "41a0429b5987bd6359c2fd42e8ab4abf67a3f83e" }, s("info-icon", { key: "8723ecf7cd91edee84b3ca28ffba0c4b3d3967f0", slot: "tooltip-icon" }), s("span", { key: "e0201540705e2aa0a94357fd2dd1af95887abe71", slot: "tooltip-content" }, "Select a conferencing option or add a custom location.")))), s("div", { key: "e983eb85462b31b665edad087c4aea7259c85407", class: "location-input" }, (t == null ? void 0 : t.label) && s("select-dropdown", { withSearch: !1, name: "location", options: n, defaultSelectedOption: t, exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, s("span", { slot: "select-icon" }, this.getIcon(this.selectedLocationOption))), this.selectedLocationOption === "custom" && s("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: (o) => this.handleChange(o) }))));
3619
+ const e = typeof this.selectedLocationOption < "u" ? this.locationOptions.find((n) => n.value == this.selectedLocationOption) : null;
3620
+ return s(E, { key: "6869d3c2f6316dc482becc022bc973783332658f" }, s("div", { key: "e17b95b15e181f73efd5c666ff0074bcd5467b65", class: "nylas-event-location", part: "nel" }, s("label", { key: "9370ab01f5f730099dd5061ccf39ca3b53132244", htmlFor: "location" }, "Event meeting or location", s("span", { key: "acd558f22ad18afc63b93456450a5aa946916fd4", class: "label-icon" }, s("tooltip-component", { key: "bd2ea171a9eef9e9a377a0be2dc4a16b91bb1359" }, s("info-icon", { key: "745289e658441e9aadb245c94da890cdb3119179", slot: "tooltip-icon" }), s("span", { key: "ffa4a9597a7d63e33b639dafd736a654a97589c9", slot: "tooltip-content" }, "Select a conferencing option or add a custom location.")))), s("div", { key: "59f930e30b758b740128b42a855608a02ee1a739", class: "location-input" }, e && (e == null ? void 0 : e.label) && s("select-dropdown", { withSearch: !1, name: "location", options: this.locationOptions, defaultSelectedOption: e, exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, s("span", { slot: "select-icon" }, this.getIcon(this.selectedLocationOption))), this.selectedLocationOption === "custom" && s("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: (n) => this.handleChange(n) }))));
3623
3621
  }
3624
3622
  static get formAssociated() {
3625
3623
  return !0;
@@ -3645,9 +3643,9 @@ Bs([
3645
3643
  eventToProps: {},
3646
3644
  fireRegisterEvent: !0
3647
3645
  }),
3648
- Fn("design:type", Function),
3649
- Fn("design:paramtypes", []),
3650
- Fn("design:returntype", void 0)
3646
+ Nn("design:type", Function),
3647
+ Nn("design:paramtypes", []),
3648
+ Nn("design:returntype", void 0)
3651
3649
  ], Qt.prototype, "render", null);
3652
3650
  Qt.style = Ws;
3653
3651
  const Zs = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-title{display:flex;flex-direction:column;gap:4px;position:relative;text-align:left}.nylas-event-title div.title{padding:12px 16px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);overflow:scroll;white-space:nowrap;scrollbar-width:thin}.nylas-event-title div.title::-webkit-scrollbar{width:6px;height:6px}.nylas-event-title div.title.error{border-color:var(--nylas-error);border-width:2px;outline:none}.nylas-event-title input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200)}.nylas-event-title span.help-text{display:flex;gap:4px;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:21px}.nylas-event-title span.error-message{color:var(--nylas-error)}.nylas-event-title label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-title label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-title label span.label-icon{margin-left:4px}.nylas-event-title label span.label-icon tooltip-component{display:flex}.highlighted-tag{background-color:var(--nylas-base-200);border-radius:var(--nylas-border-radius);padding:5px;margin-left:4px}.token-options{display:block;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;top:80px;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}@media screen and (max-width: 768px){.token-options{right:0;width:325px;max-width:unset}}.token-options ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px;margin:0}.token-options ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.token-options ul li .token-label{display:flex;flex-direction:column;font-weight:400}.token-options ul li .token-label .token{color:var(--nylas-abse-900);font-size:16px;line-height:24px}.token-options ul li .token-label .description{color:var(--nylas-base-600);font-size:14px;line-height:21px}.token-options ul li:hover,.token-options ul li:focus,.token-options ul li:active,.token-options ul li.active{background-color:var(--nylas-base-100)}.token-options ul li:hover .token-label .token,.token-options ul li:focus .token-label .token,.token-options ul li:active .token-label .token,.token-options ul li.active .token-label .token{color:var(--nylas-primary)}.token-options .selected{background-color:var(--nylas-base-100)}', qs = Zs;
@@ -3807,8 +3805,8 @@ const ea = class {
3807
3805
  let o = this.titleRef.firstChild, i = null;
3808
3806
  for (; o; ) {
3809
3807
  if (o.nodeType === 3) {
3810
- const $ = ((w = o.textContent) == null ? void 0 : w.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "", F = t.replace(/[\u200B-\u200D\uFEFF]/g, "");
3811
- if ($.includes(F)) {
3808
+ const $ = ((w = o.textContent) == null ? void 0 : w.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "", N = t.replace(/[\u200B-\u200D\uFEFF]/g, "");
3809
+ if ($.includes(N)) {
3812
3810
  i = o;
3813
3811
  break;
3814
3812
  }
@@ -4678,7 +4676,7 @@ const la = class {
4678
4676
  }), n;
4679
4677
  }
4680
4678
  render() {
4681
- return s(E, { key: "6f9b3c61650e7dd61b6e548fe008be57494b5e89" }, s("div", { key: "256e2e41f0849180ffdb5c67c66dffd9c1ce031a", class: "nylas-participants-custom-availability", part: "npca" }, s("div", { key: "c3e1aefbb7872b233938aefeb22a13169f194864", class: "header", part: "npca__header" }, s("h3", { key: "8f7af6fa1435b2530fb5d179db1357e765270865" }, "Participant open hours"), s("p", { key: "ff146ecd72673369a01773b2f00e81264654acf5" }, "If not set, Nylas uses the default open hours for this participant.")), s("div", { key: "52476fb7c7dc19935d92883ebd16f6af6746f8b5", class: "content", part: "npca__content" }, s("form", { key: "2b2fb94eb40a92b0e3326c9681051f61bbe4986e", ref: (e) => this.participantFormRef = e }, Object.keys(this.selectedParticipants).map((e, n) => {
4679
+ return s(E, { key: "6f9b3c61650e7dd61b6e548fe008be57494b5e89" }, s("div", { key: "256e2e41f0849180ffdb5c67c66dffd9c1ce031a", class: "nylas-participants-custom-availability", part: "npca" }, s("div", { key: "c3e1aefbb7872b233938aefeb22a13169f194864", class: "header", part: "npca__header" }, s("h3", { key: "8f7af6fa1435b2530fb5d179db1357e765270865" }, "Participant open hours"), s("p", { key: "ff146ecd72673369a01773b2f00e81264654acf5" }, "If not set, the default open hours will be used to calculate availability for this participant.")), s("div", { key: "c6aa29f7b88ecb5082f86b7b63416b3537e89dfe", class: "content", part: "npca__content" }, s("form", { key: "f46b43df9ee6026aa74c08feab122b4fd4e8e2bd", ref: (e) => this.participantFormRef = e }, Object.keys(this.selectedParticipants).map((e, n) => {
4682
4680
  const t = this.selectedParticipants[e];
4683
4681
  if (!(!t || !t.name || !t.availability))
4684
4682
  return s("div", { class: "participant-container", part: "npca__participant-container", key: `participant-conatiner-${n}` }, s("div", { class: "participant-title", part: "npca__participant-title" }, s("p", null, t.name, "'s open hours"), s("div", { class: "participant-toggle", part: "npca__participant-toggle--container" }, s("toggle-switch", { exportparts: "ts_label: npca__toggle-label, ts_input: npca_toggle-input, ts_slider: npca_toggle-slider", name: e, checked: !!(t != null && t.openHours) && (t == null ? void 0 : t.openHours.length) > 0 }), s("span", { class: `chevron ${t.isOpen ? "open" : "closed"} ${t.setCustom ? "" : "disabled"}`, onClick: () => {
@@ -4740,7 +4738,7 @@ const da = class {
4740
4738
  d("nylas-reminder-emails", "componentWillLoad"), this.host.setAttribute("name", this.name);
4741
4739
  }
4742
4740
  componentDidLoad() {
4743
- d("nylas-reminder-emails", "componentDidLoad"), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : (this.reminders = this.eventReminders ?? [], this.updateRemindersFormValue()), console.log("nylas-reminder-emails component loaded", this.reminders);
4741
+ d("nylas-reminder-emails", "componentDidLoad"), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : (this.reminders = this.eventReminders ?? [], this.updateRemindersFormValue());
4744
4742
  }
4745
4743
  componentWillUpdate() {
4746
4744
  d("nylas-reminder-emails", "componentWillUpdate");
@@ -4841,7 +4839,7 @@ const da = class {
4841
4839
  value: "host"
4842
4840
  }
4843
4841
  ];
4844
- return s(E, { key: "ed77e9e287ac8ec849292cc3e90e59b61ffcffa8" }, s("div", { key: "87fce96015aa5f77cb9e0868ed4c76ded0ca0967", class: "cards-container" }, this.reminders.map((a, o) => {
4842
+ return s(E, { key: "f077a4f36237092515331a1f7003373eb5246b24" }, s("div", { key: "9e80591159b41af9953591145b19347152307b03", class: "cards-container" }, this.reminders.map((a, o) => {
4845
4843
  var i;
4846
4844
  return a.type !== "webhook" ? s("div", { class: "nylas-reminder-email", part: "nre" }, s("div", { class: "header", part: "nre__header" }, s("div", null, s("h3", null, "Upcoming meeting", e ? ` with ${e} ` : ""), s("p", null, "Reminder before event")), a.editing ? s("div", { class: "reminder-open-close-toggle" }, s("button-component", { variant: "basic", class: "delete-btn", tooltip: "Delete reminder", key: `delete -${o} `, clickHandler: (r) => {
4847
4845
  r.preventDefault(), this.deleteReminder(o);
@@ -4853,9 +4851,9 @@ const da = class {
4853
4851
  nrt__input_dropdown-input: nre__reminder-input_dropdown-input,
4854
4852
  nrt__input_dropdown-content: nre__reminder-input_dropdown-content,
4855
4853
  ` })), s("div", { class: "nylas-reminder-email__block" }, s("label", null, "Email subject"), s("input-component", { name: `reminder-subject-${o}`, maxLength: 60, placeholder: `Upcoming meeting ${e ? `with ${e}` : ""}`, defaultValue: (a == null ? void 0 : a.email_subject) || "" })))) : s("div", { class: "nylas-reminder-email__summary", part: "nre__summary" }, s("p", null, s("span", { class: "summary-icon" }, s("person-clipboard-icon", null)), (i = n.find((r) => r.value === a.recipient)) == null ? void 0 : i.label), s("p", null, s("span", { class: "summary-icon" }, s("clock-icon", null)), this.formatReminderTime(a.minutes_before_event), " before the event"))) : null;
4856
- })), s("button-component", { key: "811ebc4ea8176452bad9cc0f9a8d3b4b29e2330f", class: "create-reminder", variant: "basic", clickHandler: (a) => {
4854
+ })), s("button-component", { key: "f4ac42071e8c797daf29f055b139cbca46d12a82", class: "create-reminder", variant: "basic", clickHandler: (a) => {
4857
4855
  a.preventDefault(), this.addReminder();
4858
- } }, s("plus-icon", { key: "e88193f0cd731d73d1d505e6a739433c2e869b6e", width: "16", height: "16" }), "New reminder"));
4856
+ } }, s("plus-icon", { key: "ea3dcad1d5bae23ad4453120f05a5d9011233a1c", width: "16", height: "16" }), "New reminder"));
4859
4857
  }
4860
4858
  static get formAssociated() {
4861
4859
  return !0;
@@ -5202,7 +5200,7 @@ $o([
5202
5200
  Jn("design:returntype", void 0)
5203
5201
  ], fa.prototype, "render", null);
5204
5202
  fa.style = Io;
5205
- const Po = ".sc-paintbrush-fill-icon-h{display:flex}", No = Po, Fo = class {
5203
+ const Po = ".sc-paintbrush-fill-icon-h{display:flex}", Fo = Po, No = class {
5206
5204
  constructor(e) {
5207
5205
  b(this, e), this.width = "16", this.height = "13";
5208
5206
  }
@@ -5210,7 +5208,7 @@ const Po = ".sc-paintbrush-fill-icon-h{display:flex}", No = Po, Fo = class {
5210
5208
  return s("svg", { key: "e4684ac3235a59975a67508b6a5019e70b1a3a5a", width: "16", height: "17", viewBox: "-3 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "00dee1b55784f1191d56a8c1b420f0076575a197", d: "M5 2.875V0.375H0.5C0.223858 0.375 0 0.598858 0 0.875V7.37585H10V0.875C10 0.598858 9.77614 0.375 9.5 0.375H8V3.87722C8 4.15337 7.77614 4.37722 7.5 4.37722C7.22386 4.37722 7 4.15337 7 3.87722V0.375H6V2.875C6 3.15114 5.77614 3.375 5.5 3.375C5.22386 3.375 5 3.15114 5 2.875ZM10 8.37585H0V9.37938C0 10.4839 0.895431 11.3794 2 11.3794H3.5V14.8767C3.5 15.7051 4.17157 16.3767 5 16.3767C5.82843 16.3767 6.5 15.7051 6.5 14.8767V11.3794H8C9.10457 11.3794 10 10.4839 10 9.37938V8.37585Z", fill: "currentColor" }));
5211
5209
  }
5212
5210
  };
5213
- Fo.style = No;
5211
+ No.style = Fo;
5214
5212
  const Ro = ".sc-paintbrush-icon-h{display:flex}", Lo = Ro, Ao = class {
5215
5213
  constructor(e) {
5216
5214
  b(this, e), this.width = "16", this.height = "13";
@@ -5315,7 +5313,7 @@ export {
5315
5313
  ca as nylas_reminder_time,
5316
5314
  pa as nylas_scheduling_method,
5317
5315
  fa as nylas_timeslot_interval,
5318
- Fo as paintbrush_fill_icon,
5316
+ No as paintbrush_fill_icon,
5319
5317
  Ao as paintbrush_icon,
5320
5318
  jo as people_icon,
5321
5319
  Bo as toggle_switch,