@versini/ui-styles 1.14.0 → 2.0.0

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.
Files changed (2) hide show
  1. package/dist/index.js +704 -730
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -52,32 +52,32 @@ var mi = (ur.__esModule ? ur : { default: ur }).default;
52
52
  const xa = /* @__PURE__ */ cn(mi);
53
53
  var Lr = { exports: {} };
54
54
  (function(e, t) {
55
- var r = 200, i = "__lodash_hash_undefined__", n = 800, a = 16, u = 9007199254740991, p = "[object Arguments]", s = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", g = "[object Date]", b = "[object Error]", M = "[object Function]", A = "[object GeneratorFunction]", d = "[object Map]", m = "[object Number]", _ = "[object Null]", T = "[object Object]", k = "[object Proxy]", E = "[object RegExp]", S = "[object Set]", P = "[object String]", C = "[object Undefined]", D = "[object WeakMap]", z = "[object ArrayBuffer]", L = "[object DataView]", Q = "[object Float32Array]", te = "[object Float64Array]", ge = "[object Int8Array]", fe = "[object Int16Array]", ve = "[object Int32Array]", V = "[object Uint8Array]", ye = "[object Uint8ClampedArray]", ke = "[object Uint16Array]", Ne = "[object Uint32Array]", Ie = /[\\^$.*+?()[\]{}|]/g, $ = /^\[object .+?Constructor\]$/, N = /^(?:0|[1-9]\d*)$/, O = {};
56
- O[Q] = O[te] = O[ge] = O[fe] = O[ve] = O[V] = O[ye] = O[ke] = O[Ne] = !0, O[p] = O[s] = O[z] = O[c] = O[L] = O[g] = O[b] = O[M] = O[d] = O[m] = O[T] = O[E] = O[S] = O[P] = O[D] = !1;
57
- var w = typeof at == "object" && at && at.Object === Object && at, B = typeof self == "object" && self && self.Object === Object && self, W = w || B || Function("return this")(), x = t && !t.nodeType && t, G = x && !0 && e && !e.nodeType && e, ne = G && G.exports === x, K = ne && w.process, j = function() {
55
+ var r = 200, i = "__lodash_hash_undefined__", n = 800, a = 16, u = 9007199254740991, p = "[object Arguments]", s = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", g = "[object Date]", b = "[object Error]", M = "[object Function]", A = "[object GeneratorFunction]", d = "[object Map]", m = "[object Number]", _ = "[object Null]", T = "[object Object]", k = "[object Proxy]", E = "[object RegExp]", S = "[object Set]", P = "[object String]", F = "[object Undefined]", D = "[object WeakMap]", z = "[object ArrayBuffer]", L = "[object DataView]", Q = "[object Float32Array]", te = "[object Float64Array]", ge = "[object Int8Array]", fe = "[object Int16Array]", ve = "[object Int32Array]", V = "[object Uint8Array]", we = "[object Uint8ClampedArray]", ke = "[object Uint16Array]", $e = "[object Uint32Array]", Ie = /[\\^$.*+?()[\]{}|]/g, N = /^\[object .+?Constructor\]$/, $ = /^(?:0|[1-9]\d*)$/, O = {};
56
+ O[Q] = O[te] = O[ge] = O[fe] = O[ve] = O[V] = O[we] = O[ke] = O[$e] = !0, O[p] = O[s] = O[z] = O[c] = O[L] = O[g] = O[b] = O[M] = O[d] = O[m] = O[T] = O[E] = O[S] = O[P] = O[D] = !1;
57
+ var y = typeof at == "object" && at && at.Object === Object && at, B = typeof self == "object" && self && self.Object === Object && self, W = y || B || Function("return this")(), x = t && !t.nodeType && t, G = x && !0 && e && !e.nodeType && e, ne = G && G.exports === x, K = ne && y.process, j = function() {
58
58
  try {
59
59
  var f = G && G.require && G.require("util").types;
60
60
  return f || K && K.binding && K.binding("util");
61
61
  } catch {
62
62
  }
63
63
  }(), se = j && j.isTypedArray;
64
- function me(f, v, y) {
65
- switch (y.length) {
64
+ function me(f, v, w) {
65
+ switch (w.length) {
66
66
  case 0:
67
67
  return f.call(v);
68
68
  case 1:
69
- return f.call(v, y[0]);
69
+ return f.call(v, w[0]);
70
70
  case 2:
71
- return f.call(v, y[0], y[1]);
71
+ return f.call(v, w[0], w[1]);
72
72
  case 3:
73
- return f.call(v, y[0], y[1], y[2]);
73
+ return f.call(v, w[0], w[1], w[2]);
74
74
  }
75
- return f.apply(v, y);
75
+ return f.apply(v, w);
76
76
  }
77
77
  function X(f, v) {
78
- for (var y = -1, F = Array(f); ++y < f; )
79
- F[y] = v(y);
80
- return F;
78
+ for (var w = -1, H = Array(f); ++w < f; )
79
+ H[w] = v(w);
80
+ return H;
81
81
  }
82
82
  function de(f) {
83
83
  return function(v) {
@@ -88,8 +88,8 @@ var Lr = { exports: {} };
88
88
  return f == null ? void 0 : f[v];
89
89
  }
90
90
  function De(f, v) {
91
- return function(y) {
92
- return f(v(y));
91
+ return function(w) {
92
+ return f(v(w));
93
93
  };
94
94
  }
95
95
  var Me = Array.prototype, _e = Function.prototype, xe = Object.prototype, Oe = W["__core-js_shared__"], Ae = _e.toString, ze = xe.hasOwnProperty, Ze = function() {
@@ -97,7 +97,7 @@ var Lr = { exports: {} };
97
97
  return f ? "Symbol(src)_1." + f : "";
98
98
  }(), Ye = xe.toString, Vt = Ae.call(Object), Zt = RegExp(
99
99
  "^" + Ae.call(ze).replace(Ie, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
100
- ), _t = ne ? W.Buffer : void 0, Tt = W.Symbol, St = W.Uint8Array, xt = De(Object.getPrototypeOf, Object), In = Object.create, wo = xe.propertyIsEnumerable, _o = Me.splice, Je = Tt ? Tt.toStringTag : void 0, kt = function() {
100
+ ), _t = ne ? W.Buffer : void 0, Tt = W.Symbol, St = W.Uint8Array, xt = De(Object.getPrototypeOf, Object), In = Object.create, yo = xe.propertyIsEnumerable, _o = Me.splice, Je = Tt ? Tt.toStringTag : void 0, kt = function() {
101
101
  try {
102
102
  var f = er(Object, "defineProperty");
103
103
  return f({}, "", {}), f;
@@ -112,15 +112,15 @@ var Lr = { exports: {} };
112
112
  if (In)
113
113
  return In(v);
114
114
  f.prototype = v;
115
- var y = new f();
116
- return f.prototype = void 0, y;
115
+ var w = new f();
116
+ return f.prototype = void 0, w;
117
117
  };
118
118
  }();
119
119
  function Ke(f) {
120
- var v = -1, y = f == null ? 0 : f.length;
121
- for (this.clear(); ++v < y; ) {
122
- var F = f[v];
123
- this.set(F[0], F[1]);
120
+ var v = -1, w = f == null ? 0 : f.length;
121
+ for (this.clear(); ++v < w; ) {
122
+ var H = f[v];
123
+ this.set(H[0], H[1]);
124
124
  }
125
125
  }
126
126
  function ko() {
@@ -133,8 +133,8 @@ var Lr = { exports: {} };
133
133
  function Oo(f) {
134
134
  var v = this.__data__;
135
135
  if (ct) {
136
- var y = v[f];
137
- return y === i ? void 0 : y;
136
+ var w = v[f];
137
+ return w === i ? void 0 : w;
138
138
  }
139
139
  return ze.call(v, f) ? v[f] : void 0;
140
140
  }
@@ -143,44 +143,44 @@ var Lr = { exports: {} };
143
143
  return ct ? v[f] !== void 0 : ze.call(v, f);
144
144
  }
145
145
  function Io(f, v) {
146
- var y = this.__data__;
147
- return this.size += this.has(f) ? 0 : 1, y[f] = ct && v === void 0 ? i : v, this;
146
+ var w = this.__data__;
147
+ return this.size += this.has(f) ? 0 : 1, w[f] = ct && v === void 0 ? i : v, this;
148
148
  }
149
149
  Ke.prototype.clear = ko, Ke.prototype.delete = Mo, Ke.prototype.get = Oo, Ke.prototype.has = Eo, Ke.prototype.set = Io;
150
150
  function We(f) {
151
- var v = -1, y = f == null ? 0 : f.length;
152
- for (this.clear(); ++v < y; ) {
153
- var F = f[v];
154
- this.set(F[0], F[1]);
151
+ var v = -1, w = f == null ? 0 : f.length;
152
+ for (this.clear(); ++v < w; ) {
153
+ var H = f[v];
154
+ this.set(H[0], H[1]);
155
155
  }
156
156
  }
157
157
  function Po() {
158
158
  this.__data__ = [], this.size = 0;
159
159
  }
160
160
  function Ao(f) {
161
- var v = this.__data__, y = Mt(v, f);
162
- if (y < 0)
161
+ var v = this.__data__, w = Mt(v, f);
162
+ if (w < 0)
163
163
  return !1;
164
- var F = v.length - 1;
165
- return y == F ? v.pop() : _o.call(v, y, 1), --this.size, !0;
164
+ var H = v.length - 1;
165
+ return w == H ? v.pop() : _o.call(v, w, 1), --this.size, !0;
166
166
  }
167
167
  function zo(f) {
168
- var v = this.__data__, y = Mt(v, f);
169
- return y < 0 ? void 0 : v[y][1];
168
+ var v = this.__data__, w = Mt(v, f);
169
+ return w < 0 ? void 0 : v[w][1];
170
170
  }
171
171
  function Bo(f) {
172
172
  return Mt(this.__data__, f) > -1;
173
173
  }
174
174
  function Lo(f, v) {
175
- var y = this.__data__, F = Mt(y, f);
176
- return F < 0 ? (++this.size, y.push([f, v])) : y[F][1] = v, this;
175
+ var w = this.__data__, H = Mt(w, f);
176
+ return H < 0 ? (++this.size, w.push([f, v])) : w[H][1] = v, this;
177
177
  }
178
178
  We.prototype.clear = Po, We.prototype.delete = Ao, We.prototype.get = zo, We.prototype.has = Bo, We.prototype.set = Lo;
179
179
  function it(f) {
180
- var v = -1, y = f == null ? 0 : f.length;
181
- for (this.clear(); ++v < y; ) {
182
- var F = f[v];
183
- this.set(F[0], F[1]);
180
+ var v = -1, w = f == null ? 0 : f.length;
181
+ for (this.clear(); ++v < w; ) {
182
+ var H = f[v];
183
+ this.set(H[0], H[1]);
184
184
  }
185
185
  }
186
186
  function Do() {
@@ -194,17 +194,17 @@ var Lr = { exports: {} };
194
194
  var v = Et(this, f).delete(f);
195
195
  return this.size -= v ? 1 : 0, v;
196
196
  }
197
- function $o(f) {
197
+ function No(f) {
198
198
  return Et(this, f).get(f);
199
199
  }
200
- function No(f) {
200
+ function $o(f) {
201
201
  return Et(this, f).has(f);
202
202
  }
203
203
  function Ro(f, v) {
204
- var y = Et(this, f), F = y.size;
205
- return y.set(f, v), this.size += y.size == F ? 0 : 1, this;
204
+ var w = Et(this, f), H = w.size;
205
+ return w.set(f, v), this.size += w.size == H ? 0 : 1, this;
206
206
  }
207
- it.prototype.clear = Do, it.prototype.delete = qo, it.prototype.get = $o, it.prototype.has = No, it.prototype.set = Ro;
207
+ it.prototype.clear = Do, it.prototype.delete = qo, it.prototype.get = No, it.prototype.has = $o, it.prototype.set = Ro;
208
208
  function ot(f) {
209
209
  var v = this.__data__ = new We(f);
210
210
  this.size = v.size;
@@ -213,8 +213,8 @@ var Lr = { exports: {} };
213
213
  this.__data__ = new We(), this.size = 0;
214
214
  }
215
215
  function Fo(f) {
216
- var v = this.__data__, y = v.delete(f);
217
- return this.size = v.size, y;
216
+ var v = this.__data__, w = v.delete(f);
217
+ return this.size = v.size, w;
218
218
  }
219
219
  function Ho(f) {
220
220
  return this.__data__.get(f);
@@ -223,18 +223,18 @@ var Lr = { exports: {} };
223
223
  return this.__data__.has(f);
224
224
  }
225
225
  function Uo(f, v) {
226
- var y = this.__data__;
227
- if (y instanceof We) {
228
- var F = y.__data__;
229
- if (!An || F.length < r - 1)
230
- return F.push([f, v]), this.size = ++y.size, this;
231
- y = this.__data__ = new it(F);
226
+ var w = this.__data__;
227
+ if (w instanceof We) {
228
+ var H = w.__data__;
229
+ if (!An || H.length < r - 1)
230
+ return H.push([f, v]), this.size = ++w.size, this;
231
+ w = this.__data__ = new it(H);
232
232
  }
233
- return y.set(f, v), this.size = y.size, this;
233
+ return w.set(f, v), this.size = w.size, this;
234
234
  }
235
235
  ot.prototype.clear = Co, ot.prototype.delete = Fo, ot.prototype.get = Ho, ot.prototype.has = Wo, ot.prototype.set = Uo;
236
236
  function jo(f, v) {
237
- var y = nr(f), F = !y && rr(f), re = !y && !F && qn(f), ue = !y && !F && !re && Nn(f), ce = y || F || re || ue, ie = ce ? X(f.length, String) : [], pe = ie.length;
237
+ var w = nr(f), H = !w && rr(f), re = !w && !H && qn(f), ue = !w && !H && !re && $n(f), ce = w || H || re || ue, ie = ce ? X(f.length, String) : [], pe = ie.length;
238
238
  for (var Ce in f)
239
239
  ce && // Safari 9 has enumerable `arguments.length` in strict mode.
240
240
  (Ce == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -243,30 +243,30 @@ var Lr = { exports: {} };
243
243
  Ln(Ce, pe)) || ie.push(Ce);
244
244
  return ie;
245
245
  }
246
- function Jt(f, v, y) {
247
- (y !== void 0 && !It(f[v], y) || y === void 0 && !(v in f)) && Kt(f, v, y);
246
+ function Jt(f, v, w) {
247
+ (w !== void 0 && !It(f[v], w) || w === void 0 && !(v in f)) && Kt(f, v, w);
248
248
  }
249
- function Yo(f, v, y) {
250
- var F = f[v];
251
- (!(ze.call(f, v) && It(F, y)) || y === void 0 && !(v in f)) && Kt(f, v, y);
249
+ function Yo(f, v, w) {
250
+ var H = f[v];
251
+ (!(ze.call(f, v) && It(H, w)) || w === void 0 && !(v in f)) && Kt(f, v, w);
252
252
  }
253
253
  function Mt(f, v) {
254
- for (var y = f.length; y--; )
255
- if (It(f[y][0], v))
256
- return y;
254
+ for (var w = f.length; w--; )
255
+ if (It(f[w][0], v))
256
+ return w;
257
257
  return -1;
258
258
  }
259
- function Kt(f, v, y) {
259
+ function Kt(f, v, w) {
260
260
  v == "__proto__" && kt ? kt(f, v, {
261
261
  configurable: !0,
262
262
  enumerable: !0,
263
- value: y,
263
+ value: w,
264
264
  writable: !0
265
- }) : f[v] = y;
265
+ }) : f[v] = w;
266
266
  }
267
267
  var Go = aa();
268
268
  function Ot(f) {
269
- return f == null ? f === void 0 ? C : _ : Je && Je in Object(f) ? sa(f) : pa(f);
269
+ return f == null ? f === void 0 ? F : _ : Je && Je in Object(f) ? sa(f) : pa(f);
270
270
  }
271
271
  function zn(f) {
272
272
  return pt(f) && Ot(f) == p;
@@ -274,42 +274,42 @@ var Lr = { exports: {} };
274
274
  function Qo(f) {
275
275
  if (!et(f) || da(f))
276
276
  return !1;
277
- var v = or(f) ? Zt : $;
277
+ var v = or(f) ? Zt : N;
278
278
  return v.test(ma(f));
279
279
  }
280
280
  function Xo(f) {
281
- return pt(f) && $n(f.length) && !!O[Ot(f)];
281
+ return pt(f) && Nn(f.length) && !!O[Ot(f)];
282
282
  }
283
283
  function Vo(f) {
284
284
  if (!et(f))
285
285
  return ca(f);
286
- var v = Dn(f), y = [];
287
- for (var F in f)
288
- F == "constructor" && (v || !ze.call(f, F)) || y.push(F);
289
- return y;
286
+ var v = Dn(f), w = [];
287
+ for (var H in f)
288
+ H == "constructor" && (v || !ze.call(f, H)) || w.push(H);
289
+ return w;
290
290
  }
291
- function Bn(f, v, y, F, re) {
291
+ function Bn(f, v, w, H, re) {
292
292
  f !== v && Go(v, function(ue, ce) {
293
293
  if (re || (re = new ot()), et(ue))
294
- Zo(f, v, ce, y, Bn, F, re);
294
+ Zo(f, v, ce, w, Bn, H, re);
295
295
  else {
296
- var ie = F ? F(tr(f, ce), ue, ce + "", f, v, re) : void 0;
296
+ var ie = H ? H(tr(f, ce), ue, ce + "", f, v, re) : void 0;
297
297
  ie === void 0 && (ie = ue), Jt(f, ce, ie);
298
298
  }
299
299
  }, Rn);
300
300
  }
301
- function Zo(f, v, y, F, re, ue, ce) {
302
- var ie = tr(f, y), pe = tr(v, y), Ce = ce.get(pe);
301
+ function Zo(f, v, w, H, re, ue, ce) {
302
+ var ie = tr(f, w), pe = tr(v, w), Ce = ce.get(pe);
303
303
  if (Ce) {
304
- Jt(f, y, Ce);
304
+ Jt(f, w, Ce);
305
305
  return;
306
306
  }
307
- var Be = ue ? ue(ie, pe, y + "", f, v, ce) : void 0, ht = Be === void 0;
307
+ var Be = ue ? ue(ie, pe, w + "", f, v, ce) : void 0, ht = Be === void 0;
308
308
  if (ht) {
309
- var ar = nr(pe), sr = !ar && qn(pe), Fn = !ar && !sr && Nn(pe);
310
- Be = pe, ar || sr || Fn ? nr(ie) ? Be = ie : ba(ie) ? Be = na(ie) : sr ? (ht = !1, Be = ea(pe)) : Fn ? (ht = !1, Be = ra(pe)) : Be = [] : ya(pe) || rr(pe) ? (Be = ie, rr(ie) ? Be = wa(ie) : (!et(ie) || or(ie)) && (Be = ua(pe))) : ht = !1;
309
+ var ar = nr(pe), sr = !ar && qn(pe), Fn = !ar && !sr && $n(pe);
310
+ Be = pe, ar || sr || Fn ? nr(ie) ? Be = ie : ba(ie) ? Be = na(ie) : sr ? (ht = !1, Be = ea(pe)) : Fn ? (ht = !1, Be = ra(pe)) : Be = [] : wa(pe) || rr(pe) ? (Be = ie, rr(ie) ? Be = ya(ie) : (!et(ie) || or(ie)) && (Be = ua(pe))) : ht = !1;
311
311
  }
312
- ht && (ce.set(pe, Be), re(Be, pe, F, ue, ce), ce.delete(pe)), Jt(f, y, Be);
312
+ ht && (ce.set(pe, Be), re(Be, pe, H, ue, ce), ce.delete(pe)), Jt(f, w, Be);
313
313
  }
314
314
  function Jo(f, v) {
315
315
  return ga(ha(f, v, Cn), f + "");
@@ -330,74 +330,74 @@ var Lr = { exports: {} };
330
330
  return new St(v).set(new St(f)), v;
331
331
  }
332
332
  function ra(f, v) {
333
- var y = ta(f.buffer);
334
- return new f.constructor(y, f.byteOffset, f.length);
333
+ var w = ta(f.buffer);
334
+ return new f.constructor(w, f.byteOffset, f.length);
335
335
  }
336
336
  function na(f, v) {
337
- var y = -1, F = f.length;
338
- for (v || (v = Array(F)); ++y < F; )
339
- v[y] = f[y];
337
+ var w = -1, H = f.length;
338
+ for (v || (v = Array(H)); ++w < H; )
339
+ v[w] = f[w];
340
340
  return v;
341
341
  }
342
- function ia(f, v, y, F) {
343
- var re = !y;
344
- y || (y = {});
342
+ function ia(f, v, w, H) {
343
+ var re = !w;
344
+ w || (w = {});
345
345
  for (var ue = -1, ce = v.length; ++ue < ce; ) {
346
346
  var ie = v[ue], pe = void 0;
347
- pe === void 0 && (pe = f[ie]), re ? Kt(y, ie, pe) : Yo(y, ie, pe);
347
+ pe === void 0 && (pe = f[ie]), re ? Kt(w, ie, pe) : Yo(w, ie, pe);
348
348
  }
349
- return y;
349
+ return w;
350
350
  }
351
351
  function oa(f) {
352
- return Jo(function(v, y) {
353
- var F = -1, re = y.length, ue = re > 1 ? y[re - 1] : void 0, ce = re > 2 ? y[2] : void 0;
354
- for (ue = f.length > 3 && typeof ue == "function" ? (re--, ue) : void 0, ce && la(y[0], y[1], ce) && (ue = re < 3 ? void 0 : ue, re = 1), v = Object(v); ++F < re; ) {
355
- var ie = y[F];
356
- ie && f(v, ie, F, ue);
352
+ return Jo(function(v, w) {
353
+ var H = -1, re = w.length, ue = re > 1 ? w[re - 1] : void 0, ce = re > 2 ? w[2] : void 0;
354
+ for (ue = f.length > 3 && typeof ue == "function" ? (re--, ue) : void 0, ce && la(w[0], w[1], ce) && (ue = re < 3 ? void 0 : ue, re = 1), v = Object(v); ++H < re; ) {
355
+ var ie = w[H];
356
+ ie && f(v, ie, H, ue);
357
357
  }
358
358
  return v;
359
359
  });
360
360
  }
361
361
  function aa(f) {
362
- return function(v, y, F) {
363
- for (var re = -1, ue = Object(v), ce = F(v), ie = ce.length; ie--; ) {
362
+ return function(v, w, H) {
363
+ for (var re = -1, ue = Object(v), ce = H(v), ie = ce.length; ie--; ) {
364
364
  var pe = ce[++re];
365
- if (y(ue[pe], pe, ue) === !1)
365
+ if (w(ue[pe], pe, ue) === !1)
366
366
  break;
367
367
  }
368
368
  return v;
369
369
  };
370
370
  }
371
371
  function Et(f, v) {
372
- var y = f.__data__;
373
- return fa(v) ? y[typeof v == "string" ? "string" : "hash"] : y.map;
372
+ var w = f.__data__;
373
+ return fa(v) ? w[typeof v == "string" ? "string" : "hash"] : w.map;
374
374
  }
375
375
  function er(f, v) {
376
- var y = Re(f, v);
377
- return Qo(y) ? y : void 0;
376
+ var w = Re(f, v);
377
+ return Qo(w) ? w : void 0;
378
378
  }
379
379
  function sa(f) {
380
- var v = ze.call(f, Je), y = f[Je];
380
+ var v = ze.call(f, Je), w = f[Je];
381
381
  try {
382
382
  f[Je] = void 0;
383
- var F = !0;
383
+ var H = !0;
384
384
  } catch {
385
385
  }
386
386
  var re = Ye.call(f);
387
- return F && (v ? f[Je] = y : delete f[Je]), re;
387
+ return H && (v ? f[Je] = w : delete f[Je]), re;
388
388
  }
389
389
  function ua(f) {
390
390
  return typeof f.constructor == "function" && !Dn(f) ? xo(xt(f)) : {};
391
391
  }
392
392
  function Ln(f, v) {
393
- var y = typeof f;
394
- return v = v ?? u, !!v && (y == "number" || y != "symbol" && N.test(f)) && f > -1 && f % 1 == 0 && f < v;
393
+ var w = typeof f;
394
+ return v = v ?? u, !!v && (w == "number" || w != "symbol" && $.test(f)) && f > -1 && f % 1 == 0 && f < v;
395
395
  }
396
- function la(f, v, y) {
397
- if (!et(y))
396
+ function la(f, v, w) {
397
+ if (!et(w))
398
398
  return !1;
399
- var F = typeof v;
400
- return (F == "number" ? ir(y) && Ln(v, y.length) : F == "string" && v in y) ? It(y[v], f) : !1;
399
+ var H = typeof v;
400
+ return (H == "number" ? ir(w) && Ln(v, w.length) : H == "string" && v in w) ? It(w[v], f) : !1;
401
401
  }
402
402
  function fa(f) {
403
403
  var v = typeof f;
@@ -407,27 +407,27 @@ var Lr = { exports: {} };
407
407
  return !!Ze && Ze in f;
408
408
  }
409
409
  function Dn(f) {
410
- var v = f && f.constructor, y = typeof v == "function" && v.prototype || xe;
411
- return f === y;
410
+ var v = f && f.constructor, w = typeof v == "function" && v.prototype || xe;
411
+ return f === w;
412
412
  }
413
413
  function ca(f) {
414
414
  var v = [];
415
415
  if (f != null)
416
- for (var y in Object(f))
417
- v.push(y);
416
+ for (var w in Object(f))
417
+ v.push(w);
418
418
  return v;
419
419
  }
420
420
  function pa(f) {
421
421
  return Ye.call(f);
422
422
  }
423
- function ha(f, v, y) {
423
+ function ha(f, v, w) {
424
424
  return v = Pn(v === void 0 ? f.length - 1 : v, 0), function() {
425
- for (var F = arguments, re = -1, ue = Pn(F.length - v, 0), ce = Array(ue); ++re < ue; )
426
- ce[re] = F[v + re];
425
+ for (var H = arguments, re = -1, ue = Pn(H.length - v, 0), ce = Array(ue); ++re < ue; )
426
+ ce[re] = H[v + re];
427
427
  re = -1;
428
428
  for (var ie = Array(v + 1); ++re < v; )
429
- ie[re] = F[re];
430
- return ie[v] = y(ce), me(f, this, ie);
429
+ ie[re] = H[re];
430
+ return ie[v] = w(ce), me(f, this, ie);
431
431
  };
432
432
  }
433
433
  function tr(f, v) {
@@ -436,10 +436,10 @@ var Lr = { exports: {} };
436
436
  }
437
437
  var ga = va(Ko);
438
438
  function va(f) {
439
- var v = 0, y = 0;
439
+ var v = 0, w = 0;
440
440
  return function() {
441
- var F = So(), re = a - (F - y);
442
- if (y = F, re > 0) {
441
+ var H = So(), re = a - (H - w);
442
+ if (w = H, re > 0) {
443
443
  if (++v >= n)
444
444
  return arguments[0];
445
445
  } else
@@ -466,10 +466,10 @@ var Lr = { exports: {} };
466
466
  var rr = zn(/* @__PURE__ */ function() {
467
467
  return arguments;
468
468
  }()) ? zn : function(f) {
469
- return pt(f) && ze.call(f, "callee") && !wo.call(f, "callee");
469
+ return pt(f) && ze.call(f, "callee") && !yo.call(f, "callee");
470
470
  }, nr = Array.isArray;
471
471
  function ir(f) {
472
- return f != null && $n(f.length) && !or(f);
472
+ return f != null && Nn(f.length) && !or(f);
473
473
  }
474
474
  function ba(f) {
475
475
  return pt(f) && ir(f);
@@ -481,7 +481,7 @@ var Lr = { exports: {} };
481
481
  var v = Ot(f);
482
482
  return v == M || v == A || v == l || v == k;
483
483
  }
484
- function $n(f) {
484
+ function Nn(f) {
485
485
  return typeof f == "number" && f > -1 && f % 1 == 0 && f <= u;
486
486
  }
487
487
  function et(f) {
@@ -491,24 +491,24 @@ var Lr = { exports: {} };
491
491
  function pt(f) {
492
492
  return f != null && typeof f == "object";
493
493
  }
494
- function ya(f) {
494
+ function wa(f) {
495
495
  if (!pt(f) || Ot(f) != T)
496
496
  return !1;
497
497
  var v = xt(f);
498
498
  if (v === null)
499
499
  return !0;
500
- var y = ze.call(v, "constructor") && v.constructor;
501
- return typeof y == "function" && y instanceof y && Ae.call(y) == Vt;
500
+ var w = ze.call(v, "constructor") && v.constructor;
501
+ return typeof w == "function" && w instanceof w && Ae.call(w) == Vt;
502
502
  }
503
- var Nn = se ? de(se) : Xo;
504
- function wa(f) {
503
+ var $n = se ? de(se) : Xo;
504
+ function ya(f) {
505
505
  return ia(f, Rn(f));
506
506
  }
507
507
  function Rn(f) {
508
508
  return ir(f) ? jo(f) : Vo(f);
509
509
  }
510
- var _a = oa(function(f, v, y) {
511
- Bn(f, v, y);
510
+ var _a = oa(function(f, v, w) {
511
+ Bn(f, v, w);
512
512
  });
513
513
  function Ta(f) {
514
514
  return function() {
@@ -530,11 +530,11 @@ function Ma() {
530
530
  var e = arguments[0];
531
531
  return Oa(e) ? e : [e];
532
532
  }
533
- var Oa = Array.isArray, Ea = Ma, bi = {}, yi = {}, pn = { exports: {} }, Z = String, wi = function() {
533
+ var Oa = Array.isArray, Ea = Ma, bi = {}, wi = {}, pn = { exports: {} }, Z = String, yi = function() {
534
534
  return { isColorSupported: !1, reset: Z, bold: Z, dim: Z, italic: Z, underline: Z, inverse: Z, hidden: Z, strikethrough: Z, black: Z, red: Z, green: Z, yellow: Z, blue: Z, magenta: Z, cyan: Z, white: Z, gray: Z, bgBlack: Z, bgRed: Z, bgGreen: Z, bgYellow: Z, bgBlue: Z, bgMagenta: Z, bgCyan: Z, bgWhite: Z, blackBright: Z, redBright: Z, greenBright: Z, yellowBright: Z, blueBright: Z, magentaBright: Z, cyanBright: Z, whiteBright: Z, bgBlackBright: Z, bgRedBright: Z, bgGreenBright: Z, bgYellowBright: Z, bgBlueBright: Z, bgMagentaBright: Z, bgCyanBright: Z, bgWhiteBright: Z };
535
535
  };
536
- pn.exports = wi();
537
- pn.exports.createColors = wi;
536
+ pn.exports = yi();
537
+ pn.exports.createColors = yi;
538
538
  var Ia = pn.exports;
539
539
  (function(e) {
540
540
  Object.defineProperty(e, "__esModule", {
@@ -593,7 +593,7 @@ var Ia = pn.exports;
593
593
  ]);
594
594
  }
595
595
  };
596
- })(yi);
596
+ })(wi);
597
597
  (function(e) {
598
598
  Object.defineProperty(e, "__esModule", {
599
599
  value: !0
@@ -603,7 +603,7 @@ var Ia = pn.exports;
603
603
  return n;
604
604
  }
605
605
  });
606
- const t = /* @__PURE__ */ r(yi);
606
+ const t = /* @__PURE__ */ r(wi);
607
607
  function r(a) {
608
608
  return a && a.__esModule ? a : {
609
609
  default: a
@@ -946,7 +946,7 @@ var Ia = pn.exports;
946
946
  })(bi);
947
947
  let lr = bi;
948
948
  var _i = (lr.__esModule ? lr : { default: lr }).default;
949
- const H = /* @__PURE__ */ cn(_i), h = _i, Y = (e) => e.toFixed(7).replace(/(\.[0-9]+?)0+$/, "$1").replace(/\.0$/, ""), Ee = (e) => `${Y(e / 16)}rem`, o = (e, t) => `${Y(e / t)}em`, Fe = (e) => {
949
+ const R = /* @__PURE__ */ cn(_i), h = _i, Y = (e) => e.toFixed(7).replace(/(\.[0-9]+?)0+$/, "$1").replace(/\.0$/, ""), Ee = (e) => `${Y(e / 16)}rem`, o = (e, t) => `${Y(e / t)}em`, Fe = (e) => {
950
950
  e = e.replace("#", ""), e = e.length === 3 ? e.replace(/./g, "$&$&") : e;
951
951
  const t = parseInt(e.substring(0, 2), 16), r = parseInt(e.substring(2, 4), 16), i = parseInt(e.substring(4, 6), 16);
952
952
  return `${t} ${r} ${i}`;
@@ -2556,20 +2556,20 @@ function Ba(e, t) {
2556
2556
  return e(t(r));
2557
2557
  };
2558
2558
  }
2559
- var La = Function.prototype, Ti = Object.prototype, Si = La.toString, Da = Ti.hasOwnProperty, qa = Si.call(Object), $a = Ti.toString, Na = Ba(Object.getPrototypeOf, Object);
2559
+ var La = Function.prototype, Ti = Object.prototype, Si = La.toString, Da = Ti.hasOwnProperty, qa = Si.call(Object), Na = Ti.toString, $a = Ba(Object.getPrototypeOf, Object);
2560
2560
  function Ra(e) {
2561
2561
  return !!e && typeof e == "object";
2562
2562
  }
2563
2563
  function Ca(e) {
2564
- if (!Ra(e) || $a.call(e) != Aa || za(e))
2564
+ if (!Ra(e) || Na.call(e) != Aa || za(e))
2565
2565
  return !1;
2566
- var t = Na(e);
2566
+ var t = $a(e);
2567
2567
  if (t === null)
2568
2568
  return !0;
2569
2569
  var r = Da.call(t, "constructor") && t.constructor;
2570
2570
  return typeof r == "function" && r instanceof r && Si.call(r) == qa;
2571
2571
  }
2572
- var Fa = Ca, Dr = { exports: {} }, qr = { exports: {} }, $r = { exports: {} }, Nr = { exports: {} }, Rr = { exports: {} }, Cr = { exports: {} }, Le = {}, Fr = { exports: {} };
2572
+ var Fa = Ca, Dr = { exports: {} }, qr = { exports: {} }, Nr = { exports: {} }, $r = { exports: {} }, Rr = { exports: {} }, Cr = { exports: {} }, Le = {}, Fr = { exports: {} };
2573
2573
  (function(e, t) {
2574
2574
  t.__esModule = !0, t.default = n;
2575
2575
  function r(a) {
@@ -2656,15 +2656,15 @@ var Wa = Wr.exports, Ur = { exports: {} };
2656
2656
  var Ua = Ur.exports;
2657
2657
  Le.__esModule = !0;
2658
2658
  Le.stripComments = Le.ensureObject = Le.getProp = Le.unesc = void 0;
2659
- var ja = Nt(xi);
2659
+ var ja = $t(xi);
2660
2660
  Le.unesc = ja.default;
2661
- var Ya = Nt(Ha);
2661
+ var Ya = $t(Ha);
2662
2662
  Le.getProp = Ya.default;
2663
- var Ga = Nt(Wa);
2663
+ var Ga = $t(Wa);
2664
2664
  Le.ensureObject = Ga.default;
2665
- var Qa = Nt(Ua);
2665
+ var Qa = $t(Ua);
2666
2666
  Le.stripComments = Qa.default;
2667
- function Nt(e) {
2667
+ function $t(e) {
2668
2668
  return e && e.__esModule ? e : { default: e };
2669
2669
  }
2670
2670
  (function(e, t) {
@@ -2890,24 +2890,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2890
2890
  var S = this.index(k);
2891
2891
  this.nodes.splice(S + 1, 0, E), E.parent = this;
2892
2892
  var P;
2893
- for (var C in this.indexes)
2894
- P = this.indexes[C], S <= P && (this.indexes[C] = P + 1);
2893
+ for (var F in this.indexes)
2894
+ P = this.indexes[F], S <= P && (this.indexes[F] = P + 1);
2895
2895
  return this;
2896
2896
  }, _.insertBefore = function(k, E) {
2897
2897
  E.parent = this;
2898
2898
  var S = this.index(k);
2899
2899
  this.nodes.splice(S, 0, E), E.parent = this;
2900
2900
  var P;
2901
- for (var C in this.indexes)
2902
- P = this.indexes[C], P <= S && (this.indexes[C] = P + 1);
2901
+ for (var F in this.indexes)
2902
+ P = this.indexes[F], P <= S && (this.indexes[F] = P + 1);
2903
2903
  return this;
2904
2904
  }, _._findChildAtPosition = function(k, E) {
2905
2905
  var S = void 0;
2906
2906
  return this.each(function(P) {
2907
2907
  if (P.atPosition) {
2908
- var C = P.atPosition(k, E);
2909
- if (C)
2910
- return S = C, !1;
2908
+ var F = P.atPosition(k, E);
2909
+ if (F)
2910
+ return S = F, !1;
2911
2911
  } else if (P.isAtPosition(k, E))
2912
2912
  return S = P, !1;
2913
2913
  }), S;
@@ -2987,9 +2987,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2987
2987
  });
2988
2988
  }, _.split = function(k) {
2989
2989
  var E = this, S = [];
2990
- return this.reduce(function(P, C, D) {
2991
- var z = k.call(E, C);
2992
- return S.push(C), z ? (P.push(S), S = []) : D === E.length - 1 && P.push(S), P;
2990
+ return this.reduce(function(P, F, D) {
2991
+ var z = k.call(E, F);
2992
+ return S.push(F), z ? (P.push(S), S = []) : D === E.length - 1 && P.push(S), P;
2993
2993
  }, []);
2994
2994
  }, _.map = function(k) {
2995
2995
  return this.nodes.map(k);
@@ -3070,8 +3070,8 @@ var hn = Rr.exports;
3070
3070
  }]), g;
3071
3071
  }(r.default);
3072
3072
  t.default = l, e.exports = t.default;
3073
- })(Nr, Nr.exports);
3074
- var ki = Nr.exports, jr = { exports: {} };
3073
+ })($r, $r.exports);
3074
+ var ki = $r.exports, jr = { exports: {} };
3075
3075
  (function(e, t) {
3076
3076
  t.__esModule = !0, t.default = void 0;
3077
3077
  var r = n(hn), i = J;
@@ -3414,12 +3414,12 @@ function dr(e) {
3414
3414
  return S && S.__esModule ? S : { default: S };
3415
3415
  }
3416
3416
  function p(S, P) {
3417
- for (var C = 0; C < P.length; C++) {
3418
- var D = P[C];
3417
+ for (var F = 0; F < P.length; F++) {
3418
+ var D = P[F];
3419
3419
  D.enumerable = D.enumerable || !1, D.configurable = !0, "value" in D && (D.writable = !0), Object.defineProperty(S, D.key, D);
3420
3420
  }
3421
3421
  }
3422
- function s(S, P, C) {
3422
+ function s(S, P, F) {
3423
3423
  return P && p(S.prototype, P), S;
3424
3424
  }
3425
3425
  function l(S, P) {
@@ -3435,19 +3435,19 @@ function dr(e) {
3435
3435
  }, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."), d = g(function() {
3436
3436
  }, "Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");
3437
3437
  function m(S) {
3438
- var P = !1, C = null, D = S, z = D.match(b);
3439
- return z && (C = z[1], D = z[2]), D = (0, r.default)(D), D !== S && (P = !0), {
3438
+ var P = !1, F = null, D = S, z = D.match(b);
3439
+ return z && (F = z[1], D = z[2]), D = (0, r.default)(D), D !== S && (P = !0), {
3440
3440
  deprecatedUsage: P,
3441
3441
  unescaped: D,
3442
- quoteMark: C
3442
+ quoteMark: F
3443
3443
  };
3444
3444
  }
3445
3445
  function _(S) {
3446
3446
  if (S.quoteMark !== void 0 || S.value === void 0)
3447
3447
  return S;
3448
3448
  d();
3449
- var P = m(S.value), C = P.quoteMark, D = P.unescaped;
3450
- return S.raws || (S.raws = {}), S.raws.value === void 0 && (S.raws.value = S.value), S.value = D, S.quoteMark = C, S;
3449
+ var P = m(S.value), F = P.quoteMark, D = P.unescaped;
3450
+ return S.raws || (S.raws = {}), S.raws.value === void 0 && (S.raws.value = S.value), S.value = D, S.quoteMark = F, S;
3451
3451
  }
3452
3452
  var T = /* @__PURE__ */ function(S) {
3453
3453
  l(P, S);
@@ -3462,16 +3462,16 @@ function dr(e) {
3462
3462
  }, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")
3463
3463
  }), z._constructed = !0, z;
3464
3464
  }
3465
- var C = P.prototype;
3466
- return C.getQuotedValue = function(z) {
3465
+ var F = P.prototype;
3466
+ return F.getQuotedValue = function(z) {
3467
3467
  z === void 0 && (z = {});
3468
3468
  var L = this._determineQuoteMark(z), Q = k[L], te = (0, t.default)(this._value, Q);
3469
3469
  return te;
3470
- }, C._determineQuoteMark = function(z) {
3470
+ }, F._determineQuoteMark = function(z) {
3471
3471
  return z.smart ? this.smartQuoteMark(z) : this.preferredQuoteMark(z);
3472
- }, C.setValue = function(z, L) {
3472
+ }, F.setValue = function(z, L) {
3473
3473
  L === void 0 && (L = {}), this._value = z, this._quoteMark = this._determineQuoteMark(L), this._syncRawValue();
3474
- }, C.smartQuoteMark = function(z) {
3474
+ }, F.smartQuoteMark = function(z) {
3475
3475
  var L = this.value, Q = L.replace(/[^']/g, "").length, te = L.replace(/[^"]/g, "").length;
3476
3476
  if (Q + te === 0) {
3477
3477
  var ge = (0, t.default)(L, {
@@ -3481,36 +3481,36 @@ function dr(e) {
3481
3481
  return P.NO_QUOTE;
3482
3482
  var fe = this.preferredQuoteMark(z);
3483
3483
  if (fe === P.NO_QUOTE) {
3484
- var ve = this.quoteMark || z.quoteMark || P.DOUBLE_QUOTE, V = k[ve], ye = (0, t.default)(L, V);
3485
- if (ye.length < ge.length)
3484
+ var ve = this.quoteMark || z.quoteMark || P.DOUBLE_QUOTE, V = k[ve], we = (0, t.default)(L, V);
3485
+ if (we.length < ge.length)
3486
3486
  return ve;
3487
3487
  }
3488
3488
  return fe;
3489
3489
  } else return te === Q ? this.preferredQuoteMark(z) : te < Q ? P.DOUBLE_QUOTE : P.SINGLE_QUOTE;
3490
- }, C.preferredQuoteMark = function(z) {
3490
+ }, F.preferredQuoteMark = function(z) {
3491
3491
  var L = z.preferCurrentQuoteMark ? this.quoteMark : z.quoteMark;
3492
3492
  return L === void 0 && (L = z.preferCurrentQuoteMark ? z.quoteMark : this.quoteMark), L === void 0 && (L = P.DOUBLE_QUOTE), L;
3493
- }, C._syncRawValue = function() {
3493
+ }, F._syncRawValue = function() {
3494
3494
  var z = (0, t.default)(this._value, k[this.quoteMark]);
3495
3495
  z === this._value ? this.raws && delete this.raws.value : this.raws.value = z;
3496
- }, C._handleEscapes = function(z, L) {
3496
+ }, F._handleEscapes = function(z, L) {
3497
3497
  if (this._constructed) {
3498
3498
  var Q = (0, t.default)(L, {
3499
3499
  isIdentifier: !0
3500
3500
  });
3501
3501
  Q !== L ? this.raws[z] = Q : delete this.raws[z];
3502
3502
  }
3503
- }, C._spacesFor = function(z) {
3503
+ }, F._spacesFor = function(z) {
3504
3504
  var L = {
3505
3505
  before: "",
3506
3506
  after: ""
3507
3507
  }, Q = this.spaces[z] || {}, te = this.raws.spaces && this.raws.spaces[z] || {};
3508
3508
  return Object.assign(L, Q, te);
3509
- }, C._stringFor = function(z, L, Q) {
3509
+ }, F._stringFor = function(z, L, Q) {
3510
3510
  L === void 0 && (L = z), Q === void 0 && (Q = E);
3511
3511
  var te = this._spacesFor(L);
3512
3512
  return Q(this.stringifyProperty(z), te);
3513
- }, C.offsetOf = function(z) {
3513
+ }, F.offsetOf = function(z) {
3514
3514
  var L = 1, Q = this._spacesFor("attribute");
3515
3515
  if (L += Q.before.length, z === "namespace" || z === "ns")
3516
3516
  return this.namespace ? L : -1;
@@ -3531,7 +3531,7 @@ function dr(e) {
3531
3531
  L += ve.length, L += fe.after.length;
3532
3532
  var V = this._spacesFor("insensitive");
3533
3533
  return L += V.before.length, z === "insensitive" && this.insensitive ? L : -1;
3534
- }, C.toString = function() {
3534
+ }, F.toString = function() {
3535
3535
  var z = this, L = [this.rawSpaceBefore, "["];
3536
3536
  return L.push(this._stringFor("qualifiedAttribute", "attribute")), this.operator && (this.value || this.value === "") && (L.push(this._stringFor("operator")), L.push(this._stringFor("value")), L.push(this._stringFor("insensitiveFlag", "insensitive", function(Q, te) {
3537
3537
  return Q.length > 0 && !z.quoted && te.before.length === 0 && !(z.spaces.value && z.spaces.value.after) && (te.before = " "), E(Q, te);
@@ -3699,74 +3699,74 @@ var Di = tn.exports, rn = { exports: {} };
3699
3699
  }
3700
3700
  e.exports = t.default;
3701
3701
  })(rn, rn.exports);
3702
- var gs = rn.exports, qi = {}, R = {};
3703
- R.__esModule = !0;
3704
- R.combinator = R.word = R.comment = R.str = R.tab = R.newline = R.feed = R.cr = R.backslash = R.bang = R.slash = R.doubleQuote = R.singleQuote = R.space = R.greaterThan = R.pipe = R.equals = R.plus = R.caret = R.tilde = R.dollar = R.closeSquare = R.openSquare = R.closeParenthesis = R.openParenthesis = R.semicolon = R.colon = R.comma = R.at = R.asterisk = R.ampersand = void 0;
3702
+ var gs = rn.exports, qi = {}, C = {};
3703
+ C.__esModule = !0;
3704
+ C.combinator = C.word = C.comment = C.str = C.tab = C.newline = C.feed = C.cr = C.backslash = C.bang = C.slash = C.doubleQuote = C.singleQuote = C.space = C.greaterThan = C.pipe = C.equals = C.plus = C.caret = C.tilde = C.dollar = C.closeSquare = C.openSquare = C.closeParenthesis = C.openParenthesis = C.semicolon = C.colon = C.comma = C.at = C.asterisk = C.ampersand = void 0;
3705
3705
  var vs = 38;
3706
- R.ampersand = vs;
3706
+ C.ampersand = vs;
3707
3707
  var ms = 42;
3708
- R.asterisk = ms;
3708
+ C.asterisk = ms;
3709
3709
  var bs = 64;
3710
- R.at = bs;
3711
- var ys = 44;
3712
- R.comma = ys;
3713
- var ws = 58;
3714
- R.colon = ws;
3710
+ C.at = bs;
3711
+ var ws = 44;
3712
+ C.comma = ws;
3713
+ var ys = 58;
3714
+ C.colon = ys;
3715
3715
  var _s = 59;
3716
- R.semicolon = _s;
3716
+ C.semicolon = _s;
3717
3717
  var Ts = 40;
3718
- R.openParenthesis = Ts;
3718
+ C.openParenthesis = Ts;
3719
3719
  var Ss = 41;
3720
- R.closeParenthesis = Ss;
3720
+ C.closeParenthesis = Ss;
3721
3721
  var xs = 91;
3722
- R.openSquare = xs;
3722
+ C.openSquare = xs;
3723
3723
  var ks = 93;
3724
- R.closeSquare = ks;
3724
+ C.closeSquare = ks;
3725
3725
  var Ms = 36;
3726
- R.dollar = Ms;
3726
+ C.dollar = Ms;
3727
3727
  var Os = 126;
3728
- R.tilde = Os;
3728
+ C.tilde = Os;
3729
3729
  var Es = 94;
3730
- R.caret = Es;
3730
+ C.caret = Es;
3731
3731
  var Is = 43;
3732
- R.plus = Is;
3732
+ C.plus = Is;
3733
3733
  var Ps = 61;
3734
- R.equals = Ps;
3734
+ C.equals = Ps;
3735
3735
  var As = 124;
3736
- R.pipe = As;
3736
+ C.pipe = As;
3737
3737
  var zs = 62;
3738
- R.greaterThan = zs;
3738
+ C.greaterThan = zs;
3739
3739
  var Bs = 32;
3740
- R.space = Bs;
3741
- var $i = 39;
3742
- R.singleQuote = $i;
3740
+ C.space = Bs;
3741
+ var Ni = 39;
3742
+ C.singleQuote = Ni;
3743
3743
  var Ls = 34;
3744
- R.doubleQuote = Ls;
3744
+ C.doubleQuote = Ls;
3745
3745
  var Ds = 47;
3746
- R.slash = Ds;
3746
+ C.slash = Ds;
3747
3747
  var qs = 33;
3748
- R.bang = qs;
3749
- var $s = 92;
3750
- R.backslash = $s;
3751
- var Ns = 13;
3752
- R.cr = Ns;
3748
+ C.bang = qs;
3749
+ var Ns = 92;
3750
+ C.backslash = Ns;
3751
+ var $s = 13;
3752
+ C.cr = $s;
3753
3753
  var Rs = 12;
3754
- R.feed = Rs;
3754
+ C.feed = Rs;
3755
3755
  var Cs = 10;
3756
- R.newline = Cs;
3756
+ C.newline = Cs;
3757
3757
  var Fs = 9;
3758
- R.tab = Fs;
3759
- var Hs = $i;
3760
- R.str = Hs;
3758
+ C.tab = Fs;
3759
+ var Hs = Ni;
3760
+ C.str = Hs;
3761
3761
  var Ws = -1;
3762
- R.comment = Ws;
3762
+ C.comment = Ws;
3763
3763
  var Us = -2;
3764
- R.word = Us;
3764
+ C.word = Us;
3765
3765
  var js = -3;
3766
- R.combinator = js;
3766
+ C.combinator = js;
3767
3767
  (function(e) {
3768
3768
  e.__esModule = !0, e.default = A, e.FIELDS = void 0;
3769
- var t = a(R), r, i;
3769
+ var t = a(C), r, i;
3770
3770
  function n() {
3771
3771
  if (typeof WeakMap != "function") return null;
3772
3772
  var d = /* @__PURE__ */ new WeakMap();
@@ -3824,12 +3824,12 @@ R.combinator = js;
3824
3824
  };
3825
3825
  e.FIELDS = M;
3826
3826
  function A(d) {
3827
- var m = [], _ = d.css.valueOf(), T = _, k = T.length, E = -1, S = 1, P = 0, C = 0, D, z, L, Q, te, ge, fe, ve, V, ye, ke, Ne, Ie;
3828
- function $(N, O) {
3827
+ var m = [], _ = d.css.valueOf(), T = _, k = T.length, E = -1, S = 1, P = 0, F = 0, D, z, L, Q, te, ge, fe, ve, V, we, ke, $e, Ie;
3828
+ function N($, O) {
3829
3829
  if (d.safe)
3830
3830
  _ += O, V = _.length - 1;
3831
3831
  else
3832
- throw d.error("Unclosed " + N, S, P - E, P);
3832
+ throw d.error("Unclosed " + $, S, P - E, P);
3833
3833
  }
3834
3834
  for (; P < k; ) {
3835
3835
  switch (D = _.charCodeAt(P), D === t.newline && (E = P, S += 1), D) {
@@ -3842,7 +3842,7 @@ R.combinator = js;
3842
3842
  do
3843
3843
  V += 1, D = _.charCodeAt(V), D === t.newline && (E = V, S += 1);
3844
3844
  while (D === t.space || D === t.newline || D === t.tab || D === t.cr || D === t.feed);
3845
- Ie = t.space, Q = S, L = V - E - 1, C = V;
3845
+ Ie = t.space, Q = S, L = V - E - 1, F = V;
3846
3846
  break;
3847
3847
  case t.plus:
3848
3848
  case t.greaterThan:
@@ -3852,7 +3852,7 @@ R.combinator = js;
3852
3852
  do
3853
3853
  V += 1, D = _.charCodeAt(V);
3854
3854
  while (D === t.plus || D === t.greaterThan || D === t.tilde || D === t.pipe);
3855
- Ie = t.combinator, Q = S, L = P - E, C = V;
3855
+ Ie = t.combinator, Q = S, L = P - E, F = V;
3856
3856
  break;
3857
3857
  case t.asterisk:
3858
3858
  case t.ampersand:
@@ -3867,20 +3867,20 @@ R.combinator = js;
3867
3867
  case t.semicolon:
3868
3868
  case t.openParenthesis:
3869
3869
  case t.closeParenthesis:
3870
- V = P, Ie = D, Q = S, L = P - E, C = V + 1;
3870
+ V = P, Ie = D, Q = S, L = P - E, F = V + 1;
3871
3871
  break;
3872
3872
  case t.singleQuote:
3873
3873
  case t.doubleQuote:
3874
- Ne = D === t.singleQuote ? "'" : '"', V = P;
3874
+ $e = D === t.singleQuote ? "'" : '"', V = P;
3875
3875
  do
3876
- for (te = !1, V = _.indexOf(Ne, V + 1), V === -1 && $("quote", Ne), ge = V; _.charCodeAt(ge - 1) === t.backslash; )
3876
+ for (te = !1, V = _.indexOf($e, V + 1), V === -1 && N("quote", $e), ge = V; _.charCodeAt(ge - 1) === t.backslash; )
3877
3877
  ge -= 1, te = !te;
3878
3878
  while (te);
3879
- Ie = t.str, Q = S, L = P - E, C = V + 1;
3879
+ Ie = t.str, Q = S, L = P - E, F = V + 1;
3880
3880
  break;
3881
3881
  default:
3882
- D === t.slash && _.charCodeAt(P + 1) === t.asterisk ? (V = _.indexOf("*/", P + 2) + 1, V === 0 && $("comment", "*/"), z = _.slice(P, V + 1), ve = z.split(`
3883
- `), fe = ve.length - 1, fe > 0 ? (ye = S + fe, ke = V - ve[fe].length) : (ye = S, ke = E), Ie = t.comment, S = ye, Q = ye, L = V - ke) : D === t.slash ? (V = P, Ie = D, Q = S, L = P - E, C = V + 1) : (V = g(_, P), Ie = t.word, Q = S, L = V - E), C = V + 1;
3882
+ D === t.slash && _.charCodeAt(P + 1) === t.asterisk ? (V = _.indexOf("*/", P + 2) + 1, V === 0 && N("comment", "*/"), z = _.slice(P, V + 1), ve = z.split(`
3883
+ `), fe = ve.length - 1, fe > 0 ? (we = S + fe, ke = V - ve[fe].length) : (we = S, ke = E), Ie = t.comment, S = we, Q = we, L = V - ke) : D === t.slash ? (V = P, Ie = D, Q = S, L = P - E, F = V + 1) : (V = g(_, P), Ie = t.word, Q = S, L = V - E), F = V + 1;
3884
3884
  break;
3885
3885
  }
3886
3886
  m.push([
@@ -3896,105 +3896,105 @@ R.combinator = js;
3896
3896
  // [4] Ending column
3897
3897
  P,
3898
3898
  // [5] Start position / Source index
3899
- C
3899
+ F
3900
3900
  // [6] End position
3901
- ]), ke && (E = ke, ke = null), P = C;
3901
+ ]), ke && (E = ke, ke = null), P = F;
3902
3902
  }
3903
3903
  return m;
3904
3904
  }
3905
3905
  })(qi);
3906
3906
  (function(e, t) {
3907
3907
  t.__esModule = !0, t.default = void 0;
3908
- var r = C(ki), i = C(Mi), n = C(Oi), a = C(Ei), u = C(Ii), p = C(Pi), s = C(Ai), l = C(zi), c = P(bn), g = C(Bi), b = C(Li), M = C(Di), A = C(gs), d = P(qi), m = P(R), _ = P(J), T = Le, k, E;
3908
+ var r = F(ki), i = F(Mi), n = F(Oi), a = F(Ei), u = F(Ii), p = F(Pi), s = F(Ai), l = F(zi), c = P(bn), g = F(Bi), b = F(Li), M = F(Di), A = F(gs), d = P(qi), m = P(C), _ = P(J), T = Le, k, E;
3909
3909
  function S() {
3910
3910
  if (typeof WeakMap != "function") return null;
3911
- var $ = /* @__PURE__ */ new WeakMap();
3911
+ var N = /* @__PURE__ */ new WeakMap();
3912
3912
  return S = function() {
3913
- return $;
3914
- }, $;
3915
- }
3916
- function P($) {
3917
- if ($ && $.__esModule)
3918
- return $;
3919
- if ($ === null || typeof $ != "object" && typeof $ != "function")
3920
- return { default: $ };
3921
- var N = S();
3922
- if (N && N.has($))
3923
- return N.get($);
3924
- var O = {}, w = Object.defineProperty && Object.getOwnPropertyDescriptor;
3925
- for (var B in $)
3926
- if (Object.prototype.hasOwnProperty.call($, B)) {
3927
- var W = w ? Object.getOwnPropertyDescriptor($, B) : null;
3928
- W && (W.get || W.set) ? Object.defineProperty(O, B, W) : O[B] = $[B];
3913
+ return N;
3914
+ }, N;
3915
+ }
3916
+ function P(N) {
3917
+ if (N && N.__esModule)
3918
+ return N;
3919
+ if (N === null || typeof N != "object" && typeof N != "function")
3920
+ return { default: N };
3921
+ var $ = S();
3922
+ if ($ && $.has(N))
3923
+ return $.get(N);
3924
+ var O = {}, y = Object.defineProperty && Object.getOwnPropertyDescriptor;
3925
+ for (var B in N)
3926
+ if (Object.prototype.hasOwnProperty.call(N, B)) {
3927
+ var W = y ? Object.getOwnPropertyDescriptor(N, B) : null;
3928
+ W && (W.get || W.set) ? Object.defineProperty(O, B, W) : O[B] = N[B];
3929
3929
  }
3930
- return O.default = $, N && N.set($, O), O;
3930
+ return O.default = N, $ && $.set(N, O), O;
3931
3931
  }
3932
- function C($) {
3933
- return $ && $.__esModule ? $ : { default: $ };
3932
+ function F(N) {
3933
+ return N && N.__esModule ? N : { default: N };
3934
3934
  }
3935
- function D($, N) {
3936
- for (var O = 0; O < N.length; O++) {
3937
- var w = N[O];
3938
- w.enumerable = w.enumerable || !1, w.configurable = !0, "value" in w && (w.writable = !0), Object.defineProperty($, w.key, w);
3935
+ function D(N, $) {
3936
+ for (var O = 0; O < $.length; O++) {
3937
+ var y = $[O];
3938
+ y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(N, y.key, y);
3939
3939
  }
3940
3940
  }
3941
- function z($, N, O) {
3942
- return N && D($.prototype, N), $;
3941
+ function z(N, $, O) {
3942
+ return $ && D(N.prototype, $), N;
3943
3943
  }
3944
3944
  var L = (k = {}, k[m.space] = !0, k[m.cr] = !0, k[m.feed] = !0, k[m.newline] = !0, k[m.tab] = !0, k), Q = Object.assign({}, L, (E = {}, E[m.comment] = !0, E));
3945
- function te($) {
3945
+ function te(N) {
3946
3946
  return {
3947
- line: $[d.FIELDS.START_LINE],
3948
- column: $[d.FIELDS.START_COL]
3947
+ line: N[d.FIELDS.START_LINE],
3948
+ column: N[d.FIELDS.START_COL]
3949
3949
  };
3950
3950
  }
3951
- function ge($) {
3951
+ function ge(N) {
3952
3952
  return {
3953
- line: $[d.FIELDS.END_LINE],
3954
- column: $[d.FIELDS.END_COL]
3953
+ line: N[d.FIELDS.END_LINE],
3954
+ column: N[d.FIELDS.END_COL]
3955
3955
  };
3956
3956
  }
3957
- function fe($, N, O, w) {
3957
+ function fe(N, $, O, y) {
3958
3958
  return {
3959
3959
  start: {
3960
- line: $,
3961
- column: N
3960
+ line: N,
3961
+ column: $
3962
3962
  },
3963
3963
  end: {
3964
3964
  line: O,
3965
- column: w
3965
+ column: y
3966
3966
  }
3967
3967
  };
3968
3968
  }
3969
- function ve($) {
3970
- return fe($[d.FIELDS.START_LINE], $[d.FIELDS.START_COL], $[d.FIELDS.END_LINE], $[d.FIELDS.END_COL]);
3969
+ function ve(N) {
3970
+ return fe(N[d.FIELDS.START_LINE], N[d.FIELDS.START_COL], N[d.FIELDS.END_LINE], N[d.FIELDS.END_COL]);
3971
3971
  }
3972
- function V($, N) {
3973
- if ($)
3974
- return fe($[d.FIELDS.START_LINE], $[d.FIELDS.START_COL], N[d.FIELDS.END_LINE], N[d.FIELDS.END_COL]);
3972
+ function V(N, $) {
3973
+ if (N)
3974
+ return fe(N[d.FIELDS.START_LINE], N[d.FIELDS.START_COL], $[d.FIELDS.END_LINE], $[d.FIELDS.END_COL]);
3975
3975
  }
3976
- function ye($, N) {
3977
- var O = $[N];
3976
+ function we(N, $) {
3977
+ var O = N[$];
3978
3978
  if (typeof O == "string")
3979
- return O.indexOf("\\") !== -1 && ((0, T.ensureObject)($, "raws"), $[N] = (0, T.unesc)(O), $.raws[N] === void 0 && ($.raws[N] = O)), $;
3979
+ return O.indexOf("\\") !== -1 && ((0, T.ensureObject)(N, "raws"), N[$] = (0, T.unesc)(O), N.raws[$] === void 0 && (N.raws[$] = O)), N;
3980
3980
  }
3981
- function ke($, N) {
3982
- for (var O = -1, w = []; (O = $.indexOf(N, O + 1)) !== -1; )
3983
- w.push(O);
3984
- return w;
3981
+ function ke(N, $) {
3982
+ for (var O = -1, y = []; (O = N.indexOf($, O + 1)) !== -1; )
3983
+ y.push(O);
3984
+ return y;
3985
3985
  }
3986
- function Ne() {
3987
- var $ = Array.prototype.concat.apply([], arguments);
3988
- return $.filter(function(N, O) {
3989
- return O === $.indexOf(N);
3986
+ function $e() {
3987
+ var N = Array.prototype.concat.apply([], arguments);
3988
+ return N.filter(function($, O) {
3989
+ return O === N.indexOf($);
3990
3990
  });
3991
3991
  }
3992
3992
  var Ie = /* @__PURE__ */ function() {
3993
- function $(O, w) {
3994
- w === void 0 && (w = {}), this.rule = O, this.options = Object.assign({
3993
+ function N(O, y) {
3994
+ y === void 0 && (y = {}), this.rule = O, this.options = Object.assign({
3995
3995
  lossy: !1,
3996
3996
  safe: !1
3997
- }, w), this.position = 0, this.css = typeof this.rule == "string" ? this.rule : this.rule.selector, this.tokens = (0, d.default)({
3997
+ }, y), this.position = 0, this.css = typeof this.rule == "string" ? this.rule : this.rule.selector, this.tokens = (0, d.default)({
3998
3998
  css: this.css,
3999
3999
  error: this._errorGenerator(),
4000
4000
  safe: this.options.safe
@@ -4013,26 +4013,26 @@ R.combinator = js;
4013
4013
  });
4014
4014
  this.root.append(W), this.current = W, this.loop();
4015
4015
  }
4016
- var N = $.prototype;
4017
- return N._errorGenerator = function() {
4018
- var w = this;
4016
+ var $ = N.prototype;
4017
+ return $._errorGenerator = function() {
4018
+ var y = this;
4019
4019
  return function(B, W) {
4020
- return typeof w.rule == "string" ? new Error(B) : w.rule.error(B, W);
4020
+ return typeof y.rule == "string" ? new Error(B) : y.rule.error(B, W);
4021
4021
  };
4022
- }, N.attribute = function() {
4023
- var w = [], B = this.currToken;
4022
+ }, $.attribute = function() {
4023
+ var y = [], B = this.currToken;
4024
4024
  for (this.position++; this.position < this.tokens.length && this.currToken[d.FIELDS.TYPE] !== m.closeSquare; )
4025
- w.push(this.currToken), this.position++;
4025
+ y.push(this.currToken), this.position++;
4026
4026
  if (this.currToken[d.FIELDS.TYPE] !== m.closeSquare)
4027
4027
  return this.expected("closing square bracket", this.currToken[d.FIELDS.START_POS]);
4028
- var W = w.length, x = {
4028
+ var W = y.length, x = {
4029
4029
  source: fe(B[1], B[2], this.currToken[3], this.currToken[4]),
4030
4030
  sourceIndex: B[d.FIELDS.START_POS]
4031
4031
  };
4032
- if (W === 1 && !~[m.word].indexOf(w[0][d.FIELDS.TYPE]))
4033
- return this.expected("attribute", w[0][d.FIELDS.START_POS]);
4032
+ if (W === 1 && !~[m.word].indexOf(y[0][d.FIELDS.TYPE]))
4033
+ return this.expected("attribute", y[0][d.FIELDS.START_POS]);
4034
4034
  for (var G = 0, ne = "", K = "", j = null, se = !1; G < W; ) {
4035
- var me = w[G], X = this.content(me), de = w[G + 1];
4035
+ var me = y[G], X = this.content(me), de = y[G + 1];
4036
4036
  switch (me[d.FIELDS.TYPE]) {
4037
4037
  case m.space:
4038
4038
  if (se = !0, this.options.lossy)
@@ -4073,7 +4073,7 @@ R.combinator = js;
4073
4073
  de[d.FIELDS.TYPE] === m.equals ? (x.operator = X, j = "operator") : !x.namespace && !x.attribute && (x.namespace = !0), se = !1;
4074
4074
  break;
4075
4075
  case m.word:
4076
- if (de && this.content(de) === "|" && w[G + 2] && w[G + 2][d.FIELDS.TYPE] !== m.equals && // this look-ahead probably fails with comment nodes involved.
4076
+ if (de && this.content(de) === "|" && y[G + 2] && y[G + 2][d.FIELDS.TYPE] !== m.equals && // this look-ahead probably fails with comment nodes involved.
4077
4077
  !x.operator && !x.namespace)
4078
4078
  x.namespace = X, j = "namespace";
4079
4079
  else if (!x.attribute || j === "attribute" && !se) {
@@ -4125,9 +4125,9 @@ R.combinator = js;
4125
4125
  }
4126
4126
  G++;
4127
4127
  }
4128
- ye(x, "attribute"), ye(x, "namespace"), this.newNode(new c.default(x)), this.position++;
4129
- }, N.parseWhitespaceEquivalentTokens = function(w) {
4130
- w < 0 && (w = this.tokens.length);
4128
+ we(x, "attribute"), we(x, "namespace"), this.newNode(new c.default(x)), this.position++;
4129
+ }, $.parseWhitespaceEquivalentTokens = function(y) {
4130
+ y < 0 && (y = this.tokens.length);
4131
4131
  var B = this.position, W = [], x = "", G = void 0;
4132
4132
  do
4133
4133
  if (L[this.currToken[d.FIELDS.TYPE]])
@@ -4141,7 +4141,7 @@ R.combinator = js;
4141
4141
  spaces: ne
4142
4142
  }), W.push(G);
4143
4143
  }
4144
- while (++this.position < w);
4144
+ while (++this.position < y);
4145
4145
  if (x) {
4146
4146
  if (G)
4147
4147
  G.spaces.after = x;
@@ -4159,11 +4159,11 @@ R.combinator = js;
4159
4159
  }
4160
4160
  }
4161
4161
  return W;
4162
- }, N.convertWhitespaceNodesToSpace = function(w, B) {
4162
+ }, $.convertWhitespaceNodesToSpace = function(y, B) {
4163
4163
  var W = this;
4164
4164
  B === void 0 && (B = !1);
4165
4165
  var x = "", G = "";
4166
- w.forEach(function(K) {
4166
+ y.forEach(function(K) {
4167
4167
  var j = W.lossySpace(K.spaces.before, B), se = W.lossySpace(K.rawSpaceBefore, B);
4168
4168
  x += j + W.lossySpace(K.spaces.after, B && j.length === 0), G += j + K.value + W.lossySpace(K.rawSpaceAfter, B && se.length === 0);
4169
4169
  }), G === x && (G = void 0);
@@ -4172,12 +4172,12 @@ R.combinator = js;
4172
4172
  rawSpace: G
4173
4173
  };
4174
4174
  return ne;
4175
- }, N.isNamedCombinator = function(w) {
4176
- return w === void 0 && (w = this.position), this.tokens[w + 0] && this.tokens[w + 0][d.FIELDS.TYPE] === m.slash && this.tokens[w + 1] && this.tokens[w + 1][d.FIELDS.TYPE] === m.word && this.tokens[w + 2] && this.tokens[w + 2][d.FIELDS.TYPE] === m.slash;
4177
- }, N.namedCombinator = function() {
4175
+ }, $.isNamedCombinator = function(y) {
4176
+ return y === void 0 && (y = this.position), this.tokens[y + 0] && this.tokens[y + 0][d.FIELDS.TYPE] === m.slash && this.tokens[y + 1] && this.tokens[y + 1][d.FIELDS.TYPE] === m.word && this.tokens[y + 2] && this.tokens[y + 2][d.FIELDS.TYPE] === m.slash;
4177
+ }, $.namedCombinator = function() {
4178
4178
  if (this.isNamedCombinator()) {
4179
- var w = this.content(this.tokens[this.position + 1]), B = (0, T.unesc)(w).toLowerCase(), W = {};
4180
- B !== w && (W.value = "/" + w + "/");
4179
+ var y = this.content(this.tokens[this.position + 1]), B = (0, T.unesc)(y).toLowerCase(), W = {};
4180
+ B !== y && (W.value = "/" + y + "/");
4181
4181
  var x = new b.default({
4182
4182
  value: "/" + B + "/",
4183
4183
  source: fe(this.currToken[d.FIELDS.START_LINE], this.currToken[d.FIELDS.START_COL], this.tokens[this.position + 2][d.FIELDS.END_LINE], this.tokens[this.position + 2][d.FIELDS.END_COL]),
@@ -4187,8 +4187,8 @@ R.combinator = js;
4187
4187
  return this.position = this.position + 3, x;
4188
4188
  } else
4189
4189
  this.unexpected();
4190
- }, N.combinator = function() {
4191
- var w = this;
4190
+ }, $.combinator = function() {
4191
+ var y = this;
4192
4192
  if (this.content() === "|")
4193
4193
  return this.namespace();
4194
4194
  var B = this.locateNextMeaningfulToken(this.position);
@@ -4201,7 +4201,7 @@ R.combinator = js;
4201
4201
  K !== void 0 && (x.rawSpaceAfter += K), x.spaces.after += ne;
4202
4202
  } else
4203
4203
  W.forEach(function(Ae) {
4204
- return w.newNode(Ae);
4204
+ return y.newNode(Ae);
4205
4205
  });
4206
4206
  }
4207
4207
  return;
@@ -4233,47 +4233,47 @@ R.combinator = js;
4233
4233
  });
4234
4234
  }
4235
4235
  return this.currToken && this.currToken[d.FIELDS.TYPE] === m.space && (me.spaces.after = this.optionalSpace(this.content()), this.position++), this.newNode(me);
4236
- }, N.comma = function() {
4236
+ }, $.comma = function() {
4237
4237
  if (this.position === this.tokens.length - 1) {
4238
4238
  this.root.trailingComma = !0, this.position++;
4239
4239
  return;
4240
4240
  }
4241
4241
  this.current._inferEndPosition();
4242
- var w = new i.default({
4242
+ var y = new i.default({
4243
4243
  source: {
4244
4244
  start: te(this.tokens[this.position + 1])
4245
4245
  }
4246
4246
  });
4247
- this.current.parent.append(w), this.current = w, this.position++;
4248
- }, N.comment = function() {
4249
- var w = this.currToken;
4247
+ this.current.parent.append(y), this.current = y, this.position++;
4248
+ }, $.comment = function() {
4249
+ var y = this.currToken;
4250
4250
  this.newNode(new a.default({
4251
4251
  value: this.content(),
4252
- source: ve(w),
4253
- sourceIndex: w[d.FIELDS.START_POS]
4252
+ source: ve(y),
4253
+ sourceIndex: y[d.FIELDS.START_POS]
4254
4254
  })), this.position++;
4255
- }, N.error = function(w, B) {
4256
- throw this.root.error(w, B);
4257
- }, N.missingBackslash = function() {
4255
+ }, $.error = function(y, B) {
4256
+ throw this.root.error(y, B);
4257
+ }, $.missingBackslash = function() {
4258
4258
  return this.error("Expected a backslash preceding the semicolon.", {
4259
4259
  index: this.currToken[d.FIELDS.START_POS]
4260
4260
  });
4261
- }, N.missingParenthesis = function() {
4261
+ }, $.missingParenthesis = function() {
4262
4262
  return this.expected("opening parenthesis", this.currToken[d.FIELDS.START_POS]);
4263
- }, N.missingSquareBracket = function() {
4263
+ }, $.missingSquareBracket = function() {
4264
4264
  return this.expected("opening square bracket", this.currToken[d.FIELDS.START_POS]);
4265
- }, N.unexpected = function() {
4265
+ }, $.unexpected = function() {
4266
4266
  return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[d.FIELDS.START_POS]);
4267
- }, N.namespace = function() {
4268
- var w = this.prevToken && this.content(this.prevToken) || !0;
4267
+ }, $.namespace = function() {
4268
+ var y = this.prevToken && this.content(this.prevToken) || !0;
4269
4269
  if (this.nextToken[d.FIELDS.TYPE] === m.word)
4270
- return this.position++, this.word(w);
4270
+ return this.position++, this.word(y);
4271
4271
  if (this.nextToken[d.FIELDS.TYPE] === m.asterisk)
4272
- return this.position++, this.universal(w);
4273
- }, N.nesting = function() {
4272
+ return this.position++, this.universal(y);
4273
+ }, $.nesting = function() {
4274
4274
  if (this.nextToken) {
4275
- var w = this.content(this.nextToken);
4276
- if (w === "|") {
4275
+ var y = this.content(this.nextToken);
4276
+ if (y === "|") {
4277
4277
  this.position++;
4278
4278
  return;
4279
4279
  }
@@ -4284,21 +4284,21 @@ R.combinator = js;
4284
4284
  source: ve(B),
4285
4285
  sourceIndex: B[d.FIELDS.START_POS]
4286
4286
  })), this.position++;
4287
- }, N.parentheses = function() {
4288
- var w = this.current.last, B = 1;
4289
- if (this.position++, w && w.type === _.PSEUDO) {
4287
+ }, $.parentheses = function() {
4288
+ var y = this.current.last, B = 1;
4289
+ if (this.position++, y && y.type === _.PSEUDO) {
4290
4290
  var W = new i.default({
4291
4291
  source: {
4292
4292
  start: te(this.tokens[this.position - 1])
4293
4293
  }
4294
4294
  }), x = this.current;
4295
- for (w.append(W), this.current = W; this.position < this.tokens.length && B; )
4295
+ for (y.append(W), this.current = W; this.position < this.tokens.length && B; )
4296
4296
  this.currToken[d.FIELDS.TYPE] === m.openParenthesis && B++, this.currToken[d.FIELDS.TYPE] === m.closeParenthesis && B--, B ? this.parse() : (this.current.source.end = ge(this.currToken), this.current.parent.source.end = ge(this.currToken), this.position++);
4297
4297
  this.current = x;
4298
4298
  } else {
4299
4299
  for (var G = this.currToken, ne = "(", K; this.position < this.tokens.length && B; )
4300
4300
  this.currToken[d.FIELDS.TYPE] === m.openParenthesis && B++, this.currToken[d.FIELDS.TYPE] === m.closeParenthesis && B--, K = this.currToken, ne += this.parseParenthesisToken(this.currToken), this.position++;
4301
- w ? w.appendToPropertyAndEscape("value", ne, ne) : this.newNode(new s.default({
4301
+ y ? y.appendToPropertyAndEscape("value", ne, ne) : this.newNode(new s.default({
4302
4302
  value: ne,
4303
4303
  source: fe(G[d.FIELDS.START_LINE], G[d.FIELDS.START_COL], K[d.FIELDS.END_LINE], K[d.FIELDS.END_COL]),
4304
4304
  sourceIndex: G[d.FIELDS.START_POS]
@@ -4306,36 +4306,36 @@ R.combinator = js;
4306
4306
  }
4307
4307
  if (B)
4308
4308
  return this.expected("closing parenthesis", this.currToken[d.FIELDS.START_POS]);
4309
- }, N.pseudo = function() {
4310
- for (var w = this, B = "", W = this.currToken; this.currToken && this.currToken[d.FIELDS.TYPE] === m.colon; )
4309
+ }, $.pseudo = function() {
4310
+ for (var y = this, B = "", W = this.currToken; this.currToken && this.currToken[d.FIELDS.TYPE] === m.colon; )
4311
4311
  B += this.content(), this.position++;
4312
4312
  if (!this.currToken)
4313
4313
  return this.expected(["pseudo-class", "pseudo-element"], this.position - 1);
4314
4314
  if (this.currToken[d.FIELDS.TYPE] === m.word)
4315
4315
  this.splitWord(!1, function(x, G) {
4316
- B += x, w.newNode(new l.default({
4316
+ B += x, y.newNode(new l.default({
4317
4317
  value: B,
4318
- source: V(W, w.currToken),
4318
+ source: V(W, y.currToken),
4319
4319
  sourceIndex: W[d.FIELDS.START_POS]
4320
- })), G > 1 && w.nextToken && w.nextToken[d.FIELDS.TYPE] === m.openParenthesis && w.error("Misplaced parenthesis.", {
4321
- index: w.nextToken[d.FIELDS.START_POS]
4320
+ })), G > 1 && y.nextToken && y.nextToken[d.FIELDS.TYPE] === m.openParenthesis && y.error("Misplaced parenthesis.", {
4321
+ index: y.nextToken[d.FIELDS.START_POS]
4322
4322
  });
4323
4323
  });
4324
4324
  else
4325
4325
  return this.expected(["pseudo-class", "pseudo-element"], this.currToken[d.FIELDS.START_POS]);
4326
- }, N.space = function() {
4327
- var w = this.content();
4326
+ }, $.space = function() {
4327
+ var y = this.content();
4328
4328
  this.position === 0 || this.prevToken[d.FIELDS.TYPE] === m.comma || this.prevToken[d.FIELDS.TYPE] === m.openParenthesis || this.current.nodes.every(function(B) {
4329
4329
  return B.type === "comment";
4330
- }) ? (this.spaces = this.optionalSpace(w), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[d.FIELDS.TYPE] === m.comma || this.nextToken[d.FIELDS.TYPE] === m.closeParenthesis ? (this.current.last.spaces.after = this.optionalSpace(w), this.position++) : this.combinator();
4331
- }, N.string = function() {
4332
- var w = this.currToken;
4330
+ }) ? (this.spaces = this.optionalSpace(y), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[d.FIELDS.TYPE] === m.comma || this.nextToken[d.FIELDS.TYPE] === m.closeParenthesis ? (this.current.last.spaces.after = this.optionalSpace(y), this.position++) : this.combinator();
4331
+ }, $.string = function() {
4332
+ var y = this.currToken;
4333
4333
  this.newNode(new s.default({
4334
4334
  value: this.content(),
4335
- source: ve(w),
4336
- sourceIndex: w[d.FIELDS.START_POS]
4335
+ source: ve(y),
4336
+ sourceIndex: y[d.FIELDS.START_POS]
4337
4337
  })), this.position++;
4338
- }, N.universal = function(w) {
4338
+ }, $.universal = function(y) {
4339
4339
  var B = this.nextToken;
4340
4340
  if (B && this.content(B) === "|")
4341
4341
  return this.position++, this.namespace();
@@ -4344,8 +4344,8 @@ R.combinator = js;
4344
4344
  value: this.content(),
4345
4345
  source: ve(W),
4346
4346
  sourceIndex: W[d.FIELDS.START_POS]
4347
- }), w), this.position++;
4348
- }, N.splitWord = function(w, B) {
4347
+ }), y), this.position++;
4348
+ }, $.splitWord = function(y, B) {
4349
4349
  for (var W = this, x = this.nextToken, G = this.content(); x && ~[m.dollar, m.caret, m.equals, m.word].indexOf(x[d.FIELDS.TYPE]); ) {
4350
4350
  this.position++;
4351
4351
  var ne = this.content();
@@ -4364,7 +4364,7 @@ R.combinator = js;
4364
4364
  me.length && (se = se.filter(function(de) {
4365
4365
  return !~me.indexOf(de);
4366
4366
  }));
4367
- var X = (0, A.default)(Ne([0].concat(j, se)));
4367
+ var X = (0, A.default)($e([0].concat(j, se)));
4368
4368
  X.forEach(function(de, Re) {
4369
4369
  var De = X[Re + 1] || G.length, Me = G.slice(de, De);
4370
4370
  if (Re === 0 && B)
@@ -4376,32 +4376,32 @@ R.combinator = js;
4376
4376
  source: Ae,
4377
4377
  sourceIndex: Oe
4378
4378
  };
4379
- _e = new n.default(ye(ze, "value"));
4379
+ _e = new n.default(we(ze, "value"));
4380
4380
  } else if (~se.indexOf(de)) {
4381
4381
  var Ze = {
4382
4382
  value: Me.slice(1),
4383
4383
  source: Ae,
4384
4384
  sourceIndex: Oe
4385
4385
  };
4386
- _e = new u.default(ye(Ze, "value"));
4386
+ _e = new u.default(we(Ze, "value"));
4387
4387
  } else {
4388
4388
  var Ye = {
4389
4389
  value: Me,
4390
4390
  source: Ae,
4391
4391
  sourceIndex: Oe
4392
4392
  };
4393
- ye(Ye, "value"), _e = new p.default(Ye);
4393
+ we(Ye, "value"), _e = new p.default(Ye);
4394
4394
  }
4395
- W.newNode(_e, w), w = null;
4395
+ W.newNode(_e, y), y = null;
4396
4396
  }), this.position++;
4397
- }, N.word = function(w) {
4397
+ }, $.word = function(y) {
4398
4398
  var B = this.nextToken;
4399
- return B && this.content(B) === "|" ? (this.position++, this.namespace()) : this.splitWord(w);
4400
- }, N.loop = function() {
4399
+ return B && this.content(B) === "|" ? (this.position++, this.namespace()) : this.splitWord(y);
4400
+ }, $.loop = function() {
4401
4401
  for (; this.position < this.tokens.length; )
4402
4402
  this.parse(!0);
4403
4403
  return this.current._inferEndPosition(), this.root;
4404
- }, N.parse = function(w) {
4404
+ }, $.parse = function(y) {
4405
4405
  switch (this.currToken[d.FIELDS.TYPE]) {
4406
4406
  case m.space:
4407
4407
  this.space();
@@ -4413,7 +4413,7 @@ R.combinator = js;
4413
4413
  this.parentheses();
4414
4414
  break;
4415
4415
  case m.closeParenthesis:
4416
- w && this.missingParenthesis();
4416
+ y && this.missingParenthesis();
4417
4417
  break;
4418
4418
  case m.openSquare:
4419
4419
  this.attribute();
@@ -4450,40 +4450,40 @@ R.combinator = js;
4450
4450
  default:
4451
4451
  this.unexpected();
4452
4452
  }
4453
- }, N.expected = function(w, B, W) {
4454
- if (Array.isArray(w)) {
4455
- var x = w.pop();
4456
- w = w.join(", ") + " or " + x;
4453
+ }, $.expected = function(y, B, W) {
4454
+ if (Array.isArray(y)) {
4455
+ var x = y.pop();
4456
+ y = y.join(", ") + " or " + x;
4457
4457
  }
4458
- var G = /^[aeiou]/.test(w[0]) ? "an" : "a";
4459
- return W ? this.error("Expected " + G + " " + w + ', found "' + W + '" instead.', {
4458
+ var G = /^[aeiou]/.test(y[0]) ? "an" : "a";
4459
+ return W ? this.error("Expected " + G + " " + y + ', found "' + W + '" instead.', {
4460
4460
  index: B
4461
- }) : this.error("Expected " + G + " " + w + ".", {
4461
+ }) : this.error("Expected " + G + " " + y + ".", {
4462
4462
  index: B
4463
4463
  });
4464
- }, N.requiredSpace = function(w) {
4465
- return this.options.lossy ? " " : w;
4466
- }, N.optionalSpace = function(w) {
4467
- return this.options.lossy ? "" : w;
4468
- }, N.lossySpace = function(w, B) {
4469
- return this.options.lossy ? B ? " " : "" : w;
4470
- }, N.parseParenthesisToken = function(w) {
4471
- var B = this.content(w);
4472
- return w[d.FIELDS.TYPE] === m.space ? this.requiredSpace(B) : B;
4473
- }, N.newNode = function(w, B) {
4474
- return B && (/^ +$/.test(B) && (this.options.lossy || (this.spaces = (this.spaces || "") + B), B = !0), w.namespace = B, ye(w, "namespace")), this.spaces && (w.spaces.before = this.spaces, this.spaces = ""), this.current.append(w);
4475
- }, N.content = function(w) {
4476
- return w === void 0 && (w = this.currToken), this.css.slice(w[d.FIELDS.START_POS], w[d.FIELDS.END_POS]);
4477
- }, N.locateNextMeaningfulToken = function(w) {
4478
- w === void 0 && (w = this.position + 1);
4479
- for (var B = w; B < this.tokens.length; )
4464
+ }, $.requiredSpace = function(y) {
4465
+ return this.options.lossy ? " " : y;
4466
+ }, $.optionalSpace = function(y) {
4467
+ return this.options.lossy ? "" : y;
4468
+ }, $.lossySpace = function(y, B) {
4469
+ return this.options.lossy ? B ? " " : "" : y;
4470
+ }, $.parseParenthesisToken = function(y) {
4471
+ var B = this.content(y);
4472
+ return y[d.FIELDS.TYPE] === m.space ? this.requiredSpace(B) : B;
4473
+ }, $.newNode = function(y, B) {
4474
+ return B && (/^ +$/.test(B) && (this.options.lossy || (this.spaces = (this.spaces || "") + B), B = !0), y.namespace = B, we(y, "namespace")), this.spaces && (y.spaces.before = this.spaces, this.spaces = ""), this.current.append(y);
4475
+ }, $.content = function(y) {
4476
+ return y === void 0 && (y = this.currToken), this.css.slice(y[d.FIELDS.START_POS], y[d.FIELDS.END_POS]);
4477
+ }, $.locateNextMeaningfulToken = function(y) {
4478
+ y === void 0 && (y = this.position + 1);
4479
+ for (var B = y; B < this.tokens.length; )
4480
4480
  if (Q[this.tokens[B][d.FIELDS.TYPE]]) {
4481
4481
  B++;
4482
4482
  continue;
4483
4483
  } else
4484
4484
  return B;
4485
4485
  return -1;
4486
- }, z($, [{
4486
+ }, z(N, [{
4487
4487
  key: "currToken",
4488
4488
  get: function() {
4489
4489
  return this.tokens[this.position];
@@ -4498,11 +4498,11 @@ R.combinator = js;
4498
4498
  get: function() {
4499
4499
  return this.tokens[this.position - 1];
4500
4500
  }
4501
- }]), $;
4501
+ }]), N;
4502
4502
  }();
4503
4503
  t.default = Ie, e.exports = t.default;
4504
- })($r, $r.exports);
4505
- var Ys = $r.exports;
4504
+ })(Nr, Nr.exports);
4505
+ var Ys = Nr.exports;
4506
4506
  (function(e, t) {
4507
4507
  t.__esModule = !0, t.default = void 0;
4508
4508
  var r = i(Ys);
@@ -4583,7 +4583,7 @@ var Ys = $r.exports;
4583
4583
  }();
4584
4584
  t.default = n, e.exports = t.default;
4585
4585
  })(qr, qr.exports);
4586
- var Gs = qr.exports, Ni = {}, le = {};
4586
+ var Gs = qr.exports, $i = {}, le = {};
4587
4587
  le.__esModule = !0;
4588
4588
  le.universal = le.tag = le.string = le.selector = le.root = le.pseudo = le.nesting = le.id = le.comment = le.combinator = le.className = le.attribute = void 0;
4589
4589
  var Qs = qe(bn), Xs = qe(Oi), Vs = qe(Li), Zs = qe(Ei), Js = qe(Ii), Ks = qe(Di), eu = qe(zi), tu = qe(ki), ru = qe(Mi), nu = qe(Ai), iu = qe(Pi), ou = qe(Bi);
@@ -4640,51 +4640,51 @@ var mu = function(t) {
4640
4640
  le.universal = mu;
4641
4641
  var oe = {};
4642
4642
  oe.__esModule = !0;
4643
- oe.isNode = yn;
4643
+ oe.isNode = wn;
4644
4644
  oe.isPseudoElement = Fi;
4645
4645
  oe.isPseudoClass = Eu;
4646
4646
  oe.isContainer = Iu;
4647
4647
  oe.isNamespace = Pu;
4648
4648
  oe.isUniversal = oe.isTag = oe.isString = oe.isSelector = oe.isRoot = oe.isPseudo = oe.isNesting = oe.isIdentifier = oe.isComment = oe.isCombinator = oe.isClassName = oe.isAttribute = void 0;
4649
4649
  var he = J, Pe, bu = (Pe = {}, Pe[he.ATTRIBUTE] = !0, Pe[he.CLASS] = !0, Pe[he.COMBINATOR] = !0, Pe[he.COMMENT] = !0, Pe[he.ID] = !0, Pe[he.NESTING] = !0, Pe[he.PSEUDO] = !0, Pe[he.ROOT] = !0, Pe[he.SELECTOR] = !0, Pe[he.STRING] = !0, Pe[he.TAG] = !0, Pe[he.UNIVERSAL] = !0, Pe);
4650
- function yn(e) {
4650
+ function wn(e) {
4651
4651
  return typeof e == "object" && bu[e.type];
4652
4652
  }
4653
- function $e(e, t) {
4654
- return yn(t) && t.type === e;
4653
+ function Ne(e, t) {
4654
+ return wn(t) && t.type === e;
4655
4655
  }
4656
- var Ri = $e.bind(null, he.ATTRIBUTE);
4656
+ var Ri = Ne.bind(null, he.ATTRIBUTE);
4657
4657
  oe.isAttribute = Ri;
4658
- var yu = $e.bind(null, he.CLASS);
4659
- oe.isClassName = yu;
4660
- var wu = $e.bind(null, he.COMBINATOR);
4661
- oe.isCombinator = wu;
4662
- var _u = $e.bind(null, he.COMMENT);
4658
+ var wu = Ne.bind(null, he.CLASS);
4659
+ oe.isClassName = wu;
4660
+ var yu = Ne.bind(null, he.COMBINATOR);
4661
+ oe.isCombinator = yu;
4662
+ var _u = Ne.bind(null, he.COMMENT);
4663
4663
  oe.isComment = _u;
4664
- var Tu = $e.bind(null, he.ID);
4664
+ var Tu = Ne.bind(null, he.ID);
4665
4665
  oe.isIdentifier = Tu;
4666
- var Su = $e.bind(null, he.NESTING);
4666
+ var Su = Ne.bind(null, he.NESTING);
4667
4667
  oe.isNesting = Su;
4668
- var wn = $e.bind(null, he.PSEUDO);
4669
- oe.isPseudo = wn;
4670
- var xu = $e.bind(null, he.ROOT);
4668
+ var yn = Ne.bind(null, he.PSEUDO);
4669
+ oe.isPseudo = yn;
4670
+ var xu = Ne.bind(null, he.ROOT);
4671
4671
  oe.isRoot = xu;
4672
- var ku = $e.bind(null, he.SELECTOR);
4672
+ var ku = Ne.bind(null, he.SELECTOR);
4673
4673
  oe.isSelector = ku;
4674
- var Mu = $e.bind(null, he.STRING);
4674
+ var Mu = Ne.bind(null, he.STRING);
4675
4675
  oe.isString = Mu;
4676
- var Ci = $e.bind(null, he.TAG);
4676
+ var Ci = Ne.bind(null, he.TAG);
4677
4677
  oe.isTag = Ci;
4678
- var Ou = $e.bind(null, he.UNIVERSAL);
4678
+ var Ou = Ne.bind(null, he.UNIVERSAL);
4679
4679
  oe.isUniversal = Ou;
4680
4680
  function Fi(e) {
4681
- return wn(e) && e.value && (e.value.startsWith("::") || e.value.toLowerCase() === ":before" || e.value.toLowerCase() === ":after" || e.value.toLowerCase() === ":first-letter" || e.value.toLowerCase() === ":first-line");
4681
+ return yn(e) && e.value && (e.value.startsWith("::") || e.value.toLowerCase() === ":before" || e.value.toLowerCase() === ":after" || e.value.toLowerCase() === ":first-letter" || e.value.toLowerCase() === ":first-line");
4682
4682
  }
4683
4683
  function Eu(e) {
4684
- return wn(e) && !Fi(e);
4684
+ return yn(e) && !Fi(e);
4685
4685
  }
4686
4686
  function Iu(e) {
4687
- return !!(yn(e) && e.walk);
4687
+ return !!(wn(e) && e.walk);
4688
4688
  }
4689
4689
  function Pu(e) {
4690
4690
  return Ri(e) || Ci(e);
@@ -4703,10 +4703,10 @@ function Pu(e) {
4703
4703
  Object.keys(i).forEach(function(n) {
4704
4704
  n === "default" || n === "__esModule" || n in e && e[n] === i[n] || (e[n] = i[n]);
4705
4705
  });
4706
- })(Ni);
4706
+ })($i);
4707
4707
  (function(e, t) {
4708
4708
  t.__esModule = !0, t.default = void 0;
4709
- var r = u(Gs), i = a(Ni);
4709
+ var r = u(Gs), i = a($i);
4710
4710
  function n() {
4711
4711
  if (typeof WeakMap != "function") return null;
4712
4712
  var l = /* @__PURE__ */ new WeakMap();
@@ -4768,7 +4768,7 @@ var Lu = {
4768
4768
  return i.nodes.length ? [i.toString(), t.toString()] : [null, e];
4769
4769
  }
4770
4770
  };
4771
- const Du = mi, qu = ka, $u = Ea, Nu = Pa, { commonTrailingPseudos: Ru } = Lu, Hn = {
4771
+ const Du = mi, qu = ka, Nu = Ea, $u = Pa, { commonTrailingPseudos: Ru } = Lu, Hn = {
4772
4772
  // Reserved for future "magic properties", for example:
4773
4773
  // bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
4774
4774
  };
@@ -4792,7 +4792,7 @@ function Cu(e = {}, { target: t, className: r, modifier: i, prefix: n }) {
4792
4792
  qu(
4793
4793
  {},
4794
4794
  ...Object.keys(e).filter((u) => Hn[u]).map((u) => Hn[u](e[u])),
4795
- ...$u(e.css || {})
4795
+ ...Nu(e.css || {})
4796
4796
  )
4797
4797
  ).map(([u, p]) => a(u, p))
4798
4798
  );
@@ -4853,7 +4853,7 @@ var Fu = Du.withOptions(
4853
4853
  );
4854
4854
  },
4855
4855
  () => ({
4856
- theme: { typography: Nu }
4856
+ theme: { typography: $u }
4857
4857
  })
4858
4858
  );
4859
4859
  const Hu = /* @__PURE__ */ cn(Fu), Wu = {
@@ -4896,42 +4896,7 @@ const Hu = /* @__PURE__ */ cn(Fu), Wu = {
4896
4896
  transform: "translate(12px, var(--av-text-input-helper-text, 38px)) scale(0.75)",
4897
4897
  transformOrigin: "top left"
4898
4898
  }
4899
- }, Yu = () => {
4900
- const e = [
4901
- 0,
4902
- 1,
4903
- 2,
4904
- 3,
4905
- 4,
4906
- 5,
4907
- 6,
4908
- 7,
4909
- 8,
4910
- 9,
4911
- 10,
4912
- 11,
4913
- 12,
4914
- 14,
4915
- 16,
4916
- 20,
4917
- 24,
4918
- 28,
4919
- 32,
4920
- 36,
4921
- 44,
4922
- 48,
4923
- 52,
4924
- 56,
4925
- 60,
4926
- 64,
4927
- 72,
4928
- 80,
4929
- 96
4930
- ], t = [];
4931
- return e.forEach((r) => {
4932
- t.push(`m-${r}`), t.push(`mt-${r}`), t.push(`mr-${r}`), t.push(`mb-${r}`), t.push(`ml-${r}`);
4933
- }), t;
4934
- }, Gu = Yu(), Wi = (e, t) => {
4899
+ }, Wi = (e, t) => {
4935
4900
  if (typeof e == "number") {
4936
4901
  if (t === 3)
4937
4902
  return {
@@ -4964,7 +4929,7 @@ const Hu = /* @__PURE__ */ cn(Fu), Wu = {
4964
4929
  alpha: (e & 255) / 255
4965
4930
  };
4966
4931
  }
4967
- }, Qu = {
4932
+ }, Yu = {
4968
4933
  aliceblue: 15792383,
4969
4934
  antiquewhite: 16444375,
4970
4935
  aqua: 65535,
@@ -5115,23 +5080,23 @@ const Hu = /* @__PURE__ */ cn(Fu), Wu = {
5115
5080
  whitesmoke: 16119285,
5116
5081
  yellow: 16776960,
5117
5082
  yellowgreen: 10145074
5118
- }, Xu = (e) => Wi(Qu[e.toLowerCase()], 6), Vu = /^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i, Zu = (e) => {
5083
+ }, Gu = (e) => Wi(Yu[e.toLowerCase()], 6), Qu = /^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i, Xu = (e) => {
5119
5084
  let t;
5120
- return (t = e.match(Vu)) ? Wi(parseInt(t[1], 16), t[1].length) : void 0;
5121
- }, Ge = "([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)", vt = `${Ge}%`, _n = `(?:${Ge}%|${Ge})`, Ju = `(?:${Ge}(deg|grad|rad|turn)|${Ge})`, ut = "\\s*,\\s*", Ku = new RegExp(
5085
+ return (t = e.match(Qu)) ? Wi(parseInt(t[1], 16), t[1].length) : void 0;
5086
+ }, Ge = "([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)", vt = `${Ge}%`, _n = `(?:${Ge}%|${Ge})`, Vu = `(?:${Ge}(deg|grad|rad|turn)|${Ge})`, ut = "\\s*,\\s*", Zu = new RegExp(
5122
5087
  `^rgba?\\(\\s*${Ge}${ut}${Ge}${ut}${Ge}\\s*(?:,\\s*${_n}\\s*)?\\)$`
5123
- ), e0 = new RegExp(
5088
+ ), Ju = new RegExp(
5124
5089
  `^rgba?\\(\\s*${vt}${ut}${vt}${ut}${vt}\\s*(?:,\\s*${_n}\\s*)?\\)$`
5125
- ), t0 = (e) => {
5090
+ ), Ku = (e) => {
5126
5091
  let t = { mode: "rgb" }, r;
5127
- if (r = e.match(Ku))
5092
+ if (r = e.match(Zu))
5128
5093
  r[1] !== void 0 && (t.r = r[1] / 255), r[2] !== void 0 && (t.g = r[2] / 255), r[3] !== void 0 && (t.b = r[3] / 255);
5129
- else if (r = e.match(e0))
5094
+ else if (r = e.match(Ju))
5130
5095
  r[1] !== void 0 && (t.r = r[1] / 100), r[2] !== void 0 && (t.g = r[2] / 100), r[3] !== void 0 && (t.b = r[3] / 100);
5131
5096
  else
5132
5097
  return;
5133
5098
  return r[4] !== void 0 ? t.alpha = Math.max(0, Math.min(1, r[4] / 100)) : r[5] !== void 0 && (t.alpha = Math.max(0, Math.min(1, +r[5]))), t;
5134
- }, r0 = (e, t) => e === void 0 ? void 0 : typeof e != "object" ? c0(e) : e.mode !== void 0 ? e : t ? { ...e, mode: t } : void 0, Ui = (e = "rgb") => (t) => (t = r0(t, e)) !== void 0 ? (
5099
+ }, e0 = (e, t) => e === void 0 ? void 0 : typeof e != "object" ? f0(e) : e.mode !== void 0 ? e : t ? { ...e, mode: t } : void 0, Ui = (e = "rgb") => (t) => (t = e0(t, e)) !== void 0 ? (
5135
5100
  // if the color's mode corresponds to our target mode
5136
5101
  t.mode === e ? (
5137
5102
  // then just return the color
@@ -5154,7 +5119,7 @@ const Hu = /* @__PURE__ */ cn(Fu), Wu = {
5154
5119
  )
5155
5120
  )
5156
5121
  )
5157
- ) : void 0, He = {}, ji = {}, zt = [], Yi = {}, n0 = (e) => e, ae = (e) => (He[e.mode] = {
5122
+ ) : void 0, He = {}, ji = {}, zt = [], Yi = {}, t0 = (e) => e, ae = (e) => (He[e.mode] = {
5158
5123
  ...He[e.mode],
5159
5124
  ...e.toMode
5160
5125
  }, Object.keys(e.fromMode || {}).forEach((t) => {
@@ -5164,16 +5129,16 @@ const Hu = /* @__PURE__ */ cn(Fu), Wu = {
5164
5129
  throw new Error(`Missing interpolator for: ${t}`);
5165
5130
  typeof e.interpolate[t] == "function" && (e.interpolate[t] = {
5166
5131
  use: e.interpolate[t]
5167
- }), e.interpolate[t].fixup || (e.interpolate[t].fixup = n0);
5132
+ }), e.interpolate[t].fixup || (e.interpolate[t].fixup = t0);
5168
5133
  }), ji[e.mode] = e, (e.parse || []).forEach((t) => {
5169
- o0(t, e.mode);
5170
- }), Ui(e.mode)), i0 = (e) => ji[e], o0 = (e, t) => {
5134
+ n0(t, e.mode);
5135
+ }), Ui(e.mode)), r0 = (e) => ji[e], n0 = (e, t) => {
5171
5136
  if (typeof e == "string") {
5172
5137
  if (!t)
5173
5138
  throw new Error("'mode' required when 'parser' is a string");
5174
5139
  Yi[e] = t;
5175
5140
  } else typeof e == "function" && zt.indexOf(e) < 0 && zt.push(e);
5176
- }, on = /[^\x00-\x7F]|[a-zA-Z_]/, a0 = /[^\x00-\x7F]|[-\w]/, I = {
5141
+ }, on = /[^\x00-\x7F]|[a-zA-Z_]/, i0 = /[^\x00-\x7F]|[-\w]/, I = {
5177
5142
  Function: "function",
5178
5143
  Ident: "ident",
5179
5144
  Number: "number",
@@ -5202,7 +5167,7 @@ function an(e) {
5202
5167
  }
5203
5168
  return !1;
5204
5169
  }
5205
- const s0 = {
5170
+ const o0 = {
5206
5171
  deg: 1,
5207
5172
  rad: 180 / Math.PI,
5208
5173
  grad: 9 / 10,
@@ -5212,7 +5177,7 @@ function gt(e) {
5212
5177
  let t = "";
5213
5178
  if ((e[U] === "-" || e[U] === "+") && (t += e[U++]), t += At(e), e[U] === "." && /\d/.test(e[U + 1]) && (t += e[U++] + At(e)), (e[U] === "e" || e[U] === "E") && ((e[U + 1] === "-" || e[U + 1] === "+") && /\d/.test(e[U + 2]) ? t += e[U++] + e[U++] + At(e) : /\d/.test(e[U + 1]) && (t += e[U++] + At(e))), an(e)) {
5214
5179
  let r = Bt(e);
5215
- return r === "deg" || r === "rad" || r === "turn" || r === "grad" ? { type: I.Hue, value: t * s0[r] } : void 0;
5180
+ return r === "deg" || r === "rad" || r === "turn" || r === "grad" ? { type: I.Hue, value: t * o0[r] } : void 0;
5216
5181
  }
5217
5182
  return e[U] === "%" ? (U++, { type: I.Percentage, value: +t }) : { type: I.Number, value: +t };
5218
5183
  }
@@ -5224,15 +5189,15 @@ function At(e) {
5224
5189
  }
5225
5190
  function Bt(e) {
5226
5191
  let t = "";
5227
- for (; U < e.length && a0.test(e[U]); )
5192
+ for (; U < e.length && i0.test(e[U]); )
5228
5193
  t += e[U++];
5229
5194
  return t;
5230
5195
  }
5231
- function u0(e) {
5196
+ function a0(e) {
5232
5197
  let t = Bt(e);
5233
5198
  return e[U] === "(" ? (U++, { type: I.Function, value: t }) : t === "none" ? { type: I.None, value: void 0 } : { type: I.Ident, value: t };
5234
5199
  }
5235
- function l0(e = "") {
5200
+ function s0(e = "") {
5236
5201
  let t = e.trim(), r = [], i;
5237
5202
  for (U = 0; U < t.length; ) {
5238
5203
  if (i = t[U++], i === `
@@ -5296,14 +5261,14 @@ function l0(e = "") {
5296
5261
  continue;
5297
5262
  }
5298
5263
  if (on.test(i)) {
5299
- U--, r.push(u0(t));
5264
+ U--, r.push(a0(t));
5300
5265
  continue;
5301
5266
  }
5302
5267
  return;
5303
5268
  }
5304
5269
  return r;
5305
5270
  }
5306
- function f0(e) {
5271
+ function u0(e) {
5307
5272
  e._i = 0;
5308
5273
  let t = e[e._i++];
5309
5274
  if (!t || t.type !== I.Function || t.value !== "color" || (t = e[e._i++], t.type !== I.Ident))
@@ -5314,7 +5279,7 @@ function f0(e) {
5314
5279
  const i = { mode: r }, n = Gi(e, !1);
5315
5280
  if (!n)
5316
5281
  return;
5317
- const a = i0(r).channels;
5282
+ const a = r0(r).channels;
5318
5283
  for (let u = 0, p, s; u < a.length; u++)
5319
5284
  p = n[u], s = a[u], p.type !== I.None && (i[s] = p.type === I.Number ? p.value : p.value / 100, s === "alpha" && (i[s] = Math.max(0, Math.min(1, i[s]))));
5320
5285
  return i;
@@ -5343,7 +5308,7 @@ function Gi(e, t) {
5343
5308
  return r.length === 3 && r.push({ type: I.None, value: void 0 }), r.every((n) => n.type !== I.Alpha) ? r : void 0;
5344
5309
  }
5345
5310
  }
5346
- function d0(e, t) {
5311
+ function l0(e, t) {
5347
5312
  e._i = 0;
5348
5313
  let r = e[e._i++];
5349
5314
  if (!r || r.type !== I.Function)
@@ -5352,17 +5317,17 @@ function d0(e, t) {
5352
5317
  if (i)
5353
5318
  return i.unshift(r.value), i;
5354
5319
  }
5355
- const c0 = (e) => {
5320
+ const f0 = (e) => {
5356
5321
  if (typeof e != "string")
5357
5322
  return;
5358
- const t = l0(e), r = t ? d0(t, !0) : void 0;
5323
+ const t = s0(e), r = t ? l0(t, !0) : void 0;
5359
5324
  let i, n = 0, a = zt.length;
5360
5325
  for (; n < a; )
5361
5326
  if ((i = zt[n++](e, r)) !== void 0)
5362
5327
  return i;
5363
- return t ? f0(t) : void 0;
5328
+ return t ? u0(t) : void 0;
5364
5329
  };
5365
- function p0(e, t) {
5330
+ function d0(e, t) {
5366
5331
  if (!t || t[0] !== "rgb" && t[0] !== "rgba")
5367
5332
  return;
5368
5333
  const r = { mode: "rgb" }, [, i, n, a, u] = t;
@@ -5375,31 +5340,31 @@ function p0(e, t) {
5375
5340
  )
5376
5341
  )), r;
5377
5342
  }
5378
- const h0 = (e) => e === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha: 0 } : void 0, g0 = (e, t, r) => e + r * (t - e), v0 = (e) => {
5343
+ const c0 = (e) => e === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha: 0 } : void 0, p0 = (e, t, r) => e + r * (t - e), h0 = (e) => {
5379
5344
  let t = [];
5380
5345
  for (let r = 0; r < e.length - 1; r++) {
5381
5346
  let i = e[r], n = e[r + 1];
5382
5347
  i === void 0 && n === void 0 ? t.push(void 0) : i !== void 0 && n !== void 0 ? t.push([i, n]) : t.push(i !== void 0 ? [i, i] : [n, n]);
5383
5348
  }
5384
5349
  return t;
5385
- }, m0 = (e) => (t) => {
5386
- let r = v0(t);
5350
+ }, g0 = (e) => (t) => {
5351
+ let r = h0(t);
5387
5352
  return (i) => {
5388
5353
  let n = i * r.length, a = i >= 1 ? r.length - 1 : Math.max(Math.floor(n), 0), u = r[a];
5389
5354
  return u === void 0 ? void 0 : e(u[0], u[1], n - a);
5390
5355
  };
5391
- }, q = m0(g0), we = (e) => {
5356
+ }, q = g0(p0), ye = (e) => {
5392
5357
  let t = !1, r = e.map((i) => i !== void 0 ? (t = !0, i) : 1);
5393
5358
  return t ? r : e;
5394
5359
  }, lt = {
5395
5360
  mode: "rgb",
5396
5361
  channels: ["r", "g", "b", "alpha"],
5397
5362
  parse: [
5398
- p0,
5399
- Zu,
5400
- t0,
5363
+ d0,
5401
5364
  Xu,
5402
- h0,
5365
+ Ku,
5366
+ Gu,
5367
+ c0,
5403
5368
  "srgb"
5404
5369
  ],
5405
5370
  serialize: "srgb",
@@ -5407,7 +5372,7 @@ const h0 = (e) => e === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
5407
5372
  r: q,
5408
5373
  g: q,
5409
5374
  b: q,
5410
- alpha: { use: q, fixup: we }
5375
+ alpha: { use: q, fixup: ye }
5411
5376
  },
5412
5377
  gamut: !0,
5413
5378
  white: { r: 1, g: 1, b: 1 },
@@ -5473,7 +5438,7 @@ const h0 = (e) => e === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
5473
5438
  b: e * 0.0556300796969936 - t * 0.2039769588889765 + 1.0569715142428784 * r
5474
5439
  });
5475
5440
  return i !== void 0 && (n.alpha = i), n;
5476
- }, b0 = {
5441
+ }, v0 = {
5477
5442
  ...lt,
5478
5443
  mode: "a98",
5479
5444
  parse: ["a98-rgb"],
@@ -5486,24 +5451,24 @@ const h0 = (e) => e === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
5486
5451
  rgb: (e) => nt(Un(e)),
5487
5452
  xyz65: Un
5488
5453
  }
5489
- }, Se = (e) => (e = e % 360) < 0 ? e + 360 : e, y0 = (e, t) => e.map((r, i, n) => {
5454
+ }, Se = (e) => (e = e % 360) < 0 ? e + 360 : e, m0 = (e, t) => e.map((r, i, n) => {
5490
5455
  if (r === void 0)
5491
5456
  return r;
5492
5457
  let a = Se(r);
5493
5458
  return i === 0 || e[i - 1] === void 0 ? a : t(a - Se(n[i - 1]));
5494
- }).reduce((r, i) => !r.length || i === void 0 || r[r.length - 1] === void 0 ? (r.push(i), r) : (r.push(i + r[r.length - 1]), r), []), Ue = (e) => y0(e, (t) => Math.abs(t) <= 180 ? t : t - 360 * Math.sign(t)), Te = [-0.14861, 1.78277, -0.29227, -0.90649, 1.97294, 0], w0 = Math.PI / 180, _0 = 180 / Math.PI;
5459
+ }).reduce((r, i) => !r.length || i === void 0 || r[r.length - 1] === void 0 ? (r.push(i), r) : (r.push(i + r[r.length - 1]), r), []), Ue = (e) => m0(e, (t) => Math.abs(t) <= 180 ? t : t - 360 * Math.sign(t)), Te = [-0.14861, 1.78277, -0.29227, -0.90649, 1.97294, 0], b0 = Math.PI / 180, w0 = 180 / Math.PI;
5495
5460
  let Yn = Te[3] * Te[4], Gn = Te[1] * Te[4], Qn = Te[1] * Te[2] - Te[0] * Te[3];
5496
- const T0 = ({ r: e, g: t, b: r, alpha: i }) => {
5461
+ const y0 = ({ r: e, g: t, b: r, alpha: i }) => {
5497
5462
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
5498
5463
  let n = (Qn * r + e * Yn - t * Gn) / (Qn + Yn - Gn), a = r - n, u = (Te[4] * (t - n) - Te[2] * a) / Te[3], p = {
5499
5464
  mode: "cubehelix",
5500
5465
  l: n,
5501
5466
  s: n === 0 || n === 1 ? void 0 : Math.sqrt(a * a + u * u) / (Te[4] * n * (1 - n))
5502
5467
  };
5503
- return p.s && (p.h = Math.atan2(u, a) * _0 - 120), i !== void 0 && (p.alpha = i), p;
5504
- }, S0 = ({ h: e, s: t, l: r, alpha: i }) => {
5468
+ return p.s && (p.h = Math.atan2(u, a) * w0 - 120), i !== void 0 && (p.alpha = i), p;
5469
+ }, _0 = ({ h: e, s: t, l: r, alpha: i }) => {
5505
5470
  let n = { mode: "rgb" };
5506
- e = (e === void 0 ? 0 : e + 120) * w0, r === void 0 && (r = 0);
5471
+ e = (e === void 0 ? 0 : e + 120) * b0, r === void 0 && (r = 0);
5507
5472
  let a = t === void 0 ? 0 : t * r * (1 - r), u = Math.cos(e), p = Math.sin(e);
5508
5473
  return n.r = r + a * (Te[0] * u + Te[1] * p), n.g = r + a * (Te[2] * u + Te[3] * p), n.b = r + a * (Te[4] * u + Te[5] * p), i !== void 0 && (n.alpha = i), n;
5509
5474
  }, Rt = (e, t) => {
@@ -5511,7 +5476,7 @@ const T0 = ({ r: e, g: t, b: r, alpha: i }) => {
5511
5476
  return 0;
5512
5477
  let r = Se(e.h), i = Se(t.h), n = Math.sin((i - r + 360) / 2 * Math.PI / 180);
5513
5478
  return 2 * Math.sqrt(e.s * t.s) * n;
5514
- }, x0 = (e, t) => {
5479
+ }, T0 = (e, t) => {
5515
5480
  if (e.h === void 0 || t.h === void 0)
5516
5481
  return 0;
5517
5482
  let r = Se(e.h), i = Se(t.h);
@@ -5533,7 +5498,7 @@ const T0 = ({ r: e, g: t, b: r, alpha: i }) => {
5533
5498
  { sin: 0, cos: 0 }
5534
5499
  ), r = Math.atan2(t.sin, t.cos) * 180 / Math.PI;
5535
5500
  return r < 0 ? 360 + r : r;
5536
- }, k0 = {
5501
+ }, S0 = {
5537
5502
  mode: "cubehelix",
5538
5503
  channels: ["h", "s", "l", "alpha"],
5539
5504
  parse: ["--cubehelix"],
@@ -5544,10 +5509,10 @@ const T0 = ({ r: e, g: t, b: r, alpha: i }) => {
5544
5509
  l: [0, 1]
5545
5510
  },
5546
5511
  fromMode: {
5547
- rgb: T0
5512
+ rgb: y0
5548
5513
  },
5549
5514
  toMode: {
5550
- rgb: S0
5515
+ rgb: _0
5551
5516
  },
5552
5517
  interpolate: {
5553
5518
  h: {
@@ -5558,7 +5523,7 @@ const T0 = ({ r: e, g: t, b: r, alpha: i }) => {
5558
5523
  l: q,
5559
5524
  alpha: {
5560
5525
  use: q,
5561
- fixup: we
5526
+ fixup: ye
5562
5527
  }
5563
5528
  },
5564
5529
  difference: {
@@ -5626,7 +5591,7 @@ const Vi = ({ l: e, a: t, b: r, alpha: i }) => {
5626
5591
  c: Math.log(1 + 0.075 * u) / (0.0435 * Ji * Lt)
5627
5592
  };
5628
5593
  return p.c && (p.h = Se((Math.atan2(a, n) + mt) / Math.PI * 180)), i !== void 0 && (p.alpha = i), p;
5629
- }, Xn = (e) => sn(Qe(e, "dlch")), Vn = (e) => Xe(un(e), "dlab"), M0 = {
5594
+ }, Xn = (e) => sn(Qe(e, "dlch")), Vn = (e) => Xe(un(e), "dlab"), x0 = {
5630
5595
  mode: "dlab",
5631
5596
  parse: ["--din99o-lab"],
5632
5597
  serialize: "--din99o-lab",
@@ -5650,10 +5615,10 @@ const Vi = ({ l: e, a: t, b: r, alpha: i }) => {
5650
5615
  b: q,
5651
5616
  alpha: {
5652
5617
  use: q,
5653
- fixup: we
5618
+ fixup: ye
5654
5619
  }
5655
5620
  }
5656
- }, O0 = {
5621
+ }, k0 = {
5657
5622
  mode: "dlch",
5658
5623
  parse: ["--din99o-lch"],
5659
5624
  serialize: "--din99o-lch",
@@ -5682,7 +5647,7 @@ const Vi = ({ l: e, a: t, b: r, alpha: i }) => {
5682
5647
  },
5683
5648
  alpha: {
5684
5649
  use: q,
5685
- fixup: we
5650
+ fixup: ye
5686
5651
  }
5687
5652
  },
5688
5653
  difference: {
@@ -5692,7 +5657,7 @@ const Vi = ({ l: e, a: t, b: r, alpha: i }) => {
5692
5657
  h: je
5693
5658
  }
5694
5659
  };
5695
- function E0({ h: e, s: t, i: r, alpha: i }) {
5660
+ function M0({ h: e, s: t, i: r, alpha: i }) {
5696
5661
  e = Se(e !== void 0 ? e : 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
5697
5662
  let n = Math.abs(e / 60 % 2 - 1), a;
5698
5663
  switch (Math.floor(e / 60)) {
@@ -5743,7 +5708,7 @@ function E0({ h: e, s: t, i: r, alpha: i }) {
5743
5708
  }
5744
5709
  return a.mode = "rgb", i !== void 0 && (a.alpha = i), a;
5745
5710
  }
5746
- function I0({ r: e, g: t, b: r, alpha: i }) {
5711
+ function O0({ r: e, g: t, b: r, alpha: i }) {
5747
5712
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
5748
5713
  let n = Math.max(e, t, r), a = Math.min(e, t, r), u = {
5749
5714
  mode: "hsi",
@@ -5752,15 +5717,15 @@ function I0({ r: e, g: t, b: r, alpha: i }) {
5752
5717
  };
5753
5718
  return n - a !== 0 && (u.h = (n === e ? (t - r) / (n - a) + (t < r) * 6 : n === t ? (r - e) / (n - a) + 2 : (e - t) / (n - a) + 4) * 60), i !== void 0 && (u.alpha = i), u;
5754
5719
  }
5755
- const P0 = {
5720
+ const E0 = {
5756
5721
  mode: "hsi",
5757
5722
  toMode: {
5758
- rgb: E0
5723
+ rgb: M0
5759
5724
  },
5760
5725
  parse: ["--hsi"],
5761
5726
  serialize: "--hsi",
5762
5727
  fromMode: {
5763
- rgb: I0
5728
+ rgb: O0
5764
5729
  },
5765
5730
  channels: ["h", "s", "i", "alpha"],
5766
5731
  ranges: {
@@ -5771,7 +5736,7 @@ const P0 = {
5771
5736
  h: { use: q, fixup: Ue },
5772
5737
  s: q,
5773
5738
  i: q,
5774
- alpha: { use: q, fixup: we }
5739
+ alpha: { use: q, fixup: ye }
5775
5740
  },
5776
5741
  difference: {
5777
5742
  h: Rt
@@ -5780,7 +5745,7 @@ const P0 = {
5780
5745
  h: je
5781
5746
  }
5782
5747
  };
5783
- function A0({ h: e, s: t, l: r, alpha: i }) {
5748
+ function I0({ h: e, s: t, l: r, alpha: i }) {
5784
5749
  e = Se(e !== void 0 ? e : 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
5785
5750
  let n = r + t * (r < 0.5 ? r : 1 - r), a = n - (n - r) * 2 * Math.abs(e / 60 % 2 - 1), u;
5786
5751
  switch (Math.floor(e / 60)) {
@@ -5807,7 +5772,7 @@ function A0({ h: e, s: t, l: r, alpha: i }) {
5807
5772
  }
5808
5773
  return u.mode = "rgb", i !== void 0 && (u.alpha = i), u;
5809
5774
  }
5810
- function z0({ r: e, g: t, b: r, alpha: i }) {
5775
+ function P0({ r: e, g: t, b: r, alpha: i }) {
5811
5776
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
5812
5777
  let n = Math.max(e, t, r), a = Math.min(e, t, r), u = {
5813
5778
  mode: "hsl",
@@ -5816,7 +5781,7 @@ function z0({ r: e, g: t, b: r, alpha: i }) {
5816
5781
  };
5817
5782
  return n - a !== 0 && (u.h = (n === e ? (t - r) / (n - a) + (t < r) * 6 : n === t ? (r - e) / (n - a) + 2 : (e - t) / (n - a) + 4) * 60), i !== void 0 && (u.alpha = i), u;
5818
5783
  }
5819
- const B0 = (e, t) => {
5784
+ const A0 = (e, t) => {
5820
5785
  switch (t) {
5821
5786
  case "deg":
5822
5787
  return +e;
@@ -5827,15 +5792,15 @@ const B0 = (e, t) => {
5827
5792
  case "turn":
5828
5793
  return e * 360;
5829
5794
  }
5830
- }, L0 = new RegExp(
5831
- `^hsla?\\(\\s*${Ju}${ut}${vt}${ut}${vt}\\s*(?:,\\s*${_n}\\s*)?\\)$`
5832
- ), D0 = (e) => {
5833
- let t = e.match(L0);
5795
+ }, z0 = new RegExp(
5796
+ `^hsla?\\(\\s*${Vu}${ut}${vt}${ut}${vt}\\s*(?:,\\s*${_n}\\s*)?\\)$`
5797
+ ), B0 = (e) => {
5798
+ let t = e.match(z0);
5834
5799
  if (!t) return;
5835
5800
  let r = { mode: "hsl" };
5836
- return t[3] !== void 0 ? r.h = +t[3] : t[1] !== void 0 && t[2] !== void 0 && (r.h = B0(t[1], t[2])), t[4] !== void 0 && (r.s = Math.min(Math.max(0, t[4] / 100), 1)), t[5] !== void 0 && (r.l = Math.min(Math.max(0, t[5] / 100), 1)), t[6] !== void 0 ? r.alpha = Math.max(0, Math.min(1, t[6] / 100)) : t[7] !== void 0 && (r.alpha = Math.max(0, Math.min(1, +t[7]))), r;
5801
+ return t[3] !== void 0 ? r.h = +t[3] : t[1] !== void 0 && t[2] !== void 0 && (r.h = A0(t[1], t[2])), t[4] !== void 0 && (r.s = Math.min(Math.max(0, t[4] / 100), 1)), t[5] !== void 0 && (r.l = Math.min(Math.max(0, t[5] / 100), 1)), t[6] !== void 0 ? r.alpha = Math.max(0, Math.min(1, t[6] / 100)) : t[7] !== void 0 && (r.alpha = Math.max(0, Math.min(1, +t[7]))), r;
5837
5802
  };
5838
- function q0(e, t) {
5803
+ function L0(e, t) {
5839
5804
  if (!t || t[0] !== "hsl" && t[0] !== "hsla")
5840
5805
  return;
5841
5806
  const r = { mode: "hsl" }, [, i, n, a, u] = t;
@@ -5865,23 +5830,23 @@ function q0(e, t) {
5865
5830
  const eo = {
5866
5831
  mode: "hsl",
5867
5832
  toMode: {
5868
- rgb: A0
5833
+ rgb: I0
5869
5834
  },
5870
5835
  fromMode: {
5871
- rgb: z0
5836
+ rgb: P0
5872
5837
  },
5873
5838
  channels: ["h", "s", "l", "alpha"],
5874
5839
  ranges: {
5875
5840
  h: [0, 360]
5876
5841
  },
5877
5842
  gamut: "rgb",
5878
- parse: [q0, D0],
5843
+ parse: [L0, B0],
5879
5844
  serialize: (e) => `hsl(${e.h !== void 0 ? e.h : "none"} ${e.s !== void 0 ? e.s * 100 + "%" : "none"} ${e.l !== void 0 ? e.l * 100 + "%" : "none"}${e.alpha < 1 ? ` / ${e.alpha}` : ""})`,
5880
5845
  interpolate: {
5881
5846
  h: { use: q, fixup: Ue },
5882
5847
  s: q,
5883
5848
  l: q,
5884
- alpha: { use: q, fixup: we }
5849
+ alpha: { use: q, fixup: ye }
5885
5850
  },
5886
5851
  difference: {
5887
5852
  h: Rt
@@ -5945,7 +5910,7 @@ const no = {
5945
5910
  h: { use: q, fixup: Ue },
5946
5911
  s: q,
5947
5912
  v: q,
5948
- alpha: { use: q, fixup: we }
5913
+ alpha: { use: q, fixup: ye }
5949
5914
  },
5950
5915
  difference: {
5951
5916
  h: Rt
@@ -5954,7 +5919,7 @@ const no = {
5954
5919
  h: je
5955
5920
  }
5956
5921
  };
5957
- function $0({ h: e, w: t, b: r, alpha: i }) {
5922
+ function D0({ h: e, w: t, b: r, alpha: i }) {
5958
5923
  if (t === void 0 && (t = 0), r === void 0 && (r = 0), t + r > 1) {
5959
5924
  let n = t + r;
5960
5925
  t /= n, r /= n;
@@ -5966,7 +5931,7 @@ function $0({ h: e, w: t, b: r, alpha: i }) {
5966
5931
  alpha: i
5967
5932
  });
5968
5933
  }
5969
- function N0(e) {
5934
+ function q0(e) {
5970
5935
  let t = ro(e);
5971
5936
  if (t === void 0) return;
5972
5937
  let r = t.s !== void 0 ? t.s : 0, i = t.v !== void 0 ? t.v : 0, n = {
@@ -5976,7 +5941,7 @@ function N0(e) {
5976
5941
  };
5977
5942
  return t.h !== void 0 && (n.h = t.h), t.alpha !== void 0 && (n.alpha = t.alpha), n;
5978
5943
  }
5979
- function R0(e, t) {
5944
+ function N0(e, t) {
5980
5945
  if (!t || t[0] !== "hwb")
5981
5946
  return;
5982
5947
  const r = { mode: "hwb" }, [, i, n, a, u] = t;
@@ -6003,29 +5968,29 @@ function R0(e, t) {
6003
5968
  )
6004
5969
  )), r;
6005
5970
  }
6006
- const C0 = {
5971
+ const $0 = {
6007
5972
  mode: "hwb",
6008
5973
  toMode: {
6009
- rgb: $0
5974
+ rgb: D0
6010
5975
  },
6011
5976
  fromMode: {
6012
- rgb: N0
5977
+ rgb: q0
6013
5978
  },
6014
5979
  channels: ["h", "w", "b", "alpha"],
6015
5980
  ranges: {
6016
5981
  h: [0, 360]
6017
5982
  },
6018
5983
  gamut: "rgb",
6019
- parse: [R0],
5984
+ parse: [N0],
6020
5985
  serialize: (e) => `hwb(${e.h !== void 0 ? e.h : "none"} ${e.w !== void 0 ? e.w * 100 + "%" : "none"} ${e.b !== void 0 ? e.b * 100 + "%" : "none"}${e.alpha < 1 ? ` / ${e.alpha}` : ""})`,
6021
5986
  interpolate: {
6022
5987
  h: { use: q, fixup: Ue },
6023
5988
  w: q,
6024
5989
  b: q,
6025
- alpha: { use: q, fixup: we }
5990
+ alpha: { use: q, fixup: ye }
6026
5991
  },
6027
5992
  difference: {
6028
- h: x0
5993
+ h: T0
6029
5994
  },
6030
5995
  average: {
6031
5996
  h: je
@@ -6036,12 +6001,12 @@ function br(e) {
6036
6001
  const t = Math.pow(e, 1 / oo);
6037
6002
  return 1e4 * Math.pow(Math.max(0, t - Ut) / (jt - Yt * t), 1 / Wt);
6038
6003
  }
6039
- function yr(e) {
6004
+ function wr(e) {
6040
6005
  if (e < 0) return 0;
6041
6006
  const t = Math.pow(e / 1e4, Wt);
6042
6007
  return Math.pow((Ut + jt * t) / (1 + Yt * t), oo);
6043
6008
  }
6044
- const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6009
+ const yr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6045
6010
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6046
6011
  const n = br(
6047
6012
  e + 0.008609037037932761 * t + 0.11102962500302593 * r
@@ -6051,27 +6016,27 @@ const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6051
6016
  e + 0.5600313357106791 * t - 0.32062717498731885 * r
6052
6017
  ), p = {
6053
6018
  mode: "xyz65",
6054
- x: wr(
6019
+ x: yr(
6055
6020
  2.070152218389422 * n - 1.3263473389671556 * a + 0.2066510476294051 * u
6056
6021
  ),
6057
- y: wr(
6022
+ y: yr(
6058
6023
  0.3647385209748074 * n + 0.680566024947227 * a - 0.0453045459220346 * u
6059
6024
  ),
6060
- z: wr(
6025
+ z: yr(
6061
6026
  -0.049747207535812 * n - 0.0492609666966138 * a + 1.1880659249923042 * u
6062
6027
  )
6063
6028
  };
6064
6029
  return i !== void 0 && (p.alpha = i), p;
6065
6030
  }, _r = (e = 0) => Math.max(e * io, 0), Jn = ({ x: e, y: t, z: r, alpha: i }) => {
6066
- const n = _r(e), a = _r(t), u = _r(r), p = yr(
6031
+ const n = _r(e), a = _r(t), u = _r(r), p = wr(
6067
6032
  0.3592832590121217 * n + 0.6976051147779502 * a - 0.0358915932320289 * u
6068
- ), s = yr(
6033
+ ), s = wr(
6069
6034
  -0.1920808463704995 * n + 1.1004767970374323 * a + 0.0753748658519118 * u
6070
- ), l = yr(
6035
+ ), l = wr(
6071
6036
  0.0070797844607477 * n + 0.0748396662186366 * a + 0.8433265453898765 * u
6072
6037
  ), c = 0.5 * p + 0.5 * s, g = 1.61376953125 * p - 3.323486328125 * s + 1.709716796875 * l, b = 4.378173828125 * p - 4.24560546875 * s - 0.132568359375 * l, M = { mode: "itp", i: c, t: g, p: b };
6073
6038
  return i !== void 0 && (M.alpha = i), M;
6074
- }, F0 = {
6039
+ }, R0 = {
6075
6040
  mode: "itp",
6076
6041
  channels: ["i", "t", "p", "alpha"],
6077
6042
  parse: ["--ictcp"],
@@ -6093,24 +6058,24 @@ const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6093
6058
  i: q,
6094
6059
  t: q,
6095
6060
  p: q,
6096
- alpha: { use: q, fixup: we }
6061
+ alpha: { use: q, fixup: ye }
6097
6062
  }
6098
- }, H0 = 134.03437499999998, W0 = 16295499532821565e-27, Tr = (e) => {
6063
+ }, C0 = 134.03437499999998, F0 = 16295499532821565e-27, Tr = (e) => {
6099
6064
  if (e < 0) return 0;
6100
6065
  let t = Math.pow(e / 1e4, Wt);
6101
- return Math.pow((Ut + jt * t) / (1 + Yt * t), H0);
6066
+ return Math.pow((Ut + jt * t) / (1 + Yt * t), C0);
6102
6067
  }, Sr = (e = 0) => Math.max(e * 203, 0), ao = ({ x: e, y: t, z: r, alpha: i }) => {
6103
6068
  e = Sr(e), t = Sr(t), r = Sr(r);
6104
6069
  let n = 1.15 * e - 0.15 * r, a = 0.66 * t + 0.34 * e, u = Tr(0.41478972 * n + 0.579999 * a + 0.014648 * r), p = Tr(-0.20151 * n + 1.120649 * a + 0.0531008 * r), s = Tr(-0.0166008 * n + 0.2648 * a + 0.6684799 * r), l = (u + p) / 2, c = {
6105
6070
  mode: "jab",
6106
- j: 0.44 * l / (1 - 0.56 * l) - W0,
6071
+ j: 0.44 * l / (1 - 0.56 * l) - F0,
6107
6072
  a: 3.524 * u - 4.066708 * p + 0.542708 * s,
6108
6073
  b: 0.199076 * u + 1.096799 * p - 1.295875 * s
6109
6074
  };
6110
6075
  return i !== void 0 && (c.alpha = i), c;
6111
- }, U0 = 134.03437499999998, Kn = 16295499532821565e-27, xr = (e) => {
6076
+ }, H0 = 134.03437499999998, Kn = 16295499532821565e-27, xr = (e) => {
6112
6077
  if (e < 0) return 0;
6113
- let t = Math.pow(e, 1 / U0);
6078
+ let t = Math.pow(e, 1 / H0);
6114
6079
  return 1e4 * Math.pow((Ut - t) / (Yt * t - jt), 1 / Wt);
6115
6080
  }, kr = (e) => e / 203, so = ({ j: e, a: t, b: r, alpha: i }) => {
6116
6081
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
@@ -6128,7 +6093,7 @@ const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6128
6093
  }, uo = (e) => {
6129
6094
  let t = ao(rt(e));
6130
6095
  return e.r === e.b && e.b === e.g && (t.a = t.b = 0), t;
6131
- }, lo = (e) => nt(so(e)), j0 = {
6096
+ }, lo = (e) => nt(so(e)), W0 = {
6132
6097
  mode: "jab",
6133
6098
  channels: ["j", "a", "b", "alpha"],
6134
6099
  parse: ["--jzazbz"],
@@ -6150,7 +6115,7 @@ const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6150
6115
  j: q,
6151
6116
  a: q,
6152
6117
  b: q,
6153
- alpha: { use: q, fixup: we }
6118
+ alpha: { use: q, fixup: ye }
6154
6119
  }
6155
6120
  }, ei = ({ j: e, a: t, b: r, alpha: i }) => {
6156
6121
  t === void 0 && (t = 0), r === void 0 && (r = 0);
@@ -6169,7 +6134,7 @@ const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6169
6134
  b: t ? t * Math.sin(r / 180 * Math.PI) : 0
6170
6135
  };
6171
6136
  return i !== void 0 && (n.alpha = i), n;
6172
- }, Y0 = {
6137
+ }, U0 = {
6173
6138
  mode: "jch",
6174
6139
  parse: ["--jzczhz"],
6175
6140
  serialize: "--jzczhz",
@@ -6191,7 +6156,7 @@ const wr = (e) => Math.max(e / io, 0), Zn = ({ i: e, t, p: r, alpha: i }) => {
6191
6156
  h: { use: q, fixup: Ue },
6192
6157
  c: q,
6193
6158
  j: q,
6194
- alpha: { use: q, fixup: we }
6159
+ alpha: { use: q, fixup: ye }
6195
6160
  },
6196
6161
  difference: {
6197
6162
  h: Ct
@@ -6218,7 +6183,7 @@ const Sn = ({ l: e, a: t, b: r, alpha: i }) => {
6218
6183
  b: e * 0.07195537988411677 - t * 0.2289768264158322 + 1.405386058324125 * r
6219
6184
  });
6220
6185
  return i !== void 0 && (n.alpha = i), n;
6221
- }, fo = (e) => bt(Sn(e)), yt = (e) => {
6186
+ }, fo = (e) => bt(Sn(e)), wt = (e) => {
6222
6187
  let { r: t, g: r, b: i, alpha: n } = ft(e), a = {
6223
6188
  mode: "xyz50",
6224
6189
  x: 0.436065742824811 * t + 0.3851514688337912 * r + 0.14307845442264197 * i,
@@ -6236,10 +6201,10 @@ const Sn = ({ l: e, a: t, b: r, alpha: i }) => {
6236
6201
  };
6237
6202
  return i !== void 0 && (p.alpha = i), p;
6238
6203
  }, co = (e) => {
6239
- let t = xn(yt(e));
6204
+ let t = xn(wt(e));
6240
6205
  return e.r === e.b && e.b === e.g && (t.a = t.b = 0), t;
6241
6206
  };
6242
- function G0(e, t) {
6207
+ function j0(e, t) {
6243
6208
  if (!t || t[0] !== "lab")
6244
6209
  return;
6245
6210
  const r = { mode: "lab" }, [, i, n, a, u] = t;
@@ -6268,15 +6233,15 @@ const kn = {
6268
6233
  a: [-100, 100],
6269
6234
  b: [-100, 100]
6270
6235
  },
6271
- parse: [G0],
6236
+ parse: [j0],
6272
6237
  serialize: (e) => `lab(${e.l !== void 0 ? e.l : "none"} ${e.a !== void 0 ? e.a : "none"} ${e.b !== void 0 ? e.b : "none"}${e.alpha < 1 ? ` / ${e.alpha}` : ""})`,
6273
6238
  interpolate: {
6274
6239
  l: q,
6275
6240
  a: q,
6276
6241
  b: q,
6277
- alpha: { use: q, fixup: we }
6242
+ alpha: { use: q, fixup: ye }
6278
6243
  }
6279
- }, Q0 = {
6244
+ }, Y0 = {
6280
6245
  ...kn,
6281
6246
  mode: "lab65",
6282
6247
  parse: ["--lab-d65"],
@@ -6295,7 +6260,7 @@ const kn = {
6295
6260
  b: [-107.86, 94.477]
6296
6261
  }
6297
6262
  };
6298
- function X0(e, t) {
6263
+ function G0(e, t) {
6299
6264
  if (!t || t[0] !== "lch")
6300
6265
  return;
6301
6266
  const r = { mode: "lch" }, [, i, n, a, u] = t;
@@ -6336,13 +6301,13 @@ const Mn = {
6336
6301
  c: [0, 150],
6337
6302
  h: [0, 360]
6338
6303
  },
6339
- parse: [X0],
6304
+ parse: [G0],
6340
6305
  serialize: (e) => `lch(${e.l !== void 0 ? e.l : "none"} ${e.c !== void 0 ? e.c : "none"} ${e.h !== void 0 ? e.h : "none"}${e.alpha < 1 ? ` / ${e.alpha}` : ""})`,
6341
6306
  interpolate: {
6342
6307
  h: { use: q, fixup: Ue },
6343
6308
  c: q,
6344
6309
  l: q,
6345
- alpha: { use: q, fixup: we }
6310
+ alpha: { use: q, fixup: ye }
6346
6311
  },
6347
6312
  difference: {
6348
6313
  h: Ct
@@ -6350,7 +6315,7 @@ const Mn = {
6350
6315
  average: {
6351
6316
  h: je
6352
6317
  }
6353
- }, V0 = {
6318
+ }, Q0 = {
6354
6319
  ...Mn,
6355
6320
  mode: "lch65",
6356
6321
  parse: ["--lch-d65"],
@@ -6385,10 +6350,10 @@ const Mn = {
6385
6350
  v: t ? t * Math.sin(r / 180 * Math.PI) : 0
6386
6351
  };
6387
6352
  return i !== void 0 && (n.alpha = i), n;
6388
- }, go = (e, t, r) => 4 * e / (e + 15 * t + 3 * r), vo = (e, t, r) => 9 * t / (e + 15 * t + 3 * r), Z0 = go(be.X, be.Y, be.Z), J0 = vo(be.X, be.Y, be.Z), K0 = (e) => e <= Tn ? Gt * e : 116 * Math.cbrt(e) - 16, ln = ({ x: e, y: t, z: r, alpha: i }) => {
6353
+ }, go = (e, t, r) => 4 * e / (e + 15 * t + 3 * r), vo = (e, t, r) => 9 * t / (e + 15 * t + 3 * r), X0 = go(be.X, be.Y, be.Z), V0 = vo(be.X, be.Y, be.Z), Z0 = (e) => e <= Tn ? Gt * e : 116 * Math.cbrt(e) - 16, ln = ({ x: e, y: t, z: r, alpha: i }) => {
6389
6354
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6390
- let n = K0(t / be.Y), a = go(e, t, r), u = vo(e, t, r);
6391
- !isFinite(a) || !isFinite(u) ? n = a = u = 0 : (a = 13 * n * (a - Z0), u = 13 * n * (u - J0));
6355
+ let n = Z0(t / be.Y), a = go(e, t, r), u = vo(e, t, r);
6356
+ !isFinite(a) || !isFinite(u) ? n = a = u = 0 : (a = 13 * n * (a - X0), u = 13 * n * (u - V0));
6392
6357
  let p = {
6393
6358
  mode: "luv",
6394
6359
  l: n,
@@ -6396,20 +6361,20 @@ const Mn = {
6396
6361
  v: u
6397
6362
  };
6398
6363
  return i !== void 0 && (p.alpha = i), p;
6399
- }, el = (e, t, r) => 4 * e / (e + 15 * t + 3 * r), tl = (e, t, r) => 9 * t / (e + 15 * t + 3 * r), rl = el(be.X, be.Y, be.Z), nl = tl(be.X, be.Y, be.Z), fn = ({ l: e, u: t, v: r, alpha: i }) => {
6364
+ }, J0 = (e, t, r) => 4 * e / (e + 15 * t + 3 * r), K0 = (e, t, r) => 9 * t / (e + 15 * t + 3 * r), el = J0(be.X, be.Y, be.Z), tl = K0(be.X, be.Y, be.Z), fn = ({ l: e, u: t, v: r, alpha: i }) => {
6400
6365
  if (e === void 0 && (e = 0), e === 0)
6401
6366
  return { mode: "xyz50", x: 0, y: 0, z: 0 };
6402
6367
  t === void 0 && (t = 0), r === void 0 && (r = 0);
6403
- let n = t / (13 * e) + rl, a = r / (13 * e) + nl, u = be.Y * (e <= 8 ? e / Gt : Math.pow((e + 16) / 116, 3)), p = u * (9 * n) / (4 * a), s = u * (12 - 3 * n - 20 * a) / (4 * a), l = { mode: "xyz50", x: p, y: u, z: s };
6368
+ let n = t / (13 * e) + el, a = r / (13 * e) + tl, u = be.Y * (e <= 8 ? e / Gt : Math.pow((e + 16) / 116, 3)), p = u * (9 * n) / (4 * a), s = u * (12 - 3 * n - 20 * a) / (4 * a), l = { mode: "xyz50", x: p, y: u, z: s };
6404
6369
  return i !== void 0 && (l.alpha = i), l;
6405
- }, il = (e) => po(ln(yt(e))), ol = (e) => bt(fn(ho(e))), al = {
6370
+ }, rl = (e) => po(ln(wt(e))), nl = (e) => bt(fn(ho(e))), il = {
6406
6371
  mode: "lchuv",
6407
6372
  toMode: {
6408
6373
  luv: ho,
6409
- rgb: ol
6374
+ rgb: nl
6410
6375
  },
6411
6376
  fromMode: {
6412
- rgb: il,
6377
+ rgb: rl,
6413
6378
  luv: po
6414
6379
  },
6415
6380
  channels: ["l", "c", "h", "alpha"],
@@ -6424,7 +6389,7 @@ const Mn = {
6424
6389
  h: { use: q, fixup: Ue },
6425
6390
  c: q,
6426
6391
  l: q,
6427
- alpha: { use: q, fixup: we }
6392
+ alpha: { use: q, fixup: ye }
6428
6393
  },
6429
6394
  difference: {
6430
6395
  h: Ct
@@ -6432,7 +6397,7 @@ const Mn = {
6432
6397
  average: {
6433
6398
  h: je
6434
6399
  }
6435
- }, sl = {
6400
+ }, ol = {
6436
6401
  ...lt,
6437
6402
  mode: "lrgb",
6438
6403
  toMode: {
@@ -6443,7 +6408,7 @@ const Mn = {
6443
6408
  },
6444
6409
  parse: ["srgb-linear"],
6445
6410
  serialize: "srgb-linear"
6446
- }, ul = {
6411
+ }, al = {
6447
6412
  mode: "luv",
6448
6413
  toMode: {
6449
6414
  xyz50: fn,
@@ -6451,7 +6416,7 @@ const Mn = {
6451
6416
  },
6452
6417
  fromMode: {
6453
6418
  xyz50: ln,
6454
- rgb: (e) => ln(yt(e))
6419
+ rgb: (e) => ln(wt(e))
6455
6420
  },
6456
6421
  channels: ["l", "u", "v", "alpha"],
6457
6422
  parse: ["--luv"],
@@ -6465,7 +6430,7 @@ const Mn = {
6465
6430
  l: q,
6466
6431
  u: q,
6467
6432
  v: q,
6468
- alpha: { use: q, fixup: we }
6433
+ alpha: { use: q, fixup: ye }
6469
6434
  }
6470
6435
  }, mo = ({ r: e, g: t, b: r, alpha: i }) => {
6471
6436
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
@@ -6485,7 +6450,7 @@ const Mn = {
6485
6450
  }, Qt = (e) => {
6486
6451
  let t = mo(ft(e));
6487
6452
  return e.r === e.b && e.b === e.g && (t.a = t.b = 0), t;
6488
- }, wt = ({ l: e, a: t, b: r, alpha: i }) => {
6453
+ }, yt = ({ l: e, a: t, b: r, alpha: i }) => {
6489
6454
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6490
6455
  let n = Math.pow(
6491
6456
  e * 0.9999999984505198 + 0.39633779217376786 * t + 0.2158037580607588 * r,
@@ -6503,29 +6468,29 @@ const Mn = {
6503
6468
  b: -0.004196086541837188 * n - 0.7034186144594493 * a + 1.7076147009309444 * u
6504
6469
  };
6505
6470
  return i !== void 0 && (p.alpha = i), p;
6506
- }, Xt = (e) => dt(wt(e));
6471
+ }, Xt = (e) => dt(yt(e));
6507
6472
  function dn(e) {
6508
6473
  const i = 1.170873786407767;
6509
6474
  return 0.5 * (i * e - 0.206 + Math.sqrt((i * e - 0.206) * (i * e - 0.206) + 4 * 0.03 * i * e));
6510
6475
  }
6511
- function $t(e) {
6476
+ function Nt(e) {
6512
6477
  return (e * e + 0.206 * e) / (1.170873786407767 * (e + 0.03));
6513
6478
  }
6514
- function ll(e, t) {
6479
+ function sl(e, t) {
6515
6480
  let r, i, n, a, u, p, s, l;
6516
6481
  -1.88170328 * e - 0.80936493 * t > 1 ? (r = 1.19086277, i = 1.76576728, n = 0.59662641, a = 0.75515197, u = 0.56771245, p = 4.0767416621, s = -3.3077115913, l = 0.2309699292) : 1.81444104 * e - 1.19445276 * t > 1 ? (r = 0.73956515, i = -0.45954404, n = 0.08285427, a = 0.1254107, u = 0.14503204, p = -1.2684380046, s = 2.6097574011, l = -0.3413193965) : (r = 1.35733652, i = -915799e-8, n = -1.1513021, a = -0.50559606, u = 692167e-8, p = -0.0041960863, s = -0.7034186147, l = 1.707614701);
6517
6482
  let c = r + i * e + n * t + a * e * e + u * e * t, g = 0.3963377774 * e + 0.2158037573 * t, b = -0.1055613458 * e - 0.0638541728 * t, M = -0.0894841775 * e - 1.291485548 * t;
6518
6483
  {
6519
- let A = 1 + c * g, d = 1 + c * b, m = 1 + c * M, _ = A * A * A, T = d * d * d, k = m * m * m, E = 3 * g * A * A, S = 3 * b * d * d, P = 3 * M * m * m, C = 6 * g * g * A, D = 6 * b * b * d, z = 6 * M * M * m, L = p * _ + s * T + l * k, Q = p * E + s * S + l * P, te = p * C + s * D + l * z;
6484
+ let A = 1 + c * g, d = 1 + c * b, m = 1 + c * M, _ = A * A * A, T = d * d * d, k = m * m * m, E = 3 * g * A * A, S = 3 * b * d * d, P = 3 * M * m * m, F = 6 * g * g * A, D = 6 * b * b * d, z = 6 * M * M * m, L = p * _ + s * T + l * k, Q = p * E + s * S + l * P, te = p * F + s * D + l * z;
6520
6485
  c = c - L * Q / (Q * Q - 0.5 * L * te);
6521
6486
  }
6522
6487
  return c;
6523
6488
  }
6524
6489
  function On(e, t) {
6525
- let r = ll(e, t), i = wt({ l: 1, a: r * e, b: r * t }), n = Math.cbrt(1 / Math.max(i.r, i.g, i.b)), a = n * r;
6490
+ let r = sl(e, t), i = yt({ l: 1, a: r * e, b: r * t }), n = Math.cbrt(1 / Math.max(i.r, i.g, i.b)), a = n * r;
6526
6491
  return [n, a];
6527
6492
  }
6528
- function fl(e, t, r, i, n, a = null) {
6493
+ function ul(e, t, r, i, n, a = null) {
6529
6494
  a || (a = On(e, t));
6530
6495
  let u;
6531
6496
  if ((r - n) * a[1] - (a[0] - n) * i <= 0)
@@ -6535,8 +6500,8 @@ function fl(e, t, r, i, n, a = null) {
6535
6500
  {
6536
6501
  let p = r - n, s = i, l = 0.3963377774 * e + 0.2158037573 * t, c = -0.1055613458 * e - 0.0638541728 * t, g = -0.0894841775 * e - 1.291485548 * t, b = p + s * l, M = p + s * c, A = p + s * g;
6537
6502
  {
6538
- let d = n * (1 - u) + u * r, m = u * i, _ = d + m * l, T = d + m * c, k = d + m * g, E = _ * _ * _, S = T * T * T, P = k * k * k, C = 3 * b * _ * _, D = 3 * M * T * T, z = 3 * A * k * k, L = 6 * b * b * _, Q = 6 * M * M * T, te = 6 * A * A * k, ge = 4.0767416621 * E - 3.3077115913 * S + 0.2309699292 * P - 1, fe = 4.0767416621 * C - 3.3077115913 * D + 0.2309699292 * z, ve = 4.0767416621 * L - 3.3077115913 * Q + 0.2309699292 * te, V = fe / (fe * fe - 0.5 * ge * ve), ye = -ge * V, ke = -1.2684380046 * E + 2.6097574011 * S - 0.3413193965 * P - 1, Ne = -1.2684380046 * C + 2.6097574011 * D - 0.3413193965 * z, Ie = -1.2684380046 * L + 2.6097574011 * Q - 0.3413193965 * te, $ = Ne / (Ne * Ne - 0.5 * ke * Ie), N = -ke * $, O = -0.0041960863 * E - 0.7034186147 * S + 1.707614701 * P - 1, w = -0.0041960863 * C - 0.7034186147 * D + 1.707614701 * z, B = -0.0041960863 * L - 0.7034186147 * Q + 1.707614701 * te, W = w / (w * w - 0.5 * O * B), x = -O * W;
6539
- ye = V >= 0 ? ye : 1e6, N = $ >= 0 ? N : 1e6, x = W >= 0 ? x : 1e6, u += Math.min(ye, Math.min(N, x));
6503
+ let d = n * (1 - u) + u * r, m = u * i, _ = d + m * l, T = d + m * c, k = d + m * g, E = _ * _ * _, S = T * T * T, P = k * k * k, F = 3 * b * _ * _, D = 3 * M * T * T, z = 3 * A * k * k, L = 6 * b * b * _, Q = 6 * M * M * T, te = 6 * A * A * k, ge = 4.0767416621 * E - 3.3077115913 * S + 0.2309699292 * P - 1, fe = 4.0767416621 * F - 3.3077115913 * D + 0.2309699292 * z, ve = 4.0767416621 * L - 3.3077115913 * Q + 0.2309699292 * te, V = fe / (fe * fe - 0.5 * ge * ve), we = -ge * V, ke = -1.2684380046 * E + 2.6097574011 * S - 0.3413193965 * P - 1, $e = -1.2684380046 * F + 2.6097574011 * D - 0.3413193965 * z, Ie = -1.2684380046 * L + 2.6097574011 * Q - 0.3413193965 * te, N = $e / ($e * $e - 0.5 * ke * Ie), $ = -ke * N, O = -0.0041960863 * E - 0.7034186147 * S + 1.707614701 * P - 1, y = -0.0041960863 * F - 0.7034186147 * D + 1.707614701 * z, B = -0.0041960863 * L - 0.7034186147 * Q + 1.707614701 * te, W = y / (y * y - 0.5 * O * B), x = -O * W;
6504
+ we = V >= 0 ? we : 1e6, $ = N >= 0 ? $ : 1e6, x = W >= 0 ? x : 1e6, u += Math.min(we, Math.min($, x));
6540
6505
  }
6541
6506
  }
6542
6507
  }
@@ -6548,7 +6513,7 @@ function En(e, t, r = null) {
6548
6513
  return [n / i, n / (1 - i)];
6549
6514
  }
6550
6515
  function bo(e, t, r) {
6551
- let i = On(t, r), n = fl(t, r, e, 1, e, i), a = En(t, r, i), u = 0.11516993 + 1 / (7.4477897 + 4.1590124 * r + t * (-2.19557347 + 1.75198401 * r + t * (-2.13704948 - 10.02301043 * r + t * (-4.24894561 + 5.38770819 * r + 4.69891013 * t)))), p = 0.11239642 + 1 / (1.6132032 - 0.68124379 * r + t * (0.40370612 + 0.90148123 * r + t * (-0.27087943 + 0.6122399 * r + t * (299215e-8 - 0.45399568 * r - 0.14661872 * t)))), s = n / Math.min(e * a[0], (1 - e) * a[1]), l = e * u, c = (1 - e) * p, g = 0.9 * s * Math.sqrt(
6516
+ let i = On(t, r), n = ul(t, r, e, 1, e, i), a = En(t, r, i), u = 0.11516993 + 1 / (7.4477897 + 4.1590124 * r + t * (-2.19557347 + 1.75198401 * r + t * (-2.13704948 - 10.02301043 * r + t * (-4.24894561 + 5.38770819 * r + 4.69891013 * t)))), p = 0.11239642 + 1 / (1.6132032 - 0.68124379 * r + t * (0.40370612 + 0.90148123 * r + t * (-0.27087943 + 0.6122399 * r + t * (299215e-8 - 0.45399568 * r - 0.14661872 * t)))), s = n / Math.min(e * a[0], (1 - e) * a[1]), l = e * u, c = (1 - e) * p, g = 0.9 * s * Math.sqrt(
6552
6517
  Math.sqrt(
6553
6518
  1 / (1 / (l * l * l * l) + 1 / (c * c * c * c))
6554
6519
  )
@@ -6573,7 +6538,7 @@ function ri(e) {
6573
6538
  }
6574
6539
  function ni(e) {
6575
6540
  let t = e.h !== void 0 ? e.h : 0, r = e.s !== void 0 ? e.s : 0, i = e.l !== void 0 ? e.l : 0;
6576
- const n = { mode: "oklab", l: $t(i) };
6541
+ const n = { mode: "oklab", l: Nt(i) };
6577
6542
  if (e.alpha !== void 0 && (n.alpha = e.alpha), !r || i === 1)
6578
6543
  return n.a = n.b = 0, n;
6579
6544
  let a = Math.cos(t / 180 * Math.PI), u = Math.sin(t / 180 * Math.PI), [p, s, l] = bo(n.l, a, u), c, g, b, M;
@@ -6581,7 +6546,7 @@ function ni(e) {
6581
6546
  let A = g + c * b / (1 - M * c);
6582
6547
  return n.a = A * a, n.b = A * u, n;
6583
6548
  }
6584
- const dl = {
6549
+ const ll = {
6585
6550
  ...eo,
6586
6551
  mode: "okhsl",
6587
6552
  channels: ["h", "s", "l", "alpha"],
@@ -6597,7 +6562,7 @@ const dl = {
6597
6562
  }
6598
6563
  };
6599
6564
  function ii(e) {
6600
- let t = e.l !== void 0 ? e.l : 0, r = e.a !== void 0 ? e.a : 0, i = e.b !== void 0 ? e.b : 0, n = Math.sqrt(r * r + i * i), a = n ? r / n : 1, u = n ? i / n : 1, [p, s] = En(a, u), l = 0.5, c = 1 - l / p, g = s / (n + t * s), b = g * t, M = g * n, A = $t(b), d = M * A / b, m = wt({ l: A, a: a * d, b: u * d }), _ = Math.cbrt(
6565
+ let t = e.l !== void 0 ? e.l : 0, r = e.a !== void 0 ? e.a : 0, i = e.b !== void 0 ? e.b : 0, n = Math.sqrt(r * r + i * i), a = n ? r / n : 1, u = n ? i / n : 1, [p, s] = En(a, u), l = 0.5, c = 1 - l / p, g = s / (n + t * s), b = g * t, M = g * n, A = Nt(b), d = M * A / b, m = yt({ l: A, a: a * d, b: u * d }), _ = Math.cbrt(
6601
6566
  1 / Math.max(m.r, m.g, m.b, 0)
6602
6567
  );
6603
6568
  t = t / _, n = n / _ * dn(t) / t, t = dn(t);
@@ -6611,16 +6576,16 @@ function ii(e) {
6611
6576
  function oi(e) {
6612
6577
  const t = { mode: "oklab" };
6613
6578
  e.alpha !== void 0 && (t.alpha = e.alpha);
6614
- const r = e.h !== void 0 ? e.h : 0, i = e.s !== void 0 ? e.s : 0, n = e.v !== void 0 ? e.v : 0, a = Math.cos(r / 180 * Math.PI), u = Math.sin(r / 180 * Math.PI), [p, s] = En(a, u), l = 0.5, c = 1 - l / p, g = 1 - i * l / (l + s - s * c * i), b = i * s * l / (l + s - s * c * i), M = $t(g), A = b * M / g, d = wt({
6579
+ const r = e.h !== void 0 ? e.h : 0, i = e.s !== void 0 ? e.s : 0, n = e.v !== void 0 ? e.v : 0, a = Math.cos(r / 180 * Math.PI), u = Math.sin(r / 180 * Math.PI), [p, s] = En(a, u), l = 0.5, c = 1 - l / p, g = 1 - i * l / (l + s - s * c * i), b = i * s * l / (l + s - s * c * i), M = Nt(g), A = b * M / g, d = yt({
6615
6580
  l: M,
6616
6581
  a: a * A,
6617
6582
  b: u * A
6618
6583
  }), m = Math.cbrt(
6619
6584
  1 / Math.max(d.r, d.g, d.b, 0)
6620
- ), _ = $t(n * g), T = b * _ / g;
6585
+ ), _ = Nt(n * g), T = b * _ / g;
6621
6586
  return t.l = _ * m, t.a = T * a * m, t.b = T * u * m, t;
6622
6587
  }
6623
- const cl = {
6588
+ const fl = {
6624
6589
  ...no,
6625
6590
  mode: "okhsv",
6626
6591
  channels: ["h", "s", "v", "alpha"],
@@ -6635,7 +6600,7 @@ const cl = {
6635
6600
  rgb: (e) => Xt(oi(e))
6636
6601
  }
6637
6602
  };
6638
- function pl(e, t) {
6603
+ function dl(e, t) {
6639
6604
  if (!t || t[0] !== "oklab")
6640
6605
  return;
6641
6606
  const r = { mode: "oklab" }, [, i, n, a, u] = t;
@@ -6651,11 +6616,11 @@ function pl(e, t) {
6651
6616
  )
6652
6617
  )), r;
6653
6618
  }
6654
- const hl = {
6619
+ const cl = {
6655
6620
  ...kn,
6656
6621
  mode: "oklab",
6657
6622
  toMode: {
6658
- lrgb: wt,
6623
+ lrgb: yt,
6659
6624
  rgb: Xt
6660
6625
  },
6661
6626
  fromMode: {
@@ -6667,10 +6632,10 @@ const hl = {
6667
6632
  a: [-0.4, 0.4],
6668
6633
  b: [-0.4, 0.4]
6669
6634
  },
6670
- parse: [pl],
6635
+ parse: [dl],
6671
6636
  serialize: (e) => `oklab(${e.l !== void 0 ? e.l : "none"} ${e.a !== void 0 ? e.a : "none"} ${e.b !== void 0 ? e.b : "none"}${e.alpha < 1 ? ` / ${e.alpha}` : ""})`
6672
6637
  };
6673
- function gl(e, t) {
6638
+ function pl(e, t) {
6674
6639
  if (!t || t[0] !== "oklch")
6675
6640
  return;
6676
6641
  const r = { mode: "oklch" }, [, i, n, a, u] = t;
@@ -6698,7 +6663,7 @@ function gl(e, t) {
6698
6663
  )
6699
6664
  )), r;
6700
6665
  }
6701
- const vl = {
6666
+ const hl = {
6702
6667
  ...Mn,
6703
6668
  mode: "oklch",
6704
6669
  toMode: {
@@ -6709,7 +6674,7 @@ const vl = {
6709
6674
  rgb: (e) => Qe(Qt(e), "oklch"),
6710
6675
  oklab: (e) => Qe(e, "oklch")
6711
6676
  },
6712
- parse: [gl],
6677
+ parse: [pl],
6713
6678
  serialize: (e) => `oklch(${e.l !== void 0 ? e.l : "none"} ${e.c !== void 0 ? e.c : "none"} ${e.h !== void 0 ? e.h : "none"}${e.alpha < 1 ? ` / ${e.alpha}` : ""})`,
6714
6679
  ranges: {
6715
6680
  l: [0, 1],
@@ -6735,7 +6700,7 @@ const vl = {
6735
6700
  "p3"
6736
6701
  );
6737
6702
  return i !== void 0 && (n.alpha = i), n;
6738
- }, ml = {
6703
+ }, gl = {
6739
6704
  ...lt,
6740
6705
  mode: "p3",
6741
6706
  parse: ["display-p3"],
@@ -6775,22 +6740,22 @@ const vl = {
6775
6740
  z: 0 * t + 0 * r + 0.8251046025104602 * i
6776
6741
  };
6777
6742
  return e.alpha !== void 0 && (n.alpha = e.alpha), n;
6778
- }, bl = {
6743
+ }, vl = {
6779
6744
  ...lt,
6780
6745
  mode: "prophoto",
6781
6746
  parse: ["prophoto-rgb"],
6782
6747
  serialize: "prophoto-rgb",
6783
6748
  fromMode: {
6784
6749
  xyz50: ui,
6785
- rgb: (e) => ui(yt(e))
6750
+ rgb: (e) => ui(wt(e))
6786
6751
  },
6787
6752
  toMode: {
6788
6753
  xyz50: li,
6789
6754
  rgb: (e) => bt(li(e))
6790
6755
  }
6791
- }, fi = 1.09929682680944, yl = 0.018053968510807, Pr = (e) => {
6756
+ }, fi = 1.09929682680944, ml = 0.018053968510807, Pr = (e) => {
6792
6757
  const t = Math.abs(e);
6793
- return t > yl ? (Math.sign(e) || 1) * (fi * Math.pow(t, 0.45) - (fi - 1)) : 4.5 * e;
6758
+ return t > ml ? (Math.sign(e) || 1) * (fi * Math.pow(t, 0.45) - (fi - 1)) : 4.5 * e;
6794
6759
  }, di = ({ x: e, y: t, z: r, alpha: i }) => {
6795
6760
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6796
6761
  let n = {
@@ -6806,9 +6771,9 @@ const vl = {
6806
6771
  )
6807
6772
  };
6808
6773
  return i !== void 0 && (n.alpha = i), n;
6809
- }, ci = 1.09929682680944, wl = 0.018053968510807, Ar = (e = 0) => {
6774
+ }, ci = 1.09929682680944, bl = 0.018053968510807, Ar = (e = 0) => {
6810
6775
  let t = Math.abs(e);
6811
- return t < wl * 4.5 ? e / 4.5 : (Math.sign(e) || 1) * Math.pow((t + ci - 1) / ci, 1 / 0.45);
6776
+ return t < bl * 4.5 ? e / 4.5 : (Math.sign(e) || 1) * Math.pow((t + ci - 1) / ci, 1 / 0.45);
6812
6777
  }, pi = (e) => {
6813
6778
  let t = Ar(e.r), r = Ar(e.g), i = Ar(e.b), n = {
6814
6779
  mode: "xyz65",
@@ -6817,7 +6782,7 @@ const vl = {
6817
6782
  z: 0 * t + 0.0280726930490874 * r + 1.0609850577107909 * i
6818
6783
  };
6819
6784
  return e.alpha !== void 0 && (n.alpha = e.alpha), n;
6820
- }, _l = {
6785
+ }, wl = {
6821
6786
  ...lt,
6822
6787
  mode: "rec2020",
6823
6788
  fromMode: {
@@ -6830,7 +6795,7 @@ const vl = {
6830
6795
  },
6831
6796
  parse: ["rec2020"],
6832
6797
  serialize: "rec2020"
6833
- }, tt = 0.0037930732552754493, yo = Math.cbrt(tt), zr = (e) => Math.cbrt(e) - yo, Tl = (e) => {
6798
+ }, tt = 0.0037930732552754493, wo = Math.cbrt(tt), zr = (e) => Math.cbrt(e) - wo, yl = (e) => {
6834
6799
  const { r: t, g: r, b: i, alpha: n } = ft(e), a = zr(0.3 * t + 0.622 * r + 0.078 * i + tt), u = zr(0.23 * t + 0.692 * r + 0.078 * i + tt), p = zr(
6835
6800
  0.2434226892454782 * t + 0.2047674442449682 * r + 0.5518098665095535 * i + tt
6836
6801
  ), s = {
@@ -6841,7 +6806,7 @@ const vl = {
6841
6806
  b: p - (a + u) / 2
6842
6807
  };
6843
6808
  return n !== void 0 && (s.alpha = n), s;
6844
- }, Br = (e) => Math.pow(e + yo, 3), Sl = ({ x: e, y: t, b: r, alpha: i }) => {
6809
+ }, Br = (e) => Math.pow(e + wo, 3), _l = ({ x: e, y: t, b: r, alpha: i }) => {
6845
6810
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6846
6811
  const n = Br(e + t) - tt, a = Br(t - e) - tt, u = Br(r + t) - tt, p = dt({
6847
6812
  r: 11.031566904639861 * n - 9.866943908131562 * a - 0.16462299650829934 * u,
@@ -6849,16 +6814,16 @@ const vl = {
6849
6814
  b: -3.6588512867136815 * n + 2.7129230459360922 * a + 1.9459282407775895 * u
6850
6815
  });
6851
6816
  return i !== void 0 && (p.alpha = i), p;
6852
- }, xl = {
6817
+ }, Tl = {
6853
6818
  mode: "xyb",
6854
6819
  channels: ["x", "y", "b", "alpha"],
6855
6820
  parse: ["--xyb"],
6856
6821
  serialize: "--xyb",
6857
6822
  toMode: {
6858
- rgb: Sl
6823
+ rgb: _l
6859
6824
  },
6860
6825
  fromMode: {
6861
- rgb: Tl
6826
+ rgb: yl
6862
6827
  },
6863
6828
  ranges: {
6864
6829
  x: [-0.0154, 0.0281],
@@ -6869,9 +6834,9 @@ const vl = {
6869
6834
  x: q,
6870
6835
  y: q,
6871
6836
  b: q,
6872
- alpha: { use: q, fixup: we }
6837
+ alpha: { use: q, fixup: ye }
6873
6838
  }
6874
- }, kl = {
6839
+ }, Sl = {
6875
6840
  mode: "xyz50",
6876
6841
  parse: ["xyz-d50"],
6877
6842
  serialize: "xyz-d50",
@@ -6880,7 +6845,7 @@ const vl = {
6880
6845
  lab: xn
6881
6846
  },
6882
6847
  fromMode: {
6883
- rgb: yt,
6848
+ rgb: wt,
6884
6849
  lab: Sn
6885
6850
  },
6886
6851
  channels: ["x", "y", "z", "alpha"],
@@ -6893,9 +6858,9 @@ const vl = {
6893
6858
  x: q,
6894
6859
  y: q,
6895
6860
  z: q,
6896
- alpha: { use: q, fixup: we }
6861
+ alpha: { use: q, fixup: ye }
6897
6862
  }
6898
- }, Ml = (e) => {
6863
+ }, xl = (e) => {
6899
6864
  let { x: t, y: r, z: i, alpha: n } = e;
6900
6865
  t === void 0 && (t = 0), r === void 0 && (r = 0), i === void 0 && (i = 0);
6901
6866
  let a = {
@@ -6905,7 +6870,7 @@ const vl = {
6905
6870
  z: -0.0092430581525912 * t + 0.0150551448965779 * r + 0.7518742899580008 * i
6906
6871
  };
6907
6872
  return n !== void 0 && (a.alpha = n), a;
6908
- }, Ol = (e) => {
6873
+ }, kl = (e) => {
6909
6874
  let { x: t, y: r, z: i, alpha: n } = e;
6910
6875
  t === void 0 && (t = 0), r === void 0 && (r = 0), i === void 0 && (i = 0);
6911
6876
  let a = {
@@ -6915,15 +6880,15 @@ const vl = {
6915
6880
  z: 0.0123140016883199 * t - 0.0205076964334779 * r + 1.3303659366080753 * i
6916
6881
  };
6917
6882
  return n !== void 0 && (a.alpha = n), a;
6918
- }, El = {
6883
+ }, Ml = {
6919
6884
  mode: "xyz65",
6920
6885
  toMode: {
6921
6886
  rgb: nt,
6922
- xyz50: Ml
6887
+ xyz50: xl
6923
6888
  },
6924
6889
  fromMode: {
6925
6890
  rgb: rt,
6926
- xyz50: Ol
6891
+ xyz50: kl
6927
6892
  },
6928
6893
  ranges: {
6929
6894
  x: [0, 0.95],
@@ -6937,9 +6902,9 @@ const vl = {
6937
6902
  x: q,
6938
6903
  y: q,
6939
6904
  z: q,
6940
- alpha: { use: q, fixup: we }
6905
+ alpha: { use: q, fixup: ye }
6941
6906
  }
6942
- }, Il = ({ r: e, g: t, b: r, alpha: i }) => {
6907
+ }, Ol = ({ r: e, g: t, b: r, alpha: i }) => {
6943
6908
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6944
6909
  const n = {
6945
6910
  mode: "yiq",
@@ -6948,7 +6913,7 @@ const vl = {
6948
6913
  q: 0.21147017 * e - 0.52261711 * t + 0.31114694 * r
6949
6914
  };
6950
6915
  return i !== void 0 && (n.alpha = i), n;
6951
- }, Pl = ({ y: e, i: t, q: r, alpha: i }) => {
6916
+ }, El = ({ y: e, i: t, q: r, alpha: i }) => {
6952
6917
  e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = 0);
6953
6918
  const n = {
6954
6919
  mode: "rgb",
@@ -6957,13 +6922,13 @@ const vl = {
6957
6922
  b: e - 1.10561724 * t + 1.70250126 * r
6958
6923
  };
6959
6924
  return i !== void 0 && (n.alpha = i), n;
6960
- }, Al = {
6925
+ }, Il = {
6961
6926
  mode: "yiq",
6962
6927
  toMode: {
6963
- rgb: Pl
6928
+ rgb: El
6964
6929
  },
6965
6930
  fromMode: {
6966
- rgb: Il
6931
+ rgb: Ol
6967
6932
  },
6968
6933
  channels: ["y", "i", "q", "alpha"],
6969
6934
  parse: ["--yiq"],
@@ -6976,139 +6941,148 @@ const vl = {
6976
6941
  y: q,
6977
6942
  i: q,
6978
6943
  q,
6979
- alpha: { use: q, fixup: we }
6944
+ alpha: { use: q, fixup: ye }
6980
6945
  }
6981
6946
  };
6982
- ae(b0);
6947
+ ae(v0);
6948
+ ae(S0);
6949
+ ae(x0);
6983
6950
  ae(k0);
6984
- ae(M0);
6985
- ae(O0);
6986
- ae(P0);
6951
+ ae(E0);
6987
6952
  ae(eo);
6988
6953
  ae(no);
6989
- ae(C0);
6990
- ae(F0);
6991
- ae(j0);
6992
- ae(Y0);
6954
+ ae($0);
6955
+ ae(R0);
6956
+ ae(W0);
6957
+ ae(U0);
6993
6958
  ae(kn);
6994
- ae(Q0);
6959
+ ae(Y0);
6995
6960
  ae(Mn);
6996
- ae(V0);
6961
+ ae(Q0);
6962
+ ae(il);
6963
+ ae(ol);
6997
6964
  ae(al);
6998
- ae(sl);
6999
- ae(ul);
7000
- ae(dl);
6965
+ ae(ll);
6966
+ ae(fl);
7001
6967
  ae(cl);
7002
6968
  ae(hl);
6969
+ ae(gl);
7003
6970
  ae(vl);
7004
- ae(ml);
7005
- ae(bl);
7006
- ae(_l);
6971
+ ae(wl);
7007
6972
  ae(lt);
7008
- ae(xl);
7009
- ae(kl);
7010
- ae(El);
7011
- ae(Al);
6973
+ ae(Tl);
6974
+ ae(Sl);
6975
+ ae(Ml);
6976
+ ae(Il);
7012
6977
  const hi = "#ff3f3f", ee = {
7013
6978
  colors: {
7014
6979
  /**
7015
6980
  * Action tokens.
7016
6981
  */
7017
- "action-dark": H.slate[900],
7018
- "action-dark-hover": H.slate[700],
7019
- "action-dark-active": H.slate[600],
7020
- "action-light": H.slate[500],
7021
- "action-light-hover": H.slate[600],
7022
- "action-light-active": H.slate[700],
7023
- "action-danger-dark": H.red[900],
7024
- "action-danger-dark-hover": H.red[700],
7025
- "action-danger-dark-active": H.red[600],
7026
- "action-danger-light": H.red[600],
7027
- "action-danger-light-hover": H.red[700],
7028
- "action-danger-light-active": H.red[800],
6982
+ "action-dark": R.slate[900],
6983
+ "action-dark-hover": R.slate[700],
6984
+ "action-dark-active": R.slate[600],
6985
+ "action-light": R.slate[500],
6986
+ "action-light-hover": R.slate[600],
6987
+ "action-light-active": R.slate[700],
6988
+ "action-danger-dark": R.red[900],
6989
+ "action-danger-dark-hover": R.red[700],
6990
+ "action-danger-dark-active": R.red[600],
6991
+ "action-danger-light": R.red[600],
6992
+ "action-danger-light-hover": R.red[700],
6993
+ "action-danger-light-active": R.red[800],
6994
+ "action-selected-dark": R.green[900],
6995
+ "action-selected-dark-hover": R.green[700],
6996
+ "action-selected-dark-active": R.green[600],
6997
+ "action-selected-light": R.green[600],
6998
+ "action-selected-light-hover": R.green[700],
6999
+ "action-selected-light-active": R.green[800],
7029
7000
  /**
7030
7001
  * Surface tokens.
7031
7002
  */
7032
- "surface-darker": H.slate[900],
7033
- "surface-dark": H.slate[700],
7034
- "surface-medium": H.slate[500],
7035
- "surface-light": H.slate[300],
7036
- "surface-lighter": H.slate[200],
7037
- "surface-lightest": H.slate[100],
7003
+ "surface-darker": R.slate[900],
7004
+ "surface-dark": R.slate[700],
7005
+ "surface-medium": R.slate[500],
7006
+ "surface-light": R.slate[300],
7007
+ "surface-lighter": R.slate[200],
7008
+ "surface-lightest": R.slate[100],
7038
7009
  "surface-accent": "#0071EB",
7039
- "surface-information": H.violet[200],
7040
- "surface-success": H.green[200],
7041
- "surface-warning": H.orange[200],
7042
- "surface-error": H.red[200],
7010
+ "surface-information": R.violet[200],
7011
+ "surface-success": R.green[200],
7012
+ "surface-warning": R.orange[200],
7013
+ "surface-error": R.red[200],
7043
7014
  /**
7044
7015
  * Typography tokens.
7045
7016
  */
7046
- "copy-dark": H.slate[900],
7047
- "copy-dark-hover": H.slate[900],
7048
- "copy-dark-active": H.slate[900],
7049
- "copy-medium": H.slate[400],
7050
- "copy-medium-hover": H.slate[400],
7051
- "copy-medium-active": H.slate[400],
7052
- "copy-light": H.slate[200],
7053
- "copy-light-hover": H.slate[200],
7054
- "copy-light-active": H.slate[400],
7017
+ "copy-dark": R.slate[900],
7018
+ "copy-dark-hover": R.slate[900],
7019
+ "copy-dark-active": R.slate[900],
7020
+ "copy-medium": R.slate[400],
7021
+ "copy-medium-hover": R.slate[400],
7022
+ "copy-medium-active": R.slate[400],
7023
+ "copy-light": R.slate[200],
7024
+ "copy-light-hover": R.slate[200],
7025
+ "copy-light-active": R.slate[400],
7055
7026
  "copy-lighter": "#ffffff",
7056
7027
  "copy-lighter-hover": "#ffffff",
7057
7028
  "copy-lighter-active": "#ffffff",
7058
- "copy-error-dark": H.red[700],
7059
- "copy-error-light": H.red[500],
7060
- "copy-information": H.violet[800],
7061
- "copy-success": H.green[800],
7062
- "copy-warning": H.orange[800],
7063
- "copy-error": H.red[800],
7029
+ "copy-error-dark": R.red[700],
7030
+ "copy-error-light": R.red[500],
7031
+ "copy-information": R.violet[800],
7032
+ "copy-success": R.green[800],
7033
+ "copy-warning": R.orange[800],
7034
+ "copy-error": R.red[800],
7064
7035
  "copy-accent": "#a9b9ad",
7065
7036
  "copy-accent-dark": "#cde8d4",
7066
7037
  /**
7067
7038
  * Border tokens.
7068
7039
  */
7069
- "border-dark": H.slate[900],
7070
- "border-medium": H.slate[400],
7071
- "border-light": H.slate[300],
7040
+ "border-dark": R.slate[900],
7041
+ "border-medium": R.slate[400],
7042
+ "border-light": R.slate[300],
7072
7043
  "border-accent": "#a9b9ad",
7073
- "border-danger-dark": H.red[900],
7074
- "border-danger-medium": H.red[400],
7075
- "border-danger-light": H.red[300],
7044
+ "border-danger-dark": R.red[900],
7045
+ "border-danger-medium": R.red[400],
7046
+ "border-danger-light": R.red[300],
7047
+ "border-selected-dark": R.green[900],
7048
+ "border-selected-medium": R.green[400],
7049
+ "border-selected-light": R.green[300],
7076
7050
  "border-white": "#ffffff",
7077
- "border-error-dark": H.red[700],
7051
+ "border-error-dark": R.red[700],
7078
7052
  "border-error-light": hi,
7079
- "border-information": H.violet[400],
7080
- "border-success": H.green[400],
7081
- "border-warning": H.orange[400],
7082
- "border-error": H.red[400],
7053
+ "border-information": R.violet[400],
7054
+ "border-success": R.green[400],
7055
+ "border-warning": R.orange[400],
7056
+ "border-error": R.red[400],
7083
7057
  /**
7084
7058
  * Focus tokens.
7085
7059
  */
7086
- "focus-dark": H.green[700],
7087
- "focus-light": H.green[300],
7088
- "focus-error-dark": H.red[700],
7060
+ "focus-dark": R.green[700],
7061
+ "focus-light": R.green[300],
7062
+ "focus-error-dark": R.red[700],
7089
7063
  "focus-error-light": hi,
7090
7064
  /**
7091
7065
  * Table tokens
7092
7066
  */
7093
- "table-head-dark": H.gray[950],
7094
- "table-dark": H.gray[700],
7095
- "table-dark-odd": H.gray[800],
7096
- "table-dark-even": H.gray[900],
7097
- "table-head-light": H.gray[100],
7098
- "table-light": H.gray[100],
7099
- "table-light-odd": H.gray[200],
7100
- "table-light-even": H.gray[300]
7101
- }
7102
- }, zl = Ui("rgb"), Bl = () => {
7067
+ "table-head-dark": R.gray[950],
7068
+ "table-dark": R.gray[700],
7069
+ "table-dark-odd": R.gray[800],
7070
+ "table-dark-even": R.gray[900],
7071
+ "table-head-light": R.gray[100],
7072
+ "table-light": R.gray[100],
7073
+ "table-light-odd": R.gray[200],
7074
+ "table-light-even": R.gray[300]
7075
+ }
7076
+ }, Pl = Ui("rgb"), Al = () => {
7103
7077
  const e = {};
7104
7078
  return Object.entries(ee.colors).forEach(([t, r]) => {
7105
- const i = zl(r), n = `--av-${t}`, a = i ? `${i.r * 255} ${i.g * 255} ${i.b * 255}` : "0 0 0";
7079
+ const i = Pl(r), n = `--av-${t}`, a = i ? `${i.r * 255} ${i.g * 255} ${i.b * 255}` : "0 0 0";
7106
7080
  e[t] = `var(${n}, rgb(${a} / <alpha-value>))`;
7107
7081
  }), e;
7108
- }, Ll = Bl(), Dl = {
7082
+ }, zl = Al(), Bl = {
7109
7083
  theme: {
7110
7084
  extend: {
7111
- colors: Ll,
7085
+ colors: zl,
7112
7086
  typography: ({ theme: e }) => ({
7113
7087
  DEFAULT: {
7114
7088
  css: {
@@ -7212,7 +7186,7 @@ const hi = "#ff3f3f", ee = {
7212
7186
  })
7213
7187
  }
7214
7188
  }
7215
- }, ql = [
7189
+ }, Ll = [
7216
7190
  "@versini/ui-anchor",
7217
7191
  "@versini/ui-bubble",
7218
7192
  "@versini/ui-button",
@@ -7241,17 +7215,17 @@ const hi = "#ff3f3f", ee = {
7241
7215
  "@versini/ui-form"
7242
7216
  ].map(
7243
7217
  (e) => `${process.cwd()}/node_modules/${e}/dist/**/*.{js,ts,jsx,tsx}`
7244
- ), $l = [...Gu], Nl = [
7218
+ ), Dl = [
7245
7219
  Hu,
7246
7220
  xa(function({ addComponents: e }) {
7247
7221
  e(ju), e(Uu), e(Wu);
7248
- }, Dl)
7249
- ], Rl = {
7222
+ }, Bl)
7223
+ ], ql = {
7250
7224
  merge: (e) => {
7251
- const t = ql, r = Nl, i = $l;
7252
- return e.safelist = [...e.safelist || [], ...i], e.content = [...e.content || [], ...t], e.plugins = [...e.plugins || [], ...r], e;
7225
+ const t = Ll, r = Dl;
7226
+ return e.safelist = [...e.safelist || []], e.content = [...e.content || [], ...t], e.plugins = [...e.plugins || [], ...r], e;
7253
7227
  }
7254
7228
  };
7255
7229
  export {
7256
- Rl as twPlugin
7230
+ ql as twPlugin
7257
7231
  };