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