@nylas/web-elements 1.1.1 → 1.1.2
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/cdn/nylas-availability-picker/nylas-availability-picker.es.js +202 -191
- package/dist/cdn/nylas-booking-calendar-picker/nylas-booking-calendar-picker.es.js +466 -455
- package/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.es.js +299 -288
- package/dist/cdn/nylas-booking-confirmation-type/nylas-booking-confirmation-type.es.js +330 -319
- package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +440 -426
- package/dist/cdn/nylas-booking-form-config/nylas-booking-form-config.es.js +174 -163
- package/dist/cdn/nylas-buffer-time/nylas-buffer-time.es.js +469 -458
- package/dist/cdn/nylas-custom-event-slug/nylas-custom-event-slug.es.js +194 -194
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +20 -9
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +357 -346
- package/dist/cdn/nylas-event-location/nylas-event-location.es.js +502 -491
- package/dist/cdn/nylas-limit-future-bookings/nylas-limit-future-bookings.es.js +325 -314
- package/dist/cdn/nylas-list-configurations/nylas-list-configurations.es.js +239 -228
- package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +235 -224
- package/dist/cdn/nylas-min-booking-notice/nylas-min-booking-notice.es.js +325 -314
- package/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js +209 -198
- package/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js +249 -238
- package/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js +801 -790
- package/dist/cdn/nylas-reminder-emails/nylas-reminder-emails.es.js +287 -276
- package/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js +334 -323
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +23 -12
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +587 -559
- package/dist/cdn/nylas-scheduling-method/nylas-scheduling-method.es.js +275 -264
- package/dist/cdn/nylas-timeslot-interval/nylas-timeslot-interval.es.js +353 -342
- package/dist/cdn/select-dropdown/select-dropdown.es.js +108 -97
- package/dist/cdn/time-period-selector/time-period-selector.es.js +340 -329
- package/dist/cjs/calendar-agenda-fill-icon_48.cjs.entry.js +5 -4
- package/dist/cjs/calendar-agenda-fill-icon_48.cjs.entry.js.map +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js +14 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +11 -7
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-form.cjs.entry.js +11 -7
- package/dist/cjs/nylas-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-custom-event-slug.cjs.entry.js +5 -4
- package/dist/cjs/nylas-custom-event-slug.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +2 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +25 -4
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/select-dropdown.cjs.entry.js +14 -1
- package/dist/cjs/select-dropdown.cjs.entry.js.map +1 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +33 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +17 -7
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +26 -5
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.css +6 -2
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +4 -3
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js +2 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +12 -8
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-custom-event-slug2.js +5 -4
- package/dist/components/nylas-custom-event-slug2.js.map +1 -1
- package/dist/components/nylas-scheduler-editor.js +2 -1
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling.js +25 -4
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/select-dropdown2.js +14 -1
- package/dist/components/select-dropdown2.js.map +1 -1
- package/dist/esm/calendar-agenda-fill-icon_48.entry.js +5 -4
- package/dist/esm/calendar-agenda-fill-icon_48.entry.js.map +1 -1
- package/dist/esm/chevron-icon_3.entry.js +14 -1
- package/dist/esm/chevron-icon_3.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +11 -7
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-booking-form.entry.js +11 -7
- package/dist/esm/nylas-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-custom-event-slug.entry.js +5 -4
- package/dist/esm/nylas-custom-event-slug.entry.js.map +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +2 -1
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +25 -4
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/select-dropdown.entry.js +14 -1
- package/dist/esm/select-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +11 -7
- package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js +5 -4
- package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +2 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +25 -4
- package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-670e4bd1.entry.js → p-795ebe60.entry.js} +2 -2
- package/dist/nylas-web-elements/p-795ebe60.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-d32d9a1d.entry.js → p-8dee5c91.entry.js} +2 -2
- package/dist/nylas-web-elements/p-8dee5c91.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-8fdc5d3d.entry.js +2 -0
- package/dist/nylas-web-elements/p-8fdc5d3d.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-efa03f8c.entry.js +2 -0
- package/dist/nylas-web-elements/p-efa03f8c.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-fbec0698.entry.js +2 -0
- package/dist/nylas-web-elements/p-fbec0698.entry.js.map +1 -0
- package/dist/nylas-web-elements/select-dropdown.entry.js +14 -1
- package/dist/nylas-web-elements/select-dropdown.entry.js.map +1 -1
- package/dist/types/components/design-system/select-dropdown/select-dropdown.d.ts +6 -0
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +6 -0
- package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.d.ts +0 -1
- package/dist/types/components.d.ts +15 -0
- package/package.json +1 -1
- package/dist/nylas-web-elements/p-14e194b2.entry.js +0 -2
- package/dist/nylas-web-elements/p-14e194b2.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-169a3f6d.entry.js +0 -2
- package/dist/nylas-web-elements/p-169a3f6d.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-670e4bd1.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-8ad09f72.entry.js +0 -2
- package/dist/nylas-web-elements/p-8ad09f72.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-d32d9a1d.entry.js.map +0 -1
|
@@ -87,7 +87,7 @@ const Oe = {
|
|
|
87
87
|
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
88
88
|
experimentalSlotFixes: !1
|
|
89
89
|
};
|
|
90
|
-
let qe, vr, ot, Oi = !1,
|
|
90
|
+
let qe, vr, ot, Oi = !1, Lt = !1, Wr = !1, ie = !1, vn = null, xr = !1;
|
|
91
91
|
const Ne = (n, e = "") => () => {
|
|
92
92
|
}, jh = "slot-fb{display:contents}slot-fb[hidden]{display:none}", xn = "http://www.w3.org/1999/xlink", wn = {}, Yh = "http://www.w3.org/2000/svg", Hh = "http://www.w3.org/1999/xhtml", qh = (n) => n != null, Gr = (n) => (n = typeof n, n === "object" || n === "function");
|
|
93
93
|
function zh(n) {
|
|
@@ -98,7 +98,7 @@ const R = (n, e, ...t) => {
|
|
|
98
98
|
let r = null, i = null, u = null, o = !1, s = !1;
|
|
99
99
|
const a = [], l = (f) => {
|
|
100
100
|
for (let d = 0; d < f.length; d++)
|
|
101
|
-
r = f[d], Array.isArray(r) ? l(r) : r != null && typeof r != "boolean" && ((o = typeof n != "function" && !Gr(r)) && (r = String(r)), o && s ? a[a.length - 1].$text$ += r : a.push(o ?
|
|
101
|
+
r = f[d], Array.isArray(r) ? l(r) : r != null && typeof r != "boolean" && ((o = typeof n != "function" && !Gr(r)) && (r = String(r)), o && s ? a[a.length - 1].$text$ += r : a.push(o ? Nt(null, r) : r), s = o);
|
|
102
102
|
};
|
|
103
103
|
if (l(t), e) {
|
|
104
104
|
e.key && (i = e.key), e.name && (u = e.name);
|
|
@@ -109,9 +109,9 @@ const R = (n, e, ...t) => {
|
|
|
109
109
|
}
|
|
110
110
|
if (typeof n == "function")
|
|
111
111
|
return n(e === null ? {} : e, a, Gh);
|
|
112
|
-
const c =
|
|
112
|
+
const c = Nt(n, null);
|
|
113
113
|
return c.$attrs$ = e, a.length > 0 && (c.$children$ = a), c.$key$ = i, c.$name$ = u, c;
|
|
114
|
-
},
|
|
114
|
+
}, Nt = (n, e) => {
|
|
115
115
|
const t = {
|
|
116
116
|
$flags$: 0,
|
|
117
117
|
$tag$: n,
|
|
@@ -135,10 +135,10 @@ const R = (n, e, ...t) => {
|
|
|
135
135
|
const t = Object.assign({}, n.vattrs);
|
|
136
136
|
return n.vkey && (t.key = n.vkey), n.vname && (t.name = n.vname), R(n.vtag, t, ...n.vchildren || []);
|
|
137
137
|
}
|
|
138
|
-
const e =
|
|
138
|
+
const e = Nt(n.vtag, n.vtext);
|
|
139
139
|
return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
|
|
140
|
-
}, Jh = (n) => k1.map((e) => e(n)).find((e) => !!e), Vh = (n, e) => n != null && !Gr(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n,
|
|
141
|
-
const r =
|
|
140
|
+
}, Jh = (n) => k1.map((e) => e(n)).find((e) => !!e), Vh = (n, e) => n != null && !Gr(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, Mt = (n) => n, st = (n, e, t) => {
|
|
141
|
+
const r = Mt(n);
|
|
142
142
|
return {
|
|
143
143
|
emit: (i) => Zh(r, e, {
|
|
144
144
|
bubbles: !!(t & 4),
|
|
@@ -151,11 +151,11 @@ const R = (n, e, ...t) => {
|
|
|
151
151
|
const r = ee.ce(e, t);
|
|
152
152
|
return n.dispatchEvent(r), r;
|
|
153
153
|
}, En = /* @__PURE__ */ new WeakMap(), Qh = (n, e, t) => {
|
|
154
|
-
let r =
|
|
155
|
-
T1 && t ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = e : r.replaceSync(e)) : r = e,
|
|
154
|
+
let r = Ut.get(n);
|
|
155
|
+
T1 && t ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = e : r.replaceSync(e)) : r = e, Ut.set(n, r);
|
|
156
156
|
}, Xh = (n, e, t) => {
|
|
157
157
|
var r;
|
|
158
|
-
const i = Ri(e, t), u =
|
|
158
|
+
const i = Ri(e, t), u = Ut.get(i);
|
|
159
159
|
if (n = n.nodeType === 11 ? n : fe, u)
|
|
160
160
|
if (typeof u == "string") {
|
|
161
161
|
n = n.head || n;
|
|
@@ -214,7 +214,7 @@ const R = (n, e, ...t) => {
|
|
|
214
214
|
r in o || $n(i, r, u[r], void 0, t, e.$flags$);
|
|
215
215
|
for (r in o)
|
|
216
216
|
$n(i, r, u[r], o[r], t, e.$flags$);
|
|
217
|
-
},
|
|
217
|
+
}, _t = (n, e, t, r) => {
|
|
218
218
|
const i = e.$children$[t];
|
|
219
219
|
let u = 0, o, s, a;
|
|
220
220
|
if (Oi || (Wr = !0, i.$tag$ === "slot" && (qe && r.classList.add(qe + "-s"), i.$flags$ |= i.$children$ ? (
|
|
@@ -230,28 +230,28 @@ const R = (n, e, ...t) => {
|
|
|
230
230
|
else {
|
|
231
231
|
if (ie || (ie = i.$tag$ === "svg"), o = i.$elm$ = fe.createElementNS(ie ? Yh : Hh, i.$flags$ & 2 ? "slot-fb" : i.$tag$), ie && i.$tag$ === "foreignObject" && (ie = !1), Ii(null, i, ie), qh(qe) && o["s-si"] !== qe && o.classList.add(o["s-si"] = qe), i.$children$)
|
|
232
232
|
for (u = 0; u < i.$children$.length; ++u)
|
|
233
|
-
s =
|
|
233
|
+
s = _t(n, i, u, o), s && o.appendChild(s);
|
|
234
234
|
i.$tag$ === "svg" ? ie = !1 : o.tagName === "foreignObject" && (ie = !0);
|
|
235
235
|
}
|
|
236
|
-
return o["s-hn"] = ot, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = vr, o["s-sn"] = i.$name$ || "", a = n && n.$children$ && n.$children$[t], a && a.$tag$ === i.$tag$ && n.$elm$ &&
|
|
237
|
-
},
|
|
236
|
+
return o["s-hn"] = ot, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = vr, o["s-sn"] = i.$name$ || "", a = n && n.$children$ && n.$children$[t], a && a.$tag$ === i.$tag$ && n.$elm$ && at(n.$elm$, !1)), o;
|
|
237
|
+
}, at = (n, e) => {
|
|
238
238
|
ee.$flags$ |= 1;
|
|
239
239
|
const t = n.childNodes;
|
|
240
240
|
for (let r = t.length - 1; r >= 0; r--) {
|
|
241
241
|
const i = t[r];
|
|
242
|
-
i["s-hn"] !== ot && i["s-ol"] && (Ni(i).insertBefore(i, Kr(i)), i["s-ol"].remove(), i["s-ol"] = void 0, i["s-sh"] = void 0, Wr = !0), e &&
|
|
242
|
+
i["s-hn"] !== ot && i["s-ol"] && (Ni(i).insertBefore(i, Kr(i)), i["s-ol"].remove(), i["s-ol"] = void 0, i["s-sh"] = void 0, Wr = !0), e && at(i, e);
|
|
243
243
|
}
|
|
244
244
|
ee.$flags$ &= -2;
|
|
245
245
|
}, Pi = (n, e, t, r, i, u) => {
|
|
246
246
|
let o = n["s-cr"] && n["s-cr"].parentNode || n, s;
|
|
247
247
|
for (o.shadowRoot && o.tagName === ot && (o = o.shadowRoot); i <= u; ++i)
|
|
248
|
-
r[i] && (s =
|
|
248
|
+
r[i] && (s = _t(null, t, i, n), s && (r[i].$elm$ = s, o.insertBefore(s, Kr(e))));
|
|
249
249
|
}, Li = (n, e, t) => {
|
|
250
250
|
for (let r = e; r <= t; ++r) {
|
|
251
251
|
const i = n[r];
|
|
252
252
|
if (i) {
|
|
253
253
|
const u = i.$elm$;
|
|
254
|
-
Fi(i), u && (
|
|
254
|
+
Fi(i), u && (Lt = !0, u["s-ol"] ? u["s-ol"].remove() : at(u, !0), u.remove());
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
}, n1 = (n, e, t, r, i = !1) => {
|
|
@@ -265,24 +265,24 @@ const R = (n, e, ...t) => {
|
|
|
265
265
|
h = r[++o];
|
|
266
266
|
else if (g == null)
|
|
267
267
|
g = r[--d];
|
|
268
|
-
else if (
|
|
268
|
+
else if (wt(c, h, i))
|
|
269
269
|
ze(c, h, i), c = e[++u], h = r[++o];
|
|
270
|
-
else if (
|
|
270
|
+
else if (wt(f, g, i))
|
|
271
271
|
ze(f, g, i), f = e[--l], g = r[--d];
|
|
272
|
-
else if (
|
|
273
|
-
(c.$tag$ === "slot" || g.$tag$ === "slot") &&
|
|
274
|
-
else if (
|
|
275
|
-
(c.$tag$ === "slot" || g.$tag$ === "slot") &&
|
|
272
|
+
else if (wt(c, g, i))
|
|
273
|
+
(c.$tag$ === "slot" || g.$tag$ === "slot") && at(c.$elm$.parentNode, !1), ze(c, g, i), n.insertBefore(c.$elm$, f.$elm$.nextSibling), c = e[++u], g = r[--d];
|
|
274
|
+
else if (wt(f, h, i))
|
|
275
|
+
(c.$tag$ === "slot" || g.$tag$ === "slot") && at(f.$elm$.parentNode, !1), ze(f, h, i), n.insertBefore(f.$elm$, c.$elm$), f = e[--l], h = r[++o];
|
|
276
276
|
else {
|
|
277
277
|
for (s = -1, a = u; a <= l; ++a)
|
|
278
278
|
if (e[a] && e[a].$key$ !== null && e[a].$key$ === h.$key$) {
|
|
279
279
|
s = a;
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
|
-
s >= 0 ? (p = e[s], p.$tag$ !== h.$tag$ ? w =
|
|
282
|
+
s >= 0 ? (p = e[s], p.$tag$ !== h.$tag$ ? w = _t(e && e[o], t, s, n) : (ze(p, h, i), e[s] = void 0, w = p.$elm$), h = r[++o]) : (w = _t(e && e[o], t, o, n), h = r[++o]), w && Ni(c.$elm$).insertBefore(w, Kr(c.$elm$));
|
|
283
283
|
}
|
|
284
284
|
u > l ? Pi(n, r[d + 1] == null ? null : r[d + 1].$elm$, t, r, o, d) : o > d && Li(e, u, l);
|
|
285
|
-
},
|
|
285
|
+
}, wt = (n, e, t = !1) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : t ? !0 : n.$key$ === e.$key$ : !1, Kr = (n) => n && n["s-ol"] || n, Ni = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, ze = (n, e, t = !1) => {
|
|
286
286
|
const r = e.$elm$ = n.$elm$, i = n.$children$, u = e.$children$, o = e.$tag$, s = e.$text$;
|
|
287
287
|
let a;
|
|
288
288
|
s === null ? (ie = o === "svg" ? !0 : o === "foreignObject" ? !1 : ie, o === "slot" || Ii(n, e, ie), i !== null && u !== null ? n1(r, i, e, u, t) : u !== null ? (n.$text$ !== null && (r.textContent = ""), Pi(r, null, e, u, 0, u.length - 1)) : i !== null && Li(i, 0, i.length - 1), ie && o === "svg" && (ie = !1)) : (a = r["s-cr"]) ? a.parentNode.textContent = s : n.$text$ !== s && (r.data = s);
|
|
@@ -318,7 +318,7 @@ const R = (n, e, ...t) => {
|
|
|
318
318
|
if (e = t[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== i["s-hn"] && !Oe.experimentalSlotFixes)
|
|
319
319
|
if (Sn(e, u)) {
|
|
320
320
|
let o = Te.find((s) => s.$nodeToRelocate$ === e);
|
|
321
|
-
|
|
321
|
+
Lt = !0, e["s-sn"] = e["s-sn"] || u, o ? (o.$nodeToRelocate$["s-sh"] = i["s-hn"], o.$slotRefNode$ = i) : (e["s-sh"] = i["s-hn"], Te.push({
|
|
322
322
|
$slotRefNode$: i,
|
|
323
323
|
$nodeToRelocate$: e
|
|
324
324
|
})), e["s-sr"] && Te.map((s) => {
|
|
@@ -334,11 +334,11 @@ const R = (n, e, ...t) => {
|
|
|
334
334
|
n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(Fi);
|
|
335
335
|
}, i1 = (n, e, t = !1) => {
|
|
336
336
|
var r, i, u, o, s;
|
|
337
|
-
const a = n.$hostElement$, l = n.$cmpMeta$, c = n.$vnode$ ||
|
|
337
|
+
const a = n.$hostElement$, l = n.$cmpMeta$, c = n.$vnode$ || Nt(null, null), f = Wh(e) ? e : R(null, null, e);
|
|
338
338
|
if (ot = a.tagName, l.$attrsToReflect$ && (f.$attrs$ = f.$attrs$ || {}, l.$attrsToReflect$.map(([d, h]) => f.$attrs$[h] = a[d])), t && f.$attrs$)
|
|
339
339
|
for (const d of Object.keys(f.$attrs$))
|
|
340
340
|
a.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (f.$attrs$[d] = a[d]);
|
|
341
|
-
f.$tag$ = null, f.$flags$ |= 4, n.$vnode$ = f, f.$elm$ = c.$elm$ = a.shadowRoot || a, qe = a["s-sc"], vr = a["s-cr"], Oi = (l.$flags$ & 1) !== 0,
|
|
341
|
+
f.$tag$ = null, f.$flags$ |= 4, n.$vnode$ = f, f.$elm$ = c.$elm$ = a.shadowRoot || a, qe = a["s-sc"], vr = a["s-cr"], Oi = (l.$flags$ & 1) !== 0, Lt = !1, ze(c, f, t);
|
|
342
342
|
{
|
|
343
343
|
if (ee.$flags$ |= 1, Wr) {
|
|
344
344
|
Ui(f.$elm$);
|
|
@@ -370,7 +370,7 @@ const R = (n, e, ...t) => {
|
|
|
370
370
|
h.nodeType === 1 && (t && (h["s-ih"] = (o = h.hidden) !== null && o !== void 0 ? o : !1), h.hidden = !0);
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
Lt && _i(f.$elm$), ee.$flags$ &= -2, Te.length = 0;
|
|
374
374
|
}
|
|
375
375
|
if (Oe.experimentalScopedSlotChanges && l.$flags$ & 2)
|
|
376
376
|
for (const d of f.$elm$.childNodes)
|
|
@@ -390,7 +390,7 @@ const R = (n, e, ...t) => {
|
|
|
390
390
|
try {
|
|
391
391
|
vn = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Oe.hasRenderFn || Oe.reflect) && (Oe.vdomRender || Oe.reflect) && (Oe.hydrateServerSide || i1(n, e, r));
|
|
392
392
|
} catch (a) {
|
|
393
|
-
|
|
393
|
+
bt(a, n.$hostElement$);
|
|
394
394
|
}
|
|
395
395
|
return vn = null, null;
|
|
396
396
|
}, c1 = (n) => {
|
|
@@ -401,10 +401,10 @@ const R = (n, e, ...t) => {
|
|
|
401
401
|
try {
|
|
402
402
|
return n[e](t);
|
|
403
403
|
} catch (r) {
|
|
404
|
-
|
|
404
|
+
bt(r);
|
|
405
405
|
}
|
|
406
|
-
}, d1 = (n, e) =>
|
|
407
|
-
const i =
|
|
406
|
+
}, d1 = (n, e) => mt(n).$instanceValues$.get(e), f1 = (n, e, t, r) => {
|
|
407
|
+
const i = mt(n), u = n, o = i.$instanceValues$.get(e), s = i.$flags$, a = u;
|
|
408
408
|
t = Vh(t, r.$members$[e][0]);
|
|
409
409
|
const l = Number.isNaN(o) && Number.isNaN(t);
|
|
410
410
|
if (t !== o && !l) {
|
|
@@ -416,7 +416,7 @@ const R = (n, e, ...t) => {
|
|
|
416
416
|
try {
|
|
417
417
|
a[d](t, o, e);
|
|
418
418
|
} catch (h) {
|
|
419
|
-
|
|
419
|
+
bt(h, u);
|
|
420
420
|
}
|
|
421
421
|
});
|
|
422
422
|
}
|
|
@@ -457,7 +457,7 @@ const R = (n, e, ...t) => {
|
|
|
457
457
|
if (i.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == l)
|
|
458
458
|
return;
|
|
459
459
|
if (f == null) {
|
|
460
|
-
const d =
|
|
460
|
+
const d = mt(this), h = d == null ? void 0 : d.$flags$;
|
|
461
461
|
if (h && !(h & 8) && h & 128 && l !== a) {
|
|
462
462
|
const w = this, p = (c = e.$watchers$) === null || c === void 0 ? void 0 : c[s];
|
|
463
463
|
p == null || p.forEach((T) => {
|
|
@@ -489,7 +489,7 @@ const R = (n, e, ...t) => {
|
|
|
489
489
|
let o = i.style;
|
|
490
490
|
typeof o != "string" && (o = o[e.$modeName$ = Jh(n)]);
|
|
491
491
|
const s = Ri(t, e.$modeName$);
|
|
492
|
-
if (!
|
|
492
|
+
if (!Ut.has(s)) {
|
|
493
493
|
const a = Ne("registerStyles", t.$tagName$);
|
|
494
494
|
Qh(s, o, !!(t.$flags$ & 1)), a();
|
|
495
495
|
}
|
|
@@ -498,7 +498,7 @@ const R = (n, e, ...t) => {
|
|
|
498
498
|
}, Cn = (n) => {
|
|
499
499
|
}, g1 = (n) => {
|
|
500
500
|
if (!(ee.$flags$ & 1)) {
|
|
501
|
-
const e =
|
|
501
|
+
const e = mt(n), t = e.$cmpMeta$, r = Ne("connectedCallback", t.$tagName$);
|
|
502
502
|
e.$flags$ & 1 ? (Yi(n, e, t.$listeners$), e != null && e.$lazyInstance$ ? Cn(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Cn(e.$lazyInstance$))) : (e.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
503
503
|
t.$flags$ & 12 && m1(n), t.$members$ && Object.entries(t.$members$).map(([i, [u]]) => {
|
|
504
504
|
if (u & 31 && n.hasOwnProperty(i)) {
|
|
@@ -512,7 +512,7 @@ const R = (n, e, ...t) => {
|
|
|
512
512
|
e["s-cn"] = !0, n.insertBefore(e, n.firstChild);
|
|
513
513
|
}, b1 = async (n) => {
|
|
514
514
|
if (!(ee.$flags$ & 1)) {
|
|
515
|
-
const e =
|
|
515
|
+
const e = mt(n);
|
|
516
516
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
|
517
517
|
}
|
|
518
518
|
}, Ie = (n, e) => {
|
|
@@ -548,12 +548,12 @@ const R = (n, e, ...t) => {
|
|
|
548
548
|
try {
|
|
549
549
|
Oe.lazyLoad || n.$hostElement$[e](t);
|
|
550
550
|
} catch (r) {
|
|
551
|
-
|
|
551
|
+
bt(r);
|
|
552
552
|
}
|
|
553
553
|
}, v1 = (n, e) => e & 4 ? fe : e & 8 ? Xt : e & 16 ? fe.body : n, x1 = (n) => E1 ? {
|
|
554
554
|
passive: (n & 1) !== 0,
|
|
555
555
|
capture: (n & 2) !== 0
|
|
556
|
-
} : (n & 2) !== 0, Hi = /* @__PURE__ */ new WeakMap(),
|
|
556
|
+
} : (n & 2) !== 0, Hi = /* @__PURE__ */ new WeakMap(), mt = (n) => Hi.get(n), w1 = (n, e) => {
|
|
557
557
|
const t = {
|
|
558
558
|
$flags$: 0,
|
|
559
559
|
$hostElement$: n,
|
|
@@ -561,7 +561,7 @@ const R = (n, e, ...t) => {
|
|
|
561
561
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
562
562
|
};
|
|
563
563
|
return Yi(n, t, e.$listeners$), Hi.set(n, t);
|
|
564
|
-
}, An = (n, e) => e in n,
|
|
564
|
+
}, An = (n, e) => e in n, bt = (n, e) => (0, console.error)(n, e), Ut = /* @__PURE__ */ new Map(), k1 = [], Xt = typeof window < "u" ? window : {}, fe = Xt.document || { head: {} }, Pe = Xt.HTMLElement || class {
|
|
565
565
|
}, ee = {
|
|
566
566
|
$flags$: 0,
|
|
567
567
|
$resourcesUrl$: "",
|
|
@@ -594,7 +594,7 @@ const R = (n, e, ...t) => {
|
|
|
594
594
|
try {
|
|
595
595
|
n[e](performance.now());
|
|
596
596
|
} catch (t) {
|
|
597
|
-
|
|
597
|
+
bt(t);
|
|
598
598
|
}
|
|
599
599
|
n.length = 0;
|
|
600
600
|
}, wr = () => {
|
|
@@ -831,7 +831,7 @@ function Vi(n, e) {
|
|
|
831
831
|
case "utf8":
|
|
832
832
|
case "utf-8":
|
|
833
833
|
case void 0:
|
|
834
|
-
return
|
|
834
|
+
return Ft(n).length;
|
|
835
835
|
case "ucs2":
|
|
836
836
|
case "ucs-2":
|
|
837
837
|
case "utf16le":
|
|
@@ -842,7 +842,7 @@ function Vi(n, e) {
|
|
|
842
842
|
case "base64":
|
|
843
843
|
return nu(n).length;
|
|
844
844
|
default:
|
|
845
|
-
if (r) return
|
|
845
|
+
if (r) return Ft(n).length;
|
|
846
846
|
e = ("" + e).toLowerCase(), r = !0;
|
|
847
847
|
}
|
|
848
848
|
}
|
|
@@ -1002,7 +1002,7 @@ function F1(n, e, t, r) {
|
|
|
1002
1002
|
return o;
|
|
1003
1003
|
}
|
|
1004
1004
|
function j1(n, e, t, r) {
|
|
1005
|
-
return nr(
|
|
1005
|
+
return nr(Ft(e, n.length - t), n, t, r);
|
|
1006
1006
|
}
|
|
1007
1007
|
function Qi(n, e, t, r) {
|
|
1008
1008
|
return nr(tp(e), n, t, r);
|
|
@@ -1364,7 +1364,7 @@ x.prototype.fill = function(e, t, r, i) {
|
|
|
1364
1364
|
for (o = t; o < r; ++o)
|
|
1365
1365
|
this[o] = e;
|
|
1366
1366
|
else {
|
|
1367
|
-
var s = we(e) ? e :
|
|
1367
|
+
var s = we(e) ? e : Ft(new x(e, i).toString()), a = s.length;
|
|
1368
1368
|
for (o = 0; o < r - t; ++o)
|
|
1369
1369
|
this[o + t] = s[o % a];
|
|
1370
1370
|
}
|
|
@@ -1383,7 +1383,7 @@ function X1(n) {
|
|
|
1383
1383
|
function ep(n) {
|
|
1384
1384
|
return n < 16 ? "0" + n.toString(16) : n.toString(16);
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1386
|
+
function Ft(n, e) {
|
|
1387
1387
|
e = e || 1 / 0;
|
|
1388
1388
|
for (var t, r = n.length, i = null, u = [], o = 0; o < r; ++o) {
|
|
1389
1389
|
if (t = n.charCodeAt(o), t > 55295 && t < 57344) {
|
|
@@ -1624,13 +1624,13 @@ var op = { exports: {} };
|
|
|
1624
1624
|
}, b.format = function(y) {
|
|
1625
1625
|
var B = this, k = this.$locale();
|
|
1626
1626
|
if (!this.isValid()) return k.invalidDate || w;
|
|
1627
|
-
var S = y || "YYYY-MM-DDTHH:mm:ssZ", C = M.z(this), P = this.$H, q = this.$m, G = this.$M, Z = k.weekdays, Ce = k.months, Ee = function(re, Ae, cr,
|
|
1628
|
-
return re && (re[Ae] || re(B, S)) || cr[Ae].slice(0,
|
|
1627
|
+
var S = y || "YYYY-MM-DDTHH:mm:ssZ", C = M.z(this), P = this.$H, q = this.$m, G = this.$M, Z = k.weekdays, Ce = k.months, Ee = function(re, Ae, cr, xt) {
|
|
1628
|
+
return re && (re[Ae] || re(B, S)) || cr[Ae].slice(0, xt);
|
|
1629
1629
|
}, Qe = function(re) {
|
|
1630
1630
|
return M.s(P % 12 || 12, re, "0");
|
|
1631
1631
|
}, Xe = k.meridiem || function(re, Ae, cr) {
|
|
1632
|
-
var
|
|
1633
|
-
return cr ?
|
|
1632
|
+
var xt = re < 12 ? "AM" : "PM";
|
|
1633
|
+
return cr ? xt.toLowerCase() : xt;
|
|
1634
1634
|
}, Fe = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: G + 1, MM: M.s(G + 1, 2, "0"), MMM: Ee(k.monthsShort, G, Ce, 3), MMMM: Ee(Ce, G), D: this.$D, DD: M.s(this.$D, 2, "0"), d: String(this.$W), dd: Ee(k.weekdaysMin, this.$W, Z, 2), ddd: Ee(k.weekdaysShort, this.$W, Z, 3), dddd: Z[this.$W], H: String(P), HH: M.s(P, 2, "0"), h: Qe(1), hh: Qe(2), a: Xe(P, q, !0), A: Xe(P, q, !1), m: String(q), mm: M.s(q, 2, "0"), s: String(this.$s), ss: M.s(this.$s, 2, "0"), SSS: M.s(this.$ms, 3, "0"), Z: C };
|
|
1635
1635
|
return S.replace(T, function(re, Ae) {
|
|
1636
1636
|
return Ae || Fe[re] || C.replace(":", "");
|
|
@@ -1776,7 +1776,7 @@ var ap = function(n, e, t) {
|
|
|
1776
1776
|
for (var e = [], t = 0; t < n.length; t++)
|
|
1777
1777
|
e.push(Sr(n[t]));
|
|
1778
1778
|
return e;
|
|
1779
|
-
},
|
|
1779
|
+
}, lt = function(n) {
|
|
1780
1780
|
n.sort(function(e, t) {
|
|
1781
1781
|
return e.getTime() - t.getTime();
|
|
1782
1782
|
});
|
|
@@ -1883,7 +1883,7 @@ var jn = (
|
|
|
1883
1883
|
return this.iterator(t, this._result.length) ? (this._result.push(t), !0) : !1;
|
|
1884
1884
|
}, e;
|
|
1885
1885
|
}(We)
|
|
1886
|
-
),
|
|
1886
|
+
), jt = {
|
|
1887
1887
|
dayNames: [
|
|
1888
1888
|
"Sunday",
|
|
1889
1889
|
"Monday",
|
|
@@ -1961,7 +1961,7 @@ var jn = (
|
|
|
1961
1961
|
/** @class */
|
|
1962
1962
|
function() {
|
|
1963
1963
|
function n(e, t, r, i) {
|
|
1964
|
-
if (t === void 0 && (t = pp), r === void 0 && (r =
|
|
1964
|
+
if (t === void 0 && (t = pp), r === void 0 && (r = jt), i === void 0 && (i = gp), this.text = [], this.language = r || jt, this.gettext = t, this.dateFormatter = i, this.rrule = e, this.options = e.options, this.origOptions = e.origOptions, this.origOptions.bymonthday) {
|
|
1965
1965
|
var u = [].concat(this.options.bymonthday), o = [].concat(this.options.bynmonthday);
|
|
1966
1966
|
u.sort(function(c, f) {
|
|
1967
1967
|
return c - f;
|
|
@@ -2138,7 +2138,7 @@ var jn = (
|
|
|
2138
2138
|
}()
|
|
2139
2139
|
);
|
|
2140
2140
|
function fu(n, e) {
|
|
2141
|
-
e === void 0 && (e =
|
|
2141
|
+
e === void 0 && (e = jt);
|
|
2142
2142
|
var t = {}, r = new mp(e.tokens);
|
|
2143
2143
|
if (!r.start(n))
|
|
2144
2144
|
return null;
|
|
@@ -2350,7 +2350,7 @@ function tn(n) {
|
|
|
2350
2350
|
return n < U.HOURLY;
|
|
2351
2351
|
}
|
|
2352
2352
|
var bp = function(n, e) {
|
|
2353
|
-
return e === void 0 && (e =
|
|
2353
|
+
return e === void 0 && (e = jt), new D(fu(n, e) || void 0);
|
|
2354
2354
|
}, Ze = [
|
|
2355
2355
|
"count",
|
|
2356
2356
|
"until",
|
|
@@ -2368,7 +2368,7 @@ Be.IMPLEMENTED[U.MONTHLY] = Ze;
|
|
|
2368
2368
|
Be.IMPLEMENTED[U.YEARLY] = ["byweekno", "byyearday"].concat(Ze);
|
|
2369
2369
|
var yp = function(n, e, t, r) {
|
|
2370
2370
|
return new Be(n, e, t, r).toString();
|
|
2371
|
-
}, vp = Be.isFullyConvertible,
|
|
2371
|
+
}, vp = Be.isFullyConvertible, Yt = (
|
|
2372
2372
|
/** @class */
|
|
2373
2373
|
function() {
|
|
2374
2374
|
function n(e, t, r, i) {
|
|
@@ -2467,7 +2467,7 @@ var yp = function(n, e, t, r) {
|
|
|
2467
2467
|
return this.addSeconds(u, r, s, a, l);
|
|
2468
2468
|
}
|
|
2469
2469
|
}, e;
|
|
2470
|
-
}(
|
|
2470
|
+
}(Yt)
|
|
2471
2471
|
);
|
|
2472
2472
|
function hu(n) {
|
|
2473
2473
|
for (var e = [], t = Object.keys(n), r = 0, i = t; r < i.length; r++) {
|
|
@@ -2543,7 +2543,7 @@ function kp(n) {
|
|
|
2543
2543
|
return n.byhour.forEach(function(r) {
|
|
2544
2544
|
n.byminute.forEach(function(i) {
|
|
2545
2545
|
n.bysecond.forEach(function(u) {
|
|
2546
|
-
t.push(new
|
|
2546
|
+
t.push(new Yt(r, i, u, e));
|
|
2547
2547
|
});
|
|
2548
2548
|
});
|
|
2549
2549
|
}), t;
|
|
@@ -2555,7 +2555,7 @@ function Cr(n) {
|
|
|
2555
2555
|
});
|
|
2556
2556
|
return oe(oe({}, e[0]), e[1]);
|
|
2557
2557
|
}
|
|
2558
|
-
function
|
|
2558
|
+
function Ht(n) {
|
|
2559
2559
|
var e = {}, t = /DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(n);
|
|
2560
2560
|
if (!t)
|
|
2561
2561
|
return e;
|
|
@@ -2574,13 +2574,13 @@ function Ep(n) {
|
|
|
2574
2574
|
case "EXRULE":
|
|
2575
2575
|
return Hn(n);
|
|
2576
2576
|
case "DTSTART":
|
|
2577
|
-
return
|
|
2577
|
+
return Ht(n);
|
|
2578
2578
|
default:
|
|
2579
2579
|
throw new Error("Unsupported RFC prop ".concat(t, " in ").concat(n));
|
|
2580
2580
|
}
|
|
2581
2581
|
}
|
|
2582
2582
|
function Hn(n) {
|
|
2583
|
-
var e = n.replace(/^RRULE:/i, ""), t =
|
|
2583
|
+
var e = n.replace(/^RRULE:/i, ""), t = Ht(e), r = n.replace(/^(?:RRULE|EXRULE):/i, "").split(";");
|
|
2584
2584
|
return r.forEach(function(i) {
|
|
2585
2585
|
var u = i.split("="), o = u[0], s = u[1];
|
|
2586
2586
|
switch (o.toUpperCase()) {
|
|
@@ -2609,7 +2609,7 @@ function Hn(n) {
|
|
|
2609
2609
|
break;
|
|
2610
2610
|
case "DTSTART":
|
|
2611
2611
|
case "TZID":
|
|
2612
|
-
var c =
|
|
2612
|
+
var c = Ht(n);
|
|
2613
2613
|
t.tzid = c.tzid, t.dtstart = c.dtstart;
|
|
2614
2614
|
break;
|
|
2615
2615
|
case "UNTIL":
|
|
@@ -2645,7 +2645,7 @@ function Tp(n) {
|
|
|
2645
2645
|
return new te(o, i);
|
|
2646
2646
|
});
|
|
2647
2647
|
}
|
|
2648
|
-
var
|
|
2648
|
+
var qt = (
|
|
2649
2649
|
/** @class */
|
|
2650
2650
|
function() {
|
|
2651
2651
|
function n(e, t) {
|
|
@@ -2713,7 +2713,7 @@ function Ar(n) {
|
|
|
2713
2713
|
`);
|
|
2714
2714
|
}
|
|
2715
2715
|
function Sp(n, e) {
|
|
2716
|
-
return n ? "DTSTART" + new
|
|
2716
|
+
return n ? "DTSTART" + new qt(new Date(n), e).toString() : "";
|
|
2717
2717
|
}
|
|
2718
2718
|
function Bp(n, e) {
|
|
2719
2719
|
return Array.isArray(n) ? !Array.isArray(e) || n.length !== e.length ? !1 : n.every(function(t, r) {
|
|
@@ -2942,14 +2942,14 @@ var zp = (
|
|
|
2942
2942
|
var u = this, o = [];
|
|
2943
2943
|
return this.options.byminute.forEach(function(s) {
|
|
2944
2944
|
o = o.concat(u.mtimeset(e, s, r, i));
|
|
2945
|
-
}),
|
|
2945
|
+
}), lt(o), o;
|
|
2946
2946
|
}, n.prototype.mtimeset = function(e, t, r, i) {
|
|
2947
2947
|
var u = this.options.bysecond.map(function(o) {
|
|
2948
|
-
return new
|
|
2948
|
+
return new Yt(e, t, o, i);
|
|
2949
2949
|
});
|
|
2950
|
-
return
|
|
2950
|
+
return lt(u), u;
|
|
2951
2951
|
}, n.prototype.stimeset = function(e, t, r, i) {
|
|
2952
|
-
return [new
|
|
2952
|
+
return [new Yt(e, t, r, i)];
|
|
2953
2953
|
}, n.prototype.getdayset = function(e) {
|
|
2954
2954
|
switch (e) {
|
|
2955
2955
|
case U.YEARLY:
|
|
@@ -2988,7 +2988,7 @@ function Wp(n, e, t, r, i, u) {
|
|
|
2988
2988
|
var w = e[l], p = cu(i.yearordinal + g), T = du(p, w);
|
|
2989
2989
|
Y(o, T) || o.push(T);
|
|
2990
2990
|
}
|
|
2991
|
-
return
|
|
2991
|
+
return lt(o), o;
|
|
2992
2992
|
}
|
|
2993
2993
|
function pu(n, e) {
|
|
2994
2994
|
var t = e.dtstart, r = e.freq, i = e.interval, u = e.until, o = e.bysetpos, s = e.count;
|
|
@@ -3034,7 +3034,7 @@ function Gp(n, e, t) {
|
|
|
3034
3034
|
return J(r) && !Y(r, n.mmask[e]) || J(i) && !n.wnomask[e] || J(u) && !Y(u, n.wdaymask[e]) || J(n.nwdaymask) && !n.nwdaymask[e] || o !== null && !Y(n.eastermask, e) || (J(s) || J(a)) && !Y(s, n.mdaymask[e]) && !Y(a, n.nmdaymask[e]) || J(l) && (e < n.yearlen && !Y(l, e + 1) && !Y(l, -n.yearlen + e) || e >= n.yearlen && !Y(l, e + 1 - n.yearlen) && !Y(l, -n.nextyearlen + e - n.yearlen));
|
|
3035
3035
|
}
|
|
3036
3036
|
function Wn(n, e) {
|
|
3037
|
-
return new
|
|
3037
|
+
return new qt(n, e.tzid).rezonedDate();
|
|
3038
3038
|
}
|
|
3039
3039
|
function $e(n) {
|
|
3040
3040
|
return n.getValue();
|
|
@@ -3157,7 +3157,7 @@ function Zp(n, e, t, r, i, u) {
|
|
|
3157
3157
|
});
|
|
3158
3158
|
}
|
|
3159
3159
|
i.forEach(function(d) {
|
|
3160
|
-
var h = new
|
|
3160
|
+
var h = new qt(d, u).rezonedDate();
|
|
3161
3161
|
o[Number(h)] = !0;
|
|
3162
3162
|
}), n.accept = function(d) {
|
|
3163
3163
|
var h = Number(d);
|
|
@@ -3167,7 +3167,7 @@ function Zp(n, e, t, r, i, u) {
|
|
|
3167
3167
|
return o[h] ? !0 : (o[h] = !0, s.call(this, d));
|
|
3168
3168
|
});
|
|
3169
3169
|
for (var l = 0; l < r.length; l++) {
|
|
3170
|
-
var c = new
|
|
3170
|
+
var c = new qt(r[l], u).rezonedDate();
|
|
3171
3171
|
if (!n.accept(new Date(c.getTime())))
|
|
3172
3172
|
break;
|
|
3173
3173
|
}
|
|
@@ -3175,7 +3175,7 @@ function Zp(n, e, t, r, i, u) {
|
|
|
3175
3175
|
pu(n, d.options);
|
|
3176
3176
|
});
|
|
3177
3177
|
var f = n._result;
|
|
3178
|
-
switch (
|
|
3178
|
+
switch (lt(f), n.method) {
|
|
3179
3179
|
case "all":
|
|
3180
3180
|
case "between":
|
|
3181
3181
|
return f;
|
|
@@ -3195,7 +3195,7 @@ var Gn = {
|
|
|
3195
3195
|
tzid: null
|
|
3196
3196
|
};
|
|
3197
3197
|
function Qp(n, e) {
|
|
3198
|
-
var t = [], r = [], i = [], u = [], o =
|
|
3198
|
+
var t = [], r = [], i = [], u = [], o = Ht(n), s = o.dtstart, a = o.tzid, l = ng(n, e.unfold);
|
|
3199
3199
|
return l.forEach(function(c) {
|
|
3200
3200
|
var f;
|
|
3201
3201
|
if (c) {
|
|
@@ -3394,7 +3394,7 @@ function Zn(n, e) {
|
|
|
3394
3394
|
function Qn(n, e) {
|
|
3395
3395
|
if (!(n instanceof Date))
|
|
3396
3396
|
throw new TypeError(String(n) + " is not Date instance");
|
|
3397
|
-
Y(e.map(Number), Number(n)) || (e.push(n),
|
|
3397
|
+
Y(e.map(Number), Number(n)) || (e.push(n), lt(e));
|
|
3398
3398
|
}
|
|
3399
3399
|
function Xn(n, e, t) {
|
|
3400
3400
|
var r = !t || t.toUpperCase() === "UTC", i = r ? "".concat(n, ":") : "".concat(n, ";TZID=").concat(t, ":"), u = e.map(function(o) {
|
|
@@ -3417,7 +3417,7 @@ const og = {
|
|
|
3417
3417
|
console && console[n] && console[n].apply(console, e);
|
|
3418
3418
|
}
|
|
3419
3419
|
};
|
|
3420
|
-
class
|
|
3420
|
+
class zt {
|
|
3421
3421
|
constructor(e) {
|
|
3422
3422
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3423
3423
|
this.init(e, t);
|
|
@@ -3450,16 +3450,16 @@ class qt {
|
|
|
3450
3450
|
return i && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${r}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
3451
3451
|
}
|
|
3452
3452
|
create(e) {
|
|
3453
|
-
return new
|
|
3453
|
+
return new zt(this.logger, {
|
|
3454
3454
|
prefix: `${this.prefix}:${e}:`,
|
|
3455
3455
|
...this.options
|
|
3456
3456
|
});
|
|
3457
3457
|
}
|
|
3458
3458
|
clone(e) {
|
|
3459
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
3459
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new zt(this.logger, e);
|
|
3460
3460
|
}
|
|
3461
3461
|
}
|
|
3462
|
-
var xe = new
|
|
3462
|
+
var xe = new zt();
|
|
3463
3463
|
class ir {
|
|
3464
3464
|
constructor() {
|
|
3465
3465
|
this.observers = {};
|
|
@@ -3550,7 +3550,7 @@ function lg(n, e, t, r) {
|
|
|
3550
3550
|
} = ut(n, e, Object);
|
|
3551
3551
|
i[u] = i[u] || [], i[u].push(t);
|
|
3552
3552
|
}
|
|
3553
|
-
function
|
|
3553
|
+
function Wt(n, e) {
|
|
3554
3554
|
const {
|
|
3555
3555
|
obj: t,
|
|
3556
3556
|
k: r
|
|
@@ -3559,8 +3559,8 @@ function zt(n, e) {
|
|
|
3559
3559
|
return t[r];
|
|
3560
3560
|
}
|
|
3561
3561
|
function cg(n, e, t) {
|
|
3562
|
-
const r =
|
|
3563
|
-
return r !== void 0 ? r :
|
|
3562
|
+
const r = Wt(n, t);
|
|
3563
|
+
return r !== void 0 ? r : Wt(e, t);
|
|
3564
3564
|
}
|
|
3565
3565
|
function gu(n, e, t) {
|
|
3566
3566
|
for (const r in e)
|
|
@@ -3627,7 +3627,7 @@ function Or(n, e) {
|
|
|
3627
3627
|
}
|
|
3628
3628
|
return i;
|
|
3629
3629
|
}
|
|
3630
|
-
function
|
|
3630
|
+
function Gt(n) {
|
|
3631
3631
|
return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
|
|
3632
3632
|
}
|
|
3633
3633
|
class ri extends ir {
|
|
@@ -3650,7 +3650,7 @@ class ri extends ir {
|
|
|
3650
3650
|
const u = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, o = i.ignoreJSONStructure !== void 0 ? i.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
3651
3651
|
let s;
|
|
3652
3652
|
e.indexOf(".") > -1 ? s = e.split(".") : (s = [e, t], r && (Array.isArray(r) ? s.push(...r) : typeof r == "string" && u ? s.push(...r.split(u)) : s.push(r)));
|
|
3653
|
-
const a =
|
|
3653
|
+
const a = Wt(this.data, s);
|
|
3654
3654
|
return !a && !t && !r && e.indexOf(".") > -1 && (e = s[0], t = s[1], r = s.slice(2).join(".")), a || !o || typeof r != "string" ? a : Or(this.data && this.data[e] && this.data[e][t], r, u);
|
|
3655
3655
|
}
|
|
3656
3656
|
addResource(e, t, r, i) {
|
|
@@ -3677,7 +3677,7 @@ class ri extends ir {
|
|
|
3677
3677
|
skipCopy: !1
|
|
3678
3678
|
}, s = [e, t];
|
|
3679
3679
|
e.indexOf(".") > -1 && (s = e.split("."), i = r, r = t, t = s[1]), this.addNamespaces(t);
|
|
3680
|
-
let a =
|
|
3680
|
+
let a = Wt(this.data, s) || {};
|
|
3681
3681
|
o.skipCopy || (r = JSON.parse(JSON.stringify(r))), i ? gu(a, r, u) : a = {
|
|
3682
3682
|
...a,
|
|
3683
3683
|
...r
|
|
@@ -3717,7 +3717,7 @@ var mu = {
|
|
|
3717
3717
|
}
|
|
3718
3718
|
};
|
|
3719
3719
|
const ni = {};
|
|
3720
|
-
class
|
|
3720
|
+
class Kt extends ir {
|
|
3721
3721
|
constructor(e) {
|
|
3722
3722
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3723
3723
|
super(), sg(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = xe.create("translator");
|
|
@@ -3814,7 +3814,7 @@ class Gt extends ir {
|
|
|
3814
3814
|
d = d.join(T), d && (d = this.extendTranslation(d, e, t, r));
|
|
3815
3815
|
else {
|
|
3816
3816
|
let A = !1, L = !1;
|
|
3817
|
-
const I = t.count !== void 0 && typeof t.count != "string", F =
|
|
3817
|
+
const I = t.count !== void 0 && typeof t.count != "string", F = Kt.hasDefaultValue(t), W = I ? this.pluralResolver.getSuffix(l, t.count, t) : "", N = t.ordinal && I ? this.pluralResolver.getSuffix(l, t.count, {
|
|
3818
3818
|
ordinal: !1
|
|
3819
3819
|
}) : "", M = I && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = M && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${W}`] || t[`defaultValue${N}`] || t.defaultValue;
|
|
3820
3820
|
!this.isValidLookup(d) && F && (A = !0, d = m), this.isValidLookup(d) || (L = !0, d = o);
|
|
@@ -3971,12 +3971,12 @@ class ii {
|
|
|
3971
3971
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = xe.create("languageUtils");
|
|
3972
3972
|
}
|
|
3973
3973
|
getScriptPartFromCode(e) {
|
|
3974
|
-
if (e =
|
|
3974
|
+
if (e = Gt(e), !e || e.indexOf("-") < 0) return null;
|
|
3975
3975
|
const t = e.split("-");
|
|
3976
3976
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
3977
3977
|
}
|
|
3978
3978
|
getLanguagePartFromCode(e) {
|
|
3979
|
-
if (e =
|
|
3979
|
+
if (e = Gt(e), !e || e.indexOf("-") < 0) return e;
|
|
3980
3980
|
const t = e.split("-");
|
|
3981
3981
|
return this.formatLanguageCode(t[0]);
|
|
3982
3982
|
}
|
|
@@ -4216,7 +4216,7 @@ class kg {
|
|
|
4216
4216
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4217
4217
|
if (this.shouldUseIntlApi())
|
|
4218
4218
|
try {
|
|
4219
|
-
return new Intl.PluralRules(
|
|
4219
|
+
return new Intl.PluralRules(Gt(e === "dev" ? "en" : e), {
|
|
4220
4220
|
type: t.ordinal ? "ordinal" : "cardinal"
|
|
4221
4221
|
});
|
|
4222
4222
|
} catch {
|
|
@@ -4410,7 +4410,7 @@ function He(n) {
|
|
|
4410
4410
|
return function(r, i, u) {
|
|
4411
4411
|
const o = i + JSON.stringify(u);
|
|
4412
4412
|
let s = e[o];
|
|
4413
|
-
return s || (s = n(
|
|
4413
|
+
return s || (s = n(Gt(i), u), e[o] = s), s(r);
|
|
4414
4414
|
};
|
|
4415
4415
|
}
|
|
4416
4416
|
class Tg {
|
|
@@ -4688,14 +4688,14 @@ function si() {
|
|
|
4688
4688
|
function ai(n) {
|
|
4689
4689
|
return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
|
|
4690
4690
|
}
|
|
4691
|
-
function
|
|
4691
|
+
function kt() {
|
|
4692
4692
|
}
|
|
4693
4693
|
function Cg(n) {
|
|
4694
4694
|
Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
|
|
4695
4695
|
typeof n[t] == "function" && (n[t] = n[t].bind(n));
|
|
4696
4696
|
});
|
|
4697
4697
|
}
|
|
4698
|
-
class
|
|
4698
|
+
class ct extends ir {
|
|
4699
4699
|
constructor() {
|
|
4700
4700
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
4701
4701
|
if (super(), this.options = ai(e), this.services = {}, this.logger = xe, this.modules = {
|
|
@@ -4741,7 +4741,7 @@ class lt extends ir {
|
|
|
4741
4741
|
for (var g = arguments.length, w = new Array(g > 1 ? g - 1 : 0), p = 1; p < g; p++)
|
|
4742
4742
|
w[p - 1] = arguments[p];
|
|
4743
4743
|
e.emit(h, ...w);
|
|
4744
|
-
}), this.modules.languageDetector && (d.languageDetector = u(this.modules.languageDetector), d.languageDetector.init && d.languageDetector.init(d, this.options.detection, this.options)), this.modules.i18nFormat && (d.i18nFormat = u(this.modules.i18nFormat), d.i18nFormat.init && d.i18nFormat.init(this)), this.translator = new
|
|
4744
|
+
}), this.modules.languageDetector && (d.languageDetector = u(this.modules.languageDetector), d.languageDetector.init && d.languageDetector.init(d, this.options.detection, this.options)), this.modules.i18nFormat && (d.i18nFormat = u(this.modules.i18nFormat), d.i18nFormat.init && d.i18nFormat.init(this)), this.translator = new Kt(this.services, this.options), this.translator.on("*", function(h) {
|
|
4745
4745
|
for (var g = arguments.length, w = new Array(g > 1 ? g - 1 : 0), p = 1; p < g; p++)
|
|
4746
4746
|
w[p - 1] = arguments[p];
|
|
4747
4747
|
e.emit(h, ...w);
|
|
@@ -4749,7 +4749,7 @@ class lt extends ir {
|
|
|
4749
4749
|
h.init && h.init(this);
|
|
4750
4750
|
});
|
|
4751
4751
|
}
|
|
4752
|
-
if (this.format = this.options.interpolation.format, r || (r =
|
|
4752
|
+
if (this.format = this.options.interpolation.format, r || (r = kt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
4753
4753
|
const c = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
4754
4754
|
c.length > 0 && c[0] !== "dev" && (this.options.lng = c[0]);
|
|
4755
4755
|
}
|
|
@@ -4772,7 +4772,7 @@ class lt extends ir {
|
|
|
4772
4772
|
return this.options.resources || !this.options.initImmediate ? l() : setTimeout(l, 0), a;
|
|
4773
4773
|
}
|
|
4774
4774
|
loadResources(e) {
|
|
4775
|
-
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
4775
|
+
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : kt;
|
|
4776
4776
|
const i = typeof e == "string" ? e : this.language;
|
|
4777
4777
|
if (typeof e == "function" && (r = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
4778
4778
|
if (i && i.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
|
|
@@ -4790,7 +4790,7 @@ class lt extends ir {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
reloadResources(e, t, r) {
|
|
4792
4792
|
const i = et();
|
|
4793
|
-
return e || (e = this.languages), t || (t = this.options.ns), r || (r =
|
|
4793
|
+
return e || (e = this.languages), t || (t = this.options.ns), r || (r = kt), this.services.backendConnector.reload(e, t, (u) => {
|
|
4794
4794
|
i.resolve(), r(u);
|
|
4795
4795
|
}), i;
|
|
4796
4796
|
}
|
|
@@ -4900,24 +4900,24 @@ class lt extends ir {
|
|
|
4900
4900
|
}
|
|
4901
4901
|
static createInstance() {
|
|
4902
4902
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
4903
|
-
return new
|
|
4903
|
+
return new ct(e, t);
|
|
4904
4904
|
}
|
|
4905
4905
|
cloneInstance() {
|
|
4906
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
4906
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : kt;
|
|
4907
4907
|
const r = e.forkResourceStore;
|
|
4908
4908
|
r && delete e.forkResourceStore;
|
|
4909
4909
|
const i = {
|
|
4910
4910
|
...this.options,
|
|
4911
4911
|
...e,
|
|
4912
4912
|
isClone: !0
|
|
4913
|
-
}, u = new
|
|
4913
|
+
}, u = new ct(i);
|
|
4914
4914
|
return (e.debug !== void 0 || e.prefix !== void 0) && (u.logger = u.logger.clone(e)), ["store", "services", "language"].forEach((s) => {
|
|
4915
4915
|
u[s] = this[s];
|
|
4916
4916
|
}), u.services = {
|
|
4917
4917
|
...this.services
|
|
4918
4918
|
}, u.services.utils = {
|
|
4919
4919
|
hasLoadedNamespace: u.hasLoadedNamespace.bind(u)
|
|
4920
|
-
}, r && (u.store = new ri(this.store.data, i), u.services.resourceStore = u.store), u.translator = new
|
|
4920
|
+
}, r && (u.store = new ri(this.store.data, i), u.services.resourceStore = u.store), u.translator = new Kt(u.services, i), u.translator.on("*", function(s) {
|
|
4921
4921
|
for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
|
|
4922
4922
|
l[c - 1] = arguments[c];
|
|
4923
4923
|
u.emit(s, ...l);
|
|
@@ -4935,8 +4935,8 @@ class lt extends ir {
|
|
|
4935
4935
|
};
|
|
4936
4936
|
}
|
|
4937
4937
|
}
|
|
4938
|
-
const bu =
|
|
4939
|
-
bu.createInstance =
|
|
4938
|
+
const bu = ct.createInstance();
|
|
4939
|
+
bu.createInstance = ct.createInstance;
|
|
4940
4940
|
const yu = "No date selected", vu = "Choose another time slot to reschedule your meeting", xu = {
|
|
4941
4941
|
sunday: "SUN",
|
|
4942
4942
|
monday: "MON",
|
|
@@ -6640,9 +6640,9 @@ const Gg = {}, Kg = /* @__PURE__ */ Object.freeze({
|
|
|
6640
6640
|
default: Gg
|
|
6641
6641
|
}), ge = /* @__PURE__ */ uu(Kg);
|
|
6642
6642
|
let pi = on.exports, gi = ge;
|
|
6643
|
-
class
|
|
6643
|
+
class dt extends Error {
|
|
6644
6644
|
constructor(e, t, r, i, u, o) {
|
|
6645
|
-
super(e), this.name = "CssSyntaxError", this.reason = e, u && (this.file = u), i && (this.source = i), o && (this.plugin = o), typeof t < "u" && typeof r < "u" && (typeof t == "number" ? (this.line = t, this.column = r) : (this.line = t.line, this.column = t.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this,
|
|
6645
|
+
super(e), this.name = "CssSyntaxError", this.reason = e, u && (this.file = u), i && (this.source = i), o && (this.plugin = o), typeof t < "u" && typeof r < "u" && (typeof t == "number" ? (this.line = t, this.column = r) : (this.line = t.line, this.column = t.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, dt);
|
|
6646
6646
|
}
|
|
6647
6647
|
setMessage() {
|
|
6648
6648
|
this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason;
|
|
@@ -6676,11 +6676,11 @@ class ct extends Error {
|
|
|
6676
6676
|
`), this.name + ": " + this.message + e;
|
|
6677
6677
|
}
|
|
6678
6678
|
}
|
|
6679
|
-
var sn =
|
|
6680
|
-
|
|
6681
|
-
var
|
|
6682
|
-
|
|
6683
|
-
|
|
6679
|
+
var sn = dt;
|
|
6680
|
+
dt.default = dt;
|
|
6681
|
+
var yt = {};
|
|
6682
|
+
yt.isClean = Symbol("isClean");
|
|
6683
|
+
yt.my = Symbol("my");
|
|
6684
6684
|
const mi = {
|
|
6685
6685
|
colon: ": ",
|
|
6686
6686
|
indent: " ",
|
|
@@ -6876,7 +6876,7 @@ function Mr(n, e) {
|
|
|
6876
6876
|
}
|
|
6877
6877
|
var ur = Mr;
|
|
6878
6878
|
Mr.default = Mr;
|
|
6879
|
-
let { isClean:
|
|
6879
|
+
let { isClean: Et, my: Zg } = yt, Qg = sn, Xg = sh, em = ur;
|
|
6880
6880
|
function Ir(n, e) {
|
|
6881
6881
|
let t = new n.constructor();
|
|
6882
6882
|
for (let r in n) {
|
|
@@ -6888,7 +6888,7 @@ function Ir(n, e) {
|
|
|
6888
6888
|
}
|
|
6889
6889
|
class Pr {
|
|
6890
6890
|
constructor(e = {}) {
|
|
6891
|
-
this.raws = {}, this[
|
|
6891
|
+
this.raws = {}, this[Et] = !1, this[Zg] = !0;
|
|
6892
6892
|
for (let t in e)
|
|
6893
6893
|
if (t === "nodes") {
|
|
6894
6894
|
this.nodes = [];
|
|
@@ -7069,11 +7069,11 @@ class Pr {
|
|
|
7069
7069
|
return e;
|
|
7070
7070
|
}
|
|
7071
7071
|
markDirty() {
|
|
7072
|
-
if (this[
|
|
7073
|
-
this[
|
|
7072
|
+
if (this[Et]) {
|
|
7073
|
+
this[Et] = !1;
|
|
7074
7074
|
let e = this;
|
|
7075
7075
|
for (; e = e.parent; )
|
|
7076
|
-
e[
|
|
7076
|
+
e[Et] = !1;
|
|
7077
7077
|
}
|
|
7078
7078
|
}
|
|
7079
7079
|
get proxyOf() {
|
|
@@ -7192,8 +7192,8 @@ class Nr {
|
|
|
7192
7192
|
}
|
|
7193
7193
|
var ah = Nr;
|
|
7194
7194
|
Nr.default = Nr;
|
|
7195
|
-
let { SourceMapConsumer: dm, SourceMapGenerator: fm } = ge, { fileURLToPath: vi, pathToFileURL:
|
|
7196
|
-
class
|
|
7195
|
+
let { SourceMapConsumer: dm, SourceMapGenerator: fm } = ge, { fileURLToPath: vi, pathToFileURL: $t } = ge, { resolve: _r, isAbsolute: Ur } = ge, { nanoid: hm } = om, gr = ge, xi = sn, pm = ah, mr = Symbol("fromOffsetCache"), gm = !!(dm && fm), wi = !!(_r && Ur);
|
|
7196
|
+
class Jt {
|
|
7197
7197
|
constructor(e, t = {}) {
|
|
7198
7198
|
if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
|
|
7199
7199
|
throw new Error(`PostCSS received ${e} instead of CSS string`);
|
|
@@ -7274,7 +7274,7 @@ class Kt {
|
|
|
7274
7274
|
this.css,
|
|
7275
7275
|
this.file,
|
|
7276
7276
|
i.plugin
|
|
7277
|
-
), u.input = { line: t, column: r, endLine: o, endColumn: s, source: this.css }, this.file && (
|
|
7277
|
+
), u.input = { line: t, column: r, endLine: o, endColumn: s, source: this.css }, this.file && ($t && (u.input.url = $t(this.file).toString()), u.input.file = this.file), u;
|
|
7278
7278
|
}
|
|
7279
7279
|
origin(e, t, r, i) {
|
|
7280
7280
|
if (!this.map) return !1;
|
|
@@ -7283,9 +7283,9 @@ class Kt {
|
|
|
7283
7283
|
let s;
|
|
7284
7284
|
typeof r == "number" && (s = u.originalPositionFor({ line: r, column: i }));
|
|
7285
7285
|
let a;
|
|
7286
|
-
Ur(o.source) ? a =
|
|
7286
|
+
Ur(o.source) ? a = $t(o.source) : a = new URL(
|
|
7287
7287
|
o.source,
|
|
7288
|
-
this.map.consumer().sourceRoot ||
|
|
7288
|
+
this.map.consumer().sourceRoot || $t(this.map.mapFile)
|
|
7289
7289
|
);
|
|
7290
7290
|
let l = {
|
|
7291
7291
|
url: a.toString(),
|
|
@@ -7315,10 +7315,10 @@ class Kt {
|
|
|
7315
7315
|
return this.map && (e.map = { ...this.map }, e.map.consumerCache && (e.map.consumerCache = void 0)), e;
|
|
7316
7316
|
}
|
|
7317
7317
|
}
|
|
7318
|
-
var ar =
|
|
7319
|
-
|
|
7320
|
-
gr && gr.registerInput && gr.registerInput(
|
|
7321
|
-
let { SourceMapConsumer: lh, SourceMapGenerator:
|
|
7318
|
+
var ar = Jt;
|
|
7319
|
+
Jt.default = Jt;
|
|
7320
|
+
gr && gr.registerInput && gr.registerInput(Jt);
|
|
7321
|
+
let { SourceMapConsumer: lh, SourceMapGenerator: It } = ge, { dirname: Pt, resolve: ch, relative: dh, sep: fh } = ge, { pathToFileURL: ki } = ge, mm = ar, bm = !!(lh && It), ym = !!(Pt && ch && dh && fh);
|
|
7322
7322
|
class vm {
|
|
7323
7323
|
constructor(e, t, r, i) {
|
|
7324
7324
|
this.stringify = e, this.mapOpts = r.map || {}, this.root = t, this.opts = r, this.css = i, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute;
|
|
@@ -7378,7 +7378,7 @@ class vm {
|
|
|
7378
7378
|
}
|
|
7379
7379
|
applyPrevMaps() {
|
|
7380
7380
|
for (let e of this.previous()) {
|
|
7381
|
-
let t = this.toUrl(this.path(e.file)), r = e.root ||
|
|
7381
|
+
let t = this.toUrl(this.path(e.file)), r = e.root || Pt(e.file), i;
|
|
7382
7382
|
this.mapOpts.sourcesContent === !1 ? (i = new lh(e.text), i.sourcesContent && (i.sourcesContent = i.sourcesContent.map(() => null))) : i = e.consumer(), this.map.applySourceMap(i, t, this.toUrl(this.path(r)));
|
|
7383
7383
|
}
|
|
7384
7384
|
}
|
|
@@ -7405,9 +7405,9 @@ class vm {
|
|
|
7405
7405
|
this.generateString();
|
|
7406
7406
|
else if (this.previous().length === 1) {
|
|
7407
7407
|
let e = this.previous()[0].consumer();
|
|
7408
|
-
e.file = this.outputFile(), this.map =
|
|
7408
|
+
e.file = this.outputFile(), this.map = It.fromSourceMap(e);
|
|
7409
7409
|
} else
|
|
7410
|
-
this.map = new
|
|
7410
|
+
this.map = new It({ file: this.outputFile() }), this.map.addMapping({
|
|
7411
7411
|
source: this.opts.from ? this.toUrl(this.path(this.opts.from)) : "<no source>",
|
|
7412
7412
|
generated: { line: 1, column: 0 },
|
|
7413
7413
|
original: { line: 1, column: 0 }
|
|
@@ -7416,8 +7416,8 @@ class vm {
|
|
|
7416
7416
|
}
|
|
7417
7417
|
path(e) {
|
|
7418
7418
|
if (e.indexOf("<") === 0 || /^\w+:\/\//.test(e) || this.mapOpts.absolute) return e;
|
|
7419
|
-
let t = this.opts.to ?
|
|
7420
|
-
return typeof this.mapOpts.annotation == "string" && (t =
|
|
7419
|
+
let t = this.opts.to ? Pt(this.opts.to) : ".";
|
|
7420
|
+
return typeof this.mapOpts.annotation == "string" && (t = Pt(ch(t, this.mapOpts.annotation))), e = dh(t, e), e;
|
|
7421
7421
|
}
|
|
7422
7422
|
toUrl(e) {
|
|
7423
7423
|
return fh === "\\" && (e = e.replace(/\\/g, "/")), encodeURI(e).replace(/[#?]/g, encodeURIComponent);
|
|
@@ -7433,7 +7433,7 @@ class vm {
|
|
|
7433
7433
|
return this.mapOpts.from ? this.toUrl(this.mapOpts.from) : this.usesFileUrls ? this.toFileUrl(e.source.input.from) : this.toUrl(this.path(e.source.input.from));
|
|
7434
7434
|
}
|
|
7435
7435
|
generateString() {
|
|
7436
|
-
this.css = "", this.map = new
|
|
7436
|
+
this.css = "", this.map = new It({ file: this.outputFile() });
|
|
7437
7437
|
let e = 1, t = 1, r = "<no source>", i = {
|
|
7438
7438
|
source: "",
|
|
7439
7439
|
generated: { line: 0, column: 0 },
|
|
@@ -7467,7 +7467,7 @@ class Fr extends xm {
|
|
|
7467
7467
|
}
|
|
7468
7468
|
var lr = Fr;
|
|
7469
7469
|
Fr.default = Fr;
|
|
7470
|
-
let { isClean: ph, my: gh } =
|
|
7470
|
+
let { isClean: ph, my: gh } = yt, mh = sr, bh = lr, wm = or, yh, an, ln, vh;
|
|
7471
7471
|
function xh(n) {
|
|
7472
7472
|
return n.map((e) => (e.nodes && (e.nodes = xh(e.nodes)), delete e.source, e));
|
|
7473
7473
|
}
|
|
@@ -7679,7 +7679,7 @@ pe.rebuild = (n) => {
|
|
|
7679
7679
|
});
|
|
7680
7680
|
};
|
|
7681
7681
|
let km = Ue, kh, Eh;
|
|
7682
|
-
class
|
|
7682
|
+
class ft extends km {
|
|
7683
7683
|
constructor(e) {
|
|
7684
7684
|
super({ type: "document", ...e }), this.nodes || (this.nodes = []);
|
|
7685
7685
|
}
|
|
@@ -7687,14 +7687,14 @@ class dt extends km {
|
|
|
7687
7687
|
return new kh(new Eh(), this, e).stringify();
|
|
7688
7688
|
}
|
|
7689
7689
|
}
|
|
7690
|
-
|
|
7690
|
+
ft.registerLazyResult = (n) => {
|
|
7691
7691
|
kh = n;
|
|
7692
7692
|
};
|
|
7693
|
-
|
|
7693
|
+
ft.registerProcessor = (n) => {
|
|
7694
7694
|
Eh = n;
|
|
7695
7695
|
};
|
|
7696
|
-
var cn =
|
|
7697
|
-
|
|
7696
|
+
var cn = ft;
|
|
7697
|
+
ft.default = ft;
|
|
7698
7698
|
class jr {
|
|
7699
7699
|
constructor(e, t = {}) {
|
|
7700
7700
|
if (this.type = "warning", this.text = e, t.node && t.node.source) {
|
|
@@ -7735,7 +7735,7 @@ class Yr {
|
|
|
7735
7735
|
}
|
|
7736
7736
|
var dn = Yr;
|
|
7737
7737
|
Yr.default = Yr;
|
|
7738
|
-
const br = 39, Ei = 34,
|
|
7738
|
+
const br = 39, Ei = 34, Tt = 92, $i = 47, St = 10, tt = 32, Bt = 12, Ct = 9, At = 13, $m = 91, Tm = 93, Sm = 40, Bm = 41, Cm = 123, Am = 125, Om = 59, Dm = 42, Rm = 58, Mm = 64, Ot = /[\t\n\f\r "#'()/;[\\\]{}]/g, Dt = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Im = /.[\n"'(/\\]/, Ti = /[\da-f]/i;
|
|
7739
7739
|
var Pm = function(e, t = {}) {
|
|
7740
7740
|
let r = e.css.valueOf(), i = t.ignoreErrors, u, o, s, a, l, c, f, d, h, g, w = r.length, p = 0, T = [], O = [];
|
|
7741
7741
|
function H() {
|
|
@@ -7752,15 +7752,15 @@ var Pm = function(e, t = {}) {
|
|
|
7752
7752
|
if (p >= w) return;
|
|
7753
7753
|
let N = W ? W.ignoreUnclosed : !1;
|
|
7754
7754
|
switch (u = r.charCodeAt(p), u) {
|
|
7755
|
-
case
|
|
7755
|
+
case St:
|
|
7756
7756
|
case tt:
|
|
7757
|
-
case Bt:
|
|
7758
7757
|
case Ct:
|
|
7759
|
-
case
|
|
7758
|
+
case At:
|
|
7759
|
+
case Bt: {
|
|
7760
7760
|
o = p;
|
|
7761
7761
|
do
|
|
7762
7762
|
o += 1, u = r.charCodeAt(o);
|
|
7763
|
-
while (u === tt || u ===
|
|
7763
|
+
while (u === tt || u === St || u === Ct || u === At || u === Bt);
|
|
7764
7764
|
g = ["space", r.slice(p, o)], p = o - 1;
|
|
7765
7765
|
break;
|
|
7766
7766
|
}
|
|
@@ -7776,7 +7776,7 @@ var Pm = function(e, t = {}) {
|
|
|
7776
7776
|
break;
|
|
7777
7777
|
}
|
|
7778
7778
|
case Sm: {
|
|
7779
|
-
if (d = T.length ? T.pop()[1] : "", h = r.charCodeAt(p + 1), d === "url" && h !== br && h !== Ei && h !== tt && h !==
|
|
7779
|
+
if (d = T.length ? T.pop()[1] : "", h = r.charCodeAt(p + 1), d === "url" && h !== br && h !== Ei && h !== tt && h !== St && h !== Ct && h !== Bt && h !== At) {
|
|
7780
7780
|
o = p;
|
|
7781
7781
|
do {
|
|
7782
7782
|
if (c = !1, o = r.indexOf(")", o + 1), o === -1)
|
|
@@ -7785,7 +7785,7 @@ var Pm = function(e, t = {}) {
|
|
|
7785
7785
|
break;
|
|
7786
7786
|
} else
|
|
7787
7787
|
A("bracket");
|
|
7788
|
-
for (f = o; r.charCodeAt(f - 1) ===
|
|
7788
|
+
for (f = o; r.charCodeAt(f - 1) === Tt; )
|
|
7789
7789
|
f -= 1, c = !c;
|
|
7790
7790
|
} while (c);
|
|
7791
7791
|
g = ["brackets", r.slice(p, o + 1), p, o], p = o;
|
|
@@ -7803,20 +7803,20 @@ var Pm = function(e, t = {}) {
|
|
|
7803
7803
|
break;
|
|
7804
7804
|
} else
|
|
7805
7805
|
A("string");
|
|
7806
|
-
for (f = o; r.charCodeAt(f - 1) ===
|
|
7806
|
+
for (f = o; r.charCodeAt(f - 1) === Tt; )
|
|
7807
7807
|
f -= 1, c = !c;
|
|
7808
7808
|
} while (c);
|
|
7809
7809
|
g = ["string", r.slice(p, o + 1), p, o], p = o;
|
|
7810
7810
|
break;
|
|
7811
7811
|
}
|
|
7812
7812
|
case Mm: {
|
|
7813
|
-
|
|
7813
|
+
Ot.lastIndex = p + 1, Ot.test(r), Ot.lastIndex === 0 ? o = r.length - 1 : o = Ot.lastIndex - 2, g = ["at-word", r.slice(p, o + 1), p, o], p = o;
|
|
7814
7814
|
break;
|
|
7815
7815
|
}
|
|
7816
|
-
case
|
|
7817
|
-
for (o = p, l = !0; r.charCodeAt(o + 1) ===
|
|
7816
|
+
case Tt: {
|
|
7817
|
+
for (o = p, l = !0; r.charCodeAt(o + 1) === Tt; )
|
|
7818
7818
|
o += 1, l = !l;
|
|
7819
|
-
if (u = r.charCodeAt(o + 1), l && u !== $i && u !== tt && u !==
|
|
7819
|
+
if (u = r.charCodeAt(o + 1), l && u !== $i && u !== tt && u !== St && u !== Ct && u !== At && u !== Bt && (o += 1, Ti.test(r.charAt(o)))) {
|
|
7820
7820
|
for (; Ti.test(r.charAt(o + 1)); )
|
|
7821
7821
|
o += 1;
|
|
7822
7822
|
r.charCodeAt(o + 1) === tt && (o += 1);
|
|
@@ -7825,7 +7825,7 @@ var Pm = function(e, t = {}) {
|
|
|
7825
7825
|
break;
|
|
7826
7826
|
}
|
|
7827
7827
|
default: {
|
|
7828
|
-
u === $i && r.charCodeAt(p + 1) === Dm ? (o = r.indexOf("*/", p + 2) + 1, o === 0 && (i || N ? o = r.length : A("comment")), g = ["comment", r.slice(p, o + 1), p, o], p = o) : (
|
|
7828
|
+
u === $i && r.charCodeAt(p + 1) === Dm ? (o = r.indexOf("*/", p + 2) + 1, o === 0 && (i || N ? o = r.length : A("comment")), g = ["comment", r.slice(p, o + 1), p, o], p = o) : (Dt.lastIndex = p + 1, Dt.test(r), Dt.lastIndex === 0 ? o = r.length - 1 : o = Dt.lastIndex - 2, g = ["word", r.slice(p, o + 1), p, o], T.push(g), p = o);
|
|
7829
7829
|
break;
|
|
7830
7830
|
}
|
|
7831
7831
|
}
|
|
@@ -7842,7 +7842,7 @@ var Pm = function(e, t = {}) {
|
|
|
7842
7842
|
};
|
|
7843
7843
|
};
|
|
7844
7844
|
let Th = Ue;
|
|
7845
|
-
class
|
|
7845
|
+
class Vt extends Th {
|
|
7846
7846
|
constructor(e) {
|
|
7847
7847
|
super(e), this.type = "atrule";
|
|
7848
7848
|
}
|
|
@@ -7853,9 +7853,9 @@ class Jt extends Th {
|
|
|
7853
7853
|
return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e);
|
|
7854
7854
|
}
|
|
7855
7855
|
}
|
|
7856
|
-
var fn =
|
|
7857
|
-
|
|
7858
|
-
Th.registerAtRule(
|
|
7856
|
+
var fn = Vt;
|
|
7857
|
+
Vt.default = Vt;
|
|
7858
|
+
Th.registerAtRule(Vt);
|
|
7859
7859
|
let Sh = Ue, Bh, Ch;
|
|
7860
7860
|
class Je extends Sh {
|
|
7861
7861
|
constructor(e) {
|
|
@@ -7886,10 +7886,10 @@ Je.registerLazyResult = (n) => {
|
|
|
7886
7886
|
Je.registerProcessor = (n) => {
|
|
7887
7887
|
Ch = n;
|
|
7888
7888
|
};
|
|
7889
|
-
var
|
|
7889
|
+
var vt = Je;
|
|
7890
7890
|
Je.default = Je;
|
|
7891
7891
|
Sh.registerRoot(Je);
|
|
7892
|
-
let
|
|
7892
|
+
let ht = {
|
|
7893
7893
|
split(n, e, t) {
|
|
7894
7894
|
let r = [], i = "", u = !1, o = 0, s = !1, a = "", l = !1;
|
|
7895
7895
|
for (let c of n)
|
|
@@ -7899,16 +7899,16 @@ let ft = {
|
|
|
7899
7899
|
space(n) {
|
|
7900
7900
|
let e = [" ", `
|
|
7901
7901
|
`, " "];
|
|
7902
|
-
return
|
|
7902
|
+
return ht.split(n, e);
|
|
7903
7903
|
},
|
|
7904
7904
|
comma(n) {
|
|
7905
|
-
return
|
|
7905
|
+
return ht.split(n, [","], !0);
|
|
7906
7906
|
}
|
|
7907
7907
|
};
|
|
7908
|
-
var Ah =
|
|
7909
|
-
|
|
7908
|
+
var Ah = ht;
|
|
7909
|
+
ht.default = ht;
|
|
7910
7910
|
let Oh = Ue, Lm = Ah;
|
|
7911
|
-
class
|
|
7911
|
+
class Zt extends Oh {
|
|
7912
7912
|
constructor(e) {
|
|
7913
7913
|
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
7914
7914
|
}
|
|
@@ -7920,10 +7920,10 @@ class Vt extends Oh {
|
|
|
7920
7920
|
this.selector = e.join(r);
|
|
7921
7921
|
}
|
|
7922
7922
|
}
|
|
7923
|
-
var hn =
|
|
7924
|
-
|
|
7925
|
-
Oh.registerRule(
|
|
7926
|
-
let Nm = sr, _m = Pm, Um = lr, Fm = fn, jm =
|
|
7923
|
+
var hn = Zt;
|
|
7924
|
+
Zt.default = Zt;
|
|
7925
|
+
Oh.registerRule(Zt);
|
|
7926
|
+
let Nm = sr, _m = Pm, Um = lr, Fm = fn, jm = vt, Si = hn;
|
|
7927
7927
|
const Bi = {
|
|
7928
7928
|
empty: !0,
|
|
7929
7929
|
space: !0
|
|
@@ -8232,7 +8232,7 @@ class Hm {
|
|
|
8232
8232
|
}
|
|
8233
8233
|
var qm = Hm;
|
|
8234
8234
|
let zm = Ue, Wm = qm, Gm = ar;
|
|
8235
|
-
function
|
|
8235
|
+
function Qt(n, e) {
|
|
8236
8236
|
let t = new Gm(n, e), r = new Wm(t);
|
|
8237
8237
|
try {
|
|
8238
8238
|
r.parse();
|
|
@@ -8241,10 +8241,10 @@ function Zt(n, e) {
|
|
|
8241
8241
|
}
|
|
8242
8242
|
return r.root;
|
|
8243
8243
|
}
|
|
8244
|
-
var pn =
|
|
8245
|
-
|
|
8246
|
-
zm.registerParse(
|
|
8247
|
-
let { isClean: me, my: Km } =
|
|
8244
|
+
var pn = Qt;
|
|
8245
|
+
Qt.default = Qt;
|
|
8246
|
+
zm.registerParse(Qt);
|
|
8247
|
+
let { isClean: me, my: Km } = yt, Jm = hh, Vm = ur, Zm = Ue, Qm = cn, Ci = dn, Xm = pn, eb = vt;
|
|
8248
8248
|
const tb = {
|
|
8249
8249
|
document: "Document",
|
|
8250
8250
|
root: "Root",
|
|
@@ -8646,8 +8646,8 @@ class zr {
|
|
|
8646
8646
|
}
|
|
8647
8647
|
var ab = zr;
|
|
8648
8648
|
zr.default = zr;
|
|
8649
|
-
let lb = ab, cb = Rh, db = cn, fb =
|
|
8650
|
-
class
|
|
8649
|
+
let lb = ab, cb = Rh, db = cn, fb = vt;
|
|
8650
|
+
class pt {
|
|
8651
8651
|
constructor(e = []) {
|
|
8652
8652
|
this.version = "8.4.21", this.plugins = this.normalize(e);
|
|
8653
8653
|
}
|
|
@@ -8670,13 +8670,13 @@ class ht {
|
|
|
8670
8670
|
return t;
|
|
8671
8671
|
}
|
|
8672
8672
|
}
|
|
8673
|
-
var hb =
|
|
8674
|
-
|
|
8675
|
-
fb.registerProcessor(
|
|
8676
|
-
db.registerProcessor(
|
|
8677
|
-
let pb = sr, gb = ah, mb = lr, bb = fn, yb = ar, vb =
|
|
8678
|
-
function
|
|
8679
|
-
if (Array.isArray(n)) return n.map((i) =>
|
|
8673
|
+
var hb = pt;
|
|
8674
|
+
pt.default = pt;
|
|
8675
|
+
fb.registerProcessor(pt);
|
|
8676
|
+
db.registerProcessor(pt);
|
|
8677
|
+
let pb = sr, gb = ah, mb = lr, bb = fn, yb = ar, vb = vt, xb = hn;
|
|
8678
|
+
function gt(n, e) {
|
|
8679
|
+
if (Array.isArray(n)) return n.map((i) => gt(i));
|
|
8680
8680
|
let { inputs: t, ...r } = n;
|
|
8681
8681
|
if (t) {
|
|
8682
8682
|
e = [];
|
|
@@ -8688,7 +8688,7 @@ function pt(n, e) {
|
|
|
8688
8688
|
}), e.push(u);
|
|
8689
8689
|
}
|
|
8690
8690
|
}
|
|
8691
|
-
if (r.nodes && (r.nodes = n.nodes.map((i) =>
|
|
8691
|
+
if (r.nodes && (r.nodes = n.nodes.map((i) => gt(i, e))), r.source) {
|
|
8692
8692
|
let { inputId: i, ...u } = r.source;
|
|
8693
8693
|
r.source = u, i != null && (r.source.input = e[i]);
|
|
8694
8694
|
}
|
|
@@ -8704,9 +8704,9 @@ function pt(n, e) {
|
|
|
8704
8704
|
return new bb(r);
|
|
8705
8705
|
throw new Error("Unknown node type: " + n.type);
|
|
8706
8706
|
}
|
|
8707
|
-
var wb =
|
|
8708
|
-
|
|
8709
|
-
let kb = sn, Mh = sr, Eb = Rh, $b = Ue, gn = hb, Tb = ur, Sb = wb, Ih = cn, Bb = $h, Ph = lr, Lh = fn, Cb = dn, Ab = ar, Ob = pn, Db = Ah, Nh = hn, _h =
|
|
8707
|
+
var wb = gt;
|
|
8708
|
+
gt.default = gt;
|
|
8709
|
+
let kb = sn, Mh = sr, Eb = Rh, $b = Ue, gn = hb, Tb = ur, Sb = wb, Ih = cn, Bb = $h, Ph = lr, Lh = fn, Cb = dn, Ab = ar, Ob = pn, Db = Ah, Nh = hn, _h = vt, Rb = or;
|
|
8710
8710
|
function j(...n) {
|
|
8711
8711
|
return n.length === 1 && Array.isArray(n[0]) && (n = n[0]), new gn(n);
|
|
8712
8712
|
}
|
|
@@ -8760,7 +8760,7 @@ j.default = j;
|
|
|
8760
8760
|
function de(...n) {
|
|
8761
8761
|
window && window.localStorage && window.localStorage.getItem("debug") && (console.group(...n), console.trace(), console.groupEnd());
|
|
8762
8762
|
}
|
|
8763
|
-
function
|
|
8763
|
+
function Rt(...n) {
|
|
8764
8764
|
console.error(...n);
|
|
8765
8765
|
}
|
|
8766
8766
|
function Mb(n, e, t = "registerComponent") {
|
|
@@ -8783,23 +8783,23 @@ function Pb(n) {
|
|
|
8783
8783
|
de(`[${r}] Registering component ${r} being called on ${t}`);
|
|
8784
8784
|
const i = e.componentWillLoad;
|
|
8785
8785
|
if (!i) {
|
|
8786
|
-
|
|
8786
|
+
Rt(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);
|
|
8787
8787
|
return;
|
|
8788
8788
|
}
|
|
8789
8789
|
const u = e.connectedCallback;
|
|
8790
8790
|
if (!u) {
|
|
8791
|
-
|
|
8791
|
+
Rt(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);
|
|
8792
8792
|
return;
|
|
8793
8793
|
}
|
|
8794
8794
|
const o = e.disconnectedCallback;
|
|
8795
8795
|
if (!o) {
|
|
8796
|
-
|
|
8796
|
+
Rt(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);
|
|
8797
8797
|
return;
|
|
8798
8798
|
}
|
|
8799
8799
|
if (n.storeToProps && n.stateToProps) {
|
|
8800
8800
|
const a = Array.from(n.storeToProps.values()), l = Array.from(n.stateToProps.values()), c = a.filter((f) => l.includes(f));
|
|
8801
8801
|
if (c.length > 0) {
|
|
8802
|
-
|
|
8802
|
+
Rt(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${c.join(", ")}`);
|
|
8803
8803
|
return;
|
|
8804
8804
|
}
|
|
8805
8805
|
}
|
|
@@ -8809,7 +8809,7 @@ function Pb(n) {
|
|
|
8809
8809
|
s.set(a, (l = n.eventToProps) == null ? void 0 : l[a]);
|
|
8810
8810
|
}), e.connectedCallback = function() {
|
|
8811
8811
|
de(`[~${r}] connectedCallback called`);
|
|
8812
|
-
const a = u == null ? void 0 : u.call(this), l =
|
|
8812
|
+
const a = u == null ? void 0 : u.call(this), l = Mt(this);
|
|
8813
8813
|
return l.dataset.nylasId || (Object.defineProperty(l, "registerNylasComponent", {
|
|
8814
8814
|
get() {
|
|
8815
8815
|
return !0;
|
|
@@ -8852,14 +8852,14 @@ function Pb(n) {
|
|
|
8852
8852
|
enumerable: !0
|
|
8853
8853
|
})), a;
|
|
8854
8854
|
}, n.fireRegisterEvent && (e.componentWillLoad = function() {
|
|
8855
|
-
const a = i == null ? void 0 : i.call(this), l =
|
|
8855
|
+
const a = i == null ? void 0 : i.call(this), l = Mt(this), c = {
|
|
8856
8856
|
element: l,
|
|
8857
8857
|
...n,
|
|
8858
8858
|
eventToProps: s
|
|
8859
8859
|
}, f = Mb(e, c, n.registrationEventName);
|
|
8860
8860
|
return l.dispatchEvent(f) && de(`[${r}] Component ${r} successfully fired registration event`), a;
|
|
8861
8861
|
}, e.disconnectedCallback = function() {
|
|
8862
|
-
const a = o == null ? void 0 : o.call(this), l =
|
|
8862
|
+
const a = o == null ? void 0 : o.call(this), l = Mt(this), c = {
|
|
8863
8863
|
element: l,
|
|
8864
8864
|
...n,
|
|
8865
8865
|
eventToProps: s
|
|
@@ -8920,7 +8920,7 @@ function Yb() {
|
|
|
8920
8920
|
}
|
|
8921
8921
|
const Hb = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}@media screen and (max-width: 768px){:host{position:unset}}.dropdown{display:inline-block}.dropbtn{color:var(--nylas-base-800);padding:10px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;gap:0.5rem;background:transparent;border:none;border-radius:var(--nylas-border-radius-2x);width:50px;padding:14px 16px;border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);max-width:306px;width:max-content;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', qb = Hb, zb = Ie(class extends Pe {
|
|
8922
8922
|
constructor() {
|
|
8923
|
-
super(), this.__registerHost(), this.__attachShadow(), this.inputOptionChanged =
|
|
8923
|
+
super(), this.__registerHost(), this.__attachShadow(), this.inputOptionChanged = st(this, "inputOptionChanged", 7), this.name = void 0, this.options = [], this.defaultInputOption = void 0, this.inputValue = void 0, this.pluralizedLabel = "", this.filterable = !1, this.selectedOption = this.defaultInputOption || null, this.isOpen = !1, this.typedValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.shouldAutoScroll = !1;
|
|
8924
8924
|
}
|
|
8925
8925
|
optionsChangedHandler(e, t) {
|
|
8926
8926
|
e !== t && (this.filteredOptions = this.getFilteredOptions(e));
|
|
@@ -9101,19 +9101,30 @@ function bn() {
|
|
|
9101
9101
|
}
|
|
9102
9102
|
const Jb = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', Vb = Jb, Zb = Ie(class extends Pe {
|
|
9103
9103
|
constructor() {
|
|
9104
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged =
|
|
9104
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged = st(this, "nylasFormDropdownChanged", 7), this.nylasFormDropdownDefaultSelected = st(this, "nylasFormDropdownDefaultSelected", 7), this.componentType = "select-dropdown", this.name = void 0, this.options = [], this.defaultSelectedOption = null, this.withSearch = !0, this.label = void 0, this.required = !1, this.pluralizedLabel = "", this.dropdownButtonText = void 0, this.withChevron = !0, this.selectedOption = void 0, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.errorMessage = "";
|
|
9105
9105
|
}
|
|
9106
9106
|
optionsChangedHandler(e, t) {
|
|
9107
9107
|
e !== t && (this.filteredOptions = e);
|
|
9108
9108
|
}
|
|
9109
9109
|
defaultSelectedOptionChangedHandler(e, t) {
|
|
9110
|
-
typeof e > "u" || (e == null ? void 0 : e.label) === (t == null ? void 0 : t.label) || (this.selectedOption = e
|
|
9110
|
+
typeof e > "u" || (e == null ? void 0 : e.label) === (t == null ? void 0 : t.label) || (this.selectedOption = e, this.nylasFormDropdownDefaultSelected.emit({
|
|
9111
|
+
value: (e == null ? void 0 : e.value) || "",
|
|
9112
|
+
name: this.name,
|
|
9113
|
+
error: this.errorMessage,
|
|
9114
|
+
label: this.label
|
|
9115
|
+
}));
|
|
9111
9116
|
}
|
|
9112
9117
|
componentWillLoad() {
|
|
9113
9118
|
this.el.setAttribute("component-type", this.componentType);
|
|
9114
9119
|
}
|
|
9115
9120
|
componentDidLoad() {
|
|
9116
|
-
|
|
9121
|
+
var e;
|
|
9122
|
+
this.filteredOptions = this.options, this.selectedOption = this.defaultSelectedOption, !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]), this.nylasFormDropdownDefaultSelected.emit({
|
|
9123
|
+
value: ((e = this.selectedOption) == null ? void 0 : e.value) || "",
|
|
9124
|
+
name: this.name,
|
|
9125
|
+
error: this.errorMessage,
|
|
9126
|
+
label: this.label
|
|
9127
|
+
});
|
|
9117
9128
|
}
|
|
9118
9129
|
handleBookingFormSubmitted(e) {
|
|
9119
9130
|
var t;
|
|
@@ -9187,7 +9198,7 @@ const Jb = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nyla
|
|
|
9187
9198
|
}
|
|
9188
9199
|
render() {
|
|
9189
9200
|
const e = this.generateButtonText(this.selectedOption, this.dropdownButtonText);
|
|
9190
|
-
return R("div", { key: "
|
|
9201
|
+
return R("div", { key: "4b724d892194708b2dcd0ed74c8e23486ba2b4f7", class: "dropdown", part: "sd_dropdown" }, R("label", { key: "06d33f4f5daa7c09eed054505989210e35c2beb5", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && R("p", null, R("span", { class: "label" }, this.label), this.required && R("span", { class: "required" }, "*")), R("button", { key: "8e5952f7e2a1279670304e82f329da3e8e60522a", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (t) => this.handleSelectButtonKeyDown(t) }, R("slot", { key: "aece407da3b35858b9ec1248d09447706b3120cc", name: "select-icon", "aria-hidden": "true" }), R("span", { key: "55aae4a92f862c81533635999fb60693705cb12b", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && R("span", { class: {
|
|
9191
9202
|
open: this.isOpen,
|
|
9192
9203
|
closed: !this.isOpen,
|
|
9193
9204
|
chevron: !0
|
|
@@ -9249,7 +9260,7 @@ const Qb = ".time-period-selector.sc-time-period-selector{display:grid;gap:0.5re
|
|
|
9249
9260
|
months: "month"
|
|
9250
9261
|
}, t2 = Ie(class extends Pe {
|
|
9251
9262
|
constructor() {
|
|
9252
|
-
super(), this.__registerHost(), this.timePeriodChanged =
|
|
9263
|
+
super(), this.__registerHost(), this.timePeriodChanged = st(this, "timePeriodChanged", 7), this.timePeriods = ["hour", "day", "week", "month"], this.defaultSelectedPeriod = void 0, this.defaultSelectedNumber = void 0, this.selectedPeriod = this.defaultSelectedPeriod, this.selectedNumber = this.defaultSelectedNumber, this.numberOptions = this.calculateOptions(this.defaultSelectedPeriod || "hour").map((e) => ({
|
|
9253
9264
|
label: e.toString(),
|
|
9254
9265
|
value: e.toString()
|
|
9255
9266
|
})), this.timePeriodOptions = this.timePeriods.map((e) => ({
|
|
@@ -9397,7 +9408,7 @@ var l2 = function(n, e, t, r) {
|
|
|
9397
9408
|
};
|
|
9398
9409
|
const yn = Ie(class extends Pe {
|
|
9399
9410
|
constructor() {
|
|
9400
|
-
super(), this.__registerHost(), this.__attachShadow(), this.valueChanged =
|
|
9411
|
+
super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = st(this, "valueChanged", 7), this.internals = this.attachInternals(), this.selectedConfiguration = void 0, this.minCancellationNotice = void 0, this.name = "min-cancellation-notice", this.selectedNumber = void 0, this.selectedPeriod = void 0;
|
|
9401
9412
|
}
|
|
9402
9413
|
elementNameChangedHandler(e) {
|
|
9403
9414
|
de("nylas-min-cancellation-notice", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
|