@mgdis/stencil-helpers 3.2.3 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +470 -419
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +6 -6
package/dist/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var st = Object.defineProperty;
|
|
2
|
+
var de = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var $ = (e, t, r) =>
|
|
7
|
-
var
|
|
8
|
-
class
|
|
5
|
+
var nt = (e, t, r) => t in e ? st(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
+
var $ = (e, t, r) => nt(e, typeof t != "symbol" ? t + "" : t, r), $e = (e, t, r) => t.has(e) || de("Cannot " + r);
|
|
7
|
+
var m = (e, t, r) => ($e(e, t, "read from private field"), r ? r.call(e) : t.get(e)), N = (e, t, r) => t.has(e) ? de("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), H = (e, t, r, s) => ($e(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r);
|
|
8
|
+
class ur {
|
|
9
9
|
constructor(t = []) {
|
|
10
10
|
/**
|
|
11
11
|
* Available classes
|
|
@@ -40,30 +40,30 @@ class ir {
|
|
|
40
40
|
this.classes = t;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const Y = (e) => typeof e == "object" && !Array.isArray(e) && e !== null, it = (e, t, r) => {
|
|
44
44
|
const s = ".";
|
|
45
|
-
if (!
|
|
45
|
+
if (!Y(e) || typeof t != "string")
|
|
46
46
|
return r;
|
|
47
47
|
const [n, ...i] = t.split(s);
|
|
48
|
-
return i.length ?
|
|
49
|
-
},
|
|
48
|
+
return i.length ? it(e[n], i.join(s)) : e[n];
|
|
49
|
+
}, pr = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), ot = (e) => typeof e == "string" && e.trim() !== "", gr = (e) => typeof e == "object" ? JSON.stringify(e) : String(e), dr = (e) => typeof e == "string" ? e.toLocaleLowerCase().normalize("NFD").replaceAll(/[\u0300-\u036f]/g, "") : e, at = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, r) => (r > 0 ? "-" : "") + t.toLowerCase()).replace(/[^a-z0-9-]+/g, "-").replace(/--+/g, "-").replace(/(?:^-)|(?:-$)/g, ""), $r = (e = "", t = 10) => {
|
|
50
50
|
const r = new Uint8Array(t);
|
|
51
51
|
crypto.getRandomValues(r);
|
|
52
52
|
const s = Array.from(r).map((n) => n.toString(16).padStart(2, "0")).join("").slice(0, t);
|
|
53
53
|
return e !== "" ? `${e}-${s}` : s;
|
|
54
|
-
},
|
|
54
|
+
}, hr = (e) => ot(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null, _r = (e) => {
|
|
55
55
|
let t;
|
|
56
|
-
return typeof e == "string" ? t = e : e && typeof e == "object" && (
|
|
57
|
-
},
|
|
56
|
+
return typeof e == "string" ? t = e : e && typeof e == "object" && (Y(e) || Array.isArray(e)) ? t = JSON.stringify(e) : e != null && typeof e != "boolean" && typeof e != "object" && (t = String(e)), t && at(t);
|
|
57
|
+
}, yr = async (e) => {
|
|
58
58
|
if (e)
|
|
59
59
|
return e();
|
|
60
|
-
},
|
|
60
|
+
}, br = {
|
|
61
61
|
FIRST: "first",
|
|
62
62
|
NEXT: "next",
|
|
63
63
|
PREVIOUS: "previous",
|
|
64
64
|
LAST: "last"
|
|
65
|
-
},
|
|
66
|
-
class
|
|
65
|
+
}, Oe = 10;
|
|
66
|
+
class lt {
|
|
67
67
|
constructor(t) {
|
|
68
68
|
/**
|
|
69
69
|
* Define items
|
|
@@ -76,7 +76,7 @@ class rt {
|
|
|
76
76
|
/**
|
|
77
77
|
* Define top
|
|
78
78
|
*/
|
|
79
|
-
$(this, "top",
|
|
79
|
+
$(this, "top", Oe);
|
|
80
80
|
/**
|
|
81
81
|
* Define next
|
|
82
82
|
*/
|
|
@@ -104,21 +104,21 @@ class rt {
|
|
|
104
104
|
}
|
|
105
105
|
return t === "first" ? i = 0 : t === "last" ? i = n : t === "previous" ? i = JSON.stringify(this.items[o]) === JSON.stringify(this.items[0]) ? n : o - this.baseIndex : t === "next" ? i = JSON.stringify(this.items[o]) === JSON.stringify(this.items[n]) ? 0 : o + this.baseIndex : i = 0, i;
|
|
106
106
|
});
|
|
107
|
-
if (
|
|
107
|
+
if (Y(t))
|
|
108
108
|
Array.isArray(t.items) && (this.items = t.items), typeof t.top == "number" && (this.top = t.top), this.total = typeof t.total == "number" ? t.total : this.items.length, this.next = t.next;
|
|
109
109
|
else
|
|
110
110
|
throw new Error("Page - init must match IPage type.");
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
var O, I, U;
|
|
114
|
-
class
|
|
114
|
+
class vr {
|
|
115
115
|
constructor(t, r) {
|
|
116
116
|
/**
|
|
117
117
|
* Define paginated items
|
|
118
118
|
*/
|
|
119
119
|
$(this, "items", []);
|
|
120
120
|
/* Privates */
|
|
121
|
-
N(this, O,
|
|
121
|
+
N(this, O, Oe);
|
|
122
122
|
N(this, I);
|
|
123
123
|
N(this, U);
|
|
124
124
|
/**
|
|
@@ -130,84 +130,95 @@ class dr {
|
|
|
130
130
|
$(this, "getPage", (t = 0, r) => {
|
|
131
131
|
const s = typeof r == "function" ? this.items.filter(r) : this.items;
|
|
132
132
|
let n;
|
|
133
|
-
return
|
|
134
|
-
items: s.slice(t, t +
|
|
135
|
-
total:
|
|
136
|
-
top:
|
|
133
|
+
return m(this, I) ? n = m(this, I) : s.length > t + m(this, O) && (n = () => this.getPage(t + m(this, O), r)), new lt({
|
|
134
|
+
items: s.slice(t, t + m(this, O)),
|
|
135
|
+
total: m(this, U),
|
|
136
|
+
top: m(this, O),
|
|
137
137
|
next: n
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
|
-
Array.isArray(t) && (this.items = t), r && (["string", "function"].includes(typeof r.next) ||
|
|
140
|
+
Array.isArray(t) && (this.items = t), r && (["string", "function"].includes(typeof r.next) || Y(r.next) && URL.canParse(r.next)) && H(this, I, r.next), typeof (r == null ? void 0 : r.top) == "number" && H(this, O, r.top), typeof (r == null ? void 0 : r.total) == "number" && H(this, U, r.total);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
O = new WeakMap(), I = new WeakMap(), U = new WeakMap();
|
|
144
|
-
const
|
|
145
|
-
const t =
|
|
144
|
+
const mr = /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/, wr = (e) => e.toISOString().split("T")[0], xr = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), Er = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [identifier], mg-button', Sr = (e) => typeof e == "number" && !Number.isNaN(e), Or = (e) => {
|
|
145
|
+
const t = ke(e), r = Ae(e);
|
|
146
146
|
return [e, ...t, ...r];
|
|
147
|
-
},
|
|
147
|
+
}, ke = (e, t = []) => {
|
|
148
148
|
if (e.self !== e.top)
|
|
149
149
|
try {
|
|
150
150
|
const r = e.parent;
|
|
151
|
-
return r ? (t.push(r),
|
|
151
|
+
return r ? (t.push(r), ke(r, t)) : t;
|
|
152
152
|
} catch (r) {
|
|
153
153
|
return console.error("Different hosts between iframes:", r), t;
|
|
154
154
|
}
|
|
155
155
|
return t;
|
|
156
|
-
},
|
|
156
|
+
}, Ae = (e, t = []) => {
|
|
157
157
|
if (e.frames.length > 0)
|
|
158
158
|
for (const r of Array.from(e.frames))
|
|
159
|
-
t.push(r),
|
|
159
|
+
t.push(r), Ae(r, t);
|
|
160
160
|
return t;
|
|
161
161
|
};
|
|
162
|
-
var
|
|
162
|
+
var ct = Object.defineProperty, ft = (e, t) => {
|
|
163
163
|
for (var r in t)
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
err: () =>
|
|
168
|
-
map: () =>
|
|
169
|
-
ok: () =>
|
|
170
|
-
unwrap: () =>
|
|
171
|
-
unwrapErr: () =>
|
|
164
|
+
ct(e, r, { get: t[r], enumerable: !0 });
|
|
165
|
+
}, ut = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), pt = {};
|
|
166
|
+
ft(pt, {
|
|
167
|
+
err: () => je,
|
|
168
|
+
map: () => gt,
|
|
169
|
+
ok: () => ee,
|
|
170
|
+
unwrap: () => dt,
|
|
171
|
+
unwrapErr: () => $t
|
|
172
172
|
});
|
|
173
|
-
var
|
|
173
|
+
var ee = (e) => ({
|
|
174
174
|
isOk: !0,
|
|
175
175
|
isErr: !1,
|
|
176
176
|
value: e
|
|
177
|
-
}),
|
|
177
|
+
}), je = (e) => ({
|
|
178
178
|
isOk: !1,
|
|
179
179
|
isErr: !0,
|
|
180
180
|
value: e
|
|
181
181
|
});
|
|
182
|
-
function
|
|
182
|
+
function gt(e, t) {
|
|
183
183
|
if (e.isOk) {
|
|
184
184
|
const r = t(e.value);
|
|
185
|
-
return r instanceof Promise ? r.then((s) =>
|
|
185
|
+
return r instanceof Promise ? r.then((s) => ee(s)) : ee(r);
|
|
186
186
|
}
|
|
187
187
|
if (e.isErr) {
|
|
188
188
|
const r = e.value;
|
|
189
|
-
return
|
|
189
|
+
return je(r);
|
|
190
190
|
}
|
|
191
191
|
throw "should never get here";
|
|
192
192
|
}
|
|
193
|
-
var
|
|
193
|
+
var dt = (e) => {
|
|
194
194
|
if (e.isOk)
|
|
195
195
|
return e.value;
|
|
196
196
|
throw e.value;
|
|
197
|
-
},
|
|
197
|
+
}, $t = (e) => {
|
|
198
198
|
if (e.isErr)
|
|
199
199
|
return e.value;
|
|
200
200
|
throw e.value;
|
|
201
|
+
}, oe = (e) => {
|
|
202
|
+
const t = ut(e);
|
|
203
|
+
return new RegExp(
|
|
204
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
205
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
206
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,
|
|
207
|
+
"g"
|
|
208
|
+
);
|
|
201
209
|
};
|
|
202
|
-
|
|
210
|
+
oe("::slotted");
|
|
211
|
+
oe(":host");
|
|
212
|
+
oe(":host-context");
|
|
213
|
+
const Re = (e, t) => {
|
|
203
214
|
if (!t)
|
|
204
215
|
return;
|
|
205
216
|
const r = t.split("/");
|
|
206
217
|
return `${e}${r.slice(2, r.length - 1).join("-")}--docs`;
|
|
207
|
-
},
|
|
218
|
+
}, ht = (e, t) => {
|
|
208
219
|
if (t)
|
|
209
220
|
return `${e}${t}`;
|
|
210
|
-
},
|
|
221
|
+
}, Te = (e) => {
|
|
211
222
|
let t = e.overview ? `${e.overview}
|
|
212
223
|
|
|
213
224
|
` : "";
|
|
@@ -233,9 +244,9 @@ const Ae = (e, t) => {
|
|
|
233
244
|
`, t += e.slots.map(({ name: n, docs: i }) => `- \`${n}\`: ${i}
|
|
234
245
|
`).join(""), t += `
|
|
235
246
|
`), t;
|
|
236
|
-
},
|
|
247
|
+
}, te = (e) => `${e.docs}
|
|
237
248
|
|
|
238
|
-
Type: \`${e.type}\``,
|
|
249
|
+
Type: \`${e.type}\``, kr = (e, t, r, s) => ({
|
|
239
250
|
$schema: "https://json.schemastore.org/web-types",
|
|
240
251
|
name: e,
|
|
241
252
|
version: t,
|
|
@@ -243,14 +254,14 @@ Type: \`${e.type}\``, wr = (e, t, r, s) => ({
|
|
|
243
254
|
contributions: {
|
|
244
255
|
html: {
|
|
245
256
|
elements: r.components.map((n) => {
|
|
246
|
-
const i =
|
|
257
|
+
const i = Re(s, n.filePath);
|
|
247
258
|
return {
|
|
248
259
|
name: n.tag,
|
|
249
|
-
description:
|
|
260
|
+
description: Te(n),
|
|
250
261
|
"doc-url": i,
|
|
251
262
|
attributes: n.props.filter((o) => o.attr).map((o) => ({
|
|
252
263
|
name: o.attr,
|
|
253
|
-
description:
|
|
264
|
+
description: te(o),
|
|
254
265
|
"doc-url": i,
|
|
255
266
|
value: {
|
|
256
267
|
type: o.type,
|
|
@@ -261,7 +272,7 @@ Type: \`${e.type}\``, wr = (e, t, r, s) => ({
|
|
|
261
272
|
js: {
|
|
262
273
|
properties: n.props.map((o) => ({
|
|
263
274
|
name: o.name,
|
|
264
|
-
description:
|
|
275
|
+
description: te(o),
|
|
265
276
|
"doc-url": i,
|
|
266
277
|
value: {
|
|
267
278
|
type: o.type,
|
|
@@ -284,23 +295,23 @@ Type: \`${e.type}\``, wr = (e, t, r, s) => ({
|
|
|
284
295
|
})
|
|
285
296
|
}
|
|
286
297
|
}
|
|
287
|
-
}),
|
|
288
|
-
{ name: "Storybook", url:
|
|
289
|
-
{ name: "Sources", url:
|
|
290
|
-
],
|
|
298
|
+
}), _t = (e, t, r) => [
|
|
299
|
+
{ name: "Storybook", url: Re(e, r) },
|
|
300
|
+
{ name: "Sources", url: ht(t, r) }
|
|
301
|
+
], yt = (e) => {
|
|
291
302
|
if (!e.values.some(({ value: t }) => t === void 0))
|
|
292
303
|
return e.values.map(({ value: t }) => ({ name: t }));
|
|
293
|
-
},
|
|
304
|
+
}, Ar = (e, t, r) => ({
|
|
294
305
|
version: 1.1,
|
|
295
306
|
tags: e.components.map((s) => {
|
|
296
|
-
const n =
|
|
307
|
+
const n = _t(t, r, s.filePath);
|
|
297
308
|
return {
|
|
298
309
|
name: s.tag,
|
|
299
|
-
description:
|
|
310
|
+
description: Te(s),
|
|
300
311
|
attributes: s.props.map((i) => ({
|
|
301
312
|
name: i.attr ?? i.name,
|
|
302
|
-
description:
|
|
303
|
-
values:
|
|
313
|
+
description: te(i),
|
|
314
|
+
values: yt(i),
|
|
304
315
|
references: n
|
|
305
316
|
})),
|
|
306
317
|
references: n
|
|
@@ -308,16 +319,16 @@ Type: \`${e.type}\``, wr = (e, t, r, s) => ({
|
|
|
308
319
|
}),
|
|
309
320
|
globalAttributes: [],
|
|
310
321
|
valueSets: []
|
|
311
|
-
}),
|
|
322
|
+
}), jr = (e) => ({
|
|
312
323
|
version: 1.1,
|
|
313
324
|
properties: e.components.flatMap((t) => t.styles.map((r) => ({
|
|
314
325
|
name: r.name,
|
|
315
326
|
description: r.docs
|
|
316
327
|
})))
|
|
317
|
-
}),
|
|
328
|
+
}), bt = /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/, Rr = (e) => {
|
|
318
329
|
const t = { value: "2023", pattern: "yyyy" }, r = { value: "12", pattern: "mm" }, s = { value: "24", pattern: "dd" };
|
|
319
|
-
return
|
|
320
|
-
},
|
|
330
|
+
return mt([t.value, r.value, s.value].join("-"), e, { timeZone: "UTC" }).replace(t.value, t.pattern).replace(r.value, r.pattern).replace(s.value, s.pattern);
|
|
331
|
+
}, vt = (e, t, r) => {
|
|
321
332
|
const s = e.closest("[lang]"), n = Intl.NumberFormat.supportedLocalesOf(s == null ? void 0 : s.lang), i = n.length > 0 && typeof n[0] == "string" ? n[0] : navigator.language || r, o = i.split("-").shift();
|
|
322
333
|
return Object.keys(t).length === 0 ? {
|
|
323
334
|
locale: i,
|
|
@@ -326,26 +337,26 @@ Type: \`${e.type}\``, wr = (e, t, r, s) => ({
|
|
|
326
337
|
locale: i,
|
|
327
338
|
messages: t[o] ?? t[r] ?? { lang: r }
|
|
328
339
|
};
|
|
329
|
-
},
|
|
340
|
+
}, Tr = (e, t, r) => new Intl.NumberFormat(t, { style: "currency", currency: r }).format(e), Nr = (e, t, r = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: r }).format(Number(e)), zr = (e, t, r = 0) => new Intl.NumberFormat(t, {
|
|
330
341
|
style: "percent",
|
|
331
342
|
minimumFractionDigits: r,
|
|
332
343
|
maximumFractionDigits: r
|
|
333
|
-
}).format(e),
|
|
344
|
+
}).format(e), Ir = (e, t, r, s = "short", n = 0) => new Intl.NumberFormat(t, {
|
|
334
345
|
style: "unit",
|
|
335
346
|
unit: r,
|
|
336
347
|
unitDisplay: s,
|
|
337
348
|
minimumFractionDigits: n,
|
|
338
349
|
maximumFractionDigits: n
|
|
339
|
-
}).format(e),
|
|
340
|
-
var
|
|
350
|
+
}).format(e), mt = (e, t, r) => typeof e != "string" || e === "" || !bt.test(e) ? "" : new Intl.DateTimeFormat(t, r).format(new Date(e)), Mr = (e, t) => (r) => vt(r, e, t);
|
|
351
|
+
var Q = {
|
|
341
352
|
updatable: !0,
|
|
342
353
|
slotRelocation: !0,
|
|
343
354
|
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
344
355
|
experimentalSlotFixes: !1
|
|
345
|
-
},
|
|
356
|
+
}, wt = Object.defineProperty, xt = (e, t) => {
|
|
346
357
|
for (var r in t)
|
|
347
|
-
|
|
348
|
-
},
|
|
358
|
+
wt(e, r, { get: t[r], enumerable: !0 });
|
|
359
|
+
}, Et = "http://www.w3.org/2000/svg", St = "http://www.w3.org/1999/xhtml", he = (e, t) => t in e, _e = "http://www.w3.org/1999/xlink", A = typeof window < "u" ? window : {}, M = {
|
|
349
360
|
$flags$: 0,
|
|
350
361
|
$resourcesUrl$: "",
|
|
351
362
|
jmp: (e) => e(),
|
|
@@ -353,53 +364,53 @@ var V = {
|
|
|
353
364
|
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
|
354
365
|
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
|
355
366
|
ce: (e, t) => new CustomEvent(e, t)
|
|
356
|
-
},
|
|
357
|
-
|
|
358
|
-
err: () =>
|
|
359
|
-
map: () =>
|
|
360
|
-
ok: () =>
|
|
361
|
-
unwrap: () =>
|
|
362
|
-
unwrapErr: () =>
|
|
367
|
+
}, Ot = (e) => e != null && e !== void 0, Ne = (e) => (e = typeof e, e === "object" || e === "function"), kt = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), At = {};
|
|
368
|
+
xt(At, {
|
|
369
|
+
err: () => ze,
|
|
370
|
+
map: () => jt,
|
|
371
|
+
ok: () => re,
|
|
372
|
+
unwrap: () => Rt,
|
|
373
|
+
unwrapErr: () => Tt
|
|
363
374
|
});
|
|
364
|
-
var
|
|
375
|
+
var re = (e) => ({
|
|
365
376
|
isOk: !0,
|
|
366
377
|
isErr: !1,
|
|
367
378
|
value: e
|
|
368
|
-
}),
|
|
379
|
+
}), ze = (e) => ({
|
|
369
380
|
isOk: !1,
|
|
370
381
|
isErr: !0,
|
|
371
382
|
value: e
|
|
372
383
|
});
|
|
373
|
-
function
|
|
384
|
+
function jt(e, t) {
|
|
374
385
|
if (e.isOk) {
|
|
375
386
|
const r = t(e.value);
|
|
376
|
-
return r instanceof Promise ? r.then((s) =>
|
|
387
|
+
return r instanceof Promise ? r.then((s) => re(s)) : re(r);
|
|
377
388
|
}
|
|
378
389
|
if (e.isErr) {
|
|
379
390
|
const r = e.value;
|
|
380
|
-
return
|
|
391
|
+
return ze(r);
|
|
381
392
|
}
|
|
382
393
|
throw "should never get here";
|
|
383
394
|
}
|
|
384
|
-
var
|
|
395
|
+
var Rt = (e) => {
|
|
385
396
|
if (e.isOk)
|
|
386
397
|
return e.value;
|
|
387
398
|
throw e.value;
|
|
388
|
-
},
|
|
399
|
+
}, Tt = (e) => {
|
|
389
400
|
if (e.isErr)
|
|
390
401
|
return e.value;
|
|
391
402
|
throw e.value;
|
|
392
|
-
},
|
|
393
|
-
const t =
|
|
394
|
-
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" &&
|
|
395
|
-
s.nodeType === 1 && s.tagName === "SLOT-FB" && (
|
|
403
|
+
}, Ie = (e) => {
|
|
404
|
+
const t = be(e, "childNodes");
|
|
405
|
+
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Me(t, e.tagName).forEach((s) => {
|
|
406
|
+
s.nodeType === 1 && s.tagName === "SLOT-FB" && (zt(s, ae(s), !1).length ? s.hidden = !0 : s.hidden = !1);
|
|
396
407
|
});
|
|
397
408
|
let r = 0;
|
|
398
409
|
for (r = 0; r < t.length; r++) {
|
|
399
410
|
const s = t[r];
|
|
400
|
-
s.nodeType === 1 &&
|
|
411
|
+
s.nodeType === 1 && be(s, "childNodes").length && Ie(s);
|
|
401
412
|
}
|
|
402
|
-
},
|
|
413
|
+
}, Nt = (e) => {
|
|
403
414
|
const t = [];
|
|
404
415
|
for (let r = 0; r < e.length; r++) {
|
|
405
416
|
const s = e[r]["s-nr"] || void 0;
|
|
@@ -407,32 +418,32 @@ var mt = (e) => {
|
|
|
407
418
|
}
|
|
408
419
|
return t;
|
|
409
420
|
};
|
|
410
|
-
function
|
|
421
|
+
function Me(e, t, r) {
|
|
411
422
|
let s = 0, n = [], i;
|
|
412
423
|
for (; s < e.length; s++)
|
|
413
|
-
i = e[s], i["s-sr"] && (!t || i["s-hn"] === t) && r === void 0 && n.push(i), n = [...n, ...
|
|
424
|
+
i = e[s], i["s-sr"] && (!t || i["s-hn"] === t) && r === void 0 && n.push(i), n = [...n, ...Me(i.childNodes, t, r)];
|
|
414
425
|
return n;
|
|
415
426
|
}
|
|
416
|
-
var
|
|
427
|
+
var zt = (e, t, r = !0) => {
|
|
417
428
|
const s = [];
|
|
418
429
|
(r && e["s-sr"] || !e["s-sr"]) && s.push(e);
|
|
419
430
|
let n = e;
|
|
420
431
|
for (; n = n.nextSibling; )
|
|
421
|
-
|
|
432
|
+
ae(n) === t && (r || !n["s-sr"]) && s.push(n);
|
|
422
433
|
return s;
|
|
423
|
-
},
|
|
424
|
-
function
|
|
434
|
+
}, ye = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", ae = (e) => typeof e["s-sn"] == "string" ? e["s-sn"] : e.nodeType === 1 && e.getAttribute("slot") || void 0;
|
|
435
|
+
function It(e) {
|
|
425
436
|
if (e.assignedElements || e.assignedNodes || !e["s-sr"]) return;
|
|
426
437
|
const t = (r) => (function(s) {
|
|
427
438
|
const n = [], i = this["s-sn"];
|
|
428
439
|
s != null && s.flatten && console.error(`
|
|
429
|
-
Flattening is not supported for Stencil non-shadow slots.
|
|
440
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
430
441
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
431
442
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
432
443
|
`);
|
|
433
444
|
const o = this["s-cr"].parentElement;
|
|
434
|
-
return (o.__childNodes ? o.childNodes :
|
|
435
|
-
i ===
|
|
445
|
+
return (o.__childNodes ? o.childNodes : Nt(o.childNodes)).forEach((l) => {
|
|
446
|
+
i === ae(l) && n.push(l);
|
|
436
447
|
}), r ? n.filter(
|
|
437
448
|
(l) => l.nodeType === 1
|
|
438
449
|
/* ElementNode */
|
|
@@ -440,23 +451,23 @@ function Ot(e) {
|
|
|
440
451
|
}).bind(e);
|
|
441
452
|
e.assignedElements = t(!0), e.assignedNodes = t(!1);
|
|
442
453
|
}
|
|
443
|
-
function
|
|
454
|
+
function be(e, t) {
|
|
444
455
|
if ("__" + t in e) {
|
|
445
456
|
const r = e["__" + t];
|
|
446
457
|
return typeof r != "function" ? r : r.bind(e);
|
|
447
458
|
} else
|
|
448
459
|
return typeof e[t] != "function" ? e[t] : e[t].bind(e);
|
|
449
460
|
}
|
|
450
|
-
var
|
|
461
|
+
var Mt = (e, t, ...r) => {
|
|
451
462
|
let s = null, n = null, i = null, o = !1, c = !1;
|
|
452
|
-
const l = [],
|
|
463
|
+
const l = [], u = (a) => {
|
|
453
464
|
for (let g = 0; g < a.length; g++)
|
|
454
|
-
s = a[g], Array.isArray(s) ?
|
|
465
|
+
s = a[g], Array.isArray(s) ? u(s) : s != null && typeof s != "boolean" && ((o = !Ne(s)) && (s = String(s)), o && c ? l[l.length - 1].$text$ += s : l.push(o ? se(null, s) : s), c = o);
|
|
455
466
|
};
|
|
456
|
-
|
|
457
|
-
const
|
|
458
|
-
return
|
|
459
|
-
},
|
|
467
|
+
u(r);
|
|
468
|
+
const p = se(e, null);
|
|
469
|
+
return p.$attrs$ = t, l.length > 0 && (p.$children$ = l), p.$key$ = n, p.$name$ = i, p;
|
|
470
|
+
}, se = (e, t) => {
|
|
460
471
|
const r = {
|
|
461
472
|
$flags$: 0,
|
|
462
473
|
$tag$: e,
|
|
@@ -465,29 +476,41 @@ var At = (e, t, ...r) => {
|
|
|
465
476
|
$children$: null
|
|
466
477
|
};
|
|
467
478
|
return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
|
|
468
|
-
},
|
|
479
|
+
}, Lt = {}, Ft = (e) => e && e.$tag$ === Lt, le = (e) => {
|
|
480
|
+
const t = kt(e);
|
|
481
|
+
return new RegExp(
|
|
482
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
483
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
484
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,
|
|
485
|
+
"g"
|
|
486
|
+
);
|
|
487
|
+
};
|
|
488
|
+
le("::slotted");
|
|
489
|
+
le(":host");
|
|
490
|
+
le(":host-context");
|
|
491
|
+
var ve = (e, t, r, s, n, i, o) => {
|
|
469
492
|
if (r === s)
|
|
470
493
|
return;
|
|
471
|
-
let c =
|
|
494
|
+
let c = he(e, t), l = t.toLowerCase();
|
|
472
495
|
if (t === "class") {
|
|
473
|
-
const
|
|
474
|
-
let a =
|
|
475
|
-
|
|
496
|
+
const u = e.classList, p = me(r);
|
|
497
|
+
let a = me(s);
|
|
498
|
+
u.remove(...p.filter((g) => g && !a.includes(g))), u.add(...a.filter((g) => g && !p.includes(g)));
|
|
476
499
|
} else if (t === "style") {
|
|
477
|
-
for (const
|
|
478
|
-
(!s || s[
|
|
479
|
-
for (const
|
|
480
|
-
(!r || s[
|
|
500
|
+
for (const u in r)
|
|
501
|
+
(!s || s[u] == null) && (u.includes("-") ? e.style.removeProperty(u) : e.style[u] = "");
|
|
502
|
+
for (const u in s)
|
|
503
|
+
(!r || s[u] !== r[u]) && (u.includes("-") ? e.style.setProperty(u, s[u]) : e.style[u] = s[u]);
|
|
481
504
|
} else if (t !== "key") if (t === "ref")
|
|
482
505
|
s && s(e);
|
|
483
506
|
else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
|
|
484
|
-
if (t[2] === "-" ? t = t.slice(3) :
|
|
485
|
-
const
|
|
486
|
-
t = t.replace(
|
|
507
|
+
if (t[2] === "-" ? t = t.slice(3) : he(A, l) ? t = l.slice(2) : t = l[2] + t.slice(3), r || s) {
|
|
508
|
+
const u = t.endsWith(Le);
|
|
509
|
+
t = t.replace(Pt, ""), r && M.rel(e, t, r, u), s && M.ael(e, t, s, u);
|
|
487
510
|
}
|
|
488
511
|
} else {
|
|
489
|
-
const
|
|
490
|
-
if ((c ||
|
|
512
|
+
const u = Ne(s);
|
|
513
|
+
if ((c || u && s !== null) && !n)
|
|
491
514
|
try {
|
|
492
515
|
if (e.tagName.includes("-"))
|
|
493
516
|
e[t] !== s && (e[t] = s);
|
|
@@ -497,13 +520,13 @@ var At = (e, t, ...r) => {
|
|
|
497
520
|
}
|
|
498
521
|
} catch {
|
|
499
522
|
}
|
|
500
|
-
let
|
|
501
|
-
l !== (l = l.replace(/^xlink\:?/, "")) && (t = l,
|
|
523
|
+
let p = !1;
|
|
524
|
+
l !== (l = l.replace(/^xlink\:?/, "")) && (t = l, p = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && (p ? e.removeAttributeNS(_e, t) : e.removeAttribute(t)) : (!c || i & 4 || n) && !u && e.nodeType === 1 && (s = s === !0 ? "" : s, p ? e.setAttributeNS(_e, t, s) : e.setAttribute(t, s));
|
|
502
525
|
}
|
|
503
|
-
},
|
|
526
|
+
}, Ct = /\s/, me = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Ct)), Le = "Capture", Pt = new RegExp(Le + "$"), ne = (e, t, r, s) => {
|
|
504
527
|
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, o = t.$attrs$ || {};
|
|
505
|
-
for (const c of
|
|
506
|
-
c in o ||
|
|
528
|
+
for (const c of we(Object.keys(i)))
|
|
529
|
+
c in o || ve(
|
|
507
530
|
n,
|
|
508
531
|
c,
|
|
509
532
|
i[c],
|
|
@@ -511,8 +534,8 @@ var At = (e, t, ...r) => {
|
|
|
511
534
|
r,
|
|
512
535
|
t.$flags$
|
|
513
536
|
);
|
|
514
|
-
for (const c of
|
|
515
|
-
|
|
537
|
+
for (const c of we(Object.keys(o)))
|
|
538
|
+
ve(
|
|
516
539
|
n,
|
|
517
540
|
c,
|
|
518
541
|
i[c],
|
|
@@ -521,7 +544,7 @@ var At = (e, t, ...r) => {
|
|
|
521
544
|
t.$flags$
|
|
522
545
|
);
|
|
523
546
|
};
|
|
524
|
-
function
|
|
547
|
+
function we(e) {
|
|
525
548
|
return e.includes("ref") ? (
|
|
526
549
|
// we need to sort these to ensure that `'ref'` is the last attr
|
|
527
550
|
[...e.filter((t) => t !== "ref"), "ref"]
|
|
@@ -530,11 +553,11 @@ function ve(e) {
|
|
|
530
553
|
e
|
|
531
554
|
);
|
|
532
555
|
}
|
|
533
|
-
var
|
|
556
|
+
var q, G, F, ie = !1, J = !1, ce = !1, b = !1, K = (e, t, r) => {
|
|
534
557
|
var s;
|
|
535
558
|
const n = t.$children$[r];
|
|
536
559
|
let i = 0, o, c, l;
|
|
537
|
-
if (
|
|
560
|
+
if (ie || (ce = !0, n.$tag$ === "slot" && (n.$flags$ |= n.$children$ ? (
|
|
538
561
|
// slot element has fallback content
|
|
539
562
|
// still create an element that "mocks" the slot element
|
|
540
563
|
2
|
|
@@ -546,89 +569,89 @@ var H, J, C, oe = !1, K = !1, ce = !1, y = !1, X = (e, t, r) => {
|
|
|
546
569
|
))), n.$text$ !== null)
|
|
547
570
|
o = n.$elm$ = A.document.createTextNode(n.$text$);
|
|
548
571
|
else if (n.$flags$ & 1)
|
|
549
|
-
o = n.$elm$ = A.document.createTextNode(""),
|
|
572
|
+
o = n.$elm$ = A.document.createTextNode(""), ne(null, n, b);
|
|
550
573
|
else {
|
|
551
|
-
if (
|
|
574
|
+
if (b || (b = n.$tag$ === "svg"), !A.document)
|
|
552
575
|
throw new Error(
|
|
553
576
|
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
554
577
|
);
|
|
555
578
|
if (o = n.$elm$ = A.document.createElementNS(
|
|
556
|
-
|
|
557
|
-
!
|
|
558
|
-
),
|
|
579
|
+
b ? Et : St,
|
|
580
|
+
!ie && Q.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
|
|
581
|
+
), b && n.$tag$ === "foreignObject" && (b = !1), ne(null, n, b), Ot(q) && o["s-si"] !== q && o.classList.add(o["s-si"] = q), n.$children$)
|
|
559
582
|
for (i = 0; i < n.$children$.length; ++i)
|
|
560
|
-
c =
|
|
561
|
-
n.$tag$ === "svg" ?
|
|
583
|
+
c = K(e, n, i), c && o.appendChild(c);
|
|
584
|
+
n.$tag$ === "svg" ? b = !1 : o.tagName === "foreignObject" && (b = !0);
|
|
562
585
|
}
|
|
563
|
-
return o["s-hn"] =
|
|
564
|
-
},
|
|
586
|
+
return o["s-hn"] = F, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = G, o["s-sn"] = n.$name$ || "", o["s-rf"] = (s = n.$attrs$) == null ? void 0 : s.ref, It(o), l = e && e.$children$ && e.$children$[r], l && l.$tag$ === n.$tag$ && e.$elm$ && C(e.$elm$, !1), Ue(G, o, t.$elm$, e == null ? void 0 : e.$elm$)), o;
|
|
587
|
+
}, C = (e, t) => {
|
|
565
588
|
M.$flags$ |= 1;
|
|
566
589
|
const r = Array.from(e.__childNodes || e.childNodes);
|
|
567
|
-
e["s-sr"] &&
|
|
590
|
+
e["s-sr"] && Q.experimentalSlotFixes;
|
|
568
591
|
for (let s = r.length - 1; s >= 0; s--) {
|
|
569
592
|
const n = r[s];
|
|
570
|
-
n["s-hn"] !==
|
|
593
|
+
n["s-hn"] !== F && n["s-ol"] && (R(P(n).parentNode, n, P(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, ce = !0), t && C(n, t);
|
|
571
594
|
}
|
|
572
595
|
M.$flags$ &= -2;
|
|
573
|
-
},
|
|
596
|
+
}, Fe = (e, t, r, s, n, i) => {
|
|
574
597
|
let o = e["s-cr"] && e["s-cr"].parentNode || e, c;
|
|
575
|
-
for (o.shadowRoot && o.tagName ===
|
|
576
|
-
s[n] && (c =
|
|
577
|
-
},
|
|
598
|
+
for (o.shadowRoot && o.tagName === F && (o = o.shadowRoot); n <= i; ++n)
|
|
599
|
+
s[n] && (c = K(null, r, n), c && (s[n].$elm$ = c, R(o, c, P(t))));
|
|
600
|
+
}, Ce = (e, t, r) => {
|
|
578
601
|
for (let s = t; s <= r; ++s) {
|
|
579
602
|
const n = e[s];
|
|
580
603
|
if (n) {
|
|
581
604
|
const i = n.$elm$;
|
|
582
|
-
|
|
605
|
+
We(n), i && (J = !0, i["s-ol"] ? i["s-ol"].remove() : C(i, !0), i.remove());
|
|
583
606
|
}
|
|
584
607
|
}
|
|
585
|
-
},
|
|
586
|
-
let i = 0, o = 0, c = 0, l = 0,
|
|
587
|
-
for (; i <=
|
|
588
|
-
if (
|
|
589
|
-
|
|
608
|
+
}, Wt = (e, t, r, s, n = !1) => {
|
|
609
|
+
let i = 0, o = 0, c = 0, l = 0, u = t.length - 1, p = t[0], a = t[u], g = s.length - 1, d = s[0], f = s[g], _, y;
|
|
610
|
+
for (; i <= u && o <= g; )
|
|
611
|
+
if (p == null)
|
|
612
|
+
p = t[++i];
|
|
590
613
|
else if (a == null)
|
|
591
|
-
a = t[--
|
|
592
|
-
else if (p == null)
|
|
593
|
-
p = s[++o];
|
|
614
|
+
a = t[--u];
|
|
594
615
|
else if (d == null)
|
|
595
|
-
d = s[
|
|
596
|
-
else if (
|
|
597
|
-
|
|
616
|
+
d = s[++o];
|
|
617
|
+
else if (f == null)
|
|
618
|
+
f = s[--g];
|
|
619
|
+
else if (B(p, d, n))
|
|
620
|
+
z(p, d, n), p = t[++i], d = s[++o];
|
|
621
|
+
else if (B(a, f, n))
|
|
622
|
+
z(a, f, n), a = t[--u], f = s[--g];
|
|
623
|
+
else if (B(p, f, n))
|
|
624
|
+
(p.$tag$ === "slot" || f.$tag$ === "slot") && C(p.$elm$.parentNode, !1), z(p, f, n), R(e, p.$elm$, a.$elm$.nextSibling), p = t[++i], f = s[--g];
|
|
598
625
|
else if (B(a, d, n))
|
|
599
|
-
z(a, d, n), a = t[--
|
|
600
|
-
else if (B(u, d, n))
|
|
601
|
-
(u.$tag$ === "slot" || d.$tag$ === "slot") && P(u.$elm$.parentNode, !1), z(u, d, n), j(e, u.$elm$, a.$elm$.nextSibling), u = t[++i], d = s[--g];
|
|
602
|
-
else if (B(a, p, n))
|
|
603
|
-
(u.$tag$ === "slot" || d.$tag$ === "slot") && P(a.$elm$.parentNode, !1), z(a, p, n), j(e, a.$elm$, u.$elm$), a = t[--f], p = s[++o];
|
|
626
|
+
(p.$tag$ === "slot" || f.$tag$ === "slot") && C(a.$elm$.parentNode, !1), z(a, d, n), R(e, a.$elm$, p.$elm$), a = t[--u], d = s[++o];
|
|
604
627
|
else {
|
|
605
|
-
for (c = -1, l = i; l <=
|
|
606
|
-
if (t[l] && t[l].$key$ !== null && t[l].$key$ ===
|
|
628
|
+
for (c = -1, l = i; l <= u; ++l)
|
|
629
|
+
if (t[l] && t[l].$key$ !== null && t[l].$key$ === d.$key$) {
|
|
607
630
|
c = l;
|
|
608
631
|
break;
|
|
609
632
|
}
|
|
610
|
-
c >= 0 ? (
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
633
|
+
c >= 0 ? (y = t[c], y.$tag$ !== d.$tag$ ? _ = K(t && t[o], r, c) : (z(y, d, n), t[c] = void 0, _ = y.$elm$), d = s[++o]) : (_ = K(t && t[o], r, o), d = s[++o]), _ && R(
|
|
634
|
+
P(p.$elm$).parentNode,
|
|
635
|
+
_,
|
|
636
|
+
P(p.$elm$)
|
|
614
637
|
);
|
|
615
638
|
}
|
|
616
|
-
i >
|
|
639
|
+
i > u ? Fe(
|
|
617
640
|
e,
|
|
618
641
|
s[g + 1] == null ? null : s[g + 1].$elm$,
|
|
619
642
|
r,
|
|
620
643
|
s,
|
|
621
644
|
o,
|
|
622
645
|
g
|
|
623
|
-
) : o > g &&
|
|
624
|
-
}, B = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1,
|
|
646
|
+
) : o > g && Ce(t, i, u);
|
|
647
|
+
}, B = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, P = (e) => e && e["s-ol"] || e, z = (e, t, r = !1) => {
|
|
625
648
|
const s = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, o = t.$tag$, c = t.$text$;
|
|
626
649
|
let l;
|
|
627
|
-
c === null ? (
|
|
650
|
+
c === null ? (b = o === "svg" ? !0 : o === "foreignObject" ? !1 : b, ne(e, t, b), n !== null && i !== null ? Wt(s, n, t, i, r) : i !== null ? (e.$text$ !== null && (s.textContent = ""), Fe(s, null, t, i, 0, i.length - 1)) : (
|
|
628
651
|
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
629
|
-
!r &&
|
|
630
|
-
),
|
|
631
|
-
},
|
|
652
|
+
!r && Q.updatable && n !== null && Ce(n, 0, n.length - 1)
|
|
653
|
+
), b && o === "svg" && (b = !1)) : (l = s["s-cr"]) ? l.parentNode.textContent = c : e.$text$ !== c && (s.data = c);
|
|
654
|
+
}, x = [], Pe = (e) => {
|
|
632
655
|
let t, r, s;
|
|
633
656
|
const n = e.__childNodes || e.childNodes;
|
|
634
657
|
for (const i of n) {
|
|
@@ -637,96 +660,96 @@ var H, J, C, oe = !1, K = !1, ce = !1, y = !1, X = (e, t, r) => {
|
|
|
637
660
|
const o = i["s-sn"];
|
|
638
661
|
for (s = r.length - 1; s >= 0; s--)
|
|
639
662
|
if (t = r[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
|
|
640
|
-
if (
|
|
641
|
-
let c =
|
|
642
|
-
|
|
663
|
+
if (ye(t, o)) {
|
|
664
|
+
let c = x.find((l) => l.$nodeToRelocate$ === t);
|
|
665
|
+
J = !0, t["s-sn"] = t["s-sn"] || o, c ? (c.$nodeToRelocate$["s-sh"] = i["s-hn"], c.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], x.push({
|
|
643
666
|
$slotRefNode$: i,
|
|
644
667
|
$nodeToRelocate$: t
|
|
645
|
-
})), t["s-sr"] &&
|
|
646
|
-
|
|
668
|
+
})), t["s-sr"] && x.map((l) => {
|
|
669
|
+
ye(l.$nodeToRelocate$, t["s-sn"]) && (c = x.find((u) => u.$nodeToRelocate$ === t), c && !l.$slotRefNode$ && (l.$slotRefNode$ = c.$slotRefNode$));
|
|
647
670
|
});
|
|
648
|
-
} else
|
|
671
|
+
} else x.some((c) => c.$nodeToRelocate$ === t) || x.push({
|
|
649
672
|
$nodeToRelocate$: t
|
|
650
673
|
});
|
|
651
674
|
}
|
|
652
|
-
i.nodeType === 1 &&
|
|
675
|
+
i.nodeType === 1 && Pe(i);
|
|
653
676
|
}
|
|
654
|
-
},
|
|
655
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(
|
|
656
|
-
},
|
|
657
|
-
function
|
|
677
|
+
}, We = (e) => {
|
|
678
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(We);
|
|
679
|
+
}, R = (e, t, r) => (typeof t["s-sn"] == "string" && t["s-sr"] && t["s-cr"] && Ue(t["s-cr"], t, e, t.parentElement), e == null ? void 0 : e.insertBefore(t, r));
|
|
680
|
+
function Ue(e, t, r, s) {
|
|
658
681
|
var n, i;
|
|
659
682
|
let o;
|
|
660
683
|
if (e && typeof t["s-sn"] == "string" && t["s-sr"] && e.parentNode && e.parentNode["s-sc"] && (o = t["s-si"] || e.parentNode["s-sc"])) {
|
|
661
684
|
const c = t["s-sn"], l = t["s-hn"];
|
|
662
685
|
if ((n = r.classList) == null || n.add(o + "-s"), s && ((i = s.classList) != null && i.contains(o + "-s"))) {
|
|
663
|
-
let
|
|
664
|
-
for (;
|
|
665
|
-
if (
|
|
666
|
-
|
|
686
|
+
let u = (s.__childNodes || s.childNodes)[0], p = !1;
|
|
687
|
+
for (; u; ) {
|
|
688
|
+
if (u["s-sn"] !== c && u["s-hn"] === l && u["s-sr"]) {
|
|
689
|
+
p = !0;
|
|
667
690
|
break;
|
|
668
691
|
}
|
|
669
|
-
|
|
692
|
+
u = u.nextSibling;
|
|
670
693
|
}
|
|
671
|
-
|
|
694
|
+
p || s.classList.remove(o + "-s");
|
|
672
695
|
}
|
|
673
696
|
}
|
|
674
697
|
}
|
|
675
|
-
var
|
|
698
|
+
var Ut = (e, t, r = !1) => {
|
|
676
699
|
var s, n, i, o, c;
|
|
677
|
-
const l = e.$hostElement$,
|
|
678
|
-
if (
|
|
679
|
-
([
|
|
680
|
-
)), r &&
|
|
681
|
-
for (const
|
|
682
|
-
l.hasAttribute(
|
|
683
|
-
|
|
700
|
+
const l = e.$hostElement$, u = e.$cmpMeta$, p = e.$vnode$ || se(null, null), g = Ft(t) ? t : Mt(null, null, t);
|
|
701
|
+
if (F = l.tagName, u.$attrsToReflect$ && (g.$attrs$ = g.$attrs$ || {}, u.$attrsToReflect$.map(
|
|
702
|
+
([d, f]) => g.$attrs$[f] = l[d]
|
|
703
|
+
)), r && g.$attrs$)
|
|
704
|
+
for (const d of Object.keys(g.$attrs$))
|
|
705
|
+
l.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (g.$attrs$[d] = l[d]);
|
|
706
|
+
g.$tag$ = null, g.$flags$ |= 4, e.$vnode$ = g, g.$elm$ = p.$elm$ = l.shadowRoot || l, q = l["s-sc"], ie = !!(u.$flags$ & 1) && !(u.$flags$ & 128), G = l["s-cr"], J = !1, z(p, g, r);
|
|
684
707
|
{
|
|
685
708
|
if (M.$flags$ |= 1, ce) {
|
|
686
|
-
|
|
687
|
-
for (const
|
|
688
|
-
const
|
|
689
|
-
if (!
|
|
690
|
-
const
|
|
691
|
-
|
|
709
|
+
Pe(g.$elm$);
|
|
710
|
+
for (const d of x) {
|
|
711
|
+
const f = d.$nodeToRelocate$;
|
|
712
|
+
if (!f["s-ol"] && A.document) {
|
|
713
|
+
const _ = A.document.createTextNode("");
|
|
714
|
+
_["s-nr"] = f, R(f.parentNode, f["s-ol"] = _, f);
|
|
692
715
|
}
|
|
693
716
|
}
|
|
694
|
-
for (const
|
|
695
|
-
const
|
|
696
|
-
if (
|
|
697
|
-
const
|
|
698
|
-
let
|
|
717
|
+
for (const d of x) {
|
|
718
|
+
const f = d.$nodeToRelocate$, _ = d.$slotRefNode$;
|
|
719
|
+
if (_) {
|
|
720
|
+
const y = _.parentNode;
|
|
721
|
+
let w = _.nextSibling;
|
|
699
722
|
{
|
|
700
|
-
let
|
|
701
|
-
for (;
|
|
702
|
-
let
|
|
703
|
-
if (
|
|
704
|
-
for (
|
|
705
|
-
|
|
706
|
-
if (!
|
|
707
|
-
|
|
723
|
+
let k = (s = f["s-ol"]) == null ? void 0 : s.previousSibling;
|
|
724
|
+
for (; k; ) {
|
|
725
|
+
let h = (n = k["s-nr"]) != null ? n : null;
|
|
726
|
+
if (h && h["s-sn"] === f["s-sn"] && y === (h.__parentNode || h.parentNode)) {
|
|
727
|
+
for (h = h.nextSibling; h === f || h != null && h["s-sr"]; )
|
|
728
|
+
h = h == null ? void 0 : h.nextSibling;
|
|
729
|
+
if (!h || !h["s-nr"]) {
|
|
730
|
+
w = h;
|
|
708
731
|
break;
|
|
709
732
|
}
|
|
710
733
|
}
|
|
711
|
-
|
|
734
|
+
k = k.previousSibling;
|
|
712
735
|
}
|
|
713
736
|
}
|
|
714
|
-
const
|
|
715
|
-
(!
|
|
737
|
+
const T = f.__parentNode || f.parentNode, pe = f.__nextSibling || f.nextSibling;
|
|
738
|
+
(!w && y !== T || pe !== w) && f !== w && (!f["s-hn"] && f["s-ol"] && (f["s-hn"] = f["s-ol"].parentNode.nodeName), R(y, f, w), f.nodeType === 1 && f.tagName !== "SLOT-FB" && (f.hidden = (i = f["s-ih"]) != null ? i : !1)), f && typeof _["s-rf"] == "function" && _["s-rf"](_);
|
|
716
739
|
} else
|
|
717
|
-
|
|
740
|
+
f.nodeType === 1 && (r && (f["s-ih"] = (o = f.hidden) != null ? o : !1), f.hidden = !0);
|
|
718
741
|
}
|
|
719
742
|
}
|
|
720
|
-
|
|
743
|
+
J && Ie(g.$elm$), M.$flags$ &= -2, x.length = 0;
|
|
721
744
|
}
|
|
722
|
-
if (
|
|
723
|
-
const
|
|
724
|
-
for (const
|
|
725
|
-
|
|
745
|
+
if (Q.experimentalScopedSlotChanges && u.$flags$ & 2) {
|
|
746
|
+
const d = g.$elm$.__childNodes || g.$elm$.childNodes;
|
|
747
|
+
for (const f of d)
|
|
748
|
+
f["s-hn"] !== F && !f["s-sh"] && (r && f["s-ih"] == null && (f["s-ih"] = (c = f.hidden) != null ? c : !1), f.hidden = !0);
|
|
726
749
|
}
|
|
727
|
-
|
|
750
|
+
G = void 0;
|
|
728
751
|
};
|
|
729
|
-
const
|
|
752
|
+
const fe = {
|
|
730
753
|
content_wrap: 0,
|
|
731
754
|
ignore: [],
|
|
732
755
|
ignore_with: "_!i-£___£%_",
|
|
@@ -735,7 +758,7 @@ const q = {
|
|
|
735
758
|
tag_wrap: 0,
|
|
736
759
|
tag_wrap_width: 80,
|
|
737
760
|
trim: []
|
|
738
|
-
},
|
|
761
|
+
}, E = "__!i-£___£%__", S = "!i-£___£%_", Ze = [
|
|
739
762
|
"area",
|
|
740
763
|
"base",
|
|
741
764
|
"br",
|
|
@@ -750,7 +773,11 @@ const q = {
|
|
|
750
773
|
"source",
|
|
751
774
|
"track",
|
|
752
775
|
"wbr"
|
|
753
|
-
],
|
|
776
|
+
], De = {
|
|
777
|
+
checked_html: !1,
|
|
778
|
+
config: { ...fe },
|
|
779
|
+
ignored: !1
|
|
780
|
+
}, W = () => De, Z = (e) => Object.assign(De, e), ue = (e) => (Z({ checked_html: !0 }), /<(?:[A-Za-z]+[A-Za-z0-9]*)(?:\s+.*?)*?\/{0,1}>/.test(e) || /<(?<Element>(?:[A-Za-z]+[A-Za-z0-9]*:)?(?:[A-Za-z]+[A-Za-z0-9]*))(?:\s+.*?)*?>(?:.|\n)*?<\/{1}\k<Element>>/.test(e) || /<(?<Element>(?:[a-z][a-z0-9._]*:)?[a-z][a-z0-9._]*-[a-z0-9._-]+)(?:\s+.*?)*?>(?:.|\n)*?<\/{1}\k<Element>>/.test(e)), He = (e, t) => {
|
|
754
781
|
if (!e || !t)
|
|
755
782
|
throw new Error("Both 'current' and 'updates' must be passed-in to mergeObjects()");
|
|
756
783
|
let r;
|
|
@@ -759,68 +786,73 @@ const q = {
|
|
|
759
786
|
else if (typeof e == "object") {
|
|
760
787
|
r = { ...e };
|
|
761
788
|
for (let s of Object.keys(t))
|
|
762
|
-
typeof t[s] != "object" ? r[s] = t[s] : r[s] =
|
|
789
|
+
typeof t[s] != "object" ? r[s] = t[s] : r[s] = He(r[s] || {}, t[s]);
|
|
763
790
|
}
|
|
764
791
|
return r;
|
|
765
|
-
},
|
|
792
|
+
}, Zt = (e, t) => {
|
|
793
|
+
const r = He(e, t);
|
|
794
|
+
return Z({ config: r }), r;
|
|
795
|
+
}, Dt = (e) => (e = e.replace(/<[\w:\-]+([^>]*[^\/])>/g, (t, r) => t.replace(r, (s) => s.replace(/\n/g, S + "nl!").replace(/\r/g, S + "cr!").replace(/\s/g, S + "ws!"))), e), Ht = (e) => e.replace(/\n/g, E + "nl!").replace(/\r/g, E + "cr!").replace(/\s/g, E + "ws!"), Bt = (e) => {
|
|
766
796
|
const t = /\s*<([a-zA-Z0-9:-]+)[^>]*>\n\s*<\/\1>(?=\n[ ]*[^\n]*__!i-£___£%__[^\n]*\n)(\n[ ]*\S[^\n]*\n)|<([a-zA-Z0-9:-]+)[^>]*>(?=\n[ ]*[^\n]*__!i-£___£%__[^\n]*\n)(\n[ ]*\S[^\n]*\n\s*)<\/\3>/g;
|
|
767
797
|
return e.replace(t, (r, s, n, i, o) => {
|
|
768
798
|
const c = n || o;
|
|
769
799
|
if (!c)
|
|
770
800
|
return r;
|
|
771
|
-
const l = c.replace(/\n/g,
|
|
801
|
+
const l = c.replace(/\n/g, E + "nl!").replace(/\r/g, E + "cr!").replace(/\s/g, E + "ws!");
|
|
772
802
|
return r.replace(c, l);
|
|
773
803
|
});
|
|
774
|
-
},
|
|
804
|
+
}, qt = (e) => {
|
|
775
805
|
const t = /<([A-Za-z][A-Za-z0-9]*|[a-z][a-z0-9._]*-[a-z0-9._-]+)((?:\s+[A-Za-z0-9_-]+="[^"]*"|\s*[a-z]*)*)>/g;
|
|
776
|
-
return e = e.replace(t, (r, s, n) => r.replace(n, (i) => i.replace(/</g,
|
|
777
|
-
},
|
|
806
|
+
return e = e.replace(t, (r, s, n) => r.replace(n, (i) => i.replace(/</g, S + "lt!").replace(/>/g, S + "gt!"))), e;
|
|
807
|
+
}, Gt = (e, t) => {
|
|
778
808
|
for (let r = 0; r < t.length; r++) {
|
|
779
809
|
const s = new RegExp(`(<${t[r]}[^>]*>)\\s+`, "g"), n = new RegExp(`\\s+(</${t[r]}>)`, "g");
|
|
780
810
|
e = e.replace(s, "$1").replace(n, "$1");
|
|
781
811
|
}
|
|
782
812
|
return e;
|
|
783
|
-
},
|
|
784
|
-
`).replace(new RegExp(
|
|
785
|
-
`).replace(new RegExp(
|
|
813
|
+
}, Jt = (e) => (e = e.replace(/<[\w:\-]+([^>]*[^\/])>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(S + "nl!", "g"), `
|
|
814
|
+
`).replace(new RegExp(S + "cr!", "g"), "\r").replace(new RegExp(S + "ws!", "g"), " "))), e), Kt = (e) => (e = e.replace(/.*__!i-£___£%__[a-z]{2}!.*/g, (t) => t.replace(/__!i-£___£%__[a-z]{2}!/g, (r) => r.replace(new RegExp(E + "nl!", "g"), `
|
|
815
|
+
`).replace(new RegExp(E + "cr!", "g"), "\r").replace(new RegExp(E + "ws!", "g"), " "))), e), Be = S.replace(
|
|
786
816
|
/[-\/\\^$*+?.()|[\]{}]/g,
|
|
787
817
|
"\\$&"
|
|
788
|
-
),
|
|
818
|
+
), Xt = new RegExp(Be + "lt!", "g"), Yt = new RegExp(Be + "gt!", "g"), Qt = (e) => {
|
|
789
819
|
const t = /<([\w:\-]+)([^>]*)>/g;
|
|
790
820
|
return e.replace(
|
|
791
821
|
t,
|
|
792
822
|
(r, s, n) => {
|
|
793
|
-
const i = n.replace(
|
|
823
|
+
const i = n.replace(Xt, "<").replace(Yt, ">");
|
|
794
824
|
return `<${s}${i}>`;
|
|
795
825
|
}
|
|
796
826
|
);
|
|
797
|
-
},
|
|
798
|
-
var
|
|
827
|
+
}, Vt = (e) => {
|
|
828
|
+
var n, i;
|
|
799
829
|
if (typeof e != "object") throw new Error("Config must be an object.");
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
if (
|
|
806
|
-
|
|
830
|
+
const t = { ...fe };
|
|
831
|
+
if (!(Object.hasOwn(e, "content_wrap") || Object.hasOwn(e, "ignore") || Object.hasOwn(e, "ignore_with") || Object.hasOwn(e, "strict") || Object.hasOwn(e, "tab_size") || Object.hasOwn(e, "tag_wrap") || Object.hasOwn(e, "tag_wrap_width") || Object.hasOwn(e, "trim")))
|
|
832
|
+
return Z({ config: t }), t;
|
|
833
|
+
let s = e.tab_size;
|
|
834
|
+
if (s) {
|
|
835
|
+
if (typeof s != "number") throw new Error(`tab_size must be a number, not ${typeof e.tab_size}.`);
|
|
836
|
+
if (!Number.isSafeInteger(s)) throw new Error(`Tab size ${s} is not safe. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger for more info.`);
|
|
837
|
+
if (s = Math.floor(s), s < 1 || s > 16) throw new Error("Tab size out of range. Expecting 1 to 16.");
|
|
838
|
+
e.tab_size = s;
|
|
807
839
|
}
|
|
808
840
|
if (Object.hasOwn(e, "content_wrap") && typeof e.content_wrap != "number")
|
|
809
841
|
throw new Error(`content_wrap config must be a number, not ${typeof e.tag_wrap_width}.`);
|
|
810
|
-
if (Object.hasOwn(e, "ignore") && (!Array.isArray(e.ignore) || !((
|
|
842
|
+
if (Object.hasOwn(e, "ignore") && (!Array.isArray(e.ignore) || !((n = e.ignore) != null && n.every((o) => typeof o == "string"))))
|
|
811
843
|
throw new Error("Ignore config must be an array of strings.");
|
|
812
844
|
if (Object.hasOwn(e, "ignore_with") && typeof e.ignore_with != "string")
|
|
813
845
|
throw new Error(`Ignore_with config must be a string, not ${typeof e.ignore_with}.`);
|
|
814
846
|
if (Object.hasOwn(e, "strict") && typeof e.strict != "boolean")
|
|
815
847
|
throw new Error(`Strict config must be a boolean, not ${typeof e.strict}.`);
|
|
816
|
-
if (Object.hasOwn(e, "tag_wrap") && typeof e.tag_wrap == "boolean" && (console.warn("tag_wrap as a boolean is deprecated, and will not be supported in v0.9.0+. Use `tag_wrap: <number>` instead; where <number> is the max character width acceptable before wrapping attributes."), e.tag_wrap_width ? e.tag_wrap = e.tag_wrap_width : e.tag_wrap =
|
|
848
|
+
if (Object.hasOwn(e, "tag_wrap") && typeof e.tag_wrap == "boolean" && (console.warn("tag_wrap as a boolean is deprecated, and will not be supported in v0.9.0+. Use `tag_wrap: <number>` instead; where <number> is the max character width acceptable before wrapping attributes."), e.tag_wrap_width ? e.tag_wrap = e.tag_wrap_width : e.tag_wrap = t.tag_wrap_width), Object.hasOwn(e, "tag_wrap") && typeof e.tag_wrap != "number")
|
|
817
849
|
throw new Error(`tag_wrap config must be a number, not ${typeof e.tag_wrap}.`);
|
|
818
850
|
if (Object.hasOwn(e, "tag_wrap_width") && console.warn("tag_wrap_width is deprecated, and will not be supported in v0.9.0+. Use `tag_wrap: <number>` instead; where <number> is the max character width acceptable before wrapping attributes."), Object.hasOwn(e, "tag_wrap_width") && typeof e.tag_wrap_width != "number")
|
|
819
851
|
throw new Error(`tag_wrap_width config must be a number, not ${typeof e.tag_wrap_width}.`);
|
|
820
|
-
if (Object.hasOwn(e, "trim") && (!Array.isArray(e.trim) || !((
|
|
852
|
+
if (Object.hasOwn(e, "trim") && (!Array.isArray(e.trim) || !((i = e.trim) != null && i.every((o) => typeof o == "string"))))
|
|
821
853
|
throw new Error("Trim config must be an array of strings.");
|
|
822
|
-
return
|
|
823
|
-
},
|
|
854
|
+
return Zt(t, e);
|
|
855
|
+
}, er = (e, t, r) => {
|
|
824
856
|
const s = e.trim().split(/\s+/);
|
|
825
857
|
if (s.length === 0 || s.length === 1 && s[0] === "")
|
|
826
858
|
return "";
|
|
@@ -833,14 +865,15 @@ const q = {
|
|
|
833
865
|
i !== "" && n.push(n.length === 0 ? r + i : o + i), n.push(n.length === 0 ? r + l : o + l), i = "";
|
|
834
866
|
return;
|
|
835
867
|
}
|
|
836
|
-
const
|
|
837
|
-
|
|
868
|
+
const u = i === "" ? l : i + " " + l;
|
|
869
|
+
u.length <= t ? i = u : (i !== "" && n.push(n.length === 0 ? r + i : o + i), i = l);
|
|
838
870
|
}), i !== "" && n.push(n.length === 0 ? r + i : o + i);
|
|
839
871
|
const c = n.join(`
|
|
840
872
|
`);
|
|
841
|
-
return
|
|
873
|
+
return Ht(c);
|
|
842
874
|
};
|
|
843
|
-
function
|
|
875
|
+
function qe(e, t) {
|
|
876
|
+
Z({ ignored: !0 });
|
|
844
877
|
let r = e;
|
|
845
878
|
const s = /* @__PURE__ */ new Map();
|
|
846
879
|
let n = 0;
|
|
@@ -851,126 +884,144 @@ function Gt(e, t) {
|
|
|
851
884
|
"gs"
|
|
852
885
|
// global and dotAll
|
|
853
886
|
);
|
|
854
|
-
let
|
|
855
|
-
const
|
|
856
|
-
for (; (
|
|
887
|
+
let u;
|
|
888
|
+
const p = [];
|
|
889
|
+
for (; (u = l.exec(r)) !== null; ) {
|
|
857
890
|
const a = `${i}${n++}___`;
|
|
858
|
-
s.set(a,
|
|
859
|
-
start:
|
|
891
|
+
s.set(a, u[0]), p.push({
|
|
892
|
+
start: u.index,
|
|
860
893
|
end: l.lastIndex,
|
|
861
894
|
marker: a
|
|
862
895
|
});
|
|
863
896
|
}
|
|
864
|
-
for (let a =
|
|
865
|
-
const g =
|
|
897
|
+
for (let a = p.length - 1; a >= 0; a--) {
|
|
898
|
+
const g = p[a];
|
|
866
899
|
r = r.substring(0, g.start) + g.marker + r.substring(g.end);
|
|
867
900
|
}
|
|
868
901
|
}
|
|
869
902
|
return { html_with_markers: r, extracted_map: s };
|
|
870
903
|
}
|
|
871
|
-
function
|
|
904
|
+
function Ge(e, t) {
|
|
905
|
+
Z({ ignored: !1 });
|
|
872
906
|
let r = e;
|
|
873
907
|
for (const [s, n] of t)
|
|
874
908
|
r = r.split(s).join(n);
|
|
875
909
|
return r;
|
|
876
910
|
}
|
|
877
|
-
const
|
|
878
|
-
|
|
879
|
-
(r, s,
|
|
880
|
-
|
|
881
|
-
|
|
911
|
+
const tr = (e) => {
|
|
912
|
+
const { checked_html: t } = W();
|
|
913
|
+
return !t && !ue(e) ? e : e.replace(/<([a-zA-Z\-0-9:]+)[^>]*>/g, (r, s) => Ze.indexOf(s) > -1 ? `${r.substring(0, r.length - 1)} />`.replace(/\/\s\//g, "/") : r.replace(/[\s]?\/>/g, `></${s}>`));
|
|
914
|
+
}, rr = (e, t = !1) => (e = e.replace(/<textarea[^>]*>((.|\n)*?)<\/textarea>/g, (r, s) => r.replace(s, (n) => n.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\n/g, " ").replace(/\r/g, " ").replace(/\s/g, " "))), t && (e = e.replace(/<textarea[^>]*>((.|\n)*?)<\/textarea>/g, (r, s) => (r = r.replace(s, (n) => n.replace(/\n|\t/g, "").replace(/[a-z]+="\s*"/ig, "").replace(/>\s+</g, "><").replace(/\s+/g, " ")), r = r.replace(/\s+/g, " ").replace(/\s>/g, ">").replace(/>\s/g, ">").replace(/\s</g, "<").replace(/class=["']\s/g, (n) => n.replace(/\s/g, "")).replace(/(class=.*)\s(["'])/g, "$1$2"), r))), e);
|
|
915
|
+
let xe;
|
|
916
|
+
const sr = (e, t) => {
|
|
917
|
+
let r = !1;
|
|
918
|
+
const { checked_html: s, ignored: n } = W();
|
|
919
|
+
if (!s && !ue(e)) return e;
|
|
920
|
+
const i = W().config, o = i.ignore.length > 0;
|
|
921
|
+
if (!n && o) {
|
|
922
|
+
const { html_with_markers: c, extracted_map: l } = qe(e, i);
|
|
923
|
+
e = c, xe = l, r = !0;
|
|
882
924
|
}
|
|
883
|
-
), e = e.
|
|
884
|
-
|
|
885
|
-
|
|
925
|
+
return e = rr(e), e = e.replace(/\n|\t/g, ""), e = e.replace(/>\s+</g, "><"), e = e.replace(/ {2,}/g, " "), e = e.replace(/ >/g, ">"), e = e.replace(/ </g, "<"), e = e.replace(/> /g, ">"), e = e.replace(/<\s*\//g, "</"), e = e.replace(/ = /g, "="), e = e.replace(
|
|
926
|
+
/([a-zA-Z0-9_-]+)=(['"])(.*?)\2/g,
|
|
927
|
+
(c, l, u, p) => {
|
|
928
|
+
const a = p.trim();
|
|
929
|
+
return `${l}=${u}${a}${u}`;
|
|
930
|
+
}
|
|
931
|
+
), e = e.trim(), r && (e = Ge(e, xe)), e;
|
|
932
|
+
}, L = {
|
|
886
933
|
line: []
|
|
887
934
|
};
|
|
888
|
-
let
|
|
889
|
-
const
|
|
890
|
-
|
|
935
|
+
let Ee;
|
|
936
|
+
const nr = (e) => {
|
|
937
|
+
L.line = [];
|
|
891
938
|
let t = -1;
|
|
892
939
|
const r = /(<[^>]+>)|([^<]+)/g;
|
|
893
|
-
return e = e.replace(r, (s, n, i) => (n ?
|
|
940
|
+
return e = e.replace(r, (s, n, i) => (n ? L.line.push({ type: "tag", value: s }) : i && i.trim().length > 0 && L.line.push({ type: "text", value: s }), t++, `
|
|
894
941
|
[#-# : ${t} : ${s} : #-#]
|
|
895
942
|
`)), e;
|
|
896
|
-
},
|
|
897
|
-
|
|
943
|
+
}, ir = (e) => {
|
|
944
|
+
e = tr(e);
|
|
945
|
+
const { config: t } = W();
|
|
946
|
+
return t.trim.length > 0 && (e = Gt(e, t.trim)), e = sr(e), e = nr(e), e;
|
|
947
|
+
}, or = (e) => {
|
|
948
|
+
const t = " ".repeat(e.tab_size), r = e.tag_wrap, s = e.content_wrap, i = `-${e.ignore_with}`, o = e.strict;
|
|
898
949
|
let c = "";
|
|
899
|
-
const l = [],
|
|
900
|
-
|
|
901
|
-
let
|
|
902
|
-
const
|
|
903
|
-
let
|
|
904
|
-
const
|
|
905
|
-
c += "0",
|
|
906
|
-
const
|
|
907
|
-
if (c = c.substring(0,
|
|
908
|
-
if (
|
|
909
|
-
l[l.length - 1] = l.at(-1) +
|
|
950
|
+
const l = [], u = /<[A-Za-z]+\b[^>]*(?:.|\n)*?\/?>/g, p = /\s{1}[A-Za-z-]+(?:=".*?")?/g;
|
|
951
|
+
L.line.forEach((g, d) => {
|
|
952
|
+
let f = g.value;
|
|
953
|
+
const _ = f.startsWith(i + "lt--") || f.startsWith(i + "gt--") || f.startsWith(i + "nl--") || f.startsWith(i + "cr--") || f.startsWith(i + "ws--") || f.startsWith(i + "tab--");
|
|
954
|
+
let y = 0;
|
|
955
|
+
const w = L.line[d - 1], T = (w == null ? void 0 : w.value) ?? "";
|
|
956
|
+
c += "0", d === 0 && y++, f.trim().startsWith("</") && y++, T.trim().startsWith("<!doctype") && y++, T.trim().startsWith("<!--") && y++, T.trim().endsWith("/>") && y++, T.trim().startsWith("</") && y++, (w == null ? void 0 : w.type) === "text" && y++;
|
|
957
|
+
const k = Math.max(0, c.length - y);
|
|
958
|
+
if (c = c.substring(0, k), g.type === "text" && /^[!,;\.]/.test(f))
|
|
959
|
+
if (f.length === 1) {
|
|
960
|
+
l[l.length - 1] = l.at(-1) + f;
|
|
910
961
|
return;
|
|
911
962
|
} else
|
|
912
|
-
l[l.length - 1] = l.at(-1) +
|
|
913
|
-
const
|
|
914
|
-
if (
|
|
915
|
-
l.push(
|
|
963
|
+
l[l.length - 1] = l.at(-1) + f.charAt(0), f = f.slice(1).trim();
|
|
964
|
+
const h = t.repeat(k);
|
|
965
|
+
if (_)
|
|
966
|
+
l.push(f);
|
|
916
967
|
else {
|
|
917
|
-
if (
|
|
968
|
+
if (o && f.trim().startsWith("<!--"))
|
|
918
969
|
return;
|
|
919
|
-
let
|
|
920
|
-
if (g.type === "text" &&
|
|
921
|
-
|
|
922
|
-
else if (
|
|
923
|
-
|
|
924
|
-
const
|
|
925
|
-
if (
|
|
926
|
-
const
|
|
927
|
-
let
|
|
970
|
+
let v = f;
|
|
971
|
+
if (g.type === "text" && s > 0 && v.length >= s)
|
|
972
|
+
v = er(v, s, h);
|
|
973
|
+
else if (r > 0 && v.length > r && u.test(v)) {
|
|
974
|
+
u.lastIndex = 0, p.lastIndex = 0;
|
|
975
|
+
const D = v.split(p).filter(Boolean);
|
|
976
|
+
if (D.length >= 2) {
|
|
977
|
+
const Ke = v.matchAll(p), Xe = h + t;
|
|
978
|
+
let V = h + D[0] + `
|
|
928
979
|
`;
|
|
929
|
-
for (const
|
|
930
|
-
const
|
|
931
|
-
|
|
980
|
+
for (const tt of Ke) {
|
|
981
|
+
const rt = tt[0].trim();
|
|
982
|
+
V += Xe + rt + `
|
|
932
983
|
`;
|
|
933
984
|
}
|
|
934
|
-
const
|
|
935
|
-
|
|
985
|
+
const ge = D[0].match(/<([A-Za-z_:-]+)/), Ye = ge ? ge[1] : "", Qe = Ze.includes(Ye), Ve = D[1].trim(), et = h + (o && Qe ? " " : "");
|
|
986
|
+
V += et + Ve, v = V;
|
|
936
987
|
} else
|
|
937
|
-
|
|
988
|
+
v = h + v;
|
|
938
989
|
} else
|
|
939
|
-
|
|
940
|
-
l.push(
|
|
990
|
+
v = h + v;
|
|
991
|
+
l.push(v);
|
|
941
992
|
}
|
|
942
993
|
});
|
|
943
994
|
let a = l.join(`
|
|
944
995
|
`);
|
|
945
|
-
return
|
|
996
|
+
return r > 0 && (a = Dt(a)), s > 0 && /\n[ ]*[^\n]*__!i-£___£%__[^\n]*\n/.test(a) && (a = Bt(a)), a = a.replace(
|
|
946
997
|
/<(?<Element>.+).*>[^<]*?[^><\/\s][^<]*?<\/{1}\k<Element>|<script[^>]*>\s+<\/script>|<(\w+)>\s+<\/(\w+)|<(?:([\w:\._-]+)|([\w:\._-]+)[^>]*[^\/])>\s+<\/([\w:\._-]+)>/g,
|
|
947
998
|
(g) => g.replace(/\n|\t|\s{2,}/g, "")
|
|
948
|
-
),
|
|
999
|
+
), s > 0 && (a = Kt(a)), r > 0 && (a = Jt(a)), o && (a = a.replace(/\s\/>|\/>/g, ">")), a.startsWith(`
|
|
949
1000
|
`) && (a = a.substring(1)), a.endsWith(`
|
|
950
1001
|
`) && (a = a.substring(0, a.length - 1)), a;
|
|
951
|
-
},
|
|
952
|
-
|
|
953
|
-
const
|
|
954
|
-
|
|
955
|
-
const
|
|
956
|
-
if (
|
|
957
|
-
const { html_with_markers:
|
|
958
|
-
e =
|
|
1002
|
+
}, ar = (e, t) => {
|
|
1003
|
+
let r = !1;
|
|
1004
|
+
const { checked_html: s, ignored: n } = W();
|
|
1005
|
+
if (!s && !ue(e)) return e;
|
|
1006
|
+
const i = t ? Vt(t) : { ...fe }, o = i.ignore.length > 0;
|
|
1007
|
+
if (!n && o) {
|
|
1008
|
+
const { html_with_markers: c, extracted_map: l } = qe(e, i);
|
|
1009
|
+
e = c, Ee = l, r = !0;
|
|
959
1010
|
}
|
|
960
|
-
return e =
|
|
961
|
-
},
|
|
1011
|
+
return e = qt(e), e = ir(e), e = or(i), e = Qt(e), r && (e = Ge(e, Ee)), e;
|
|
1012
|
+
}, lr = (e, t, r) => {
|
|
962
1013
|
[null, void 0, "", !1].includes(r) || ["innerHTML", "style", ""].includes(t) || e.setAttribute(t, ["object", "function"].includes(typeof r) ? "⚠️ Property must be set through a script or a framework-specific syntax." : r);
|
|
963
|
-
},
|
|
1014
|
+
}, Je = (e, t, r, s, n) => {
|
|
964
1015
|
if (t && typeof t == "string") {
|
|
965
1016
|
const i = document.createElement(t);
|
|
966
1017
|
Object.keys(r || {}).forEach((o) => {
|
|
967
|
-
|
|
1018
|
+
lr(i, o, r[o]);
|
|
968
1019
|
}), s == null || s.forEach((o) => {
|
|
969
|
-
|
|
1020
|
+
Je(i, o.$tag$, o.$attrs$, o.$children$, o.$text$);
|
|
970
1021
|
}), r != null && r.innerHTML && (i.innerHTML = r.innerHTML), e.appendChild(i);
|
|
971
1022
|
}
|
|
972
1023
|
n && (e.innerHTML = n);
|
|
973
|
-
},
|
|
1024
|
+
}, Lr = (e, t, r = []) => {
|
|
974
1025
|
const s = {};
|
|
975
1026
|
if (typeof e != "object")
|
|
976
1027
|
throw new Error("filterArgs - args isn't an object.");
|
|
@@ -980,31 +1031,31 @@ const Qt = (e) => {
|
|
|
980
1031
|
(!t || !Object.keys(t).includes(n) || t[n] !== i) && (s[o] = i);
|
|
981
1032
|
}
|
|
982
1033
|
return s;
|
|
983
|
-
},
|
|
1034
|
+
}, Fr = (e, t) => {
|
|
984
1035
|
var s, n;
|
|
985
1036
|
const r = document.getElementById("storybook-root");
|
|
986
1037
|
if (r !== null)
|
|
987
|
-
return (n = document.querySelector("[lang]")) == null || n.setAttribute("lang", ((s = t.globals) == null ? void 0 : s.locale) || "en"),
|
|
1038
|
+
return (n = document.querySelector("[lang]")) == null || n.setAttribute("lang", ((s = t.globals) == null ? void 0 : s.locale) || "en"), Ut({
|
|
988
1039
|
$cmpMeta$: {
|
|
989
1040
|
$flags$: 0,
|
|
990
1041
|
$tagName$: r.tagName
|
|
991
1042
|
},
|
|
992
1043
|
$hostElement$: r
|
|
993
1044
|
}, e(t)), r.children[r.children.length - 1];
|
|
994
|
-
},
|
|
1045
|
+
}, Cr = ({ $tag$: e, $attrs$: t, $children$: r, $text$: s }) => {
|
|
995
1046
|
const n = document.createElement("div");
|
|
996
|
-
return
|
|
1047
|
+
return Je(n, e, t, r, s), ar(n.innerHTML, {
|
|
997
1048
|
tag_wrap: 40,
|
|
998
1049
|
content_wrap: 120
|
|
999
1050
|
}).replace(/="true"/g, "");
|
|
1000
|
-
},
|
|
1051
|
+
}, Se = (e, t) => {
|
|
1001
1052
|
if (!t)
|
|
1002
1053
|
return;
|
|
1003
1054
|
const r = t.split("/");
|
|
1004
1055
|
return `${e}${r.slice(2, r.length - 1).join("-")}--docs`;
|
|
1005
1056
|
};
|
|
1006
|
-
var
|
|
1007
|
-
class
|
|
1057
|
+
var j, X;
|
|
1058
|
+
class Pr {
|
|
1008
1059
|
constructor(t) {
|
|
1009
1060
|
/**
|
|
1010
1061
|
* JsonDocs
|
|
@@ -1015,14 +1066,14 @@ class zr {
|
|
|
1015
1066
|
* @param tagName - tag name we want to get the data from
|
|
1016
1067
|
* @returns component data
|
|
1017
1068
|
*/
|
|
1018
|
-
N(this,
|
|
1069
|
+
N(this, j, (t) => this.jsonDoc.components.find((r) => r.tag === t));
|
|
1019
1070
|
/**
|
|
1020
1071
|
* Get the control for the given prop
|
|
1021
1072
|
* Based on https://storybook.js.org/docs/api/arg-types#controltype
|
|
1022
1073
|
* @param prop - prop to get control for
|
|
1023
1074
|
* @returns control type and options if applicable
|
|
1024
1075
|
*/
|
|
1025
|
-
N(this,
|
|
1076
|
+
N(this, X, (t) => {
|
|
1026
1077
|
const r = t.type.replace(/"([^"]+)"/g, "$1").replace(/\s/g, "").replace(/\(.*?\)/g, (s) => s.replace(/\|/g, " OR ")).split("|").map((s) => s.trim().replace(/ OR /g, "|"));
|
|
1027
1078
|
return t.type === "string" ? { control: { type: "text" } } : t.type === "number" ? { control: { type: "number" } } : t.type === "boolean" ? { control: { type: "boolean" } } : t.type.startsWith("{") && t.type.endsWith("}") ? { control: { type: "object" } } : r.length > 1 ? r.includes("string") ? { control: { type: "text" } } : r.every((s) => s == null ? void 0 : s.includes("[]")) ? { control: { type: "object" } } : (r.unshift(void 0), { control: { type: "select" }, options: r }) : { control: { type: "object" } };
|
|
1028
1079
|
});
|
|
@@ -1032,10 +1083,10 @@ class zr {
|
|
|
1032
1083
|
* @returns component arg types
|
|
1033
1084
|
*/
|
|
1034
1085
|
$(this, "extractArgTypes", (t) => {
|
|
1035
|
-
const r =
|
|
1036
|
-
const { control: g, options:
|
|
1086
|
+
const r = m(this, j).call(this, t), s = r == null ? void 0 : r.props.reduce((p, a) => {
|
|
1087
|
+
const { control: g, options: d } = m(this, X).call(this, a);
|
|
1037
1088
|
return {
|
|
1038
|
-
...
|
|
1089
|
+
...p,
|
|
1039
1090
|
[a.name]: {
|
|
1040
1091
|
name: a.attr || a.name,
|
|
1041
1092
|
description: a.docs,
|
|
@@ -1046,11 +1097,11 @@ class zr {
|
|
|
1046
1097
|
defaultValue: { summary: a.default }
|
|
1047
1098
|
},
|
|
1048
1099
|
control: g,
|
|
1049
|
-
options:
|
|
1100
|
+
options: d
|
|
1050
1101
|
}
|
|
1051
1102
|
};
|
|
1052
|
-
}, {}), n = r == null ? void 0 : r.events.reduce((
|
|
1053
|
-
...
|
|
1103
|
+
}, {}), n = r == null ? void 0 : r.events.reduce((p, a) => ({
|
|
1104
|
+
...p,
|
|
1054
1105
|
[a.event]: {
|
|
1055
1106
|
name: a.event,
|
|
1056
1107
|
description: a.docs,
|
|
@@ -1059,8 +1110,8 @@ class zr {
|
|
|
1059
1110
|
type: { summary: a.detail }
|
|
1060
1111
|
}
|
|
1061
1112
|
}
|
|
1062
|
-
}), {}), i = r == null ? void 0 : r.methods.reduce((
|
|
1063
|
-
...
|
|
1113
|
+
}), {}), i = r == null ? void 0 : r.methods.reduce((p, a) => ({
|
|
1114
|
+
...p,
|
|
1064
1115
|
[a.name]: {
|
|
1065
1116
|
name: a.name,
|
|
1066
1117
|
description: a.docs,
|
|
@@ -1069,8 +1120,8 @@ class zr {
|
|
|
1069
1120
|
type: { summary: a.signature }
|
|
1070
1121
|
}
|
|
1071
1122
|
}
|
|
1072
|
-
}), {}), o = r == null ? void 0 : r.slots.reduce((
|
|
1073
|
-
...
|
|
1123
|
+
}), {}), o = r == null ? void 0 : r.slots.reduce((p, a) => ({
|
|
1124
|
+
...p,
|
|
1074
1125
|
[a.name]: {
|
|
1075
1126
|
name: a.name !== "" ? a.name : "default",
|
|
1076
1127
|
// default slot are unnamed
|
|
@@ -1080,8 +1131,8 @@ class zr {
|
|
|
1080
1131
|
type: { summary: void 0 }
|
|
1081
1132
|
}
|
|
1082
1133
|
}
|
|
1083
|
-
}), {}), c = r == null ? void 0 : r.styles.reduce((
|
|
1084
|
-
...
|
|
1134
|
+
}), {}), c = r == null ? void 0 : r.styles.reduce((p, a) => ({
|
|
1135
|
+
...p,
|
|
1085
1136
|
[a.name]: {
|
|
1086
1137
|
name: a.name,
|
|
1087
1138
|
description: a.docs,
|
|
@@ -1090,32 +1141,32 @@ class zr {
|
|
|
1090
1141
|
type: { summary: void 0 }
|
|
1091
1142
|
}
|
|
1092
1143
|
}
|
|
1093
|
-
}), {}), l = r == null ? void 0 : r.dependencies.reduce((
|
|
1094
|
-
const g =
|
|
1144
|
+
}), {}), l = r == null ? void 0 : r.dependencies.reduce((p, a) => {
|
|
1145
|
+
const g = m(this, j).call(this, a);
|
|
1095
1146
|
return g ? {
|
|
1096
|
-
...
|
|
1147
|
+
...p,
|
|
1097
1148
|
[a]: {
|
|
1098
1149
|
name: a,
|
|
1099
|
-
description: `<a href="./?path=/docs/${
|
|
1150
|
+
description: `<a href="./?path=/docs/${Se("", g == null ? void 0 : g.filePath)}">View Component Documentation</a>`,
|
|
1100
1151
|
table: {
|
|
1101
1152
|
category: "depends on",
|
|
1102
1153
|
type: { summary: void 0 }
|
|
1103
1154
|
}
|
|
1104
1155
|
}
|
|
1105
|
-
} :
|
|
1106
|
-
}, {}),
|
|
1107
|
-
const g =
|
|
1156
|
+
} : p;
|
|
1157
|
+
}, {}), u = r == null ? void 0 : r.dependents.reduce((p, a) => {
|
|
1158
|
+
const g = m(this, j).call(this, a);
|
|
1108
1159
|
return g ? {
|
|
1109
|
-
...
|
|
1160
|
+
...p,
|
|
1110
1161
|
[a]: {
|
|
1111
1162
|
name: a,
|
|
1112
|
-
description: `<a href="./?path=/docs/${
|
|
1163
|
+
description: `<a href="./?path=/docs/${Se("", g == null ? void 0 : g.filePath)}">View Component Documentation</a>`,
|
|
1113
1164
|
table: {
|
|
1114
1165
|
category: "used by",
|
|
1115
1166
|
type: { summary: void 0 }
|
|
1116
1167
|
}
|
|
1117
1168
|
}
|
|
1118
|
-
} :
|
|
1169
|
+
} : p;
|
|
1119
1170
|
}, {});
|
|
1120
1171
|
return {
|
|
1121
1172
|
...s,
|
|
@@ -1124,7 +1175,7 @@ class zr {
|
|
|
1124
1175
|
...o,
|
|
1125
1176
|
...c,
|
|
1126
1177
|
...l,
|
|
1127
|
-
...
|
|
1178
|
+
...u
|
|
1128
1179
|
};
|
|
1129
1180
|
});
|
|
1130
1181
|
/**
|
|
@@ -1133,14 +1184,14 @@ class zr {
|
|
|
1133
1184
|
* @returns component description
|
|
1134
1185
|
*/
|
|
1135
1186
|
$(this, "extractComponentDescription", (t) => {
|
|
1136
|
-
const r =
|
|
1187
|
+
const r = m(this, j).call(this, t);
|
|
1137
1188
|
return (r == null ? void 0 : r.readme) || (r == null ? void 0 : r.docs);
|
|
1138
1189
|
});
|
|
1139
1190
|
this.jsonDoc = t;
|
|
1140
1191
|
}
|
|
1141
1192
|
}
|
|
1142
|
-
|
|
1143
|
-
const
|
|
1193
|
+
j = new WeakMap(), X = new WeakMap();
|
|
1194
|
+
const Wr = ({ disconnect: e, observe: t, takeRecords: r }) => {
|
|
1144
1195
|
class s {
|
|
1145
1196
|
constructor(i) {
|
|
1146
1197
|
/**
|
|
@@ -1169,7 +1220,7 @@ const Ir = ({ disconnect: e, observe: t, takeRecords: r }) => {
|
|
|
1169
1220
|
value: s
|
|
1170
1221
|
});
|
|
1171
1222
|
}), s;
|
|
1172
|
-
},
|
|
1223
|
+
}, Ur = ({ disconnect: e, observe: t }) => {
|
|
1173
1224
|
class r {
|
|
1174
1225
|
constructor(n) {
|
|
1175
1226
|
/**
|
|
@@ -1199,7 +1250,7 @@ const Ir = ({ disconnect: e, observe: t, takeRecords: r }) => {
|
|
|
1199
1250
|
});
|
|
1200
1251
|
}), r;
|
|
1201
1252
|
};
|
|
1202
|
-
class
|
|
1253
|
+
class cr extends Event {
|
|
1203
1254
|
constructor() {
|
|
1204
1255
|
super(...arguments);
|
|
1205
1256
|
/**
|
|
@@ -1209,8 +1260,8 @@ class sr extends Event {
|
|
|
1209
1260
|
}
|
|
1210
1261
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1211
1262
|
}
|
|
1212
|
-
const
|
|
1213
|
-
class e extends
|
|
1263
|
+
const Zr = () => {
|
|
1264
|
+
class e extends cr {
|
|
1214
1265
|
}
|
|
1215
1266
|
return [window, global].forEach((t) => {
|
|
1216
1267
|
Object.defineProperty(t, "SubmitEvent", {
|
|
@@ -1219,7 +1270,7 @@ const Lr = () => {
|
|
|
1219
1270
|
value: e
|
|
1220
1271
|
});
|
|
1221
1272
|
}), e;
|
|
1222
|
-
},
|
|
1273
|
+
}, Dr = (e) => {
|
|
1223
1274
|
const t = (r) => (setTimeout(r, 1), e(), 0);
|
|
1224
1275
|
return [window, global].forEach((r) => {
|
|
1225
1276
|
Object.defineProperty(r, "requestAnimationFrame", {
|
|
@@ -1230,45 +1281,45 @@ const Lr = () => {
|
|
|
1230
1281
|
}), t;
|
|
1231
1282
|
};
|
|
1232
1283
|
export {
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1284
|
+
ur as ClassList,
|
|
1285
|
+
br as Cursor,
|
|
1286
|
+
lt as Page,
|
|
1287
|
+
vr as Paginate,
|
|
1288
|
+
Pr as StorybookPreview,
|
|
1289
|
+
pr as allItemsAreString,
|
|
1290
|
+
dr as cleanString,
|
|
1291
|
+
$r as createID,
|
|
1292
|
+
mr as dateRegExp,
|
|
1293
|
+
wr as dateToString,
|
|
1294
|
+
Mr as defineLocales,
|
|
1295
|
+
Lr as filterArgs,
|
|
1296
|
+
Er as focusableElements,
|
|
1297
|
+
_r as formatID,
|
|
1298
|
+
Rr as getLocaleDatePattern,
|
|
1299
|
+
it as getObjectValueFromKey,
|
|
1300
|
+
ke as getParentWindows,
|
|
1301
|
+
Cr as getStoryHTML,
|
|
1302
|
+
Se as getStorybookUrl,
|
|
1303
|
+
Or as getWindows,
|
|
1304
|
+
Y as isObject,
|
|
1305
|
+
xr as isTagName,
|
|
1306
|
+
Sr as isValidNumber,
|
|
1307
|
+
ot as isValidString,
|
|
1308
|
+
hr as isValideID,
|
|
1309
|
+
Tr as localeCurrency,
|
|
1310
|
+
mt as localeDate,
|
|
1311
|
+
Nr as localeNumber,
|
|
1312
|
+
zr as localePercent,
|
|
1313
|
+
Ir as localeUnit,
|
|
1314
|
+
yr as nextTick,
|
|
1315
|
+
Dr as setUpRequestAnimationFrameMock,
|
|
1316
|
+
Wr as setupMutationObserverMock,
|
|
1317
|
+
Ur as setupResizeObserverMock,
|
|
1318
|
+
Zr as setupSubmitEventMock,
|
|
1319
|
+
Fr as stencilWrapper,
|
|
1320
|
+
gr as toString,
|
|
1321
|
+
jr as vsCodeCssGenerator,
|
|
1322
|
+
Ar as vsCodeGenerator,
|
|
1323
|
+
kr as webTypesGenerator
|
|
1273
1324
|
};
|
|
1274
1325
|
//# sourceMappingURL=index.es.js.map
|