aptechka 0.1.20 → 0.2.1
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/lib/ComponentElement-BUesLP4b.cjs +1 -0
- package/lib/ComponentElement-NMlh1Ptn.js +92 -0
- package/lib/ElementConstructor-B61ZFTEB.cjs +1 -0
- package/lib/ElementConstructor-CvNdPKJy.js +314 -0
- package/lib/abstract-elements/index.cjs +1 -1
- package/lib/abstract-elements/index.js +1 -1
- package/lib/animation/hooks/index.cjs +1 -0
- package/lib/animation/hooks/index.d.ts +8 -0
- package/lib/animation/hooks/index.js +38 -0
- package/lib/attribute/hooks/index.d.ts +2 -0
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.d.ts +0 -2
- package/lib/attribute/index.js +35 -50
- package/lib/canvas/index.cjs +1 -1
- package/lib/canvas/index.js +2 -2
- package/lib/controls/hooks/index.d.ts +1 -0
- package/lib/{createStylesheet-DTOK6fTn.cjs → createStylesheet-C0OnN0Br.cjs} +1 -1
- package/lib/{createStylesheet-Zqf3lXhM.js → createStylesheet-CD11E4C8.js} +1 -1
- package/lib/element-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.js +114 -113
- package/lib/element-resizer/hooks/index.cjs +1 -0
- package/lib/element-resizer/hooks/index.d.ts +4 -0
- package/lib/element-resizer/hooks/index.js +12 -0
- package/lib/en3/index.cjs +7 -7
- package/lib/en3/index.d.ts +1 -0
- package/lib/en3/index.js +639 -620
- package/lib/en3/utils/getCurrentViewport.d.ts +7 -0
- package/lib/{index-B-ZmkQyB.cjs → index--wI4MTuv.cjs} +1 -1
- package/lib/{index-Dizn7btU.js → index-Dq6GRJ9W.js} +2 -2
- package/lib/instantiate-BAz2WZtO.cjs +1 -0
- package/lib/instantiate-BDteLwW6.js +55 -0
- package/lib/intersector/hooks/index.cjs +1 -0
- package/lib/intersector/hooks/index.d.ts +4 -0
- package/lib/intersector/hooks/index.js +12 -0
- package/lib/jsx/ComponentElement.d.ts +27 -0
- package/lib/jsx/h.d.ts +3 -0
- package/lib/jsx/hooks/index.cjs +1 -0
- package/lib/jsx/hooks/index.d.ts +7 -0
- package/lib/jsx/hooks/index.js +76 -0
- package/lib/jsx/hooks/useConnect.d.ts +2 -0
- package/lib/jsx/hooks/useContext.d.ts +3 -0
- package/lib/jsx/hooks/useCreate.d.ts +2 -0
- package/lib/jsx/hooks/useDisconnect.d.ts +2 -0
- package/lib/jsx/hooks/useInternals.d.ts +1 -0
- package/lib/jsx/hooks/useShadow.d.ts +1 -0
- package/lib/jsx/hooks/useStylesheet.d.ts +2 -0
- package/lib/jsx/index.cjs +1 -0
- package/lib/jsx/index.d.ts +5 -0
- package/lib/jsx/index.js +15 -0
- package/lib/jsx/instantiate.d.ts +1 -0
- package/lib/jsx/register.d.ts +1 -0
- package/lib/jsx/render.d.ts +1 -0
- package/lib/jsx/type.d.ts +184 -0
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.js +82 -81
- package/lib/modal/index.cjs +1 -1
- package/lib/modal/index.js +2 -2
- package/lib/router/Route.d.ts +1 -1
- package/lib/router/index.cjs +1 -1
- package/lib/router/index.js +84 -82
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +2 -2
- package/lib/select/index.cjs +1 -1
- package/lib/select/index.js +1 -1
- package/lib/slicer/DecoderElement.d.ts +10 -0
- package/lib/slicer/Letter.d.ts +11 -0
- package/lib/slicer/SlicerElement.d.ts +21 -0
- package/lib/slicer/Word.d.ts +16 -0
- package/lib/slicer/index.cjs +11 -0
- package/lib/slicer/index.d.ts +4 -0
- package/lib/slicer/index.js +165 -0
- package/lib/store/hooks/index.cjs +1 -0
- package/lib/store/hooks/index.d.ts +6 -0
- package/lib/store/hooks/index.js +31 -0
- package/lib/studio/index.cjs +1 -1
- package/lib/studio/index.js +17 -16
- package/lib/tags-C2jg1zYB.js +485 -0
- package/lib/tags-DX-eNxbA.cjs +1 -0
- package/lib/theme/index.cjs +1 -1
- package/lib/theme/index.d.ts +1 -1
- package/lib/theme/index.js +2 -2
- package/lib/ticker/hooks/index.cjs +1 -0
- package/lib/ticker/hooks/index.d.ts +5 -0
- package/lib/ticker/hooks/index.js +23 -0
- package/lib/ticker/index.d.ts +1 -1
- package/lib/useConnect-CXdqKdRX.js +9 -0
- package/lib/useConnect-DcfeqwzW.cjs +1 -0
- package/lib/useCreate-ClGKVMeG.cjs +1 -0
- package/lib/useCreate-DQSfJu7r.js +7 -0
- package/lib/useDisconnect-D5cBD1bq.js +9 -0
- package/lib/useDisconnect-sA74z4IZ.cjs +1 -0
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/ts-utility.d.ts +5 -0
- package/lib/window-resizer/hooks/index.cjs +1 -0
- package/lib/window-resizer/hooks/index.d.ts +2 -0
- package/lib/window-resizer/hooks/index.js +9 -0
- package/package.json +75 -7
- package/lib/component/Component.d.ts +0 -26
- package/lib/component/hooks/animation.d.ts +0 -9
- package/lib/component/hooks/attributes.d.ts +0 -2
- package/lib/component/hooks/custom-element.d.ts +0 -2
- package/lib/component/hooks/intersection.d.ts +0 -4
- package/lib/component/hooks/resize.d.ts +0 -6
- package/lib/component/hooks/stores.d.ts +0 -6
- package/lib/component/hooks/style.d.ts +0 -2
- package/lib/component/index.cjs +0 -1
- package/lib/component/index.d.ts +0 -8
- package/lib/component/index.js +0 -224
- package/lib/tags-75InVOh4.cjs +0 -1
- package/lib/tags-DgRVzazL.js +0 -795
package/lib/tags-DgRVzazL.js
DELETED
|
@@ -1,795 +0,0 @@
|
|
|
1
|
-
var ln = Object.defineProperty, dn = Object.defineProperties;
|
|
2
|
-
var wn = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Q = Object.getOwnPropertySymbols;
|
|
4
|
-
var hn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var X = (n, e, s) => e in n ? ln(n, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[e] = s, V = (n, e) => {
|
|
6
|
-
for (var s in e || (e = {}))
|
|
7
|
-
hn.call(e, s) && X(n, s, e[s]);
|
|
8
|
-
if (Q)
|
|
9
|
-
for (var s of Q(e))
|
|
10
|
-
mn.call(e, s) && X(n, s, e[s]);
|
|
11
|
-
return n;
|
|
12
|
-
}, Z = (n, e) => dn(n, wn(e));
|
|
13
|
-
var W = (n, e, s) => {
|
|
14
|
-
if (!e.has(n))
|
|
15
|
-
throw TypeError("Cannot " + s);
|
|
16
|
-
};
|
|
17
|
-
var a = (n, e, s) => (W(n, e, "read from private field"), s ? s.call(n) : e.get(n)), f = (n, e, s) => {
|
|
18
|
-
if (e.has(n))
|
|
19
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
20
|
-
e instanceof WeakSet ? e.add(n) : e.set(n, s);
|
|
21
|
-
}, _ = (n, e, s, i) => (W(n, e, "write to private field"), i ? i.call(n, s) : e.set(n, s), s);
|
|
22
|
-
var u = (n, e, s) => (W(n, e, "access private method"), s);
|
|
23
|
-
import { S as h } from "./Store-JOKrNVEr.js";
|
|
24
|
-
import { i as pn } from "./browser-0zX67oeU.js";
|
|
25
|
-
import { c as O, u as gn } from "./string-3lAkpJJP.js";
|
|
26
|
-
import { connector as bn } from "./connector/index.js";
|
|
27
|
-
const yn = /* @__PURE__ */ new Set([
|
|
28
|
-
// 'a', 'style', 'title', 'script',
|
|
29
|
-
"animate",
|
|
30
|
-
"animateMotion",
|
|
31
|
-
"animateTransform",
|
|
32
|
-
"circle",
|
|
33
|
-
"clipPath",
|
|
34
|
-
"defs",
|
|
35
|
-
"desc",
|
|
36
|
-
"ellipse",
|
|
37
|
-
"feBlend",
|
|
38
|
-
"feColorMatrix",
|
|
39
|
-
"feComponentTransfer",
|
|
40
|
-
"feComposite",
|
|
41
|
-
"feConvolveMatrix",
|
|
42
|
-
"feDiffuseLighting",
|
|
43
|
-
"feDisplacementMap",
|
|
44
|
-
"feDistantLight",
|
|
45
|
-
"feDropShadow",
|
|
46
|
-
"feFlood",
|
|
47
|
-
"feFuncA",
|
|
48
|
-
"feFuncB",
|
|
49
|
-
"feFuncG",
|
|
50
|
-
"feFuncR",
|
|
51
|
-
"feGaussianBlur",
|
|
52
|
-
"feImage",
|
|
53
|
-
"feMerge",
|
|
54
|
-
"feMergeNode",
|
|
55
|
-
"feMorphology",
|
|
56
|
-
"feOffset",
|
|
57
|
-
"fePointLight",
|
|
58
|
-
"feSpecularLighting",
|
|
59
|
-
"feSpotLight",
|
|
60
|
-
"feTile",
|
|
61
|
-
"feTurbulence",
|
|
62
|
-
"filter",
|
|
63
|
-
"foreignObject",
|
|
64
|
-
"g",
|
|
65
|
-
"image",
|
|
66
|
-
"line",
|
|
67
|
-
"linearGradient",
|
|
68
|
-
"listener",
|
|
69
|
-
"marker",
|
|
70
|
-
"mask",
|
|
71
|
-
"metadata",
|
|
72
|
-
"mpath",
|
|
73
|
-
"path",
|
|
74
|
-
"pattern",
|
|
75
|
-
"polygon",
|
|
76
|
-
"polyline",
|
|
77
|
-
"radialGradient",
|
|
78
|
-
"rect",
|
|
79
|
-
"set",
|
|
80
|
-
"solidColor",
|
|
81
|
-
"stop",
|
|
82
|
-
"svg",
|
|
83
|
-
"switch",
|
|
84
|
-
"symbol",
|
|
85
|
-
"text",
|
|
86
|
-
"textPath",
|
|
87
|
-
"title",
|
|
88
|
-
"tspan",
|
|
89
|
-
"view"
|
|
90
|
-
]);
|
|
91
|
-
var c, w, d, N, j, C, nn, k, en, g, $, x, tn, A, sn, M, rn, D, an, b, z, y, J, F, on, H, un, S, Y, p, T, E, I, q, fn, P, cn, v, K, L, U, B, G;
|
|
92
|
-
const R = class R {
|
|
93
|
-
constructor(...e) {
|
|
94
|
-
f(this, N);
|
|
95
|
-
f(this, C);
|
|
96
|
-
f(this, k);
|
|
97
|
-
f(this, g);
|
|
98
|
-
f(this, x);
|
|
99
|
-
f(this, A);
|
|
100
|
-
f(this, M);
|
|
101
|
-
f(this, D);
|
|
102
|
-
f(this, b);
|
|
103
|
-
f(this, y);
|
|
104
|
-
f(this, F);
|
|
105
|
-
f(this, H);
|
|
106
|
-
f(this, S);
|
|
107
|
-
f(this, p);
|
|
108
|
-
f(this, E);
|
|
109
|
-
f(this, q);
|
|
110
|
-
f(this, P);
|
|
111
|
-
f(this, v);
|
|
112
|
-
f(this, L);
|
|
113
|
-
f(this, c, void 0);
|
|
114
|
-
f(this, w, /* @__PURE__ */ new Set());
|
|
115
|
-
f(this, d, /* @__PURE__ */ new Set());
|
|
116
|
-
f(this, B, () => {
|
|
117
|
-
a(this, w).forEach((e) => {
|
|
118
|
-
e();
|
|
119
|
-
}), a(this, w).clear();
|
|
120
|
-
});
|
|
121
|
-
f(this, G, (e) => {
|
|
122
|
-
a(this, d).forEach((s) => {
|
|
123
|
-
s(e);
|
|
124
|
-
}), a(this, d).clear();
|
|
125
|
-
});
|
|
126
|
-
const s = e[0], i = e[1];
|
|
127
|
-
_(this, c, u(this, N, j).call(this, s, i == null ? void 0 : i.forceSvg)), u(this, k, en).call(this, i);
|
|
128
|
-
}
|
|
129
|
-
get node() {
|
|
130
|
-
return a(this, c);
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
c = new WeakMap(), w = new WeakMap(), d = new WeakMap(), N = new WeakSet(), j = function(e, s) {
|
|
134
|
-
let i = null;
|
|
135
|
-
if (e instanceof Node)
|
|
136
|
-
i = e;
|
|
137
|
-
else if (typeof e == "string")
|
|
138
|
-
if (!e.includes("<") && e.includes("-"))
|
|
139
|
-
i = new (customElements.get(e))();
|
|
140
|
-
else if (e.includes("<")) {
|
|
141
|
-
const r = document.createElement("div");
|
|
142
|
-
r.innerHTML = e, i = r.firstElementChild;
|
|
143
|
-
} else
|
|
144
|
-
yn.has(e) || s ? i = document.createElementNS(
|
|
145
|
-
"http://www.w3.org/2000/svg",
|
|
146
|
-
e
|
|
147
|
-
) : i = document.createElement(e);
|
|
148
|
-
else
|
|
149
|
-
i = document.createElement("div");
|
|
150
|
-
return i;
|
|
151
|
-
}, C = new WeakSet(), nn = function(e) {
|
|
152
|
-
return e instanceof HTMLElement || e instanceof SVGElement;
|
|
153
|
-
}, k = new WeakSet(), en = function(e) {
|
|
154
|
-
if (!e)
|
|
155
|
-
return;
|
|
156
|
-
const s = u(this, C, nn).call(this, a(this, c)), i = e.ref;
|
|
157
|
-
delete e.ref, e != null && e.onConnect && (a(this, w).add(e.onConnect), delete e.onConnect), e != null && e.onDisconnect && (a(this, d).add(e.onDisconnect), delete e.onDisconnect);
|
|
158
|
-
let r, o;
|
|
159
|
-
for (const l in e) {
|
|
160
|
-
const m = e[l];
|
|
161
|
-
l === "class" && s ? u(this, g, $).call(this, m) : l === "style" && s ? u(this, M, rn).call(this, m) : l === "lightChildren" ? u(this, p, T).call(this, a(this, c), m) : l === "children" ? u(this, p, T).call(this, a(this, c) instanceof Element ? a(this, c).shadowRoot || a(this, c) : a(this, c), m) : l.startsWith("on") ? (o || (o = {}), o[l] = m) : (r || (r = {}), r[l] = m);
|
|
162
|
-
}
|
|
163
|
-
if (u(this, H, un).call(this, r), u(this, F, on).call(this, o), i && (typeof i == "function" ? i(a(this, c)) : i.current = a(this, c)), pn && (a(this, d).size || a(this, w).size)) {
|
|
164
|
-
const l = a(this, c) instanceof DocumentFragment ? a(this, c).firstChild : a(this, c);
|
|
165
|
-
bn.subscribe(l, {
|
|
166
|
-
connectCallback: a(this, B),
|
|
167
|
-
disconnectCallback: a(this, G),
|
|
168
|
-
unsubscribeAfterDisconnect: !0,
|
|
169
|
-
maxWaitSec: 20
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
}, g = new WeakSet(), $ = function(e) {
|
|
173
|
-
const s = a(this, c);
|
|
174
|
-
if (e) {
|
|
175
|
-
if (typeof e == "string")
|
|
176
|
-
s.classList.add(e);
|
|
177
|
-
else if (Array.isArray(e))
|
|
178
|
-
e.forEach((i) => {
|
|
179
|
-
u(this, g, $).call(this, i);
|
|
180
|
-
});
|
|
181
|
-
else if (typeof e == "object")
|
|
182
|
-
if (e instanceof h)
|
|
183
|
-
u(this, x, tn).call(this, e);
|
|
184
|
-
else
|
|
185
|
-
for (const i in e) {
|
|
186
|
-
const r = e[i];
|
|
187
|
-
r instanceof h ? u(this, A, sn).call(this, i, r) : r ? s.classList.add(i) : s.classList.remove(i);
|
|
188
|
-
}
|
|
189
|
-
} else
|
|
190
|
-
return;
|
|
191
|
-
}, x = new WeakSet(), tn = function(e) {
|
|
192
|
-
const s = a(this, c);
|
|
193
|
-
a(this, d).add(
|
|
194
|
-
e.subscribe(({ current: i, previous: r }) => {
|
|
195
|
-
r && [r].flat().forEach((o) => {
|
|
196
|
-
o && s.classList.remove(o);
|
|
197
|
-
}), i && [i].flat().forEach((o) => {
|
|
198
|
-
o && s.classList.add(o);
|
|
199
|
-
});
|
|
200
|
-
})
|
|
201
|
-
);
|
|
202
|
-
}, A = new WeakSet(), sn = function(e, s) {
|
|
203
|
-
const i = a(this, c);
|
|
204
|
-
a(this, d).add(
|
|
205
|
-
s.subscribe(({ current: r }) => {
|
|
206
|
-
r ? i.classList.add(e) : i.classList.remove(e);
|
|
207
|
-
})
|
|
208
|
-
);
|
|
209
|
-
}, M = new WeakSet(), rn = function(e) {
|
|
210
|
-
if (!e)
|
|
211
|
-
return;
|
|
212
|
-
const s = a(this, c);
|
|
213
|
-
s.tagName === "style" || s.tagName === "STYLE" ? u(this, b, z).call(this, e) : u(this, D, an).call(this, e);
|
|
214
|
-
}, D = new WeakSet(), an = function(e) {
|
|
215
|
-
for (const s in e) {
|
|
216
|
-
const i = s, r = e[i];
|
|
217
|
-
r instanceof h ? a(this, d).add(
|
|
218
|
-
r.subscribe(({ current: o }) => {
|
|
219
|
-
u(this, y, J).call(this, i, o);
|
|
220
|
-
})
|
|
221
|
-
) : u(this, y, J).call(this, i, r);
|
|
222
|
-
}
|
|
223
|
-
}, b = new WeakSet(), z = function(e) {
|
|
224
|
-
const s = a(this, c);
|
|
225
|
-
for (const i in e) {
|
|
226
|
-
const r = e[i];
|
|
227
|
-
if (typeof r == "object" && !(r instanceof h))
|
|
228
|
-
s.appendChild(new Text(`${i} {`)), u(this, b, z).call(this, r), s.appendChild(new Text("}"));
|
|
229
|
-
else if (r instanceof h) {
|
|
230
|
-
const o = new Text();
|
|
231
|
-
a(this, d).add(
|
|
232
|
-
r.subscribe((l) => {
|
|
233
|
-
l.current ? o.nodeValue = `${O(i)}: ${l.current};` : o.nodeValue = "";
|
|
234
|
-
})
|
|
235
|
-
), s.appendChild(o);
|
|
236
|
-
} else
|
|
237
|
-
s.appendChild(new Text(`${O(i)}: ${r};`));
|
|
238
|
-
}
|
|
239
|
-
}, y = new WeakSet(), J = function(e, s) {
|
|
240
|
-
const i = a(this, c);
|
|
241
|
-
e.includes("--") ? s ? i.style.setProperty(e, s) : i.style.removeProperty(e) : s ? i.style[e] = s : i.style[e] = "";
|
|
242
|
-
}, F = new WeakSet(), on = function(e) {
|
|
243
|
-
if (!e)
|
|
244
|
-
return;
|
|
245
|
-
const s = a(this, c);
|
|
246
|
-
for (const i in e) {
|
|
247
|
-
const r = i, o = gn(
|
|
248
|
-
r.split("on").slice(1).join("on")
|
|
249
|
-
), l = e[r];
|
|
250
|
-
typeof l == "object" ? s.addEventListener(
|
|
251
|
-
o,
|
|
252
|
-
l.callback,
|
|
253
|
-
l.options
|
|
254
|
-
) : typeof l == "function" && s.addEventListener(o, l);
|
|
255
|
-
}
|
|
256
|
-
}, H = new WeakSet(), un = function(e) {
|
|
257
|
-
for (const s in e) {
|
|
258
|
-
const i = e[s];
|
|
259
|
-
i instanceof h ? a(this, d).add(
|
|
260
|
-
i.subscribe(({ current: r }) => {
|
|
261
|
-
u(this, S, Y).call(this, s, r);
|
|
262
|
-
})
|
|
263
|
-
) : u(this, S, Y).call(this, s, i);
|
|
264
|
-
}
|
|
265
|
-
}, S = new WeakSet(), Y = function(e, s) {
|
|
266
|
-
var r, o;
|
|
267
|
-
const i = a(this, c);
|
|
268
|
-
e in i && !((o = (r = i.constructor) == null ? void 0 : r.observedAttributes) != null && o.includes(e)) ? s != null && (i[e] = s.toString()) : s != null && i.setAttribute(e, s.toString());
|
|
269
|
-
}, p = new WeakSet(), T = function(e, s) {
|
|
270
|
-
s && (s = [s].flat(), s.forEach((i) => {
|
|
271
|
-
if (i instanceof h) {
|
|
272
|
-
const r = document.createElement("div");
|
|
273
|
-
r.style.display = "contents", e.appendChild(r), a(this, d).add(
|
|
274
|
-
i.subscribe(({ current: o }) => {
|
|
275
|
-
u(this, P, cn).call(this, r, u(this, q, fn).call(this, o), Array.from(r.childNodes));
|
|
276
|
-
})
|
|
277
|
-
);
|
|
278
|
-
} else if (i instanceof R)
|
|
279
|
-
u(this, E, I).call(this, e, i.node);
|
|
280
|
-
else if (i instanceof Function)
|
|
281
|
-
u(this, p, T).call(this, e, i());
|
|
282
|
-
else {
|
|
283
|
-
const r = u(this, L, U).call(this, i);
|
|
284
|
-
r instanceof Node && u(this, E, I).call(this, e, r);
|
|
285
|
-
}
|
|
286
|
-
}));
|
|
287
|
-
}, E = new WeakSet(), I = function(e, s) {
|
|
288
|
-
!(e instanceof ShadowRoot) && s instanceof HTMLElement && s.tagName === "STYLE" ? (a(this, w).add(() => {
|
|
289
|
-
[...document.head.querySelectorAll("style")].find((r) => r.outerHTML === s.outerHTML) || document.head.appendChild(s);
|
|
290
|
-
}), a(this, d).add(() => {
|
|
291
|
-
s.remove();
|
|
292
|
-
})) : e.appendChild(s);
|
|
293
|
-
}, q = new WeakSet(), fn = function(e) {
|
|
294
|
-
return [e].flat().map((i) => i instanceof R ? i.node : u(this, L, U).call(this, i)).flat().filter(Boolean);
|
|
295
|
-
}, P = new WeakSet(), cn = function(e, s, i) {
|
|
296
|
-
i.length > s.length && i.forEach((r) => {
|
|
297
|
-
s.find((o) => u(this, v, K).call(this, r, o)) || (e.removeChild(r), i = i.filter((o) => o !== r));
|
|
298
|
-
}), i.forEach((r, o) => {
|
|
299
|
-
if (o < s.length) {
|
|
300
|
-
const l = s[o];
|
|
301
|
-
u(this, v, K).call(this, r, l) || e.replaceChild(l, r);
|
|
302
|
-
} else
|
|
303
|
-
e.removeChild(r);
|
|
304
|
-
});
|
|
305
|
-
for (let r = i.length; r < s.length; r++)
|
|
306
|
-
e.appendChild(s[r]);
|
|
307
|
-
}, v = new WeakSet(), K = function(e, s) {
|
|
308
|
-
return s ? s instanceof Node ? e.isEqualNode(s) : e.textContent === s.toString() : !1;
|
|
309
|
-
}, L = new WeakSet(), U = function(e) {
|
|
310
|
-
if (e instanceof Node)
|
|
311
|
-
return e;
|
|
312
|
-
if (e != null) {
|
|
313
|
-
const s = String(e);
|
|
314
|
-
if (s.trim().startsWith("<") && s.trim().endsWith(">")) {
|
|
315
|
-
const i = document.createElement("div");
|
|
316
|
-
return i.innerHTML = s, i.firstElementChild;
|
|
317
|
-
} else
|
|
318
|
-
return new Text(s);
|
|
319
|
-
} else
|
|
320
|
-
return;
|
|
321
|
-
}, B = new WeakMap(), G = new WeakMap();
|
|
322
|
-
let t = R;
|
|
323
|
-
function Nn(...n) {
|
|
324
|
-
return new t(...n);
|
|
325
|
-
}
|
|
326
|
-
function Cn(n) {
|
|
327
|
-
return new t("a", n);
|
|
328
|
-
}
|
|
329
|
-
function kn(n) {
|
|
330
|
-
return new t("abbr", n);
|
|
331
|
-
}
|
|
332
|
-
function xn(n) {
|
|
333
|
-
return new t("address", n);
|
|
334
|
-
}
|
|
335
|
-
function An(n) {
|
|
336
|
-
return new t("area", n);
|
|
337
|
-
}
|
|
338
|
-
function Mn(n) {
|
|
339
|
-
return new t("article", n);
|
|
340
|
-
}
|
|
341
|
-
function Dn(n) {
|
|
342
|
-
return new t("aside", n);
|
|
343
|
-
}
|
|
344
|
-
function Fn(n) {
|
|
345
|
-
return new t("audio", n);
|
|
346
|
-
}
|
|
347
|
-
function Hn(n) {
|
|
348
|
-
return new t("b", n);
|
|
349
|
-
}
|
|
350
|
-
function qn(n) {
|
|
351
|
-
return new t("base", n);
|
|
352
|
-
}
|
|
353
|
-
function Pn(n) {
|
|
354
|
-
return new t("bdi", n);
|
|
355
|
-
}
|
|
356
|
-
function Bn(n) {
|
|
357
|
-
return new t("bdo", n);
|
|
358
|
-
}
|
|
359
|
-
function Gn(n) {
|
|
360
|
-
return new t("blockquote", n);
|
|
361
|
-
}
|
|
362
|
-
function Rn(n) {
|
|
363
|
-
return new t("body", n);
|
|
364
|
-
}
|
|
365
|
-
function Vn(n) {
|
|
366
|
-
return new t("br", n);
|
|
367
|
-
}
|
|
368
|
-
function Wn(n) {
|
|
369
|
-
return new t("button", n);
|
|
370
|
-
}
|
|
371
|
-
function $n(n) {
|
|
372
|
-
return new t("canvas", n);
|
|
373
|
-
}
|
|
374
|
-
function zn(n) {
|
|
375
|
-
return new t("caption", n);
|
|
376
|
-
}
|
|
377
|
-
function Jn(n) {
|
|
378
|
-
return new t("cite", n);
|
|
379
|
-
}
|
|
380
|
-
function Yn(n) {
|
|
381
|
-
return new t("code", n);
|
|
382
|
-
}
|
|
383
|
-
function In(n) {
|
|
384
|
-
return new t("col", n);
|
|
385
|
-
}
|
|
386
|
-
function Kn(n) {
|
|
387
|
-
return new t("colgroup", n);
|
|
388
|
-
}
|
|
389
|
-
function Un(n) {
|
|
390
|
-
return new t("data", n);
|
|
391
|
-
}
|
|
392
|
-
function Qn(n) {
|
|
393
|
-
return new t("datalist", n);
|
|
394
|
-
}
|
|
395
|
-
function Xn(n) {
|
|
396
|
-
return new t("dd", n);
|
|
397
|
-
}
|
|
398
|
-
function Zn(n) {
|
|
399
|
-
return new t("del", n);
|
|
400
|
-
}
|
|
401
|
-
function _n(n) {
|
|
402
|
-
return new t("details", n);
|
|
403
|
-
}
|
|
404
|
-
function On(n) {
|
|
405
|
-
return new t("dfn", n);
|
|
406
|
-
}
|
|
407
|
-
function jn(n) {
|
|
408
|
-
return new t("dialog", n);
|
|
409
|
-
}
|
|
410
|
-
function ne(n) {
|
|
411
|
-
return new t("div", n);
|
|
412
|
-
}
|
|
413
|
-
function ee(n) {
|
|
414
|
-
return new t("dl", n);
|
|
415
|
-
}
|
|
416
|
-
function te(n) {
|
|
417
|
-
return new t("dt", n);
|
|
418
|
-
}
|
|
419
|
-
function se(n) {
|
|
420
|
-
return new t("em", n);
|
|
421
|
-
}
|
|
422
|
-
function ie(n) {
|
|
423
|
-
return new t("embed", n);
|
|
424
|
-
}
|
|
425
|
-
function re(n) {
|
|
426
|
-
return new t("fieldset", n);
|
|
427
|
-
}
|
|
428
|
-
function ae(n) {
|
|
429
|
-
return new t("figcaption", n);
|
|
430
|
-
}
|
|
431
|
-
function oe(n) {
|
|
432
|
-
return new t("figure", n);
|
|
433
|
-
}
|
|
434
|
-
function ue(n) {
|
|
435
|
-
return new t("footer", n);
|
|
436
|
-
}
|
|
437
|
-
function fe(n) {
|
|
438
|
-
return new t("form", n);
|
|
439
|
-
}
|
|
440
|
-
function ce(n) {
|
|
441
|
-
return new t("h1", n);
|
|
442
|
-
}
|
|
443
|
-
function le(n) {
|
|
444
|
-
return new t("h2", n);
|
|
445
|
-
}
|
|
446
|
-
function de(n) {
|
|
447
|
-
return new t("h3", n);
|
|
448
|
-
}
|
|
449
|
-
function we(n) {
|
|
450
|
-
return new t("h4", n);
|
|
451
|
-
}
|
|
452
|
-
function he(n) {
|
|
453
|
-
return new t("h5", n);
|
|
454
|
-
}
|
|
455
|
-
function me(n) {
|
|
456
|
-
return new t("h6", n);
|
|
457
|
-
}
|
|
458
|
-
function pe(n) {
|
|
459
|
-
return new t("head", n);
|
|
460
|
-
}
|
|
461
|
-
function ge(n) {
|
|
462
|
-
return new t("header", n);
|
|
463
|
-
}
|
|
464
|
-
function be(n) {
|
|
465
|
-
return new t("hgroup", n);
|
|
466
|
-
}
|
|
467
|
-
function ye(n) {
|
|
468
|
-
return new t("hr", n);
|
|
469
|
-
}
|
|
470
|
-
function Se(n) {
|
|
471
|
-
return new t("html", n);
|
|
472
|
-
}
|
|
473
|
-
function Ee(n) {
|
|
474
|
-
return new t("i", n);
|
|
475
|
-
}
|
|
476
|
-
function ve(n) {
|
|
477
|
-
return new t("iframe", n);
|
|
478
|
-
}
|
|
479
|
-
function Le(n) {
|
|
480
|
-
return new t("img", n);
|
|
481
|
-
}
|
|
482
|
-
function Te(n) {
|
|
483
|
-
return new t("input", n);
|
|
484
|
-
}
|
|
485
|
-
function Ne(n) {
|
|
486
|
-
return new t("ins", n);
|
|
487
|
-
}
|
|
488
|
-
function Ce(n) {
|
|
489
|
-
return new t("kbd", n);
|
|
490
|
-
}
|
|
491
|
-
function ke(n) {
|
|
492
|
-
return new t("label", n);
|
|
493
|
-
}
|
|
494
|
-
function xe(n) {
|
|
495
|
-
return new t("legend", n);
|
|
496
|
-
}
|
|
497
|
-
function Ae(n) {
|
|
498
|
-
return new t("li", n);
|
|
499
|
-
}
|
|
500
|
-
function Me(n) {
|
|
501
|
-
return new t("link", n);
|
|
502
|
-
}
|
|
503
|
-
function De(n) {
|
|
504
|
-
return new t("main", n);
|
|
505
|
-
}
|
|
506
|
-
function Fe(n) {
|
|
507
|
-
return new t("map", n);
|
|
508
|
-
}
|
|
509
|
-
function He(n) {
|
|
510
|
-
return new t("mark", n);
|
|
511
|
-
}
|
|
512
|
-
function qe(n) {
|
|
513
|
-
return new t("menu", n);
|
|
514
|
-
}
|
|
515
|
-
function Pe(n) {
|
|
516
|
-
return new t("meta", n);
|
|
517
|
-
}
|
|
518
|
-
function Be(n) {
|
|
519
|
-
return new t("meter", n);
|
|
520
|
-
}
|
|
521
|
-
function Ge(n) {
|
|
522
|
-
return new t("nav", n);
|
|
523
|
-
}
|
|
524
|
-
function Re(n) {
|
|
525
|
-
return new t("noscript", n);
|
|
526
|
-
}
|
|
527
|
-
function Ve(n) {
|
|
528
|
-
return new t("object", n);
|
|
529
|
-
}
|
|
530
|
-
function We(n) {
|
|
531
|
-
return new t("ol", n);
|
|
532
|
-
}
|
|
533
|
-
function $e(n) {
|
|
534
|
-
return new t("optgroup", n);
|
|
535
|
-
}
|
|
536
|
-
function ze(n) {
|
|
537
|
-
return new t("option", n);
|
|
538
|
-
}
|
|
539
|
-
function Je(n) {
|
|
540
|
-
return new t("output", n);
|
|
541
|
-
}
|
|
542
|
-
function Ye(n) {
|
|
543
|
-
return new t("p", n);
|
|
544
|
-
}
|
|
545
|
-
function Ie(n) {
|
|
546
|
-
return new t("picture", n);
|
|
547
|
-
}
|
|
548
|
-
function Ke(n) {
|
|
549
|
-
return new t("pre", n);
|
|
550
|
-
}
|
|
551
|
-
function Ue(n) {
|
|
552
|
-
return new t("progress", n);
|
|
553
|
-
}
|
|
554
|
-
function Qe(n) {
|
|
555
|
-
return new t("q", n);
|
|
556
|
-
}
|
|
557
|
-
function Xe(n) {
|
|
558
|
-
return new t("rp", n);
|
|
559
|
-
}
|
|
560
|
-
function Ze(n) {
|
|
561
|
-
return new t("rt", n);
|
|
562
|
-
}
|
|
563
|
-
function _e(n) {
|
|
564
|
-
return new t("ruby", n);
|
|
565
|
-
}
|
|
566
|
-
function Oe(n) {
|
|
567
|
-
return new t("s", n);
|
|
568
|
-
}
|
|
569
|
-
function je(n) {
|
|
570
|
-
return new t("samp", n);
|
|
571
|
-
}
|
|
572
|
-
function nt(n) {
|
|
573
|
-
return new t("script", n);
|
|
574
|
-
}
|
|
575
|
-
function et(n) {
|
|
576
|
-
return new t("search", n);
|
|
577
|
-
}
|
|
578
|
-
function tt(n) {
|
|
579
|
-
return new t("section", n);
|
|
580
|
-
}
|
|
581
|
-
function st(n) {
|
|
582
|
-
return new t("select", n);
|
|
583
|
-
}
|
|
584
|
-
function it(n) {
|
|
585
|
-
return new t("slot", n);
|
|
586
|
-
}
|
|
587
|
-
function rt(n) {
|
|
588
|
-
return new t("small", n);
|
|
589
|
-
}
|
|
590
|
-
function at(n) {
|
|
591
|
-
return new t("source", n);
|
|
592
|
-
}
|
|
593
|
-
function ot(n) {
|
|
594
|
-
return new t("span", n);
|
|
595
|
-
}
|
|
596
|
-
function ut(n) {
|
|
597
|
-
return new t("strong", n);
|
|
598
|
-
}
|
|
599
|
-
function ft(n) {
|
|
600
|
-
return new t("style", {
|
|
601
|
-
style: n
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
function ct(n) {
|
|
605
|
-
return new t("sub", n);
|
|
606
|
-
}
|
|
607
|
-
function lt(n) {
|
|
608
|
-
return new t("summary", n);
|
|
609
|
-
}
|
|
610
|
-
function dt(n) {
|
|
611
|
-
return new t("sup", n);
|
|
612
|
-
}
|
|
613
|
-
function wt(n) {
|
|
614
|
-
return new t("table", n);
|
|
615
|
-
}
|
|
616
|
-
function ht(n) {
|
|
617
|
-
return new t("tbody", n);
|
|
618
|
-
}
|
|
619
|
-
function mt(n) {
|
|
620
|
-
return new t("td", n);
|
|
621
|
-
}
|
|
622
|
-
function pt(n) {
|
|
623
|
-
return new t("template", n);
|
|
624
|
-
}
|
|
625
|
-
function gt(n) {
|
|
626
|
-
return new t("textarea", n);
|
|
627
|
-
}
|
|
628
|
-
function bt(n) {
|
|
629
|
-
return new t("tfoot", n);
|
|
630
|
-
}
|
|
631
|
-
function yt(n) {
|
|
632
|
-
return new t("th", n);
|
|
633
|
-
}
|
|
634
|
-
function St(n) {
|
|
635
|
-
return new t("thead", n);
|
|
636
|
-
}
|
|
637
|
-
function Et(n) {
|
|
638
|
-
return new t("time", n);
|
|
639
|
-
}
|
|
640
|
-
function vt(n) {
|
|
641
|
-
return new t("title", n);
|
|
642
|
-
}
|
|
643
|
-
function Lt(n) {
|
|
644
|
-
return new t("tr", n);
|
|
645
|
-
}
|
|
646
|
-
function Tt(n) {
|
|
647
|
-
return new t("track", n);
|
|
648
|
-
}
|
|
649
|
-
function Nt(n) {
|
|
650
|
-
return new t("u", n);
|
|
651
|
-
}
|
|
652
|
-
function Ct(n) {
|
|
653
|
-
return new t("ul", n);
|
|
654
|
-
}
|
|
655
|
-
function kt(n) {
|
|
656
|
-
return new t("var", n);
|
|
657
|
-
}
|
|
658
|
-
function xt(n) {
|
|
659
|
-
return new t("video", n);
|
|
660
|
-
}
|
|
661
|
-
function At(n) {
|
|
662
|
-
return new t("wbr", n);
|
|
663
|
-
}
|
|
664
|
-
function Mt(n) {
|
|
665
|
-
return new t(document.createDocumentFragment(), n);
|
|
666
|
-
}
|
|
667
|
-
function Dt(n) {
|
|
668
|
-
return new t(document.createTextNode(""), n);
|
|
669
|
-
}
|
|
670
|
-
function Ft(n) {
|
|
671
|
-
return new t("div", Z(V({}, n), {
|
|
672
|
-
style: V({
|
|
673
|
-
display: "contents"
|
|
674
|
-
}, n == null ? void 0 : n.style)
|
|
675
|
-
}));
|
|
676
|
-
}
|
|
677
|
-
export {
|
|
678
|
-
Le as $,
|
|
679
|
-
_n as A,
|
|
680
|
-
On as B,
|
|
681
|
-
jn as C,
|
|
682
|
-
ne as D,
|
|
683
|
-
t as E,
|
|
684
|
-
ee as F,
|
|
685
|
-
te as G,
|
|
686
|
-
se as H,
|
|
687
|
-
ie as I,
|
|
688
|
-
re as J,
|
|
689
|
-
ae as K,
|
|
690
|
-
oe as L,
|
|
691
|
-
ue as M,
|
|
692
|
-
fe as N,
|
|
693
|
-
ce as O,
|
|
694
|
-
le as P,
|
|
695
|
-
de as Q,
|
|
696
|
-
we as R,
|
|
697
|
-
he as S,
|
|
698
|
-
me as T,
|
|
699
|
-
pe as U,
|
|
700
|
-
ge as V,
|
|
701
|
-
be as W,
|
|
702
|
-
ye as X,
|
|
703
|
-
Se as Y,
|
|
704
|
-
Ee as Z,
|
|
705
|
-
ve as _,
|
|
706
|
-
Cn as a,
|
|
707
|
-
Te as a0,
|
|
708
|
-
Ne as a1,
|
|
709
|
-
Ce as a2,
|
|
710
|
-
ke as a3,
|
|
711
|
-
xe as a4,
|
|
712
|
-
Ae as a5,
|
|
713
|
-
Me as a6,
|
|
714
|
-
De as a7,
|
|
715
|
-
Fe as a8,
|
|
716
|
-
He as a9,
|
|
717
|
-
at as aA,
|
|
718
|
-
ot as aB,
|
|
719
|
-
ut as aC,
|
|
720
|
-
ft as aD,
|
|
721
|
-
ct as aE,
|
|
722
|
-
lt as aF,
|
|
723
|
-
dt as aG,
|
|
724
|
-
wt as aH,
|
|
725
|
-
ht as aI,
|
|
726
|
-
mt as aJ,
|
|
727
|
-
pt as aK,
|
|
728
|
-
gt as aL,
|
|
729
|
-
bt as aM,
|
|
730
|
-
yt as aN,
|
|
731
|
-
St as aO,
|
|
732
|
-
Et as aP,
|
|
733
|
-
vt as aQ,
|
|
734
|
-
Lt as aR,
|
|
735
|
-
Tt as aS,
|
|
736
|
-
Nt as aT,
|
|
737
|
-
Ct as aU,
|
|
738
|
-
kt as aV,
|
|
739
|
-
xt as aW,
|
|
740
|
-
At as aX,
|
|
741
|
-
Mt as aY,
|
|
742
|
-
Dt as aZ,
|
|
743
|
-
Ft as a_,
|
|
744
|
-
qe as aa,
|
|
745
|
-
Pe as ab,
|
|
746
|
-
Be as ac,
|
|
747
|
-
Ge as ad,
|
|
748
|
-
Re as ae,
|
|
749
|
-
Ve as af,
|
|
750
|
-
We as ag,
|
|
751
|
-
$e as ah,
|
|
752
|
-
ze as ai,
|
|
753
|
-
Je as aj,
|
|
754
|
-
Ye as ak,
|
|
755
|
-
Ie as al,
|
|
756
|
-
Ke as am,
|
|
757
|
-
Ue as an,
|
|
758
|
-
Qe as ao,
|
|
759
|
-
Xe as ap,
|
|
760
|
-
Ze as aq,
|
|
761
|
-
_e as ar,
|
|
762
|
-
Oe as as,
|
|
763
|
-
je as at,
|
|
764
|
-
nt as au,
|
|
765
|
-
et as av,
|
|
766
|
-
tt as aw,
|
|
767
|
-
st as ax,
|
|
768
|
-
it as ay,
|
|
769
|
-
rt as az,
|
|
770
|
-
kn as b,
|
|
771
|
-
xn as c,
|
|
772
|
-
An as d,
|
|
773
|
-
Nn as e,
|
|
774
|
-
Mn as f,
|
|
775
|
-
Dn as g,
|
|
776
|
-
Fn as h,
|
|
777
|
-
Hn as i,
|
|
778
|
-
qn as j,
|
|
779
|
-
Pn as k,
|
|
780
|
-
Bn as l,
|
|
781
|
-
Gn as m,
|
|
782
|
-
Rn as n,
|
|
783
|
-
Vn as o,
|
|
784
|
-
Wn as p,
|
|
785
|
-
$n as q,
|
|
786
|
-
zn as r,
|
|
787
|
-
Jn as s,
|
|
788
|
-
Yn as t,
|
|
789
|
-
In as u,
|
|
790
|
-
Kn as v,
|
|
791
|
-
Un as w,
|
|
792
|
-
Qn as x,
|
|
793
|
-
Xn as y,
|
|
794
|
-
Zn as z
|
|
795
|
-
};
|