@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/dist/shorty.mjs CHANGED
@@ -1,85 +1,107 @@
1
- const fe = "aria-checked", me = "aria-description", ge = "aria-describedby", ve = "aria-expanded", Ee = "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", at = "keyup", it = "load", ut = "click", lt = "dblclick", dt = "mousedown", pt = "mouseup", ft = "hover", mt = "mouseenter", gt = "mouseleave", vt = "mousein", Et = "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
- abort: j,
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: at,
22
- load: it,
23
- mousedown: dt,
24
- mousemove: ht,
25
- mousein: vt,
26
- mouseout: Et,
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 = "drag", Le = "dragstart", Oe = "dragenter", Ie = "dragleave", ze = "dragover", xe = "dragend", Ve = "loadstart", Be = {
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
- }, He = { down: "mousedown", up: "mouseup" }, Pe = "onmouseleave" in document ? ["mouseenter", "mouseleave"] : ["mouseover", "mouseout"], Ue = {
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
- }, Fe = { in: "focusin", out: "focusout" }, We = {
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
- }, Re = "Alt", Qe = "ArrowDown", qe = "ArrowUp", Ge = "ArrowLeft", je = "ArrowRight", Je = "Backspace", Ke = "CapsLock", Xe = "Control", Ye = "Delete", Ze = "Enter", $e = "Escape", _e = "Insert", tn = "Meta", en = "Pause", nn = "ScrollLock", on = "Shift", sn = "Space", cn = "Tab", Wt = "animationDuration", Rt = "animationDelay", P = "animationName", T = "animationend", Qt = "transitionDuration", qt = "transitionDelay", D = "transitionend", U = "transitionProperty", rn = "addEventListener", an = "removeEventListener", un = {
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
- }, ln = "offsetHeight", dn = "offsetWidth", pn = "scrollHeight", fn = "scrollWidth", mn = "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 gn = C, z = /(iPhone|iPod|iPad)/, vn = S ? S.brands.some((t) => z.test(t.brand)) : z.test(M), En = M ? M.includes("Firefox") : !1, { head: N } = document, bn = ["webkitPerspective", "perspective"].some((t) => t in N.style), Jt = (t, e, n, o) => {
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
- }, Kt = (t, e, n, o) => {
142
+ }, Jt = (t, e, n, o) => {
115
143
  const s = o || !1;
116
144
  t.removeEventListener(e, n, s);
117
- }, Xt = (t, e, n, o) => {
118
- const s = (c) => {
119
- (c.target === t || c.currentTarget === t) && (n.apply(t, [c]), Kt(t, e, s, o));
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
- Jt(t, e, s, o);
122
- }, Yt = () => {
123
- }, hn = (() => {
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
- Xt(document, H, Yt, e);
157
+ Kt(document, P, Xt, e);
130
158
  } catch {
131
159
  }
132
160
  return t;
133
- })(), yn = ["webkitTransform", "transform"].some((t) => t in N.style), wn = "ontouchstart" in window || "msMaxTouchPoints" in navigator, An = ["webkitAnimation", "animation"].some((t) => t in N.style), Sn = ["webkitTransition", "transition"].some((t) => t in N.style), Zt = (t, e) => t.getAttribute(e), Mn = (t, e, n) => e.getAttributeNS(t, n), Nn = (t, e) => t.hasAttribute(e), kn = (t, e, n) => e.hasAttributeNS(t, n), F = (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) => {
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), E = (t) => t != null && typeof t == "object" || !1, i = (t) => E(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, y = /* @__PURE__ */ new Map(), L = {
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
- y.has(e) || y.set(e, /* @__PURE__ */ new Map()), y.get(e).set(t, n);
177
+ b.has(e) || b.set(e, /* @__PURE__ */ new Map()), b.get(e).set(t, n);
142
178
  },
143
- getAllFor: (t) => y.get(t) || null,
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 = L.getAllFor(e);
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 = L.getAllFor(e);
152
- !n || !u(t) || (n.delete(t), n.size === 0 && y.delete(e));
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) => L.get(t, e), g = (t) => typeof t == "string" || !1, W = (t) => E(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, h = (t) => Object.entries(t), $t = (t) => {
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 (g(t))
212
+ if (N(t))
158
213
  return d().createElement(t);
159
- const { tagName: e } = t, n = $t(e);
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, h(o).forEach(([s, c]) => {
164
- g(s) && g(c) && F(n, s, c);
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 (g(e))
222
+ if (N(e))
170
223
  return d().createElementNS(t, e);
171
- const { tagName: n } = e, o = _t(t, n);
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, h(s).forEach(([c, a]) => {
176
- g(c) && g(a) && F(o, c, a);
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 = v(t, P), n = v(t, Rt), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
183
- return Number.isNaN(s) ? 0 : s;
184
- }, ee = (t) => {
185
- const e = v(t, P), n = v(t, Wt), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
186
- return Number.isNaN(s) ? 0 : 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(T), s = ee(t), c = te(t);
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(T, a), n = 1);
255
+ l.target === t && (e.apply(t, [l]), t.removeEventListener(D, a), n = 1);
193
256
  };
194
- t.addEventListener(T, a), setTimeout(() => {
257
+ t.addEventListener(D, a), setTimeout(() => {
195
258
  n || Q(t, o);
196
- }, s + c + 17);
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 = v(t, U), n = v(t, qt), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
201
- return Number.isNaN(s) ? 0 : s;
202
- }, oe = (t) => {
203
- const e = v(t, U), n = v(t, Qt), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
204
- return Number.isNaN(s) ? 0 : s;
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(D), s = oe(t), c = ne(t);
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(D, a), n = 1);
291
+ l.target === t && (e.apply(t, [l]), t.removeEventListener(C, a), n = 1);
211
292
  };
212
- t.addEventListener(D, a), setTimeout(() => {
293
+ t.addEventListener(C, a), setTimeout(() => {
213
294
  n || Q(t, o);
214
- }, s + c + 17);
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), 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(), Qn = (t, e, n, o) => {
218
- const s = { ...n }, c = { ...t.dataset }, a = { ...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 ? a[r] = s[r] : r in l ? a[r] = l[r] : a[r] = r === p ? Zt(t, p) : f;
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
- }, q = (t, ...e) => Object.assign(t, ...e), qn = (t, e) => E(t) && (Object.hasOwn(t, e) || e in t), Gn = (t) => Object.keys(t), jn = (t) => Object.values(t), Jn = (t, e) => {
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 E(e) && q(n, e), n;
313
+ return v(e) && k(n, e), n;
233
314
  }, Kn = { passive: !0 }, Xn = (t) => t.offsetHeight, Yn = (t, e) => {
234
- h(e).forEach(([n, o]) => {
235
- if (o && g(n) && n.includes("--"))
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, q(t.style, s);
320
+ s[n] = o, k(t.style, s);
240
321
  }
241
322
  });
242
- }, O = (t) => E(t) && t.constructor.name === "Map" || !1, ce = (t) => typeof t == "number" || !1, m = /* @__PURE__ */ new Map(), Zn = {
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
- !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)));
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 && O(n) ? n.get(e) || null : ce(n) ? n : null;
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 && O(n) ? (clearTimeout(n.get(e)), n.delete(e), n.size === 0 && m.delete(t)) : (clearTimeout(n), m.delete(t));
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(), w = (t, e) => {
259
- const { width: n, height: o, top: s, right: c, bottom: a, left: l } = t.getBoundingClientRect();
260
- let p = 1, r = 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: A } = t;
263
- p = f > 0 ? Math.round(n) / f : 1, r = A > 0 ? Math.round(o) / A : 1;
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 / r,
268
- top: s / r,
269
- right: c / p,
270
- bottom: a / r,
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 / r
382
+ y: s / c
274
383
  };
275
- }, _n = (t) => d(t).body, k = (t) => d(t).documentElement, to = (t) => d(t).head, eo = (t) => {
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
- }, re = (t) => i(t) && t.constructor.name === "ShadowRoot" || !1, no = (t) => t.nodeName === "HTML" ? t : u(t) && t.assignedSlot || i(t) && t.parentNode || re(t) && t.host || k(t), ae = (t) => {
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 } = w(t), { offsetWidth: o, offsetHeight: s } = t;
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 = w(t, o && ae(e)), c = { x: 0, y: 0 };
396
+ const o = u(e), s = h(t, o && re(e)), r = { x: 0, y: 0 };
285
397
  if (o) {
286
- const a = w(e, !0);
287
- c.x = a.x + e.clientLeft, c.y = a.y + e.clientTop;
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 - c.x,
291
- y: s.top + n.y - c.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 V = 0, B = 0;
297
- const b = /* @__PURE__ */ new Map(), ie = (t, e) => {
298
- let n = e ? V : B;
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 = ie(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);
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
- b.has(o) ? n = b.get(o) : (b.set(o, n), B += 1);
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 } = w(t), { clientHeight: o } = k(t);
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 } = k(t), { top: o, left: s, bottom: c, right: a } = w(t, !0);
319
- return o >= 0 && s >= 0 && c <= n && a <= e;
320
- }, uo = (t) => ue(t) && t.every(u) || !1, lo = (t) => typeof t == "function" || !1, po = (t) => E(t) && t.constructor.name === "HTMLCollection" || !1, fo = (t) => u(t) && t.tagName === "IMG" || !1, mo = (t) => {
321
- if (!g(t))
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) => E(t) && t.constructor.name === "WeakMap" || !1, vo = (t) => i(t) && ["SVG", "Image", "Video", "Canvas"].some((e) => t.constructor.name.includes(e)) || !1, Eo = (t) => E(t) && t.constructor.name === "NodeList" || !1, bo = (t) => k(t).dir === "rtl", ho = (t) => i(t) && t.constructor.name.includes("SVG") || !1, yo = (t) => i(t) && ["TABLE", "TD", "TH"].includes(t.nodeName) || !1, de = (t, e) => t ? t.closest(e) || de(t.getRootNode().host, e) : null, wo = (t, e) => u(t) ? t : (i(e) ? e : d()).querySelector(t), pe = (t, e) => (i(e) ? e : d()).getElementsByTagName(t), Ao = (t) => [...pe("*", t)].filter(le), 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(
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
- H as DOMContentLoadedEvent,
335
- Z as DOMMouseScrollEvent,
336
- L as Data,
444
+ P as DOMContentLoadedEvent,
445
+ Y as DOMMouseScrollEvent,
446
+ O as Data,
337
447
  Fn as Float32ArrayFrom,
338
448
  Wn as Float64ArrayFrom,
339
- q as ObjectAssign,
340
- h as ObjectEntries,
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
- j as abortEvent,
455
+ G as abortEvent,
346
456
  Ln as addClass,
347
- rn 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
- ve as ariaExpanded,
356
- Ee 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
- un as bezierEasings,
369
- K as blurEvent,
370
- X as changeEvent,
371
- de as closest,
372
- Y as contextmenuEvent,
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
- $t as createElement,
375
- _t as createElementNS,
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
- N as documentHead,
381
- Ce as dragEvent,
382
- xe as dragendEvent,
383
- Oe as dragenterEvent,
384
- Ie as dragleaveEvent,
385
- ze as dragoverEvent,
386
- Le as dragstartEvent,
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
- $ as errorEvent,
499
+ Z as errorEvent,
390
500
  Rn as focus,
391
- _ as focusEvent,
392
- Fe as focusEvents,
393
- tt as focusinEvent,
394
- et as focusoutEvent,
395
- nt as gesturechangeEvent,
396
- ot as gestureendEvent,
397
- st as gesturestartEvent,
398
- Zt as getAttribute,
399
- Mn as getAttributeNS,
400
- w as getBoundingClientRect,
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
- k as getDocumentElement,
514
+ T as getDocumentElement,
405
515
  to as getDocumentHead,
406
- te as getElementAnimationDelay,
407
- ee as getElementAnimationDuration,
516
+ _t as getElementAnimationDelay,
517
+ te as getElementAnimationDuration,
408
518
  So as getElementById,
409
- v as getElementStyle,
410
- ne as getElementTransitionDelay,
411
- oe as getElementTransitionDuration,
519
+ g as getElementStyle,
520
+ ee as getElementTransitionDelay,
521
+ ne as getElementTransitionDuration,
412
522
  No as getElementsByClassName,
413
- pe as getElementsByTagName,
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
- ie as getUID,
528
+ ae as getUID,
419
529
  so as getWindow,
420
- Nn as hasAttribute,
421
- kn as hasAttributeNS,
530
+ Mn as hasAttribute,
531
+ Nn as hasAttributeNS,
422
532
  In as hasClass,
423
- vn as isApple,
424
- ue as isArray,
533
+ gn as isApple,
534
+ ie as isArray,
425
535
  co as isCanvas,
426
- le as isCustomElement,
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
- En as isFirefox,
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
- O as isMap,
548
+ I as isMap,
439
549
  vo as isMedia,
440
- gn as isMobile,
550
+ mn as isMobile,
441
551
  i as isNode,
442
552
  Eo as isNodeList,
443
- ce as isNumber,
444
- E as isObject,
553
+ se as isNumber,
554
+ v as isObject,
445
555
  bo as isRTL,
446
556
  ho as isSVGElement,
447
- ae as isScaledElement,
448
- re as isShadowRoot,
449
- g as isString,
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
- Re as keyAlt,
454
- Qe as keyArrowDown,
455
- Ge as keyArrowLeft,
456
- je as keyArrowRight,
457
- qe as keyArrowUp,
458
- Je as keyBackspace,
459
- Ke as keyCapsLock,
460
- Xe as keyControl,
461
- Ye as keyDelete,
462
- Ze as keyEnter,
463
- $e as keyEscape,
464
- _e as keyInsert,
465
- tn as keyMeta,
466
- en as keyPause,
467
- nn as keyScrollLock,
468
- on as keyShift,
469
- sn as keySpace,
470
- cn as keyTab,
471
- We as keyboardEventKeys,
472
- ct as keydownEvent,
473
- rt as keypressEvent,
474
- at as keyupEvent,
475
- it as loadEvent,
476
- Ve as loadstartEvent,
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
- He as mouseClickEvents,
479
- Pe as mouseHoverEvents,
480
- Be as mouseSwipeEvents,
481
- ut as mouseclickEvent,
482
- lt as mousedblclickEvent,
483
- dt as mousedownEvent,
484
- mt as mouseenterEvent,
485
- ft as mousehoverEvent,
486
- vt as mouseinEvent,
487
- gt as mouseleaveEvent,
488
- ht as mousemoveEvent,
489
- Et as mouseoutEvent,
490
- bt as mouseoverEvent,
491
- pt as mouseupEvent,
492
- yt as mousewheelEvent,
493
- wt as moveEvent,
494
- De as nativeEvents,
495
- Yt as noop,
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
- x as normalizeValue,
498
- Kt as off,
499
- ln as offsetHeight,
500
- dn as offsetWidth,
501
- Jt as on,
502
- Xt as one,
503
- At as orientationchangeEvent,
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
- St as pointercancelEvent,
506
- Mt as pointerdownEvent,
507
- Nt as pointerleaveEvent,
508
- kt as pointermoveEvent,
509
- Tt as pointerupEvent,
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
- Dt as readystatechangeEvent,
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
- an as removeEventListener,
518
- Ct as resetEvent,
519
- Lt as resizeEvent,
520
- xt as scrollEvent,
521
- pn as scrollHeight,
522
- fn as scrollWidth,
523
- Ot as selectEvent,
524
- It as selectendEvent,
525
- zt as selectstartEvent,
526
- F as setAttribute,
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
- Vt as submitEvent,
530
- bn as support3DTransform,
531
- An as supportAnimation,
532
- hn as supportPassive,
533
- wn as supportTouch,
534
- yn as supportTransform,
535
- Sn as supportTransition,
536
- mn as tabindex,
537
- se as toLowerCase,
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
- Ue as touchEvents,
540
- Pt as touchcancelEvent,
541
- Ut as touchendEvent,
542
- Ht as touchmoveEvent,
543
- Bt as touchstartEvent,
544
- qt as transitionDelay,
545
- Qt as transitionDuration,
546
- D as transitionEndEvent,
547
- U as transitionProperty,
548
- Ft as unloadEvent,
549
- M as userAgent,
550
- S as userAgentData
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