@nylas/react 1.1.0-canary.4 → 1.1.0-canary.7
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/elements/index.d.ts +1 -0
- package/dist/{elements-dc5b338e-fb5dbfb5.js → elements-dc5b338e-6078b875.js} +1 -1
- package/dist/{elements-dc5b338e-81a0319c.cjs → elements-dc5b338e-96e197ca.cjs} +1 -1
- package/dist/focus-visible-e8093c16-018ffd63.cjs +1 -0
- package/dist/{focus-visible-e8093c16-28fc08a0.js → focus-visible-e8093c16-ab01d60a.js} +5 -3
- package/dist/index-1fd24ccf.js +3582 -0
- package/dist/index-823fdc6f.cjs +36 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +53 -52
- package/package.json +3 -3
- package/dist/_commonjsHelpers-57e89916-4a3ae7d8.cjs +0 -1
- package/dist/_commonjsHelpers-57e89916-af061c86.js +0 -19
- package/dist/add-circle-icon_22.entry-077661c3.cjs +0 -1
- package/dist/add-circle-icon_22.entry-f699d91e.js +0 -1733
- package/dist/archive-icon_7.entry-40b7ef3b.js +0 -75
- package/dist/archive-icon_7.entry-e8630de9.cjs +0 -1
- package/dist/arrow-icon.entry-58246303.js +0 -15
- package/dist/arrow-icon.entry-ffa53114.cjs +0 -1
- package/dist/bold-icon_3.entry-106a4e77.cjs +0 -1
- package/dist/bold-icon_3.entry-f5f1643d.js +0 -35
- package/dist/calendar-cancel-icon.entry-6ae0fd0f.cjs +0 -1
- package/dist/calendar-cancel-icon.entry-75b15b19.js +0 -15
- package/dist/calendar-check-icon_2.entry-57339318.js +0 -25
- package/dist/calendar-check-icon_2.entry-c57f83f3.cjs +0 -1
- package/dist/calendar-icon.entry-2069fec6.js +0 -15
- package/dist/calendar-icon.entry-492c2630.cjs +0 -1
- package/dist/chevron-icon_3.entry-83df50c3.js +0 -117
- package/dist/chevron-icon_3.entry-878ff6df.cjs +0 -1
- package/dist/close-icon.entry-480c199d.js +0 -15
- package/dist/close-icon.entry-8015ca05.cjs +0 -1
- package/dist/constants-6ee60d6d-4cd16450.js +0 -3740
- package/dist/constants-6ee60d6d-6c0540db.cjs +0 -15
- package/dist/document-refresh-icon.entry-06f7972b.cjs +0 -1
- package/dist/document-refresh-icon.entry-09870b14.js +0 -15
- package/dist/focus-visible-e8093c16-f380b705.cjs +0 -1
- package/dist/forward-icon_6.entry-8bb201eb.js +0 -955
- package/dist/forward-icon_6.entry-eeecf2a2.cjs +0 -3
- package/dist/globe-icon.entry-a690028c.cjs +0 -1
- package/dist/globe-icon.entry-d515cbfa.js +0 -15
- package/dist/google-logo-icon_3.entry-2164cec1.js +0 -258
- package/dist/google-logo-icon_3.entry-b2b85284.cjs +0 -1
- package/dist/index-2b8437d6.cjs +0 -30
- package/dist/index-db0c5017.js +0 -1824
- package/dist/index.es-2578c6a5-098d48d0.cjs +0 -7
- package/dist/index.es-2578c6a5-71441142.js +0 -3133
- package/dist/info-icon_2.entry-300ef196.js +0 -34
- package/dist/info-icon_2.entry-e286aaa5.cjs +0 -1
- package/dist/loading-icon.entry-6d8adaa4.js +0 -15
- package/dist/loading-icon.entry-dc40e97d.cjs +0 -1
- package/dist/mailbox-store-bb21512c-649a374c.js +0 -381
- package/dist/mailbox-store-bb21512c-fc3c8c03.cjs +0 -1
- package/dist/nylas-additional-participants.entry-4afba192.js +0 -83
- package/dist/nylas-additional-participants.entry-db05e510.cjs +0 -1
- package/dist/nylas-booked-event-card_10.entry-1ebbe0c0.js +0 -784
- package/dist/nylas-booked-event-card_10.entry-6b6fdfae.cjs +0 -1
- package/dist/nylas-form-card.entry-70b20571.cjs +0 -1
- package/dist/nylas-form-card.entry-7bc23695.js +0 -56
- package/dist/nylas-if-state.entry-3829cb3d.js +0 -96
- package/dist/nylas-if-state.entry-ebeffe22.cjs +0 -1
- package/dist/nylas-list-folders.entry-191688f2.cjs +0 -1
- package/dist/nylas-list-folders.entry-7347e78d.js +0 -122
- package/dist/nylas-list-threads.entry-432a8d8c.js +0 -72
- package/dist/nylas-list-threads.entry-44658578.cjs +0 -1
- package/dist/nylas-login.entry-5311f0a7.js +0 -75
- package/dist/nylas-login.entry-db17a3d2.cjs +0 -1
- package/dist/nylas-mailbox-pagination.entry-20150fb2.js +0 -103
- package/dist/nylas-mailbox-pagination.entry-9d3f5baa.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-6c0f7299.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-eec426d5.js +0 -84
- package/dist/nylas-mailbox.entry-b6c758b9.js +0 -136
- package/dist/nylas-mailbox.entry-d41401e0.cjs +0 -1
- package/dist/nylas-provider.entry-271cafd2.js +0 -147
- package/dist/nylas-provider.entry-6173b721.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-0c75d39e.cjs +0 -7
- package/dist/nylas-scheduler-editor.entry-b51ad4b1.js +0 -2192
- package/dist/nylas-scheduling.entry-081c8825.cjs +0 -1
- package/dist/nylas-scheduling.entry-0a8d1da8.js +0 -237
- package/dist/nylas-threads-refresh.entry-72dd854e.js +0 -76
- package/dist/nylas-threads-refresh.entry-c3509e6a.cjs +0 -1
- package/dist/nylas-threads-search.entry-16a59ef6.cjs +0 -1
- package/dist/nylas-threads-search.entry-4750a187.js +0 -71
- package/dist/nylas-view-thread.entry-27df3349.cjs +0 -1
- package/dist/nylas-view-thread.entry-c6adce43.js +0 -205
- package/dist/people-icon.entry-342be0c8.js +0 -15
- package/dist/people-icon.entry-35252ca9.cjs +0 -1
- package/dist/play-icon_2.entry-0787352c.js +0 -25
- package/dist/play-icon_2.entry-f83fa92a.cjs +0 -1
- package/dist/refresh-icon.entry-8fbabfe7.js +0 -15
- package/dist/refresh-icon.entry-ddbc5446.cjs +0 -1
- package/dist/register-component-dc659dc3-e43e8fae.js +0 -105
- package/dist/register-component-dc659dc3-fb85ee68.cjs +0 -1
- package/dist/scheduler-config-store-51ee4f42-66f8c2ac.js +0 -14
- package/dist/scheduler-config-store-51ee4f42-d7d9c25d.cjs +0 -1
- package/dist/scheduler-store-72116723-ce4c7a69.cjs +0 -1
- package/dist/scheduler-store-72116723-e5f87122.js +0 -294
- package/dist/time-period-selector.entry-333942a8.js +0 -78
- package/dist/time-period-selector.entry-78d5b3c2.cjs +0 -1
- package/dist/translate-icon.entry-87a62108.js +0 -15
- package/dist/translate-icon.entry-cb19864c.cjs +0 -1
- package/dist/utils-c00bdc3c-89ab163d.js +0 -2111
- package/dist/utils-c00bdc3c-94b9c3b6.cjs +0 -8
- package/dist/warning-icon.entry-50755d91.cjs +0 -1
- package/dist/warning-icon.entry-7a72e24a.js +0 -15
package/dist/index-db0c5017.js
DELETED
|
@@ -1,1824 +0,0 @@
|
|
|
1
|
-
var wn = Object.defineProperty;
|
|
2
|
-
var Tn = (e, t, n) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var Ee = (e, t, n) => (Tn(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import ue, { createElement as Rn, useReducer as _n, useRef as Se, useEffect as On } from "react";
|
|
5
|
-
import "react-dom";
|
|
6
|
-
const xn = "nylas-web-elements", kt = (
|
|
7
|
-
/* nylas-web-elements */
|
|
8
|
-
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !0, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !0, cmpWillUpdate: !0, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !0, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !0, hostListenerTargetDocument: !0, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !0, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !0, propNumber: !0, propString: !0, reflect: !1, scoped: !0, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
9
|
-
);
|
|
10
|
-
let G, Re, fe, wt = !1, ie = !1, Le = !1, N = !1, _e = null, Oe = !1;
|
|
11
|
-
const B = (e, t = "") => () => {
|
|
12
|
-
}, Pn = (e, t) => () => {
|
|
13
|
-
}, In = "{visibility:hidden}.hydrated{visibility:inherit}", Tt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", Ln = [
|
|
14
|
-
"formAssociatedCallback",
|
|
15
|
-
"formResetCallback",
|
|
16
|
-
"formDisabledCallback",
|
|
17
|
-
"formStateRestoreCallback"
|
|
18
|
-
], lt = {}, Nn = "http://www.w3.org/2000/svg", An = "http://www.w3.org/1999/xhtml", jn = (e) => e != null, Ne = (e) => (e = typeof e, e === "object" || e === "function");
|
|
19
|
-
function Rt(e) {
|
|
20
|
-
var t, n, r;
|
|
21
|
-
return (r = (n = (t = e.head) === null || t === void 0 ? void 0 : t.querySelector('meta[name="csp-nonce"]')) === null || n === void 0 ? void 0 : n.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
|
|
22
|
-
}
|
|
23
|
-
const _t = (e, t, ...n) => {
|
|
24
|
-
let r = null, s = null, c = null, a = !1, l = !1;
|
|
25
|
-
const i = [], f = (g) => {
|
|
26
|
-
for (let $ = 0; $ < g.length; $++)
|
|
27
|
-
r = g[$], Array.isArray(r) ? f(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Ne(r)) && (r = String(r)), a && l ? i[i.length - 1].$text$ += r : i.push(a ? le(null, r) : r), l = a);
|
|
28
|
-
};
|
|
29
|
-
if (f(n), t) {
|
|
30
|
-
t.key && (s = t.key), t.name && (c = t.name);
|
|
31
|
-
{
|
|
32
|
-
const g = t.className || t.class;
|
|
33
|
-
g && (t.class = typeof g != "object" ? g : Object.keys(g).filter(($) => g[$]).join(" "));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
if (typeof e == "function")
|
|
37
|
-
return e(t === null ? {} : t, i, Fn);
|
|
38
|
-
const h = le(e, null);
|
|
39
|
-
return h.$attrs$ = t, i.length > 0 && (h.$children$ = i), h.$key$ = s, h.$name$ = c, h;
|
|
40
|
-
}, le = (e, t) => {
|
|
41
|
-
const n = {
|
|
42
|
-
$flags$: 0,
|
|
43
|
-
$tag$: e,
|
|
44
|
-
$text$: t,
|
|
45
|
-
$elm$: null,
|
|
46
|
-
$children$: null
|
|
47
|
-
};
|
|
48
|
-
return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
|
|
49
|
-
}, Dn = {}, Hn = (e) => e && e.$tag$ === Dn, Fn = {
|
|
50
|
-
forEach: (e, t) => e.map(ct).forEach(t),
|
|
51
|
-
map: (e, t) => e.map(ct).map(t).map(Mn)
|
|
52
|
-
}, ct = (e) => ({
|
|
53
|
-
vattrs: e.$attrs$,
|
|
54
|
-
vchildren: e.$children$,
|
|
55
|
-
vkey: e.$key$,
|
|
56
|
-
vname: e.$name$,
|
|
57
|
-
vtag: e.$tag$,
|
|
58
|
-
vtext: e.$text$
|
|
59
|
-
}), Mn = (e) => {
|
|
60
|
-
if (typeof e.vtag == "function") {
|
|
61
|
-
const n = Object.assign({}, e.vattrs);
|
|
62
|
-
return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), _t(e.vtag, n, ...e.vchildren || []);
|
|
63
|
-
}
|
|
64
|
-
const t = le(e.vtag, e.vtext);
|
|
65
|
-
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
66
|
-
}, Bn = (e, t) => e != null && !Ne(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Un = (e) => j(e).$hostElement$, zo = (e, t, n) => {
|
|
67
|
-
const r = Un(e);
|
|
68
|
-
return {
|
|
69
|
-
emit: (s) => Ot(r, t, {
|
|
70
|
-
bubbles: !!(n & 4),
|
|
71
|
-
composed: !!(n & 2),
|
|
72
|
-
cancelable: !!(n & 1),
|
|
73
|
-
detail: s
|
|
74
|
-
})
|
|
75
|
-
};
|
|
76
|
-
}, Ot = (e, t, n) => {
|
|
77
|
-
const r = O.ce(t, n);
|
|
78
|
-
return e.dispatchEvent(r), r;
|
|
79
|
-
}, dt = /* @__PURE__ */ new WeakMap(), zn = (e, t, n) => {
|
|
80
|
-
let r = de.get(e);
|
|
81
|
-
$o && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, de.set(e, r);
|
|
82
|
-
}, Wn = (e, t, n) => {
|
|
83
|
-
var r;
|
|
84
|
-
const s = xt(t), c = de.get(s);
|
|
85
|
-
if (e = e.nodeType === 11 ? e : I, c)
|
|
86
|
-
if (typeof c == "string") {
|
|
87
|
-
e = e.head || e;
|
|
88
|
-
let a = dt.get(e), l;
|
|
89
|
-
if (a || dt.set(e, a = /* @__PURE__ */ new Set()), !a.has(s)) {
|
|
90
|
-
{
|
|
91
|
-
l = I.createElement("style"), l.innerHTML = c;
|
|
92
|
-
const i = (r = O.$nonce$) !== null && r !== void 0 ? r : Rt(I);
|
|
93
|
-
i != null && l.setAttribute("nonce", i), e.insertBefore(l, e.querySelector("link"));
|
|
94
|
-
}
|
|
95
|
-
t.$flags$ & 4 && (l.innerHTML += Tt), a && a.add(s);
|
|
96
|
-
}
|
|
97
|
-
} else
|
|
98
|
-
e.adoptedStyleSheets.includes(c) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, c]);
|
|
99
|
-
return s;
|
|
100
|
-
}, qn = (e) => {
|
|
101
|
-
const t = e.$cmpMeta$, n = e.$hostElement$, r = t.$flags$, s = B("attachStyles", t.$tagName$), c = Wn(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
|
|
102
|
-
r & 10 && (n["s-sc"] = c, n.classList.add(c + "-h"), r & 2 && n.classList.add(c + "-s")), s();
|
|
103
|
-
}, xt = (e, t) => "sc-" + e.$tagName$, ut = (e, t, n, r, s, c) => {
|
|
104
|
-
if (n !== r) {
|
|
105
|
-
let a = yt(e, t), l = t.toLowerCase();
|
|
106
|
-
if (t === "class") {
|
|
107
|
-
const i = e.classList, f = ft(n), h = ft(r);
|
|
108
|
-
i.remove(...f.filter((g) => g && !h.includes(g))), i.add(...h.filter((g) => g && !f.includes(g)));
|
|
109
|
-
} else if (t === "style") {
|
|
110
|
-
for (const i in n)
|
|
111
|
-
(!r || r[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
|
|
112
|
-
for (const i in r)
|
|
113
|
-
(!n || r[i] !== n[i]) && (i.includes("-") ? e.style.setProperty(i, r[i]) : e.style[i] = r[i]);
|
|
114
|
-
} else if (t !== "key")
|
|
115
|
-
if (t === "ref")
|
|
116
|
-
r && r(e);
|
|
117
|
-
else if (!a && t[0] === "o" && t[1] === "n") {
|
|
118
|
-
if (t[2] === "-" ? t = t.slice(3) : yt(ee, l) ? t = l.slice(2) : t = l[2] + t.slice(3), n || r) {
|
|
119
|
-
const i = t.endsWith(Pt);
|
|
120
|
-
t = t.replace(Gn, ""), n && O.rel(e, t, n, i), r && O.ael(e, t, r, i);
|
|
121
|
-
}
|
|
122
|
-
} else {
|
|
123
|
-
const i = Ne(r);
|
|
124
|
-
if ((a || i && r !== null) && !s)
|
|
125
|
-
try {
|
|
126
|
-
if (e.tagName.includes("-"))
|
|
127
|
-
e[t] = r;
|
|
128
|
-
else {
|
|
129
|
-
const f = r ?? "";
|
|
130
|
-
t === "list" ? a = !1 : (n == null || e[t] != f) && (e[t] = f);
|
|
131
|
-
}
|
|
132
|
-
} catch {
|
|
133
|
-
}
|
|
134
|
-
r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || c & 4 || s) && !i && (r = r === !0 ? "" : r, e.setAttribute(t, r));
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}, Yn = /\s/, ft = (e) => e ? e.split(Yn) : [], Pt = "Capture", Gn = new RegExp(Pt + "$"), It = (e, t, n, r) => {
|
|
138
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, c = e && e.$attrs$ || lt, a = t.$attrs$ || lt;
|
|
139
|
-
for (r in c)
|
|
140
|
-
r in a || ut(s, r, c[r], void 0, n, t.$flags$);
|
|
141
|
-
for (r in a)
|
|
142
|
-
ut(s, r, c[r], a[r], n, t.$flags$);
|
|
143
|
-
}, ce = (e, t, n, r) => {
|
|
144
|
-
const s = t.$children$[n];
|
|
145
|
-
let c = 0, a, l, i;
|
|
146
|
-
if (wt || (Le = !0, s.$tag$ === "slot" && (G && r.classList.add(G + "-s"), s.$flags$ |= s.$children$ ? (
|
|
147
|
-
// slot element has fallback content
|
|
148
|
-
2
|
|
149
|
-
) : (
|
|
150
|
-
// slot element does not have fallback content
|
|
151
|
-
1
|
|
152
|
-
))), s.$text$ !== null)
|
|
153
|
-
a = s.$elm$ = I.createTextNode(s.$text$);
|
|
154
|
-
else if (s.$flags$ & 1)
|
|
155
|
-
a = s.$elm$ = I.createTextNode("");
|
|
156
|
-
else {
|
|
157
|
-
if (N || (N = s.$tag$ === "svg"), a = s.$elm$ = I.createElementNS(N ? Nn : An, s.$flags$ & 2 ? "slot-fb" : s.$tag$), N && s.$tag$ === "foreignObject" && (N = !1), It(null, s, N), jn(G) && a["s-si"] !== G && a.classList.add(a["s-si"] = G), s.$children$)
|
|
158
|
-
for (c = 0; c < s.$children$.length; ++c)
|
|
159
|
-
l = ce(e, s, c, a), l && a.appendChild(l);
|
|
160
|
-
s.$tag$ === "svg" ? N = !1 : a.tagName === "foreignObject" && (N = !0);
|
|
161
|
-
}
|
|
162
|
-
return a["s-hn"] = fe, s.$flags$ & 3 && (a["s-sr"] = !0, a["s-cr"] = Re, a["s-sn"] = s.$name$ || "", i = e && e.$children$ && e.$children$[n], i && i.$tag$ === s.$tag$ && e.$elm$ && V(e.$elm$, !1)), a;
|
|
163
|
-
}, V = (e, t) => {
|
|
164
|
-
O.$flags$ |= 1;
|
|
165
|
-
const n = e.childNodes;
|
|
166
|
-
for (let r = n.length - 1; r >= 0; r--) {
|
|
167
|
-
const s = n[r];
|
|
168
|
-
s["s-hn"] !== fe && s["s-ol"] && (At(s).insertBefore(s, Ae(s)), s["s-ol"].remove(), s["s-ol"] = void 0, s["s-sh"] = void 0, Le = !0), t && V(s, t);
|
|
169
|
-
}
|
|
170
|
-
O.$flags$ &= -2;
|
|
171
|
-
}, Lt = (e, t, n, r, s, c) => {
|
|
172
|
-
let a = e["s-cr"] && e["s-cr"].parentNode || e, l;
|
|
173
|
-
for (a.shadowRoot && a.tagName === fe && (a = a.shadowRoot); s <= c; ++s)
|
|
174
|
-
r[s] && (l = ce(null, n, s, e), l && (r[s].$elm$ = l, a.insertBefore(l, Ae(t))));
|
|
175
|
-
}, Nt = (e, t, n) => {
|
|
176
|
-
for (let r = t; r <= n; ++r) {
|
|
177
|
-
const s = e[r];
|
|
178
|
-
if (s) {
|
|
179
|
-
const c = s.$elm$;
|
|
180
|
-
Ht(s), c && (ie = !0, c["s-ol"] ? c["s-ol"].remove() : V(c, !0), c.remove());
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}, Jn = (e, t, n, r, s = !1) => {
|
|
184
|
-
let c = 0, a = 0, l = 0, i = 0, f = t.length - 1, h = t[0], g = t[f], $ = r.length - 1, S = r[0], m = r[$], y, C;
|
|
185
|
-
for (; c <= f && a <= $; )
|
|
186
|
-
if (h == null)
|
|
187
|
-
h = t[++c];
|
|
188
|
-
else if (g == null)
|
|
189
|
-
g = t[--f];
|
|
190
|
-
else if (S == null)
|
|
191
|
-
S = r[++a];
|
|
192
|
-
else if (m == null)
|
|
193
|
-
m = r[--$];
|
|
194
|
-
else if (ae(h, S, s))
|
|
195
|
-
J(h, S, s), h = t[++c], S = r[++a];
|
|
196
|
-
else if (ae(g, m, s))
|
|
197
|
-
J(g, m, s), g = t[--f], m = r[--$];
|
|
198
|
-
else if (ae(h, m, s))
|
|
199
|
-
(h.$tag$ === "slot" || m.$tag$ === "slot") && V(h.$elm$.parentNode, !1), J(h, m, s), e.insertBefore(h.$elm$, g.$elm$.nextSibling), h = t[++c], m = r[--$];
|
|
200
|
-
else if (ae(g, S, s))
|
|
201
|
-
(h.$tag$ === "slot" || m.$tag$ === "slot") && V(g.$elm$.parentNode, !1), J(g, S, s), e.insertBefore(g.$elm$, h.$elm$), g = t[--f], S = r[++a];
|
|
202
|
-
else {
|
|
203
|
-
for (l = -1, i = c; i <= f; ++i)
|
|
204
|
-
if (t[i] && t[i].$key$ !== null && t[i].$key$ === S.$key$) {
|
|
205
|
-
l = i;
|
|
206
|
-
break;
|
|
207
|
-
}
|
|
208
|
-
l >= 0 ? (C = t[l], C.$tag$ !== S.$tag$ ? y = ce(t && t[a], n, l, e) : (J(C, S, s), t[l] = void 0, y = C.$elm$), S = r[++a]) : (y = ce(t && t[a], n, a, e), S = r[++a]), y && At(h.$elm$).insertBefore(y, Ae(h.$elm$));
|
|
209
|
-
}
|
|
210
|
-
c > f ? Lt(e, r[$ + 1] == null ? null : r[$ + 1].$elm$, n, r, a, $) : a > $ && Nt(t, c, f);
|
|
211
|
-
}, ae = (e, t, n = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : n ? !0 : e.$key$ === t.$key$ : !1, Ae = (e) => e && e["s-ol"] || e, At = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, J = (e, t, n = !1) => {
|
|
212
|
-
const r = t.$elm$ = e.$elm$, s = e.$children$, c = t.$children$, a = t.$tag$, l = t.$text$;
|
|
213
|
-
let i;
|
|
214
|
-
l === null ? (N = a === "svg" ? !0 : a === "foreignObject" ? !1 : N, a === "slot" || It(e, t, N), s !== null && c !== null ? Jn(r, s, t, c, n) : c !== null ? (e.$text$ !== null && (r.textContent = ""), Lt(r, null, t, c, 0, c.length - 1)) : s !== null && Nt(s, 0, s.length - 1), N && a === "svg" && (N = !1)) : (i = r["s-cr"]) ? i.parentNode.textContent = l : e.$text$ !== l && (r.data = l);
|
|
215
|
-
}, jt = (e) => {
|
|
216
|
-
const t = e.childNodes;
|
|
217
|
-
for (const n of t)
|
|
218
|
-
if (n.nodeType === 1) {
|
|
219
|
-
if (n["s-sr"]) {
|
|
220
|
-
const r = n["s-sn"];
|
|
221
|
-
n.hidden = !1;
|
|
222
|
-
for (const s of t)
|
|
223
|
-
if (s !== n) {
|
|
224
|
-
if (s["s-hn"] !== n["s-hn"] || r !== "") {
|
|
225
|
-
if (s.nodeType === 1 && (r === s.getAttribute("slot") || r === s["s-sn"])) {
|
|
226
|
-
n.hidden = !0;
|
|
227
|
-
break;
|
|
228
|
-
}
|
|
229
|
-
} else if (s.nodeType === 1 || s.nodeType === 3 && s.textContent.trim() !== "") {
|
|
230
|
-
n.hidden = !0;
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
jt(n);
|
|
236
|
-
}
|
|
237
|
-
}, F = [], Dt = (e) => {
|
|
238
|
-
let t, n, r;
|
|
239
|
-
for (const s of e.childNodes) {
|
|
240
|
-
if (s["s-sr"] && (t = s["s-cr"]) && t.parentNode) {
|
|
241
|
-
n = t.parentNode.childNodes;
|
|
242
|
-
const c = s["s-sn"];
|
|
243
|
-
for (r = n.length - 1; r >= 0; r--)
|
|
244
|
-
if (t = n[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== s["s-hn"] && !kt.experimentalSlotFixes)
|
|
245
|
-
if (ht(t, c)) {
|
|
246
|
-
let a = F.find((l) => l.$nodeToRelocate$ === t);
|
|
247
|
-
ie = !0, t["s-sn"] = t["s-sn"] || c, a ? (a.$nodeToRelocate$["s-sh"] = s["s-hn"], a.$slotRefNode$ = s) : (t["s-sh"] = s["s-hn"], F.push({
|
|
248
|
-
$slotRefNode$: s,
|
|
249
|
-
$nodeToRelocate$: t
|
|
250
|
-
})), t["s-sr"] && F.map((l) => {
|
|
251
|
-
ht(l.$nodeToRelocate$, t["s-sn"]) && (a = F.find((i) => i.$nodeToRelocate$ === t), a && !l.$slotRefNode$ && (l.$slotRefNode$ = a.$slotRefNode$));
|
|
252
|
-
});
|
|
253
|
-
} else
|
|
254
|
-
F.some((a) => a.$nodeToRelocate$ === t) || F.push({
|
|
255
|
-
$nodeToRelocate$: t
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
s.nodeType === 1 && Dt(s);
|
|
259
|
-
}
|
|
260
|
-
}, ht = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Ht = (e) => {
|
|
261
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Ht);
|
|
262
|
-
}, Kn = (e, t, n = !1) => {
|
|
263
|
-
var r, s, c, a;
|
|
264
|
-
const l = e.$hostElement$, i = e.$cmpMeta$, f = e.$vnode$ || le(null, null), h = Hn(t) ? t : _t(null, null, t);
|
|
265
|
-
if (fe = l.tagName, n && h.$attrs$)
|
|
266
|
-
for (const g of Object.keys(h.$attrs$))
|
|
267
|
-
l.hasAttribute(g) && !["key", "ref", "style", "class"].includes(g) && (h.$attrs$[g] = l[g]);
|
|
268
|
-
h.$tag$ = null, h.$flags$ |= 4, e.$vnode$ = h, h.$elm$ = f.$elm$ = l.shadowRoot || l, G = l["s-sc"], Re = l["s-cr"], wt = (i.$flags$ & 1) !== 0, ie = !1, J(f, h, n);
|
|
269
|
-
{
|
|
270
|
-
if (O.$flags$ |= 1, Le) {
|
|
271
|
-
Dt(h.$elm$);
|
|
272
|
-
for (const g of F) {
|
|
273
|
-
const $ = g.$nodeToRelocate$;
|
|
274
|
-
if (!$["s-ol"]) {
|
|
275
|
-
const S = I.createTextNode("");
|
|
276
|
-
S["s-nr"] = $, $.parentNode.insertBefore($["s-ol"] = S, $);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
for (const g of F) {
|
|
280
|
-
const $ = g.$nodeToRelocate$, S = g.$slotRefNode$;
|
|
281
|
-
if (S) {
|
|
282
|
-
const m = S.parentNode;
|
|
283
|
-
let y = S.nextSibling;
|
|
284
|
-
{
|
|
285
|
-
let C = (r = $["s-ol"]) === null || r === void 0 ? void 0 : r.previousSibling;
|
|
286
|
-
for (; C; ) {
|
|
287
|
-
let E = (s = C["s-nr"]) !== null && s !== void 0 ? s : null;
|
|
288
|
-
if (E && E["s-sn"] === $["s-sn"] && m === E.parentNode && (E = E.nextSibling, !E || !E["s-nr"])) {
|
|
289
|
-
y = E;
|
|
290
|
-
break;
|
|
291
|
-
}
|
|
292
|
-
C = C.previousSibling;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
(!y && m !== $.parentNode || $.nextSibling !== y) && $ !== y && (!$["s-hn"] && $["s-ol"] && ($["s-hn"] = $["s-ol"].parentNode.nodeName), m.insertBefore($, y), $.nodeType === 1 && ($.hidden = (c = $["s-ih"]) !== null && c !== void 0 ? c : !1));
|
|
296
|
-
} else
|
|
297
|
-
$.nodeType === 1 && (n && ($["s-ih"] = (a = $.hidden) !== null && a !== void 0 ? a : !1), $.hidden = !0);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
ie && jt(h.$elm$), O.$flags$ &= -2, F.length = 0;
|
|
301
|
-
}
|
|
302
|
-
Re = void 0;
|
|
303
|
-
}, Ft = (e, t) => {
|
|
304
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
305
|
-
}, he = (e, t) => {
|
|
306
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
307
|
-
e.$flags$ |= 512;
|
|
308
|
-
return;
|
|
309
|
-
}
|
|
310
|
-
return Ft(e, e.$ancestorComponent$), yo(() => Xn(e, t));
|
|
311
|
-
}, Xn = (e, t) => {
|
|
312
|
-
const n = B("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
313
|
-
let s;
|
|
314
|
-
return t ? (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([c, a]) => M(r, c, a)), e.$queuedListeners$ = void 0), s = M(r, "componentWillLoad")) : s = M(r, "componentWillUpdate"), s = pt(s, () => M(r, "componentWillRender")), n(), pt(s, () => Zn(e, r, t));
|
|
315
|
-
}, pt = (e, t) => Qn(e) ? e.then(t) : t(), Qn = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Zn = async (e, t, n) => {
|
|
316
|
-
var r;
|
|
317
|
-
const s = e.$hostElement$, c = B("update", e.$cmpMeta$.$tagName$), a = s["s-rc"];
|
|
318
|
-
n && qn(e);
|
|
319
|
-
const l = B("render", e.$cmpMeta$.$tagName$);
|
|
320
|
-
Vn(e, t, s, n), a && (a.map((i) => i()), s["s-rc"] = void 0), l(), c();
|
|
321
|
-
{
|
|
322
|
-
const i = (r = s["s-p"]) !== null && r !== void 0 ? r : [], f = () => eo(e);
|
|
323
|
-
i.length === 0 ? f() : (Promise.all(i).then(f), e.$flags$ |= 4, i.length = 0);
|
|
324
|
-
}
|
|
325
|
-
}, Vn = (e, t, n, r) => {
|
|
326
|
-
try {
|
|
327
|
-
_e = t, t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Kn(e, t, r);
|
|
328
|
-
} catch (s) {
|
|
329
|
-
b(s, e.$hostElement$);
|
|
330
|
-
}
|
|
331
|
-
return _e = null, null;
|
|
332
|
-
}, gt = () => _e, eo = (e) => {
|
|
333
|
-
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r = B("postUpdate", t), s = e.$lazyInstance$, c = e.$ancestorComponent$;
|
|
334
|
-
M(s, "componentDidRender"), e.$flags$ & 64 ? (M(s, "componentDidUpdate"), r()) : (e.$flags$ |= 64, Bt(n), M(s, "componentDidLoad"), r(), e.$onReadyResolve$(n), c || Mt()), e.$onInstanceResolve$(n), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && De(() => he(e, !1)), e.$flags$ &= -517;
|
|
335
|
-
}, $t = (e) => {
|
|
336
|
-
{
|
|
337
|
-
const t = j(e), n = t.$hostElement$.isConnected;
|
|
338
|
-
return n && (t.$flags$ & 18) === 2 && he(t, !1), n;
|
|
339
|
-
}
|
|
340
|
-
}, Mt = (e) => {
|
|
341
|
-
Bt(I.documentElement), De(() => Ot(ee, "appload", { detail: { namespace: xn } }));
|
|
342
|
-
}, M = (e, t, n) => {
|
|
343
|
-
if (e && e[t])
|
|
344
|
-
try {
|
|
345
|
-
return e[t](n);
|
|
346
|
-
} catch (r) {
|
|
347
|
-
b(r);
|
|
348
|
-
}
|
|
349
|
-
}, Bt = (e) => e.classList.add("hydrated"), to = (e, t) => j(e).$instanceValues$.get(t), no = (e, t, n, r) => {
|
|
350
|
-
const s = j(e), c = s.$hostElement$, a = s.$instanceValues$.get(t), l = s.$flags$, i = s.$lazyInstance$;
|
|
351
|
-
n = Bn(n, r.$members$[t][0]);
|
|
352
|
-
const f = Number.isNaN(a) && Number.isNaN(n), h = n !== a && !f;
|
|
353
|
-
if ((!(l & 8) || a === void 0) && h && (s.$instanceValues$.set(t, n), i)) {
|
|
354
|
-
if (r.$watchers$ && l & 128) {
|
|
355
|
-
const g = r.$watchers$[t];
|
|
356
|
-
g && g.map(($) => {
|
|
357
|
-
try {
|
|
358
|
-
i[$](n, a, t);
|
|
359
|
-
} catch (S) {
|
|
360
|
-
b(S, c);
|
|
361
|
-
}
|
|
362
|
-
});
|
|
363
|
-
}
|
|
364
|
-
(l & 18) === 2 && he(s, !1);
|
|
365
|
-
}
|
|
366
|
-
}, Ut = (e, t, n) => {
|
|
367
|
-
var r;
|
|
368
|
-
const s = e.prototype;
|
|
369
|
-
if (t.$flags$ & 64 && n & 1 && Ln.forEach((c) => Object.defineProperty(s, c, {
|
|
370
|
-
value(...a) {
|
|
371
|
-
const l = j(this), i = l.$lazyInstance$;
|
|
372
|
-
if (!i)
|
|
373
|
-
l.$onReadyPromise$.then((f) => {
|
|
374
|
-
const h = f[c];
|
|
375
|
-
typeof h == "function" && h.call(f, ...a);
|
|
376
|
-
});
|
|
377
|
-
else {
|
|
378
|
-
const f = i[c];
|
|
379
|
-
typeof f == "function" && f.call(i, ...a);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
})), t.$members$) {
|
|
383
|
-
e.watchers && (t.$watchers$ = e.watchers);
|
|
384
|
-
const c = Object.entries(t.$members$);
|
|
385
|
-
if (c.map(([a, [l]]) => {
|
|
386
|
-
l & 31 || n & 2 && l & 32 ? Object.defineProperty(s, a, {
|
|
387
|
-
get() {
|
|
388
|
-
return to(this, a);
|
|
389
|
-
},
|
|
390
|
-
set(i) {
|
|
391
|
-
no(this, a, i, t);
|
|
392
|
-
},
|
|
393
|
-
configurable: !0,
|
|
394
|
-
enumerable: !0
|
|
395
|
-
}) : n & 1 && l & 64 && Object.defineProperty(s, a, {
|
|
396
|
-
value(...i) {
|
|
397
|
-
var f;
|
|
398
|
-
const h = j(this);
|
|
399
|
-
return (f = h == null ? void 0 : h.$onInstancePromise$) === null || f === void 0 ? void 0 : f.then(() => {
|
|
400
|
-
var g;
|
|
401
|
-
return (g = h.$lazyInstance$) === null || g === void 0 ? void 0 : g[a](...i);
|
|
402
|
-
});
|
|
403
|
-
}
|
|
404
|
-
});
|
|
405
|
-
}), n & 1) {
|
|
406
|
-
const a = /* @__PURE__ */ new Map();
|
|
407
|
-
s.attributeChangedCallback = function(l, i, f) {
|
|
408
|
-
O.jmp(() => {
|
|
409
|
-
var h;
|
|
410
|
-
const g = a.get(l);
|
|
411
|
-
if (this.hasOwnProperty(g))
|
|
412
|
-
f = this[g], delete this[g];
|
|
413
|
-
else {
|
|
414
|
-
if (s.hasOwnProperty(g) && typeof this[g] == "number" && this[g] == f)
|
|
415
|
-
return;
|
|
416
|
-
if (g == null) {
|
|
417
|
-
const $ = j(this), S = $ == null ? void 0 : $.$flags$;
|
|
418
|
-
if (S && !(S & 8) && S & 128 && f !== i) {
|
|
419
|
-
const m = $.$lazyInstance$, y = (h = t.$watchers$) === null || h === void 0 ? void 0 : h[l];
|
|
420
|
-
y == null || y.forEach((C) => {
|
|
421
|
-
m[C] != null && m[C].call(m, f, i, l);
|
|
422
|
-
});
|
|
423
|
-
}
|
|
424
|
-
return;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
this[g] = f === null && typeof this[g] == "boolean" ? !1 : f;
|
|
428
|
-
});
|
|
429
|
-
}, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([
|
|
430
|
-
...Object.keys((r = t.$watchers$) !== null && r !== void 0 ? r : {}),
|
|
431
|
-
...c.filter(
|
|
432
|
-
([l, i]) => i[0] & 15
|
|
433
|
-
/* MEMBER_FLAGS.HasAttribute */
|
|
434
|
-
).map(([l, i]) => {
|
|
435
|
-
const f = i[1] || l;
|
|
436
|
-
return a.set(f, l), f;
|
|
437
|
-
})
|
|
438
|
-
]));
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
return e;
|
|
442
|
-
}, oo = async (e, t, n, r) => {
|
|
443
|
-
let s;
|
|
444
|
-
if (!(t.$flags$ & 32)) {
|
|
445
|
-
t.$flags$ |= 32;
|
|
446
|
-
{
|
|
447
|
-
if (s = ho(n), s.then) {
|
|
448
|
-
const i = Pn();
|
|
449
|
-
s = await s, i();
|
|
450
|
-
}
|
|
451
|
-
s.isProxied || (n.$watchers$ = s.watchers, Ut(
|
|
452
|
-
s,
|
|
453
|
-
n,
|
|
454
|
-
2
|
|
455
|
-
/* PROXY_FLAGS.proxyState */
|
|
456
|
-
), s.isProxied = !0);
|
|
457
|
-
const l = B("createInstance", n.$tagName$);
|
|
458
|
-
t.$flags$ |= 8;
|
|
459
|
-
try {
|
|
460
|
-
new s(t);
|
|
461
|
-
} catch (i) {
|
|
462
|
-
b(i);
|
|
463
|
-
}
|
|
464
|
-
t.$flags$ &= -9, t.$flags$ |= 128, l(), xe(t.$lazyInstance$);
|
|
465
|
-
}
|
|
466
|
-
if (s.style) {
|
|
467
|
-
let l = s.style;
|
|
468
|
-
const i = xt(n);
|
|
469
|
-
if (!de.has(i)) {
|
|
470
|
-
const f = B("registerStyles", n.$tagName$);
|
|
471
|
-
zn(i, l, !!(n.$flags$ & 1)), f();
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
const c = t.$ancestorComponent$, a = () => he(t, !0);
|
|
476
|
-
c && c["s-rc"] ? c["s-rc"].push(a) : a();
|
|
477
|
-
}, xe = (e) => {
|
|
478
|
-
M(e, "connectedCallback");
|
|
479
|
-
}, so = (e) => {
|
|
480
|
-
if (!(O.$flags$ & 1)) {
|
|
481
|
-
const t = j(e), n = t.$cmpMeta$, r = B("connectedCallback", n.$tagName$);
|
|
482
|
-
if (t.$flags$ & 1)
|
|
483
|
-
zt(e, t, n.$listeners$), t != null && t.$lazyInstance$ ? xe(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => xe(t.$lazyInstance$));
|
|
484
|
-
else {
|
|
485
|
-
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
486
|
-
n.$flags$ & 12 && ro(e);
|
|
487
|
-
{
|
|
488
|
-
let s = e;
|
|
489
|
-
for (; s = s.parentNode || s.host; )
|
|
490
|
-
if (s["s-p"]) {
|
|
491
|
-
Ft(t, t.$ancestorComponent$ = s);
|
|
492
|
-
break;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
n.$members$ && Object.entries(n.$members$).map(([s, [c]]) => {
|
|
496
|
-
if (c & 31 && e.hasOwnProperty(s)) {
|
|
497
|
-
const a = e[s];
|
|
498
|
-
delete e[s], e[s] = a;
|
|
499
|
-
}
|
|
500
|
-
}), oo(e, t, n);
|
|
501
|
-
}
|
|
502
|
-
r();
|
|
503
|
-
}
|
|
504
|
-
}, ro = (e) => {
|
|
505
|
-
const t = e["s-cr"] = I.createComment("");
|
|
506
|
-
t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
|
|
507
|
-
}, mt = (e) => {
|
|
508
|
-
M(e, "disconnectedCallback");
|
|
509
|
-
}, ao = async (e) => {
|
|
510
|
-
if (!(O.$flags$ & 1)) {
|
|
511
|
-
const t = j(e);
|
|
512
|
-
t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? mt(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => mt(t.$lazyInstance$));
|
|
513
|
-
}
|
|
514
|
-
}, io = (e, t = {}) => {
|
|
515
|
-
var n;
|
|
516
|
-
const r = B(), s = [], c = t.exclude || [], a = ee.customElements, l = I.head, i = /* @__PURE__ */ l.querySelector("meta[charset]"), f = /* @__PURE__ */ I.createElement("style"), h = [];
|
|
517
|
-
let g, $ = !0;
|
|
518
|
-
Object.assign(O, t), O.$resourcesUrl$ = new URL(t.resourcesUrl || "./", I.baseURI).href;
|
|
519
|
-
let S = !1;
|
|
520
|
-
if (e.map((m) => {
|
|
521
|
-
m[1].map((y) => {
|
|
522
|
-
var C;
|
|
523
|
-
const E = {
|
|
524
|
-
$flags$: y[0],
|
|
525
|
-
$tagName$: y[1],
|
|
526
|
-
$members$: y[2],
|
|
527
|
-
$listeners$: y[3]
|
|
528
|
-
};
|
|
529
|
-
E.$flags$ & 4 && (S = !0), E.$members$ = y[2], E.$listeners$ = y[3], E.$watchers$ = (C = y[4]) !== null && C !== void 0 ? C : {};
|
|
530
|
-
const R = E.$tagName$, z = class extends HTMLElement {
|
|
531
|
-
// StencilLazyHost
|
|
532
|
-
constructor(W) {
|
|
533
|
-
super(W), W = this, fo(W, E), E.$flags$ & 1 && W.attachShadow({ mode: "open" });
|
|
534
|
-
}
|
|
535
|
-
connectedCallback() {
|
|
536
|
-
g && (clearTimeout(g), g = null), $ ? h.push(this) : O.jmp(() => so(this));
|
|
537
|
-
}
|
|
538
|
-
disconnectedCallback() {
|
|
539
|
-
O.jmp(() => ao(this));
|
|
540
|
-
}
|
|
541
|
-
componentOnReady() {
|
|
542
|
-
return j(this).$onReadyPromise$;
|
|
543
|
-
}
|
|
544
|
-
};
|
|
545
|
-
E.$flags$ & 64 && (z.formAssociated = !0), E.$lazyBundleId$ = m[0], !c.includes(R) && !a.get(R) && (s.push(R), a.define(R, Ut(
|
|
546
|
-
z,
|
|
547
|
-
E,
|
|
548
|
-
1
|
|
549
|
-
/* PROXY_FLAGS.isElementConstructor */
|
|
550
|
-
)));
|
|
551
|
-
});
|
|
552
|
-
}), S && (f.innerHTML += Tt), f.innerHTML += s + In, f.innerHTML.length) {
|
|
553
|
-
f.setAttribute("data-styles", "");
|
|
554
|
-
const m = (n = O.$nonce$) !== null && n !== void 0 ? n : Rt(I);
|
|
555
|
-
m != null && f.setAttribute("nonce", m), l.insertBefore(f, i ? i.nextSibling : l.firstChild);
|
|
556
|
-
}
|
|
557
|
-
$ = !1, h.length ? h.map((m) => m.connectedCallback()) : O.jmp(() => g = setTimeout(Mt, 30)), r();
|
|
558
|
-
}, Wo = (e, t) => t, zt = (e, t, n, r) => {
|
|
559
|
-
n && n.map(([s, c, a]) => {
|
|
560
|
-
const l = co(e, s), i = lo(t, a), f = uo(s);
|
|
561
|
-
O.ael(l, c, i, f), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => O.rel(l, c, i, f));
|
|
562
|
-
});
|
|
563
|
-
}, lo = (e, t) => (n) => {
|
|
564
|
-
try {
|
|
565
|
-
e.$flags$ & 256 ? e.$lazyInstance$[t](n) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, n]);
|
|
566
|
-
} catch (r) {
|
|
567
|
-
b(r);
|
|
568
|
-
}
|
|
569
|
-
}, co = (e, t) => t & 4 ? I : t & 8 ? ee : t & 16 ? I.body : e, uo = (e) => po ? {
|
|
570
|
-
passive: (e & 1) !== 0,
|
|
571
|
-
capture: (e & 2) !== 0
|
|
572
|
-
} : (e & 2) !== 0, qo = (e) => O.$nonce$ = e, je = /* @__PURE__ */ new WeakMap(), j = (e) => je.get(e), Yo = (e, t) => je.set(t.$lazyInstance$ = e, t), fo = (e, t) => {
|
|
573
|
-
const n = {
|
|
574
|
-
$flags$: 0,
|
|
575
|
-
$hostElement$: e,
|
|
576
|
-
$cmpMeta$: t,
|
|
577
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
578
|
-
};
|
|
579
|
-
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], zt(e, n, t.$listeners$), je.set(e, n);
|
|
580
|
-
}, yt = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), ke = /* @__PURE__ */ new Map(), ho = (e, t, n) => {
|
|
581
|
-
const r = e.$tagName$.replace(/-/g, "_"), s = e.$lazyBundleId$, c = ke.get(s);
|
|
582
|
-
if (c)
|
|
583
|
-
return c[r];
|
|
584
|
-
if (!n || !kt.hotModuleReplacement) {
|
|
585
|
-
const a = (l) => (ke.set(s, l), l[r]);
|
|
586
|
-
switch (s) {
|
|
587
|
-
case "document-refresh-icon":
|
|
588
|
-
return import(
|
|
589
|
-
/* webpackMode: "lazy" */
|
|
590
|
-
"./document-refresh-icon.entry-09870b14.js"
|
|
591
|
-
).then(a, b);
|
|
592
|
-
case "nylas-additional-participants":
|
|
593
|
-
return import(
|
|
594
|
-
/* webpackMode: "lazy" */
|
|
595
|
-
"./nylas-additional-participants.entry-4afba192.js"
|
|
596
|
-
).then(a, b);
|
|
597
|
-
case "nylas-if-state":
|
|
598
|
-
return import(
|
|
599
|
-
/* webpackMode: "lazy" */
|
|
600
|
-
"./nylas-if-state.entry-3829cb3d.js"
|
|
601
|
-
).then(a, b);
|
|
602
|
-
case "nylas-list-folders":
|
|
603
|
-
return import(
|
|
604
|
-
/* webpackMode: "lazy" */
|
|
605
|
-
"./nylas-list-folders.entry-7347e78d.js"
|
|
606
|
-
).then(a, b);
|
|
607
|
-
case "nylas-list-threads":
|
|
608
|
-
return import(
|
|
609
|
-
/* webpackMode: "lazy" */
|
|
610
|
-
"./nylas-list-threads.entry-432a8d8c.js"
|
|
611
|
-
).then(a, b);
|
|
612
|
-
case "nylas-login":
|
|
613
|
-
return import(
|
|
614
|
-
/* webpackMode: "lazy" */
|
|
615
|
-
"./nylas-login.entry-5311f0a7.js"
|
|
616
|
-
).then(a, b);
|
|
617
|
-
case "nylas-mailbox":
|
|
618
|
-
return import(
|
|
619
|
-
/* webpackMode: "lazy" */
|
|
620
|
-
"./nylas-mailbox.entry-b6c758b9.js"
|
|
621
|
-
).then(a, b);
|
|
622
|
-
case "nylas-mailbox-pagination":
|
|
623
|
-
return import(
|
|
624
|
-
/* webpackMode: "lazy" */
|
|
625
|
-
"./nylas-mailbox-pagination.entry-20150fb2.js"
|
|
626
|
-
).then(a, b);
|
|
627
|
-
case "nylas-mailbox-toolbar-button":
|
|
628
|
-
return import(
|
|
629
|
-
/* webpackMode: "lazy" */
|
|
630
|
-
"./nylas-mailbox-toolbar-button.entry-eec426d5.js"
|
|
631
|
-
).then(a, b);
|
|
632
|
-
case "nylas-provider":
|
|
633
|
-
return import(
|
|
634
|
-
/* webpackMode: "lazy" */
|
|
635
|
-
"./nylas-provider.entry-271cafd2.js"
|
|
636
|
-
).then(a, b);
|
|
637
|
-
case "nylas-scheduler-editor":
|
|
638
|
-
return import(
|
|
639
|
-
/* webpackMode: "lazy" */
|
|
640
|
-
"./nylas-scheduler-editor.entry-b51ad4b1.js"
|
|
641
|
-
).then(a, b);
|
|
642
|
-
case "nylas-scheduling":
|
|
643
|
-
return import(
|
|
644
|
-
/* webpackMode: "lazy" */
|
|
645
|
-
"./nylas-scheduling.entry-0a8d1da8.js"
|
|
646
|
-
).then(a, b);
|
|
647
|
-
case "nylas-threads-refresh":
|
|
648
|
-
return import(
|
|
649
|
-
/* webpackMode: "lazy" */
|
|
650
|
-
"./nylas-threads-refresh.entry-72dd854e.js"
|
|
651
|
-
).then(a, b);
|
|
652
|
-
case "nylas-threads-search":
|
|
653
|
-
return import(
|
|
654
|
-
/* webpackMode: "lazy" */
|
|
655
|
-
"./nylas-threads-search.entry-4750a187.js"
|
|
656
|
-
).then(a, b);
|
|
657
|
-
case "nylas-view-thread":
|
|
658
|
-
return import(
|
|
659
|
-
/* webpackMode: "lazy" */
|
|
660
|
-
"./nylas-view-thread.entry-c6adce43.js"
|
|
661
|
-
).then(a, b);
|
|
662
|
-
case "people-icon":
|
|
663
|
-
return import(
|
|
664
|
-
/* webpackMode: "lazy" */
|
|
665
|
-
"./people-icon.entry-342be0c8.js"
|
|
666
|
-
).then(a, b);
|
|
667
|
-
case "archive-icon_7":
|
|
668
|
-
return import(
|
|
669
|
-
/* webpackMode: "lazy" */
|
|
670
|
-
"./archive-icon_7.entry-40b7ef3b.js"
|
|
671
|
-
).then(a, b);
|
|
672
|
-
case "arrow-icon":
|
|
673
|
-
return import(
|
|
674
|
-
/* webpackMode: "lazy" */
|
|
675
|
-
"./arrow-icon.entry-58246303.js"
|
|
676
|
-
).then(a, b);
|
|
677
|
-
case "forward-icon_6":
|
|
678
|
-
return import(
|
|
679
|
-
/* webpackMode: "lazy" */
|
|
680
|
-
"./forward-icon_6.entry-8bb201eb.js"
|
|
681
|
-
).then(a, b);
|
|
682
|
-
case "google-logo-icon_3":
|
|
683
|
-
return import(
|
|
684
|
-
/* webpackMode: "lazy" */
|
|
685
|
-
"./google-logo-icon_3.entry-2164cec1.js"
|
|
686
|
-
).then(a, b);
|
|
687
|
-
case "nylas-booked-event-card_10":
|
|
688
|
-
return import(
|
|
689
|
-
/* webpackMode: "lazy" */
|
|
690
|
-
"./nylas-booked-event-card_10.entry-1ebbe0c0.js"
|
|
691
|
-
).then(a, b);
|
|
692
|
-
case "bold-icon_3":
|
|
693
|
-
return import(
|
|
694
|
-
/* webpackMode: "lazy" */
|
|
695
|
-
"./bold-icon_3.entry-f5f1643d.js"
|
|
696
|
-
).then(a, b);
|
|
697
|
-
case "add-circle-icon_22":
|
|
698
|
-
return import(
|
|
699
|
-
/* webpackMode: "lazy" */
|
|
700
|
-
"./add-circle-icon_22.entry-f699d91e.js"
|
|
701
|
-
).then(a, b);
|
|
702
|
-
case "calendar-check-icon_2":
|
|
703
|
-
return import(
|
|
704
|
-
/* webpackMode: "lazy" */
|
|
705
|
-
"./calendar-check-icon_2.entry-57339318.js"
|
|
706
|
-
).then(a, b);
|
|
707
|
-
case "play-icon_2":
|
|
708
|
-
return import(
|
|
709
|
-
/* webpackMode: "lazy" */
|
|
710
|
-
"./play-icon_2.entry-0787352c.js"
|
|
711
|
-
).then(a, b);
|
|
712
|
-
case "refresh-icon":
|
|
713
|
-
return import(
|
|
714
|
-
/* webpackMode: "lazy" */
|
|
715
|
-
"./refresh-icon.entry-8fbabfe7.js"
|
|
716
|
-
).then(a, b);
|
|
717
|
-
case "translate-icon":
|
|
718
|
-
return import(
|
|
719
|
-
/* webpackMode: "lazy" */
|
|
720
|
-
"./translate-icon.entry-87a62108.js"
|
|
721
|
-
).then(a, b);
|
|
722
|
-
case "warning-icon":
|
|
723
|
-
return import(
|
|
724
|
-
/* webpackMode: "lazy" */
|
|
725
|
-
"./warning-icon.entry-7a72e24a.js"
|
|
726
|
-
).then(a, b);
|
|
727
|
-
case "calendar-cancel-icon":
|
|
728
|
-
return import(
|
|
729
|
-
/* webpackMode: "lazy" */
|
|
730
|
-
"./calendar-cancel-icon.entry-75b15b19.js"
|
|
731
|
-
).then(a, b);
|
|
732
|
-
case "calendar-icon":
|
|
733
|
-
return import(
|
|
734
|
-
/* webpackMode: "lazy" */
|
|
735
|
-
"./calendar-icon.entry-2069fec6.js"
|
|
736
|
-
).then(a, b);
|
|
737
|
-
case "time-period-selector":
|
|
738
|
-
return import(
|
|
739
|
-
/* webpackMode: "lazy" */
|
|
740
|
-
"./time-period-selector.entry-333942a8.js"
|
|
741
|
-
).then(a, b);
|
|
742
|
-
case "nylas-form-card":
|
|
743
|
-
return import(
|
|
744
|
-
/* webpackMode: "lazy" */
|
|
745
|
-
"./nylas-form-card.entry-7bc23695.js"
|
|
746
|
-
).then(a, b);
|
|
747
|
-
case "loading-icon":
|
|
748
|
-
return import(
|
|
749
|
-
/* webpackMode: "lazy" */
|
|
750
|
-
"./loading-icon.entry-6d8adaa4.js"
|
|
751
|
-
).then(a, b);
|
|
752
|
-
case "globe-icon":
|
|
753
|
-
return import(
|
|
754
|
-
/* webpackMode: "lazy" */
|
|
755
|
-
"./globe-icon.entry-d515cbfa.js"
|
|
756
|
-
).then(a, b);
|
|
757
|
-
case "close-icon":
|
|
758
|
-
return import(
|
|
759
|
-
/* webpackMode: "lazy" */
|
|
760
|
-
"./close-icon.entry-480c199d.js"
|
|
761
|
-
).then(a, b);
|
|
762
|
-
case "info-icon_2":
|
|
763
|
-
return import(
|
|
764
|
-
/* webpackMode: "lazy" */
|
|
765
|
-
"./info-icon_2.entry-300ef196.js"
|
|
766
|
-
).then(a, b);
|
|
767
|
-
case "chevron-icon_3":
|
|
768
|
-
return import(
|
|
769
|
-
/* webpackMode: "lazy" */
|
|
770
|
-
"./chevron-icon_3.entry-83df50c3.js"
|
|
771
|
-
).then(a, b);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
return import(
|
|
775
|
-
/* @vite-ignore */
|
|
776
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
777
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
778
|
-
/* webpackMode: "lazy" */
|
|
779
|
-
`./${s}.entry.js`
|
|
780
|
-
).then((a) => (ke.set(s, a), a[r]), b);
|
|
781
|
-
}, de = /* @__PURE__ */ new Map(), ee = typeof window < "u" ? window : {}, I = ee.document || { head: {} }, O = {
|
|
782
|
-
$flags$: 0,
|
|
783
|
-
$resourcesUrl$: "",
|
|
784
|
-
jmp: (e) => e(),
|
|
785
|
-
raf: (e) => requestAnimationFrame(e),
|
|
786
|
-
ael: (e, t, n, r) => e.addEventListener(t, n, r),
|
|
787
|
-
rel: (e, t, n, r) => e.removeEventListener(t, n, r),
|
|
788
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
789
|
-
}, po = /* @__PURE__ */ (() => {
|
|
790
|
-
let e = !1;
|
|
791
|
-
try {
|
|
792
|
-
I.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
793
|
-
get() {
|
|
794
|
-
e = !0;
|
|
795
|
-
}
|
|
796
|
-
}));
|
|
797
|
-
} catch {
|
|
798
|
-
}
|
|
799
|
-
return e;
|
|
800
|
-
})(), go = (e) => Promise.resolve(e), $o = /* @__PURE__ */ (() => {
|
|
801
|
-
try {
|
|
802
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
803
|
-
} catch {
|
|
804
|
-
}
|
|
805
|
-
return !1;
|
|
806
|
-
})(), vt = [], Wt = [], mo = (e, t) => (n) => {
|
|
807
|
-
e.push(n), Oe || (Oe = !0, t && O.$flags$ & 4 ? De(Pe) : O.raf(Pe));
|
|
808
|
-
}, bt = (e) => {
|
|
809
|
-
for (let t = 0; t < e.length; t++)
|
|
810
|
-
try {
|
|
811
|
-
e[t](performance.now());
|
|
812
|
-
} catch (n) {
|
|
813
|
-
b(n);
|
|
814
|
-
}
|
|
815
|
-
e.length = 0;
|
|
816
|
-
}, Pe = () => {
|
|
817
|
-
bt(vt), bt(Wt), (Oe = vt.length > 0) && O.raf(Pe);
|
|
818
|
-
}, De = (e) => go().then(e), yo = /* @__PURE__ */ mo(Wt, !0), vo = (e, t, n) => {
|
|
819
|
-
const r = e.get(t);
|
|
820
|
-
r ? r.includes(n) || r.push(n) : e.set(t, [n]);
|
|
821
|
-
}, bo = (e, t) => {
|
|
822
|
-
let n;
|
|
823
|
-
return (...r) => {
|
|
824
|
-
n && clearTimeout(n), n = setTimeout(() => {
|
|
825
|
-
n = 0, e(...r);
|
|
826
|
-
}, t);
|
|
827
|
-
};
|
|
828
|
-
}, Co = (e) => !("isConnected" in e) || e.isConnected, Ct = bo((e) => {
|
|
829
|
-
for (let t of e.keys())
|
|
830
|
-
e.set(t, e.get(t).filter(Co));
|
|
831
|
-
}, 2e3), Eo = () => {
|
|
832
|
-
if (typeof gt != "function")
|
|
833
|
-
return {};
|
|
834
|
-
const e = /* @__PURE__ */ new Map();
|
|
835
|
-
return {
|
|
836
|
-
dispose: () => e.clear(),
|
|
837
|
-
get: (t) => {
|
|
838
|
-
const n = gt();
|
|
839
|
-
n && vo(e, t, n);
|
|
840
|
-
},
|
|
841
|
-
set: (t) => {
|
|
842
|
-
const n = e.get(t);
|
|
843
|
-
n && e.set(t, n.filter($t)), Ct(e);
|
|
844
|
-
},
|
|
845
|
-
reset: () => {
|
|
846
|
-
e.forEach((t) => t.forEach($t)), Ct(e);
|
|
847
|
-
}
|
|
848
|
-
};
|
|
849
|
-
}, we = (e) => typeof e == "function" ? e() : e, So = (e, t = (n, r) => n !== r) => {
|
|
850
|
-
const n = we(e);
|
|
851
|
-
let r = new Map(Object.entries(n ?? {}));
|
|
852
|
-
const s = {
|
|
853
|
-
dispose: [],
|
|
854
|
-
get: [],
|
|
855
|
-
set: [],
|
|
856
|
-
reset: []
|
|
857
|
-
}, c = () => {
|
|
858
|
-
var m;
|
|
859
|
-
r = new Map(Object.entries((m = we(e)) !== null && m !== void 0 ? m : {})), s.reset.forEach((y) => y());
|
|
860
|
-
}, a = () => {
|
|
861
|
-
s.dispose.forEach((m) => m()), c();
|
|
862
|
-
}, l = (m) => (s.get.forEach((y) => y(m)), r.get(m)), i = (m, y) => {
|
|
863
|
-
const C = r.get(m);
|
|
864
|
-
t(y, C, m) && (r.set(m, y), s.set.forEach((E) => E(m, y, C)));
|
|
865
|
-
}, f = typeof Proxy > "u" ? {} : new Proxy(n, {
|
|
866
|
-
get(m, y) {
|
|
867
|
-
return l(y);
|
|
868
|
-
},
|
|
869
|
-
ownKeys(m) {
|
|
870
|
-
return Array.from(r.keys());
|
|
871
|
-
},
|
|
872
|
-
getOwnPropertyDescriptor() {
|
|
873
|
-
return {
|
|
874
|
-
enumerable: !0,
|
|
875
|
-
configurable: !0
|
|
876
|
-
};
|
|
877
|
-
},
|
|
878
|
-
has(m, y) {
|
|
879
|
-
return r.has(y);
|
|
880
|
-
},
|
|
881
|
-
set(m, y, C) {
|
|
882
|
-
return i(y, C), !0;
|
|
883
|
-
}
|
|
884
|
-
}), h = (m, y) => (s[m].push(y), () => {
|
|
885
|
-
ko(s[m], y);
|
|
886
|
-
});
|
|
887
|
-
return {
|
|
888
|
-
state: f,
|
|
889
|
-
get: l,
|
|
890
|
-
set: i,
|
|
891
|
-
on: h,
|
|
892
|
-
onChange: (m, y) => {
|
|
893
|
-
const C = h("set", (R, z) => {
|
|
894
|
-
R === m && y(z);
|
|
895
|
-
}), E = h("reset", () => y(we(e)[m]));
|
|
896
|
-
return () => {
|
|
897
|
-
C(), E();
|
|
898
|
-
};
|
|
899
|
-
},
|
|
900
|
-
use: (...m) => {
|
|
901
|
-
const y = m.reduce((C, E) => (E.set && C.push(h("set", E.set)), E.get && C.push(h("get", E.get)), E.reset && C.push(h("reset", E.reset)), E.dispose && C.push(h("dispose", E.dispose)), C), []);
|
|
902
|
-
return () => y.forEach((C) => C());
|
|
903
|
-
},
|
|
904
|
-
dispose: a,
|
|
905
|
-
reset: c,
|
|
906
|
-
forceUpdate: (m) => {
|
|
907
|
-
const y = r.get(m);
|
|
908
|
-
s.set.forEach((C) => C(m, y, y));
|
|
909
|
-
}
|
|
910
|
-
};
|
|
911
|
-
}, ko = (e, t) => {
|
|
912
|
-
const n = e.indexOf(t);
|
|
913
|
-
n >= 0 && (e[n] = e[e.length - 1], e.length--);
|
|
914
|
-
}, wo = (e, t) => {
|
|
915
|
-
const n = So(e, t);
|
|
916
|
-
return n.use(Eo()), n;
|
|
917
|
-
};
|
|
918
|
-
class Go {
|
|
919
|
-
constructor(t) {
|
|
920
|
-
this.session = t;
|
|
921
|
-
}
|
|
922
|
-
setActiveGrantId(t) {
|
|
923
|
-
this.activeGrantId = t;
|
|
924
|
-
}
|
|
925
|
-
async request({ method: t, path: n, body: r, headers: s }) {
|
|
926
|
-
return this.session.fetch(`grants/me/${n}`, {
|
|
927
|
-
method: t,
|
|
928
|
-
headers: s ? new Headers(s) : void 0,
|
|
929
|
-
body: r,
|
|
930
|
-
...this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}
|
|
931
|
-
});
|
|
932
|
-
}
|
|
933
|
-
async currentUser() {
|
|
934
|
-
const t = this.session.isMultiAccount() ? this.activeGrantId : void 0, n = await this.session.getProfile(t);
|
|
935
|
-
return n ? {
|
|
936
|
-
id: n.sub,
|
|
937
|
-
email: n.email,
|
|
938
|
-
name: n.name
|
|
939
|
-
} : null;
|
|
940
|
-
}
|
|
941
|
-
async authenticationUrl(t) {
|
|
942
|
-
return this.session.auth(t || {});
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
wo({});
|
|
946
|
-
function Jo() {
|
|
947
|
-
var e = [];
|
|
948
|
-
if (typeof window < "u") {
|
|
949
|
-
var t = window;
|
|
950
|
-
(!t.customElements || t.Element && (!t.Element.prototype.closest || !t.Element.prototype.matches || !t.Element.prototype.remove || !t.Element.prototype.getRootNode)) && e.push(import(
|
|
951
|
-
/* webpackChunkName: "polyfills-dom" */
|
|
952
|
-
"./dom-86e17616.js"
|
|
953
|
-
));
|
|
954
|
-
var n = function() {
|
|
955
|
-
try {
|
|
956
|
-
var r = new URL("b", "http://a");
|
|
957
|
-
return r.pathname = "c%20d", r.href === "http://a/c%20d" && r.searchParams;
|
|
958
|
-
} catch {
|
|
959
|
-
return !1;
|
|
960
|
-
}
|
|
961
|
-
};
|
|
962
|
-
(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 || !n() || typeof WeakMap > "u") && e.push(import(
|
|
963
|
-
/* webpackChunkName: "polyfills-core-js" */
|
|
964
|
-
"./core-js-a9d3b6e1.js"
|
|
965
|
-
));
|
|
966
|
-
}
|
|
967
|
-
return Promise.all(e);
|
|
968
|
-
}
|
|
969
|
-
async function To() {
|
|
970
|
-
await import("./elements-dc5b338e-fb5dbfb5.js");
|
|
971
|
-
}
|
|
972
|
-
const Ro = To, _o = (e, t) => {
|
|
973
|
-
if (!(typeof window > "u"))
|
|
974
|
-
return Ro(), io(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"configurationId":[1,"configuration-id"],"nylasApiRequest":[16],"nylasSessionsConfig":[16],"eventOverrides":[16],"defaultSchedulerConfigStoreState":[16],"mode":[1],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"configurationId":["configurationIdChanged"]}]]],["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"],"configurationId":[1,"configuration-id"],"nylasBranding":[4,"nylas-branding"],"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]}]]],["document-refresh-icon",[[2,"document-refresh-icon",{"width":[1],"height":[1]}]]],["nylas-if-state",[[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"]}]]],["nylas-list-threads",[[1,"nylas-list-threads",{"threads":[16],"isAuthenticated":[4,"is-authenticated"],"tokenInfo":[16],"state":[1],"showCheckbox":[4,"show-checkbox"]}]]],["nylas-login",[[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]}]]],["nylas-mailbox",[[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"]]]]],["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]}]]],["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]}]]],["time-period-selector",[[2,"time-period-selector",{"timePeriods":[16],"defaultSelectedPeriod":[1,"default-selected-period"],"defaultSelectedNumber":[2,"default-selected-number"],"selectedPeriod":[32],"selectedNumber":[32],"numberOptions":[32],"timePeriodOptions":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"defaultSelectedPeriod":["defaultSelectedPeriodChangedHandler"],"defaultSelectedNumber":["defaultSelectedNumberChangedHandler"],"timePeriods":["timePeriodsChangedHandler"]}]]],["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]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["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"],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32]},[[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["add-circle-icon_22",[[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-limit-future-bookings",{"availableDaysInFuture":[2,"available-days-in-future"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-cancellation-notice",{"minCancellationNotice":[2,"min-cancellation-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[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"],[65,"nylas-event-limits"],[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}],[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"]}]]],["google-logo-icon_3",[[2,"nylas-editor-tabs",{"calendars":[16],"config":[16],"currentUser":[16],"action":[32],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32]},[[0,"valueChanged","handleValueChanged"]],{"config":["configChangedHandler"]}],[2,"google-logo-icon",{"width":[1],"height":[1]}],[2,"microsoft-logo-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]}]]],["globe-icon",[[2,"globe-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"]}]]],["info-icon_2",[[2,"info-icon",{"width":[1],"height":[1]}],[1,"tooltip-component",{"position":[1]}]]]]'), t);
|
|
975
|
-
};
|
|
976
|
-
(function() {
|
|
977
|
-
if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
|
|
978
|
-
var e = HTMLElement;
|
|
979
|
-
window.HTMLElement = function() {
|
|
980
|
-
return Reflect.construct(e, [], this.constructor);
|
|
981
|
-
}, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
|
|
982
|
-
}
|
|
983
|
-
})();
|
|
984
|
-
var Ie = { exports: {} }, Q = {};
|
|
985
|
-
/**
|
|
986
|
-
* @license React
|
|
987
|
-
* react-jsx-runtime.production.min.js
|
|
988
|
-
*
|
|
989
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
990
|
-
*
|
|
991
|
-
* This source code is licensed under the MIT license found in the
|
|
992
|
-
* LICENSE file in the root directory of this source tree.
|
|
993
|
-
*/
|
|
994
|
-
var Et;
|
|
995
|
-
function Oo() {
|
|
996
|
-
if (Et)
|
|
997
|
-
return Q;
|
|
998
|
-
Et = 1;
|
|
999
|
-
var e = ue, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1000
|
-
function a(l, i, f) {
|
|
1001
|
-
var h, g = {}, $ = null, S = null;
|
|
1002
|
-
f !== void 0 && ($ = "" + f), i.key !== void 0 && ($ = "" + i.key), i.ref !== void 0 && (S = i.ref);
|
|
1003
|
-
for (h in i)
|
|
1004
|
-
r.call(i, h) && !c.hasOwnProperty(h) && (g[h] = i[h]);
|
|
1005
|
-
if (l && l.defaultProps)
|
|
1006
|
-
for (h in i = l.defaultProps, i)
|
|
1007
|
-
g[h] === void 0 && (g[h] = i[h]);
|
|
1008
|
-
return { $$typeof: t, type: l, key: $, ref: S, props: g, _owner: s.current };
|
|
1009
|
-
}
|
|
1010
|
-
return Q.Fragment = n, Q.jsx = a, Q.jsxs = a, Q;
|
|
1011
|
-
}
|
|
1012
|
-
var Z = {};
|
|
1013
|
-
/**
|
|
1014
|
-
* @license React
|
|
1015
|
-
* react-jsx-runtime.development.js
|
|
1016
|
-
*
|
|
1017
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1018
|
-
*
|
|
1019
|
-
* This source code is licensed under the MIT license found in the
|
|
1020
|
-
* LICENSE file in the root directory of this source tree.
|
|
1021
|
-
*/
|
|
1022
|
-
var St;
|
|
1023
|
-
function xo() {
|
|
1024
|
-
return St || (St = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1025
|
-
var e = ue, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), m = Symbol.iterator, y = "@@iterator";
|
|
1026
|
-
function C(o) {
|
|
1027
|
-
if (o === null || typeof o != "object")
|
|
1028
|
-
return null;
|
|
1029
|
-
var d = m && o[m] || o[y];
|
|
1030
|
-
return typeof d == "function" ? d : null;
|
|
1031
|
-
}
|
|
1032
|
-
var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1033
|
-
function R(o) {
|
|
1034
|
-
{
|
|
1035
|
-
for (var d = arguments.length, p = new Array(d > 1 ? d - 1 : 0), v = 1; v < d; v++)
|
|
1036
|
-
p[v - 1] = arguments[v];
|
|
1037
|
-
z("error", o, p);
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
function z(o, d, p) {
|
|
1041
|
-
{
|
|
1042
|
-
var v = E.ReactDebugCurrentFrame, T = v.getStackAddendum();
|
|
1043
|
-
T !== "" && (d += "%s", p = p.concat([T]));
|
|
1044
|
-
var _ = p.map(function(w) {
|
|
1045
|
-
return String(w);
|
|
1046
|
-
});
|
|
1047
|
-
_.unshift("Warning: " + d), Function.prototype.apply.call(console[o], console, _);
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
var W = !1, Gt = !1, Jt = !1, Kt = !1, Xt = !1, He;
|
|
1051
|
-
He = Symbol.for("react.module.reference");
|
|
1052
|
-
function Qt(o) {
|
|
1053
|
-
return !!(typeof o == "string" || typeof o == "function" || o === r || o === c || Xt || o === s || o === f || o === h || Kt || o === S || W || Gt || Jt || typeof o == "object" && o !== null && (o.$$typeof === $ || o.$$typeof === g || o.$$typeof === a || o.$$typeof === l || o.$$typeof === i || // This needs to include all possible module reference object
|
|
1054
|
-
// types supported by any Flight configuration anywhere since
|
|
1055
|
-
// we don't know which Flight build this will end up being used
|
|
1056
|
-
// with.
|
|
1057
|
-
o.$$typeof === He || o.getModuleId !== void 0));
|
|
1058
|
-
}
|
|
1059
|
-
function Zt(o, d, p) {
|
|
1060
|
-
var v = o.displayName;
|
|
1061
|
-
if (v)
|
|
1062
|
-
return v;
|
|
1063
|
-
var T = d.displayName || d.name || "";
|
|
1064
|
-
return T !== "" ? p + "(" + T + ")" : p;
|
|
1065
|
-
}
|
|
1066
|
-
function Fe(o) {
|
|
1067
|
-
return o.displayName || "Context";
|
|
1068
|
-
}
|
|
1069
|
-
function D(o) {
|
|
1070
|
-
if (o == null)
|
|
1071
|
-
return null;
|
|
1072
|
-
if (typeof o.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
1073
|
-
return o.displayName || o.name || null;
|
|
1074
|
-
if (typeof o == "string")
|
|
1075
|
-
return o;
|
|
1076
|
-
switch (o) {
|
|
1077
|
-
case r:
|
|
1078
|
-
return "Fragment";
|
|
1079
|
-
case n:
|
|
1080
|
-
return "Portal";
|
|
1081
|
-
case c:
|
|
1082
|
-
return "Profiler";
|
|
1083
|
-
case s:
|
|
1084
|
-
return "StrictMode";
|
|
1085
|
-
case f:
|
|
1086
|
-
return "Suspense";
|
|
1087
|
-
case h:
|
|
1088
|
-
return "SuspenseList";
|
|
1089
|
-
}
|
|
1090
|
-
if (typeof o == "object")
|
|
1091
|
-
switch (o.$$typeof) {
|
|
1092
|
-
case l:
|
|
1093
|
-
var d = o;
|
|
1094
|
-
return Fe(d) + ".Consumer";
|
|
1095
|
-
case a:
|
|
1096
|
-
var p = o;
|
|
1097
|
-
return Fe(p._context) + ".Provider";
|
|
1098
|
-
case i:
|
|
1099
|
-
return Zt(o, o.render, "ForwardRef");
|
|
1100
|
-
case g:
|
|
1101
|
-
var v = o.displayName || null;
|
|
1102
|
-
return v !== null ? v : D(o.type) || "Memo";
|
|
1103
|
-
case $: {
|
|
1104
|
-
var T = o, _ = T._payload, w = T._init;
|
|
1105
|
-
try {
|
|
1106
|
-
return D(w(_));
|
|
1107
|
-
} catch {
|
|
1108
|
-
return null;
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
return null;
|
|
1113
|
-
}
|
|
1114
|
-
var U = Object.assign, K = 0, Me, Be, Ue, ze, We, qe, Ye;
|
|
1115
|
-
function Ge() {
|
|
1116
|
-
}
|
|
1117
|
-
Ge.__reactDisabledLog = !0;
|
|
1118
|
-
function Vt() {
|
|
1119
|
-
{
|
|
1120
|
-
if (K === 0) {
|
|
1121
|
-
Me = console.log, Be = console.info, Ue = console.warn, ze = console.error, We = console.group, qe = console.groupCollapsed, Ye = console.groupEnd;
|
|
1122
|
-
var o = {
|
|
1123
|
-
configurable: !0,
|
|
1124
|
-
enumerable: !0,
|
|
1125
|
-
value: Ge,
|
|
1126
|
-
writable: !0
|
|
1127
|
-
};
|
|
1128
|
-
Object.defineProperties(console, {
|
|
1129
|
-
info: o,
|
|
1130
|
-
log: o,
|
|
1131
|
-
warn: o,
|
|
1132
|
-
error: o,
|
|
1133
|
-
group: o,
|
|
1134
|
-
groupCollapsed: o,
|
|
1135
|
-
groupEnd: o
|
|
1136
|
-
});
|
|
1137
|
-
}
|
|
1138
|
-
K++;
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
function en() {
|
|
1142
|
-
{
|
|
1143
|
-
if (K--, K === 0) {
|
|
1144
|
-
var o = {
|
|
1145
|
-
configurable: !0,
|
|
1146
|
-
enumerable: !0,
|
|
1147
|
-
writable: !0
|
|
1148
|
-
};
|
|
1149
|
-
Object.defineProperties(console, {
|
|
1150
|
-
log: U({}, o, {
|
|
1151
|
-
value: Me
|
|
1152
|
-
}),
|
|
1153
|
-
info: U({}, o, {
|
|
1154
|
-
value: Be
|
|
1155
|
-
}),
|
|
1156
|
-
warn: U({}, o, {
|
|
1157
|
-
value: Ue
|
|
1158
|
-
}),
|
|
1159
|
-
error: U({}, o, {
|
|
1160
|
-
value: ze
|
|
1161
|
-
}),
|
|
1162
|
-
group: U({}, o, {
|
|
1163
|
-
value: We
|
|
1164
|
-
}),
|
|
1165
|
-
groupCollapsed: U({}, o, {
|
|
1166
|
-
value: qe
|
|
1167
|
-
}),
|
|
1168
|
-
groupEnd: U({}, o, {
|
|
1169
|
-
value: Ye
|
|
1170
|
-
})
|
|
1171
|
-
});
|
|
1172
|
-
}
|
|
1173
|
-
K < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
var pe = E.ReactCurrentDispatcher, ge;
|
|
1177
|
-
function te(o, d, p) {
|
|
1178
|
-
{
|
|
1179
|
-
if (ge === void 0)
|
|
1180
|
-
try {
|
|
1181
|
-
throw Error();
|
|
1182
|
-
} catch (T) {
|
|
1183
|
-
var v = T.stack.trim().match(/\n( *(at )?)/);
|
|
1184
|
-
ge = v && v[1] || "";
|
|
1185
|
-
}
|
|
1186
|
-
return `
|
|
1187
|
-
` + ge + o;
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
var $e = !1, ne;
|
|
1191
|
-
{
|
|
1192
|
-
var tn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1193
|
-
ne = new tn();
|
|
1194
|
-
}
|
|
1195
|
-
function Je(o, d) {
|
|
1196
|
-
if (!o || $e)
|
|
1197
|
-
return "";
|
|
1198
|
-
{
|
|
1199
|
-
var p = ne.get(o);
|
|
1200
|
-
if (p !== void 0)
|
|
1201
|
-
return p;
|
|
1202
|
-
}
|
|
1203
|
-
var v;
|
|
1204
|
-
$e = !0;
|
|
1205
|
-
var T = Error.prepareStackTrace;
|
|
1206
|
-
Error.prepareStackTrace = void 0;
|
|
1207
|
-
var _;
|
|
1208
|
-
_ = pe.current, pe.current = null, Vt();
|
|
1209
|
-
try {
|
|
1210
|
-
if (d) {
|
|
1211
|
-
var w = function() {
|
|
1212
|
-
throw Error();
|
|
1213
|
-
};
|
|
1214
|
-
if (Object.defineProperty(w.prototype, "props", {
|
|
1215
|
-
set: function() {
|
|
1216
|
-
throw Error();
|
|
1217
|
-
}
|
|
1218
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1219
|
-
try {
|
|
1220
|
-
Reflect.construct(w, []);
|
|
1221
|
-
} catch (H) {
|
|
1222
|
-
v = H;
|
|
1223
|
-
}
|
|
1224
|
-
Reflect.construct(o, [], w);
|
|
1225
|
-
} else {
|
|
1226
|
-
try {
|
|
1227
|
-
w.call();
|
|
1228
|
-
} catch (H) {
|
|
1229
|
-
v = H;
|
|
1230
|
-
}
|
|
1231
|
-
o.call(w.prototype);
|
|
1232
|
-
}
|
|
1233
|
-
} else {
|
|
1234
|
-
try {
|
|
1235
|
-
throw Error();
|
|
1236
|
-
} catch (H) {
|
|
1237
|
-
v = H;
|
|
1238
|
-
}
|
|
1239
|
-
o();
|
|
1240
|
-
}
|
|
1241
|
-
} catch (H) {
|
|
1242
|
-
if (H && v && typeof H.stack == "string") {
|
|
1243
|
-
for (var k = H.stack.split(`
|
|
1244
|
-
`), L = v.stack.split(`
|
|
1245
|
-
`), x = k.length - 1, P = L.length - 1; x >= 1 && P >= 0 && k[x] !== L[P]; )
|
|
1246
|
-
P--;
|
|
1247
|
-
for (; x >= 1 && P >= 0; x--, P--)
|
|
1248
|
-
if (k[x] !== L[P]) {
|
|
1249
|
-
if (x !== 1 || P !== 1)
|
|
1250
|
-
do
|
|
1251
|
-
if (x--, P--, P < 0 || k[x] !== L[P]) {
|
|
1252
|
-
var A = `
|
|
1253
|
-
` + k[x].replace(" at new ", " at ");
|
|
1254
|
-
return o.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", o.displayName)), typeof o == "function" && ne.set(o, A), A;
|
|
1255
|
-
}
|
|
1256
|
-
while (x >= 1 && P >= 0);
|
|
1257
|
-
break;
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
} finally {
|
|
1261
|
-
$e = !1, pe.current = _, en(), Error.prepareStackTrace = T;
|
|
1262
|
-
}
|
|
1263
|
-
var Y = o ? o.displayName || o.name : "", it = Y ? te(Y) : "";
|
|
1264
|
-
return typeof o == "function" && ne.set(o, it), it;
|
|
1265
|
-
}
|
|
1266
|
-
function nn(o, d, p) {
|
|
1267
|
-
return Je(o, !1);
|
|
1268
|
-
}
|
|
1269
|
-
function on(o) {
|
|
1270
|
-
var d = o.prototype;
|
|
1271
|
-
return !!(d && d.isReactComponent);
|
|
1272
|
-
}
|
|
1273
|
-
function oe(o, d, p) {
|
|
1274
|
-
if (o == null)
|
|
1275
|
-
return "";
|
|
1276
|
-
if (typeof o == "function")
|
|
1277
|
-
return Je(o, on(o));
|
|
1278
|
-
if (typeof o == "string")
|
|
1279
|
-
return te(o);
|
|
1280
|
-
switch (o) {
|
|
1281
|
-
case f:
|
|
1282
|
-
return te("Suspense");
|
|
1283
|
-
case h:
|
|
1284
|
-
return te("SuspenseList");
|
|
1285
|
-
}
|
|
1286
|
-
if (typeof o == "object")
|
|
1287
|
-
switch (o.$$typeof) {
|
|
1288
|
-
case i:
|
|
1289
|
-
return nn(o.render);
|
|
1290
|
-
case g:
|
|
1291
|
-
return oe(o.type, d, p);
|
|
1292
|
-
case $: {
|
|
1293
|
-
var v = o, T = v._payload, _ = v._init;
|
|
1294
|
-
try {
|
|
1295
|
-
return oe(_(T), d, p);
|
|
1296
|
-
} catch {
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
return "";
|
|
1301
|
-
}
|
|
1302
|
-
var se = Object.prototype.hasOwnProperty, Ke = {}, Xe = E.ReactDebugCurrentFrame;
|
|
1303
|
-
function re(o) {
|
|
1304
|
-
if (o) {
|
|
1305
|
-
var d = o._owner, p = oe(o.type, o._source, d ? d.type : null);
|
|
1306
|
-
Xe.setExtraStackFrame(p);
|
|
1307
|
-
} else
|
|
1308
|
-
Xe.setExtraStackFrame(null);
|
|
1309
|
-
}
|
|
1310
|
-
function sn(o, d, p, v, T) {
|
|
1311
|
-
{
|
|
1312
|
-
var _ = Function.call.bind(se);
|
|
1313
|
-
for (var w in o)
|
|
1314
|
-
if (_(o, w)) {
|
|
1315
|
-
var k = void 0;
|
|
1316
|
-
try {
|
|
1317
|
-
if (typeof o[w] != "function") {
|
|
1318
|
-
var L = Error((v || "React class") + ": " + p + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1319
|
-
throw L.name = "Invariant Violation", L;
|
|
1320
|
-
}
|
|
1321
|
-
k = o[w](d, w, v, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1322
|
-
} catch (x) {
|
|
1323
|
-
k = x;
|
|
1324
|
-
}
|
|
1325
|
-
k && !(k instanceof Error) && (re(T), R("%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).", v || "React class", p, w, typeof k), re(null)), k instanceof Error && !(k.message in Ke) && (Ke[k.message] = !0, re(T), R("Failed %s type: %s", p, k.message), re(null));
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
var rn = Array.isArray;
|
|
1330
|
-
function me(o) {
|
|
1331
|
-
return rn(o);
|
|
1332
|
-
}
|
|
1333
|
-
function an(o) {
|
|
1334
|
-
{
|
|
1335
|
-
var d = typeof Symbol == "function" && Symbol.toStringTag, p = d && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
1336
|
-
return p;
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
function ln(o) {
|
|
1340
|
-
try {
|
|
1341
|
-
return Qe(o), !1;
|
|
1342
|
-
} catch {
|
|
1343
|
-
return !0;
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
function Qe(o) {
|
|
1347
|
-
return "" + o;
|
|
1348
|
-
}
|
|
1349
|
-
function Ze(o) {
|
|
1350
|
-
if (ln(o))
|
|
1351
|
-
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", an(o)), Qe(o);
|
|
1352
|
-
}
|
|
1353
|
-
var X = E.ReactCurrentOwner, cn = {
|
|
1354
|
-
key: !0,
|
|
1355
|
-
ref: !0,
|
|
1356
|
-
__self: !0,
|
|
1357
|
-
__source: !0
|
|
1358
|
-
}, Ve, et, ye;
|
|
1359
|
-
ye = {};
|
|
1360
|
-
function dn(o) {
|
|
1361
|
-
if (se.call(o, "ref")) {
|
|
1362
|
-
var d = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
1363
|
-
if (d && d.isReactWarning)
|
|
1364
|
-
return !1;
|
|
1365
|
-
}
|
|
1366
|
-
return o.ref !== void 0;
|
|
1367
|
-
}
|
|
1368
|
-
function un(o) {
|
|
1369
|
-
if (se.call(o, "key")) {
|
|
1370
|
-
var d = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
1371
|
-
if (d && d.isReactWarning)
|
|
1372
|
-
return !1;
|
|
1373
|
-
}
|
|
1374
|
-
return o.key !== void 0;
|
|
1375
|
-
}
|
|
1376
|
-
function fn(o, d) {
|
|
1377
|
-
if (typeof o.ref == "string" && X.current && d && X.current.stateNode !== d) {
|
|
1378
|
-
var p = D(X.current.type);
|
|
1379
|
-
ye[p] || (R('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(X.current.type), o.ref), ye[p] = !0);
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
function hn(o, d) {
|
|
1383
|
-
{
|
|
1384
|
-
var p = function() {
|
|
1385
|
-
Ve || (Ve = !0, R("%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)", d));
|
|
1386
|
-
};
|
|
1387
|
-
p.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
1388
|
-
get: p,
|
|
1389
|
-
configurable: !0
|
|
1390
|
-
});
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
function pn(o, d) {
|
|
1394
|
-
{
|
|
1395
|
-
var p = function() {
|
|
1396
|
-
et || (et = !0, R("%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)", d));
|
|
1397
|
-
};
|
|
1398
|
-
p.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
1399
|
-
get: p,
|
|
1400
|
-
configurable: !0
|
|
1401
|
-
});
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
var gn = function(o, d, p, v, T, _, w) {
|
|
1405
|
-
var k = {
|
|
1406
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
1407
|
-
$$typeof: t,
|
|
1408
|
-
// Built-in properties that belong on the element
|
|
1409
|
-
type: o,
|
|
1410
|
-
key: d,
|
|
1411
|
-
ref: p,
|
|
1412
|
-
props: w,
|
|
1413
|
-
// Record the component responsible for creating this element.
|
|
1414
|
-
_owner: _
|
|
1415
|
-
};
|
|
1416
|
-
return k._store = {}, Object.defineProperty(k._store, "validated", {
|
|
1417
|
-
configurable: !1,
|
|
1418
|
-
enumerable: !1,
|
|
1419
|
-
writable: !0,
|
|
1420
|
-
value: !1
|
|
1421
|
-
}), Object.defineProperty(k, "_self", {
|
|
1422
|
-
configurable: !1,
|
|
1423
|
-
enumerable: !1,
|
|
1424
|
-
writable: !1,
|
|
1425
|
-
value: v
|
|
1426
|
-
}), Object.defineProperty(k, "_source", {
|
|
1427
|
-
configurable: !1,
|
|
1428
|
-
enumerable: !1,
|
|
1429
|
-
writable: !1,
|
|
1430
|
-
value: T
|
|
1431
|
-
}), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
|
|
1432
|
-
};
|
|
1433
|
-
function $n(o, d, p, v, T) {
|
|
1434
|
-
{
|
|
1435
|
-
var _, w = {}, k = null, L = null;
|
|
1436
|
-
p !== void 0 && (Ze(p), k = "" + p), un(d) && (Ze(d.key), k = "" + d.key), dn(d) && (L = d.ref, fn(d, T));
|
|
1437
|
-
for (_ in d)
|
|
1438
|
-
se.call(d, _) && !cn.hasOwnProperty(_) && (w[_] = d[_]);
|
|
1439
|
-
if (o && o.defaultProps) {
|
|
1440
|
-
var x = o.defaultProps;
|
|
1441
|
-
for (_ in x)
|
|
1442
|
-
w[_] === void 0 && (w[_] = x[_]);
|
|
1443
|
-
}
|
|
1444
|
-
if (k || L) {
|
|
1445
|
-
var P = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
1446
|
-
k && hn(w, P), L && pn(w, P);
|
|
1447
|
-
}
|
|
1448
|
-
return gn(o, k, L, T, v, X.current, w);
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
var ve = E.ReactCurrentOwner, tt = E.ReactDebugCurrentFrame;
|
|
1452
|
-
function q(o) {
|
|
1453
|
-
if (o) {
|
|
1454
|
-
var d = o._owner, p = oe(o.type, o._source, d ? d.type : null);
|
|
1455
|
-
tt.setExtraStackFrame(p);
|
|
1456
|
-
} else
|
|
1457
|
-
tt.setExtraStackFrame(null);
|
|
1458
|
-
}
|
|
1459
|
-
var be;
|
|
1460
|
-
be = !1;
|
|
1461
|
-
function Ce(o) {
|
|
1462
|
-
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
1463
|
-
}
|
|
1464
|
-
function nt() {
|
|
1465
|
-
{
|
|
1466
|
-
if (ve.current) {
|
|
1467
|
-
var o = D(ve.current.type);
|
|
1468
|
-
if (o)
|
|
1469
|
-
return `
|
|
1470
|
-
|
|
1471
|
-
Check the render method of \`` + o + "`.";
|
|
1472
|
-
}
|
|
1473
|
-
return "";
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
function mn(o) {
|
|
1477
|
-
{
|
|
1478
|
-
if (o !== void 0) {
|
|
1479
|
-
var d = o.fileName.replace(/^.*[\\\/]/, ""), p = o.lineNumber;
|
|
1480
|
-
return `
|
|
1481
|
-
|
|
1482
|
-
Check your code at ` + d + ":" + p + ".";
|
|
1483
|
-
}
|
|
1484
|
-
return "";
|
|
1485
|
-
}
|
|
1486
|
-
}
|
|
1487
|
-
var ot = {};
|
|
1488
|
-
function yn(o) {
|
|
1489
|
-
{
|
|
1490
|
-
var d = nt();
|
|
1491
|
-
if (!d) {
|
|
1492
|
-
var p = typeof o == "string" ? o : o.displayName || o.name;
|
|
1493
|
-
p && (d = `
|
|
1494
|
-
|
|
1495
|
-
Check the top-level render call using <` + p + ">.");
|
|
1496
|
-
}
|
|
1497
|
-
return d;
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
function st(o, d) {
|
|
1501
|
-
{
|
|
1502
|
-
if (!o._store || o._store.validated || o.key != null)
|
|
1503
|
-
return;
|
|
1504
|
-
o._store.validated = !0;
|
|
1505
|
-
var p = yn(d);
|
|
1506
|
-
if (ot[p])
|
|
1507
|
-
return;
|
|
1508
|
-
ot[p] = !0;
|
|
1509
|
-
var v = "";
|
|
1510
|
-
o && o._owner && o._owner !== ve.current && (v = " It was passed a child from " + D(o._owner.type) + "."), q(o), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, v), q(null);
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
function rt(o, d) {
|
|
1514
|
-
{
|
|
1515
|
-
if (typeof o != "object")
|
|
1516
|
-
return;
|
|
1517
|
-
if (me(o))
|
|
1518
|
-
for (var p = 0; p < o.length; p++) {
|
|
1519
|
-
var v = o[p];
|
|
1520
|
-
Ce(v) && st(v, d);
|
|
1521
|
-
}
|
|
1522
|
-
else if (Ce(o))
|
|
1523
|
-
o._store && (o._store.validated = !0);
|
|
1524
|
-
else if (o) {
|
|
1525
|
-
var T = C(o);
|
|
1526
|
-
if (typeof T == "function" && T !== o.entries)
|
|
1527
|
-
for (var _ = T.call(o), w; !(w = _.next()).done; )
|
|
1528
|
-
Ce(w.value) && st(w.value, d);
|
|
1529
|
-
}
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
function vn(o) {
|
|
1533
|
-
{
|
|
1534
|
-
var d = o.type;
|
|
1535
|
-
if (d == null || typeof d == "string")
|
|
1536
|
-
return;
|
|
1537
|
-
var p;
|
|
1538
|
-
if (typeof d == "function")
|
|
1539
|
-
p = d.propTypes;
|
|
1540
|
-
else if (typeof d == "object" && (d.$$typeof === i || // Note: Memo only checks outer props here.
|
|
1541
|
-
// Inner props are checked in the reconciler.
|
|
1542
|
-
d.$$typeof === g))
|
|
1543
|
-
p = d.propTypes;
|
|
1544
|
-
else
|
|
1545
|
-
return;
|
|
1546
|
-
if (p) {
|
|
1547
|
-
var v = D(d);
|
|
1548
|
-
sn(p, o.props, "prop", v, o);
|
|
1549
|
-
} else if (d.PropTypes !== void 0 && !be) {
|
|
1550
|
-
be = !0;
|
|
1551
|
-
var T = D(d);
|
|
1552
|
-
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
1553
|
-
}
|
|
1554
|
-
typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
function bn(o) {
|
|
1558
|
-
{
|
|
1559
|
-
for (var d = Object.keys(o.props), p = 0; p < d.length; p++) {
|
|
1560
|
-
var v = d[p];
|
|
1561
|
-
if (v !== "children" && v !== "key") {
|
|
1562
|
-
q(o), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), q(null);
|
|
1563
|
-
break;
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
o.ref !== null && (q(o), R("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
function at(o, d, p, v, T, _) {
|
|
1570
|
-
{
|
|
1571
|
-
var w = Qt(o);
|
|
1572
|
-
if (!w) {
|
|
1573
|
-
var k = "";
|
|
1574
|
-
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1575
|
-
var L = mn(T);
|
|
1576
|
-
L ? k += L : k += nt();
|
|
1577
|
-
var x;
|
|
1578
|
-
o === null ? x = "null" : me(o) ? x = "array" : o !== void 0 && o.$$typeof === t ? (x = "<" + (D(o.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : x = typeof o, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, k);
|
|
1579
|
-
}
|
|
1580
|
-
var P = $n(o, d, p, T, _);
|
|
1581
|
-
if (P == null)
|
|
1582
|
-
return P;
|
|
1583
|
-
if (w) {
|
|
1584
|
-
var A = d.children;
|
|
1585
|
-
if (A !== void 0)
|
|
1586
|
-
if (v)
|
|
1587
|
-
if (me(A)) {
|
|
1588
|
-
for (var Y = 0; Y < A.length; Y++)
|
|
1589
|
-
rt(A[Y], o);
|
|
1590
|
-
Object.freeze && Object.freeze(A);
|
|
1591
|
-
} else
|
|
1592
|
-
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1593
|
-
else
|
|
1594
|
-
rt(A, o);
|
|
1595
|
-
}
|
|
1596
|
-
return o === r ? bn(P) : vn(P), P;
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
|
-
function Cn(o, d, p) {
|
|
1600
|
-
return at(o, d, p, !0);
|
|
1601
|
-
}
|
|
1602
|
-
function En(o, d, p) {
|
|
1603
|
-
return at(o, d, p, !1);
|
|
1604
|
-
}
|
|
1605
|
-
var Sn = En, kn = Cn;
|
|
1606
|
-
Z.Fragment = r, Z.jsx = Sn, Z.jsxs = kn;
|
|
1607
|
-
}()), Z;
|
|
1608
|
-
}
|
|
1609
|
-
process.env.NODE_ENV === "production" ? Ie.exports = Oo() : Ie.exports = xo();
|
|
1610
|
-
var Po = Ie.exports;
|
|
1611
|
-
const Io = (e) => e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), qt = (e) => e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`), Lo = (e, t, n = {}) => {
|
|
1612
|
-
if (e instanceof Element) {
|
|
1613
|
-
const r = No(e.classList, t, n);
|
|
1614
|
-
r !== "" && (e.className = r), Object.keys(t).forEach((s) => {
|
|
1615
|
-
if (!(s === "children" || s === "style" || s === "ref" || s === "class" || s === "className" || s === "forwardedRef"))
|
|
1616
|
-
if (s.indexOf("on") === 0 && s[2] === s[2].toUpperCase()) {
|
|
1617
|
-
const c = s.substring(2), a = c[0].toLowerCase() + c.substring(1);
|
|
1618
|
-
Yt(a) || jo(e, a, t[s]);
|
|
1619
|
-
} else
|
|
1620
|
-
e[s] = t[s], typeof t[s] === "string" && e.setAttribute(qt(s), t[s]);
|
|
1621
|
-
});
|
|
1622
|
-
}
|
|
1623
|
-
}, No = (e, t, n) => {
|
|
1624
|
-
const r = t.className || t.class, s = n.className || n.class, c = Te(e), a = Te(r ? r.split(" ") : []), l = Te(s ? s.split(" ") : []), i = [];
|
|
1625
|
-
return c.forEach((f) => {
|
|
1626
|
-
a.has(f) ? (i.push(f), a.delete(f)) : l.has(f) || i.push(f);
|
|
1627
|
-
}), a.forEach((f) => i.push(f)), i.join(" ");
|
|
1628
|
-
}, Ao = (e) => {
|
|
1629
|
-
switch (e) {
|
|
1630
|
-
case "doubleclick":
|
|
1631
|
-
return "dblclick";
|
|
1632
|
-
}
|
|
1633
|
-
return e;
|
|
1634
|
-
};
|
|
1635
|
-
/**
|
|
1636
|
-
* Checks if an event is supported in the current execution environment.
|
|
1637
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
1638
|
-
*/
|
|
1639
|
-
const Yt = (e) => {
|
|
1640
|
-
if (typeof document > "u")
|
|
1641
|
-
return !0;
|
|
1642
|
-
{
|
|
1643
|
-
const t = "on" + Ao(e);
|
|
1644
|
-
let n = t in document;
|
|
1645
|
-
if (!n) {
|
|
1646
|
-
const r = document.createElement("div");
|
|
1647
|
-
r.setAttribute(t, "return;"), n = typeof r[t] == "function";
|
|
1648
|
-
}
|
|
1649
|
-
return n;
|
|
1650
|
-
}
|
|
1651
|
-
}, jo = (e, t, n) => {
|
|
1652
|
-
const r = e.__events || (e.__events = {}), s = r[t];
|
|
1653
|
-
s && e.removeEventListener(t, s), e.addEventListener(
|
|
1654
|
-
t,
|
|
1655
|
-
r[t] = function(a) {
|
|
1656
|
-
n && n.call(this, a);
|
|
1657
|
-
}
|
|
1658
|
-
);
|
|
1659
|
-
}, Te = (e) => {
|
|
1660
|
-
const t = /* @__PURE__ */ new Map();
|
|
1661
|
-
return e.forEach((n) => t.set(n, n)), t;
|
|
1662
|
-
}, Do = (e, t) => {
|
|
1663
|
-
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
1664
|
-
}, Ho = (...e) => (t) => {
|
|
1665
|
-
e.forEach((n) => {
|
|
1666
|
-
Do(n, t);
|
|
1667
|
-
});
|
|
1668
|
-
}, Fo = (e, t) => {
|
|
1669
|
-
const n = (r, s) => /* @__PURE__ */ Po.jsx(e, { ...r, forwardedRef: s });
|
|
1670
|
-
return n.displayName = t, ue.forwardRef(n);
|
|
1671
|
-
}, u = (e, t, n, r) => {
|
|
1672
|
-
r !== void 0 && r();
|
|
1673
|
-
const s = Io(e), c = class extends ue.Component {
|
|
1674
|
-
constructor(l) {
|
|
1675
|
-
super(l);
|
|
1676
|
-
Ee(this, "componentEl");
|
|
1677
|
-
Ee(this, "setComponentElRef", (l) => {
|
|
1678
|
-
this.componentEl = l;
|
|
1679
|
-
});
|
|
1680
|
-
}
|
|
1681
|
-
componentDidMount() {
|
|
1682
|
-
this.componentDidUpdate(this.props);
|
|
1683
|
-
}
|
|
1684
|
-
componentDidUpdate(l) {
|
|
1685
|
-
Lo(this.componentEl, this.props, l);
|
|
1686
|
-
}
|
|
1687
|
-
render() {
|
|
1688
|
-
const { children: l, forwardedRef: i, style: f, className: h, ref: g, ...$ } = this.props;
|
|
1689
|
-
let S = Object.keys($).reduce((y, C) => {
|
|
1690
|
-
const E = $[C];
|
|
1691
|
-
if (C.indexOf("on") === 0 && C[2] === C[2].toUpperCase()) {
|
|
1692
|
-
const R = C.substring(2).toLowerCase();
|
|
1693
|
-
typeof document < "u" && Yt(R) && (y[C] = E);
|
|
1694
|
-
} else {
|
|
1695
|
-
const R = typeof E;
|
|
1696
|
-
(R === "string" || R === "boolean" || R === "number") && (y[qt(C)] = E);
|
|
1697
|
-
}
|
|
1698
|
-
return y;
|
|
1699
|
-
}, {});
|
|
1700
|
-
n && (S = n(this.props, S));
|
|
1701
|
-
const m = {
|
|
1702
|
-
...S,
|
|
1703
|
-
ref: Ho(i, this.setComponentElRef),
|
|
1704
|
-
style: f
|
|
1705
|
-
};
|
|
1706
|
-
return Rn(e, m, l);
|
|
1707
|
-
}
|
|
1708
|
-
static get displayName() {
|
|
1709
|
-
return s;
|
|
1710
|
-
}
|
|
1711
|
-
};
|
|
1712
|
-
return t && (c.contextType = t), Fo(c, s);
|
|
1713
|
-
};
|
|
1714
|
-
_o();
|
|
1715
|
-
const Ko = /* @__PURE__ */ u("add-circle-icon"), Xo = /* @__PURE__ */ u("archive-icon"), Qo = /* @__PURE__ */ u("arrow-icon"), Zo = /* @__PURE__ */ u("bold-icon"), Vo = /* @__PURE__ */ u("button-component"), es = /* @__PURE__ */ u("calendar-cancel-icon"), ts = /* @__PURE__ */ u("calendar-check-icon"), ns = /* @__PURE__ */ u("calendar-icon"), os = /* @__PURE__ */ u("calendar-info-icon"), ss = /* @__PURE__ */ u("calendar-patterns-icon"), rs = /* @__PURE__ */ u("checkmark-circle-icon"), as = /* @__PURE__ */ u("chevron-icon"), is = /* @__PURE__ */ u("close-icon"), ls = /* @__PURE__ */ u("document-refresh-icon"), cs = /* @__PURE__ */ u("flow-icon"), ds = /* @__PURE__ */ u("folder-icon"), us = /* @__PURE__ */ u("forward-icon"), fs = /* @__PURE__ */ u("globe-icon"), hs = /* @__PURE__ */ u("google-logo-icon"), ps = /* @__PURE__ */ u("inbox-icon"), gs = /* @__PURE__ */ u("info-icon"), $s = /* @__PURE__ */ u("italic-icon"), ms = /* @__PURE__ */ u("loading-icon"), ys = /* @__PURE__ */ u("location-icon"), vs = /* @__PURE__ */ u("location-off-icon"), bs = /* @__PURE__ */ u("microsoft-logo-icon"), Cs = /* @__PURE__ */ u("multi-select-dropdown"), Es = /* @__PURE__ */ u("nylas-additional-participants"), Ss = /* @__PURE__ */ u("nylas-availability-picker"), ks = /* @__PURE__ */ u("nylas-booked-event-card"), ws = /* @__PURE__ */ u("nylas-booking-calendar-picker"), Ts = /* @__PURE__ */ u("nylas-booking-form"), Rs = /* @__PURE__ */ u("nylas-buffer-time"), _s = /* @__PURE__ */ u("nylas-calendar-picker"), Os = /* @__PURE__ */ u("nylas-cancel-booking-form"), xs = /* @__PURE__ */ u("nylas-cancelled-event-card"), Ps = /* @__PURE__ */ u("nylas-composer"), Is = /* @__PURE__ */ u("nylas-custom-booking-flow"), Ls = /* @__PURE__ */ u("nylas-date-picker"), Ns = /* @__PURE__ */ u("nylas-editor-tabs"), As = /* @__PURE__ */ u("nylas-event-description"), js = /* @__PURE__ */ u("nylas-event-duration"), Ds = /* @__PURE__ */ u("nylas-event-info"), Hs = /* @__PURE__ */ u("nylas-event-limits"), Fs = /* @__PURE__ */ u("nylas-event-title"), Ms = /* @__PURE__ */ u("nylas-form-card"), Bs = /* @__PURE__ */ u("nylas-if-state"), Us = /* @__PURE__ */ u("nylas-limit-future-bookings"), zs = /* @__PURE__ */ u("nylas-list-folders"), Ws = /* @__PURE__ */ u("nylas-list-threads"), qs = /* @__PURE__ */ u("nylas-locale-switch"), Ys = /* @__PURE__ */ u("nylas-location-component"), Gs = /* @__PURE__ */ u("nylas-login"), Js = /* @__PURE__ */ u("nylas-logo"), Ks = /* @__PURE__ */ u("nylas-mailbox"), Xs = /* @__PURE__ */ u("nylas-mailbox-pagination"), Qs = /* @__PURE__ */ u("nylas-mailbox-toolbar-button"), Zs = /* @__PURE__ */ u("nylas-min-cancellation-notice"), Vs = /* @__PURE__ */ u("nylas-notification"), er = /* @__PURE__ */ u("nylas-provider"), tr = /* @__PURE__ */ u("nylas-scheduler-editor"), nr = /* @__PURE__ */ u("nylas-scheduling"), or = /* @__PURE__ */ u("nylas-selected-event-card"), sr = /* @__PURE__ */ u("nylas-summarize-message-button"), rr = /* @__PURE__ */ u("nylas-threads-refresh"), ar = /* @__PURE__ */ u("nylas-threads-search"), ir = /* @__PURE__ */ u("nylas-time-window-picker"), lr = /* @__PURE__ */ u("nylas-timeslot-picker"), cr = /* @__PURE__ */ u("nylas-view-email"), dr = /* @__PURE__ */ u("nylas-view-thread"), ur = /* @__PURE__ */ u("people-icon"), fr = /* @__PURE__ */ u("play-icon"), hr = /* @__PURE__ */ u("refresh-icon"), pr = /* @__PURE__ */ u("reply-all-icon"), gr = /* @__PURE__ */ u("reply-icon"), $r = /* @__PURE__ */ u("search-icon"), mr = /* @__PURE__ */ u("select-dropdown"), yr = /* @__PURE__ */ u("sent-icon"), vr = /* @__PURE__ */ u("spam-icon"), br = /* @__PURE__ */ u("star-icon"), Cr = /* @__PURE__ */ u("stop-icon"), Er = /* @__PURE__ */ u("time-period-selector"), Sr = /* @__PURE__ */ u("tooltip-component"), kr = /* @__PURE__ */ u("translate-icon"), wr = /* @__PURE__ */ u("trash-icon"), Tr = /* @__PURE__ */ u("underline-icon"), Rr = /* @__PURE__ */ u("warning-icon");
|
|
1716
|
-
function _r() {
|
|
1717
|
-
const [, e] = _n((s) => s + 1, 0), t = Se(), n = Se(null), r = Se(null);
|
|
1718
|
-
return On(() => {
|
|
1719
|
-
t.current && (n.current || t.current.getNylasMailboxConnector().then((s) => {
|
|
1720
|
-
s && (n.current = s, r.current = n.current.nylasAuthStore, s.nylasAuthStore.on("set", e), e());
|
|
1721
|
-
}));
|
|
1722
|
-
}, []), [t, r.current];
|
|
1723
|
-
}
|
|
1724
|
-
export {
|
|
1725
|
-
js as $,
|
|
1726
|
-
Ko as A,
|
|
1727
|
-
Zo as B,
|
|
1728
|
-
es as C,
|
|
1729
|
-
ls as D,
|
|
1730
|
-
vs as E,
|
|
1731
|
-
Wo as F,
|
|
1732
|
-
fs as G,
|
|
1733
|
-
Dn as H,
|
|
1734
|
-
ps as I,
|
|
1735
|
-
Cs as J,
|
|
1736
|
-
Es as K,
|
|
1737
|
-
ms as L,
|
|
1738
|
-
bs as M,
|
|
1739
|
-
Go as N,
|
|
1740
|
-
Ss as O,
|
|
1741
|
-
ks as P,
|
|
1742
|
-
ws as Q,
|
|
1743
|
-
Ts as R,
|
|
1744
|
-
Rs as S,
|
|
1745
|
-
_s as T,
|
|
1746
|
-
Os as U,
|
|
1747
|
-
xs as V,
|
|
1748
|
-
Ps as W,
|
|
1749
|
-
Is as X,
|
|
1750
|
-
Ls as Y,
|
|
1751
|
-
Ns as Z,
|
|
1752
|
-
As as _,
|
|
1753
|
-
wo as a,
|
|
1754
|
-
Ds as a0,
|
|
1755
|
-
Hs as a1,
|
|
1756
|
-
Fs as a2,
|
|
1757
|
-
Ms as a3,
|
|
1758
|
-
Bs as a4,
|
|
1759
|
-
Us as a5,
|
|
1760
|
-
zs as a6,
|
|
1761
|
-
Ws as a7,
|
|
1762
|
-
qs as a8,
|
|
1763
|
-
Ys as a9,
|
|
1764
|
-
vr as aA,
|
|
1765
|
-
br as aB,
|
|
1766
|
-
Cr as aC,
|
|
1767
|
-
Er as aD,
|
|
1768
|
-
Sr as aE,
|
|
1769
|
-
kr as aF,
|
|
1770
|
-
wr as aG,
|
|
1771
|
-
Tr as aH,
|
|
1772
|
-
Rr as aI,
|
|
1773
|
-
Gs as aa,
|
|
1774
|
-
Js as ab,
|
|
1775
|
-
Ks as ac,
|
|
1776
|
-
Xs as ad,
|
|
1777
|
-
Qs as ae,
|
|
1778
|
-
Zs as af,
|
|
1779
|
-
Vs as ag,
|
|
1780
|
-
er as ah,
|
|
1781
|
-
tr as ai,
|
|
1782
|
-
nr as aj,
|
|
1783
|
-
or as ak,
|
|
1784
|
-
sr as al,
|
|
1785
|
-
rr as am,
|
|
1786
|
-
ar as an,
|
|
1787
|
-
ir as ao,
|
|
1788
|
-
lr as ap,
|
|
1789
|
-
cr as aq,
|
|
1790
|
-
dr as ar,
|
|
1791
|
-
ur as as,
|
|
1792
|
-
fr as at,
|
|
1793
|
-
hr as au,
|
|
1794
|
-
pr as av,
|
|
1795
|
-
gr as aw,
|
|
1796
|
-
$r as ax,
|
|
1797
|
-
mr as ay,
|
|
1798
|
-
yr as az,
|
|
1799
|
-
Jo as b,
|
|
1800
|
-
zo as c,
|
|
1801
|
-
_o as d,
|
|
1802
|
-
Xo as e,
|
|
1803
|
-
Qo as f,
|
|
1804
|
-
Un as g,
|
|
1805
|
-
_t as h,
|
|
1806
|
-
Vo as i,
|
|
1807
|
-
ts as j,
|
|
1808
|
-
ns as k,
|
|
1809
|
-
os as l,
|
|
1810
|
-
ss as m,
|
|
1811
|
-
rs as n,
|
|
1812
|
-
as as o,
|
|
1813
|
-
is as p,
|
|
1814
|
-
cs as q,
|
|
1815
|
-
Yo as r,
|
|
1816
|
-
qo as s,
|
|
1817
|
-
ds as t,
|
|
1818
|
-
_r as u,
|
|
1819
|
-
us as v,
|
|
1820
|
-
hs as w,
|
|
1821
|
-
gs as x,
|
|
1822
|
-
$s as y,
|
|
1823
|
-
ys as z
|
|
1824
|
-
};
|