@thednp/shorty 2.0.0-alpha10 → 2.0.0-alpha12
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/.lgtm.yml +3 -4
- package/README.md +1 -1
- package/cypress/e2e/misc.cy.ts +28 -5
- package/dist/shorty.cjs +1 -1
- package/dist/shorty.cjs.map +1 -1
- package/dist/shorty.d.ts +3 -1
- package/dist/shorty.js +1 -1
- package/dist/shorty.js.map +1 -1
- package/dist/shorty.mjs +428 -317
- package/dist/shorty.mjs.map +1 -1
- package/package.json +7 -9
- package/src/index.ts +3 -0
- package/src/misc/createElement.ts +2 -8
- package/src/misc/createElementNS.ts +4 -9
- package/tsconfig.json +3 -3
- package/vite.config.ts +2 -0
package/dist/shorty.mjs
CHANGED
|
@@ -1,85 +1,107 @@
|
|
|
1
|
-
const
|
|
2
|
-
DOMContentLoaded:
|
|
3
|
-
DOMMouseScroll:
|
|
4
|
-
abort:
|
|
5
|
-
beforeunload:
|
|
6
|
-
blur:
|
|
7
|
-
change:
|
|
8
|
-
click:
|
|
9
|
-
contextmenu:
|
|
10
|
-
dblclick:
|
|
11
|
-
error:
|
|
12
|
-
focus:
|
|
13
|
-
focusin:
|
|
14
|
-
focusout:
|
|
15
|
-
gesturechange:
|
|
16
|
-
gestureend:
|
|
17
|
-
gesturestart:
|
|
18
|
-
hover:
|
|
19
|
-
keydown:
|
|
20
|
-
keypress:
|
|
21
|
-
keyup:
|
|
22
|
-
load:
|
|
23
|
-
mousedown:
|
|
24
|
-
mousemove:
|
|
25
|
-
mousein:
|
|
26
|
-
mouseout:
|
|
27
|
-
mouseenter:
|
|
28
|
-
mouseleave:
|
|
29
|
-
mouseover:
|
|
30
|
-
mouseup:
|
|
31
|
-
mousewheel:
|
|
32
|
-
move:
|
|
33
|
-
orientationchange:
|
|
34
|
-
pointercancel:
|
|
35
|
-
pointerdown:
|
|
36
|
-
pointerleave:
|
|
37
|
-
pointermove:
|
|
38
|
-
pointerup:
|
|
39
|
-
readystatechange:
|
|
40
|
-
reset:
|
|
41
|
-
resize:
|
|
42
|
-
scroll:
|
|
43
|
-
select:
|
|
44
|
-
selectend:
|
|
45
|
-
selectstart:
|
|
46
|
-
submit:
|
|
47
|
-
touchcancel:
|
|
48
|
-
touchend:
|
|
49
|
-
touchmove:
|
|
50
|
-
touchstart:
|
|
51
|
-
unload:
|
|
52
|
-
},
|
|
1
|
+
const pe = "aria-checked", fe = "aria-description", me = "aria-describedby", ge = "aria-expanded", ve = "aria-haspopup", Ee = "aria-hidden", be = "aria-label", he = "aria-labelledby", ye = "aria-modal", we = "aria-pressed", Ae = "aria-selected", Se = "aria-valuemin", Me = "aria-valuemax", Ne = "aria-valuenow", ke = "aria-valuetext", G = "abort", j = "beforeunload", J = "blur", K = "change", X = "contextmenu", P = "DOMContentLoaded", Y = "DOMMouseScroll", Z = "error", $ = "focus", _ = "focusin", tt = "focusout", et = "gesturechange", nt = "gestureend", ot = "gesturestart", st = "keydown", ct = "keypress", rt = "keyup", at = "load", it = "click", ut = "dblclick", lt = "mousedown", dt = "mouseup", pt = "hover", ft = "mouseenter", mt = "mouseleave", gt = "mousein", vt = "mouseout", Et = "mouseover", bt = "mousemove", ht = "mousewheel", yt = "move", wt = "orientationchange", At = "pointercancel", St = "pointerdown", Mt = "pointerleave", Nt = "pointermove", kt = "pointerup", Tt = "readystatechange", Dt = "reset", Ct = "resize", Lt = "select", Ot = "selectend", It = "selectstart", zt = "scroll", xt = "submit", Vt = "touchstart", Bt = "touchmove", Ht = "touchcancel", Pt = "touchend", Ut = "unload", Te = {
|
|
2
|
+
DOMContentLoaded: P,
|
|
3
|
+
DOMMouseScroll: Y,
|
|
4
|
+
abort: G,
|
|
5
|
+
beforeunload: j,
|
|
6
|
+
blur: J,
|
|
7
|
+
change: K,
|
|
8
|
+
click: it,
|
|
9
|
+
contextmenu: X,
|
|
10
|
+
dblclick: ut,
|
|
11
|
+
error: Z,
|
|
12
|
+
focus: $,
|
|
13
|
+
focusin: _,
|
|
14
|
+
focusout: tt,
|
|
15
|
+
gesturechange: et,
|
|
16
|
+
gestureend: nt,
|
|
17
|
+
gesturestart: ot,
|
|
18
|
+
hover: pt,
|
|
19
|
+
keydown: st,
|
|
20
|
+
keypress: ct,
|
|
21
|
+
keyup: rt,
|
|
22
|
+
load: at,
|
|
23
|
+
mousedown: lt,
|
|
24
|
+
mousemove: bt,
|
|
25
|
+
mousein: gt,
|
|
26
|
+
mouseout: vt,
|
|
27
|
+
mouseenter: ft,
|
|
28
|
+
mouseleave: mt,
|
|
29
|
+
mouseover: Et,
|
|
30
|
+
mouseup: dt,
|
|
31
|
+
mousewheel: ht,
|
|
32
|
+
move: yt,
|
|
33
|
+
orientationchange: wt,
|
|
34
|
+
pointercancel: At,
|
|
35
|
+
pointerdown: St,
|
|
36
|
+
pointerleave: Mt,
|
|
37
|
+
pointermove: Nt,
|
|
38
|
+
pointerup: kt,
|
|
39
|
+
readystatechange: Tt,
|
|
40
|
+
reset: Dt,
|
|
41
|
+
resize: Ct,
|
|
42
|
+
scroll: zt,
|
|
43
|
+
select: Lt,
|
|
44
|
+
selectend: Ot,
|
|
45
|
+
selectstart: It,
|
|
46
|
+
submit: xt,
|
|
47
|
+
touchcancel: Ht,
|
|
48
|
+
touchend: Pt,
|
|
49
|
+
touchmove: Bt,
|
|
50
|
+
touchstart: Vt,
|
|
51
|
+
unload: Ut
|
|
52
|
+
}, De = "drag", Ce = "dragstart", Le = "dragenter", Oe = "dragleave", Ie = "dragover", ze = "dragend", xe = "loadstart", Ve = {
|
|
53
53
|
start: "mousedown",
|
|
54
54
|
end: "mouseup",
|
|
55
55
|
move: "mousemove",
|
|
56
56
|
cancel: "mouseleave"
|
|
57
|
-
},
|
|
57
|
+
}, Be = { down: "mousedown", up: "mouseup" }, He = "onmouseleave" in document ? ["mouseenter", "mouseleave"] : (
|
|
58
|
+
/* istanbul ignore next */
|
|
59
|
+
["mouseover", "mouseout"]
|
|
60
|
+
), Pe = {
|
|
58
61
|
start: "touchstart",
|
|
59
62
|
end: "touchend",
|
|
60
63
|
move: "touchmove",
|
|
61
64
|
cancel: "touchcancel"
|
|
62
|
-
},
|
|
65
|
+
}, Ue = { in: "focusin", out: "focusout" }, Fe = {
|
|
63
66
|
Backspace: "Backspace",
|
|
67
|
+
// 8
|
|
64
68
|
Tab: "Tab",
|
|
69
|
+
// 9
|
|
65
70
|
Enter: "Enter",
|
|
71
|
+
// 13
|
|
66
72
|
Shift: "Shift",
|
|
73
|
+
// 16
|
|
67
74
|
Control: "Control",
|
|
75
|
+
// 17
|
|
68
76
|
Alt: "Alt",
|
|
77
|
+
// 18
|
|
69
78
|
Pause: "Pause",
|
|
79
|
+
// 19
|
|
70
80
|
CapsLock: "CapsLock",
|
|
81
|
+
// 20
|
|
71
82
|
Escape: "Escape",
|
|
83
|
+
// 27
|
|
72
84
|
Scape: "Space",
|
|
85
|
+
// 32
|
|
73
86
|
ArrowLeft: "ArrowLeft",
|
|
87
|
+
// 37
|
|
74
88
|
ArrowUp: "ArrowUp",
|
|
89
|
+
// 38
|
|
75
90
|
ArrowRight: "ArrowRight",
|
|
91
|
+
// 39
|
|
76
92
|
ArrowDown: "ArrowDown",
|
|
93
|
+
// 40
|
|
77
94
|
Insert: "Insert",
|
|
95
|
+
// 45
|
|
78
96
|
Delete: "Delete",
|
|
97
|
+
// 46
|
|
79
98
|
Meta: "Meta",
|
|
99
|
+
// 91 windows key
|
|
80
100
|
ContextMenu: "ContextMenu",
|
|
101
|
+
// 93
|
|
81
102
|
ScrollLock: "ScrollLock"
|
|
82
|
-
|
|
103
|
+
// 145
|
|
104
|
+
}, We = "Alt", Re = "ArrowDown", Qe = "ArrowUp", qe = "ArrowLeft", Ge = "ArrowRight", je = "Backspace", Je = "CapsLock", Ke = "Control", Xe = "Delete", Ye = "Enter", Ze = "Escape", $e = "Insert", _e = "Meta", tn = "Pause", en = "ScrollLock", nn = "Shift", on = "Space", sn = "Tab", Ft = "animationDuration", Wt = "animationDelay", U = "animationName", D = "animationend", Rt = "transitionDuration", Qt = "transitionDelay", C = "transitionend", F = "transitionProperty", cn = "addEventListener", rn = "removeEventListener", an = {
|
|
83
105
|
linear: "linear",
|
|
84
106
|
easingSinusoidalIn: "cubic-bezier(0.47,0,0.745,0.715)",
|
|
85
107
|
easingSinusoidalOut: "cubic-bezier(0.39,0.575,0.565,1)",
|
|
@@ -105,220 +127,307 @@ const fe = "aria-checked", me = "aria-description", ge = "aria-describedby", ve
|
|
|
105
127
|
easingBackIn: "cubic-bezier(0.6,-0.28,0.735,0.045)",
|
|
106
128
|
easingBackOut: "cubic-bezier(0.175,0.885,0.32,1.275)",
|
|
107
129
|
easingBackInOut: "cubic-bezier(0.68,-0.55,0.265,1.55)"
|
|
108
|
-
},
|
|
109
|
-
let
|
|
110
|
-
|
|
111
|
-
const
|
|
130
|
+
}, un = "offsetHeight", ln = "offsetWidth", dn = "scrollHeight", pn = "scrollWidth", fn = "tabindex", qt = navigator.userAgentData, A = qt, { userAgent: Gt } = navigator, S = Gt, z = /iPhone|iPad|iPod|Android/i;
|
|
131
|
+
let L = !1;
|
|
132
|
+
A ? L = A.brands.some((t) => z.test(t.brand)) : L = z.test(S);
|
|
133
|
+
const mn = L, x = /(iPhone|iPod|iPad)/, gn = A ? A.brands.some((t) => x.test(t.brand)) : (
|
|
134
|
+
/* istanbul ignore next */
|
|
135
|
+
x.test(S)
|
|
136
|
+
), vn = S ? S.includes("Firefox") : (
|
|
137
|
+
/* istanbul ignore next */
|
|
138
|
+
!1
|
|
139
|
+
), { head: M } = document, En = ["webkitPerspective", "perspective"].some((t) => t in M.style), jt = (t, e, n, o) => {
|
|
112
140
|
const s = o || !1;
|
|
113
141
|
t.addEventListener(e, n, s);
|
|
114
|
-
},
|
|
142
|
+
}, Jt = (t, e, n, o) => {
|
|
115
143
|
const s = o || !1;
|
|
116
144
|
t.removeEventListener(e, n, s);
|
|
117
|
-
},
|
|
118
|
-
const s = (
|
|
119
|
-
(
|
|
145
|
+
}, Kt = (t, e, n, o) => {
|
|
146
|
+
const s = (r) => {
|
|
147
|
+
(r.target === t || r.currentTarget === t) && (n.apply(t, [r]), Jt(t, e, s, o));
|
|
120
148
|
};
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
},
|
|
149
|
+
jt(t, e, s, o);
|
|
150
|
+
}, Xt = () => {
|
|
151
|
+
}, bn = (() => {
|
|
124
152
|
let t = !1;
|
|
125
153
|
try {
|
|
126
154
|
const e = Object.defineProperty({}, "passive", {
|
|
127
155
|
get: () => (t = !0, t)
|
|
128
156
|
});
|
|
129
|
-
|
|
157
|
+
Kt(document, P, Xt, e);
|
|
130
158
|
} catch {
|
|
131
159
|
}
|
|
132
160
|
return t;
|
|
133
|
-
})(),
|
|
161
|
+
})(), hn = ["webkitTransform", "transform"].some((t) => t in M.style), yn = "ontouchstart" in window || /* istanbul ignore next */
|
|
162
|
+
"msMaxTouchPoints" in navigator, wn = ["webkitAnimation", "animation"].some((t) => t in M.style), An = ["webkitTransition", "transition"].some((t) => t in M.style), Yt = (t, e) => t.getAttribute(e), Sn = (t, e, n) => e.getAttributeNS(t, n), Mn = (t, e) => t.hasAttribute(e), Nn = (t, e, n) => e.hasAttributeNS(t, n), kn = (t, e, n) => t.setAttribute(e, n), Tn = (t, e, n, o) => e.setAttributeNS(t, n, o), Dn = (t, e) => t.removeAttribute(e), Cn = (t, e, n) => e.removeAttributeNS(t, n), Ln = (t, ...e) => {
|
|
134
163
|
t.classList.add(...e);
|
|
135
164
|
}, On = (t, ...e) => {
|
|
136
165
|
t.classList.remove(...e);
|
|
137
|
-
}, In = (t, e) => t.classList.contains(e), { body: zn } = document, { documentElement: xn } = document, Vn = (t) => Array.from(t),
|
|
166
|
+
}, In = (t, e) => t.classList.contains(e), { body: zn } = document, { documentElement: xn } = document, Vn = (t) => Array.from(t), v = (t) => t != null && typeof t == "object" || !1, i = (t) => v(t) && typeof t.nodeType == "number" && [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].some((e) => t.nodeType === e) || !1, u = (t) => i(t) && t.nodeType === 1 || !1, b = /* @__PURE__ */ new Map(), O = {
|
|
167
|
+
/**
|
|
168
|
+
* Sets web components data.
|
|
169
|
+
*
|
|
170
|
+
* @param element target element
|
|
171
|
+
* @param component the component's name or a unique key
|
|
172
|
+
* @param instance the component instance
|
|
173
|
+
*/
|
|
138
174
|
set: (t, e, n) => {
|
|
139
175
|
if (!u(t))
|
|
140
176
|
return;
|
|
141
|
-
|
|
177
|
+
b.has(e) || b.set(e, /* @__PURE__ */ new Map()), b.get(e).set(t, n);
|
|
142
178
|
},
|
|
143
|
-
|
|
179
|
+
/**
|
|
180
|
+
* Returns all instances for specified component.
|
|
181
|
+
*
|
|
182
|
+
* @param component the component's name or a unique key
|
|
183
|
+
* @returns all the component instances
|
|
184
|
+
*/
|
|
185
|
+
getAllFor: (t) => b.get(t) || null,
|
|
186
|
+
/**
|
|
187
|
+
* Returns the instance associated with the target.
|
|
188
|
+
*
|
|
189
|
+
* @param element target element
|
|
190
|
+
* @param component the component's name or a unique key
|
|
191
|
+
* @returns the instance
|
|
192
|
+
*/
|
|
144
193
|
get: (t, e) => {
|
|
145
194
|
if (!u(t) || !e)
|
|
146
195
|
return null;
|
|
147
|
-
const n =
|
|
196
|
+
const n = O.getAllFor(e);
|
|
148
197
|
return t && n && n.get(t) || null;
|
|
149
198
|
},
|
|
199
|
+
/**
|
|
200
|
+
* Removes web components data.
|
|
201
|
+
*
|
|
202
|
+
* @param element target element
|
|
203
|
+
* @param component the component's name or a unique key
|
|
204
|
+
*/
|
|
150
205
|
remove: (t, e) => {
|
|
151
|
-
const n =
|
|
152
|
-
!n || !u(t) || (n.delete(t), n.size === 0 &&
|
|
206
|
+
const n = O.getAllFor(e);
|
|
207
|
+
!n || !u(t) || (n.delete(t), n.size === 0 && b.delete(e));
|
|
153
208
|
}
|
|
154
|
-
}, Bn = (t, e) =>
|
|
209
|
+
}, Bn = (t, e) => O.get(t, e), N = (t) => typeof t == "string" || !1, W = (t) => v(t) && t.constructor.name === "Window" || !1, R = (t) => i(t) && t.nodeType === 9 || !1, d = (t) => W(t) ? t.document : R(t) ? t : i(t) ? t.ownerDocument : window.document, k = (t, ...e) => Object.assign(t, ...e), Zt = (t) => {
|
|
155
210
|
if (!t)
|
|
156
211
|
return;
|
|
157
|
-
if (
|
|
212
|
+
if (N(t))
|
|
158
213
|
return d().createElement(t);
|
|
159
|
-
const { tagName: e } = t, n =
|
|
214
|
+
const { tagName: e } = t, n = Zt(e);
|
|
160
215
|
if (!n)
|
|
161
216
|
return;
|
|
162
217
|
const o = { ...t };
|
|
163
|
-
return delete o.tagName,
|
|
164
|
-
|
|
165
|
-
}), n;
|
|
166
|
-
}, _t = (t, e) => {
|
|
218
|
+
return delete o.tagName, k(n, o);
|
|
219
|
+
}, $t = (t, e) => {
|
|
167
220
|
if (!t || !e)
|
|
168
221
|
return;
|
|
169
|
-
if (
|
|
222
|
+
if (N(e))
|
|
170
223
|
return d().createElementNS(t, e);
|
|
171
|
-
const { tagName: n } = e, o =
|
|
224
|
+
const { tagName: n } = e, o = $t(t, n);
|
|
172
225
|
if (!o)
|
|
173
226
|
return;
|
|
174
227
|
const s = { ...e };
|
|
175
|
-
return delete s.tagName,
|
|
176
|
-
|
|
177
|
-
}), o;
|
|
178
|
-
}, Q = (t, e) => t.dispatchEvent(e), Hn = (t, e, n) => n.indexOf(t) === e, v = (t, e) => {
|
|
228
|
+
return delete s.tagName, k(o, s);
|
|
229
|
+
}, Q = (t, e) => t.dispatchEvent(e), Hn = (t, e, n) => n.indexOf(t) === e, g = (t, e) => {
|
|
179
230
|
const n = getComputedStyle(t), o = e.replace("webkit", "Webkit").replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
180
231
|
return n.getPropertyValue(o);
|
|
232
|
+
}, _t = (t) => {
|
|
233
|
+
const e = g(t, U), n = g(t, Wt), o = n.includes("ms") ? (
|
|
234
|
+
/* istanbul ignore next */
|
|
235
|
+
1
|
|
236
|
+
) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
|
|
237
|
+
return Number.isNaN(s) ? (
|
|
238
|
+
/* istanbul ignore next */
|
|
239
|
+
0
|
|
240
|
+
) : s;
|
|
181
241
|
}, te = (t) => {
|
|
182
|
-
const e =
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
return Number.isNaN(s) ?
|
|
242
|
+
const e = g(t, U), n = g(t, Ft), o = n.includes("ms") ? (
|
|
243
|
+
/* istanbul ignore next */
|
|
244
|
+
1
|
|
245
|
+
) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
|
|
246
|
+
return Number.isNaN(s) ? (
|
|
247
|
+
/* istanbul ignore next */
|
|
248
|
+
0
|
|
249
|
+
) : s;
|
|
187
250
|
}, Pn = (t, e) => {
|
|
188
251
|
let n = 0;
|
|
189
|
-
const o = new Event(
|
|
252
|
+
const o = new Event(D), s = te(t), r = _t(t);
|
|
190
253
|
if (s) {
|
|
191
254
|
const a = (l) => {
|
|
192
|
-
l.target === t && (e.apply(t, [l]), t.removeEventListener(
|
|
255
|
+
l.target === t && (e.apply(t, [l]), t.removeEventListener(D, a), n = 1);
|
|
193
256
|
};
|
|
194
|
-
t.addEventListener(
|
|
257
|
+
t.addEventListener(D, a), setTimeout(() => {
|
|
195
258
|
n || Q(t, o);
|
|
196
|
-
}, s +
|
|
259
|
+
}, s + r + 17);
|
|
197
260
|
} else
|
|
198
261
|
e.apply(t, [o]);
|
|
262
|
+
}, ee = (t) => {
|
|
263
|
+
const e = g(t, F), n = g(t, Qt), o = n.includes("ms") ? (
|
|
264
|
+
/* istanbul ignore next */
|
|
265
|
+
1
|
|
266
|
+
) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : (
|
|
267
|
+
/* istanbul ignore next */
|
|
268
|
+
0
|
|
269
|
+
);
|
|
270
|
+
return Number.isNaN(s) ? (
|
|
271
|
+
/* istanbul ignore next */
|
|
272
|
+
0
|
|
273
|
+
) : s;
|
|
199
274
|
}, ne = (t) => {
|
|
200
|
-
const e =
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
275
|
+
const e = g(t, F), n = g(t, Rt), o = n.includes("ms") ? (
|
|
276
|
+
/* istanbul ignore next */
|
|
277
|
+
1
|
|
278
|
+
) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : (
|
|
279
|
+
/* istanbul ignore next */
|
|
280
|
+
0
|
|
281
|
+
);
|
|
282
|
+
return Number.isNaN(s) ? (
|
|
283
|
+
/* istanbul ignore next */
|
|
284
|
+
0
|
|
285
|
+
) : s;
|
|
205
286
|
}, Un = (t, e) => {
|
|
206
287
|
let n = 0;
|
|
207
|
-
const o = new Event(
|
|
288
|
+
const o = new Event(C), s = ne(t), r = ee(t);
|
|
208
289
|
if (s) {
|
|
209
290
|
const a = (l) => {
|
|
210
|
-
l.target === t && (e.apply(t, [l]), t.removeEventListener(
|
|
291
|
+
l.target === t && (e.apply(t, [l]), t.removeEventListener(C, a), n = 1);
|
|
211
292
|
};
|
|
212
|
-
t.addEventListener(
|
|
293
|
+
t.addEventListener(C, a), setTimeout(() => {
|
|
213
294
|
n || Q(t, o);
|
|
214
|
-
}, s +
|
|
295
|
+
}, s + r + 17);
|
|
215
296
|
} else
|
|
216
297
|
e.apply(t, [o]);
|
|
217
|
-
}, Fn = (t) => Float32Array.from(Array.from(t)), Wn = (t) => Float64Array.from(Array.from(t)), Rn = (t, e) => t.focus(e),
|
|
218
|
-
const s = { ...n },
|
|
219
|
-
return
|
|
220
|
-
const
|
|
221
|
-
l[
|
|
222
|
-
}),
|
|
223
|
-
s[
|
|
224
|
-
}),
|
|
225
|
-
|
|
298
|
+
}, Fn = (t) => Float32Array.from(Array.from(t)), Wn = (t) => Float64Array.from(Array.from(t)), Rn = (t, e) => t.focus(e), V = (t) => ["true", !0].includes(t) ? !0 : ["false", !1].includes(t) ? !1 : ["null", "", null, void 0].includes(t) ? null : t !== "" && !Number.isNaN(+t) ? +t : t, w = (t) => Object.entries(t), oe = (t) => t.toLowerCase(), Qn = (t, e, n, o) => {
|
|
299
|
+
const s = { ...n }, r = { ...t.dataset }, a = { ...e }, l = {}, p = "title";
|
|
300
|
+
return w(r).forEach(([c, f]) => {
|
|
301
|
+
const y = o && typeof c == "string" && c.includes(o) ? c.replace(o, "").replace(/[A-Z]/g, (q) => oe(q)) : c;
|
|
302
|
+
l[y] = V(f);
|
|
303
|
+
}), w(s).forEach(([c, f]) => {
|
|
304
|
+
s[c] = V(f);
|
|
305
|
+
}), w(e).forEach(([c, f]) => {
|
|
306
|
+
c in s ? a[c] = s[c] : c in l ? a[c] = l[c] : a[c] = c === p ? Yt(t, p) : f;
|
|
226
307
|
}), a;
|
|
227
|
-
},
|
|
308
|
+
}, qn = (t, e) => v(t) && (Object.hasOwn(t, e) || e in t), Gn = (t) => Object.keys(t), jn = (t) => Object.values(t), Jn = (t, e) => {
|
|
228
309
|
const n = new CustomEvent(t, {
|
|
229
310
|
cancelable: !0,
|
|
230
311
|
bubbles: !0
|
|
231
312
|
});
|
|
232
|
-
return
|
|
313
|
+
return v(e) && k(n, e), n;
|
|
233
314
|
}, Kn = { passive: !0 }, Xn = (t) => t.offsetHeight, Yn = (t, e) => {
|
|
234
|
-
|
|
235
|
-
if (o &&
|
|
315
|
+
w(e).forEach(([n, o]) => {
|
|
316
|
+
if (o && N(n) && n.includes("--"))
|
|
236
317
|
t.style.setProperty(n, o);
|
|
237
318
|
else {
|
|
238
319
|
const s = {};
|
|
239
|
-
s[n] = o,
|
|
320
|
+
s[n] = o, k(t.style, s);
|
|
240
321
|
}
|
|
241
322
|
});
|
|
242
|
-
},
|
|
323
|
+
}, I = (t) => v(t) && t.constructor.name === "Map" || !1, se = (t) => typeof t == "number" || !1, m = /* @__PURE__ */ new Map(), Zn = {
|
|
324
|
+
/**
|
|
325
|
+
* Sets a new timeout timer for an element, or element -> key association.
|
|
326
|
+
*
|
|
327
|
+
* @param element target element
|
|
328
|
+
* @param callback the callback
|
|
329
|
+
* @param delay the execution delay
|
|
330
|
+
* @param key a unique key
|
|
331
|
+
*/
|
|
243
332
|
set: (t, e, n, o) => {
|
|
244
|
-
|
|
333
|
+
u(t) && (o && o.length ? (m.has(t) || m.set(t, /* @__PURE__ */ new Map()), m.get(t).set(o, setTimeout(e, n))) : m.set(t, setTimeout(e, n)));
|
|
245
334
|
},
|
|
335
|
+
/**
|
|
336
|
+
* Returns the timer associated with the target.
|
|
337
|
+
*
|
|
338
|
+
* @param element target element
|
|
339
|
+
* @param key a unique
|
|
340
|
+
* @returns the timer
|
|
341
|
+
*/
|
|
246
342
|
get: (t, e) => {
|
|
247
343
|
if (!u(t))
|
|
248
344
|
return null;
|
|
249
345
|
const n = m.get(t);
|
|
250
|
-
return e && n &&
|
|
346
|
+
return e && n && I(n) ? n.get(e) || /* istanbul ignore next */
|
|
347
|
+
null : se(n) ? n : null;
|
|
251
348
|
},
|
|
349
|
+
/**
|
|
350
|
+
* Clears the element's timer.
|
|
351
|
+
*
|
|
352
|
+
* @param element target element
|
|
353
|
+
* @param key a unique key
|
|
354
|
+
*/
|
|
252
355
|
clear: (t, e) => {
|
|
253
356
|
if (!u(t))
|
|
254
357
|
return;
|
|
255
358
|
const n = m.get(t);
|
|
256
|
-
e && e.length &&
|
|
359
|
+
e && e.length && I(n) ? (clearTimeout(n.get(e)), n.delete(e), n.size === 0 && m.delete(t)) : (clearTimeout(n), m.delete(t));
|
|
257
360
|
}
|
|
258
|
-
}, $n = (t) => t.toUpperCase(),
|
|
259
|
-
const { width: n, height: o, top: s, right:
|
|
260
|
-
let p = 1,
|
|
361
|
+
}, $n = (t) => t.toUpperCase(), h = (t, e) => {
|
|
362
|
+
const { width: n, height: o, top: s, right: r, bottom: a, left: l } = t.getBoundingClientRect();
|
|
363
|
+
let p = 1, c = 1;
|
|
261
364
|
if (e && u(t)) {
|
|
262
|
-
const { offsetWidth: f, offsetHeight:
|
|
263
|
-
p = f > 0 ? Math.round(n) / f :
|
|
365
|
+
const { offsetWidth: f, offsetHeight: y } = t;
|
|
366
|
+
p = f > 0 ? Math.round(n) / f : (
|
|
367
|
+
/* istanbul ignore next */
|
|
368
|
+
1
|
|
369
|
+
), c = y > 0 ? Math.round(o) / y : (
|
|
370
|
+
/* istanbul ignore next */
|
|
371
|
+
1
|
|
372
|
+
);
|
|
264
373
|
}
|
|
265
374
|
return {
|
|
266
375
|
width: n / p,
|
|
267
|
-
height: o /
|
|
268
|
-
top: s /
|
|
269
|
-
right:
|
|
270
|
-
bottom: a /
|
|
376
|
+
height: o / c,
|
|
377
|
+
top: s / c,
|
|
378
|
+
right: r / p,
|
|
379
|
+
bottom: a / c,
|
|
271
380
|
left: l / p,
|
|
272
381
|
x: l / p,
|
|
273
|
-
y: s /
|
|
382
|
+
y: s / c
|
|
274
383
|
};
|
|
275
|
-
}, _n = (t) => d(t).body,
|
|
384
|
+
}, _n = (t) => d(t).body, T = (t) => d(t).documentElement, to = (t) => d(t).head, eo = (t) => {
|
|
276
385
|
const e = W(t), n = e ? t.scrollX : t.scrollLeft, o = e ? t.scrollY : t.scrollTop;
|
|
277
386
|
return { x: n, y: o };
|
|
278
|
-
},
|
|
387
|
+
}, ce = (t) => i(t) && t.constructor.name === "ShadowRoot" || !1, no = (t) => t.nodeName === "HTML" ? t : u(t) && t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
388
|
+
i(t) && t.parentNode || // DOM Element detected
|
|
389
|
+
ce(t) && t.host || // ShadowRoot detected
|
|
390
|
+
T(t), re = (t) => {
|
|
279
391
|
if (!u(t))
|
|
280
392
|
return !1;
|
|
281
|
-
const { width: e, height: n } =
|
|
393
|
+
const { width: e, height: n } = h(t), { offsetWidth: o, offsetHeight: s } = t;
|
|
282
394
|
return Math.round(e) !== o || Math.round(n) !== s;
|
|
283
395
|
}, oo = (t, e, n) => {
|
|
284
|
-
const o = u(e), s =
|
|
396
|
+
const o = u(e), s = h(t, o && re(e)), r = { x: 0, y: 0 };
|
|
285
397
|
if (o) {
|
|
286
|
-
const a =
|
|
287
|
-
|
|
398
|
+
const a = h(e, !0);
|
|
399
|
+
r.x = a.x + e.clientLeft, r.y = a.y + e.clientTop;
|
|
288
400
|
}
|
|
289
401
|
return {
|
|
290
|
-
x: s.left + n.x -
|
|
291
|
-
y: s.top + n.y -
|
|
402
|
+
x: s.left + n.x - r.x,
|
|
403
|
+
y: s.top + n.y - r.y,
|
|
292
404
|
width: s.width,
|
|
293
405
|
height: s.height
|
|
294
406
|
};
|
|
295
407
|
};
|
|
296
|
-
let
|
|
297
|
-
const
|
|
298
|
-
let n = e ?
|
|
408
|
+
let B = 0, H = 0;
|
|
409
|
+
const E = /* @__PURE__ */ new Map(), ae = (t, e) => {
|
|
410
|
+
let n = e ? B : H;
|
|
299
411
|
if (e) {
|
|
300
|
-
const o =
|
|
301
|
-
|
|
412
|
+
const o = ae(t), s = E.get(o) || /* @__PURE__ */ new Map();
|
|
413
|
+
E.has(o) || E.set(o, s), I(s) && !s.has(e) ? (s.set(e, n), B += 1) : n = s.get(e);
|
|
302
414
|
} else {
|
|
303
415
|
const o = t.id || t;
|
|
304
|
-
|
|
416
|
+
E.has(o) ? n = E.get(o) : (E.set(o, n), H += 1);
|
|
305
417
|
}
|
|
306
418
|
return n;
|
|
307
|
-
}, so = (t) => {
|
|
308
|
-
var e;
|
|
309
|
-
return t ? R(t) ? t.defaultView : i(t) ? (e = t == null ? void 0 : t.ownerDocument) == null ? void 0 : e.defaultView : t : window;
|
|
310
|
-
}, ue = (t) => Array.isArray(t) || !1, co = (t) => i(t) && t.nodeName === "CANVAS" || !1, le = (t) => u(t) && !!t.shadowRoot || !1, ro = (t) => i(t) && [1, 2, 3, 4, 5, 6, 7, 8].some((e) => t.nodeType === e) || !1, ao = (t) => {
|
|
419
|
+
}, so = (t) => t ? R(t) ? t.defaultView : i(t) ? t?.ownerDocument?.defaultView : t : window, ie = (t) => Array.isArray(t) || !1, co = (t) => i(t) && t.nodeName === "CANVAS" || !1, ue = (t) => u(t) && !!t.shadowRoot || !1, ro = (t) => i(t) && [1, 2, 3, 4, 5, 6, 7, 8].some((e) => t.nodeType === e) || !1, ao = (t) => {
|
|
311
420
|
if (!i(t))
|
|
312
421
|
return !1;
|
|
313
|
-
const { top: e, bottom: n } =
|
|
422
|
+
const { top: e, bottom: n } = h(t), { clientHeight: o } = T(t);
|
|
314
423
|
return e <= o && n >= 0;
|
|
315
424
|
}, io = (t) => {
|
|
316
425
|
if (!i(t))
|
|
317
426
|
return !1;
|
|
318
|
-
const { clientWidth: e, clientHeight: n } =
|
|
319
|
-
return o >= 0 && s >= 0 &&
|
|
320
|
-
}, uo = (t) =>
|
|
321
|
-
if (!
|
|
427
|
+
const { clientWidth: e, clientHeight: n } = T(t), { top: o, left: s, bottom: r, right: a } = h(t, !0);
|
|
428
|
+
return o >= 0 && s >= 0 && r <= n && a <= e;
|
|
429
|
+
}, uo = (t) => ie(t) && t.every(u) || !1, lo = (t) => typeof t == "function" || !1, po = (t) => v(t) && t.constructor.name === "HTMLCollection" || !1, fo = (t) => u(t) && t.tagName === "IMG" || !1, mo = (t) => {
|
|
430
|
+
if (!N(t))
|
|
322
431
|
return !1;
|
|
323
432
|
try {
|
|
324
433
|
JSON.parse(t);
|
|
@@ -326,227 +435,229 @@ const b = /* @__PURE__ */ new Map(), ie = (t, e) => {
|
|
|
326
435
|
return !1;
|
|
327
436
|
}
|
|
328
437
|
return !0;
|
|
329
|
-
}, go = (t) =>
|
|
438
|
+
}, go = (t) => v(t) && t.constructor.name === "WeakMap" || !1, vo = (t) => i(t) && ["SVG", "Image", "Video", "Canvas"].some((e) => t.constructor.name.includes(e)) || !1, Eo = (t) => v(t) && t.constructor.name === "NodeList" || !1, bo = (t) => T(t).dir === "rtl", ho = (t) => i(t) && t.constructor.name.includes("SVG") || !1, yo = (t) => i(t) && ["TABLE", "TD", "TH"].includes(t.nodeName) || !1, le = (t, e) => t ? t.closest(e) || // break out of `ShadowRoot`
|
|
439
|
+
le(t.getRootNode().host, e) : null, wo = (t, e) => u(t) ? t : (i(e) ? e : d()).querySelector(t), de = (t, e) => (i(e) ? e : d()).getElementsByTagName(t), Ao = (t) => [...de("*", t)].filter(ue), So = (t, e) => d(e).getElementById(t) || null, Mo = (t, e) => (i(e) ? e : d()).querySelectorAll(t), No = (t, e) => (e && i(e) ? e : d()).getElementsByClassName(
|
|
330
440
|
t
|
|
331
|
-
), ko = (t, e) => t.matches(e);
|
|
441
|
+
), ko = (t, e) => t.matches(e), To = "2.0.0alpha12";
|
|
332
442
|
export {
|
|
333
443
|
Vn as ArrayFrom,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
444
|
+
P as DOMContentLoadedEvent,
|
|
445
|
+
Y as DOMMouseScrollEvent,
|
|
446
|
+
O as Data,
|
|
337
447
|
Fn as Float32ArrayFrom,
|
|
338
448
|
Wn as Float64ArrayFrom,
|
|
339
|
-
|
|
340
|
-
|
|
449
|
+
k as ObjectAssign,
|
|
450
|
+
w as ObjectEntries,
|
|
341
451
|
qn as ObjectHasOwn,
|
|
342
452
|
Gn as ObjectKeys,
|
|
343
453
|
jn as ObjectValues,
|
|
344
454
|
Zn as Timer,
|
|
345
|
-
|
|
455
|
+
G as abortEvent,
|
|
346
456
|
Ln as addClass,
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
457
|
+
cn as addEventListener,
|
|
458
|
+
Wt as animationDelay,
|
|
459
|
+
Ft as animationDuration,
|
|
460
|
+
D as animationEndEvent,
|
|
461
|
+
U as animationName,
|
|
462
|
+
pe as ariaChecked,
|
|
463
|
+
me as ariaDescribedBy,
|
|
464
|
+
fe as ariaDescription,
|
|
465
|
+
ge as ariaExpanded,
|
|
466
|
+
ve as ariaHasPopup,
|
|
467
|
+
Ee as ariaHidden,
|
|
468
|
+
be as ariaLabel,
|
|
469
|
+
he as ariaLabelledBy,
|
|
470
|
+
ye as ariaModal,
|
|
471
|
+
we as ariaPressed,
|
|
472
|
+
Ae as ariaSelected,
|
|
473
|
+
Me as ariaValueMax,
|
|
474
|
+
Se as ariaValueMin,
|
|
475
|
+
Ne as ariaValueNow,
|
|
476
|
+
ke as ariaValueText,
|
|
477
|
+
j as beforeunloadEvent,
|
|
478
|
+
an as bezierEasings,
|
|
479
|
+
J as blurEvent,
|
|
480
|
+
K as changeEvent,
|
|
481
|
+
le as closest,
|
|
482
|
+
X as contextmenuEvent,
|
|
373
483
|
Jn as createCustomEvent,
|
|
374
|
-
|
|
375
|
-
|
|
484
|
+
Zt as createElement,
|
|
485
|
+
$t as createElementNS,
|
|
376
486
|
Q as dispatchEvent,
|
|
377
487
|
Hn as distinct,
|
|
378
488
|
zn as documentBody,
|
|
379
489
|
xn as documentElement,
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
490
|
+
M as documentHead,
|
|
491
|
+
De as dragEvent,
|
|
492
|
+
ze as dragendEvent,
|
|
493
|
+
Le as dragenterEvent,
|
|
494
|
+
Oe as dragleaveEvent,
|
|
495
|
+
Ie as dragoverEvent,
|
|
496
|
+
Ce as dragstartEvent,
|
|
387
497
|
Pn as emulateAnimationEnd,
|
|
388
498
|
Un as emulateTransitionEnd,
|
|
389
|
-
|
|
499
|
+
Z as errorEvent,
|
|
390
500
|
Rn as focus,
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
501
|
+
$ as focusEvent,
|
|
502
|
+
Ue as focusEvents,
|
|
503
|
+
_ as focusinEvent,
|
|
504
|
+
tt as focusoutEvent,
|
|
505
|
+
et as gesturechangeEvent,
|
|
506
|
+
nt as gestureendEvent,
|
|
507
|
+
ot as gesturestartEvent,
|
|
508
|
+
Yt as getAttribute,
|
|
509
|
+
Sn as getAttributeNS,
|
|
510
|
+
h as getBoundingClientRect,
|
|
401
511
|
Ao as getCustomElements,
|
|
402
512
|
d as getDocument,
|
|
403
513
|
_n as getDocumentBody,
|
|
404
|
-
|
|
514
|
+
T as getDocumentElement,
|
|
405
515
|
to as getDocumentHead,
|
|
406
|
-
|
|
407
|
-
|
|
516
|
+
_t as getElementAnimationDelay,
|
|
517
|
+
te as getElementAnimationDuration,
|
|
408
518
|
So as getElementById,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
519
|
+
g as getElementStyle,
|
|
520
|
+
ee as getElementTransitionDelay,
|
|
521
|
+
ne as getElementTransitionDuration,
|
|
412
522
|
No as getElementsByClassName,
|
|
413
|
-
|
|
523
|
+
de as getElementsByTagName,
|
|
414
524
|
Bn as getInstance,
|
|
415
525
|
eo as getNodeScroll,
|
|
416
526
|
no as getParentNode,
|
|
417
527
|
oo as getRectRelativeToOffsetParent,
|
|
418
|
-
|
|
528
|
+
ae as getUID,
|
|
419
529
|
so as getWindow,
|
|
420
|
-
|
|
421
|
-
|
|
530
|
+
Mn as hasAttribute,
|
|
531
|
+
Nn as hasAttributeNS,
|
|
422
532
|
In as hasClass,
|
|
423
|
-
|
|
424
|
-
|
|
533
|
+
gn as isApple,
|
|
534
|
+
ie as isArray,
|
|
425
535
|
co as isCanvas,
|
|
426
|
-
|
|
536
|
+
ue as isCustomElement,
|
|
427
537
|
R as isDocument,
|
|
428
538
|
ro as isElement,
|
|
429
539
|
ao as isElementInScrollRange,
|
|
430
540
|
io as isElementInViewport,
|
|
431
541
|
uo as isElementsArray,
|
|
432
|
-
|
|
542
|
+
vn as isFirefox,
|
|
433
543
|
lo as isFunction,
|
|
434
544
|
po as isHTMLCollection,
|
|
435
545
|
u as isHTMLElement,
|
|
436
546
|
fo as isHTMLImageElement,
|
|
437
547
|
mo as isJSON,
|
|
438
|
-
|
|
548
|
+
I as isMap,
|
|
439
549
|
vo as isMedia,
|
|
440
|
-
|
|
550
|
+
mn as isMobile,
|
|
441
551
|
i as isNode,
|
|
442
552
|
Eo as isNodeList,
|
|
443
|
-
|
|
444
|
-
|
|
553
|
+
se as isNumber,
|
|
554
|
+
v as isObject,
|
|
445
555
|
bo as isRTL,
|
|
446
556
|
ho as isSVGElement,
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
557
|
+
re as isScaledElement,
|
|
558
|
+
ce as isShadowRoot,
|
|
559
|
+
N as isString,
|
|
450
560
|
yo as isTableElement,
|
|
451
561
|
go as isWeakMap,
|
|
452
562
|
W as isWindow,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
563
|
+
We as keyAlt,
|
|
564
|
+
Re as keyArrowDown,
|
|
565
|
+
qe as keyArrowLeft,
|
|
566
|
+
Ge as keyArrowRight,
|
|
567
|
+
Qe as keyArrowUp,
|
|
568
|
+
je as keyBackspace,
|
|
569
|
+
Je as keyCapsLock,
|
|
570
|
+
Ke as keyControl,
|
|
571
|
+
Xe as keyDelete,
|
|
572
|
+
Ye as keyEnter,
|
|
573
|
+
Ze as keyEscape,
|
|
574
|
+
$e as keyInsert,
|
|
575
|
+
_e as keyMeta,
|
|
576
|
+
tn as keyPause,
|
|
577
|
+
en as keyScrollLock,
|
|
578
|
+
nn as keyShift,
|
|
579
|
+
on as keySpace,
|
|
580
|
+
sn as keyTab,
|
|
581
|
+
Fe as keyboardEventKeys,
|
|
582
|
+
st as keydownEvent,
|
|
583
|
+
ct as keypressEvent,
|
|
584
|
+
rt as keyupEvent,
|
|
585
|
+
at as loadEvent,
|
|
586
|
+
xe as loadstartEvent,
|
|
477
587
|
ko as matches,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
588
|
+
Be as mouseClickEvents,
|
|
589
|
+
He as mouseHoverEvents,
|
|
590
|
+
Ve as mouseSwipeEvents,
|
|
591
|
+
it as mouseclickEvent,
|
|
592
|
+
ut as mousedblclickEvent,
|
|
593
|
+
lt as mousedownEvent,
|
|
594
|
+
ft as mouseenterEvent,
|
|
595
|
+
pt as mousehoverEvent,
|
|
596
|
+
gt as mouseinEvent,
|
|
597
|
+
mt as mouseleaveEvent,
|
|
598
|
+
bt as mousemoveEvent,
|
|
599
|
+
vt as mouseoutEvent,
|
|
600
|
+
Et as mouseoverEvent,
|
|
601
|
+
dt as mouseupEvent,
|
|
602
|
+
ht as mousewheelEvent,
|
|
603
|
+
yt as moveEvent,
|
|
604
|
+
Te as nativeEvents,
|
|
605
|
+
Xt as noop,
|
|
496
606
|
Qn as normalizeOptions,
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
607
|
+
V as normalizeValue,
|
|
608
|
+
Jt as off,
|
|
609
|
+
un as offsetHeight,
|
|
610
|
+
ln as offsetWidth,
|
|
611
|
+
jt as on,
|
|
612
|
+
Kt as one,
|
|
613
|
+
wt as orientationchangeEvent,
|
|
504
614
|
Kn as passiveHandler,
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
615
|
+
At as pointercancelEvent,
|
|
616
|
+
St as pointerdownEvent,
|
|
617
|
+
Mt as pointerleaveEvent,
|
|
618
|
+
Nt as pointermoveEvent,
|
|
619
|
+
kt as pointerupEvent,
|
|
510
620
|
wo as querySelector,
|
|
511
621
|
Mo as querySelectorAll,
|
|
512
|
-
|
|
622
|
+
Tt as readystatechangeEvent,
|
|
513
623
|
Xn as reflow,
|
|
514
624
|
Dn as removeAttribute,
|
|
515
625
|
Cn as removeAttributeNS,
|
|
516
626
|
On as removeClass,
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
627
|
+
rn as removeEventListener,
|
|
628
|
+
Dt as resetEvent,
|
|
629
|
+
Ct as resizeEvent,
|
|
630
|
+
zt as scrollEvent,
|
|
631
|
+
dn as scrollHeight,
|
|
632
|
+
pn as scrollWidth,
|
|
633
|
+
Lt as selectEvent,
|
|
634
|
+
Ot as selectendEvent,
|
|
635
|
+
It as selectstartEvent,
|
|
636
|
+
kn as setAttribute,
|
|
527
637
|
Tn as setAttributeNS,
|
|
528
638
|
Yn as setElementStyle,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
639
|
+
xt as submitEvent,
|
|
640
|
+
En as support3DTransform,
|
|
641
|
+
wn as supportAnimation,
|
|
642
|
+
bn as supportPassive,
|
|
643
|
+
yn as supportTouch,
|
|
644
|
+
hn as supportTransform,
|
|
645
|
+
An as supportTransition,
|
|
646
|
+
fn as tabindex,
|
|
647
|
+
oe as toLowerCase,
|
|
538
648
|
$n as toUpperCase,
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
649
|
+
Pe as touchEvents,
|
|
650
|
+
Ht as touchcancelEvent,
|
|
651
|
+
Pt as touchendEvent,
|
|
652
|
+
Bt as touchmoveEvent,
|
|
653
|
+
Vt as touchstartEvent,
|
|
654
|
+
Qt as transitionDelay,
|
|
655
|
+
Rt as transitionDuration,
|
|
656
|
+
C as transitionEndEvent,
|
|
657
|
+
F as transitionProperty,
|
|
658
|
+
Ut as unloadEvent,
|
|
659
|
+
S as userAgent,
|
|
660
|
+
A as userAgentData,
|
|
661
|
+
To as version
|
|
551
662
|
};
|
|
552
663
|
//# sourceMappingURL=shorty.mjs.map
|