@nylas/react 1.1.0-canary.5 → 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-dc5b338e-e87f79b6.js → elements-dc5b338e-6078b875.js} +1 -1
- package/dist/{elements-dc5b338e-29ef67ec.cjs → elements-dc5b338e-96e197ca.cjs} +1 -1
- package/dist/{focus-visible-e8093c16-61d506d2.cjs → focus-visible-e8093c16-018ffd63.cjs} +1 -1
- package/dist/{focus-visible-e8093c16-e7357f74.js → focus-visible-e8093c16-ab01d60a.js} +1 -1
- package/dist/{index-f9ba9aa8.js → index-1fd24ccf.js} +1039 -1428
- package/dist/index-823fdc6f.cjs +36 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +52 -52
- package/package.json +3 -3
- package/dist/add-circle-icon_22.entry-9f634efd.js +0 -1731
- package/dist/add-circle-icon_22.entry-e7ec6c34.cjs +0 -1
- package/dist/archive-icon_7.entry-24bac466.js +0 -75
- package/dist/archive-icon_7.entry-6649ed76.cjs +0 -1
- package/dist/arrow-icon.entry-1fffd526.cjs +0 -1
- package/dist/arrow-icon.entry-82e59ce4.js +0 -15
- package/dist/bold-icon_3.entry-5a01fecf.cjs +0 -1
- package/dist/bold-icon_3.entry-72e585da.js +0 -35
- package/dist/calendar-cancel-icon.entry-0b52bdc9.cjs +0 -1
- package/dist/calendar-cancel-icon.entry-247b530c.js +0 -15
- package/dist/calendar-check-icon_2.entry-d7bb76c7.cjs +0 -1
- package/dist/calendar-check-icon_2.entry-dbb2df49.js +0 -25
- package/dist/calendar-icon.entry-911773c4.cjs +0 -1
- package/dist/calendar-icon.entry-d64cb3d3.js +0 -15
- package/dist/chevron-icon_3.entry-b72f4cdb.cjs +0 -1
- package/dist/chevron-icon_3.entry-db9f8217.js +0 -117
- package/dist/close-icon.entry-9d141bb4.js +0 -15
- package/dist/close-icon.entry-da590fa2.cjs +0 -1
- package/dist/constants-6ee60d6d-09ee73d9.cjs +0 -15
- package/dist/constants-6ee60d6d-d5928e79.js +0 -3740
- package/dist/document-refresh-icon.entry-5e8cc2f0.cjs +0 -1
- package/dist/document-refresh-icon.entry-ee9632d7.js +0 -15
- package/dist/forward-icon_6.entry-cac8473a.cjs +0 -3
- package/dist/forward-icon_6.entry-f054ad9d.js +0 -953
- package/dist/globe-icon.entry-2fde6ac4.js +0 -15
- package/dist/globe-icon.entry-bc484551.cjs +0 -1
- package/dist/google-logo-icon_4.entry-a9848399.cjs +0 -1
- package/dist/google-logo-icon_4.entry-dca87e45.js +0 -349
- package/dist/index-22f7e49c.cjs +0 -37
- package/dist/index.es-f57e612a-1d17c676.js +0 -3137
- package/dist/index.es-f57e612a-95ca3e17.cjs +0 -7
- package/dist/info-icon_2.entry-dbf3931a.js +0 -34
- package/dist/info-icon_2.entry-e67844eb.cjs +0 -1
- package/dist/loading-icon.entry-4566cba8.cjs +0 -1
- package/dist/loading-icon.entry-ae4c2d7e.js +0 -15
- package/dist/mailbox-store-47fc8a1a-2365f20f.js +0 -380
- package/dist/mailbox-store-47fc8a1a-cd3516a7.cjs +0 -1
- package/dist/nylas-additional-participants.entry-7c568149.cjs +0 -1
- package/dist/nylas-additional-participants.entry-e8426256.js +0 -81
- package/dist/nylas-booked-event-card_10.entry-6a664889.cjs +0 -1
- package/dist/nylas-booked-event-card_10.entry-ef767733.js +0 -782
- package/dist/nylas-form-card.entry-d8506b1f.js +0 -54
- package/dist/nylas-form-card.entry-e44169b6.cjs +0 -1
- package/dist/nylas-if-state.entry-044c49d2.cjs +0 -1
- package/dist/nylas-if-state.entry-98a336df.js +0 -94
- package/dist/nylas-list-folders.entry-509f9be4.cjs +0 -1
- package/dist/nylas-list-folders.entry-55ce3403.js +0 -120
- package/dist/nylas-list-threads.entry-1f57382a.js +0 -70
- package/dist/nylas-list-threads.entry-c36e2cf3.cjs +0 -1
- package/dist/nylas-login.entry-66f542b8.cjs +0 -1
- package/dist/nylas-login.entry-76358c2f.js +0 -73
- package/dist/nylas-mailbox-pagination.entry-5562257a.js +0 -101
- package/dist/nylas-mailbox-pagination.entry-89b0dd99.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-573e0429.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-6b1b5b15.js +0 -82
- package/dist/nylas-mailbox.entry-97c503f2.js +0 -134
- package/dist/nylas-mailbox.entry-e21a2f50.cjs +0 -1
- package/dist/nylas-provider.entry-07e1e26a.js +0 -145
- package/dist/nylas-provider.entry-61899957.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-60fe38ce.cjs +0 -7
- package/dist/nylas-scheduler-editor.entry-e326c9de.js +0 -2275
- package/dist/nylas-scheduling.entry-be0cc090.js +0 -235
- package/dist/nylas-scheduling.entry-d88289db.cjs +0 -1
- package/dist/nylas-threads-refresh.entry-8201f8dd.js +0 -74
- package/dist/nylas-threads-refresh.entry-c71ee775.cjs +0 -1
- package/dist/nylas-threads-search.entry-912a90a4.cjs +0 -1
- package/dist/nylas-threads-search.entry-fc477e01.js +0 -69
- package/dist/nylas-view-thread.entry-af418ddb.cjs +0 -1
- package/dist/nylas-view-thread.entry-d2953ea8.js +0 -203
- package/dist/people-icon.entry-4b598fde.js +0 -15
- package/dist/people-icon.entry-73cfa6f5.cjs +0 -1
- package/dist/play-icon_2.entry-1a487abb.cjs +0 -1
- package/dist/play-icon_2.entry-d1c2f823.js +0 -25
- package/dist/refresh-icon.entry-42d543d0.cjs +0 -1
- package/dist/refresh-icon.entry-6aedfce6.js +0 -15
- package/dist/register-component-cf5c8420-d3fb6bf9.cjs +0 -1
- package/dist/register-component-cf5c8420-dc1bc0a4.js +0 -109
- package/dist/scheduler-config-store-6222c0ed-000f1a4f.js +0 -18
- package/dist/scheduler-config-store-6222c0ed-758621fb.cjs +0 -1
- package/dist/scheduler-store-39d37291-4e8e9ff9.js +0 -293
- package/dist/scheduler-store-39d37291-b66c052c.cjs +0 -1
- package/dist/time-period-selector.entry-f1e27a00.js +0 -76
- package/dist/time-period-selector.entry-fb3d0178.cjs +0 -1
- package/dist/translate-icon.entry-0d44b6cb.cjs +0 -1
- package/dist/translate-icon.entry-3db947f5.js +0 -15
- package/dist/warning-icon.entry-a20657e4.cjs +0 -1
- package/dist/warning-icon.entry-a8ea0fe0.js +0 -15
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var wt = (t, e, n) => (
|
|
4
|
-
import ht, { createElement as
|
|
1
|
+
var Fr = Object.defineProperty;
|
|
2
|
+
var zr = (t, e, n) => e in t ? Fr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var wt = (t, e, n) => (zr(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
+
import ht, { createElement as Br, useReducer as qr, useRef as kt, useEffect as Kr } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const
|
|
6
|
+
const Gr = "nylas-web-elements", Zr = (
|
|
7
7
|
/* nylas-web-elements */
|
|
8
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
9
|
);
|
|
10
|
-
let He, Ot, yt,
|
|
10
|
+
let He, Ot, yt, zn = !1, it = !1, Yt = !1, oe = !1, xt = null, _t = !1;
|
|
11
11
|
const Oe = (t, e = "") => () => {
|
|
12
|
-
},
|
|
13
|
-
},
|
|
12
|
+
}, Jr = (t, e) => () => {
|
|
13
|
+
}, Xr = "{visibility:hidden}.hydrated{visibility:inherit}", Bn = "slot-fb{display:contents}slot-fb[hidden]{display:none}", Qr = [
|
|
14
14
|
"formAssociatedCallback",
|
|
15
15
|
"formResetCallback",
|
|
16
16
|
"formDisabledCallback",
|
|
17
17
|
"formStateRestoreCallback"
|
|
18
|
-
],
|
|
19
|
-
function
|
|
18
|
+
], ln = {}, Vr = "http://www.w3.org/2000/svg", ea = "http://www.w3.org/1999/xhtml", ta = (t) => t != null, Ht = (t) => (t = typeof t, t === "object" || t === "function");
|
|
19
|
+
function qn(t) {
|
|
20
20
|
var e, n, r;
|
|
21
21
|
return (r = (n = (e = t.head) === null || e === void 0 ? void 0 : e.querySelector('meta[name="csp-nonce"]')) === null || n === void 0 ? void 0 : n.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const Kn = (t, e, ...n) => {
|
|
24
24
|
let r = null, a = null, i = null, s = !1, l = !1;
|
|
25
25
|
const o = [], u = (f) => {
|
|
26
26
|
for (let h = 0; h < f.length; h++)
|
|
27
|
-
r = f[h], Array.isArray(r) ? u(r) : r != null && typeof r != "boolean" && ((s = typeof t != "function" && !
|
|
27
|
+
r = f[h], Array.isArray(r) ? u(r) : r != null && typeof r != "boolean" && ((s = typeof t != "function" && !Ht(r)) && (r = String(r)), s && l ? o[o.length - 1].$text$ += r : o.push(s ? st(null, r) : r), l = s);
|
|
28
28
|
};
|
|
29
29
|
if (u(n), e) {
|
|
30
30
|
e.key && (a = e.key), e.name && (i = e.name);
|
|
@@ -34,10 +34,10 @@ const Jn = (t, e, ...n) => {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (typeof t == "function")
|
|
37
|
-
return t(e === null ? {} : e, o,
|
|
38
|
-
const d =
|
|
37
|
+
return t(e === null ? {} : e, o, aa);
|
|
38
|
+
const d = st(t, null);
|
|
39
39
|
return d.$attrs$ = e, o.length > 0 && (d.$children$ = o), d.$key$ = a, d.$name$ = i, d;
|
|
40
|
-
},
|
|
40
|
+
}, st = (t, e) => {
|
|
41
41
|
const n = {
|
|
42
42
|
$flags$: 0,
|
|
43
43
|
$tag$: t,
|
|
@@ -46,65 +46,55 @@ const Jn = (t, e, ...n) => {
|
|
|
46
46
|
$children$: null
|
|
47
47
|
};
|
|
48
48
|
return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
|
|
49
|
-
},
|
|
50
|
-
forEach: (t, e) => t.map(
|
|
51
|
-
map: (t, e) => t.map(
|
|
52
|
-
},
|
|
49
|
+
}, na = {}, ra = (t) => t && t.$tag$ === na, aa = {
|
|
50
|
+
forEach: (t, e) => t.map(cn).forEach(e),
|
|
51
|
+
map: (t, e) => t.map(cn).map(e).map(ia)
|
|
52
|
+
}, cn = (t) => ({
|
|
53
53
|
vattrs: t.$attrs$,
|
|
54
54
|
vchildren: t.$children$,
|
|
55
55
|
vkey: t.$key$,
|
|
56
56
|
vname: t.$name$,
|
|
57
57
|
vtag: t.$tag$,
|
|
58
58
|
vtext: t.$text$
|
|
59
|
-
}),
|
|
59
|
+
}), ia = (t) => {
|
|
60
60
|
if (typeof t.vtag == "function") {
|
|
61
61
|
const n = Object.assign({}, t.vattrs);
|
|
62
|
-
return t.vkey && (n.key = t.vkey), t.vname && (n.name = t.vname),
|
|
62
|
+
return t.vkey && (n.key = t.vkey), t.vname && (n.name = t.vname), Kn(t.vtag, n, ...t.vchildren || []);
|
|
63
63
|
}
|
|
64
|
-
const e =
|
|
64
|
+
const e = st(t.vtag, t.vtext);
|
|
65
65
|
return e.$attrs$ = t.vattrs, e.$children$ = t.vchildren, e.$key$ = t.vkey, e.$name$ = t.vname, e;
|
|
66
|
-
},
|
|
67
|
-
const r =
|
|
68
|
-
return {
|
|
69
|
-
emit: (a) => Xn(r, e, {
|
|
70
|
-
bubbles: !!(n & 4),
|
|
71
|
-
composed: !!(n & 2),
|
|
72
|
-
cancelable: !!(n & 1),
|
|
73
|
-
detail: a
|
|
74
|
-
})
|
|
75
|
-
};
|
|
76
|
-
}, Xn = (t, e, n) => {
|
|
77
|
-
const r = B.ce(e, n);
|
|
66
|
+
}, sa = (t, e) => t != null && !Ht(t) ? e & 4 ? t === "false" ? !1 : t === "" || !!t : e & 2 ? parseFloat(t) : e & 1 ? String(t) : t : t, oa = (t, e, n) => {
|
|
67
|
+
const r = z.ce(e, n);
|
|
78
68
|
return t.dispatchEvent(r), r;
|
|
79
|
-
},
|
|
69
|
+
}, un = /* @__PURE__ */ new WeakMap(), la = (t, e, n) => {
|
|
80
70
|
let r = lt.get(t);
|
|
81
|
-
|
|
82
|
-
},
|
|
71
|
+
Aa && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = e : r.replaceSync(e)) : r = e, lt.set(t, r);
|
|
72
|
+
}, ca = (t, e, n) => {
|
|
83
73
|
var r;
|
|
84
|
-
const a =
|
|
85
|
-
if (t = t.nodeType === 11 ? t :
|
|
74
|
+
const a = Gn(e), i = lt.get(a);
|
|
75
|
+
if (t = t.nodeType === 11 ? t : ne, i)
|
|
86
76
|
if (typeof i == "string") {
|
|
87
77
|
t = t.head || t;
|
|
88
|
-
let s =
|
|
89
|
-
if (s ||
|
|
78
|
+
let s = un.get(t), l;
|
|
79
|
+
if (s || un.set(t, s = /* @__PURE__ */ new Set()), !s.has(a)) {
|
|
90
80
|
{
|
|
91
|
-
l =
|
|
92
|
-
const o = (r =
|
|
81
|
+
l = ne.createElement("style"), l.innerHTML = i;
|
|
82
|
+
const o = (r = z.$nonce$) !== null && r !== void 0 ? r : qn(ne);
|
|
93
83
|
o != null && l.setAttribute("nonce", o), t.insertBefore(l, t.querySelector("link"));
|
|
94
84
|
}
|
|
95
|
-
e.$flags$ & 4 && (l.innerHTML +=
|
|
85
|
+
e.$flags$ & 4 && (l.innerHTML += Bn), s && s.add(a);
|
|
96
86
|
}
|
|
97
87
|
} else
|
|
98
88
|
t.adoptedStyleSheets.includes(i) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, i]);
|
|
99
89
|
return a;
|
|
100
|
-
},
|
|
101
|
-
const e = t.$cmpMeta$, n = t.$hostElement$, r = e.$flags$, a = Oe("attachStyles", e.$tagName$), i =
|
|
90
|
+
}, ua = (t) => {
|
|
91
|
+
const e = t.$cmpMeta$, n = t.$hostElement$, r = e.$flags$, a = Oe("attachStyles", e.$tagName$), i = ca(n.shadowRoot ? n.shadowRoot : n.getRootNode(), e);
|
|
102
92
|
r & 10 && (n["s-sc"] = i, n.classList.add(i + "-h"), r & 2 && n.classList.add(i + "-s")), a();
|
|
103
|
-
},
|
|
93
|
+
}, Gn = (t, e) => "sc-" + t.$tagName$, dn = (t, e, n, r, a, i) => {
|
|
104
94
|
if (n !== r) {
|
|
105
|
-
let s =
|
|
95
|
+
let s = gn(t, e), l = e.toLowerCase();
|
|
106
96
|
if (e === "class") {
|
|
107
|
-
const o = t.classList, u =
|
|
97
|
+
const o = t.classList, u = fn(n), d = fn(r);
|
|
108
98
|
o.remove(...u.filter((f) => f && !d.includes(f))), o.add(...d.filter((f) => f && !u.includes(f)));
|
|
109
99
|
} else if (e === "style") {
|
|
110
100
|
for (const o in n)
|
|
@@ -115,12 +105,12 @@ const Jn = (t, e, ...n) => {
|
|
|
115
105
|
if (e === "ref")
|
|
116
106
|
r && r(t);
|
|
117
107
|
else if (!s && e[0] === "o" && e[1] === "n") {
|
|
118
|
-
if (e[2] === "-" ? e = e.slice(3) :
|
|
119
|
-
const o = e.endsWith(
|
|
120
|
-
e = e.replace(
|
|
108
|
+
if (e[2] === "-" ? e = e.slice(3) : gn(et, l) ? e = l.slice(2) : e = l[2] + e.slice(3), n || r) {
|
|
109
|
+
const o = e.endsWith(Zn);
|
|
110
|
+
e = e.replace(fa, ""), n && z.rel(t, e, n, o), r && z.ael(t, e, r, o);
|
|
121
111
|
}
|
|
122
112
|
} else {
|
|
123
|
-
const o =
|
|
113
|
+
const o = Ht(r);
|
|
124
114
|
if ((s || o && r !== null) && !a)
|
|
125
115
|
try {
|
|
126
116
|
if (t.tagName.includes("-"))
|
|
@@ -134,53 +124,53 @@ const Jn = (t, e, ...n) => {
|
|
|
134
124
|
r == null || r === !1 ? (r !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!s || i & 4 || a) && !o && (r = r === !0 ? "" : r, t.setAttribute(e, r));
|
|
135
125
|
}
|
|
136
126
|
}
|
|
137
|
-
},
|
|
138
|
-
const a = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = t && t.$attrs$ ||
|
|
127
|
+
}, da = /\s/, fn = (t) => t ? t.split(da) : [], Zn = "Capture", fa = new RegExp(Zn + "$"), Jn = (t, e, n, r) => {
|
|
128
|
+
const a = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = t && t.$attrs$ || ln, s = e.$attrs$ || ln;
|
|
139
129
|
for (r in i)
|
|
140
|
-
r in s ||
|
|
130
|
+
r in s || dn(a, r, i[r], void 0, n, e.$flags$);
|
|
141
131
|
for (r in s)
|
|
142
|
-
|
|
132
|
+
dn(a, r, i[r], s[r], n, e.$flags$);
|
|
143
133
|
}, ot = (t, e, n, r) => {
|
|
144
134
|
const a = e.$children$[n];
|
|
145
135
|
let i = 0, s, l, o;
|
|
146
|
-
if (
|
|
136
|
+
if (zn || (Yt = !0, a.$tag$ === "slot" && (He && r.classList.add(He + "-s"), a.$flags$ |= a.$children$ ? (
|
|
147
137
|
// slot element has fallback content
|
|
148
138
|
2
|
|
149
139
|
) : (
|
|
150
140
|
// slot element does not have fallback content
|
|
151
141
|
1
|
|
152
142
|
))), a.$text$ !== null)
|
|
153
|
-
s = a.$elm$ =
|
|
143
|
+
s = a.$elm$ = ne.createTextNode(a.$text$);
|
|
154
144
|
else if (a.$flags$ & 1)
|
|
155
|
-
s = a.$elm$ =
|
|
145
|
+
s = a.$elm$ = ne.createTextNode("");
|
|
156
146
|
else {
|
|
157
|
-
if (
|
|
147
|
+
if (oe || (oe = a.$tag$ === "svg"), s = a.$elm$ = ne.createElementNS(oe ? Vr : ea, a.$flags$ & 2 ? "slot-fb" : a.$tag$), oe && a.$tag$ === "foreignObject" && (oe = !1), Jn(null, a, oe), ta(He) && s["s-si"] !== He && s.classList.add(s["s-si"] = He), a.$children$)
|
|
158
148
|
for (i = 0; i < a.$children$.length; ++i)
|
|
159
149
|
l = ot(t, a, i, s), l && s.appendChild(l);
|
|
160
|
-
a.$tag$ === "svg" ?
|
|
150
|
+
a.$tag$ === "svg" ? oe = !1 : s.tagName === "foreignObject" && (oe = !0);
|
|
161
151
|
}
|
|
162
152
|
return s["s-hn"] = yt, a.$flags$ & 3 && (s["s-sr"] = !0, s["s-cr"] = Ot, s["s-sn"] = a.$name$ || "", o = t && t.$children$ && t.$children$[n], o && o.$tag$ === a.$tag$ && t.$elm$ && Qe(t.$elm$, !1)), s;
|
|
163
153
|
}, Qe = (t, e) => {
|
|
164
|
-
|
|
154
|
+
z.$flags$ |= 1;
|
|
165
155
|
const n = t.childNodes;
|
|
166
156
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
167
157
|
const a = n[r];
|
|
168
|
-
a["s-hn"] !== yt && a["s-ol"] && (
|
|
158
|
+
a["s-hn"] !== yt && a["s-ol"] && (Vn(a).insertBefore(a, jt(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, Yt = !0), e && Qe(a, e);
|
|
169
159
|
}
|
|
170
|
-
|
|
171
|
-
},
|
|
160
|
+
z.$flags$ &= -2;
|
|
161
|
+
}, Xn = (t, e, n, r, a, i) => {
|
|
172
162
|
let s = t["s-cr"] && t["s-cr"].parentNode || t, l;
|
|
173
163
|
for (s.shadowRoot && s.tagName === yt && (s = s.shadowRoot); a <= i; ++a)
|
|
174
|
-
r[a] && (l = ot(null, n, a, t), l && (r[a].$elm$ = l, s.insertBefore(l,
|
|
175
|
-
},
|
|
164
|
+
r[a] && (l = ot(null, n, a, t), l && (r[a].$elm$ = l, s.insertBefore(l, jt(e))));
|
|
165
|
+
}, Qn = (t, e, n) => {
|
|
176
166
|
for (let r = e; r <= n; ++r) {
|
|
177
167
|
const a = t[r];
|
|
178
168
|
if (a) {
|
|
179
169
|
const i = a.$elm$;
|
|
180
|
-
|
|
170
|
+
nr(a), i && (it = !0, i["s-ol"] ? i["s-ol"].remove() : Qe(i, !0), i.remove());
|
|
181
171
|
}
|
|
182
172
|
}
|
|
183
|
-
},
|
|
173
|
+
}, ha = (t, e, n, r, a = !1) => {
|
|
184
174
|
let i = 0, s = 0, l = 0, o = 0, u = e.length - 1, d = e[0], f = e[u], h = r.length - 1, y = r[0], p = r[h], v, b;
|
|
185
175
|
for (; i <= u && s <= h; )
|
|
186
176
|
if (d == null)
|
|
@@ -205,14 +195,14 @@ const Jn = (t, e, ...n) => {
|
|
|
205
195
|
l = o;
|
|
206
196
|
break;
|
|
207
197
|
}
|
|
208
|
-
l >= 0 ? (b = e[l], b.$tag$ !== y.$tag$ ? v = ot(e && e[s], n, l, t) : (je(b, y, a), e[l] = void 0, v = b.$elm$), y = r[++s]) : (v = ot(e && e[s], n, s, t), y = r[++s]), v &&
|
|
198
|
+
l >= 0 ? (b = e[l], b.$tag$ !== y.$tag$ ? v = ot(e && e[s], n, l, t) : (je(b, y, a), e[l] = void 0, v = b.$elm$), y = r[++s]) : (v = ot(e && e[s], n, s, t), y = r[++s]), v && Vn(d.$elm$).insertBefore(v, jt(d.$elm$));
|
|
209
199
|
}
|
|
210
|
-
i > u ?
|
|
211
|
-
}, at = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1,
|
|
200
|
+
i > u ? Xn(t, r[h + 1] == null ? null : r[h + 1].$elm$, n, r, s, h) : s > h && Qn(e, i, u);
|
|
201
|
+
}, at = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1, jt = (t) => t && t["s-ol"] || t, Vn = (t) => (t["s-ol"] ? t["s-ol"] : t).parentNode, je = (t, e, n = !1) => {
|
|
212
202
|
const r = e.$elm$ = t.$elm$, a = t.$children$, i = e.$children$, s = e.$tag$, l = e.$text$;
|
|
213
203
|
let o;
|
|
214
|
-
l === null ? (
|
|
215
|
-
},
|
|
204
|
+
l === null ? (oe = s === "svg" ? !0 : s === "foreignObject" ? !1 : oe, s === "slot" || Jn(t, e, oe), a !== null && i !== null ? ha(r, a, e, i, n) : i !== null ? (t.$text$ !== null && (r.textContent = ""), Xn(r, null, e, i, 0, i.length - 1)) : a !== null && Qn(a, 0, a.length - 1), oe && s === "svg" && (oe = !1)) : (o = r["s-cr"]) ? o.parentNode.textContent = l : t.$text$ !== l && (r.data = l);
|
|
205
|
+
}, er = (t) => {
|
|
216
206
|
const e = t.childNodes;
|
|
217
207
|
for (const n of e)
|
|
218
208
|
if (n.nodeType === 1) {
|
|
@@ -232,51 +222,51 @@ const Jn = (t, e, ...n) => {
|
|
|
232
222
|
}
|
|
233
223
|
}
|
|
234
224
|
}
|
|
235
|
-
|
|
225
|
+
er(n);
|
|
236
226
|
}
|
|
237
|
-
},
|
|
227
|
+
}, Te = [], tr = (t) => {
|
|
238
228
|
let e, n, r;
|
|
239
229
|
for (const a of t.childNodes) {
|
|
240
230
|
if (a["s-sr"] && (e = a["s-cr"]) && e.parentNode) {
|
|
241
231
|
n = e.parentNode.childNodes;
|
|
242
232
|
const i = a["s-sn"];
|
|
243
233
|
for (r = n.length - 1; r >= 0; r--)
|
|
244
|
-
if (e = n[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== a["s-hn"] && !
|
|
245
|
-
if (
|
|
246
|
-
let s =
|
|
247
|
-
|
|
234
|
+
if (e = n[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== a["s-hn"] && !Zr.experimentalSlotFixes)
|
|
235
|
+
if (hn(e, i)) {
|
|
236
|
+
let s = Te.find((l) => l.$nodeToRelocate$ === e);
|
|
237
|
+
it = !0, e["s-sn"] = e["s-sn"] || i, s ? (s.$nodeToRelocate$["s-sh"] = a["s-hn"], s.$slotRefNode$ = a) : (e["s-sh"] = a["s-hn"], Te.push({
|
|
248
238
|
$slotRefNode$: a,
|
|
249
239
|
$nodeToRelocate$: e
|
|
250
|
-
})), e["s-sr"] &&
|
|
251
|
-
|
|
240
|
+
})), e["s-sr"] && Te.map((l) => {
|
|
241
|
+
hn(l.$nodeToRelocate$, e["s-sn"]) && (s = Te.find((o) => o.$nodeToRelocate$ === e), s && !l.$slotRefNode$ && (l.$slotRefNode$ = s.$slotRefNode$));
|
|
252
242
|
});
|
|
253
243
|
} else
|
|
254
|
-
|
|
244
|
+
Te.some((s) => s.$nodeToRelocate$ === e) || Te.push({
|
|
255
245
|
$nodeToRelocate$: e
|
|
256
246
|
});
|
|
257
247
|
}
|
|
258
|
-
a.nodeType === 1 &&
|
|
248
|
+
a.nodeType === 1 && tr(a);
|
|
259
249
|
}
|
|
260
|
-
},
|
|
261
|
-
t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(
|
|
262
|
-
},
|
|
250
|
+
}, hn = (t, e) => t.nodeType === 1 ? t.getAttribute("slot") === null && e === "" || t.getAttribute("slot") === e : t["s-sn"] === e ? !0 : e === "", nr = (t) => {
|
|
251
|
+
t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(nr);
|
|
252
|
+
}, ya = (t, e, n = !1) => {
|
|
263
253
|
var r, a, i, s;
|
|
264
|
-
const l = t.$hostElement$, o = t.$cmpMeta$, u = t.$vnode$ ||
|
|
254
|
+
const l = t.$hostElement$, o = t.$cmpMeta$, u = t.$vnode$ || st(null, null), d = ra(e) ? e : Kn(null, null, e);
|
|
265
255
|
if (yt = l.tagName, n && d.$attrs$)
|
|
266
256
|
for (const f of Object.keys(d.$attrs$))
|
|
267
257
|
l.hasAttribute(f) && !["key", "ref", "style", "class"].includes(f) && (d.$attrs$[f] = l[f]);
|
|
268
|
-
d.$tag$ = null, d.$flags$ |= 4, t.$vnode$ = d, d.$elm$ = u.$elm$ = l.shadowRoot || l, He = l["s-sc"], Ot = l["s-cr"],
|
|
258
|
+
d.$tag$ = null, d.$flags$ |= 4, t.$vnode$ = d, d.$elm$ = u.$elm$ = l.shadowRoot || l, He = l["s-sc"], Ot = l["s-cr"], zn = (o.$flags$ & 1) !== 0, it = !1, je(u, d, n);
|
|
269
259
|
{
|
|
270
|
-
if (
|
|
271
|
-
|
|
272
|
-
for (const f of
|
|
260
|
+
if (z.$flags$ |= 1, Yt) {
|
|
261
|
+
tr(d.$elm$);
|
|
262
|
+
for (const f of Te) {
|
|
273
263
|
const h = f.$nodeToRelocate$;
|
|
274
264
|
if (!h["s-ol"]) {
|
|
275
|
-
const y =
|
|
265
|
+
const y = ne.createTextNode("");
|
|
276
266
|
y["s-nr"] = h, h.parentNode.insertBefore(h["s-ol"] = y, h);
|
|
277
267
|
}
|
|
278
268
|
}
|
|
279
|
-
for (const f of
|
|
269
|
+
for (const f of Te) {
|
|
280
270
|
const h = f.$nodeToRelocate$, y = f.$slotRefNode$;
|
|
281
271
|
if (y) {
|
|
282
272
|
const p = y.parentNode;
|
|
@@ -297,58 +287,58 @@ const Jn = (t, e, ...n) => {
|
|
|
297
287
|
h.nodeType === 1 && (n && (h["s-ih"] = (s = h.hidden) !== null && s !== void 0 ? s : !1), h.hidden = !0);
|
|
298
288
|
}
|
|
299
289
|
}
|
|
300
|
-
|
|
290
|
+
it && er(d.$elm$), z.$flags$ &= -2, Te.length = 0;
|
|
301
291
|
}
|
|
302
292
|
Ot = void 0;
|
|
303
|
-
},
|
|
293
|
+
}, rr = (t, e) => {
|
|
304
294
|
e && !t.$onRenderResolve$ && e["s-p"] && e["s-p"].push(new Promise((n) => t.$onRenderResolve$ = n));
|
|
305
295
|
}, pt = (t, e) => {
|
|
306
296
|
if (t.$flags$ |= 16, t.$flags$ & 4) {
|
|
307
297
|
t.$flags$ |= 512;
|
|
308
298
|
return;
|
|
309
299
|
}
|
|
310
|
-
return
|
|
311
|
-
},
|
|
300
|
+
return rr(t, t.$ancestorComponent$), Na(() => pa(t, e));
|
|
301
|
+
}, pa = (t, e) => {
|
|
312
302
|
const n = Oe("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$lazyInstance$;
|
|
313
303
|
let a;
|
|
314
|
-
return e ? (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([i, s]) =>
|
|
315
|
-
},
|
|
304
|
+
return e ? (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([i, s]) => Se(r, i, s)), t.$queuedListeners$ = void 0), a = Se(r, "componentWillLoad")) : a = Se(r, "componentWillUpdate"), a = yn(a, () => Se(r, "componentWillRender")), n(), yn(a, () => va(t, r, e));
|
|
305
|
+
}, yn = (t, e) => ma(t) ? t.then(e) : e(), ma = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", va = async (t, e, n) => {
|
|
316
306
|
var r;
|
|
317
307
|
const a = t.$hostElement$, i = Oe("update", t.$cmpMeta$.$tagName$), s = a["s-rc"];
|
|
318
|
-
n &&
|
|
308
|
+
n && ua(t);
|
|
319
309
|
const l = Oe("render", t.$cmpMeta$.$tagName$);
|
|
320
|
-
|
|
310
|
+
ga(t, e, a, n), s && (s.map((o) => o()), a["s-rc"] = void 0), l(), i();
|
|
321
311
|
{
|
|
322
|
-
const o = (r = a["s-p"]) !== null && r !== void 0 ? r : [], u = () =>
|
|
312
|
+
const o = (r = a["s-p"]) !== null && r !== void 0 ? r : [], u = () => ba(t);
|
|
323
313
|
o.length === 0 ? u() : (Promise.all(o).then(u), t.$flags$ |= 4, o.length = 0);
|
|
324
314
|
}
|
|
325
|
-
},
|
|
315
|
+
}, ga = (t, e, n, r) => {
|
|
326
316
|
try {
|
|
327
|
-
|
|
317
|
+
xt = e, e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, ya(t, e, r);
|
|
328
318
|
} catch (a) {
|
|
329
|
-
|
|
319
|
+
Ae(a, t.$hostElement$);
|
|
330
320
|
}
|
|
331
|
-
return
|
|
332
|
-
},
|
|
321
|
+
return xt = null, null;
|
|
322
|
+
}, pn = () => xt, ba = (t) => {
|
|
333
323
|
const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, r = Oe("postUpdate", e), a = t.$lazyInstance$, i = t.$ancestorComponent$;
|
|
334
|
-
|
|
335
|
-
},
|
|
324
|
+
Se(a, "componentDidRender"), t.$flags$ & 64 ? (Se(a, "componentDidUpdate"), r()) : (t.$flags$ |= 64, ir(n), Se(a, "componentDidLoad"), r(), t.$onReadyResolve$(n), i || ar()), t.$onInstanceResolve$(n), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && Wt(() => pt(t, !1)), t.$flags$ &= -517;
|
|
325
|
+
}, mn = (t) => {
|
|
336
326
|
{
|
|
337
|
-
const e =
|
|
327
|
+
const e = Ce(t), n = e.$hostElement$.isConnected;
|
|
338
328
|
return n && (e.$flags$ & 18) === 2 && pt(e, !1), n;
|
|
339
329
|
}
|
|
340
|
-
},
|
|
341
|
-
|
|
342
|
-
},
|
|
330
|
+
}, ar = (t) => {
|
|
331
|
+
ir(ne.documentElement), Wt(() => oa(et, "appload", { detail: { namespace: Gr } }));
|
|
332
|
+
}, Se = (t, e, n) => {
|
|
343
333
|
if (t && t[e])
|
|
344
334
|
try {
|
|
345
335
|
return t[e](n);
|
|
346
336
|
} catch (r) {
|
|
347
|
-
|
|
337
|
+
Ae(r);
|
|
348
338
|
}
|
|
349
|
-
},
|
|
350
|
-
const a =
|
|
351
|
-
n =
|
|
339
|
+
}, ir = (t) => t.classList.add("hydrated"), $a = (t, e) => Ce(t).$instanceValues$.get(e), wa = (t, e, n, r) => {
|
|
340
|
+
const a = Ce(t), i = a.$hostElement$, s = a.$instanceValues$.get(e), l = a.$flags$, o = a.$lazyInstance$;
|
|
341
|
+
n = sa(n, r.$members$[e][0]);
|
|
352
342
|
const u = Number.isNaN(s) && Number.isNaN(n), d = n !== s && !u;
|
|
353
343
|
if ((!(l & 8) || s === void 0) && d && (a.$instanceValues$.set(e, n), o)) {
|
|
354
344
|
if (r.$watchers$ && l & 128) {
|
|
@@ -357,18 +347,18 @@ const Jn = (t, e, ...n) => {
|
|
|
357
347
|
try {
|
|
358
348
|
o[h](n, s, e);
|
|
359
349
|
} catch (y) {
|
|
360
|
-
|
|
350
|
+
Ae(y, i);
|
|
361
351
|
}
|
|
362
352
|
});
|
|
363
353
|
}
|
|
364
354
|
(l & 18) === 2 && pt(a, !1);
|
|
365
355
|
}
|
|
366
|
-
},
|
|
356
|
+
}, sr = (t, e, n) => {
|
|
367
357
|
var r;
|
|
368
358
|
const a = t.prototype;
|
|
369
|
-
if (e.$flags$ & 64 && n & 1 &&
|
|
359
|
+
if (e.$flags$ & 64 && n & 1 && Qr.forEach((i) => Object.defineProperty(a, i, {
|
|
370
360
|
value(...s) {
|
|
371
|
-
const l =
|
|
361
|
+
const l = Ce(this), o = l.$lazyInstance$;
|
|
372
362
|
if (!o)
|
|
373
363
|
l.$onReadyPromise$.then((u) => {
|
|
374
364
|
const d = u[i];
|
|
@@ -385,17 +375,17 @@ const Jn = (t, e, ...n) => {
|
|
|
385
375
|
if (i.map(([s, [l]]) => {
|
|
386
376
|
l & 31 || n & 2 && l & 32 ? Object.defineProperty(a, s, {
|
|
387
377
|
get() {
|
|
388
|
-
return
|
|
378
|
+
return $a(this, s);
|
|
389
379
|
},
|
|
390
380
|
set(o) {
|
|
391
|
-
|
|
381
|
+
wa(this, s, o, e);
|
|
392
382
|
},
|
|
393
383
|
configurable: !0,
|
|
394
384
|
enumerable: !0
|
|
395
385
|
}) : n & 1 && l & 64 && Object.defineProperty(a, s, {
|
|
396
386
|
value(...o) {
|
|
397
387
|
var u;
|
|
398
|
-
const d =
|
|
388
|
+
const d = Ce(this);
|
|
399
389
|
return (u = d == null ? void 0 : d.$onInstancePromise$) === null || u === void 0 ? void 0 : u.then(() => {
|
|
400
390
|
var f;
|
|
401
391
|
return (f = d.$lazyInstance$) === null || f === void 0 ? void 0 : f[s](...o);
|
|
@@ -405,7 +395,7 @@ const Jn = (t, e, ...n) => {
|
|
|
405
395
|
}), n & 1) {
|
|
406
396
|
const s = /* @__PURE__ */ new Map();
|
|
407
397
|
a.attributeChangedCallback = function(l, o, u) {
|
|
408
|
-
|
|
398
|
+
z.jmp(() => {
|
|
409
399
|
var d;
|
|
410
400
|
const f = s.get(l);
|
|
411
401
|
if (this.hasOwnProperty(f))
|
|
@@ -414,7 +404,7 @@ const Jn = (t, e, ...n) => {
|
|
|
414
404
|
if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == u)
|
|
415
405
|
return;
|
|
416
406
|
if (f == null) {
|
|
417
|
-
const h =
|
|
407
|
+
const h = Ce(this), y = h == null ? void 0 : h.$flags$;
|
|
418
408
|
if (y && !(y & 8) && y & 128 && u !== o) {
|
|
419
409
|
const p = h.$lazyInstance$, v = (d = e.$watchers$) === null || d === void 0 ? void 0 : d[l];
|
|
420
410
|
v == null || v.forEach((b) => {
|
|
@@ -439,16 +429,16 @@ const Jn = (t, e, ...n) => {
|
|
|
439
429
|
}
|
|
440
430
|
}
|
|
441
431
|
return t;
|
|
442
|
-
},
|
|
432
|
+
}, ka = async (t, e, n, r) => {
|
|
443
433
|
let a;
|
|
444
434
|
if (!(e.$flags$ & 32)) {
|
|
445
435
|
e.$flags$ |= 32;
|
|
446
436
|
{
|
|
447
|
-
if (a =
|
|
448
|
-
const o =
|
|
437
|
+
if (a = Ra(n), a.then) {
|
|
438
|
+
const o = Jr();
|
|
449
439
|
a = await a, o();
|
|
450
440
|
}
|
|
451
|
-
a.isProxied || (n.$watchers$ = a.watchers,
|
|
441
|
+
a.isProxied || (n.$watchers$ = a.watchers, sr(
|
|
452
442
|
a,
|
|
453
443
|
n,
|
|
454
444
|
2
|
|
@@ -459,36 +449,36 @@ const Jn = (t, e, ...n) => {
|
|
|
459
449
|
try {
|
|
460
450
|
new a(e);
|
|
461
451
|
} catch (o) {
|
|
462
|
-
|
|
452
|
+
Ae(o);
|
|
463
453
|
}
|
|
464
|
-
e.$flags$ &= -9, e.$flags$ |= 128, l(),
|
|
454
|
+
e.$flags$ &= -9, e.$flags$ |= 128, l(), Dt(e.$lazyInstance$);
|
|
465
455
|
}
|
|
466
456
|
if (a.style) {
|
|
467
457
|
let l = a.style;
|
|
468
|
-
const o =
|
|
458
|
+
const o = Gn(n);
|
|
469
459
|
if (!lt.has(o)) {
|
|
470
460
|
const u = Oe("registerStyles", n.$tagName$);
|
|
471
|
-
|
|
461
|
+
la(o, l, !!(n.$flags$ & 1)), u();
|
|
472
462
|
}
|
|
473
463
|
}
|
|
474
464
|
}
|
|
475
465
|
const i = e.$ancestorComponent$, s = () => pt(e, !0);
|
|
476
466
|
i && i["s-rc"] ? i["s-rc"].push(s) : s();
|
|
477
|
-
},
|
|
478
|
-
|
|
479
|
-
},
|
|
480
|
-
if (!(
|
|
481
|
-
const e =
|
|
467
|
+
}, Dt = (t) => {
|
|
468
|
+
Se(t, "connectedCallback");
|
|
469
|
+
}, Ea = (t) => {
|
|
470
|
+
if (!(z.$flags$ & 1)) {
|
|
471
|
+
const e = Ce(t), n = e.$cmpMeta$, r = Oe("connectedCallback", n.$tagName$);
|
|
482
472
|
if (e.$flags$ & 1)
|
|
483
|
-
|
|
473
|
+
or(t, e, n.$listeners$), e != null && e.$lazyInstance$ ? Dt(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Dt(e.$lazyInstance$));
|
|
484
474
|
else {
|
|
485
475
|
e.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
486
|
-
n.$flags$ & 12 &&
|
|
476
|
+
n.$flags$ & 12 && Ta(t);
|
|
487
477
|
{
|
|
488
478
|
let a = t;
|
|
489
479
|
for (; a = a.parentNode || a.host; )
|
|
490
480
|
if (a["s-p"]) {
|
|
491
|
-
|
|
481
|
+
rr(e, e.$ancestorComponent$ = a);
|
|
492
482
|
break;
|
|
493
483
|
}
|
|
494
484
|
}
|
|
@@ -497,25 +487,25 @@ const Jn = (t, e, ...n) => {
|
|
|
497
487
|
const s = t[a];
|
|
498
488
|
delete t[a], t[a] = s;
|
|
499
489
|
}
|
|
500
|
-
}),
|
|
490
|
+
}), ka(t, e, n);
|
|
501
491
|
}
|
|
502
492
|
r();
|
|
503
493
|
}
|
|
504
|
-
},
|
|
505
|
-
const e = t["s-cr"] =
|
|
494
|
+
}, Ta = (t) => {
|
|
495
|
+
const e = t["s-cr"] = ne.createComment("");
|
|
506
496
|
e["s-cn"] = !0, t.insertBefore(e, t.firstChild);
|
|
507
|
-
},
|
|
508
|
-
|
|
509
|
-
},
|
|
510
|
-
if (!(
|
|
511
|
-
const e =
|
|
512
|
-
e.$rmListeners$ && (e.$rmListeners$.map((n) => n()), e.$rmListeners$ = void 0), e != null && e.$lazyInstance$ ?
|
|
497
|
+
}, vn = (t) => {
|
|
498
|
+
Se(t, "disconnectedCallback");
|
|
499
|
+
}, Sa = async (t) => {
|
|
500
|
+
if (!(z.$flags$ & 1)) {
|
|
501
|
+
const e = Ce(t);
|
|
502
|
+
e.$rmListeners$ && (e.$rmListeners$.map((n) => n()), e.$rmListeners$ = void 0), e != null && e.$lazyInstance$ ? vn(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => vn(e.$lazyInstance$));
|
|
513
503
|
}
|
|
514
|
-
},
|
|
504
|
+
}, Ca = (t, e = {}) => {
|
|
515
505
|
var n;
|
|
516
|
-
const r = Oe(), a = [], i = e.exclude || [], s = et.customElements, l =
|
|
506
|
+
const r = Oe(), a = [], i = e.exclude || [], s = et.customElements, l = ne.head, o = /* @__PURE__ */ l.querySelector("meta[charset]"), u = /* @__PURE__ */ ne.createElement("style"), d = [];
|
|
517
507
|
let f, h = !0;
|
|
518
|
-
Object.assign(
|
|
508
|
+
Object.assign(z, e), z.$resourcesUrl$ = new URL(e.resourcesUrl || "./", ne.baseURI).href;
|
|
519
509
|
let y = !1;
|
|
520
510
|
if (t.map((p) => {
|
|
521
511
|
p[1].map((v) => {
|
|
@@ -527,258 +517,69 @@ const Jn = (t, e, ...n) => {
|
|
|
527
517
|
$listeners$: v[3]
|
|
528
518
|
};
|
|
529
519
|
T.$flags$ & 4 && (y = !0), T.$members$ = v[2], T.$listeners$ = v[3], T.$watchers$ = (b = v[4]) !== null && b !== void 0 ? b : {};
|
|
530
|
-
const L = T.$tagName$,
|
|
520
|
+
const L = T.$tagName$, Q = class extends HTMLElement {
|
|
531
521
|
// StencilLazyHost
|
|
532
522
|
constructor(ie) {
|
|
533
|
-
super(ie), ie = this,
|
|
523
|
+
super(ie), ie = this, Da(ie, T), T.$flags$ & 1 && ie.attachShadow({ mode: "open" });
|
|
534
524
|
}
|
|
535
525
|
connectedCallback() {
|
|
536
|
-
f && (clearTimeout(f), f = null), h ? d.push(this) :
|
|
526
|
+
f && (clearTimeout(f), f = null), h ? d.push(this) : z.jmp(() => Ea(this));
|
|
537
527
|
}
|
|
538
528
|
disconnectedCallback() {
|
|
539
|
-
|
|
529
|
+
z.jmp(() => Sa(this));
|
|
540
530
|
}
|
|
541
531
|
componentOnReady() {
|
|
542
|
-
return
|
|
532
|
+
return Ce(this).$onReadyPromise$;
|
|
543
533
|
}
|
|
544
534
|
};
|
|
545
|
-
T.$flags$ & 64 && (
|
|
546
|
-
|
|
535
|
+
T.$flags$ & 64 && (Q.formAssociated = !0), T.$lazyBundleId$ = p[0], !i.includes(L) && !s.get(L) && (a.push(L), s.define(L, sr(
|
|
536
|
+
Q,
|
|
547
537
|
T,
|
|
548
538
|
1
|
|
549
539
|
/* PROXY_FLAGS.isElementConstructor */
|
|
550
540
|
)));
|
|
551
541
|
});
|
|
552
|
-
}), y && (u.innerHTML +=
|
|
542
|
+
}), y && (u.innerHTML += Bn), u.innerHTML += a + Xr, u.innerHTML.length) {
|
|
553
543
|
u.setAttribute("data-styles", "");
|
|
554
|
-
const p = (n =
|
|
544
|
+
const p = (n = z.$nonce$) !== null && n !== void 0 ? n : qn(ne);
|
|
555
545
|
p != null && u.setAttribute("nonce", p), l.insertBefore(u, o ? o.nextSibling : l.firstChild);
|
|
556
546
|
}
|
|
557
|
-
h = !1, d.length ? d.map((p) => p.connectedCallback()) :
|
|
558
|
-
},
|
|
547
|
+
h = !1, d.length ? d.map((p) => p.connectedCallback()) : z.jmp(() => f = setTimeout(ar, 30)), r();
|
|
548
|
+
}, or = (t, e, n, r) => {
|
|
559
549
|
n && n.map(([a, i, s]) => {
|
|
560
|
-
const l =
|
|
561
|
-
|
|
550
|
+
const l = xa(t, a), o = Oa(e, s), u = _a(a);
|
|
551
|
+
z.ael(l, i, o, u), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => z.rel(l, i, o, u));
|
|
562
552
|
});
|
|
563
|
-
},
|
|
553
|
+
}, Oa = (t, e) => (n) => {
|
|
564
554
|
try {
|
|
565
555
|
t.$flags$ & 256 ? t.$lazyInstance$[e](n) : (t.$queuedListeners$ = t.$queuedListeners$ || []).push([e, n]);
|
|
566
556
|
} catch (r) {
|
|
567
|
-
|
|
557
|
+
Ae(r);
|
|
568
558
|
}
|
|
569
|
-
},
|
|
559
|
+
}, xa = (t, e) => e & 4 ? ne : e & 8 ? et : e & 16 ? ne.body : t, _a = (t) => La ? {
|
|
570
560
|
passive: (t & 1) !== 0,
|
|
571
561
|
capture: (t & 2) !== 0
|
|
572
|
-
} : (t & 2) !== 0,
|
|
562
|
+
} : (t & 2) !== 0, ls = (t) => z.$nonce$ = t, lr = /* @__PURE__ */ new WeakMap(), Ce = (t) => lr.get(t), Da = (t, e) => {
|
|
573
563
|
const n = {
|
|
574
564
|
$flags$: 0,
|
|
575
565
|
$hostElement$: t,
|
|
576
566
|
$cmpMeta$: e,
|
|
577
567
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
578
568
|
};
|
|
579
|
-
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [],
|
|
580
|
-
},
|
|
581
|
-
const r = t.$tagName$.replace(/-/g, "_"), a = t.$lazyBundleId$, i =
|
|
569
|
+
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], or(t, n, e.$listeners$), lr.set(t, n);
|
|
570
|
+
}, gn = (t, e) => e in t, Ae = (t, e) => (0, console.error)(t, e), bn = /* @__PURE__ */ new Map(), Ra = (t, e, n) => {
|
|
571
|
+
const r = t.$tagName$.replace(/-/g, "_"), a = t.$lazyBundleId$, i = bn.get(a);
|
|
582
572
|
if (i)
|
|
583
573
|
return i[r];
|
|
584
|
-
|
|
585
|
-
const s = (l) => (kt.set(a, l), l[r]);
|
|
586
|
-
switch (a) {
|
|
587
|
-
case "document-refresh-icon":
|
|
588
|
-
return import(
|
|
589
|
-
/* webpackMode: "lazy" */
|
|
590
|
-
"./document-refresh-icon.entry-ee9632d7.js"
|
|
591
|
-
).then(s, M);
|
|
592
|
-
case "nylas-additional-participants":
|
|
593
|
-
return import(
|
|
594
|
-
/* webpackMode: "lazy" */
|
|
595
|
-
"./nylas-additional-participants.entry-e8426256.js"
|
|
596
|
-
).then(s, M);
|
|
597
|
-
case "nylas-if-state":
|
|
598
|
-
return import(
|
|
599
|
-
/* webpackMode: "lazy" */
|
|
600
|
-
"./nylas-if-state.entry-98a336df.js"
|
|
601
|
-
).then(s, M);
|
|
602
|
-
case "nylas-list-folders":
|
|
603
|
-
return import(
|
|
604
|
-
/* webpackMode: "lazy" */
|
|
605
|
-
"./nylas-list-folders.entry-55ce3403.js"
|
|
606
|
-
).then(s, M);
|
|
607
|
-
case "nylas-list-threads":
|
|
608
|
-
return import(
|
|
609
|
-
/* webpackMode: "lazy" */
|
|
610
|
-
"./nylas-list-threads.entry-1f57382a.js"
|
|
611
|
-
).then(s, M);
|
|
612
|
-
case "nylas-login":
|
|
613
|
-
return import(
|
|
614
|
-
/* webpackMode: "lazy" */
|
|
615
|
-
"./nylas-login.entry-76358c2f.js"
|
|
616
|
-
).then(s, M);
|
|
617
|
-
case "nylas-mailbox":
|
|
618
|
-
return import(
|
|
619
|
-
/* webpackMode: "lazy" */
|
|
620
|
-
"./nylas-mailbox.entry-97c503f2.js"
|
|
621
|
-
).then(s, M);
|
|
622
|
-
case "nylas-mailbox-pagination":
|
|
623
|
-
return import(
|
|
624
|
-
/* webpackMode: "lazy" */
|
|
625
|
-
"./nylas-mailbox-pagination.entry-5562257a.js"
|
|
626
|
-
).then(s, M);
|
|
627
|
-
case "nylas-mailbox-toolbar-button":
|
|
628
|
-
return import(
|
|
629
|
-
/* webpackMode: "lazy" */
|
|
630
|
-
"./nylas-mailbox-toolbar-button.entry-6b1b5b15.js"
|
|
631
|
-
).then(s, M);
|
|
632
|
-
case "nylas-provider":
|
|
633
|
-
return import(
|
|
634
|
-
/* webpackMode: "lazy" */
|
|
635
|
-
"./nylas-provider.entry-07e1e26a.js"
|
|
636
|
-
).then(s, M);
|
|
637
|
-
case "nylas-scheduler-editor":
|
|
638
|
-
return import(
|
|
639
|
-
/* webpackMode: "lazy" */
|
|
640
|
-
"./nylas-scheduler-editor.entry-e326c9de.js"
|
|
641
|
-
).then(s, M);
|
|
642
|
-
case "nylas-scheduling":
|
|
643
|
-
return import(
|
|
644
|
-
/* webpackMode: "lazy" */
|
|
645
|
-
"./nylas-scheduling.entry-be0cc090.js"
|
|
646
|
-
).then(s, M);
|
|
647
|
-
case "nylas-threads-refresh":
|
|
648
|
-
return import(
|
|
649
|
-
/* webpackMode: "lazy" */
|
|
650
|
-
"./nylas-threads-refresh.entry-8201f8dd.js"
|
|
651
|
-
).then(s, M);
|
|
652
|
-
case "nylas-threads-search":
|
|
653
|
-
return import(
|
|
654
|
-
/* webpackMode: "lazy" */
|
|
655
|
-
"./nylas-threads-search.entry-fc477e01.js"
|
|
656
|
-
).then(s, M);
|
|
657
|
-
case "nylas-view-thread":
|
|
658
|
-
return import(
|
|
659
|
-
/* webpackMode: "lazy" */
|
|
660
|
-
"./nylas-view-thread.entry-d2953ea8.js"
|
|
661
|
-
).then(s, M);
|
|
662
|
-
case "people-icon":
|
|
663
|
-
return import(
|
|
664
|
-
/* webpackMode: "lazy" */
|
|
665
|
-
"./people-icon.entry-4b598fde.js"
|
|
666
|
-
).then(s, M);
|
|
667
|
-
case "archive-icon_7":
|
|
668
|
-
return import(
|
|
669
|
-
/* webpackMode: "lazy" */
|
|
670
|
-
"./archive-icon_7.entry-24bac466.js"
|
|
671
|
-
).then(s, M);
|
|
672
|
-
case "arrow-icon":
|
|
673
|
-
return import(
|
|
674
|
-
/* webpackMode: "lazy" */
|
|
675
|
-
"./arrow-icon.entry-82e59ce4.js"
|
|
676
|
-
).then(s, M);
|
|
677
|
-
case "forward-icon_6":
|
|
678
|
-
return import(
|
|
679
|
-
/* webpackMode: "lazy" */
|
|
680
|
-
"./forward-icon_6.entry-f054ad9d.js"
|
|
681
|
-
).then(s, M);
|
|
682
|
-
case "google-logo-icon_4":
|
|
683
|
-
return import(
|
|
684
|
-
/* webpackMode: "lazy" */
|
|
685
|
-
"./google-logo-icon_4.entry-dca87e45.js"
|
|
686
|
-
).then(s, M);
|
|
687
|
-
case "nylas-booked-event-card_10":
|
|
688
|
-
return import(
|
|
689
|
-
/* webpackMode: "lazy" */
|
|
690
|
-
"./nylas-booked-event-card_10.entry-ef767733.js"
|
|
691
|
-
).then(s, M);
|
|
692
|
-
case "bold-icon_3":
|
|
693
|
-
return import(
|
|
694
|
-
/* webpackMode: "lazy" */
|
|
695
|
-
"./bold-icon_3.entry-72e585da.js"
|
|
696
|
-
).then(s, M);
|
|
697
|
-
case "calendar-check-icon_2":
|
|
698
|
-
return import(
|
|
699
|
-
/* webpackMode: "lazy" */
|
|
700
|
-
"./calendar-check-icon_2.entry-dbb2df49.js"
|
|
701
|
-
).then(s, M);
|
|
702
|
-
case "add-circle-icon_22":
|
|
703
|
-
return import(
|
|
704
|
-
/* webpackMode: "lazy" */
|
|
705
|
-
"./add-circle-icon_22.entry-9f634efd.js"
|
|
706
|
-
).then(s, M);
|
|
707
|
-
case "play-icon_2":
|
|
708
|
-
return import(
|
|
709
|
-
/* webpackMode: "lazy" */
|
|
710
|
-
"./play-icon_2.entry-d1c2f823.js"
|
|
711
|
-
).then(s, M);
|
|
712
|
-
case "refresh-icon":
|
|
713
|
-
return import(
|
|
714
|
-
/* webpackMode: "lazy" */
|
|
715
|
-
"./refresh-icon.entry-6aedfce6.js"
|
|
716
|
-
).then(s, M);
|
|
717
|
-
case "translate-icon":
|
|
718
|
-
return import(
|
|
719
|
-
/* webpackMode: "lazy" */
|
|
720
|
-
"./translate-icon.entry-3db947f5.js"
|
|
721
|
-
).then(s, M);
|
|
722
|
-
case "warning-icon":
|
|
723
|
-
return import(
|
|
724
|
-
/* webpackMode: "lazy" */
|
|
725
|
-
"./warning-icon.entry-a8ea0fe0.js"
|
|
726
|
-
).then(s, M);
|
|
727
|
-
case "calendar-cancel-icon":
|
|
728
|
-
return import(
|
|
729
|
-
/* webpackMode: "lazy" */
|
|
730
|
-
"./calendar-cancel-icon.entry-247b530c.js"
|
|
731
|
-
).then(s, M);
|
|
732
|
-
case "calendar-icon":
|
|
733
|
-
return import(
|
|
734
|
-
/* webpackMode: "lazy" */
|
|
735
|
-
"./calendar-icon.entry-d64cb3d3.js"
|
|
736
|
-
).then(s, M);
|
|
737
|
-
case "time-period-selector":
|
|
738
|
-
return import(
|
|
739
|
-
/* webpackMode: "lazy" */
|
|
740
|
-
"./time-period-selector.entry-f1e27a00.js"
|
|
741
|
-
).then(s, M);
|
|
742
|
-
case "nylas-form-card":
|
|
743
|
-
return import(
|
|
744
|
-
/* webpackMode: "lazy" */
|
|
745
|
-
"./nylas-form-card.entry-d8506b1f.js"
|
|
746
|
-
).then(s, M);
|
|
747
|
-
case "loading-icon":
|
|
748
|
-
return import(
|
|
749
|
-
/* webpackMode: "lazy" */
|
|
750
|
-
"./loading-icon.entry-ae4c2d7e.js"
|
|
751
|
-
).then(s, M);
|
|
752
|
-
case "globe-icon":
|
|
753
|
-
return import(
|
|
754
|
-
/* webpackMode: "lazy" */
|
|
755
|
-
"./globe-icon.entry-2fde6ac4.js"
|
|
756
|
-
).then(s, M);
|
|
757
|
-
case "close-icon":
|
|
758
|
-
return import(
|
|
759
|
-
/* webpackMode: "lazy" */
|
|
760
|
-
"./close-icon.entry-9d141bb4.js"
|
|
761
|
-
).then(s, M);
|
|
762
|
-
case "info-icon_2":
|
|
763
|
-
return import(
|
|
764
|
-
/* webpackMode: "lazy" */
|
|
765
|
-
"./info-icon_2.entry-dbf3931a.js"
|
|
766
|
-
).then(s, M);
|
|
767
|
-
case "chevron-icon_3":
|
|
768
|
-
return import(
|
|
769
|
-
/* webpackMode: "lazy" */
|
|
770
|
-
"./chevron-icon_3.entry-db9f8217.js"
|
|
771
|
-
).then(s, M);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
574
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
774
575
|
return import(
|
|
775
576
|
/* @vite-ignore */
|
|
776
577
|
/* webpackInclude: /\.entry\.js$/ */
|
|
777
578
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
778
579
|
/* webpackMode: "lazy" */
|
|
779
580
|
`./${a}.entry.js`
|
|
780
|
-
).then((s) => (
|
|
781
|
-
}, lt = /* @__PURE__ */ new Map(), et = typeof window < "u" ? window : {},
|
|
581
|
+
).then((s) => (bn.set(a, s), s[r]), Ae);
|
|
582
|
+
}, lt = /* @__PURE__ */ new Map(), et = typeof window < "u" ? window : {}, ne = et.document || { head: {} }, z = {
|
|
782
583
|
$flags$: 0,
|
|
783
584
|
$resourcesUrl$: "",
|
|
784
585
|
jmp: (t) => t(),
|
|
@@ -786,10 +587,10 @@ const Jn = (t, e, ...n) => {
|
|
|
786
587
|
ael: (t, e, n, r) => t.addEventListener(e, n, r),
|
|
787
588
|
rel: (t, e, n, r) => t.removeEventListener(e, n, r),
|
|
788
589
|
ce: (t, e) => new CustomEvent(t, e)
|
|
789
|
-
},
|
|
590
|
+
}, La = /* @__PURE__ */ (() => {
|
|
790
591
|
let t = !1;
|
|
791
592
|
try {
|
|
792
|
-
|
|
593
|
+
ne.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
793
594
|
get() {
|
|
794
595
|
t = !0;
|
|
795
596
|
}
|
|
@@ -797,57 +598,57 @@ const Jn = (t, e, ...n) => {
|
|
|
797
598
|
} catch {
|
|
798
599
|
}
|
|
799
600
|
return t;
|
|
800
|
-
})(),
|
|
601
|
+
})(), Ma = (t) => Promise.resolve(t), Aa = /* @__PURE__ */ (() => {
|
|
801
602
|
try {
|
|
802
603
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
803
604
|
} catch {
|
|
804
605
|
}
|
|
805
606
|
return !1;
|
|
806
|
-
})(),
|
|
807
|
-
t.push(n),
|
|
808
|
-
},
|
|
607
|
+
})(), $n = [], cr = [], Ia = (t, e) => (n) => {
|
|
608
|
+
t.push(n), _t || (_t = !0, e && z.$flags$ & 4 ? Wt(Rt) : z.raf(Rt));
|
|
609
|
+
}, wn = (t) => {
|
|
809
610
|
for (let e = 0; e < t.length; e++)
|
|
810
611
|
try {
|
|
811
612
|
t[e](performance.now());
|
|
812
613
|
} catch (n) {
|
|
813
|
-
|
|
614
|
+
Ae(n);
|
|
814
615
|
}
|
|
815
616
|
t.length = 0;
|
|
816
617
|
}, Rt = () => {
|
|
817
|
-
|
|
818
|
-
},
|
|
618
|
+
wn($n), wn(cr), (_t = $n.length > 0) && z.raf(Rt);
|
|
619
|
+
}, Wt = (t) => Ma().then(t), Na = /* @__PURE__ */ Ia(cr, !0), Ua = (t, e, n) => {
|
|
819
620
|
const r = t.get(e);
|
|
820
621
|
r ? r.includes(n) || r.push(n) : t.set(e, [n]);
|
|
821
|
-
},
|
|
622
|
+
}, Pa = (t, e) => {
|
|
822
623
|
let n;
|
|
823
624
|
return (...r) => {
|
|
824
625
|
n && clearTimeout(n), n = setTimeout(() => {
|
|
825
626
|
n = 0, t(...r);
|
|
826
627
|
}, e);
|
|
827
628
|
};
|
|
828
|
-
},
|
|
629
|
+
}, Ya = (t) => !("isConnected" in t) || t.isConnected, kn = Pa((t) => {
|
|
829
630
|
for (let e of t.keys())
|
|
830
|
-
t.set(e, t.get(e).filter(
|
|
831
|
-
}, 2e3),
|
|
832
|
-
if (typeof
|
|
631
|
+
t.set(e, t.get(e).filter(Ya));
|
|
632
|
+
}, 2e3), Ha = () => {
|
|
633
|
+
if (typeof pn != "function")
|
|
833
634
|
return {};
|
|
834
635
|
const t = /* @__PURE__ */ new Map();
|
|
835
636
|
return {
|
|
836
637
|
dispose: () => t.clear(),
|
|
837
638
|
get: (e) => {
|
|
838
|
-
const n =
|
|
839
|
-
n &&
|
|
639
|
+
const n = pn();
|
|
640
|
+
n && Ua(t, e, n);
|
|
840
641
|
},
|
|
841
642
|
set: (e) => {
|
|
842
643
|
const n = t.get(e);
|
|
843
|
-
n && t.set(e, n.filter(
|
|
644
|
+
n && t.set(e, n.filter(mn)), kn(t);
|
|
844
645
|
},
|
|
845
646
|
reset: () => {
|
|
846
|
-
t.forEach((e) => e.forEach(
|
|
647
|
+
t.forEach((e) => e.forEach(mn)), kn(t);
|
|
847
648
|
}
|
|
848
649
|
};
|
|
849
|
-
},
|
|
850
|
-
const n =
|
|
650
|
+
}, Et = (t) => typeof t == "function" ? t() : t, ja = (t, e = (n, r) => n !== r) => {
|
|
651
|
+
const n = Et(t);
|
|
851
652
|
let r = new Map(Object.entries(n ?? {}));
|
|
852
653
|
const a = {
|
|
853
654
|
dispose: [],
|
|
@@ -856,7 +657,7 @@ const Jn = (t, e, ...n) => {
|
|
|
856
657
|
reset: []
|
|
857
658
|
}, i = () => {
|
|
858
659
|
var p;
|
|
859
|
-
r = new Map(Object.entries((p =
|
|
660
|
+
r = new Map(Object.entries((p = Et(t)) !== null && p !== void 0 ? p : {})), a.reset.forEach((v) => v());
|
|
860
661
|
}, s = () => {
|
|
861
662
|
a.dispose.forEach((p) => p()), i();
|
|
862
663
|
}, l = (p) => (a.get.forEach((v) => v(p)), r.get(p)), o = (p, v) => {
|
|
@@ -882,7 +683,7 @@ const Jn = (t, e, ...n) => {
|
|
|
882
683
|
return o(v, b), !0;
|
|
883
684
|
}
|
|
884
685
|
}), d = (p, v) => (a[p].push(v), () => {
|
|
885
|
-
|
|
686
|
+
Wa(a[p], v);
|
|
886
687
|
});
|
|
887
688
|
return {
|
|
888
689
|
state: u,
|
|
@@ -890,9 +691,9 @@ const Jn = (t, e, ...n) => {
|
|
|
890
691
|
set: o,
|
|
891
692
|
on: d,
|
|
892
693
|
onChange: (p, v) => {
|
|
893
|
-
const b = d("set", (L,
|
|
894
|
-
L === p && v(
|
|
895
|
-
}), T = d("reset", () => v(
|
|
694
|
+
const b = d("set", (L, Q) => {
|
|
695
|
+
L === p && v(Q);
|
|
696
|
+
}), T = d("reset", () => v(Et(t)[p]));
|
|
896
697
|
return () => {
|
|
897
698
|
b(), T();
|
|
898
699
|
};
|
|
@@ -908,46 +709,31 @@ const Jn = (t, e, ...n) => {
|
|
|
908
709
|
a.set.forEach((b) => b(p, v, v));
|
|
909
710
|
}
|
|
910
711
|
};
|
|
911
|
-
},
|
|
712
|
+
}, Wa = (t, e) => {
|
|
912
713
|
const n = t.indexOf(e);
|
|
913
714
|
n >= 0 && (t[n] = t[t.length - 1], t.length--);
|
|
914
|
-
},
|
|
915
|
-
const n =
|
|
916
|
-
return n.use(
|
|
715
|
+
}, Fa = (t, e) => {
|
|
716
|
+
const n = ja(t, e);
|
|
717
|
+
return n.use(Ha()), n;
|
|
917
718
|
};
|
|
918
|
-
var
|
|
919
|
-
function mi(t) {
|
|
920
|
-
if (t.__esModule)
|
|
921
|
-
return t;
|
|
922
|
-
var e = Object.defineProperty({}, "__esModule", { value: !0 });
|
|
923
|
-
return Object.keys(t).forEach(function(n) {
|
|
924
|
-
var r = Object.getOwnPropertyDescriptor(t, n);
|
|
925
|
-
Object.defineProperty(e, n, r.get ? r : {
|
|
926
|
-
enumerable: !0,
|
|
927
|
-
get: function() {
|
|
928
|
-
return t[n];
|
|
929
|
-
}
|
|
930
|
-
});
|
|
931
|
-
}), e;
|
|
932
|
-
}
|
|
933
|
-
var hr = { exports: {} };
|
|
719
|
+
var za = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ba = { exports: {} };
|
|
934
720
|
(function(t, e) {
|
|
935
721
|
(function(n, r) {
|
|
936
722
|
t.exports = r();
|
|
937
|
-
})(
|
|
723
|
+
})(za, function() {
|
|
938
724
|
var n = 1e3, r = 6e4, a = 36e5, i = "millisecond", s = "second", l = "minute", o = "hour", u = "day", d = "week", f = "month", h = "quarter", y = "year", p = "date", v = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, L = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
|
|
939
|
-
var
|
|
940
|
-
return "[" + C + (
|
|
941
|
-
} },
|
|
725
|
+
var E = ["th", "st", "nd", "rd"], w = C % 100;
|
|
726
|
+
return "[" + C + (E[(w - 20) % 10] || E[w] || E[0]) + "]";
|
|
727
|
+
} }, Q = function(C, E, w) {
|
|
942
728
|
var _ = String(C);
|
|
943
|
-
return !_ || _.length >=
|
|
944
|
-
}, ie = { s:
|
|
945
|
-
var
|
|
946
|
-
return (
|
|
947
|
-
}, m: function C(
|
|
948
|
-
if (
|
|
949
|
-
return -C(w,
|
|
950
|
-
var _ = 12 * (w.year() -
|
|
729
|
+
return !_ || _.length >= E ? C : "" + Array(E + 1 - _.length).join(w) + C;
|
|
730
|
+
}, ie = { s: Q, z: function(C) {
|
|
731
|
+
var E = -C.utcOffset(), w = Math.abs(E), _ = Math.floor(w / 60), S = w % 60;
|
|
732
|
+
return (E <= 0 ? "+" : "-") + Q(_, 2, "0") + ":" + Q(S, 2, "0");
|
|
733
|
+
}, m: function C(E, w) {
|
|
734
|
+
if (E.date() < w.date())
|
|
735
|
+
return -C(w, E);
|
|
736
|
+
var _ = 12 * (w.year() - E.year()) + (w.month() - E.month()), S = E.clone().add(_, f), R = w - S < 0, D = E.clone().add(_ + (R ? -1 : 1), f);
|
|
951
737
|
return +(-(_ + (w - S) / (R ? S - D : D - S)) || 0);
|
|
952
738
|
}, a: function(C) {
|
|
953
739
|
return C < 0 ? Math.ceil(C) || 0 : Math.floor(C);
|
|
@@ -955,190 +741,189 @@ var hr = { exports: {} };
|
|
|
955
741
|
return { M: f, y, w: d, d: u, D: p, h: o, m: l, s, ms: i, Q: h }[C] || String(C || "").toLowerCase().replace(/s$/, "");
|
|
956
742
|
}, u: function(C) {
|
|
957
743
|
return C === void 0;
|
|
958
|
-
} },
|
|
959
|
-
|
|
744
|
+
} }, fe = "en", V = {};
|
|
745
|
+
V[fe] = L;
|
|
960
746
|
var Re = function(C) {
|
|
961
747
|
return C instanceof Ne;
|
|
962
|
-
},
|
|
748
|
+
}, Ie = function C(E, w, _) {
|
|
963
749
|
var S;
|
|
964
|
-
if (!
|
|
965
|
-
return
|
|
966
|
-
if (typeof
|
|
967
|
-
var R =
|
|
968
|
-
|
|
969
|
-
var D =
|
|
750
|
+
if (!E)
|
|
751
|
+
return fe;
|
|
752
|
+
if (typeof E == "string") {
|
|
753
|
+
var R = E.toLowerCase();
|
|
754
|
+
V[R] && (S = R), w && (V[R] = w, S = R);
|
|
755
|
+
var D = E.split("-");
|
|
970
756
|
if (!S && D.length > 1)
|
|
971
757
|
return C(D[0]);
|
|
972
758
|
} else {
|
|
973
|
-
var
|
|
974
|
-
|
|
759
|
+
var U = E.name;
|
|
760
|
+
V[U] = E, S = U;
|
|
975
761
|
}
|
|
976
|
-
return !_ && S && (
|
|
977
|
-
},
|
|
762
|
+
return !_ && S && (fe = S), S || !_ && fe;
|
|
763
|
+
}, B = function(C, E) {
|
|
978
764
|
if (Re(C))
|
|
979
765
|
return C.clone();
|
|
980
|
-
var w = typeof
|
|
766
|
+
var w = typeof E == "object" ? E : {};
|
|
981
767
|
return w.date = C, w.args = arguments, new Ne(w);
|
|
982
|
-
},
|
|
983
|
-
|
|
984
|
-
return
|
|
768
|
+
}, Y = ie;
|
|
769
|
+
Y.l = Ie, Y.i = Re, Y.w = function(C, E) {
|
|
770
|
+
return B(C, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
985
771
|
};
|
|
986
772
|
var Ne = function() {
|
|
987
773
|
function C(w) {
|
|
988
|
-
this.$L =
|
|
774
|
+
this.$L = Ie(w.locale, null, !0), this.parse(w);
|
|
989
775
|
}
|
|
990
|
-
var
|
|
991
|
-
return
|
|
776
|
+
var E = C.prototype;
|
|
777
|
+
return E.parse = function(w) {
|
|
992
778
|
this.$d = function(_) {
|
|
993
779
|
var S = _.date, R = _.utc;
|
|
994
780
|
if (S === null)
|
|
995
781
|
return /* @__PURE__ */ new Date(NaN);
|
|
996
|
-
if (
|
|
782
|
+
if (Y.u(S))
|
|
997
783
|
return /* @__PURE__ */ new Date();
|
|
998
784
|
if (S instanceof Date)
|
|
999
785
|
return new Date(S);
|
|
1000
786
|
if (typeof S == "string" && !/Z$/i.test(S)) {
|
|
1001
787
|
var D = S.match(b);
|
|
1002
788
|
if (D) {
|
|
1003
|
-
var
|
|
1004
|
-
return R ? new Date(Date.UTC(D[1],
|
|
789
|
+
var U = D[2] - 1 || 0, F = (D[7] || "0").substring(0, 3);
|
|
790
|
+
return R ? new Date(Date.UTC(D[1], U, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, F)) : new Date(D[1], U, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, F);
|
|
1005
791
|
}
|
|
1006
792
|
}
|
|
1007
793
|
return new Date(S);
|
|
1008
794
|
}(w), this.$x = w.x || {}, this.init();
|
|
1009
|
-
},
|
|
795
|
+
}, E.init = function() {
|
|
1010
796
|
var w = this.$d;
|
|
1011
797
|
this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds();
|
|
1012
|
-
},
|
|
1013
|
-
return
|
|
1014
|
-
},
|
|
798
|
+
}, E.$utils = function() {
|
|
799
|
+
return Y;
|
|
800
|
+
}, E.isValid = function() {
|
|
1015
801
|
return this.$d.toString() !== v;
|
|
1016
|
-
},
|
|
1017
|
-
var S =
|
|
802
|
+
}, E.isSame = function(w, _) {
|
|
803
|
+
var S = B(w);
|
|
1018
804
|
return this.startOf(_) <= S && S <= this.endOf(_);
|
|
1019
|
-
},
|
|
1020
|
-
return
|
|
1021
|
-
},
|
|
1022
|
-
return this.endOf(_) <
|
|
1023
|
-
},
|
|
1024
|
-
return
|
|
1025
|
-
},
|
|
805
|
+
}, E.isAfter = function(w, _) {
|
|
806
|
+
return B(w) < this.startOf(_);
|
|
807
|
+
}, E.isBefore = function(w, _) {
|
|
808
|
+
return this.endOf(_) < B(w);
|
|
809
|
+
}, E.$g = function(w, _, S) {
|
|
810
|
+
return Y.u(w) ? this[_] : this.set(S, w);
|
|
811
|
+
}, E.unix = function() {
|
|
1026
812
|
return Math.floor(this.valueOf() / 1e3);
|
|
1027
|
-
},
|
|
813
|
+
}, E.valueOf = function() {
|
|
1028
814
|
return this.$d.getTime();
|
|
1029
|
-
},
|
|
1030
|
-
var S = this, R = !!
|
|
1031
|
-
var
|
|
1032
|
-
return R ?
|
|
1033
|
-
},
|
|
1034
|
-
return
|
|
1035
|
-
}, W = this.$W,
|
|
815
|
+
}, E.startOf = function(w, _) {
|
|
816
|
+
var S = this, R = !!Y.u(_) || _, D = Y.p(w), U = function(ye, J) {
|
|
817
|
+
var se = Y.w(S.$u ? Date.UTC(S.$y, J, ye) : new Date(S.$y, J, ye), S);
|
|
818
|
+
return R ? se : se.endOf(u);
|
|
819
|
+
}, F = function(ye, J) {
|
|
820
|
+
return Y.w(S.toDate()[ye].apply(S.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(J)), S);
|
|
821
|
+
}, W = this.$W, Z = this.$M, me = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
|
1036
822
|
switch (D) {
|
|
1037
823
|
case y:
|
|
1038
|
-
return R ?
|
|
824
|
+
return R ? U(1, 0) : U(31, 11);
|
|
1039
825
|
case f:
|
|
1040
|
-
return R ?
|
|
826
|
+
return R ? U(1, Z) : U(0, Z + 1);
|
|
1041
827
|
case d:
|
|
1042
|
-
var
|
|
1043
|
-
return
|
|
828
|
+
var $e = this.$locale().weekStart || 0, we = (W < $e ? W + 7 : W) - $e;
|
|
829
|
+
return U(R ? me - we : me + (6 - we), Z);
|
|
1044
830
|
case u:
|
|
1045
831
|
case p:
|
|
1046
|
-
return
|
|
832
|
+
return F(he + "Hours", 0);
|
|
1047
833
|
case o:
|
|
1048
|
-
return
|
|
834
|
+
return F(he + "Minutes", 1);
|
|
1049
835
|
case l:
|
|
1050
|
-
return
|
|
836
|
+
return F(he + "Seconds", 2);
|
|
1051
837
|
case s:
|
|
1052
|
-
return
|
|
838
|
+
return F(he + "Milliseconds", 3);
|
|
1053
839
|
default:
|
|
1054
840
|
return this.clone();
|
|
1055
841
|
}
|
|
1056
|
-
},
|
|
842
|
+
}, E.endOf = function(w) {
|
|
1057
843
|
return this.startOf(w, !1);
|
|
1058
|
-
},
|
|
1059
|
-
var S, R =
|
|
844
|
+
}, E.$set = function(w, _) {
|
|
845
|
+
var S, R = Y.p(w), D = "set" + (this.$u ? "UTC" : ""), U = (S = {}, S[u] = D + "Date", S[p] = D + "Date", S[f] = D + "Month", S[y] = D + "FullYear", S[o] = D + "Hours", S[l] = D + "Minutes", S[s] = D + "Seconds", S[i] = D + "Milliseconds", S)[R], F = R === u ? this.$D + (_ - this.$W) : _;
|
|
1060
846
|
if (R === f || R === y) {
|
|
1061
847
|
var W = this.clone().set(p, 1);
|
|
1062
|
-
W.$d[
|
|
848
|
+
W.$d[U](F), W.init(), this.$d = W.set(p, Math.min(this.$D, W.daysInMonth())).$d;
|
|
1063
849
|
} else
|
|
1064
|
-
|
|
850
|
+
U && this.$d[U](F);
|
|
1065
851
|
return this.init(), this;
|
|
1066
|
-
},
|
|
852
|
+
}, E.set = function(w, _) {
|
|
1067
853
|
return this.clone().$set(w, _);
|
|
1068
|
-
},
|
|
1069
|
-
return this[
|
|
1070
|
-
},
|
|
854
|
+
}, E.get = function(w) {
|
|
855
|
+
return this[Y.p(w)]();
|
|
856
|
+
}, E.add = function(w, _) {
|
|
1071
857
|
var S, R = this;
|
|
1072
858
|
w = Number(w);
|
|
1073
|
-
var D =
|
|
1074
|
-
var
|
|
1075
|
-
return
|
|
859
|
+
var D = Y.p(_), U = function(Z) {
|
|
860
|
+
var me = B(R);
|
|
861
|
+
return Y.w(me.date(me.date() + Math.round(Z * w)), R);
|
|
1076
862
|
};
|
|
1077
863
|
if (D === f)
|
|
1078
864
|
return this.set(f, this.$M + w);
|
|
1079
865
|
if (D === y)
|
|
1080
866
|
return this.set(y, this.$y + w);
|
|
1081
867
|
if (D === u)
|
|
1082
|
-
return
|
|
868
|
+
return U(1);
|
|
1083
869
|
if (D === d)
|
|
1084
|
-
return
|
|
1085
|
-
var
|
|
1086
|
-
return
|
|
1087
|
-
},
|
|
870
|
+
return U(7);
|
|
871
|
+
var F = (S = {}, S[l] = r, S[o] = a, S[s] = n, S)[D] || 1, W = this.$d.getTime() + w * F;
|
|
872
|
+
return Y.w(W, this);
|
|
873
|
+
}, E.subtract = function(w, _) {
|
|
1088
874
|
return this.add(-1 * w, _);
|
|
1089
|
-
},
|
|
875
|
+
}, E.format = function(w) {
|
|
1090
876
|
var _ = this, S = this.$locale();
|
|
1091
877
|
if (!this.isValid())
|
|
1092
878
|
return S.invalidDate || v;
|
|
1093
|
-
var R = w || "YYYY-MM-DDTHH:mm:ssZ", D =
|
|
1094
|
-
return
|
|
1095
|
-
},
|
|
1096
|
-
return
|
|
1097
|
-
},
|
|
1098
|
-
var Le =
|
|
879
|
+
var R = w || "YYYY-MM-DDTHH:mm:ssZ", D = Y.z(this), U = this.$H, F = this.$m, W = this.$M, Z = S.weekdays, me = S.months, he = function(J, se, qe, Le) {
|
|
880
|
+
return J && (J[se] || J(_, R)) || qe[se].slice(0, Le);
|
|
881
|
+
}, $e = function(J) {
|
|
882
|
+
return Y.s(U % 12 || 12, J, "0");
|
|
883
|
+
}, we = S.meridiem || function(J, se, qe) {
|
|
884
|
+
var Le = J < 12 ? "AM" : "PM";
|
|
1099
885
|
return qe ? Le.toLowerCase() : Le;
|
|
1100
|
-
},
|
|
1101
|
-
return R.replace(T, function(
|
|
1102
|
-
return
|
|
886
|
+
}, ye = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: W + 1, MM: Y.s(W + 1, 2, "0"), MMM: he(S.monthsShort, W, me, 3), MMMM: he(me, W), D: this.$D, DD: Y.s(this.$D, 2, "0"), d: String(this.$W), dd: he(S.weekdaysMin, this.$W, Z, 2), ddd: he(S.weekdaysShort, this.$W, Z, 3), dddd: Z[this.$W], H: String(U), HH: Y.s(U, 2, "0"), h: $e(1), hh: $e(2), a: we(U, F, !0), A: we(U, F, !1), m: String(F), mm: Y.s(F, 2, "0"), s: String(this.$s), ss: Y.s(this.$s, 2, "0"), SSS: Y.s(this.$ms, 3, "0"), Z: D };
|
|
887
|
+
return R.replace(T, function(J, se) {
|
|
888
|
+
return se || ye[J] || D.replace(":", "");
|
|
1103
889
|
});
|
|
1104
|
-
},
|
|
890
|
+
}, E.utcOffset = function() {
|
|
1105
891
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1106
|
-
},
|
|
1107
|
-
var R, D =
|
|
1108
|
-
return
|
|
1109
|
-
},
|
|
892
|
+
}, E.diff = function(w, _, S) {
|
|
893
|
+
var R, D = Y.p(_), U = B(w), F = (U.utcOffset() - this.utcOffset()) * r, W = this - U, Z = Y.m(this, U);
|
|
894
|
+
return Z = (R = {}, R[y] = Z / 12, R[f] = Z, R[h] = Z / 3, R[d] = (W - F) / 6048e5, R[u] = (W - F) / 864e5, R[o] = W / a, R[l] = W / r, R[s] = W / n, R)[D] || W, S ? Z : Y.a(Z);
|
|
895
|
+
}, E.daysInMonth = function() {
|
|
1110
896
|
return this.endOf(f).$D;
|
|
1111
|
-
},
|
|
1112
|
-
return
|
|
1113
|
-
},
|
|
897
|
+
}, E.$locale = function() {
|
|
898
|
+
return V[this.$L];
|
|
899
|
+
}, E.locale = function(w, _) {
|
|
1114
900
|
if (!w)
|
|
1115
901
|
return this.$L;
|
|
1116
|
-
var S = this.clone(), R =
|
|
902
|
+
var S = this.clone(), R = Ie(w, _, !0);
|
|
1117
903
|
return R && (S.$L = R), S;
|
|
1118
|
-
},
|
|
1119
|
-
return
|
|
1120
|
-
},
|
|
904
|
+
}, E.clone = function() {
|
|
905
|
+
return Y.w(this.$d, this);
|
|
906
|
+
}, E.toDate = function() {
|
|
1121
907
|
return new Date(this.valueOf());
|
|
1122
|
-
},
|
|
908
|
+
}, E.toJSON = function() {
|
|
1123
909
|
return this.isValid() ? this.toISOString() : null;
|
|
1124
|
-
},
|
|
910
|
+
}, E.toISOString = function() {
|
|
1125
911
|
return this.$d.toISOString();
|
|
1126
|
-
},
|
|
912
|
+
}, E.toString = function() {
|
|
1127
913
|
return this.$d.toUTCString();
|
|
1128
914
|
}, C;
|
|
1129
915
|
}(), Be = Ne.prototype;
|
|
1130
|
-
return
|
|
1131
|
-
Be[C[1]] = function(
|
|
1132
|
-
return this.$g(
|
|
916
|
+
return B.prototype = Be, [["$ms", i], ["$s", s], ["$m", l], ["$H", o], ["$W", u], ["$M", f], ["$y", y], ["$D", p]].forEach(function(C) {
|
|
917
|
+
Be[C[1]] = function(E) {
|
|
918
|
+
return this.$g(E, C[0], C[1]);
|
|
1133
919
|
};
|
|
1134
|
-
}),
|
|
1135
|
-
return C.$i || (C(
|
|
1136
|
-
},
|
|
1137
|
-
return
|
|
1138
|
-
},
|
|
920
|
+
}), B.extend = function(C, E) {
|
|
921
|
+
return C.$i || (C(E, Ne, B), C.$i = !0), B;
|
|
922
|
+
}, B.locale = Ie, B.isDayjs = Re, B.unix = function(C) {
|
|
923
|
+
return B(1e3 * C);
|
|
924
|
+
}, B.en = V[fe], B.Ls = V, B.p = {}, B;
|
|
1139
925
|
});
|
|
1140
|
-
})(
|
|
1141
|
-
const yr = hr.exports;
|
|
926
|
+
})(Ba);
|
|
1142
927
|
var Lt = [
|
|
1143
928
|
"MO",
|
|
1144
929
|
"TU",
|
|
@@ -1147,7 +932,7 @@ var Lt = [
|
|
|
1147
932
|
"FR",
|
|
1148
933
|
"SA",
|
|
1149
934
|
"SU"
|
|
1150
|
-
],
|
|
935
|
+
], ae = (
|
|
1151
936
|
/** @class */
|
|
1152
937
|
function() {
|
|
1153
938
|
function t(e, n) {
|
|
@@ -1168,79 +953,79 @@ var Lt = [
|
|
|
1168
953
|
return this.weekday === 6 ? 0 : this.weekday + 1;
|
|
1169
954
|
}, t;
|
|
1170
955
|
}()
|
|
1171
|
-
),
|
|
956
|
+
), G = function(t) {
|
|
1172
957
|
return t != null;
|
|
1173
|
-
},
|
|
958
|
+
}, ve = function(t) {
|
|
1174
959
|
return typeof t == "number";
|
|
1175
|
-
},
|
|
960
|
+
}, En = function(t) {
|
|
1176
961
|
return typeof t == "string" && Lt.includes(t);
|
|
1177
|
-
},
|
|
962
|
+
}, le = Array.isArray, be = function(t, e) {
|
|
1178
963
|
e === void 0 && (e = t), arguments.length === 1 && (e = t, t = 0);
|
|
1179
964
|
for (var n = [], r = t; r < e; r++)
|
|
1180
965
|
n.push(r);
|
|
1181
966
|
return n;
|
|
1182
|
-
},
|
|
967
|
+
}, I = function(t, e) {
|
|
1183
968
|
var n = 0, r = [];
|
|
1184
|
-
if (
|
|
969
|
+
if (le(t))
|
|
1185
970
|
for (; n < e; n++)
|
|
1186
971
|
r[n] = [].concat(t);
|
|
1187
972
|
else
|
|
1188
973
|
for (; n < e; n++)
|
|
1189
974
|
r[n] = t;
|
|
1190
975
|
return r;
|
|
1191
|
-
},
|
|
1192
|
-
return
|
|
976
|
+
}, qa = function(t) {
|
|
977
|
+
return le(t) ? t : [t];
|
|
1193
978
|
};
|
|
1194
979
|
function Ye(t, e, n) {
|
|
1195
980
|
n === void 0 && (n = " ");
|
|
1196
981
|
var r = String(t);
|
|
1197
|
-
return e = e >> 0, r.length > e ? String(r) : (e = e - r.length, e > n.length && (n +=
|
|
982
|
+
return e = e >> 0, r.length > e ? String(r) : (e = e - r.length, e > n.length && (n += I(n, e / n.length)), n.slice(0, e) + String(r));
|
|
1198
983
|
}
|
|
1199
|
-
var
|
|
984
|
+
var Ka = function(t, e, n) {
|
|
1200
985
|
var r = t.split(e);
|
|
1201
986
|
return n ? r.slice(0, n).concat([r.slice(n).join(e)]) : r;
|
|
1202
|
-
},
|
|
987
|
+
}, de = function(t, e) {
|
|
1203
988
|
var n = t % e;
|
|
1204
989
|
return n * e < 0 ? n + e : n;
|
|
1205
|
-
},
|
|
1206
|
-
return { div: Math.floor(t / e), mod:
|
|
1207
|
-
},
|
|
1208
|
-
return !
|
|
1209
|
-
},
|
|
1210
|
-
return !
|
|
1211
|
-
},
|
|
1212
|
-
return
|
|
1213
|
-
},
|
|
990
|
+
}, Tt = function(t, e) {
|
|
991
|
+
return { div: Math.floor(t / e), mod: de(t, e) };
|
|
992
|
+
}, ge = function(t) {
|
|
993
|
+
return !G(t) || t.length === 0;
|
|
994
|
+
}, X = function(t) {
|
|
995
|
+
return !ge(t);
|
|
996
|
+
}, j = function(t, e) {
|
|
997
|
+
return X(t) && t.indexOf(e) !== -1;
|
|
998
|
+
}, Me = function(t, e, n, r, a, i) {
|
|
1214
999
|
return r === void 0 && (r = 0), a === void 0 && (a = 0), i === void 0 && (i = 0), new Date(Date.UTC(t, e - 1, n, r, a, i));
|
|
1215
|
-
},
|
|
1000
|
+
}, Ga = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ur = 1e3 * 60 * 60 * 24, dr = 9999, fr = Me(1970, 1, 1), Za = [6, 0, 1, 2, 3, 4, 5], Xe = function(t) {
|
|
1216
1001
|
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
|
|
1217
|
-
},
|
|
1002
|
+
}, hr = function(t) {
|
|
1218
1003
|
return t instanceof Date;
|
|
1219
1004
|
}, Je = function(t) {
|
|
1220
|
-
return
|
|
1221
|
-
},
|
|
1005
|
+
return hr(t) && !isNaN(t.getTime());
|
|
1006
|
+
}, Tn = function(t) {
|
|
1222
1007
|
return t.getTimezoneOffset() * 60 * 1e3;
|
|
1223
|
-
},
|
|
1224
|
-
var n = t.getTime() -
|
|
1225
|
-
return Math.round(a /
|
|
1226
|
-
},
|
|
1227
|
-
return
|
|
1228
|
-
},
|
|
1229
|
-
return new Date(
|
|
1230
|
-
},
|
|
1008
|
+
}, Ja = function(t, e) {
|
|
1009
|
+
var n = t.getTime() - Tn(t), r = e.getTime() - Tn(e), a = n - r;
|
|
1010
|
+
return Math.round(a / ur);
|
|
1011
|
+
}, Mt = function(t) {
|
|
1012
|
+
return Ja(t, fr);
|
|
1013
|
+
}, yr = function(t) {
|
|
1014
|
+
return new Date(fr.getTime() + t * ur);
|
|
1015
|
+
}, Xa = function(t) {
|
|
1231
1016
|
var e = t.getUTCMonth();
|
|
1232
|
-
return e === 1 && Xe(t.getUTCFullYear()) ? 29 :
|
|
1233
|
-
},
|
|
1234
|
-
return
|
|
1235
|
-
},
|
|
1236
|
-
var n =
|
|
1237
|
-
return [
|
|
1238
|
-
},
|
|
1017
|
+
return e === 1 && Xe(t.getUTCFullYear()) ? 29 : Ga[e];
|
|
1018
|
+
}, Fe = function(t) {
|
|
1019
|
+
return Za[t.getUTCDay()];
|
|
1020
|
+
}, Sn = function(t, e) {
|
|
1021
|
+
var n = Me(t, e + 1, 1);
|
|
1022
|
+
return [Fe(n), Xa(n)];
|
|
1023
|
+
}, pr = function(t, e) {
|
|
1239
1024
|
return e = e || t, new Date(Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
1240
1025
|
}, At = function(t) {
|
|
1241
1026
|
var e = new Date(t.getTime());
|
|
1242
1027
|
return e;
|
|
1243
|
-
},
|
|
1028
|
+
}, Cn = function(t) {
|
|
1244
1029
|
for (var e = [], n = 0; n < t.length; n++)
|
|
1245
1030
|
e.push(At(t[n]));
|
|
1246
1031
|
return e;
|
|
@@ -1248,7 +1033,7 @@ var Ja = function(t, e, n) {
|
|
|
1248
1033
|
t.sort(function(e, n) {
|
|
1249
1034
|
return e.getTime() - n.getTime();
|
|
1250
1035
|
});
|
|
1251
|
-
},
|
|
1036
|
+
}, Ft = function(t, e) {
|
|
1252
1037
|
e === void 0 && (e = !0);
|
|
1253
1038
|
var n = new Date(t);
|
|
1254
1039
|
return [
|
|
@@ -1261,7 +1046,7 @@ var Ja = function(t, e, n) {
|
|
|
1261
1046
|
Ye(n.getUTCSeconds(), 2, "0"),
|
|
1262
1047
|
e ? "Z" : ""
|
|
1263
1048
|
].join("");
|
|
1264
|
-
},
|
|
1049
|
+
}, zt = function(t) {
|
|
1265
1050
|
var e = /^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/, n = e.exec(t);
|
|
1266
1051
|
if (!n)
|
|
1267
1052
|
throw new Error("Invalid UNTIL value: ".concat(t));
|
|
@@ -1269,10 +1054,10 @@ var Ja = function(t, e, n) {
|
|
|
1269
1054
|
}, On = function(t, e) {
|
|
1270
1055
|
var n = t.toLocaleString("sv-SE", { timeZone: e });
|
|
1271
1056
|
return n.replace(" ", "T") + "Z";
|
|
1272
|
-
},
|
|
1057
|
+
}, Qa = function(t, e) {
|
|
1273
1058
|
var n = Intl.DateTimeFormat().resolvedOptions().timeZone, r = new Date(On(t, n)), a = new Date(On(t, e ?? "UTC")), i = a.getTime() - r.getTime();
|
|
1274
1059
|
return new Date(t.getTime() - i);
|
|
1275
|
-
},
|
|
1060
|
+
}, We = (
|
|
1276
1061
|
/** @class */
|
|
1277
1062
|
function() {
|
|
1278
1063
|
function t(e, n) {
|
|
@@ -1309,32 +1094,32 @@ var Ja = function(t, e, n) {
|
|
|
1309
1094
|
return new t(this.method, this.args);
|
|
1310
1095
|
}, t;
|
|
1311
1096
|
}()
|
|
1312
|
-
),
|
|
1313
|
-
return
|
|
1097
|
+
), It = function(t, e) {
|
|
1098
|
+
return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
1314
1099
|
n.__proto__ = r;
|
|
1315
1100
|
} || function(n, r) {
|
|
1316
1101
|
for (var a in r)
|
|
1317
1102
|
Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]);
|
|
1318
|
-
},
|
|
1103
|
+
}, It(t, e);
|
|
1319
1104
|
};
|
|
1320
|
-
function
|
|
1105
|
+
function Bt(t, e) {
|
|
1321
1106
|
if (typeof e != "function" && e !== null)
|
|
1322
1107
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
1323
|
-
|
|
1108
|
+
It(t, e);
|
|
1324
1109
|
function n() {
|
|
1325
1110
|
this.constructor = t;
|
|
1326
1111
|
}
|
|
1327
1112
|
t.prototype = e === null ? Object.create(e) : (n.prototype = e.prototype, new n());
|
|
1328
1113
|
}
|
|
1329
|
-
var
|
|
1330
|
-
return
|
|
1114
|
+
var ce = function() {
|
|
1115
|
+
return ce = Object.assign || function(e) {
|
|
1331
1116
|
for (var n, r = 1, a = arguments.length; r < a; r++) {
|
|
1332
1117
|
n = arguments[r];
|
|
1333
1118
|
for (var i in n)
|
|
1334
1119
|
Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
|
|
1335
1120
|
}
|
|
1336
1121
|
return e;
|
|
1337
|
-
},
|
|
1122
|
+
}, ce.apply(this, arguments);
|
|
1338
1123
|
};
|
|
1339
1124
|
function $(t, e, n) {
|
|
1340
1125
|
if (n || arguments.length === 2)
|
|
@@ -1342,10 +1127,10 @@ function $(t, e, n) {
|
|
|
1342
1127
|
(i || !(r in e)) && (i || (i = Array.prototype.slice.call(e, 0, r)), i[r] = e[r]);
|
|
1343
1128
|
return t.concat(i || Array.prototype.slice.call(e));
|
|
1344
1129
|
}
|
|
1345
|
-
var
|
|
1130
|
+
var xn = (
|
|
1346
1131
|
/** @class */
|
|
1347
1132
|
function(t) {
|
|
1348
|
-
|
|
1133
|
+
Bt(e, t);
|
|
1349
1134
|
function e(n, r, a) {
|
|
1350
1135
|
var i = t.call(this, n, r) || this;
|
|
1351
1136
|
return i.iterator = a, i;
|
|
@@ -1353,7 +1138,7 @@ var _n = (
|
|
|
1353
1138
|
return e.prototype.add = function(n) {
|
|
1354
1139
|
return this.iterator(n, this._result.length) ? (this._result.push(n), !0) : !1;
|
|
1355
1140
|
}, e;
|
|
1356
|
-
}(
|
|
1141
|
+
}(We)
|
|
1357
1142
|
), ct = {
|
|
1358
1143
|
dayNames: [
|
|
1359
1144
|
"Sunday",
|
|
@@ -1422,17 +1207,17 @@ var _n = (
|
|
|
1422
1207
|
december: /^dec(ember)?/i,
|
|
1423
1208
|
comma: /^(,\s*|(and|or)\s*)+/i
|
|
1424
1209
|
}
|
|
1425
|
-
},
|
|
1210
|
+
}, _n = function(t, e) {
|
|
1426
1211
|
return t.indexOf(e) !== -1;
|
|
1427
|
-
},
|
|
1212
|
+
}, Va = function(t) {
|
|
1428
1213
|
return t.toString();
|
|
1429
|
-
},
|
|
1214
|
+
}, ei = function(t, e, n) {
|
|
1430
1215
|
return "".concat(e, " ").concat(n, ", ").concat(t);
|
|
1431
|
-
},
|
|
1216
|
+
}, xe = (
|
|
1432
1217
|
/** @class */
|
|
1433
1218
|
function() {
|
|
1434
1219
|
function t(e, n, r, a) {
|
|
1435
|
-
if (n === void 0 && (n =
|
|
1220
|
+
if (n === void 0 && (n = Va), r === void 0 && (r = ct), a === void 0 && (a = ei), this.text = [], this.language = r || ct, this.gettext = n, this.dateFormatter = a, this.rrule = e, this.options = e.options, this.origOptions = e.origOptions, this.origOptions.bymonthday) {
|
|
1436
1221
|
var i = [].concat(this.options.bymonthday), s = [].concat(this.options.bynmonthday);
|
|
1437
1222
|
i.sort(function(d, f) {
|
|
1438
1223
|
return d - f;
|
|
@@ -1440,8 +1225,8 @@ var _n = (
|
|
|
1440
1225
|
return f - d;
|
|
1441
1226
|
}), this.bymonthday = i.concat(s), this.bymonthday.length || (this.bymonthday = null);
|
|
1442
1227
|
}
|
|
1443
|
-
if (
|
|
1444
|
-
var l =
|
|
1228
|
+
if (G(this.origOptions.byweekday)) {
|
|
1229
|
+
var l = le(this.origOptions.byweekday) ? this.origOptions.byweekday : [this.origOptions.byweekday], o = String(l);
|
|
1445
1230
|
this.byweekday = {
|
|
1446
1231
|
allWeeks: l.filter(function(d) {
|
|
1447
1232
|
return !d.n;
|
|
@@ -1464,9 +1249,9 @@ var _n = (
|
|
|
1464
1249
|
if (!(e.options.freq in t.IMPLEMENTED) || e.origOptions.until && e.origOptions.count)
|
|
1465
1250
|
return !1;
|
|
1466
1251
|
for (var r in e.origOptions) {
|
|
1467
|
-
if (
|
|
1252
|
+
if (_n(["dtstart", "wkst", "freq"], r))
|
|
1468
1253
|
return !0;
|
|
1469
|
-
if (!
|
|
1254
|
+
if (!_n(t.IMPLEMENTED[e.options.freq], r))
|
|
1470
1255
|
return !1;
|
|
1471
1256
|
}
|
|
1472
1257
|
return n;
|
|
@@ -1476,7 +1261,7 @@ var _n = (
|
|
|
1476
1261
|
var e = this.gettext;
|
|
1477
1262
|
if (!(this.options.freq in t.IMPLEMENTED))
|
|
1478
1263
|
return e("RRule error: Unable to fully convert this rrule to text");
|
|
1479
|
-
if (this.text = [e("every")], this[
|
|
1264
|
+
if (this.text = [e("every")], this[O.FREQUENCIES[this.options.freq]](), this.options.until) {
|
|
1480
1265
|
this.add(e("until"));
|
|
1481
1266
|
var n = this.options.until;
|
|
1482
1267
|
this.add(this.dateFormatter(n.getUTCFullYear(), this.language.monthNames[n.getUTCMonth()], n.getUTCDate()));
|
|
@@ -1539,7 +1324,7 @@ var _n = (
|
|
|
1539
1324
|
}, t.prototype.monthtext = function(e) {
|
|
1540
1325
|
return this.language.monthNames[e - 1];
|
|
1541
1326
|
}, t.prototype.weekdaytext = function(e) {
|
|
1542
|
-
var n =
|
|
1327
|
+
var n = ve(e) ? (e + 1) % 7 : e.getJsWeekday();
|
|
1543
1328
|
return (e.n ? this.nth(e.n) + " " : "") + this.language.dayNames[n];
|
|
1544
1329
|
}, t.prototype.plural = function(e) {
|
|
1545
1330
|
return e % 100 !== 1;
|
|
@@ -1547,7 +1332,7 @@ var _n = (
|
|
|
1547
1332
|
return this.text.push(" "), this.text.push(e), this;
|
|
1548
1333
|
}, t.prototype.list = function(e, n, r, a) {
|
|
1549
1334
|
var i = this;
|
|
1550
|
-
a === void 0 && (a = ","),
|
|
1335
|
+
a === void 0 && (a = ","), le(e) || (e = [e]);
|
|
1551
1336
|
var s = function(o, u, d) {
|
|
1552
1337
|
for (var f = "", h = 0; h < o.length; h++)
|
|
1553
1338
|
h !== 0 && (h === o.length - 1 ? f += " " + d + " " : f += u + " "), f += o[h];
|
|
@@ -1562,7 +1347,7 @@ var _n = (
|
|
|
1562
1347
|
return r ? s(e.map(l), a, r) : e.map(l).join(a + " ");
|
|
1563
1348
|
}, t;
|
|
1564
1349
|
}()
|
|
1565
|
-
),
|
|
1350
|
+
), ti = (
|
|
1566
1351
|
/** @class */
|
|
1567
1352
|
function() {
|
|
1568
1353
|
function t(e) {
|
|
@@ -1609,9 +1394,9 @@ var _n = (
|
|
|
1609
1394
|
}, t;
|
|
1610
1395
|
}()
|
|
1611
1396
|
);
|
|
1612
|
-
function
|
|
1397
|
+
function mr(t, e) {
|
|
1613
1398
|
e === void 0 && (e = ct);
|
|
1614
|
-
var n = {}, r = new
|
|
1399
|
+
var n = {}, r = new ti(e.tokens);
|
|
1615
1400
|
if (!r.start(t))
|
|
1616
1401
|
return null;
|
|
1617
1402
|
return a(), n;
|
|
@@ -1622,25 +1407,25 @@ function wr(t, e) {
|
|
|
1622
1407
|
throw new Error("Unexpected end");
|
|
1623
1408
|
switch (r.symbol) {
|
|
1624
1409
|
case "day(s)":
|
|
1625
|
-
n.freq =
|
|
1410
|
+
n.freq = O.DAILY, r.nextSymbol() && (s(), f());
|
|
1626
1411
|
break;
|
|
1627
1412
|
case "weekday(s)":
|
|
1628
|
-
n.freq =
|
|
1413
|
+
n.freq = O.WEEKLY, n.byweekday = [O.MO, O.TU, O.WE, O.TH, O.FR], r.nextSymbol(), f();
|
|
1629
1414
|
break;
|
|
1630
1415
|
case "week(s)":
|
|
1631
|
-
n.freq =
|
|
1416
|
+
n.freq = O.WEEKLY, r.nextSymbol() && (i(), f());
|
|
1632
1417
|
break;
|
|
1633
1418
|
case "hour(s)":
|
|
1634
|
-
n.freq =
|
|
1419
|
+
n.freq = O.HOURLY, r.nextSymbol() && (i(), f());
|
|
1635
1420
|
break;
|
|
1636
1421
|
case "minute(s)":
|
|
1637
|
-
n.freq =
|
|
1422
|
+
n.freq = O.MINUTELY, r.nextSymbol() && (i(), f());
|
|
1638
1423
|
break;
|
|
1639
1424
|
case "month(s)":
|
|
1640
|
-
n.freq =
|
|
1425
|
+
n.freq = O.MONTHLY, r.nextSymbol() && (i(), f());
|
|
1641
1426
|
break;
|
|
1642
1427
|
case "year(s)":
|
|
1643
|
-
n.freq =
|
|
1428
|
+
n.freq = O.YEARLY, r.nextSymbol() && (i(), f());
|
|
1644
1429
|
break;
|
|
1645
1430
|
case "monday":
|
|
1646
1431
|
case "tuesday":
|
|
@@ -1649,9 +1434,9 @@ function wr(t, e) {
|
|
|
1649
1434
|
case "friday":
|
|
1650
1435
|
case "saturday":
|
|
1651
1436
|
case "sunday":
|
|
1652
|
-
n.freq =
|
|
1437
|
+
n.freq = O.WEEKLY;
|
|
1653
1438
|
var y = r.symbol.substr(0, 2).toUpperCase();
|
|
1654
|
-
if (n.byweekday = [
|
|
1439
|
+
if (n.byweekday = [O[y]], !r.nextSymbol())
|
|
1655
1440
|
return;
|
|
1656
1441
|
for (; r.accept("comma"); ) {
|
|
1657
1442
|
if (r.isDone())
|
|
@@ -1659,7 +1444,7 @@ function wr(t, e) {
|
|
|
1659
1444
|
var p = o();
|
|
1660
1445
|
if (!p)
|
|
1661
1446
|
throw new Error("Unexpected symbol " + r.symbol + ", expected weekday");
|
|
1662
|
-
n.byweekday.push(
|
|
1447
|
+
n.byweekday.push(O[p]), r.nextSymbol();
|
|
1663
1448
|
}
|
|
1664
1449
|
d(), f();
|
|
1665
1450
|
break;
|
|
@@ -1675,7 +1460,7 @@ function wr(t, e) {
|
|
|
1675
1460
|
case "october":
|
|
1676
1461
|
case "november":
|
|
1677
1462
|
case "december":
|
|
1678
|
-
if (n.freq =
|
|
1463
|
+
if (n.freq = O.YEARLY, n.bymonth = [l()], !r.nextSymbol())
|
|
1679
1464
|
return;
|
|
1680
1465
|
for (; r.accept("comma"); ) {
|
|
1681
1466
|
if (r.isDone())
|
|
@@ -1697,11 +1482,11 @@ function wr(t, e) {
|
|
|
1697
1482
|
do {
|
|
1698
1483
|
var p = u(), v = o(), b = l();
|
|
1699
1484
|
if (p)
|
|
1700
|
-
v ? (r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(
|
|
1485
|
+
v ? (r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(O[v].nth(p))) : (n.bymonthday || (n.bymonthday = []), n.bymonthday.push(p), r.accept("day(s)"));
|
|
1701
1486
|
else if (v)
|
|
1702
|
-
r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(
|
|
1487
|
+
r.nextSymbol(), n.byweekday || (n.byweekday = []), n.byweekday.push(O[v]);
|
|
1703
1488
|
else if (r.symbol === "weekday(s)")
|
|
1704
|
-
r.nextSymbol(), n.byweekday || (n.byweekday = [
|
|
1489
|
+
r.nextSymbol(), n.byweekday || (n.byweekday = [O.MO, O.TU, O.WE, O.TH, O.FR]);
|
|
1705
1490
|
else if (r.symbol === "week(s)") {
|
|
1706
1491
|
r.nextSymbol();
|
|
1707
1492
|
var T = r.acceptNumber();
|
|
@@ -1815,15 +1600,15 @@ function wr(t, e) {
|
|
|
1815
1600
|
r.accept("for") && (n.count = parseInt(r.value[0], 10), r.expect("number"));
|
|
1816
1601
|
}
|
|
1817
1602
|
}
|
|
1818
|
-
var
|
|
1603
|
+
var N;
|
|
1819
1604
|
(function(t) {
|
|
1820
1605
|
t[t.YEARLY = 0] = "YEARLY", t[t.MONTHLY = 1] = "MONTHLY", t[t.WEEKLY = 2] = "WEEKLY", t[t.DAILY = 3] = "DAILY", t[t.HOURLY = 4] = "HOURLY", t[t.MINUTELY = 5] = "MINUTELY", t[t.SECONDLY = 6] = "SECONDLY";
|
|
1821
|
-
})(
|
|
1822
|
-
function
|
|
1823
|
-
return t <
|
|
1606
|
+
})(N || (N = {}));
|
|
1607
|
+
function qt(t) {
|
|
1608
|
+
return t < N.HOURLY;
|
|
1824
1609
|
}
|
|
1825
|
-
var
|
|
1826
|
-
return e === void 0 && (e = ct), new
|
|
1610
|
+
var ni = function(t, e) {
|
|
1611
|
+
return e === void 0 && (e = ct), new O(mr(t, e) || void 0);
|
|
1827
1612
|
}, ze = [
|
|
1828
1613
|
"count",
|
|
1829
1614
|
"until",
|
|
@@ -1832,16 +1617,16 @@ var ss = function(t, e) {
|
|
|
1832
1617
|
"bymonthday",
|
|
1833
1618
|
"bymonth"
|
|
1834
1619
|
];
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
var
|
|
1843
|
-
return new
|
|
1844
|
-
},
|
|
1620
|
+
xe.IMPLEMENTED = [];
|
|
1621
|
+
xe.IMPLEMENTED[N.HOURLY] = ze;
|
|
1622
|
+
xe.IMPLEMENTED[N.MINUTELY] = ze;
|
|
1623
|
+
xe.IMPLEMENTED[N.DAILY] = ["byhour"].concat(ze);
|
|
1624
|
+
xe.IMPLEMENTED[N.WEEKLY] = ze;
|
|
1625
|
+
xe.IMPLEMENTED[N.MONTHLY] = ze;
|
|
1626
|
+
xe.IMPLEMENTED[N.YEARLY] = ["byweekno", "byyearday"].concat(ze);
|
|
1627
|
+
var ri = function(t, e, n, r) {
|
|
1628
|
+
return new xe(t, e, n, r).toString();
|
|
1629
|
+
}, ai = xe.isFullyConvertible, ut = (
|
|
1845
1630
|
/** @class */
|
|
1846
1631
|
function() {
|
|
1847
1632
|
function t(e, n, r, a) {
|
|
@@ -1859,10 +1644,10 @@ var is = function(t, e, n, r) {
|
|
|
1859
1644
|
return (this.hour * 60 * 60 + this.minute * 60 + this.second) * 1e3 + this.millisecond;
|
|
1860
1645
|
}, t;
|
|
1861
1646
|
}()
|
|
1862
|
-
),
|
|
1647
|
+
), ii = (
|
|
1863
1648
|
/** @class */
|
|
1864
1649
|
function(t) {
|
|
1865
|
-
|
|
1650
|
+
Bt(e, t);
|
|
1866
1651
|
function e(n, r, a, i, s, l, o) {
|
|
1867
1652
|
var u = t.call(this, i, s, l, o) || this;
|
|
1868
1653
|
return u.year = n, u.month = r, u.day = a, u;
|
|
@@ -1870,7 +1655,7 @@ var is = function(t, e, n, r) {
|
|
|
1870
1655
|
return e.fromDate = function(n) {
|
|
1871
1656
|
return new this(n.getUTCFullYear(), n.getUTCMonth() + 1, n.getUTCDate(), n.getUTCHours(), n.getUTCMinutes(), n.getUTCSeconds(), n.valueOf() % 1e3);
|
|
1872
1657
|
}, e.prototype.getWeekday = function() {
|
|
1873
|
-
return
|
|
1658
|
+
return Fe(new Date(this.getTime()));
|
|
1874
1659
|
}, e.prototype.getTime = function() {
|
|
1875
1660
|
return new Date(Date.UTC(this.year, this.month - 1, this.day, this.hour, this.minute, this.second, this.millisecond)).getTime();
|
|
1876
1661
|
}, e.prototype.getDay = function() {
|
|
@@ -1883,7 +1668,7 @@ var is = function(t, e, n, r) {
|
|
|
1883
1668
|
this.year += n;
|
|
1884
1669
|
}, e.prototype.addMonths = function(n) {
|
|
1885
1670
|
if (this.month += n, this.month > 12) {
|
|
1886
|
-
var r = Math.floor(this.month / 12), a =
|
|
1671
|
+
var r = Math.floor(this.month / 12), a = de(this.month, 12);
|
|
1887
1672
|
this.month = a, this.year += r, this.month === 0 && (this.month = 12, --this.year);
|
|
1888
1673
|
}
|
|
1889
1674
|
}, e.prototype.addWeekly = function(n, r) {
|
|
@@ -1893,91 +1678,91 @@ var is = function(t, e, n, r) {
|
|
|
1893
1678
|
}, e.prototype.addHours = function(n, r, a) {
|
|
1894
1679
|
for (r && (this.hour += Math.floor((23 - this.hour) / n) * n); ; ) {
|
|
1895
1680
|
this.hour += n;
|
|
1896
|
-
var i =
|
|
1897
|
-
if (s && (this.hour = l, this.addDaily(s)),
|
|
1681
|
+
var i = Tt(this.hour, 24), s = i.div, l = i.mod;
|
|
1682
|
+
if (s && (this.hour = l, this.addDaily(s)), ge(a) || j(a, this.hour))
|
|
1898
1683
|
break;
|
|
1899
1684
|
}
|
|
1900
1685
|
}, e.prototype.addMinutes = function(n, r, a, i) {
|
|
1901
1686
|
for (r && (this.minute += Math.floor((1439 - (this.hour * 60 + this.minute)) / n) * n); ; ) {
|
|
1902
1687
|
this.minute += n;
|
|
1903
|
-
var s =
|
|
1904
|
-
if (l && (this.minute = o, this.addHours(l, !1, a)), (
|
|
1688
|
+
var s = Tt(this.minute, 60), l = s.div, o = s.mod;
|
|
1689
|
+
if (l && (this.minute = o, this.addHours(l, !1, a)), (ge(a) || j(a, this.hour)) && (ge(i) || j(i, this.minute)))
|
|
1905
1690
|
break;
|
|
1906
1691
|
}
|
|
1907
1692
|
}, e.prototype.addSeconds = function(n, r, a, i, s) {
|
|
1908
1693
|
for (r && (this.second += Math.floor((86399 - (this.hour * 3600 + this.minute * 60 + this.second)) / n) * n); ; ) {
|
|
1909
1694
|
this.second += n;
|
|
1910
|
-
var l =
|
|
1911
|
-
if (o && (this.second = u, this.addMinutes(o, !1, a, i)), (
|
|
1695
|
+
var l = Tt(this.second, 60), o = l.div, u = l.mod;
|
|
1696
|
+
if (o && (this.second = u, this.addMinutes(o, !1, a, i)), (ge(a) || j(a, this.hour)) && (ge(i) || j(i, this.minute)) && (ge(s) || j(s, this.second)))
|
|
1912
1697
|
break;
|
|
1913
1698
|
}
|
|
1914
1699
|
}, e.prototype.fixDay = function() {
|
|
1915
1700
|
if (!(this.day <= 28)) {
|
|
1916
|
-
var n =
|
|
1701
|
+
var n = Sn(this.year, this.month - 1)[1];
|
|
1917
1702
|
if (!(this.day <= n))
|
|
1918
1703
|
for (; this.day > n; ) {
|
|
1919
|
-
if (this.day -= n, ++this.month, this.month === 13 && (this.month = 1, ++this.year, this.year >
|
|
1704
|
+
if (this.day -= n, ++this.month, this.month === 13 && (this.month = 1, ++this.year, this.year > dr))
|
|
1920
1705
|
return;
|
|
1921
|
-
n =
|
|
1706
|
+
n = Sn(this.year, this.month - 1)[1];
|
|
1922
1707
|
}
|
|
1923
1708
|
}
|
|
1924
1709
|
}, e.prototype.add = function(n, r) {
|
|
1925
1710
|
var a = n.freq, i = n.interval, s = n.wkst, l = n.byhour, o = n.byminute, u = n.bysecond;
|
|
1926
1711
|
switch (a) {
|
|
1927
|
-
case
|
|
1712
|
+
case N.YEARLY:
|
|
1928
1713
|
return this.addYears(i);
|
|
1929
|
-
case
|
|
1714
|
+
case N.MONTHLY:
|
|
1930
1715
|
return this.addMonths(i);
|
|
1931
|
-
case
|
|
1716
|
+
case N.WEEKLY:
|
|
1932
1717
|
return this.addWeekly(i, s);
|
|
1933
|
-
case
|
|
1718
|
+
case N.DAILY:
|
|
1934
1719
|
return this.addDaily(i);
|
|
1935
|
-
case
|
|
1720
|
+
case N.HOURLY:
|
|
1936
1721
|
return this.addHours(i, r, l);
|
|
1937
|
-
case
|
|
1722
|
+
case N.MINUTELY:
|
|
1938
1723
|
return this.addMinutes(i, r, l, o);
|
|
1939
|
-
case
|
|
1724
|
+
case N.SECONDLY:
|
|
1940
1725
|
return this.addSeconds(i, r, l, o, u);
|
|
1941
1726
|
}
|
|
1942
1727
|
}, e;
|
|
1943
1728
|
}(ut)
|
|
1944
1729
|
);
|
|
1945
|
-
function
|
|
1730
|
+
function vr(t) {
|
|
1946
1731
|
for (var e = [], n = Object.keys(t), r = 0, a = n; r < a.length; r++) {
|
|
1947
1732
|
var i = a[r];
|
|
1948
|
-
|
|
1733
|
+
j(Ii, i) || e.push(i), hr(t[i]) && !Je(t[i]) && e.push(i);
|
|
1949
1734
|
}
|
|
1950
1735
|
if (e.length)
|
|
1951
1736
|
throw new Error("Invalid options: " + e.join(", "));
|
|
1952
|
-
return
|
|
1737
|
+
return ce({}, t);
|
|
1953
1738
|
}
|
|
1954
|
-
function
|
|
1955
|
-
var e =
|
|
1956
|
-
if (
|
|
1739
|
+
function si(t) {
|
|
1740
|
+
var e = ce(ce({}, Kt), vr(t));
|
|
1741
|
+
if (G(e.byeaster) && (e.freq = O.YEARLY), !(G(e.freq) && O.FREQUENCIES[e.freq]))
|
|
1957
1742
|
throw new Error("Invalid frequency: ".concat(e.freq, " ").concat(t.freq));
|
|
1958
|
-
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))),
|
|
1959
|
-
|
|
1743
|
+
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), G(e.wkst) ? ve(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst = O.MO.weekday, G(e.bysetpos)) {
|
|
1744
|
+
ve(e.bysetpos) && (e.bysetpos = [e.bysetpos]);
|
|
1960
1745
|
for (var n = 0; n < e.bysetpos.length; n++) {
|
|
1961
1746
|
var r = e.bysetpos[n];
|
|
1962
1747
|
if (r === 0 || !(r >= -366 && r <= 366))
|
|
1963
1748
|
throw new Error("bysetpos must be between 1 and 366, or between -366 and -1");
|
|
1964
1749
|
}
|
|
1965
1750
|
}
|
|
1966
|
-
if (!(e.byweekno ||
|
|
1751
|
+
if (!(e.byweekno || X(e.byweekno) || X(e.byyearday) || e.bymonthday || X(e.bymonthday) || G(e.byweekday) || G(e.byeaster)))
|
|
1967
1752
|
switch (e.freq) {
|
|
1968
|
-
case
|
|
1753
|
+
case O.YEARLY:
|
|
1969
1754
|
e.bymonth || (e.bymonth = e.dtstart.getUTCMonth() + 1), e.bymonthday = e.dtstart.getUTCDate();
|
|
1970
1755
|
break;
|
|
1971
|
-
case
|
|
1756
|
+
case O.MONTHLY:
|
|
1972
1757
|
e.bymonthday = e.dtstart.getUTCDate();
|
|
1973
1758
|
break;
|
|
1974
|
-
case
|
|
1975
|
-
e.byweekday = [
|
|
1759
|
+
case O.WEEKLY:
|
|
1760
|
+
e.byweekday = [Fe(e.dtstart)];
|
|
1976
1761
|
break;
|
|
1977
1762
|
}
|
|
1978
|
-
if (
|
|
1763
|
+
if (G(e.bymonth) && !le(e.bymonth) && (e.bymonth = [e.bymonth]), G(e.byyearday) && !le(e.byyearday) && ve(e.byyearday) && (e.byyearday = [e.byyearday]), !G(e.bymonthday))
|
|
1979
1764
|
e.bymonthday = [], e.bynmonthday = [];
|
|
1980
|
-
else if (
|
|
1765
|
+
else if (le(e.bymonthday)) {
|
|
1981
1766
|
for (var a = [], i = [], n = 0; n < e.bymonthday.length; n++) {
|
|
1982
1767
|
var r = e.bymonthday[n];
|
|
1983
1768
|
r > 0 ? a.push(r) : r < 0 && i.push(r);
|
|
@@ -1985,33 +1770,33 @@ function cs(t) {
|
|
|
1985
1770
|
e.bymonthday = a, e.bynmonthday = i;
|
|
1986
1771
|
} else
|
|
1987
1772
|
e.bymonthday < 0 ? (e.bynmonthday = [e.bymonthday], e.bymonthday = []) : (e.bynmonthday = [], e.bymonthday = [e.bymonthday]);
|
|
1988
|
-
if (
|
|
1773
|
+
if (G(e.byweekno) && !le(e.byweekno) && (e.byweekno = [e.byweekno]), !G(e.byweekday))
|
|
1989
1774
|
e.bynweekday = null;
|
|
1990
|
-
else if (
|
|
1775
|
+
else if (ve(e.byweekday))
|
|
1991
1776
|
e.byweekday = [e.byweekday], e.bynweekday = null;
|
|
1992
|
-
else if (
|
|
1993
|
-
e.byweekday = [
|
|
1994
|
-
else if (e.byweekday instanceof
|
|
1995
|
-
!e.byweekday.n || e.freq >
|
|
1777
|
+
else if (En(e.byweekday))
|
|
1778
|
+
e.byweekday = [ae.fromStr(e.byweekday).weekday], e.bynweekday = null;
|
|
1779
|
+
else if (e.byweekday instanceof ae)
|
|
1780
|
+
!e.byweekday.n || e.freq > O.MONTHLY ? (e.byweekday = [e.byweekday.weekday], e.bynweekday = null) : (e.bynweekday = [[e.byweekday.weekday, e.byweekday.n]], e.byweekday = null);
|
|
1996
1781
|
else {
|
|
1997
1782
|
for (var s = [], l = [], n = 0; n < e.byweekday.length; n++) {
|
|
1998
1783
|
var o = e.byweekday[n];
|
|
1999
|
-
if (
|
|
1784
|
+
if (ve(o)) {
|
|
2000
1785
|
s.push(o);
|
|
2001
1786
|
continue;
|
|
2002
|
-
} else if (
|
|
2003
|
-
s.push(
|
|
1787
|
+
} else if (En(o)) {
|
|
1788
|
+
s.push(ae.fromStr(o).weekday);
|
|
2004
1789
|
continue;
|
|
2005
1790
|
}
|
|
2006
|
-
!o.n || e.freq >
|
|
1791
|
+
!o.n || e.freq > O.MONTHLY ? s.push(o.weekday) : l.push([o.weekday, o.n]);
|
|
2007
1792
|
}
|
|
2008
|
-
e.byweekday =
|
|
1793
|
+
e.byweekday = X(s) ? s : null, e.bynweekday = X(l) ? l : null;
|
|
2009
1794
|
}
|
|
2010
|
-
return
|
|
1795
|
+
return G(e.byhour) ? ve(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq < O.HOURLY ? [e.dtstart.getUTCHours()] : null, G(e.byminute) ? ve(e.byminute) && (e.byminute = [e.byminute]) : e.byminute = e.freq < O.MINUTELY ? [e.dtstart.getUTCMinutes()] : null, G(e.bysecond) ? ve(e.bysecond) && (e.bysecond = [e.bysecond]) : e.bysecond = e.freq < O.SECONDLY ? [e.dtstart.getUTCSeconds()] : null, { parsedOptions: e };
|
|
2011
1796
|
}
|
|
2012
|
-
function
|
|
1797
|
+
function oi(t) {
|
|
2013
1798
|
var e = t.dtstart.getTime() % 1e3;
|
|
2014
|
-
if (!
|
|
1799
|
+
if (!qt(t.freq))
|
|
2015
1800
|
return [];
|
|
2016
1801
|
var n = [];
|
|
2017
1802
|
return t.byhour.forEach(function(r) {
|
|
@@ -2022,47 +1807,47 @@ function us(t) {
|
|
|
2022
1807
|
});
|
|
2023
1808
|
}), n;
|
|
2024
1809
|
}
|
|
2025
|
-
function
|
|
1810
|
+
function Nt(t) {
|
|
2026
1811
|
var e = t.split(`
|
|
2027
|
-
`).map(
|
|
1812
|
+
`).map(li).filter(function(n) {
|
|
2028
1813
|
return n !== null;
|
|
2029
1814
|
});
|
|
2030
|
-
return
|
|
1815
|
+
return ce(ce({}, e[0]), e[1]);
|
|
2031
1816
|
}
|
|
2032
1817
|
function dt(t) {
|
|
2033
1818
|
var e = {}, n = /DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(t);
|
|
2034
1819
|
if (!n)
|
|
2035
1820
|
return e;
|
|
2036
1821
|
var r = n[1], a = n[2];
|
|
2037
|
-
return r && (e.tzid = r), e.dtstart =
|
|
1822
|
+
return r && (e.tzid = r), e.dtstart = zt(a), e;
|
|
2038
1823
|
}
|
|
2039
|
-
function
|
|
1824
|
+
function li(t) {
|
|
2040
1825
|
if (t = t.replace(/^\s+|\s+$/, ""), !t.length)
|
|
2041
1826
|
return null;
|
|
2042
1827
|
var e = /^([A-Z]+?)[:;]/.exec(t.toUpperCase());
|
|
2043
1828
|
if (!e)
|
|
2044
|
-
return
|
|
1829
|
+
return Dn(t);
|
|
2045
1830
|
var n = e[1];
|
|
2046
1831
|
switch (n.toUpperCase()) {
|
|
2047
1832
|
case "RRULE":
|
|
2048
1833
|
case "EXRULE":
|
|
2049
|
-
return
|
|
1834
|
+
return Dn(t);
|
|
2050
1835
|
case "DTSTART":
|
|
2051
1836
|
return dt(t);
|
|
2052
1837
|
default:
|
|
2053
1838
|
throw new Error("Unsupported RFC prop ".concat(n, " in ").concat(t));
|
|
2054
1839
|
}
|
|
2055
1840
|
}
|
|
2056
|
-
function
|
|
1841
|
+
function Dn(t) {
|
|
2057
1842
|
var e = t.replace(/^RRULE:/i, ""), n = dt(e), r = t.replace(/^(?:RRULE|EXRULE):/i, "").split(";");
|
|
2058
1843
|
return r.forEach(function(a) {
|
|
2059
1844
|
var i = a.split("="), s = i[0], l = i[1];
|
|
2060
1845
|
switch (s.toUpperCase()) {
|
|
2061
1846
|
case "FREQ":
|
|
2062
|
-
n.freq =
|
|
1847
|
+
n.freq = N[l.toUpperCase()];
|
|
2063
1848
|
break;
|
|
2064
1849
|
case "WKST":
|
|
2065
|
-
n.wkst =
|
|
1850
|
+
n.wkst = pe[l.toUpperCase()];
|
|
2066
1851
|
break;
|
|
2067
1852
|
case "COUNT":
|
|
2068
1853
|
case "INTERVAL":
|
|
@@ -2074,12 +1859,12 @@ function Mn(t) {
|
|
|
2074
1859
|
case "BYHOUR":
|
|
2075
1860
|
case "BYMINUTE":
|
|
2076
1861
|
case "BYSECOND":
|
|
2077
|
-
var o =
|
|
1862
|
+
var o = ci(l), u = s.toLowerCase();
|
|
2078
1863
|
n[u] = o;
|
|
2079
1864
|
break;
|
|
2080
1865
|
case "BYWEEKDAY":
|
|
2081
1866
|
case "BYDAY":
|
|
2082
|
-
n.byweekday =
|
|
1867
|
+
n.byweekday = ui(l);
|
|
2083
1868
|
break;
|
|
2084
1869
|
case "DTSTART":
|
|
2085
1870
|
case "TZID":
|
|
@@ -2087,7 +1872,7 @@ function Mn(t) {
|
|
|
2087
1872
|
n.tzid = d.tzid, n.dtstart = d.dtstart;
|
|
2088
1873
|
break;
|
|
2089
1874
|
case "UNTIL":
|
|
2090
|
-
n.until =
|
|
1875
|
+
n.until = zt(l);
|
|
2091
1876
|
break;
|
|
2092
1877
|
case "BYEASTER":
|
|
2093
1878
|
n.byeaster = Number(l);
|
|
@@ -2097,7 +1882,7 @@ function Mn(t) {
|
|
|
2097
1882
|
}
|
|
2098
1883
|
}), n;
|
|
2099
1884
|
}
|
|
2100
|
-
function
|
|
1885
|
+
function ci(t) {
|
|
2101
1886
|
if (t.indexOf(",") !== -1) {
|
|
2102
1887
|
var e = t.split(",");
|
|
2103
1888
|
return e.map(Rn);
|
|
@@ -2107,16 +1892,16 @@ function fs(t) {
|
|
|
2107
1892
|
function Rn(t) {
|
|
2108
1893
|
return /^[+-]?\d+$/.test(t) ? Number(t) : t;
|
|
2109
1894
|
}
|
|
2110
|
-
function
|
|
1895
|
+
function ui(t) {
|
|
2111
1896
|
var e = t.split(",");
|
|
2112
1897
|
return e.map(function(n) {
|
|
2113
1898
|
if (n.length === 2)
|
|
2114
|
-
return
|
|
1899
|
+
return pe[n];
|
|
2115
1900
|
var r = n.match(/^([+-]?\d{1,2})([A-Z]{2})$/);
|
|
2116
1901
|
if (!r || r.length < 3)
|
|
2117
1902
|
throw new SyntaxError("Invalid weekday string: ".concat(n));
|
|
2118
|
-
var a = Number(r[1]), i = r[2], s =
|
|
2119
|
-
return new
|
|
1903
|
+
var a = Number(r[1]), i = r[2], s = pe[i].weekday;
|
|
1904
|
+
return new ae(s, a);
|
|
2120
1905
|
});
|
|
2121
1906
|
}
|
|
2122
1907
|
var ft = (
|
|
@@ -2134,40 +1919,40 @@ var ft = (
|
|
|
2134
1919
|
enumerable: !1,
|
|
2135
1920
|
configurable: !0
|
|
2136
1921
|
}), t.prototype.toString = function() {
|
|
2137
|
-
var e =
|
|
1922
|
+
var e = Ft(this.date.getTime(), this.isUTC);
|
|
2138
1923
|
return this.isUTC ? ":".concat(e) : ";TZID=".concat(this.tzid, ":").concat(e);
|
|
2139
1924
|
}, t.prototype.getTime = function() {
|
|
2140
1925
|
return this.date.getTime();
|
|
2141
1926
|
}, t.prototype.rezonedDate = function() {
|
|
2142
|
-
return this.isUTC ? this.date :
|
|
1927
|
+
return this.isUTC ? this.date : Qa(this.date, this.tzid);
|
|
2143
1928
|
}, t;
|
|
2144
1929
|
}()
|
|
2145
1930
|
);
|
|
2146
|
-
function
|
|
2147
|
-
for (var e = [], n = "", r = Object.keys(t), a = Object.keys(
|
|
2148
|
-
if (r[i] !== "tzid" &&
|
|
1931
|
+
function Ut(t) {
|
|
1932
|
+
for (var e = [], n = "", r = Object.keys(t), a = Object.keys(Kt), i = 0; i < r.length; i++)
|
|
1933
|
+
if (r[i] !== "tzid" && j(a, r[i])) {
|
|
2149
1934
|
var s = r[i].toUpperCase(), l = t[r[i]], o = "";
|
|
2150
|
-
if (!(!
|
|
1935
|
+
if (!(!G(l) || le(l) && !l.length)) {
|
|
2151
1936
|
switch (s) {
|
|
2152
1937
|
case "FREQ":
|
|
2153
|
-
o =
|
|
1938
|
+
o = O.FREQUENCIES[t.freq];
|
|
2154
1939
|
break;
|
|
2155
1940
|
case "WKST":
|
|
2156
|
-
|
|
1941
|
+
ve(l) ? o = new ae(l).toString() : o = l.toString();
|
|
2157
1942
|
break;
|
|
2158
1943
|
case "BYWEEKDAY":
|
|
2159
|
-
s = "BYDAY", o =
|
|
2160
|
-
return y instanceof
|
|
1944
|
+
s = "BYDAY", o = qa(l).map(function(y) {
|
|
1945
|
+
return y instanceof ae ? y : le(y) ? new ae(y[0], y[1]) : new ae(y);
|
|
2161
1946
|
}).toString();
|
|
2162
1947
|
break;
|
|
2163
1948
|
case "DTSTART":
|
|
2164
|
-
n =
|
|
1949
|
+
n = di(l, t.tzid);
|
|
2165
1950
|
break;
|
|
2166
1951
|
case "UNTIL":
|
|
2167
|
-
o =
|
|
1952
|
+
o = Ft(l, !t.tzid);
|
|
2168
1953
|
break;
|
|
2169
1954
|
default:
|
|
2170
|
-
if (
|
|
1955
|
+
if (le(l)) {
|
|
2171
1956
|
for (var u = [], d = 0; d < l.length; d++)
|
|
2172
1957
|
u[d] = String(l[d]);
|
|
2173
1958
|
o = u.toString();
|
|
@@ -2186,34 +1971,34 @@ function Pt(t) {
|
|
|
2186
1971
|
}).join(`
|
|
2187
1972
|
`);
|
|
2188
1973
|
}
|
|
2189
|
-
function
|
|
1974
|
+
function di(t, e) {
|
|
2190
1975
|
return t ? "DTSTART" + new ft(new Date(t), e).toString() : "";
|
|
2191
1976
|
}
|
|
2192
|
-
function
|
|
1977
|
+
function fi(t, e) {
|
|
2193
1978
|
return Array.isArray(t) ? !Array.isArray(e) || t.length !== e.length ? !1 : t.every(function(n, r) {
|
|
2194
1979
|
return n.getTime() === e[r].getTime();
|
|
2195
1980
|
}) : t instanceof Date ? e instanceof Date && t.getTime() === e.getTime() : t === e;
|
|
2196
1981
|
}
|
|
2197
|
-
var
|
|
1982
|
+
var hi = (
|
|
2198
1983
|
/** @class */
|
|
2199
1984
|
function() {
|
|
2200
1985
|
function t() {
|
|
2201
1986
|
this.all = !1, this.before = [], this.after = [], this.between = [];
|
|
2202
1987
|
}
|
|
2203
1988
|
return t.prototype._cacheAdd = function(e, n, r) {
|
|
2204
|
-
n && (n = n instanceof Date ? At(n) :
|
|
1989
|
+
n && (n = n instanceof Date ? At(n) : Cn(n)), e === "all" ? this.all = n : (r._value = n, this[e].push(r));
|
|
2205
1990
|
}, t.prototype._cacheGet = function(e, n) {
|
|
2206
1991
|
var r = !1, a = n ? Object.keys(n) : [], i = function(d) {
|
|
2207
1992
|
for (var f = 0; f < a.length; f++) {
|
|
2208
1993
|
var h = a[f];
|
|
2209
|
-
if (!
|
|
1994
|
+
if (!fi(n[h], d[h]))
|
|
2210
1995
|
return !0;
|
|
2211
1996
|
}
|
|
2212
1997
|
return !1;
|
|
2213
1998
|
}, s = this[e];
|
|
2214
1999
|
if (e === "all")
|
|
2215
2000
|
r = this.all;
|
|
2216
|
-
else if (
|
|
2001
|
+
else if (le(s))
|
|
2217
2002
|
for (var l = 0; l < s.length; l++) {
|
|
2218
2003
|
var o = s[l];
|
|
2219
2004
|
if (!(a.length && i(o))) {
|
|
@@ -2222,26 +2007,26 @@ var ms = (
|
|
|
2222
2007
|
}
|
|
2223
2008
|
}
|
|
2224
2009
|
if (!r && this.all) {
|
|
2225
|
-
for (var u = new
|
|
2010
|
+
for (var u = new We(e, n), l = 0; l < this.all.length && u.accept(this.all[l]); l++)
|
|
2226
2011
|
;
|
|
2227
2012
|
r = u.getValue(), this._cacheAdd(e, r, n);
|
|
2228
2013
|
}
|
|
2229
|
-
return
|
|
2014
|
+
return le(r) ? Cn(r) : r instanceof Date ? At(r) : r;
|
|
2230
2015
|
}, t;
|
|
2231
2016
|
}()
|
|
2232
|
-
),
|
|
2017
|
+
), yi = $($($($($($($($($($($($($([], I(1, 31), !0), I(2, 28), !0), I(3, 31), !0), I(4, 30), !0), I(5, 31), !0), I(6, 30), !0), I(7, 31), !0), I(8, 31), !0), I(9, 30), !0), I(10, 31), !0), I(11, 30), !0), I(12, 31), !0), I(1, 7), !0), pi = $($($($($($($($($($($($($([], I(1, 31), !0), I(2, 29), !0), I(3, 31), !0), I(4, 30), !0), I(5, 31), !0), I(6, 30), !0), I(7, 31), !0), I(8, 31), !0), I(9, 30), !0), I(10, 31), !0), I(11, 30), !0), I(12, 31), !0), I(1, 7), !0), mi = be(1, 29), vi = be(1, 30), _e = be(1, 31), ee = be(1, 32), gi = $($($($($($($($($($($($($([], ee, !0), vi, !0), ee, !0), _e, !0), ee, !0), _e, !0), ee, !0), ee, !0), _e, !0), ee, !0), _e, !0), ee, !0), ee.slice(0, 7), !0), bi = $($($($($($($($($($($($($([], ee, !0), mi, !0), ee, !0), _e, !0), ee, !0), _e, !0), ee, !0), ee, !0), _e, !0), ee, !0), _e, !0), ee, !0), ee.slice(0, 7), !0), $i = be(-28, 0), wi = be(-29, 0), De = be(-30, 0), te = be(-31, 0), ki = $($($($($($($($($($($($($([], te, !0), wi, !0), te, !0), De, !0), te, !0), De, !0), te, !0), te, !0), De, !0), te, !0), De, !0), te, !0), te.slice(0, 7), !0), Ei = $($($($($($($($($($($($($([], te, !0), $i, !0), te, !0), De, !0), te, !0), De, !0), te, !0), te, !0), De, !0), te, !0), De, !0), te, !0), te.slice(0, 7), !0), Ti = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366], Si = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], Ln = function() {
|
|
2233
2018
|
for (var t = [], e = 0; e < 55; e++)
|
|
2234
|
-
t = t.concat(
|
|
2019
|
+
t = t.concat(be(7));
|
|
2235
2020
|
return t;
|
|
2236
2021
|
}();
|
|
2237
|
-
function
|
|
2238
|
-
var n =
|
|
2239
|
-
if (
|
|
2022
|
+
function Ci(t, e) {
|
|
2023
|
+
var n = Me(t, 1, 1), r = Xe(t) ? 366 : 365, a = Xe(t + 1) ? 366 : 365, i = Mt(n), s = Fe(n), l = ce(ce({ yearlen: r, nextyearlen: a, yearordinal: i, yearweekday: s }, Oi(t)), { wnomask: null });
|
|
2024
|
+
if (ge(e.byweekno))
|
|
2240
2025
|
return l;
|
|
2241
|
-
l.wnomask =
|
|
2242
|
-
var o, u, d = o =
|
|
2243
|
-
d >= 4 ? (d = 0, u = l.yearlen +
|
|
2244
|
-
for (var f = Math.floor(u / 7), h =
|
|
2026
|
+
l.wnomask = I(0, r + 7);
|
|
2027
|
+
var o, u, d = o = de(7 - s + e.wkst, 7);
|
|
2028
|
+
d >= 4 ? (d = 0, u = l.yearlen + de(s - e.wkst, 7)) : u = r - d;
|
|
2029
|
+
for (var f = Math.floor(u / 7), h = de(u, 7), y = Math.floor(f + h / 4), p = 0; p < e.byweekno.length; p++) {
|
|
2245
2030
|
var v = e.byweekno[p];
|
|
2246
2031
|
if (v < 0 && (v += y + 1), v > 0 && v <= y) {
|
|
2247
2032
|
var b = void 0;
|
|
@@ -2250,7 +2035,7 @@ function _s(t, e) {
|
|
|
2250
2035
|
;
|
|
2251
2036
|
}
|
|
2252
2037
|
}
|
|
2253
|
-
if (
|
|
2038
|
+
if (j(e.byweekno, 1)) {
|
|
2254
2039
|
var b = d + y * 7;
|
|
2255
2040
|
if (d !== o && (b -= 7 - o), b < r)
|
|
2256
2041
|
for (var p = 0; p < 7 && (l.wnomask[b] = 1, b += 1, l.wdaymask[b] !== e.wkst); p++)
|
|
@@ -2258,64 +2043,64 @@ function _s(t, e) {
|
|
|
2258
2043
|
}
|
|
2259
2044
|
if (d) {
|
|
2260
2045
|
var L = void 0;
|
|
2261
|
-
if (
|
|
2046
|
+
if (j(e.byweekno, -1))
|
|
2262
2047
|
L = -1;
|
|
2263
2048
|
else {
|
|
2264
|
-
var
|
|
2265
|
-
ie >= 4 ? (ie = 0,
|
|
2049
|
+
var Q = Fe(Me(t - 1, 1, 1)), ie = de(7 - Q.valueOf() + e.wkst, 7), fe = Xe(t - 1) ? 366 : 365, V = void 0;
|
|
2050
|
+
ie >= 4 ? (ie = 0, V = fe + de(Q - e.wkst, 7)) : V = r - d, L = Math.floor(52 + de(V, 7) / 4);
|
|
2266
2051
|
}
|
|
2267
|
-
if (
|
|
2052
|
+
if (j(e.byweekno, L))
|
|
2268
2053
|
for (var b = 0; b < d; b++)
|
|
2269
2054
|
l.wnomask[b] = 1;
|
|
2270
2055
|
}
|
|
2271
2056
|
return l;
|
|
2272
2057
|
}
|
|
2273
|
-
function
|
|
2274
|
-
var e = Xe(t) ? 366 : 365, n =
|
|
2058
|
+
function Oi(t) {
|
|
2059
|
+
var e = Xe(t) ? 366 : 365, n = Me(t, 1, 1), r = Fe(n);
|
|
2275
2060
|
return e === 365 ? {
|
|
2276
|
-
mmask:
|
|
2277
|
-
mdaymask:
|
|
2278
|
-
nmdaymask:
|
|
2061
|
+
mmask: yi,
|
|
2062
|
+
mdaymask: bi,
|
|
2063
|
+
nmdaymask: Ei,
|
|
2279
2064
|
wdaymask: Ln.slice(r),
|
|
2280
|
-
mrange:
|
|
2065
|
+
mrange: Si
|
|
2281
2066
|
} : {
|
|
2282
|
-
mmask:
|
|
2283
|
-
mdaymask:
|
|
2284
|
-
nmdaymask:
|
|
2067
|
+
mmask: pi,
|
|
2068
|
+
mdaymask: gi,
|
|
2069
|
+
nmdaymask: ki,
|
|
2285
2070
|
wdaymask: Ln.slice(r),
|
|
2286
|
-
mrange:
|
|
2071
|
+
mrange: Ti
|
|
2287
2072
|
};
|
|
2288
2073
|
}
|
|
2289
|
-
function
|
|
2074
|
+
function xi(t, e, n, r, a, i) {
|
|
2290
2075
|
var s = {
|
|
2291
2076
|
lastyear: t,
|
|
2292
2077
|
lastmonth: e,
|
|
2293
2078
|
nwdaymask: []
|
|
2294
2079
|
}, l = [];
|
|
2295
|
-
if (i.freq ===
|
|
2296
|
-
if (
|
|
2080
|
+
if (i.freq === O.YEARLY)
|
|
2081
|
+
if (ge(i.bymonth))
|
|
2297
2082
|
l = [[0, n]];
|
|
2298
2083
|
else
|
|
2299
2084
|
for (var o = 0; o < i.bymonth.length; o++)
|
|
2300
2085
|
e = i.bymonth[o], l.push(r.slice(e - 1, e + 1));
|
|
2301
2086
|
else
|
|
2302
|
-
i.freq ===
|
|
2303
|
-
if (
|
|
2087
|
+
i.freq === O.MONTHLY && (l = [r.slice(e - 1, e + 1)]);
|
|
2088
|
+
if (ge(l))
|
|
2304
2089
|
return s;
|
|
2305
|
-
s.nwdaymask =
|
|
2090
|
+
s.nwdaymask = I(0, n);
|
|
2306
2091
|
for (var o = 0; o < l.length; o++)
|
|
2307
2092
|
for (var u = l[o], d = u[0], f = u[1] - 1, h = 0; h < i.bynweekday.length; h++) {
|
|
2308
2093
|
var y = void 0, p = i.bynweekday[h], v = p[0], b = p[1];
|
|
2309
|
-
b < 0 ? (y = f + (b + 1) * 7, y -=
|
|
2094
|
+
b < 0 ? (y = f + (b + 1) * 7, y -= de(a[y] - v, 7)) : (y = d + (b - 1) * 7, y += de(7 - a[y] + v, 7)), d <= y && y <= f && (s.nwdaymask[y] = 1);
|
|
2310
2095
|
}
|
|
2311
2096
|
return s;
|
|
2312
2097
|
}
|
|
2313
|
-
function
|
|
2098
|
+
function _i(t, e) {
|
|
2314
2099
|
e === void 0 && (e = 0);
|
|
2315
2100
|
var n = t % 19, r = Math.floor(t / 100), a = t % 100, i = Math.floor(r / 4), s = r % 4, l = Math.floor((r + 8) / 25), o = Math.floor((r - l + 1) / 3), u = Math.floor(19 * n + r - i - o + 15) % 30, d = Math.floor(a / 4), f = a % 4, h = Math.floor(32 + 2 * s + 2 * d - u - f) % 7, y = Math.floor((n + 11 * u + 22 * h) / 451), p = Math.floor((u + h - 7 * y + 114) / 31), v = (u + h - 7 * y + 114) % 31 + 1, b = Date.UTC(t, p - 1, v + e), T = Date.UTC(t, 0, 1);
|
|
2316
2101
|
return [Math.ceil((b - T) / (1e3 * 60 * 60 * 24))];
|
|
2317
2102
|
}
|
|
2318
|
-
var
|
|
2103
|
+
var Di = (
|
|
2319
2104
|
/** @class */
|
|
2320
2105
|
function() {
|
|
2321
2106
|
function t(e) {
|
|
@@ -2323,11 +2108,11 @@ var Ls = (
|
|
|
2323
2108
|
}
|
|
2324
2109
|
return t.prototype.rebuild = function(e, n) {
|
|
2325
2110
|
var r = this.options;
|
|
2326
|
-
if (e !== this.lastyear && (this.yearinfo =
|
|
2111
|
+
if (e !== this.lastyear && (this.yearinfo = Ci(e, r)), X(r.bynweekday) && (n !== this.lastmonth || e !== this.lastyear)) {
|
|
2327
2112
|
var a = this.yearinfo, i = a.yearlen, s = a.mrange, l = a.wdaymask;
|
|
2328
|
-
this.monthinfo =
|
|
2113
|
+
this.monthinfo = xi(e, n, i, s, l, r);
|
|
2329
2114
|
}
|
|
2330
|
-
|
|
2115
|
+
G(r.byeaster) && (this.eastermask = _i(e, r.byeaster));
|
|
2331
2116
|
}, Object.defineProperty(t.prototype, "lastyear", {
|
|
2332
2117
|
get: function() {
|
|
2333
2118
|
return this.monthinfo ? this.monthinfo.lastyear : null;
|
|
@@ -2401,17 +2186,17 @@ var Ls = (
|
|
|
2401
2186
|
enumerable: !1,
|
|
2402
2187
|
configurable: !0
|
|
2403
2188
|
}), t.prototype.ydayset = function() {
|
|
2404
|
-
return [
|
|
2189
|
+
return [be(this.yearlen), 0, this.yearlen];
|
|
2405
2190
|
}, t.prototype.mdayset = function(e, n) {
|
|
2406
|
-
for (var r = this.mrange[n - 1], a = this.mrange[n], i =
|
|
2191
|
+
for (var r = this.mrange[n - 1], a = this.mrange[n], i = I(null, this.yearlen), s = r; s < a; s++)
|
|
2407
2192
|
i[s] = s;
|
|
2408
2193
|
return [i, r, a];
|
|
2409
2194
|
}, t.prototype.wdayset = function(e, n, r) {
|
|
2410
|
-
for (var a =
|
|
2195
|
+
for (var a = I(null, this.yearlen + 7), i = Mt(Me(e, n, r)) - this.yearordinal, s = i, l = 0; l < 7 && (a[i] = i, ++i, this.wdaymask[i] !== this.options.wkst); l++)
|
|
2411
2196
|
;
|
|
2412
2197
|
return [a, s, i];
|
|
2413
2198
|
}, t.prototype.ddayset = function(e, n, r) {
|
|
2414
|
-
var a =
|
|
2199
|
+
var a = I(null, this.yearlen), i = Mt(Me(e, n, r)) - this.yearordinal;
|
|
2415
2200
|
return a[i] = i, [a, i, i + 1];
|
|
2416
2201
|
}, t.prototype.htimeset = function(e, n, r, a) {
|
|
2417
2202
|
var i = this, s = [];
|
|
@@ -2427,117 +2212,117 @@ var Ls = (
|
|
|
2427
2212
|
return [new ut(e, n, r, a)];
|
|
2428
2213
|
}, t.prototype.getdayset = function(e) {
|
|
2429
2214
|
switch (e) {
|
|
2430
|
-
case
|
|
2215
|
+
case N.YEARLY:
|
|
2431
2216
|
return this.ydayset.bind(this);
|
|
2432
|
-
case
|
|
2217
|
+
case N.MONTHLY:
|
|
2433
2218
|
return this.mdayset.bind(this);
|
|
2434
|
-
case
|
|
2219
|
+
case N.WEEKLY:
|
|
2435
2220
|
return this.wdayset.bind(this);
|
|
2436
|
-
case
|
|
2221
|
+
case N.DAILY:
|
|
2437
2222
|
return this.ddayset.bind(this);
|
|
2438
2223
|
default:
|
|
2439
2224
|
return this.ddayset.bind(this);
|
|
2440
2225
|
}
|
|
2441
2226
|
}, t.prototype.gettimeset = function(e) {
|
|
2442
2227
|
switch (e) {
|
|
2443
|
-
case
|
|
2228
|
+
case N.HOURLY:
|
|
2444
2229
|
return this.htimeset.bind(this);
|
|
2445
|
-
case
|
|
2230
|
+
case N.MINUTELY:
|
|
2446
2231
|
return this.mtimeset.bind(this);
|
|
2447
|
-
case
|
|
2232
|
+
case N.SECONDLY:
|
|
2448
2233
|
return this.stimeset.bind(this);
|
|
2449
2234
|
}
|
|
2450
2235
|
}, t;
|
|
2451
2236
|
}()
|
|
2452
2237
|
);
|
|
2453
|
-
function
|
|
2238
|
+
function Ri(t, e, n, r, a, i) {
|
|
2454
2239
|
for (var s = [], l = 0; l < t.length; l++) {
|
|
2455
2240
|
var o = void 0, u = void 0, d = t[l];
|
|
2456
|
-
d < 0 ? (o = Math.floor(d / e.length), u =
|
|
2241
|
+
d < 0 ? (o = Math.floor(d / e.length), u = de(d, e.length)) : (o = Math.floor((d - 1) / e.length), u = de(d - 1, e.length));
|
|
2457
2242
|
for (var f = [], h = n; h < r; h++) {
|
|
2458
2243
|
var y = i[h];
|
|
2459
|
-
|
|
2244
|
+
G(y) && f.push(y);
|
|
2460
2245
|
}
|
|
2461
2246
|
var p = void 0;
|
|
2462
2247
|
o < 0 ? p = f.slice(o)[0] : p = f[o];
|
|
2463
|
-
var v = e[u], b =
|
|
2464
|
-
|
|
2248
|
+
var v = e[u], b = yr(a.yearordinal + p), T = pr(b, v);
|
|
2249
|
+
j(s, T) || s.push(T);
|
|
2465
2250
|
}
|
|
2466
2251
|
return Ve(s), s;
|
|
2467
2252
|
}
|
|
2468
|
-
function
|
|
2253
|
+
function gr(t, e) {
|
|
2469
2254
|
var n = e.dtstart, r = e.freq, a = e.interval, i = e.until, s = e.bysetpos, l = e.count;
|
|
2470
2255
|
if (l === 0 || a === 0)
|
|
2471
|
-
return
|
|
2472
|
-
var o =
|
|
2256
|
+
return Ee(t);
|
|
2257
|
+
var o = ii.fromDate(n), u = new Di(e);
|
|
2473
2258
|
u.rebuild(o.year, o.month);
|
|
2474
|
-
for (var d =
|
|
2475
|
-
var f = u.getdayset(r)(o.year, o.month, o.day), h = f[0], y = f[1], p = f[2], v =
|
|
2476
|
-
if (
|
|
2477
|
-
for (var b =
|
|
2259
|
+
for (var d = Ai(u, o, e); ; ) {
|
|
2260
|
+
var f = u.getdayset(r)(o.year, o.month, o.day), h = f[0], y = f[1], p = f[2], v = Mi(h, y, p, u, e);
|
|
2261
|
+
if (X(s))
|
|
2262
|
+
for (var b = Ri(s, d, y, p, u, h), T = 0; T < b.length; T++) {
|
|
2478
2263
|
var L = b[T];
|
|
2479
2264
|
if (i && L > i)
|
|
2480
|
-
return
|
|
2265
|
+
return Ee(t);
|
|
2481
2266
|
if (L >= n) {
|
|
2482
|
-
var
|
|
2483
|
-
if (!t.accept(
|
|
2484
|
-
return
|
|
2267
|
+
var Q = Mn(L, e);
|
|
2268
|
+
if (!t.accept(Q) || l && (--l, !l))
|
|
2269
|
+
return Ee(t);
|
|
2485
2270
|
}
|
|
2486
2271
|
}
|
|
2487
2272
|
else
|
|
2488
2273
|
for (var T = y; T < p; T++) {
|
|
2489
2274
|
var ie = h[T];
|
|
2490
|
-
if (
|
|
2491
|
-
for (var
|
|
2492
|
-
var Re = d[
|
|
2275
|
+
if (G(ie))
|
|
2276
|
+
for (var fe = yr(u.yearordinal + ie), V = 0; V < d.length; V++) {
|
|
2277
|
+
var Re = d[V], L = pr(fe, Re);
|
|
2493
2278
|
if (i && L > i)
|
|
2494
|
-
return
|
|
2279
|
+
return Ee(t);
|
|
2495
2280
|
if (L >= n) {
|
|
2496
|
-
var
|
|
2497
|
-
if (!t.accept(
|
|
2498
|
-
return
|
|
2281
|
+
var Q = Mn(L, e);
|
|
2282
|
+
if (!t.accept(Q) || l && (--l, !l))
|
|
2283
|
+
return Ee(t);
|
|
2499
2284
|
}
|
|
2500
2285
|
}
|
|
2501
2286
|
}
|
|
2502
|
-
if (e.interval === 0 || (o.add(e, v), o.year >
|
|
2503
|
-
return
|
|
2504
|
-
|
|
2287
|
+
if (e.interval === 0 || (o.add(e, v), o.year > dr))
|
|
2288
|
+
return Ee(t);
|
|
2289
|
+
qt(r) || (d = u.gettimeset(r)(o.hour, o.minute, o.second, 0)), u.rebuild(o.year, o.month);
|
|
2505
2290
|
}
|
|
2506
2291
|
}
|
|
2507
|
-
function
|
|
2292
|
+
function Li(t, e, n) {
|
|
2508
2293
|
var r = n.bymonth, a = n.byweekno, i = n.byweekday, s = n.byeaster, l = n.bymonthday, o = n.bynmonthday, u = n.byyearday;
|
|
2509
|
-
return
|
|
2294
|
+
return X(r) && !j(r, t.mmask[e]) || X(a) && !t.wnomask[e] || X(i) && !j(i, t.wdaymask[e]) || X(t.nwdaymask) && !t.nwdaymask[e] || s !== null && !j(t.eastermask, e) || (X(l) || X(o)) && !j(l, t.mdaymask[e]) && !j(o, t.nmdaymask[e]) || X(u) && (e < t.yearlen && !j(u, e + 1) && !j(u, -t.yearlen + e) || e >= t.yearlen && !j(u, e + 1 - t.yearlen) && !j(u, -t.nextyearlen + e - t.yearlen));
|
|
2510
2295
|
}
|
|
2511
|
-
function
|
|
2296
|
+
function Mn(t, e) {
|
|
2512
2297
|
return new ft(t, e.tzid).rezonedDate();
|
|
2513
2298
|
}
|
|
2514
|
-
function
|
|
2299
|
+
function Ee(t) {
|
|
2515
2300
|
return t.getValue();
|
|
2516
2301
|
}
|
|
2517
|
-
function
|
|
2302
|
+
function Mi(t, e, n, r, a) {
|
|
2518
2303
|
for (var i = !1, s = e; s < n; s++) {
|
|
2519
2304
|
var l = t[s];
|
|
2520
|
-
i =
|
|
2305
|
+
i = Li(r, l, a), i && (t[l] = null);
|
|
2521
2306
|
}
|
|
2522
2307
|
return i;
|
|
2523
2308
|
}
|
|
2524
|
-
function
|
|
2309
|
+
function Ai(t, e, n) {
|
|
2525
2310
|
var r = n.freq, a = n.byhour, i = n.byminute, s = n.bysecond;
|
|
2526
|
-
return
|
|
2527
|
-
}
|
|
2528
|
-
var
|
|
2529
|
-
MO: new
|
|
2530
|
-
TU: new
|
|
2531
|
-
WE: new
|
|
2532
|
-
TH: new
|
|
2533
|
-
FR: new
|
|
2534
|
-
SA: new
|
|
2535
|
-
SU: new
|
|
2536
|
-
},
|
|
2537
|
-
freq:
|
|
2311
|
+
return qt(r) ? oi(n) : r >= O.HOURLY && X(a) && !j(a, e.hour) || r >= O.MINUTELY && X(i) && !j(i, e.minute) || r >= O.SECONDLY && X(s) && !j(s, e.second) ? [] : t.gettimeset(r)(e.hour, e.minute, e.second, e.millisecond);
|
|
2312
|
+
}
|
|
2313
|
+
var pe = {
|
|
2314
|
+
MO: new ae(0),
|
|
2315
|
+
TU: new ae(1),
|
|
2316
|
+
WE: new ae(2),
|
|
2317
|
+
TH: new ae(3),
|
|
2318
|
+
FR: new ae(4),
|
|
2319
|
+
SA: new ae(5),
|
|
2320
|
+
SU: new ae(6)
|
|
2321
|
+
}, Kt = {
|
|
2322
|
+
freq: N.YEARLY,
|
|
2538
2323
|
dtstart: null,
|
|
2539
2324
|
interval: 1,
|
|
2540
|
-
wkst:
|
|
2325
|
+
wkst: pe.MO,
|
|
2541
2326
|
count: null,
|
|
2542
2327
|
until: null,
|
|
2543
2328
|
tzid: null,
|
|
@@ -2553,22 +2338,22 @@ var me = {
|
|
|
2553
2338
|
byminute: null,
|
|
2554
2339
|
bysecond: null,
|
|
2555
2340
|
byeaster: null
|
|
2556
|
-
},
|
|
2341
|
+
}, Ii = Object.keys(Kt), O = (
|
|
2557
2342
|
/** @class */
|
|
2558
2343
|
function() {
|
|
2559
2344
|
function t(e, n) {
|
|
2560
|
-
e === void 0 && (e = {}), n === void 0 && (n = !1), this._cache = n ? null : new
|
|
2561
|
-
var r =
|
|
2345
|
+
e === void 0 && (e = {}), n === void 0 && (n = !1), this._cache = n ? null : new hi(), this.origOptions = vr(e);
|
|
2346
|
+
var r = si(e).parsedOptions;
|
|
2562
2347
|
this.options = r;
|
|
2563
2348
|
}
|
|
2564
2349
|
return t.parseText = function(e, n) {
|
|
2565
|
-
return
|
|
2350
|
+
return mr(e, n);
|
|
2566
2351
|
}, t.fromText = function(e, n) {
|
|
2567
|
-
return
|
|
2352
|
+
return ni(e, n);
|
|
2568
2353
|
}, t.fromString = function(e) {
|
|
2569
2354
|
return new t(t.parseString(e) || void 0);
|
|
2570
2355
|
}, t.prototype._iter = function(e) {
|
|
2571
|
-
return
|
|
2356
|
+
return gr(e, this.options);
|
|
2572
2357
|
}, t.prototype._cacheGet = function(e, n) {
|
|
2573
2358
|
return this._cache ? this._cache._cacheGet(e, n) : !1;
|
|
2574
2359
|
}, t.prototype._cacheAdd = function(e, n, r) {
|
|
@@ -2576,9 +2361,9 @@ var me = {
|
|
|
2576
2361
|
return this._cache._cacheAdd(e, n, r);
|
|
2577
2362
|
}, t.prototype.all = function(e) {
|
|
2578
2363
|
if (e)
|
|
2579
|
-
return this._iter(new
|
|
2364
|
+
return this._iter(new xn("all", {}, e));
|
|
2580
2365
|
var n = this._cacheGet("all");
|
|
2581
|
-
return n === !1 && (n = this._iter(new
|
|
2366
|
+
return n === !1 && (n = this._iter(new We("all", {})), this._cacheAdd("all", n)), n;
|
|
2582
2367
|
}, t.prototype.between = function(e, n, r, a) {
|
|
2583
2368
|
if (r === void 0 && (r = !1), !Je(e) || !Je(n))
|
|
2584
2369
|
throw new Error("Invalid date passed in to RRule.between");
|
|
@@ -2588,27 +2373,27 @@ var me = {
|
|
|
2588
2373
|
inc: r
|
|
2589
2374
|
};
|
|
2590
2375
|
if (a)
|
|
2591
|
-
return this._iter(new
|
|
2376
|
+
return this._iter(new xn("between", i, a));
|
|
2592
2377
|
var s = this._cacheGet("between", i);
|
|
2593
|
-
return s === !1 && (s = this._iter(new
|
|
2378
|
+
return s === !1 && (s = this._iter(new We("between", i)), this._cacheAdd("between", s, i)), s;
|
|
2594
2379
|
}, t.prototype.before = function(e, n) {
|
|
2595
2380
|
if (n === void 0 && (n = !1), !Je(e))
|
|
2596
2381
|
throw new Error("Invalid date passed in to RRule.before");
|
|
2597
2382
|
var r = { dt: e, inc: n }, a = this._cacheGet("before", r);
|
|
2598
|
-
return a === !1 && (a = this._iter(new
|
|
2383
|
+
return a === !1 && (a = this._iter(new We("before", r)), this._cacheAdd("before", a, r)), a;
|
|
2599
2384
|
}, t.prototype.after = function(e, n) {
|
|
2600
2385
|
if (n === void 0 && (n = !1), !Je(e))
|
|
2601
2386
|
throw new Error("Invalid date passed in to RRule.after");
|
|
2602
2387
|
var r = { dt: e, inc: n }, a = this._cacheGet("after", r);
|
|
2603
|
-
return a === !1 && (a = this._iter(new
|
|
2388
|
+
return a === !1 && (a = this._iter(new We("after", r)), this._cacheAdd("after", a, r)), a;
|
|
2604
2389
|
}, t.prototype.count = function() {
|
|
2605
2390
|
return this.all().length;
|
|
2606
2391
|
}, t.prototype.toString = function() {
|
|
2607
|
-
return
|
|
2392
|
+
return Ut(this.origOptions);
|
|
2608
2393
|
}, t.prototype.toText = function(e, n, r) {
|
|
2609
|
-
return
|
|
2394
|
+
return ri(this, e, n, r);
|
|
2610
2395
|
}, t.prototype.isFullyConvertibleToText = function() {
|
|
2611
|
-
return
|
|
2396
|
+
return ai(this);
|
|
2612
2397
|
}, t.prototype.clone = function() {
|
|
2613
2398
|
return new t(this.origOptions);
|
|
2614
2399
|
}, t.FREQUENCIES = [
|
|
@@ -2619,10 +2404,10 @@ var me = {
|
|
|
2619
2404
|
"HOURLY",
|
|
2620
2405
|
"MINUTELY",
|
|
2621
2406
|
"SECONDLY"
|
|
2622
|
-
], t.YEARLY =
|
|
2407
|
+
], t.YEARLY = N.YEARLY, t.MONTHLY = N.MONTHLY, t.WEEKLY = N.WEEKLY, t.DAILY = N.DAILY, t.HOURLY = N.HOURLY, t.MINUTELY = N.MINUTELY, t.SECONDLY = N.SECONDLY, t.MO = pe.MO, t.TU = pe.TU, t.WE = pe.WE, t.TH = pe.TH, t.FR = pe.FR, t.SA = pe.SA, t.SU = pe.SU, t.parseString = Nt, t.optionsToString = Ut, t;
|
|
2623
2408
|
}()
|
|
2624
2409
|
);
|
|
2625
|
-
function
|
|
2410
|
+
function Ni(t, e, n, r, a, i) {
|
|
2626
2411
|
var s = {}, l = t.accept;
|
|
2627
2412
|
function o(h, y) {
|
|
2628
2413
|
n.forEach(function(p) {
|
|
@@ -2647,7 +2432,7 @@ function Ys(t, e, n, r, a, i) {
|
|
|
2647
2432
|
break;
|
|
2648
2433
|
}
|
|
2649
2434
|
e.forEach(function(h) {
|
|
2650
|
-
|
|
2435
|
+
gr(t, h.options);
|
|
2651
2436
|
});
|
|
2652
2437
|
var f = t._result;
|
|
2653
2438
|
switch (Ve(f), t.method) {
|
|
@@ -2669,29 +2454,29 @@ var An = {
|
|
|
2669
2454
|
compatible: !1,
|
|
2670
2455
|
tzid: null
|
|
2671
2456
|
};
|
|
2672
|
-
function
|
|
2673
|
-
var n = [], r = [], a = [], i = [], s = dt(t), l = s.dtstart, o = s.tzid, u =
|
|
2457
|
+
function Ui(t, e) {
|
|
2458
|
+
var n = [], r = [], a = [], i = [], s = dt(t), l = s.dtstart, o = s.tzid, u = Wi(t, e.unfold);
|
|
2674
2459
|
return u.forEach(function(d) {
|
|
2675
2460
|
var f;
|
|
2676
2461
|
if (d) {
|
|
2677
|
-
var h =
|
|
2462
|
+
var h = ji(d), y = h.name, p = h.parms, v = h.value;
|
|
2678
2463
|
switch (y.toUpperCase()) {
|
|
2679
2464
|
case "RRULE":
|
|
2680
2465
|
if (p.length)
|
|
2681
2466
|
throw new Error("unsupported RRULE parm: ".concat(p.join(",")));
|
|
2682
|
-
n.push(
|
|
2467
|
+
n.push(Nt(d));
|
|
2683
2468
|
break;
|
|
2684
2469
|
case "RDATE":
|
|
2685
2470
|
var b = (f = /RDATE(?:;TZID=([^:=]+))?/i.exec(d)) !== null && f !== void 0 ? f : [], T = b[1];
|
|
2686
|
-
T && !o && (o = T), r = r.concat(
|
|
2471
|
+
T && !o && (o = T), r = r.concat(Nn(v, p));
|
|
2687
2472
|
break;
|
|
2688
2473
|
case "EXRULE":
|
|
2689
2474
|
if (p.length)
|
|
2690
2475
|
throw new Error("unsupported EXRULE parm: ".concat(p.join(",")));
|
|
2691
|
-
a.push(
|
|
2476
|
+
a.push(Nt(v));
|
|
2692
2477
|
break;
|
|
2693
2478
|
case "EXDATE":
|
|
2694
|
-
i = i.concat(
|
|
2479
|
+
i = i.concat(Nn(v, p));
|
|
2695
2480
|
break;
|
|
2696
2481
|
case "DTSTART":
|
|
2697
2482
|
break;
|
|
@@ -2708,51 +2493,51 @@ function Hs(t, e) {
|
|
|
2708
2493
|
exdatevals: i
|
|
2709
2494
|
};
|
|
2710
2495
|
}
|
|
2711
|
-
function
|
|
2712
|
-
var n =
|
|
2496
|
+
function Pi(t, e) {
|
|
2497
|
+
var n = Ui(t, e), r = n.rrulevals, a = n.rdatevals, i = n.exrulevals, s = n.exdatevals, l = n.dtstart, o = n.tzid, u = e.cache === !1;
|
|
2713
2498
|
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || a.length || i.length || s.length) {
|
|
2714
|
-
var d = new
|
|
2499
|
+
var d = new zi(u);
|
|
2715
2500
|
return d.dtstart(l), d.tzid(o || void 0), r.forEach(function(h) {
|
|
2716
|
-
d.rrule(new
|
|
2501
|
+
d.rrule(new O(St(h, l, o), u));
|
|
2717
2502
|
}), a.forEach(function(h) {
|
|
2718
2503
|
d.rdate(h);
|
|
2719
2504
|
}), i.forEach(function(h) {
|
|
2720
|
-
d.exrule(new
|
|
2505
|
+
d.exrule(new O(St(h, l, o), u));
|
|
2721
2506
|
}), s.forEach(function(h) {
|
|
2722
2507
|
d.exdate(h);
|
|
2723
2508
|
}), e.compatible && e.dtstart && d.rdate(l), d;
|
|
2724
2509
|
}
|
|
2725
2510
|
var f = r[0] || {};
|
|
2726
|
-
return new
|
|
2511
|
+
return new O(St(f, f.dtstart || e.dtstart || l, f.tzid || e.tzid || o), u);
|
|
2727
2512
|
}
|
|
2728
|
-
function
|
|
2729
|
-
return e === void 0 && (e = {}),
|
|
2513
|
+
function In(t, e) {
|
|
2514
|
+
return e === void 0 && (e = {}), Pi(t, Yi(e));
|
|
2730
2515
|
}
|
|
2731
|
-
function
|
|
2732
|
-
return
|
|
2516
|
+
function St(t, e, n) {
|
|
2517
|
+
return ce(ce({}, t), { dtstart: e, tzid: n });
|
|
2733
2518
|
}
|
|
2734
|
-
function
|
|
2519
|
+
function Yi(t) {
|
|
2735
2520
|
var e = [], n = Object.keys(t), r = Object.keys(An);
|
|
2736
2521
|
if (n.forEach(function(a) {
|
|
2737
|
-
|
|
2522
|
+
j(r, a) || e.push(a);
|
|
2738
2523
|
}), e.length)
|
|
2739
2524
|
throw new Error("Invalid options: " + e.join(", "));
|
|
2740
|
-
return
|
|
2525
|
+
return ce(ce({}, An), t);
|
|
2741
2526
|
}
|
|
2742
|
-
function
|
|
2527
|
+
function Hi(t) {
|
|
2743
2528
|
if (t.indexOf(":") === -1)
|
|
2744
2529
|
return {
|
|
2745
2530
|
name: "RRULE",
|
|
2746
2531
|
value: t
|
|
2747
2532
|
};
|
|
2748
|
-
var e =
|
|
2533
|
+
var e = Ka(t, ":", 1), n = e[0], r = e[1];
|
|
2749
2534
|
return {
|
|
2750
2535
|
name: n,
|
|
2751
2536
|
value: r
|
|
2752
2537
|
};
|
|
2753
2538
|
}
|
|
2754
|
-
function
|
|
2755
|
-
var e =
|
|
2539
|
+
function ji(t) {
|
|
2540
|
+
var e = Hi(t), n = e.name, r = e.value, a = n.split(";");
|
|
2756
2541
|
if (!a)
|
|
2757
2542
|
throw new Error("empty property name");
|
|
2758
2543
|
return {
|
|
@@ -2761,7 +2546,7 @@ function zs(t) {
|
|
|
2761
2546
|
value: r
|
|
2762
2547
|
};
|
|
2763
2548
|
}
|
|
2764
|
-
function
|
|
2549
|
+
function Wi(t, e) {
|
|
2765
2550
|
if (e === void 0 && (e = !1), t = t && t.trim(), !t)
|
|
2766
2551
|
throw new Error("Invalid empty string");
|
|
2767
2552
|
if (!e)
|
|
@@ -2773,18 +2558,18 @@ function Bs(t, e) {
|
|
|
2773
2558
|
}
|
|
2774
2559
|
return n;
|
|
2775
2560
|
}
|
|
2776
|
-
function
|
|
2561
|
+
function Fi(t) {
|
|
2777
2562
|
t.forEach(function(e) {
|
|
2778
2563
|
if (!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))
|
|
2779
2564
|
throw new Error("unsupported RDATE/EXDATE parm: " + e);
|
|
2780
2565
|
});
|
|
2781
2566
|
}
|
|
2782
|
-
function
|
|
2783
|
-
return
|
|
2784
|
-
return
|
|
2567
|
+
function Nn(t, e) {
|
|
2568
|
+
return Fi(e), t.split(",").map(function(n) {
|
|
2569
|
+
return zt(n);
|
|
2785
2570
|
});
|
|
2786
2571
|
}
|
|
2787
|
-
function
|
|
2572
|
+
function Un(t) {
|
|
2788
2573
|
var e = this;
|
|
2789
2574
|
return function(n) {
|
|
2790
2575
|
if (n !== void 0 && (e["_".concat(t)] = n), e["_".concat(t)] !== void 0)
|
|
@@ -2796,32 +2581,32 @@ function Pn(t) {
|
|
|
2796
2581
|
}
|
|
2797
2582
|
};
|
|
2798
2583
|
}
|
|
2799
|
-
var
|
|
2584
|
+
var zi = (
|
|
2800
2585
|
/** @class */
|
|
2801
2586
|
function(t) {
|
|
2802
|
-
|
|
2587
|
+
Bt(e, t);
|
|
2803
2588
|
function e(n) {
|
|
2804
2589
|
n === void 0 && (n = !1);
|
|
2805
2590
|
var r = t.call(this, {}, n) || this;
|
|
2806
|
-
return r.dtstart =
|
|
2591
|
+
return r.dtstart = Un.apply(r, ["dtstart"]), r.tzid = Un.apply(r, ["tzid"]), r._rrule = [], r._rdate = [], r._exrule = [], r._exdate = [], r;
|
|
2807
2592
|
}
|
|
2808
2593
|
return e.prototype._iter = function(n) {
|
|
2809
|
-
return
|
|
2594
|
+
return Ni(n, this._rrule, this._exrule, this._rdate, this._exdate, this.tzid());
|
|
2810
2595
|
}, e.prototype.rrule = function(n) {
|
|
2811
|
-
|
|
2596
|
+
Pn(n, this._rrule);
|
|
2812
2597
|
}, e.prototype.exrule = function(n) {
|
|
2813
|
-
|
|
2598
|
+
Pn(n, this._exrule);
|
|
2814
2599
|
}, e.prototype.rdate = function(n) {
|
|
2815
|
-
|
|
2600
|
+
Yn(n, this._rdate);
|
|
2816
2601
|
}, e.prototype.exdate = function(n) {
|
|
2817
|
-
|
|
2602
|
+
Yn(n, this._exdate);
|
|
2818
2603
|
}, e.prototype.rrules = function() {
|
|
2819
2604
|
return this._rrule.map(function(n) {
|
|
2820
|
-
return
|
|
2605
|
+
return In(n.toString());
|
|
2821
2606
|
});
|
|
2822
2607
|
}, e.prototype.exrules = function() {
|
|
2823
2608
|
return this._exrule.map(function(n) {
|
|
2824
|
-
return
|
|
2609
|
+
return In(n.toString());
|
|
2825
2610
|
});
|
|
2826
2611
|
}, e.prototype.rdates = function() {
|
|
2827
2612
|
return this._rdate.map(function(n) {
|
|
@@ -2833,7 +2618,7 @@ var Ks = (
|
|
|
2833
2618
|
});
|
|
2834
2619
|
}, e.prototype.valueOf = function() {
|
|
2835
2620
|
var n = [];
|
|
2836
|
-
return !this._rrule.length && this._dtstart && (n = n.concat(
|
|
2621
|
+
return !this._rrule.length && this._dtstart && (n = n.concat(Ut({ dtstart: this._dtstart }))), this._rrule.forEach(function(r) {
|
|
2837
2622
|
n = n.concat(r.toString().split(`
|
|
2838
2623
|
`));
|
|
2839
2624
|
}), this._exrule.forEach(function(r) {
|
|
@@ -2843,7 +2628,7 @@ var Ks = (
|
|
|
2843
2628
|
}).filter(function(a) {
|
|
2844
2629
|
return !/^DTSTART/.test(a);
|
|
2845
2630
|
}));
|
|
2846
|
-
}), this._rdate.length && n.push(
|
|
2631
|
+
}), this._rdate.length && n.push(Hn("RDATE", this._rdate, this.tzid())), this._exdate.length && n.push(Hn("EXDATE", this._exdate, this.tzid())), n;
|
|
2847
2632
|
}, e.prototype.toString = function() {
|
|
2848
2633
|
return this.valueOf().join(`
|
|
2849
2634
|
`);
|
|
@@ -2859,172 +2644,30 @@ var Ks = (
|
|
|
2859
2644
|
return n.exdate(new Date(r.getTime()));
|
|
2860
2645
|
}), n;
|
|
2861
2646
|
}, e;
|
|
2862
|
-
}(
|
|
2647
|
+
}(O)
|
|
2863
2648
|
);
|
|
2864
|
-
function
|
|
2865
|
-
if (!(t instanceof
|
|
2649
|
+
function Pn(t, e) {
|
|
2650
|
+
if (!(t instanceof O))
|
|
2866
2651
|
throw new TypeError(String(t) + " is not RRule instance");
|
|
2867
|
-
|
|
2652
|
+
j(e.map(String), String(t)) || e.push(t);
|
|
2868
2653
|
}
|
|
2869
|
-
function
|
|
2654
|
+
function Yn(t, e) {
|
|
2870
2655
|
if (!(t instanceof Date))
|
|
2871
2656
|
throw new TypeError(String(t) + " is not Date instance");
|
|
2872
|
-
|
|
2657
|
+
j(e.map(Number), Number(t)) || (e.push(t), Ve(e));
|
|
2873
2658
|
}
|
|
2874
|
-
function
|
|
2659
|
+
function Hn(t, e, n) {
|
|
2875
2660
|
var r = !n || n.toUpperCase() === "UTC", a = r ? "".concat(t, ":") : "".concat(t, ";TZID=").concat(n, ":"), i = e.map(function(s) {
|
|
2876
|
-
return
|
|
2661
|
+
return Ft(s.valueOf(), r);
|
|
2877
2662
|
}).join(",");
|
|
2878
2663
|
return "".concat(a).concat(i);
|
|
2879
2664
|
}
|
|
2880
|
-
function
|
|
2881
|
-
window && window.localStorage && window.localStorage.getItem("debug") && console.debug(...t);
|
|
2882
|
-
}
|
|
2883
|
-
function gi(...t) {
|
|
2884
|
-
console.error(...t);
|
|
2885
|
-
}
|
|
2886
|
-
function bi() {
|
|
2887
|
-
return Math.random().toString(36).substr(2, 9);
|
|
2888
|
-
}
|
|
2889
|
-
function $i(t) {
|
|
2890
|
-
return t.toString().replace(/^on/, "");
|
|
2891
|
-
}
|
|
2892
|
-
function wi(t) {
|
|
2893
|
-
const e = new Date(t * 1e3), n = /* @__PURE__ */ new Date(), r = new Date(n.getFullYear(), n.getMonth(), n.getDate());
|
|
2894
|
-
return e >= r ? new Intl.DateTimeFormat("default", {
|
|
2895
|
-
hour: "numeric",
|
|
2896
|
-
minute: "numeric",
|
|
2897
|
-
hour12: !0
|
|
2898
|
-
}).format(e) : new Intl.DateTimeFormat("default", {
|
|
2899
|
-
month: "short",
|
|
2900
|
-
day: "numeric"
|
|
2901
|
-
}).format(e);
|
|
2902
|
-
}
|
|
2903
|
-
function Ei(t) {
|
|
2904
|
-
return t.name ? `${t.name} - ${t.email}` : t.email;
|
|
2905
|
-
}
|
|
2906
|
-
function ki(t, e = "", n = 1, r = 3) {
|
|
2907
|
-
const a = t.find((o) => {
|
|
2908
|
-
var u;
|
|
2909
|
-
return ((u = o.email) == null ? void 0 : u.toLowerCase()) === e.toLowerCase();
|
|
2910
|
-
}), i = t.filter((o) => {
|
|
2911
|
-
var u;
|
|
2912
|
-
return ((u = o.email) == null ? void 0 : u.toLowerCase()) !== e.toLowerCase();
|
|
2913
|
-
}), s = i.length, l = i.slice(0, r).map((o) => o.name || o.email).join(", ");
|
|
2914
|
-
return s === 0 ? a ? "me" : "" : s === 1 ? a && n > 1 ? `me, ${l}` : l : s === 2 ? a ? `me, ${l}` : `${l}` : a ? `me, ${l}, +${s - r}` : `${l}, +${s - r}`;
|
|
2915
|
-
}
|
|
2916
|
-
const Fn = [
|
|
2917
|
-
{ amount: 60, name: "seconds" },
|
|
2918
|
-
{ amount: 60, name: "minutes" },
|
|
2919
|
-
{ amount: 24, name: "hours" },
|
|
2920
|
-
{ amount: 7, name: "days" },
|
|
2921
|
-
{ amount: 4.34524, name: "weeks" },
|
|
2922
|
-
{ amount: 12, name: "months" },
|
|
2923
|
-
{ amount: Number.POSITIVE_INFINITY, name: "years" }
|
|
2924
|
-
], Ti = (t) => {
|
|
2925
|
-
const e = new Intl.RelativeTimeFormat(void 0, {
|
|
2926
|
-
numeric: "auto"
|
|
2927
|
-
}), n = /* @__PURE__ */ new Date();
|
|
2928
|
-
let r = (t.getTime() - n.getTime()) / 1e3;
|
|
2929
|
-
for (let a = 0; a <= Fn.length; a++) {
|
|
2930
|
-
const i = Fn[a];
|
|
2931
|
-
if (Math.abs(r) < i.amount)
|
|
2932
|
-
return e.format(Math.round(r), i.name);
|
|
2933
|
-
r /= i.amount;
|
|
2934
|
-
}
|
|
2935
|
-
};
|
|
2936
|
-
function Si(t) {
|
|
2937
|
-
return new Date(t.getFullYear(), t.getMonth() + 1, 0);
|
|
2938
|
-
}
|
|
2939
|
-
function Ci(t) {
|
|
2940
|
-
return new Date(t.getFullYear(), t.getMonth(), 1);
|
|
2941
|
-
}
|
|
2942
|
-
function xi(t, e) {
|
|
2943
|
-
return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth() && t.getDate() === e.getDate();
|
|
2944
|
-
}
|
|
2945
|
-
function Oi(t, e) {
|
|
2946
|
-
return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth();
|
|
2947
|
-
}
|
|
2948
|
-
function _i(t) {
|
|
2949
|
-
return t.replace(/\w\S*/g, (e) => e.charAt(0).toUpperCase() + e.substr(1).toLowerCase());
|
|
2950
|
-
}
|
|
2951
|
-
function Di(t) {
|
|
2952
|
-
return t.replace("CATEGORY_", "").replace(/_/g, " ");
|
|
2953
|
-
}
|
|
2954
|
-
function Gs(t) {
|
|
2955
|
-
return /<[^>]*>/g.test(t) ? "html" : "plain";
|
|
2956
|
-
}
|
|
2957
|
-
function Mi(t) {
|
|
2958
|
-
var a, i;
|
|
2959
|
-
const e = t.headers, n = e && ((a = e.find((s) => s.name === "Content-Type")) == null ? void 0 : a.value) || "", r = e && ((i = e.find((s) => s.name === "Content-Disposition")) == null ? void 0 : i.value) || "";
|
|
2960
|
-
return !!(n.includes("text/html") || r.includes("inline") || t.body && Gs(t.body) === "html");
|
|
2961
|
-
}
|
|
2962
|
-
function Ri(t) {
|
|
2963
|
-
let r = t.split(`
|
|
2964
|
-
`).filter((i) => i.trim().length > 0).map((i) => `<p>${i}</p>`).join("");
|
|
2965
|
-
const a = /((?:https?|ftp):\/\/[^\s]+)/g;
|
|
2966
|
-
return r = r.replace(a, '<a href="$1">$1</a>'), r;
|
|
2967
|
-
}
|
|
2968
|
-
function Li(t) {
|
|
2969
|
-
return new DOMParser().parseFromString(t, "text/html").body.textContent || "";
|
|
2970
|
-
}
|
|
2971
|
-
const Ii = (t) => t === "" ? !0 : /^(0[0-9]|1[0-2]|^[0-9])(:[0-5][0-9][ap]m?|:[0-5][0-9]|:[0-5]|:)?$/i.test(t), Ai = (t) => /^(0[1-9]|1[0-2]):([0-5][0-9])(am|pm)$/i.test(t);
|
|
2972
|
-
function Ni(t = null) {
|
|
2973
|
-
let e = yr();
|
|
2974
|
-
t && (e = t);
|
|
2975
|
-
const n = e.minute() % 15;
|
|
2976
|
-
let r;
|
|
2977
|
-
return n !== 0 ? r = e.add(15 - n, "minute") : r = e, r;
|
|
2978
|
-
}
|
|
2979
|
-
function Ui(t) {
|
|
2980
|
-
const e = yr();
|
|
2981
|
-
let n = "";
|
|
2982
|
-
const [r, a] = t.split(":");
|
|
2983
|
-
r.length === 1 ? n += "0" + r : r.length === 2 && (n += r), n += ":", a === void 0 || a == "" ? n += "00" : a.length === 1 ? n += a + "0" : n += a;
|
|
2984
|
-
const i = n.slice(-1);
|
|
2985
|
-
return i === "a" && (n += "m"), i === "p" && (n += "m"), n.slice(-1) !== "m" && (n.split(":")[0] == "00" ? n += "am" : n += e.format("a")), n;
|
|
2986
|
-
}
|
|
2987
|
-
function Pi(t) {
|
|
2988
|
-
const [e, n] = t.split(":").map((l) => parseInt(l, 10));
|
|
2989
|
-
let r = e;
|
|
2990
|
-
const a = r >= 12 ? "pm" : "am";
|
|
2991
|
-
r = r % 12, r = r || 12;
|
|
2992
|
-
const i = r.toString().padStart(2, "0"), s = n.toString().padStart(2, "0");
|
|
2993
|
-
return `${i}:${s}${a}`;
|
|
2994
|
-
}
|
|
2995
|
-
function Yi(t) {
|
|
2996
|
-
const [e, n] = t.split(/(am|pm)/i), [r, a] = e.split(":").map((s) => parseInt(s, 10));
|
|
2997
|
-
let i = r;
|
|
2998
|
-
return n.toLowerCase() === "pm" && i < 12 ? i += 12 : n.toLowerCase() === "am" && i === 12 && (i = 0), `${i.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
2999
|
-
}
|
|
3000
|
-
function Hi(t) {
|
|
3001
|
-
const [e, n] = t.match(/(\d+):(\d+)(am|pm)/).slice(1);
|
|
3002
|
-
let r = parseInt(e, 10) * 60 + parseInt(n, 10);
|
|
3003
|
-
return t.includes("pm") && parseInt(e, 10) < 12 && (r += 12 * 60), t.includes("am") && parseInt(e, 10) === 12 && (r -= 12 * 60), r;
|
|
3004
|
-
}
|
|
3005
|
-
function ji(t) {
|
|
3006
|
-
const e = Math.floor(t / 60), n = t % 60;
|
|
3007
|
-
return `${e}:${n < 10 ? "0" : ""}${n}`;
|
|
3008
|
-
}
|
|
3009
|
-
function Fi() {
|
|
3010
|
-
const t = navigator.userAgent, e = /Chrome/.test(t) && /Google Inc/.test(navigator.vendor), n = /Safari/.test(t) && /Apple Computer/.test(navigator.vendor), r = /Firefox/.test(t), a = /Trident/.test(t), i = /Edge/.test(t);
|
|
3011
|
-
return e && /Edg/.test(t) ? "Edge (Chromium)" : e ? "Chrome" : n ? "Safari" : r ? "Firefox" : a ? "Internet Explorer" : i ? "Edge (Legacy)" : "Unknown";
|
|
3012
|
-
}
|
|
3013
|
-
function Wn(t, e = null) {
|
|
2665
|
+
function jn(t, e = null) {
|
|
3014
2666
|
return e ? [null, e] : [t, null];
|
|
3015
2667
|
}
|
|
3016
|
-
|
|
3017
|
-
const n = {
|
|
3018
|
-
"config.id": e == null ? void 0 : e.id,
|
|
3019
|
-
id: e == null ? void 0 : e.id
|
|
3020
|
-
};
|
|
3021
|
-
return Object.keys(n).forEach((r) => {
|
|
3022
|
-
t = t.replace(`{${r}}`, n[r]);
|
|
3023
|
-
}), t;
|
|
3024
|
-
}
|
|
3025
|
-
class zi {
|
|
2668
|
+
class cs {
|
|
3026
2669
|
constructor(e) {
|
|
3027
|
-
this.session = e;
|
|
2670
|
+
this.defaultAuthArgs = {}, this.session = e;
|
|
3028
2671
|
}
|
|
3029
2672
|
setActiveGrantId(e) {
|
|
3030
2673
|
this.activeGrantId = e;
|
|
@@ -3037,9 +2680,11 @@ class zi {
|
|
|
3037
2680
|
body: r,
|
|
3038
2681
|
...this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}
|
|
3039
2682
|
});
|
|
3040
|
-
|
|
2683
|
+
if (typeof i > "u")
|
|
2684
|
+
throw new Error("Response is undefined");
|
|
2685
|
+
return jn(i);
|
|
3041
2686
|
} catch (i) {
|
|
3042
|
-
return
|
|
2687
|
+
return jn(null, {
|
|
3043
2688
|
message: String(i)
|
|
3044
2689
|
});
|
|
3045
2690
|
}
|
|
@@ -3053,11 +2698,15 @@ class zi {
|
|
|
3053
2698
|
} : null;
|
|
3054
2699
|
}
|
|
3055
2700
|
async authenticationUrl(e) {
|
|
3056
|
-
|
|
2701
|
+
let n = this.defaultAuthArgs || {};
|
|
2702
|
+
return e && (n = { ...n, ...e }), this.session.auth(n);
|
|
2703
|
+
}
|
|
2704
|
+
setDefaultAuthArgs(e) {
|
|
2705
|
+
this.defaultAuthArgs = e;
|
|
3057
2706
|
}
|
|
3058
2707
|
}
|
|
3059
|
-
|
|
3060
|
-
function
|
|
2708
|
+
Fa({});
|
|
2709
|
+
function us() {
|
|
3061
2710
|
var t = [];
|
|
3062
2711
|
if (typeof window < "u") {
|
|
3063
2712
|
var e = window;
|
|
@@ -3080,12 +2729,12 @@ function Bi() {
|
|
|
3080
2729
|
}
|
|
3081
2730
|
return Promise.all(t);
|
|
3082
2731
|
}
|
|
3083
|
-
async function
|
|
3084
|
-
await import("./elements-dc5b338e-
|
|
2732
|
+
async function Bi() {
|
|
2733
|
+
await import("./elements-dc5b338e-6078b875.js");
|
|
3085
2734
|
}
|
|
3086
|
-
const
|
|
2735
|
+
const qi = Bi, Ki = (t, e) => {
|
|
3087
2736
|
if (!(typeof window > "u"))
|
|
3088
|
-
return Js(), Da(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"defaultRequiresSessionAuth":[1028,"default-requires-session-auth"],"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigStoreState":[16],"mode":[1],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"defaultRequiresSessionAuth":["defaultRequiresSessionAuthChanged"],"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]}]]],["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-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["globe-icon",[[2,"globe-icon",{"width":[1],"height":[1]}]]],["close-icon",[[2,"close-icon",{"width":[1],"height":[1]}]]],["chevron-icon_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"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"],[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]}],[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}],[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_4",[[2,"nylas-editor-tabs",{"calendars":[16],"config":[16],"currentUser":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"action":[32],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32]},[[0,"valueChanged","handleValueChanged"]],{"config":["configChangedHandler"]}],[1,"nylas-list-configurations",{"configurations":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"state":[32],"getState":[64],"setState":[64]}],[2,"google-logo-icon",{"width":[1],"height":[1]}],[2,"microsoft-logo-icon",{"width":[1],"height":[1]}]]],["calendar-check-icon_2",[[2,"calendar-check-icon",{"width":[1],"height":[1]}],[2,"checkmark-circle-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-icon",{"width":[1],"height":[1]}]]],["bold-icon_3",[[2,"bold-icon",{"width":[1],"height":[1]}],[2,"italic-icon",{"width":[1],"height":[1]}],[2,"underline-icon",{"width":[1],"height":[1]}]]],["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]}]]],["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]}]]]]'), e);
|
|
2737
|
+
return qi(), Ca(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"defaultRequiresSessionAuth":[1028,"default-requires-session-auth"],"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"defaultAuthArgs":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigStoreState":[16],"mode":[1],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"defaultRequiresSessionAuth":["defaultRequiresSessionAuthChanged"],"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]}]]],["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-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["globe-icon",[[2,"globe-icon",{"width":[1],"height":[1]}]]],["close-icon",[[2,"close-icon",{"width":[1],"height":[1]}]]],["chevron-icon_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"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",{"selectedConfiguration":[16],"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["configChangedHandler"],"schedule":["scheduleChanged"]}],[65,"nylas-location-component",{"selectedConfiguration":[16],"eventLocation":[1,"event-location"],"name":[1],"location":[32],"selectedLocationOption":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"eventLocation":["eventLocationChangedHandler"]}],[65,"nylas-limit-future-bookings",{"selectedConfiguration":[16],"availableDaysInFuture":[2,"available-days-in-future"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-cancellation-notice",{"selectedConfiguration":[16],"minCancellationNotice":[2,"min-cancellation-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-custom-booking-flow",{"selectedConfiguration":[16],"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-duration",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-event-description",{"selectedConfiguration":[16],"eventDescription":[1,"event-description"],"name":[1],"description":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-title",{"selectedConfiguration":[16],"eventTitle":[1,"event-title"],"name":[1],"showTokens":[32],"availableTokens":[32],"filteredTokens":[32],"ariaActivedescendant":[32],"currentWord":[32],"validationError":[32]},[[8,"formSubmitted","formSubmittedHandler"]],{"name":["elementNameChangedHandler"],"ariaActivedescendant":["ariaActivedescendantChangedHandler"],"selectedConfiguration":["configChangedHandler"]}],[65,"nylas-event-info"],[65,"nylas-event-limits"],[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]}],[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}],[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_4",[[6,"nylas-editor-tabs",{"calendars":[16],"selectedConfiguration":[16],"currentUser":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"mode":[1],"action":[32],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32],"error":[32]},[[0,"valueChanged","handleValueChanged"]],{"selectedConfiguration":["configChangedHandler"]}],[1,"nylas-list-configurations",{"configurations":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"state":[32],"error":[32],"getState":[64],"setState":[64],"setError":[64]}],[2,"google-logo-icon",{"width":[1],"height":[1]}],[2,"microsoft-logo-icon",{"width":[1],"height":[1]}]]],["calendar-check-icon_2",[[2,"calendar-check-icon",{"width":[1],"height":[1]}],[2,"checkmark-circle-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-icon",{"width":[1],"height":[1]}]]],["bold-icon_3",[[2,"bold-icon",{"width":[1],"height":[1]}],[2,"italic-icon",{"width":[1],"height":[1]}],[2,"underline-icon",{"width":[1],"height":[1]}]]],["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]}]]],["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]}]]]]'), e);
|
|
3089
2738
|
};
|
|
3090
2739
|
(function() {
|
|
3091
2740
|
if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
|
|
@@ -3095,7 +2744,7 @@ const Js = Zs, Xs = (t, e) => {
|
|
|
3095
2744
|
}, HTMLElement.prototype = t.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, t);
|
|
3096
2745
|
}
|
|
3097
2746
|
})();
|
|
3098
|
-
var
|
|
2747
|
+
var Pt = { exports: {} }, Ge = {};
|
|
3099
2748
|
/**
|
|
3100
2749
|
* @license React
|
|
3101
2750
|
* react-jsx-runtime.production.min.js
|
|
@@ -3105,11 +2754,11 @@ var Yt = { exports: {} }, Ge = {};
|
|
|
3105
2754
|
* This source code is licensed under the MIT license found in the
|
|
3106
2755
|
* LICENSE file in the root directory of this source tree.
|
|
3107
2756
|
*/
|
|
3108
|
-
var
|
|
3109
|
-
function
|
|
3110
|
-
if (
|
|
2757
|
+
var Wn;
|
|
2758
|
+
function Gi() {
|
|
2759
|
+
if (Wn)
|
|
3111
2760
|
return Ge;
|
|
3112
|
-
|
|
2761
|
+
Wn = 1;
|
|
3113
2762
|
var t = ht, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3114
2763
|
function s(l, o, u) {
|
|
3115
2764
|
var d, f = {}, h = null, y = null;
|
|
@@ -3133,9 +2782,9 @@ var Ze = {};
|
|
|
3133
2782
|
* This source code is licensed under the MIT license found in the
|
|
3134
2783
|
* LICENSE file in the root directory of this source tree.
|
|
3135
2784
|
*/
|
|
3136
|
-
var
|
|
3137
|
-
function
|
|
3138
|
-
return
|
|
2785
|
+
var Fn;
|
|
2786
|
+
function Zi() {
|
|
2787
|
+
return Fn || (Fn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3139
2788
|
var t = ht, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), p = Symbol.iterator, v = "@@iterator";
|
|
3140
2789
|
function b(c) {
|
|
3141
2790
|
if (c === null || typeof c != "object")
|
|
@@ -3146,36 +2795,36 @@ function Vs() {
|
|
|
3146
2795
|
var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3147
2796
|
function L(c) {
|
|
3148
2797
|
{
|
|
3149
|
-
for (var m = arguments.length,
|
|
3150
|
-
|
|
3151
|
-
|
|
2798
|
+
for (var m = arguments.length, k = new Array(m > 1 ? m - 1 : 0), x = 1; x < m; x++)
|
|
2799
|
+
k[x - 1] = arguments[x];
|
|
2800
|
+
Q("error", c, k);
|
|
3152
2801
|
}
|
|
3153
2802
|
}
|
|
3154
|
-
function
|
|
2803
|
+
function Q(c, m, k) {
|
|
3155
2804
|
{
|
|
3156
|
-
var
|
|
3157
|
-
|
|
3158
|
-
var
|
|
2805
|
+
var x = T.ReactDebugCurrentFrame, P = x.getStackAddendum();
|
|
2806
|
+
P !== "" && (m += "%s", k = k.concat([P]));
|
|
2807
|
+
var H = k.map(function(A) {
|
|
3159
2808
|
return String(A);
|
|
3160
2809
|
});
|
|
3161
|
-
|
|
2810
|
+
H.unshift("Warning: " + m), Function.prototype.apply.call(console[c], console, H);
|
|
3162
2811
|
}
|
|
3163
2812
|
}
|
|
3164
|
-
var ie = !1,
|
|
3165
|
-
|
|
3166
|
-
function
|
|
3167
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i ||
|
|
2813
|
+
var ie = !1, fe = !1, V = !1, Re = !1, Ie = !1, B;
|
|
2814
|
+
B = Symbol.for("react.module.reference");
|
|
2815
|
+
function Y(c) {
|
|
2816
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || Ie || c === a || c === u || c === d || Re || c === y || ie || fe || V || typeof c == "object" && c !== null && (c.$$typeof === h || c.$$typeof === f || c.$$typeof === s || c.$$typeof === l || c.$$typeof === o || // This needs to include all possible module reference object
|
|
3168
2817
|
// types supported by any Flight configuration anywhere since
|
|
3169
2818
|
// we don't know which Flight build this will end up being used
|
|
3170
2819
|
// with.
|
|
3171
|
-
c.$$typeof ===
|
|
2820
|
+
c.$$typeof === B || c.getModuleId !== void 0));
|
|
3172
2821
|
}
|
|
3173
|
-
function Ne(c, m,
|
|
3174
|
-
var
|
|
3175
|
-
if (
|
|
3176
|
-
return
|
|
3177
|
-
var
|
|
3178
|
-
return
|
|
2822
|
+
function Ne(c, m, k) {
|
|
2823
|
+
var x = c.displayName;
|
|
2824
|
+
if (x)
|
|
2825
|
+
return x;
|
|
2826
|
+
var P = m.displayName || m.name || "";
|
|
2827
|
+
return P !== "" ? k + "(" + P + ")" : k;
|
|
3179
2828
|
}
|
|
3180
2829
|
function Be(c) {
|
|
3181
2830
|
return c.displayName || "Context";
|
|
@@ -3207,17 +2856,17 @@ function Vs() {
|
|
|
3207
2856
|
var m = c;
|
|
3208
2857
|
return Be(m) + ".Consumer";
|
|
3209
2858
|
case s:
|
|
3210
|
-
var
|
|
3211
|
-
return Be(
|
|
2859
|
+
var k = c;
|
|
2860
|
+
return Be(k._context) + ".Provider";
|
|
3212
2861
|
case o:
|
|
3213
2862
|
return Ne(c, c.render, "ForwardRef");
|
|
3214
2863
|
case f:
|
|
3215
|
-
var
|
|
3216
|
-
return
|
|
2864
|
+
var x = c.displayName || null;
|
|
2865
|
+
return x !== null ? x : C(c.type) || "Memo";
|
|
3217
2866
|
case h: {
|
|
3218
|
-
var
|
|
2867
|
+
var P = c, H = P._payload, A = P._init;
|
|
3219
2868
|
try {
|
|
3220
|
-
return C(A(
|
|
2869
|
+
return C(A(H));
|
|
3221
2870
|
} catch {
|
|
3222
2871
|
return null;
|
|
3223
2872
|
}
|
|
@@ -3225,18 +2874,18 @@ function Vs() {
|
|
|
3225
2874
|
}
|
|
3226
2875
|
return null;
|
|
3227
2876
|
}
|
|
3228
|
-
var
|
|
3229
|
-
function
|
|
2877
|
+
var E = Object.assign, w = 0, _, S, R, D, U, F, W;
|
|
2878
|
+
function Z() {
|
|
3230
2879
|
}
|
|
3231
|
-
|
|
3232
|
-
function
|
|
2880
|
+
Z.__reactDisabledLog = !0;
|
|
2881
|
+
function me() {
|
|
3233
2882
|
{
|
|
3234
2883
|
if (w === 0) {
|
|
3235
|
-
_ = console.log, S = console.info, R = console.warn, D = console.error,
|
|
2884
|
+
_ = console.log, S = console.info, R = console.warn, D = console.error, U = console.group, F = console.groupCollapsed, W = console.groupEnd;
|
|
3236
2885
|
var c = {
|
|
3237
2886
|
configurable: !0,
|
|
3238
2887
|
enumerable: !0,
|
|
3239
|
-
value:
|
|
2888
|
+
value: Z,
|
|
3240
2889
|
writable: !0
|
|
3241
2890
|
};
|
|
3242
2891
|
Object.defineProperties(console, {
|
|
@@ -3252,7 +2901,7 @@ function Vs() {
|
|
|
3252
2901
|
w++;
|
|
3253
2902
|
}
|
|
3254
2903
|
}
|
|
3255
|
-
function
|
|
2904
|
+
function he() {
|
|
3256
2905
|
{
|
|
3257
2906
|
if (w--, w === 0) {
|
|
3258
2907
|
var c = {
|
|
@@ -3261,25 +2910,25 @@ function Vs() {
|
|
|
3261
2910
|
writable: !0
|
|
3262
2911
|
};
|
|
3263
2912
|
Object.defineProperties(console, {
|
|
3264
|
-
log:
|
|
2913
|
+
log: E({}, c, {
|
|
3265
2914
|
value: _
|
|
3266
2915
|
}),
|
|
3267
|
-
info:
|
|
2916
|
+
info: E({}, c, {
|
|
3268
2917
|
value: S
|
|
3269
2918
|
}),
|
|
3270
|
-
warn:
|
|
2919
|
+
warn: E({}, c, {
|
|
3271
2920
|
value: R
|
|
3272
2921
|
}),
|
|
3273
|
-
error:
|
|
2922
|
+
error: E({}, c, {
|
|
3274
2923
|
value: D
|
|
3275
2924
|
}),
|
|
3276
|
-
group:
|
|
3277
|
-
value:
|
|
2925
|
+
group: E({}, c, {
|
|
2926
|
+
value: U
|
|
3278
2927
|
}),
|
|
3279
|
-
groupCollapsed:
|
|
3280
|
-
value:
|
|
2928
|
+
groupCollapsed: E({}, c, {
|
|
2929
|
+
value: F
|
|
3281
2930
|
}),
|
|
3282
|
-
groupEnd:
|
|
2931
|
+
groupEnd: E({}, c, {
|
|
3283
2932
|
value: W
|
|
3284
2933
|
})
|
|
3285
2934
|
});
|
|
@@ -3287,39 +2936,39 @@ function Vs() {
|
|
|
3287
2936
|
w < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3288
2937
|
}
|
|
3289
2938
|
}
|
|
3290
|
-
var
|
|
3291
|
-
function
|
|
2939
|
+
var $e = T.ReactCurrentDispatcher, we;
|
|
2940
|
+
function ye(c, m, k) {
|
|
3292
2941
|
{
|
|
3293
|
-
if (
|
|
2942
|
+
if (we === void 0)
|
|
3294
2943
|
try {
|
|
3295
2944
|
throw Error();
|
|
3296
|
-
} catch (
|
|
3297
|
-
var
|
|
3298
|
-
|
|
2945
|
+
} catch (P) {
|
|
2946
|
+
var x = P.stack.trim().match(/\n( *(at )?)/);
|
|
2947
|
+
we = x && x[1] || "";
|
|
3299
2948
|
}
|
|
3300
2949
|
return `
|
|
3301
|
-
` +
|
|
2950
|
+
` + we + c;
|
|
3302
2951
|
}
|
|
3303
2952
|
}
|
|
3304
|
-
var
|
|
2953
|
+
var J = !1, se;
|
|
3305
2954
|
{
|
|
3306
2955
|
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3307
|
-
|
|
2956
|
+
se = new qe();
|
|
3308
2957
|
}
|
|
3309
2958
|
function Le(c, m) {
|
|
3310
|
-
if (!c ||
|
|
2959
|
+
if (!c || J)
|
|
3311
2960
|
return "";
|
|
3312
2961
|
{
|
|
3313
|
-
var
|
|
3314
|
-
if (
|
|
3315
|
-
return
|
|
2962
|
+
var k = se.get(c);
|
|
2963
|
+
if (k !== void 0)
|
|
2964
|
+
return k;
|
|
3316
2965
|
}
|
|
3317
|
-
var
|
|
3318
|
-
|
|
3319
|
-
var
|
|
2966
|
+
var x;
|
|
2967
|
+
J = !0;
|
|
2968
|
+
var P = Error.prepareStackTrace;
|
|
3320
2969
|
Error.prepareStackTrace = void 0;
|
|
3321
|
-
var
|
|
3322
|
-
|
|
2970
|
+
var H;
|
|
2971
|
+
H = $e.current, $e.current = null, me();
|
|
3323
2972
|
try {
|
|
3324
2973
|
if (m) {
|
|
3325
2974
|
var A = function() {
|
|
@@ -3332,146 +2981,146 @@ function Vs() {
|
|
|
3332
2981
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3333
2982
|
try {
|
|
3334
2983
|
Reflect.construct(A, []);
|
|
3335
|
-
} catch (
|
|
3336
|
-
|
|
2984
|
+
} catch (ke) {
|
|
2985
|
+
x = ke;
|
|
3337
2986
|
}
|
|
3338
2987
|
Reflect.construct(c, [], A);
|
|
3339
2988
|
} else {
|
|
3340
2989
|
try {
|
|
3341
2990
|
A.call();
|
|
3342
|
-
} catch (
|
|
3343
|
-
|
|
2991
|
+
} catch (ke) {
|
|
2992
|
+
x = ke;
|
|
3344
2993
|
}
|
|
3345
2994
|
c.call(A.prototype);
|
|
3346
2995
|
}
|
|
3347
2996
|
} else {
|
|
3348
2997
|
try {
|
|
3349
2998
|
throw Error();
|
|
3350
|
-
} catch (
|
|
3351
|
-
|
|
2999
|
+
} catch (ke) {
|
|
3000
|
+
x = ke;
|
|
3352
3001
|
}
|
|
3353
3002
|
c();
|
|
3354
3003
|
}
|
|
3355
|
-
} catch (
|
|
3356
|
-
if (
|
|
3357
|
-
for (var
|
|
3358
|
-
`),
|
|
3359
|
-
`),
|
|
3360
|
-
|
|
3361
|
-
for (;
|
|
3362
|
-
if (
|
|
3363
|
-
if (
|
|
3004
|
+
} catch (ke) {
|
|
3005
|
+
if (ke && x && typeof ke.stack == "string") {
|
|
3006
|
+
for (var M = ke.stack.split(`
|
|
3007
|
+
`), re = x.stack.split(`
|
|
3008
|
+
`), q = M.length - 1, K = re.length - 1; q >= 1 && K >= 0 && M[q] !== re[K]; )
|
|
3009
|
+
K--;
|
|
3010
|
+
for (; q >= 1 && K >= 0; q--, K--)
|
|
3011
|
+
if (M[q] !== re[K]) {
|
|
3012
|
+
if (q !== 1 || K !== 1)
|
|
3364
3013
|
do
|
|
3365
|
-
if (
|
|
3366
|
-
var
|
|
3367
|
-
` +
|
|
3368
|
-
return c.displayName &&
|
|
3014
|
+
if (q--, K--, K < 0 || M[q] !== re[K]) {
|
|
3015
|
+
var ue = `
|
|
3016
|
+
` + M[q].replace(" at new ", " at ");
|
|
3017
|
+
return c.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", c.displayName)), typeof c == "function" && se.set(c, ue), ue;
|
|
3369
3018
|
}
|
|
3370
|
-
while (
|
|
3019
|
+
while (q >= 1 && K >= 0);
|
|
3371
3020
|
break;
|
|
3372
3021
|
}
|
|
3373
3022
|
}
|
|
3374
3023
|
} finally {
|
|
3375
|
-
|
|
3024
|
+
J = !1, $e.current = H, he(), Error.prepareStackTrace = P;
|
|
3376
3025
|
}
|
|
3377
|
-
var Pe = c ? c.displayName || c.name : "",
|
|
3378
|
-
return typeof c == "function" &&
|
|
3026
|
+
var Pe = c ? c.displayName || c.name : "", on = Pe ? ye(Pe) : "";
|
|
3027
|
+
return typeof c == "function" && se.set(c, on), on;
|
|
3379
3028
|
}
|
|
3380
|
-
function
|
|
3029
|
+
function wr(c, m, k) {
|
|
3381
3030
|
return Le(c, !1);
|
|
3382
3031
|
}
|
|
3383
|
-
function
|
|
3032
|
+
function kr(c) {
|
|
3384
3033
|
var m = c.prototype;
|
|
3385
3034
|
return !!(m && m.isReactComponent);
|
|
3386
3035
|
}
|
|
3387
|
-
function tt(c, m,
|
|
3036
|
+
function tt(c, m, k) {
|
|
3388
3037
|
if (c == null)
|
|
3389
3038
|
return "";
|
|
3390
3039
|
if (typeof c == "function")
|
|
3391
|
-
return Le(c,
|
|
3040
|
+
return Le(c, kr(c));
|
|
3392
3041
|
if (typeof c == "string")
|
|
3393
|
-
return
|
|
3042
|
+
return ye(c);
|
|
3394
3043
|
switch (c) {
|
|
3395
3044
|
case u:
|
|
3396
|
-
return
|
|
3045
|
+
return ye("Suspense");
|
|
3397
3046
|
case d:
|
|
3398
|
-
return
|
|
3047
|
+
return ye("SuspenseList");
|
|
3399
3048
|
}
|
|
3400
3049
|
if (typeof c == "object")
|
|
3401
3050
|
switch (c.$$typeof) {
|
|
3402
3051
|
case o:
|
|
3403
|
-
return
|
|
3052
|
+
return wr(c.render);
|
|
3404
3053
|
case f:
|
|
3405
|
-
return tt(c.type, m,
|
|
3054
|
+
return tt(c.type, m, k);
|
|
3406
3055
|
case h: {
|
|
3407
|
-
var
|
|
3056
|
+
var x = c, P = x._payload, H = x._init;
|
|
3408
3057
|
try {
|
|
3409
|
-
return tt(
|
|
3058
|
+
return tt(H(P), m, k);
|
|
3410
3059
|
} catch {
|
|
3411
3060
|
}
|
|
3412
3061
|
}
|
|
3413
3062
|
}
|
|
3414
3063
|
return "";
|
|
3415
3064
|
}
|
|
3416
|
-
var nt = Object.prototype.hasOwnProperty,
|
|
3065
|
+
var nt = Object.prototype.hasOwnProperty, Gt = {}, Zt = T.ReactDebugCurrentFrame;
|
|
3417
3066
|
function rt(c) {
|
|
3418
3067
|
if (c) {
|
|
3419
|
-
var m = c._owner,
|
|
3420
|
-
|
|
3068
|
+
var m = c._owner, k = tt(c.type, c._source, m ? m.type : null);
|
|
3069
|
+
Zt.setExtraStackFrame(k);
|
|
3421
3070
|
} else
|
|
3422
|
-
|
|
3071
|
+
Zt.setExtraStackFrame(null);
|
|
3423
3072
|
}
|
|
3424
|
-
function
|
|
3073
|
+
function Er(c, m, k, x, P) {
|
|
3425
3074
|
{
|
|
3426
|
-
var
|
|
3075
|
+
var H = Function.call.bind(nt);
|
|
3427
3076
|
for (var A in c)
|
|
3428
|
-
if (
|
|
3429
|
-
var
|
|
3077
|
+
if (H(c, A)) {
|
|
3078
|
+
var M = void 0;
|
|
3430
3079
|
try {
|
|
3431
3080
|
if (typeof c[A] != "function") {
|
|
3432
|
-
var
|
|
3433
|
-
throw
|
|
3081
|
+
var re = Error((x || "React class") + ": " + k + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3082
|
+
throw re.name = "Invariant Violation", re;
|
|
3434
3083
|
}
|
|
3435
|
-
|
|
3436
|
-
} catch (
|
|
3437
|
-
|
|
3084
|
+
M = c[A](m, A, x, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3085
|
+
} catch (q) {
|
|
3086
|
+
M = q;
|
|
3438
3087
|
}
|
|
3439
|
-
|
|
3088
|
+
M && !(M instanceof Error) && (rt(P), L("%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).", x || "React class", k, A, typeof M), rt(null)), M instanceof Error && !(M.message in Gt) && (Gt[M.message] = !0, rt(P), L("Failed %s type: %s", k, M.message), rt(null));
|
|
3440
3089
|
}
|
|
3441
3090
|
}
|
|
3442
3091
|
}
|
|
3443
|
-
var
|
|
3092
|
+
var Tr = Array.isArray;
|
|
3444
3093
|
function mt(c) {
|
|
3445
|
-
return
|
|
3094
|
+
return Tr(c);
|
|
3446
3095
|
}
|
|
3447
|
-
function
|
|
3096
|
+
function Sr(c) {
|
|
3448
3097
|
{
|
|
3449
|
-
var m = typeof Symbol == "function" && Symbol.toStringTag,
|
|
3450
|
-
return
|
|
3098
|
+
var m = typeof Symbol == "function" && Symbol.toStringTag, k = m && c[Symbol.toStringTag] || c.constructor.name || "Object";
|
|
3099
|
+
return k;
|
|
3451
3100
|
}
|
|
3452
3101
|
}
|
|
3453
|
-
function
|
|
3102
|
+
function Cr(c) {
|
|
3454
3103
|
try {
|
|
3455
|
-
return
|
|
3104
|
+
return Jt(c), !1;
|
|
3456
3105
|
} catch {
|
|
3457
3106
|
return !0;
|
|
3458
3107
|
}
|
|
3459
3108
|
}
|
|
3460
|
-
function
|
|
3109
|
+
function Jt(c) {
|
|
3461
3110
|
return "" + c;
|
|
3462
3111
|
}
|
|
3463
|
-
function
|
|
3464
|
-
if (
|
|
3465
|
-
return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
3112
|
+
function Xt(c) {
|
|
3113
|
+
if (Cr(c))
|
|
3114
|
+
return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sr(c)), Jt(c);
|
|
3466
3115
|
}
|
|
3467
|
-
var Ke = T.ReactCurrentOwner,
|
|
3116
|
+
var Ke = T.ReactCurrentOwner, Or = {
|
|
3468
3117
|
key: !0,
|
|
3469
3118
|
ref: !0,
|
|
3470
3119
|
__self: !0,
|
|
3471
3120
|
__source: !0
|
|
3472
|
-
},
|
|
3121
|
+
}, Qt, Vt, vt;
|
|
3473
3122
|
vt = {};
|
|
3474
|
-
function
|
|
3123
|
+
function xr(c) {
|
|
3475
3124
|
if (nt.call(c, "ref")) {
|
|
3476
3125
|
var m = Object.getOwnPropertyDescriptor(c, "ref").get;
|
|
3477
3126
|
if (m && m.isReactWarning)
|
|
@@ -3479,7 +3128,7 @@ function Vs() {
|
|
|
3479
3128
|
}
|
|
3480
3129
|
return c.ref !== void 0;
|
|
3481
3130
|
}
|
|
3482
|
-
function
|
|
3131
|
+
function _r(c) {
|
|
3483
3132
|
if (nt.call(c, "key")) {
|
|
3484
3133
|
var m = Object.getOwnPropertyDescriptor(c, "key").get;
|
|
3485
3134
|
if (m && m.isReactWarning)
|
|
@@ -3487,95 +3136,95 @@ function Vs() {
|
|
|
3487
3136
|
}
|
|
3488
3137
|
return c.key !== void 0;
|
|
3489
3138
|
}
|
|
3490
|
-
function
|
|
3139
|
+
function Dr(c, m) {
|
|
3491
3140
|
if (typeof c.ref == "string" && Ke.current && m && Ke.current.stateNode !== m) {
|
|
3492
|
-
var
|
|
3493
|
-
vt[
|
|
3141
|
+
var k = C(Ke.current.type);
|
|
3142
|
+
vt[k] || (L('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', C(Ke.current.type), c.ref), vt[k] = !0);
|
|
3494
3143
|
}
|
|
3495
3144
|
}
|
|
3496
|
-
function
|
|
3145
|
+
function Rr(c, m) {
|
|
3497
3146
|
{
|
|
3498
|
-
var
|
|
3499
|
-
|
|
3147
|
+
var k = function() {
|
|
3148
|
+
Qt || (Qt = !0, L("%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)", m));
|
|
3500
3149
|
};
|
|
3501
|
-
|
|
3502
|
-
get:
|
|
3150
|
+
k.isReactWarning = !0, Object.defineProperty(c, "key", {
|
|
3151
|
+
get: k,
|
|
3503
3152
|
configurable: !0
|
|
3504
3153
|
});
|
|
3505
3154
|
}
|
|
3506
3155
|
}
|
|
3507
|
-
function
|
|
3156
|
+
function Lr(c, m) {
|
|
3508
3157
|
{
|
|
3509
|
-
var
|
|
3510
|
-
|
|
3158
|
+
var k = function() {
|
|
3159
|
+
Vt || (Vt = !0, L("%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)", m));
|
|
3511
3160
|
};
|
|
3512
|
-
|
|
3513
|
-
get:
|
|
3161
|
+
k.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
3162
|
+
get: k,
|
|
3514
3163
|
configurable: !0
|
|
3515
3164
|
});
|
|
3516
3165
|
}
|
|
3517
3166
|
}
|
|
3518
|
-
var
|
|
3519
|
-
var
|
|
3167
|
+
var Mr = function(c, m, k, x, P, H, A) {
|
|
3168
|
+
var M = {
|
|
3520
3169
|
// This tag allows us to uniquely identify this as a React Element
|
|
3521
3170
|
$$typeof: e,
|
|
3522
3171
|
// Built-in properties that belong on the element
|
|
3523
3172
|
type: c,
|
|
3524
3173
|
key: m,
|
|
3525
|
-
ref:
|
|
3174
|
+
ref: k,
|
|
3526
3175
|
props: A,
|
|
3527
3176
|
// Record the component responsible for creating this element.
|
|
3528
|
-
_owner:
|
|
3177
|
+
_owner: H
|
|
3529
3178
|
};
|
|
3530
|
-
return
|
|
3179
|
+
return M._store = {}, Object.defineProperty(M._store, "validated", {
|
|
3531
3180
|
configurable: !1,
|
|
3532
3181
|
enumerable: !1,
|
|
3533
3182
|
writable: !0,
|
|
3534
3183
|
value: !1
|
|
3535
|
-
}), Object.defineProperty(
|
|
3184
|
+
}), Object.defineProperty(M, "_self", {
|
|
3536
3185
|
configurable: !1,
|
|
3537
3186
|
enumerable: !1,
|
|
3538
3187
|
writable: !1,
|
|
3539
|
-
value:
|
|
3540
|
-
}), Object.defineProperty(
|
|
3188
|
+
value: x
|
|
3189
|
+
}), Object.defineProperty(M, "_source", {
|
|
3541
3190
|
configurable: !1,
|
|
3542
3191
|
enumerable: !1,
|
|
3543
3192
|
writable: !1,
|
|
3544
|
-
value:
|
|
3545
|
-
}), Object.freeze && (Object.freeze(
|
|
3193
|
+
value: P
|
|
3194
|
+
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
3546
3195
|
};
|
|
3547
|
-
function
|
|
3196
|
+
function Ar(c, m, k, x, P) {
|
|
3548
3197
|
{
|
|
3549
|
-
var
|
|
3550
|
-
|
|
3551
|
-
for (
|
|
3552
|
-
nt.call(m,
|
|
3198
|
+
var H, A = {}, M = null, re = null;
|
|
3199
|
+
k !== void 0 && (Xt(k), M = "" + k), _r(m) && (Xt(m.key), M = "" + m.key), xr(m) && (re = m.ref, Dr(m, P));
|
|
3200
|
+
for (H in m)
|
|
3201
|
+
nt.call(m, H) && !Or.hasOwnProperty(H) && (A[H] = m[H]);
|
|
3553
3202
|
if (c && c.defaultProps) {
|
|
3554
|
-
var
|
|
3555
|
-
for (
|
|
3556
|
-
A[
|
|
3203
|
+
var q = c.defaultProps;
|
|
3204
|
+
for (H in q)
|
|
3205
|
+
A[H] === void 0 && (A[H] = q[H]);
|
|
3557
3206
|
}
|
|
3558
|
-
if (
|
|
3559
|
-
var
|
|
3560
|
-
|
|
3207
|
+
if (M || re) {
|
|
3208
|
+
var K = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
3209
|
+
M && Rr(A, K), re && Lr(A, K);
|
|
3561
3210
|
}
|
|
3562
|
-
return
|
|
3211
|
+
return Mr(c, M, re, P, x, Ke.current, A);
|
|
3563
3212
|
}
|
|
3564
3213
|
}
|
|
3565
|
-
var gt = T.ReactCurrentOwner,
|
|
3214
|
+
var gt = T.ReactCurrentOwner, en = T.ReactDebugCurrentFrame;
|
|
3566
3215
|
function Ue(c) {
|
|
3567
3216
|
if (c) {
|
|
3568
|
-
var m = c._owner,
|
|
3569
|
-
|
|
3217
|
+
var m = c._owner, k = tt(c.type, c._source, m ? m.type : null);
|
|
3218
|
+
en.setExtraStackFrame(k);
|
|
3570
3219
|
} else
|
|
3571
|
-
|
|
3220
|
+
en.setExtraStackFrame(null);
|
|
3572
3221
|
}
|
|
3573
3222
|
var bt;
|
|
3574
3223
|
bt = !1;
|
|
3575
3224
|
function $t(c) {
|
|
3576
3225
|
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
3577
3226
|
}
|
|
3578
|
-
function
|
|
3227
|
+
function tn() {
|
|
3579
3228
|
{
|
|
3580
3229
|
if (gt.current) {
|
|
3581
3230
|
var c = C(gt.current.type);
|
|
@@ -3587,159 +3236,159 @@ Check the render method of \`` + c + "`.";
|
|
|
3587
3236
|
return "";
|
|
3588
3237
|
}
|
|
3589
3238
|
}
|
|
3590
|
-
function
|
|
3239
|
+
function Ir(c) {
|
|
3591
3240
|
{
|
|
3592
3241
|
if (c !== void 0) {
|
|
3593
|
-
var m = c.fileName.replace(/^.*[\\\/]/, ""),
|
|
3242
|
+
var m = c.fileName.replace(/^.*[\\\/]/, ""), k = c.lineNumber;
|
|
3594
3243
|
return `
|
|
3595
3244
|
|
|
3596
|
-
Check your code at ` + m + ":" +
|
|
3245
|
+
Check your code at ` + m + ":" + k + ".";
|
|
3597
3246
|
}
|
|
3598
3247
|
return "";
|
|
3599
3248
|
}
|
|
3600
3249
|
}
|
|
3601
|
-
var
|
|
3602
|
-
function
|
|
3250
|
+
var nn = {};
|
|
3251
|
+
function Nr(c) {
|
|
3603
3252
|
{
|
|
3604
|
-
var m =
|
|
3253
|
+
var m = tn();
|
|
3605
3254
|
if (!m) {
|
|
3606
|
-
var
|
|
3607
|
-
|
|
3255
|
+
var k = typeof c == "string" ? c : c.displayName || c.name;
|
|
3256
|
+
k && (m = `
|
|
3608
3257
|
|
|
3609
|
-
Check the top-level render call using <` +
|
|
3258
|
+
Check the top-level render call using <` + k + ">.");
|
|
3610
3259
|
}
|
|
3611
3260
|
return m;
|
|
3612
3261
|
}
|
|
3613
3262
|
}
|
|
3614
|
-
function
|
|
3263
|
+
function rn(c, m) {
|
|
3615
3264
|
{
|
|
3616
3265
|
if (!c._store || c._store.validated || c.key != null)
|
|
3617
3266
|
return;
|
|
3618
3267
|
c._store.validated = !0;
|
|
3619
|
-
var
|
|
3620
|
-
if (
|
|
3268
|
+
var k = Nr(m);
|
|
3269
|
+
if (nn[k])
|
|
3621
3270
|
return;
|
|
3622
|
-
|
|
3623
|
-
var
|
|
3624
|
-
c && c._owner && c._owner !== gt.current && (
|
|
3271
|
+
nn[k] = !0;
|
|
3272
|
+
var x = "";
|
|
3273
|
+
c && c._owner && c._owner !== gt.current && (x = " It was passed a child from " + C(c._owner.type) + "."), Ue(c), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, x), Ue(null);
|
|
3625
3274
|
}
|
|
3626
3275
|
}
|
|
3627
|
-
function
|
|
3276
|
+
function an(c, m) {
|
|
3628
3277
|
{
|
|
3629
3278
|
if (typeof c != "object")
|
|
3630
3279
|
return;
|
|
3631
3280
|
if (mt(c))
|
|
3632
|
-
for (var
|
|
3633
|
-
var
|
|
3634
|
-
$t(
|
|
3281
|
+
for (var k = 0; k < c.length; k++) {
|
|
3282
|
+
var x = c[k];
|
|
3283
|
+
$t(x) && rn(x, m);
|
|
3635
3284
|
}
|
|
3636
3285
|
else if ($t(c))
|
|
3637
3286
|
c._store && (c._store.validated = !0);
|
|
3638
3287
|
else if (c) {
|
|
3639
|
-
var
|
|
3640
|
-
if (typeof
|
|
3641
|
-
for (var
|
|
3642
|
-
$t(A.value) &&
|
|
3288
|
+
var P = b(c);
|
|
3289
|
+
if (typeof P == "function" && P !== c.entries)
|
|
3290
|
+
for (var H = P.call(c), A; !(A = H.next()).done; )
|
|
3291
|
+
$t(A.value) && rn(A.value, m);
|
|
3643
3292
|
}
|
|
3644
3293
|
}
|
|
3645
3294
|
}
|
|
3646
|
-
function
|
|
3295
|
+
function Ur(c) {
|
|
3647
3296
|
{
|
|
3648
3297
|
var m = c.type;
|
|
3649
3298
|
if (m == null || typeof m == "string")
|
|
3650
3299
|
return;
|
|
3651
|
-
var
|
|
3300
|
+
var k;
|
|
3652
3301
|
if (typeof m == "function")
|
|
3653
|
-
|
|
3302
|
+
k = m.propTypes;
|
|
3654
3303
|
else if (typeof m == "object" && (m.$$typeof === o || // Note: Memo only checks outer props here.
|
|
3655
3304
|
// Inner props are checked in the reconciler.
|
|
3656
3305
|
m.$$typeof === f))
|
|
3657
|
-
|
|
3306
|
+
k = m.propTypes;
|
|
3658
3307
|
else
|
|
3659
3308
|
return;
|
|
3660
|
-
if (
|
|
3661
|
-
var
|
|
3662
|
-
|
|
3309
|
+
if (k) {
|
|
3310
|
+
var x = C(m);
|
|
3311
|
+
Er(k, c.props, "prop", x, c);
|
|
3663
3312
|
} else if (m.PropTypes !== void 0 && !bt) {
|
|
3664
3313
|
bt = !0;
|
|
3665
|
-
var
|
|
3666
|
-
L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
3314
|
+
var P = C(m);
|
|
3315
|
+
L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
|
|
3667
3316
|
}
|
|
3668
3317
|
typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3669
3318
|
}
|
|
3670
3319
|
}
|
|
3671
|
-
function
|
|
3320
|
+
function Pr(c) {
|
|
3672
3321
|
{
|
|
3673
|
-
for (var m = Object.keys(c.props),
|
|
3674
|
-
var
|
|
3675
|
-
if (
|
|
3676
|
-
Ue(c), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
3322
|
+
for (var m = Object.keys(c.props), k = 0; k < m.length; k++) {
|
|
3323
|
+
var x = m[k];
|
|
3324
|
+
if (x !== "children" && x !== "key") {
|
|
3325
|
+
Ue(c), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), Ue(null);
|
|
3677
3326
|
break;
|
|
3678
3327
|
}
|
|
3679
3328
|
}
|
|
3680
3329
|
c.ref !== null && (Ue(c), L("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
|
|
3681
3330
|
}
|
|
3682
3331
|
}
|
|
3683
|
-
function
|
|
3332
|
+
function sn(c, m, k, x, P, H) {
|
|
3684
3333
|
{
|
|
3685
|
-
var A =
|
|
3334
|
+
var A = Y(c);
|
|
3686
3335
|
if (!A) {
|
|
3687
|
-
var
|
|
3688
|
-
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (
|
|
3689
|
-
var
|
|
3690
|
-
|
|
3691
|
-
var
|
|
3692
|
-
c === null ?
|
|
3336
|
+
var M = "";
|
|
3337
|
+
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3338
|
+
var re = Ir(P);
|
|
3339
|
+
re ? M += re : M += tn();
|
|
3340
|
+
var q;
|
|
3341
|
+
c === null ? q = "null" : mt(c) ? q = "array" : c !== void 0 && c.$$typeof === e ? (q = "<" + (C(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : q = typeof c, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", q, M);
|
|
3693
3342
|
}
|
|
3694
|
-
var
|
|
3695
|
-
if (
|
|
3696
|
-
return
|
|
3343
|
+
var K = Ar(c, m, k, P, H);
|
|
3344
|
+
if (K == null)
|
|
3345
|
+
return K;
|
|
3697
3346
|
if (A) {
|
|
3698
|
-
var
|
|
3699
|
-
if (
|
|
3700
|
-
if (
|
|
3701
|
-
if (mt(
|
|
3702
|
-
for (var Pe = 0; Pe <
|
|
3703
|
-
|
|
3704
|
-
Object.freeze && Object.freeze(
|
|
3347
|
+
var ue = m.children;
|
|
3348
|
+
if (ue !== void 0)
|
|
3349
|
+
if (x)
|
|
3350
|
+
if (mt(ue)) {
|
|
3351
|
+
for (var Pe = 0; Pe < ue.length; Pe++)
|
|
3352
|
+
an(ue[Pe], c);
|
|
3353
|
+
Object.freeze && Object.freeze(ue);
|
|
3705
3354
|
} else
|
|
3706
3355
|
L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3707
3356
|
else
|
|
3708
|
-
|
|
3357
|
+
an(ue, c);
|
|
3709
3358
|
}
|
|
3710
|
-
return c === r ?
|
|
3359
|
+
return c === r ? Pr(K) : Ur(K), K;
|
|
3711
3360
|
}
|
|
3712
3361
|
}
|
|
3713
|
-
function
|
|
3714
|
-
return
|
|
3362
|
+
function Yr(c, m, k) {
|
|
3363
|
+
return sn(c, m, k, !0);
|
|
3715
3364
|
}
|
|
3716
|
-
function
|
|
3717
|
-
return
|
|
3365
|
+
function Hr(c, m, k) {
|
|
3366
|
+
return sn(c, m, k, !1);
|
|
3718
3367
|
}
|
|
3719
|
-
var
|
|
3720
|
-
Ze.Fragment = r, Ze.jsx =
|
|
3368
|
+
var jr = Hr, Wr = Yr;
|
|
3369
|
+
Ze.Fragment = r, Ze.jsx = jr, Ze.jsxs = Wr;
|
|
3721
3370
|
}()), Ze;
|
|
3722
3371
|
}
|
|
3723
|
-
process.env.NODE_ENV === "production" ?
|
|
3724
|
-
var
|
|
3725
|
-
const
|
|
3372
|
+
process.env.NODE_ENV === "production" ? Pt.exports = Gi() : Pt.exports = Zi();
|
|
3373
|
+
var Ji = Pt.exports;
|
|
3374
|
+
const Xi = (t) => t.toLowerCase().split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(""), br = (t) => t.replace(/([A-Z])/g, (e) => `-${e[0].toLowerCase()}`), Qi = (t, e, n = {}) => {
|
|
3726
3375
|
if (t instanceof Element) {
|
|
3727
|
-
const r =
|
|
3376
|
+
const r = Vi(t.classList, e, n);
|
|
3728
3377
|
r !== "" && (t.className = r), Object.keys(e).forEach((a) => {
|
|
3729
3378
|
if (!(a === "children" || a === "style" || a === "ref" || a === "class" || a === "className" || a === "forwardedRef"))
|
|
3730
3379
|
if (a.indexOf("on") === 0 && a[2] === a[2].toUpperCase()) {
|
|
3731
3380
|
const i = a.substring(2), s = i[0].toLowerCase() + i.substring(1);
|
|
3732
|
-
|
|
3381
|
+
$r(s) || ts(t, s, e[a]);
|
|
3733
3382
|
} else
|
|
3734
|
-
t[a] = e[a], typeof e[a] === "string" && t.setAttribute(
|
|
3383
|
+
t[a] = e[a], typeof e[a] === "string" && t.setAttribute(br(a), e[a]);
|
|
3735
3384
|
});
|
|
3736
3385
|
}
|
|
3737
|
-
},
|
|
3738
|
-
const r = e.className || e.class, a = n.className || n.class, i =
|
|
3386
|
+
}, Vi = (t, e, n) => {
|
|
3387
|
+
const r = e.className || e.class, a = n.className || n.class, i = Ct(t), s = Ct(r ? r.split(" ") : []), l = Ct(a ? a.split(" ") : []), o = [];
|
|
3739
3388
|
return i.forEach((u) => {
|
|
3740
3389
|
s.has(u) ? (o.push(u), s.delete(u)) : l.has(u) || o.push(u);
|
|
3741
3390
|
}), s.forEach((u) => o.push(u)), o.join(" ");
|
|
3742
|
-
},
|
|
3391
|
+
}, es = (t) => {
|
|
3743
3392
|
switch (t) {
|
|
3744
3393
|
case "doubleclick":
|
|
3745
3394
|
return "dblclick";
|
|
@@ -3750,11 +3399,11 @@ const ti = (t) => t.toLowerCase().split("-").map((e) => e.charAt(0).toUpperCase(
|
|
|
3750
3399
|
* Checks if an event is supported in the current execution environment.
|
|
3751
3400
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
3752
3401
|
*/
|
|
3753
|
-
const
|
|
3402
|
+
const $r = (t) => {
|
|
3754
3403
|
if (typeof document > "u")
|
|
3755
3404
|
return !0;
|
|
3756
3405
|
{
|
|
3757
|
-
const e = "on" +
|
|
3406
|
+
const e = "on" + es(t);
|
|
3758
3407
|
let n = e in document;
|
|
3759
3408
|
if (!n) {
|
|
3760
3409
|
const r = document.createElement("div");
|
|
@@ -3762,7 +3411,7 @@ const Sr = (t) => {
|
|
|
3762
3411
|
}
|
|
3763
3412
|
return n;
|
|
3764
3413
|
}
|
|
3765
|
-
},
|
|
3414
|
+
}, ts = (t, e, n) => {
|
|
3766
3415
|
const r = t.__events || (t.__events = {}), a = r[e];
|
|
3767
3416
|
a && t.removeEventListener(e, a), t.addEventListener(
|
|
3768
3417
|
e,
|
|
@@ -3770,21 +3419,21 @@ const Sr = (t) => {
|
|
|
3770
3419
|
n && n.call(this, s);
|
|
3771
3420
|
}
|
|
3772
3421
|
);
|
|
3773
|
-
},
|
|
3422
|
+
}, Ct = (t) => {
|
|
3774
3423
|
const e = /* @__PURE__ */ new Map();
|
|
3775
3424
|
return t.forEach((n) => e.set(n, n)), e;
|
|
3776
|
-
},
|
|
3425
|
+
}, ns = (t, e) => {
|
|
3777
3426
|
typeof t == "function" ? t(e) : t != null && (t.current = e);
|
|
3778
|
-
},
|
|
3427
|
+
}, rs = (...t) => (e) => {
|
|
3779
3428
|
t.forEach((n) => {
|
|
3780
|
-
|
|
3429
|
+
ns(n, e);
|
|
3781
3430
|
});
|
|
3782
|
-
},
|
|
3783
|
-
const n = (r, a) => /* @__PURE__ */
|
|
3431
|
+
}, as = (t, e) => {
|
|
3432
|
+
const n = (r, a) => /* @__PURE__ */ Ji.jsx(t, { ...r, forwardedRef: a });
|
|
3784
3433
|
return n.displayName = e, ht.forwardRef(n);
|
|
3785
3434
|
}, g = (t, e, n, r) => {
|
|
3786
3435
|
r !== void 0 && r();
|
|
3787
|
-
const a =
|
|
3436
|
+
const a = Xi(t), i = class extends ht.Component {
|
|
3788
3437
|
constructor(l) {
|
|
3789
3438
|
super(l);
|
|
3790
3439
|
wt(this, "componentEl");
|
|
@@ -3796,7 +3445,7 @@ const Sr = (t) => {
|
|
|
3796
3445
|
this.componentDidUpdate(this.props);
|
|
3797
3446
|
}
|
|
3798
3447
|
componentDidUpdate(l) {
|
|
3799
|
-
|
|
3448
|
+
Qi(this.componentEl, this.props, l);
|
|
3800
3449
|
}
|
|
3801
3450
|
render() {
|
|
3802
3451
|
const { children: l, forwardedRef: o, style: u, className: d, ref: f, ...h } = this.props;
|
|
@@ -3804,168 +3453,130 @@ const Sr = (t) => {
|
|
|
3804
3453
|
const T = h[b];
|
|
3805
3454
|
if (b.indexOf("on") === 0 && b[2] === b[2].toUpperCase()) {
|
|
3806
3455
|
const L = b.substring(2).toLowerCase();
|
|
3807
|
-
typeof document < "u" &&
|
|
3456
|
+
typeof document < "u" && $r(L) && (v[b] = T);
|
|
3808
3457
|
} else {
|
|
3809
3458
|
const L = typeof T;
|
|
3810
|
-
(L === "string" || L === "boolean" || L === "number") && (v[
|
|
3459
|
+
(L === "string" || L === "boolean" || L === "number") && (v[br(b)] = T);
|
|
3811
3460
|
}
|
|
3812
3461
|
return v;
|
|
3813
3462
|
}, {});
|
|
3814
3463
|
n && (y = n(this.props, y));
|
|
3815
3464
|
const p = {
|
|
3816
3465
|
...y,
|
|
3817
|
-
ref:
|
|
3466
|
+
ref: rs(o, this.setComponentElRef),
|
|
3818
3467
|
style: u
|
|
3819
3468
|
};
|
|
3820
|
-
return
|
|
3469
|
+
return Br(t, p, l);
|
|
3821
3470
|
}
|
|
3822
3471
|
static get displayName() {
|
|
3823
3472
|
return a;
|
|
3824
3473
|
}
|
|
3825
3474
|
};
|
|
3826
|
-
return e && (i.contextType = e),
|
|
3475
|
+
return e && (i.contextType = e), as(i, a);
|
|
3827
3476
|
};
|
|
3828
|
-
|
|
3829
|
-
const
|
|
3830
|
-
function
|
|
3831
|
-
const [, t] =
|
|
3832
|
-
return
|
|
3477
|
+
Ki();
|
|
3478
|
+
const ds = /* @__PURE__ */ g("add-circle-icon"), fs = /* @__PURE__ */ g("archive-icon"), hs = /* @__PURE__ */ g("arrow-icon"), ys = /* @__PURE__ */ g("bold-icon"), ps = /* @__PURE__ */ g("button-component"), ms = /* @__PURE__ */ g("calendar-cancel-icon"), vs = /* @__PURE__ */ g("calendar-check-icon"), gs = /* @__PURE__ */ g("calendar-icon"), bs = /* @__PURE__ */ g("calendar-info-icon"), $s = /* @__PURE__ */ g("calendar-patterns-icon"), ws = /* @__PURE__ */ g("checkmark-circle-icon"), ks = /* @__PURE__ */ g("chevron-icon"), Es = /* @__PURE__ */ g("close-icon"), Ts = /* @__PURE__ */ g("document-refresh-icon"), Ss = /* @__PURE__ */ g("flow-icon"), Cs = /* @__PURE__ */ g("folder-icon"), Os = /* @__PURE__ */ g("forward-icon"), xs = /* @__PURE__ */ g("globe-icon"), _s = /* @__PURE__ */ g("google-logo-icon"), Ds = /* @__PURE__ */ g("inbox-icon"), Rs = /* @__PURE__ */ g("info-icon"), Ls = /* @__PURE__ */ g("italic-icon"), Ms = /* @__PURE__ */ g("loading-icon"), As = /* @__PURE__ */ g("location-icon"), Is = /* @__PURE__ */ g("location-off-icon"), Ns = /* @__PURE__ */ g("microsoft-logo-icon"), Us = /* @__PURE__ */ g("multi-select-dropdown"), Ps = /* @__PURE__ */ g("nylas-additional-participants"), Ys = /* @__PURE__ */ g("nylas-availability-picker"), Hs = /* @__PURE__ */ g("nylas-booked-event-card"), js = /* @__PURE__ */ g("nylas-booking-calendar-picker"), Ws = /* @__PURE__ */ g("nylas-booking-form"), Fs = /* @__PURE__ */ g("nylas-buffer-time"), zs = /* @__PURE__ */ g("nylas-calendar-picker"), Bs = /* @__PURE__ */ g("nylas-cancel-booking-form"), qs = /* @__PURE__ */ g("nylas-cancelled-event-card"), Ks = /* @__PURE__ */ g("nylas-composer"), Gs = /* @__PURE__ */ g("nylas-custom-booking-flow"), Zs = /* @__PURE__ */ g("nylas-date-picker"), Js = /* @__PURE__ */ g("nylas-editor-tabs"), Xs = /* @__PURE__ */ g("nylas-event-description"), Qs = /* @__PURE__ */ g("nylas-event-duration"), Vs = /* @__PURE__ */ g("nylas-event-info"), eo = /* @__PURE__ */ g("nylas-event-limits"), to = /* @__PURE__ */ g("nylas-event-title"), no = /* @__PURE__ */ g("nylas-form-card"), ro = /* @__PURE__ */ g("nylas-if-state"), ao = /* @__PURE__ */ g("nylas-limit-future-bookings"), io = /* @__PURE__ */ g("nylas-list-configurations"), so = /* @__PURE__ */ g("nylas-list-folders"), oo = /* @__PURE__ */ g("nylas-list-threads"), lo = /* @__PURE__ */ g("nylas-locale-switch"), co = /* @__PURE__ */ g("nylas-location-component"), uo = /* @__PURE__ */ g("nylas-login"), fo = /* @__PURE__ */ g("nylas-logo"), ho = /* @__PURE__ */ g("nylas-mailbox"), yo = /* @__PURE__ */ g("nylas-mailbox-pagination"), po = /* @__PURE__ */ g("nylas-mailbox-toolbar-button"), mo = /* @__PURE__ */ g("nylas-min-cancellation-notice"), vo = /* @__PURE__ */ g("nylas-notification"), go = /* @__PURE__ */ g("nylas-provider"), bo = /* @__PURE__ */ g("nylas-scheduler-editor"), $o = /* @__PURE__ */ g("nylas-scheduling"), wo = /* @__PURE__ */ g("nylas-selected-event-card"), ko = /* @__PURE__ */ g("nylas-summarize-message-button"), Eo = /* @__PURE__ */ g("nylas-threads-refresh"), To = /* @__PURE__ */ g("nylas-threads-search"), So = /* @__PURE__ */ g("nylas-time-window-picker"), Co = /* @__PURE__ */ g("nylas-timeslot-picker"), Oo = /* @__PURE__ */ g("nylas-view-email"), xo = /* @__PURE__ */ g("nylas-view-thread"), _o = /* @__PURE__ */ g("people-icon"), Do = /* @__PURE__ */ g("play-icon"), Ro = /* @__PURE__ */ g("refresh-icon"), Lo = /* @__PURE__ */ g("reply-all-icon"), Mo = /* @__PURE__ */ g("reply-icon"), Ao = /* @__PURE__ */ g("search-icon"), Io = /* @__PURE__ */ g("select-dropdown"), No = /* @__PURE__ */ g("sent-icon"), Uo = /* @__PURE__ */ g("spam-icon"), Po = /* @__PURE__ */ g("star-icon"), Yo = /* @__PURE__ */ g("stop-icon"), Ho = /* @__PURE__ */ g("time-period-selector"), jo = /* @__PURE__ */ g("tooltip-component"), Wo = /* @__PURE__ */ g("translate-icon"), Fo = /* @__PURE__ */ g("trash-icon"), zo = /* @__PURE__ */ g("underline-icon"), Bo = /* @__PURE__ */ g("warning-icon");
|
|
3479
|
+
function qo() {
|
|
3480
|
+
const [, t] = qr((a) => a + 1, 0), e = kt(), n = kt(null), r = kt(null);
|
|
3481
|
+
return Kr(() => {
|
|
3833
3482
|
e.current && (n.current || e.current.getNylasMailboxConnector().then((a) => {
|
|
3834
3483
|
a && (n.current = a, r.current = n.current.nylasAuthStore, a.nylasAuthStore.on("set", t), t());
|
|
3835
3484
|
}));
|
|
3836
3485
|
}, []), [e, r.current];
|
|
3837
3486
|
}
|
|
3838
3487
|
export {
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
hl as b0,
|
|
3934
|
-
yl as b1,
|
|
3935
|
-
pl as b2,
|
|
3936
|
-
ml as b3,
|
|
3937
|
-
vl as b4,
|
|
3938
|
-
gl as b5,
|
|
3939
|
-
bl as b6,
|
|
3940
|
-
$l as b7,
|
|
3941
|
-
wl as b8,
|
|
3942
|
-
El as b9,
|
|
3943
|
-
kl as ba,
|
|
3944
|
-
Tl as bb,
|
|
3945
|
-
Sl as bc,
|
|
3946
|
-
Cl as bd,
|
|
3947
|
-
fi as c,
|
|
3948
|
-
vi as d,
|
|
3949
|
-
Ka as e,
|
|
3950
|
-
Di as f,
|
|
3951
|
-
da as g,
|
|
3952
|
-
Jn as h,
|
|
3953
|
-
Ga as i,
|
|
3954
|
-
Wn as j,
|
|
3955
|
-
$i as k,
|
|
3956
|
-
Ti as l,
|
|
3957
|
-
Ei as m,
|
|
3958
|
-
Mi as n,
|
|
3959
|
-
Gs as o,
|
|
3960
|
-
Ri as p,
|
|
3961
|
-
Li as q,
|
|
3962
|
-
pi as r,
|
|
3963
|
-
Wi as s,
|
|
3964
|
-
_i as t,
|
|
3965
|
-
bi as u,
|
|
3966
|
-
Si as v,
|
|
3967
|
-
Ci as w,
|
|
3968
|
-
xi as x,
|
|
3969
|
-
Oi as y,
|
|
3970
|
-
Hi as z
|
|
3488
|
+
ao as $,
|
|
3489
|
+
ds as A,
|
|
3490
|
+
ys as B,
|
|
3491
|
+
ms as C,
|
|
3492
|
+
Ts as D,
|
|
3493
|
+
js as E,
|
|
3494
|
+
Ss as F,
|
|
3495
|
+
xs as G,
|
|
3496
|
+
Ws as H,
|
|
3497
|
+
Ds as I,
|
|
3498
|
+
Fs as J,
|
|
3499
|
+
zs as K,
|
|
3500
|
+
Ms as L,
|
|
3501
|
+
Ns as M,
|
|
3502
|
+
cs as N,
|
|
3503
|
+
Bs as O,
|
|
3504
|
+
qs as P,
|
|
3505
|
+
Ks as Q,
|
|
3506
|
+
Gs as R,
|
|
3507
|
+
Zs as S,
|
|
3508
|
+
Js as T,
|
|
3509
|
+
Xs as U,
|
|
3510
|
+
Qs as V,
|
|
3511
|
+
Vs as W,
|
|
3512
|
+
eo as X,
|
|
3513
|
+
to as Y,
|
|
3514
|
+
no as Z,
|
|
3515
|
+
ro as _,
|
|
3516
|
+
us as a,
|
|
3517
|
+
io as a0,
|
|
3518
|
+
so as a1,
|
|
3519
|
+
oo as a2,
|
|
3520
|
+
lo as a3,
|
|
3521
|
+
co as a4,
|
|
3522
|
+
uo as a5,
|
|
3523
|
+
fo as a6,
|
|
3524
|
+
ho as a7,
|
|
3525
|
+
yo as a8,
|
|
3526
|
+
po as a9,
|
|
3527
|
+
Wo as aA,
|
|
3528
|
+
Fo as aB,
|
|
3529
|
+
zo as aC,
|
|
3530
|
+
Bo as aD,
|
|
3531
|
+
mo as aa,
|
|
3532
|
+
vo as ab,
|
|
3533
|
+
go as ac,
|
|
3534
|
+
bo as ad,
|
|
3535
|
+
$o as ae,
|
|
3536
|
+
wo as af,
|
|
3537
|
+
ko as ag,
|
|
3538
|
+
Eo as ah,
|
|
3539
|
+
To as ai,
|
|
3540
|
+
So as aj,
|
|
3541
|
+
Co as ak,
|
|
3542
|
+
Oo as al,
|
|
3543
|
+
xo as am,
|
|
3544
|
+
_o as an,
|
|
3545
|
+
Do as ao,
|
|
3546
|
+
Ro as ap,
|
|
3547
|
+
Lo as aq,
|
|
3548
|
+
Mo as ar,
|
|
3549
|
+
Ao as as,
|
|
3550
|
+
Io as at,
|
|
3551
|
+
No as au,
|
|
3552
|
+
Uo as av,
|
|
3553
|
+
Po as aw,
|
|
3554
|
+
Yo as ax,
|
|
3555
|
+
Ho as ay,
|
|
3556
|
+
jo as az,
|
|
3557
|
+
fs as b,
|
|
3558
|
+
za as c,
|
|
3559
|
+
Ki as d,
|
|
3560
|
+
hs as e,
|
|
3561
|
+
ps as f,
|
|
3562
|
+
vs as g,
|
|
3563
|
+
gs as h,
|
|
3564
|
+
bs as i,
|
|
3565
|
+
$s as j,
|
|
3566
|
+
ws as k,
|
|
3567
|
+
ks as l,
|
|
3568
|
+
Es as m,
|
|
3569
|
+
Cs as n,
|
|
3570
|
+
Os as o,
|
|
3571
|
+
_s as p,
|
|
3572
|
+
Rs as q,
|
|
3573
|
+
Ls as r,
|
|
3574
|
+
ls as s,
|
|
3575
|
+
As as t,
|
|
3576
|
+
qo as u,
|
|
3577
|
+
Is as v,
|
|
3578
|
+
Us as w,
|
|
3579
|
+
Ps as x,
|
|
3580
|
+
Ys as y,
|
|
3581
|
+
Hs as z
|
|
3971
3582
|
};
|