mwl-components 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -77,7 +77,7 @@ function Sn(e) {
77
77
  return typeof e == "symbol" || _n(e) && En(e) == Fa;
78
78
  }
79
79
  function Ba(e, t) {
80
- for (var n = -1, o = e == null ? 0 : e.length, r = Array(o); ++n < o; )
80
+ for (var n = -1, o = e == null ? 0 : e.length, r = Array(o); ++n < o;)
81
81
  r[n] = t(e[n], n, e);
82
82
  return r;
83
83
  }
@@ -106,7 +106,7 @@ function Wa(e) {
106
106
  var t = En(e);
107
107
  return t == za || t == ja || t == Ha || t == Ka;
108
108
  }
109
- var Xt = wn["__core-js_shared__"], io = function() {
109
+ var Xt = wn["__core-js_shared__"], io = function () {
110
110
  var e = /[^.]+$/.exec(Xt && Xt.keys && Xt.keys.IE_PROTO || "");
111
111
  return e ? "Symbol(src)_1." + e : "";
112
112
  }();
@@ -159,7 +159,7 @@ function rs(e, t, n) {
159
159
  var as = 800, ss = 16, is = Date.now;
160
160
  function ls(e) {
161
161
  var t = 0, n = 0;
162
- return function() {
162
+ return function () {
163
163
  var o = is(), r = ss - (o - n);
164
164
  if (n = o, r > 0) {
165
165
  if (++t >= as)
@@ -170,17 +170,17 @@ function ls(e) {
170
170
  };
171
171
  }
172
172
  function us(e) {
173
- return function() {
173
+ return function () {
174
174
  return e;
175
175
  };
176
176
  }
177
- var $t = function() {
177
+ var $t = function () {
178
178
  try {
179
179
  var e = Tn(Object, "defineProperty");
180
180
  return e({}, "", {}), e;
181
181
  } catch {
182
182
  }
183
- }(), cs = $t ? function(e, t) {
183
+ }(), cs = $t ? function (e, t) {
184
184
  return $t(e, "toString", {
185
185
  configurable: !0,
186
186
  enumerable: !1,
@@ -210,11 +210,11 @@ function ms(e, t, n) {
210
210
  }
211
211
  var lo = Math.max;
212
212
  function bs(e, t, n) {
213
- return t = lo(t === void 0 ? e.length - 1 : t, 0), function() {
214
- for (var o = arguments, r = -1, a = lo(o.length - t, 0), s = Array(a); ++r < a; )
213
+ return t = lo(t === void 0 ? e.length - 1 : t, 0), function () {
214
+ for (var o = arguments, r = -1, a = lo(o.length - t, 0), s = Array(a); ++r < a;)
215
215
  s[r] = o[t + r];
216
216
  r = -1;
217
- for (var i = Array(t + 1); ++r < t; )
217
+ for (var i = Array(t + 1); ++r < t;)
218
218
  i[r] = o[r];
219
219
  return i[t] = n(s), rs(e, this, i);
220
220
  };
@@ -227,9 +227,9 @@ var Es = "[object Arguments]";
227
227
  function uo(e) {
228
228
  return _n(e) && En(e) == Es;
229
229
  }
230
- var lr = Object.prototype, _s = lr.hasOwnProperty, Ss = lr.propertyIsEnumerable, ur = uo(/* @__PURE__ */ function() {
230
+ var lr = Object.prototype, _s = lr.hasOwnProperty, Ss = lr.propertyIsEnumerable, ur = uo(/* @__PURE__ */ function () {
231
231
  return arguments;
232
- }()) ? uo : function(e) {
232
+ }()) ? uo : function (e) {
233
233
  return _n(e) && _s.call(e, "callee") && !Ss.call(e, "callee");
234
234
  }, Ts = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Os = /^\w*$/;
235
235
  function Cs(e, t) {
@@ -267,7 +267,7 @@ function Fs(e, t) {
267
267
  }
268
268
  function je(e) {
269
269
  var t = -1, n = e == null ? 0 : e.length;
270
- for (this.clear(); ++t < n; ) {
270
+ for (this.clear(); ++t < n;) {
271
271
  var o = e[t];
272
272
  this.set(o[0], o[1]);
273
273
  }
@@ -281,7 +281,7 @@ function Bs() {
281
281
  this.__data__ = [], this.size = 0;
282
282
  }
283
283
  function zt(e, t) {
284
- for (var n = e.length; n--; )
284
+ for (var n = e.length; n--;)
285
285
  if (ir(e[n][0], t))
286
286
  return n;
287
287
  return -1;
@@ -307,7 +307,7 @@ function Ws(e, t) {
307
307
  }
308
308
  function nt(e) {
309
309
  var t = -1, n = e == null ? 0 : e.length;
310
- for (this.clear(); ++t < n; ) {
310
+ for (this.clear(); ++t < n;) {
311
311
  var o = e[t];
312
312
  this.set(o[0], o[1]);
313
313
  }
@@ -349,7 +349,7 @@ function Js(e, t) {
349
349
  }
350
350
  function We(e) {
351
351
  var t = -1, n = e == null ? 0 : e.length;
352
- for (this.clear(); ++t < n; ) {
352
+ for (this.clear(); ++t < n;) {
353
353
  var o = e[t];
354
354
  this.set(o[0], o[1]);
355
355
  }
@@ -363,7 +363,7 @@ var Zs = "Expected a function";
363
363
  function On(e, t) {
364
364
  if (typeof e != "function" || t != null && typeof t != "function")
365
365
  throw new TypeError(Zs);
366
- var n = function() {
366
+ var n = function () {
367
367
  var o = arguments, r = t ? t.apply(this, o) : o[0], a = n.cache;
368
368
  if (a.has(r))
369
369
  return a.get(r);
@@ -375,14 +375,14 @@ function On(e, t) {
375
375
  On.Cache = We;
376
376
  var Qs = 500;
377
377
  function ei(e) {
378
- var t = On(e, function(o) {
378
+ var t = On(e, function (o) {
379
379
  return n.size === Qs && n.clear(), o;
380
380
  }), n = t.cache;
381
381
  return t;
382
382
  }
383
- var ti = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ni = /\\(\\)?/g, oi = ei(function(e) {
383
+ var ti = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ni = /\\(\\)?/g, oi = ei(function (e) {
384
384
  var t = [];
385
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(ti, function(n, o, r, a) {
385
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(ti, function (n, o, r, a) {
386
386
  t.push(r ? a.replace(ni, "$1") : o || n);
387
387
  }), t;
388
388
  });
@@ -400,7 +400,7 @@ function Cn(e) {
400
400
  }
401
401
  function cr(e, t) {
402
402
  t = Kt(t, e);
403
- for (var n = 0, o = t.length; e != null && n < o; )
403
+ for (var n = 0, o = t.length; e != null && n < o;)
404
404
  e = e[Cn(t[n++])];
405
405
  return n && n == o ? e : void 0;
406
406
  }
@@ -409,7 +409,7 @@ function ai(e, t, n) {
409
409
  return o === void 0 ? n : o;
410
410
  }
411
411
  function si(e, t) {
412
- for (var n = -1, o = t.length, r = e.length; ++n < o; )
412
+ for (var n = -1, o = t.length, r = e.length; ++n < o;)
413
413
  e[r + n] = t[n];
414
414
  return e;
415
415
  }
@@ -419,7 +419,7 @@ function ii(e) {
419
419
  }
420
420
  function li(e, t, n, o, r) {
421
421
  var a = -1, s = e.length;
422
- for (n || (n = ii), r || (r = []); ++a < s; ) {
422
+ for (n || (n = ii), r || (r = []); ++a < s;) {
423
423
  var i = e[a];
424
424
  n(i) ? si(r, i) : r[r.length] = i;
425
425
  }
@@ -437,7 +437,7 @@ function fi(e, t) {
437
437
  }
438
438
  function di(e, t, n) {
439
439
  t = Kt(t, e);
440
- for (var o = -1, r = t.length, a = !1; ++o < r; ) {
440
+ for (var o = -1, r = t.length, a = !1; ++o < r;) {
441
441
  var s = Cn(t[o]);
442
442
  if (!(a = e != null && n(e, s)))
443
443
  break;
@@ -449,7 +449,7 @@ function pi(e, t) {
449
449
  return e != null && di(e, t, fi);
450
450
  }
451
451
  function rn(e) {
452
- for (var t = -1, n = e == null ? 0 : e.length, o = {}; ++t < n; ) {
452
+ for (var t = -1, n = e == null ? 0 : e.length, o = {}; ++t < n;) {
453
453
  var r = e[t];
454
454
  o[r[0]] = r[1];
455
455
  }
@@ -465,7 +465,7 @@ function hi(e, t, n, o) {
465
465
  if (!Mt(e))
466
466
  return e;
467
467
  t = Kt(t, e);
468
- for (var r = -1, a = t.length, s = a - 1, i = e; i != null && ++r < a; ) {
468
+ for (var r = -1, a = t.length, s = a - 1, i = e; i != null && ++r < a;) {
469
469
  var l = Cn(t[r]), u = n;
470
470
  if (l === "__proto__" || l === "constructor" || l === "prototype")
471
471
  return e;
@@ -478,18 +478,18 @@ function hi(e, t, n, o) {
478
478
  return e;
479
479
  }
480
480
  function gi(e, t, n) {
481
- for (var o = -1, r = t.length, a = {}; ++o < r; ) {
481
+ for (var o = -1, r = t.length, a = {}; ++o < r;) {
482
482
  var s = t[o], i = cr(e, s);
483
483
  n(i, s) && hi(a, Kt(s, e), i);
484
484
  }
485
485
  return a;
486
486
  }
487
487
  function mi(e, t) {
488
- return gi(e, t, function(n, o) {
488
+ return gi(e, t, function (n, o) {
489
489
  return pi(e, o);
490
490
  });
491
491
  }
492
- var bi = ci(function(e, t) {
492
+ var bi = ci(function (e, t) {
493
493
  return e == null ? {} : mi(e, t);
494
494
  });
495
495
  const yi = (e) => e === void 0, Pn = (e) => typeof e == "boolean", de = (e) => typeof e == "number", Be = (e) => typeof Element > "u" ? !1 : e instanceof Element, wi = (e) => Dt(e) ? !Number.isNaN(Number(e)) : !1;
@@ -635,7 +635,7 @@ function Fi(e, t, n = {}) {
635
635
  };
636
636
  }
637
637
  var wo;
638
- (function(e) {
638
+ (function (e) {
639
639
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
640
640
  })(wo || (wo = {}));
641
641
  var Bi = Object.defineProperty, Eo = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, _o = (e, t, n) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, zi = (e, t) => {
@@ -1732,7 +1732,7 @@ const Ar = (e) => {
1732
1732
  return o.disabled || o.hidden || r ? NodeFilter.FILTER_SKIP : o.tabIndex >= 0 || o === document.activeElement ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
1733
1733
  }
1734
1734
  });
1735
- for (; n.nextNode(); )
1735
+ for (; n.nextNode();)
1736
1736
  t.push(n.currentNode);
1737
1737
  return t;
1738
1738
  }, Ro = (e, t) => {
@@ -1744,7 +1744,7 @@ const Ar = (e) => {
1744
1744
  return !1;
1745
1745
  if (getComputedStyle(e).visibility === "hidden")
1746
1746
  return !0;
1747
- for (; e; ) {
1747
+ for (; e;) {
1748
1748
  if (t && e === t)
1749
1749
  return !1;
1750
1750
  if (getComputedStyle(e).display === "none")
@@ -1951,9 +1951,9 @@ const Bo = (e) => {
1951
1951
  function iu(e, t, n, o, r, a) {
1952
1952
  return N(e.$slots, "default", { handleKeydown: e.onKeydown });
1953
1953
  }
1954
- var Ir = /* @__PURE__ */ q(su, [["render", iu], ["__file", "focus-trap.vue"]]), oe = "top", ie = "bottom", le = "right", re = "left", Fn = "auto", mt = [oe, ie, le, re], Je = "start", vt = "end", lu = "clippingParents", kr = "viewport", it = "popper", uu = "reference", Do = mt.reduce(function(e, t) {
1954
+ var Ir = /* @__PURE__ */ q(su, [["render", iu], ["__file", "focus-trap.vue"]]), oe = "top", ie = "bottom", le = "right", re = "left", Fn = "auto", mt = [oe, ie, le, re], Je = "start", vt = "end", lu = "clippingParents", kr = "viewport", it = "popper", uu = "reference", Do = mt.reduce(function (e, t) {
1955
1955
  return e.concat([t + "-" + Je, t + "-" + vt]);
1956
- }, []), Bn = [].concat(mt, [Fn]).reduce(function(e, t) {
1956
+ }, []), Bn = [].concat(mt, [Fn]).reduce(function (e, t) {
1957
1957
  return e.concat([t, t + "-" + Je, t + "-" + vt]);
1958
1958
  }, []), cu = "beforeRead", fu = "read", du = "afterRead", pu = "beforeMain", vu = "main", hu = "afterMain", gu = "beforeWrite", mu = "write", bu = "afterWrite", yu = [cu, fu, du, pu, vu, hu, gu, mu, bu];
1959
1959
  function ve(e) {
@@ -1982,9 +1982,9 @@ function Dn(e) {
1982
1982
  }
1983
1983
  function wu(e) {
1984
1984
  var t = e.state;
1985
- Object.keys(t.elements).forEach(function(n) {
1985
+ Object.keys(t.elements).forEach(function (n) {
1986
1986
  var o = t.styles[n] || {}, r = t.attributes[n] || {}, a = t.elements[n];
1987
- !se(a) || !ve(a) || (Object.assign(a.style, o), Object.keys(r).forEach(function(s) {
1987
+ !se(a) || !ve(a) || (Object.assign(a.style, o), Object.keys(r).forEach(function (s) {
1988
1988
  var i = r[s];
1989
1989
  i === !1 ? a.removeAttribute(s) : a.setAttribute(s, i === !0 ? "" : i);
1990
1990
  }));
@@ -1992,12 +1992,12 @@ function wu(e) {
1992
1992
  }
1993
1993
  function Eu(e) {
1994
1994
  var t = e.state, n = { popper: { position: t.options.strategy, left: "0", top: "0", margin: "0" }, arrow: { position: "absolute" }, reference: {} };
1995
- return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
1996
- Object.keys(t.elements).forEach(function(o) {
1997
- var r = t.elements[o], a = t.attributes[o] || {}, s = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : n[o]), i = s.reduce(function(l, u) {
1995
+ return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function () {
1996
+ Object.keys(t.elements).forEach(function (o) {
1997
+ var r = t.elements[o], a = t.attributes[o] || {}, s = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : n[o]), i = s.reduce(function (l, u) {
1998
1998
  return l[u] = "", l;
1999
1999
  }, {});
2000
- !se(r) || !ve(r) || (Object.assign(r.style, i), Object.keys(a).forEach(function(l) {
2000
+ !se(r) || !ve(r) || (Object.assign(r.style, i), Object.keys(a).forEach(function (l) {
2001
2001
  r.removeAttribute(l);
2002
2002
  }));
2003
2003
  });
@@ -2055,7 +2055,7 @@ function Su(e) {
2055
2055
  if (o.position === "fixed") return null;
2056
2056
  }
2057
2057
  var r = Gt(e);
2058
- for (Dn(r) && (r = r.host); se(r) && ["html", "body"].indexOf(ve(r)) < 0; ) {
2058
+ for (Dn(r) && (r = r.host); se(r) && ["html", "body"].indexOf(ve(r)) < 0;) {
2059
2059
  var a = Se(r);
2060
2060
  if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none") return r;
2061
2061
  r = r.parentNode;
@@ -2063,7 +2063,7 @@ function Su(e) {
2063
2063
  return null;
2064
2064
  }
2065
2065
  function bt(e) {
2066
- for (var t = fe(e), n = Ho(e); n && _u(n) && Se(n).position === "static"; ) n = Ho(n);
2066
+ for (var t = fe(e), n = Ho(e); n && _u(n) && Se(n).position === "static";) n = Ho(n);
2067
2067
  return n && (ve(n) === "html" || ve(n) === "body" && Se(n).position === "static") ? t : n || Su(e) || t;
2068
2068
  }
2069
2069
  function zn(e) {
@@ -2083,11 +2083,11 @@ function Nr(e) {
2083
2083
  return Object.assign({}, Rr(), e);
2084
2084
  }
2085
2085
  function Lr(e, t) {
2086
- return t.reduce(function(n, o) {
2086
+ return t.reduce(function (n, o) {
2087
2087
  return n[o] = e, n;
2088
2088
  }, {});
2089
2089
  }
2090
- var Ou = function(e, t) {
2090
+ var Ou = function (e, t) {
2091
2091
  return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, Nr(typeof e != "number" ? e : Lr(e, mt));
2092
2092
  };
2093
2093
  function Cu(e) {
@@ -2141,24 +2141,26 @@ function ku(e) {
2141
2141
  var Fr = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: ku, data: {} }, Ct = { passive: !0 };
2142
2142
  function Mu(e) {
2143
2143
  var t = e.state, n = e.instance, o = e.options, r = o.scroll, a = r === void 0 ? !0 : r, s = o.resize, i = s === void 0 ? !0 : s, l = fe(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
2144
- return a && u.forEach(function(h) {
2144
+ return a && u.forEach(function (h) {
2145
2145
  h.addEventListener("scroll", n.update, Ct);
2146
- }), i && l.addEventListener("resize", n.update, Ct), function() {
2147
- a && u.forEach(function(h) {
2146
+ }), i && l.addEventListener("resize", n.update, Ct), function () {
2147
+ a && u.forEach(function (h) {
2148
2148
  h.removeEventListener("scroll", n.update, Ct);
2149
2149
  }), i && l.removeEventListener("resize", n.update, Ct);
2150
2150
  };
2151
2151
  }
2152
- var Br = { name: "eventListeners", enabled: !0, phase: "write", fn: function() {
2153
- }, effect: Mu, data: {} }, $u = { left: "right", right: "left", bottom: "top", top: "bottom" };
2152
+ var Br = {
2153
+ name: "eventListeners", enabled: !0, phase: "write", fn: function () {
2154
+ }, effect: Mu, data: {}
2155
+ }, $u = { left: "right", right: "left", bottom: "top", top: "bottom" };
2154
2156
  function It(e) {
2155
- return e.replace(/left|right|bottom|top/g, function(t) {
2157
+ return e.replace(/left|right|bottom|top/g, function (t) {
2156
2158
  return $u[t];
2157
2159
  });
2158
2160
  }
2159
2161
  var Ru = { start: "end", end: "start" };
2160
2162
  function jo(e) {
2161
- return e.replace(/start|end/g, function(t) {
2163
+ return e.replace(/start|end/g, function (t) {
2162
2164
  return Ru[t];
2163
2165
  });
2164
2166
  }
@@ -2202,12 +2204,12 @@ function Ko(e, t) {
2202
2204
  }
2203
2205
  function Bu(e) {
2204
2206
  var t = dt(Gt(e)), n = ["absolute", "fixed"].indexOf(Se(e).position) >= 0, o = n && se(e) ? bt(e) : e;
2205
- return Ze(o) ? t.filter(function(r) {
2207
+ return Ze(o) ? t.filter(function (r) {
2206
2208
  return Ze(r) && $r(r, o) && ve(r) !== "body";
2207
2209
  }) : [];
2208
2210
  }
2209
2211
  function Du(e, t, n) {
2210
- var o = t === "clippingParents" ? Bu(e) : [].concat(t), r = [].concat(o, [n]), a = r[0], s = r.reduce(function(i, l) {
2212
+ var o = t === "clippingParents" ? Bu(e) : [].concat(t), r = [].concat(o, [n]), a = r[0], s = r.reduce(function (i, l) {
2211
2213
  var u = Ko(e, l);
2212
2214
  return i.top = De(u.top, i.top), i.right = Lt(u.right, i.right), i.bottom = Lt(u.bottom, i.bottom), i.left = De(u.left, i.left), i;
2213
2215
  }, Ko(e, a));
@@ -2250,7 +2252,7 @@ function ht(e, t) {
2250
2252
  var n = t, o = n.placement, r = o === void 0 ? e.placement : o, a = n.boundary, s = a === void 0 ? lu : a, i = n.rootBoundary, l = i === void 0 ? kr : i, u = n.elementContext, h = u === void 0 ? it : u, p = n.altBoundary, g = p === void 0 ? !1 : p, d = n.padding, v = d === void 0 ? 0 : d, f = Nr(typeof v != "number" ? v : Lr(v, mt)), m = h === it ? uu : it, b = e.rects.popper, w = e.elements[g ? m : h], y = Du(Ze(w) ? w : w.contextElement || ke(e.elements.popper), s, l), _ = et(e.elements.reference), x = Hr({ reference: _, element: b, placement: r }), E = fn(Object.assign({}, b, x)), T = h === it ? E : _, O = { top: y.top - T.top + f.top, bottom: T.bottom - y.bottom + f.bottom, left: y.left - T.left + f.left, right: T.right - y.right + f.right }, I = e.modifiersData.offset;
2251
2253
  if (h === it && I) {
2252
2254
  var $ = I[r];
2253
- Object.keys(O).forEach(function(C) {
2255
+ Object.keys(O).forEach(function (C) {
2254
2256
  var R = [le, ie].indexOf(C) >= 0 ? 1 : -1, W = [oe, ie].indexOf(C) >= 0 ? "y" : "x";
2255
2257
  O[C] += $[W] * R;
2256
2258
  });
@@ -2259,16 +2261,16 @@ function ht(e, t) {
2259
2261
  }
2260
2262
  function Hu(e, t) {
2261
2263
  t === void 0 && (t = {});
2262
- var n = t, o = n.placement, r = n.boundary, a = n.rootBoundary, s = n.padding, i = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ? Bn : l, h = tt(o), p = h ? i ? Do : Do.filter(function(v) {
2264
+ var n = t, o = n.placement, r = n.boundary, a = n.rootBoundary, s = n.padding, i = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ? Bn : l, h = tt(o), p = h ? i ? Do : Do.filter(function (v) {
2263
2265
  return tt(v) === h;
2264
- }) : mt, g = p.filter(function(v) {
2266
+ }) : mt, g = p.filter(function (v) {
2265
2267
  return u.indexOf(v) >= 0;
2266
2268
  });
2267
2269
  g.length === 0 && (g = p);
2268
- var d = g.reduce(function(v, f) {
2270
+ var d = g.reduce(function (v, f) {
2269
2271
  return v[f] = ht(e, { placement: f, boundary: r, rootBoundary: a, padding: s })[pe(f)], v;
2270
2272
  }, {});
2271
- return Object.keys(d).sort(function(v, f) {
2273
+ return Object.keys(d).sort(function (v, f) {
2272
2274
  return d[v] - d[f];
2273
2275
  });
2274
2276
  }
@@ -2280,13 +2282,13 @@ function zu(e) {
2280
2282
  function ju(e) {
2281
2283
  var t = e.state, n = e.options, o = e.name;
2282
2284
  if (!t.modifiersData[o]._skip) {
2283
- for (var r = n.mainAxis, a = r === void 0 ? !0 : r, s = n.altAxis, i = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, h = n.boundary, p = n.rootBoundary, g = n.altBoundary, d = n.flipVariations, v = d === void 0 ? !0 : d, f = n.allowedAutoPlacements, m = t.options.placement, b = pe(m), w = b === m, y = l || (w || !v ? [It(m)] : zu(m)), _ = [m].concat(y).reduce(function($e, ge) {
2285
+ for (var r = n.mainAxis, a = r === void 0 ? !0 : r, s = n.altAxis, i = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, h = n.boundary, p = n.rootBoundary, g = n.altBoundary, d = n.flipVariations, v = d === void 0 ? !0 : d, f = n.allowedAutoPlacements, m = t.options.placement, b = pe(m), w = b === m, y = l || (w || !v ? [It(m)] : zu(m)), _ = [m].concat(y).reduce(function ($e, ge) {
2284
2286
  return $e.concat(pe(ge) === Fn ? Hu(t, { placement: ge, boundary: h, rootBoundary: p, padding: u, flipVariations: v, allowedAutoPlacements: f }) : ge);
2285
2287
  }, []), x = t.rects.reference, E = t.rects.popper, T = /* @__PURE__ */ new Map(), O = !0, I = _[0], $ = 0; $ < _.length; $++) {
2286
2288
  var C = _[$], R = pe(C), W = tt(C) === Je, G = [oe, ie].indexOf(R) >= 0, H = G ? "width" : "height", L = ht(t, { placement: C, boundary: h, rootBoundary: p, altBoundary: g, padding: u }), X = G ? W ? le : re : W ? ie : oe;
2287
2289
  x[H] > E[H] && (X = It(X));
2288
2290
  var A = It(X), Y = [];
2289
- if (a && Y.push(L[R] <= 0), i && Y.push(L[X] <= 0, L[A] <= 0), Y.every(function($e) {
2291
+ if (a && Y.push(L[R] <= 0), i && Y.push(L[X] <= 0, L[A] <= 0), Y.every(function ($e) {
2290
2292
  return $e;
2291
2293
  })) {
2292
2294
  I = C, O = !1;
@@ -2294,10 +2296,10 @@ function ju(e) {
2294
2296
  }
2295
2297
  T.set(C, Y);
2296
2298
  }
2297
- if (O) for (var Me = v ? 3 : 1, ot = function($e) {
2298
- var ge = _.find(function(wt) {
2299
+ if (O) for (var Me = v ? 3 : 1, ot = function ($e) {
2300
+ var ge = _.find(function (wt) {
2299
2301
  var at = T.get(wt);
2300
- if (at) return at.slice(0, $e).every(function(Ve) {
2302
+ if (at) return at.slice(0, $e).every(function (Ve) {
2301
2303
  return Ve;
2302
2304
  });
2303
2305
  });
@@ -2314,7 +2316,7 @@ function Wo(e, t, n) {
2314
2316
  return n === void 0 && (n = { x: 0, y: 0 }), { top: e.top - t.height - n.y, right: e.right - t.width + n.x, bottom: e.bottom - t.height + n.y, left: e.left - t.width - n.x };
2315
2317
  }
2316
2318
  function Vo(e) {
2317
- return [oe, le, ie, re].some(function(t) {
2319
+ return [oe, le, ie, re].some(function (t) {
2318
2320
  return e[t] >= 0;
2319
2321
  });
2320
2322
  }
@@ -2328,7 +2330,7 @@ function Uu(e, t, n) {
2328
2330
  return s = s || 0, i = (i || 0) * r, [re, le].indexOf(o) >= 0 ? { x: i, y: s } : { x: s, y: i };
2329
2331
  }
2330
2332
  function Gu(e) {
2331
- var t = e.state, n = e.options, o = e.name, r = n.offset, a = r === void 0 ? [0, 0] : r, s = Bn.reduce(function(h, p) {
2333
+ var t = e.state, n = e.options, o = e.name, r = n.offset, a = r === void 0 ? [0, 0] : r, s = Bn.reduce(function (h, p) {
2332
2334
  return h[p] = Uu(p, t.rects, a), h;
2333
2335
  }, {}), i = s[t.placement], l = i.x, u = i.y;
2334
2336
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += l, t.modifiersData.popperOffsets.y += u), t.modifiersData[o] = s;
@@ -2374,109 +2376,111 @@ function nc(e, t, n) {
2374
2376
  }
2375
2377
  function oc(e) {
2376
2378
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), o = [];
2377
- e.forEach(function(a) {
2379
+ e.forEach(function (a) {
2378
2380
  t.set(a.name, a);
2379
2381
  });
2380
2382
  function r(a) {
2381
2383
  n.add(a.name);
2382
2384
  var s = [].concat(a.requires || [], a.requiresIfExists || []);
2383
- s.forEach(function(i) {
2385
+ s.forEach(function (i) {
2384
2386
  if (!n.has(i)) {
2385
2387
  var l = t.get(i);
2386
2388
  l && r(l);
2387
2389
  }
2388
2390
  }), o.push(a);
2389
2391
  }
2390
- return e.forEach(function(a) {
2392
+ return e.forEach(function (a) {
2391
2393
  n.has(a.name) || r(a);
2392
2394
  }), o;
2393
2395
  }
2394
2396
  function rc(e) {
2395
2397
  var t = oc(e);
2396
- return yu.reduce(function(n, o) {
2397
- return n.concat(t.filter(function(r) {
2398
+ return yu.reduce(function (n, o) {
2399
+ return n.concat(t.filter(function (r) {
2398
2400
  return r.phase === o;
2399
2401
  }));
2400
2402
  }, []);
2401
2403
  }
2402
2404
  function ac(e) {
2403
2405
  var t;
2404
- return function() {
2405
- return t || (t = new Promise(function(n) {
2406
- Promise.resolve().then(function() {
2406
+ return function () {
2407
+ return t || (t = new Promise(function (n) {
2408
+ Promise.resolve().then(function () {
2407
2409
  t = void 0, n(e());
2408
2410
  });
2409
2411
  })), t;
2410
2412
  };
2411
2413
  }
2412
2414
  function sc(e) {
2413
- var t = e.reduce(function(n, o) {
2415
+ var t = e.reduce(function (n, o) {
2414
2416
  var r = n[o.name];
2415
2417
  return n[o.name] = r ? Object.assign({}, r, o, { options: Object.assign({}, r.options, o.options), data: Object.assign({}, r.data, o.data) }) : o, n;
2416
2418
  }, {});
2417
- return Object.keys(t).map(function(n) {
2419
+ return Object.keys(t).map(function (n) {
2418
2420
  return t[n];
2419
2421
  });
2420
2422
  }
2421
2423
  var Uo = { placement: "bottom", modifiers: [], strategy: "absolute" };
2422
2424
  function Go() {
2423
2425
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
2424
- return !t.some(function(o) {
2426
+ return !t.some(function (o) {
2425
2427
  return !(o && typeof o.getBoundingClientRect == "function");
2426
2428
  });
2427
2429
  }
2428
2430
  function Vn(e) {
2429
2431
  e === void 0 && (e = {});
2430
2432
  var t = e, n = t.defaultModifiers, o = n === void 0 ? [] : n, r = t.defaultOptions, a = r === void 0 ? Uo : r;
2431
- return function(s, i, l) {
2433
+ return function (s, i, l) {
2432
2434
  l === void 0 && (l = a);
2433
- var u = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, Uo, a), modifiersData: {}, elements: { reference: s, popper: i }, attributes: {}, styles: {} }, h = [], p = !1, g = { state: u, setOptions: function(f) {
2434
- var m = typeof f == "function" ? f(u.options) : f;
2435
- v(), u.options = Object.assign({}, a, u.options, m), u.scrollParents = { reference: Ze(s) ? dt(s) : s.contextElement ? dt(s.contextElement) : [], popper: dt(i) };
2436
- var b = rc(sc([].concat(o, u.options.modifiers)));
2437
- return u.orderedModifiers = b.filter(function(w) {
2438
- return w.enabled;
2439
- }), d(), g.update();
2440
- }, forceUpdate: function() {
2441
- if (!p) {
2442
- var f = u.elements, m = f.reference, b = f.popper;
2443
- if (Go(m, b)) {
2444
- u.rects = { reference: nc(m, bt(b), u.options.strategy === "fixed"), popper: Hn(b) }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
2445
- return u.modifiersData[O.name] = Object.assign({}, O.data);
2446
- });
2447
- for (var w = 0; w < u.orderedModifiers.length; w++) {
2448
- if (u.reset === !0) {
2449
- u.reset = !1, w = -1;
2450
- continue;
2435
+ var u = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, Uo, a), modifiersData: {}, elements: { reference: s, popper: i }, attributes: {}, styles: {} }, h = [], p = !1, g = {
2436
+ state: u, setOptions: function (f) {
2437
+ var m = typeof f == "function" ? f(u.options) : f;
2438
+ v(), u.options = Object.assign({}, a, u.options, m), u.scrollParents = { reference: Ze(s) ? dt(s) : s.contextElement ? dt(s.contextElement) : [], popper: dt(i) };
2439
+ var b = rc(sc([].concat(o, u.options.modifiers)));
2440
+ return u.orderedModifiers = b.filter(function (w) {
2441
+ return w.enabled;
2442
+ }), d(), g.update();
2443
+ }, forceUpdate: function () {
2444
+ if (!p) {
2445
+ var f = u.elements, m = f.reference, b = f.popper;
2446
+ if (Go(m, b)) {
2447
+ u.rects = { reference: nc(m, bt(b), u.options.strategy === "fixed"), popper: Hn(b) }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function (O) {
2448
+ return u.modifiersData[O.name] = Object.assign({}, O.data);
2449
+ });
2450
+ for (var w = 0; w < u.orderedModifiers.length; w++) {
2451
+ if (u.reset === !0) {
2452
+ u.reset = !1, w = -1;
2453
+ continue;
2454
+ }
2455
+ var y = u.orderedModifiers[w], _ = y.fn, x = y.options, E = x === void 0 ? {} : x, T = y.name;
2456
+ typeof _ == "function" && (u = _({ state: u, options: E, name: T, instance: g }) || u);
2451
2457
  }
2452
- var y = u.orderedModifiers[w], _ = y.fn, x = y.options, E = x === void 0 ? {} : x, T = y.name;
2453
- typeof _ == "function" && (u = _({ state: u, options: E, name: T, instance: g }) || u);
2454
2458
  }
2455
2459
  }
2460
+ }, update: ac(function () {
2461
+ return new Promise(function (f) {
2462
+ g.forceUpdate(), f(u);
2463
+ });
2464
+ }), destroy: function () {
2465
+ v(), p = !0;
2456
2466
  }
2457
- }, update: ac(function() {
2458
- return new Promise(function(f) {
2459
- g.forceUpdate(), f(u);
2460
- });
2461
- }), destroy: function() {
2462
- v(), p = !0;
2463
- } };
2467
+ };
2464
2468
  if (!Go(s, i)) return g;
2465
- g.setOptions(l).then(function(f) {
2469
+ g.setOptions(l).then(function (f) {
2466
2470
  !p && l.onFirstUpdate && l.onFirstUpdate(f);
2467
2471
  });
2468
2472
  function d() {
2469
- u.orderedModifiers.forEach(function(f) {
2473
+ u.orderedModifiers.forEach(function (f) {
2470
2474
  var m = f.name, b = f.options, w = b === void 0 ? {} : b, y = f.effect;
2471
2475
  if (typeof y == "function") {
2472
- var _ = y({ state: u, name: m, instance: g, options: w }), x = function() {
2476
+ var _ = y({ state: u, name: m, instance: g, options: w }), x = function () {
2473
2477
  };
2474
2478
  h.push(_ || x);
2475
2479
  }
2476
2480
  });
2477
2481
  }
2478
2482
  function v() {
2479
- h.forEach(function(f) {
2483
+ h.forEach(function (f) {
2480
2484
  return f();
2481
2485
  }), h = [];
2482
2486
  }
@@ -3783,7 +3787,7 @@ function me(e) {
3783
3787
  }
3784
3788
  var pf = (
3785
3789
  /** @class */
3786
- function() {
3790
+ function () {
3787
3791
  function e(t, n) {
3788
3792
  t === void 0 && (t = ""), n === void 0 && (n = {});
3789
3793
  var o;
@@ -3793,57 +3797,57 @@ var pf = (
3793
3797
  var r = uf(t);
3794
3798
  this.originalInput = t, this.r = r.r, this.g = r.g, this.b = r.b, this.a = r.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (o = n.format) !== null && o !== void 0 ? o : r.format, this.gradientType = n.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = r.ok;
3795
3799
  }
3796
- return e.prototype.isDark = function() {
3800
+ return e.prototype.isDark = function () {
3797
3801
  return this.getBrightness() < 128;
3798
- }, e.prototype.isLight = function() {
3802
+ }, e.prototype.isLight = function () {
3799
3803
  return !this.isDark();
3800
- }, e.prototype.getBrightness = function() {
3804
+ }, e.prototype.getBrightness = function () {
3801
3805
  var t = this.toRgb();
3802
3806
  return (t.r * 299 + t.g * 587 + t.b * 114) / 1e3;
3803
- }, e.prototype.getLuminance = function() {
3807
+ }, e.prototype.getLuminance = function () {
3804
3808
  var t = this.toRgb(), n, o, r, a = t.r / 255, s = t.g / 255, i = t.b / 255;
3805
3809
  return a <= 0.03928 ? n = a / 12.92 : n = Math.pow((a + 0.055) / 1.055, 2.4), s <= 0.03928 ? o = s / 12.92 : o = Math.pow((s + 0.055) / 1.055, 2.4), i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4), 0.2126 * n + 0.7152 * o + 0.0722 * r;
3806
- }, e.prototype.getAlpha = function() {
3810
+ }, e.prototype.getAlpha = function () {
3807
3811
  return this.a;
3808
- }, e.prototype.setAlpha = function(t) {
3812
+ }, e.prototype.setAlpha = function (t) {
3809
3813
  return this.a = Xr(t), this.roundA = Math.round(100 * this.a) / 100, this;
3810
- }, e.prototype.isMonochrome = function() {
3814
+ }, e.prototype.isMonochrome = function () {
3811
3815
  var t = this.toHsl().s;
3812
3816
  return t === 0;
3813
- }, e.prototype.toHsv = function() {
3817
+ }, e.prototype.toHsv = function () {
3814
3818
  var t = qo(this.r, this.g, this.b);
3815
3819
  return { h: t.h * 360, s: t.s, v: t.v, a: this.a };
3816
- }, e.prototype.toHsvString = function() {
3820
+ }, e.prototype.toHsvString = function () {
3817
3821
  var t = qo(this.r, this.g, this.b), n = Math.round(t.h * 360), o = Math.round(t.s * 100), r = Math.round(t.v * 100);
3818
3822
  return this.a === 1 ? "hsv(".concat(n, ", ").concat(o, "%, ").concat(r, "%)") : "hsva(".concat(n, ", ").concat(o, "%, ").concat(r, "%, ").concat(this.roundA, ")");
3819
- }, e.prototype.toHsl = function() {
3823
+ }, e.prototype.toHsl = function () {
3820
3824
  var t = Yo(this.r, this.g, this.b);
3821
3825
  return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
3822
- }, e.prototype.toHslString = function() {
3826
+ }, e.prototype.toHslString = function () {
3823
3827
  var t = Yo(this.r, this.g, this.b), n = Math.round(t.h * 360), o = Math.round(t.s * 100), r = Math.round(t.l * 100);
3824
3828
  return this.a === 1 ? "hsl(".concat(n, ", ").concat(o, "%, ").concat(r, "%)") : "hsla(".concat(n, ", ").concat(o, "%, ").concat(r, "%, ").concat(this.roundA, ")");
3825
- }, e.prototype.toHex = function(t) {
3829
+ }, e.prototype.toHex = function (t) {
3826
3830
  return t === void 0 && (t = !1), Xo(this.r, this.g, this.b, t);
3827
- }, e.prototype.toHexString = function(t) {
3831
+ }, e.prototype.toHexString = function (t) {
3828
3832
  return t === void 0 && (t = !1), "#" + this.toHex(t);
3829
- }, e.prototype.toHex8 = function(t) {
3833
+ }, e.prototype.toHex8 = function (t) {
3830
3834
  return t === void 0 && (t = !1), af(this.r, this.g, this.b, this.a, t);
3831
- }, e.prototype.toHex8String = function(t) {
3835
+ }, e.prototype.toHex8String = function (t) {
3832
3836
  return t === void 0 && (t = !1), "#" + this.toHex8(t);
3833
- }, e.prototype.toHexShortString = function(t) {
3837
+ }, e.prototype.toHexShortString = function (t) {
3834
3838
  return t === void 0 && (t = !1), this.a === 1 ? this.toHexString(t) : this.toHex8String(t);
3835
- }, e.prototype.toRgb = function() {
3839
+ }, e.prototype.toRgb = function () {
3836
3840
  return {
3837
3841
  r: Math.round(this.r),
3838
3842
  g: Math.round(this.g),
3839
3843
  b: Math.round(this.b),
3840
3844
  a: this.a
3841
3845
  };
3842
- }, e.prototype.toRgbString = function() {
3846
+ }, e.prototype.toRgbString = function () {
3843
3847
  var t = Math.round(this.r), n = Math.round(this.g), o = Math.round(this.b);
3844
3848
  return this.a === 1 ? "rgb(".concat(t, ", ").concat(n, ", ").concat(o, ")") : "rgba(".concat(t, ", ").concat(n, ", ").concat(o, ", ").concat(this.roundA, ")");
3845
- }, e.prototype.toPercentageRgb = function() {
3846
- var t = function(n) {
3849
+ }, e.prototype.toPercentageRgb = function () {
3850
+ var t = function (n) {
3847
3851
  return "".concat(Math.round(Z(n, 255) * 100), "%");
3848
3852
  };
3849
3853
  return {
@@ -3852,12 +3856,12 @@ var pf = (
3852
3856
  b: t(this.b),
3853
3857
  a: this.a
3854
3858
  };
3855
- }, e.prototype.toPercentageRgbString = function() {
3856
- var t = function(n) {
3859
+ }, e.prototype.toPercentageRgbString = function () {
3860
+ var t = function (n) {
3857
3861
  return Math.round(Z(n, 255) * 100);
3858
3862
  };
3859
3863
  return this.a === 1 ? "rgb(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%)") : "rgba(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%, ").concat(this.roundA, ")");
3860
- }, e.prototype.toName = function() {
3864
+ }, e.prototype.toName = function () {
3861
3865
  if (this.a === 0)
3862
3866
  return "transparent";
3863
3867
  if (this.a < 1)
@@ -3868,45 +3872,45 @@ var pf = (
3868
3872
  return a;
3869
3873
  }
3870
3874
  return !1;
3871
- }, e.prototype.toString = function(t) {
3875
+ }, e.prototype.toString = function (t) {
3872
3876
  var n = !!t;
3873
3877
  t = t ?? this.format;
3874
3878
  var o = !1, r = this.a < 1 && this.a >= 0, a = !n && r && (t.startsWith("hex") || t === "name");
3875
3879
  return a ? t === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (t === "rgb" && (o = this.toRgbString()), t === "prgb" && (o = this.toPercentageRgbString()), (t === "hex" || t === "hex6") && (o = this.toHexString()), t === "hex3" && (o = this.toHexString(!0)), t === "hex4" && (o = this.toHex8String(!0)), t === "hex8" && (o = this.toHex8String()), t === "name" && (o = this.toName()), t === "hsl" && (o = this.toHslString()), t === "hsv" && (o = this.toHsvString()), o || this.toHexString());
3876
- }, e.prototype.toNumber = function() {
3880
+ }, e.prototype.toNumber = function () {
3877
3881
  return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
3878
- }, e.prototype.clone = function() {
3882
+ }, e.prototype.clone = function () {
3879
3883
  return new e(this.toString());
3880
- }, e.prototype.lighten = function(t) {
3884
+ }, e.prototype.lighten = function (t) {
3881
3885
  t === void 0 && (t = 10);
3882
3886
  var n = this.toHsl();
3883
3887
  return n.l += t / 100, n.l = xt(n.l), new e(n);
3884
- }, e.prototype.brighten = function(t) {
3888
+ }, e.prototype.brighten = function (t) {
3885
3889
  t === void 0 && (t = 10);
3886
3890
  var n = this.toRgb();
3887
3891
  return n.r = Math.max(0, Math.min(255, n.r - Math.round(255 * -(t / 100)))), n.g = Math.max(0, Math.min(255, n.g - Math.round(255 * -(t / 100)))), n.b = Math.max(0, Math.min(255, n.b - Math.round(255 * -(t / 100)))), new e(n);
3888
- }, e.prototype.darken = function(t) {
3892
+ }, e.prototype.darken = function (t) {
3889
3893
  t === void 0 && (t = 10);
3890
3894
  var n = this.toHsl();
3891
3895
  return n.l -= t / 100, n.l = xt(n.l), new e(n);
3892
- }, e.prototype.tint = function(t) {
3896
+ }, e.prototype.tint = function (t) {
3893
3897
  return t === void 0 && (t = 10), this.mix("white", t);
3894
- }, e.prototype.shade = function(t) {
3898
+ }, e.prototype.shade = function (t) {
3895
3899
  return t === void 0 && (t = 10), this.mix("black", t);
3896
- }, e.prototype.desaturate = function(t) {
3900
+ }, e.prototype.desaturate = function (t) {
3897
3901
  t === void 0 && (t = 10);
3898
3902
  var n = this.toHsl();
3899
3903
  return n.s -= t / 100, n.s = xt(n.s), new e(n);
3900
- }, e.prototype.saturate = function(t) {
3904
+ }, e.prototype.saturate = function (t) {
3901
3905
  t === void 0 && (t = 10);
3902
3906
  var n = this.toHsl();
3903
3907
  return n.s += t / 100, n.s = xt(n.s), new e(n);
3904
- }, e.prototype.greyscale = function() {
3908
+ }, e.prototype.greyscale = function () {
3905
3909
  return this.desaturate(100);
3906
- }, e.prototype.spin = function(t) {
3910
+ }, e.prototype.spin = function (t) {
3907
3911
  var n = this.toHsl(), o = (n.h + t) % 360;
3908
3912
  return n.h = o < 0 ? 360 + o : o, new e(n);
3909
- }, e.prototype.mix = function(t, n) {
3913
+ }, e.prototype.mix = function (t, n) {
3910
3914
  n === void 0 && (n = 50);
3911
3915
  var o = this.toRgb(), r = new e(t).toRgb(), a = n / 100, s = {
3912
3916
  r: (r.r - o.r) * a + o.r,
@@ -3915,28 +3919,28 @@ var pf = (
3915
3919
  a: (r.a - o.a) * a + o.a
3916
3920
  };
3917
3921
  return new e(s);
3918
- }, e.prototype.analogous = function(t, n) {
3922
+ }, e.prototype.analogous = function (t, n) {
3919
3923
  t === void 0 && (t = 6), n === void 0 && (n = 30);
3920
3924
  var o = this.toHsl(), r = 360 / n, a = [this];
3921
- for (o.h = (o.h - (r * t >> 1) + 720) % 360; --t; )
3925
+ for (o.h = (o.h - (r * t >> 1) + 720) % 360; --t;)
3922
3926
  o.h = (o.h + r) % 360, a.push(new e(o));
3923
3927
  return a;
3924
- }, e.prototype.complement = function() {
3928
+ }, e.prototype.complement = function () {
3925
3929
  var t = this.toHsl();
3926
3930
  return t.h = (t.h + 180) % 360, new e(t);
3927
- }, e.prototype.monochromatic = function(t) {
3931
+ }, e.prototype.monochromatic = function (t) {
3928
3932
  t === void 0 && (t = 6);
3929
- for (var n = this.toHsv(), o = n.h, r = n.s, a = n.v, s = [], i = 1 / t; t--; )
3933
+ for (var n = this.toHsv(), o = n.h, r = n.s, a = n.v, s = [], i = 1 / t; t--;)
3930
3934
  s.push(new e({ h: o, s: r, v: a })), a = (a + i) % 1;
3931
3935
  return s;
3932
- }, e.prototype.splitcomplement = function() {
3936
+ }, e.prototype.splitcomplement = function () {
3933
3937
  var t = this.toHsl(), n = t.h;
3934
3938
  return [
3935
3939
  this,
3936
3940
  new e({ h: (n + 72) % 360, s: t.s, l: t.l }),
3937
3941
  new e({ h: (n + 216) % 360, s: t.s, l: t.l })
3938
3942
  ];
3939
- }, e.prototype.onBackground = function(t) {
3943
+ }, e.prototype.onBackground = function (t) {
3940
3944
  var n = this.toRgb(), o = new e(t).toRgb(), r = n.a + o.a * (1 - n.a);
3941
3945
  return new e({
3942
3946
  r: (n.r * n.a + o.r * o.a * (1 - n.a)) / r,
@@ -3944,15 +3948,15 @@ var pf = (
3944
3948
  b: (n.b * n.a + o.b * o.a * (1 - n.a)) / r,
3945
3949
  a: r
3946
3950
  });
3947
- }, e.prototype.triad = function() {
3951
+ }, e.prototype.triad = function () {
3948
3952
  return this.polyad(3);
3949
- }, e.prototype.tetrad = function() {
3953
+ }, e.prototype.tetrad = function () {
3950
3954
  return this.polyad(4);
3951
- }, e.prototype.polyad = function(t) {
3955
+ }, e.prototype.polyad = function (t) {
3952
3956
  for (var n = this.toHsl(), o = n.h, r = [this], a = 360 / t, s = 1; s < t; s++)
3953
3957
  r.push(new e({ h: (o + s * a) % 360, s: n.s, l: n.l }));
3954
3958
  return r;
3955
- }, e.prototype.equals = function(t) {
3959
+ }, e.prototype.equals = function (t) {
3956
3960
  return this.toRgbString() === new e(t).toRgbString();
3957
3961
  }, e;
3958
3962
  }()
@@ -4163,13 +4167,15 @@ const Zr = (e) => {
4163
4167
  if (!e)
4164
4168
  return { onClick: Fe, onMousedown: Fe, onMouseup: Fe };
4165
4169
  let t = !1, n = !1;
4166
- return { onClick: (s) => {
4167
- t && n && e(s), t = n = !1;
4168
- }, onMousedown: (s) => {
4169
- t = s.target === s.currentTarget;
4170
- }, onMouseup: (s) => {
4171
- n = s.target === s.currentTarget;
4172
- } };
4170
+ return {
4171
+ onClick: (s) => {
4172
+ t && n && e(s), t = n = !1;
4173
+ }, onMousedown: (s) => {
4174
+ t = s.target === s.currentTarget;
4175
+ }, onMouseup: (s) => {
4176
+ n = s.target === s.currentTarget;
4177
+ }
4178
+ };
4173
4179
  }, xf = U({
4174
4180
  mask: {
4175
4181
  type: Boolean,
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "mwl-components",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "private": false,
5
5
  "type": "module",
6
- "main": "dist/index.umd.js",
7
- "module": "dist/index.esm.js",
8
- "unpkg": "dist/index.iife.js",
6
+ "main": "dist/index.es.js",
7
+ "module": "dist/index.es.js",
9
8
  "scripts": {
10
9
  "dev": "vite",
11
10
  "build": "run-p type-check \"build-only {@}\" --",
File without changes