coveragebook_components 0.8.3 → 0.8.4
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.
- checksums.yaml +4 -4
- data/app/assets/build/coco/app.css +18 -5
- data/app/assets/build/coco/app.js +215 -213
- data/app/assets/build/coco/book.css +18 -4
- data/app/assets/build/coco/book.js +56 -75
- data/app/assets/js/helpers/location.js +1 -1
- data/app/assets/js/libs/alpine/index.js +0 -2
- data/app/components/coco/app/blocks/sidebar_nav/item/item.html.erb +1 -1
- data/app/components/coco/app/blocks/sidebar_nav/item/item.js +49 -20
- data/app/components/coco/app/blocks/sidebar_nav/menu/menu.js +0 -1
- data/lib/coco.rb +1 -1
- metadata +2 -2
@@ -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,
|
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
|
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(
|
8002
|
+
return pack(l2 * 255, l2 * 255, l2 * 255, 1);
|
8003
8003
|
}
|
8004
|
-
var t22 =
|
8005
|
-
var t1 =
|
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.
|
14047
|
+
version: "0.8.4",
|
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": "
|
14057
|
-
"@alpinejs/focus": "
|
14058
|
-
"@alpinejs/intersect": "
|
14059
|
-
"@alpinejs/mask": "
|
14060
|
-
"@alpinejs/morph": "
|
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.
|
14064
|
-
alpinejs: "
|
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.
|
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.
|
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": "^
|
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),
|
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,
|
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,
|
14260
|
+
return u(e5, n3, l2);
|
14264
14261
|
} else if (2 === o3.type && 2 === s3.type)
|
14265
|
-
return u(o3.value, s3.value,
|
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:
|
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(),
|
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
|
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)) ? (
|
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) ? (
|
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)) ? (
|
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)) ? (
|
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
|
-
|
14512
|
+
l2(), yield p2();
|
14516
14513
|
else if (L(e4))
|
14517
|
-
|
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
|
15053
|
-
return c3 !== x ? { type: 2, feature: c3, bounds: [[u3, n5], [s3,
|
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 = [],
|
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 (;
|
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
|
15249
|
+
var l4, c3;
|
15253
15250
|
}(t5.prelude, u3.uid);
|
15254
15251
|
if (s3.length > 0)
|
15255
15252
|
return t5;
|
15256
|
-
const
|
15253
|
+
const l3 = n5.map(B).join("");
|
15257
15254
|
try {
|
15258
|
-
je.matches(
|
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:
|
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 }),
|
15345
|
-
c3.onload = c3.onerror = s3.refresh, c3.src = t3.href = URL.createObjectURL(
|
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
|
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
|
-
},
|
15484
|
+
}, l3 = () => {
|
15488
15485
|
};
|
15489
15486
|
const c4 = A3(u3);
|
15490
15487
|
let i3 = false;
|
15491
|
-
return null != r4 && r4.aborted || (
|
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:
|
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
|
-
|
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,
|
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(
|
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
|
15571
|
-
return null == s5 ? 1 === ((null != (
|
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 && (
|
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 ? (
|
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,
|
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 && (
|
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,
|
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:
|
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
|
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
|
-
|
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
|
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
|
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);
|
@@ -24410,28 +24392,40 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
24410
24392
|
var item_default = CocoComponent("appSidebarNavItem", () => {
|
24411
24393
|
return {
|
24412
24394
|
menu: null,
|
24395
|
+
menuObserver: null,
|
24413
24396
|
active: false,
|
24414
24397
|
init() {
|
24415
|
-
if (this
|
24416
|
-
this.
|
24417
|
-
|
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
|
-
});
|
24398
|
+
if (this.menuTemplate) {
|
24399
|
+
this.initMenu();
|
24400
|
+
this.observeMenuForChanges();
|
24432
24401
|
}
|
24433
|
-
this.$watch("mobileLayout", () =>
|
24434
|
-
|
24402
|
+
this.$watch("mobileLayout", () => this.onOrientationChange());
|
24403
|
+
},
|
24404
|
+
initMenu() {
|
24405
|
+
this.menu = tippy_default(this.$root, {
|
24406
|
+
theme: "coco-naked-dropdown",
|
24407
|
+
placement: this.menuPlacement,
|
24408
|
+
arrow: false,
|
24409
|
+
offset: [0, 0],
|
24410
|
+
trigger: "click",
|
24411
|
+
interactive: true,
|
24412
|
+
maxWidth: null,
|
24413
|
+
onShow: () => {
|
24414
|
+
this.active = true;
|
24415
|
+
},
|
24416
|
+
onHide: () => {
|
24417
|
+
this.active = false;
|
24418
|
+
},
|
24419
|
+
content: () => this.menuTemplate.innerHTML
|
24420
|
+
});
|
24421
|
+
},
|
24422
|
+
observeMenuForChanges() {
|
24423
|
+
this.menuObserver = new MutationObserver((mutations) => {
|
24424
|
+
this.$nextTick(() => this.menu.setContent(this.menuTemplate.innerHTML));
|
24425
|
+
});
|
24426
|
+
this.menuObserver.observe(this.$root, {
|
24427
|
+
subtree: true,
|
24428
|
+
childList: true
|
24435
24429
|
});
|
24436
24430
|
},
|
24437
24431
|
onOrientationChange() {
|
@@ -24441,10 +24435,22 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
24441
24435
|
});
|
24442
24436
|
}
|
24443
24437
|
},
|
24438
|
+
destroy() {
|
24439
|
+
if (this.menuObserver) {
|
24440
|
+
this.menuObserver.disconnect();
|
24441
|
+
}
|
24442
|
+
},
|
24444
24443
|
root: {
|
24445
|
-
"@
|
24444
|
+
["@turbo:load.document"]() {
|
24445
|
+
if (this.menu) {
|
24446
|
+
this.menu.hide();
|
24447
|
+
}
|
24448
|
+
},
|
24446
24449
|
":class": "{active}"
|
24447
24450
|
},
|
24451
|
+
get menuTemplate() {
|
24452
|
+
return this.$root.querySelector("template");
|
24453
|
+
},
|
24448
24454
|
get menuPlacement() {
|
24449
24455
|
return this.mobileLayout ? "top" : "right-start";
|
24450
24456
|
}
|
@@ -24935,32 +24941,32 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
24935
24941
|
var f2 = {};
|
24936
24942
|
var e2 = [];
|
24937
24943
|
var c2 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;
|
24938
|
-
function s2(n3,
|
24939
|
-
for (var u3 in
|
24940
|
-
n3[u3] =
|
24944
|
+
function s2(n3, l2) {
|
24945
|
+
for (var u3 in l2) {
|
24946
|
+
n3[u3] = l2[u3];
|
24941
24947
|
}
|
24942
24948
|
return n3;
|
24943
24949
|
}
|
24944
24950
|
function a2(n3) {
|
24945
|
-
var
|
24946
|
-
|
24951
|
+
var l2 = n3.parentNode;
|
24952
|
+
l2 && l2.removeChild(n3);
|
24947
24953
|
}
|
24948
|
-
function h2(n3,
|
24954
|
+
function h2(n3, l2, u3) {
|
24949
24955
|
var t3, i3, r3, o3, f3 = arguments;
|
24950
|
-
if (
|
24956
|
+
if (l2 = s2({}, l2), arguments.length > 3) {
|
24951
24957
|
for (u3 = [u3], t3 = 3; t3 < arguments.length; t3++) {
|
24952
24958
|
u3.push(f3[t3]);
|
24953
24959
|
}
|
24954
24960
|
}
|
24955
|
-
if (null != u3 && (
|
24961
|
+
if (null != u3 && (l2.children = u3), null != n3 && null != n3.defaultProps) {
|
24956
24962
|
for (i3 in n3.defaultProps) {
|
24957
|
-
void 0 ===
|
24963
|
+
void 0 === l2[i3] && (l2[i3] = n3.defaultProps[i3]);
|
24958
24964
|
}
|
24959
24965
|
}
|
24960
|
-
return o3 =
|
24966
|
+
return o3 = l2.key, null != (r3 = l2.ref) && delete l2.ref, null != o3 && delete l2.key, v2(n3, l2, o3, r3);
|
24961
24967
|
}
|
24962
|
-
function v2(
|
24963
|
-
var r3 = { type:
|
24968
|
+
function v2(l2, u3, t3, i3) {
|
24969
|
+
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
24970
|
return n2.vnode && n2.vnode(r3), r3;
|
24965
24971
|
}
|
24966
24972
|
function d2(n3) {
|
@@ -24974,30 +24980,30 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
24974
24980
|
return v2(null, n3, null, null);
|
24975
24981
|
}
|
24976
24982
|
if (null != n3.__e || null != n3.__c) {
|
24977
|
-
var
|
24978
|
-
return
|
24983
|
+
var l2 = v2(n3.type, n3.props, n3.key, null);
|
24984
|
+
return l2.__e = n3.__e, l2;
|
24979
24985
|
}
|
24980
24986
|
return n3;
|
24981
24987
|
}
|
24982
|
-
function m2(n3,
|
24983
|
-
this.props = n3, this.context =
|
24988
|
+
function m2(n3, l2) {
|
24989
|
+
this.props = n3, this.context = l2;
|
24984
24990
|
}
|
24985
|
-
function w2(n3,
|
24986
|
-
if (null ==
|
24991
|
+
function w2(n3, l2) {
|
24992
|
+
if (null == l2) {
|
24987
24993
|
return n3.__p ? w2(n3.__p, n3.__p.__k.indexOf(n3) + 1) : null;
|
24988
24994
|
}
|
24989
|
-
for (var u3;
|
24990
|
-
if (null != (u3 = n3.__k[
|
24995
|
+
for (var u3; l2 < n3.__k.length; l2++) {
|
24996
|
+
if (null != (u3 = n3.__k[l2]) && null != u3.__e) {
|
24991
24997
|
return u3.__e;
|
24992
24998
|
}
|
24993
24999
|
}
|
24994
25000
|
return "function" == typeof n3.type ? w2(n3) : null;
|
24995
25001
|
}
|
24996
25002
|
function g2(n3) {
|
24997
|
-
var
|
25003
|
+
var l2, u3;
|
24998
25004
|
if (null != (n3 = n3.__p) && null != n3.__c) {
|
24999
|
-
for (n3.__e = n3.__c.base = null,
|
25000
|
-
if (null != (u3 = n3.__k[
|
25005
|
+
for (n3.__e = n3.__c.base = null, l2 = 0; l2 < n3.__k.length; l2++) {
|
25006
|
+
if (null != (u3 = n3.__k[l2]) && null != u3.__e) {
|
25001
25007
|
n3.__e = n3.__c.base = u3.__e;
|
25002
25008
|
break;
|
25003
25009
|
}
|
@@ -25005,22 +25011,22 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25005
25011
|
return g2(n3);
|
25006
25012
|
}
|
25007
25013
|
}
|
25008
|
-
function k2(
|
25009
|
-
(!
|
25014
|
+
function k2(l2) {
|
25015
|
+
(!l2.__d && (l2.__d = true) && 1 === u2.push(l2) || i2 !== n2.debounceRendering) && (i2 = n2.debounceRendering, (n2.debounceRendering || t2)(_2));
|
25010
25016
|
}
|
25011
25017
|
function _2() {
|
25012
|
-
var n3,
|
25013
|
-
for (u2.sort(function(n4,
|
25014
|
-
return
|
25018
|
+
var n3, l2, t3, i3, r3, o3, f3, e3;
|
25019
|
+
for (u2.sort(function(n4, l3) {
|
25020
|
+
return l3.__v.__b - n4.__v.__b;
|
25015
25021
|
}); n3 = u2.pop(); ) {
|
25016
|
-
n3.__d && (t3 = void 0, i3 = void 0, o3 = (r3 = (
|
25022
|
+
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
25023
|
}
|
25018
25024
|
}
|
25019
|
-
function b2(n3,
|
25025
|
+
function b2(n3, l2, u3, t3, i3, r3, o3, c3, s3) {
|
25020
25026
|
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,
|
25027
|
+
if (c3 == f2 && (c3 = null != r3 ? r3[0] : _3 ? w2(u3, 0) : null), h3 = 0, l2.__k = x2(l2.__k, function(u4) {
|
25022
25028
|
if (null != u4) {
|
25023
|
-
if (u4.__p =
|
25029
|
+
if (u4.__p = l2, u4.__b = l2.__b + 1, null === (p2 = k3[h3]) || p2 && u4.key == p2.key && u4.type === p2.type) {
|
25024
25030
|
k3[h3] = void 0;
|
25025
25031
|
} else {
|
25026
25032
|
for (v3 = 0; v3 < _3; v3++) {
|
@@ -25046,13 +25052,13 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25046
25052
|
}
|
25047
25053
|
n3.insertBefore(d3, c3);
|
25048
25054
|
}
|
25049
|
-
"option" ==
|
25055
|
+
"option" == l2.type && (n3.value = "");
|
25050
25056
|
}
|
25051
|
-
c3 = d3.nextSibling, "function" == typeof
|
25057
|
+
c3 = d3.nextSibling, "function" == typeof l2.type && (l2.l = d3);
|
25052
25058
|
}
|
25053
25059
|
}
|
25054
25060
|
return h3++, u4;
|
25055
|
-
}),
|
25061
|
+
}), l2.__e = m3, null != r3 && "function" != typeof l2.type) {
|
25056
25062
|
for (h3 = r3.length; h3--; ) {
|
25057
25063
|
null != r3[h3] && a2(r3[h3]);
|
25058
25064
|
}
|
@@ -25066,35 +25072,35 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25066
25072
|
}
|
25067
25073
|
}
|
25068
25074
|
}
|
25069
|
-
function x2(n3,
|
25075
|
+
function x2(n3, l2, u3) {
|
25070
25076
|
if (null == u3 && (u3 = []), null == n3 || "boolean" == typeof n3) {
|
25071
|
-
|
25077
|
+
l2 && u3.push(l2(null));
|
25072
25078
|
} else if (Array.isArray(n3)) {
|
25073
25079
|
for (var t3 = 0; t3 < n3.length; t3++) {
|
25074
|
-
x2(n3[t3],
|
25080
|
+
x2(n3[t3], l2, u3);
|
25075
25081
|
}
|
25076
25082
|
} else {
|
25077
|
-
u3.push(
|
25083
|
+
u3.push(l2 ? l2(y2(n3)) : n3);
|
25078
25084
|
}
|
25079
25085
|
return u3;
|
25080
25086
|
}
|
25081
|
-
function C2(n3,
|
25087
|
+
function C2(n3, l2, u3, t3, i3) {
|
25082
25088
|
var r3;
|
25083
25089
|
for (r3 in u3) {
|
25084
|
-
r3 in
|
25090
|
+
r3 in l2 || N2(n3, r3, null, u3[r3], t3);
|
25085
25091
|
}
|
25086
|
-
for (r3 in
|
25087
|
-
i3 && "function" != typeof
|
25092
|
+
for (r3 in l2) {
|
25093
|
+
i3 && "function" != typeof l2[r3] || "value" === r3 || "checked" === r3 || u3[r3] === l2[r3] || N2(n3, r3, l2[r3], u3[r3], t3);
|
25088
25094
|
}
|
25089
25095
|
}
|
25090
|
-
function P2(n3,
|
25091
|
-
"-" ===
|
25096
|
+
function P2(n3, l2, u3) {
|
25097
|
+
"-" === l2[0] ? n3.setProperty(l2, u3) : n3[l2] = "number" == typeof u3 && false === c2.test(l2) ? u3 + "px" : null == u3 ? "" : u3;
|
25092
25098
|
}
|
25093
|
-
function N2(n3,
|
25099
|
+
function N2(n3, l2, u3, t3, i3) {
|
25094
25100
|
var r3, o3, f3, e3, c3;
|
25095
|
-
if ("key" === (
|
25101
|
+
if ("key" === (l2 = i3 ? "className" === l2 ? "class" : l2 : "class" === l2 ? "className" : l2) || "children" === l2)
|
25096
25102
|
;
|
25097
|
-
else if ("style" ===
|
25103
|
+
else if ("style" === l2) {
|
25098
25104
|
if (r3 = n3.style, "string" == typeof u3) {
|
25099
25105
|
r3.cssText = u3;
|
25100
25106
|
} else {
|
@@ -25110,13 +25116,13 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25110
25116
|
}
|
25111
25117
|
}
|
25112
25118
|
} else {
|
25113
|
-
"o" ===
|
25119
|
+
"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
25120
|
}
|
25115
25121
|
}
|
25116
|
-
function T2(
|
25117
|
-
return this.t[
|
25122
|
+
function T2(l2) {
|
25123
|
+
return this.t[l2.type](n2.event ? n2.event(l2) : l2);
|
25118
25124
|
}
|
25119
|
-
function $2(
|
25125
|
+
function $2(l2, u3, t3, i3, r3, o3, f3, e3, c3, a3) {
|
25120
25126
|
var h3, v3, p2, y3, w3, g3, k3, _3, C3, P3, N3 = u3.type;
|
25121
25127
|
if (void 0 !== u3.constructor) {
|
25122
25128
|
return null;
|
@@ -25136,7 +25142,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25136
25142
|
}
|
25137
25143
|
null != v3.componentWillUpdate && v3.componentWillUpdate(_3, v3.__s, P3);
|
25138
25144
|
}
|
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 =
|
25145
|
+
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
25146
|
v3.__s && (v3.state = v3.__s), h3.call(v3);
|
25141
25147
|
}
|
25142
25148
|
p2 || null == y3 || null == v3.componentDidUpdate || v3.componentDidUpdate(y3, w3, g3), k3 && (v3.__E = v3.__p = null);
|
@@ -25144,80 +25150,80 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25144
25150
|
u3.__e = z2(t3.__e, u3, t3, i3, r3, o3, f3, a3);
|
25145
25151
|
}
|
25146
25152
|
(h3 = n2.diffed) && h3(u3);
|
25147
|
-
} catch (
|
25148
|
-
n2.__e(
|
25153
|
+
} catch (l3) {
|
25154
|
+
n2.__e(l3, u3, t3);
|
25149
25155
|
}
|
25150
25156
|
return u3.__e;
|
25151
25157
|
}
|
25152
|
-
function j2(
|
25153
|
-
for (var t3; t3 =
|
25158
|
+
function j2(l2, u3) {
|
25159
|
+
for (var t3; t3 = l2.pop(); ) {
|
25154
25160
|
try {
|
25155
25161
|
t3.componentDidMount();
|
25156
|
-
} catch (
|
25157
|
-
n2.__e(
|
25162
|
+
} catch (l3) {
|
25163
|
+
n2.__e(l3, t3.__v);
|
25158
25164
|
}
|
25159
25165
|
}
|
25160
25166
|
n2.__c && n2.__c(u3);
|
25161
25167
|
}
|
25162
|
-
function z2(n3,
|
25163
|
-
var s3, a3, h3, v3, p2 = u3.props, d3 =
|
25164
|
-
if (i3 = "svg" ===
|
25168
|
+
function z2(n3, l2, u3, t3, i3, r3, o3, c3) {
|
25169
|
+
var s3, a3, h3, v3, p2 = u3.props, d3 = l2.props;
|
25170
|
+
if (i3 = "svg" === l2.type || i3, null == n3 && null != r3) {
|
25165
25171
|
for (s3 = 0; s3 < r3.length; s3++) {
|
25166
|
-
if (null != (a3 = r3[s3]) && (null ===
|
25172
|
+
if (null != (a3 = r3[s3]) && (null === l2.type ? 3 === a3.nodeType : a3.localName === l2.type)) {
|
25167
25173
|
n3 = a3, r3[s3] = null;
|
25168
25174
|
break;
|
25169
25175
|
}
|
25170
25176
|
}
|
25171
25177
|
}
|
25172
25178
|
if (null == n3) {
|
25173
|
-
if (null ===
|
25179
|
+
if (null === l2.type) {
|
25174
25180
|
return document.createTextNode(d3);
|
25175
25181
|
}
|
25176
|
-
n3 = i3 ? document.createElementNS("http://www.w3.org/2000/svg",
|
25182
|
+
n3 = i3 ? document.createElementNS("http://www.w3.org/2000/svg", l2.type) : document.createElement(l2.type), r3 = null;
|
25177
25183
|
}
|
25178
|
-
return null ===
|
25184
|
+
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
25185
|
}
|
25180
|
-
function A2(
|
25186
|
+
function A2(l2, u3, t3) {
|
25181
25187
|
try {
|
25182
|
-
"function" == typeof
|
25183
|
-
} catch (
|
25184
|
-
n2.__e(
|
25188
|
+
"function" == typeof l2 ? l2(u3) : l2.current = u3;
|
25189
|
+
} catch (l3) {
|
25190
|
+
n2.__e(l3, t3);
|
25185
25191
|
}
|
25186
25192
|
}
|
25187
|
-
function D2(
|
25193
|
+
function D2(l2, u3, t3) {
|
25188
25194
|
var i3, r3, o3;
|
25189
|
-
if (n2.unmount && n2.unmount(
|
25195
|
+
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
25196
|
if (i3.componentWillUnmount) {
|
25191
25197
|
try {
|
25192
25198
|
i3.componentWillUnmount();
|
25193
|
-
} catch (
|
25194
|
-
n2.__e(
|
25199
|
+
} catch (l3) {
|
25200
|
+
n2.__e(l3, u3);
|
25195
25201
|
}
|
25196
25202
|
}
|
25197
25203
|
i3.base = i3.__P = null;
|
25198
25204
|
}
|
25199
|
-
if (i3 =
|
25205
|
+
if (i3 = l2.__k) {
|
25200
25206
|
for (o3 = 0; o3 < i3.length; o3++) {
|
25201
25207
|
i3[o3] && D2(i3[o3], u3, t3);
|
25202
25208
|
}
|
25203
25209
|
}
|
25204
25210
|
null != r3 && a2(r3);
|
25205
25211
|
}
|
25206
|
-
function H2(n3,
|
25212
|
+
function H2(n3, l2, u3) {
|
25207
25213
|
return this.constructor(n3, u3);
|
25208
25214
|
}
|
25209
|
-
function I2(
|
25215
|
+
function I2(l2, u3, t3) {
|
25210
25216
|
var i3, o3, c3;
|
25211
|
-
n2.__p && n2.__p(
|
25217
|
+
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
25218
|
}
|
25213
|
-
n2 = {}, m2.prototype.setState = function(n3,
|
25219
|
+
n2 = {}, m2.prototype.setState = function(n3, l2) {
|
25214
25220
|
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,
|
25221
|
+
("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
25222
|
}, m2.prototype.forceUpdate = function(n3) {
|
25217
25223
|
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,
|
25219
|
-
for (var t3;
|
25220
|
-
if ((t3 =
|
25224
|
+
}, 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) {
|
25225
|
+
for (var t3; l2 = l2.__p; ) {
|
25226
|
+
if ((t3 = l2.__c) && !t3.__p) {
|
25221
25227
|
try {
|
25222
25228
|
if (t3.constructor && null != t3.constructor.getDerivedStateFromError) {
|
25223
25229
|
t3.setState(t3.constructor.getDerivedStateFromError(n3));
|
@@ -25228,8 +25234,8 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25228
25234
|
t3.componentDidCatch(n3);
|
25229
25235
|
}
|
25230
25236
|
return k2(t3.__E = t3);
|
25231
|
-
} catch (
|
25232
|
-
n3 =
|
25237
|
+
} catch (l3) {
|
25238
|
+
n3 = l3;
|
25233
25239
|
}
|
25234
25240
|
}
|
25235
25241
|
}
|
@@ -25410,23 +25416,23 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25410
25416
|
IroColor2.hsvToHsl = function hsvToHsl(hsv) {
|
25411
25417
|
var s3 = hsv.s / 100;
|
25412
25418
|
var v3 = hsv.v / 100;
|
25413
|
-
var
|
25414
|
-
var divisor =
|
25419
|
+
var l2 = (2 - s3) * v3;
|
25420
|
+
var divisor = l2 <= 1 ? l2 : 2 - l2;
|
25415
25421
|
var saturation = divisor < 1e-9 ? 0 : s3 * v3 / divisor;
|
25416
25422
|
return {
|
25417
25423
|
h: hsv.h,
|
25418
25424
|
s: clamp(saturation * 100, 0, 100),
|
25419
|
-
l: clamp(
|
25425
|
+
l: clamp(l2 * 50, 0, 100)
|
25420
25426
|
};
|
25421
25427
|
};
|
25422
25428
|
IroColor2.hslToHsv = function hslToHsv(hsl) {
|
25423
|
-
var
|
25424
|
-
var s3 = hsl.s * (
|
25425
|
-
var saturation =
|
25429
|
+
var l2 = hsl.l * 2;
|
25430
|
+
var s3 = hsl.s * (l2 <= 100 ? l2 : 200 - l2) / 100;
|
25431
|
+
var saturation = l2 + s3 < 1e-9 ? 0 : 2 * s3 / (l2 + s3);
|
25426
25432
|
return {
|
25427
25433
|
h: hsl.h,
|
25428
25434
|
s: clamp(saturation * 100, 0, 100),
|
25429
|
-
v: clamp((
|
25435
|
+
v: clamp((l2 + s3) / 2, 0, 100)
|
25430
25436
|
};
|
25431
25437
|
};
|
25432
25438
|
IroColor2.kelvinToRgb = function kelvinToRgb(kelvin) {
|
@@ -25612,11 +25618,11 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25612
25618
|
}, {
|
25613
25619
|
key: "hsl",
|
25614
25620
|
get: function get3() {
|
25615
|
-
var _IroColor$hsvToHsl = IroColor2.hsvToHsl(this.$), h3 = _IroColor$hsvToHsl.h, s3 = _IroColor$hsvToHsl.s,
|
25621
|
+
var _IroColor$hsvToHsl = IroColor2.hsvToHsl(this.$), h3 = _IroColor$hsvToHsl.h, s3 = _IroColor$hsvToHsl.s, l2 = _IroColor$hsvToHsl.l;
|
25616
25622
|
return {
|
25617
25623
|
h: round2(h3),
|
25618
25624
|
s: round2(s3),
|
25619
|
-
l: round2(
|
25625
|
+
l: round2(l2)
|
25620
25626
|
};
|
25621
25627
|
},
|
25622
25628
|
set: function set3(value) {
|
@@ -25729,22 +25735,22 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
25729
25735
|
},
|
25730
25736
|
set: function set3(value) {
|
25731
25737
|
var match;
|
25732
|
-
var h3, s3,
|
25738
|
+
var h3, s3, l2, a3 = 1;
|
25733
25739
|
if (match = REGEX_FUNCTIONAL_HSL.exec(value)) {
|
25734
25740
|
h3 = parseUnit(match[1], 360);
|
25735
25741
|
s3 = parseUnit(match[2], 100);
|
25736
|
-
|
25742
|
+
l2 = parseUnit(match[3], 100);
|
25737
25743
|
} else if (match = REGEX_FUNCTIONAL_HSLA.exec(value)) {
|
25738
25744
|
h3 = parseUnit(match[1], 360);
|
25739
25745
|
s3 = parseUnit(match[2], 100);
|
25740
|
-
|
25746
|
+
l2 = parseUnit(match[3], 100);
|
25741
25747
|
a3 = parseUnit(match[4], 1);
|
25742
25748
|
}
|
25743
25749
|
if (match) {
|
25744
25750
|
this.hsl = {
|
25745
25751
|
h: h3,
|
25746
25752
|
s: s3,
|
25747
|
-
l:
|
25753
|
+
l: l2,
|
25748
25754
|
a: a3
|
25749
25755
|
};
|
25750
25756
|
} else {
|
@@ -27214,20 +27220,16 @@ html2canvas/dist/html2canvas.js:
|
|
27214
27220
|
PERFORMANCE OF THIS SOFTWARE.
|
27215
27221
|
***************************************************************************** *)
|
27216
27222
|
|
27217
|
-
|
27218
|
-
(*!
|
27219
|
-
|
27220
|
-
tabbable/
|
27221
|
-
|
27222
|
-
|
27223
|
-
|
27224
|
-
|
27225
|
-
|
27226
|
-
focus-trap/
|
27227
|
-
(*!
|
27228
|
-
* focus-trap 6.9.4
|
27229
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
27230
|
-
*)
|
27223
|
+
tabbable/dist/index.esm.js:
|
27224
|
+
(*!
|
27225
|
+
* tabbable 5.3.3
|
27226
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
27227
|
+
*)
|
27228
|
+
|
27229
|
+
focus-trap/dist/focus-trap.esm.js:
|
27230
|
+
(*!
|
27231
|
+
* focus-trap 6.9.4
|
27232
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
27231
27233
|
*)
|
27232
27234
|
|
27233
27235
|
@jaames/iro/dist/iro.es.js:
|