@nylas/react 1.0.2-prealpha1 → 1.1.0-canary.4
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.
- package/dist/add-circle-icon_22.entry-077661c3.cjs +1 -0
- package/dist/add-circle-icon_22.entry-f699d91e.js +1733 -0
- package/dist/{archive-icon_7.entry-91aaa1aa.js → archive-icon_7.entry-40b7ef3b.js} +20 -20
- package/dist/{archive-icon_7.entry-84d70dbf.cjs → archive-icon_7.entry-e8630de9.cjs} +1 -1
- package/dist/arrow-icon.entry-58246303.js +15 -0
- package/dist/{arrow-icon.entry-400a08fa.cjs → arrow-icon.entry-ffa53114.cjs} +1 -1
- package/dist/{bold-icon_3.entry-9ad35153.cjs → bold-icon_3.entry-106a4e77.cjs} +1 -1
- package/dist/{bold-icon_3.entry-4b2798a8.js → bold-icon_3.entry-f5f1643d.js} +4 -4
- package/dist/{calendar-cancel-icon.entry-fcb66929.cjs → calendar-cancel-icon.entry-6ae0fd0f.cjs} +1 -1
- package/dist/{calendar-cancel-icon.entry-83ba884a.js → calendar-cancel-icon.entry-75b15b19.js} +4 -4
- package/dist/calendar-check-icon_2.entry-57339318.js +25 -0
- package/dist/calendar-check-icon_2.entry-c57f83f3.cjs +1 -0
- package/dist/{calendar-icon.entry-8f38af4a.js → calendar-icon.entry-2069fec6.js} +2 -2
- package/dist/{calendar-icon.entry-7bae38d7.cjs → calendar-icon.entry-492c2630.cjs} +1 -1
- package/dist/chevron-icon_3.entry-83df50c3.js +117 -0
- package/dist/chevron-icon_3.entry-878ff6df.cjs +1 -0
- package/dist/close-icon.entry-480c199d.js +15 -0
- package/dist/close-icon.entry-8015ca05.cjs +1 -0
- package/dist/{nylas-booked-event-card_10.entry-7e66a648.js → constants-6ee60d6d-4cd16450.js} +1656 -2374
- package/dist/{nylas-booked-event-card_10.entry-ed515326.cjs → constants-6ee60d6d-6c0540db.cjs} +6 -6
- package/dist/document-refresh-icon.entry-06f7972b.cjs +1 -0
- package/dist/document-refresh-icon.entry-09870b14.js +15 -0
- package/dist/elements/index.d.ts +31 -2
- package/dist/{forward-icon_6.entry-b60fcb35.js → forward-icon_6.entry-8bb201eb.js} +127 -127
- package/dist/{forward-icon_6.entry-3345af84.cjs → forward-icon_6.entry-eeecf2a2.cjs} +3 -3
- package/dist/{globe-icon.entry-8325e73e.cjs → globe-icon.entry-a690028c.cjs} +1 -1
- package/dist/{globe-icon.entry-e3fd373f.js → globe-icon.entry-d515cbfa.js} +4 -4
- package/dist/google-logo-icon_3.entry-2164cec1.js +258 -0
- package/dist/google-logo-icon_3.entry-b2b85284.cjs +1 -0
- package/dist/index-2b8437d6.cjs +30 -0
- package/dist/index-db0c5017.js +1824 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.es-2578c6a5-098d48d0.cjs +7 -0
- package/dist/{index-b30d446a-a90f84b2.js → index.es-2578c6a5-71441142.js} +833 -933
- package/dist/info-icon_2.entry-300ef196.js +34 -0
- package/dist/info-icon_2.entry-e286aaa5.cjs +1 -0
- package/dist/{loading-icon.entry-27410cf8.js → loading-icon.entry-6d8adaa4.js} +4 -4
- package/dist/{loading-icon.entry-b2096d2b.cjs → loading-icon.entry-dc40e97d.cjs} +1 -1
- package/dist/{mailbox-store-19f0c6c9-e3e8b4e5.js → mailbox-store-bb21512c-649a374c.js} +17 -16
- package/dist/mailbox-store-bb21512c-fc3c8c03.cjs +1 -0
- package/dist/nylas-additional-participants.entry-4afba192.js +83 -0
- package/dist/nylas-additional-participants.entry-db05e510.cjs +1 -0
- package/dist/nylas-booked-event-card_10.entry-1ebbe0c0.js +784 -0
- package/dist/nylas-booked-event-card_10.entry-6b6fdfae.cjs +1 -0
- package/dist/nylas-form-card.entry-70b20571.cjs +1 -0
- package/dist/nylas-form-card.entry-7bc23695.js +56 -0
- package/dist/nylas-if-state.entry-3829cb3d.js +96 -0
- package/dist/nylas-if-state.entry-ebeffe22.cjs +1 -0
- package/dist/nylas-list-folders.entry-191688f2.cjs +1 -0
- package/dist/{nylas-list-folders.entry-a5437201.js → nylas-list-folders.entry-7347e78d.js} +9 -8
- package/dist/{nylas-list-threads.entry-fd6cda61.js → nylas-list-threads.entry-432a8d8c.js} +5 -4
- package/dist/nylas-list-threads.entry-44658578.cjs +1 -0
- package/dist/nylas-login.entry-5311f0a7.js +75 -0
- package/dist/nylas-login.entry-db17a3d2.cjs +1 -0
- package/dist/{nylas-mailbox-pagination.entry-988214bc.js → nylas-mailbox-pagination.entry-20150fb2.js} +4 -3
- package/dist/nylas-mailbox-pagination.entry-9d3f5baa.cjs +1 -0
- package/dist/nylas-mailbox-toolbar-button.entry-6c0f7299.cjs +1 -0
- package/dist/{nylas-mailbox-toolbar-button.entry-c720e22a.js → nylas-mailbox-toolbar-button.entry-eec426d5.js} +11 -10
- package/dist/nylas-mailbox.entry-b6c758b9.js +136 -0
- package/dist/nylas-mailbox.entry-d41401e0.cjs +1 -0
- package/dist/{nylas-provider.entry-70721009.js → nylas-provider.entry-271cafd2.js} +46 -33
- package/dist/nylas-provider.entry-6173b721.cjs +1 -0
- package/dist/nylas-scheduler-editor.entry-0c75d39e.cjs +7 -0
- package/dist/nylas-scheduler-editor.entry-b51ad4b1.js +2192 -0
- package/dist/nylas-scheduling.entry-081c8825.cjs +1 -0
- package/dist/nylas-scheduling.entry-0a8d1da8.js +237 -0
- package/dist/{nylas-threads-refresh.entry-b7f9e93f.js → nylas-threads-refresh.entry-72dd854e.js} +6 -5
- package/dist/nylas-threads-refresh.entry-c3509e6a.cjs +1 -0
- package/dist/nylas-threads-search.entry-16a59ef6.cjs +1 -0
- package/dist/{nylas-threads-search.entry-95afea9c.js → nylas-threads-search.entry-4750a187.js} +15 -14
- package/dist/nylas-view-thread.entry-27df3349.cjs +1 -0
- package/dist/{nylas-view-thread.entry-165173b1.js → nylas-view-thread.entry-c6adce43.js} +5 -4
- package/dist/people-icon.entry-342be0c8.js +15 -0
- package/dist/people-icon.entry-35252ca9.cjs +1 -0
- package/dist/play-icon_2.entry-0787352c.js +25 -0
- package/dist/play-icon_2.entry-f83fa92a.cjs +1 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +92 -61
- package/dist/{refresh-icon.entry-e48a338f.js → refresh-icon.entry-8fbabfe7.js} +2 -2
- package/dist/{refresh-icon.entry-601cac89.cjs → refresh-icon.entry-ddbc5446.cjs} +1 -1
- package/dist/{register-component-152c6ad2-a06f58c2.js → register-component-dc659dc3-e43e8fae.js} +2 -2
- package/dist/{register-component-152c6ad2-0df7215b.cjs → register-component-dc659dc3-fb85ee68.cjs} +1 -1
- package/dist/scheduler-config-store-51ee4f42-66f8c2ac.js +14 -0
- package/dist/scheduler-config-store-51ee4f42-d7d9c25d.cjs +1 -0
- package/dist/scheduler-store-72116723-ce4c7a69.cjs +1 -0
- package/dist/{scheduler-store-7d48e682-0c0c3991.js → scheduler-store-72116723-e5f87122.js} +100 -95
- package/dist/time-period-selector.entry-333942a8.js +78 -0
- package/dist/time-period-selector.entry-78d5b3c2.cjs +1 -0
- package/dist/translate-icon.entry-87a62108.js +15 -0
- package/dist/translate-icon.entry-cb19864c.cjs +1 -0
- package/dist/utils-c00bdc3c-89ab163d.js +2111 -0
- package/dist/utils-c00bdc3c-94b9c3b6.cjs +8 -0
- package/dist/warning-icon.entry-50755d91.cjs +1 -0
- package/dist/warning-icon.entry-7a72e24a.js +15 -0
- package/package.json +7 -4
- package/dist/add-circle-icon.entry-2ccb238b.cjs +0 -1
- package/dist/add-circle-icon.entry-35d6aa07.js +0 -15
- package/dist/arrow-icon.entry-8b2e96a6.js +0 -15
- package/dist/calendar-check-icon_3.entry-903e2d82.js +0 -35
- package/dist/calendar-check-icon_3.entry-a16ce05e.cjs +0 -1
- package/dist/chevron-icon.entry-58366662.cjs +0 -1
- package/dist/chevron-icon.entry-5e11cef5.js +0 -15
- package/dist/close-icon_2.entry-011d9cf4.js +0 -25
- package/dist/close-icon_2.entry-83088b9a.cjs +0 -1
- package/dist/document-refresh-icon.entry-071ffd66.cjs +0 -1
- package/dist/document-refresh-icon.entry-9083a2e9.js +0 -15
- package/dist/duration-bddc4a13-05d3e3e2.cjs +0 -1
- package/dist/duration-bddc4a13-179ce826.js +0 -41
- package/dist/index-3b6f5cd5.cjs +0 -30
- package/dist/index-630f4e87.js +0 -1498
- package/dist/index-b30d446a-cbbef925.cjs +0 -7
- package/dist/mailbox-store-19f0c6c9-a0cbfa97.cjs +0 -1
- package/dist/nylas-if-state_3.entry-504be976.cjs +0 -1
- package/dist/nylas-if-state_3.entry-e96d01f1.js +0 -291
- package/dist/nylas-list-folders.entry-866361cc.cjs +0 -1
- package/dist/nylas-list-threads.entry-04989295.cjs +0 -1
- package/dist/nylas-mailbox-pagination.entry-e0bd4aef.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-3d772b26.cjs +0 -1
- package/dist/nylas-open-hours-picker.entry-6bdc7c73.js +0 -186
- package/dist/nylas-open-hours-picker.entry-881b6db7.cjs +0 -1
- package/dist/nylas-provider.entry-8d9a844b.cjs +0 -1
- package/dist/nylas-scheduler.entry-7321e18f.js +0 -230
- package/dist/nylas-scheduler.entry-e82977fb.cjs +0 -1
- package/dist/nylas-threads-refresh.entry-477e68e4.cjs +0 -1
- package/dist/nylas-threads-search.entry-c5854641.cjs +0 -1
- package/dist/nylas-view-thread.entry-8b72cbdb.cjs +0 -1
- package/dist/play-icon_2.entry-ed5877e3.js +0 -25
- package/dist/play-icon_2.entry-f23ed6c1.cjs +0 -1
- package/dist/scheduler-store-7d48e682-674705ef.cjs +0 -1
- package/dist/search-icon_3.entry-292138c3.js +0 -101
- package/dist/search-icon_3.entry-8e555357.cjs +0 -1
- package/dist/utils-5074a070-ce33ee6b.js +0 -119
- package/dist/utils-5074a070-d5ba6add.cjs +0 -2
package/dist/index-630f4e87.js
DELETED
|
@@ -1,1498 +0,0 @@
|
|
|
1
|
-
var cn = Object.defineProperty;
|
|
2
|
-
var un = (e, t, s) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
|
-
var ve = (e, t, s) => (un(e, typeof t != "symbol" ? t + "" : t, s), s);
|
|
4
|
-
import ie, { createElement as dn, useReducer as fn, useRef as me, useEffect as hn } from "react";
|
|
5
|
-
import "react-dom";
|
|
6
|
-
function gr() {
|
|
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 s = 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 || !s() || 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 re, Te, L = !1, Se = null, we = !1;
|
|
31
|
-
const M = (e, t = "") => () => {
|
|
32
|
-
}, $n = (e, t) => () => {
|
|
33
|
-
}, gn = "{visibility:hidden}.hydrated{visibility:inherit}", ht = "slot-fb{display:contents}slot-fb[hidden]{display:none}", tt = {}, yn = "http://www.w3.org/2000/svg", vn = "http://www.w3.org/1999/xhtml", mn = (e) => e != null, Re = (e) => (e = typeof e, e === "object" || e === "function");
|
|
34
|
-
function pt(e) {
|
|
35
|
-
var t, s, r;
|
|
36
|
-
return (r = (s = (t = e.head) === null || t === void 0 ? void 0 : t.querySelector('meta[name="csp-nonce"]')) === null || s === void 0 ? void 0 : s.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
|
|
37
|
-
}
|
|
38
|
-
const $t = (e, t, ...s) => {
|
|
39
|
-
let r = null, o = null, l = !1, a = !1;
|
|
40
|
-
const u = [], c = ($) => {
|
|
41
|
-
for (let p = 0; p < $.length; p++)
|
|
42
|
-
r = $[p], Array.isArray(r) ? c(r) : r != null && typeof r != "boolean" && ((l = typeof e != "function" && !Re(r)) && (r = String(r)), l && a ? u[u.length - 1].$text$ += r : u.push(l ? se(null, r) : r), a = l);
|
|
43
|
-
};
|
|
44
|
-
if (c(s), t) {
|
|
45
|
-
t.key && (o = t.key);
|
|
46
|
-
{
|
|
47
|
-
const $ = t.className || t.class;
|
|
48
|
-
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((p) => $[p]).join(" "));
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
if (typeof e == "function")
|
|
52
|
-
return e(t === null ? {} : t, u, Sn);
|
|
53
|
-
const f = se(e, null);
|
|
54
|
-
return f.$attrs$ = t, u.length > 0 && (f.$children$ = u), f.$key$ = o, f;
|
|
55
|
-
}, se = (e, t) => {
|
|
56
|
-
const s = {
|
|
57
|
-
$flags$: 0,
|
|
58
|
-
$tag$: e,
|
|
59
|
-
$text$: t,
|
|
60
|
-
$elm$: null,
|
|
61
|
-
$children$: null
|
|
62
|
-
};
|
|
63
|
-
return s.$attrs$ = null, s.$key$ = null, s;
|
|
64
|
-
}, bn = {}, En = (e) => e && e.$tag$ === bn, Sn = {
|
|
65
|
-
forEach: (e, t) => e.map(nt).forEach(t),
|
|
66
|
-
map: (e, t) => e.map(nt).map(t).map(wn)
|
|
67
|
-
}, nt = (e) => ({
|
|
68
|
-
vattrs: e.$attrs$,
|
|
69
|
-
vchildren: e.$children$,
|
|
70
|
-
vkey: e.$key$,
|
|
71
|
-
vname: e.$name$,
|
|
72
|
-
vtag: e.$tag$,
|
|
73
|
-
vtext: e.$text$
|
|
74
|
-
}), wn = (e) => {
|
|
75
|
-
if (typeof e.vtag == "function") {
|
|
76
|
-
const s = Object.assign({}, e.vattrs);
|
|
77
|
-
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), $t(e.vtag, s, ...e.vchildren || []);
|
|
78
|
-
}
|
|
79
|
-
const t = se(e.vtag, e.vtext);
|
|
80
|
-
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
81
|
-
}, kn = (e, t) => e != null && !Re(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _n = (e) => N(e).$hostElement$, yr = (e, t, s) => {
|
|
82
|
-
const r = _n(e);
|
|
83
|
-
return {
|
|
84
|
-
emit: (o) => gt(r, t, {
|
|
85
|
-
bubbles: !!(s & 4),
|
|
86
|
-
composed: !!(s & 2),
|
|
87
|
-
cancelable: !!(s & 1),
|
|
88
|
-
detail: o
|
|
89
|
-
})
|
|
90
|
-
};
|
|
91
|
-
}, gt = (e, t, s) => {
|
|
92
|
-
const r = O.ce(t, s);
|
|
93
|
-
return e.dispatchEvent(r), r;
|
|
94
|
-
}, rt = /* @__PURE__ */ new WeakMap(), Cn = (e, t, s) => {
|
|
95
|
-
let r = ae.get(e);
|
|
96
|
-
Qn && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, ae.set(e, r);
|
|
97
|
-
}, Tn = (e, t, s) => {
|
|
98
|
-
var r;
|
|
99
|
-
const o = yt(t), l = ae.get(o);
|
|
100
|
-
if (e = e.nodeType === 11 ? e : j, l)
|
|
101
|
-
if (typeof l == "string") {
|
|
102
|
-
e = e.head || e;
|
|
103
|
-
let a = rt.get(e), u;
|
|
104
|
-
if (a || rt.set(e, a = /* @__PURE__ */ new Set()), !a.has(o)) {
|
|
105
|
-
{
|
|
106
|
-
u = j.createElement("style"), u.innerHTML = l;
|
|
107
|
-
const c = (r = O.$nonce$) !== null && r !== void 0 ? r : pt(j);
|
|
108
|
-
c != null && u.setAttribute("nonce", c), e.insertBefore(u, e.querySelector("link"));
|
|
109
|
-
}
|
|
110
|
-
t.$flags$ & 4 && (u.innerHTML += ht), a && a.add(o);
|
|
111
|
-
}
|
|
112
|
-
} else
|
|
113
|
-
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
|
114
|
-
return o;
|
|
115
|
-
}, Rn = (e) => {
|
|
116
|
-
const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, o = M("attachStyles", t.$tagName$), l = Tn(s.shadowRoot ? s.shadowRoot : s.getRootNode(), t);
|
|
117
|
-
r & 10 && (s["s-sc"] = l, s.classList.add(l + "-h"), r & 2 && s.classList.add(l + "-s")), o();
|
|
118
|
-
}, yt = (e, t) => "sc-" + e.$tagName$, st = (e, t, s, r, o, l) => {
|
|
119
|
-
if (s !== r) {
|
|
120
|
-
let a = lt(e, t), u = t.toLowerCase();
|
|
121
|
-
if (t === "class") {
|
|
122
|
-
const c = e.classList, f = ot(s), $ = ot(r);
|
|
123
|
-
c.remove(...f.filter((p) => p && !$.includes(p))), c.add(...$.filter((p) => p && !f.includes(p)));
|
|
124
|
-
} else if (t === "style") {
|
|
125
|
-
for (const c in s)
|
|
126
|
-
(!r || r[c] == null) && (c.includes("-") ? e.style.removeProperty(c) : e.style[c] = "");
|
|
127
|
-
for (const c in r)
|
|
128
|
-
(!s || r[c] !== s[c]) && (c.includes("-") ? e.style.setProperty(c, r[c]) : e.style[c] = r[c]);
|
|
129
|
-
} else if (t !== "key")
|
|
130
|
-
if (t === "ref")
|
|
131
|
-
r && r(e);
|
|
132
|
-
else if (!a && t[0] === "o" && t[1] === "n") {
|
|
133
|
-
if (t[2] === "-" ? t = t.slice(3) : lt(K, u) ? t = u.slice(2) : t = u[2] + t.slice(3), s || r) {
|
|
134
|
-
const c = t.endsWith(vt);
|
|
135
|
-
t = t.replace(Pn, ""), s && O.rel(e, t, s, c), r && O.ael(e, t, r, c);
|
|
136
|
-
}
|
|
137
|
-
} else {
|
|
138
|
-
const c = Re(r);
|
|
139
|
-
if ((a || c && r !== null) && !o)
|
|
140
|
-
try {
|
|
141
|
-
if (e.tagName.includes("-"))
|
|
142
|
-
e[t] = r;
|
|
143
|
-
else {
|
|
144
|
-
const f = r ?? "";
|
|
145
|
-
t === "list" ? a = !1 : (s == null || e[t] != f) && (e[t] = f);
|
|
146
|
-
}
|
|
147
|
-
} catch {
|
|
148
|
-
}
|
|
149
|
-
r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || l & 4 || o) && !c && (r = r === !0 ? "" : r, e.setAttribute(t, r));
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}, xn = /\s/, ot = (e) => e ? e.split(xn) : [], vt = "Capture", Pn = new RegExp(vt + "$"), mt = (e, t, s, r) => {
|
|
153
|
-
const o = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, l = e && e.$attrs$ || tt, a = t.$attrs$ || tt;
|
|
154
|
-
for (r in l)
|
|
155
|
-
r in a || st(o, r, l[r], void 0, s, t.$flags$);
|
|
156
|
-
for (r in a)
|
|
157
|
-
st(o, r, l[r], a[r], s, t.$flags$);
|
|
158
|
-
}, oe = (e, t, s, r) => {
|
|
159
|
-
const o = t.$children$[s];
|
|
160
|
-
let l = 0, a, u;
|
|
161
|
-
if (o.$text$ !== null)
|
|
162
|
-
a = o.$elm$ = j.createTextNode(o.$text$);
|
|
163
|
-
else {
|
|
164
|
-
if (L || (L = o.$tag$ === "svg"), a = o.$elm$ = j.createElementNS(L ? yn : vn, o.$tag$), L && o.$tag$ === "foreignObject" && (L = !1), mt(null, o, L), mn(re) && a["s-si"] !== re && a.classList.add(a["s-si"] = re), o.$children$)
|
|
165
|
-
for (l = 0; l < o.$children$.length; ++l)
|
|
166
|
-
u = oe(e, o, l), u && a.appendChild(u);
|
|
167
|
-
o.$tag$ === "svg" ? L = !1 : a.tagName === "foreignObject" && (L = !0);
|
|
168
|
-
}
|
|
169
|
-
return a["s-hn"] = Te, a;
|
|
170
|
-
}, bt = (e, t, s, r, o, l) => {
|
|
171
|
-
let a = e, u;
|
|
172
|
-
for (a.shadowRoot && a.tagName === Te && (a = a.shadowRoot); o <= l; ++o)
|
|
173
|
-
r[o] && (u = oe(null, s, o), u && (r[o].$elm$ = u, a.insertBefore(u, t)));
|
|
174
|
-
}, Et = (e, t, s) => {
|
|
175
|
-
for (let r = t; r <= s; ++r) {
|
|
176
|
-
const o = e[r];
|
|
177
|
-
if (o) {
|
|
178
|
-
const l = o.$elm$;
|
|
179
|
-
St(o), l && l.remove();
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}, On = (e, t, s, r, o = !1) => {
|
|
183
|
-
let l = 0, a = 0, u = 0, c = 0, f = t.length - 1, $ = t[0], p = t[f], S = r.length - 1, b = r[0], _ = r[S], C, T;
|
|
184
|
-
for (; l <= f && a <= S; )
|
|
185
|
-
if ($ == null)
|
|
186
|
-
$ = t[++l];
|
|
187
|
-
else if (p == null)
|
|
188
|
-
p = t[--f];
|
|
189
|
-
else if (b == null)
|
|
190
|
-
b = r[++a];
|
|
191
|
-
else if (_ == null)
|
|
192
|
-
_ = r[--S];
|
|
193
|
-
else if (ne($, b, o))
|
|
194
|
-
z($, b, o), $ = t[++l], b = r[++a];
|
|
195
|
-
else if (ne(p, _, o))
|
|
196
|
-
z(p, _, o), p = t[--f], _ = r[--S];
|
|
197
|
-
else if (ne($, _, o))
|
|
198
|
-
z($, _, o), e.insertBefore($.$elm$, p.$elm$.nextSibling), $ = t[++l], _ = r[--S];
|
|
199
|
-
else if (ne(p, b, o))
|
|
200
|
-
z(p, b, o), e.insertBefore(p.$elm$, $.$elm$), p = t[--f], b = r[++a];
|
|
201
|
-
else {
|
|
202
|
-
for (u = -1, c = l; c <= f; ++c)
|
|
203
|
-
if (t[c] && t[c].$key$ !== null && t[c].$key$ === b.$key$) {
|
|
204
|
-
u = c;
|
|
205
|
-
break;
|
|
206
|
-
}
|
|
207
|
-
u >= 0 ? (T = t[u], T.$tag$ !== b.$tag$ ? C = oe(t && t[a], s, u) : (z(T, b, o), t[u] = void 0, C = T.$elm$), b = r[++a]) : (C = oe(t && t[a], s, a), b = r[++a]), C && $.$elm$.parentNode.insertBefore(C, $.$elm$);
|
|
208
|
-
}
|
|
209
|
-
l > f ? bt(e, r[S + 1] == null ? null : r[S + 1].$elm$, s, r, a, S) : a > S && Et(t, l, f);
|
|
210
|
-
}, ne = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, z = (e, t, s = !1) => {
|
|
211
|
-
const r = t.$elm$ = e.$elm$, o = e.$children$, l = t.$children$, a = t.$tag$, u = t.$text$;
|
|
212
|
-
u === null ? (L = a === "svg" ? !0 : a === "foreignObject" ? !1 : L, a === "slot" || mt(e, t, L), o !== null && l !== null ? On(r, o, t, l, s) : l !== null ? (e.$text$ !== null && (r.textContent = ""), bt(r, null, t, l, 0, l.length - 1)) : o !== null && Et(o, 0, o.length - 1), L && a === "svg" && (L = !1)) : e.$text$ !== u && (r.data = u);
|
|
213
|
-
}, St = (e) => {
|
|
214
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(St);
|
|
215
|
-
}, In = (e, t, s = !1) => {
|
|
216
|
-
const r = e.$hostElement$, o = e.$vnode$ || se(null, null), l = En(t) ? t : $t(null, null, t);
|
|
217
|
-
if (Te = r.tagName, s && l.$attrs$)
|
|
218
|
-
for (const a of Object.keys(l.$attrs$))
|
|
219
|
-
r.hasAttribute(a) && !["key", "ref", "style", "class"].includes(a) && (l.$attrs$[a] = r[a]);
|
|
220
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = o.$elm$ = r.shadowRoot || r, re = r["s-sc"], z(o, l, s);
|
|
221
|
-
}, wt = (e, t) => {
|
|
222
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
|
223
|
-
}, le = (e, t) => {
|
|
224
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
225
|
-
e.$flags$ |= 512;
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
|
-
return wt(e, e.$ancestorComponent$), Vn(() => Ln(e, t));
|
|
229
|
-
}, Ln = (e, t) => {
|
|
230
|
-
const s = M("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
231
|
-
let o;
|
|
232
|
-
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([l, a]) => Y(r, l, a)), e.$queuedListeners$ = void 0), o = Y(r, "componentWillLoad")), o = at(o, () => Y(r, "componentWillRender")), s(), at(o, () => An(e, r, t));
|
|
233
|
-
}, at = (e, t) => jn(e) ? e.then(t) : t(), jn = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", An = async (e, t, s) => {
|
|
234
|
-
var r;
|
|
235
|
-
const o = e.$hostElement$, l = M("update", e.$cmpMeta$.$tagName$), a = o["s-rc"];
|
|
236
|
-
s && Rn(e);
|
|
237
|
-
const u = M("render", e.$cmpMeta$.$tagName$);
|
|
238
|
-
Dn(e, t, o, s), a && (a.map((c) => c()), o["s-rc"] = void 0), u(), l();
|
|
239
|
-
{
|
|
240
|
-
const c = (r = o["s-p"]) !== null && r !== void 0 ? r : [], f = () => Fn(e);
|
|
241
|
-
c.length === 0 ? f() : (Promise.all(c).then(f), e.$flags$ |= 4, c.length = 0);
|
|
242
|
-
}
|
|
243
|
-
}, Dn = (e, t, s, r) => {
|
|
244
|
-
try {
|
|
245
|
-
Se = t, t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, In(e, t, r);
|
|
246
|
-
} catch (o) {
|
|
247
|
-
v(o, e.$hostElement$);
|
|
248
|
-
}
|
|
249
|
-
return Se = null, null;
|
|
250
|
-
}, vr = () => Se, Fn = (e) => {
|
|
251
|
-
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = M("postUpdate", t), o = e.$lazyInstance$, l = e.$ancestorComponent$;
|
|
252
|
-
e.$flags$ & 64 ? r() : (e.$flags$ |= 64, _t(s), Y(o, "componentDidLoad"), r(), e.$onReadyResolve$(s), l || kt()), e.$onInstanceResolve$(s), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Pe(() => le(e, !1)), e.$flags$ &= -517;
|
|
253
|
-
}, mr = (e) => {
|
|
254
|
-
{
|
|
255
|
-
const t = N(e), s = t.$hostElement$.isConnected;
|
|
256
|
-
return s && (t.$flags$ & 18) === 2 && le(t, !1), s;
|
|
257
|
-
}
|
|
258
|
-
}, kt = (e) => {
|
|
259
|
-
_t(j.documentElement), Pe(() => gt(K, "appload", { detail: { namespace: pn } }));
|
|
260
|
-
}, Y = (e, t, s) => {
|
|
261
|
-
if (e && e[t])
|
|
262
|
-
try {
|
|
263
|
-
return e[t](s);
|
|
264
|
-
} catch (r) {
|
|
265
|
-
v(r);
|
|
266
|
-
}
|
|
267
|
-
}, _t = (e) => e.classList.add("hydrated"), Mn = (e, t) => N(e).$instanceValues$.get(t), Nn = (e, t, s, r) => {
|
|
268
|
-
const o = N(e), l = o.$hostElement$, a = o.$instanceValues$.get(t), u = o.$flags$, c = o.$lazyInstance$;
|
|
269
|
-
s = kn(s, r.$members$[t][0]);
|
|
270
|
-
const f = Number.isNaN(a) && Number.isNaN(s), $ = s !== a && !f;
|
|
271
|
-
if ((!(u & 8) || a === void 0) && $ && (o.$instanceValues$.set(t, s), c)) {
|
|
272
|
-
if (r.$watchers$ && u & 128) {
|
|
273
|
-
const p = r.$watchers$[t];
|
|
274
|
-
p && p.map((S) => {
|
|
275
|
-
try {
|
|
276
|
-
c[S](s, a, t);
|
|
277
|
-
} catch (b) {
|
|
278
|
-
v(b, l);
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
(u & 18) === 2 && le(o, !1);
|
|
283
|
-
}
|
|
284
|
-
}, Ct = (e, t, s) => {
|
|
285
|
-
var r;
|
|
286
|
-
const o = e.prototype;
|
|
287
|
-
if (t.$members$) {
|
|
288
|
-
e.watchers && (t.$watchers$ = e.watchers);
|
|
289
|
-
const l = Object.entries(t.$members$);
|
|
290
|
-
if (l.map(([a, [u]]) => {
|
|
291
|
-
u & 31 || s & 2 && u & 32 ? Object.defineProperty(o, a, {
|
|
292
|
-
get() {
|
|
293
|
-
return Mn(this, a);
|
|
294
|
-
},
|
|
295
|
-
set(c) {
|
|
296
|
-
Nn(this, a, c, t);
|
|
297
|
-
},
|
|
298
|
-
configurable: !0,
|
|
299
|
-
enumerable: !0
|
|
300
|
-
}) : s & 1 && u & 64 && Object.defineProperty(o, a, {
|
|
301
|
-
value(...c) {
|
|
302
|
-
var f;
|
|
303
|
-
const $ = N(this);
|
|
304
|
-
return (f = $ == null ? void 0 : $.$onInstancePromise$) === null || f === void 0 ? void 0 : f.then(() => {
|
|
305
|
-
var p;
|
|
306
|
-
return (p = $.$lazyInstance$) === null || p === void 0 ? void 0 : p[a](...c);
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
});
|
|
310
|
-
}), s & 1) {
|
|
311
|
-
const a = /* @__PURE__ */ new Map();
|
|
312
|
-
o.attributeChangedCallback = function(u, c, f) {
|
|
313
|
-
O.jmp(() => {
|
|
314
|
-
var $;
|
|
315
|
-
const p = a.get(u);
|
|
316
|
-
if (this.hasOwnProperty(p))
|
|
317
|
-
f = this[p], delete this[p];
|
|
318
|
-
else {
|
|
319
|
-
if (o.hasOwnProperty(p) && typeof this[p] == "number" && this[p] == f)
|
|
320
|
-
return;
|
|
321
|
-
if (p == null) {
|
|
322
|
-
const S = N(this), b = S == null ? void 0 : S.$flags$;
|
|
323
|
-
if (b && !(b & 8) && b & 128 && f !== c) {
|
|
324
|
-
const _ = S.$lazyInstance$, C = ($ = t.$watchers$) === null || $ === void 0 ? void 0 : $[u];
|
|
325
|
-
C == null || C.forEach((T) => {
|
|
326
|
-
_[T] != null && _[T].call(_, f, c, u);
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
return;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
this[p] = f === null && typeof this[p] == "boolean" ? !1 : f;
|
|
333
|
-
});
|
|
334
|
-
}, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([
|
|
335
|
-
...Object.keys((r = t.$watchers$) !== null && r !== void 0 ? r : {}),
|
|
336
|
-
...l.filter(
|
|
337
|
-
([u, c]) => c[0] & 15
|
|
338
|
-
/* MEMBER_FLAGS.HasAttribute */
|
|
339
|
-
).map(([u, c]) => {
|
|
340
|
-
const f = c[1] || u;
|
|
341
|
-
return a.set(f, u), f;
|
|
342
|
-
})
|
|
343
|
-
]));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
return e;
|
|
347
|
-
}, Un = async (e, t, s, r) => {
|
|
348
|
-
let o;
|
|
349
|
-
if (!(t.$flags$ & 32)) {
|
|
350
|
-
t.$flags$ |= 32;
|
|
351
|
-
{
|
|
352
|
-
if (o = Jn(s), o.then) {
|
|
353
|
-
const c = $n();
|
|
354
|
-
o = await o, c();
|
|
355
|
-
}
|
|
356
|
-
o.isProxied || (s.$watchers$ = o.watchers, Ct(
|
|
357
|
-
o,
|
|
358
|
-
s,
|
|
359
|
-
2
|
|
360
|
-
/* PROXY_FLAGS.proxyState */
|
|
361
|
-
), o.isProxied = !0);
|
|
362
|
-
const u = M("createInstance", s.$tagName$);
|
|
363
|
-
t.$flags$ |= 8;
|
|
364
|
-
try {
|
|
365
|
-
new o(t);
|
|
366
|
-
} catch (c) {
|
|
367
|
-
v(c);
|
|
368
|
-
}
|
|
369
|
-
t.$flags$ &= -9, t.$flags$ |= 128, u(), ke(t.$lazyInstance$);
|
|
370
|
-
}
|
|
371
|
-
if (o.style) {
|
|
372
|
-
let u = o.style;
|
|
373
|
-
const c = yt(s);
|
|
374
|
-
if (!ae.has(c)) {
|
|
375
|
-
const f = M("registerStyles", s.$tagName$);
|
|
376
|
-
Cn(c, u, !!(s.$flags$ & 1)), f();
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
const l = t.$ancestorComponent$, a = () => le(t, !0);
|
|
381
|
-
l && l["s-rc"] ? l["s-rc"].push(a) : a();
|
|
382
|
-
}, ke = (e) => {
|
|
383
|
-
Y(e, "connectedCallback");
|
|
384
|
-
}, Hn = (e) => {
|
|
385
|
-
if (!(O.$flags$ & 1)) {
|
|
386
|
-
const t = N(e), s = t.$cmpMeta$, r = M("connectedCallback", s.$tagName$);
|
|
387
|
-
if (t.$flags$ & 1)
|
|
388
|
-
Tt(e, t, s.$listeners$), t != null && t.$lazyInstance$ ? ke(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ke(t.$lazyInstance$));
|
|
389
|
-
else {
|
|
390
|
-
t.$flags$ |= 1;
|
|
391
|
-
{
|
|
392
|
-
let o = e;
|
|
393
|
-
for (; o = o.parentNode || o.host; )
|
|
394
|
-
if (o["s-p"]) {
|
|
395
|
-
wt(t, t.$ancestorComponent$ = o);
|
|
396
|
-
break;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
s.$members$ && Object.entries(s.$members$).map(([o, [l]]) => {
|
|
400
|
-
if (l & 31 && e.hasOwnProperty(o)) {
|
|
401
|
-
const a = e[o];
|
|
402
|
-
delete e[o], e[o] = a;
|
|
403
|
-
}
|
|
404
|
-
}), Un(e, t, s);
|
|
405
|
-
}
|
|
406
|
-
r();
|
|
407
|
-
}
|
|
408
|
-
}, it = (e) => {
|
|
409
|
-
Y(e, "disconnectedCallback");
|
|
410
|
-
}, Bn = async (e) => {
|
|
411
|
-
if (!(O.$flags$ & 1)) {
|
|
412
|
-
const t = N(e);
|
|
413
|
-
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? it(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => it(t.$lazyInstance$));
|
|
414
|
-
}
|
|
415
|
-
}, Wn = (e, t = {}) => {
|
|
416
|
-
var s;
|
|
417
|
-
const r = M(), o = [], l = t.exclude || [], a = K.customElements, u = j.head, c = /* @__PURE__ */ u.querySelector("meta[charset]"), f = /* @__PURE__ */ j.createElement("style"), $ = [];
|
|
418
|
-
let p, S = !0;
|
|
419
|
-
Object.assign(O, t), O.$resourcesUrl$ = new URL(t.resourcesUrl || "./", j.baseURI).href;
|
|
420
|
-
let b = !1;
|
|
421
|
-
if (e.map((_) => {
|
|
422
|
-
_[1].map((C) => {
|
|
423
|
-
var T;
|
|
424
|
-
const x = {
|
|
425
|
-
$flags$: C[0],
|
|
426
|
-
$tagName$: C[1],
|
|
427
|
-
$members$: C[2],
|
|
428
|
-
$listeners$: C[3]
|
|
429
|
-
};
|
|
430
|
-
x.$flags$ & 4 && (b = !0), x.$members$ = C[2], x.$listeners$ = C[3], x.$watchers$ = (T = C[4]) !== null && T !== void 0 ? T : {};
|
|
431
|
-
const k = x.$tagName$, ce = class extends HTMLElement {
|
|
432
|
-
// StencilLazyHost
|
|
433
|
-
constructor(H) {
|
|
434
|
-
super(H), H = this, Gn(H, x), x.$flags$ & 1 && H.attachShadow({ mode: "open" });
|
|
435
|
-
}
|
|
436
|
-
connectedCallback() {
|
|
437
|
-
p && (clearTimeout(p), p = null), S ? $.push(this) : O.jmp(() => Hn(this));
|
|
438
|
-
}
|
|
439
|
-
disconnectedCallback() {
|
|
440
|
-
O.jmp(() => Bn(this));
|
|
441
|
-
}
|
|
442
|
-
componentOnReady() {
|
|
443
|
-
return N(this).$onReadyPromise$;
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
x.$lazyBundleId$ = _[0], !l.includes(k) && !a.get(k) && (o.push(k), a.define(k, Ct(
|
|
447
|
-
ce,
|
|
448
|
-
x,
|
|
449
|
-
1
|
|
450
|
-
/* PROXY_FLAGS.isElementConstructor */
|
|
451
|
-
)));
|
|
452
|
-
});
|
|
453
|
-
}), b && (f.innerHTML += ht), f.innerHTML += o + gn, f.innerHTML.length) {
|
|
454
|
-
f.setAttribute("data-styles", "");
|
|
455
|
-
const _ = (s = O.$nonce$) !== null && s !== void 0 ? s : pt(j);
|
|
456
|
-
_ != null && f.setAttribute("nonce", _), u.insertBefore(f, c ? c.nextSibling : u.firstChild);
|
|
457
|
-
}
|
|
458
|
-
S = !1, $.length ? $.map((_) => _.connectedCallback()) : O.jmp(() => p = setTimeout(kt, 30)), r();
|
|
459
|
-
}, br = (e, t) => t, Tt = (e, t, s, r) => {
|
|
460
|
-
s && s.map(([o, l, a]) => {
|
|
461
|
-
const u = Yn(e, o), c = zn(t, a), f = qn(o);
|
|
462
|
-
O.ael(u, l, c, f), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => O.rel(u, l, c, f));
|
|
463
|
-
});
|
|
464
|
-
}, zn = (e, t) => (s) => {
|
|
465
|
-
try {
|
|
466
|
-
e.$flags$ & 256 ? e.$lazyInstance$[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
|
|
467
|
-
} catch (r) {
|
|
468
|
-
v(r);
|
|
469
|
-
}
|
|
470
|
-
}, Yn = (e, t) => t & 4 ? j : t & 8 ? K : t & 16 ? j.body : e, qn = (e) => Xn ? {
|
|
471
|
-
passive: (e & 1) !== 0,
|
|
472
|
-
capture: (e & 2) !== 0
|
|
473
|
-
} : (e & 2) !== 0, xe = /* @__PURE__ */ new WeakMap(), N = (e) => xe.get(e), Er = (e, t) => xe.set(t.$lazyInstance$ = e, t), Gn = (e, t) => {
|
|
474
|
-
const s = {
|
|
475
|
-
$flags$: 0,
|
|
476
|
-
$hostElement$: e,
|
|
477
|
-
$cmpMeta$: t,
|
|
478
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
479
|
-
};
|
|
480
|
-
return s.$onInstancePromise$ = new Promise((r) => s.$onInstanceResolve$ = r), s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], Tt(e, s, t.$listeners$), xe.set(e, s);
|
|
481
|
-
}, lt = (e, t) => t in e, v = (e, t) => (0, console.error)(e, t), be = /* @__PURE__ */ new Map(), Jn = (e, t, s) => {
|
|
482
|
-
const r = e.$tagName$.replace(/-/g, "_"), o = e.$lazyBundleId$, l = be.get(o);
|
|
483
|
-
if (l)
|
|
484
|
-
return l[r];
|
|
485
|
-
if (!s || !BUILD.hotModuleReplacement) {
|
|
486
|
-
const a = (u) => (be.set(o, u), u[r]);
|
|
487
|
-
switch (o) {
|
|
488
|
-
case "nylas-if-state_3":
|
|
489
|
-
return import(
|
|
490
|
-
/* webpackMode: "lazy" */
|
|
491
|
-
"./nylas-if-state_3.entry-e96d01f1.js"
|
|
492
|
-
).then(a, v);
|
|
493
|
-
case "document-refresh-icon":
|
|
494
|
-
return import(
|
|
495
|
-
/* webpackMode: "lazy" */
|
|
496
|
-
"./document-refresh-icon.entry-9083a2e9.js"
|
|
497
|
-
).then(a, v);
|
|
498
|
-
case "nylas-list-folders":
|
|
499
|
-
return import(
|
|
500
|
-
/* webpackMode: "lazy" */
|
|
501
|
-
"./nylas-list-folders.entry-a5437201.js"
|
|
502
|
-
).then(a, v);
|
|
503
|
-
case "nylas-list-threads":
|
|
504
|
-
return import(
|
|
505
|
-
/* webpackMode: "lazy" */
|
|
506
|
-
"./nylas-list-threads.entry-fd6cda61.js"
|
|
507
|
-
).then(a, v);
|
|
508
|
-
case "nylas-mailbox-pagination":
|
|
509
|
-
return import(
|
|
510
|
-
/* webpackMode: "lazy" */
|
|
511
|
-
"./nylas-mailbox-pagination.entry-988214bc.js"
|
|
512
|
-
).then(a, v);
|
|
513
|
-
case "nylas-mailbox-toolbar-button":
|
|
514
|
-
return import(
|
|
515
|
-
/* webpackMode: "lazy" */
|
|
516
|
-
"./nylas-mailbox-toolbar-button.entry-c720e22a.js"
|
|
517
|
-
).then(a, v);
|
|
518
|
-
case "nylas-open-hours-picker":
|
|
519
|
-
return import(
|
|
520
|
-
/* webpackMode: "lazy" */
|
|
521
|
-
"./nylas-open-hours-picker.entry-6bdc7c73.js"
|
|
522
|
-
).then(a, v);
|
|
523
|
-
case "nylas-provider":
|
|
524
|
-
return import(
|
|
525
|
-
/* webpackMode: "lazy" */
|
|
526
|
-
"./nylas-provider.entry-70721009.js"
|
|
527
|
-
).then(a, v);
|
|
528
|
-
case "nylas-scheduler":
|
|
529
|
-
return import(
|
|
530
|
-
/* webpackMode: "lazy" */
|
|
531
|
-
"./nylas-scheduler.entry-7321e18f.js"
|
|
532
|
-
).then(a, v);
|
|
533
|
-
case "nylas-threads-refresh":
|
|
534
|
-
return import(
|
|
535
|
-
/* webpackMode: "lazy" */
|
|
536
|
-
"./nylas-threads-refresh.entry-b7f9e93f.js"
|
|
537
|
-
).then(a, v);
|
|
538
|
-
case "nylas-threads-search":
|
|
539
|
-
return import(
|
|
540
|
-
/* webpackMode: "lazy" */
|
|
541
|
-
"./nylas-threads-search.entry-95afea9c.js"
|
|
542
|
-
).then(a, v);
|
|
543
|
-
case "nylas-view-thread":
|
|
544
|
-
return import(
|
|
545
|
-
/* webpackMode: "lazy" */
|
|
546
|
-
"./nylas-view-thread.entry-165173b1.js"
|
|
547
|
-
).then(a, v);
|
|
548
|
-
case "archive-icon_7":
|
|
549
|
-
return import(
|
|
550
|
-
/* webpackMode: "lazy" */
|
|
551
|
-
"./archive-icon_7.entry-91aaa1aa.js"
|
|
552
|
-
).then(a, v);
|
|
553
|
-
case "arrow-icon":
|
|
554
|
-
return import(
|
|
555
|
-
/* webpackMode: "lazy" */
|
|
556
|
-
"./arrow-icon.entry-8b2e96a6.js"
|
|
557
|
-
).then(a, v);
|
|
558
|
-
case "forward-icon_6":
|
|
559
|
-
return import(
|
|
560
|
-
/* webpackMode: "lazy" */
|
|
561
|
-
"./forward-icon_6.entry-b60fcb35.js"
|
|
562
|
-
).then(a, v);
|
|
563
|
-
case "nylas-booked-event-card_10":
|
|
564
|
-
return import(
|
|
565
|
-
/* webpackMode: "lazy" */
|
|
566
|
-
"./nylas-booked-event-card_10.entry-7e66a648.js"
|
|
567
|
-
).then(a, v);
|
|
568
|
-
case "add-circle-icon":
|
|
569
|
-
return import(
|
|
570
|
-
/* webpackMode: "lazy" */
|
|
571
|
-
"./add-circle-icon.entry-35d6aa07.js"
|
|
572
|
-
).then(a, v);
|
|
573
|
-
case "bold-icon_3":
|
|
574
|
-
return import(
|
|
575
|
-
/* webpackMode: "lazy" */
|
|
576
|
-
"./bold-icon_3.entry-4b2798a8.js"
|
|
577
|
-
).then(a, v);
|
|
578
|
-
case "calendar-check-icon_3":
|
|
579
|
-
return import(
|
|
580
|
-
/* webpackMode: "lazy" */
|
|
581
|
-
"./calendar-check-icon_3.entry-903e2d82.js"
|
|
582
|
-
).then(a, v);
|
|
583
|
-
case "calendar-icon":
|
|
584
|
-
return import(
|
|
585
|
-
/* webpackMode: "lazy" */
|
|
586
|
-
"./calendar-icon.entry-8f38af4a.js"
|
|
587
|
-
).then(a, v);
|
|
588
|
-
case "close-icon_2":
|
|
589
|
-
return import(
|
|
590
|
-
/* webpackMode: "lazy" */
|
|
591
|
-
"./close-icon_2.entry-011d9cf4.js"
|
|
592
|
-
).then(a, v);
|
|
593
|
-
case "play-icon_2":
|
|
594
|
-
return import(
|
|
595
|
-
/* webpackMode: "lazy" */
|
|
596
|
-
"./play-icon_2.entry-ed5877e3.js"
|
|
597
|
-
).then(a, v);
|
|
598
|
-
case "refresh-icon":
|
|
599
|
-
return import(
|
|
600
|
-
/* webpackMode: "lazy" */
|
|
601
|
-
"./refresh-icon.entry-e48a338f.js"
|
|
602
|
-
).then(a, v);
|
|
603
|
-
case "search-icon_3":
|
|
604
|
-
return import(
|
|
605
|
-
/* webpackMode: "lazy" */
|
|
606
|
-
"./search-icon_3.entry-292138c3.js"
|
|
607
|
-
).then(a, v);
|
|
608
|
-
case "calendar-cancel-icon":
|
|
609
|
-
return import(
|
|
610
|
-
/* webpackMode: "lazy" */
|
|
611
|
-
"./calendar-cancel-icon.entry-83ba884a.js"
|
|
612
|
-
).then(a, v);
|
|
613
|
-
case "globe-icon":
|
|
614
|
-
return import(
|
|
615
|
-
/* webpackMode: "lazy" */
|
|
616
|
-
"./globe-icon.entry-e3fd373f.js"
|
|
617
|
-
).then(a, v);
|
|
618
|
-
case "loading-icon":
|
|
619
|
-
return import(
|
|
620
|
-
/* webpackMode: "lazy" */
|
|
621
|
-
"./loading-icon.entry-27410cf8.js"
|
|
622
|
-
).then(a, v);
|
|
623
|
-
case "chevron-icon":
|
|
624
|
-
return import(
|
|
625
|
-
/* webpackMode: "lazy" */
|
|
626
|
-
"./chevron-icon.entry-5e11cef5.js"
|
|
627
|
-
).then(a, v);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
return import(
|
|
631
|
-
/* @vite-ignore */
|
|
632
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
633
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
634
|
-
/* webpackMode: "lazy" */
|
|
635
|
-
`./${o}.entry.js`
|
|
636
|
-
).then((a) => (be.set(o, a), a[r]), v);
|
|
637
|
-
}, ae = /* @__PURE__ */ new Map(), K = typeof window < "u" ? window : {}, j = K.document || { head: {} }, O = {
|
|
638
|
-
$flags$: 0,
|
|
639
|
-
$resourcesUrl$: "",
|
|
640
|
-
jmp: (e) => e(),
|
|
641
|
-
raf: (e) => requestAnimationFrame(e),
|
|
642
|
-
ael: (e, t, s, r) => e.addEventListener(t, s, r),
|
|
643
|
-
rel: (e, t, s, r) => e.removeEventListener(t, s, r),
|
|
644
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
645
|
-
}, Xn = /* @__PURE__ */ (() => {
|
|
646
|
-
let e = !1;
|
|
647
|
-
try {
|
|
648
|
-
j.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
649
|
-
get() {
|
|
650
|
-
e = !0;
|
|
651
|
-
}
|
|
652
|
-
}));
|
|
653
|
-
} catch {
|
|
654
|
-
}
|
|
655
|
-
return e;
|
|
656
|
-
})(), Kn = (e) => Promise.resolve(e), Qn = /* @__PURE__ */ (() => {
|
|
657
|
-
try {
|
|
658
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
659
|
-
} catch {
|
|
660
|
-
}
|
|
661
|
-
return !1;
|
|
662
|
-
})(), ct = [], Rt = [], Zn = (e, t) => (s) => {
|
|
663
|
-
e.push(s), we || (we = !0, t && O.$flags$ & 4 ? Pe(_e) : O.raf(_e));
|
|
664
|
-
}, ut = (e) => {
|
|
665
|
-
for (let t = 0; t < e.length; t++)
|
|
666
|
-
try {
|
|
667
|
-
e[t](performance.now());
|
|
668
|
-
} catch (s) {
|
|
669
|
-
v(s);
|
|
670
|
-
}
|
|
671
|
-
e.length = 0;
|
|
672
|
-
}, _e = () => {
|
|
673
|
-
ut(ct), ut(Rt), (we = ct.length > 0) && O.raf(_e);
|
|
674
|
-
}, Pe = (e) => Kn().then(e), Vn = /* @__PURE__ */ Zn(Rt, !0);
|
|
675
|
-
async function er() {
|
|
676
|
-
await import("./elements-dc5b338e-fb5dbfb5.js");
|
|
677
|
-
}
|
|
678
|
-
const tr = er, Sr = (e, t) => {
|
|
679
|
-
if (!(typeof window > "u"))
|
|
680
|
-
return tr(), Wn([["nylas-scheduler", [[1, "nylas-scheduler", { mode: [1], defaultSchedulerStoreState: [16], sessionId: [1, "session-id"], schedulerApiUrl: [1, "scheduler-api-url"], bookingInfo: [16], rescheduleBookingId: [1, "reschedule-booking-id"], cancelBookingId: [1, "cancel-booking-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-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-open-hours-picker", [[1, "nylas-open-hours-picker", { openHours: [16], startTime: [1040], endTime: [1040], stepMinutes: [2, "step-minutes"], dragThreshold: [2, "drag-threshold"], mobileViewPortWidth: [2, "mobile-view-port-width"], intervalMinutes: [32], times: [32], availableTimes: [32], draggingStartDate: [32], draggingEndDate: [32], inverse: [32], isMobile: [32] }, [[9, "resize", "onResize"]], { openHours: ["whenOpenHoursChanged"], availableTimes: ["availableTimesChanged"], inverse: ["inverseChanged"] }]]], ["nylas-provider", [[1, "nylas-provider", { authConfig: [16], eventOverrides: [16], automaticComponentRegistration: [4, "automatic-component-registration"], getNylasAuth: [64], getNylasConnector: [64], getMailboxStore: [64], getAuthStore: [64], getNylasSchedulerStore: [64] }, [[0, "registerComponent", "registerComponentHandler"], [0, "unregisterComponent", "unregisterComponentHandler"]]]]], ["nylas-threads-search", [[1, "nylas-threads-search", { query: [1], internalQuery: [32] }, null, { query: ["onQueryChange"] }]]], ["arrow-icon", [[2, "arrow-icon", { width: [1], height: [1] }]]], ["add-circle-icon", [[2, "add-circle-icon", { width: [1], height: [1] }]]], ["calendar-icon", [[2, "calendar-icon", { width: [1], height: [1] }]]], ["refresh-icon", [[2, "refresh-icon", { width: [1], height: [1] }]]], ["calendar-cancel-icon", [[2, "calendar-cancel-icon", { width: [1], height: [1] }]]], ["close-icon_2", [[2, "close-icon", { width: [1], height: [1] }], [2, "warning-icon", { width: [1], height: [1] }]]], ["play-icon_2", [[2, "play-icon", { width: [1], height: [1] }], [2, "stop-icon", { width: [1], height: [1] }]]], ["globe-icon", [[2, "globe-icon", { width: [1], height: [1] }]]], ["loading-icon", [[1, "loading-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] }]]], ["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] }]]], ["calendar-check-icon_3", [[2, "calendar-check-icon", { width: [1], height: [1] }], [2, "checkmark-circle-icon", { width: [1], height: [1] }], [2, "people-icon", { width: [1], height: [1] }]]], ["chevron-icon", [[2, "chevron-icon", { width: [1], height: [1] }]]], ["search-icon_3", [[1, "select-dropdown", { name: [1], options: [16], defaultSelectedOption: [16], selectedOption: [32], isOpen: [32], searchValue: [32], filteredOptions: [32], ariaActivedescendant: [32] }, [[4, "click", "handleOutsideClick"]]], [2, "translate-icon", { width: [1], height: [1] }], [2, "search-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] }]]], ["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], bookingFlow: [1, "booking-flow"], bookingInfo: [8, "booking-info"] }], [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-notification", { ttl: [2], 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-cancel-booking-form", { cancelBookingId: [1, "cancel-booking-id"], cancellationReason: [32], cancellationError: [32] }], [1, "nylas-cancelled-event-card", { cancelledEvent: [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"] }]]]], t);
|
|
681
|
-
};
|
|
682
|
-
(function() {
|
|
683
|
-
if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
|
|
684
|
-
var e = HTMLElement;
|
|
685
|
-
window.HTMLElement = function() {
|
|
686
|
-
return Reflect.construct(e, [], this.constructor);
|
|
687
|
-
}, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
|
|
688
|
-
}
|
|
689
|
-
})();
|
|
690
|
-
var Ce = { exports: {} }, J = {};
|
|
691
|
-
/**
|
|
692
|
-
* @license React
|
|
693
|
-
* react-jsx-runtime.production.min.js
|
|
694
|
-
*
|
|
695
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
696
|
-
*
|
|
697
|
-
* This source code is licensed under the MIT license found in the
|
|
698
|
-
* LICENSE file in the root directory of this source tree.
|
|
699
|
-
*/
|
|
700
|
-
var dt;
|
|
701
|
-
function nr() {
|
|
702
|
-
if (dt)
|
|
703
|
-
return J;
|
|
704
|
-
dt = 1;
|
|
705
|
-
var e = ie, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
706
|
-
function a(u, c, f) {
|
|
707
|
-
var $, p = {}, S = null, b = null;
|
|
708
|
-
f !== void 0 && (S = "" + f), c.key !== void 0 && (S = "" + c.key), c.ref !== void 0 && (b = c.ref);
|
|
709
|
-
for ($ in c)
|
|
710
|
-
r.call(c, $) && !l.hasOwnProperty($) && (p[$] = c[$]);
|
|
711
|
-
if (u && u.defaultProps)
|
|
712
|
-
for ($ in c = u.defaultProps, c)
|
|
713
|
-
p[$] === void 0 && (p[$] = c[$]);
|
|
714
|
-
return { $$typeof: t, type: u, key: S, ref: b, props: p, _owner: o.current };
|
|
715
|
-
}
|
|
716
|
-
return J.Fragment = s, J.jsx = a, J.jsxs = a, J;
|
|
717
|
-
}
|
|
718
|
-
var X = {};
|
|
719
|
-
/**
|
|
720
|
-
* @license React
|
|
721
|
-
* react-jsx-runtime.development.js
|
|
722
|
-
*
|
|
723
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
724
|
-
*
|
|
725
|
-
* This source code is licensed under the MIT license found in the
|
|
726
|
-
* LICENSE file in the root directory of this source tree.
|
|
727
|
-
*/
|
|
728
|
-
var ft;
|
|
729
|
-
function rr() {
|
|
730
|
-
return ft || (ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
731
|
-
var e = ie, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), $ = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), _ = Symbol.iterator, C = "@@iterator";
|
|
732
|
-
function T(n) {
|
|
733
|
-
if (n === null || typeof n != "object")
|
|
734
|
-
return null;
|
|
735
|
-
var i = _ && n[_] || n[C];
|
|
736
|
-
return typeof i == "function" ? i : null;
|
|
737
|
-
}
|
|
738
|
-
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
739
|
-
function k(n) {
|
|
740
|
-
{
|
|
741
|
-
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), g = 1; g < i; g++)
|
|
742
|
-
d[g - 1] = arguments[g];
|
|
743
|
-
ce("error", n, d);
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
function ce(n, i, d) {
|
|
747
|
-
{
|
|
748
|
-
var g = x.ReactDebugCurrentFrame, E = g.getStackAddendum();
|
|
749
|
-
E !== "" && (i += "%s", d = d.concat([E]));
|
|
750
|
-
var w = d.map(function(m) {
|
|
751
|
-
return String(m);
|
|
752
|
-
});
|
|
753
|
-
w.unshift("Warning: " + i), Function.prototype.apply.call(console[n], console, w);
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
var H = !1, Ot = !1, It = !1, Lt = !1, jt = !1, Oe;
|
|
757
|
-
Oe = Symbol.for("react.module.reference");
|
|
758
|
-
function At(n) {
|
|
759
|
-
return !!(typeof n == "string" || typeof n == "function" || n === r || n === l || jt || n === o || n === f || n === $ || Lt || n === b || H || Ot || It || typeof n == "object" && n !== null && (n.$$typeof === S || n.$$typeof === p || n.$$typeof === a || n.$$typeof === u || n.$$typeof === c || // This needs to include all possible module reference object
|
|
760
|
-
// types supported by any Flight configuration anywhere since
|
|
761
|
-
// we don't know which Flight build this will end up being used
|
|
762
|
-
// with.
|
|
763
|
-
n.$$typeof === Oe || n.getModuleId !== void 0));
|
|
764
|
-
}
|
|
765
|
-
function Dt(n, i, d) {
|
|
766
|
-
var g = n.displayName;
|
|
767
|
-
if (g)
|
|
768
|
-
return g;
|
|
769
|
-
var E = i.displayName || i.name || "";
|
|
770
|
-
return E !== "" ? d + "(" + E + ")" : d;
|
|
771
|
-
}
|
|
772
|
-
function Ie(n) {
|
|
773
|
-
return n.displayName || "Context";
|
|
774
|
-
}
|
|
775
|
-
function D(n) {
|
|
776
|
-
if (n == null)
|
|
777
|
-
return null;
|
|
778
|
-
if (typeof n.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
779
|
-
return n.displayName || n.name || null;
|
|
780
|
-
if (typeof n == "string")
|
|
781
|
-
return n;
|
|
782
|
-
switch (n) {
|
|
783
|
-
case r:
|
|
784
|
-
return "Fragment";
|
|
785
|
-
case s:
|
|
786
|
-
return "Portal";
|
|
787
|
-
case l:
|
|
788
|
-
return "Profiler";
|
|
789
|
-
case o:
|
|
790
|
-
return "StrictMode";
|
|
791
|
-
case f:
|
|
792
|
-
return "Suspense";
|
|
793
|
-
case $:
|
|
794
|
-
return "SuspenseList";
|
|
795
|
-
}
|
|
796
|
-
if (typeof n == "object")
|
|
797
|
-
switch (n.$$typeof) {
|
|
798
|
-
case u:
|
|
799
|
-
var i = n;
|
|
800
|
-
return Ie(i) + ".Consumer";
|
|
801
|
-
case a:
|
|
802
|
-
var d = n;
|
|
803
|
-
return Ie(d._context) + ".Provider";
|
|
804
|
-
case c:
|
|
805
|
-
return Dt(n, n.render, "ForwardRef");
|
|
806
|
-
case p:
|
|
807
|
-
var g = n.displayName || null;
|
|
808
|
-
return g !== null ? g : D(n.type) || "Memo";
|
|
809
|
-
case S: {
|
|
810
|
-
var E = n, w = E._payload, m = E._init;
|
|
811
|
-
try {
|
|
812
|
-
return D(m(w));
|
|
813
|
-
} catch {
|
|
814
|
-
return null;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
return null;
|
|
819
|
-
}
|
|
820
|
-
var U = Object.assign, q = 0, Le, je, Ae, De, Fe, Me, Ne;
|
|
821
|
-
function Ue() {
|
|
822
|
-
}
|
|
823
|
-
Ue.__reactDisabledLog = !0;
|
|
824
|
-
function Ft() {
|
|
825
|
-
{
|
|
826
|
-
if (q === 0) {
|
|
827
|
-
Le = console.log, je = console.info, Ae = console.warn, De = console.error, Fe = console.group, Me = console.groupCollapsed, Ne = console.groupEnd;
|
|
828
|
-
var n = {
|
|
829
|
-
configurable: !0,
|
|
830
|
-
enumerable: !0,
|
|
831
|
-
value: Ue,
|
|
832
|
-
writable: !0
|
|
833
|
-
};
|
|
834
|
-
Object.defineProperties(console, {
|
|
835
|
-
info: n,
|
|
836
|
-
log: n,
|
|
837
|
-
warn: n,
|
|
838
|
-
error: n,
|
|
839
|
-
group: n,
|
|
840
|
-
groupCollapsed: n,
|
|
841
|
-
groupEnd: n
|
|
842
|
-
});
|
|
843
|
-
}
|
|
844
|
-
q++;
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
function Mt() {
|
|
848
|
-
{
|
|
849
|
-
if (q--, q === 0) {
|
|
850
|
-
var n = {
|
|
851
|
-
configurable: !0,
|
|
852
|
-
enumerable: !0,
|
|
853
|
-
writable: !0
|
|
854
|
-
};
|
|
855
|
-
Object.defineProperties(console, {
|
|
856
|
-
log: U({}, n, {
|
|
857
|
-
value: Le
|
|
858
|
-
}),
|
|
859
|
-
info: U({}, n, {
|
|
860
|
-
value: je
|
|
861
|
-
}),
|
|
862
|
-
warn: U({}, n, {
|
|
863
|
-
value: Ae
|
|
864
|
-
}),
|
|
865
|
-
error: U({}, n, {
|
|
866
|
-
value: De
|
|
867
|
-
}),
|
|
868
|
-
group: U({}, n, {
|
|
869
|
-
value: Fe
|
|
870
|
-
}),
|
|
871
|
-
groupCollapsed: U({}, n, {
|
|
872
|
-
value: Me
|
|
873
|
-
}),
|
|
874
|
-
groupEnd: U({}, n, {
|
|
875
|
-
value: Ne
|
|
876
|
-
})
|
|
877
|
-
});
|
|
878
|
-
}
|
|
879
|
-
q < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
var ue = x.ReactCurrentDispatcher, de;
|
|
883
|
-
function Q(n, i, d) {
|
|
884
|
-
{
|
|
885
|
-
if (de === void 0)
|
|
886
|
-
try {
|
|
887
|
-
throw Error();
|
|
888
|
-
} catch (E) {
|
|
889
|
-
var g = E.stack.trim().match(/\n( *(at )?)/);
|
|
890
|
-
de = g && g[1] || "";
|
|
891
|
-
}
|
|
892
|
-
return `
|
|
893
|
-
` + de + n;
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
var fe = !1, Z;
|
|
897
|
-
{
|
|
898
|
-
var Nt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
899
|
-
Z = new Nt();
|
|
900
|
-
}
|
|
901
|
-
function He(n, i) {
|
|
902
|
-
if (!n || fe)
|
|
903
|
-
return "";
|
|
904
|
-
{
|
|
905
|
-
var d = Z.get(n);
|
|
906
|
-
if (d !== void 0)
|
|
907
|
-
return d;
|
|
908
|
-
}
|
|
909
|
-
var g;
|
|
910
|
-
fe = !0;
|
|
911
|
-
var E = Error.prepareStackTrace;
|
|
912
|
-
Error.prepareStackTrace = void 0;
|
|
913
|
-
var w;
|
|
914
|
-
w = ue.current, ue.current = null, Ft();
|
|
915
|
-
try {
|
|
916
|
-
if (i) {
|
|
917
|
-
var m = function() {
|
|
918
|
-
throw Error();
|
|
919
|
-
};
|
|
920
|
-
if (Object.defineProperty(m.prototype, "props", {
|
|
921
|
-
set: function() {
|
|
922
|
-
throw Error();
|
|
923
|
-
}
|
|
924
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
925
|
-
try {
|
|
926
|
-
Reflect.construct(m, []);
|
|
927
|
-
} catch (F) {
|
|
928
|
-
g = F;
|
|
929
|
-
}
|
|
930
|
-
Reflect.construct(n, [], m);
|
|
931
|
-
} else {
|
|
932
|
-
try {
|
|
933
|
-
m.call();
|
|
934
|
-
} catch (F) {
|
|
935
|
-
g = F;
|
|
936
|
-
}
|
|
937
|
-
n.call(m.prototype);
|
|
938
|
-
}
|
|
939
|
-
} else {
|
|
940
|
-
try {
|
|
941
|
-
throw Error();
|
|
942
|
-
} catch (F) {
|
|
943
|
-
g = F;
|
|
944
|
-
}
|
|
945
|
-
n();
|
|
946
|
-
}
|
|
947
|
-
} catch (F) {
|
|
948
|
-
if (F && g && typeof F.stack == "string") {
|
|
949
|
-
for (var y = F.stack.split(`
|
|
950
|
-
`), I = g.stack.split(`
|
|
951
|
-
`), R = y.length - 1, P = I.length - 1; R >= 1 && P >= 0 && y[R] !== I[P]; )
|
|
952
|
-
P--;
|
|
953
|
-
for (; R >= 1 && P >= 0; R--, P--)
|
|
954
|
-
if (y[R] !== I[P]) {
|
|
955
|
-
if (R !== 1 || P !== 1)
|
|
956
|
-
do
|
|
957
|
-
if (R--, P--, P < 0 || y[R] !== I[P]) {
|
|
958
|
-
var A = `
|
|
959
|
-
` + y[R].replace(" at new ", " at ");
|
|
960
|
-
return n.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", n.displayName)), typeof n == "function" && Z.set(n, A), A;
|
|
961
|
-
}
|
|
962
|
-
while (R >= 1 && P >= 0);
|
|
963
|
-
break;
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
} finally {
|
|
967
|
-
fe = !1, ue.current = w, Mt(), Error.prepareStackTrace = E;
|
|
968
|
-
}
|
|
969
|
-
var W = n ? n.displayName || n.name : "", et = W ? Q(W) : "";
|
|
970
|
-
return typeof n == "function" && Z.set(n, et), et;
|
|
971
|
-
}
|
|
972
|
-
function Ut(n, i, d) {
|
|
973
|
-
return He(n, !1);
|
|
974
|
-
}
|
|
975
|
-
function Ht(n) {
|
|
976
|
-
var i = n.prototype;
|
|
977
|
-
return !!(i && i.isReactComponent);
|
|
978
|
-
}
|
|
979
|
-
function V(n, i, d) {
|
|
980
|
-
if (n == null)
|
|
981
|
-
return "";
|
|
982
|
-
if (typeof n == "function")
|
|
983
|
-
return He(n, Ht(n));
|
|
984
|
-
if (typeof n == "string")
|
|
985
|
-
return Q(n);
|
|
986
|
-
switch (n) {
|
|
987
|
-
case f:
|
|
988
|
-
return Q("Suspense");
|
|
989
|
-
case $:
|
|
990
|
-
return Q("SuspenseList");
|
|
991
|
-
}
|
|
992
|
-
if (typeof n == "object")
|
|
993
|
-
switch (n.$$typeof) {
|
|
994
|
-
case c:
|
|
995
|
-
return Ut(n.render);
|
|
996
|
-
case p:
|
|
997
|
-
return V(n.type, i, d);
|
|
998
|
-
case S: {
|
|
999
|
-
var g = n, E = g._payload, w = g._init;
|
|
1000
|
-
try {
|
|
1001
|
-
return V(w(E), i, d);
|
|
1002
|
-
} catch {
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
return "";
|
|
1007
|
-
}
|
|
1008
|
-
var ee = Object.prototype.hasOwnProperty, Be = {}, We = x.ReactDebugCurrentFrame;
|
|
1009
|
-
function te(n) {
|
|
1010
|
-
if (n) {
|
|
1011
|
-
var i = n._owner, d = V(n.type, n._source, i ? i.type : null);
|
|
1012
|
-
We.setExtraStackFrame(d);
|
|
1013
|
-
} else
|
|
1014
|
-
We.setExtraStackFrame(null);
|
|
1015
|
-
}
|
|
1016
|
-
function Bt(n, i, d, g, E) {
|
|
1017
|
-
{
|
|
1018
|
-
var w = Function.call.bind(ee);
|
|
1019
|
-
for (var m in n)
|
|
1020
|
-
if (w(n, m)) {
|
|
1021
|
-
var y = void 0;
|
|
1022
|
-
try {
|
|
1023
|
-
if (typeof n[m] != "function") {
|
|
1024
|
-
var I = Error((g || "React class") + ": " + d + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1025
|
-
throw I.name = "Invariant Violation", I;
|
|
1026
|
-
}
|
|
1027
|
-
y = n[m](i, m, g, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1028
|
-
} catch (R) {
|
|
1029
|
-
y = R;
|
|
1030
|
-
}
|
|
1031
|
-
y && !(y instanceof Error) && (te(E), k("%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).", g || "React class", d, m, typeof y), te(null)), y instanceof Error && !(y.message in Be) && (Be[y.message] = !0, te(E), k("Failed %s type: %s", d, y.message), te(null));
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
var Wt = Array.isArray;
|
|
1036
|
-
function he(n) {
|
|
1037
|
-
return Wt(n);
|
|
1038
|
-
}
|
|
1039
|
-
function zt(n) {
|
|
1040
|
-
{
|
|
1041
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag, d = i && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
1042
|
-
return d;
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
function Yt(n) {
|
|
1046
|
-
try {
|
|
1047
|
-
return ze(n), !1;
|
|
1048
|
-
} catch {
|
|
1049
|
-
return !0;
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
function ze(n) {
|
|
1053
|
-
return "" + n;
|
|
1054
|
-
}
|
|
1055
|
-
function Ye(n) {
|
|
1056
|
-
if (Yt(n))
|
|
1057
|
-
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", zt(n)), ze(n);
|
|
1058
|
-
}
|
|
1059
|
-
var G = x.ReactCurrentOwner, qt = {
|
|
1060
|
-
key: !0,
|
|
1061
|
-
ref: !0,
|
|
1062
|
-
__self: !0,
|
|
1063
|
-
__source: !0
|
|
1064
|
-
}, qe, Ge, pe;
|
|
1065
|
-
pe = {};
|
|
1066
|
-
function Gt(n) {
|
|
1067
|
-
if (ee.call(n, "ref")) {
|
|
1068
|
-
var i = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
1069
|
-
if (i && i.isReactWarning)
|
|
1070
|
-
return !1;
|
|
1071
|
-
}
|
|
1072
|
-
return n.ref !== void 0;
|
|
1073
|
-
}
|
|
1074
|
-
function Jt(n) {
|
|
1075
|
-
if (ee.call(n, "key")) {
|
|
1076
|
-
var i = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
1077
|
-
if (i && i.isReactWarning)
|
|
1078
|
-
return !1;
|
|
1079
|
-
}
|
|
1080
|
-
return n.key !== void 0;
|
|
1081
|
-
}
|
|
1082
|
-
function Xt(n, i) {
|
|
1083
|
-
if (typeof n.ref == "string" && G.current && i && G.current.stateNode !== i) {
|
|
1084
|
-
var d = D(G.current.type);
|
|
1085
|
-
pe[d] || (k('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[d] = !0);
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
function Kt(n, i) {
|
|
1089
|
-
{
|
|
1090
|
-
var d = function() {
|
|
1091
|
-
qe || (qe = !0, k("%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)", i));
|
|
1092
|
-
};
|
|
1093
|
-
d.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
1094
|
-
get: d,
|
|
1095
|
-
configurable: !0
|
|
1096
|
-
});
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
function Qt(n, i) {
|
|
1100
|
-
{
|
|
1101
|
-
var d = function() {
|
|
1102
|
-
Ge || (Ge = !0, k("%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)", i));
|
|
1103
|
-
};
|
|
1104
|
-
d.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
1105
|
-
get: d,
|
|
1106
|
-
configurable: !0
|
|
1107
|
-
});
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
var Zt = function(n, i, d, g, E, w, m) {
|
|
1111
|
-
var y = {
|
|
1112
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
1113
|
-
$$typeof: t,
|
|
1114
|
-
// Built-in properties that belong on the element
|
|
1115
|
-
type: n,
|
|
1116
|
-
key: i,
|
|
1117
|
-
ref: d,
|
|
1118
|
-
props: m,
|
|
1119
|
-
// Record the component responsible for creating this element.
|
|
1120
|
-
_owner: w
|
|
1121
|
-
};
|
|
1122
|
-
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
1123
|
-
configurable: !1,
|
|
1124
|
-
enumerable: !1,
|
|
1125
|
-
writable: !0,
|
|
1126
|
-
value: !1
|
|
1127
|
-
}), Object.defineProperty(y, "_self", {
|
|
1128
|
-
configurable: !1,
|
|
1129
|
-
enumerable: !1,
|
|
1130
|
-
writable: !1,
|
|
1131
|
-
value: g
|
|
1132
|
-
}), Object.defineProperty(y, "_source", {
|
|
1133
|
-
configurable: !1,
|
|
1134
|
-
enumerable: !1,
|
|
1135
|
-
writable: !1,
|
|
1136
|
-
value: E
|
|
1137
|
-
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
1138
|
-
};
|
|
1139
|
-
function Vt(n, i, d, g, E) {
|
|
1140
|
-
{
|
|
1141
|
-
var w, m = {}, y = null, I = null;
|
|
1142
|
-
d !== void 0 && (Ye(d), y = "" + d), Jt(i) && (Ye(i.key), y = "" + i.key), Gt(i) && (I = i.ref, Xt(i, E));
|
|
1143
|
-
for (w in i)
|
|
1144
|
-
ee.call(i, w) && !qt.hasOwnProperty(w) && (m[w] = i[w]);
|
|
1145
|
-
if (n && n.defaultProps) {
|
|
1146
|
-
var R = n.defaultProps;
|
|
1147
|
-
for (w in R)
|
|
1148
|
-
m[w] === void 0 && (m[w] = R[w]);
|
|
1149
|
-
}
|
|
1150
|
-
if (y || I) {
|
|
1151
|
-
var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
1152
|
-
y && Kt(m, P), I && Qt(m, P);
|
|
1153
|
-
}
|
|
1154
|
-
return Zt(n, y, I, E, g, G.current, m);
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
var $e = x.ReactCurrentOwner, Je = x.ReactDebugCurrentFrame;
|
|
1158
|
-
function B(n) {
|
|
1159
|
-
if (n) {
|
|
1160
|
-
var i = n._owner, d = V(n.type, n._source, i ? i.type : null);
|
|
1161
|
-
Je.setExtraStackFrame(d);
|
|
1162
|
-
} else
|
|
1163
|
-
Je.setExtraStackFrame(null);
|
|
1164
|
-
}
|
|
1165
|
-
var ge;
|
|
1166
|
-
ge = !1;
|
|
1167
|
-
function ye(n) {
|
|
1168
|
-
return typeof n == "object" && n !== null && n.$$typeof === t;
|
|
1169
|
-
}
|
|
1170
|
-
function Xe() {
|
|
1171
|
-
{
|
|
1172
|
-
if ($e.current) {
|
|
1173
|
-
var n = D($e.current.type);
|
|
1174
|
-
if (n)
|
|
1175
|
-
return `
|
|
1176
|
-
|
|
1177
|
-
Check the render method of \`` + n + "`.";
|
|
1178
|
-
}
|
|
1179
|
-
return "";
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
function en(n) {
|
|
1183
|
-
{
|
|
1184
|
-
if (n !== void 0) {
|
|
1185
|
-
var i = n.fileName.replace(/^.*[\\\/]/, ""), d = n.lineNumber;
|
|
1186
|
-
return `
|
|
1187
|
-
|
|
1188
|
-
Check your code at ` + i + ":" + d + ".";
|
|
1189
|
-
}
|
|
1190
|
-
return "";
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
var Ke = {};
|
|
1194
|
-
function tn(n) {
|
|
1195
|
-
{
|
|
1196
|
-
var i = Xe();
|
|
1197
|
-
if (!i) {
|
|
1198
|
-
var d = typeof n == "string" ? n : n.displayName || n.name;
|
|
1199
|
-
d && (i = `
|
|
1200
|
-
|
|
1201
|
-
Check the top-level render call using <` + d + ">.");
|
|
1202
|
-
}
|
|
1203
|
-
return i;
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
function Qe(n, i) {
|
|
1207
|
-
{
|
|
1208
|
-
if (!n._store || n._store.validated || n.key != null)
|
|
1209
|
-
return;
|
|
1210
|
-
n._store.validated = !0;
|
|
1211
|
-
var d = tn(i);
|
|
1212
|
-
if (Ke[d])
|
|
1213
|
-
return;
|
|
1214
|
-
Ke[d] = !0;
|
|
1215
|
-
var g = "";
|
|
1216
|
-
n && n._owner && n._owner !== $e.current && (g = " It was passed a child from " + D(n._owner.type) + "."), B(n), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, g), B(null);
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
function Ze(n, i) {
|
|
1220
|
-
{
|
|
1221
|
-
if (typeof n != "object")
|
|
1222
|
-
return;
|
|
1223
|
-
if (he(n))
|
|
1224
|
-
for (var d = 0; d < n.length; d++) {
|
|
1225
|
-
var g = n[d];
|
|
1226
|
-
ye(g) && Qe(g, i);
|
|
1227
|
-
}
|
|
1228
|
-
else if (ye(n))
|
|
1229
|
-
n._store && (n._store.validated = !0);
|
|
1230
|
-
else if (n) {
|
|
1231
|
-
var E = T(n);
|
|
1232
|
-
if (typeof E == "function" && E !== n.entries)
|
|
1233
|
-
for (var w = E.call(n), m; !(m = w.next()).done; )
|
|
1234
|
-
ye(m.value) && Qe(m.value, i);
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
function nn(n) {
|
|
1239
|
-
{
|
|
1240
|
-
var i = n.type;
|
|
1241
|
-
if (i == null || typeof i == "string")
|
|
1242
|
-
return;
|
|
1243
|
-
var d;
|
|
1244
|
-
if (typeof i == "function")
|
|
1245
|
-
d = i.propTypes;
|
|
1246
|
-
else if (typeof i == "object" && (i.$$typeof === c || // Note: Memo only checks outer props here.
|
|
1247
|
-
// Inner props are checked in the reconciler.
|
|
1248
|
-
i.$$typeof === p))
|
|
1249
|
-
d = i.propTypes;
|
|
1250
|
-
else
|
|
1251
|
-
return;
|
|
1252
|
-
if (d) {
|
|
1253
|
-
var g = D(i);
|
|
1254
|
-
Bt(d, n.props, "prop", g, n);
|
|
1255
|
-
} else if (i.PropTypes !== void 0 && !ge) {
|
|
1256
|
-
ge = !0;
|
|
1257
|
-
var E = D(i);
|
|
1258
|
-
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
1259
|
-
}
|
|
1260
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1263
|
-
function rn(n) {
|
|
1264
|
-
{
|
|
1265
|
-
for (var i = Object.keys(n.props), d = 0; d < i.length; d++) {
|
|
1266
|
-
var g = i[d];
|
|
1267
|
-
if (g !== "children" && g !== "key") {
|
|
1268
|
-
B(n), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), B(null);
|
|
1269
|
-
break;
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
n.ref !== null && (B(n), k("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
function Ve(n, i, d, g, E, w) {
|
|
1276
|
-
{
|
|
1277
|
-
var m = At(n);
|
|
1278
|
-
if (!m) {
|
|
1279
|
-
var y = "";
|
|
1280
|
-
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1281
|
-
var I = en(E);
|
|
1282
|
-
I ? y += I : y += Xe();
|
|
1283
|
-
var R;
|
|
1284
|
-
n === null ? R = "null" : he(n) ? R = "array" : n !== void 0 && n.$$typeof === t ? (R = "<" + (D(n.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : R = typeof n, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, y);
|
|
1285
|
-
}
|
|
1286
|
-
var P = Vt(n, i, d, E, w);
|
|
1287
|
-
if (P == null)
|
|
1288
|
-
return P;
|
|
1289
|
-
if (m) {
|
|
1290
|
-
var A = i.children;
|
|
1291
|
-
if (A !== void 0)
|
|
1292
|
-
if (g)
|
|
1293
|
-
if (he(A)) {
|
|
1294
|
-
for (var W = 0; W < A.length; W++)
|
|
1295
|
-
Ze(A[W], n);
|
|
1296
|
-
Object.freeze && Object.freeze(A);
|
|
1297
|
-
} else
|
|
1298
|
-
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1299
|
-
else
|
|
1300
|
-
Ze(A, n);
|
|
1301
|
-
}
|
|
1302
|
-
return n === r ? rn(P) : nn(P), P;
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
function sn(n, i, d) {
|
|
1306
|
-
return Ve(n, i, d, !0);
|
|
1307
|
-
}
|
|
1308
|
-
function on(n, i, d) {
|
|
1309
|
-
return Ve(n, i, d, !1);
|
|
1310
|
-
}
|
|
1311
|
-
var an = on, ln = sn;
|
|
1312
|
-
X.Fragment = r, X.jsx = an, X.jsxs = ln;
|
|
1313
|
-
}()), X;
|
|
1314
|
-
}
|
|
1315
|
-
process.env.NODE_ENV === "production" ? Ce.exports = nr() : Ce.exports = rr();
|
|
1316
|
-
var sr = Ce.exports;
|
|
1317
|
-
const or = (e) => e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), xt = (e) => e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`), ar = (e, t, s = {}) => {
|
|
1318
|
-
if (e instanceof Element) {
|
|
1319
|
-
const r = ir(e.classList, t, s);
|
|
1320
|
-
r !== "" && (e.className = r), Object.keys(t).forEach((o) => {
|
|
1321
|
-
if (!(o === "children" || o === "style" || o === "ref" || o === "class" || o === "className" || o === "forwardedRef"))
|
|
1322
|
-
if (o.indexOf("on") === 0 && o[2] === o[2].toUpperCase()) {
|
|
1323
|
-
const l = o.substring(2), a = l[0].toLowerCase() + l.substring(1);
|
|
1324
|
-
Pt(a) || cr(e, a, t[o]);
|
|
1325
|
-
} else
|
|
1326
|
-
e[o] = t[o], typeof t[o] === "string" && e.setAttribute(xt(o), t[o]);
|
|
1327
|
-
});
|
|
1328
|
-
}
|
|
1329
|
-
}, ir = (e, t, s) => {
|
|
1330
|
-
const r = t.className || t.class, o = s.className || s.class, l = Ee(e), a = Ee(r ? r.split(" ") : []), u = Ee(o ? o.split(" ") : []), c = [];
|
|
1331
|
-
return l.forEach((f) => {
|
|
1332
|
-
a.has(f) ? (c.push(f), a.delete(f)) : u.has(f) || c.push(f);
|
|
1333
|
-
}), a.forEach((f) => c.push(f)), c.join(" ");
|
|
1334
|
-
}, lr = (e) => {
|
|
1335
|
-
switch (e) {
|
|
1336
|
-
case "doubleclick":
|
|
1337
|
-
return "dblclick";
|
|
1338
|
-
}
|
|
1339
|
-
return e;
|
|
1340
|
-
};
|
|
1341
|
-
/**
|
|
1342
|
-
* Checks if an event is supported in the current execution environment.
|
|
1343
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
1344
|
-
*/
|
|
1345
|
-
const Pt = (e) => {
|
|
1346
|
-
if (typeof document > "u")
|
|
1347
|
-
return !0;
|
|
1348
|
-
{
|
|
1349
|
-
const t = "on" + lr(e);
|
|
1350
|
-
let s = t in document;
|
|
1351
|
-
if (!s) {
|
|
1352
|
-
const r = document.createElement("div");
|
|
1353
|
-
r.setAttribute(t, "return;"), s = typeof r[t] == "function";
|
|
1354
|
-
}
|
|
1355
|
-
return s;
|
|
1356
|
-
}
|
|
1357
|
-
}, cr = (e, t, s) => {
|
|
1358
|
-
const r = e.__events || (e.__events = {}), o = r[t];
|
|
1359
|
-
o && e.removeEventListener(t, o), e.addEventListener(
|
|
1360
|
-
t,
|
|
1361
|
-
r[t] = function(a) {
|
|
1362
|
-
s && s.call(this, a);
|
|
1363
|
-
}
|
|
1364
|
-
);
|
|
1365
|
-
}, Ee = (e) => {
|
|
1366
|
-
const t = /* @__PURE__ */ new Map();
|
|
1367
|
-
return e.forEach((s) => t.set(s, s)), t;
|
|
1368
|
-
}, ur = (e, t) => {
|
|
1369
|
-
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
1370
|
-
}, dr = (...e) => (t) => {
|
|
1371
|
-
e.forEach((s) => {
|
|
1372
|
-
ur(s, t);
|
|
1373
|
-
});
|
|
1374
|
-
}, fr = (e, t) => {
|
|
1375
|
-
const s = (r, o) => /* @__PURE__ */ sr.jsx(e, { ...r, forwardedRef: o });
|
|
1376
|
-
return s.displayName = t, ie.forwardRef(s);
|
|
1377
|
-
}, h = (e, t, s, r) => {
|
|
1378
|
-
r !== void 0 && r();
|
|
1379
|
-
const o = or(e), l = class extends ie.Component {
|
|
1380
|
-
constructor(u) {
|
|
1381
|
-
super(u);
|
|
1382
|
-
ve(this, "componentEl");
|
|
1383
|
-
ve(this, "setComponentElRef", (u) => {
|
|
1384
|
-
this.componentEl = u;
|
|
1385
|
-
});
|
|
1386
|
-
}
|
|
1387
|
-
componentDidMount() {
|
|
1388
|
-
this.componentDidUpdate(this.props);
|
|
1389
|
-
}
|
|
1390
|
-
componentDidUpdate(u) {
|
|
1391
|
-
ar(this.componentEl, this.props, u);
|
|
1392
|
-
}
|
|
1393
|
-
render() {
|
|
1394
|
-
const { children: u, forwardedRef: c, style: f, className: $, ref: p, ...S } = this.props;
|
|
1395
|
-
let b = Object.keys(S).reduce((C, T) => {
|
|
1396
|
-
const x = S[T];
|
|
1397
|
-
if (T.indexOf("on") === 0 && T[2] === T[2].toUpperCase()) {
|
|
1398
|
-
const k = T.substring(2).toLowerCase();
|
|
1399
|
-
typeof document < "u" && Pt(k) && (C[T] = x);
|
|
1400
|
-
} else {
|
|
1401
|
-
const k = typeof x;
|
|
1402
|
-
(k === "string" || k === "boolean" || k === "number") && (C[xt(T)] = x);
|
|
1403
|
-
}
|
|
1404
|
-
return C;
|
|
1405
|
-
}, {});
|
|
1406
|
-
s && (b = s(this.props, b));
|
|
1407
|
-
const _ = {
|
|
1408
|
-
...b,
|
|
1409
|
-
ref: dr(c, this.setComponentElRef),
|
|
1410
|
-
style: f
|
|
1411
|
-
};
|
|
1412
|
-
return dn(e, _, u);
|
|
1413
|
-
}
|
|
1414
|
-
static get displayName() {
|
|
1415
|
-
return o;
|
|
1416
|
-
}
|
|
1417
|
-
};
|
|
1418
|
-
return t && (l.contextType = t), fr(l, o);
|
|
1419
|
-
}, wr = /* @__PURE__ */ h("add-circle-icon"), kr = /* @__PURE__ */ h("archive-icon"), _r = /* @__PURE__ */ h("arrow-icon"), Cr = /* @__PURE__ */ h("bold-icon"), Tr = /* @__PURE__ */ h("calendar-cancel-icon"), Rr = /* @__PURE__ */ h("calendar-check-icon"), xr = /* @__PURE__ */ h("calendar-icon"), Pr = /* @__PURE__ */ h("checkmark-circle-icon"), Or = /* @__PURE__ */ h("chevron-icon"), Ir = /* @__PURE__ */ h("close-icon"), Lr = /* @__PURE__ */ h("document-refresh-icon"), jr = /* @__PURE__ */ h("folder-icon"), Ar = /* @__PURE__ */ h("forward-icon"), Dr = /* @__PURE__ */ h("globe-icon"), Fr = /* @__PURE__ */ h("inbox-icon"), Mr = /* @__PURE__ */ h("italic-icon"), Nr = /* @__PURE__ */ h("loading-icon"), Ur = /* @__PURE__ */ h("nylas-booked-event-card"), Hr = /* @__PURE__ */ h("nylas-booking-form"), Br = /* @__PURE__ */ h("nylas-cancel-booking-form"), Wr = /* @__PURE__ */ h("nylas-cancelled-event-card"), zr = /* @__PURE__ */ h("nylas-composer"), Yr = /* @__PURE__ */ h("nylas-date-picker"), qr = /* @__PURE__ */ h("nylas-if-state"), Gr = /* @__PURE__ */ h("nylas-list-folders"), Jr = /* @__PURE__ */ h("nylas-list-threads"), Xr = /* @__PURE__ */ h("nylas-locale-switch"), Kr = /* @__PURE__ */ h("nylas-login"), Qr = /* @__PURE__ */ h("nylas-logo"), Zr = /* @__PURE__ */ h("nylas-mailbox"), Vr = /* @__PURE__ */ h("nylas-mailbox-pagination"), es = /* @__PURE__ */ h("nylas-mailbox-toolbar-button"), ts = /* @__PURE__ */ h("nylas-notification"), ns = /* @__PURE__ */ h("nylas-open-hours-picker"), rs = /* @__PURE__ */ h("nylas-provider"), ss = /* @__PURE__ */ h("nylas-scheduler"), os = /* @__PURE__ */ h("nylas-selected-event-card"), as = /* @__PURE__ */ h("nylas-summarize-message-button"), is = /* @__PURE__ */ h("nylas-threads-refresh"), ls = /* @__PURE__ */ h("nylas-threads-search"), cs = /* @__PURE__ */ h("nylas-timeslot-picker"), us = /* @__PURE__ */ h("nylas-view-email"), ds = /* @__PURE__ */ h("nylas-view-thread"), fs = /* @__PURE__ */ h("people-icon"), hs = /* @__PURE__ */ h("play-icon"), ps = /* @__PURE__ */ h("refresh-icon"), $s = /* @__PURE__ */ h("reply-all-icon"), gs = /* @__PURE__ */ h("reply-icon"), ys = /* @__PURE__ */ h("search-icon"), vs = /* @__PURE__ */ h("select-dropdown"), ms = /* @__PURE__ */ h("sent-icon"), bs = /* @__PURE__ */ h("spam-icon"), Es = /* @__PURE__ */ h("star-icon"), Ss = /* @__PURE__ */ h("stop-icon"), ws = /* @__PURE__ */ h("translate-icon"), ks = /* @__PURE__ */ h("trash-icon"), _s = /* @__PURE__ */ h("underline-icon"), Cs = /* @__PURE__ */ h("warning-icon");
|
|
1420
|
-
function Ts() {
|
|
1421
|
-
const [, e] = fn((o) => o + 1, 0), t = me(), s = me(null), r = me(null);
|
|
1422
|
-
return hn(() => {
|
|
1423
|
-
t.current && (s.current || t.current.getNylasMailboxConnector().then((o) => {
|
|
1424
|
-
o && (s.current = o, r.current = s.current.nylasAuthStore, o.nylasAuthStore.on("set", e), e());
|
|
1425
|
-
}));
|
|
1426
|
-
}, []), [t, r.current];
|
|
1427
|
-
}
|
|
1428
|
-
export {
|
|
1429
|
-
ds as $,
|
|
1430
|
-
wr as A,
|
|
1431
|
-
Cr as B,
|
|
1432
|
-
Tr as C,
|
|
1433
|
-
Lr as D,
|
|
1434
|
-
Jr as E,
|
|
1435
|
-
br as F,
|
|
1436
|
-
Dr as G,
|
|
1437
|
-
bn as H,
|
|
1438
|
-
Fr as I,
|
|
1439
|
-
Xr as J,
|
|
1440
|
-
Kr as K,
|
|
1441
|
-
Nr as L,
|
|
1442
|
-
Qr as M,
|
|
1443
|
-
Ur as N,
|
|
1444
|
-
Zr as O,
|
|
1445
|
-
Vr as P,
|
|
1446
|
-
es as Q,
|
|
1447
|
-
ts as R,
|
|
1448
|
-
ns as S,
|
|
1449
|
-
rs as T,
|
|
1450
|
-
ss as U,
|
|
1451
|
-
os as V,
|
|
1452
|
-
as as W,
|
|
1453
|
-
is as X,
|
|
1454
|
-
ls as Y,
|
|
1455
|
-
cs as Z,
|
|
1456
|
-
us as _,
|
|
1457
|
-
vr as a,
|
|
1458
|
-
fs as a0,
|
|
1459
|
-
hs as a1,
|
|
1460
|
-
ps as a2,
|
|
1461
|
-
$s as a3,
|
|
1462
|
-
gs as a4,
|
|
1463
|
-
ys as a5,
|
|
1464
|
-
vs as a6,
|
|
1465
|
-
ms as a7,
|
|
1466
|
-
bs as a8,
|
|
1467
|
-
Es as a9,
|
|
1468
|
-
Ss as aa,
|
|
1469
|
-
ws as ab,
|
|
1470
|
-
ks as ac,
|
|
1471
|
-
_s as ad,
|
|
1472
|
-
Cs as ae,
|
|
1473
|
-
gr as b,
|
|
1474
|
-
yr as c,
|
|
1475
|
-
Sr as d,
|
|
1476
|
-
kr as e,
|
|
1477
|
-
mr as f,
|
|
1478
|
-
_n as g,
|
|
1479
|
-
$t as h,
|
|
1480
|
-
_r as i,
|
|
1481
|
-
Rr as j,
|
|
1482
|
-
xr as k,
|
|
1483
|
-
Pr as l,
|
|
1484
|
-
Or as m,
|
|
1485
|
-
Ir as n,
|
|
1486
|
-
jr as o,
|
|
1487
|
-
Ar as p,
|
|
1488
|
-
Mr as q,
|
|
1489
|
-
Er as r,
|
|
1490
|
-
Hr as s,
|
|
1491
|
-
Br as t,
|
|
1492
|
-
Ts as u,
|
|
1493
|
-
Wr as v,
|
|
1494
|
-
zr as w,
|
|
1495
|
-
Yr as x,
|
|
1496
|
-
qr as y,
|
|
1497
|
-
Gr as z
|
|
1498
|
-
};
|