@nylas/react 1.1.0-canary.15 → 1.1.0-canary.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/add-circle-icon_2.entry-936fd73b.cjs +1 -0
- package/dist/add-circle-icon_2.entry-ce6aaa1d.js +25 -0
- package/dist/{archive-icon_7.entry-ca8262ff.js → archive-icon_7.entry-60e900b6.js} +18 -18
- package/dist/{archive-icon_7.entry-25d8b2f0.cjs → archive-icon_7.entry-8c8317e9.cjs} +1 -1
- package/dist/{arrow-icon.entry-991ba7cd.js → arrow-icon.entry-057db95a.js} +2 -2
- package/dist/{arrow-icon.entry-01192ecf.cjs → arrow-icon.entry-2d4e9572.cjs} +1 -1
- package/dist/bold-icon_3.entry-557c6007.js +35 -0
- package/dist/{bold-icon_3.entry-e94dcf5b.cjs → bold-icon_3.entry-ba732761.cjs} +1 -1
- package/dist/{add-circle-icon_2.entry-3f834b47.js → button-component.entry-22d0ac2e.js} +5 -15
- package/dist/button-component.entry-385f9581.cjs +1 -0
- package/dist/{calendar-cancel-icon.entry-f646c147.js → calendar-cancel-icon.entry-820cf967.js} +5 -5
- package/dist/{calendar-cancel-icon.entry-9088fa8b.cjs → calendar-cancel-icon.entry-b2657caf.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-a7e4d0e6.js → calendar-check-icon_2.entry-128a5d67.js} +9 -9
- package/dist/{calendar-check-icon_2.entry-4dc1391a.cjs → calendar-check-icon_2.entry-b13e7cbb.cjs} +1 -1
- package/dist/{calendar-icon.entry-1658930c.js → calendar-icon.entry-a43e6011.js} +5 -5
- package/dist/{calendar-icon.entry-1e2acd5c.cjs → calendar-icon.entry-d17d7cfb.cjs} +1 -1
- package/dist/calendar-info-icon_28.entry-b4f09bfe.cjs +1 -0
- package/dist/{calendar-info-icon_25.entry-493c5547.js → calendar-info-icon_28.entry-b71c23c5.js} +754 -828
- package/dist/{chevron-icon_3.entry-52b97043.cjs → chevron-icon_3.entry-4807a0b1.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-b3c7eb44.js → chevron-icon_3.entry-e0796c69.js} +5 -5
- package/dist/{clock-icon_2.entry-882249ee.cjs → clock-icon_2.entry-267614c2.cjs} +1 -1
- package/dist/{clock-icon_2.entry-58f07042.js → clock-icon_2.entry-e959ae50.js} +7 -7
- package/dist/{constants-f34b9c6e-1da5094b.cjs → constants-f34b9c6e-ebc2e19c.cjs} +1 -1
- package/dist/{constants-f34b9c6e-628beaa8.js → constants-f34b9c6e-efe2836b.js} +1 -1
- package/dist/{document-refresh-icon.entry-b53316b4.js → document-refresh-icon.entry-b4c217df.js} +2 -2
- package/dist/{document-refresh-icon.entry-4f581bf4.cjs → document-refresh-icon.entry-b8850675.cjs} +1 -1
- package/dist/elements/index.d.ts +1 -0
- package/dist/{elements-dc5b338e-3284591d.cjs → elements-dc5b338e-a33785e3.cjs} +1 -1
- package/dist/{elements-dc5b338e-7abe37c6.js → elements-dc5b338e-b0a290ae.js} +1 -1
- package/dist/{focus-visible-e8093c16-d6612604.js → focus-visible-e8093c16-5f1ae916.js} +1 -1
- package/dist/{focus-visible-e8093c16-cb6c97b1.cjs → focus-visible-e8093c16-d2afb13d.cjs} +1 -1
- package/dist/{forward-icon_6.entry-e402ad1e.cjs → forward-icon_6.entry-0009e4f0.cjs} +3 -3
- package/dist/{forward-icon_6.entry-d54244f7.js → forward-icon_6.entry-53683e82.js} +9 -9
- package/dist/{globe-icon.entry-e83c79c2.js → globe-icon.entry-dbb47687.js} +4 -4
- package/dist/{globe-icon.entry-db7377d9.cjs → globe-icon.entry-df67eab8.cjs} +1 -1
- package/dist/google-logo-icon_4.entry-77f3b86e.js +454 -0
- package/dist/google-logo-icon_4.entry-c5db1be3.cjs +1 -0
- package/dist/index-53420959-16700a42.cjs +1 -0
- package/dist/index-53420959-f0c4f9af.js +5 -0
- package/dist/{index-2d032bec.js → index-5851f0a2.js} +816 -825
- package/dist/{index-6d9eeb53-91d36348.js → index-6d9eeb53-2f37342f.js} +2 -2
- package/dist/{index-6d9eeb53-f478270c.cjs → index-6d9eeb53-ded66877.cjs} +1 -1
- package/dist/{index-9c04361d.cjs → index-769f0fdd.cjs} +3 -3
- package/dist/{index.es-9cc0eb3c-ee2ebbe1.js → index.es-9cc0eb3c-2cf4632f.js} +1 -1
- package/dist/{index.es-9cc0eb3c-2242baf6.cjs → index.es-9cc0eb3c-e8de46e6.cjs} +1 -1
- package/dist/{info-icon_2.entry-74eb7415.js → info-icon_2.entry-c27ac645.js} +3 -3
- package/dist/{info-icon_2.entry-4b257e73.cjs → info-icon_2.entry-e355fb7d.cjs} +1 -1
- package/dist/{input-component.entry-6bb4a5e8.js → input-component.entry-a38a65da.js} +4 -4
- package/dist/{input-component.entry-3ef7ce2c.cjs → input-component.entry-ef2b397d.cjs} +1 -1
- package/dist/input-dropdown_2.entry-9e50060e.cjs +1 -0
- package/dist/{input-dropdown_2.entry-f71e4c01.js → input-dropdown_2.entry-ce1da1b3.js} +37 -26
- package/dist/loading-icon.entry-175aca19.cjs +1 -0
- package/dist/loading-icon.entry-4ab88ed8.js +15 -0
- package/dist/{mailbox-store-64b4ef7c-202f1afd.js → mailbox-store-64b4ef7c-47dac9aa.js} +2 -2
- package/dist/{mailbox-store-64b4ef7c-74f959be.cjs → mailbox-store-64b4ef7c-ebe84c96.cjs} +1 -1
- package/dist/nylas-booked-event-card_10.entry-6de99d57.cjs +1 -0
- package/dist/{nylas-booked-event-card_10.entry-ddfcff5e.js → nylas-booked-event-card_10.entry-ef9c2d62.js} +11 -11
- package/dist/{nylas-custom-booking-flow.entry-63ed387e.cjs → nylas-custom-booking-flow.entry-c59c1306.cjs} +1 -1
- package/dist/{nylas-custom-booking-flow.entry-a1f66d05.js → nylas-custom-booking-flow.entry-f31400e2.js} +2 -2
- package/dist/{nylas-form-card.entry-ea1153b9.js → nylas-form-card.entry-b189e066.js} +2 -2
- package/dist/{nylas-form-card.entry-6fece0ff.cjs → nylas-form-card.entry-bc048703.cjs} +1 -1
- package/dist/{nylas-if-state.entry-05f8f66f.js → nylas-if-state.entry-5bdf8669.js} +3 -3
- package/dist/{nylas-if-state.entry-b75320f0.cjs → nylas-if-state.entry-933c79e0.cjs} +1 -1
- package/dist/{nylas-list-folders.entry-edc61b97.cjs → nylas-list-folders.entry-5d1bef7f.cjs} +1 -1
- package/dist/{nylas-list-folders.entry-bd5a1b1d.js → nylas-list-folders.entry-f0e7ae4e.js} +3 -3
- package/dist/{nylas-list-threads.entry-79ad0944.cjs → nylas-list-threads.entry-3e300e7e.cjs} +1 -1
- package/dist/{nylas-list-threads.entry-f3cd80de.js → nylas-list-threads.entry-3f7451ad.js} +3 -3
- package/dist/{nylas-login.entry-68873357.cjs → nylas-login.entry-dbf9e11f.cjs} +1 -1
- package/dist/{nylas-login.entry-b3207e82.js → nylas-login.entry-e3b757a0.js} +7 -7
- package/dist/{nylas-mailbox-pagination.entry-2ef5b88a.cjs → nylas-mailbox-pagination.entry-0db12a01.cjs} +1 -1
- package/dist/{nylas-mailbox-pagination.entry-22c5b9ca.js → nylas-mailbox-pagination.entry-6c845a2a.js} +2 -2
- package/dist/{nylas-mailbox-toolbar-button.entry-f2fa3a8e.cjs → nylas-mailbox-toolbar-button.entry-553f041a.cjs} +1 -1
- package/dist/{nylas-mailbox-toolbar-button.entry-95bb58b5.js → nylas-mailbox-toolbar-button.entry-ec196947.js} +4 -4
- package/dist/{nylas-mailbox.entry-4ef7d18d.js → nylas-mailbox.entry-1552ad11.js} +7 -7
- package/dist/{nylas-mailbox.entry-4b1d320f.cjs → nylas-mailbox.entry-c0bbca56.cjs} +1 -1
- package/dist/{nylas-provider.entry-7f7e098a.js → nylas-provider.entry-6d286e92.js} +37 -37
- package/dist/{nylas-provider.entry-b629340a.cjs → nylas-provider.entry-d4bf23c2.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-19a29c4c.cjs → nylas-scheduler-editor.entry-00a71304.cjs} +2 -2
- package/dist/{nylas-scheduler-editor.entry-2d19593f.js → nylas-scheduler-editor.entry-caa1026b.js} +8 -7
- package/dist/{nylas-scheduling.entry-753cb746.js → nylas-scheduling.entry-19ff3d50.js} +9 -9
- package/dist/nylas-scheduling.entry-f1fb67d2.cjs +1 -0
- package/dist/{nylas-threads-refresh.entry-5a774ad7.js → nylas-threads-refresh.entry-6acf3c2b.js} +4 -4
- package/dist/{nylas-threads-refresh.entry-0a832631.cjs → nylas-threads-refresh.entry-bc4c10ea.cjs} +1 -1
- package/dist/{nylas-threads-search.entry-451c6d5c.js → nylas-threads-search.entry-82fa1504.js} +5 -5
- package/dist/{nylas-threads-search.entry-5b57688b.cjs → nylas-threads-search.entry-ee28712c.cjs} +1 -1
- package/dist/nylas-time-window-picker.entry-131f84b4.cjs +1 -0
- package/dist/nylas-time-window-picker.entry-3c45d82e.js +316 -0
- package/dist/{nylas-view-thread.entry-7b273955.cjs → nylas-view-thread.entry-0d9a4aa9.cjs} +1 -1
- package/dist/{nylas-view-thread.entry-e0af8998.js → nylas-view-thread.entry-695a7b0b.js} +6 -6
- package/dist/{play-icon_2.entry-58592b64.js → play-icon_2.entry-ab47588e.js} +3 -3
- package/dist/{play-icon_2.entry-5b22a7ca.cjs → play-icon_2.entry-b1167d3a.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +41 -40
- package/dist/{refresh-icon.entry-876b8aea.cjs → refresh-icon.entry-28e3ade7.cjs} +1 -1
- package/dist/{refresh-icon.entry-90756bc6.js → refresh-icon.entry-43267155.js} +5 -5
- package/dist/{register-component-a5a9ca5d-8bede801.js → register-component-a5a9ca5d-538c35c3.js} +1 -1
- package/dist/{register-component-a5a9ca5d-1fbb27d2.cjs → register-component-a5a9ca5d-8b06415c.cjs} +1 -1
- package/dist/scheduler-config-store-4a50a03d-40e87f35.cjs +1 -0
- package/dist/{scheduler-config-store-ec3b6190-cbc40d60.js → scheduler-config-store-4a50a03d-4a2e2abf.js} +4 -3
- package/dist/{scheduler-store-f02ce045-1d93c571.js → scheduler-store-f02ce045-121c1e09.js} +1 -1
- package/dist/{scheduler-store-f02ce045-712c600c.cjs → scheduler-store-f02ce045-f11cfad9.cjs} +1 -1
- package/dist/{textarea-component.entry-3ea161d6.js → textarea-component.entry-1ec19adb.js} +4 -4
- package/dist/{textarea-component.entry-9d6b5cdc.cjs → textarea-component.entry-402a369b.cjs} +1 -1
- package/dist/{translate-icon.entry-04dde6b1.cjs → translate-icon.entry-59f4e190.cjs} +1 -1
- package/dist/{translate-icon.entry-be9c3401.js → translate-icon.entry-d412697e.js} +6 -6
- package/dist/{warning-icon.entry-347d77af.js → warning-icon.entry-3ee1f451.js} +5 -5
- package/dist/{warning-icon.entry-84121a43.cjs → warning-icon.entry-aa6b2c2c.cjs} +1 -1
- package/package.json +3 -3
- package/dist/add-circle-icon_2.entry-00dc2c13.cjs +0 -1
- package/dist/bold-icon_3.entry-81a3ff1e.js +0 -35
- package/dist/calendar-info-icon_25.entry-7513d798.cjs +0 -1
- package/dist/close-icon.entry-4a39816a.js +0 -15
- package/dist/close-icon.entry-f1166251.cjs +0 -1
- package/dist/google-logo-icon_4.entry-8818686b.js +0 -429
- package/dist/google-logo-icon_4.entry-fa65ae29.cjs +0 -1
- package/dist/index-53420959-41ed02ae.js +0 -5
- package/dist/index-53420959-a76f0327.cjs +0 -1
- package/dist/input-dropdown_2.entry-a87714fc.cjs +0 -1
- package/dist/loading-icon.entry-30724cb0.js +0 -15
- package/dist/loading-icon.entry-bb250f1c.cjs +0 -1
- package/dist/nylas-additional-participants.entry-567c7c2a.cjs +0 -1
- package/dist/nylas-additional-participants.entry-7961be04.js +0 -81
- package/dist/nylas-booked-event-card_10.entry-c2f889ba.cjs +0 -1
- package/dist/nylas-scheduling.entry-70454242.cjs +0 -1
- package/dist/people-icon.entry-c7fb7f6c.cjs +0 -1
- package/dist/people-icon.entry-de3fada0.js +0 -15
- package/dist/scheduler-config-store-ec3b6190-104df545.cjs +0 -1
- package/dist/toggle-switch.entry-10aa0c1a.cjs +0 -1
- package/dist/toggle-switch.entry-a08c1027.js +0 -25
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Ii = Object.defineProperty;
|
|
2
2
|
var Oi = (t, e, n) => e in t ? Ii(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Mt = (t, e, n) => (Oi(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import Et, { createElement as Mi, useReducer as Li, useRef as Lt, useEffect as
|
|
4
|
+
import Et, { createElement as Mi, useReducer as Li, useRef as Lt, useEffect as Fi } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const
|
|
6
|
+
const Ui = "nylas-web-elements", mr = (
|
|
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
|
);
|
|
@@ -21,13 +21,13 @@ function br(t) {
|
|
|
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
23
|
const wr = (t, e, ...n) => {
|
|
24
|
-
let r = null, i = null,
|
|
24
|
+
let r = null, i = null, o = null, a = !1, s = !1;
|
|
25
25
|
const l = [], u = (d) => {
|
|
26
26
|
for (let h = 0; h < d.length; h++)
|
|
27
|
-
r = d[h], Array.isArray(r) ? u(r) : r != null && typeof r != "boolean" && ((
|
|
27
|
+
r = d[h], Array.isArray(r) ? u(r) : r != null && typeof r != "boolean" && ((a = typeof t != "function" && !rn(r)) && (r = String(r)), a && s ? l[l.length - 1].$text$ += r : l.push(a ? pt(null, r) : r), s = a);
|
|
28
28
|
};
|
|
29
29
|
if (u(n), e) {
|
|
30
|
-
e.key && (i = e.key), e.name && (
|
|
30
|
+
e.key && (i = e.key), e.name && (o = e.name);
|
|
31
31
|
{
|
|
32
32
|
const d = e.className || e.class;
|
|
33
33
|
d && (e.class = typeof d != "object" ? d : Object.keys(d).filter((h) => d[h]).join(" "));
|
|
@@ -36,7 +36,7 @@ const wr = (t, e, ...n) => {
|
|
|
36
36
|
if (typeof t == "function")
|
|
37
37
|
return t(e === null ? {} : e, l, qi);
|
|
38
38
|
const f = pt(t, null);
|
|
39
|
-
return f.$attrs$ = e, l.length > 0 && (f.$children$ = l), f.$key$ = i, f.$name$ =
|
|
39
|
+
return f.$attrs$ = e, l.length > 0 && (f.$children$ = l), f.$key$ = i, f.$name$ = o, f;
|
|
40
40
|
}, pt = (t, e) => {
|
|
41
41
|
const n = {
|
|
42
42
|
$flags$: 0,
|
|
@@ -78,31 +78,31 @@ const wr = (t, e, ...n) => {
|
|
|
78
78
|
return t.dispatchEvent(r), r;
|
|
79
79
|
}, An = /* @__PURE__ */ new WeakMap(), Ji = (t, e, n) => {
|
|
80
80
|
let r = mt.get(t);
|
|
81
|
-
|
|
81
|
+
Ea && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = e : r.replaceSync(e)) : r = e, mt.set(t, r);
|
|
82
82
|
}, Xi = (t, e, n) => {
|
|
83
83
|
var r;
|
|
84
|
-
const i = Er(e),
|
|
85
|
-
if (t = t.nodeType === 11 ? t :
|
|
86
|
-
if (typeof
|
|
84
|
+
const i = Er(e), o = mt.get(i);
|
|
85
|
+
if (t = t.nodeType === 11 ? t : ae, o)
|
|
86
|
+
if (typeof o == "string") {
|
|
87
87
|
t = t.head || t;
|
|
88
|
-
let
|
|
89
|
-
if (
|
|
88
|
+
let a = An.get(t), s;
|
|
89
|
+
if (a || An.set(t, a = /* @__PURE__ */ new Set()), !a.has(i)) {
|
|
90
90
|
{
|
|
91
|
-
s =
|
|
92
|
-
const l = (r = q.$nonce$) !== null && r !== void 0 ? r : br(
|
|
91
|
+
s = ae.createElement("style"), s.innerHTML = o;
|
|
92
|
+
const l = (r = q.$nonce$) !== null && r !== void 0 ? r : br(ae);
|
|
93
93
|
l != null && s.setAttribute("nonce", l), t.insertBefore(s, t.querySelector("link"));
|
|
94
94
|
}
|
|
95
|
-
e.$flags$ & 4 && (s.innerHTML += vr),
|
|
95
|
+
e.$flags$ & 4 && (s.innerHTML += vr), a && a.add(i);
|
|
96
96
|
}
|
|
97
97
|
} else
|
|
98
|
-
t.adoptedStyleSheets.includes(
|
|
98
|
+
t.adoptedStyleSheets.includes(o) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, o]);
|
|
99
99
|
return i;
|
|
100
100
|
}, Qi = (t) => {
|
|
101
|
-
const e = t.$cmpMeta$, n = t.$hostElement$, r = e.$flags$, i = Le("attachStyles", e.$tagName$),
|
|
102
|
-
r & 10 && (n["s-sc"] =
|
|
103
|
-
}, Er = (t, e) => "sc-" + t.$tagName$, In = (t, e, n, r, i,
|
|
101
|
+
const e = t.$cmpMeta$, n = t.$hostElement$, r = e.$flags$, i = Le("attachStyles", e.$tagName$), o = Xi(n.shadowRoot ? n.shadowRoot : n.getRootNode(), e);
|
|
102
|
+
r & 10 && (n["s-sc"] = o, n.classList.add(o + "-h"), r & 2 && n.classList.add(o + "-s")), i();
|
|
103
|
+
}, Er = (t, e) => "sc-" + t.$tagName$, In = (t, e, n, r, i, o) => {
|
|
104
104
|
if (n !== r) {
|
|
105
|
-
let
|
|
105
|
+
let a = Pn(t, e), s = e.toLowerCase();
|
|
106
106
|
if (e === "class") {
|
|
107
107
|
const l = t.classList, u = On(n), f = On(r);
|
|
108
108
|
l.remove(...u.filter((d) => d && !f.includes(d))), l.add(...f.filter((d) => d && !u.includes(d)));
|
|
@@ -114,35 +114,35 @@ const wr = (t, e, ...n) => {
|
|
|
114
114
|
} else if (e !== "key")
|
|
115
115
|
if (e === "ref")
|
|
116
116
|
r && r(t);
|
|
117
|
-
else if (!
|
|
117
|
+
else if (!a && e[0] === "o" && e[1] === "n") {
|
|
118
118
|
if (e[2] === "-" ? e = e.slice(3) : Pn(lt, s) ? e = s.slice(2) : e = s[2] + e.slice(3), n || r) {
|
|
119
119
|
const l = e.endsWith(kr);
|
|
120
|
-
e = e.replace(
|
|
120
|
+
e = e.replace(ea, ""), n && q.rel(t, e, n, l), r && q.ael(t, e, r, l);
|
|
121
121
|
}
|
|
122
122
|
} else {
|
|
123
123
|
const l = rn(r);
|
|
124
|
-
if ((
|
|
124
|
+
if ((a || l && r !== null) && !i)
|
|
125
125
|
try {
|
|
126
126
|
if (t.tagName.includes("-"))
|
|
127
127
|
t[e] = r;
|
|
128
128
|
else {
|
|
129
129
|
const u = r ?? "";
|
|
130
|
-
e === "list" ?
|
|
130
|
+
e === "list" ? a = !1 : (n == null || t[e] != u) && (t[e] = u);
|
|
131
131
|
}
|
|
132
132
|
} catch {
|
|
133
133
|
}
|
|
134
|
-
r == null || r === !1 ? (r !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!
|
|
134
|
+
r == null || r === !1 ? (r !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!a || o & 4 || i) && !l && (r = r === !0 ? "" : r, t.setAttribute(e, r));
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
}, Vi = /\s/, On = (t) => t ? t.split(Vi) : [], kr = "Capture",
|
|
138
|
-
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$,
|
|
139
|
-
for (r in a)
|
|
140
|
-
r in o || In(i, r, a[r], void 0, n, e.$flags$);
|
|
137
|
+
}, Vi = /\s/, On = (t) => t ? t.split(Vi) : [], kr = "Capture", ea = new RegExp(kr + "$"), xr = (t, e, n, r) => {
|
|
138
|
+
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, o = t && t.$attrs$ || Rn, a = e.$attrs$ || Rn;
|
|
141
139
|
for (r in o)
|
|
142
|
-
In(i, r,
|
|
140
|
+
r in a || In(i, r, o[r], void 0, n, e.$flags$);
|
|
141
|
+
for (r in a)
|
|
142
|
+
In(i, r, o[r], a[r], n, e.$flags$);
|
|
143
143
|
}, yt = (t, e, n, r) => {
|
|
144
144
|
const i = e.$children$[n];
|
|
145
|
-
let
|
|
145
|
+
let o = 0, a, s, l;
|
|
146
146
|
if (gr || (nn = !0, i.$tag$ === "slot" && (Ge && r.classList.add(Ge + "-s"), i.$flags$ |= i.$children$ ? (
|
|
147
147
|
// slot element has fallback content
|
|
148
148
|
2
|
|
@@ -150,68 +150,68 @@ const wr = (t, e, ...n) => {
|
|
|
150
150
|
// slot element does not have fallback content
|
|
151
151
|
1
|
|
152
152
|
))), i.$text$ !== null)
|
|
153
|
-
|
|
153
|
+
a = i.$elm$ = ae.createTextNode(i.$text$);
|
|
154
154
|
else if (i.$flags$ & 1)
|
|
155
|
-
|
|
155
|
+
a = i.$elm$ = ae.createTextNode("");
|
|
156
156
|
else {
|
|
157
|
-
if (fe || (fe = i.$tag$ === "svg"),
|
|
158
|
-
for (
|
|
159
|
-
s = yt(t, i,
|
|
160
|
-
i.$tag$ === "svg" ? fe = !1 :
|
|
157
|
+
if (fe || (fe = i.$tag$ === "svg"), a = i.$elm$ = ae.createElementNS(fe ? Hi : Bi, i.$flags$ & 2 ? "slot-fb" : i.$tag$), fe && i.$tag$ === "foreignObject" && (fe = !1), xr(null, i, fe), Wi(Ge) && a["s-si"] !== Ge && a.classList.add(a["s-si"] = Ge), i.$children$)
|
|
158
|
+
for (o = 0; o < i.$children$.length; ++o)
|
|
159
|
+
s = yt(t, i, o, a), s && a.appendChild(s);
|
|
160
|
+
i.$tag$ === "svg" ? fe = !1 : a.tagName === "foreignObject" && (fe = !0);
|
|
161
161
|
}
|
|
162
|
-
return
|
|
163
|
-
},
|
|
162
|
+
return a["s-hn"] = kt, i.$flags$ & 3 && (a["s-sr"] = !0, a["s-cr"] = Bt, a["s-sn"] = i.$name$ || "", l = t && t.$children$ && t.$children$[n], l && l.$tag$ === i.$tag$ && t.$elm$ && ot(t.$elm$, !1)), a;
|
|
163
|
+
}, ot = (t, e) => {
|
|
164
164
|
q.$flags$ |= 1;
|
|
165
165
|
const n = t.childNodes;
|
|
166
166
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
167
167
|
const i = n[r];
|
|
168
|
-
i["s-hn"] !== kt && i["s-ol"] && (Cr(i).insertBefore(i,
|
|
168
|
+
i["s-hn"] !== kt && i["s-ol"] && (Cr(i).insertBefore(i, an(i)), i["s-ol"].remove(), i["s-ol"] = void 0, i["s-sh"] = void 0, nn = !0), e && ot(i, e);
|
|
169
169
|
}
|
|
170
170
|
q.$flags$ &= -2;
|
|
171
|
-
}, Tr = (t, e, n, r, i,
|
|
172
|
-
let
|
|
173
|
-
for (
|
|
174
|
-
r[i] && (s = yt(null, n, i, t), s && (r[i].$elm$ = s,
|
|
171
|
+
}, Tr = (t, e, n, r, i, o) => {
|
|
172
|
+
let a = t["s-cr"] && t["s-cr"].parentNode || t, s;
|
|
173
|
+
for (a.shadowRoot && a.tagName === kt && (a = a.shadowRoot); i <= o; ++i)
|
|
174
|
+
r[i] && (s = yt(null, n, i, t), s && (r[i].$elm$ = s, a.insertBefore(s, an(e))));
|
|
175
175
|
}, Sr = (t, e, n) => {
|
|
176
176
|
for (let r = e; r <= n; ++r) {
|
|
177
177
|
const i = t[r];
|
|
178
178
|
if (i) {
|
|
179
|
-
const
|
|
180
|
-
Dr(i),
|
|
179
|
+
const o = i.$elm$;
|
|
180
|
+
Dr(i), o && (ht = !0, o["s-ol"] ? o["s-ol"].remove() : ot(o, !0), o.remove());
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
},
|
|
184
|
-
let
|
|
185
|
-
for (;
|
|
183
|
+
}, ta = (t, e, n, r, i = !1) => {
|
|
184
|
+
let o = 0, a = 0, s = 0, l = 0, u = e.length - 1, f = e[0], d = e[u], h = r.length - 1, p = r[0], y = r[h], b, w;
|
|
185
|
+
for (; o <= u && a <= h; )
|
|
186
186
|
if (f == null)
|
|
187
|
-
f = e[++
|
|
187
|
+
f = e[++o];
|
|
188
188
|
else if (d == null)
|
|
189
189
|
d = e[--u];
|
|
190
190
|
else if (p == null)
|
|
191
|
-
p = r[++
|
|
191
|
+
p = r[++a];
|
|
192
192
|
else if (y == null)
|
|
193
193
|
y = r[--h];
|
|
194
194
|
else if (dt(f, p, i))
|
|
195
|
-
Ze(f, p, i), f = e[++
|
|
195
|
+
Ze(f, p, i), f = e[++o], p = r[++a];
|
|
196
196
|
else if (dt(d, y, i))
|
|
197
197
|
Ze(d, y, i), d = e[--u], y = r[--h];
|
|
198
198
|
else if (dt(f, y, i))
|
|
199
|
-
(f.$tag$ === "slot" || y.$tag$ === "slot") &&
|
|
199
|
+
(f.$tag$ === "slot" || y.$tag$ === "slot") && ot(f.$elm$.parentNode, !1), Ze(f, y, i), t.insertBefore(f.$elm$, d.$elm$.nextSibling), f = e[++o], y = r[--h];
|
|
200
200
|
else if (dt(d, p, i))
|
|
201
|
-
(f.$tag$ === "slot" || y.$tag$ === "slot") &&
|
|
201
|
+
(f.$tag$ === "slot" || y.$tag$ === "slot") && ot(d.$elm$.parentNode, !1), Ze(d, p, i), t.insertBefore(d.$elm$, f.$elm$), d = e[--u], p = r[++a];
|
|
202
202
|
else {
|
|
203
|
-
for (s = -1, l =
|
|
203
|
+
for (s = -1, l = o; l <= u; ++l)
|
|
204
204
|
if (e[l] && e[l].$key$ !== null && e[l].$key$ === p.$key$) {
|
|
205
205
|
s = l;
|
|
206
206
|
break;
|
|
207
207
|
}
|
|
208
|
-
s >= 0 ? (w = e[s], w.$tag$ !== p.$tag$ ? b = yt(e && e[
|
|
208
|
+
s >= 0 ? (w = e[s], w.$tag$ !== p.$tag$ ? b = yt(e && e[a], n, s, t) : (Ze(w, p, i), e[s] = void 0, b = w.$elm$), p = r[++a]) : (b = yt(e && e[a], n, a, t), p = r[++a]), b && Cr(f.$elm$).insertBefore(b, an(f.$elm$));
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
}, dt = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1,
|
|
212
|
-
const r = e.$elm$ = t.$elm$, i = t.$children$,
|
|
210
|
+
o > u ? Tr(t, r[h + 1] == null ? null : r[h + 1].$elm$, n, r, a, h) : a > h && Sr(e, o, u);
|
|
211
|
+
}, dt = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1, an = (t) => t && t["s-ol"] || t, Cr = (t) => (t["s-ol"] ? t["s-ol"] : t).parentNode, Ze = (t, e, n = !1) => {
|
|
212
|
+
const r = e.$elm$ = t.$elm$, i = t.$children$, o = e.$children$, a = e.$tag$, s = e.$text$;
|
|
213
213
|
let l;
|
|
214
|
-
s === null ? (fe =
|
|
214
|
+
s === null ? (fe = a === "svg" ? !0 : a === "foreignObject" ? !1 : fe, a === "slot" || xr(t, e, fe), i !== null && o !== null ? ta(r, i, e, o, n) : o !== null ? (t.$text$ !== null && (r.textContent = ""), Tr(r, null, e, o, 0, o.length - 1)) : i !== null && Sr(i, 0, i.length - 1), fe && a === "svg" && (fe = !1)) : (l = r["s-cr"]) ? l.parentNode.textContent = s : t.$text$ !== s && (r.data = s);
|
|
215
215
|
}, _r = (t) => {
|
|
216
216
|
const e = t.childNodes;
|
|
217
217
|
for (const n of e)
|
|
@@ -239,19 +239,19 @@ const wr = (t, e, ...n) => {
|
|
|
239
239
|
for (const i of t.childNodes) {
|
|
240
240
|
if (i["s-sr"] && (e = i["s-cr"]) && e.parentNode) {
|
|
241
241
|
n = e.parentNode.childNodes;
|
|
242
|
-
const
|
|
242
|
+
const o = i["s-sn"];
|
|
243
243
|
for (r = n.length - 1; r >= 0; r--)
|
|
244
244
|
if (e = n[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== i["s-hn"] && !mr.experimentalSlotFixes)
|
|
245
|
-
if (Mn(e,
|
|
246
|
-
let
|
|
247
|
-
ht = !0, e["s-sn"] = e["s-sn"] ||
|
|
245
|
+
if (Mn(e, o)) {
|
|
246
|
+
let a = Ie.find((s) => s.$nodeToRelocate$ === e);
|
|
247
|
+
ht = !0, e["s-sn"] = e["s-sn"] || o, a ? (a.$nodeToRelocate$["s-sh"] = i["s-hn"], a.$slotRefNode$ = i) : (e["s-sh"] = i["s-hn"], Ie.push({
|
|
248
248
|
$slotRefNode$: i,
|
|
249
249
|
$nodeToRelocate$: e
|
|
250
250
|
})), e["s-sr"] && Ie.map((s) => {
|
|
251
|
-
Mn(s.$nodeToRelocate$, e["s-sn"]) && (
|
|
251
|
+
Mn(s.$nodeToRelocate$, e["s-sn"]) && (a = Ie.find((l) => l.$nodeToRelocate$ === e), a && !s.$slotRefNode$ && (s.$slotRefNode$ = a.$slotRefNode$));
|
|
252
252
|
});
|
|
253
253
|
} else
|
|
254
|
-
Ie.some((
|
|
254
|
+
Ie.some((a) => a.$nodeToRelocate$ === e) || Ie.push({
|
|
255
255
|
$nodeToRelocate$: e
|
|
256
256
|
});
|
|
257
257
|
}
|
|
@@ -259,8 +259,8 @@ const wr = (t, e, ...n) => {
|
|
|
259
259
|
}
|
|
260
260
|
}, Mn = (t, e) => t.nodeType === 1 ? t.getAttribute("slot") === null && e === "" || t.getAttribute("slot") === e : t["s-sn"] === e ? !0 : e === "", Dr = (t) => {
|
|
261
261
|
t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(Dr);
|
|
262
|
-
},
|
|
263
|
-
var r, i,
|
|
262
|
+
}, na = (t, e, n = !1) => {
|
|
263
|
+
var r, i, o, a;
|
|
264
264
|
const s = t.$hostElement$, l = t.$cmpMeta$, u = t.$vnode$ || pt(null, null), f = zi(e) ? e : wr(null, null, e);
|
|
265
265
|
if (kt = s.tagName, n && f.$attrs$)
|
|
266
266
|
for (const d of Object.keys(f.$attrs$))
|
|
@@ -272,7 +272,7 @@ const wr = (t, e, ...n) => {
|
|
|
272
272
|
for (const d of Ie) {
|
|
273
273
|
const h = d.$nodeToRelocate$;
|
|
274
274
|
if (!h["s-ol"]) {
|
|
275
|
-
const p =
|
|
275
|
+
const p = ae.createTextNode("");
|
|
276
276
|
p["s-nr"] = h, h.parentNode.insertBefore(h["s-ol"] = p, h);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -292,9 +292,9 @@ const wr = (t, e, ...n) => {
|
|
|
292
292
|
w = w.previousSibling;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
(!b && y !== h.parentNode || h.nextSibling !== b) && h !== b && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), y.insertBefore(h, b), h.nodeType === 1 && (h.hidden = (
|
|
295
|
+
(!b && y !== h.parentNode || h.nextSibling !== b) && h !== b && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), y.insertBefore(h, b), h.nodeType === 1 && (h.hidden = (o = h["s-ih"]) !== null && o !== void 0 ? o : !1));
|
|
296
296
|
} else
|
|
297
|
-
h.nodeType === 1 && (n && (h["s-ih"] = (
|
|
297
|
+
h.nodeType === 1 && (n && (h["s-ih"] = (a = h.hidden) !== null && a !== void 0 ? a : !1), h.hidden = !0);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
ht && _r(f.$elm$), q.$flags$ &= -2, Ie.length = 0;
|
|
@@ -307,38 +307,38 @@ const wr = (t, e, ...n) => {
|
|
|
307
307
|
t.$flags$ |= 512;
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
|
-
return Ar(t, t.$ancestorComponent$),
|
|
311
|
-
},
|
|
310
|
+
return Ar(t, t.$ancestorComponent$), xa(() => ra(t, e));
|
|
311
|
+
}, ra = (t, e) => {
|
|
312
312
|
const n = Le("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$lazyInstance$;
|
|
313
313
|
let i;
|
|
314
|
-
return e ? (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([
|
|
315
|
-
}, Ln = (t, e) =>
|
|
314
|
+
return e ? (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([o, a]) => Oe(r, o, a)), t.$queuedListeners$ = void 0), i = Oe(r, "componentWillLoad")) : i = Oe(r, "componentWillUpdate"), i = Ln(i, () => Oe(r, "componentWillRender")), n(), Ln(i, () => aa(t, r, e));
|
|
315
|
+
}, Ln = (t, e) => ia(t) ? t.then(e) : e(), ia = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", aa = async (t, e, n) => {
|
|
316
316
|
var r;
|
|
317
|
-
const i = t.$hostElement$,
|
|
317
|
+
const i = t.$hostElement$, o = Le("update", t.$cmpMeta$.$tagName$), a = i["s-rc"];
|
|
318
318
|
n && Qi(t);
|
|
319
319
|
const s = Le("render", t.$cmpMeta$.$tagName$);
|
|
320
|
-
|
|
320
|
+
oa(t, e, i, n), a && (a.map((l) => l()), i["s-rc"] = void 0), s(), o();
|
|
321
321
|
{
|
|
322
|
-
const l = (r = i["s-p"]) !== null && r !== void 0 ? r : [], u = () =>
|
|
322
|
+
const l = (r = i["s-p"]) !== null && r !== void 0 ? r : [], u = () => sa(t);
|
|
323
323
|
l.length === 0 ? u() : (Promise.all(l).then(u), t.$flags$ |= 4, l.length = 0);
|
|
324
324
|
}
|
|
325
|
-
},
|
|
325
|
+
}, oa = (t, e, n, r) => {
|
|
326
326
|
try {
|
|
327
|
-
Wt = e, e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2,
|
|
327
|
+
Wt = e, e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, na(t, e, r);
|
|
328
328
|
} catch (i) {
|
|
329
329
|
_(i, t.$hostElement$);
|
|
330
330
|
}
|
|
331
331
|
return Wt = null, null;
|
|
332
|
-
},
|
|
333
|
-
const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, r = Le("postUpdate", e), i = t.$lazyInstance$,
|
|
334
|
-
Oe(i, "componentDidRender"), t.$flags$ & 64 ? (Oe(i, "componentDidUpdate"), r()) : (t.$flags$ |= 64, Or(n), Oe(i, "componentDidLoad"), r(), t.$onReadyResolve$(n),
|
|
335
|
-
},
|
|
332
|
+
}, Fn = () => Wt, sa = (t) => {
|
|
333
|
+
const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, r = Le("postUpdate", e), i = t.$lazyInstance$, o = t.$ancestorComponent$;
|
|
334
|
+
Oe(i, "componentDidRender"), t.$flags$ & 64 ? (Oe(i, "componentDidUpdate"), r()) : (t.$flags$ |= 64, Or(n), Oe(i, "componentDidLoad"), r(), t.$onReadyResolve$(n), o || Ir()), t.$onInstanceResolve$(n), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && sn(() => xt(t, !1)), t.$flags$ &= -517;
|
|
335
|
+
}, Un = (t) => {
|
|
336
336
|
{
|
|
337
337
|
const e = Te(t), n = e.$hostElement$.isConnected;
|
|
338
338
|
return n && (e.$flags$ & 18) === 2 && xt(e, !1), n;
|
|
339
339
|
}
|
|
340
340
|
}, Ir = (t) => {
|
|
341
|
-
Or(
|
|
341
|
+
Or(ae.documentElement), sn(() => $r(lt, "appload", { detail: { namespace: Ui } }));
|
|
342
342
|
}, Oe = (t, e, n) => {
|
|
343
343
|
if (t && t[e])
|
|
344
344
|
try {
|
|
@@ -346,18 +346,18 @@ const wr = (t, e, ...n) => {
|
|
|
346
346
|
} catch (r) {
|
|
347
347
|
_(r);
|
|
348
348
|
}
|
|
349
|
-
}, Or = (t) => t.classList.add("hydrated"),
|
|
350
|
-
const i = Te(t),
|
|
349
|
+
}, Or = (t) => t.classList.add("hydrated"), la = (t, e) => Te(t).$instanceValues$.get(e), ca = (t, e, n, r) => {
|
|
350
|
+
const i = Te(t), o = i.$hostElement$, a = i.$instanceValues$.get(e), s = i.$flags$, l = i.$lazyInstance$;
|
|
351
351
|
n = Gi(n, r.$members$[e][0]);
|
|
352
|
-
const u = Number.isNaN(
|
|
353
|
-
if ((!(s & 8) ||
|
|
352
|
+
const u = Number.isNaN(a) && Number.isNaN(n), f = n !== a && !u;
|
|
353
|
+
if ((!(s & 8) || a === void 0) && f && (i.$instanceValues$.set(e, n), l)) {
|
|
354
354
|
if (r.$watchers$ && s & 128) {
|
|
355
355
|
const d = r.$watchers$[e];
|
|
356
356
|
d && d.map((h) => {
|
|
357
357
|
try {
|
|
358
|
-
l[h](n,
|
|
358
|
+
l[h](n, a, e);
|
|
359
359
|
} catch (p) {
|
|
360
|
-
_(p,
|
|
360
|
+
_(p, o);
|
|
361
361
|
}
|
|
362
362
|
});
|
|
363
363
|
}
|
|
@@ -366,48 +366,48 @@ const wr = (t, e, ...n) => {
|
|
|
366
366
|
}, Mr = (t, e, n) => {
|
|
367
367
|
var r;
|
|
368
368
|
const i = t.prototype;
|
|
369
|
-
if (e.$flags$ & 64 && n & 1 && Yi.forEach((
|
|
370
|
-
value(...
|
|
369
|
+
if (e.$flags$ & 64 && n & 1 && Yi.forEach((o) => Object.defineProperty(i, o, {
|
|
370
|
+
value(...a) {
|
|
371
371
|
const s = Te(this), l = s.$lazyInstance$;
|
|
372
372
|
if (!l)
|
|
373
373
|
s.$onReadyPromise$.then((u) => {
|
|
374
|
-
const f = u[
|
|
375
|
-
typeof f == "function" && f.call(u, ...
|
|
374
|
+
const f = u[o];
|
|
375
|
+
typeof f == "function" && f.call(u, ...a);
|
|
376
376
|
});
|
|
377
377
|
else {
|
|
378
|
-
const u = l[
|
|
379
|
-
typeof u == "function" && u.call(l, ...
|
|
378
|
+
const u = l[o];
|
|
379
|
+
typeof u == "function" && u.call(l, ...a);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
})), e.$members$) {
|
|
383
383
|
t.watchers && (e.$watchers$ = t.watchers);
|
|
384
|
-
const
|
|
385
|
-
if (
|
|
386
|
-
s & 31 || n & 2 && s & 32 ? Object.defineProperty(i,
|
|
384
|
+
const o = Object.entries(e.$members$);
|
|
385
|
+
if (o.map(([a, [s]]) => {
|
|
386
|
+
s & 31 || n & 2 && s & 32 ? Object.defineProperty(i, a, {
|
|
387
387
|
get() {
|
|
388
|
-
return
|
|
388
|
+
return la(this, a);
|
|
389
389
|
},
|
|
390
390
|
set(l) {
|
|
391
|
-
|
|
391
|
+
ca(this, a, l, e);
|
|
392
392
|
},
|
|
393
393
|
configurable: !0,
|
|
394
394
|
enumerable: !0
|
|
395
|
-
}) : n & 1 && s & 64 && Object.defineProperty(i,
|
|
395
|
+
}) : n & 1 && s & 64 && Object.defineProperty(i, a, {
|
|
396
396
|
value(...l) {
|
|
397
397
|
var u;
|
|
398
398
|
const f = Te(this);
|
|
399
399
|
return (u = f == null ? void 0 : f.$onInstancePromise$) === null || u === void 0 ? void 0 : u.then(() => {
|
|
400
400
|
var d;
|
|
401
|
-
return (d = f.$lazyInstance$) === null || d === void 0 ? void 0 : d[
|
|
401
|
+
return (d = f.$lazyInstance$) === null || d === void 0 ? void 0 : d[a](...l);
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
405
|
}), n & 1) {
|
|
406
|
-
const
|
|
406
|
+
const a = /* @__PURE__ */ new Map();
|
|
407
407
|
i.attributeChangedCallback = function(s, l, u) {
|
|
408
408
|
q.jmp(() => {
|
|
409
409
|
var f;
|
|
410
|
-
const d =
|
|
410
|
+
const d = a.get(s);
|
|
411
411
|
if (this.hasOwnProperty(d))
|
|
412
412
|
u = this[d], delete this[d];
|
|
413
413
|
else {
|
|
@@ -428,23 +428,23 @@ const wr = (t, e, ...n) => {
|
|
|
428
428
|
});
|
|
429
429
|
}, t.observedAttributes = Array.from(/* @__PURE__ */ new Set([
|
|
430
430
|
...Object.keys((r = e.$watchers$) !== null && r !== void 0 ? r : {}),
|
|
431
|
-
...
|
|
431
|
+
...o.filter(
|
|
432
432
|
([s, l]) => l[0] & 15
|
|
433
433
|
/* MEMBER_FLAGS.HasAttribute */
|
|
434
434
|
).map(([s, l]) => {
|
|
435
435
|
const u = l[1] || s;
|
|
436
|
-
return
|
|
436
|
+
return a.set(u, s), u;
|
|
437
437
|
})
|
|
438
438
|
]));
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
return t;
|
|
442
|
-
},
|
|
442
|
+
}, ua = async (t, e, n, r) => {
|
|
443
443
|
let i;
|
|
444
444
|
if (!(e.$flags$ & 32)) {
|
|
445
445
|
e.$flags$ |= 32;
|
|
446
446
|
{
|
|
447
|
-
if (i =
|
|
447
|
+
if (i = ba(n), i.then) {
|
|
448
448
|
const l = Ni();
|
|
449
449
|
i = await i, l();
|
|
450
450
|
}
|
|
@@ -472,18 +472,18 @@ const wr = (t, e, ...n) => {
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
const
|
|
476
|
-
|
|
475
|
+
const o = e.$ancestorComponent$, a = () => xt(e, !0);
|
|
476
|
+
o && o["s-rc"] ? o["s-rc"].push(a) : a();
|
|
477
477
|
}, zt = (t) => {
|
|
478
478
|
Oe(t, "connectedCallback");
|
|
479
|
-
},
|
|
479
|
+
}, fa = (t) => {
|
|
480
480
|
if (!(q.$flags$ & 1)) {
|
|
481
481
|
const e = Te(t), n = e.$cmpMeta$, r = Le("connectedCallback", n.$tagName$);
|
|
482
482
|
if (e.$flags$ & 1)
|
|
483
483
|
Lr(t, e, n.$listeners$), e != null && e.$lazyInstance$ ? zt(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => zt(e.$lazyInstance$));
|
|
484
484
|
else {
|
|
485
485
|
e.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
486
|
-
n.$flags$ & 12 &&
|
|
486
|
+
n.$flags$ & 12 && da(t);
|
|
487
487
|
{
|
|
488
488
|
let i = t;
|
|
489
489
|
for (; i = i.parentNode || i.host; )
|
|
@@ -492,30 +492,30 @@ const wr = (t, e, ...n) => {
|
|
|
492
492
|
break;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
n.$members$ && Object.entries(n.$members$).map(([i, [
|
|
496
|
-
if (
|
|
497
|
-
const
|
|
498
|
-
delete t[i], t[i] =
|
|
495
|
+
n.$members$ && Object.entries(n.$members$).map(([i, [o]]) => {
|
|
496
|
+
if (o & 31 && t.hasOwnProperty(i)) {
|
|
497
|
+
const a = t[i];
|
|
498
|
+
delete t[i], t[i] = a;
|
|
499
499
|
}
|
|
500
|
-
}),
|
|
500
|
+
}), ua(t, e, n);
|
|
501
501
|
}
|
|
502
502
|
r();
|
|
503
503
|
}
|
|
504
|
-
},
|
|
505
|
-
const e = t["s-cr"] =
|
|
504
|
+
}, da = (t) => {
|
|
505
|
+
const e = t["s-cr"] = ae.createComment("");
|
|
506
506
|
e["s-cn"] = !0, t.insertBefore(e, t.firstChild);
|
|
507
507
|
}, Nn = (t) => {
|
|
508
508
|
Oe(t, "disconnectedCallback");
|
|
509
|
-
},
|
|
509
|
+
}, ha = async (t) => {
|
|
510
510
|
if (!(q.$flags$ & 1)) {
|
|
511
511
|
const e = Te(t);
|
|
512
512
|
e.$rmListeners$ && (e.$rmListeners$.map((n) => n()), e.$rmListeners$ = void 0), e != null && e.$lazyInstance$ ? Nn(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Nn(e.$lazyInstance$));
|
|
513
513
|
}
|
|
514
|
-
},
|
|
514
|
+
}, pa = (t, e = {}) => {
|
|
515
515
|
var n;
|
|
516
|
-
const r = Le(), i = [],
|
|
516
|
+
const r = Le(), i = [], o = e.exclude || [], a = lt.customElements, s = ae.head, l = /* @__PURE__ */ s.querySelector("meta[charset]"), u = /* @__PURE__ */ ae.createElement("style"), f = [];
|
|
517
517
|
let d, h = !0;
|
|
518
|
-
Object.assign(q, e), q.$resourcesUrl$ = new URL(e.resourcesUrl || "./",
|
|
518
|
+
Object.assign(q, e), q.$resourcesUrl$ = new URL(e.resourcesUrl || "./", ae.baseURI).href;
|
|
519
519
|
let p = !1;
|
|
520
520
|
if (t.map((y) => {
|
|
521
521
|
y[1].map((b) => {
|
|
@@ -530,19 +530,19 @@ const wr = (t, e, ...n) => {
|
|
|
530
530
|
const M = T.$tagName$, te = class extends HTMLElement {
|
|
531
531
|
// StencilLazyHost
|
|
532
532
|
constructor(le) {
|
|
533
|
-
super(le), le = this,
|
|
533
|
+
super(le), le = this, va(le, T), T.$flags$ & 1 && le.attachShadow({ mode: "open" });
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
|
-
d && (clearTimeout(d), d = null), h ? f.push(this) : q.jmp(() =>
|
|
536
|
+
d && (clearTimeout(d), d = null), h ? f.push(this) : q.jmp(() => fa(this));
|
|
537
537
|
}
|
|
538
538
|
disconnectedCallback() {
|
|
539
|
-
q.jmp(() =>
|
|
539
|
+
q.jmp(() => ha(this));
|
|
540
540
|
}
|
|
541
541
|
componentOnReady() {
|
|
542
542
|
return Te(this).$onReadyPromise$;
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
T.$flags$ & 64 && (te.formAssociated = !0), T.$lazyBundleId$ = y[0], !
|
|
545
|
+
T.$flags$ & 64 && (te.formAssociated = !0), T.$lazyBundleId$ = y[0], !o.includes(M) && !a.get(M) && (i.push(M), a.define(M, Mr(
|
|
546
546
|
te,
|
|
547
547
|
T,
|
|
548
548
|
1
|
|
@@ -551,254 +551,244 @@ const wr = (t, e, ...n) => {
|
|
|
551
551
|
});
|
|
552
552
|
}), p && (u.innerHTML += vr), u.innerHTML += i + Pi, u.innerHTML.length) {
|
|
553
553
|
u.setAttribute("data-styles", "");
|
|
554
|
-
const y = (n = q.$nonce$) !== null && n !== void 0 ? n : br(
|
|
554
|
+
const y = (n = q.$nonce$) !== null && n !== void 0 ? n : br(ae);
|
|
555
555
|
y != null && u.setAttribute("nonce", y), s.insertBefore(u, l ? l.nextSibling : s.firstChild);
|
|
556
556
|
}
|
|
557
557
|
h = !1, f.length ? f.map((y) => y.connectedCallback()) : q.jmp(() => d = setTimeout(Ir, 30)), r();
|
|
558
558
|
}, Rs = (t, e) => e, Lr = (t, e, n, r) => {
|
|
559
|
-
n && n.map(([i,
|
|
560
|
-
const s =
|
|
561
|
-
q.ael(s,
|
|
559
|
+
n && n.map(([i, o, a]) => {
|
|
560
|
+
const s = ma(t, i), l = ya(e, a), u = ga(i);
|
|
561
|
+
q.ael(s, o, l, u), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => q.rel(s, o, l, u));
|
|
562
562
|
});
|
|
563
|
-
},
|
|
563
|
+
}, ya = (t, e) => (n) => {
|
|
564
564
|
try {
|
|
565
565
|
t.$flags$ & 256 ? t.$lazyInstance$[e](n) : (t.$queuedListeners$ = t.$queuedListeners$ || []).push([e, n]);
|
|
566
566
|
} catch (r) {
|
|
567
567
|
_(r);
|
|
568
568
|
}
|
|
569
|
-
},
|
|
569
|
+
}, ma = (t, e) => e & 4 ? ae : e & 8 ? lt : e & 16 ? ae.body : t, ga = (t) => wa ? {
|
|
570
570
|
passive: (t & 1) !== 0,
|
|
571
571
|
capture: (t & 2) !== 0
|
|
572
|
-
} : (t & 2) !== 0, Ds = (t) => q.$nonce$ = t,
|
|
572
|
+
} : (t & 2) !== 0, Ds = (t) => q.$nonce$ = t, on = /* @__PURE__ */ new WeakMap(), Te = (t) => on.get(t), As = (t, e) => on.set(e.$lazyInstance$ = t, e), va = (t, e) => {
|
|
573
573
|
const n = {
|
|
574
574
|
$flags$: 0,
|
|
575
575
|
$hostElement$: t,
|
|
576
576
|
$cmpMeta$: e,
|
|
577
577
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
578
578
|
};
|
|
579
|
-
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], Lr(t, n, e.$listeners$),
|
|
580
|
-
}, Pn = (t, e) => e in t, _ = (t, e) => (0, console.error)(t, e),
|
|
581
|
-
const r = t.$tagName$.replace(/-/g, "_"), i = t.$lazyBundleId$,
|
|
582
|
-
if (
|
|
583
|
-
return
|
|
579
|
+
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], Lr(t, n, e.$listeners$), on.set(t, n);
|
|
580
|
+
}, Pn = (t, e) => e in t, _ = (t, e) => (0, console.error)(t, e), Ft = /* @__PURE__ */ new Map(), ba = (t, e, n) => {
|
|
581
|
+
const r = t.$tagName$.replace(/-/g, "_"), i = t.$lazyBundleId$, o = Ft.get(i);
|
|
582
|
+
if (o)
|
|
583
|
+
return o[r];
|
|
584
584
|
if (!n || !mr.hotModuleReplacement) {
|
|
585
|
-
const
|
|
585
|
+
const a = (s) => (Ft.set(i, s), s[r]);
|
|
586
586
|
switch (i) {
|
|
587
587
|
case "document-refresh-icon":
|
|
588
588
|
return import(
|
|
589
589
|
/* webpackMode: "lazy" */
|
|
590
|
-
"./document-refresh-icon.entry-
|
|
591
|
-
).then(
|
|
592
|
-
case "nylas-additional-participants":
|
|
593
|
-
return import(
|
|
594
|
-
/* webpackMode: "lazy" */
|
|
595
|
-
"./nylas-additional-participants.entry-7961be04.js"
|
|
596
|
-
).then(o, _);
|
|
590
|
+
"./document-refresh-icon.entry-b4c217df.js"
|
|
591
|
+
).then(a, _);
|
|
597
592
|
case "nylas-custom-booking-flow":
|
|
598
593
|
return import(
|
|
599
594
|
/* webpackMode: "lazy" */
|
|
600
|
-
"./nylas-custom-booking-flow.entry-
|
|
601
|
-
).then(
|
|
595
|
+
"./nylas-custom-booking-flow.entry-f31400e2.js"
|
|
596
|
+
).then(a, _);
|
|
602
597
|
case "nylas-if-state":
|
|
603
598
|
return import(
|
|
604
599
|
/* webpackMode: "lazy" */
|
|
605
|
-
"./nylas-if-state.entry-
|
|
606
|
-
).then(
|
|
600
|
+
"./nylas-if-state.entry-5bdf8669.js"
|
|
601
|
+
).then(a, _);
|
|
607
602
|
case "nylas-list-folders":
|
|
608
603
|
return import(
|
|
609
604
|
/* webpackMode: "lazy" */
|
|
610
|
-
"./nylas-list-folders.entry-
|
|
611
|
-
).then(
|
|
605
|
+
"./nylas-list-folders.entry-f0e7ae4e.js"
|
|
606
|
+
).then(a, _);
|
|
612
607
|
case "nylas-list-threads":
|
|
613
608
|
return import(
|
|
614
609
|
/* webpackMode: "lazy" */
|
|
615
|
-
"./nylas-list-threads.entry-
|
|
616
|
-
).then(
|
|
610
|
+
"./nylas-list-threads.entry-3f7451ad.js"
|
|
611
|
+
).then(a, _);
|
|
617
612
|
case "nylas-login":
|
|
618
613
|
return import(
|
|
619
614
|
/* webpackMode: "lazy" */
|
|
620
|
-
"./nylas-login.entry-
|
|
621
|
-
).then(
|
|
615
|
+
"./nylas-login.entry-e3b757a0.js"
|
|
616
|
+
).then(a, _);
|
|
622
617
|
case "nylas-mailbox":
|
|
623
618
|
return import(
|
|
624
619
|
/* webpackMode: "lazy" */
|
|
625
|
-
"./nylas-mailbox.entry-
|
|
626
|
-
).then(
|
|
620
|
+
"./nylas-mailbox.entry-1552ad11.js"
|
|
621
|
+
).then(a, _);
|
|
627
622
|
case "nylas-mailbox-pagination":
|
|
628
623
|
return import(
|
|
629
624
|
/* webpackMode: "lazy" */
|
|
630
|
-
"./nylas-mailbox-pagination.entry-
|
|
631
|
-
).then(
|
|
625
|
+
"./nylas-mailbox-pagination.entry-6c845a2a.js"
|
|
626
|
+
).then(a, _);
|
|
632
627
|
case "nylas-mailbox-toolbar-button":
|
|
633
628
|
return import(
|
|
634
629
|
/* webpackMode: "lazy" */
|
|
635
|
-
"./nylas-mailbox-toolbar-button.entry-
|
|
636
|
-
).then(
|
|
630
|
+
"./nylas-mailbox-toolbar-button.entry-ec196947.js"
|
|
631
|
+
).then(a, _);
|
|
637
632
|
case "nylas-provider":
|
|
638
633
|
return import(
|
|
639
634
|
/* webpackMode: "lazy" */
|
|
640
|
-
"./nylas-provider.entry-
|
|
641
|
-
).then(
|
|
635
|
+
"./nylas-provider.entry-6d286e92.js"
|
|
636
|
+
).then(a, _);
|
|
642
637
|
case "nylas-scheduler-editor":
|
|
643
638
|
return import(
|
|
644
639
|
/* webpackMode: "lazy" */
|
|
645
|
-
"./nylas-scheduler-editor.entry-
|
|
646
|
-
).then(
|
|
640
|
+
"./nylas-scheduler-editor.entry-caa1026b.js"
|
|
641
|
+
).then(a, _);
|
|
647
642
|
case "nylas-scheduling":
|
|
648
643
|
return import(
|
|
649
644
|
/* webpackMode: "lazy" */
|
|
650
|
-
"./nylas-scheduling.entry-
|
|
651
|
-
).then(
|
|
645
|
+
"./nylas-scheduling.entry-19ff3d50.js"
|
|
646
|
+
).then(a, _);
|
|
652
647
|
case "nylas-threads-refresh":
|
|
653
648
|
return import(
|
|
654
649
|
/* webpackMode: "lazy" */
|
|
655
|
-
"./nylas-threads-refresh.entry-
|
|
656
|
-
).then(
|
|
650
|
+
"./nylas-threads-refresh.entry-6acf3c2b.js"
|
|
651
|
+
).then(a, _);
|
|
657
652
|
case "nylas-threads-search":
|
|
658
653
|
return import(
|
|
659
654
|
/* webpackMode: "lazy" */
|
|
660
|
-
"./nylas-threads-search.entry-
|
|
661
|
-
).then(
|
|
655
|
+
"./nylas-threads-search.entry-82fa1504.js"
|
|
656
|
+
).then(a, _);
|
|
662
657
|
case "nylas-view-thread":
|
|
663
658
|
return import(
|
|
664
659
|
/* webpackMode: "lazy" */
|
|
665
|
-
"./nylas-view-thread.entry-
|
|
666
|
-
).then(
|
|
667
|
-
case "people-icon":
|
|
668
|
-
return import(
|
|
669
|
-
/* webpackMode: "lazy" */
|
|
670
|
-
"./people-icon.entry-de3fada0.js"
|
|
671
|
-
).then(o, _);
|
|
660
|
+
"./nylas-view-thread.entry-695a7b0b.js"
|
|
661
|
+
).then(a, _);
|
|
672
662
|
case "textarea-component":
|
|
673
663
|
return import(
|
|
674
664
|
/* webpackMode: "lazy" */
|
|
675
|
-
"./textarea-component.entry-
|
|
676
|
-
).then(
|
|
677
|
-
case "toggle-switch":
|
|
678
|
-
return import(
|
|
679
|
-
/* webpackMode: "lazy" */
|
|
680
|
-
"./toggle-switch.entry-a08c1027.js"
|
|
681
|
-
).then(o, _);
|
|
665
|
+
"./textarea-component.entry-1ec19adb.js"
|
|
666
|
+
).then(a, _);
|
|
682
667
|
case "archive-icon_7":
|
|
683
668
|
return import(
|
|
684
669
|
/* webpackMode: "lazy" */
|
|
685
|
-
"./archive-icon_7.entry-
|
|
686
|
-
).then(
|
|
670
|
+
"./archive-icon_7.entry-60e900b6.js"
|
|
671
|
+
).then(a, _);
|
|
687
672
|
case "arrow-icon":
|
|
688
673
|
return import(
|
|
689
674
|
/* webpackMode: "lazy" */
|
|
690
|
-
"./arrow-icon.entry-
|
|
691
|
-
).then(
|
|
675
|
+
"./arrow-icon.entry-057db95a.js"
|
|
676
|
+
).then(a, _);
|
|
692
677
|
case "forward-icon_6":
|
|
693
678
|
return import(
|
|
694
679
|
/* webpackMode: "lazy" */
|
|
695
|
-
"./forward-icon_6.entry-
|
|
696
|
-
).then(
|
|
680
|
+
"./forward-icon_6.entry-53683e82.js"
|
|
681
|
+
).then(a, _);
|
|
697
682
|
case "google-logo-icon_4":
|
|
698
683
|
return import(
|
|
699
684
|
/* webpackMode: "lazy" */
|
|
700
|
-
"./google-logo-icon_4.entry-
|
|
701
|
-
).then(
|
|
685
|
+
"./google-logo-icon_4.entry-77f3b86e.js"
|
|
686
|
+
).then(a, _);
|
|
702
687
|
case "nylas-booked-event-card_10":
|
|
703
688
|
return import(
|
|
704
689
|
/* webpackMode: "lazy" */
|
|
705
|
-
"./nylas-booked-event-card_10.entry-
|
|
706
|
-
).then(
|
|
690
|
+
"./nylas-booked-event-card_10.entry-ef9c2d62.js"
|
|
691
|
+
).then(a, _);
|
|
707
692
|
case "bold-icon_3":
|
|
708
693
|
return import(
|
|
709
694
|
/* webpackMode: "lazy" */
|
|
710
|
-
"./bold-icon_3.entry-
|
|
711
|
-
).then(
|
|
695
|
+
"./bold-icon_3.entry-557c6007.js"
|
|
696
|
+
).then(a, _);
|
|
712
697
|
case "calendar-check-icon_2":
|
|
713
698
|
return import(
|
|
714
699
|
/* webpackMode: "lazy" */
|
|
715
|
-
"./calendar-check-icon_2.entry-
|
|
716
|
-
).then(
|
|
717
|
-
case "calendar-info-
|
|
700
|
+
"./calendar-check-icon_2.entry-128a5d67.js"
|
|
701
|
+
).then(a, _);
|
|
702
|
+
case "calendar-info-icon_28":
|
|
718
703
|
return import(
|
|
719
704
|
/* webpackMode: "lazy" */
|
|
720
|
-
"./calendar-info-
|
|
721
|
-
).then(
|
|
705
|
+
"./calendar-info-icon_28.entry-b71c23c5.js"
|
|
706
|
+
).then(a, _);
|
|
722
707
|
case "clock-icon_2":
|
|
723
708
|
return import(
|
|
724
709
|
/* webpackMode: "lazy" */
|
|
725
|
-
"./clock-icon_2.entry-
|
|
726
|
-
).then(
|
|
710
|
+
"./clock-icon_2.entry-e959ae50.js"
|
|
711
|
+
).then(a, _);
|
|
727
712
|
case "input-component":
|
|
728
713
|
return import(
|
|
729
714
|
/* webpackMode: "lazy" */
|
|
730
|
-
"./input-component.entry-
|
|
731
|
-
).then(
|
|
715
|
+
"./input-component.entry-a38a65da.js"
|
|
716
|
+
).then(a, _);
|
|
732
717
|
case "play-icon_2":
|
|
733
718
|
return import(
|
|
734
719
|
/* webpackMode: "lazy" */
|
|
735
|
-
"./play-icon_2.entry-
|
|
736
|
-
).then(
|
|
720
|
+
"./play-icon_2.entry-ab47588e.js"
|
|
721
|
+
).then(a, _);
|
|
737
722
|
case "refresh-icon":
|
|
738
723
|
return import(
|
|
739
724
|
/* webpackMode: "lazy" */
|
|
740
|
-
"./refresh-icon.entry-
|
|
741
|
-
).then(
|
|
725
|
+
"./refresh-icon.entry-43267155.js"
|
|
726
|
+
).then(a, _);
|
|
742
727
|
case "translate-icon":
|
|
743
728
|
return import(
|
|
744
729
|
/* webpackMode: "lazy" */
|
|
745
|
-
"./translate-icon.entry-
|
|
746
|
-
).then(
|
|
730
|
+
"./translate-icon.entry-d412697e.js"
|
|
731
|
+
).then(a, _);
|
|
747
732
|
case "warning-icon":
|
|
748
733
|
return import(
|
|
749
734
|
/* webpackMode: "lazy" */
|
|
750
|
-
"./warning-icon.entry-
|
|
751
|
-
).then(
|
|
735
|
+
"./warning-icon.entry-3ee1f451.js"
|
|
736
|
+
).then(a, _);
|
|
752
737
|
case "calendar-cancel-icon":
|
|
753
738
|
return import(
|
|
754
739
|
/* webpackMode: "lazy" */
|
|
755
|
-
"./calendar-cancel-icon.entry-
|
|
756
|
-
).then(
|
|
740
|
+
"./calendar-cancel-icon.entry-820cf967.js"
|
|
741
|
+
).then(a, _);
|
|
757
742
|
case "calendar-icon":
|
|
758
743
|
return import(
|
|
759
744
|
/* webpackMode: "lazy" */
|
|
760
|
-
"./calendar-icon.entry-
|
|
761
|
-
).then(
|
|
762
|
-
case "
|
|
745
|
+
"./calendar-icon.entry-a43e6011.js"
|
|
746
|
+
).then(a, _);
|
|
747
|
+
case "nylas-time-window-picker":
|
|
748
|
+
return import(
|
|
749
|
+
/* webpackMode: "lazy" */
|
|
750
|
+
"./nylas-time-window-picker.entry-3c45d82e.js"
|
|
751
|
+
).then(a, _);
|
|
752
|
+
case "button-component":
|
|
763
753
|
return import(
|
|
764
754
|
/* webpackMode: "lazy" */
|
|
765
|
-
"./
|
|
766
|
-
).then(
|
|
755
|
+
"./button-component.entry-22d0ac2e.js"
|
|
756
|
+
).then(a, _);
|
|
767
757
|
case "nylas-form-card":
|
|
768
758
|
return import(
|
|
769
759
|
/* webpackMode: "lazy" */
|
|
770
|
-
"./nylas-form-card.entry-
|
|
771
|
-
).then(
|
|
760
|
+
"./nylas-form-card.entry-b189e066.js"
|
|
761
|
+
).then(a, _);
|
|
772
762
|
case "input-dropdown_2":
|
|
773
763
|
return import(
|
|
774
764
|
/* webpackMode: "lazy" */
|
|
775
|
-
"./input-dropdown_2.entry-
|
|
776
|
-
).then(
|
|
765
|
+
"./input-dropdown_2.entry-ce1da1b3.js"
|
|
766
|
+
).then(a, _);
|
|
777
767
|
case "loading-icon":
|
|
778
768
|
return import(
|
|
779
769
|
/* webpackMode: "lazy" */
|
|
780
|
-
"./loading-icon.entry-
|
|
781
|
-
).then(
|
|
782
|
-
case "
|
|
770
|
+
"./loading-icon.entry-4ab88ed8.js"
|
|
771
|
+
).then(a, _);
|
|
772
|
+
case "add-circle-icon_2":
|
|
783
773
|
return import(
|
|
784
774
|
/* webpackMode: "lazy" */
|
|
785
|
-
"./
|
|
786
|
-
).then(
|
|
787
|
-
case "
|
|
775
|
+
"./add-circle-icon_2.entry-ce6aaa1d.js"
|
|
776
|
+
).then(a, _);
|
|
777
|
+
case "globe-icon":
|
|
788
778
|
return import(
|
|
789
779
|
/* webpackMode: "lazy" */
|
|
790
|
-
"./
|
|
791
|
-
).then(
|
|
780
|
+
"./globe-icon.entry-dbb47687.js"
|
|
781
|
+
).then(a, _);
|
|
792
782
|
case "chevron-icon_3":
|
|
793
783
|
return import(
|
|
794
784
|
/* webpackMode: "lazy" */
|
|
795
|
-
"./chevron-icon_3.entry-
|
|
796
|
-
).then(
|
|
785
|
+
"./chevron-icon_3.entry-e0796c69.js"
|
|
786
|
+
).then(a, _);
|
|
797
787
|
case "info-icon_2":
|
|
798
788
|
return import(
|
|
799
789
|
/* webpackMode: "lazy" */
|
|
800
|
-
"./info-icon_2.entry-
|
|
801
|
-
).then(
|
|
790
|
+
"./info-icon_2.entry-c27ac645.js"
|
|
791
|
+
).then(a, _);
|
|
802
792
|
}
|
|
803
793
|
}
|
|
804
794
|
return import(
|
|
@@ -807,8 +797,8 @@ const wr = (t, e, ...n) => {
|
|
|
807
797
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
808
798
|
/* webpackMode: "lazy" */
|
|
809
799
|
`./${i}.entry.js`
|
|
810
|
-
).then((
|
|
811
|
-
}, mt = /* @__PURE__ */ new Map(), lt = typeof window < "u" ? window : {},
|
|
800
|
+
).then((a) => (Ft.set(i, a), a[r]), _);
|
|
801
|
+
}, mt = /* @__PURE__ */ new Map(), lt = typeof window < "u" ? window : {}, ae = lt.document || { head: {} }, q = {
|
|
812
802
|
$flags$: 0,
|
|
813
803
|
$resourcesUrl$: "",
|
|
814
804
|
jmp: (t) => t(),
|
|
@@ -816,10 +806,10 @@ const wr = (t, e, ...n) => {
|
|
|
816
806
|
ael: (t, e, n, r) => t.addEventListener(e, n, r),
|
|
817
807
|
rel: (t, e, n, r) => t.removeEventListener(e, n, r),
|
|
818
808
|
ce: (t, e) => new CustomEvent(t, e)
|
|
819
|
-
},
|
|
809
|
+
}, wa = /* @__PURE__ */ (() => {
|
|
820
810
|
let t = !1;
|
|
821
811
|
try {
|
|
822
|
-
|
|
812
|
+
ae.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
823
813
|
get() {
|
|
824
814
|
t = !0;
|
|
825
815
|
}
|
|
@@ -827,13 +817,13 @@ const wr = (t, e, ...n) => {
|
|
|
827
817
|
} catch {
|
|
828
818
|
}
|
|
829
819
|
return t;
|
|
830
|
-
})(),
|
|
820
|
+
})(), $a = (t) => Promise.resolve(t), Ea = /* @__PURE__ */ (() => {
|
|
831
821
|
try {
|
|
832
822
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
833
823
|
} catch {
|
|
834
824
|
}
|
|
835
825
|
return !1;
|
|
836
|
-
})(), Yn = [],
|
|
826
|
+
})(), Yn = [], Fr = [], ka = (t, e) => (n) => {
|
|
837
827
|
t.push(n), jt || (jt = !0, e && q.$flags$ & 4 ? sn(qt) : q.raf(qt));
|
|
838
828
|
}, Hn = (t) => {
|
|
839
829
|
for (let e = 0; e < t.length; e++)
|
|
@@ -844,51 +834,51 @@ const wr = (t, e, ...n) => {
|
|
|
844
834
|
}
|
|
845
835
|
t.length = 0;
|
|
846
836
|
}, qt = () => {
|
|
847
|
-
Hn(Yn), Hn(
|
|
848
|
-
}, sn = (t) =>
|
|
837
|
+
Hn(Yn), Hn(Fr), (jt = Yn.length > 0) && q.raf(qt);
|
|
838
|
+
}, sn = (t) => $a().then(t), xa = /* @__PURE__ */ ka(Fr, !0), Ta = (t, e, n) => {
|
|
849
839
|
const r = t.get(e);
|
|
850
840
|
r ? r.includes(n) || r.push(n) : t.set(e, [n]);
|
|
851
|
-
},
|
|
841
|
+
}, Sa = (t, e) => {
|
|
852
842
|
let n;
|
|
853
843
|
return (...r) => {
|
|
854
844
|
n && clearTimeout(n), n = setTimeout(() => {
|
|
855
845
|
n = 0, t(...r);
|
|
856
846
|
}, e);
|
|
857
847
|
};
|
|
858
|
-
},
|
|
848
|
+
}, Ca = (t) => !("isConnected" in t) || t.isConnected, Bn = Sa((t) => {
|
|
859
849
|
for (let e of t.keys())
|
|
860
|
-
t.set(e, t.get(e).filter(
|
|
861
|
-
}, 2e3),
|
|
862
|
-
if (typeof
|
|
850
|
+
t.set(e, t.get(e).filter(Ca));
|
|
851
|
+
}, 2e3), _a = () => {
|
|
852
|
+
if (typeof Fn != "function")
|
|
863
853
|
return {};
|
|
864
854
|
const t = /* @__PURE__ */ new Map();
|
|
865
855
|
return {
|
|
866
856
|
dispose: () => t.clear(),
|
|
867
857
|
get: (e) => {
|
|
868
|
-
const n =
|
|
869
|
-
n &&
|
|
858
|
+
const n = Fn();
|
|
859
|
+
n && Ta(t, e, n);
|
|
870
860
|
},
|
|
871
861
|
set: (e) => {
|
|
872
862
|
const n = t.get(e);
|
|
873
|
-
n && t.set(e, n.filter(
|
|
863
|
+
n && t.set(e, n.filter(Un)), Bn(t);
|
|
874
864
|
},
|
|
875
865
|
reset: () => {
|
|
876
|
-
t.forEach((e) => e.forEach(
|
|
866
|
+
t.forEach((e) => e.forEach(Un)), Bn(t);
|
|
877
867
|
}
|
|
878
868
|
};
|
|
879
|
-
},
|
|
880
|
-
const n =
|
|
869
|
+
}, Ut = (t) => typeof t == "function" ? t() : t, Ra = (t, e = (n, r) => n !== r) => {
|
|
870
|
+
const n = Ut(t);
|
|
881
871
|
let r = new Map(Object.entries(n ?? {}));
|
|
882
872
|
const i = {
|
|
883
873
|
dispose: [],
|
|
884
874
|
get: [],
|
|
885
875
|
set: [],
|
|
886
876
|
reset: []
|
|
887
|
-
}, a = () => {
|
|
888
|
-
var y;
|
|
889
|
-
r = new Map(Object.entries((y = Ft(t)) !== null && y !== void 0 ? y : {})), i.reset.forEach((b) => b());
|
|
890
877
|
}, o = () => {
|
|
891
|
-
|
|
878
|
+
var y;
|
|
879
|
+
r = new Map(Object.entries((y = Ut(t)) !== null && y !== void 0 ? y : {})), i.reset.forEach((b) => b());
|
|
880
|
+
}, a = () => {
|
|
881
|
+
i.dispose.forEach((y) => y()), o();
|
|
892
882
|
}, s = (y) => (i.get.forEach((b) => b(y)), r.get(y)), l = (y, b) => {
|
|
893
883
|
const w = r.get(y);
|
|
894
884
|
e(b, w, y) && (r.set(y, b), i.set.forEach((T) => T(y, b, w)));
|
|
@@ -912,7 +902,7 @@ const wr = (t, e, ...n) => {
|
|
|
912
902
|
return l(b, w), !0;
|
|
913
903
|
}
|
|
914
904
|
}), f = (y, b) => (i[y].push(b), () => {
|
|
915
|
-
|
|
905
|
+
Da(i[y], b);
|
|
916
906
|
});
|
|
917
907
|
return {
|
|
918
908
|
state: u,
|
|
@@ -922,7 +912,7 @@ const wr = (t, e, ...n) => {
|
|
|
922
912
|
onChange: (y, b) => {
|
|
923
913
|
const w = f("set", (M, te) => {
|
|
924
914
|
M === y && b(te);
|
|
925
|
-
}), T = f("reset", () => b(
|
|
915
|
+
}), T = f("reset", () => b(Ut(t)[y]));
|
|
926
916
|
return () => {
|
|
927
917
|
w(), T();
|
|
928
918
|
};
|
|
@@ -931,77 +921,77 @@ const wr = (t, e, ...n) => {
|
|
|
931
921
|
const b = y.reduce((w, T) => (T.set && w.push(f("set", T.set)), T.get && w.push(f("get", T.get)), T.reset && w.push(f("reset", T.reset)), T.dispose && w.push(f("dispose", T.dispose)), w), []);
|
|
932
922
|
return () => b.forEach((w) => w());
|
|
933
923
|
},
|
|
934
|
-
dispose:
|
|
935
|
-
reset:
|
|
924
|
+
dispose: a,
|
|
925
|
+
reset: o,
|
|
936
926
|
forceUpdate: (y) => {
|
|
937
927
|
const b = r.get(y);
|
|
938
928
|
i.set.forEach((w) => w(y, b, b));
|
|
939
929
|
}
|
|
940
930
|
};
|
|
941
|
-
},
|
|
931
|
+
}, Da = (t, e) => {
|
|
942
932
|
const n = t.indexOf(e);
|
|
943
933
|
n >= 0 && (t[n] = t[t.length - 1], t.length--);
|
|
944
|
-
},
|
|
945
|
-
const n =
|
|
946
|
-
return n.use(
|
|
934
|
+
}, Aa = (t, e) => {
|
|
935
|
+
const n = Ra(t, e);
|
|
936
|
+
return n.use(_a()), n;
|
|
947
937
|
}, Wn = typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {};
|
|
948
|
-
var xe = [], ye = [],
|
|
949
|
-
function
|
|
938
|
+
var xe = [], ye = [], Ia = typeof Uint8Array < "u" ? Uint8Array : Array, ln = !1;
|
|
939
|
+
function Ur() {
|
|
950
940
|
ln = !0;
|
|
951
941
|
for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", e = 0, n = t.length; e < n; ++e)
|
|
952
942
|
xe[e] = t[e], ye[t.charCodeAt(e)] = e;
|
|
953
943
|
ye["-".charCodeAt(0)] = 62, ye["_".charCodeAt(0)] = 63;
|
|
954
944
|
}
|
|
955
|
-
function
|
|
956
|
-
ln ||
|
|
957
|
-
var e, n, r, i,
|
|
945
|
+
function Oa(t) {
|
|
946
|
+
ln || Ur();
|
|
947
|
+
var e, n, r, i, o, a, s = t.length;
|
|
958
948
|
if (s % 4 > 0)
|
|
959
949
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
960
|
-
|
|
950
|
+
o = t[s - 2] === "=" ? 2 : t[s - 1] === "=" ? 1 : 0, a = new Ia(s * 3 / 4 - o), r = o > 0 ? s - 4 : s;
|
|
961
951
|
var l = 0;
|
|
962
952
|
for (e = 0, n = 0; e < r; e += 4, n += 3)
|
|
963
|
-
i = ye[t.charCodeAt(e)] << 18 | ye[t.charCodeAt(e + 1)] << 12 | ye[t.charCodeAt(e + 2)] << 6 | ye[t.charCodeAt(e + 3)],
|
|
964
|
-
return
|
|
953
|
+
i = ye[t.charCodeAt(e)] << 18 | ye[t.charCodeAt(e + 1)] << 12 | ye[t.charCodeAt(e + 2)] << 6 | ye[t.charCodeAt(e + 3)], a[l++] = i >> 16 & 255, a[l++] = i >> 8 & 255, a[l++] = i & 255;
|
|
954
|
+
return o === 2 ? (i = ye[t.charCodeAt(e)] << 2 | ye[t.charCodeAt(e + 1)] >> 4, a[l++] = i & 255) : o === 1 && (i = ye[t.charCodeAt(e)] << 10 | ye[t.charCodeAt(e + 1)] << 4 | ye[t.charCodeAt(e + 2)] >> 2, a[l++] = i >> 8 & 255, a[l++] = i & 255), a;
|
|
965
955
|
}
|
|
966
|
-
function
|
|
956
|
+
function Ma(t) {
|
|
967
957
|
return xe[t >> 18 & 63] + xe[t >> 12 & 63] + xe[t >> 6 & 63] + xe[t & 63];
|
|
968
958
|
}
|
|
969
|
-
function
|
|
970
|
-
for (var r, i = [],
|
|
971
|
-
r = (t[
|
|
959
|
+
function La(t, e, n) {
|
|
960
|
+
for (var r, i = [], o = e; o < n; o += 3)
|
|
961
|
+
r = (t[o] << 16) + (t[o + 1] << 8) + t[o + 2], i.push(Ma(r));
|
|
972
962
|
return i.join("");
|
|
973
963
|
}
|
|
974
964
|
function jn(t) {
|
|
975
|
-
ln ||
|
|
976
|
-
for (var e, n = t.length, r = n % 3, i = "",
|
|
977
|
-
|
|
978
|
-
return r === 1 ? (e = t[n - 1], i += xe[e >> 2], i += xe[e << 4 & 63], i += "==") : r === 2 && (e = (t[n - 2] << 8) + t[n - 1], i += xe[e >> 10], i += xe[e >> 4 & 63], i += xe[e << 2 & 63], i += "="),
|
|
965
|
+
ln || Ur();
|
|
966
|
+
for (var e, n = t.length, r = n % 3, i = "", o = [], a = 16383, s = 0, l = n - r; s < l; s += a)
|
|
967
|
+
o.push(La(t, s, s + a > l ? l : s + a));
|
|
968
|
+
return r === 1 ? (e = t[n - 1], i += xe[e >> 2], i += xe[e << 4 & 63], i += "==") : r === 2 && (e = (t[n - 2] << 8) + t[n - 1], i += xe[e >> 10], i += xe[e >> 4 & 63], i += xe[e << 2 & 63], i += "="), o.push(i), o.join("");
|
|
979
969
|
}
|
|
980
970
|
function Tt(t, e, n, r, i) {
|
|
981
|
-
var
|
|
982
|
-
for (d += h,
|
|
971
|
+
var o, a, s = i * 8 - r - 1, l = (1 << s) - 1, u = l >> 1, f = -7, d = n ? i - 1 : 0, h = n ? -1 : 1, p = t[e + d];
|
|
972
|
+
for (d += h, o = p & (1 << -f) - 1, p >>= -f, f += s; f > 0; o = o * 256 + t[e + d], d += h, f -= 8)
|
|
983
973
|
;
|
|
984
|
-
for (
|
|
974
|
+
for (a = o & (1 << -f) - 1, o >>= -f, f += r; f > 0; a = a * 256 + t[e + d], d += h, f -= 8)
|
|
985
975
|
;
|
|
986
|
-
if (
|
|
987
|
-
|
|
976
|
+
if (o === 0)
|
|
977
|
+
o = 1 - u;
|
|
988
978
|
else {
|
|
989
|
-
if (
|
|
990
|
-
return
|
|
991
|
-
|
|
979
|
+
if (o === l)
|
|
980
|
+
return a ? NaN : (p ? -1 : 1) * (1 / 0);
|
|
981
|
+
a = a + Math.pow(2, r), o = o - u;
|
|
992
982
|
}
|
|
993
|
-
return (p ? -1 : 1) *
|
|
983
|
+
return (p ? -1 : 1) * a * Math.pow(2, o - r);
|
|
994
984
|
}
|
|
995
|
-
function Nr(t, e, n, r, i,
|
|
996
|
-
var
|
|
997
|
-
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0,
|
|
985
|
+
function Nr(t, e, n, r, i, o) {
|
|
986
|
+
var a, s, l, u = o * 8 - i - 1, f = (1 << u) - 1, d = f >> 1, h = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = r ? 0 : o - 1, y = r ? 1 : -1, b = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
|
|
987
|
+
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = f) : (a = Math.floor(Math.log(e) / Math.LN2), e * (l = Math.pow(2, -a)) < 1 && (a--, l *= 2), a + d >= 1 ? e += h / l : e += h * Math.pow(2, 1 - d), e * l >= 2 && (a++, l /= 2), a + d >= f ? (s = 0, a = f) : a + d >= 1 ? (s = (e * l - 1) * Math.pow(2, i), a = a + d) : (s = e * Math.pow(2, d - 1) * Math.pow(2, i), a = 0)); i >= 8; t[n + p] = s & 255, p += y, s /= 256, i -= 8)
|
|
998
988
|
;
|
|
999
|
-
for (
|
|
989
|
+
for (a = a << i | s, u += i; u > 0; t[n + p] = a & 255, p += y, a /= 256, u -= 8)
|
|
1000
990
|
;
|
|
1001
991
|
t[n + p - y] |= b * 128;
|
|
1002
992
|
}
|
|
1003
|
-
var
|
|
1004
|
-
return
|
|
993
|
+
var Fa = {}.toString, Pr = Array.isArray || function(t) {
|
|
994
|
+
return Fa.call(t) == "[object Array]";
|
|
1005
995
|
};
|
|
1006
996
|
/*!
|
|
1007
997
|
* The buffer module from node.js, for the browser.
|
|
@@ -1009,7 +999,7 @@ var Fo = {}.toString, Pr = Array.isArray || function(t) {
|
|
|
1009
999
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
1010
1000
|
* @license MIT
|
|
1011
1001
|
*/
|
|
1012
|
-
var
|
|
1002
|
+
var Ua = 50;
|
|
1013
1003
|
m.TYPED_ARRAY_SUPPORT = Wn.TYPED_ARRAY_SUPPORT !== void 0 ? Wn.TYPED_ARRAY_SUPPORT : !0;
|
|
1014
1004
|
function Kt() {
|
|
1015
1005
|
return m.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
|
|
@@ -1038,7 +1028,7 @@ m._augment = function(t) {
|
|
|
1038
1028
|
function Yr(t, e, n, r) {
|
|
1039
1029
|
if (typeof e == "number")
|
|
1040
1030
|
throw new TypeError('"value" argument must not be a number');
|
|
1041
|
-
return typeof ArrayBuffer < "u" && e instanceof ArrayBuffer ?
|
|
1031
|
+
return typeof ArrayBuffer < "u" && e instanceof ArrayBuffer ? Ya(t, e, n, r) : typeof e == "string" ? Pa(t, e, n) : Ha(t, e);
|
|
1042
1032
|
}
|
|
1043
1033
|
m.from = function(t, e, n) {
|
|
1044
1034
|
return Yr(null, t, e, n);
|
|
@@ -1050,11 +1040,11 @@ function Hr(t) {
|
|
|
1050
1040
|
if (t < 0)
|
|
1051
1041
|
throw new RangeError('"size" argument must not be negative');
|
|
1052
1042
|
}
|
|
1053
|
-
function
|
|
1043
|
+
function Na(t, e, n, r) {
|
|
1054
1044
|
return Hr(e), e <= 0 ? Me(t, e) : n !== void 0 ? typeof r == "string" ? Me(t, e).fill(n, r) : Me(t, e).fill(n) : Me(t, e);
|
|
1055
1045
|
}
|
|
1056
1046
|
m.alloc = function(t, e, n) {
|
|
1057
|
-
return
|
|
1047
|
+
return Na(null, t, e, n);
|
|
1058
1048
|
};
|
|
1059
1049
|
function cn(t, e) {
|
|
1060
1050
|
if (Hr(e), t = Me(t, e < 0 ? 0 : un(e) | 0), !m.TYPED_ARRAY_SUPPORT)
|
|
@@ -1068,7 +1058,7 @@ m.allocUnsafe = function(t) {
|
|
|
1068
1058
|
m.allocUnsafeSlow = function(t) {
|
|
1069
1059
|
return cn(null, t);
|
|
1070
1060
|
};
|
|
1071
|
-
function
|
|
1061
|
+
function Pa(t, e, n) {
|
|
1072
1062
|
if ((typeof n != "string" || n === "") && (n = "utf8"), !m.isEncoding(n))
|
|
1073
1063
|
throw new TypeError('"encoding" must be a valid string encoding');
|
|
1074
1064
|
var r = Br(e, n) | 0;
|
|
@@ -1083,21 +1073,21 @@ function Gt(t, e) {
|
|
|
1083
1073
|
t[r] = e[r] & 255;
|
|
1084
1074
|
return t;
|
|
1085
1075
|
}
|
|
1086
|
-
function
|
|
1076
|
+
function Ya(t, e, n, r) {
|
|
1087
1077
|
if (n < 0 || e.byteLength < n)
|
|
1088
1078
|
throw new RangeError("'offset' is out of bounds");
|
|
1089
1079
|
if (e.byteLength < n + (r || 0))
|
|
1090
1080
|
throw new RangeError("'length' is out of bounds");
|
|
1091
1081
|
return n === void 0 && r === void 0 ? e = new Uint8Array(e) : r === void 0 ? e = new Uint8Array(e, n) : e = new Uint8Array(e, n, r), m.TYPED_ARRAY_SUPPORT ? (t = e, t.__proto__ = m.prototype) : t = Gt(t, e), t;
|
|
1092
1082
|
}
|
|
1093
|
-
function
|
|
1083
|
+
function Ha(t, e) {
|
|
1094
1084
|
if (Se(e)) {
|
|
1095
1085
|
var n = un(e.length) | 0;
|
|
1096
1086
|
return t = Me(t, n), t.length === 0 || e.copy(t, 0, 0, n), t;
|
|
1097
1087
|
}
|
|
1098
1088
|
if (e) {
|
|
1099
1089
|
if (typeof ArrayBuffer < "u" && e.buffer instanceof ArrayBuffer || "length" in e)
|
|
1100
|
-
return typeof e.length != "number" ||
|
|
1090
|
+
return typeof e.length != "number" || oo(e.length) ? Me(t, 0) : Gt(t, e);
|
|
1101
1091
|
if (e.type === "Buffer" && Pr(e.data))
|
|
1102
1092
|
return Gt(t, e.data);
|
|
1103
1093
|
}
|
|
@@ -1108,7 +1098,7 @@ function un(t) {
|
|
|
1108
1098
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + Kt().toString(16) + " bytes");
|
|
1109
1099
|
return t | 0;
|
|
1110
1100
|
}
|
|
1111
|
-
m.isBuffer =
|
|
1101
|
+
m.isBuffer = so;
|
|
1112
1102
|
function Se(t) {
|
|
1113
1103
|
return !!(t != null && t._isBuffer);
|
|
1114
1104
|
}
|
|
@@ -1117,9 +1107,9 @@ m.compare = function(e, n) {
|
|
|
1117
1107
|
throw new TypeError("Arguments must be Buffers");
|
|
1118
1108
|
if (e === n)
|
|
1119
1109
|
return 0;
|
|
1120
|
-
for (var r = e.length, i = n.length,
|
|
1121
|
-
if (e[
|
|
1122
|
-
r = e[
|
|
1110
|
+
for (var r = e.length, i = n.length, o = 0, a = Math.min(r, i); o < a; ++o)
|
|
1111
|
+
if (e[o] !== n[o]) {
|
|
1112
|
+
r = e[o], i = n[o];
|
|
1123
1113
|
break;
|
|
1124
1114
|
}
|
|
1125
1115
|
return r < i ? -1 : i < r ? 1 : 0;
|
|
@@ -1151,12 +1141,12 @@ m.concat = function(e, n) {
|
|
|
1151
1141
|
if (n === void 0)
|
|
1152
1142
|
for (n = 0, r = 0; r < e.length; ++r)
|
|
1153
1143
|
n += e[r].length;
|
|
1154
|
-
var i = m.allocUnsafe(n),
|
|
1144
|
+
var i = m.allocUnsafe(n), o = 0;
|
|
1155
1145
|
for (r = 0; r < e.length; ++r) {
|
|
1156
|
-
var
|
|
1157
|
-
if (!Se(
|
|
1146
|
+
var a = e[r];
|
|
1147
|
+
if (!Se(a))
|
|
1158
1148
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
1159
|
-
|
|
1149
|
+
a.copy(i, o), o += a.length;
|
|
1160
1150
|
}
|
|
1161
1151
|
return i;
|
|
1162
1152
|
};
|
|
@@ -1195,29 +1185,29 @@ function Br(t, e) {
|
|
|
1195
1185
|
}
|
|
1196
1186
|
}
|
|
1197
1187
|
m.byteLength = Br;
|
|
1198
|
-
function
|
|
1188
|
+
function Ba(t, e, n) {
|
|
1199
1189
|
var r = !1;
|
|
1200
1190
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((n === void 0 || n > this.length) && (n = this.length), n <= 0) || (n >>>= 0, e >>>= 0, n <= e))
|
|
1201
1191
|
return "";
|
|
1202
1192
|
for (t || (t = "utf8"); ; )
|
|
1203
1193
|
switch (t) {
|
|
1204
1194
|
case "hex":
|
|
1205
|
-
return
|
|
1195
|
+
return Qa(this, e, n);
|
|
1206
1196
|
case "utf8":
|
|
1207
1197
|
case "utf-8":
|
|
1208
1198
|
return zr(this, e, n);
|
|
1209
1199
|
case "ascii":
|
|
1210
|
-
return
|
|
1200
|
+
return Ja(this, e, n);
|
|
1211
1201
|
case "latin1":
|
|
1212
1202
|
case "binary":
|
|
1213
|
-
return
|
|
1203
|
+
return Xa(this, e, n);
|
|
1214
1204
|
case "base64":
|
|
1215
|
-
return
|
|
1205
|
+
return Ga(this, e, n);
|
|
1216
1206
|
case "ucs2":
|
|
1217
1207
|
case "ucs-2":
|
|
1218
1208
|
case "utf16le":
|
|
1219
1209
|
case "utf-16le":
|
|
1220
|
-
return
|
|
1210
|
+
return Va(this, e, n);
|
|
1221
1211
|
default:
|
|
1222
1212
|
if (r)
|
|
1223
1213
|
throw new TypeError("Unknown encoding: " + t);
|
|
@@ -1255,7 +1245,7 @@ m.prototype.swap64 = function() {
|
|
|
1255
1245
|
};
|
|
1256
1246
|
m.prototype.toString = function() {
|
|
1257
1247
|
var e = this.length | 0;
|
|
1258
|
-
return e === 0 ? "" : arguments.length === 0 ? zr(this, 0, e) :
|
|
1248
|
+
return e === 0 ? "" : arguments.length === 0 ? zr(this, 0, e) : Ba.apply(this, arguments);
|
|
1259
1249
|
};
|
|
1260
1250
|
m.prototype.equals = function(e) {
|
|
1261
1251
|
if (!Se(e))
|
|
@@ -1263,28 +1253,28 @@ m.prototype.equals = function(e) {
|
|
|
1263
1253
|
return this === e ? !0 : m.compare(this, e) === 0;
|
|
1264
1254
|
};
|
|
1265
1255
|
m.prototype.inspect = function() {
|
|
1266
|
-
var e = "", n =
|
|
1256
|
+
var e = "", n = Ua;
|
|
1267
1257
|
return this.length > 0 && (e = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (e += " ... ")), "<Buffer " + e + ">";
|
|
1268
1258
|
};
|
|
1269
|
-
m.prototype.compare = function(e, n, r, i,
|
|
1259
|
+
m.prototype.compare = function(e, n, r, i, o) {
|
|
1270
1260
|
if (!Se(e))
|
|
1271
1261
|
throw new TypeError("Argument must be a Buffer");
|
|
1272
|
-
if (n === void 0 && (n = 0), r === void 0 && (r = e ? e.length : 0), i === void 0 && (i = 0),
|
|
1262
|
+
if (n === void 0 && (n = 0), r === void 0 && (r = e ? e.length : 0), i === void 0 && (i = 0), o === void 0 && (o = this.length), n < 0 || r > e.length || i < 0 || o > this.length)
|
|
1273
1263
|
throw new RangeError("out of range index");
|
|
1274
|
-
if (i >=
|
|
1264
|
+
if (i >= o && n >= r)
|
|
1275
1265
|
return 0;
|
|
1276
|
-
if (i >=
|
|
1266
|
+
if (i >= o)
|
|
1277
1267
|
return -1;
|
|
1278
1268
|
if (n >= r)
|
|
1279
1269
|
return 1;
|
|
1280
|
-
if (n >>>= 0, r >>>= 0, i >>>= 0,
|
|
1270
|
+
if (n >>>= 0, r >>>= 0, i >>>= 0, o >>>= 0, this === e)
|
|
1281
1271
|
return 0;
|
|
1282
|
-
for (var
|
|
1272
|
+
for (var a = o - i, s = r - n, l = Math.min(a, s), u = this.slice(i, o), f = e.slice(n, r), d = 0; d < l; ++d)
|
|
1283
1273
|
if (u[d] !== f[d]) {
|
|
1284
|
-
|
|
1274
|
+
a = u[d], s = f[d];
|
|
1285
1275
|
break;
|
|
1286
1276
|
}
|
|
1287
|
-
return
|
|
1277
|
+
return a < s ? -1 : s < a ? 1 : 0;
|
|
1288
1278
|
};
|
|
1289
1279
|
function Wr(t, e, n, r, i) {
|
|
1290
1280
|
if (t.length === 0)
|
|
@@ -1305,26 +1295,26 @@ function Wr(t, e, n, r, i) {
|
|
|
1305
1295
|
throw new TypeError("val must be string, number or Buffer");
|
|
1306
1296
|
}
|
|
1307
1297
|
function zn(t, e, n, r, i) {
|
|
1308
|
-
var
|
|
1298
|
+
var o = 1, a = t.length, s = e.length;
|
|
1309
1299
|
if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
|
|
1310
1300
|
if (t.length < 2 || e.length < 2)
|
|
1311
1301
|
return -1;
|
|
1312
|
-
|
|
1302
|
+
o = 2, a /= 2, s /= 2, n /= 2;
|
|
1313
1303
|
}
|
|
1314
1304
|
function l(p, y) {
|
|
1315
|
-
return
|
|
1305
|
+
return o === 1 ? p[y] : p.readUInt16BE(y * o);
|
|
1316
1306
|
}
|
|
1317
1307
|
var u;
|
|
1318
1308
|
if (i) {
|
|
1319
1309
|
var f = -1;
|
|
1320
|
-
for (u = n; u <
|
|
1310
|
+
for (u = n; u < a; u++)
|
|
1321
1311
|
if (l(t, u) === l(e, f === -1 ? 0 : u - f)) {
|
|
1322
1312
|
if (f === -1 && (f = u), u - f + 1 === s)
|
|
1323
|
-
return f *
|
|
1313
|
+
return f * o;
|
|
1324
1314
|
} else
|
|
1325
1315
|
f !== -1 && (u -= u - f), f = -1;
|
|
1326
1316
|
} else
|
|
1327
|
-
for (n + s >
|
|
1317
|
+
for (n + s > a && (n = a - s), u = n; u >= 0; u--) {
|
|
1328
1318
|
for (var d = !0, h = 0; h < s; h++)
|
|
1329
1319
|
if (l(t, u + h) !== l(e, h)) {
|
|
1330
1320
|
d = !1;
|
|
@@ -1344,36 +1334,36 @@ m.prototype.indexOf = function(e, n, r) {
|
|
|
1344
1334
|
m.prototype.lastIndexOf = function(e, n, r) {
|
|
1345
1335
|
return Wr(this, e, n, r, !1);
|
|
1346
1336
|
};
|
|
1347
|
-
function
|
|
1337
|
+
function Wa(t, e, n, r) {
|
|
1348
1338
|
n = Number(n) || 0;
|
|
1349
1339
|
var i = t.length - n;
|
|
1350
1340
|
r ? (r = Number(r), r > i && (r = i)) : r = i;
|
|
1351
|
-
var
|
|
1352
|
-
if (
|
|
1341
|
+
var o = e.length;
|
|
1342
|
+
if (o % 2 !== 0)
|
|
1353
1343
|
throw new TypeError("Invalid hex string");
|
|
1354
|
-
r >
|
|
1355
|
-
for (var
|
|
1356
|
-
var s = parseInt(e.substr(
|
|
1344
|
+
r > o / 2 && (r = o / 2);
|
|
1345
|
+
for (var a = 0; a < r; ++a) {
|
|
1346
|
+
var s = parseInt(e.substr(a * 2, 2), 16);
|
|
1357
1347
|
if (isNaN(s))
|
|
1358
|
-
return
|
|
1359
|
-
t[n +
|
|
1348
|
+
return a;
|
|
1349
|
+
t[n + a] = s;
|
|
1360
1350
|
}
|
|
1361
|
-
return
|
|
1351
|
+
return a;
|
|
1362
1352
|
}
|
|
1363
|
-
function
|
|
1353
|
+
function ja(t, e, n, r) {
|
|
1364
1354
|
return _t(gt(e, t.length - n), t, n, r);
|
|
1365
1355
|
}
|
|
1366
1356
|
function jr(t, e, n, r) {
|
|
1367
|
-
return _t(
|
|
1357
|
+
return _t(io(e), t, n, r);
|
|
1368
1358
|
}
|
|
1369
|
-
function
|
|
1359
|
+
function za(t, e, n, r) {
|
|
1370
1360
|
return jr(t, e, n, r);
|
|
1371
1361
|
}
|
|
1372
|
-
function
|
|
1362
|
+
function qa(t, e, n, r) {
|
|
1373
1363
|
return _t(Zr(e), t, n, r);
|
|
1374
1364
|
}
|
|
1375
|
-
function
|
|
1376
|
-
return _t(
|
|
1365
|
+
function Ka(t, e, n, r) {
|
|
1366
|
+
return _t(ao(e, t.length - n), t, n, r);
|
|
1377
1367
|
}
|
|
1378
1368
|
m.prototype.write = function(e, n, r, i) {
|
|
1379
1369
|
if (n === void 0)
|
|
@@ -1386,33 +1376,33 @@ m.prototype.write = function(e, n, r, i) {
|
|
|
1386
1376
|
throw new Error(
|
|
1387
1377
|
"Buffer.write(string, encoding, offset[, length]) is no longer supported"
|
|
1388
1378
|
);
|
|
1389
|
-
var
|
|
1390
|
-
if ((r === void 0 || r >
|
|
1379
|
+
var o = this.length - n;
|
|
1380
|
+
if ((r === void 0 || r > o) && (r = o), e.length > 0 && (r < 0 || n < 0) || n > this.length)
|
|
1391
1381
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
1392
1382
|
i || (i = "utf8");
|
|
1393
|
-
for (var
|
|
1383
|
+
for (var a = !1; ; )
|
|
1394
1384
|
switch (i) {
|
|
1395
1385
|
case "hex":
|
|
1396
|
-
return
|
|
1386
|
+
return Wa(this, e, n, r);
|
|
1397
1387
|
case "utf8":
|
|
1398
1388
|
case "utf-8":
|
|
1399
|
-
return
|
|
1389
|
+
return ja(this, e, n, r);
|
|
1400
1390
|
case "ascii":
|
|
1401
1391
|
return jr(this, e, n, r);
|
|
1402
1392
|
case "latin1":
|
|
1403
1393
|
case "binary":
|
|
1404
|
-
return
|
|
1394
|
+
return za(this, e, n, r);
|
|
1405
1395
|
case "base64":
|
|
1406
|
-
return
|
|
1396
|
+
return qa(this, e, n, r);
|
|
1407
1397
|
case "ucs2":
|
|
1408
1398
|
case "ucs-2":
|
|
1409
1399
|
case "utf16le":
|
|
1410
1400
|
case "utf-16le":
|
|
1411
|
-
return
|
|
1401
|
+
return Ka(this, e, n, r);
|
|
1412
1402
|
default:
|
|
1413
|
-
if (
|
|
1403
|
+
if (a)
|
|
1414
1404
|
throw new TypeError("Unknown encoding: " + i);
|
|
1415
|
-
i = ("" + i).toLowerCase(),
|
|
1405
|
+
i = ("" + i).toLowerCase(), a = !0;
|
|
1416
1406
|
}
|
|
1417
1407
|
};
|
|
1418
1408
|
m.prototype.toJSON = function() {
|
|
@@ -1421,35 +1411,35 @@ m.prototype.toJSON = function() {
|
|
|
1421
1411
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
1422
1412
|
};
|
|
1423
1413
|
};
|
|
1424
|
-
function
|
|
1414
|
+
function Ga(t, e, n) {
|
|
1425
1415
|
return e === 0 && n === t.length ? jn(t) : jn(t.slice(e, n));
|
|
1426
1416
|
}
|
|
1427
1417
|
function zr(t, e, n) {
|
|
1428
1418
|
n = Math.min(t.length, n);
|
|
1429
1419
|
for (var r = [], i = e; i < n; ) {
|
|
1430
|
-
var
|
|
1420
|
+
var o = t[i], a = null, s = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
|
|
1431
1421
|
if (i + s <= n) {
|
|
1432
1422
|
var l, u, f, d;
|
|
1433
1423
|
switch (s) {
|
|
1434
1424
|
case 1:
|
|
1435
|
-
|
|
1425
|
+
o < 128 && (a = o);
|
|
1436
1426
|
break;
|
|
1437
1427
|
case 2:
|
|
1438
|
-
l = t[i + 1], (l & 192) === 128 && (d = (
|
|
1428
|
+
l = t[i + 1], (l & 192) === 128 && (d = (o & 31) << 6 | l & 63, d > 127 && (a = d));
|
|
1439
1429
|
break;
|
|
1440
1430
|
case 3:
|
|
1441
|
-
l = t[i + 1], u = t[i + 2], (l & 192) === 128 && (u & 192) === 128 && (d = (
|
|
1431
|
+
l = t[i + 1], u = t[i + 2], (l & 192) === 128 && (u & 192) === 128 && (d = (o & 15) << 12 | (l & 63) << 6 | u & 63, d > 2047 && (d < 55296 || d > 57343) && (a = d));
|
|
1442
1432
|
break;
|
|
1443
1433
|
case 4:
|
|
1444
|
-
l = t[i + 1], u = t[i + 2], f = t[i + 3], (l & 192) === 128 && (u & 192) === 128 && (f & 192) === 128 && (d = (
|
|
1434
|
+
l = t[i + 1], u = t[i + 2], f = t[i + 3], (l & 192) === 128 && (u & 192) === 128 && (f & 192) === 128 && (d = (o & 15) << 18 | (l & 63) << 12 | (u & 63) << 6 | f & 63, d > 65535 && d < 1114112 && (a = d));
|
|
1445
1435
|
}
|
|
1446
1436
|
}
|
|
1447
|
-
|
|
1437
|
+
a === null ? (a = 65533, s = 1) : a > 65535 && (a -= 65536, r.push(a >>> 10 & 1023 | 55296), a = 56320 | a & 1023), r.push(a), i += s;
|
|
1448
1438
|
}
|
|
1449
|
-
return
|
|
1439
|
+
return Za(r);
|
|
1450
1440
|
}
|
|
1451
1441
|
var qn = 4096;
|
|
1452
|
-
function
|
|
1442
|
+
function Za(t) {
|
|
1453
1443
|
var e = t.length;
|
|
1454
1444
|
if (e <= qn)
|
|
1455
1445
|
return String.fromCharCode.apply(String, t);
|
|
@@ -1460,30 +1450,30 @@ function Jo(t) {
|
|
|
1460
1450
|
);
|
|
1461
1451
|
return n;
|
|
1462
1452
|
}
|
|
1463
|
-
function
|
|
1453
|
+
function Ja(t, e, n) {
|
|
1464
1454
|
var r = "";
|
|
1465
1455
|
n = Math.min(t.length, n);
|
|
1466
1456
|
for (var i = e; i < n; ++i)
|
|
1467
1457
|
r += String.fromCharCode(t[i] & 127);
|
|
1468
1458
|
return r;
|
|
1469
1459
|
}
|
|
1470
|
-
function
|
|
1460
|
+
function Xa(t, e, n) {
|
|
1471
1461
|
var r = "";
|
|
1472
1462
|
n = Math.min(t.length, n);
|
|
1473
1463
|
for (var i = e; i < n; ++i)
|
|
1474
1464
|
r += String.fromCharCode(t[i]);
|
|
1475
1465
|
return r;
|
|
1476
1466
|
}
|
|
1477
|
-
function
|
|
1467
|
+
function Qa(t, e, n) {
|
|
1478
1468
|
var r = t.length;
|
|
1479
1469
|
(!e || e < 0) && (e = 0), (!n || n < 0 || n > r) && (n = r);
|
|
1480
|
-
for (var i = "",
|
|
1481
|
-
i +=
|
|
1470
|
+
for (var i = "", o = e; o < n; ++o)
|
|
1471
|
+
i += ro(t[o]);
|
|
1482
1472
|
return i;
|
|
1483
1473
|
}
|
|
1484
|
-
function
|
|
1485
|
-
for (var r = t.slice(e, n), i = "",
|
|
1486
|
-
i += String.fromCharCode(r[
|
|
1474
|
+
function Va(t, e, n) {
|
|
1475
|
+
for (var r = t.slice(e, n), i = "", o = 0; o < r.length; o += 2)
|
|
1476
|
+
i += String.fromCharCode(r[o] + r[o + 1] * 256);
|
|
1487
1477
|
return i;
|
|
1488
1478
|
}
|
|
1489
1479
|
m.prototype.slice = function(e, n) {
|
|
@@ -1493,10 +1483,10 @@ m.prototype.slice = function(e, n) {
|
|
|
1493
1483
|
if (m.TYPED_ARRAY_SUPPORT)
|
|
1494
1484
|
i = this.subarray(e, n), i.__proto__ = m.prototype;
|
|
1495
1485
|
else {
|
|
1496
|
-
var
|
|
1497
|
-
i = new m(
|
|
1498
|
-
for (var
|
|
1499
|
-
i[
|
|
1486
|
+
var o = n - e;
|
|
1487
|
+
i = new m(o, void 0);
|
|
1488
|
+
for (var a = 0; a < o; ++a)
|
|
1489
|
+
i[a] = this[a + e];
|
|
1500
1490
|
}
|
|
1501
1491
|
return i;
|
|
1502
1492
|
};
|
|
@@ -1508,14 +1498,14 @@ function ee(t, e, n) {
|
|
|
1508
1498
|
}
|
|
1509
1499
|
m.prototype.readUIntLE = function(e, n, r) {
|
|
1510
1500
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1511
|
-
for (var i = this[e],
|
|
1512
|
-
i += this[e +
|
|
1501
|
+
for (var i = this[e], o = 1, a = 0; ++a < n && (o *= 256); )
|
|
1502
|
+
i += this[e + a] * o;
|
|
1513
1503
|
return i;
|
|
1514
1504
|
};
|
|
1515
1505
|
m.prototype.readUIntBE = function(e, n, r) {
|
|
1516
1506
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1517
|
-
for (var i = this[e + --n],
|
|
1518
|
-
i += this[e + --n] *
|
|
1507
|
+
for (var i = this[e + --n], o = 1; n > 0 && (o *= 256); )
|
|
1508
|
+
i += this[e + --n] * o;
|
|
1519
1509
|
return i;
|
|
1520
1510
|
};
|
|
1521
1511
|
m.prototype.readUInt8 = function(e, n) {
|
|
@@ -1535,15 +1525,15 @@ m.prototype.readUInt32BE = function(e, n) {
|
|
|
1535
1525
|
};
|
|
1536
1526
|
m.prototype.readIntLE = function(e, n, r) {
|
|
1537
1527
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1538
|
-
for (var i = this[e],
|
|
1539
|
-
i += this[e +
|
|
1540
|
-
return
|
|
1528
|
+
for (var i = this[e], o = 1, a = 0; ++a < n && (o *= 256); )
|
|
1529
|
+
i += this[e + a] * o;
|
|
1530
|
+
return o *= 128, i >= o && (i -= Math.pow(2, 8 * n)), i;
|
|
1541
1531
|
};
|
|
1542
1532
|
m.prototype.readIntBE = function(e, n, r) {
|
|
1543
1533
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1544
|
-
for (var i = n,
|
|
1545
|
-
|
|
1546
|
-
return
|
|
1534
|
+
for (var i = n, o = 1, a = this[e + --i]; i > 0 && (o *= 256); )
|
|
1535
|
+
a += this[e + --i] * o;
|
|
1536
|
+
return o *= 128, a >= o && (a -= Math.pow(2, 8 * n)), a;
|
|
1547
1537
|
};
|
|
1548
1538
|
m.prototype.readInt8 = function(e, n) {
|
|
1549
1539
|
return n || ee(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
@@ -1576,32 +1566,32 @@ m.prototype.readDoubleLE = function(e, n) {
|
|
|
1576
1566
|
m.prototype.readDoubleBE = function(e, n) {
|
|
1577
1567
|
return n || ee(e, 8, this.length), Tt(this, e, !1, 52, 8);
|
|
1578
1568
|
};
|
|
1579
|
-
function ce(t, e, n, r, i,
|
|
1569
|
+
function ce(t, e, n, r, i, o) {
|
|
1580
1570
|
if (!Se(t))
|
|
1581
1571
|
throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
1582
|
-
if (e > i || e <
|
|
1572
|
+
if (e > i || e < o)
|
|
1583
1573
|
throw new RangeError('"value" argument is out of bounds');
|
|
1584
1574
|
if (n + r > t.length)
|
|
1585
1575
|
throw new RangeError("Index out of range");
|
|
1586
1576
|
}
|
|
1587
1577
|
m.prototype.writeUIntLE = function(e, n, r, i) {
|
|
1588
1578
|
if (e = +e, n = n | 0, r = r | 0, !i) {
|
|
1589
|
-
var
|
|
1590
|
-
ce(this, e, n, r,
|
|
1579
|
+
var o = Math.pow(2, 8 * r) - 1;
|
|
1580
|
+
ce(this, e, n, r, o, 0);
|
|
1591
1581
|
}
|
|
1592
|
-
var
|
|
1593
|
-
for (this[n] = e & 255; ++s < r && (
|
|
1594
|
-
this[n + s] = e /
|
|
1582
|
+
var a = 1, s = 0;
|
|
1583
|
+
for (this[n] = e & 255; ++s < r && (a *= 256); )
|
|
1584
|
+
this[n + s] = e / a & 255;
|
|
1595
1585
|
return n + r;
|
|
1596
1586
|
};
|
|
1597
1587
|
m.prototype.writeUIntBE = function(e, n, r, i) {
|
|
1598
1588
|
if (e = +e, n = n | 0, r = r | 0, !i) {
|
|
1599
|
-
var
|
|
1600
|
-
ce(this, e, n, r,
|
|
1589
|
+
var o = Math.pow(2, 8 * r) - 1;
|
|
1590
|
+
ce(this, e, n, r, o, 0);
|
|
1601
1591
|
}
|
|
1602
|
-
var
|
|
1603
|
-
for (this[n +
|
|
1604
|
-
this[n +
|
|
1592
|
+
var a = r - 1, s = 1;
|
|
1593
|
+
for (this[n + a] = e & 255; --a >= 0 && (s *= 256); )
|
|
1594
|
+
this[n + a] = e / s & 255;
|
|
1605
1595
|
return n + r;
|
|
1606
1596
|
};
|
|
1607
1597
|
m.prototype.writeUInt8 = function(e, n, r) {
|
|
@@ -1609,7 +1599,7 @@ m.prototype.writeUInt8 = function(e, n, r) {
|
|
|
1609
1599
|
};
|
|
1610
1600
|
function St(t, e, n, r) {
|
|
1611
1601
|
e < 0 && (e = 65535 + e + 1);
|
|
1612
|
-
for (var i = 0,
|
|
1602
|
+
for (var i = 0, o = Math.min(t.length - n, 2); i < o; ++i)
|
|
1613
1603
|
t[n + i] = (e & 255 << 8 * (r ? i : 1 - i)) >>> (r ? i : 1 - i) * 8;
|
|
1614
1604
|
}
|
|
1615
1605
|
m.prototype.writeUInt16LE = function(e, n, r) {
|
|
@@ -1620,7 +1610,7 @@ m.prototype.writeUInt16BE = function(e, n, r) {
|
|
|
1620
1610
|
};
|
|
1621
1611
|
function Ct(t, e, n, r) {
|
|
1622
1612
|
e < 0 && (e = 4294967295 + e + 1);
|
|
1623
|
-
for (var i = 0,
|
|
1613
|
+
for (var i = 0, o = Math.min(t.length - n, 4); i < o; ++i)
|
|
1624
1614
|
t[n + i] = e >>> (r ? i : 3 - i) * 8 & 255;
|
|
1625
1615
|
}
|
|
1626
1616
|
m.prototype.writeUInt32LE = function(e, n, r) {
|
|
@@ -1631,22 +1621,22 @@ m.prototype.writeUInt32BE = function(e, n, r) {
|
|
|
1631
1621
|
};
|
|
1632
1622
|
m.prototype.writeIntLE = function(e, n, r, i) {
|
|
1633
1623
|
if (e = +e, n = n | 0, !i) {
|
|
1634
|
-
var
|
|
1635
|
-
ce(this, e, n, r,
|
|
1624
|
+
var o = Math.pow(2, 8 * r - 1);
|
|
1625
|
+
ce(this, e, n, r, o - 1, -o);
|
|
1636
1626
|
}
|
|
1637
|
-
var
|
|
1638
|
-
for (this[n] = e & 255; ++
|
|
1639
|
-
e < 0 && l === 0 && this[n +
|
|
1627
|
+
var a = 0, s = 1, l = 0;
|
|
1628
|
+
for (this[n] = e & 255; ++a < r && (s *= 256); )
|
|
1629
|
+
e < 0 && l === 0 && this[n + a - 1] !== 0 && (l = 1), this[n + a] = (e / s >> 0) - l & 255;
|
|
1640
1630
|
return n + r;
|
|
1641
1631
|
};
|
|
1642
1632
|
m.prototype.writeIntBE = function(e, n, r, i) {
|
|
1643
1633
|
if (e = +e, n = n | 0, !i) {
|
|
1644
|
-
var
|
|
1645
|
-
ce(this, e, n, r,
|
|
1634
|
+
var o = Math.pow(2, 8 * r - 1);
|
|
1635
|
+
ce(this, e, n, r, o - 1, -o);
|
|
1646
1636
|
}
|
|
1647
|
-
var
|
|
1648
|
-
for (this[n +
|
|
1649
|
-
e < 0 && l === 0 && this[n +
|
|
1637
|
+
var a = r - 1, s = 1, l = 0;
|
|
1638
|
+
for (this[n + a] = e & 255; --a >= 0 && (s *= 256); )
|
|
1639
|
+
e < 0 && l === 0 && this[n + a + 1] !== 0 && (l = 1), this[n + a] = (e / s >> 0) - l & 255;
|
|
1650
1640
|
return n + r;
|
|
1651
1641
|
};
|
|
1652
1642
|
m.prototype.writeInt8 = function(e, n, r) {
|
|
@@ -1664,7 +1654,7 @@ m.prototype.writeInt32LE = function(e, n, r) {
|
|
|
1664
1654
|
m.prototype.writeInt32BE = function(e, n, r) {
|
|
1665
1655
|
return e = +e, n = n | 0, r || ce(this, e, n, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), m.TYPED_ARRAY_SUPPORT ? (this[n] = e >>> 24, this[n + 1] = e >>> 16, this[n + 2] = e >>> 8, this[n + 3] = e & 255) : Ct(this, e, n, !1), n + 4;
|
|
1666
1656
|
};
|
|
1667
|
-
function qr(t, e, n, r, i,
|
|
1657
|
+
function qr(t, e, n, r, i, o) {
|
|
1668
1658
|
if (n + r > t.length)
|
|
1669
1659
|
throw new RangeError("Index out of range");
|
|
1670
1660
|
if (n < 0)
|
|
@@ -1698,26 +1688,26 @@ m.prototype.copy = function(e, n, r, i) {
|
|
|
1698
1688
|
if (i < 0)
|
|
1699
1689
|
throw new RangeError("sourceEnd out of bounds");
|
|
1700
1690
|
i > this.length && (i = this.length), e.length - n < i - r && (i = e.length - n + r);
|
|
1701
|
-
var
|
|
1691
|
+
var o = i - r, a;
|
|
1702
1692
|
if (this === e && r < n && n < i)
|
|
1703
|
-
for (
|
|
1704
|
-
e[
|
|
1705
|
-
else if (
|
|
1706
|
-
for (
|
|
1707
|
-
e[
|
|
1693
|
+
for (a = o - 1; a >= 0; --a)
|
|
1694
|
+
e[a + n] = this[a + r];
|
|
1695
|
+
else if (o < 1e3 || !m.TYPED_ARRAY_SUPPORT)
|
|
1696
|
+
for (a = 0; a < o; ++a)
|
|
1697
|
+
e[a + n] = this[a + r];
|
|
1708
1698
|
else
|
|
1709
1699
|
Uint8Array.prototype.set.call(
|
|
1710
1700
|
e,
|
|
1711
|
-
this.subarray(r, r +
|
|
1701
|
+
this.subarray(r, r + o),
|
|
1712
1702
|
n
|
|
1713
1703
|
);
|
|
1714
|
-
return
|
|
1704
|
+
return o;
|
|
1715
1705
|
};
|
|
1716
1706
|
m.prototype.fill = function(e, n, r, i) {
|
|
1717
1707
|
if (typeof e == "string") {
|
|
1718
1708
|
if (typeof n == "string" ? (i = n, n = 0, r = this.length) : typeof r == "string" && (i = r, r = this.length), e.length === 1) {
|
|
1719
|
-
var
|
|
1720
|
-
|
|
1709
|
+
var o = e.charCodeAt(0);
|
|
1710
|
+
o < 256 && (e = o);
|
|
1721
1711
|
}
|
|
1722
1712
|
if (i !== void 0 && typeof i != "string")
|
|
1723
1713
|
throw new TypeError("encoding must be a string");
|
|
@@ -1730,68 +1720,68 @@ m.prototype.fill = function(e, n, r, i) {
|
|
|
1730
1720
|
if (r <= n)
|
|
1731
1721
|
return this;
|
|
1732
1722
|
n = n >>> 0, r = r === void 0 ? this.length : r >>> 0, e || (e = 0);
|
|
1733
|
-
var
|
|
1723
|
+
var a;
|
|
1734
1724
|
if (typeof e == "number")
|
|
1735
|
-
for (
|
|
1736
|
-
this[
|
|
1725
|
+
for (a = n; a < r; ++a)
|
|
1726
|
+
this[a] = e;
|
|
1737
1727
|
else {
|
|
1738
1728
|
var s = Se(e) ? e : gt(new m(e, i).toString()), l = s.length;
|
|
1739
|
-
for (
|
|
1740
|
-
this[
|
|
1729
|
+
for (a = 0; a < r - n; ++a)
|
|
1730
|
+
this[a + n] = s[a % l];
|
|
1741
1731
|
}
|
|
1742
1732
|
return this;
|
|
1743
1733
|
};
|
|
1744
|
-
var
|
|
1745
|
-
function
|
|
1746
|
-
if (t =
|
|
1734
|
+
var eo = /[^+\/0-9A-Za-z-_]/g;
|
|
1735
|
+
function to(t) {
|
|
1736
|
+
if (t = no(t).replace(eo, ""), t.length < 2)
|
|
1747
1737
|
return "";
|
|
1748
1738
|
for (; t.length % 4 !== 0; )
|
|
1749
1739
|
t = t + "=";
|
|
1750
1740
|
return t;
|
|
1751
1741
|
}
|
|
1752
|
-
function
|
|
1742
|
+
function no(t) {
|
|
1753
1743
|
return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
|
|
1754
1744
|
}
|
|
1755
|
-
function
|
|
1745
|
+
function ro(t) {
|
|
1756
1746
|
return t < 16 ? "0" + t.toString(16) : t.toString(16);
|
|
1757
1747
|
}
|
|
1758
1748
|
function gt(t, e) {
|
|
1759
1749
|
e = e || 1 / 0;
|
|
1760
|
-
for (var n, r = t.length, i = null,
|
|
1761
|
-
if (n = t.charCodeAt(
|
|
1750
|
+
for (var n, r = t.length, i = null, o = [], a = 0; a < r; ++a) {
|
|
1751
|
+
if (n = t.charCodeAt(a), n > 55295 && n < 57344) {
|
|
1762
1752
|
if (!i) {
|
|
1763
1753
|
if (n > 56319) {
|
|
1764
|
-
(e -= 3) > -1 &&
|
|
1754
|
+
(e -= 3) > -1 && o.push(239, 191, 189);
|
|
1765
1755
|
continue;
|
|
1766
|
-
} else if (
|
|
1767
|
-
(e -= 3) > -1 &&
|
|
1756
|
+
} else if (a + 1 === r) {
|
|
1757
|
+
(e -= 3) > -1 && o.push(239, 191, 189);
|
|
1768
1758
|
continue;
|
|
1769
1759
|
}
|
|
1770
1760
|
i = n;
|
|
1771
1761
|
continue;
|
|
1772
1762
|
}
|
|
1773
1763
|
if (n < 56320) {
|
|
1774
|
-
(e -= 3) > -1 &&
|
|
1764
|
+
(e -= 3) > -1 && o.push(239, 191, 189), i = n;
|
|
1775
1765
|
continue;
|
|
1776
1766
|
}
|
|
1777
1767
|
n = (i - 55296 << 10 | n - 56320) + 65536;
|
|
1778
1768
|
} else
|
|
1779
|
-
i && (e -= 3) > -1 &&
|
|
1769
|
+
i && (e -= 3) > -1 && o.push(239, 191, 189);
|
|
1780
1770
|
if (i = null, n < 128) {
|
|
1781
1771
|
if ((e -= 1) < 0)
|
|
1782
1772
|
break;
|
|
1783
|
-
|
|
1773
|
+
o.push(n);
|
|
1784
1774
|
} else if (n < 2048) {
|
|
1785
1775
|
if ((e -= 2) < 0)
|
|
1786
1776
|
break;
|
|
1787
|
-
|
|
1777
|
+
o.push(
|
|
1788
1778
|
n >> 6 | 192,
|
|
1789
1779
|
n & 63 | 128
|
|
1790
1780
|
);
|
|
1791
1781
|
} else if (n < 65536) {
|
|
1792
1782
|
if ((e -= 3) < 0)
|
|
1793
1783
|
break;
|
|
1794
|
-
|
|
1784
|
+
o.push(
|
|
1795
1785
|
n >> 12 | 224,
|
|
1796
1786
|
n >> 6 & 63 | 128,
|
|
1797
1787
|
n & 63 | 128
|
|
@@ -1799,7 +1789,7 @@ function gt(t, e) {
|
|
|
1799
1789
|
} else if (n < 1114112) {
|
|
1800
1790
|
if ((e -= 4) < 0)
|
|
1801
1791
|
break;
|
|
1802
|
-
|
|
1792
|
+
o.push(
|
|
1803
1793
|
n >> 18 | 240,
|
|
1804
1794
|
n >> 12 & 63 | 128,
|
|
1805
1795
|
n >> 6 & 63 | 128,
|
|
@@ -1808,39 +1798,39 @@ function gt(t, e) {
|
|
|
1808
1798
|
} else
|
|
1809
1799
|
throw new Error("Invalid code point");
|
|
1810
1800
|
}
|
|
1811
|
-
return
|
|
1801
|
+
return o;
|
|
1812
1802
|
}
|
|
1813
|
-
function
|
|
1803
|
+
function io(t) {
|
|
1814
1804
|
for (var e = [], n = 0; n < t.length; ++n)
|
|
1815
1805
|
e.push(t.charCodeAt(n) & 255);
|
|
1816
1806
|
return e;
|
|
1817
1807
|
}
|
|
1818
|
-
function
|
|
1819
|
-
for (var n, r, i,
|
|
1820
|
-
n = t.charCodeAt(
|
|
1821
|
-
return
|
|
1808
|
+
function ao(t, e) {
|
|
1809
|
+
for (var n, r, i, o = [], a = 0; a < t.length && !((e -= 2) < 0); ++a)
|
|
1810
|
+
n = t.charCodeAt(a), r = n >> 8, i = n % 256, o.push(i), o.push(r);
|
|
1811
|
+
return o;
|
|
1822
1812
|
}
|
|
1823
1813
|
function Zr(t) {
|
|
1824
|
-
return
|
|
1814
|
+
return Oa(to(t));
|
|
1825
1815
|
}
|
|
1826
1816
|
function _t(t, e, n, r) {
|
|
1827
1817
|
for (var i = 0; i < r && !(i + n >= e.length || i >= t.length); ++i)
|
|
1828
1818
|
e[i + n] = t[i];
|
|
1829
1819
|
return i;
|
|
1830
1820
|
}
|
|
1831
|
-
function
|
|
1821
|
+
function oo(t) {
|
|
1832
1822
|
return t !== t;
|
|
1833
1823
|
}
|
|
1834
|
-
function
|
|
1835
|
-
return t != null && (!!t._isBuffer || Jr(t) ||
|
|
1824
|
+
function so(t) {
|
|
1825
|
+
return t != null && (!!t._isBuffer || Jr(t) || lo(t));
|
|
1836
1826
|
}
|
|
1837
1827
|
function Jr(t) {
|
|
1838
1828
|
return !!t.constructor && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
|
1839
1829
|
}
|
|
1840
|
-
function
|
|
1830
|
+
function lo(t) {
|
|
1841
1831
|
return typeof t.readFloatLE == "function" && typeof t.slice == "function" && Jr(t.slice(0, 0));
|
|
1842
1832
|
}
|
|
1843
|
-
var
|
|
1833
|
+
var co = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1844
1834
|
function Is(t) {
|
|
1845
1835
|
if (t.__esModule)
|
|
1846
1836
|
return t;
|
|
@@ -1859,8 +1849,8 @@ var Xr = { exports: {} };
|
|
|
1859
1849
|
(function(t, e) {
|
|
1860
1850
|
(function(n, r) {
|
|
1861
1851
|
t.exports = r();
|
|
1862
|
-
})(
|
|
1863
|
-
var n = 1e3, r = 6e4, i = 36e5,
|
|
1852
|
+
})(co, function() {
|
|
1853
|
+
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", a = "second", s = "minute", l = "hour", u = "day", f = "week", d = "month", h = "quarter", p = "year", y = "date", b = "Invalid Date", w = /^(\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, M = { 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) {
|
|
1864
1854
|
var x = ["th", "st", "nd", "rd"], E = C % 100;
|
|
1865
1855
|
return "[" + C + (x[(E - 20) % 10] || x[E] || x[0]) + "]";
|
|
1866
1856
|
} }, te = function(C, x, E) {
|
|
@@ -1877,7 +1867,7 @@ var Xr = { exports: {} };
|
|
|
1877
1867
|
}, a: function(C) {
|
|
1878
1868
|
return C < 0 ? Math.ceil(C) || 0 : Math.floor(C);
|
|
1879
1869
|
}, p: function(C) {
|
|
1880
|
-
return { M: d, y: p, w: f, d: u, D: y, h: l, m: s, s:
|
|
1870
|
+
return { M: d, y: p, w: f, d: u, D: y, h: l, m: s, s: a, ms: o, Q: h }[C] || String(C || "").toLowerCase().replace(/s$/, "");
|
|
1881
1871
|
}, u: function(C) {
|
|
1882
1872
|
return C === void 0;
|
|
1883
1873
|
} }, ge = "en", ne = {};
|
|
@@ -1973,7 +1963,7 @@ var Xr = { exports: {} };
|
|
|
1973
1963
|
return z(ve + "Minutes", 1);
|
|
1974
1964
|
case s:
|
|
1975
1965
|
return z(ve + "Seconds", 2);
|
|
1976
|
-
case
|
|
1966
|
+
case a:
|
|
1977
1967
|
return z(ve + "Milliseconds", 3);
|
|
1978
1968
|
default:
|
|
1979
1969
|
return this.clone();
|
|
@@ -1981,7 +1971,7 @@ var Xr = { exports: {} };
|
|
|
1981
1971
|
}, x.endOf = function(E) {
|
|
1982
1972
|
return this.startOf(E, !1);
|
|
1983
1973
|
}, x.$set = function(E, A) {
|
|
1984
|
-
var S, O = H.p(E), I = "set" + (this.$u ? "UTC" : ""), P = (S = {}, S[u] = I + "Date", S[y] = I + "Date", S[d] = I + "Month", S[p] = I + "FullYear", S[l] = I + "Hours", S[s] = I + "Minutes", S[
|
|
1974
|
+
var S, O = H.p(E), I = "set" + (this.$u ? "UTC" : ""), P = (S = {}, S[u] = I + "Date", S[y] = I + "Date", S[d] = I + "Month", S[p] = I + "FullYear", S[l] = I + "Hours", S[s] = I + "Minutes", S[a] = I + "Seconds", S[o] = I + "Milliseconds", S)[O], z = O === u ? this.$D + (A - this.$W) : A;
|
|
1985
1975
|
if (O === d || O === p) {
|
|
1986
1976
|
var j = this.clone().set(y, 1);
|
|
1987
1977
|
j.$d[P](z), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
|
|
@@ -2007,7 +1997,7 @@ var Xr = { exports: {} };
|
|
|
2007
1997
|
return P(1);
|
|
2008
1998
|
if (I === f)
|
|
2009
1999
|
return P(7);
|
|
2010
|
-
var z = (S = {}, S[s] = r, S[l] = i, S[
|
|
2000
|
+
var z = (S = {}, S[s] = r, S[l] = i, S[a] = n, S)[I] || 1, j = this.$d.getTime() + E * z;
|
|
2011
2001
|
return H.w(j, this);
|
|
2012
2002
|
}, x.subtract = function(E, A) {
|
|
2013
2003
|
return this.add(-1 * E, A);
|
|
@@ -2030,7 +2020,7 @@ var Xr = { exports: {} };
|
|
|
2030
2020
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2031
2021
|
}, x.diff = function(E, A, S) {
|
|
2032
2022
|
var O, I = H.p(A), P = K(E), z = (P.utcOffset() - this.utcOffset()) * r, j = this - P, X = H.m(this, P);
|
|
2033
|
-
return X = (O = {}, O[p] = X / 12, O[d] = X, O[h] = X / 3, O[f] = (j - z) / 6048e5, O[u] = (j - z) / 864e5, O[l] = j / i, O[s] = j / r, O[
|
|
2023
|
+
return X = (O = {}, O[p] = X / 12, O[d] = X, O[h] = X / 3, O[f] = (j - z) / 6048e5, O[u] = (j - z) / 864e5, O[l] = j / i, O[s] = j / r, O[a] = j / n, O)[I] || j, S ? X : H.a(X);
|
|
2034
2024
|
}, x.daysInMonth = function() {
|
|
2035
2025
|
return this.endOf(d).$D;
|
|
2036
2026
|
}, x.$locale = function() {
|
|
@@ -2052,7 +2042,7 @@ var Xr = { exports: {} };
|
|
|
2052
2042
|
return this.$d.toUTCString();
|
|
2053
2043
|
}, C;
|
|
2054
2044
|
}(), Ve = je.prototype;
|
|
2055
|
-
return K.prototype = Ve, [["$ms",
|
|
2045
|
+
return K.prototype = Ve, [["$ms", o], ["$s", a], ["$m", s], ["$H", l], ["$W", u], ["$M", d], ["$y", p], ["$D", y]].forEach(function(C) {
|
|
2056
2046
|
Ve[C[1]] = function(x) {
|
|
2057
2047
|
return this.$g(x, C[0], C[1]);
|
|
2058
2048
|
};
|
|
@@ -2104,7 +2094,7 @@ var Zt = [
|
|
|
2104
2094
|
for (var n = [], r = t; r < e; r++)
|
|
2105
2095
|
n.push(r);
|
|
2106
2096
|
return n;
|
|
2107
|
-
},
|
|
2097
|
+
}, U = function(t, e) {
|
|
2108
2098
|
var n = 0, r = [];
|
|
2109
2099
|
if (de(t))
|
|
2110
2100
|
for (; n < e; n++)
|
|
@@ -2113,15 +2103,15 @@ var Zt = [
|
|
|
2113
2103
|
for (; n < e; n++)
|
|
2114
2104
|
r[n] = t;
|
|
2115
2105
|
return r;
|
|
2116
|
-
},
|
|
2106
|
+
}, uo = function(t) {
|
|
2117
2107
|
return de(t) ? t : [t];
|
|
2118
2108
|
};
|
|
2119
2109
|
function Ke(t, e, n) {
|
|
2120
2110
|
n === void 0 && (n = " ");
|
|
2121
2111
|
var r = String(t);
|
|
2122
|
-
return e = e >> 0, r.length > e ? String(r) : (e = e - r.length, e > n.length && (n +=
|
|
2112
|
+
return e = e >> 0, r.length > e ? String(r) : (e = e - r.length, e > n.length && (n += U(n, e / n.length)), n.slice(0, e) + String(r));
|
|
2123
2113
|
}
|
|
2124
|
-
var
|
|
2114
|
+
var fo = function(t, e, n) {
|
|
2125
2115
|
var r = t.split(e);
|
|
2126
2116
|
return n ? r.slice(0, n).concat([r.slice(n).join(e)]) : r;
|
|
2127
2117
|
}, me = function(t, e) {
|
|
@@ -2135,9 +2125,9 @@ var da = function(t, e, n) {
|
|
|
2135
2125
|
return !ke(t);
|
|
2136
2126
|
}, W = function(t, e) {
|
|
2137
2127
|
return V(t) && t.indexOf(e) !== -1;
|
|
2138
|
-
}, Be = function(t, e, n, r, i,
|
|
2139
|
-
return r === void 0 && (r = 0), i === void 0 && (i = 0),
|
|
2140
|
-
},
|
|
2128
|
+
}, Be = function(t, e, n, r, i, o) {
|
|
2129
|
+
return r === void 0 && (r = 0), i === void 0 && (i = 0), o === void 0 && (o = 0), new Date(Date.UTC(t, e - 1, n, r, i, o));
|
|
2130
|
+
}, ho = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Vr = 1e3 * 60 * 60 * 24, ei = 9999, ti = Be(1970, 1, 1), po = [6, 0, 1, 2, 3, 4, 5], at = function(t) {
|
|
2141
2131
|
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
|
|
2142
2132
|
}, ni = function(t) {
|
|
2143
2133
|
return t instanceof Date;
|
|
@@ -2145,21 +2135,21 @@ var da = function(t, e, n) {
|
|
|
2145
2135
|
return ni(t) && !isNaN(t.getTime());
|
|
2146
2136
|
}, Gn = function(t) {
|
|
2147
2137
|
return t.getTimezoneOffset() * 60 * 1e3;
|
|
2148
|
-
},
|
|
2138
|
+
}, yo = function(t, e) {
|
|
2149
2139
|
var n = t.getTime() - Gn(t), r = e.getTime() - Gn(e), i = n - r;
|
|
2150
2140
|
return Math.round(i / Vr);
|
|
2151
2141
|
}, Jt = function(t) {
|
|
2152
|
-
return
|
|
2142
|
+
return yo(t, ti);
|
|
2153
2143
|
}, ri = function(t) {
|
|
2154
2144
|
return new Date(ti.getTime() + t * Vr);
|
|
2155
|
-
},
|
|
2145
|
+
}, mo = function(t) {
|
|
2156
2146
|
var e = t.getUTCMonth();
|
|
2157
|
-
return e === 1 &&
|
|
2147
|
+
return e === 1 && at(t.getUTCFullYear()) ? 29 : ho[e];
|
|
2158
2148
|
}, Xe = function(t) {
|
|
2159
|
-
return
|
|
2149
|
+
return po[t.getUTCDay()];
|
|
2160
2150
|
}, Zn = function(t, e) {
|
|
2161
2151
|
var n = Be(t, e + 1, 1);
|
|
2162
|
-
return [Xe(n),
|
|
2152
|
+
return [Xe(n), mo(n)];
|
|
2163
2153
|
}, ii = function(t, e) {
|
|
2164
2154
|
return e = e || t, new Date(Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
2165
2155
|
}, Xt = function(t) {
|
|
@@ -2194,9 +2184,9 @@ var da = function(t, e, n) {
|
|
|
2194
2184
|
}, Xn = function(t, e) {
|
|
2195
2185
|
var n = t.toLocaleString("sv-SE", { timeZone: e });
|
|
2196
2186
|
return n.replace(" ", "T") + "Z";
|
|
2197
|
-
},
|
|
2198
|
-
var n = Intl.DateTimeFormat().resolvedOptions().timeZone, r = new Date(Xn(t, n)), i = new Date(Xn(t, e ?? "UTC")),
|
|
2199
|
-
return new Date(t.getTime() -
|
|
2187
|
+
}, go = function(t, e) {
|
|
2188
|
+
var n = Intl.DateTimeFormat().resolvedOptions().timeZone, r = new Date(Xn(t, n)), i = new Date(Xn(t, e ?? "UTC")), o = i.getTime() - r.getTime();
|
|
2189
|
+
return new Date(t.getTime() - o);
|
|
2200
2190
|
}, Je = (
|
|
2201
2191
|
/** @class */
|
|
2202
2192
|
function() {
|
|
@@ -2255,25 +2245,25 @@ var he = function() {
|
|
|
2255
2245
|
return he = Object.assign || function(e) {
|
|
2256
2246
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
2257
2247
|
n = arguments[r];
|
|
2258
|
-
for (var
|
|
2259
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
2248
|
+
for (var o in n)
|
|
2249
|
+
Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
2260
2250
|
}
|
|
2261
2251
|
return e;
|
|
2262
2252
|
}, he.apply(this, arguments);
|
|
2263
2253
|
};
|
|
2264
2254
|
function $(t, e, n) {
|
|
2265
2255
|
if (n || arguments.length === 2)
|
|
2266
|
-
for (var r = 0, i = e.length,
|
|
2267
|
-
(
|
|
2268
|
-
return t.concat(
|
|
2256
|
+
for (var r = 0, i = e.length, o; r < i; r++)
|
|
2257
|
+
(o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
|
|
2258
|
+
return t.concat(o || Array.prototype.slice.call(e));
|
|
2269
2259
|
}
|
|
2270
2260
|
var Qn = (
|
|
2271
2261
|
/** @class */
|
|
2272
2262
|
function(t) {
|
|
2273
2263
|
hn(e, t);
|
|
2274
2264
|
function e(n, r, i) {
|
|
2275
|
-
var
|
|
2276
|
-
return
|
|
2265
|
+
var o = t.call(this, n, r) || this;
|
|
2266
|
+
return o.iterator = i, o;
|
|
2277
2267
|
}
|
|
2278
2268
|
return e.prototype.add = function(n) {
|
|
2279
2269
|
return this.iterator(n, this._result.length) ? (this._result.push(n), !0) : !1;
|
|
@@ -2349,21 +2339,21 @@ var Qn = (
|
|
|
2349
2339
|
}
|
|
2350
2340
|
}, Vn = function(t, e) {
|
|
2351
2341
|
return t.indexOf(e) !== -1;
|
|
2352
|
-
},
|
|
2342
|
+
}, vo = function(t) {
|
|
2353
2343
|
return t.toString();
|
|
2354
|
-
},
|
|
2344
|
+
}, bo = function(t, e, n) {
|
|
2355
2345
|
return "".concat(e, " ").concat(n, ", ").concat(t);
|
|
2356
|
-
},
|
|
2346
|
+
}, Fe = (
|
|
2357
2347
|
/** @class */
|
|
2358
2348
|
function() {
|
|
2359
2349
|
function t(e, n, r, i) {
|
|
2360
|
-
if (n === void 0 && (n =
|
|
2361
|
-
var
|
|
2362
|
-
|
|
2350
|
+
if (n === void 0 && (n = vo), r === void 0 && (r = vt), i === void 0 && (i = bo), this.text = [], this.language = r || vt, this.gettext = n, this.dateFormatter = i, this.rrule = e, this.options = e.options, this.origOptions = e.origOptions, this.origOptions.bymonthday) {
|
|
2351
|
+
var o = [].concat(this.options.bymonthday), a = [].concat(this.options.bynmonthday);
|
|
2352
|
+
o.sort(function(f, d) {
|
|
2363
2353
|
return f - d;
|
|
2364
|
-
}),
|
|
2354
|
+
}), a.sort(function(f, d) {
|
|
2365
2355
|
return d - f;
|
|
2366
|
-
}), this.bymonthday =
|
|
2356
|
+
}), this.bymonthday = o.concat(a), this.bymonthday.length || (this.bymonthday = null);
|
|
2367
2357
|
}
|
|
2368
2358
|
if (J(this.origOptions.byweekday)) {
|
|
2369
2359
|
var s = de(this.origOptions.byweekday) ? this.origOptions.byweekday : [this.origOptions.byweekday], l = String(s);
|
|
@@ -2471,9 +2461,9 @@ var Qn = (
|
|
|
2471
2461
|
}, t.prototype.add = function(e) {
|
|
2472
2462
|
return this.text.push(" "), this.text.push(e), this;
|
|
2473
2463
|
}, t.prototype.list = function(e, n, r, i) {
|
|
2474
|
-
var
|
|
2464
|
+
var o = this;
|
|
2475
2465
|
i === void 0 && (i = ","), de(e) || (e = [e]);
|
|
2476
|
-
var
|
|
2466
|
+
var a = function(l, u, f) {
|
|
2477
2467
|
for (var d = "", h = 0; h < l.length; h++)
|
|
2478
2468
|
h !== 0 && (h === l.length - 1 ? d += " " + f + " " : d += u + " "), d += l[h];
|
|
2479
2469
|
return d;
|
|
@@ -2482,12 +2472,12 @@ var Qn = (
|
|
|
2482
2472
|
return l.toString();
|
|
2483
2473
|
};
|
|
2484
2474
|
var s = function(l) {
|
|
2485
|
-
return n && n.call(
|
|
2475
|
+
return n && n.call(o, l);
|
|
2486
2476
|
};
|
|
2487
|
-
return r ?
|
|
2477
|
+
return r ? a(e.map(s), i, r) : e.map(s).join(i + " ");
|
|
2488
2478
|
}, t;
|
|
2489
2479
|
}()
|
|
2490
|
-
),
|
|
2480
|
+
), wo = (
|
|
2491
2481
|
/** @class */
|
|
2492
2482
|
function() {
|
|
2493
2483
|
function t(e) {
|
|
@@ -2507,8 +2497,8 @@ var Qn = (
|
|
|
2507
2497
|
e = null;
|
|
2508
2498
|
for (var i in this.rules) {
|
|
2509
2499
|
r = this.rules[i];
|
|
2510
|
-
var
|
|
2511
|
-
|
|
2500
|
+
var o = r.exec(this.text);
|
|
2501
|
+
o && (e === null || o[0].length > e[0].length) && (e = o, n = i);
|
|
2512
2502
|
}
|
|
2513
2503
|
if (e != null && (this.text = this.text.substr(e[0].length), this.text === "" && (this.done = !0)), e == null) {
|
|
2514
2504
|
this.done = !0, this.symbol = null, this.value = null;
|
|
@@ -2534,9 +2524,9 @@ var Qn = (
|
|
|
2534
2524
|
}, t;
|
|
2535
2525
|
}()
|
|
2536
2526
|
);
|
|
2537
|
-
function
|
|
2527
|
+
function ai(t, e) {
|
|
2538
2528
|
e === void 0 && (e = vt);
|
|
2539
|
-
var n = {}, r = new
|
|
2529
|
+
var n = {}, r = new wo(e.tokens);
|
|
2540
2530
|
if (!r.start(t))
|
|
2541
2531
|
return null;
|
|
2542
2532
|
return i(), n;
|
|
@@ -2547,25 +2537,25 @@ function oi(t, e) {
|
|
|
2547
2537
|
throw new Error("Unexpected end");
|
|
2548
2538
|
switch (r.symbol) {
|
|
2549
2539
|
case "day(s)":
|
|
2550
|
-
n.freq = R.DAILY, r.nextSymbol() && (
|
|
2540
|
+
n.freq = R.DAILY, r.nextSymbol() && (a(), d());
|
|
2551
2541
|
break;
|
|
2552
2542
|
case "weekday(s)":
|
|
2553
2543
|
n.freq = R.WEEKLY, n.byweekday = [R.MO, R.TU, R.WE, R.TH, R.FR], r.nextSymbol(), d();
|
|
2554
2544
|
break;
|
|
2555
2545
|
case "week(s)":
|
|
2556
|
-
n.freq = R.WEEKLY, r.nextSymbol() && (
|
|
2546
|
+
n.freq = R.WEEKLY, r.nextSymbol() && (o(), d());
|
|
2557
2547
|
break;
|
|
2558
2548
|
case "hour(s)":
|
|
2559
|
-
n.freq = R.HOURLY, r.nextSymbol() && (
|
|
2549
|
+
n.freq = R.HOURLY, r.nextSymbol() && (o(), d());
|
|
2560
2550
|
break;
|
|
2561
2551
|
case "minute(s)":
|
|
2562
|
-
n.freq = R.MINUTELY, r.nextSymbol() && (
|
|
2552
|
+
n.freq = R.MINUTELY, r.nextSymbol() && (o(), d());
|
|
2563
2553
|
break;
|
|
2564
2554
|
case "month(s)":
|
|
2565
|
-
n.freq = R.MONTHLY, r.nextSymbol() && (
|
|
2555
|
+
n.freq = R.MONTHLY, r.nextSymbol() && (o(), d());
|
|
2566
2556
|
break;
|
|
2567
2557
|
case "year(s)":
|
|
2568
|
-
n.freq = R.YEARLY, r.nextSymbol() && (
|
|
2558
|
+
n.freq = R.YEARLY, r.nextSymbol() && (o(), d());
|
|
2569
2559
|
break;
|
|
2570
2560
|
case "monday":
|
|
2571
2561
|
case "tuesday":
|
|
@@ -2610,13 +2600,13 @@ function oi(t, e) {
|
|
|
2610
2600
|
throw new Error("Unexpected symbol " + r.symbol + ", expected month");
|
|
2611
2601
|
n.bymonth.push(b), r.nextSymbol();
|
|
2612
2602
|
}
|
|
2613
|
-
|
|
2603
|
+
o(), d();
|
|
2614
2604
|
break;
|
|
2615
2605
|
default:
|
|
2616
2606
|
throw new Error("Unknown symbol");
|
|
2617
2607
|
}
|
|
2618
2608
|
}
|
|
2619
|
-
function
|
|
2609
|
+
function o() {
|
|
2620
2610
|
var h = r.accept("on"), p = r.accept("the");
|
|
2621
2611
|
if (h || p)
|
|
2622
2612
|
do {
|
|
@@ -2643,7 +2633,7 @@ function oi(t, e) {
|
|
|
2643
2633
|
return;
|
|
2644
2634
|
} while (r.accept("comma") || r.accept("the") || r.accept("on"));
|
|
2645
2635
|
}
|
|
2646
|
-
function
|
|
2636
|
+
function a() {
|
|
2647
2637
|
var h = r.accept("at");
|
|
2648
2638
|
if (h)
|
|
2649
2639
|
do {
|
|
@@ -2747,8 +2737,8 @@ var N;
|
|
|
2747
2737
|
function pn(t) {
|
|
2748
2738
|
return t < N.HOURLY;
|
|
2749
2739
|
}
|
|
2750
|
-
var $
|
|
2751
|
-
return e === void 0 && (e = vt), new R(
|
|
2740
|
+
var $o = function(t, e) {
|
|
2741
|
+
return e === void 0 && (e = vt), new R(ai(t, e) || void 0);
|
|
2752
2742
|
}, Qe = [
|
|
2753
2743
|
"count",
|
|
2754
2744
|
"until",
|
|
@@ -2757,16 +2747,16 @@ var $a = function(t, e) {
|
|
|
2757
2747
|
"bymonthday",
|
|
2758
2748
|
"bymonth"
|
|
2759
2749
|
];
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
var
|
|
2768
|
-
return new
|
|
2769
|
-
},
|
|
2750
|
+
Fe.IMPLEMENTED = [];
|
|
2751
|
+
Fe.IMPLEMENTED[N.HOURLY] = Qe;
|
|
2752
|
+
Fe.IMPLEMENTED[N.MINUTELY] = Qe;
|
|
2753
|
+
Fe.IMPLEMENTED[N.DAILY] = ["byhour"].concat(Qe);
|
|
2754
|
+
Fe.IMPLEMENTED[N.WEEKLY] = Qe;
|
|
2755
|
+
Fe.IMPLEMENTED[N.MONTHLY] = Qe;
|
|
2756
|
+
Fe.IMPLEMENTED[N.YEARLY] = ["byweekno", "byyearday"].concat(Qe);
|
|
2757
|
+
var Eo = function(t, e, n, r) {
|
|
2758
|
+
return new Fe(t, e, n, r).toString();
|
|
2759
|
+
}, ko = Fe.isFullyConvertible, bt = (
|
|
2770
2760
|
/** @class */
|
|
2771
2761
|
function() {
|
|
2772
2762
|
function t(e, n, r, i) {
|
|
@@ -2784,12 +2774,12 @@ var Ea = function(t, e, n, r) {
|
|
|
2784
2774
|
return (this.hour * 60 * 60 + this.minute * 60 + this.second) * 1e3 + this.millisecond;
|
|
2785
2775
|
}, t;
|
|
2786
2776
|
}()
|
|
2787
|
-
),
|
|
2777
|
+
), xo = (
|
|
2788
2778
|
/** @class */
|
|
2789
2779
|
function(t) {
|
|
2790
2780
|
hn(e, t);
|
|
2791
|
-
function e(n, r, i,
|
|
2792
|
-
var u = t.call(this,
|
|
2781
|
+
function e(n, r, i, o, a, s, l) {
|
|
2782
|
+
var u = t.call(this, o, a, s, l) || this;
|
|
2793
2783
|
return u.year = n, u.month = r, u.day = i, u;
|
|
2794
2784
|
}
|
|
2795
2785
|
return e.fromDate = function(n) {
|
|
@@ -2818,22 +2808,22 @@ var Ea = function(t, e, n, r) {
|
|
|
2818
2808
|
}, e.prototype.addHours = function(n, r, i) {
|
|
2819
2809
|
for (r && (this.hour += Math.floor((23 - this.hour) / n) * n); ; ) {
|
|
2820
2810
|
this.hour += n;
|
|
2821
|
-
var
|
|
2822
|
-
if (
|
|
2811
|
+
var o = Nt(this.hour, 24), a = o.div, s = o.mod;
|
|
2812
|
+
if (a && (this.hour = s, this.addDaily(a)), ke(i) || W(i, this.hour))
|
|
2823
2813
|
break;
|
|
2824
2814
|
}
|
|
2825
|
-
}, e.prototype.addMinutes = function(n, r, i,
|
|
2815
|
+
}, e.prototype.addMinutes = function(n, r, i, o) {
|
|
2826
2816
|
for (r && (this.minute += Math.floor((1439 - (this.hour * 60 + this.minute)) / n) * n); ; ) {
|
|
2827
2817
|
this.minute += n;
|
|
2828
|
-
var
|
|
2829
|
-
if (s && (this.minute = l, this.addHours(s, !1, i)), (ke(i) || W(i, this.hour)) && (ke(
|
|
2818
|
+
var a = Nt(this.minute, 60), s = a.div, l = a.mod;
|
|
2819
|
+
if (s && (this.minute = l, this.addHours(s, !1, i)), (ke(i) || W(i, this.hour)) && (ke(o) || W(o, this.minute)))
|
|
2830
2820
|
break;
|
|
2831
2821
|
}
|
|
2832
|
-
}, e.prototype.addSeconds = function(n, r, i,
|
|
2822
|
+
}, e.prototype.addSeconds = function(n, r, i, o, a) {
|
|
2833
2823
|
for (r && (this.second += Math.floor((86399 - (this.hour * 3600 + this.minute * 60 + this.second)) / n) * n); ; ) {
|
|
2834
2824
|
this.second += n;
|
|
2835
2825
|
var s = Nt(this.second, 60), l = s.div, u = s.mod;
|
|
2836
|
-
if (l && (this.second = u, this.addMinutes(l, !1, i,
|
|
2826
|
+
if (l && (this.second = u, this.addMinutes(l, !1, i, o)), (ke(i) || W(i, this.hour)) && (ke(o) || W(o, this.minute)) && (ke(a) || W(a, this.second)))
|
|
2837
2827
|
break;
|
|
2838
2828
|
}
|
|
2839
2829
|
}, e.prototype.fixDay = function() {
|
|
@@ -2847,37 +2837,37 @@ var Ea = function(t, e, n, r) {
|
|
|
2847
2837
|
}
|
|
2848
2838
|
}
|
|
2849
2839
|
}, e.prototype.add = function(n, r) {
|
|
2850
|
-
var i = n.freq,
|
|
2840
|
+
var i = n.freq, o = n.interval, a = n.wkst, s = n.byhour, l = n.byminute, u = n.bysecond;
|
|
2851
2841
|
switch (i) {
|
|
2852
2842
|
case N.YEARLY:
|
|
2853
|
-
return this.addYears(
|
|
2843
|
+
return this.addYears(o);
|
|
2854
2844
|
case N.MONTHLY:
|
|
2855
|
-
return this.addMonths(
|
|
2845
|
+
return this.addMonths(o);
|
|
2856
2846
|
case N.WEEKLY:
|
|
2857
|
-
return this.addWeekly(
|
|
2847
|
+
return this.addWeekly(o, a);
|
|
2858
2848
|
case N.DAILY:
|
|
2859
|
-
return this.addDaily(
|
|
2849
|
+
return this.addDaily(o);
|
|
2860
2850
|
case N.HOURLY:
|
|
2861
|
-
return this.addHours(
|
|
2851
|
+
return this.addHours(o, r, s);
|
|
2862
2852
|
case N.MINUTELY:
|
|
2863
|
-
return this.addMinutes(
|
|
2853
|
+
return this.addMinutes(o, r, s, l);
|
|
2864
2854
|
case N.SECONDLY:
|
|
2865
|
-
return this.addSeconds(
|
|
2855
|
+
return this.addSeconds(o, r, s, l, u);
|
|
2866
2856
|
}
|
|
2867
2857
|
}, e;
|
|
2868
2858
|
}(bt)
|
|
2869
2859
|
);
|
|
2870
|
-
function
|
|
2860
|
+
function oi(t) {
|
|
2871
2861
|
for (var e = [], n = Object.keys(t), r = 0, i = n; r < i.length; r++) {
|
|
2872
|
-
var
|
|
2873
|
-
W(es,
|
|
2862
|
+
var o = i[r];
|
|
2863
|
+
W(es, o) || e.push(o), ni(t[o]) && !it(t[o]) && e.push(o);
|
|
2874
2864
|
}
|
|
2875
2865
|
if (e.length)
|
|
2876
2866
|
throw new Error("Invalid options: " + e.join(", "));
|
|
2877
2867
|
return he({}, t);
|
|
2878
2868
|
}
|
|
2879
|
-
function
|
|
2880
|
-
var e = he(he({}, yn),
|
|
2869
|
+
function To(t) {
|
|
2870
|
+
var e = he(he({}, yn), oi(t));
|
|
2881
2871
|
if (J(e.byeaster) && (e.freq = R.YEARLY), !(J(e.freq) && R.FREQUENCIES[e.freq]))
|
|
2882
2872
|
throw new Error("Invalid frequency: ".concat(e.freq, " ").concat(t.freq));
|
|
2883
2873
|
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), J(e.wkst) ? Ee(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst = R.MO.weekday, J(e.bysetpos)) {
|
|
@@ -2903,11 +2893,11 @@ function Ta(t) {
|
|
|
2903
2893
|
if (J(e.bymonth) && !de(e.bymonth) && (e.bymonth = [e.bymonth]), J(e.byyearday) && !de(e.byyearday) && Ee(e.byyearday) && (e.byyearday = [e.byyearday]), !J(e.bymonthday))
|
|
2904
2894
|
e.bymonthday = [], e.bynmonthday = [];
|
|
2905
2895
|
else if (de(e.bymonthday)) {
|
|
2906
|
-
for (var i = [],
|
|
2896
|
+
for (var i = [], o = [], n = 0; n < e.bymonthday.length; n++) {
|
|
2907
2897
|
var r = e.bymonthday[n];
|
|
2908
|
-
r > 0 ? i.push(r) : r < 0 &&
|
|
2898
|
+
r > 0 ? i.push(r) : r < 0 && o.push(r);
|
|
2909
2899
|
}
|
|
2910
|
-
e.bymonthday = i, e.bynmonthday =
|
|
2900
|
+
e.bymonthday = i, e.bynmonthday = o;
|
|
2911
2901
|
} else
|
|
2912
2902
|
e.bymonthday < 0 ? (e.bynmonthday = [e.bymonthday], e.bymonthday = []) : (e.bynmonthday = [], e.bymonthday = [e.bymonthday]);
|
|
2913
2903
|
if (J(e.byweekno) && !de(e.byweekno) && (e.byweekno = [e.byweekno]), !J(e.byweekday))
|
|
@@ -2919,37 +2909,37 @@ function Ta(t) {
|
|
|
2919
2909
|
else if (e.byweekday instanceof se)
|
|
2920
2910
|
!e.byweekday.n || e.freq > R.MONTHLY ? (e.byweekday = [e.byweekday.weekday], e.bynweekday = null) : (e.bynweekday = [[e.byweekday.weekday, e.byweekday.n]], e.byweekday = null);
|
|
2921
2911
|
else {
|
|
2922
|
-
for (var
|
|
2912
|
+
for (var a = [], s = [], n = 0; n < e.byweekday.length; n++) {
|
|
2923
2913
|
var l = e.byweekday[n];
|
|
2924
2914
|
if (Ee(l)) {
|
|
2925
|
-
|
|
2915
|
+
a.push(l);
|
|
2926
2916
|
continue;
|
|
2927
2917
|
} else if (Kn(l)) {
|
|
2928
|
-
|
|
2918
|
+
a.push(se.fromStr(l).weekday);
|
|
2929
2919
|
continue;
|
|
2930
2920
|
}
|
|
2931
|
-
!l.n || e.freq > R.MONTHLY ?
|
|
2921
|
+
!l.n || e.freq > R.MONTHLY ? a.push(l.weekday) : s.push([l.weekday, l.n]);
|
|
2932
2922
|
}
|
|
2933
|
-
e.byweekday = V(
|
|
2923
|
+
e.byweekday = V(a) ? a : null, e.bynweekday = V(s) ? s : null;
|
|
2934
2924
|
}
|
|
2935
2925
|
return J(e.byhour) ? Ee(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq < R.HOURLY ? [e.dtstart.getUTCHours()] : null, J(e.byminute) ? Ee(e.byminute) && (e.byminute = [e.byminute]) : e.byminute = e.freq < R.MINUTELY ? [e.dtstart.getUTCMinutes()] : null, J(e.bysecond) ? Ee(e.bysecond) && (e.bysecond = [e.bysecond]) : e.bysecond = e.freq < R.SECONDLY ? [e.dtstart.getUTCSeconds()] : null, { parsedOptions: e };
|
|
2936
2926
|
}
|
|
2937
|
-
function
|
|
2927
|
+
function So(t) {
|
|
2938
2928
|
var e = t.dtstart.getTime() % 1e3;
|
|
2939
2929
|
if (!pn(t.freq))
|
|
2940
2930
|
return [];
|
|
2941
2931
|
var n = [];
|
|
2942
2932
|
return t.byhour.forEach(function(r) {
|
|
2943
2933
|
t.byminute.forEach(function(i) {
|
|
2944
|
-
t.bysecond.forEach(function(
|
|
2945
|
-
n.push(new bt(r, i,
|
|
2934
|
+
t.bysecond.forEach(function(o) {
|
|
2935
|
+
n.push(new bt(r, i, o, e));
|
|
2946
2936
|
});
|
|
2947
2937
|
});
|
|
2948
2938
|
}), n;
|
|
2949
2939
|
}
|
|
2950
2940
|
function Vt(t) {
|
|
2951
2941
|
var e = t.split(`
|
|
2952
|
-
`).map(
|
|
2942
|
+
`).map(Co).filter(function(n) {
|
|
2953
2943
|
return n !== null;
|
|
2954
2944
|
});
|
|
2955
2945
|
return he(he({}, e[0]), e[1]);
|
|
@@ -2961,7 +2951,7 @@ function wt(t) {
|
|
|
2961
2951
|
var r = n[1], i = n[2];
|
|
2962
2952
|
return r && (e.tzid = r), e.dtstart = dn(i), e;
|
|
2963
2953
|
}
|
|
2964
|
-
function
|
|
2954
|
+
function Co(t) {
|
|
2965
2955
|
if (t = t.replace(/^\s+|\s+$/, ""), !t.length)
|
|
2966
2956
|
return null;
|
|
2967
2957
|
var e = /^([A-Z]+?)[:;]/.exec(t.toUpperCase());
|
|
@@ -2981,8 +2971,8 @@ function Ca(t) {
|
|
|
2981
2971
|
function er(t) {
|
|
2982
2972
|
var e = t.replace(/^RRULE:/i, ""), n = wt(e), r = t.replace(/^(?:RRULE|EXRULE):/i, "").split(";");
|
|
2983
2973
|
return r.forEach(function(i) {
|
|
2984
|
-
var
|
|
2985
|
-
switch (
|
|
2974
|
+
var o = i.split("="), a = o[0], s = o[1];
|
|
2975
|
+
switch (a.toUpperCase()) {
|
|
2986
2976
|
case "FREQ":
|
|
2987
2977
|
n.freq = N[s.toUpperCase()];
|
|
2988
2978
|
break;
|
|
@@ -2999,12 +2989,12 @@ function er(t) {
|
|
|
2999
2989
|
case "BYHOUR":
|
|
3000
2990
|
case "BYMINUTE":
|
|
3001
2991
|
case "BYSECOND":
|
|
3002
|
-
var l =
|
|
2992
|
+
var l = _o(s), u = a.toLowerCase();
|
|
3003
2993
|
n[u] = l;
|
|
3004
2994
|
break;
|
|
3005
2995
|
case "BYWEEKDAY":
|
|
3006
2996
|
case "BYDAY":
|
|
3007
|
-
n.byweekday =
|
|
2997
|
+
n.byweekday = Ro(s);
|
|
3008
2998
|
break;
|
|
3009
2999
|
case "DTSTART":
|
|
3010
3000
|
case "TZID":
|
|
@@ -3018,11 +3008,11 @@ function er(t) {
|
|
|
3018
3008
|
n.byeaster = Number(s);
|
|
3019
3009
|
break;
|
|
3020
3010
|
default:
|
|
3021
|
-
throw new Error("Unknown RRULE property '" +
|
|
3011
|
+
throw new Error("Unknown RRULE property '" + a + "'");
|
|
3022
3012
|
}
|
|
3023
3013
|
}), n;
|
|
3024
3014
|
}
|
|
3025
|
-
function
|
|
3015
|
+
function _o(t) {
|
|
3026
3016
|
if (t.indexOf(",") !== -1) {
|
|
3027
3017
|
var e = t.split(",");
|
|
3028
3018
|
return e.map(tr);
|
|
@@ -3032,7 +3022,7 @@ function _a(t) {
|
|
|
3032
3022
|
function tr(t) {
|
|
3033
3023
|
return /^[+-]?\d+$/.test(t) ? Number(t) : t;
|
|
3034
3024
|
}
|
|
3035
|
-
function
|
|
3025
|
+
function Ro(t) {
|
|
3036
3026
|
var e = t.split(",");
|
|
3037
3027
|
return e.map(function(n) {
|
|
3038
3028
|
if (n.length === 2)
|
|
@@ -3040,8 +3030,8 @@ function Ra(t) {
|
|
|
3040
3030
|
var r = n.match(/^([+-]?\d{1,2})([A-Z]{2})$/);
|
|
3041
3031
|
if (!r || r.length < 3)
|
|
3042
3032
|
throw new SyntaxError("Invalid weekday string: ".concat(n));
|
|
3043
|
-
var i = Number(r[1]),
|
|
3044
|
-
return new se(
|
|
3033
|
+
var i = Number(r[1]), o = r[2], a = we[o].weekday;
|
|
3034
|
+
return new se(a, i);
|
|
3045
3035
|
});
|
|
3046
3036
|
}
|
|
3047
3037
|
var $t = (
|
|
@@ -3064,16 +3054,16 @@ var $t = (
|
|
|
3064
3054
|
}, t.prototype.getTime = function() {
|
|
3065
3055
|
return this.date.getTime();
|
|
3066
3056
|
}, t.prototype.rezonedDate = function() {
|
|
3067
|
-
return this.isUTC ? this.date :
|
|
3057
|
+
return this.isUTC ? this.date : go(this.date, this.tzid);
|
|
3068
3058
|
}, t;
|
|
3069
3059
|
}()
|
|
3070
3060
|
);
|
|
3071
3061
|
function en(t) {
|
|
3072
|
-
for (var e = [], n = "", r = Object.keys(t), i = Object.keys(yn),
|
|
3073
|
-
if (r[
|
|
3074
|
-
var
|
|
3062
|
+
for (var e = [], n = "", r = Object.keys(t), i = Object.keys(yn), o = 0; o < r.length; o++)
|
|
3063
|
+
if (r[o] !== "tzid" && W(i, r[o])) {
|
|
3064
|
+
var a = r[o].toUpperCase(), s = t[r[o]], l = "";
|
|
3075
3065
|
if (!(!J(s) || de(s) && !s.length)) {
|
|
3076
|
-
switch (
|
|
3066
|
+
switch (a) {
|
|
3077
3067
|
case "FREQ":
|
|
3078
3068
|
l = R.FREQUENCIES[t.freq];
|
|
3079
3069
|
break;
|
|
@@ -3081,12 +3071,12 @@ function en(t) {
|
|
|
3081
3071
|
Ee(s) ? l = new se(s).toString() : l = s.toString();
|
|
3082
3072
|
break;
|
|
3083
3073
|
case "BYWEEKDAY":
|
|
3084
|
-
|
|
3074
|
+
a = "BYDAY", l = uo(s).map(function(p) {
|
|
3085
3075
|
return p instanceof se ? p : de(p) ? new se(p[0], p[1]) : new se(p);
|
|
3086
3076
|
}).toString();
|
|
3087
3077
|
break;
|
|
3088
3078
|
case "DTSTART":
|
|
3089
|
-
n =
|
|
3079
|
+
n = Do(s, t.tzid);
|
|
3090
3080
|
break;
|
|
3091
3081
|
case "UNTIL":
|
|
3092
3082
|
l = fn(s, !t.tzid);
|
|
@@ -3099,7 +3089,7 @@ function en(t) {
|
|
|
3099
3089
|
} else
|
|
3100
3090
|
l = String(s);
|
|
3101
3091
|
}
|
|
3102
|
-
l && e.push([
|
|
3092
|
+
l && e.push([a, l]);
|
|
3103
3093
|
}
|
|
3104
3094
|
}
|
|
3105
3095
|
var d = e.map(function(p) {
|
|
@@ -3111,15 +3101,15 @@ function en(t) {
|
|
|
3111
3101
|
}).join(`
|
|
3112
3102
|
`);
|
|
3113
3103
|
}
|
|
3114
|
-
function
|
|
3104
|
+
function Do(t, e) {
|
|
3115
3105
|
return t ? "DTSTART" + new $t(new Date(t), e).toString() : "";
|
|
3116
3106
|
}
|
|
3117
|
-
function
|
|
3107
|
+
function Ao(t, e) {
|
|
3118
3108
|
return Array.isArray(t) ? !Array.isArray(e) || t.length !== e.length ? !1 : t.every(function(n, r) {
|
|
3119
3109
|
return n.getTime() === e[r].getTime();
|
|
3120
3110
|
}) : t instanceof Date ? e instanceof Date && t.getTime() === e.getTime() : t === e;
|
|
3121
3111
|
}
|
|
3122
|
-
var
|
|
3112
|
+
var Io = (
|
|
3123
3113
|
/** @class */
|
|
3124
3114
|
function() {
|
|
3125
3115
|
function t() {
|
|
@@ -3128,20 +3118,20 @@ var Ia = (
|
|
|
3128
3118
|
return t.prototype._cacheAdd = function(e, n, r) {
|
|
3129
3119
|
n && (n = n instanceof Date ? Xt(n) : Jn(n)), e === "all" ? this.all = n : (r._value = n, this[e].push(r));
|
|
3130
3120
|
}, t.prototype._cacheGet = function(e, n) {
|
|
3131
|
-
var r = !1, i = n ? Object.keys(n) : [],
|
|
3121
|
+
var r = !1, i = n ? Object.keys(n) : [], o = function(f) {
|
|
3132
3122
|
for (var d = 0; d < i.length; d++) {
|
|
3133
3123
|
var h = i[d];
|
|
3134
|
-
if (!
|
|
3124
|
+
if (!Ao(n[h], f[h]))
|
|
3135
3125
|
return !0;
|
|
3136
3126
|
}
|
|
3137
3127
|
return !1;
|
|
3138
|
-
},
|
|
3128
|
+
}, a = this[e];
|
|
3139
3129
|
if (e === "all")
|
|
3140
3130
|
r = this.all;
|
|
3141
|
-
else if (de(
|
|
3142
|
-
for (var s = 0; s <
|
|
3143
|
-
var l =
|
|
3144
|
-
if (!(i.length &&
|
|
3131
|
+
else if (de(a))
|
|
3132
|
+
for (var s = 0; s < a.length; s++) {
|
|
3133
|
+
var l = a[s];
|
|
3134
|
+
if (!(i.length && o(l))) {
|
|
3145
3135
|
r = l._value;
|
|
3146
3136
|
break;
|
|
3147
3137
|
}
|
|
@@ -3154,18 +3144,18 @@ var Ia = (
|
|
|
3154
3144
|
return de(r) ? Jn(r) : r instanceof Date ? Xt(r) : r;
|
|
3155
3145
|
}, t;
|
|
3156
3146
|
}()
|
|
3157
|
-
),
|
|
3147
|
+
), Oo = $($($($($($($($($($($($($([], U(1, 31), !0), U(2, 28), !0), U(3, 31), !0), U(4, 30), !0), U(5, 31), !0), U(6, 30), !0), U(7, 31), !0), U(8, 31), !0), U(9, 30), !0), U(10, 31), !0), U(11, 30), !0), U(12, 31), !0), U(1, 7), !0), Mo = $($($($($($($($($($($($($([], U(1, 31), !0), U(2, 29), !0), U(3, 31), !0), U(4, 30), !0), U(5, 31), !0), U(6, 30), !0), U(7, 31), !0), U(8, 31), !0), U(9, 30), !0), U(10, 31), !0), U(11, 30), !0), U(12, 31), !0), U(1, 7), !0), Lo = Ce(1, 29), Fo = Ce(1, 30), Ue = Ce(1, 31), re = Ce(1, 32), Uo = $($($($($($($($($($($($($([], re, !0), Fo, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re.slice(0, 7), !0), No = $($($($($($($($($($($($($([], re, !0), Lo, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re.slice(0, 7), !0), Po = Ce(-28, 0), Yo = Ce(-29, 0), Ne = Ce(-30, 0), ie = Ce(-31, 0), Ho = $($($($($($($($($($($($($([], ie, !0), Yo, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie.slice(0, 7), !0), Bo = $($($($($($($($($($($($($([], ie, !0), Po, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie.slice(0, 7), !0), Wo = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366], jo = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], nr = function() {
|
|
3158
3148
|
for (var t = [], e = 0; e < 55; e++)
|
|
3159
3149
|
t = t.concat(Ce(7));
|
|
3160
3150
|
return t;
|
|
3161
3151
|
}();
|
|
3162
|
-
function
|
|
3163
|
-
var n = Be(t, 1, 1), r =
|
|
3152
|
+
function zo(t, e) {
|
|
3153
|
+
var n = Be(t, 1, 1), r = at(t) ? 366 : 365, i = at(t + 1) ? 366 : 365, o = Jt(n), a = Xe(n), s = he(he({ yearlen: r, nextyearlen: i, yearordinal: o, yearweekday: a }, qo(t)), { wnomask: null });
|
|
3164
3154
|
if (ke(e.byweekno))
|
|
3165
3155
|
return s;
|
|
3166
|
-
s.wnomask =
|
|
3167
|
-
var l, u, f = l = me(7 -
|
|
3168
|
-
f >= 4 ? (f = 0, u = s.yearlen + me(
|
|
3156
|
+
s.wnomask = U(0, r + 7);
|
|
3157
|
+
var l, u, f = l = me(7 - a + e.wkst, 7);
|
|
3158
|
+
f >= 4 ? (f = 0, u = s.yearlen + me(a - e.wkst, 7)) : u = r - f;
|
|
3169
3159
|
for (var d = Math.floor(u / 7), h = me(u, 7), p = Math.floor(d + h / 4), y = 0; y < e.byweekno.length; y++) {
|
|
3170
3160
|
var b = e.byweekno[y];
|
|
3171
3161
|
if (b < 0 && (b += p + 1), b > 0 && b <= p) {
|
|
@@ -3186,7 +3176,7 @@ function za(t, e) {
|
|
|
3186
3176
|
if (W(e.byweekno, -1))
|
|
3187
3177
|
M = -1;
|
|
3188
3178
|
else {
|
|
3189
|
-
var te = Xe(Be(t - 1, 1, 1)), le = me(7 - te.valueOf() + e.wkst, 7), ge =
|
|
3179
|
+
var te = Xe(Be(t - 1, 1, 1)), le = me(7 - te.valueOf() + e.wkst, 7), ge = at(t - 1) ? 366 : 365, ne = void 0;
|
|
3190
3180
|
le >= 4 ? (le = 0, ne = ge + me(te - e.wkst, 7)) : ne = r - f, M = Math.floor(52 + me(ne, 7) / 4);
|
|
3191
3181
|
}
|
|
3192
3182
|
if (W(e.byweekno, M))
|
|
@@ -3195,52 +3185,52 @@ function za(t, e) {
|
|
|
3195
3185
|
}
|
|
3196
3186
|
return s;
|
|
3197
3187
|
}
|
|
3198
|
-
function
|
|
3199
|
-
var e =
|
|
3188
|
+
function qo(t) {
|
|
3189
|
+
var e = at(t) ? 366 : 365, n = Be(t, 1, 1), r = Xe(n);
|
|
3200
3190
|
return e === 365 ? {
|
|
3201
|
-
mmask:
|
|
3202
|
-
mdaymask:
|
|
3203
|
-
nmdaymask:
|
|
3191
|
+
mmask: Oo,
|
|
3192
|
+
mdaymask: No,
|
|
3193
|
+
nmdaymask: Bo,
|
|
3204
3194
|
wdaymask: nr.slice(r),
|
|
3205
|
-
mrange:
|
|
3195
|
+
mrange: jo
|
|
3206
3196
|
} : {
|
|
3207
|
-
mmask:
|
|
3208
|
-
mdaymask:
|
|
3209
|
-
nmdaymask:
|
|
3197
|
+
mmask: Mo,
|
|
3198
|
+
mdaymask: Uo,
|
|
3199
|
+
nmdaymask: Ho,
|
|
3210
3200
|
wdaymask: nr.slice(r),
|
|
3211
|
-
mrange:
|
|
3201
|
+
mrange: Wo
|
|
3212
3202
|
};
|
|
3213
3203
|
}
|
|
3214
|
-
function
|
|
3215
|
-
var
|
|
3204
|
+
function Ko(t, e, n, r, i, o) {
|
|
3205
|
+
var a = {
|
|
3216
3206
|
lastyear: t,
|
|
3217
3207
|
lastmonth: e,
|
|
3218
3208
|
nwdaymask: []
|
|
3219
3209
|
}, s = [];
|
|
3220
|
-
if (
|
|
3221
|
-
if (ke(
|
|
3210
|
+
if (o.freq === R.YEARLY)
|
|
3211
|
+
if (ke(o.bymonth))
|
|
3222
3212
|
s = [[0, n]];
|
|
3223
3213
|
else
|
|
3224
|
-
for (var l = 0; l <
|
|
3225
|
-
e =
|
|
3214
|
+
for (var l = 0; l < o.bymonth.length; l++)
|
|
3215
|
+
e = o.bymonth[l], s.push(r.slice(e - 1, e + 1));
|
|
3226
3216
|
else
|
|
3227
|
-
|
|
3217
|
+
o.freq === R.MONTHLY && (s = [r.slice(e - 1, e + 1)]);
|
|
3228
3218
|
if (ke(s))
|
|
3229
|
-
return
|
|
3230
|
-
|
|
3219
|
+
return a;
|
|
3220
|
+
a.nwdaymask = U(0, n);
|
|
3231
3221
|
for (var l = 0; l < s.length; l++)
|
|
3232
|
-
for (var u = s[l], f = u[0], d = u[1] - 1, h = 0; h <
|
|
3233
|
-
var p = void 0, y =
|
|
3234
|
-
w < 0 ? (p = d + (w + 1) * 7, p -= me(i[p] - b, 7)) : (p = f + (w - 1) * 7, p += me(7 - i[p] + b, 7)), f <= p && p <= d && (
|
|
3222
|
+
for (var u = s[l], f = u[0], d = u[1] - 1, h = 0; h < o.bynweekday.length; h++) {
|
|
3223
|
+
var p = void 0, y = o.bynweekday[h], b = y[0], w = y[1];
|
|
3224
|
+
w < 0 ? (p = d + (w + 1) * 7, p -= me(i[p] - b, 7)) : (p = f + (w - 1) * 7, p += me(7 - i[p] + b, 7)), f <= p && p <= d && (a.nwdaymask[p] = 1);
|
|
3235
3225
|
}
|
|
3236
|
-
return
|
|
3226
|
+
return a;
|
|
3237
3227
|
}
|
|
3238
|
-
function
|
|
3228
|
+
function Go(t, e) {
|
|
3239
3229
|
e === void 0 && (e = 0);
|
|
3240
|
-
var n = t % 19, r = Math.floor(t / 100), i = t % 100,
|
|
3230
|
+
var n = t % 19, r = Math.floor(t / 100), i = t % 100, o = Math.floor(r / 4), a = r % 4, s = Math.floor((r + 8) / 25), l = Math.floor((r - s + 1) / 3), u = Math.floor(19 * n + r - o - l + 15) % 30, f = Math.floor(i / 4), d = i % 4, h = Math.floor(32 + 2 * a + 2 * f - u - d) % 7, p = Math.floor((n + 11 * u + 22 * h) / 451), y = Math.floor((u + h - 7 * p + 114) / 31), b = (u + h - 7 * p + 114) % 31 + 1, w = Date.UTC(t, y - 1, b + e), T = Date.UTC(t, 0, 1);
|
|
3241
3231
|
return [Math.ceil((w - T) / (1e3 * 60 * 60 * 24))];
|
|
3242
3232
|
}
|
|
3243
|
-
var
|
|
3233
|
+
var Zo = (
|
|
3244
3234
|
/** @class */
|
|
3245
3235
|
function() {
|
|
3246
3236
|
function t(e) {
|
|
@@ -3248,11 +3238,11 @@ var Za = (
|
|
|
3248
3238
|
}
|
|
3249
3239
|
return t.prototype.rebuild = function(e, n) {
|
|
3250
3240
|
var r = this.options;
|
|
3251
|
-
if (e !== this.lastyear && (this.yearinfo =
|
|
3252
|
-
var i = this.yearinfo,
|
|
3253
|
-
this.monthinfo =
|
|
3241
|
+
if (e !== this.lastyear && (this.yearinfo = zo(e, r)), V(r.bynweekday) && (n !== this.lastmonth || e !== this.lastyear)) {
|
|
3242
|
+
var i = this.yearinfo, o = i.yearlen, a = i.mrange, s = i.wdaymask;
|
|
3243
|
+
this.monthinfo = Ko(e, n, o, a, s, r);
|
|
3254
3244
|
}
|
|
3255
|
-
J(r.byeaster) && (this.eastermask =
|
|
3245
|
+
J(r.byeaster) && (this.eastermask = Go(e, r.byeaster));
|
|
3256
3246
|
}, Object.defineProperty(t.prototype, "lastyear", {
|
|
3257
3247
|
get: function() {
|
|
3258
3248
|
return this.monthinfo ? this.monthinfo.lastyear : null;
|
|
@@ -3328,26 +3318,26 @@ var Za = (
|
|
|
3328
3318
|
}), t.prototype.ydayset = function() {
|
|
3329
3319
|
return [Ce(this.yearlen), 0, this.yearlen];
|
|
3330
3320
|
}, t.prototype.mdayset = function(e, n) {
|
|
3331
|
-
for (var r = this.mrange[n - 1], i = this.mrange[n],
|
|
3332
|
-
a
|
|
3333
|
-
return [
|
|
3321
|
+
for (var r = this.mrange[n - 1], i = this.mrange[n], o = U(null, this.yearlen), a = r; a < i; a++)
|
|
3322
|
+
o[a] = a;
|
|
3323
|
+
return [o, r, i];
|
|
3334
3324
|
}, t.prototype.wdayset = function(e, n, r) {
|
|
3335
|
-
for (var i =
|
|
3325
|
+
for (var i = U(null, this.yearlen + 7), o = Jt(Be(e, n, r)) - this.yearordinal, a = o, s = 0; s < 7 && (i[o] = o, ++o, this.wdaymask[o] !== this.options.wkst); s++)
|
|
3336
3326
|
;
|
|
3337
|
-
return [i,
|
|
3327
|
+
return [i, a, o];
|
|
3338
3328
|
}, t.prototype.ddayset = function(e, n, r) {
|
|
3339
|
-
var i =
|
|
3340
|
-
return i[
|
|
3329
|
+
var i = U(null, this.yearlen), o = Jt(Be(e, n, r)) - this.yearordinal;
|
|
3330
|
+
return i[o] = o, [i, o, o + 1];
|
|
3341
3331
|
}, t.prototype.htimeset = function(e, n, r, i) {
|
|
3342
|
-
var
|
|
3332
|
+
var o = this, a = [];
|
|
3343
3333
|
return this.options.byminute.forEach(function(s) {
|
|
3344
|
-
|
|
3345
|
-
}), st(
|
|
3334
|
+
a = a.concat(o.mtimeset(e, s, r, i));
|
|
3335
|
+
}), st(a), a;
|
|
3346
3336
|
}, t.prototype.mtimeset = function(e, n, r, i) {
|
|
3347
|
-
var
|
|
3348
|
-
return new bt(e, n,
|
|
3337
|
+
var o = this.options.bysecond.map(function(a) {
|
|
3338
|
+
return new bt(e, n, a, i);
|
|
3349
3339
|
});
|
|
3350
|
-
return st(
|
|
3340
|
+
return st(o), o;
|
|
3351
3341
|
}, t.prototype.stimeset = function(e, n, r, i) {
|
|
3352
3342
|
return [new bt(e, n, r, i)];
|
|
3353
3343
|
}, t.prototype.getdayset = function(e) {
|
|
@@ -3375,33 +3365,33 @@ var Za = (
|
|
|
3375
3365
|
}, t;
|
|
3376
3366
|
}()
|
|
3377
3367
|
);
|
|
3378
|
-
function
|
|
3379
|
-
for (var
|
|
3368
|
+
function Jo(t, e, n, r, i, o) {
|
|
3369
|
+
for (var a = [], s = 0; s < t.length; s++) {
|
|
3380
3370
|
var l = void 0, u = void 0, f = t[s];
|
|
3381
3371
|
f < 0 ? (l = Math.floor(f / e.length), u = me(f, e.length)) : (l = Math.floor((f - 1) / e.length), u = me(f - 1, e.length));
|
|
3382
3372
|
for (var d = [], h = n; h < r; h++) {
|
|
3383
|
-
var p =
|
|
3373
|
+
var p = o[h];
|
|
3384
3374
|
J(p) && d.push(p);
|
|
3385
3375
|
}
|
|
3386
3376
|
var y = void 0;
|
|
3387
3377
|
l < 0 ? y = d.slice(l)[0] : y = d[l];
|
|
3388
3378
|
var b = e[u], w = ri(i.yearordinal + y), T = ii(w, b);
|
|
3389
|
-
W(
|
|
3379
|
+
W(a, T) || a.push(T);
|
|
3390
3380
|
}
|
|
3391
|
-
return st(
|
|
3381
|
+
return st(a), a;
|
|
3392
3382
|
}
|
|
3393
3383
|
function si(t, e) {
|
|
3394
|
-
var n = e.dtstart, r = e.freq, i = e.interval,
|
|
3384
|
+
var n = e.dtstart, r = e.freq, i = e.interval, o = e.until, a = e.bysetpos, s = e.count;
|
|
3395
3385
|
if (s === 0 || i === 0)
|
|
3396
3386
|
return Ae(t);
|
|
3397
|
-
var l =
|
|
3387
|
+
var l = xo.fromDate(n), u = new Zo(e);
|
|
3398
3388
|
u.rebuild(l.year, l.month);
|
|
3399
|
-
for (var f =
|
|
3400
|
-
var d = u.getdayset(r)(l.year, l.month, l.day), h = d[0], p = d[1], y = d[2], b =
|
|
3401
|
-
if (V(
|
|
3402
|
-
for (var w =
|
|
3389
|
+
for (var f = Vo(u, l, e); ; ) {
|
|
3390
|
+
var d = u.getdayset(r)(l.year, l.month, l.day), h = d[0], p = d[1], y = d[2], b = Qo(h, p, y, u, e);
|
|
3391
|
+
if (V(a))
|
|
3392
|
+
for (var w = Jo(a, f, p, y, u, h), T = 0; T < w.length; T++) {
|
|
3403
3393
|
var M = w[T];
|
|
3404
|
-
if (
|
|
3394
|
+
if (o && M > o)
|
|
3405
3395
|
return Ae(t);
|
|
3406
3396
|
if (M >= n) {
|
|
3407
3397
|
var te = rr(M, e);
|
|
@@ -3415,7 +3405,7 @@ function si(t, e) {
|
|
|
3415
3405
|
if (J(le))
|
|
3416
3406
|
for (var ge = ri(u.yearordinal + le), ne = 0; ne < f.length; ne++) {
|
|
3417
3407
|
var Pe = f[ne], M = ii(ge, Pe);
|
|
3418
|
-
if (
|
|
3408
|
+
if (o && M > o)
|
|
3419
3409
|
return Ae(t);
|
|
3420
3410
|
if (M >= n) {
|
|
3421
3411
|
var te = rr(M, e);
|
|
@@ -3429,9 +3419,9 @@ function si(t, e) {
|
|
|
3429
3419
|
pn(r) || (f = u.gettimeset(r)(l.hour, l.minute, l.second, 0)), u.rebuild(l.year, l.month);
|
|
3430
3420
|
}
|
|
3431
3421
|
}
|
|
3432
|
-
function
|
|
3433
|
-
var r = n.bymonth, i = n.byweekno,
|
|
3434
|
-
return V(r) && !W(r, t.mmask[e]) || V(i) && !t.wnomask[e] || V(
|
|
3422
|
+
function Xo(t, e, n) {
|
|
3423
|
+
var r = n.bymonth, i = n.byweekno, o = n.byweekday, a = n.byeaster, s = n.bymonthday, l = n.bynmonthday, u = n.byyearday;
|
|
3424
|
+
return V(r) && !W(r, t.mmask[e]) || V(i) && !t.wnomask[e] || V(o) && !W(o, t.wdaymask[e]) || V(t.nwdaymask) && !t.nwdaymask[e] || a !== null && !W(t.eastermask, e) || (V(s) || V(l)) && !W(s, t.mdaymask[e]) && !W(l, t.nmdaymask[e]) || V(u) && (e < t.yearlen && !W(u, e + 1) && !W(u, -t.yearlen + e) || e >= t.yearlen && !W(u, e + 1 - t.yearlen) && !W(u, -t.nextyearlen + e - t.yearlen));
|
|
3435
3425
|
}
|
|
3436
3426
|
function rr(t, e) {
|
|
3437
3427
|
return new $t(t, e.tzid).rezonedDate();
|
|
@@ -3439,16 +3429,16 @@ function rr(t, e) {
|
|
|
3439
3429
|
function Ae(t) {
|
|
3440
3430
|
return t.getValue();
|
|
3441
3431
|
}
|
|
3442
|
-
function
|
|
3443
|
-
for (var
|
|
3444
|
-
var s = t[
|
|
3445
|
-
|
|
3432
|
+
function Qo(t, e, n, r, i) {
|
|
3433
|
+
for (var o = !1, a = e; a < n; a++) {
|
|
3434
|
+
var s = t[a];
|
|
3435
|
+
o = Xo(r, s, i), o && (t[s] = null);
|
|
3446
3436
|
}
|
|
3447
|
-
return
|
|
3437
|
+
return o;
|
|
3448
3438
|
}
|
|
3449
|
-
function
|
|
3450
|
-
var r = n.freq, i = n.byhour,
|
|
3451
|
-
return pn(r) ?
|
|
3439
|
+
function Vo(t, e, n) {
|
|
3440
|
+
var r = n.freq, i = n.byhour, o = n.byminute, a = n.bysecond;
|
|
3441
|
+
return pn(r) ? So(n) : r >= R.HOURLY && V(i) && !W(i, e.hour) || r >= R.MINUTELY && V(o) && !W(o, e.minute) || r >= R.SECONDLY && V(a) && !W(a, e.second) ? [] : t.gettimeset(r)(e.hour, e.minute, e.second, e.millisecond);
|
|
3452
3442
|
}
|
|
3453
3443
|
var we = {
|
|
3454
3444
|
MO: new se(0),
|
|
@@ -3482,14 +3472,14 @@ var we = {
|
|
|
3482
3472
|
/** @class */
|
|
3483
3473
|
function() {
|
|
3484
3474
|
function t(e, n) {
|
|
3485
|
-
e === void 0 && (e = {}), n === void 0 && (n = !1), this._cache = n ? null : new
|
|
3486
|
-
var r =
|
|
3475
|
+
e === void 0 && (e = {}), n === void 0 && (n = !1), this._cache = n ? null : new Io(), this.origOptions = oi(e);
|
|
3476
|
+
var r = To(e).parsedOptions;
|
|
3487
3477
|
this.options = r;
|
|
3488
3478
|
}
|
|
3489
3479
|
return t.parseText = function(e, n) {
|
|
3490
|
-
return
|
|
3480
|
+
return ai(e, n);
|
|
3491
3481
|
}, t.fromText = function(e, n) {
|
|
3492
|
-
return $
|
|
3482
|
+
return $o(e, n);
|
|
3493
3483
|
}, t.fromString = function(e) {
|
|
3494
3484
|
return new t(t.parseString(e) || void 0);
|
|
3495
3485
|
}, t.prototype._iter = function(e) {
|
|
@@ -3507,15 +3497,15 @@ var we = {
|
|
|
3507
3497
|
}, t.prototype.between = function(e, n, r, i) {
|
|
3508
3498
|
if (r === void 0 && (r = !1), !it(e) || !it(n))
|
|
3509
3499
|
throw new Error("Invalid date passed in to RRule.between");
|
|
3510
|
-
var
|
|
3500
|
+
var o = {
|
|
3511
3501
|
before: n,
|
|
3512
3502
|
after: e,
|
|
3513
3503
|
inc: r
|
|
3514
3504
|
};
|
|
3515
3505
|
if (i)
|
|
3516
|
-
return this._iter(new Qn("between",
|
|
3517
|
-
var
|
|
3518
|
-
return
|
|
3506
|
+
return this._iter(new Qn("between", o, i));
|
|
3507
|
+
var a = this._cacheGet("between", o);
|
|
3508
|
+
return a === !1 && (a = this._iter(new Je("between", o)), this._cacheAdd("between", a, o)), a;
|
|
3519
3509
|
}, t.prototype.before = function(e, n) {
|
|
3520
3510
|
if (n === void 0 && (n = !1), !it(e))
|
|
3521
3511
|
throw new Error("Invalid date passed in to RRule.before");
|
|
@@ -3531,9 +3521,9 @@ var we = {
|
|
|
3531
3521
|
}, t.prototype.toString = function() {
|
|
3532
3522
|
return en(this.origOptions);
|
|
3533
3523
|
}, t.prototype.toText = function(e, n, r) {
|
|
3534
|
-
return
|
|
3524
|
+
return Eo(this, e, n, r);
|
|
3535
3525
|
}, t.prototype.isFullyConvertibleToText = function() {
|
|
3536
|
-
return
|
|
3526
|
+
return ko(this);
|
|
3537
3527
|
}, t.prototype.clone = function() {
|
|
3538
3528
|
return new t(this.origOptions);
|
|
3539
3529
|
}, t.FREQUENCIES = [
|
|
@@ -3547,27 +3537,27 @@ var we = {
|
|
|
3547
3537
|
], 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 = we.MO, t.TU = we.TU, t.WE = we.WE, t.TH = we.TH, t.FR = we.FR, t.SA = we.SA, t.SU = we.SU, t.parseString = Vt, t.optionsToString = en, t;
|
|
3548
3538
|
}()
|
|
3549
3539
|
);
|
|
3550
|
-
function ts(t, e, n, r, i,
|
|
3551
|
-
var
|
|
3540
|
+
function ts(t, e, n, r, i, o) {
|
|
3541
|
+
var a = {}, s = t.accept;
|
|
3552
3542
|
function l(h, p) {
|
|
3553
3543
|
n.forEach(function(y) {
|
|
3554
3544
|
y.between(h, p, !0).forEach(function(b) {
|
|
3555
|
-
|
|
3545
|
+
a[Number(b)] = !0;
|
|
3556
3546
|
});
|
|
3557
3547
|
});
|
|
3558
3548
|
}
|
|
3559
3549
|
i.forEach(function(h) {
|
|
3560
|
-
var p = new $t(h,
|
|
3561
|
-
|
|
3550
|
+
var p = new $t(h, o).rezonedDate();
|
|
3551
|
+
a[Number(p)] = !0;
|
|
3562
3552
|
}), t.accept = function(h) {
|
|
3563
3553
|
var p = Number(h);
|
|
3564
|
-
return isNaN(p) ? s.call(this, h) : !
|
|
3554
|
+
return isNaN(p) ? s.call(this, h) : !a[p] && (l(new Date(p - 1), new Date(p + 1)), !a[p]) ? (a[p] = !0, s.call(this, h)) : !0;
|
|
3565
3555
|
}, t.method === "between" && (l(t.args.after, t.args.before), t.accept = function(h) {
|
|
3566
3556
|
var p = Number(h);
|
|
3567
|
-
return
|
|
3557
|
+
return a[p] ? !0 : (a[p] = !0, s.call(this, h));
|
|
3568
3558
|
});
|
|
3569
3559
|
for (var u = 0; u < r.length; u++) {
|
|
3570
|
-
var f = new $t(r[u],
|
|
3560
|
+
var f = new $t(r[u], o).rezonedDate();
|
|
3571
3561
|
if (!t.accept(new Date(f.getTime())))
|
|
3572
3562
|
break;
|
|
3573
3563
|
}
|
|
@@ -3595,11 +3585,11 @@ var ir = {
|
|
|
3595
3585
|
tzid: null
|
|
3596
3586
|
};
|
|
3597
3587
|
function ns(t, e) {
|
|
3598
|
-
var n = [], r = [], i = [],
|
|
3588
|
+
var n = [], r = [], i = [], o = [], a = wt(t), s = a.dtstart, l = a.tzid, u = ss(t, e.unfold);
|
|
3599
3589
|
return u.forEach(function(f) {
|
|
3600
3590
|
var d;
|
|
3601
3591
|
if (f) {
|
|
3602
|
-
var h =
|
|
3592
|
+
var h = os(f), p = h.name, y = h.parms, b = h.value;
|
|
3603
3593
|
switch (p.toUpperCase()) {
|
|
3604
3594
|
case "RRULE":
|
|
3605
3595
|
if (y.length)
|
|
@@ -3608,7 +3598,7 @@ function ns(t, e) {
|
|
|
3608
3598
|
break;
|
|
3609
3599
|
case "RDATE":
|
|
3610
3600
|
var w = (d = /RDATE(?:;TZID=([^:=]+))?/i.exec(f)) !== null && d !== void 0 ? d : [], T = w[1];
|
|
3611
|
-
T && !l && (l = T), r = r.concat(
|
|
3601
|
+
T && !l && (l = T), r = r.concat(or(b, y));
|
|
3612
3602
|
break;
|
|
3613
3603
|
case "EXRULE":
|
|
3614
3604
|
if (y.length)
|
|
@@ -3616,7 +3606,7 @@ function ns(t, e) {
|
|
|
3616
3606
|
i.push(Vt(b));
|
|
3617
3607
|
break;
|
|
3618
3608
|
case "EXDATE":
|
|
3619
|
-
|
|
3609
|
+
o = o.concat(or(b, y));
|
|
3620
3610
|
break;
|
|
3621
3611
|
case "DTSTART":
|
|
3622
3612
|
break;
|
|
@@ -3630,27 +3620,27 @@ function ns(t, e) {
|
|
|
3630
3620
|
rrulevals: n,
|
|
3631
3621
|
rdatevals: r,
|
|
3632
3622
|
exrulevals: i,
|
|
3633
|
-
exdatevals:
|
|
3623
|
+
exdatevals: o
|
|
3634
3624
|
};
|
|
3635
3625
|
}
|
|
3636
3626
|
function rs(t, e) {
|
|
3637
|
-
var n = ns(t, e), r = n.rrulevals, i = n.rdatevals,
|
|
3638
|
-
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || i.length ||
|
|
3627
|
+
var n = ns(t, e), r = n.rrulevals, i = n.rdatevals, o = n.exrulevals, a = n.exdatevals, s = n.dtstart, l = n.tzid, u = e.cache === !1;
|
|
3628
|
+
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || i.length || o.length || a.length) {
|
|
3639
3629
|
var f = new cs(u);
|
|
3640
3630
|
return f.dtstart(s), f.tzid(l || void 0), r.forEach(function(h) {
|
|
3641
3631
|
f.rrule(new R(Pt(h, s, l), u));
|
|
3642
3632
|
}), i.forEach(function(h) {
|
|
3643
3633
|
f.rdate(h);
|
|
3644
|
-
}), a.forEach(function(h) {
|
|
3645
|
-
f.exrule(new R(Pt(h, s, l), u));
|
|
3646
3634
|
}), o.forEach(function(h) {
|
|
3635
|
+
f.exrule(new R(Pt(h, s, l), u));
|
|
3636
|
+
}), a.forEach(function(h) {
|
|
3647
3637
|
f.exdate(h);
|
|
3648
3638
|
}), e.compatible && e.dtstart && f.rdate(s), f;
|
|
3649
3639
|
}
|
|
3650
3640
|
var d = r[0] || {};
|
|
3651
3641
|
return new R(Pt(d, d.dtstart || e.dtstart || s, d.tzid || e.tzid || l), u);
|
|
3652
3642
|
}
|
|
3653
|
-
function
|
|
3643
|
+
function ar(t, e) {
|
|
3654
3644
|
return e === void 0 && (e = {}), rs(t, is(e));
|
|
3655
3645
|
}
|
|
3656
3646
|
function Pt(t, e, n) {
|
|
@@ -3664,20 +3654,20 @@ function is(t) {
|
|
|
3664
3654
|
throw new Error("Invalid options: " + e.join(", "));
|
|
3665
3655
|
return he(he({}, ir), t);
|
|
3666
3656
|
}
|
|
3667
|
-
function
|
|
3657
|
+
function as(t) {
|
|
3668
3658
|
if (t.indexOf(":") === -1)
|
|
3669
3659
|
return {
|
|
3670
3660
|
name: "RRULE",
|
|
3671
3661
|
value: t
|
|
3672
3662
|
};
|
|
3673
|
-
var e =
|
|
3663
|
+
var e = fo(t, ":", 1), n = e[0], r = e[1];
|
|
3674
3664
|
return {
|
|
3675
3665
|
name: n,
|
|
3676
3666
|
value: r
|
|
3677
3667
|
};
|
|
3678
3668
|
}
|
|
3679
|
-
function
|
|
3680
|
-
var e =
|
|
3669
|
+
function os(t) {
|
|
3670
|
+
var e = as(t), n = e.name, r = e.value, i = n.split(";");
|
|
3681
3671
|
if (!i)
|
|
3682
3672
|
throw new Error("empty property name");
|
|
3683
3673
|
return {
|
|
@@ -3704,7 +3694,7 @@ function ls(t) {
|
|
|
3704
3694
|
throw new Error("unsupported RDATE/EXDATE parm: " + e);
|
|
3705
3695
|
});
|
|
3706
3696
|
}
|
|
3707
|
-
function
|
|
3697
|
+
function or(t, e) {
|
|
3708
3698
|
return ls(e), t.split(",").map(function(n) {
|
|
3709
3699
|
return dn(n);
|
|
3710
3700
|
});
|
|
@@ -3742,11 +3732,11 @@ var cs = (
|
|
|
3742
3732
|
cr(n, this._exdate);
|
|
3743
3733
|
}, e.prototype.rrules = function() {
|
|
3744
3734
|
return this._rrule.map(function(n) {
|
|
3745
|
-
return
|
|
3735
|
+
return ar(n.toString());
|
|
3746
3736
|
});
|
|
3747
3737
|
}, e.prototype.exrules = function() {
|
|
3748
3738
|
return this._exrule.map(function(n) {
|
|
3749
|
-
return
|
|
3739
|
+
return ar(n.toString());
|
|
3750
3740
|
});
|
|
3751
3741
|
}, e.prototype.rdates = function() {
|
|
3752
3742
|
return this._rdate.map(function(n) {
|
|
@@ -3797,10 +3787,10 @@ function cr(t, e) {
|
|
|
3797
3787
|
W(e.map(Number), Number(t)) || (e.push(t), st(e));
|
|
3798
3788
|
}
|
|
3799
3789
|
function ur(t, e, n) {
|
|
3800
|
-
var r = !n || n.toUpperCase() === "UTC", i = r ? "".concat(t, ":") : "".concat(t, ";TZID=").concat(n, ":"),
|
|
3801
|
-
return fn(
|
|
3790
|
+
var r = !n || n.toUpperCase() === "UTC", i = r ? "".concat(t, ":") : "".concat(t, ";TZID=").concat(n, ":"), o = e.map(function(a) {
|
|
3791
|
+
return fn(a.valueOf(), r);
|
|
3802
3792
|
}).join(",");
|
|
3803
|
-
return "".concat(i).concat(
|
|
3793
|
+
return "".concat(i).concat(o);
|
|
3804
3794
|
}
|
|
3805
3795
|
function Os(...t) {
|
|
3806
3796
|
window && window.localStorage && window.localStorage.getItem("debug") && (console.group(...t), console.trace(), console.groupEnd());
|
|
@@ -3811,10 +3801,10 @@ function Ms(...t) {
|
|
|
3811
3801
|
function Ls() {
|
|
3812
3802
|
return Math.random().toString(36).substr(2, 9);
|
|
3813
3803
|
}
|
|
3814
|
-
function
|
|
3804
|
+
function Fs(t) {
|
|
3815
3805
|
return t.toString().replace(/^on/, "");
|
|
3816
3806
|
}
|
|
3817
|
-
function
|
|
3807
|
+
function Us(t) {
|
|
3818
3808
|
const e = new Date(t * 1e3), n = /* @__PURE__ */ new Date(), r = new Date(n.getFullYear(), n.getMonth(), n.getDate());
|
|
3819
3809
|
return e >= r ? new Intl.DateTimeFormat("default", {
|
|
3820
3810
|
hour: "numeric",
|
|
@@ -3832,11 +3822,11 @@ function Ps(t, e = "", n = 1, r = 3) {
|
|
|
3832
3822
|
const i = t.find((l) => {
|
|
3833
3823
|
var u;
|
|
3834
3824
|
return ((u = l.email) == null ? void 0 : u.toLowerCase()) === e.toLowerCase();
|
|
3835
|
-
}),
|
|
3825
|
+
}), o = t.filter((l) => {
|
|
3836
3826
|
var u;
|
|
3837
3827
|
return ((u = l.email) == null ? void 0 : u.toLowerCase()) !== e.toLowerCase();
|
|
3838
|
-
}),
|
|
3839
|
-
return
|
|
3828
|
+
}), a = o.length, s = o.slice(0, r).map((l) => l.name || l.email).join(", ");
|
|
3829
|
+
return a === 0 ? i ? "me" : "" : a === 1 ? i && n > 1 ? `me, ${s}` : s : a === 2 ? i ? `me, ${s}` : `${s}` : i ? `me, ${s}, +${a - r}` : `${s}, +${a - r}`;
|
|
3840
3830
|
}
|
|
3841
3831
|
const fr = [
|
|
3842
3832
|
{ amount: 60, name: "seconds" },
|
|
@@ -3852,10 +3842,10 @@ const fr = [
|
|
|
3852
3842
|
}), n = /* @__PURE__ */ new Date();
|
|
3853
3843
|
let r = (t.getTime() - n.getTime()) / 1e3;
|
|
3854
3844
|
for (let i = 0; i <= fr.length; i++) {
|
|
3855
|
-
const
|
|
3856
|
-
if (Math.abs(r) <
|
|
3857
|
-
return e.format(Math.round(r),
|
|
3858
|
-
r /=
|
|
3845
|
+
const o = fr[i];
|
|
3846
|
+
if (Math.abs(r) < o.amount)
|
|
3847
|
+
return e.format(Math.round(r), o.name);
|
|
3848
|
+
r /= o.amount;
|
|
3859
3849
|
}
|
|
3860
3850
|
};
|
|
3861
3851
|
function Hs(t) {
|
|
@@ -3880,13 +3870,13 @@ function us(t) {
|
|
|
3880
3870
|
return /<[^>]*>/g.test(t) ? "html" : "plain";
|
|
3881
3871
|
}
|
|
3882
3872
|
function Ks(t) {
|
|
3883
|
-
var i,
|
|
3884
|
-
const e = t.headers, n = e && ((i = e.find((
|
|
3873
|
+
var i, o;
|
|
3874
|
+
const e = t.headers, n = e && ((i = e.find((a) => a.name === "Content-Type")) == null ? void 0 : i.value) || "", r = e && ((o = e.find((a) => a.name === "Content-Disposition")) == null ? void 0 : o.value) || "";
|
|
3885
3875
|
return !!(n.includes("text/html") || r.includes("inline") || t.body && us(t.body) === "html");
|
|
3886
3876
|
}
|
|
3887
3877
|
function Gs(t) {
|
|
3888
3878
|
let r = t.split(`
|
|
3889
|
-
`).filter((
|
|
3879
|
+
`).filter((o) => o.trim().length > 0).map((o) => `<p>${o}</p>`).join("");
|
|
3890
3880
|
const i = /((?:https?|ftp):\/\/[^\s]+)/g;
|
|
3891
3881
|
return r = r.replace(i, '<a href="$1">$1</a>'), r;
|
|
3892
3882
|
}
|
|
@@ -3906,21 +3896,21 @@ function Vs(t) {
|
|
|
3906
3896
|
let n = "";
|
|
3907
3897
|
const [r, i] = t.split(":");
|
|
3908
3898
|
r.length === 1 ? n += "0" + r : r.length === 2 && (n += r), n += ":", i === void 0 || i == "" ? n += "00" : i.length === 1 ? n += i + "0" : n += i;
|
|
3909
|
-
const
|
|
3910
|
-
return
|
|
3899
|
+
const o = n.slice(-1);
|
|
3900
|
+
return o === "a" && (n += "m"), o === "p" && (n += "m"), n.slice(-1) !== "m" && (n.split(":")[0] == "00" ? n += "am" : n += e.format("a")), n;
|
|
3911
3901
|
}
|
|
3912
3902
|
function el(t) {
|
|
3913
3903
|
const [e, n] = t.split(":").map((s) => parseInt(s, 10));
|
|
3914
3904
|
let r = e;
|
|
3915
3905
|
const i = r >= 12 ? "pm" : "am";
|
|
3916
3906
|
r = r % 12, r = r || 12;
|
|
3917
|
-
const
|
|
3918
|
-
return `${
|
|
3907
|
+
const o = r.toString().padStart(2, "0"), a = n.toString().padStart(2, "0");
|
|
3908
|
+
return `${o}:${a}${i}`;
|
|
3919
3909
|
}
|
|
3920
3910
|
function tl(t) {
|
|
3921
|
-
const [e, n] = t.split(/(am|pm)/i), [r, i] = e.split(":").map((
|
|
3922
|
-
let
|
|
3923
|
-
return n.toLowerCase() === "pm" &&
|
|
3911
|
+
const [e, n] = t.split(/(am|pm)/i), [r, i] = e.split(":").map((a) => parseInt(a, 10));
|
|
3912
|
+
let o = r;
|
|
3913
|
+
return n.toLowerCase() === "pm" && o < 12 ? o += 12 : n.toLowerCase() === "am" && o === 12 && (o = 0), `${o.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}`;
|
|
3924
3914
|
}
|
|
3925
3915
|
function nl(t) {
|
|
3926
3916
|
const [e, n] = t.match(/(\d+):(\d+)(am|pm)/).slice(1);
|
|
@@ -3932,13 +3922,13 @@ function rl(t) {
|
|
|
3932
3922
|
return `${e}:${n < 10 ? "0" : ""}${n}`;
|
|
3933
3923
|
}
|
|
3934
3924
|
function il() {
|
|
3935
|
-
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), i = /Trident/.test(t),
|
|
3936
|
-
return e && /Edg/.test(t) ? "Edge (Chromium)" : e ? "Chrome" : n ? "Safari" : r ? "Firefox" : i ? "Internet Explorer" :
|
|
3925
|
+
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), i = /Trident/.test(t), o = /Edge/.test(t);
|
|
3926
|
+
return e && /Edg/.test(t) ? "Edge (Chromium)" : e ? "Chrome" : n ? "Safari" : r ? "Firefox" : i ? "Internet Explorer" : o ? "Edge (Legacy)" : "Unknown";
|
|
3937
3927
|
}
|
|
3938
3928
|
function dr(t, e = null) {
|
|
3939
3929
|
return e ? [null, e] : [t, null];
|
|
3940
3930
|
}
|
|
3941
|
-
function
|
|
3931
|
+
function al(t, e) {
|
|
3942
3932
|
const n = {
|
|
3943
3933
|
"config.id": e == null ? void 0 : e.id,
|
|
3944
3934
|
id: e == null ? void 0 : e.id
|
|
@@ -3947,7 +3937,7 @@ function ol(t, e) {
|
|
|
3947
3937
|
t = t.replace(`{${r}}`, n[r]);
|
|
3948
3938
|
}), t;
|
|
3949
3939
|
}
|
|
3950
|
-
function
|
|
3940
|
+
function ol(t) {
|
|
3951
3941
|
if (t.keyCode < 48 || t.keyCode > 90 && t.keyCode < 96 || t.keyCode > 111 && t.keyCode < 186 || t.keyCode > 222 || t.keyCode === 32 || t.keyCode === 91 || t.keyCode === 92 || t.keyCode === 93 || t.keyCode >= 112 && t.keyCode <= 123 || t.keyCode >= 37 && t.keyCode <= 40 || t.ctrlKey || t.altKey || t.metaKey)
|
|
3952
3942
|
return !0;
|
|
3953
3943
|
const e = [
|
|
@@ -4007,8 +3997,8 @@ function ll(t) {
|
|
|
4007
3997
|
}
|
|
4008
3998
|
function cl(t, e) {
|
|
4009
3999
|
t.forEach((n) => {
|
|
4010
|
-
var
|
|
4011
|
-
const r = (
|
|
4000
|
+
var o;
|
|
4001
|
+
const r = (o = e.shadowRoot) == null ? void 0 : o.querySelector(`slot[name="${n}"]`), i = r == null ? void 0 : r.assignedNodes();
|
|
4012
4002
|
i && i.length === 0 && console.warn(`${e.nodeName} No content provided for slot="${n}".`);
|
|
4013
4003
|
});
|
|
4014
4004
|
}
|
|
@@ -4018,8 +4008,8 @@ function ul(t) {
|
|
|
4018
4008
|
const l = s.toString("hex");
|
|
4019
4009
|
return `${l.slice(0, 8)}-${l.slice(8, 12)}-${l.slice(12, 16)}-${l.slice(16, 20)}-${l.slice(20)}`;
|
|
4020
4010
|
}
|
|
4021
|
-
const
|
|
4022
|
-
return [
|
|
4011
|
+
const o = i(n), a = i(r);
|
|
4012
|
+
return [o, a];
|
|
4023
4013
|
}
|
|
4024
4014
|
class fl {
|
|
4025
4015
|
constructor(e) {
|
|
@@ -4030,21 +4020,21 @@ class fl {
|
|
|
4030
4020
|
}
|
|
4031
4021
|
async request({ method: e, path: n, body: r, headers: i }) {
|
|
4032
4022
|
try {
|
|
4033
|
-
const
|
|
4023
|
+
const o = await this.session.fetch(`grants/me/${n}`, {
|
|
4034
4024
|
method: e,
|
|
4035
4025
|
headers: i ? new Headers(i) : void 0,
|
|
4036
4026
|
body: r,
|
|
4037
4027
|
...this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}
|
|
4038
4028
|
});
|
|
4039
|
-
if (typeof
|
|
4029
|
+
if (typeof o > "u")
|
|
4040
4030
|
throw new Error("Response is undefined");
|
|
4041
|
-
return dr(
|
|
4042
|
-
} catch (
|
|
4043
|
-
let
|
|
4044
|
-
return String(
|
|
4031
|
+
return dr(o);
|
|
4032
|
+
} catch (o) {
|
|
4033
|
+
let a = String(o);
|
|
4034
|
+
return String(o).includes("Access token not found") && (a = "Session expired, please log in again. Redirecting...", setTimeout(() => {
|
|
4045
4035
|
localStorage.removeItem("grant"), localStorage.removeItem("user"), window.location.reload();
|
|
4046
4036
|
}, 1e3)), dr(null, {
|
|
4047
|
-
message:
|
|
4037
|
+
message: a
|
|
4048
4038
|
});
|
|
4049
4039
|
}
|
|
4050
4040
|
}
|
|
@@ -4058,14 +4048,14 @@ class fl {
|
|
|
4058
4048
|
}
|
|
4059
4049
|
async authenticationUrl(e) {
|
|
4060
4050
|
const n = (e == null ? void 0 : e.provider) || "google";
|
|
4061
|
-
let i = this.defaultAuthArgs.find((
|
|
4051
|
+
let i = this.defaultAuthArgs.find((o) => o.provider === n) || {};
|
|
4062
4052
|
return e && (i = { ...i, ...e }), this.session.auth(i);
|
|
4063
4053
|
}
|
|
4064
4054
|
setDefaultAuthArgs(e) {
|
|
4065
4055
|
this.defaultAuthArgs = e;
|
|
4066
4056
|
}
|
|
4067
4057
|
}
|
|
4068
|
-
|
|
4058
|
+
Aa({});
|
|
4069
4059
|
function dl() {
|
|
4070
4060
|
var t = [];
|
|
4071
4061
|
if (typeof window < "u") {
|
|
@@ -4090,11 +4080,11 @@ function dl() {
|
|
|
4090
4080
|
return Promise.all(t);
|
|
4091
4081
|
}
|
|
4092
4082
|
async function fs() {
|
|
4093
|
-
await import("./elements-dc5b338e-
|
|
4083
|
+
await import("./elements-dc5b338e-b0a290ae.js");
|
|
4094
4084
|
}
|
|
4095
4085
|
const ds = fs, hs = (t, e) => {
|
|
4096
4086
|
if (!(typeof window > "u"))
|
|
4097
|
-
return ds(), yo(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"defaultAuthArgs":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigState":[16],"mode":[1],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"configurationId":["configurationIdChanged"]}]]],["nylas-scheduling",[[1,"nylas-scheduling",{"mode":[1],"defaultSchedulerState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingRef":[1,"reschedule-booking-ref"],"cancelBookingRef":[1,"cancel-booking-ref"],"configurationId":[1,"configuration-id"],"nylasBranding":[4,"nylas-branding"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"refConfigId":[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,"cancelBookedEventValidationError","cancelBookedEventValidationErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"],"rescheduleBookingRef":["rescheduleBookingRefChanged"],"cancelBookingRef":["cancelBookingRefChanged"]}]]],["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-custom-booking-flow",[[65,"nylas-custom-booking-flow",{"selectedConfiguration":[16],"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}]]],["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]}]]],["textarea-component",[[1,"textarea-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"maxLength":[2,"max-length"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["toggle-switch",[[1,"toggle-switch",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["input-component",[[1,"input-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"type":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"pattern":[16],"maxLength":[2,"max-length"],"patternError":[1,"pattern-error"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["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]}]]],["clock-icon_2",[[2,"clock-icon",{"width":[1],"height":[1]}],[2,"person-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-icon",{"width":[1],"height":[1]}]]],["calendar-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["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"],"label":[1],"required":[4],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"errorMessage":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"],[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["input-dropdown_2",[[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,"inputOptionChanged","inputOptionChangedHandler"],[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"defaultSelectedPeriod":["defaultSelectedPeriodChangedHandler"],"defaultSelectedNumber":["defaultSelectedNumberChangedHandler"],"timePeriods":["timePeriodsChangedHandler"]}],[1,"input-dropdown",{"name":[1],"options":[16],"defaultInputOption":[16],"inputValue":[1,"input-value"],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultInputOption":["defaultSelectedOptionChangedHandler"]}]]],["calendar-info-icon_25",[[65,"nylas-availability-picker",{"selectedConfiguration":[16],"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"timeChange","setTime"],[0,"formError","setFormError"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["configChangedHandler"],"schedule":["scheduleChanged"]}],[65,"nylas-event-location",{"name":[1],"selectedConfiguration":[16],"eventLocation":[1,"event-location"],"location":[32],"selectedLocationOption":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"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-booking-notice",{"selectedConfiguration":[16],"minBookingNotice":[2,"min-booking-notice"],"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-event-duration",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32],"durationMinutesOptions":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"inputOptionChanged","inputOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-timeslot-interval",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"defaultIntervalMinutes":[2,"default-interval-minutes"],"defaultRoundTo":[2,"default-round-to"],"selectedInterval":[32],"selectedRoundTo":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"radioSelectionChanged","radioSelectionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-customize-booking-settings",{"selectedConfiguration":[16],"defaultAdditionalGuestsHidden":[4,"default-additional-guests-hidden"],"defaultHideCancellationOptions":[4,"default-hide-cancellation-options"],"defaultHideReschedulingOptions":[4,"default-hide-rescheduling-options"],"name":[1],"allowGuestsToInvite":[32],"hideCancellationOptions":[32],"hideReschedulingOptions":[32]},[[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-cancellation-policy",{"selectedConfiguration":[16],"cancellationPolicy":[1,"cancellation-policy"],"name":[1],"message":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[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"]]],[1,"checkbox-component",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}],[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],"name":[1],"hasError":[4,"has-error"],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}],[1,"radio-button-group",{"name":[1],"options":[16],"defaultSelectedValue":[1,"default-selected-value"],"selectedValue":[32]}]]],["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],"copiedButtonIndex":[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]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["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]}]]],["add-circle-icon_2",[[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]}]]],["nylas-booked-event-card_10",[[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"configSettings":[8,"config-settings"],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"additionalFields":[32],"validationError":[32]},[[0,"nylasFormInputChanged","nylasFormInputChangedHandler"],[0,"nylasFormDropdownChanged","selectOptionChangedHandler"],[0,"nylasFormSwitchToggled","switchToggledHandler"],[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16],"configSettings":[8,"config-settings"]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"configSettings":[16],"isLoading":[4,"is-loading"],"eventDuration":[2,"event-duration"],"month":[32],"dates":[32],"disableNextMonthButton":[32]},null,{"configSettings":["configSettingsChanged"]}],[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-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"configSettings":[16],"cancellationReason":[32],"cancellationError":[32],"cancellationPolicy":[32]},null,{"configSettings":["configSettingsChangedHandler"]}],[1,"nylas-cancelled-event-card",{"cancelledEventInfo":[16],"configSettings":[16],"isClosing":[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);
|
|
4087
|
+
return ds(), pa(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"defaultAuthArgs":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigState":[16],"mode":[1],"additionalParticipants":[16],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"configurationId":["configurationIdChanged"]}]]],["nylas-scheduling",[[1,"nylas-scheduling",{"mode":[1],"defaultSchedulerState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingRef":[1,"reschedule-booking-ref"],"cancelBookingRef":[1,"cancel-booking-ref"],"configurationId":[1,"configuration-id"],"nylasBranding":[4,"nylas-branding"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"refConfigId":[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,"cancelBookedEventValidationError","cancelBookedEventValidationErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"],"rescheduleBookingRef":["rescheduleBookingRefChanged"],"cancelBookingRef":["cancelBookingRefChanged"]}]]],["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-custom-booking-flow",[[65,"nylas-custom-booking-flow",{"selectedConfiguration":[16],"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}]]],["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"]}]]],["textarea-component",[[1,"textarea-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"maxLength":[2,"max-length"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["input-component",[[1,"input-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"type":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"pattern":[16],"maxLength":[2,"max-length"],"patternError":[1,"pattern-error"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["refresh-icon",[[2,"refresh-icon",{"width":[1],"height":[1]}]]],["translate-icon",[[2,"translate-icon",{"width":[1],"height":[1]}]]],["warning-icon",[[2,"warning-icon",{"width":[1],"height":[1]}]]],["calendar-cancel-icon",[[2,"calendar-cancel-icon",{"width":[1],"height":[1]}]]],["calendar-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["nylas-time-window-picker",[[1,"nylas-time-window-picker",{"time":[1],"minimumStartTime":[1,"minimum-start-time"],"placeholder":[1],"name":[1],"hasError":[4,"has-error"],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}]]],["button-component",[[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}]]],["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]}]]],["input-dropdown_2",[[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,"inputOptionChanged","inputOptionChangedHandler"],[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"defaultSelectedPeriod":["defaultSelectedPeriodChangedHandler"],"defaultSelectedNumber":["defaultSelectedNumberChangedHandler"],"timePeriods":["timePeriodsChangedHandler"]}],[1,"input-dropdown",{"name":[1],"options":[16],"defaultInputOption":[16],"inputValue":[1,"input-value"],"pluralizedLabel":[1,"pluralized-label"],"filterable":[4],"selectedOption":[32],"isOpen":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultInputOption":["defaultSelectedOptionChangedHandler"],"inputValue":["inputValueChangedHandler"]}]]],["add-circle-icon_2",[[2,"add-circle-icon",{"width":[1],"height":[1]}],[2,"close-icon",{"width":[1],"height":[1]}]]],["info-icon_2",[[2,"info-icon",{"width":[1],"height":[1]}],[1,"tooltip-component",{"position":[1]}]]],["calendar-info-icon_28",[[65,"nylas-participants-custom-availability",{"name":[1],"participants":[16],"selectedParticipants":[32]},[[0,"nylasFormSwitchToggled","nylasFormSwitchToggledHandler"],[0,"valueChanged","handleValueChanged"]],{"name":["elementNameChangedHandler"],"participants":["participantsChangedHandler"]}],[65,"nylas-event-location",{"name":[1],"selectedConfiguration":[16],"eventLocation":[1,"event-location"],"location":[32],"selectedLocationOption":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"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-booking-notice",{"selectedConfiguration":[16],"minBookingNotice":[2,"min-booking-notice"],"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-event-duration",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32],"durationMinutesOptions":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"inputOptionChanged","inputOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-timeslot-interval",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"defaultIntervalMinutes":[2,"default-interval-minutes"],"defaultRoundTo":[2,"default-round-to"],"selectedInterval":[32],"selectedRoundTo":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"radioSelectionChanged","radioSelectionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-additional-participants",{"name":[1],"eventParticipants":[16],"participantOptions":[16],"participants":[32],"participantsValid":[32]},[[0,"inputOptionChanged","onInputOptionChanged"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-customize-booking-settings",{"selectedConfiguration":[16],"defaultAdditionalGuestsHidden":[4,"default-additional-guests-hidden"],"defaultHideCancellationOptions":[4,"default-hide-cancellation-options"],"defaultHideReschedulingOptions":[4,"default-hide-rescheduling-options"],"name":[1],"allowGuestsToInvite":[32],"hideCancellationOptions":[32],"hideReschedulingOptions":[32]},[[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-cancellation-policy",{"selectedConfiguration":[16],"cancellationPolicy":[1,"cancellation-policy"],"name":[1],"message":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[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]}],[2,"people-icon",{"width":[1],"height":[1]}],[65,"nylas-availability-picker",{"selectedConfiguration":[16],"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"hideHeader":[4,"hide-header"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"timeChange","setTime"],[0,"formError","setFormError"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["configChangedHandler"],"schedule":["scheduleChanged"]}],[1,"multi-select-dropdown",{"name":[1],"label":[1],"options":[16],"availableOptions":[32],"isOpen":[32],"ariaActivedescendant":[32],"shouldFocusFirstOption":[32]},[[6,"click","handleOutsideClick"]]],[1,"checkbox-component",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}],[2,"location-icon",{"width":[1],"height":[1]}],[2,"location-off-icon",{"width":[1],"height":[1]}],[1,"radio-button-group",{"name":[1],"options":[16],"defaultSelectedValue":[1,"default-selected-value"],"selectedValue":[32]}],[1,"toggle-switch",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}]]],["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],"copiedButtonIndex":[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]}]]],["clock-icon_2",[[2,"clock-icon",{"width":[1],"height":[1]}],[2,"person-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]}]]],["chevron-icon_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"label":[1],"required":[4],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"errorMessage":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"],[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["nylas-booked-event-card_10",[[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"configSettings":[8,"config-settings"],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"additionalFields":[32],"validationError":[32]},[[0,"nylasFormInputChanged","nylasFormInputChangedHandler"],[0,"nylasFormDropdownChanged","selectOptionChangedHandler"],[0,"nylasFormSwitchToggled","switchToggledHandler"],[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16],"configSettings":[8,"config-settings"]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"configSettings":[16],"isLoading":[4,"is-loading"],"eventDuration":[2,"event-duration"],"month":[32],"dates":[32],"disableNextMonthButton":[32]},null,{"configSettings":["configSettingsChanged"]}],[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-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"configSettings":[16],"cancellationReason":[32],"cancellationError":[32],"cancellationPolicy":[32]},null,{"configSettings":["configSettingsChangedHandler"]}],[1,"nylas-cancelled-event-card",{"cancelledEventInfo":[16],"configSettings":[16],"isClosing":[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"]}]]]]'), e);
|
|
4098
4088
|
};
|
|
4099
4089
|
(function() {
|
|
4100
4090
|
if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
|
|
@@ -4119,18 +4109,18 @@ function ps() {
|
|
|
4119
4109
|
if (pr)
|
|
4120
4110
|
return nt;
|
|
4121
4111
|
pr = 1;
|
|
4122
|
-
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
4123
|
-
function
|
|
4112
|
+
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
4113
|
+
function a(s, l, u) {
|
|
4124
4114
|
var f, d = {}, h = null, p = null;
|
|
4125
4115
|
u !== void 0 && (h = "" + u), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (p = l.ref);
|
|
4126
4116
|
for (f in l)
|
|
4127
|
-
r.call(l, f) && !
|
|
4117
|
+
r.call(l, f) && !o.hasOwnProperty(f) && (d[f] = l[f]);
|
|
4128
4118
|
if (s && s.defaultProps)
|
|
4129
4119
|
for (f in l = s.defaultProps, l)
|
|
4130
4120
|
d[f] === void 0 && (d[f] = l[f]);
|
|
4131
4121
|
return { $$typeof: e, type: s, key: h, ref: p, props: d, _owner: i.current };
|
|
4132
4122
|
}
|
|
4133
|
-
return nt.Fragment = n, nt.jsx =
|
|
4123
|
+
return nt.Fragment = n, nt.jsx = a, nt.jsxs = a, nt;
|
|
4134
4124
|
}
|
|
4135
4125
|
var rt = {};
|
|
4136
4126
|
/**
|
|
@@ -4145,7 +4135,7 @@ var rt = {};
|
|
|
4145
4135
|
var yr;
|
|
4146
4136
|
function ys() {
|
|
4147
4137
|
return yr || (yr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4148
|
-
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"),
|
|
4138
|
+
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y = Symbol.iterator, b = "@@iterator";
|
|
4149
4139
|
function w(c) {
|
|
4150
4140
|
if (c === null || typeof c != "object")
|
|
4151
4141
|
return null;
|
|
@@ -4164,8 +4154,8 @@ function ys() {
|
|
|
4164
4154
|
{
|
|
4165
4155
|
var D = T.ReactDebugCurrentFrame, Y = D.getStackAddendum();
|
|
4166
4156
|
Y !== "" && (v += "%s", k = k.concat([Y]));
|
|
4167
|
-
var B = k.map(function(
|
|
4168
|
-
return String(
|
|
4157
|
+
var B = k.map(function(F) {
|
|
4158
|
+
return String(F);
|
|
4169
4159
|
});
|
|
4170
4160
|
B.unshift("Warning: " + v), Function.prototype.apply.call(console[c], console, B);
|
|
4171
4161
|
}
|
|
@@ -4173,7 +4163,7 @@ function ys() {
|
|
|
4173
4163
|
var le = !1, ge = !1, ne = !1, Pe = !1, We = !1, K;
|
|
4174
4164
|
K = Symbol.for("react.module.reference");
|
|
4175
4165
|
function H(c) {
|
|
4176
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c ===
|
|
4166
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === o || We || c === i || c === u || c === f || Pe || c === p || le || ge || ne || typeof c == "object" && c !== null && (c.$$typeof === h || c.$$typeof === d || c.$$typeof === a || c.$$typeof === s || c.$$typeof === l || // This needs to include all possible module reference object
|
|
4177
4167
|
// types supported by any Flight configuration anywhere since
|
|
4178
4168
|
// we don't know which Flight build this will end up being used
|
|
4179
4169
|
// with.
|
|
@@ -4201,7 +4191,7 @@ function ys() {
|
|
|
4201
4191
|
return "Fragment";
|
|
4202
4192
|
case n:
|
|
4203
4193
|
return "Portal";
|
|
4204
|
-
case
|
|
4194
|
+
case o:
|
|
4205
4195
|
return "Profiler";
|
|
4206
4196
|
case i:
|
|
4207
4197
|
return "StrictMode";
|
|
@@ -4215,7 +4205,7 @@ function ys() {
|
|
|
4215
4205
|
case s:
|
|
4216
4206
|
var v = c;
|
|
4217
4207
|
return Ve(v) + ".Consumer";
|
|
4218
|
-
case
|
|
4208
|
+
case a:
|
|
4219
4209
|
var k = c;
|
|
4220
4210
|
return Ve(k._context) + ".Provider";
|
|
4221
4211
|
case l:
|
|
@@ -4224,9 +4214,9 @@ function ys() {
|
|
|
4224
4214
|
var D = c.displayName || null;
|
|
4225
4215
|
return D !== null ? D : C(c.type) || "Memo";
|
|
4226
4216
|
case h: {
|
|
4227
|
-
var Y = c, B = Y._payload,
|
|
4217
|
+
var Y = c, B = Y._payload, F = Y._init;
|
|
4228
4218
|
try {
|
|
4229
|
-
return C(
|
|
4219
|
+
return C(F(B));
|
|
4230
4220
|
} catch {
|
|
4231
4221
|
return null;
|
|
4232
4222
|
}
|
|
@@ -4331,27 +4321,27 @@ function ys() {
|
|
|
4331
4321
|
B = _e.current, _e.current = null, $e();
|
|
4332
4322
|
try {
|
|
4333
4323
|
if (v) {
|
|
4334
|
-
var
|
|
4324
|
+
var F = function() {
|
|
4335
4325
|
throw Error();
|
|
4336
4326
|
};
|
|
4337
|
-
if (Object.defineProperty(
|
|
4327
|
+
if (Object.defineProperty(F.prototype, "props", {
|
|
4338
4328
|
set: function() {
|
|
4339
4329
|
throw Error();
|
|
4340
4330
|
}
|
|
4341
4331
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4342
4332
|
try {
|
|
4343
|
-
Reflect.construct(
|
|
4333
|
+
Reflect.construct(F, []);
|
|
4344
4334
|
} catch (De) {
|
|
4345
4335
|
D = De;
|
|
4346
4336
|
}
|
|
4347
|
-
Reflect.construct(c, [],
|
|
4337
|
+
Reflect.construct(c, [], F);
|
|
4348
4338
|
} else {
|
|
4349
4339
|
try {
|
|
4350
|
-
|
|
4340
|
+
F.call();
|
|
4351
4341
|
} catch (De) {
|
|
4352
4342
|
D = De;
|
|
4353
4343
|
}
|
|
4354
|
-
c.call(
|
|
4344
|
+
c.call(F.prototype);
|
|
4355
4345
|
}
|
|
4356
4346
|
} else {
|
|
4357
4347
|
try {
|
|
@@ -4364,14 +4354,14 @@ function ys() {
|
|
|
4364
4354
|
} catch (De) {
|
|
4365
4355
|
if (De && D && typeof De.stack == "string") {
|
|
4366
4356
|
for (var L = De.stack.split(`
|
|
4367
|
-
`),
|
|
4368
|
-
`), G = L.length - 1, Z =
|
|
4357
|
+
`), oe = D.stack.split(`
|
|
4358
|
+
`), G = L.length - 1, Z = oe.length - 1; G >= 1 && Z >= 0 && L[G] !== oe[Z]; )
|
|
4369
4359
|
Z--;
|
|
4370
4360
|
for (; G >= 1 && Z >= 0; G--, Z--)
|
|
4371
|
-
if (L[G] !==
|
|
4361
|
+
if (L[G] !== oe[Z]) {
|
|
4372
4362
|
if (G !== 1 || Z !== 1)
|
|
4373
4363
|
do
|
|
4374
|
-
if (G--, Z--, Z < 0 || L[G] !==
|
|
4364
|
+
if (G--, Z--, Z < 0 || L[G] !== oe[Z]) {
|
|
4375
4365
|
var pe = `
|
|
4376
4366
|
` + L[G].replace(" at new ", " at ");
|
|
4377
4367
|
return c.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", c.displayName)), typeof c == "function" && ue.set(c, pe), pe;
|
|
@@ -4433,19 +4423,19 @@ function ys() {
|
|
|
4433
4423
|
function di(c, v, k, D, Y) {
|
|
4434
4424
|
{
|
|
4435
4425
|
var B = Function.call.bind(ut);
|
|
4436
|
-
for (var
|
|
4437
|
-
if (B(c,
|
|
4426
|
+
for (var F in c)
|
|
4427
|
+
if (B(c, F)) {
|
|
4438
4428
|
var L = void 0;
|
|
4439
4429
|
try {
|
|
4440
|
-
if (typeof c[
|
|
4441
|
-
var
|
|
4442
|
-
throw
|
|
4430
|
+
if (typeof c[F] != "function") {
|
|
4431
|
+
var oe = Error((D || "React class") + ": " + k + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4432
|
+
throw oe.name = "Invariant Violation", oe;
|
|
4443
4433
|
}
|
|
4444
|
-
L = c[
|
|
4434
|
+
L = c[F](v, F, D, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4445
4435
|
} catch (G) {
|
|
4446
4436
|
L = G;
|
|
4447
4437
|
}
|
|
4448
|
-
L && !(L instanceof Error) && (ft(Y), M("%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).", D || "React class", k,
|
|
4438
|
+
L && !(L instanceof Error) && (ft(Y), M("%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).", D || "React class", k, F, typeof L), ft(null)), L instanceof Error && !(L.message in mn) && (mn[L.message] = !0, ft(Y), M("Failed %s type: %s", k, L.message), ft(null));
|
|
4449
4439
|
}
|
|
4450
4440
|
}
|
|
4451
4441
|
}
|
|
@@ -4524,7 +4514,7 @@ function ys() {
|
|
|
4524
4514
|
});
|
|
4525
4515
|
}
|
|
4526
4516
|
}
|
|
4527
|
-
var Ei = function(c, v, k, D, Y, B,
|
|
4517
|
+
var Ei = function(c, v, k, D, Y, B, F) {
|
|
4528
4518
|
var L = {
|
|
4529
4519
|
// This tag allows us to uniquely identify this as a React Element
|
|
4530
4520
|
$$typeof: e,
|
|
@@ -4532,7 +4522,7 @@ function ys() {
|
|
|
4532
4522
|
type: c,
|
|
4533
4523
|
key: v,
|
|
4534
4524
|
ref: k,
|
|
4535
|
-
props:
|
|
4525
|
+
props: F,
|
|
4536
4526
|
// Record the component responsible for creating this element.
|
|
4537
4527
|
_owner: B
|
|
4538
4528
|
};
|
|
@@ -4555,20 +4545,20 @@ function ys() {
|
|
|
4555
4545
|
};
|
|
4556
4546
|
function ki(c, v, k, D, Y) {
|
|
4557
4547
|
{
|
|
4558
|
-
var B,
|
|
4559
|
-
k !== void 0 && (bn(k), L = "" + k), vi(v) && (bn(v.key), L = "" + v.key), gi(v) && (
|
|
4548
|
+
var B, F = {}, L = null, oe = null;
|
|
4549
|
+
k !== void 0 && (bn(k), L = "" + k), vi(v) && (bn(v.key), L = "" + v.key), gi(v) && (oe = v.ref, bi(v, Y));
|
|
4560
4550
|
for (B in v)
|
|
4561
|
-
ut.call(v, B) && !mi.hasOwnProperty(B) && (
|
|
4551
|
+
ut.call(v, B) && !mi.hasOwnProperty(B) && (F[B] = v[B]);
|
|
4562
4552
|
if (c && c.defaultProps) {
|
|
4563
4553
|
var G = c.defaultProps;
|
|
4564
4554
|
for (B in G)
|
|
4565
|
-
|
|
4555
|
+
F[B] === void 0 && (F[B] = G[B]);
|
|
4566
4556
|
}
|
|
4567
|
-
if (L ||
|
|
4557
|
+
if (L || oe) {
|
|
4568
4558
|
var Z = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
4569
|
-
L && wi(
|
|
4559
|
+
L && wi(F, Z), oe && $i(F, Z);
|
|
4570
4560
|
}
|
|
4571
|
-
return Ei(c, L,
|
|
4561
|
+
return Ei(c, L, oe, Y, D, tt.current, F);
|
|
4572
4562
|
}
|
|
4573
4563
|
}
|
|
4574
4564
|
var At = T.ReactCurrentOwner, En = T.ReactDebugCurrentFrame;
|
|
@@ -4647,8 +4637,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4647
4637
|
else if (c) {
|
|
4648
4638
|
var Y = w(c);
|
|
4649
4639
|
if (typeof Y == "function" && Y !== c.entries)
|
|
4650
|
-
for (var B = Y.call(c),
|
|
4651
|
-
Ot(
|
|
4640
|
+
for (var B = Y.call(c), F; !(F = B.next()).done; )
|
|
4641
|
+
Ot(F.value) && Tn(F.value, v);
|
|
4652
4642
|
}
|
|
4653
4643
|
}
|
|
4654
4644
|
}
|
|
@@ -4691,19 +4681,19 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4691
4681
|
}
|
|
4692
4682
|
function Cn(c, v, k, D, Y, B) {
|
|
4693
4683
|
{
|
|
4694
|
-
var
|
|
4695
|
-
if (!
|
|
4684
|
+
var F = H(c);
|
|
4685
|
+
if (!F) {
|
|
4696
4686
|
var L = "";
|
|
4697
4687
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (L += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4698
|
-
var
|
|
4699
|
-
|
|
4688
|
+
var oe = xi(Y);
|
|
4689
|
+
oe ? L += oe : L += kn();
|
|
4700
4690
|
var G;
|
|
4701
4691
|
c === null ? G = "null" : Rt(c) ? G = "array" : c !== void 0 && c.$$typeof === e ? (G = "<" + (C(c.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : G = typeof c, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, L);
|
|
4702
4692
|
}
|
|
4703
4693
|
var Z = ki(c, v, k, Y, B);
|
|
4704
4694
|
if (Z == null)
|
|
4705
4695
|
return Z;
|
|
4706
|
-
if (
|
|
4696
|
+
if (F) {
|
|
4707
4697
|
var pe = v.children;
|
|
4708
4698
|
if (pe !== void 0)
|
|
4709
4699
|
if (D)
|
|
@@ -4737,17 +4727,17 @@ const gs = (t) => t.toLowerCase().split("-").map((e) => e.charAt(0).toUpperCase(
|
|
|
4737
4727
|
r !== "" && (t.className = r), Object.keys(e).forEach((i) => {
|
|
4738
4728
|
if (!(i === "children" || i === "style" || i === "ref" || i === "class" || i === "className" || i === "forwardedRef"))
|
|
4739
4729
|
if (i.indexOf("on") === 0 && i[2] === i[2].toUpperCase()) {
|
|
4740
|
-
const
|
|
4741
|
-
ci(
|
|
4730
|
+
const o = i.substring(2), a = o[0].toLowerCase() + o.substring(1);
|
|
4731
|
+
ci(a) || $s(t, a, e[i]);
|
|
4742
4732
|
} else
|
|
4743
4733
|
t[i] = e[i], typeof e[i] === "string" && t.setAttribute(li(i), e[i]);
|
|
4744
4734
|
});
|
|
4745
4735
|
}
|
|
4746
4736
|
}, bs = (t, e, n) => {
|
|
4747
|
-
const r = e.className || e.class, i = n.className || n.class,
|
|
4748
|
-
return
|
|
4749
|
-
|
|
4750
|
-
}),
|
|
4737
|
+
const r = e.className || e.class, i = n.className || n.class, o = Ht(t), a = Ht(r ? r.split(" ") : []), s = Ht(i ? i.split(" ") : []), l = [];
|
|
4738
|
+
return o.forEach((u) => {
|
|
4739
|
+
a.has(u) ? (l.push(u), a.delete(u)) : s.has(u) || l.push(u);
|
|
4740
|
+
}), a.forEach((u) => l.push(u)), l.join(" ");
|
|
4751
4741
|
}, ws = (t) => {
|
|
4752
4742
|
switch (t) {
|
|
4753
4743
|
case "doubleclick":
|
|
@@ -4775,8 +4765,8 @@ const ci = (t) => {
|
|
|
4775
4765
|
const r = t.__events || (t.__events = {}), i = r[e];
|
|
4776
4766
|
i && t.removeEventListener(e, i), t.addEventListener(
|
|
4777
4767
|
e,
|
|
4778
|
-
r[e] = function(
|
|
4779
|
-
n && n.call(this,
|
|
4768
|
+
r[e] = function(a) {
|
|
4769
|
+
n && n.call(this, a);
|
|
4780
4770
|
}
|
|
4781
4771
|
);
|
|
4782
4772
|
}, Ht = (t) => {
|
|
@@ -4793,7 +4783,7 @@ const ci = (t) => {
|
|
|
4793
4783
|
return n.displayName = e, Et.forwardRef(n);
|
|
4794
4784
|
}, g = (t, e, n, r) => {
|
|
4795
4785
|
r !== void 0 && r();
|
|
4796
|
-
const i = gs(t),
|
|
4786
|
+
const i = gs(t), o = class extends Et.Component {
|
|
4797
4787
|
constructor(s) {
|
|
4798
4788
|
super(s);
|
|
4799
4789
|
Mt(this, "componentEl");
|
|
@@ -4832,13 +4822,13 @@ const ci = (t) => {
|
|
|
4832
4822
|
return i;
|
|
4833
4823
|
}
|
|
4834
4824
|
};
|
|
4835
|
-
return e && (
|
|
4825
|
+
return e && (o.contextType = e), xs(o, i);
|
|
4836
4826
|
};
|
|
4837
4827
|
hs();
|
|
4838
|
-
const hl = /* @__PURE__ */ g("add-circle-icon"), pl = /* @__PURE__ */ g("archive-icon"), yl = /* @__PURE__ */ g("arrow-icon"), ml = /* @__PURE__ */ g("bold-icon"), gl = /* @__PURE__ */ g("button-component"), vl = /* @__PURE__ */ g("calendar-cancel-icon"), bl = /* @__PURE__ */ g("calendar-check-icon"), wl = /* @__PURE__ */ g("calendar-icon"), $l = /* @__PURE__ */ g("calendar-info-icon"), El = /* @__PURE__ */ g("calendar-patterns-icon"), kl = /* @__PURE__ */ g("checkbox-component"), xl = /* @__PURE__ */ g("checkmark-circle-icon"), Tl = /* @__PURE__ */ g("chevron-icon"), Sl = /* @__PURE__ */ g("clock-icon"), Cl = /* @__PURE__ */ g("close-icon"), _l = /* @__PURE__ */ g("document-refresh-icon"), Rl = /* @__PURE__ */ g("flow-icon"), Dl = /* @__PURE__ */ g("folder-icon"), Al = /* @__PURE__ */ g("forward-icon"), Il = /* @__PURE__ */ g("globe-icon"), Ol = /* @__PURE__ */ g("google-logo-icon"), Ml = /* @__PURE__ */ g("inbox-icon"), Ll = /* @__PURE__ */ g("info-icon"),
|
|
4828
|
+
const hl = /* @__PURE__ */ g("add-circle-icon"), pl = /* @__PURE__ */ g("archive-icon"), yl = /* @__PURE__ */ g("arrow-icon"), ml = /* @__PURE__ */ g("bold-icon"), gl = /* @__PURE__ */ g("button-component"), vl = /* @__PURE__ */ g("calendar-cancel-icon"), bl = /* @__PURE__ */ g("calendar-check-icon"), wl = /* @__PURE__ */ g("calendar-icon"), $l = /* @__PURE__ */ g("calendar-info-icon"), El = /* @__PURE__ */ g("calendar-patterns-icon"), kl = /* @__PURE__ */ g("checkbox-component"), xl = /* @__PURE__ */ g("checkmark-circle-icon"), Tl = /* @__PURE__ */ g("chevron-icon"), Sl = /* @__PURE__ */ g("clock-icon"), Cl = /* @__PURE__ */ g("close-icon"), _l = /* @__PURE__ */ g("document-refresh-icon"), Rl = /* @__PURE__ */ g("flow-icon"), Dl = /* @__PURE__ */ g("folder-icon"), Al = /* @__PURE__ */ g("forward-icon"), Il = /* @__PURE__ */ g("globe-icon"), Ol = /* @__PURE__ */ g("google-logo-icon"), Ml = /* @__PURE__ */ g("inbox-icon"), Ll = /* @__PURE__ */ g("info-icon"), Fl = /* @__PURE__ */ g("input-component"), Ul = /* @__PURE__ */ g("input-dropdown"), Nl = /* @__PURE__ */ g("italic-icon"), Pl = /* @__PURE__ */ g("loading-icon"), Yl = /* @__PURE__ */ g("location-icon"), Hl = /* @__PURE__ */ g("location-off-icon"), Bl = /* @__PURE__ */ g("microsoft-logo-icon"), Wl = /* @__PURE__ */ g("multi-select-dropdown"), jl = /* @__PURE__ */ g("nylas-additional-participants"), zl = /* @__PURE__ */ g("nylas-availability-picker"), ql = /* @__PURE__ */ g("nylas-booked-event-card"), Kl = /* @__PURE__ */ g("nylas-booking-calendar-picker"), Gl = /* @__PURE__ */ g("nylas-booking-form"), Zl = /* @__PURE__ */ g("nylas-buffer-time"), Jl = /* @__PURE__ */ g("nylas-calendar-picker"), Xl = /* @__PURE__ */ g("nylas-cancel-booking-form"), Ql = /* @__PURE__ */ g("nylas-cancellation-policy"), Vl = /* @__PURE__ */ g("nylas-cancelled-event-card"), ec = /* @__PURE__ */ g("nylas-composer"), tc = /* @__PURE__ */ g("nylas-custom-booking-flow"), nc = /* @__PURE__ */ g("nylas-customize-booking-settings"), rc = /* @__PURE__ */ g("nylas-date-picker"), ic = /* @__PURE__ */ g("nylas-editor-tabs"), ac = /* @__PURE__ */ g("nylas-event-description"), oc = /* @__PURE__ */ g("nylas-event-duration"), sc = /* @__PURE__ */ g("nylas-event-info"), lc = /* @__PURE__ */ g("nylas-event-limits"), cc = /* @__PURE__ */ g("nylas-event-location"), uc = /* @__PURE__ */ g("nylas-event-title"), fc = /* @__PURE__ */ g("nylas-form-card"), dc = /* @__PURE__ */ g("nylas-if-state"), hc = /* @__PURE__ */ g("nylas-limit-future-bookings"), pc = /* @__PURE__ */ g("nylas-list-configurations"), yc = /* @__PURE__ */ g("nylas-list-folders"), mc = /* @__PURE__ */ g("nylas-list-threads"), gc = /* @__PURE__ */ g("nylas-locale-switch"), vc = /* @__PURE__ */ g("nylas-login"), bc = /* @__PURE__ */ g("nylas-logo"), wc = /* @__PURE__ */ g("nylas-mailbox"), $c = /* @__PURE__ */ g("nylas-mailbox-pagination"), Ec = /* @__PURE__ */ g("nylas-mailbox-toolbar-button"), kc = /* @__PURE__ */ g("nylas-min-booking-notice"), xc = /* @__PURE__ */ g("nylas-min-cancellation-notice"), Tc = /* @__PURE__ */ g("nylas-notification"), Sc = /* @__PURE__ */ g("nylas-participants-custom-availability"), Cc = /* @__PURE__ */ g("nylas-provider"), _c = /* @__PURE__ */ g("nylas-scheduler-editor"), Rc = /* @__PURE__ */ g("nylas-scheduling"), Dc = /* @__PURE__ */ g("nylas-selected-event-card"), Ac = /* @__PURE__ */ g("nylas-summarize-message-button"), Ic = /* @__PURE__ */ g("nylas-threads-refresh"), Oc = /* @__PURE__ */ g("nylas-threads-search"), Mc = /* @__PURE__ */ g("nylas-time-window-picker"), Lc = /* @__PURE__ */ g("nylas-timeslot-interval"), Fc = /* @__PURE__ */ g("nylas-timeslot-picker"), Uc = /* @__PURE__ */ g("nylas-view-email"), Nc = /* @__PURE__ */ g("nylas-view-thread"), Pc = /* @__PURE__ */ g("people-icon"), Yc = /* @__PURE__ */ g("person-icon"), Hc = /* @__PURE__ */ g("play-icon"), Bc = /* @__PURE__ */ g("radio-button-group"), Wc = /* @__PURE__ */ g("refresh-icon"), jc = /* @__PURE__ */ g("reply-all-icon"), zc = /* @__PURE__ */ g("reply-icon"), qc = /* @__PURE__ */ g("search-icon"), Kc = /* @__PURE__ */ g("select-dropdown"), Gc = /* @__PURE__ */ g("sent-icon"), Zc = /* @__PURE__ */ g("spam-icon"), Jc = /* @__PURE__ */ g("star-icon"), Xc = /* @__PURE__ */ g("stop-icon"), Qc = /* @__PURE__ */ g("textarea-component"), Vc = /* @__PURE__ */ g("time-period-selector"), eu = /* @__PURE__ */ g("toggle-switch"), tu = /* @__PURE__ */ g("tooltip-component"), nu = /* @__PURE__ */ g("translate-icon"), ru = /* @__PURE__ */ g("trash-icon"), iu = /* @__PURE__ */ g("underline-icon"), au = /* @__PURE__ */ g("warning-icon");
|
|
4839
4829
|
function ou() {
|
|
4840
4830
|
const [, t] = Li((i) => i + 1, 0), e = Lt(), n = Lt(null), r = Lt(null);
|
|
4841
|
-
return
|
|
4831
|
+
return Fi(() => {
|
|
4842
4832
|
e.current && (n.current || e.current.getNylasMailboxConnector().then((i) => {
|
|
4843
4833
|
i && (n.current = i, r.current = n.current.nylasAuthStore, i.nylasAuthStore.on("set", t), t());
|
|
4844
4834
|
}));
|
|
@@ -4857,17 +4847,17 @@ export {
|
|
|
4857
4847
|
el as I,
|
|
4858
4848
|
tl as J,
|
|
4859
4849
|
cl as K,
|
|
4860
|
-
|
|
4861
|
-
|
|
4850
|
+
ol as L,
|
|
4851
|
+
rl as M,
|
|
4862
4852
|
fl as N,
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4853
|
+
il as O,
|
|
4854
|
+
Is as P,
|
|
4855
|
+
Ms as Q,
|
|
4856
|
+
Qr as R,
|
|
4857
|
+
Vs as S,
|
|
4858
|
+
Js as T,
|
|
4859
|
+
Qs as U,
|
|
4860
|
+
Xs as V,
|
|
4871
4861
|
ou as W,
|
|
4872
4862
|
dl as X,
|
|
4873
4863
|
hs as Y,
|
|
@@ -4893,8 +4883,8 @@ export {
|
|
|
4893
4883
|
nc as aF,
|
|
4894
4884
|
rc as aG,
|
|
4895
4885
|
ic as aH,
|
|
4896
|
-
|
|
4897
|
-
|
|
4886
|
+
ac as aI,
|
|
4887
|
+
oc as aJ,
|
|
4898
4888
|
sc as aK,
|
|
4899
4889
|
lc as aL,
|
|
4900
4890
|
cc as aM,
|
|
@@ -4923,8 +4913,8 @@ export {
|
|
|
4923
4913
|
Ol as ai,
|
|
4924
4914
|
Ml as aj,
|
|
4925
4915
|
Ll as ak,
|
|
4926
|
-
|
|
4927
|
-
|
|
4916
|
+
Fl as al,
|
|
4917
|
+
Ul as am,
|
|
4928
4918
|
Nl as an,
|
|
4929
4919
|
Pl as ao,
|
|
4930
4920
|
Yl as ap,
|
|
@@ -4938,7 +4928,7 @@ export {
|
|
|
4938
4928
|
Gl as ax,
|
|
4939
4929
|
Zl as ay,
|
|
4940
4930
|
Jl as az,
|
|
4941
|
-
|
|
4931
|
+
Us as b,
|
|
4942
4932
|
Tc as b0,
|
|
4943
4933
|
Sc as b1,
|
|
4944
4934
|
Cc as b2,
|
|
@@ -4950,8 +4940,8 @@ export {
|
|
|
4950
4940
|
Oc as b8,
|
|
4951
4941
|
Mc as b9,
|
|
4952
4942
|
Lc as ba,
|
|
4953
|
-
|
|
4954
|
-
|
|
4943
|
+
Fc as bb,
|
|
4944
|
+
Uc as bc,
|
|
4955
4945
|
Nc as bd,
|
|
4956
4946
|
Pc as be,
|
|
4957
4947
|
Yc as bf,
|
|
@@ -4973,18 +4963,19 @@ export {
|
|
|
4973
4963
|
nu as bv,
|
|
4974
4964
|
ru as bw,
|
|
4975
4965
|
iu as bx,
|
|
4966
|
+
au as by,
|
|
4976
4967
|
_s as c,
|
|
4977
4968
|
Os as d,
|
|
4978
|
-
|
|
4969
|
+
Aa as e,
|
|
4979
4970
|
qs as f,
|
|
4980
4971
|
Zi as g,
|
|
4981
4972
|
wr as h,
|
|
4982
|
-
|
|
4973
|
+
co as i,
|
|
4983
4974
|
dr as j,
|
|
4984
4975
|
ul as k,
|
|
4985
4976
|
sl as l,
|
|
4986
4977
|
Wn as m,
|
|
4987
|
-
|
|
4978
|
+
Fs as n,
|
|
4988
4979
|
Ys as o,
|
|
4989
4980
|
Ns as p,
|
|
4990
4981
|
Ks as q,
|
|
@@ -4995,6 +4986,6 @@ export {
|
|
|
4995
4986
|
Gs as v,
|
|
4996
4987
|
Zs as w,
|
|
4997
4988
|
hr as x,
|
|
4998
|
-
|
|
4989
|
+
al as y,
|
|
4999
4990
|
Hs as z
|
|
5000
4991
|
};
|