coveragebook_components 0.8.3 → 0.8.5

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.
@@ -6356,7 +6356,7 @@
6356
6356
  }
6357
6357
  function __spreadArray(to, from, pack2) {
6358
6358
  if (pack2 || arguments.length === 2)
6359
- for (var i4 = 0, l3 = from.length, ar; i4 < l3; i4++) {
6359
+ for (var i4 = 0, l2 = from.length, ar; i4 < l2; i4++) {
6360
6360
  if (ar || !(i4 in from)) {
6361
6361
  if (!ar)
6362
6362
  ar = Array.prototype.slice.call(from, 0, i4);
@@ -7996,13 +7996,13 @@
7996
7996
  var hue = tokens2[0], saturation = tokens2[1], lightness = tokens2[2], alpha = tokens2[3];
7997
7997
  var h3 = (hue.type === 17 ? deg(hue.number) : angle.parse(context, hue)) / (Math.PI * 2);
7998
7998
  var s3 = isLengthPercentage(saturation) ? saturation.number / 100 : 0;
7999
- var l3 = isLengthPercentage(lightness) ? lightness.number / 100 : 0;
7999
+ var l2 = isLengthPercentage(lightness) ? lightness.number / 100 : 0;
8000
8000
  var a4 = typeof alpha !== "undefined" && isLengthPercentage(alpha) ? getAbsoluteValue(alpha, 1) : 1;
8001
8001
  if (s3 === 0) {
8002
- return pack(l3 * 255, l3 * 255, l3 * 255, 1);
8002
+ return pack(l2 * 255, l2 * 255, l2 * 255, 1);
8003
8003
  }
8004
- var t22 = l3 <= 0.5 ? l3 * (s3 + 1) : l3 + s3 - l3 * s3;
8005
- var t1 = l3 * 2 - t22;
8004
+ var t22 = l2 <= 0.5 ? l2 * (s3 + 1) : l2 + s3 - l2 * s3;
8005
+ var t1 = l2 * 2 - t22;
8006
8006
  var r3 = hue2rgb(t1, t22, h3 + 1 / 3);
8007
8007
  var g3 = hue2rgb(t1, t22, h3);
8008
8008
  var b3 = hue2rgb(t1, t22, h3 - 1 / 3);
@@ -14044,7 +14044,7 @@
14044
14044
  var package_default = {
14045
14045
  name: "coveragebook-components",
14046
14046
  type: "module",
14047
- version: "0.8.3",
14047
+ version: "0.8.5",
14048
14048
  main: "index.js",
14049
14049
  repository: "git@github.com:coveragebook/coco.git",
14050
14050
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -14053,28 +14053,27 @@
14053
14053
  "defaults"
14054
14054
  ],
14055
14055
  dependencies: {
14056
- "@alpinejs/collapse": "^3.13.2",
14057
- "@alpinejs/focus": "^3.13.2",
14058
- "@alpinejs/intersect": "^3.13.2",
14059
- "@alpinejs/mask": "^3.13.2",
14060
- "@alpinejs/morph": "^3.11.1",
14056
+ "@alpinejs/collapse": "3.12.1",
14057
+ "@alpinejs/focus": "3.12.1",
14058
+ "@alpinejs/intersect": "3.12.1",
14059
+ "@alpinejs/mask": "3.12.1",
14060
+ "@alpinejs/morph": "3.12.1",
14061
14061
  "@jaames/iro": "^5.5.2",
14062
14062
  "@tailwindcss/container-queries": "^0.1.0",
14063
- "@tailwindcss/forms": "^0.5.3",
14064
- alpinejs: "^3.11.1",
14063
+ "@tailwindcss/forms": "^0.5.6",
14064
+ alpinejs: "3.12.2",
14065
14065
  "container-query-polyfill": "^1.0.2",
14066
14066
  del: "^7.1.0",
14067
14067
  html2canvas: "^1.4.1",
14068
14068
  "js-cookie": "^3.0.5",
14069
14069
  lodash: "^4.17.21",
14070
14070
  "lucide-static": "^0.290.0",
14071
- tailwindcss: "^3.3.0",
14071
+ tailwindcss: "^3.3.5",
14072
14072
  "tippy.js": "^6.3.7"
14073
14073
  },
14074
14074
  devDependencies: {
14075
14075
  "@percy/cli": "^1.27.3",
14076
- "alias-hq": "^6.1.0",
14077
- "alpinejs-tash": "^1.0.9",
14076
+ "alias-hq": "^6.2.2",
14078
14077
  autoprefixer: "^10.4.16",
14079
14078
  esbuild: "^0.17.10",
14080
14079
  "esbuild-plugin-copy": "^2.0.2",
@@ -14083,15 +14082,13 @@
14083
14082
  husky: "^8.0.3",
14084
14083
  jest: "^29.4.3",
14085
14084
  "jest-environment-jsdom": "^29.4.3",
14086
- "lint-staged": "^13.1.2",
14085
+ "lint-staged": "^15.0.2",
14087
14086
  postcss: "^8.4.31",
14088
14087
  "postcss-cli": "^10.1.0",
14089
14088
  "postcss-value-parser": "^4.2.0",
14090
14089
  prettier: "^2.8.4",
14091
14090
  "release-it": "^15.10.3",
14092
- svgo: "^3.0.2",
14093
- vite: "^4.1.4",
14094
- "vite-plugin-ruby": "^3.1.3"
14091
+ svgo: "^3.0.2"
14095
14092
  },
14096
14093
  scripts: {
14097
14094
  "js:build": "node esbuild.config.js",
@@ -14252,17 +14249,17 @@
14252
14249
  switch (e3.type) {
14253
14250
  case 4:
14254
14251
  return function(e4, t4) {
14255
- const o3 = n(e4.left, t4), s3 = n(e4.right, t4), l3 = e4.operator;
14252
+ const o3 = n(e4.left, t4), s3 = n(e4.right, t4), l2 = e4.operator;
14256
14253
  if (4 === o3.type && 4 === s3.type || 5 === o3.type && 5 === s3.type)
14257
14254
  return function(e5, t5, n3) {
14258
14255
  return 1 === n3 ? r(e5.value === t5.value) : { type: 1 };
14259
- }(o3, s3, l3);
14256
+ }(o3, s3, l2);
14260
14257
  if (3 === o3.type || 3 === s3.type) {
14261
14258
  const e5 = c(o3, t4), n3 = c(s3, t4);
14262
14259
  if (null != e5 && null != n3)
14263
- return u(e5, n3, l3);
14260
+ return u(e5, n3, l2);
14264
14261
  } else if (2 === o3.type && 2 === s3.type)
14265
- return u(o3.value, s3.value, l3);
14262
+ return u(o3.value, s3.value, l2);
14266
14263
  return { type: 1 };
14267
14264
  }(e3, t3);
14268
14265
  case 2:
@@ -14330,7 +14327,7 @@
14330
14327
  const e4 = r4.codePointAt(0);
14331
14328
  n3 && 10 !== e4 && (n3 = false, t3.push(10)), 0 === e4 || e4 >= 55296 && e4 <= 57343 ? t3.push(65533) : 13 === e4 ? n3 = true : t3.push(e4);
14332
14329
  }
14333
- const r3 = q(t3, -1), { at: u3, consume: o3, error: s3, reconsume: l3 } = r3;
14330
+ const r3 = q(t3, -1), { at: u3, consume: o3, error: s3, reconsume: l2 } = r3;
14334
14331
  function c3() {
14335
14332
  return String.fromCodePoint(r3.value);
14336
14333
  }
@@ -14410,7 +14407,7 @@
14410
14407
  if (-1 === n4 || n4 === e4)
14411
14408
  return -1 === n4 && s3(), { type: 2, value: t4 };
14412
14409
  if (E(n4))
14413
- return s3(), l3(), { type: 3 };
14410
+ return s3(), l2(), { type: 3 };
14414
14411
  if (92 === n4) {
14415
14412
  const e5 = u3(1);
14416
14413
  if (-1 === e5)
@@ -14450,7 +14447,7 @@
14450
14447
  e4 += c3();
14451
14448
  else {
14452
14449
  if (!j(t4, u3(1)))
14453
- return l3(), e4;
14450
+ return l2(), e4;
14454
14451
  e4 += v3();
14455
14452
  }
14456
14453
  }
@@ -14481,14 +14478,14 @@
14481
14478
  else if (41 === e4)
14482
14479
  yield { type: 5 };
14483
14480
  else if (43 === e4)
14484
- m3(e4, u3(1), u3(2)) ? (l3(), yield p2()) : yield i3();
14481
+ m3(e4, u3(1), u3(2)) ? (l2(), yield p2()) : yield i3();
14485
14482
  else if (44 === e4)
14486
14483
  yield { type: 6 };
14487
14484
  else if (45 === e4) {
14488
14485
  const t4 = u3(1), n4 = u3(2);
14489
- m3(e4, t4, n4) ? (l3(), yield p2()) : 45 === t4 && 62 === n4 ? (o3(2), yield { type: 19 }) : d3(e4, t4, n4) ? (l3(), yield y3()) : yield i3();
14486
+ m3(e4, t4, n4) ? (l2(), yield p2()) : 45 === t4 && 62 === n4 ? (o3(2), yield { type: 19 }) : d3(e4, t4, n4) ? (l2(), yield y3()) : yield i3();
14490
14487
  } else if (46 === e4)
14491
- m3(e4, u3(1), u3(2)) ? (l3(), yield p2()) : yield i3();
14488
+ m3(e4, u3(1), u3(2)) ? (l2(), yield p2()) : yield i3();
14492
14489
  else if (58 === e4)
14493
14490
  yield { type: 7 };
14494
14491
  else if (59 === e4)
@@ -14504,7 +14501,7 @@
14504
14501
  else if (91 === e4)
14505
14502
  yield { type: 9 };
14506
14503
  else if (92 === e4)
14507
- j(e4, u3(1)) ? (l3(), yield y3()) : (s3(), yield i3());
14504
+ j(e4, u3(1)) ? (l2(), yield y3()) : (s3(), yield i3());
14508
14505
  else if (93 === e4)
14509
14506
  yield { type: 10 };
14510
14507
  else if (123 === e4)
@@ -14512,9 +14509,9 @@
14512
14509
  else if (125 === e4)
14513
14510
  yield { type: 12 };
14514
14511
  else if (k(e4))
14515
- l3(), yield p2();
14512
+ l2(), yield p2();
14516
14513
  else if (L(e4))
14517
- l3(), yield y3();
14514
+ l2(), yield y3();
14518
14515
  else {
14519
14516
  if (-1 === e4)
14520
14517
  return yield { type: 0 }, r3.errorIndices;
@@ -15049,8 +15046,8 @@
15049
15046
  const s3 = J(e5);
15050
15047
  if (s3 === x || !(X(u3) && X(s3) || K(u3) && K(s3)))
15051
15048
  return x;
15052
- const l3 = Y(e5, false), c3 = Z(o3, t5);
15053
- return c3 !== x ? { type: 2, feature: c3, bounds: [[u3, n5], [s3, l3]] } : x;
15049
+ const l2 = Y(e5, false), c3 = Z(o3, t5);
15050
+ return c3 !== x ? { type: 2, feature: c3, bounds: [[u3, n5], [s3, l2]] } : x;
15054
15051
  }(e4, ie);
15055
15052
  if (n4 === x)
15056
15053
  return x;
@@ -15227,14 +15224,14 @@
15227
15224
  if (t4.value) {
15228
15225
  const r3 = $e(t4.prelude);
15229
15226
  if (r3 !== x) {
15230
- const u3 = { rule: r3, selector: null, parent: n4.parent, uid: "c" + Ae++ }, o3 = /* @__PURE__ */ new Set(), s3 = [], l3 = Oe(P(t4.value.value.value), { descriptors: n4.descriptors, parent: u3, transformStyleRule: (t5) => {
15227
+ const u3 = { rule: r3, selector: null, parent: n4.parent, uid: "c" + Ae++ }, o3 = /* @__PURE__ */ new Set(), s3 = [], l2 = Oe(P(t4.value.value.value), { descriptors: n4.descriptors, parent: u3, transformStyleRule: (t5) => {
15231
15228
  const [n5, r4] = function(e3, t6, n6) {
15232
15229
  const r5 = C(e3), u4 = [], o4 = [];
15233
15230
  for (; ; ) {
15234
15231
  if (0 === r5.at(1).type)
15235
15232
  return [u4, o4];
15236
15233
  const n7 = Math.max(0, r5.index);
15237
- for (; l5 = r5.at(1), c3 = r5.at(2), !(Fe(l5) || 7 === l5.type && (7 === c3.type || 24 === c3.type && Me.has(c3.value.toLowerCase()))); )
15234
+ for (; l4 = r5.at(1), c3 = r5.at(2), !(Fe(l4) || 7 === l4.type && (7 === c3.type || 24 === c3.type && Me.has(c3.value.toLowerCase()))); )
15238
15235
  r5.consume(1);
15239
15236
  const i3 = r5.index + 1, a3 = e3.slice(n7, i3), f3 = a3.length > 0 ? Ue(a3) : [ee("*")];
15240
15237
  for (; !Fe(r5.at(1)); )
@@ -15249,13 +15246,13 @@
15249
15246
  }
15250
15247
  u4.push(...f3), o4.push(...y3), o4.push(...h3), o4.push(...p2), r5.consume(1);
15251
15248
  }
15252
- var l5, c3;
15249
+ var l4, c3;
15253
15250
  }(t5.prelude, u3.uid);
15254
15251
  if (s3.length > 0)
15255
15252
  return t5;
15256
- const l4 = n5.map(B).join("");
15253
+ const l3 = n5.map(B).join("");
15257
15254
  try {
15258
- je.matches(l4), o3.add(l4);
15255
+ je.matches(l3), o3.add(l3);
15259
15256
  } catch (e3) {
15260
15257
  }
15261
15258
  return e({}, t5, { prelude: r4 });
@@ -15272,7 +15269,7 @@
15272
15269
 
15273
15270
  ${t5.join("\n")}`);
15274
15271
  }
15275
- return o3.size > 0 && (u3.selector = Array.from(o3).join(", ")), n4.descriptors.push(u3), { type: 25, name: "media", prelude: [ne("all")], value: e({}, t4.value, { value: { type: 3, value: l3 } }) };
15272
+ return o3.size > 0 && (u3.selector = Array.from(o3).join(", ")), n4.descriptors.push(u3), { type: 25, name: "media", prelude: [ne("all")], value: e({}, t4.value, { value: { type: 3, value: l2 } }) };
15276
15273
  }
15277
15274
  }
15278
15275
  return t4;
@@ -15341,8 +15338,8 @@ ${t5.join("\n")}`);
15341
15338
  if ("stylesheet" === t3.rel) {
15342
15339
  const n3 = new URL(t3.href, document.baseURI);
15343
15340
  n3.origin === location.origin && (this.controller = rt(async function(r3) {
15344
- const u3 = await fetch(n3.toString(), { signal: r3 }), o3 = await u3.text(), s3 = e3.styleSheet = await e3.context.registerStyleSheet({ source: o3, url: n3, signal: r3 }), l3 = new Blob([s3.source], { type: "text/css" }), c3 = new Image();
15345
- c3.onload = c3.onerror = s3.refresh, c3.src = t3.href = URL.createObjectURL(l3);
15341
+ const u3 = await fetch(n3.toString(), { signal: r3 }), o3 = await u3.text(), s3 = e3.styleSheet = await e3.context.registerStyleSheet({ source: o3, url: n3, signal: r3 }), l2 = new Blob([s3.source], { type: "text/css" }), c3 = new Image();
15342
+ c3.onload = c3.onerror = s3.refresh, c3.src = t3.href = URL.createObjectURL(l2);
15346
15343
  }));
15347
15344
  }
15348
15345
  }
@@ -15458,7 +15455,7 @@ ${t5.join("\n")}`);
15458
15455
  t3.target.nodeType !== Node.DOCUMENT_NODE && t3.target.nodeType !== Node.DOCUMENT_FRAGMENT_NODE && null === t3.target.parentNode || "attributes" === t3.type && t3.attributeName && (t3.attributeName === v || t3.attributeName === d || t3.target instanceof Element && t3.target.getAttribute(t3.attributeName) === t3.oldValue) || (A3(t3.target).mutate(), S2());
15459
15456
  }
15460
15457
  }).observe(u3, { childList: true, subtree: true, attributes: true, attributeOldValue: true });
15461
- const l3 = new ResizeObserver((e3) => {
15458
+ const l2 = new ResizeObserver((e3) => {
15462
15459
  for (const t3 of e3)
15463
15460
  A3(t3.target).resize();
15464
15461
  A3(u3).update(C3());
@@ -15484,18 +15481,18 @@ ${t5.join("\n")}`);
15484
15481
  }
15485
15482
  }(t3, n4 ? n4.toString() : void 0);
15486
15483
  let s4 = () => {
15487
- }, l4 = () => {
15484
+ }, l3 = () => {
15488
15485
  };
15489
15486
  const c4 = A3(u3);
15490
15487
  let i3 = false;
15491
- return null != r4 && r4.aborted || (l4 = () => {
15488
+ return null != r4 && r4.aborted || (l3 = () => {
15492
15489
  if (!i3) {
15493
15490
  const { sheet: t4 } = e3;
15494
15491
  null != t4 && (pt(t4, o4.descriptors), i3 = true, s4 = () => {
15495
15492
  pt(t4), c4.mutate(), S2();
15496
15493
  }, c4.mutate(), S2());
15497
15494
  }
15498
- }), { source: o4.source, dispose: s4, refresh: l4 };
15495
+ }), { source: o4.source, dispose: s4, refresh: l3 };
15499
15496
  }
15500
15497
  const p2 = { cqw: null, cqh: null };
15501
15498
  function y3({ width: e3, height: t3 }) {
@@ -15512,7 +15509,7 @@ ${t5.join("\n")}`);
15512
15509
  }
15513
15510
  }
15514
15511
  function S2() {
15515
- l3.unobserve(u3), l3.observe(u3);
15512
+ l2.unobserve(u3), l2.observe(u3);
15516
15513
  }
15517
15514
  const x3 = () => {
15518
15515
  const e3 = [];
@@ -15538,14 +15535,14 @@ ${t5.join("\n")}`);
15538
15535
  return (...n7) => {
15539
15536
  if (null == u4 || !De(u4[0], n7)) {
15540
15537
  const o4 = ((n8, u5) => {
15541
- const { context: o5, conditions: s4 } = n8, l4 = (e3) => r5.getPropertyValue(e3), c4 = it(l4), a4 = e({}, o5, { writingAxis: c4.writingAxis });
15538
+ const { context: o5, conditions: s4 } = n8, l3 = (e3) => r5.getPropertyValue(e3), c4 = it(l3), a4 = e({}, o5, { writingAxis: c4.writingAxis });
15542
15539
  let f4 = s4, p4 = false, y4 = c4.displayFlags;
15543
15540
  0 == (1 & n8.displayFlags) && (y4 = 0);
15544
15541
  const { containerType: h4, containerNames: v3 } = c4;
15545
15542
  if (h4 > 0) {
15546
15543
  const e3 = h4 > 0 && 2 == (2 & y4), n9 = new Map(s4.map((e4) => [e4[0].value, e4[1]]));
15547
15544
  if (f4 = [], p4 = true, e3) {
15548
- const e4 = ct(l4);
15545
+ const e4 = ct(l3);
15549
15546
  a4.fontSize = e4.fontSize;
15550
15547
  const r6 = function(e5, t3) {
15551
15548
  const n10 = { value: t3.width }, r7 = { value: t3.height };
@@ -15567,8 +15564,8 @@ ${t5.join("\n")}`);
15567
15564
  const o7 = i(e6.condition, { sizeFeatures: r8, treeContext: n10.treeContext });
15568
15565
  return 5 === o7.type ? o7.value : null;
15569
15566
  }(r7, u6) : null;
15570
- var l5;
15571
- return null == s5 ? 1 === ((null != (l5 = n9.get(e5)) ? l5 : 0) && 1) : true === s5;
15567
+ var l4;
15568
+ return null == s5 ? 1 === ((null != (l4 = n9.get(e5)) ? l4 : 0) && 1) : true === s5;
15572
15569
  }, y5 = (e5, t3) => {
15573
15570
  let n10 = e5.get(t3);
15574
15571
  if (null == n10) {
@@ -15604,7 +15601,7 @@ ${t5.join("\n")}`);
15604
15601
  A3(e3);
15605
15602
  p3.connected();
15606
15603
  }, disconnect() {
15607
- n4 instanceof Element && (l3.unobserve(n4), n4.removeAttribute(v), n4.removeAttribute(d)), z3 && (z3.removeProperty(g), z3.removeProperty(b), z3.removeProperty(m), z3.removeProperty(w));
15604
+ n4 instanceof Element && (l2.unobserve(n4), n4.removeAttribute(v), n4.removeAttribute(d)), z3 && (z3.removeProperty(g), z3.removeProperty(b), z3.removeProperty(m), z3.removeProperty(w));
15608
15605
  for (let e3 = n4.firstChild; null != e3; e3 = e3.nextSibling) {
15609
15606
  const t3 = r3(e3);
15610
15607
  null == t3 || t3.disconnect();
@@ -15615,12 +15612,12 @@ ${t5.join("\n")}`);
15615
15612
  if (r4) {
15616
15613
  if (h3(n4, e3, d), h3(n4, t3, v), n4 instanceof Element) {
15617
15614
  const e4 = x4 || t3.isQueryContainer;
15618
- e4 && !L2 ? (l3.observe(n4), L2 = true) : !e4 && L2 && (l3.unobserve(n4), L2 = false);
15615
+ e4 && !L2 ? (l2.observe(n4), L2 = true) : !e4 && L2 && (l2.unobserve(n4), L2 = false);
15619
15616
  }
15620
15617
  if (z3) {
15621
15618
  const n5 = t3.context, r5 = n5.writingAxis;
15622
- let u4 = null, o4 = null, s4 = null, l4 = null;
15623
- (r5 !== e3.context.writingAxis || t3.isQueryContainer) && (u4 = `var(${0 === r5 ? m : w})`, o4 = `var(${1 === r5 ? m : w})`), e3 && !t3.isQueryContainer || (n5.cqw && (s4 = n5.cqw + "px"), n5.cqh && (l4 = n5.cqh + "px")), at(z3, g, u4), at(z3, b, o4), at(z3, m, s4), at(z3, w, l4);
15619
+ let u4 = null, o4 = null, s4 = null, l3 = null;
15620
+ (r5 !== e3.context.writingAxis || t3.isQueryContainer) && (u4 = `var(${0 === r5 ? m : w})`, o4 = `var(${1 === r5 ? m : w})`), e3 && !t3.isQueryContainer || (n5.cqw && (s4 = n5.cqw + "px"), n5.cqh && (l3 = n5.cqh + "px")), at(z3, g, u4), at(z3, b, o4), at(z3, m, s4), at(z3, w, l3);
15624
15621
  }
15625
15622
  p3.updated();
15626
15623
  }
@@ -17367,7 +17364,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
17367
17364
  const method = Array.prototype[key];
17368
17365
  arrayInstrumentations[key] = function(...args) {
17369
17366
  const arr = toRaw(this);
17370
- for (let i3 = 0, l3 = this.length; i3 < l3; i3++) {
17367
+ for (let i3 = 0, l2 = this.length; i3 < l2; i3++) {
17371
17368
  track(arr, "get", i3 + "");
17372
17369
  }
17373
17370
  const res = method.apply(arr, args);
@@ -19045,7 +19042,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
19045
19042
  let evaluate2 = evaluateLater2(expression);
19046
19043
  let options = {
19047
19044
  rootMargin: getRootMargin(modifiers),
19048
- threshold: getThreshold(modifiers)
19045
+ threshold: getThreshhold(modifiers)
19049
19046
  };
19050
19047
  let observer2 = new IntersectionObserver((entries) => {
19051
19048
  entries.forEach((entry) => {
@@ -19061,7 +19058,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
19061
19058
  });
19062
19059
  });
19063
19060
  }
19064
- function getThreshold(modifiers) {
19061
+ function getThreshhold(modifiers) {
19065
19062
  if (modifiers.includes("full"))
19066
19063
  return 0.99;
19067
19064
  if (modifiers.includes("half"))
@@ -19223,9 +19220,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
19223
19220
  return "-";
19224
19221
  if (/^\D+$/.test(input))
19225
19222
  return "9";
19226
- if (thousands === null || thousands === void 0) {
19227
- thousands = delimiter === "," ? "." : ",";
19228
- }
19223
+ thousands = thousands != null ? thousands : delimiter === "," ? "." : ",";
19229
19224
  let addThousands = (input2, thousands2) => {
19230
19225
  let output = "";
19231
19226
  let counter = 0;
@@ -19259,7 +19254,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
19259
19254
  }
19260
19255
  var module_default5 = src_default5;
19261
19256
 
19262
- // ../../../node_modules/@alpinejs/focus/dist/module.esm.js
19257
+ // ../../../node_modules/tabbable/dist/index.esm.js
19263
19258
  var candidateSelectors = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"];
19264
19259
  var candidateSelector = /* @__PURE__ */ candidateSelectors.join(",");
19265
19260
  var NoElement = typeof Element === "undefined";
@@ -19533,6 +19528,8 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
19533
19528
  }
19534
19529
  return isNodeMatchingSelectorFocusable(options, node);
19535
19530
  };
19531
+
19532
+ // ../../../node_modules/focus-trap/dist/focus-trap.esm.js
19536
19533
  function ownKeys2(object, enumerableOnly) {
19537
19534
  var keys = Object.keys(object);
19538
19535
  if (Object.getOwnPropertySymbols) {
@@ -20054,6 +20051,8 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
20054
20051
  trap.updateContainerElements(elements);
20055
20052
  return trap;
20056
20053
  };
20054
+
20055
+ // ../../../node_modules/@alpinejs/focus/dist/module.esm.js
20057
20056
  function src_default6(Alpine3) {
20058
20057
  let lastFocused;
20059
20058
  let currentFocused;
@@ -20257,22 +20256,6 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
20257
20256
  }
20258
20257
  var module_default6 = src_default6;
20259
20258
 
20260
- // ../../../node_modules/alpinejs-tash/dist/tash.esm.js
20261
- function l2(s3) {
20262
- s3.directive("tash", (r3, { modifiers: c3, expression: a3 }, { evaluate: u3, effect: m3 }) => {
20263
- let p2 = (e3) => new RegExp(`${d3}${e3}${f3}`, "g"), i3 = c3.includes("vue"), o3 = c3.includes("angular"), d3 = i3 ? "{{ " : o3 ? "{{" : "{", f3 = i3 ? " }}" : o3 ? "}}" : "}", g3 = a3.split(",").map((e3) => e3.trim()), t3 = document.createElement("template");
20264
- t3.innerHTML = r3.innerHTML;
20265
- let n3 = `${t3.innerHTML}`;
20266
- m3(() => {
20267
- g3.forEach((e3) => {
20268
- let H3 = u3(e3), h3 = p2(e3);
20269
- n3 = n3.replace(h3, H3);
20270
- }), r3.innerHTML = n3, n3 = t3.innerHTML;
20271
- });
20272
- });
20273
- }
20274
- var M2 = l2;
20275
-
20276
20259
  // helpers/alpine.js
20277
20260
  function registerComponents(components) {
20278
20261
  document.addEventListener("alpine:init", () => {
@@ -23867,7 +23850,6 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
23867
23850
 
23868
23851
  // libs/alpine/index.js
23869
23852
  window.Alpine = module_default;
23870
- module_default.plugin(M2);
23871
23853
  module_default.plugin(module_default5);
23872
23854
  module_default.plugin(module_default6);
23873
23855
  module_default.plugin(module_default2);
@@ -23884,7 +23866,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
23884
23866
 
23885
23867
  // helpers/location.js
23886
23868
  function navigateTo(url, options = {}) {
23887
- if (window.Turbo && options.turbo !== false) {
23869
+ if (window.Turbo && options.turbo === true) {
23888
23870
  delete options.turbo;
23889
23871
  turboOptions = Object.assign({ action: "advance" }, options);
23890
23872
  window.Turbo.visit(url, turboOptions);
@@ -24161,6 +24143,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
24161
24143
  },
24162
24144
  clear() {
24163
24145
  this.file = null;
24146
+ this.input.value = null;
24164
24147
  this.$dispatch("image-uploader:clear");
24165
24148
  },
24166
24149
  handleDrop(event) {
@@ -24410,28 +24393,40 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
24410
24393
  var item_default = CocoComponent("appSidebarNavItem", () => {
24411
24394
  return {
24412
24395
  menu: null,
24396
+ menuObserver: null,
24413
24397
  active: false,
24414
24398
  init() {
24415
- if (this.$refs.menu) {
24416
- this.menu = tippy_default(this.$el, {
24417
- theme: "coco-naked-dropdown",
24418
- placement: this.menuPlacement,
24419
- arrow: false,
24420
- offset: [0, 0],
24421
- trigger: "click",
24422
- interactive: true,
24423
- maxWidth: null,
24424
- onShow: () => {
24425
- this.active = true;
24426
- },
24427
- onHide: () => {
24428
- this.active = false;
24429
- },
24430
- content: () => this.$refs.menu.innerHTML
24431
- });
24399
+ if (this.menuTemplate) {
24400
+ this.initMenu();
24401
+ this.observeMenuForChanges();
24432
24402
  }
24433
- this.$watch("mobileLayout", () => {
24434
- this.onOrientationChange();
24403
+ this.$watch("mobileLayout", () => this.onOrientationChange());
24404
+ },
24405
+ initMenu() {
24406
+ this.menu = tippy_default(this.$root, {
24407
+ theme: "coco-naked-dropdown",
24408
+ placement: this.menuPlacement,
24409
+ arrow: false,
24410
+ offset: [0, 0],
24411
+ trigger: "click",
24412
+ interactive: true,
24413
+ maxWidth: null,
24414
+ onShow: () => {
24415
+ this.active = true;
24416
+ },
24417
+ onHide: () => {
24418
+ this.active = false;
24419
+ },
24420
+ content: () => this.menuTemplate.innerHTML
24421
+ });
24422
+ },
24423
+ observeMenuForChanges() {
24424
+ this.menuObserver = new MutationObserver((mutations) => {
24425
+ this.$nextTick(() => this.menu.setContent(this.menuTemplate.innerHTML));
24426
+ });
24427
+ this.menuObserver.observe(this.$root, {
24428
+ subtree: true,
24429
+ childList: true
24435
24430
  });
24436
24431
  },
24437
24432
  onOrientationChange() {
@@ -24441,10 +24436,22 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
24441
24436
  });
24442
24437
  }
24443
24438
  },
24439
+ destroy() {
24440
+ if (this.menuObserver) {
24441
+ this.menuObserver.disconnect();
24442
+ }
24443
+ },
24444
24444
  root: {
24445
- "@click": "if (menu) $event.preventDefault()",
24445
+ ["@turbo:load.document"]() {
24446
+ if (this.menu) {
24447
+ this.menu.hide();
24448
+ }
24449
+ },
24446
24450
  ":class": "{active}"
24447
24451
  },
24452
+ get menuTemplate() {
24453
+ return this.$root.querySelector("template");
24454
+ },
24448
24455
  get menuPlacement() {
24449
24456
  return this.mobileLayout ? "top" : "right-start";
24450
24457
  }
@@ -24631,17 +24638,15 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
24631
24638
  (value, oldValue) => this.history.add(name, value, oldValue)
24632
24639
  );
24633
24640
  });
24641
+ this.$watch("history.undoable", (undoable) => {
24642
+ if (undoable) {
24643
+ window.onbeforeunload = () => true;
24644
+ } else {
24645
+ window.onbeforeunload = null;
24646
+ }
24647
+ });
24634
24648
  this.ready = true;
24635
24649
  });
24636
- this.$watch("history.undoable", (undoable) => {
24637
- if (undoable) {
24638
- window.onbeforeunload = () => {
24639
- return true;
24640
- };
24641
- } else {
24642
- window.onbeforeunload = null;
24643
- }
24644
- });
24645
24650
  },
24646
24651
  undo(name, value) {
24647
24652
  this[name] = value;
@@ -24935,32 +24940,32 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
24935
24940
  var f2 = {};
24936
24941
  var e2 = [];
24937
24942
  var c2 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;
24938
- function s2(n3, l3) {
24939
- for (var u3 in l3) {
24940
- n3[u3] = l3[u3];
24943
+ function s2(n3, l2) {
24944
+ for (var u3 in l2) {
24945
+ n3[u3] = l2[u3];
24941
24946
  }
24942
24947
  return n3;
24943
24948
  }
24944
24949
  function a2(n3) {
24945
- var l3 = n3.parentNode;
24946
- l3 && l3.removeChild(n3);
24950
+ var l2 = n3.parentNode;
24951
+ l2 && l2.removeChild(n3);
24947
24952
  }
24948
- function h2(n3, l3, u3) {
24953
+ function h2(n3, l2, u3) {
24949
24954
  var t3, i3, r3, o3, f3 = arguments;
24950
- if (l3 = s2({}, l3), arguments.length > 3) {
24955
+ if (l2 = s2({}, l2), arguments.length > 3) {
24951
24956
  for (u3 = [u3], t3 = 3; t3 < arguments.length; t3++) {
24952
24957
  u3.push(f3[t3]);
24953
24958
  }
24954
24959
  }
24955
- if (null != u3 && (l3.children = u3), null != n3 && null != n3.defaultProps) {
24960
+ if (null != u3 && (l2.children = u3), null != n3 && null != n3.defaultProps) {
24956
24961
  for (i3 in n3.defaultProps) {
24957
- void 0 === l3[i3] && (l3[i3] = n3.defaultProps[i3]);
24962
+ void 0 === l2[i3] && (l2[i3] = n3.defaultProps[i3]);
24958
24963
  }
24959
24964
  }
24960
- return o3 = l3.key, null != (r3 = l3.ref) && delete l3.ref, null != o3 && delete l3.key, v2(n3, l3, o3, r3);
24965
+ return o3 = l2.key, null != (r3 = l2.ref) && delete l2.ref, null != o3 && delete l2.key, v2(n3, l2, o3, r3);
24961
24966
  }
24962
- function v2(l3, u3, t3, i3) {
24963
- var r3 = { type: l3, props: u3, key: t3, ref: i3, __k: null, __p: null, __b: 0, __e: null, l: null, __c: null, constructor: void 0 };
24967
+ function v2(l2, u3, t3, i3) {
24968
+ var r3 = { type: l2, props: u3, key: t3, ref: i3, __k: null, __p: null, __b: 0, __e: null, l: null, __c: null, constructor: void 0 };
24964
24969
  return n2.vnode && n2.vnode(r3), r3;
24965
24970
  }
24966
24971
  function d2(n3) {
@@ -24974,30 +24979,30 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
24974
24979
  return v2(null, n3, null, null);
24975
24980
  }
24976
24981
  if (null != n3.__e || null != n3.__c) {
24977
- var l3 = v2(n3.type, n3.props, n3.key, null);
24978
- return l3.__e = n3.__e, l3;
24982
+ var l2 = v2(n3.type, n3.props, n3.key, null);
24983
+ return l2.__e = n3.__e, l2;
24979
24984
  }
24980
24985
  return n3;
24981
24986
  }
24982
- function m2(n3, l3) {
24983
- this.props = n3, this.context = l3;
24987
+ function m2(n3, l2) {
24988
+ this.props = n3, this.context = l2;
24984
24989
  }
24985
- function w2(n3, l3) {
24986
- if (null == l3) {
24990
+ function w2(n3, l2) {
24991
+ if (null == l2) {
24987
24992
  return n3.__p ? w2(n3.__p, n3.__p.__k.indexOf(n3) + 1) : null;
24988
24993
  }
24989
- for (var u3; l3 < n3.__k.length; l3++) {
24990
- if (null != (u3 = n3.__k[l3]) && null != u3.__e) {
24994
+ for (var u3; l2 < n3.__k.length; l2++) {
24995
+ if (null != (u3 = n3.__k[l2]) && null != u3.__e) {
24991
24996
  return u3.__e;
24992
24997
  }
24993
24998
  }
24994
24999
  return "function" == typeof n3.type ? w2(n3) : null;
24995
25000
  }
24996
25001
  function g2(n3) {
24997
- var l3, u3;
25002
+ var l2, u3;
24998
25003
  if (null != (n3 = n3.__p) && null != n3.__c) {
24999
- for (n3.__e = n3.__c.base = null, l3 = 0; l3 < n3.__k.length; l3++) {
25000
- if (null != (u3 = n3.__k[l3]) && null != u3.__e) {
25004
+ for (n3.__e = n3.__c.base = null, l2 = 0; l2 < n3.__k.length; l2++) {
25005
+ if (null != (u3 = n3.__k[l2]) && null != u3.__e) {
25001
25006
  n3.__e = n3.__c.base = u3.__e;
25002
25007
  break;
25003
25008
  }
@@ -25005,22 +25010,22 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25005
25010
  return g2(n3);
25006
25011
  }
25007
25012
  }
25008
- function k2(l3) {
25009
- (!l3.__d && (l3.__d = true) && 1 === u2.push(l3) || i2 !== n2.debounceRendering) && (i2 = n2.debounceRendering, (n2.debounceRendering || t2)(_2));
25013
+ function k2(l2) {
25014
+ (!l2.__d && (l2.__d = true) && 1 === u2.push(l2) || i2 !== n2.debounceRendering) && (i2 = n2.debounceRendering, (n2.debounceRendering || t2)(_2));
25010
25015
  }
25011
25016
  function _2() {
25012
- var n3, l3, t3, i3, r3, o3, f3, e3;
25013
- for (u2.sort(function(n4, l4) {
25014
- return l4.__v.__b - n4.__v.__b;
25017
+ var n3, l2, t3, i3, r3, o3, f3, e3;
25018
+ for (u2.sort(function(n4, l3) {
25019
+ return l3.__v.__b - n4.__v.__b;
25015
25020
  }); n3 = u2.pop(); ) {
25016
- n3.__d && (t3 = void 0, i3 = void 0, o3 = (r3 = (l3 = n3).__v).__e, f3 = l3.__P, e3 = l3.u, l3.u = false, f3 && (t3 = [], i3 = $2(f3, r3, s2({}, r3), l3.__n, void 0 !== f3.ownerSVGElement, null, t3, e3, null == o3 ? w2(r3) : o3), j2(t3, r3), i3 != o3 && g2(r3)));
25021
+ n3.__d && (t3 = void 0, i3 = void 0, o3 = (r3 = (l2 = n3).__v).__e, f3 = l2.__P, e3 = l2.u, l2.u = false, f3 && (t3 = [], i3 = $2(f3, r3, s2({}, r3), l2.__n, void 0 !== f3.ownerSVGElement, null, t3, e3, null == o3 ? w2(r3) : o3), j2(t3, r3), i3 != o3 && g2(r3)));
25017
25022
  }
25018
25023
  }
25019
- function b2(n3, l3, u3, t3, i3, r3, o3, c3, s3) {
25024
+ function b2(n3, l2, u3, t3, i3, r3, o3, c3, s3) {
25020
25025
  var h3, v3, p2, d3, y3, m3, g3, k3 = u3 && u3.__k || e2, _3 = k3.length;
25021
- if (c3 == f2 && (c3 = null != r3 ? r3[0] : _3 ? w2(u3, 0) : null), h3 = 0, l3.__k = x2(l3.__k, function(u4) {
25026
+ if (c3 == f2 && (c3 = null != r3 ? r3[0] : _3 ? w2(u3, 0) : null), h3 = 0, l2.__k = x2(l2.__k, function(u4) {
25022
25027
  if (null != u4) {
25023
- if (u4.__p = l3, u4.__b = l3.__b + 1, null === (p2 = k3[h3]) || p2 && u4.key == p2.key && u4.type === p2.type) {
25028
+ if (u4.__p = l2, u4.__b = l2.__b + 1, null === (p2 = k3[h3]) || p2 && u4.key == p2.key && u4.type === p2.type) {
25024
25029
  k3[h3] = void 0;
25025
25030
  } else {
25026
25031
  for (v3 = 0; v3 < _3; v3++) {
@@ -25046,13 +25051,13 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25046
25051
  }
25047
25052
  n3.insertBefore(d3, c3);
25048
25053
  }
25049
- "option" == l3.type && (n3.value = "");
25054
+ "option" == l2.type && (n3.value = "");
25050
25055
  }
25051
- c3 = d3.nextSibling, "function" == typeof l3.type && (l3.l = d3);
25056
+ c3 = d3.nextSibling, "function" == typeof l2.type && (l2.l = d3);
25052
25057
  }
25053
25058
  }
25054
25059
  return h3++, u4;
25055
- }), l3.__e = m3, null != r3 && "function" != typeof l3.type) {
25060
+ }), l2.__e = m3, null != r3 && "function" != typeof l2.type) {
25056
25061
  for (h3 = r3.length; h3--; ) {
25057
25062
  null != r3[h3] && a2(r3[h3]);
25058
25063
  }
@@ -25066,35 +25071,35 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25066
25071
  }
25067
25072
  }
25068
25073
  }
25069
- function x2(n3, l3, u3) {
25074
+ function x2(n3, l2, u3) {
25070
25075
  if (null == u3 && (u3 = []), null == n3 || "boolean" == typeof n3) {
25071
- l3 && u3.push(l3(null));
25076
+ l2 && u3.push(l2(null));
25072
25077
  } else if (Array.isArray(n3)) {
25073
25078
  for (var t3 = 0; t3 < n3.length; t3++) {
25074
- x2(n3[t3], l3, u3);
25079
+ x2(n3[t3], l2, u3);
25075
25080
  }
25076
25081
  } else {
25077
- u3.push(l3 ? l3(y2(n3)) : n3);
25082
+ u3.push(l2 ? l2(y2(n3)) : n3);
25078
25083
  }
25079
25084
  return u3;
25080
25085
  }
25081
- function C2(n3, l3, u3, t3, i3) {
25086
+ function C2(n3, l2, u3, t3, i3) {
25082
25087
  var r3;
25083
25088
  for (r3 in u3) {
25084
- r3 in l3 || N2(n3, r3, null, u3[r3], t3);
25089
+ r3 in l2 || N2(n3, r3, null, u3[r3], t3);
25085
25090
  }
25086
- for (r3 in l3) {
25087
- i3 && "function" != typeof l3[r3] || "value" === r3 || "checked" === r3 || u3[r3] === l3[r3] || N2(n3, r3, l3[r3], u3[r3], t3);
25091
+ for (r3 in l2) {
25092
+ i3 && "function" != typeof l2[r3] || "value" === r3 || "checked" === r3 || u3[r3] === l2[r3] || N2(n3, r3, l2[r3], u3[r3], t3);
25088
25093
  }
25089
25094
  }
25090
- function P2(n3, l3, u3) {
25091
- "-" === l3[0] ? n3.setProperty(l3, u3) : n3[l3] = "number" == typeof u3 && false === c2.test(l3) ? u3 + "px" : null == u3 ? "" : u3;
25095
+ function P2(n3, l2, u3) {
25096
+ "-" === l2[0] ? n3.setProperty(l2, u3) : n3[l2] = "number" == typeof u3 && false === c2.test(l2) ? u3 + "px" : null == u3 ? "" : u3;
25092
25097
  }
25093
- function N2(n3, l3, u3, t3, i3) {
25098
+ function N2(n3, l2, u3, t3, i3) {
25094
25099
  var r3, o3, f3, e3, c3;
25095
- if ("key" === (l3 = i3 ? "className" === l3 ? "class" : l3 : "class" === l3 ? "className" : l3) || "children" === l3)
25100
+ if ("key" === (l2 = i3 ? "className" === l2 ? "class" : l2 : "class" === l2 ? "className" : l2) || "children" === l2)
25096
25101
  ;
25097
- else if ("style" === l3) {
25102
+ else if ("style" === l2) {
25098
25103
  if (r3 = n3.style, "string" == typeof u3) {
25099
25104
  r3.cssText = u3;
25100
25105
  } else {
@@ -25110,13 +25115,13 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25110
25115
  }
25111
25116
  }
25112
25117
  } else {
25113
- "o" === l3[0] && "n" === l3[1] ? (e3 = l3 !== (l3 = l3.replace(/Capture$/, "")), c3 = l3.toLowerCase(), l3 = (c3 in n3 ? c3 : l3).slice(2), u3 ? (t3 || n3.addEventListener(l3, T2, e3), (n3.t || (n3.t = {}))[l3] = u3) : n3.removeEventListener(l3, T2, e3)) : "list" !== l3 && "tagName" !== l3 && "form" !== l3 && !i3 && l3 in n3 ? n3[l3] = null == u3 ? "" : u3 : "function" != typeof u3 && "dangerouslySetInnerHTML" !== l3 && (l3 !== (l3 = l3.replace(/^xlink:?/, "")) ? null == u3 || false === u3 ? n3.removeAttributeNS("http://www.w3.org/1999/xlink", l3.toLowerCase()) : n3.setAttributeNS("http://www.w3.org/1999/xlink", l3.toLowerCase(), u3) : null == u3 || false === u3 ? n3.removeAttribute(l3) : n3.setAttribute(l3, u3));
25118
+ "o" === l2[0] && "n" === l2[1] ? (e3 = l2 !== (l2 = l2.replace(/Capture$/, "")), c3 = l2.toLowerCase(), l2 = (c3 in n3 ? c3 : l2).slice(2), u3 ? (t3 || n3.addEventListener(l2, T2, e3), (n3.t || (n3.t = {}))[l2] = u3) : n3.removeEventListener(l2, T2, e3)) : "list" !== l2 && "tagName" !== l2 && "form" !== l2 && !i3 && l2 in n3 ? n3[l2] = null == u3 ? "" : u3 : "function" != typeof u3 && "dangerouslySetInnerHTML" !== l2 && (l2 !== (l2 = l2.replace(/^xlink:?/, "")) ? null == u3 || false === u3 ? n3.removeAttributeNS("http://www.w3.org/1999/xlink", l2.toLowerCase()) : n3.setAttributeNS("http://www.w3.org/1999/xlink", l2.toLowerCase(), u3) : null == u3 || false === u3 ? n3.removeAttribute(l2) : n3.setAttribute(l2, u3));
25114
25119
  }
25115
25120
  }
25116
- function T2(l3) {
25117
- return this.t[l3.type](n2.event ? n2.event(l3) : l3);
25121
+ function T2(l2) {
25122
+ return this.t[l2.type](n2.event ? n2.event(l2) : l2);
25118
25123
  }
25119
- function $2(l3, u3, t3, i3, r3, o3, f3, e3, c3, a3) {
25124
+ function $2(l2, u3, t3, i3, r3, o3, f3, e3, c3, a3) {
25120
25125
  var h3, v3, p2, y3, w3, g3, k3, _3, C3, P3, N3 = u3.type;
25121
25126
  if (void 0 !== u3.constructor) {
25122
25127
  return null;
@@ -25136,7 +25141,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25136
25141
  }
25137
25142
  null != v3.componentWillUpdate && v3.componentWillUpdate(_3, v3.__s, P3);
25138
25143
  }
25139
- for (y3 = v3.props, w3 = v3.state, v3.context = P3, v3.props = _3, v3.state = v3.__s, (h3 = n2.__r) && h3(u3), v3.__d = false, v3.__v = u3, v3.__P = l3, h3 = v3.render(v3.props, v3.state, v3.context), u3.__k = x2(null != h3 && h3.type == d2 && null == h3.key ? h3.props.children : h3), null != v3.getChildContext && (i3 = s2(s2({}, i3), v3.getChildContext())), p2 || null == v3.getSnapshotBeforeUpdate || (g3 = v3.getSnapshotBeforeUpdate(y3, w3)), b2(l3, u3, t3, i3, r3, o3, f3, c3, a3), v3.base = u3.__e; h3 = v3.__h.pop(); ) {
25144
+ for (y3 = v3.props, w3 = v3.state, v3.context = P3, v3.props = _3, v3.state = v3.__s, (h3 = n2.__r) && h3(u3), v3.__d = false, v3.__v = u3, v3.__P = l2, h3 = v3.render(v3.props, v3.state, v3.context), u3.__k = x2(null != h3 && h3.type == d2 && null == h3.key ? h3.props.children : h3), null != v3.getChildContext && (i3 = s2(s2({}, i3), v3.getChildContext())), p2 || null == v3.getSnapshotBeforeUpdate || (g3 = v3.getSnapshotBeforeUpdate(y3, w3)), b2(l2, u3, t3, i3, r3, o3, f3, c3, a3), v3.base = u3.__e; h3 = v3.__h.pop(); ) {
25140
25145
  v3.__s && (v3.state = v3.__s), h3.call(v3);
25141
25146
  }
25142
25147
  p2 || null == y3 || null == v3.componentDidUpdate || v3.componentDidUpdate(y3, w3, g3), k3 && (v3.__E = v3.__p = null);
@@ -25144,80 +25149,80 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25144
25149
  u3.__e = z2(t3.__e, u3, t3, i3, r3, o3, f3, a3);
25145
25150
  }
25146
25151
  (h3 = n2.diffed) && h3(u3);
25147
- } catch (l4) {
25148
- n2.__e(l4, u3, t3);
25152
+ } catch (l3) {
25153
+ n2.__e(l3, u3, t3);
25149
25154
  }
25150
25155
  return u3.__e;
25151
25156
  }
25152
- function j2(l3, u3) {
25153
- for (var t3; t3 = l3.pop(); ) {
25157
+ function j2(l2, u3) {
25158
+ for (var t3; t3 = l2.pop(); ) {
25154
25159
  try {
25155
25160
  t3.componentDidMount();
25156
- } catch (l4) {
25157
- n2.__e(l4, t3.__v);
25161
+ } catch (l3) {
25162
+ n2.__e(l3, t3.__v);
25158
25163
  }
25159
25164
  }
25160
25165
  n2.__c && n2.__c(u3);
25161
25166
  }
25162
- function z2(n3, l3, u3, t3, i3, r3, o3, c3) {
25163
- var s3, a3, h3, v3, p2 = u3.props, d3 = l3.props;
25164
- if (i3 = "svg" === l3.type || i3, null == n3 && null != r3) {
25167
+ function z2(n3, l2, u3, t3, i3, r3, o3, c3) {
25168
+ var s3, a3, h3, v3, p2 = u3.props, d3 = l2.props;
25169
+ if (i3 = "svg" === l2.type || i3, null == n3 && null != r3) {
25165
25170
  for (s3 = 0; s3 < r3.length; s3++) {
25166
- if (null != (a3 = r3[s3]) && (null === l3.type ? 3 === a3.nodeType : a3.localName === l3.type)) {
25171
+ if (null != (a3 = r3[s3]) && (null === l2.type ? 3 === a3.nodeType : a3.localName === l2.type)) {
25167
25172
  n3 = a3, r3[s3] = null;
25168
25173
  break;
25169
25174
  }
25170
25175
  }
25171
25176
  }
25172
25177
  if (null == n3) {
25173
- if (null === l3.type) {
25178
+ if (null === l2.type) {
25174
25179
  return document.createTextNode(d3);
25175
25180
  }
25176
- n3 = i3 ? document.createElementNS("http://www.w3.org/2000/svg", l3.type) : document.createElement(l3.type), r3 = null;
25181
+ n3 = i3 ? document.createElementNS("http://www.w3.org/2000/svg", l2.type) : document.createElement(l2.type), r3 = null;
25177
25182
  }
25178
- return null === l3.type ? p2 !== d3 && (null != r3 && (r3[r3.indexOf(n3)] = null), n3.data = d3) : l3 !== u3 && (null != r3 && (r3 = e2.slice.call(n3.childNodes)), h3 = (p2 = u3.props || f2).dangerouslySetInnerHTML, v3 = d3.dangerouslySetInnerHTML, c3 || (v3 || h3) && (v3 && h3 && v3.__html == h3.__html || (n3.innerHTML = v3 && v3.__html || "")), C2(n3, d3, p2, i3, c3), l3.__k = l3.props.children, v3 || b2(n3, l3, u3, t3, "foreignObject" !== l3.type && i3, r3, o3, f2, c3), c3 || ("value" in d3 && void 0 !== d3.value && d3.value !== n3.value && (n3.value = null == d3.value ? "" : d3.value), "checked" in d3 && void 0 !== d3.checked && d3.checked !== n3.checked && (n3.checked = d3.checked))), n3;
25183
+ return null === l2.type ? p2 !== d3 && (null != r3 && (r3[r3.indexOf(n3)] = null), n3.data = d3) : l2 !== u3 && (null != r3 && (r3 = e2.slice.call(n3.childNodes)), h3 = (p2 = u3.props || f2).dangerouslySetInnerHTML, v3 = d3.dangerouslySetInnerHTML, c3 || (v3 || h3) && (v3 && h3 && v3.__html == h3.__html || (n3.innerHTML = v3 && v3.__html || "")), C2(n3, d3, p2, i3, c3), l2.__k = l2.props.children, v3 || b2(n3, l2, u3, t3, "foreignObject" !== l2.type && i3, r3, o3, f2, c3), c3 || ("value" in d3 && void 0 !== d3.value && d3.value !== n3.value && (n3.value = null == d3.value ? "" : d3.value), "checked" in d3 && void 0 !== d3.checked && d3.checked !== n3.checked && (n3.checked = d3.checked))), n3;
25179
25184
  }
25180
- function A2(l3, u3, t3) {
25185
+ function A2(l2, u3, t3) {
25181
25186
  try {
25182
- "function" == typeof l3 ? l3(u3) : l3.current = u3;
25183
- } catch (l4) {
25184
- n2.__e(l4, t3);
25187
+ "function" == typeof l2 ? l2(u3) : l2.current = u3;
25188
+ } catch (l3) {
25189
+ n2.__e(l3, t3);
25185
25190
  }
25186
25191
  }
25187
- function D2(l3, u3, t3) {
25192
+ function D2(l2, u3, t3) {
25188
25193
  var i3, r3, o3;
25189
- if (n2.unmount && n2.unmount(l3), (i3 = l3.ref) && A2(i3, null, u3), t3 || "function" == typeof l3.type || (t3 = null != (r3 = l3.__e)), l3.__e = l3.l = null, null != (i3 = l3.__c)) {
25194
+ if (n2.unmount && n2.unmount(l2), (i3 = l2.ref) && A2(i3, null, u3), t3 || "function" == typeof l2.type || (t3 = null != (r3 = l2.__e)), l2.__e = l2.l = null, null != (i3 = l2.__c)) {
25190
25195
  if (i3.componentWillUnmount) {
25191
25196
  try {
25192
25197
  i3.componentWillUnmount();
25193
- } catch (l4) {
25194
- n2.__e(l4, u3);
25198
+ } catch (l3) {
25199
+ n2.__e(l3, u3);
25195
25200
  }
25196
25201
  }
25197
25202
  i3.base = i3.__P = null;
25198
25203
  }
25199
- if (i3 = l3.__k) {
25204
+ if (i3 = l2.__k) {
25200
25205
  for (o3 = 0; o3 < i3.length; o3++) {
25201
25206
  i3[o3] && D2(i3[o3], u3, t3);
25202
25207
  }
25203
25208
  }
25204
25209
  null != r3 && a2(r3);
25205
25210
  }
25206
- function H2(n3, l3, u3) {
25211
+ function H2(n3, l2, u3) {
25207
25212
  return this.constructor(n3, u3);
25208
25213
  }
25209
- function I2(l3, u3, t3) {
25214
+ function I2(l2, u3, t3) {
25210
25215
  var i3, o3, c3;
25211
- n2.__p && n2.__p(l3, u3), o3 = (i3 = t3 === r2) ? null : t3 && t3.__k || u3.__k, l3 = h2(d2, null, [l3]), c3 = [], $2(u3, i3 ? u3.__k = l3 : (t3 || u3).__k = l3, o3 || f2, f2, void 0 !== u3.ownerSVGElement, t3 && !i3 ? [t3] : o3 ? null : e2.slice.call(u3.childNodes), c3, false, t3 || f2, i3), j2(c3, l3);
25216
+ n2.__p && n2.__p(l2, u3), o3 = (i3 = t3 === r2) ? null : t3 && t3.__k || u3.__k, l2 = h2(d2, null, [l2]), c3 = [], $2(u3, i3 ? u3.__k = l2 : (t3 || u3).__k = l2, o3 || f2, f2, void 0 !== u3.ownerSVGElement, t3 && !i3 ? [t3] : o3 ? null : e2.slice.call(u3.childNodes), c3, false, t3 || f2, i3), j2(c3, l2);
25212
25217
  }
25213
- n2 = {}, m2.prototype.setState = function(n3, l3) {
25218
+ n2 = {}, m2.prototype.setState = function(n3, l2) {
25214
25219
  var u3 = this.__s !== this.state && this.__s || (this.__s = s2({}, this.state));
25215
- ("function" != typeof n3 || (n3 = n3(u3, this.props))) && s2(u3, n3), null != n3 && this.__v && (this.u = false, l3 && this.__h.push(l3), k2(this));
25220
+ ("function" != typeof n3 || (n3 = n3(u3, this.props))) && s2(u3, n3), null != n3 && this.__v && (this.u = false, l2 && this.__h.push(l2), k2(this));
25216
25221
  }, m2.prototype.forceUpdate = function(n3) {
25217
25222
  this.__v && (n3 && this.__h.push(n3), this.u = true, k2(this));
25218
- }, m2.prototype.render = d2, u2 = [], t2 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, i2 = n2.debounceRendering, n2.__e = function(n3, l3, u3) {
25219
- for (var t3; l3 = l3.__p; ) {
25220
- if ((t3 = l3.__c) && !t3.__p) {
25223
+ }, m2.prototype.render = d2, u2 = [], t2 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, i2 = n2.debounceRendering, n2.__e = function(n3, l2, u3) {
25224
+ for (var t3; l2 = l2.__p; ) {
25225
+ if ((t3 = l2.__c) && !t3.__p) {
25221
25226
  try {
25222
25227
  if (t3.constructor && null != t3.constructor.getDerivedStateFromError) {
25223
25228
  t3.setState(t3.constructor.getDerivedStateFromError(n3));
@@ -25228,8 +25233,8 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25228
25233
  t3.componentDidCatch(n3);
25229
25234
  }
25230
25235
  return k2(t3.__E = t3);
25231
- } catch (l4) {
25232
- n3 = l4;
25236
+ } catch (l3) {
25237
+ n3 = l3;
25233
25238
  }
25234
25239
  }
25235
25240
  }
@@ -25410,23 +25415,23 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25410
25415
  IroColor2.hsvToHsl = function hsvToHsl(hsv) {
25411
25416
  var s3 = hsv.s / 100;
25412
25417
  var v3 = hsv.v / 100;
25413
- var l3 = (2 - s3) * v3;
25414
- var divisor = l3 <= 1 ? l3 : 2 - l3;
25418
+ var l2 = (2 - s3) * v3;
25419
+ var divisor = l2 <= 1 ? l2 : 2 - l2;
25415
25420
  var saturation = divisor < 1e-9 ? 0 : s3 * v3 / divisor;
25416
25421
  return {
25417
25422
  h: hsv.h,
25418
25423
  s: clamp(saturation * 100, 0, 100),
25419
- l: clamp(l3 * 50, 0, 100)
25424
+ l: clamp(l2 * 50, 0, 100)
25420
25425
  };
25421
25426
  };
25422
25427
  IroColor2.hslToHsv = function hslToHsv(hsl) {
25423
- var l3 = hsl.l * 2;
25424
- var s3 = hsl.s * (l3 <= 100 ? l3 : 200 - l3) / 100;
25425
- var saturation = l3 + s3 < 1e-9 ? 0 : 2 * s3 / (l3 + s3);
25428
+ var l2 = hsl.l * 2;
25429
+ var s3 = hsl.s * (l2 <= 100 ? l2 : 200 - l2) / 100;
25430
+ var saturation = l2 + s3 < 1e-9 ? 0 : 2 * s3 / (l2 + s3);
25426
25431
  return {
25427
25432
  h: hsl.h,
25428
25433
  s: clamp(saturation * 100, 0, 100),
25429
- v: clamp((l3 + s3) / 2, 0, 100)
25434
+ v: clamp((l2 + s3) / 2, 0, 100)
25430
25435
  };
25431
25436
  };
25432
25437
  IroColor2.kelvinToRgb = function kelvinToRgb(kelvin) {
@@ -25612,11 +25617,11 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25612
25617
  }, {
25613
25618
  key: "hsl",
25614
25619
  get: function get3() {
25615
- var _IroColor$hsvToHsl = IroColor2.hsvToHsl(this.$), h3 = _IroColor$hsvToHsl.h, s3 = _IroColor$hsvToHsl.s, l3 = _IroColor$hsvToHsl.l;
25620
+ var _IroColor$hsvToHsl = IroColor2.hsvToHsl(this.$), h3 = _IroColor$hsvToHsl.h, s3 = _IroColor$hsvToHsl.s, l2 = _IroColor$hsvToHsl.l;
25616
25621
  return {
25617
25622
  h: round2(h3),
25618
25623
  s: round2(s3),
25619
- l: round2(l3)
25624
+ l: round2(l2)
25620
25625
  };
25621
25626
  },
25622
25627
  set: function set3(value) {
@@ -25729,22 +25734,22 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
25729
25734
  },
25730
25735
  set: function set3(value) {
25731
25736
  var match;
25732
- var h3, s3, l3, a3 = 1;
25737
+ var h3, s3, l2, a3 = 1;
25733
25738
  if (match = REGEX_FUNCTIONAL_HSL.exec(value)) {
25734
25739
  h3 = parseUnit(match[1], 360);
25735
25740
  s3 = parseUnit(match[2], 100);
25736
- l3 = parseUnit(match[3], 100);
25741
+ l2 = parseUnit(match[3], 100);
25737
25742
  } else if (match = REGEX_FUNCTIONAL_HSLA.exec(value)) {
25738
25743
  h3 = parseUnit(match[1], 360);
25739
25744
  s3 = parseUnit(match[2], 100);
25740
- l3 = parseUnit(match[3], 100);
25745
+ l2 = parseUnit(match[3], 100);
25741
25746
  a3 = parseUnit(match[4], 1);
25742
25747
  }
25743
25748
  if (match) {
25744
25749
  this.hsl = {
25745
25750
  h: h3,
25746
25751
  s: s3,
25747
- l: l3,
25752
+ l: l2,
25748
25753
  a: a3
25749
25754
  };
25750
25755
  } else {
@@ -27214,20 +27219,16 @@ html2canvas/dist/html2canvas.js:
27214
27219
  PERFORMANCE OF THIS SOFTWARE.
27215
27220
  ***************************************************************************** *)
27216
27221
 
27217
- @alpinejs/focus/dist/module.esm.js:
27218
- (*! Bundled license information:
27219
-
27220
- tabbable/dist/index.esm.js:
27221
- (*!
27222
- * tabbable 5.3.3
27223
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
27224
- *)
27225
-
27226
- focus-trap/dist/focus-trap.esm.js:
27227
- (*!
27228
- * focus-trap 6.9.4
27229
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
27230
- *)
27222
+ tabbable/dist/index.esm.js:
27223
+ (*!
27224
+ * tabbable 5.3.3
27225
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
27226
+ *)
27227
+
27228
+ focus-trap/dist/focus-trap.esm.js:
27229
+ (*!
27230
+ * focus-trap 6.9.4
27231
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
27231
27232
  *)
27232
27233
 
27233
27234
  @jaames/iro/dist/iro.es.js: