@flux-ui/visuals 3.8.1 → 3.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +230 -208
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -203,12 +203,12 @@ var num_per = `(?:${num$1}%|${num$1})`;
|
|
|
203
203
|
var num_per_none = `(?:${num$1}%|${num$1}|none)`;
|
|
204
204
|
var hue$1 = `(?:${num$1}(deg|grad|rad|turn)|${num$1})`;
|
|
205
205
|
`${num$1}${num$1}`;
|
|
206
|
-
var c$
|
|
206
|
+
var c$1 = `\\s*,\\s*`;
|
|
207
207
|
new RegExp("^" + num_per_none + "$");
|
|
208
208
|
//#endregion
|
|
209
209
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseRgbLegacy.js
|
|
210
|
-
var rgb_num_old = new RegExp(`^rgba?\\(\\s*${num$1}${c$
|
|
211
|
-
var rgb_per_old = new RegExp(`^rgba?\\(\\s*${per}${c$
|
|
210
|
+
var rgb_num_old = new RegExp(`^rgba?\\(\\s*${num$1}${c$1}${num$1}${c$1}${num$1}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
|
|
211
|
+
var rgb_per_old = new RegExp(`^rgba?\\(\\s*${per}${c$1}${per}${c$1}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
|
|
212
212
|
var parseRgbLegacy = (color) => {
|
|
213
213
|
let res = { mode: "rgb" };
|
|
214
214
|
let match;
|
|
@@ -662,7 +662,7 @@ var convertXyz65ToA98 = ({ x, y, z, alpha }) => {
|
|
|
662
662
|
};
|
|
663
663
|
//#endregion
|
|
664
664
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lrgb/convertRgbToLrgb.js
|
|
665
|
-
var fn$
|
|
665
|
+
var fn$3 = (c = 0) => {
|
|
666
666
|
const abs = Math.abs(c);
|
|
667
667
|
if (abs <= .04045) return c / 12.92;
|
|
668
668
|
return (Math.sign(c) || 1) * Math.pow((abs + .055) / 1.055, 2.4);
|
|
@@ -670,9 +670,9 @@ var fn$4 = (c = 0) => {
|
|
|
670
670
|
var convertRgbToLrgb = ({ r, g, b, alpha }) => {
|
|
671
671
|
let res = {
|
|
672
672
|
mode: "lrgb",
|
|
673
|
-
r: fn$
|
|
674
|
-
g: fn$
|
|
675
|
-
b: fn$
|
|
673
|
+
r: fn$3(r),
|
|
674
|
+
g: fn$3(g),
|
|
675
|
+
b: fn$3(b)
|
|
676
676
|
};
|
|
677
677
|
if (alpha !== void 0) res.alpha = alpha;
|
|
678
678
|
return res;
|
|
@@ -692,7 +692,7 @@ var convertRgbToXyz65 = (rgb) => {
|
|
|
692
692
|
};
|
|
693
693
|
//#endregion
|
|
694
694
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lrgb/convertLrgbToRgb.js
|
|
695
|
-
var fn$
|
|
695
|
+
var fn$2 = (c = 0) => {
|
|
696
696
|
const abs = Math.abs(c);
|
|
697
697
|
if (abs > .0031308) return (Math.sign(c) || 1) * (1.055 * Math.pow(abs, 1 / 2.4) - .055);
|
|
698
698
|
return c * 12.92;
|
|
@@ -700,9 +700,9 @@ var fn$3 = (c = 0) => {
|
|
|
700
700
|
var convertLrgbToRgb = ({ r, g, b, alpha }, mode = "rgb") => {
|
|
701
701
|
let res = {
|
|
702
702
|
mode,
|
|
703
|
-
r: fn$
|
|
704
|
-
g: fn$
|
|
705
|
-
b: fn$
|
|
703
|
+
r: fn$2(r),
|
|
704
|
+
g: fn$2(g),
|
|
705
|
+
b: fn$2(b)
|
|
706
706
|
};
|
|
707
707
|
if (alpha !== void 0) res.alpha = alpha;
|
|
708
708
|
return res;
|
|
@@ -760,7 +760,7 @@ var hue = (hues, fn) => {
|
|
|
760
760
|
var fixupHueShorter = (arr) => hue(arr, (d) => Math.abs(d) <= 180 ? d : d - 360 * Math.sign(d));
|
|
761
761
|
//#endregion
|
|
762
762
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/constants.js
|
|
763
|
-
var M
|
|
763
|
+
var M = [
|
|
764
764
|
-.14861,
|
|
765
765
|
1.78277,
|
|
766
766
|
-.29227,
|
|
@@ -772,20 +772,20 @@ var degToRad = Math.PI / 180;
|
|
|
772
772
|
var radToDeg = 180 / Math.PI;
|
|
773
773
|
//#endregion
|
|
774
774
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js
|
|
775
|
-
var DE = M
|
|
776
|
-
var BE = M
|
|
777
|
-
var BCAD = M
|
|
775
|
+
var DE = M[3] * M[4];
|
|
776
|
+
var BE = M[1] * M[4];
|
|
777
|
+
var BCAD = M[1] * M[2] - M[0] * M[3];
|
|
778
778
|
var convertRgbToCubehelix = ({ r, g, b, alpha }) => {
|
|
779
779
|
if (r === void 0) r = 0;
|
|
780
780
|
if (g === void 0) g = 0;
|
|
781
781
|
if (b === void 0) b = 0;
|
|
782
782
|
let l = (BCAD * b + r * DE - g * BE) / (BCAD + DE - BE);
|
|
783
783
|
let x = b - l;
|
|
784
|
-
let y = (M
|
|
784
|
+
let y = (M[4] * (g - l) - M[2] * x) / M[3];
|
|
785
785
|
let res = {
|
|
786
786
|
mode: "cubehelix",
|
|
787
787
|
l,
|
|
788
|
-
s: l === 0 || l === 1 ? void 0 : Math.sqrt(x * x + y * y) / (M
|
|
788
|
+
s: l === 0 || l === 1 ? void 0 : Math.sqrt(x * x + y * y) / (M[4] * l * (1 - l))
|
|
789
789
|
};
|
|
790
790
|
if (res.s) res.h = Math.atan2(y, x) * radToDeg - 120;
|
|
791
791
|
if (alpha !== void 0) res.alpha = alpha;
|
|
@@ -800,9 +800,9 @@ var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
|
|
|
800
800
|
let amp = s === void 0 ? 0 : s * l * (1 - l);
|
|
801
801
|
let cosh = Math.cos(h);
|
|
802
802
|
let sinh = Math.sin(h);
|
|
803
|
-
res.r = l + amp * (M
|
|
804
|
-
res.g = l + amp * (M
|
|
805
|
-
res.b = l + amp * (M
|
|
803
|
+
res.r = l + amp * (M[0] * cosh + M[1] * sinh);
|
|
804
|
+
res.g = l + amp * (M[2] * cosh + M[3] * sinh);
|
|
805
|
+
res.b = l + amp * (M[4] * cosh + M[5] * sinh);
|
|
806
806
|
if (alpha !== void 0) res.alpha = alpha;
|
|
807
807
|
return res;
|
|
808
808
|
};
|
|
@@ -910,8 +910,8 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
|
|
|
910
910
|
};
|
|
911
911
|
//#endregion
|
|
912
912
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
|
|
913
|
-
var k$
|
|
914
|
-
var e$
|
|
913
|
+
var k$3 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
914
|
+
var e$3 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
915
915
|
//#endregion
|
|
916
916
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
|
|
917
917
|
var D50 = {
|
|
@@ -928,7 +928,7 @@ Math.pow(29, 3) / Math.pow(3, 3);
|
|
|
928
928
|
Math.pow(6, 3) / Math.pow(29, 3);
|
|
929
929
|
//#endregion
|
|
930
930
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
|
|
931
|
-
var fn$
|
|
931
|
+
var fn$1 = (v) => Math.pow(v, 3) > e$3 ? Math.pow(v, 3) : (116 * v - 16) / k$3;
|
|
932
932
|
var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
933
933
|
if (l === void 0) l = 0;
|
|
934
934
|
if (a === void 0) a = 0;
|
|
@@ -938,9 +938,9 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
|
938
938
|
let fz = fy - b / 200;
|
|
939
939
|
let res = {
|
|
940
940
|
mode: "xyz65",
|
|
941
|
-
x: fn$
|
|
942
|
-
y: fn$
|
|
943
|
-
z: fn$
|
|
941
|
+
x: fn$1(fx) * D65.X,
|
|
942
|
+
y: fn$1(fy) * D65.Y,
|
|
943
|
+
z: fn$1(fz) * D65.Z
|
|
944
944
|
};
|
|
945
945
|
if (alpha !== void 0) res.alpha = alpha;
|
|
946
946
|
return res;
|
|
@@ -950,14 +950,14 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
|
950
950
|
var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
|
|
951
951
|
//#endregion
|
|
952
952
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
|
|
953
|
-
var f$
|
|
953
|
+
var f$2 = (value) => value > e$3 ? Math.cbrt(value) : (k$3 * value + 16) / 116;
|
|
954
954
|
var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
|
|
955
955
|
if (x === void 0) x = 0;
|
|
956
956
|
if (y === void 0) y = 0;
|
|
957
957
|
if (z === void 0) z = 0;
|
|
958
|
-
let f0 = f$
|
|
959
|
-
let f1 = f$
|
|
960
|
-
let f2 = f$
|
|
958
|
+
let f0 = f$2(x / D65.X);
|
|
959
|
+
let f1 = f$2(y / D65.Y);
|
|
960
|
+
let f2 = f$2(z / D65.Z);
|
|
961
961
|
let res = {
|
|
962
962
|
mode: "lab65",
|
|
963
963
|
l: 116 * f1 - 16,
|
|
@@ -1293,7 +1293,7 @@ var hueToDeg = (val, unit) => {
|
|
|
1293
1293
|
};
|
|
1294
1294
|
//#endregion
|
|
1295
1295
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsl/parseHslLegacy.js
|
|
1296
|
-
var hsl_old = new RegExp(`^hsla?\\(\\s*${hue$1}${c$
|
|
1296
|
+
var hsl_old = new RegExp(`^hsla?\\(\\s*${hue$1}${c$1}${per}${c$1}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
|
|
1297
1297
|
var parseHslLegacy = (color) => {
|
|
1298
1298
|
let match = color.match(hsl_old);
|
|
1299
1299
|
if (!match) return;
|
|
@@ -1643,12 +1643,12 @@ var definition$18 = {
|
|
|
1643
1643
|
};
|
|
1644
1644
|
//#endregion
|
|
1645
1645
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/convertXyz65ToJab.js
|
|
1646
|
-
var p$
|
|
1646
|
+
var p$2 = 134.03437499999998;
|
|
1647
1647
|
var d0$1 = 16295499532821565e-27;
|
|
1648
1648
|
var jabPqEncode = (v) => {
|
|
1649
1649
|
if (v < 0) return 0;
|
|
1650
1650
|
let vn = Math.pow(v / 1e4, M1);
|
|
1651
|
-
return Math.pow((C1 + C2 * vn) / (1 + C3 * vn), p$
|
|
1651
|
+
return Math.pow((C1 + C2 * vn) / (1 + C3 * vn), p$2);
|
|
1652
1652
|
};
|
|
1653
1653
|
var abs = (v = 0) => Math.max(v * 203, 0);
|
|
1654
1654
|
var convertXyz65ToJab = ({ x, y, z, alpha }) => {
|
|
@@ -1672,11 +1672,11 @@ var convertXyz65ToJab = ({ x, y, z, alpha }) => {
|
|
|
1672
1672
|
};
|
|
1673
1673
|
//#endregion
|
|
1674
1674
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/convertJabToXyz65.js
|
|
1675
|
-
var p$
|
|
1675
|
+
var p$1 = 134.03437499999998;
|
|
1676
1676
|
var d0 = 16295499532821565e-27;
|
|
1677
1677
|
var jabPqDecode = (v) => {
|
|
1678
1678
|
if (v < 0) return 0;
|
|
1679
|
-
let vp = Math.pow(v, 1 / p$
|
|
1679
|
+
let vp = Math.pow(v, 1 / p$1);
|
|
1680
1680
|
return 1e4 * Math.pow((C1 - vp) / (C3 * vp - C2), 1 / M1);
|
|
1681
1681
|
};
|
|
1682
1682
|
var rel = (v) => v / 203;
|
|
@@ -1812,11 +1812,11 @@ var definition$16 = {
|
|
|
1812
1812
|
};
|
|
1813
1813
|
//#endregion
|
|
1814
1814
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
|
|
1815
|
-
var k$
|
|
1816
|
-
var e$
|
|
1815
|
+
var k$1 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
1816
|
+
var e$1 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
1817
1817
|
//#endregion
|
|
1818
1818
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
|
|
1819
|
-
var fn
|
|
1819
|
+
var fn = (v) => Math.pow(v, 3) > e$1 ? Math.pow(v, 3) : (116 * v - 16) / k$1;
|
|
1820
1820
|
var convertLabToXyz50 = ({ l, a, b, alpha }) => {
|
|
1821
1821
|
if (l === void 0) l = 0;
|
|
1822
1822
|
if (a === void 0) a = 0;
|
|
@@ -1826,9 +1826,9 @@ var convertLabToXyz50 = ({ l, a, b, alpha }) => {
|
|
|
1826
1826
|
let fz = fy - b / 200;
|
|
1827
1827
|
let res = {
|
|
1828
1828
|
mode: "xyz50",
|
|
1829
|
-
x: fn
|
|
1830
|
-
y: fn
|
|
1831
|
-
z: fn
|
|
1829
|
+
x: fn(fx) * D50.X,
|
|
1830
|
+
y: fn(fy) * D50.Y,
|
|
1831
|
+
z: fn(fz) * D50.Z
|
|
1832
1832
|
};
|
|
1833
1833
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1834
1834
|
return res;
|
|
@@ -1865,14 +1865,14 @@ var convertRgbToXyz50 = (rgb) => {
|
|
|
1865
1865
|
};
|
|
1866
1866
|
//#endregion
|
|
1867
1867
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
|
|
1868
|
-
var f$
|
|
1868
|
+
var f$1 = (value) => value > e$1 ? Math.cbrt(value) : (k$1 * value + 16) / 116;
|
|
1869
1869
|
var convertXyz50ToLab = ({ x, y, z, alpha }) => {
|
|
1870
1870
|
if (x === void 0) x = 0;
|
|
1871
1871
|
if (y === void 0) y = 0;
|
|
1872
1872
|
if (z === void 0) z = 0;
|
|
1873
|
-
let f0 = f$
|
|
1874
|
-
let f1 = f$
|
|
1875
|
-
let f2 = f$
|
|
1873
|
+
let f0 = f$1(x / D50.X);
|
|
1874
|
+
let f1 = f$1(y / D50.Y);
|
|
1875
|
+
let f2 = f$1(z / D50.Z);
|
|
1876
1876
|
let res = {
|
|
1877
1877
|
mode: "lab",
|
|
1878
1878
|
l: 116 * f1 - 16,
|
|
@@ -2069,9 +2069,9 @@ var convertLchuvToLuv = ({ l, c, h, alpha }) => {
|
|
|
2069
2069
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/luv/convertXyz50ToLuv.js
|
|
2070
2070
|
var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
|
|
2071
2071
|
var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
|
|
2072
|
-
var un$
|
|
2073
|
-
var vn$
|
|
2074
|
-
var l_fn = (value) => value <= e$
|
|
2072
|
+
var un$1 = u_fn$1(D50.X, D50.Y, D50.Z);
|
|
2073
|
+
var vn$1 = v_fn$1(D50.X, D50.Y, D50.Z);
|
|
2074
|
+
var l_fn = (value) => value <= e$1 ? k$1 * value : 116 * Math.cbrt(value) - 16;
|
|
2075
2075
|
var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
2076
2076
|
if (x === void 0) x = 0;
|
|
2077
2077
|
if (y === void 0) y = 0;
|
|
@@ -2081,8 +2081,8 @@ var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
|
2081
2081
|
let v = v_fn$1(x, y, z);
|
|
2082
2082
|
if (!isFinite(u) || !isFinite(v)) l = u = v = 0;
|
|
2083
2083
|
else {
|
|
2084
|
-
u = 13 * l * (u - un$
|
|
2085
|
-
v = 13 * l * (v - vn$
|
|
2084
|
+
u = 13 * l * (u - un$1);
|
|
2085
|
+
v = 13 * l * (v - vn$1);
|
|
2086
2086
|
}
|
|
2087
2087
|
let res = {
|
|
2088
2088
|
mode: "luv",
|
|
@@ -2097,8 +2097,8 @@ var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
|
2097
2097
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/luv/convertLuvToXyz50.js
|
|
2098
2098
|
var u_fn = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
|
|
2099
2099
|
var v_fn = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
|
|
2100
|
-
var un
|
|
2101
|
-
var vn
|
|
2100
|
+
var un = u_fn(D50.X, D50.Y, D50.Z);
|
|
2101
|
+
var vn = v_fn(D50.X, D50.Y, D50.Z);
|
|
2102
2102
|
var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
|
|
2103
2103
|
if (l === void 0) l = 0;
|
|
2104
2104
|
if (l === 0) return {
|
|
@@ -2109,9 +2109,9 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
|
|
|
2109
2109
|
};
|
|
2110
2110
|
if (u === void 0) u = 0;
|
|
2111
2111
|
if (v === void 0) v = 0;
|
|
2112
|
-
let up = u / (13 * l) + un
|
|
2113
|
-
let vp = v / (13 * l) + vn
|
|
2114
|
-
let y = D50.Y * (l <= 8 ? l / k$
|
|
2112
|
+
let up = u / (13 * l) + un;
|
|
2113
|
+
let vp = v / (13 * l) + vn;
|
|
2114
|
+
let y = D50.Y * (l <= 8 ? l / k$1 : Math.pow((l + 16) / 116, 3));
|
|
2115
2115
|
let res = {
|
|
2116
2116
|
mode: "xyz50",
|
|
2117
2117
|
x: y * (9 * up) / (4 * vp),
|
|
@@ -3133,153 +3133,155 @@ var ZoneIsAbstractError = class extends LuxonError {
|
|
|
3133
3133
|
/**
|
|
3134
3134
|
* @private
|
|
3135
3135
|
*/
|
|
3136
|
-
var n$
|
|
3136
|
+
var n$1 = "numeric";
|
|
3137
|
+
var s$1 = "short";
|
|
3138
|
+
var l$1 = "long";
|
|
3137
3139
|
var DATE_SHORT = {
|
|
3138
|
-
year: n$
|
|
3139
|
-
month: n$
|
|
3140
|
-
day: n$
|
|
3140
|
+
year: n$1,
|
|
3141
|
+
month: n$1,
|
|
3142
|
+
day: n$1
|
|
3141
3143
|
};
|
|
3142
3144
|
var DATE_MED = {
|
|
3143
|
-
year: n$
|
|
3144
|
-
month: s$
|
|
3145
|
-
day: n$
|
|
3145
|
+
year: n$1,
|
|
3146
|
+
month: s$1,
|
|
3147
|
+
day: n$1
|
|
3146
3148
|
};
|
|
3147
3149
|
var DATE_MED_WITH_WEEKDAY = {
|
|
3148
|
-
year: n$
|
|
3149
|
-
month: s$
|
|
3150
|
-
day: n$
|
|
3151
|
-
weekday: s$
|
|
3150
|
+
year: n$1,
|
|
3151
|
+
month: s$1,
|
|
3152
|
+
day: n$1,
|
|
3153
|
+
weekday: s$1
|
|
3152
3154
|
};
|
|
3153
3155
|
var DATE_FULL = {
|
|
3154
|
-
year: n$
|
|
3155
|
-
month: l$
|
|
3156
|
-
day: n$
|
|
3156
|
+
year: n$1,
|
|
3157
|
+
month: l$1,
|
|
3158
|
+
day: n$1
|
|
3157
3159
|
};
|
|
3158
3160
|
var DATE_HUGE = {
|
|
3159
|
-
year: n$
|
|
3160
|
-
month: l$
|
|
3161
|
-
day: n$
|
|
3162
|
-
weekday: l$
|
|
3161
|
+
year: n$1,
|
|
3162
|
+
month: l$1,
|
|
3163
|
+
day: n$1,
|
|
3164
|
+
weekday: l$1
|
|
3163
3165
|
};
|
|
3164
3166
|
var TIME_SIMPLE = {
|
|
3165
|
-
hour: n$
|
|
3166
|
-
minute: n$
|
|
3167
|
+
hour: n$1,
|
|
3168
|
+
minute: n$1
|
|
3167
3169
|
};
|
|
3168
3170
|
var TIME_WITH_SECONDS = {
|
|
3169
|
-
hour: n$
|
|
3170
|
-
minute: n$
|
|
3171
|
-
second: n$
|
|
3171
|
+
hour: n$1,
|
|
3172
|
+
minute: n$1,
|
|
3173
|
+
second: n$1
|
|
3172
3174
|
};
|
|
3173
3175
|
var TIME_WITH_SHORT_OFFSET = {
|
|
3174
|
-
hour: n$
|
|
3175
|
-
minute: n$
|
|
3176
|
-
second: n$
|
|
3177
|
-
timeZoneName: s$
|
|
3176
|
+
hour: n$1,
|
|
3177
|
+
minute: n$1,
|
|
3178
|
+
second: n$1,
|
|
3179
|
+
timeZoneName: s$1
|
|
3178
3180
|
};
|
|
3179
3181
|
var TIME_WITH_LONG_OFFSET = {
|
|
3180
|
-
hour: n$
|
|
3181
|
-
minute: n$
|
|
3182
|
-
second: n$
|
|
3183
|
-
timeZoneName: l$
|
|
3182
|
+
hour: n$1,
|
|
3183
|
+
minute: n$1,
|
|
3184
|
+
second: n$1,
|
|
3185
|
+
timeZoneName: l$1
|
|
3184
3186
|
};
|
|
3185
3187
|
var TIME_24_SIMPLE = {
|
|
3186
|
-
hour: n$
|
|
3187
|
-
minute: n$
|
|
3188
|
+
hour: n$1,
|
|
3189
|
+
minute: n$1,
|
|
3188
3190
|
hourCycle: "h23"
|
|
3189
3191
|
};
|
|
3190
3192
|
var TIME_24_WITH_SECONDS = {
|
|
3191
|
-
hour: n$
|
|
3192
|
-
minute: n$
|
|
3193
|
-
second: n$
|
|
3193
|
+
hour: n$1,
|
|
3194
|
+
minute: n$1,
|
|
3195
|
+
second: n$1,
|
|
3194
3196
|
hourCycle: "h23"
|
|
3195
3197
|
};
|
|
3196
3198
|
var TIME_24_WITH_SHORT_OFFSET = {
|
|
3197
|
-
hour: n$
|
|
3198
|
-
minute: n$
|
|
3199
|
-
second: n$
|
|
3199
|
+
hour: n$1,
|
|
3200
|
+
minute: n$1,
|
|
3201
|
+
second: n$1,
|
|
3200
3202
|
hourCycle: "h23",
|
|
3201
|
-
timeZoneName: s$
|
|
3203
|
+
timeZoneName: s$1
|
|
3202
3204
|
};
|
|
3203
3205
|
var TIME_24_WITH_LONG_OFFSET = {
|
|
3204
|
-
hour: n$
|
|
3205
|
-
minute: n$
|
|
3206
|
-
second: n$
|
|
3206
|
+
hour: n$1,
|
|
3207
|
+
minute: n$1,
|
|
3208
|
+
second: n$1,
|
|
3207
3209
|
hourCycle: "h23",
|
|
3208
|
-
timeZoneName: l$
|
|
3210
|
+
timeZoneName: l$1
|
|
3209
3211
|
};
|
|
3210
3212
|
var DATETIME_SHORT = {
|
|
3211
|
-
year: n$
|
|
3212
|
-
month: n$
|
|
3213
|
-
day: n$
|
|
3214
|
-
hour: n$
|
|
3215
|
-
minute: n$
|
|
3213
|
+
year: n$1,
|
|
3214
|
+
month: n$1,
|
|
3215
|
+
day: n$1,
|
|
3216
|
+
hour: n$1,
|
|
3217
|
+
minute: n$1
|
|
3216
3218
|
};
|
|
3217
3219
|
var DATETIME_SHORT_WITH_SECONDS = {
|
|
3218
|
-
year: n$
|
|
3219
|
-
month: n$
|
|
3220
|
-
day: n$
|
|
3221
|
-
hour: n$
|
|
3222
|
-
minute: n$
|
|
3223
|
-
second: n$
|
|
3220
|
+
year: n$1,
|
|
3221
|
+
month: n$1,
|
|
3222
|
+
day: n$1,
|
|
3223
|
+
hour: n$1,
|
|
3224
|
+
minute: n$1,
|
|
3225
|
+
second: n$1
|
|
3224
3226
|
};
|
|
3225
3227
|
var DATETIME_MED = {
|
|
3226
|
-
year: n$
|
|
3227
|
-
month: s$
|
|
3228
|
-
day: n$
|
|
3229
|
-
hour: n$
|
|
3230
|
-
minute: n$
|
|
3228
|
+
year: n$1,
|
|
3229
|
+
month: s$1,
|
|
3230
|
+
day: n$1,
|
|
3231
|
+
hour: n$1,
|
|
3232
|
+
minute: n$1
|
|
3231
3233
|
};
|
|
3232
3234
|
var DATETIME_MED_WITH_SECONDS = {
|
|
3233
|
-
year: n$
|
|
3234
|
-
month: s$
|
|
3235
|
-
day: n$
|
|
3236
|
-
hour: n$
|
|
3237
|
-
minute: n$
|
|
3238
|
-
second: n$
|
|
3235
|
+
year: n$1,
|
|
3236
|
+
month: s$1,
|
|
3237
|
+
day: n$1,
|
|
3238
|
+
hour: n$1,
|
|
3239
|
+
minute: n$1,
|
|
3240
|
+
second: n$1
|
|
3239
3241
|
};
|
|
3240
3242
|
var DATETIME_MED_WITH_WEEKDAY = {
|
|
3241
|
-
year: n$
|
|
3242
|
-
month: s$
|
|
3243
|
-
day: n$
|
|
3244
|
-
weekday: s$
|
|
3245
|
-
hour: n$
|
|
3246
|
-
minute: n$
|
|
3243
|
+
year: n$1,
|
|
3244
|
+
month: s$1,
|
|
3245
|
+
day: n$1,
|
|
3246
|
+
weekday: s$1,
|
|
3247
|
+
hour: n$1,
|
|
3248
|
+
minute: n$1
|
|
3247
3249
|
};
|
|
3248
3250
|
var DATETIME_FULL = {
|
|
3249
|
-
year: n$
|
|
3250
|
-
month: l$
|
|
3251
|
-
day: n$
|
|
3252
|
-
hour: n$
|
|
3253
|
-
minute: n$
|
|
3254
|
-
timeZoneName: s$
|
|
3251
|
+
year: n$1,
|
|
3252
|
+
month: l$1,
|
|
3253
|
+
day: n$1,
|
|
3254
|
+
hour: n$1,
|
|
3255
|
+
minute: n$1,
|
|
3256
|
+
timeZoneName: s$1
|
|
3255
3257
|
};
|
|
3256
3258
|
var DATETIME_FULL_WITH_SECONDS = {
|
|
3257
|
-
year: n$
|
|
3258
|
-
month: l$
|
|
3259
|
-
day: n$
|
|
3260
|
-
hour: n$
|
|
3261
|
-
minute: n$
|
|
3262
|
-
second: n$
|
|
3263
|
-
timeZoneName: s$
|
|
3259
|
+
year: n$1,
|
|
3260
|
+
month: l$1,
|
|
3261
|
+
day: n$1,
|
|
3262
|
+
hour: n$1,
|
|
3263
|
+
minute: n$1,
|
|
3264
|
+
second: n$1,
|
|
3265
|
+
timeZoneName: s$1
|
|
3264
3266
|
};
|
|
3265
3267
|
var DATETIME_HUGE = {
|
|
3266
|
-
year: n$
|
|
3267
|
-
month: l$
|
|
3268
|
-
day: n$
|
|
3269
|
-
weekday: l$
|
|
3270
|
-
hour: n$
|
|
3271
|
-
minute: n$
|
|
3272
|
-
timeZoneName: l$
|
|
3268
|
+
year: n$1,
|
|
3269
|
+
month: l$1,
|
|
3270
|
+
day: n$1,
|
|
3271
|
+
weekday: l$1,
|
|
3272
|
+
hour: n$1,
|
|
3273
|
+
minute: n$1,
|
|
3274
|
+
timeZoneName: l$1
|
|
3273
3275
|
};
|
|
3274
3276
|
var DATETIME_HUGE_WITH_SECONDS = {
|
|
3275
|
-
year: n$
|
|
3276
|
-
month: l$
|
|
3277
|
-
day: n$
|
|
3278
|
-
weekday: l$
|
|
3279
|
-
hour: n$
|
|
3280
|
-
minute: n$
|
|
3281
|
-
second: n$
|
|
3282
|
-
timeZoneName: l$
|
|
3277
|
+
year: n$1,
|
|
3278
|
+
month: l$1,
|
|
3279
|
+
day: n$1,
|
|
3280
|
+
weekday: l$1,
|
|
3281
|
+
hour: n$1,
|
|
3282
|
+
minute: n$1,
|
|
3283
|
+
second: n$1,
|
|
3284
|
+
timeZoneName: l$1
|
|
3283
3285
|
};
|
|
3284
3286
|
/**
|
|
3285
3287
|
* @interface
|
|
@@ -4274,7 +4276,14 @@ function digitRegex({ numberingSystem }, append = "") {
|
|
|
4274
4276
|
}
|
|
4275
4277
|
return regex;
|
|
4276
4278
|
}
|
|
4277
|
-
var now = () => Date.now()
|
|
4279
|
+
var now = () => Date.now();
|
|
4280
|
+
var defaultZone = "system";
|
|
4281
|
+
var defaultLocale = null;
|
|
4282
|
+
var defaultNumberingSystem = null;
|
|
4283
|
+
var defaultOutputCalendar = null;
|
|
4284
|
+
var twoDigitCutoffYear = 60;
|
|
4285
|
+
var throwOnInvalid;
|
|
4286
|
+
var defaultWeekSettings = null;
|
|
4278
4287
|
/**
|
|
4279
4288
|
* Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.
|
|
4280
4289
|
*/
|
|
@@ -4443,7 +4452,8 @@ var nonLeapLadder = [
|
|
|
4443
4452
|
273,
|
|
4444
4453
|
304,
|
|
4445
4454
|
334
|
|
4446
|
-
]
|
|
4455
|
+
];
|
|
4456
|
+
var leapLadder = [
|
|
4447
4457
|
0,
|
|
4448
4458
|
31,
|
|
4449
4459
|
60,
|
|
@@ -5370,7 +5380,9 @@ function extractRFC2822(match) {
|
|
|
5370
5380
|
function preprocessRFC2822(s) {
|
|
5371
5381
|
return s.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
|
|
5372
5382
|
}
|
|
5373
|
-
var rfc1123 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT
|
|
5383
|
+
var rfc1123 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/;
|
|
5384
|
+
var rfc850 = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/;
|
|
5385
|
+
var ascii = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
|
|
5374
5386
|
function extractRFC1123Or850(match) {
|
|
5375
5387
|
const [, weekdayStr, dayStr, monthStr, yearStr, hourStr, minuteStr, secondStr] = match;
|
|
5376
5388
|
return [fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr), FixedOffsetZone.utcInstance];
|
|
@@ -5434,7 +5446,8 @@ var lowOrderMatrix = {
|
|
|
5434
5446
|
milliseconds: 60 * 1e3
|
|
5435
5447
|
},
|
|
5436
5448
|
seconds: { milliseconds: 1e3 }
|
|
5437
|
-
}
|
|
5449
|
+
};
|
|
5450
|
+
var casualMatrix = {
|
|
5438
5451
|
years: {
|
|
5439
5452
|
quarters: 4,
|
|
5440
5453
|
months: 12,
|
|
@@ -5463,7 +5476,10 @@ var lowOrderMatrix = {
|
|
|
5463
5476
|
milliseconds: 720 * 60 * 60 * 1e3
|
|
5464
5477
|
},
|
|
5465
5478
|
...lowOrderMatrix
|
|
5466
|
-
}
|
|
5479
|
+
};
|
|
5480
|
+
var daysInYearAccurate = 146097 / 400;
|
|
5481
|
+
var daysInMonthAccurate = 146097 / 4800;
|
|
5482
|
+
var accurateMatrix = {
|
|
5467
5483
|
years: {
|
|
5468
5484
|
quarters: 4,
|
|
5469
5485
|
months: 12,
|
|
@@ -7446,14 +7462,16 @@ var defaultUnitValues = {
|
|
|
7446
7462
|
minute: 0,
|
|
7447
7463
|
second: 0,
|
|
7448
7464
|
millisecond: 0
|
|
7449
|
-
}
|
|
7465
|
+
};
|
|
7466
|
+
var defaultWeekUnitValues = {
|
|
7450
7467
|
weekNumber: 1,
|
|
7451
7468
|
weekday: 1,
|
|
7452
7469
|
hour: 0,
|
|
7453
7470
|
minute: 0,
|
|
7454
7471
|
second: 0,
|
|
7455
7472
|
millisecond: 0
|
|
7456
|
-
}
|
|
7473
|
+
};
|
|
7474
|
+
var defaultOrdinalUnitValues = {
|
|
7457
7475
|
ordinal: 1,
|
|
7458
7476
|
hour: 0,
|
|
7459
7477
|
minute: 0,
|
|
@@ -7468,7 +7486,8 @@ var orderedUnits = [
|
|
|
7468
7486
|
"minute",
|
|
7469
7487
|
"second",
|
|
7470
7488
|
"millisecond"
|
|
7471
|
-
]
|
|
7489
|
+
];
|
|
7490
|
+
var orderedWeekUnits = [
|
|
7472
7491
|
"weekYear",
|
|
7473
7492
|
"weekNumber",
|
|
7474
7493
|
"weekday",
|
|
@@ -7476,7 +7495,8 @@ var orderedUnits = [
|
|
|
7476
7495
|
"minute",
|
|
7477
7496
|
"second",
|
|
7478
7497
|
"millisecond"
|
|
7479
|
-
]
|
|
7498
|
+
];
|
|
7499
|
+
var orderedOrdinalUnits = [
|
|
7480
7500
|
"year",
|
|
7481
7501
|
"ordinal",
|
|
7482
7502
|
"hour",
|
|
@@ -9262,7 +9282,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
9262
9282
|
}
|
|
9263
9283
|
//#endregion
|
|
9264
9284
|
//#region ../../node_modules/.bun/@basmilius+utils@3.55.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
|
|
9265
|
-
function x
|
|
9285
|
+
function x(e) {
|
|
9266
9286
|
let t = {};
|
|
9267
9287
|
do {
|
|
9268
9288
|
if (e.name === ``) break;
|
|
@@ -9274,7 +9294,7 @@ function x$1(e) {
|
|
|
9274
9294
|
} while (e = Object.getPrototypeOf(e));
|
|
9275
9295
|
return t;
|
|
9276
9296
|
}
|
|
9277
|
-
function j
|
|
9297
|
+
function j(e) {
|
|
9278
9298
|
let t = parseInt(e.startsWith(`#`) ? e.substring(1) : e, 16);
|
|
9279
9299
|
return [
|
|
9280
9300
|
t >> 16 & 255,
|
|
@@ -9282,10 +9302,10 @@ function j$1(e) {
|
|
|
9282
9302
|
t & 255
|
|
9283
9303
|
];
|
|
9284
9304
|
}
|
|
9285
|
-
function R
|
|
9305
|
+
function R(e) {
|
|
9286
9306
|
return globalThis.document ? e instanceof HTMLElement : !1;
|
|
9287
9307
|
}
|
|
9288
|
-
function V
|
|
9308
|
+
function V(e) {
|
|
9289
9309
|
let t = /* @__PURE__ */ new Uint32Array(1);
|
|
9290
9310
|
t[0] = e;
|
|
9291
9311
|
function n() {
|
|
@@ -9296,7 +9316,7 @@ function V$1(e) {
|
|
|
9296
9316
|
return n() * (t - e) + e;
|
|
9297
9317
|
}
|
|
9298
9318
|
function i() {
|
|
9299
|
-
return V
|
|
9319
|
+
return V(n() * 2 ** 32);
|
|
9300
9320
|
}
|
|
9301
9321
|
return {
|
|
9302
9322
|
fork: i,
|
|
@@ -9304,14 +9324,14 @@ function V$1(e) {
|
|
|
9304
9324
|
nextBetween: r
|
|
9305
9325
|
};
|
|
9306
9326
|
}
|
|
9307
|
-
function G
|
|
9327
|
+
function G(e, t, n) {
|
|
9308
9328
|
e.prototype[t] = n;
|
|
9309
9329
|
}
|
|
9310
|
-
function K
|
|
9330
|
+
function K(e, t, n) {
|
|
9311
9331
|
Object.defineProperty(e, t, { value: n });
|
|
9312
9332
|
}
|
|
9313
9333
|
//#endregion
|
|
9314
|
-
//#region ../../node_modules/.bun/@basmilius+http-client@3.55.0+
|
|
9334
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.55.0+5b14057fc6050d41/node_modules/@basmilius/http-client/dist/index.mjs
|
|
9315
9335
|
function adapter_default(Parent) {
|
|
9316
9336
|
return class extends Parent {
|
|
9317
9337
|
constructor(...args) {
|
|
@@ -9663,15 +9683,15 @@ function toJSON_default() {
|
|
|
9663
9683
|
*/
|
|
9664
9684
|
function dto_default(clazz) {
|
|
9665
9685
|
validate(clazz);
|
|
9666
|
-
const descriptors = Object.freeze(x
|
|
9686
|
+
const descriptors = Object.freeze(x(clazz));
|
|
9667
9687
|
const properties = Object.keys(descriptors);
|
|
9668
|
-
K
|
|
9669
|
-
K
|
|
9670
|
-
K
|
|
9671
|
-
K
|
|
9672
|
-
G
|
|
9673
|
-
G
|
|
9674
|
-
G
|
|
9688
|
+
K(clazz.prototype, DESCRIPTORS, descriptors);
|
|
9689
|
+
K(clazz.prototype, NAME, clazz.name);
|
|
9690
|
+
K(clazz.prototype, PROPERTIES, properties);
|
|
9691
|
+
K(clazz, Symbol.hasInstance, (instance) => typeof instance === "object" && instance?.[NAME] === clazz.name);
|
|
9692
|
+
G(clazz, "clone", clone_default);
|
|
9693
|
+
G(clazz, "fill", fill_default);
|
|
9694
|
+
G(clazz, "toJSON", toJSON_default);
|
|
9675
9695
|
return proxy(clazz);
|
|
9676
9696
|
}
|
|
9677
9697
|
function proxy(clazz) {
|
|
@@ -9819,18 +9839,18 @@ var HttpAdapter = _HttpAdapter = class HttpAdapter {
|
|
|
9819
9839
|
}
|
|
9820
9840
|
};
|
|
9821
9841
|
HttpAdapter = _HttpAdapter = __decorate([adapter_default], HttpAdapter);
|
|
9822
|
-
function de
|
|
9842
|
+
function de() {
|
|
9823
9843
|
let t = getCurrentInstance();
|
|
9824
9844
|
return computed(() => t?.uid ?? (t?.proxy)._uid ?? 0);
|
|
9825
9845
|
}
|
|
9826
9846
|
RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
|
|
9827
9847
|
//#endregion
|
|
9828
9848
|
//#region ../internals/dist/util-vNzwiqjo.js
|
|
9829
|
-
function a$
|
|
9849
|
+
function a$1(t) {
|
|
9830
9850
|
let n = [];
|
|
9831
9851
|
for (let r of t) {
|
|
9832
9852
|
if (r.type === Fragment && Array.isArray(r.children)) {
|
|
9833
|
-
n.push(...a$
|
|
9853
|
+
n.push(...a$1(r.children));
|
|
9834
9854
|
continue;
|
|
9835
9855
|
}
|
|
9836
9856
|
n.push(r);
|
|
@@ -9846,12 +9866,12 @@ function a$2(t) {
|
|
|
9846
9866
|
`[contenteditable]:not([contenteditable=false])`,
|
|
9847
9867
|
`[tabindex]:not([disabled]):not([tabindex="-1"])`
|
|
9848
9868
|
].join(`,`);
|
|
9849
|
-
function v
|
|
9869
|
+
function v() {
|
|
9850
9870
|
return typeof window < `u` && window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches === !0;
|
|
9851
9871
|
}
|
|
9852
|
-
function y
|
|
9872
|
+
function y(e) {
|
|
9853
9873
|
let r = unref(e);
|
|
9854
|
-
return R
|
|
9874
|
+
return R(r) ? r : r?.$el;
|
|
9855
9875
|
}
|
|
9856
9876
|
new class {
|
|
9857
9877
|
get active() {
|
|
@@ -9889,10 +9909,10 @@ new class {
|
|
|
9889
9909
|
globalThis.document;
|
|
9890
9910
|
//#endregion
|
|
9891
9911
|
//#region ../internals/dist/composable-Cr4VA1Rs.js
|
|
9892
|
-
function k
|
|
9912
|
+
function k(t, n = {}) {
|
|
9893
9913
|
let r = ref(n.initial ?? !1);
|
|
9894
9914
|
return watch(t, (i, a, o) => {
|
|
9895
|
-
let s = y
|
|
9915
|
+
let s = y(t);
|
|
9896
9916
|
if (!s) return;
|
|
9897
9917
|
let c = new IntersectionObserver((e) => r.value = e[0]?.isIntersecting ?? !1, n);
|
|
9898
9918
|
c.observe(s), o(() => c.disconnect());
|
|
@@ -9900,7 +9920,9 @@ function k$1(t, n = {}) {
|
|
|
9900
9920
|
}
|
|
9901
9921
|
//#endregion
|
|
9902
9922
|
//#region ../internals/dist/data/index.js
|
|
9903
|
-
var ve = `#ea580c
|
|
9923
|
+
var ve = `#ea580c`;
|
|
9924
|
+
var Un = `#9333ea`;
|
|
9925
|
+
var dr = `#db2777`;
|
|
9904
9926
|
var Visual_module_default = {
|
|
9905
9927
|
fillVisual: `fill-visual`,
|
|
9906
9928
|
animatedColors: `animated-colors fill-visual`,
|
|
@@ -9927,12 +9949,12 @@ var FluxVisualAnimatedColors_default = /* @__PURE__ */ defineComponent({
|
|
|
9927
9949
|
const animationFrame = ref(0);
|
|
9928
9950
|
const tick = ref(0);
|
|
9929
9951
|
const size = ref(null);
|
|
9930
|
-
const componentId = de
|
|
9931
|
-
const inView = k
|
|
9932
|
-
const reducedMotion = v
|
|
9952
|
+
const componentId = de();
|
|
9953
|
+
const inView = k(canvasRef, { initial: true });
|
|
9954
|
+
const reducedMotion = v();
|
|
9933
9955
|
const polygons = computed(() => {
|
|
9934
9956
|
if (!__props.colors || __props.colors.length === 0) return [];
|
|
9935
|
-
const mulberry = V
|
|
9957
|
+
const mulberry = V(__props.seed ?? componentId.value);
|
|
9936
9958
|
const polygons = [];
|
|
9937
9959
|
for (const color of __props.colors) {
|
|
9938
9960
|
const localMulberry = mulberry.fork();
|
|
@@ -10105,7 +10127,7 @@ var FluxVisualAttention_default = defineComponent({
|
|
|
10105
10127
|
const isPlaying = ref(false);
|
|
10106
10128
|
let restartFrame = 0;
|
|
10107
10129
|
function play() {
|
|
10108
|
-
if (v
|
|
10130
|
+
if (v()) {
|
|
10109
10131
|
emit("finished");
|
|
10110
10132
|
return;
|
|
10111
10133
|
}
|
|
@@ -10129,7 +10151,7 @@ var FluxVisualAttention_default = defineComponent({
|
|
|
10129
10151
|
cancelAnimationFrame(restartFrame);
|
|
10130
10152
|
});
|
|
10131
10153
|
expose({ play });
|
|
10132
|
-
return () => h(Fragment, a$
|
|
10154
|
+
return () => h(Fragment, a$1(slots.default?.() ?? []).map((vnode) => cloneVNode(vnode, {
|
|
10133
10155
|
...attrs,
|
|
10134
10156
|
class: clsx(attrs.class, isPlaying.value && EFFECT_CLASSES[props.effect]),
|
|
10135
10157
|
style: { "--attention-duration": props.duration },
|
|
@@ -10393,7 +10415,7 @@ function useBorderBeamPulse(options) {
|
|
|
10393
10415
|
if (variant !== "pulse-inner" && variant !== "pulse-outside") return;
|
|
10394
10416
|
const element = unref(options.elementRef);
|
|
10395
10417
|
if (!element || !unref(options.enabled)) return;
|
|
10396
|
-
if (v
|
|
10418
|
+
if (v()) return;
|
|
10397
10419
|
onCleanup(registerPulseInstance(element, createPulseConfig(variant, element.closest("[dark]") !== null, unref(options.duration), unref(options.staticColors))));
|
|
10398
10420
|
});
|
|
10399
10421
|
}
|
|
@@ -11072,7 +11094,7 @@ var FluxVisualBorderBeam_default = /* @__PURE__ */ defineComponent({
|
|
|
11072
11094
|
"pulse-outside": BorderBeam_module_default.pulseOutside
|
|
11073
11095
|
};
|
|
11074
11096
|
const wrapperRef = useTemplateRef("wrapper");
|
|
11075
|
-
const inView = k
|
|
11097
|
+
const inView = k(wrapperRef, {
|
|
11076
11098
|
initial: true,
|
|
11077
11099
|
rootMargin: "256px"
|
|
11078
11100
|
});
|
|
@@ -11184,7 +11206,7 @@ var FluxVisualBorderShine_default = defineComponent({
|
|
|
11184
11206
|
}
|
|
11185
11207
|
},
|
|
11186
11208
|
setup(props, { attrs, slots }) {
|
|
11187
|
-
return () => h(Fragment, a$
|
|
11209
|
+
return () => h(Fragment, a$1(slots.default?.() ?? []).map((vnode) => cloneVNode(vnode, {
|
|
11188
11210
|
...attrs,
|
|
11189
11211
|
class: clsx(attrs.class, Visual_module_default.borderShine),
|
|
11190
11212
|
style: {
|
|
@@ -11332,8 +11354,8 @@ var FluxVisualFlickeringGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
11332
11354
|
},
|
|
11333
11355
|
setup(__props) {
|
|
11334
11356
|
const canvasRef = useTemplateRef("canvas");
|
|
11335
|
-
const inView = k
|
|
11336
|
-
const mulberry = V
|
|
11357
|
+
const inView = k(canvasRef);
|
|
11358
|
+
const mulberry = V(13);
|
|
11337
11359
|
const rgb = computed(() => {
|
|
11338
11360
|
const canvas = document.createElement("canvas");
|
|
11339
11361
|
canvas.width = canvas.height = 1;
|
|
@@ -11354,7 +11376,7 @@ var FluxVisualFlickeringGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
11354
11376
|
let frame = 0;
|
|
11355
11377
|
let lastTime = 0;
|
|
11356
11378
|
let { width, height, columns, rows, squares, dpr } = setup(canvas);
|
|
11357
|
-
const reducedMotion = v
|
|
11379
|
+
const reducedMotion = v();
|
|
11358
11380
|
const onResize = () => {
|
|
11359
11381
|
({width, height, columns, rows, squares, dpr} = setup(canvas));
|
|
11360
11382
|
if (reducedMotion) draw(context, width, height, columns, rows, squares, dpr);
|
|
@@ -11572,7 +11594,7 @@ var FluxVisualHighlighter_default = /* @__PURE__ */ defineComponent({
|
|
|
11572
11594
|
const emit = __emit;
|
|
11573
11595
|
const targetRef = useTemplateRef("target");
|
|
11574
11596
|
const group = useHighlighterGroupInjection();
|
|
11575
|
-
const inView = group ? shallowRef(true) : k
|
|
11597
|
+
const inView = group ? shallowRef(true) : k(targetRef, { initial: !__props.whenInView });
|
|
11576
11598
|
const effectiveVariant = computed(() => __props.variant ?? group?.defaults.variant ?? "highlight");
|
|
11577
11599
|
const effectiveColor = computed(() => __props.color ?? group?.defaults.color ?? "var(--warning-200)");
|
|
11578
11600
|
const effectiveStrokeWidth = computed(() => __props.strokeWidth ?? group?.defaults.strokeWidth ?? 1.5);
|
|
@@ -11621,7 +11643,7 @@ var FluxVisualHighlighter_default = /* @__PURE__ */ defineComponent({
|
|
|
11621
11643
|
});
|
|
11622
11644
|
function emitShown() {
|
|
11623
11645
|
window.clearTimeout(shownTimer);
|
|
11624
|
-
if (v
|
|
11646
|
+
if (v()) {
|
|
11625
11647
|
emit("shown");
|
|
11626
11648
|
return;
|
|
11627
11649
|
}
|
|
@@ -11670,7 +11692,7 @@ var FluxVisualHighlighter_default = /* @__PURE__ */ defineComponent({
|
|
|
11670
11692
|
iterations: effectiveIterations.value,
|
|
11671
11693
|
padding: effectivePadding.value,
|
|
11672
11694
|
multiline: effectiveMultiline.value,
|
|
11673
|
-
animate: !v
|
|
11695
|
+
animate: !v()
|
|
11674
11696
|
});
|
|
11675
11697
|
if (group) {
|
|
11676
11698
|
group.notify();
|
|
@@ -11857,7 +11879,7 @@ var FluxVisualNumberFlow_default = /* @__PURE__ */ defineComponent({
|
|
|
11857
11879
|
}
|
|
11858
11880
|
function tween(from, to) {
|
|
11859
11881
|
cancel();
|
|
11860
|
-
if (from === to || __props.duration <= 0 || v
|
|
11882
|
+
if (from === to || __props.duration <= 0 || v()) {
|
|
11861
11883
|
render(to);
|
|
11862
11884
|
return;
|
|
11863
11885
|
}
|
|
@@ -11906,7 +11928,7 @@ var FluxVisualPaneIllustration_default = /* @__PURE__ */ defineComponent({
|
|
|
11906
11928
|
const slots = useSlots();
|
|
11907
11929
|
const borderColor = computed(() => {
|
|
11908
11930
|
if (!__props.animatedColors || __props.animatedColors.length === 0) return "transparent";
|
|
11909
|
-
const [r, g, b] = j
|
|
11931
|
+
const [r, g, b] = j(__props.animatedColors[0]);
|
|
11910
11932
|
return `rgb(${r} ${g} ${b} / .15)`;
|
|
11911
11933
|
});
|
|
11912
11934
|
return (_ctx, _cache) => {
|
|
@@ -12069,7 +12091,7 @@ var FluxVisualSlotText_default = /* @__PURE__ */ defineComponent({
|
|
|
12069
12091
|
}
|
|
12070
12092
|
function animateSlotText(container, toText, options = {}) {
|
|
12071
12093
|
const { direction = "down", stagger = 45, duration = 300, exitOffset = 50, easing = "cubic-bezier(0.34, 1.56, 0.64, 1)", bounce = .6, color, colorFade = 280, skipUnchanged = true, interrupt = true } = options;
|
|
12072
|
-
if (v
|
|
12094
|
+
if (v()) {
|
|
12073
12095
|
buildSlotText(container, toText);
|
|
12074
12096
|
return;
|
|
12075
12097
|
}
|
|
@@ -12269,7 +12291,7 @@ var FluxVisualTextScramble_default = /* @__PURE__ */ defineComponent({
|
|
|
12269
12291
|
}
|
|
12270
12292
|
function scramble(element, fromText, toText, force = false) {
|
|
12271
12293
|
cancel();
|
|
12272
|
-
if (__props.duration <= 0 || v
|
|
12294
|
+
if (__props.duration <= 0 || v()) {
|
|
12273
12295
|
element.textContent = toText;
|
|
12274
12296
|
emit("finished");
|
|
12275
12297
|
return;
|