@nylas/react 1.0.2-canary.2 → 1.1.0-canary.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/add-circle-icon_22.entry-8d0ac489.cjs +1 -0
  2. package/dist/{add-circle-icon_18.entry-f86ae88d.js → add-circle-icon_22.entry-da31fa71.js} +627 -421
  3. package/dist/{archive-icon_7.entry-052ac074.cjs → archive-icon_7.entry-7aad8104.cjs} +1 -1
  4. package/dist/{archive-icon_7.entry-0e34d6e7.js → archive-icon_7.entry-bc2418f7.js} +20 -20
  5. package/dist/{arrow-icon.entry-93f21385.cjs → arrow-icon.entry-6eba68a9.cjs} +1 -1
  6. package/dist/arrow-icon.entry-9a932082.js +15 -0
  7. package/dist/{bold-icon_3.entry-88ce1d25.js → bold-icon_3.entry-5f7e3755.js} +8 -8
  8. package/dist/bold-icon_3.entry-db17d481.cjs +1 -0
  9. package/dist/{calendar-cancel-icon.entry-e9c692fa.js → calendar-cancel-icon.entry-1ff7845a.js} +5 -5
  10. package/dist/{calendar-cancel-icon.entry-574c8aa4.cjs → calendar-cancel-icon.entry-a5141f82.cjs} +1 -1
  11. package/dist/{calendar-check-icon_2.entry-b0476bca.cjs → calendar-check-icon_2.entry-c3add652.cjs} +1 -1
  12. package/dist/{calendar-check-icon_2.entry-d461c713.js → calendar-check-icon_2.entry-d7421059.js} +6 -6
  13. package/dist/{calendar-icon.entry-1ca202a4.js → calendar-icon.entry-4458997f.js} +5 -5
  14. package/dist/{calendar-icon.entry-98936e6d.cjs → calendar-icon.entry-445d624a.cjs} +1 -1
  15. package/dist/chevron-icon_3.entry-8961e6bb.cjs +1 -0
  16. package/dist/chevron-icon_3.entry-f7f3d487.js +117 -0
  17. package/dist/close-icon.entry-6dd5ff0a.js +15 -0
  18. package/dist/close-icon.entry-ebc527c5.cjs +1 -0
  19. package/dist/{constants-b6bf6671-49a0f1f2.js → constants-6ee60d6d-4cd16450.js} +1 -1
  20. package/dist/{constants-b6bf6671-27e2557d.cjs → constants-6ee60d6d-6c0540db.cjs} +1 -1
  21. package/dist/document-refresh-icon.entry-298b2133.cjs +1 -0
  22. package/dist/{document-refresh-icon.entry-faea08ce.js → document-refresh-icon.entry-bdc323b5.js} +5 -5
  23. package/dist/elements/index.d.ts +7 -0
  24. package/dist/{forward-icon_6.entry-c4b37cb1.cjs → forward-icon_6.entry-15208ea9.cjs} +2 -2
  25. package/dist/{forward-icon_6.entry-8da1f65d.js → forward-icon_6.entry-62759373.js} +63 -63
  26. package/dist/{globe-icon.entry-4720304b.js → globe-icon.entry-9e082178.js} +2 -2
  27. package/dist/{globe-icon.entry-90a0b9c9.cjs → globe-icon.entry-c8302bf5.cjs} +1 -1
  28. package/dist/google-logo-icon_3.entry-0c095209.js +258 -0
  29. package/dist/google-logo-icon_3.entry-f8433ff9.cjs +1 -0
  30. package/dist/index-0f3bd8df.js +1824 -0
  31. package/dist/index-7a55dc33.cjs +30 -0
  32. package/dist/index.d.ts +4 -2
  33. package/dist/index.es-2578c6a5-098d48d0.cjs +7 -0
  34. package/dist/{index-10914bc1-346f04fa.js → index.es-2578c6a5-71441142.js} +833 -933
  35. package/dist/{info-icon_2.entry-9307db18.js → info-icon_2.entry-73106882.js} +5 -5
  36. package/dist/{info-icon_2.entry-81e95048.cjs → info-icon_2.entry-ca224a3b.cjs} +1 -1
  37. package/dist/loading-icon.entry-012644b7.js +15 -0
  38. package/dist/loading-icon.entry-f9f5e66f.cjs +1 -0
  39. package/dist/mailbox-store-bb21512c-045c3ea0.cjs +1 -0
  40. package/dist/{mailbox-store-e721b17c-cf9a43dd.js → mailbox-store-bb21512c-615660ef.js} +125 -62
  41. package/dist/nylas-additional-participants.entry-a50ef8e2.cjs +1 -0
  42. package/dist/{nylas-additional-participants.entry-1653dec7.js → nylas-additional-participants.entry-db85836a.js} +13 -13
  43. package/dist/{nylas-booked-event-card_10.entry-aa971e8a.js → nylas-booked-event-card_10.entry-b49b2369.js} +26 -26
  44. package/dist/nylas-booked-event-card_10.entry-fccb783c.cjs +1 -0
  45. package/dist/nylas-form-card.entry-090a4d3b.js +56 -0
  46. package/dist/nylas-form-card.entry-f5230005.cjs +1 -0
  47. package/dist/nylas-if-state.entry-7924dde0.js +96 -0
  48. package/dist/nylas-if-state.entry-ff9c9a85.cjs +1 -0
  49. package/dist/{nylas-list-folders.entry-995fa819.js → nylas-list-folders.entry-9dd96530.js} +4 -4
  50. package/dist/{nylas-list-folders.entry-3b24d92d.cjs → nylas-list-folders.entry-dbfc2cf8.cjs} +1 -1
  51. package/dist/{nylas-list-threads.entry-fda42ded.cjs → nylas-list-threads.entry-6bcc0328.cjs} +1 -1
  52. package/dist/{nylas-list-threads.entry-21466eb3.js → nylas-list-threads.entry-b435eaae.js} +6 -6
  53. package/dist/nylas-login.entry-1623d309.cjs +1 -0
  54. package/dist/nylas-login.entry-97350c76.js +75 -0
  55. package/dist/{nylas-mailbox-pagination.entry-9dcd4901.cjs → nylas-mailbox-pagination.entry-1776eb16.cjs} +1 -1
  56. package/dist/{nylas-mailbox-pagination.entry-02d40186.js → nylas-mailbox-pagination.entry-ceef8be2.js} +3 -3
  57. package/dist/{nylas-mailbox-toolbar-button.entry-d1099fab.cjs → nylas-mailbox-toolbar-button.entry-7d3f79b9.cjs} +1 -1
  58. package/dist/{nylas-mailbox-toolbar-button.entry-dbad44b4.js → nylas-mailbox-toolbar-button.entry-e6b3d3a4.js} +10 -10
  59. package/dist/nylas-mailbox.entry-06d8014a.js +136 -0
  60. package/dist/nylas-mailbox.entry-ae8da6ff.cjs +1 -0
  61. package/dist/{nylas-provider.entry-bbee8c99.js → nylas-provider.entry-8b9c2b69.js} +50 -58
  62. package/dist/nylas-provider.entry-97c9e272.cjs +1 -0
  63. package/dist/nylas-scheduler-editor.entry-c3791787.js +2181 -0
  64. package/dist/nylas-scheduler-editor.entry-f6cf1cd9.cjs +7 -0
  65. package/dist/nylas-scheduling.entry-08ae840a.cjs +1 -0
  66. package/dist/{nylas-scheduling.entry-22b5ad07.js → nylas-scheduling.entry-6380509a.js} +39 -38
  67. package/dist/{nylas-threads-refresh.entry-05258b36.cjs → nylas-threads-refresh.entry-246e6d77.cjs} +1 -1
  68. package/dist/{nylas-threads-refresh.entry-414d8740.js → nylas-threads-refresh.entry-eaee86fb.js} +5 -5
  69. package/dist/nylas-threads-search.entry-42a2acb1.cjs +1 -0
  70. package/dist/{nylas-threads-search.entry-a19dc90f.js → nylas-threads-search.entry-7e12758e.js} +7 -7
  71. package/dist/{nylas-view-thread.entry-5da81e99.cjs → nylas-view-thread.entry-78e6927a.cjs} +1 -1
  72. package/dist/{nylas-view-thread.entry-38149162.js → nylas-view-thread.entry-b936e76a.js} +4 -4
  73. package/dist/{people-icon.entry-5c244c8d.js → people-icon.entry-5c8ee696.js} +5 -5
  74. package/dist/{people-icon.entry-4b682757.cjs → people-icon.entry-bcf848c0.cjs} +1 -1
  75. package/dist/play-icon_2.entry-356e63cc.js +25 -0
  76. package/dist/play-icon_2.entry-92e78f1b.cjs +1 -0
  77. package/dist/react.cjs +1 -1
  78. package/dist/react.js +84 -75
  79. package/dist/{refresh-icon.entry-63456c9a.js → refresh-icon.entry-77f0c377.js} +2 -2
  80. package/dist/{refresh-icon.entry-59fff3d4.cjs → refresh-icon.entry-bec053b6.cjs} +1 -1
  81. package/dist/{register-component-d056a880-f3003d6c.js → register-component-dc659dc3-0fdb18dc.js} +2 -2
  82. package/dist/{register-component-d056a880-2be11c56.cjs → register-component-dc659dc3-f58bf25b.cjs} +1 -1
  83. package/dist/scheduler-config-store-51ee4f42-ce3a9b0e.cjs +1 -0
  84. package/dist/scheduler-config-store-51ee4f42-e02895da.js +14 -0
  85. package/dist/{scheduler-store-0fbe642c-14466305.js → scheduler-store-72116723-3ba2480c.js} +3 -2
  86. package/dist/scheduler-store-72116723-db9d91f6.cjs +1 -0
  87. package/dist/time-period-selector.entry-decd251b.js +78 -0
  88. package/dist/time-period-selector.entry-f25fad77.cjs +1 -0
  89. package/dist/{translate-icon.entry-35999e70.js → translate-icon.entry-cac02c46.js} +2 -2
  90. package/dist/{translate-icon.entry-1784c18e.cjs → translate-icon.entry-dd5b707c.cjs} +1 -1
  91. package/dist/{warning-icon.entry-73de08c3.js → warning-icon.entry-370b9cf0.js} +4 -4
  92. package/dist/{warning-icon.entry-3a702d1d.cjs → warning-icon.entry-8af8a742.cjs} +1 -1
  93. package/package.json +3 -3
  94. package/dist/add-circle-icon_18.entry-b66b6343.cjs +0 -1
  95. package/dist/arrow-icon.entry-2afd9ea9.js +0 -15
  96. package/dist/auth-store-69ac49c7-5a0bbb90.cjs +0 -1
  97. package/dist/auth-store-69ac49c7-cbfda055.js +0 -66
  98. package/dist/bold-icon_3.entry-8f55a9e7.cjs +0 -1
  99. package/dist/chevron-icon_3.entry-830f52c2.js +0 -105
  100. package/dist/chevron-icon_3.entry-f7801467.cjs +0 -1
  101. package/dist/close-icon.entry-37e8361f.js +0 -15
  102. package/dist/close-icon.entry-8d6e9816.cjs +0 -1
  103. package/dist/document-refresh-icon.entry-fcb33921.cjs +0 -1
  104. package/dist/index-10914bc1-c8c3a2f3.cjs +0 -7
  105. package/dist/index-457dcf0b.cjs +0 -30
  106. package/dist/index-ce40ad47.js +0 -1570
  107. package/dist/loading-icon.entry-06d37ef0.cjs +0 -1
  108. package/dist/loading-icon.entry-dc518df4.js +0 -15
  109. package/dist/mailbox-store-e721b17c-4e97e07d.cjs +0 -1
  110. package/dist/nylas-additional-participants.entry-ff8bf378.cjs +0 -1
  111. package/dist/nylas-booked-event-card_10.entry-06bc3c51.cjs +0 -1
  112. package/dist/nylas-editor-tabs.entry-49b5a3ab.cjs +0 -1
  113. package/dist/nylas-editor-tabs.entry-9d0959bf.js +0 -181
  114. package/dist/nylas-form-card.entry-69d2095b.cjs +0 -1
  115. package/dist/nylas-form-card.entry-c4e78f88.js +0 -56
  116. package/dist/nylas-if-state_3.entry-2eb3f385.js +0 -293
  117. package/dist/nylas-if-state_3.entry-5baf6d6f.cjs +0 -1
  118. package/dist/nylas-provider.entry-78e2fa30.cjs +0 -1
  119. package/dist/nylas-scheduler-editor.entry-550d3c59.cjs +0 -1
  120. package/dist/nylas-scheduler-editor.entry-8f7ecf3b.js +0 -111
  121. package/dist/nylas-scheduling.entry-30a63738.cjs +0 -1
  122. package/dist/nylas-threads-search.entry-ff21fc65.cjs +0 -1
  123. package/dist/play-icon_2.entry-ccdc6b9c.cjs +0 -1
  124. package/dist/play-icon_2.entry-f36d6d55.js +0 -25
  125. package/dist/scheduler-config-store-4d035001-0256b40c.cjs +0 -1
  126. package/dist/scheduler-config-store-4d035001-db9dc78a.js +0 -33
  127. package/dist/scheduler-store-0fbe642c-410fdbf4.cjs +0 -1
  128. /package/dist/{utils-0cd66d04-89ab163d.js → utils-c00bdc3c-89ab163d.js} +0 -0
  129. /package/dist/{utils-0cd66d04-94b9c3b6.cjs → utils-c00bdc3c-94b9c3b6.cjs} +0 -0
@@ -1,1570 +0,0 @@
1
- var cn = Object.defineProperty;
2
- var dn = (e, t, a) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var me = (e, t, a) => (dn(e, typeof t != "symbol" ? t + "" : t, a), a);
4
- import le, { createElement as un, useReducer as fn, useRef as ve, useEffect as hn } from "react";
5
- import "react-dom";
6
- function mr() {
7
- var e = [];
8
- if (typeof window < "u") {
9
- var t = window;
10
- (!t.customElements || t.Element && (!t.Element.prototype.closest || !t.Element.prototype.matches || !t.Element.prototype.remove || !t.Element.prototype.getRootNode)) && e.push(import(
11
- /* webpackChunkName: "polyfills-dom" */
12
- "./dom-86e17616.js"
13
- ));
14
- var a = function() {
15
- try {
16
- var r = new URL("b", "http://a");
17
- return r.pathname = "c%20d", r.href === "http://a/c%20d" && r.searchParams;
18
- } catch {
19
- return !1;
20
- }
21
- };
22
- (typeof Object.assign != "function" || !Object.entries || !Array.prototype.find || !Array.prototype.includes || !String.prototype.startsWith || !String.prototype.endsWith || t.NodeList && !t.NodeList.prototype.forEach || !t.fetch || !a() || typeof WeakMap > "u") && e.push(import(
23
- /* webpackChunkName: "polyfills-core-js" */
24
- "./core-js-a9d3b6e1.js"
25
- ));
26
- }
27
- return Promise.all(e);
28
- }
29
- const pn = "nylas-web-elements";
30
- let ae, _e, L = !1, Ce = null, Se = !1;
31
- const M = (e, t = "") => () => {
32
- }, gn = (e, t) => () => {
33
- }, yn = "{visibility:hidden}.hydrated{visibility:inherit}", ht = "slot-fb{display:contents}slot-fb[hidden]{display:none}", $n = [
34
- "formAssociatedCallback",
35
- "formResetCallback",
36
- "formDisabledCallback",
37
- "formStateRestoreCallback"
38
- ], tt = {}, mn = "http://www.w3.org/2000/svg", vn = "http://www.w3.org/1999/xhtml", bn = (e) => e != null, Re = (e) => (e = typeof e, e === "object" || e === "function");
39
- function pt(e) {
40
- var t, a, r;
41
- return (r = (a = (t = e.head) === null || t === void 0 ? void 0 : t.querySelector('meta[name="csp-nonce"]')) === null || a === void 0 ? void 0 : a.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
42
- }
43
- const gt = (e, t, ...a) => {
44
- let r = null, o = null, i = !1, s = !1;
45
- const d = [], c = (p) => {
46
- for (let g = 0; g < p.length; g++)
47
- r = p[g], Array.isArray(r) ? c(r) : r != null && typeof r != "boolean" && ((i = typeof e != "function" && !Re(r)) && (r = String(r)), i && s ? d[d.length - 1].$text$ += r : d.push(i ? oe(null, r) : r), s = i);
48
- };
49
- if (c(a), t) {
50
- t.key && (o = t.key);
51
- {
52
- const p = t.className || t.class;
53
- p && (t.class = typeof p != "object" ? p : Object.keys(p).filter((g) => p[g]).join(" "));
54
- }
55
- }
56
- if (typeof e == "function")
57
- return e(t === null ? {} : t, d, Sn);
58
- const f = oe(e, null);
59
- return f.$attrs$ = t, d.length > 0 && (f.$children$ = d), f.$key$ = o, f;
60
- }, oe = (e, t) => {
61
- const a = {
62
- $flags$: 0,
63
- $tag$: e,
64
- $text$: t,
65
- $elm$: null,
66
- $children$: null
67
- };
68
- return a.$attrs$ = null, a.$key$ = null, a;
69
- }, En = {}, Cn = (e) => e && e.$tag$ === En, Sn = {
70
- forEach: (e, t) => e.map(nt).forEach(t),
71
- map: (e, t) => e.map(nt).map(t).map(wn)
72
- }, nt = (e) => ({
73
- vattrs: e.$attrs$,
74
- vchildren: e.$children$,
75
- vkey: e.$key$,
76
- vname: e.$name$,
77
- vtag: e.$tag$,
78
- vtext: e.$text$
79
- }), wn = (e) => {
80
- if (typeof e.vtag == "function") {
81
- const a = Object.assign({}, e.vattrs);
82
- return e.vkey && (a.key = e.vkey), e.vname && (a.name = e.vname), gt(e.vtag, a, ...e.vchildren || []);
83
- }
84
- const t = oe(e.vtag, e.vtext);
85
- return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
86
- }, kn = (e, t) => e != null && !Re(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Tn = (e) => N(e).$hostElement$, vr = (e, t, a) => {
87
- const r = Tn(e);
88
- return {
89
- emit: (o) => yt(r, t, {
90
- bubbles: !!(a & 4),
91
- composed: !!(a & 2),
92
- cancelable: !!(a & 1),
93
- detail: o
94
- })
95
- };
96
- }, yt = (e, t, a) => {
97
- const r = I.ce(t, a);
98
- return e.dispatchEvent(r), r;
99
- }, rt = /* @__PURE__ */ new WeakMap(), _n = (e, t, a) => {
100
- let r = ie.get(e);
101
- Zn && a ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, ie.set(e, r);
102
- }, Rn = (e, t, a) => {
103
- var r;
104
- const o = $t(t), i = ie.get(o);
105
- if (e = e.nodeType === 11 ? e : A, i)
106
- if (typeof i == "string") {
107
- e = e.head || e;
108
- let s = rt.get(e), d;
109
- if (s || rt.set(e, s = /* @__PURE__ */ new Set()), !s.has(o)) {
110
- {
111
- d = A.createElement("style"), d.innerHTML = i;
112
- const c = (r = I.$nonce$) !== null && r !== void 0 ? r : pt(A);
113
- c != null && d.setAttribute("nonce", c), e.insertBefore(d, e.querySelector("link"));
114
- }
115
- t.$flags$ & 4 && (d.innerHTML += ht), s && s.add(o);
116
- }
117
- } else
118
- e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
119
- return o;
120
- }, On = (e) => {
121
- const t = e.$cmpMeta$, a = e.$hostElement$, r = t.$flags$, o = M("attachStyles", t.$tagName$), i = Rn(a.shadowRoot ? a.shadowRoot : a.getRootNode(), t);
122
- r & 10 && (a["s-sc"] = i, a.classList.add(i + "-h"), r & 2 && a.classList.add(i + "-s")), o();
123
- }, $t = (e, t) => "sc-" + e.$tagName$, at = (e, t, a, r, o, i) => {
124
- if (a !== r) {
125
- let s = lt(e, t), d = t.toLowerCase();
126
- if (t === "class") {
127
- const c = e.classList, f = ot(a), p = ot(r);
128
- c.remove(...f.filter((g) => g && !p.includes(g))), c.add(...p.filter((g) => g && !f.includes(g)));
129
- } else if (t === "style") {
130
- for (const c in a)
131
- (!r || r[c] == null) && (c.includes("-") ? e.style.removeProperty(c) : e.style[c] = "");
132
- for (const c in r)
133
- (!a || r[c] !== a[c]) && (c.includes("-") ? e.style.setProperty(c, r[c]) : e.style[c] = r[c]);
134
- } else if (t !== "key")
135
- if (t === "ref")
136
- r && r(e);
137
- else if (!s && t[0] === "o" && t[1] === "n") {
138
- if (t[2] === "-" ? t = t.slice(3) : lt(X, d) ? t = d.slice(2) : t = d[2] + t.slice(3), a || r) {
139
- const c = t.endsWith(mt);
140
- t = t.replace(In, ""), a && I.rel(e, t, a, c), r && I.ael(e, t, r, c);
141
- }
142
- } else {
143
- const c = Re(r);
144
- if ((s || c && r !== null) && !o)
145
- try {
146
- if (e.tagName.includes("-"))
147
- e[t] = r;
148
- else {
149
- const f = r ?? "";
150
- t === "list" ? s = !1 : (a == null || e[t] != f) && (e[t] = f);
151
- }
152
- } catch {
153
- }
154
- r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!s || i & 4 || o) && !c && (r = r === !0 ? "" : r, e.setAttribute(t, r));
155
- }
156
- }
157
- }, Pn = /\s/, ot = (e) => e ? e.split(Pn) : [], mt = "Capture", In = new RegExp(mt + "$"), vt = (e, t, a, r) => {
158
- const o = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || tt, s = t.$attrs$ || tt;
159
- for (r in i)
160
- r in s || at(o, r, i[r], void 0, a, t.$flags$);
161
- for (r in s)
162
- at(o, r, i[r], s[r], a, t.$flags$);
163
- }, se = (e, t, a, r) => {
164
- const o = t.$children$[a];
165
- let i = 0, s, d;
166
- if (o.$text$ !== null)
167
- s = o.$elm$ = A.createTextNode(o.$text$);
168
- else {
169
- if (L || (L = o.$tag$ === "svg"), s = o.$elm$ = A.createElementNS(L ? mn : vn, o.$tag$), L && o.$tag$ === "foreignObject" && (L = !1), vt(null, o, L), bn(ae) && s["s-si"] !== ae && s.classList.add(s["s-si"] = ae), o.$children$)
170
- for (i = 0; i < o.$children$.length; ++i)
171
- d = se(e, o, i), d && s.appendChild(d);
172
- o.$tag$ === "svg" ? L = !1 : s.tagName === "foreignObject" && (L = !0);
173
- }
174
- return s["s-hn"] = _e, s;
175
- }, bt = (e, t, a, r, o, i) => {
176
- let s = e, d;
177
- for (s.shadowRoot && s.tagName === _e && (s = s.shadowRoot); o <= i; ++o)
178
- r[o] && (d = se(null, a, o), d && (r[o].$elm$ = d, s.insertBefore(d, t)));
179
- }, Et = (e, t, a) => {
180
- for (let r = t; r <= a; ++r) {
181
- const o = e[r];
182
- if (o) {
183
- const i = o.$elm$;
184
- Ct(o), i && i.remove();
185
- }
186
- }
187
- }, xn = (e, t, a, r, o = !1) => {
188
- let i = 0, s = 0, d = 0, c = 0, f = t.length - 1, p = t[0], g = t[f], C = r.length - 1, b = r[0], k = r[C], T, _;
189
- for (; i <= f && s <= C; )
190
- if (p == null)
191
- p = t[++i];
192
- else if (g == null)
193
- g = t[--f];
194
- else if (b == null)
195
- b = r[++s];
196
- else if (k == null)
197
- k = r[--C];
198
- else if (re(p, b, o))
199
- Y(p, b, o), p = t[++i], b = r[++s];
200
- else if (re(g, k, o))
201
- Y(g, k, o), g = t[--f], k = r[--C];
202
- else if (re(p, k, o))
203
- Y(p, k, o), e.insertBefore(p.$elm$, g.$elm$.nextSibling), p = t[++i], k = r[--C];
204
- else if (re(g, b, o))
205
- Y(g, b, o), e.insertBefore(g.$elm$, p.$elm$), g = t[--f], b = r[++s];
206
- else {
207
- for (d = -1, c = i; c <= f; ++c)
208
- if (t[c] && t[c].$key$ !== null && t[c].$key$ === b.$key$) {
209
- d = c;
210
- break;
211
- }
212
- d >= 0 ? (_ = t[d], _.$tag$ !== b.$tag$ ? T = se(t && t[s], a, d) : (Y(_, b, o), t[d] = void 0, T = _.$elm$), b = r[++s]) : (T = se(t && t[s], a, s), b = r[++s]), T && p.$elm$.parentNode.insertBefore(T, p.$elm$);
213
- }
214
- i > f ? bt(e, r[C + 1] == null ? null : r[C + 1].$elm$, a, r, s, C) : s > C && Et(t, i, f);
215
- }, re = (e, t, a = !1) => e.$tag$ === t.$tag$ ? a ? !0 : e.$key$ === t.$key$ : !1, Y = (e, t, a = !1) => {
216
- const r = t.$elm$ = e.$elm$, o = e.$children$, i = t.$children$, s = t.$tag$, d = t.$text$;
217
- d === null ? (L = s === "svg" ? !0 : s === "foreignObject" ? !1 : L, s === "slot" || vt(e, t, L), o !== null && i !== null ? xn(r, o, t, i, a) : i !== null ? (e.$text$ !== null && (r.textContent = ""), bt(r, null, t, i, 0, i.length - 1)) : o !== null && Et(o, 0, o.length - 1), L && s === "svg" && (L = !1)) : e.$text$ !== d && (r.data = d);
218
- }, Ct = (e) => {
219
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Ct);
220
- }, Ln = (e, t, a = !1) => {
221
- const r = e.$hostElement$, o = e.$vnode$ || oe(null, null), i = Cn(t) ? t : gt(null, null, t);
222
- if (_e = r.tagName, a && i.$attrs$)
223
- for (const s of Object.keys(i.$attrs$))
224
- r.hasAttribute(s) && !["key", "ref", "style", "class"].includes(s) && (i.$attrs$[s] = r[s]);
225
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = o.$elm$ = r.shadowRoot || r, ae = r["s-sc"], Y(o, i, a);
226
- }, St = (e, t) => {
227
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((a) => e.$onRenderResolve$ = a));
228
- }, ce = (e, t) => {
229
- if (e.$flags$ |= 16, e.$flags$ & 4) {
230
- e.$flags$ |= 512;
231
- return;
232
- }
233
- return St(e, e.$ancestorComponent$), er(() => An(e, t));
234
- }, An = (e, t) => {
235
- const a = M("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
236
- let o;
237
- return t ? (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([i, s]) => F(r, i, s)), e.$queuedListeners$ = void 0), o = F(r, "componentWillLoad")) : o = F(r, "componentWillUpdate"), o = st(o, () => F(r, "componentWillRender")), a(), st(o, () => Nn(e, r, t));
238
- }, st = (e, t) => jn(e) ? e.then(t) : t(), jn = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Nn = async (e, t, a) => {
239
- var r;
240
- const o = e.$hostElement$, i = M("update", e.$cmpMeta$.$tagName$), s = o["s-rc"];
241
- a && On(e);
242
- const d = M("render", e.$cmpMeta$.$tagName$);
243
- Dn(e, t, o, a), s && (s.map((c) => c()), o["s-rc"] = void 0), d(), i();
244
- {
245
- const c = (r = o["s-p"]) !== null && r !== void 0 ? r : [], f = () => Hn(e);
246
- c.length === 0 ? f() : (Promise.all(c).then(f), e.$flags$ |= 4, c.length = 0);
247
- }
248
- }, Dn = (e, t, a, r) => {
249
- try {
250
- Ce = t, t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ln(e, t, r);
251
- } catch (o) {
252
- $(o, e.$hostElement$);
253
- }
254
- return Ce = null, null;
255
- }, br = () => Ce, Hn = (e) => {
256
- const t = e.$cmpMeta$.$tagName$, a = e.$hostElement$, r = M("postUpdate", t), o = e.$lazyInstance$, i = e.$ancestorComponent$;
257
- F(o, "componentDidRender"), e.$flags$ & 64 ? (F(o, "componentDidUpdate"), r()) : (e.$flags$ |= 64, kt(a), F(o, "componentDidLoad"), r(), e.$onReadyResolve$(a), i || wt()), e.$onInstanceResolve$(a), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Pe(() => ce(e, !1)), e.$flags$ &= -517;
258
- }, Er = (e) => {
259
- {
260
- const t = N(e), a = t.$hostElement$.isConnected;
261
- return a && (t.$flags$ & 18) === 2 && ce(t, !1), a;
262
- }
263
- }, wt = (e) => {
264
- kt(A.documentElement), Pe(() => yt(X, "appload", { detail: { namespace: pn } }));
265
- }, F = (e, t, a) => {
266
- if (e && e[t])
267
- try {
268
- return e[t](a);
269
- } catch (r) {
270
- $(r);
271
- }
272
- }, kt = (e) => e.classList.add("hydrated"), Fn = (e, t) => N(e).$instanceValues$.get(t), Mn = (e, t, a, r) => {
273
- const o = N(e), i = o.$hostElement$, s = o.$instanceValues$.get(t), d = o.$flags$, c = o.$lazyInstance$;
274
- a = kn(a, r.$members$[t][0]);
275
- const f = Number.isNaN(s) && Number.isNaN(a), p = a !== s && !f;
276
- if ((!(d & 8) || s === void 0) && p && (o.$instanceValues$.set(t, a), c)) {
277
- if (r.$watchers$ && d & 128) {
278
- const g = r.$watchers$[t];
279
- g && g.map((C) => {
280
- try {
281
- c[C](a, s, t);
282
- } catch (b) {
283
- $(b, i);
284
- }
285
- });
286
- }
287
- (d & 18) === 2 && ce(o, !1);
288
- }
289
- }, Tt = (e, t, a) => {
290
- var r;
291
- const o = e.prototype;
292
- if (t.$flags$ & 64 && a & 1 && $n.forEach((i) => Object.defineProperty(o, i, {
293
- value(...s) {
294
- const d = N(this), c = d.$lazyInstance$;
295
- if (!c)
296
- d.$onReadyPromise$.then((f) => {
297
- const p = f[i];
298
- typeof p == "function" && p.call(f, ...s);
299
- });
300
- else {
301
- const f = c[i];
302
- typeof f == "function" && f.call(c, ...s);
303
- }
304
- }
305
- })), t.$members$) {
306
- e.watchers && (t.$watchers$ = e.watchers);
307
- const i = Object.entries(t.$members$);
308
- if (i.map(([s, [d]]) => {
309
- d & 31 || a & 2 && d & 32 ? Object.defineProperty(o, s, {
310
- get() {
311
- return Fn(this, s);
312
- },
313
- set(c) {
314
- Mn(this, s, c, t);
315
- },
316
- configurable: !0,
317
- enumerable: !0
318
- }) : a & 1 && d & 64 && Object.defineProperty(o, s, {
319
- value(...c) {
320
- var f;
321
- const p = N(this);
322
- return (f = p == null ? void 0 : p.$onInstancePromise$) === null || f === void 0 ? void 0 : f.then(() => {
323
- var g;
324
- return (g = p.$lazyInstance$) === null || g === void 0 ? void 0 : g[s](...c);
325
- });
326
- }
327
- });
328
- }), a & 1) {
329
- const s = /* @__PURE__ */ new Map();
330
- o.attributeChangedCallback = function(d, c, f) {
331
- I.jmp(() => {
332
- var p;
333
- const g = s.get(d);
334
- if (this.hasOwnProperty(g))
335
- f = this[g], delete this[g];
336
- else {
337
- if (o.hasOwnProperty(g) && typeof this[g] == "number" && this[g] == f)
338
- return;
339
- if (g == null) {
340
- const C = N(this), b = C == null ? void 0 : C.$flags$;
341
- if (b && !(b & 8) && b & 128 && f !== c) {
342
- const k = C.$lazyInstance$, T = (p = t.$watchers$) === null || p === void 0 ? void 0 : p[d];
343
- T == null || T.forEach((_) => {
344
- k[_] != null && k[_].call(k, f, c, d);
345
- });
346
- }
347
- return;
348
- }
349
- }
350
- this[g] = f === null && typeof this[g] == "boolean" ? !1 : f;
351
- });
352
- }, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([
353
- ...Object.keys((r = t.$watchers$) !== null && r !== void 0 ? r : {}),
354
- ...i.filter(
355
- ([d, c]) => c[0] & 15
356
- /* MEMBER_FLAGS.HasAttribute */
357
- ).map(([d, c]) => {
358
- const f = c[1] || d;
359
- return s.set(f, d), f;
360
- })
361
- ]));
362
- }
363
- }
364
- return e;
365
- }, Bn = async (e, t, a, r) => {
366
- let o;
367
- if (!(t.$flags$ & 32)) {
368
- t.$flags$ |= 32;
369
- {
370
- if (o = Kn(a), o.then) {
371
- const c = gn();
372
- o = await o, c();
373
- }
374
- o.isProxied || (a.$watchers$ = o.watchers, Tt(
375
- o,
376
- a,
377
- 2
378
- /* PROXY_FLAGS.proxyState */
379
- ), o.isProxied = !0);
380
- const d = M("createInstance", a.$tagName$);
381
- t.$flags$ |= 8;
382
- try {
383
- new o(t);
384
- } catch (c) {
385
- $(c);
386
- }
387
- t.$flags$ &= -9, t.$flags$ |= 128, d(), we(t.$lazyInstance$);
388
- }
389
- if (o.style) {
390
- let d = o.style;
391
- const c = $t(a);
392
- if (!ie.has(c)) {
393
- const f = M("registerStyles", a.$tagName$);
394
- _n(c, d, !!(a.$flags$ & 1)), f();
395
- }
396
- }
397
- }
398
- const i = t.$ancestorComponent$, s = () => ce(t, !0);
399
- i && i["s-rc"] ? i["s-rc"].push(s) : s();
400
- }, we = (e) => {
401
- F(e, "connectedCallback");
402
- }, Un = (e) => {
403
- if (!(I.$flags$ & 1)) {
404
- const t = N(e), a = t.$cmpMeta$, r = M("connectedCallback", a.$tagName$);
405
- if (t.$flags$ & 1)
406
- _t(e, t, a.$listeners$), t != null && t.$lazyInstance$ ? we(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => we(t.$lazyInstance$));
407
- else {
408
- t.$flags$ |= 1;
409
- {
410
- let o = e;
411
- for (; o = o.parentNode || o.host; )
412
- if (o["s-p"]) {
413
- St(t, t.$ancestorComponent$ = o);
414
- break;
415
- }
416
- }
417
- a.$members$ && Object.entries(a.$members$).map(([o, [i]]) => {
418
- if (i & 31 && e.hasOwnProperty(o)) {
419
- const s = e[o];
420
- delete e[o], e[o] = s;
421
- }
422
- }), Bn(e, t, a);
423
- }
424
- r();
425
- }
426
- }, it = (e) => {
427
- F(e, "disconnectedCallback");
428
- }, zn = async (e) => {
429
- if (!(I.$flags$ & 1)) {
430
- const t = N(e);
431
- t.$rmListeners$ && (t.$rmListeners$.map((a) => a()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? it(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => it(t.$lazyInstance$));
432
- }
433
- }, Wn = (e, t = {}) => {
434
- var a;
435
- const r = M(), o = [], i = t.exclude || [], s = X.customElements, d = A.head, c = /* @__PURE__ */ d.querySelector("meta[charset]"), f = /* @__PURE__ */ A.createElement("style"), p = [];
436
- let g, C = !0;
437
- Object.assign(I, t), I.$resourcesUrl$ = new URL(t.resourcesUrl || "./", A.baseURI).href;
438
- let b = !1;
439
- if (e.map((k) => {
440
- k[1].map((T) => {
441
- var _;
442
- const R = {
443
- $flags$: T[0],
444
- $tagName$: T[1],
445
- $members$: T[2],
446
- $listeners$: T[3]
447
- };
448
- R.$flags$ & 4 && (b = !0), R.$members$ = T[2], R.$listeners$ = T[3], R.$watchers$ = (_ = T[4]) !== null && _ !== void 0 ? _ : {};
449
- const w = R.$tagName$, Q = class extends HTMLElement {
450
- // StencilLazyHost
451
- constructor(U) {
452
- super(U), U = this, Jn(U, R), R.$flags$ & 1 && U.attachShadow({ mode: "open" });
453
- }
454
- connectedCallback() {
455
- g && (clearTimeout(g), g = null), C ? p.push(this) : I.jmp(() => Un(this));
456
- }
457
- disconnectedCallback() {
458
- I.jmp(() => zn(this));
459
- }
460
- componentOnReady() {
461
- return N(this).$onReadyPromise$;
462
- }
463
- };
464
- R.$flags$ & 64 && (Q.formAssociated = !0), R.$lazyBundleId$ = k[0], !i.includes(w) && !s.get(w) && (o.push(w), s.define(w, Tt(
465
- Q,
466
- R,
467
- 1
468
- /* PROXY_FLAGS.isElementConstructor */
469
- )));
470
- });
471
- }), b && (f.innerHTML += ht), f.innerHTML += o + yn, f.innerHTML.length) {
472
- f.setAttribute("data-styles", "");
473
- const k = (a = I.$nonce$) !== null && a !== void 0 ? a : pt(A);
474
- k != null && f.setAttribute("nonce", k), d.insertBefore(f, c ? c.nextSibling : d.firstChild);
475
- }
476
- C = !1, p.length ? p.map((k) => k.connectedCallback()) : I.jmp(() => g = setTimeout(wt, 30)), r();
477
- }, Cr = (e, t) => t, _t = (e, t, a, r) => {
478
- a && a.map(([o, i, s]) => {
479
- const d = qn(e, o), c = Yn(t, s), f = Gn(o);
480
- I.ael(d, i, c, f), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => I.rel(d, i, c, f));
481
- });
482
- }, Yn = (e, t) => (a) => {
483
- try {
484
- e.$flags$ & 256 ? e.$lazyInstance$[t](a) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, a]);
485
- } catch (r) {
486
- $(r);
487
- }
488
- }, qn = (e, t) => t & 4 ? A : t & 8 ? X : t & 16 ? A.body : e, Gn = (e) => Xn ? {
489
- passive: (e & 1) !== 0,
490
- capture: (e & 2) !== 0
491
- } : (e & 2) !== 0, Oe = /* @__PURE__ */ new WeakMap(), N = (e) => Oe.get(e), Sr = (e, t) => Oe.set(t.$lazyInstance$ = e, t), Jn = (e, t) => {
492
- const a = {
493
- $flags$: 0,
494
- $hostElement$: e,
495
- $cmpMeta$: t,
496
- $instanceValues$: /* @__PURE__ */ new Map()
497
- };
498
- return a.$onInstancePromise$ = new Promise((r) => a.$onInstanceResolve$ = r), a.$onReadyPromise$ = new Promise((r) => a.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], _t(e, a, t.$listeners$), Oe.set(e, a);
499
- }, lt = (e, t) => t in e, $ = (e, t) => (0, console.error)(e, t), be = /* @__PURE__ */ new Map(), Kn = (e, t, a) => {
500
- const r = e.$tagName$.replace(/-/g, "_"), o = e.$lazyBundleId$, i = be.get(o);
501
- if (i)
502
- return i[r];
503
- if (!a || !BUILD.hotModuleReplacement) {
504
- const s = (d) => (be.set(o, d), d[r]);
505
- switch (o) {
506
- case "nylas-if-state_3":
507
- return import(
508
- /* webpackMode: "lazy" */
509
- "./nylas-if-state_3.entry-2eb3f385.js"
510
- ).then(s, $);
511
- case "document-refresh-icon":
512
- return import(
513
- /* webpackMode: "lazy" */
514
- "./document-refresh-icon.entry-faea08ce.js"
515
- ).then(s, $);
516
- case "nylas-additional-participants":
517
- return import(
518
- /* webpackMode: "lazy" */
519
- "./nylas-additional-participants.entry-1653dec7.js"
520
- ).then(s, $);
521
- case "nylas-list-folders":
522
- return import(
523
- /* webpackMode: "lazy" */
524
- "./nylas-list-folders.entry-995fa819.js"
525
- ).then(s, $);
526
- case "nylas-list-threads":
527
- return import(
528
- /* webpackMode: "lazy" */
529
- "./nylas-list-threads.entry-21466eb3.js"
530
- ).then(s, $);
531
- case "nylas-mailbox-pagination":
532
- return import(
533
- /* webpackMode: "lazy" */
534
- "./nylas-mailbox-pagination.entry-02d40186.js"
535
- ).then(s, $);
536
- case "nylas-mailbox-toolbar-button":
537
- return import(
538
- /* webpackMode: "lazy" */
539
- "./nylas-mailbox-toolbar-button.entry-dbad44b4.js"
540
- ).then(s, $);
541
- case "nylas-provider":
542
- return import(
543
- /* webpackMode: "lazy" */
544
- "./nylas-provider.entry-bbee8c99.js"
545
- ).then(s, $);
546
- case "nylas-scheduler-editor":
547
- return import(
548
- /* webpackMode: "lazy" */
549
- "./nylas-scheduler-editor.entry-8f7ecf3b.js"
550
- ).then(s, $);
551
- case "nylas-scheduling":
552
- return import(
553
- /* webpackMode: "lazy" */
554
- "./nylas-scheduling.entry-22b5ad07.js"
555
- ).then(s, $);
556
- case "nylas-threads-refresh":
557
- return import(
558
- /* webpackMode: "lazy" */
559
- "./nylas-threads-refresh.entry-414d8740.js"
560
- ).then(s, $);
561
- case "nylas-threads-search":
562
- return import(
563
- /* webpackMode: "lazy" */
564
- "./nylas-threads-search.entry-a19dc90f.js"
565
- ).then(s, $);
566
- case "nylas-view-thread":
567
- return import(
568
- /* webpackMode: "lazy" */
569
- "./nylas-view-thread.entry-38149162.js"
570
- ).then(s, $);
571
- case "people-icon":
572
- return import(
573
- /* webpackMode: "lazy" */
574
- "./people-icon.entry-5c244c8d.js"
575
- ).then(s, $);
576
- case "archive-icon_7":
577
- return import(
578
- /* webpackMode: "lazy" */
579
- "./archive-icon_7.entry-0e34d6e7.js"
580
- ).then(s, $);
581
- case "arrow-icon":
582
- return import(
583
- /* webpackMode: "lazy" */
584
- "./arrow-icon.entry-2afd9ea9.js"
585
- ).then(s, $);
586
- case "forward-icon_6":
587
- return import(
588
- /* webpackMode: "lazy" */
589
- "./forward-icon_6.entry-8da1f65d.js"
590
- ).then(s, $);
591
- case "nylas-booked-event-card_10":
592
- return import(
593
- /* webpackMode: "lazy" */
594
- "./nylas-booked-event-card_10.entry-aa971e8a.js"
595
- ).then(s, $);
596
- case "nylas-editor-tabs":
597
- return import(
598
- /* webpackMode: "lazy" */
599
- "./nylas-editor-tabs.entry-9d0959bf.js"
600
- ).then(s, $);
601
- case "bold-icon_3":
602
- return import(
603
- /* webpackMode: "lazy" */
604
- "./bold-icon_3.entry-88ce1d25.js"
605
- ).then(s, $);
606
- case "calendar-check-icon_2":
607
- return import(
608
- /* webpackMode: "lazy" */
609
- "./calendar-check-icon_2.entry-d461c713.js"
610
- ).then(s, $);
611
- case "add-circle-icon_18":
612
- return import(
613
- /* webpackMode: "lazy" */
614
- "./add-circle-icon_18.entry-f86ae88d.js"
615
- ).then(s, $);
616
- case "play-icon_2":
617
- return import(
618
- /* webpackMode: "lazy" */
619
- "./play-icon_2.entry-f36d6d55.js"
620
- ).then(s, $);
621
- case "refresh-icon":
622
- return import(
623
- /* webpackMode: "lazy" */
624
- "./refresh-icon.entry-63456c9a.js"
625
- ).then(s, $);
626
- case "translate-icon":
627
- return import(
628
- /* webpackMode: "lazy" */
629
- "./translate-icon.entry-35999e70.js"
630
- ).then(s, $);
631
- case "warning-icon":
632
- return import(
633
- /* webpackMode: "lazy" */
634
- "./warning-icon.entry-73de08c3.js"
635
- ).then(s, $);
636
- case "calendar-cancel-icon":
637
- return import(
638
- /* webpackMode: "lazy" */
639
- "./calendar-cancel-icon.entry-e9c692fa.js"
640
- ).then(s, $);
641
- case "calendar-icon":
642
- return import(
643
- /* webpackMode: "lazy" */
644
- "./calendar-icon.entry-1ca202a4.js"
645
- ).then(s, $);
646
- case "nylas-form-card":
647
- return import(
648
- /* webpackMode: "lazy" */
649
- "./nylas-form-card.entry-c4e78f88.js"
650
- ).then(s, $);
651
- case "loading-icon":
652
- return import(
653
- /* webpackMode: "lazy" */
654
- "./loading-icon.entry-dc518df4.js"
655
- ).then(s, $);
656
- case "globe-icon":
657
- return import(
658
- /* webpackMode: "lazy" */
659
- "./globe-icon.entry-4720304b.js"
660
- ).then(s, $);
661
- case "close-icon":
662
- return import(
663
- /* webpackMode: "lazy" */
664
- "./close-icon.entry-37e8361f.js"
665
- ).then(s, $);
666
- case "info-icon_2":
667
- return import(
668
- /* webpackMode: "lazy" */
669
- "./info-icon_2.entry-9307db18.js"
670
- ).then(s, $);
671
- case "chevron-icon_3":
672
- return import(
673
- /* webpackMode: "lazy" */
674
- "./chevron-icon_3.entry-830f52c2.js"
675
- ).then(s, $);
676
- }
677
- }
678
- return import(
679
- /* @vite-ignore */
680
- /* webpackInclude: /\.entry\.js$/ */
681
- /* webpackExclude: /\.system\.entry\.js$/ */
682
- /* webpackMode: "lazy" */
683
- `./${o}.entry.js`
684
- ).then((s) => (be.set(o, s), s[r]), $);
685
- }, ie = /* @__PURE__ */ new Map(), X = typeof window < "u" ? window : {}, A = X.document || { head: {} }, I = {
686
- $flags$: 0,
687
- $resourcesUrl$: "",
688
- jmp: (e) => e(),
689
- raf: (e) => requestAnimationFrame(e),
690
- ael: (e, t, a, r) => e.addEventListener(t, a, r),
691
- rel: (e, t, a, r) => e.removeEventListener(t, a, r),
692
- ce: (e, t) => new CustomEvent(e, t)
693
- }, Xn = /* @__PURE__ */ (() => {
694
- let e = !1;
695
- try {
696
- A.addEventListener("e", null, Object.defineProperty({}, "passive", {
697
- get() {
698
- e = !0;
699
- }
700
- }));
701
- } catch {
702
- }
703
- return e;
704
- })(), Qn = (e) => Promise.resolve(e), Zn = /* @__PURE__ */ (() => {
705
- try {
706
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
707
- } catch {
708
- }
709
- return !1;
710
- })(), ct = [], Rt = [], Vn = (e, t) => (a) => {
711
- e.push(a), Se || (Se = !0, t && I.$flags$ & 4 ? Pe(ke) : I.raf(ke));
712
- }, dt = (e) => {
713
- for (let t = 0; t < e.length; t++)
714
- try {
715
- e[t](performance.now());
716
- } catch (a) {
717
- $(a);
718
- }
719
- e.length = 0;
720
- }, ke = () => {
721
- dt(ct), dt(Rt), (Se = ct.length > 0) && I.raf(ke);
722
- }, Pe = (e) => Qn().then(e), er = /* @__PURE__ */ Vn(Rt, !0);
723
- async function tr() {
724
- await import("./elements-dc5b338e-fb5dbfb5.js");
725
- }
726
- const nr = tr, rr = (e, t) => {
727
- if (!(typeof window > "u"))
728
- return nr(), Wn(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"authConfig":[16],"eventOverrides":[16],"defaultAuthStoreState":[16],"defaultSchedulerConfigStoreState":[16],"mode":[1],"automaticComponentRegistration":[32],"loggedInUser":[32]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["nylas-scheduling",[[1,"nylas-scheduling",{"mode":[1],"defaultSchedulerState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"cancelBookingId":[1,"cancel-booking-id"],"configId":[1,"config-id"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"getNylasSchedulerStore":[64],"getNylasSchedulerConnector":[64],"getRef":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"],[0,"monthChanged","monthChangedHandler"],[0,"detailsConfirmed","bookButtonClickedHandler"],[0,"dateSelected","dateSelectedHandler"],[0,"cancelBookedEventError","cancelBookedEventErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"]}]]],["nylas-view-thread",[[1,"nylas-view-thread",{"draft":[16],"thread":[16],"messages":[16],"attachments":[16],"state":[32],"internalMessages":[32],"showAllEmails":[32],"showComposer":[32]},null,{"thread":["threadChanged"],"messages":["updateInternalMessages"]}]]],["nylas-list-folders",[[1,"nylas-list-folders",{"folders":[16],"selectedFolder":[1,"selected-folder"],"defaultFolders":[32],"otherFolders":[32]},null,{"folders":["watchFolders"]}]]],["nylas-additional-participants",[[65,"nylas-additional-participants",{"name":[1],"eventParticipants":[16],"participants":[32],"participantsValid":[32]},null,{"name":["elementNameChangedHandler"]}]]],["nylas-mailbox-pagination",[[1,"nylas-mailbox-pagination",{"state":[1],"hasNextPage":[4,"has-next-page"],"hasPreviousPage":[4,"has-previous-page"],"scrollTarget":[1,"scroll-target"],"mobileOnlyInfiniteScroll":[4,"mobile-only-infinite-scroll"],"mobileViewPortWidth":[2,"mobile-view-port-width"],"nextPage":[64],"previousPage":[64]},[[9,"scroll","handlePageScroll"]]]]],["nylas-threads-refresh",[[1,"nylas-threads-refresh",{"start":[32],"state":[32],"pulling":[32],"updateState":[64]}]]],["nylas-if-state_3",[[1,"nylas-if-state",{"state":[1],"isStateSet":[4,"is-state-set"],"isBoolean":[4,"is-boolean"],"getStore":[16],"transition":[1],"show":[32],"classes":[32]},null,{"getStore":["onGetStoreChange"]}],[1,"nylas-login",{"isAuthenticated":[4,"is-authenticated"],"nylasConnector":[16],"scopes":[16],"loginMethod":[1,"login-method"],"companyName":[1,"company-name"],"logoUrl":[1,"logo-url"],"logoWidth":[1,"logo-width"],"providers":[1],"buttonText":[1,"button-text"],"email":[32]}],[1,"nylas-mailbox",{"automaticComponentRegistration":[4,"automatic-component-registration"],"eventOverrides":[16],"authConfig":[16],"defaultAuthStoreState":[16],"defaultMailboxStoreState":[16],"getMailboxStore":[64],"getAuthStore":[64],"getNylasAuth":[64],"getNylasMailboxConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["document-refresh-icon",[[2,"document-refresh-icon",{"width":[1],"height":[1]}]]],["nylas-list-threads",[[1,"nylas-list-threads",{"threads":[16],"isAuthenticated":[4,"is-authenticated"],"tokenInfo":[16],"state":[1],"showCheckbox":[4,"show-checkbox"]}]]],["nylas-mailbox-toolbar-button",[[1,"nylas-mailbox-toolbar-button",{"method":[1],"dataState":[1,"data-state"],"iconOnly":[4,"icon-only"],"mailboxConnector":[16]}]]],["nylas-provider",[[1,"nylas-provider",{"authConfig":[16],"eventOverrides":[16],"automaticComponentRegistration":[4,"automatic-component-registration"],"getNylasAuth":[64],"getNylasConnector":[64],"getMailboxStore":[64],"getAuthStore":[64],"getNylasSchedulerStore":[64],"getNylasSchedulerConfigStore":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["nylas-threads-search",[[1,"nylas-threads-search",{"query":[1],"internalQuery":[32]},null,{"query":["onQueryChange"]}]]],["people-icon",[[2,"people-icon",{"width":[1],"height":[1]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["globe-icon",[[2,"globe-icon",{"width":[1],"height":[1]}]]],["info-icon_2",[[2,"info-icon",{"width":[1],"height":[1]}],[1,"tooltip-component",{"position":[1]}]]],["nylas-editor-tabs",[[1,"nylas-editor-tabs",{"calendars":[16],"config":[16],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32]},[[0,"valueChanged","handleValueChanged"]],{"config":["configChangedHandler"]}]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["refresh-icon",[[2,"refresh-icon",{"width":[1],"height":[1]}]]],["translate-icon",[[2,"translate-icon",{"width":[1],"height":[1]}]]],["warning-icon",[[2,"warning-icon",{"width":[1],"height":[1]}]]],["calendar-cancel-icon",[[2,"calendar-cancel-icon",{"width":[1],"height":[1]}]]],["calendar-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["calendar-check-icon_2",[[2,"calendar-check-icon",{"width":[1],"height":[1]}],[2,"checkmark-circle-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-icon",{"width":[1],"height":[1]}]]],["bold-icon_3",[[2,"bold-icon",{"width":[1],"height":[1]}],[2,"italic-icon",{"width":[1],"height":[1]}],[2,"underline-icon",{"width":[1],"height":[1]}]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["forward-icon_6",[[1,"nylas-composer",{"message":[16],"viewEmailElement":[16]},null,{"message":["watchBody"]}],[1,"nylas-summarize-message-button",{"message":[16],"state":[32],"updateState":[64],"playAudio":[64]}],[2,"forward-icon",{"width":[1],"height":[1]}],[1,"nylas-view-email",{"message":[16],"parent":[16],"attachments":[16],"detectDarkMode":[4,"detect-dark-mode"],"state":[32],"sanitizedBody":[32],"styles":[32],"viewEmailElement":[32],"hoistedFontURLs":[32]},[[9,"resize","handleScroll"]],{"message":["messageChanged"],"viewEmailElement":["viewEmailElementChanged"]}],[2,"reply-all-icon",{"width":[1],"height":[1]}],[2,"reply-icon",{"width":[1],"height":[1]}]]],["archive-icon_7",[[2,"archive-icon",{"width":[1],"height":[1]}],[2,"folder-icon",{"width":[1],"height":[1]}],[2,"inbox-icon",{"width":[1],"height":[1]}],[2,"sent-icon",{"width":[1],"height":[1]}],[2,"spam-icon",{"width":[1],"height":[1]}],[2,"star-icon",{"width":[1],"height":[1]}],[2,"trash-icon",{"width":[1],"height":[1]}]]],["close-icon",[[2,"close-icon",{"width":[1],"height":[1]}]]],["chevron-icon_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32]},[[6,"click","handleOutsideClick"]]],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["nylas-booked-event-card_10",[[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16]}],[1,"nylas-notification",{"ttl":[8],"allowedCategories":[16],"notifications":[32]},[[16,"nylasSchedulerError","onError"],[16,"nylasSchedulerWarning","onWarning"],[16,"nylasSchedulerInfo","onInfo"],[16,"nylasSchedulerSuccess","onSuccess"]]],[1,"nylas-selected-event-card",{"selectedDate":[16],"selectedTimeslot":[16],"selectedTimezone":[1,"selected-timezone"],"startTime":[32],"endTime":[32]},null,{"selectedTimeslot":["handleSelectedTimeslotChange"]}],[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"validationError":[32]},null,{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"cancellationReason":[32],"cancellationError":[32]}],[1,"nylas-cancelled-event-card",{"cancelledEventInfo":[16]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"isLoading":[4,"is-loading"],"month":[32],"dates":[32]}],[2,"nylas-logo",{"width":[1],"height":[1]}],[1,"nylas-timeslot-picker",{"selectedDate":[16],"availability":[16],"selectedTimeslot":[16],"isLoading":[4,"loading-state"],"selectedTimezone":[1,"selected-timezone"],"times":[32],"hoveredTimeslotIndex":[32],"selectedTimeslotIndex":[32]},null,{"selectedDate":["selectedDateChanged"],"availability":["availabilityChanged"]}]]],["add-circle-icon_18",[[65,"nylas-availability-picker",{"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"schedule":["scheduleChanged"]}],[65,"nylas-location-component",{"eventLocation":[1,"event-location"],"name":[1],"location":[32],"selectedLocationOption":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"eventLocation":["eventLocationChangedHandler"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"organizerEmail":[1,"organizer-email"],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-custom-booking-flow",{"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-event-duration",{"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-event-description",{"eventDescription":[1,"event-description"],"name":[1],"description":[32]},null,{"name":["elementNameChangedHandler"]}],[65,"nylas-event-title",{"eventTitle":[1,"event-title"],"name":[1],"showTokens":[32],"availableTokens":[32],"filteredTokens":[32],"ariaActivedescendant":[32],"currentWord":[32]},null,{"name":["elementNameChangedHandler"],"ariaActivedescendant":["ariaActivedescendantChangedHandler"]}],[65,"nylas-event-info"],[2,"calendar-info-icon",{"width":[1],"height":[1]}],[2,"calendar-patterns-icon",{"width":[1],"height":[1]}],[2,"flow-icon",{"width":[1],"height":[1]}],[1,"multi-select-dropdown",{"name":[1],"label":[1],"options":[16],"availableOptions":[32],"isOpen":[32],"ariaActivedescendant":[32],"shouldFocusFirstOption":[32]},[[6,"click","handleOutsideClick"]]],[2,"add-circle-icon",{"width":[1],"height":[1]}],[2,"location-icon",{"width":[1],"height":[1]}],[2,"location-off-icon",{"width":[1],"height":[1]}],[1,"nylas-time-window-picker",{"time":[1],"minimumStartTime":[1,"minimum-start-time"],"placeholder":[1],"setTime":[16],"name":[1],"hasError":[4,"has-error"],"setFormError":[16],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[4,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}]]]]'), t);
729
- };
730
- (function() {
731
- if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
732
- var e = HTMLElement;
733
- window.HTMLElement = function() {
734
- return Reflect.construct(e, [], this.constructor);
735
- }, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
736
- }
737
- })();
738
- var Te = { exports: {} }, J = {};
739
- /**
740
- * @license React
741
- * react-jsx-runtime.production.min.js
742
- *
743
- * Copyright (c) Facebook, Inc. and its affiliates.
744
- *
745
- * This source code is licensed under the MIT license found in the
746
- * LICENSE file in the root directory of this source tree.
747
- */
748
- var ut;
749
- function ar() {
750
- if (ut)
751
- return J;
752
- ut = 1;
753
- var e = le, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
754
- function s(d, c, f) {
755
- var p, g = {}, C = null, b = null;
756
- f !== void 0 && (C = "" + f), c.key !== void 0 && (C = "" + c.key), c.ref !== void 0 && (b = c.ref);
757
- for (p in c)
758
- r.call(c, p) && !i.hasOwnProperty(p) && (g[p] = c[p]);
759
- if (d && d.defaultProps)
760
- for (p in c = d.defaultProps, c)
761
- g[p] === void 0 && (g[p] = c[p]);
762
- return { $$typeof: t, type: d, key: C, ref: b, props: g, _owner: o.current };
763
- }
764
- return J.Fragment = a, J.jsx = s, J.jsxs = s, J;
765
- }
766
- var K = {};
767
- /**
768
- * @license React
769
- * react-jsx-runtime.development.js
770
- *
771
- * Copyright (c) Facebook, Inc. and its affiliates.
772
- *
773
- * This source code is licensed under the MIT license found in the
774
- * LICENSE file in the root directory of this source tree.
775
- */
776
- var ft;
777
- function or() {
778
- return ft || (ft = 1, process.env.NODE_ENV !== "production" && function() {
779
- var e = le, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, T = "@@iterator";
780
- function _(n) {
781
- if (n === null || typeof n != "object")
782
- return null;
783
- var l = k && n[k] || n[T];
784
- return typeof l == "function" ? l : null;
785
- }
786
- var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
787
- function w(n) {
788
- {
789
- for (var l = arguments.length, h = new Array(l > 1 ? l - 1 : 0), y = 1; y < l; y++)
790
- h[y - 1] = arguments[y];
791
- Q("error", n, h);
792
- }
793
- }
794
- function Q(n, l, h) {
795
- {
796
- var y = R.ReactDebugCurrentFrame, E = y.getStackAddendum();
797
- E !== "" && (l += "%s", h = h.concat([E]));
798
- var S = h.map(function(v) {
799
- return String(v);
800
- });
801
- S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
802
- }
803
- }
804
- var U = !1, It = !1, xt = !1, Lt = !1, At = !1, Ie;
805
- Ie = Symbol.for("react.module.reference");
806
- function jt(n) {
807
- return !!(typeof n == "string" || typeof n == "function" || n === r || n === i || At || n === o || n === f || n === p || Lt || n === b || U || It || xt || typeof n == "object" && n !== null && (n.$$typeof === C || n.$$typeof === g || n.$$typeof === s || n.$$typeof === d || n.$$typeof === c || // This needs to include all possible module reference object
808
- // types supported by any Flight configuration anywhere since
809
- // we don't know which Flight build this will end up being used
810
- // with.
811
- n.$$typeof === Ie || n.getModuleId !== void 0));
812
- }
813
- function Nt(n, l, h) {
814
- var y = n.displayName;
815
- if (y)
816
- return y;
817
- var E = l.displayName || l.name || "";
818
- return E !== "" ? h + "(" + E + ")" : h;
819
- }
820
- function xe(n) {
821
- return n.displayName || "Context";
822
- }
823
- function D(n) {
824
- if (n == null)
825
- return null;
826
- if (typeof n.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
827
- return n.displayName || n.name || null;
828
- if (typeof n == "string")
829
- return n;
830
- switch (n) {
831
- case r:
832
- return "Fragment";
833
- case a:
834
- return "Portal";
835
- case i:
836
- return "Profiler";
837
- case o:
838
- return "StrictMode";
839
- case f:
840
- return "Suspense";
841
- case p:
842
- return "SuspenseList";
843
- }
844
- if (typeof n == "object")
845
- switch (n.$$typeof) {
846
- case d:
847
- var l = n;
848
- return xe(l) + ".Consumer";
849
- case s:
850
- var h = n;
851
- return xe(h._context) + ".Provider";
852
- case c:
853
- return Nt(n, n.render, "ForwardRef");
854
- case g:
855
- var y = n.displayName || null;
856
- return y !== null ? y : D(n.type) || "Memo";
857
- case C: {
858
- var E = n, S = E._payload, v = E._init;
859
- try {
860
- return D(v(S));
861
- } catch {
862
- return null;
863
- }
864
- }
865
- }
866
- return null;
867
- }
868
- var B = Object.assign, q = 0, Le, Ae, je, Ne, De, He, Fe;
869
- function Me() {
870
- }
871
- Me.__reactDisabledLog = !0;
872
- function Dt() {
873
- {
874
- if (q === 0) {
875
- Le = console.log, Ae = console.info, je = console.warn, Ne = console.error, De = console.group, He = console.groupCollapsed, Fe = console.groupEnd;
876
- var n = {
877
- configurable: !0,
878
- enumerable: !0,
879
- value: Me,
880
- writable: !0
881
- };
882
- Object.defineProperties(console, {
883
- info: n,
884
- log: n,
885
- warn: n,
886
- error: n,
887
- group: n,
888
- groupCollapsed: n,
889
- groupEnd: n
890
- });
891
- }
892
- q++;
893
- }
894
- }
895
- function Ht() {
896
- {
897
- if (q--, q === 0) {
898
- var n = {
899
- configurable: !0,
900
- enumerable: !0,
901
- writable: !0
902
- };
903
- Object.defineProperties(console, {
904
- log: B({}, n, {
905
- value: Le
906
- }),
907
- info: B({}, n, {
908
- value: Ae
909
- }),
910
- warn: B({}, n, {
911
- value: je
912
- }),
913
- error: B({}, n, {
914
- value: Ne
915
- }),
916
- group: B({}, n, {
917
- value: De
918
- }),
919
- groupCollapsed: B({}, n, {
920
- value: He
921
- }),
922
- groupEnd: B({}, n, {
923
- value: Fe
924
- })
925
- });
926
- }
927
- q < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
928
- }
929
- }
930
- var de = R.ReactCurrentDispatcher, ue;
931
- function Z(n, l, h) {
932
- {
933
- if (ue === void 0)
934
- try {
935
- throw Error();
936
- } catch (E) {
937
- var y = E.stack.trim().match(/\n( *(at )?)/);
938
- ue = y && y[1] || "";
939
- }
940
- return `
941
- ` + ue + n;
942
- }
943
- }
944
- var fe = !1, V;
945
- {
946
- var Ft = typeof WeakMap == "function" ? WeakMap : Map;
947
- V = new Ft();
948
- }
949
- function Be(n, l) {
950
- if (!n || fe)
951
- return "";
952
- {
953
- var h = V.get(n);
954
- if (h !== void 0)
955
- return h;
956
- }
957
- var y;
958
- fe = !0;
959
- var E = Error.prepareStackTrace;
960
- Error.prepareStackTrace = void 0;
961
- var S;
962
- S = de.current, de.current = null, Dt();
963
- try {
964
- if (l) {
965
- var v = function() {
966
- throw Error();
967
- };
968
- if (Object.defineProperty(v.prototype, "props", {
969
- set: function() {
970
- throw Error();
971
- }
972
- }), typeof Reflect == "object" && Reflect.construct) {
973
- try {
974
- Reflect.construct(v, []);
975
- } catch (H) {
976
- y = H;
977
- }
978
- Reflect.construct(n, [], v);
979
- } else {
980
- try {
981
- v.call();
982
- } catch (H) {
983
- y = H;
984
- }
985
- n.call(v.prototype);
986
- }
987
- } else {
988
- try {
989
- throw Error();
990
- } catch (H) {
991
- y = H;
992
- }
993
- n();
994
- }
995
- } catch (H) {
996
- if (H && y && typeof H.stack == "string") {
997
- for (var m = H.stack.split(`
998
- `), x = y.stack.split(`
999
- `), O = m.length - 1, P = x.length - 1; O >= 1 && P >= 0 && m[O] !== x[P]; )
1000
- P--;
1001
- for (; O >= 1 && P >= 0; O--, P--)
1002
- if (m[O] !== x[P]) {
1003
- if (O !== 1 || P !== 1)
1004
- do
1005
- if (O--, P--, P < 0 || m[O] !== x[P]) {
1006
- var j = `
1007
- ` + m[O].replace(" at new ", " at ");
1008
- return n.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", n.displayName)), typeof n == "function" && V.set(n, j), j;
1009
- }
1010
- while (O >= 1 && P >= 0);
1011
- break;
1012
- }
1013
- }
1014
- } finally {
1015
- fe = !1, de.current = S, Ht(), Error.prepareStackTrace = E;
1016
- }
1017
- var W = n ? n.displayName || n.name : "", et = W ? Z(W) : "";
1018
- return typeof n == "function" && V.set(n, et), et;
1019
- }
1020
- function Mt(n, l, h) {
1021
- return Be(n, !1);
1022
- }
1023
- function Bt(n) {
1024
- var l = n.prototype;
1025
- return !!(l && l.isReactComponent);
1026
- }
1027
- function ee(n, l, h) {
1028
- if (n == null)
1029
- return "";
1030
- if (typeof n == "function")
1031
- return Be(n, Bt(n));
1032
- if (typeof n == "string")
1033
- return Z(n);
1034
- switch (n) {
1035
- case f:
1036
- return Z("Suspense");
1037
- case p:
1038
- return Z("SuspenseList");
1039
- }
1040
- if (typeof n == "object")
1041
- switch (n.$$typeof) {
1042
- case c:
1043
- return Mt(n.render);
1044
- case g:
1045
- return ee(n.type, l, h);
1046
- case C: {
1047
- var y = n, E = y._payload, S = y._init;
1048
- try {
1049
- return ee(S(E), l, h);
1050
- } catch {
1051
- }
1052
- }
1053
- }
1054
- return "";
1055
- }
1056
- var te = Object.prototype.hasOwnProperty, Ue = {}, ze = R.ReactDebugCurrentFrame;
1057
- function ne(n) {
1058
- if (n) {
1059
- var l = n._owner, h = ee(n.type, n._source, l ? l.type : null);
1060
- ze.setExtraStackFrame(h);
1061
- } else
1062
- ze.setExtraStackFrame(null);
1063
- }
1064
- function Ut(n, l, h, y, E) {
1065
- {
1066
- var S = Function.call.bind(te);
1067
- for (var v in n)
1068
- if (S(n, v)) {
1069
- var m = void 0;
1070
- try {
1071
- if (typeof n[v] != "function") {
1072
- var x = Error((y || "React class") + ": " + h + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1073
- throw x.name = "Invariant Violation", x;
1074
- }
1075
- m = n[v](l, v, y, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1076
- } catch (O) {
1077
- m = O;
1078
- }
1079
- m && !(m instanceof Error) && (ne(E), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", y || "React class", h, v, typeof m), ne(null)), m instanceof Error && !(m.message in Ue) && (Ue[m.message] = !0, ne(E), w("Failed %s type: %s", h, m.message), ne(null));
1080
- }
1081
- }
1082
- }
1083
- var zt = Array.isArray;
1084
- function he(n) {
1085
- return zt(n);
1086
- }
1087
- function Wt(n) {
1088
- {
1089
- var l = typeof Symbol == "function" && Symbol.toStringTag, h = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
1090
- return h;
1091
- }
1092
- }
1093
- function Yt(n) {
1094
- try {
1095
- return We(n), !1;
1096
- } catch {
1097
- return !0;
1098
- }
1099
- }
1100
- function We(n) {
1101
- return "" + n;
1102
- }
1103
- function Ye(n) {
1104
- if (Yt(n))
1105
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wt(n)), We(n);
1106
- }
1107
- var G = R.ReactCurrentOwner, qt = {
1108
- key: !0,
1109
- ref: !0,
1110
- __self: !0,
1111
- __source: !0
1112
- }, qe, Ge, pe;
1113
- pe = {};
1114
- function Gt(n) {
1115
- if (te.call(n, "ref")) {
1116
- var l = Object.getOwnPropertyDescriptor(n, "ref").get;
1117
- if (l && l.isReactWarning)
1118
- return !1;
1119
- }
1120
- return n.ref !== void 0;
1121
- }
1122
- function Jt(n) {
1123
- if (te.call(n, "key")) {
1124
- var l = Object.getOwnPropertyDescriptor(n, "key").get;
1125
- if (l && l.isReactWarning)
1126
- return !1;
1127
- }
1128
- return n.key !== void 0;
1129
- }
1130
- function Kt(n, l) {
1131
- if (typeof n.ref == "string" && G.current && l && G.current.stateNode !== l) {
1132
- var h = D(G.current.type);
1133
- pe[h] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(G.current.type), n.ref), pe[h] = !0);
1134
- }
1135
- }
1136
- function Xt(n, l) {
1137
- {
1138
- var h = function() {
1139
- qe || (qe = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1140
- };
1141
- h.isReactWarning = !0, Object.defineProperty(n, "key", {
1142
- get: h,
1143
- configurable: !0
1144
- });
1145
- }
1146
- }
1147
- function Qt(n, l) {
1148
- {
1149
- var h = function() {
1150
- Ge || (Ge = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1151
- };
1152
- h.isReactWarning = !0, Object.defineProperty(n, "ref", {
1153
- get: h,
1154
- configurable: !0
1155
- });
1156
- }
1157
- }
1158
- var Zt = function(n, l, h, y, E, S, v) {
1159
- var m = {
1160
- // This tag allows us to uniquely identify this as a React Element
1161
- $$typeof: t,
1162
- // Built-in properties that belong on the element
1163
- type: n,
1164
- key: l,
1165
- ref: h,
1166
- props: v,
1167
- // Record the component responsible for creating this element.
1168
- _owner: S
1169
- };
1170
- return m._store = {}, Object.defineProperty(m._store, "validated", {
1171
- configurable: !1,
1172
- enumerable: !1,
1173
- writable: !0,
1174
- value: !1
1175
- }), Object.defineProperty(m, "_self", {
1176
- configurable: !1,
1177
- enumerable: !1,
1178
- writable: !1,
1179
- value: y
1180
- }), Object.defineProperty(m, "_source", {
1181
- configurable: !1,
1182
- enumerable: !1,
1183
- writable: !1,
1184
- value: E
1185
- }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
1186
- };
1187
- function Vt(n, l, h, y, E) {
1188
- {
1189
- var S, v = {}, m = null, x = null;
1190
- h !== void 0 && (Ye(h), m = "" + h), Jt(l) && (Ye(l.key), m = "" + l.key), Gt(l) && (x = l.ref, Kt(l, E));
1191
- for (S in l)
1192
- te.call(l, S) && !qt.hasOwnProperty(S) && (v[S] = l[S]);
1193
- if (n && n.defaultProps) {
1194
- var O = n.defaultProps;
1195
- for (S in O)
1196
- v[S] === void 0 && (v[S] = O[S]);
1197
- }
1198
- if (m || x) {
1199
- var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
1200
- m && Xt(v, P), x && Qt(v, P);
1201
- }
1202
- return Zt(n, m, x, E, y, G.current, v);
1203
- }
1204
- }
1205
- var ge = R.ReactCurrentOwner, Je = R.ReactDebugCurrentFrame;
1206
- function z(n) {
1207
- if (n) {
1208
- var l = n._owner, h = ee(n.type, n._source, l ? l.type : null);
1209
- Je.setExtraStackFrame(h);
1210
- } else
1211
- Je.setExtraStackFrame(null);
1212
- }
1213
- var ye;
1214
- ye = !1;
1215
- function $e(n) {
1216
- return typeof n == "object" && n !== null && n.$$typeof === t;
1217
- }
1218
- function Ke() {
1219
- {
1220
- if (ge.current) {
1221
- var n = D(ge.current.type);
1222
- if (n)
1223
- return `
1224
-
1225
- Check the render method of \`` + n + "`.";
1226
- }
1227
- return "";
1228
- }
1229
- }
1230
- function en(n) {
1231
- {
1232
- if (n !== void 0) {
1233
- var l = n.fileName.replace(/^.*[\\\/]/, ""), h = n.lineNumber;
1234
- return `
1235
-
1236
- Check your code at ` + l + ":" + h + ".";
1237
- }
1238
- return "";
1239
- }
1240
- }
1241
- var Xe = {};
1242
- function tn(n) {
1243
- {
1244
- var l = Ke();
1245
- if (!l) {
1246
- var h = typeof n == "string" ? n : n.displayName || n.name;
1247
- h && (l = `
1248
-
1249
- Check the top-level render call using <` + h + ">.");
1250
- }
1251
- return l;
1252
- }
1253
- }
1254
- function Qe(n, l) {
1255
- {
1256
- if (!n._store || n._store.validated || n.key != null)
1257
- return;
1258
- n._store.validated = !0;
1259
- var h = tn(l);
1260
- if (Xe[h])
1261
- return;
1262
- Xe[h] = !0;
1263
- var y = "";
1264
- n && n._owner && n._owner !== ge.current && (y = " It was passed a child from " + D(n._owner.type) + "."), z(n), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, y), z(null);
1265
- }
1266
- }
1267
- function Ze(n, l) {
1268
- {
1269
- if (typeof n != "object")
1270
- return;
1271
- if (he(n))
1272
- for (var h = 0; h < n.length; h++) {
1273
- var y = n[h];
1274
- $e(y) && Qe(y, l);
1275
- }
1276
- else if ($e(n))
1277
- n._store && (n._store.validated = !0);
1278
- else if (n) {
1279
- var E = _(n);
1280
- if (typeof E == "function" && E !== n.entries)
1281
- for (var S = E.call(n), v; !(v = S.next()).done; )
1282
- $e(v.value) && Qe(v.value, l);
1283
- }
1284
- }
1285
- }
1286
- function nn(n) {
1287
- {
1288
- var l = n.type;
1289
- if (l == null || typeof l == "string")
1290
- return;
1291
- var h;
1292
- if (typeof l == "function")
1293
- h = l.propTypes;
1294
- else if (typeof l == "object" && (l.$$typeof === c || // Note: Memo only checks outer props here.
1295
- // Inner props are checked in the reconciler.
1296
- l.$$typeof === g))
1297
- h = l.propTypes;
1298
- else
1299
- return;
1300
- if (h) {
1301
- var y = D(l);
1302
- Ut(h, n.props, "prop", y, n);
1303
- } else if (l.PropTypes !== void 0 && !ye) {
1304
- ye = !0;
1305
- var E = D(l);
1306
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
1307
- }
1308
- typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1309
- }
1310
- }
1311
- function rn(n) {
1312
- {
1313
- for (var l = Object.keys(n.props), h = 0; h < l.length; h++) {
1314
- var y = l[h];
1315
- if (y !== "children" && y !== "key") {
1316
- z(n), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), z(null);
1317
- break;
1318
- }
1319
- }
1320
- n.ref !== null && (z(n), w("Invalid attribute `ref` supplied to `React.Fragment`."), z(null));
1321
- }
1322
- }
1323
- function Ve(n, l, h, y, E, S) {
1324
- {
1325
- var v = jt(n);
1326
- if (!v) {
1327
- var m = "";
1328
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1329
- var x = en(E);
1330
- x ? m += x : m += Ke();
1331
- var O;
1332
- n === null ? O = "null" : he(n) ? O = "array" : n !== void 0 && n.$$typeof === t ? (O = "<" + (D(n.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : O = typeof n, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, m);
1333
- }
1334
- var P = Vt(n, l, h, E, S);
1335
- if (P == null)
1336
- return P;
1337
- if (v) {
1338
- var j = l.children;
1339
- if (j !== void 0)
1340
- if (y)
1341
- if (he(j)) {
1342
- for (var W = 0; W < j.length; W++)
1343
- Ze(j[W], n);
1344
- Object.freeze && Object.freeze(j);
1345
- } else
1346
- w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1347
- else
1348
- Ze(j, n);
1349
- }
1350
- return n === r ? rn(P) : nn(P), P;
1351
- }
1352
- }
1353
- function an(n, l, h) {
1354
- return Ve(n, l, h, !0);
1355
- }
1356
- function on(n, l, h) {
1357
- return Ve(n, l, h, !1);
1358
- }
1359
- var sn = on, ln = an;
1360
- K.Fragment = r, K.jsx = sn, K.jsxs = ln;
1361
- }()), K;
1362
- }
1363
- process.env.NODE_ENV === "production" ? Te.exports = ar() : Te.exports = or();
1364
- var sr = Te.exports;
1365
- const ir = (e) => e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), Ot = (e) => e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`), lr = (e, t, a = {}) => {
1366
- if (e instanceof Element) {
1367
- const r = cr(e.classList, t, a);
1368
- r !== "" && (e.className = r), Object.keys(t).forEach((o) => {
1369
- if (!(o === "children" || o === "style" || o === "ref" || o === "class" || o === "className" || o === "forwardedRef"))
1370
- if (o.indexOf("on") === 0 && o[2] === o[2].toUpperCase()) {
1371
- const i = o.substring(2), s = i[0].toLowerCase() + i.substring(1);
1372
- Pt(s) || ur(e, s, t[o]);
1373
- } else
1374
- e[o] = t[o], typeof t[o] === "string" && e.setAttribute(Ot(o), t[o]);
1375
- });
1376
- }
1377
- }, cr = (e, t, a) => {
1378
- const r = t.className || t.class, o = a.className || a.class, i = Ee(e), s = Ee(r ? r.split(" ") : []), d = Ee(o ? o.split(" ") : []), c = [];
1379
- return i.forEach((f) => {
1380
- s.has(f) ? (c.push(f), s.delete(f)) : d.has(f) || c.push(f);
1381
- }), s.forEach((f) => c.push(f)), c.join(" ");
1382
- }, dr = (e) => {
1383
- switch (e) {
1384
- case "doubleclick":
1385
- return "dblclick";
1386
- }
1387
- return e;
1388
- };
1389
- /**
1390
- * Checks if an event is supported in the current execution environment.
1391
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
1392
- */
1393
- const Pt = (e) => {
1394
- if (typeof document > "u")
1395
- return !0;
1396
- {
1397
- const t = "on" + dr(e);
1398
- let a = t in document;
1399
- if (!a) {
1400
- const r = document.createElement("div");
1401
- r.setAttribute(t, "return;"), a = typeof r[t] == "function";
1402
- }
1403
- return a;
1404
- }
1405
- }, ur = (e, t, a) => {
1406
- const r = e.__events || (e.__events = {}), o = r[t];
1407
- o && e.removeEventListener(t, o), e.addEventListener(
1408
- t,
1409
- r[t] = function(s) {
1410
- a && a.call(this, s);
1411
- }
1412
- );
1413
- }, Ee = (e) => {
1414
- const t = /* @__PURE__ */ new Map();
1415
- return e.forEach((a) => t.set(a, a)), t;
1416
- }, fr = (e, t) => {
1417
- typeof e == "function" ? e(t) : e != null && (e.current = t);
1418
- }, hr = (...e) => (t) => {
1419
- e.forEach((a) => {
1420
- fr(a, t);
1421
- });
1422
- }, pr = (e, t) => {
1423
- const a = (r, o) => /* @__PURE__ */ sr.jsx(e, { ...r, forwardedRef: o });
1424
- return a.displayName = t, le.forwardRef(a);
1425
- }, u = (e, t, a, r) => {
1426
- r !== void 0 && r();
1427
- const o = ir(e), i = class extends le.Component {
1428
- constructor(d) {
1429
- super(d);
1430
- me(this, "componentEl");
1431
- me(this, "setComponentElRef", (d) => {
1432
- this.componentEl = d;
1433
- });
1434
- }
1435
- componentDidMount() {
1436
- this.componentDidUpdate(this.props);
1437
- }
1438
- componentDidUpdate(d) {
1439
- lr(this.componentEl, this.props, d);
1440
- }
1441
- render() {
1442
- const { children: d, forwardedRef: c, style: f, className: p, ref: g, ...C } = this.props;
1443
- let b = Object.keys(C).reduce((T, _) => {
1444
- const R = C[_];
1445
- if (_.indexOf("on") === 0 && _[2] === _[2].toUpperCase()) {
1446
- const w = _.substring(2).toLowerCase();
1447
- typeof document < "u" && Pt(w) && (T[_] = R);
1448
- } else {
1449
- const w = typeof R;
1450
- (w === "string" || w === "boolean" || w === "number") && (T[Ot(_)] = R);
1451
- }
1452
- return T;
1453
- }, {});
1454
- a && (b = a(this.props, b));
1455
- const k = {
1456
- ...b,
1457
- ref: hr(c, this.setComponentElRef),
1458
- style: f
1459
- };
1460
- return un(e, k, d);
1461
- }
1462
- static get displayName() {
1463
- return o;
1464
- }
1465
- };
1466
- return t && (i.contextType = t), pr(i, o);
1467
- };
1468
- rr();
1469
- const wr = /* @__PURE__ */ u("add-circle-icon"), kr = /* @__PURE__ */ u("archive-icon"), Tr = /* @__PURE__ */ u("arrow-icon"), _r = /* @__PURE__ */ u("bold-icon"), Rr = /* @__PURE__ */ u("calendar-cancel-icon"), Or = /* @__PURE__ */ u("calendar-check-icon"), Pr = /* @__PURE__ */ u("calendar-icon"), Ir = /* @__PURE__ */ u("calendar-info-icon"), xr = /* @__PURE__ */ u("calendar-patterns-icon"), Lr = /* @__PURE__ */ u("checkmark-circle-icon"), Ar = /* @__PURE__ */ u("chevron-icon"), jr = /* @__PURE__ */ u("close-icon"), Nr = /* @__PURE__ */ u("document-refresh-icon"), Dr = /* @__PURE__ */ u("flow-icon"), Hr = /* @__PURE__ */ u("folder-icon"), Fr = /* @__PURE__ */ u("forward-icon"), Mr = /* @__PURE__ */ u("globe-icon"), Br = /* @__PURE__ */ u("inbox-icon"), Ur = /* @__PURE__ */ u("info-icon"), zr = /* @__PURE__ */ u("italic-icon"), Wr = /* @__PURE__ */ u("loading-icon"), Yr = /* @__PURE__ */ u("location-icon"), qr = /* @__PURE__ */ u("location-off-icon"), Gr = /* @__PURE__ */ u("multi-select-dropdown"), Jr = /* @__PURE__ */ u("nylas-additional-participants"), Kr = /* @__PURE__ */ u("nylas-availability-picker"), Xr = /* @__PURE__ */ u("nylas-booked-event-card"), Qr = /* @__PURE__ */ u("nylas-booking-calendar-picker"), Zr = /* @__PURE__ */ u("nylas-booking-form"), Vr = /* @__PURE__ */ u("nylas-buffer-time"), ea = /* @__PURE__ */ u("nylas-calendar-picker"), ta = /* @__PURE__ */ u("nylas-cancel-booking-form"), na = /* @__PURE__ */ u("nylas-cancelled-event-card"), ra = /* @__PURE__ */ u("nylas-composer"), aa = /* @__PURE__ */ u("nylas-custom-booking-flow"), oa = /* @__PURE__ */ u("nylas-date-picker"), sa = /* @__PURE__ */ u("nylas-editor-tabs"), ia = /* @__PURE__ */ u("nylas-event-description"), la = /* @__PURE__ */ u("nylas-event-duration"), ca = /* @__PURE__ */ u("nylas-event-info"), da = /* @__PURE__ */ u("nylas-event-title"), ua = /* @__PURE__ */ u("nylas-form-card"), fa = /* @__PURE__ */ u("nylas-if-state"), ha = /* @__PURE__ */ u("nylas-list-folders"), pa = /* @__PURE__ */ u("nylas-list-threads"), ga = /* @__PURE__ */ u("nylas-locale-switch"), ya = /* @__PURE__ */ u("nylas-location-component"), $a = /* @__PURE__ */ u("nylas-login"), ma = /* @__PURE__ */ u("nylas-logo"), va = /* @__PURE__ */ u("nylas-mailbox"), ba = /* @__PURE__ */ u("nylas-mailbox-pagination"), Ea = /* @__PURE__ */ u("nylas-mailbox-toolbar-button"), Ca = /* @__PURE__ */ u("nylas-notification"), Sa = /* @__PURE__ */ u("nylas-provider"), wa = /* @__PURE__ */ u("nylas-scheduler-editor"), ka = /* @__PURE__ */ u("nylas-scheduling"), Ta = /* @__PURE__ */ u("nylas-selected-event-card"), _a = /* @__PURE__ */ u("nylas-summarize-message-button"), Ra = /* @__PURE__ */ u("nylas-threads-refresh"), Oa = /* @__PURE__ */ u("nylas-threads-search"), Pa = /* @__PURE__ */ u("nylas-time-window-picker"), Ia = /* @__PURE__ */ u("nylas-timeslot-picker"), xa = /* @__PURE__ */ u("nylas-view-email"), La = /* @__PURE__ */ u("nylas-view-thread"), Aa = /* @__PURE__ */ u("people-icon"), ja = /* @__PURE__ */ u("play-icon"), Na = /* @__PURE__ */ u("refresh-icon"), Da = /* @__PURE__ */ u("reply-all-icon"), Ha = /* @__PURE__ */ u("reply-icon"), Fa = /* @__PURE__ */ u("search-icon"), Ma = /* @__PURE__ */ u("select-dropdown"), Ba = /* @__PURE__ */ u("sent-icon"), Ua = /* @__PURE__ */ u("spam-icon"), za = /* @__PURE__ */ u("star-icon"), Wa = /* @__PURE__ */ u("stop-icon"), Ya = /* @__PURE__ */ u("tooltip-component"), qa = /* @__PURE__ */ u("translate-icon"), Ga = /* @__PURE__ */ u("trash-icon"), Ja = /* @__PURE__ */ u("underline-icon"), Ka = /* @__PURE__ */ u("warning-icon");
1470
- function Xa() {
1471
- const [, e] = fn((o) => o + 1, 0), t = ve(), a = ve(null), r = ve(null);
1472
- return hn(() => {
1473
- t.current && (a.current || t.current.getNylasMailboxConnector().then((o) => {
1474
- o && (a.current = o, r.current = a.current.nylasAuthStore, o.nylasAuthStore.on("set", e), e());
1475
- }));
1476
- }, []), [t, r.current];
1477
- }
1478
- export {
1479
- fa as $,
1480
- wr as A,
1481
- _r as B,
1482
- Rr as C,
1483
- Nr as D,
1484
- Xr as E,
1485
- Cr as F,
1486
- Mr as G,
1487
- En as H,
1488
- Br as I,
1489
- Qr as J,
1490
- Zr as K,
1491
- Wr as L,
1492
- Gr as M,
1493
- Jr as N,
1494
- Vr as O,
1495
- ea as P,
1496
- ta as Q,
1497
- na as R,
1498
- ra as S,
1499
- aa as T,
1500
- oa as U,
1501
- sa as V,
1502
- ia as W,
1503
- la as X,
1504
- ca as Y,
1505
- da as Z,
1506
- ua as _,
1507
- br as a,
1508
- ha as a0,
1509
- pa as a1,
1510
- ga as a2,
1511
- ya as a3,
1512
- $a as a4,
1513
- ma as a5,
1514
- va as a6,
1515
- ba as a7,
1516
- Ea as a8,
1517
- Ca as a9,
1518
- Ka as aA,
1519
- Sa as aa,
1520
- wa as ab,
1521
- ka as ac,
1522
- Ta as ad,
1523
- _a as ae,
1524
- Ra as af,
1525
- Oa as ag,
1526
- Pa as ah,
1527
- Ia as ai,
1528
- xa as aj,
1529
- La as ak,
1530
- Aa as al,
1531
- ja as am,
1532
- Na as an,
1533
- Da as ao,
1534
- Ha as ap,
1535
- Fa as aq,
1536
- Ma as ar,
1537
- Ba as as,
1538
- Ua as at,
1539
- za as au,
1540
- Wa as av,
1541
- Ya as aw,
1542
- qa as ax,
1543
- Ga as ay,
1544
- Ja as az,
1545
- mr as b,
1546
- vr as c,
1547
- rr as d,
1548
- kr as e,
1549
- Er as f,
1550
- Tn as g,
1551
- gt as h,
1552
- Tr as i,
1553
- Or as j,
1554
- Pr as k,
1555
- Ir as l,
1556
- xr as m,
1557
- Lr as n,
1558
- Ar as o,
1559
- jr as p,
1560
- Dr as q,
1561
- Sr as r,
1562
- Hr as s,
1563
- Fr as t,
1564
- Xa as u,
1565
- Ur as v,
1566
- zr as w,
1567
- Yr as x,
1568
- qr as y,
1569
- Kr as z
1570
- };