@doenet/doenetml-iframe 0.7.21-dev.354 → 0.7.21-dev.357
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/index.js +511 -1091
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -603,178 +603,246 @@ function requireColorName$1() {
|
|
|
603
603
|
}
|
|
604
604
|
var colorNameExports$1 = requireColorName$1();
|
|
605
605
|
const colorName$2 = /* @__PURE__ */ getDefaultExportFromCjs$3(colorNameExports$1);
|
|
606
|
-
var
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
606
|
+
var r$2$1 = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, t$3$1 = function(r2) {
|
|
607
|
+
return "string" == typeof r2 ? r2.length > 0 : "number" == typeof r2;
|
|
608
|
+
}, n$2$1 = function(r2, t23, n2) {
|
|
609
|
+
return void 0 === t23 && (t23 = 0), void 0 === n2 && (n2 = Math.pow(10, t23)), Math.round(n2 * r2) / n2 + 0;
|
|
610
|
+
}, e$2$1 = function(r2, t23, n2) {
|
|
611
|
+
return void 0 === t23 && (t23 = 0), void 0 === n2 && (n2 = 1), r2 > n2 ? n2 : r2 > t23 ? r2 : t23;
|
|
612
|
+
}, u$2$1 = function(r2) {
|
|
613
|
+
return (r2 = isFinite(r2) ? r2 % 360 : 0) > 0 ? r2 : r2 + 360;
|
|
614
|
+
}, a$2$1 = function(r2) {
|
|
615
|
+
return { r: e$2$1(r2.r, 0, 255), g: e$2$1(r2.g, 0, 255), b: e$2$1(r2.b, 0, 255), a: e$2$1(r2.a) };
|
|
616
|
+
}, o$3$1 = function(r2) {
|
|
617
|
+
return { r: n$2$1(r2.r), g: n$2$1(r2.g), b: n$2$1(r2.b), a: n$2$1(r2.a, 3) };
|
|
618
|
+
}, i$2$1 = /^#([0-9a-f]{3,8})$/i, s$1$1 = function(r2) {
|
|
619
|
+
var t23 = r2.toString(16);
|
|
620
|
+
return t23.length < 2 ? "0" + t23 : t23;
|
|
621
|
+
}, h$2$1 = function(r2) {
|
|
622
|
+
var t23 = r2.r, n2 = r2.g, e2 = r2.b, u2 = r2.a, a2 = Math.max(t23, n2, e2), o2 = a2 - Math.min(t23, n2, e2), i2 = o2 ? a2 === t23 ? (n2 - e2) / o2 : a2 === n2 ? 2 + (e2 - t23) / o2 : 4 + (t23 - n2) / o2 : 0;
|
|
623
|
+
return { h: 60 * (i2 < 0 ? i2 + 6 : i2), s: a2 ? o2 / a2 * 100 : 0, v: a2 / 255 * 100, a: u2 };
|
|
624
|
+
}, b$2$1 = function(r2) {
|
|
625
|
+
var t23 = r2.h, n2 = r2.s, e2 = r2.v, u2 = r2.a;
|
|
626
|
+
t23 = t23 / 360 * 6, n2 /= 100, e2 /= 100;
|
|
627
|
+
var a2 = Math.floor(t23), o2 = e2 * (1 - n2), i2 = e2 * (1 - (t23 - a2) * n2), s2 = e2 * (1 - (1 - t23 + a2) * n2), h2 = a2 % 6;
|
|
628
|
+
return { r: 255 * [e2, i2, o2, o2, s2, e2][h2], g: 255 * [s2, e2, e2, i2, o2, o2][h2], b: 255 * [o2, o2, s2, e2, e2, i2][h2], a: u2 };
|
|
629
|
+
}, g$1 = function(r2) {
|
|
630
|
+
return { h: u$2$1(r2.h), s: e$2$1(r2.s, 0, 100), l: e$2$1(r2.l, 0, 100), a: e$2$1(r2.a) };
|
|
631
|
+
}, d$1$1 = function(r2) {
|
|
632
|
+
return { h: n$2$1(r2.h), s: n$2$1(r2.s), l: n$2$1(r2.l), a: n$2$1(r2.a, 3) };
|
|
633
|
+
}, f$1$1 = function(r2) {
|
|
634
|
+
return b$2$1((n2 = (t23 = r2).s, { h: t23.h, s: (n2 *= ((e2 = t23.l) < 50 ? e2 : 100 - e2) / 100) > 0 ? 2 * n2 / (e2 + n2) * 100 : 0, v: e2 + n2, a: t23.a }));
|
|
635
|
+
var t23, n2, e2;
|
|
636
|
+
}, c$1$1 = function(r2) {
|
|
637
|
+
return { h: (t23 = h$2$1(r2)).h, s: (u2 = (200 - (n2 = t23.s)) * (e2 = t23.v) / 100) > 0 && u2 < 200 ? n2 * e2 / 100 / (u2 <= 100 ? u2 : 200 - u2) * 100 : 0, l: u2 / 2, a: t23.a };
|
|
638
|
+
var t23, n2, e2, u2;
|
|
639
|
+
}, l$2$1 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, p$2$1 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, v$1$1 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, m$1 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, y$1$1 = { string: [[function(r2) {
|
|
640
|
+
var t23 = i$2$1.exec(r2);
|
|
641
|
+
return t23 ? (r2 = t23[1]).length <= 4 ? { r: parseInt(r2[0] + r2[0], 16), g: parseInt(r2[1] + r2[1], 16), b: parseInt(r2[2] + r2[2], 16), a: 4 === r2.length ? n$2$1(parseInt(r2[3] + r2[3], 16) / 255, 2) : 1 } : 6 === r2.length || 8 === r2.length ? { r: parseInt(r2.substr(0, 2), 16), g: parseInt(r2.substr(2, 2), 16), b: parseInt(r2.substr(4, 2), 16), a: 8 === r2.length ? n$2$1(parseInt(r2.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
|
|
642
|
+
}, "hex"], [function(r2) {
|
|
643
|
+
var t23 = v$1$1.exec(r2) || m$1.exec(r2);
|
|
644
|
+
return t23 ? t23[2] !== t23[4] || t23[4] !== t23[6] ? null : a$2$1({ r: Number(t23[1]) / (t23[2] ? 100 / 255 : 1), g: Number(t23[3]) / (t23[4] ? 100 / 255 : 1), b: Number(t23[5]) / (t23[6] ? 100 / 255 : 1), a: void 0 === t23[7] ? 1 : Number(t23[7]) / (t23[8] ? 100 : 1) }) : null;
|
|
645
|
+
}, "rgb"], [function(t23) {
|
|
646
|
+
var n2 = l$2$1.exec(t23) || p$2$1.exec(t23);
|
|
647
|
+
if (!n2) return null;
|
|
648
|
+
var e2, u2, a2 = g$1({ h: (e2 = n2[1], u2 = n2[2], void 0 === u2 && (u2 = "deg"), Number(e2) * (r$2$1[u2] || 1)), s: Number(n2[3]), l: Number(n2[4]), a: void 0 === n2[5] ? 1 : Number(n2[5]) / (n2[6] ? 100 : 1) });
|
|
649
|
+
return f$1$1(a2);
|
|
650
|
+
}, "hsl"]], object: [[function(r2) {
|
|
651
|
+
var n2 = r2.r, e2 = r2.g, u2 = r2.b, o2 = r2.a, i2 = void 0 === o2 ? 1 : o2;
|
|
652
|
+
return t$3$1(n2) && t$3$1(e2) && t$3$1(u2) ? a$2$1({ r: Number(n2), g: Number(e2), b: Number(u2), a: Number(i2) }) : null;
|
|
653
|
+
}, "rgb"], [function(r2) {
|
|
654
|
+
var n2 = r2.h, e2 = r2.s, u2 = r2.l, a2 = r2.a, o2 = void 0 === a2 ? 1 : a2;
|
|
655
|
+
if (!t$3$1(n2) || !t$3$1(e2) || !t$3$1(u2)) return null;
|
|
656
|
+
var i2 = g$1({ h: Number(n2), s: Number(e2), l: Number(u2), a: Number(o2) });
|
|
657
|
+
return f$1$1(i2);
|
|
658
|
+
}, "hsl"], [function(r2) {
|
|
659
|
+
var n2 = r2.h, a2 = r2.s, o2 = r2.v, i2 = r2.a, s2 = void 0 === i2 ? 1 : i2;
|
|
660
|
+
if (!t$3$1(n2) || !t$3$1(a2) || !t$3$1(o2)) return null;
|
|
661
|
+
var h2 = (function(r3) {
|
|
662
|
+
return { h: u$2$1(r3.h), s: e$2$1(r3.s, 0, 100), v: e$2$1(r3.v, 0, 100), a: e$2$1(r3.a) };
|
|
663
|
+
})({ h: Number(n2), s: Number(a2), v: Number(o2), a: Number(s2) });
|
|
664
|
+
return b$2$1(h2);
|
|
665
|
+
}, "hsv"]] }, N$1 = function(r2, t23) {
|
|
666
|
+
for (var n2 = 0; n2 < t23.length; n2++) {
|
|
667
|
+
var e2 = t23[n2][0](r2);
|
|
668
|
+
if (e2) return [e2, t23[n2][1]];
|
|
669
|
+
}
|
|
670
|
+
return [null, void 0];
|
|
671
|
+
}, x$1$1 = function(r2) {
|
|
672
|
+
return "string" == typeof r2 ? N$1(r2.trim(), y$1$1.string) : "object" == typeof r2 && null !== r2 ? N$1(r2, y$1$1.object) : [null, void 0];
|
|
673
|
+
}, M$2$1 = function(r2, t23) {
|
|
674
|
+
var n2 = c$1$1(r2);
|
|
675
|
+
return { h: n2.h, s: e$2$1(n2.s + 100 * t23, 0, 100), l: n2.l, a: n2.a };
|
|
676
|
+
}, H$1 = function(r2) {
|
|
677
|
+
return (299 * r2.r + 587 * r2.g + 114 * r2.b) / 1e3 / 255;
|
|
678
|
+
}, $$1 = function(r2, t23) {
|
|
679
|
+
var n2 = c$1$1(r2);
|
|
680
|
+
return { h: n2.h, s: n2.s, l: e$2$1(n2.l + 100 * t23, 0, 100), a: n2.a };
|
|
681
|
+
}, j$1 = (function() {
|
|
682
|
+
function r2(r3) {
|
|
683
|
+
this.parsed = x$1$1(r3)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
|
|
684
|
+
}
|
|
685
|
+
return r2.prototype.isValid = function() {
|
|
686
|
+
return null !== this.parsed;
|
|
687
|
+
}, r2.prototype.brightness = function() {
|
|
688
|
+
return n$2$1(H$1(this.rgba), 2);
|
|
689
|
+
}, r2.prototype.isDark = function() {
|
|
690
|
+
return H$1(this.rgba) < 0.5;
|
|
691
|
+
}, r2.prototype.isLight = function() {
|
|
692
|
+
return H$1(this.rgba) >= 0.5;
|
|
693
|
+
}, r2.prototype.toHex = function() {
|
|
694
|
+
return r3 = o$3$1(this.rgba), t23 = r3.r, e2 = r3.g, u2 = r3.b, i2 = (a2 = r3.a) < 1 ? s$1$1(n$2$1(255 * a2)) : "", "#" + s$1$1(t23) + s$1$1(e2) + s$1$1(u2) + i2;
|
|
695
|
+
var r3, t23, e2, u2, a2, i2;
|
|
696
|
+
}, r2.prototype.toRgb = function() {
|
|
697
|
+
return o$3$1(this.rgba);
|
|
698
|
+
}, r2.prototype.toRgbString = function() {
|
|
699
|
+
return r3 = o$3$1(this.rgba), t23 = r3.r, n2 = r3.g, e2 = r3.b, (u2 = r3.a) < 1 ? "rgba(" + t23 + ", " + n2 + ", " + e2 + ", " + u2 + ")" : "rgb(" + t23 + ", " + n2 + ", " + e2 + ")";
|
|
700
|
+
var r3, t23, n2, e2, u2;
|
|
701
|
+
}, r2.prototype.toHsl = function() {
|
|
702
|
+
return d$1$1(c$1$1(this.rgba));
|
|
703
|
+
}, r2.prototype.toHslString = function() {
|
|
704
|
+
return r3 = d$1$1(c$1$1(this.rgba)), t23 = r3.h, n2 = r3.s, e2 = r3.l, (u2 = r3.a) < 1 ? "hsla(" + t23 + ", " + n2 + "%, " + e2 + "%, " + u2 + ")" : "hsl(" + t23 + ", " + n2 + "%, " + e2 + "%)";
|
|
705
|
+
var r3, t23, n2, e2, u2;
|
|
706
|
+
}, r2.prototype.toHsv = function() {
|
|
707
|
+
return r3 = h$2$1(this.rgba), { h: n$2$1(r3.h), s: n$2$1(r3.s), v: n$2$1(r3.v), a: n$2$1(r3.a, 3) };
|
|
708
|
+
var r3;
|
|
709
|
+
}, r2.prototype.invert = function() {
|
|
710
|
+
return w$1$1({ r: 255 - (r3 = this.rgba).r, g: 255 - r3.g, b: 255 - r3.b, a: r3.a });
|
|
711
|
+
var r3;
|
|
712
|
+
}, r2.prototype.saturate = function(r3) {
|
|
713
|
+
return void 0 === r3 && (r3 = 0.1), w$1$1(M$2$1(this.rgba, r3));
|
|
714
|
+
}, r2.prototype.desaturate = function(r3) {
|
|
715
|
+
return void 0 === r3 && (r3 = 0.1), w$1$1(M$2$1(this.rgba, -r3));
|
|
716
|
+
}, r2.prototype.grayscale = function() {
|
|
717
|
+
return w$1$1(M$2$1(this.rgba, -1));
|
|
718
|
+
}, r2.prototype.lighten = function(r3) {
|
|
719
|
+
return void 0 === r3 && (r3 = 0.1), w$1$1($$1(this.rgba, r3));
|
|
720
|
+
}, r2.prototype.darken = function(r3) {
|
|
721
|
+
return void 0 === r3 && (r3 = 0.1), w$1$1($$1(this.rgba, -r3));
|
|
722
|
+
}, r2.prototype.rotate = function(r3) {
|
|
723
|
+
return void 0 === r3 && (r3 = 15), this.hue(this.hue() + r3);
|
|
724
|
+
}, r2.prototype.alpha = function(r3) {
|
|
725
|
+
return "number" == typeof r3 ? w$1$1({ r: (t23 = this.rgba).r, g: t23.g, b: t23.b, a: r3 }) : n$2$1(this.rgba.a, 3);
|
|
726
|
+
var t23;
|
|
727
|
+
}, r2.prototype.hue = function(r3) {
|
|
728
|
+
var t23 = c$1$1(this.rgba);
|
|
729
|
+
return "number" == typeof r3 ? w$1$1({ h: r3, s: t23.s, l: t23.l, a: t23.a }) : n$2$1(t23.h);
|
|
730
|
+
}, r2.prototype.isEqual = function(r3) {
|
|
731
|
+
return this.toHex() === w$1$1(r3).toHex();
|
|
732
|
+
}, r2;
|
|
733
|
+
})(), w$1$1 = function(r2) {
|
|
734
|
+
return r2 instanceof j$1 ? r2 : new j$1(r2);
|
|
735
|
+
}, S$1 = [], k$1 = function(r2) {
|
|
736
|
+
r2.forEach(function(r3) {
|
|
737
|
+
S$1.indexOf(r3) < 0 && (r3(j$1, y$1$1), S$1.push(r3));
|
|
738
|
+
});
|
|
739
|
+
};
|
|
740
|
+
var a$1$1 = function(a2) {
|
|
741
|
+
return "string" == typeof a2 ? a2.length > 0 : "number" == typeof a2;
|
|
742
|
+
}, t$2$1 = function(a2, t23, o2) {
|
|
743
|
+
return void 0 === t23 && (t23 = 0), void 0 === o2 && (o2 = Math.pow(10, t23)), Math.round(o2 * a2) / o2 + 0;
|
|
744
|
+
}, o$2$1 = function(a2, t23, o2) {
|
|
745
|
+
return void 0 === t23 && (t23 = 0), void 0 === o2 && (o2 = 1), a2 > o2 ? o2 : a2 > t23 ? a2 : t23;
|
|
746
|
+
}, r$1$1 = function(a2) {
|
|
747
|
+
var t23 = a2 / 255;
|
|
748
|
+
return t23 < 0.04045 ? t23 / 12.92 : Math.pow((t23 + 0.055) / 1.055, 2.4);
|
|
749
|
+
}, h$1$1 = function(a2) {
|
|
750
|
+
return 255 * (a2 > 31308e-7 ? 1.055 * Math.pow(a2, 1 / 2.4) - 0.055 : 12.92 * a2);
|
|
751
|
+
}, n$1$1 = 96.422, p$1$1 = 100, M$1$1 = 82.521, u$1$1 = function(a2) {
|
|
752
|
+
var t23, r2, n2 = { x: 0.9555766 * (t23 = a2).x + -0.0230393 * t23.y + 0.0631636 * t23.z, y: -0.0282895 * t23.x + 1.0099416 * t23.y + 0.0210077 * t23.z, z: 0.0122982 * t23.x + -0.020483 * t23.y + 1.3299098 * t23.z };
|
|
753
|
+
return r2 = { r: h$1$1(0.032404542 * n2.x - 0.015371385 * n2.y - 4985314e-9 * n2.z), g: h$1$1(-969266e-8 * n2.x + 0.018760108 * n2.y + 41556e-8 * n2.z), b: h$1$1(556434e-9 * n2.x - 2040259e-9 * n2.y + 0.010572252 * n2.z), a: a2.a }, { r: o$2$1(r2.r, 0, 255), g: o$2$1(r2.g, 0, 255), b: o$2$1(r2.b, 0, 255), a: o$2$1(r2.a) };
|
|
754
|
+
}, e$1$1 = function(a2) {
|
|
755
|
+
var t23 = r$1$1(a2.r), h2 = r$1$1(a2.g), u2 = r$1$1(a2.b);
|
|
756
|
+
return (function(a3) {
|
|
757
|
+
return { x: o$2$1(a3.x, 0, n$1$1), y: o$2$1(a3.y, 0, p$1$1), z: o$2$1(a3.z, 0, M$1$1), a: o$2$1(a3.a) };
|
|
758
|
+
})((function(a3) {
|
|
759
|
+
return { x: 1.0478112 * a3.x + 0.0228866 * a3.y + -0.050127 * a3.z, y: 0.0295424 * a3.x + 0.9904844 * a3.y + -0.0170491 * a3.z, z: -92345e-7 * a3.x + 0.0150436 * a3.y + 0.7521316 * a3.z, a: a3.a };
|
|
760
|
+
})({ x: 100 * (0.4124564 * t23 + 0.3575761 * h2 + 0.1804375 * u2), y: 100 * (0.2126729 * t23 + 0.7151522 * h2 + 0.072175 * u2), z: 100 * (0.0193339 * t23 + 0.119192 * h2 + 0.9503041 * u2), a: a2.a }));
|
|
761
|
+
}, w$2 = 216 / 24389, b$1$1 = 24389 / 27, i$1$1 = function(t23) {
|
|
762
|
+
var r2 = t23.l, h2 = t23.a, n2 = t23.b, p2 = t23.alpha, M2 = void 0 === p2 ? 1 : p2;
|
|
763
|
+
if (!a$1$1(r2) || !a$1$1(h2) || !a$1$1(n2)) return null;
|
|
764
|
+
var u2 = (function(a2) {
|
|
765
|
+
return { l: o$2$1(a2.l, 0, 400), a: a2.a, b: a2.b, alpha: o$2$1(a2.alpha) };
|
|
766
|
+
})({ l: Number(r2), a: Number(h2), b: Number(n2), alpha: Number(M2) });
|
|
767
|
+
return l$1$1(u2);
|
|
768
|
+
}, l$1$1 = function(a2) {
|
|
769
|
+
var t23 = (a2.l + 16) / 116, o2 = a2.a / 500 + t23, r2 = t23 - a2.b / 200;
|
|
770
|
+
return u$1$1({ x: (Math.pow(o2, 3) > w$2 ? Math.pow(o2, 3) : (116 * o2 - 16) / b$1$1) * n$1$1, y: (a2.l > 8 ? Math.pow((a2.l + 16) / 116, 3) : a2.l / b$1$1) * p$1$1, z: (Math.pow(r2, 3) > w$2 ? Math.pow(r2, 3) : (116 * r2 - 16) / b$1$1) * M$1$1, a: a2.alpha });
|
|
771
|
+
};
|
|
772
|
+
function labPlugin$1(a2, r2) {
|
|
773
|
+
a2.prototype.toLab = function() {
|
|
774
|
+
return o2 = e$1$1(this.rgba), h2 = o2.y / p$1$1, u2 = o2.z / M$1$1, r3 = (r3 = o2.x / n$1$1) > w$2 ? Math.cbrt(r3) : (b$1$1 * r3 + 16) / 116, a3 = { l: 116 * (h2 = h2 > w$2 ? Math.cbrt(h2) : (b$1$1 * h2 + 16) / 116) - 16, a: 500 * (r3 - h2), b: 200 * (h2 - (u2 = u2 > w$2 ? Math.cbrt(u2) : (b$1$1 * u2 + 16) / 116)), alpha: o2.a }, { l: t$2$1(a3.l, 2), a: t$2$1(a3.a, 2), b: t$2$1(a3.b, 2), alpha: t$2$1(a3.alpha, 3) };
|
|
775
|
+
var a3, o2, r3, h2, u2;
|
|
776
|
+
}, a2.prototype.delta = function(r3) {
|
|
777
|
+
void 0 === r3 && (r3 = "#FFF");
|
|
778
|
+
var h2 = r3 instanceof a2 ? r3 : new a2(r3), n2 = (function(a3, t23) {
|
|
779
|
+
var o2 = a3.l, r4 = a3.a, h3 = a3.b, n3 = t23.l, p2 = t23.a, M2 = t23.b, u2 = 180 / Math.PI, e2 = Math.PI / 180, w2 = Math.pow(Math.pow(r4, 2) + Math.pow(h3, 2), 0.5), b2 = Math.pow(Math.pow(p2, 2) + Math.pow(M2, 2), 0.5), i2 = (o2 + n3) / 2, l2 = Math.pow((w2 + b2) / 2, 7), c2 = 0.5 * (1 - Math.pow(l2 / (l2 + Math.pow(25, 7)), 0.5)), f2 = r4 * (1 + c2), y2 = p2 * (1 + c2), v2 = Math.pow(Math.pow(f2, 2) + Math.pow(h3, 2), 0.5), x2 = Math.pow(Math.pow(y2, 2) + Math.pow(M2, 2), 0.5), z = (v2 + x2) / 2, s2 = 0 === f2 && 0 === h3 ? 0 : Math.atan2(h3, f2) * u2, d2 = 0 === y2 && 0 === M2 ? 0 : Math.atan2(M2, y2) * u2;
|
|
780
|
+
s2 < 0 && (s2 += 360), d2 < 0 && (d2 += 360);
|
|
781
|
+
var g2 = d2 - s2, m2 = Math.abs(d2 - s2);
|
|
782
|
+
m2 > 180 && d2 <= s2 ? g2 += 360 : m2 > 180 && d2 > s2 && (g2 -= 360);
|
|
783
|
+
var N2 = s2 + d2;
|
|
784
|
+
m2 <= 180 ? N2 /= 2 : N2 = (s2 + d2 < 360 ? N2 + 360 : N2 - 360) / 2;
|
|
785
|
+
var F = 1 - 0.17 * Math.cos(e2 * (N2 - 30)) + 0.24 * Math.cos(2 * e2 * N2) + 0.32 * Math.cos(e2 * (3 * N2 + 6)) - 0.2 * Math.cos(e2 * (4 * N2 - 63)), L = n3 - o2, I = x2 - v2, P2 = 2 * Math.sin(e2 * g2 / 2) * Math.pow(v2 * x2, 0.5), j2 = 1 + 0.015 * Math.pow(i2 - 50, 2) / Math.pow(20 + Math.pow(i2 - 50, 2), 0.5), k2 = 1 + 0.045 * z, q = 1 + 0.015 * z * F, A2 = 30 * Math.exp(-1 * Math.pow((N2 - 275) / 25, 2)), B2 = -2 * Math.pow(l2 / (l2 + Math.pow(25, 7)), 0.5) * Math.sin(2 * e2 * A2);
|
|
786
|
+
return Math.pow(Math.pow(L / 1 / j2, 2) + Math.pow(I / 1 / k2, 2) + Math.pow(P2 / 1 / q, 2) + B2 * I * P2 / (1 * k2 * 1 * q), 0.5);
|
|
787
|
+
})(this.toLab(), h2.toLab()) / 100;
|
|
788
|
+
return o$2$1(t$2$1(n2, 3));
|
|
789
|
+
}, r2.object.push([i$1$1, "lab"]);
|
|
790
|
+
}
|
|
791
|
+
var r$3 = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, t$1$1 = function(r2) {
|
|
792
|
+
return "string" == typeof r2 ? r2.length > 0 : "number" == typeof r2;
|
|
793
|
+
}, a$3 = function(r2, t23, a2) {
|
|
794
|
+
return void 0 === t23 && (t23 = 0), void 0 === a2 && (a2 = Math.pow(10, t23)), Math.round(a2 * r2) / a2 + 0;
|
|
795
|
+
}, n$3 = function(r2, t23, a2) {
|
|
796
|
+
return void 0 === t23 && (t23 = 0), void 0 === a2 && (a2 = 1), r2 > a2 ? a2 : r2 > t23 ? r2 : t23;
|
|
797
|
+
}, u$3 = function(r2) {
|
|
798
|
+
var t23 = r2 / 255;
|
|
799
|
+
return t23 < 0.04045 ? t23 / 12.92 : Math.pow((t23 + 0.055) / 1.055, 2.4);
|
|
800
|
+
}, h$3 = function(r2) {
|
|
801
|
+
return 255 * (r2 > 31308e-7 ? 1.055 * Math.pow(r2, 1 / 2.4) - 0.055 : 12.92 * r2);
|
|
802
|
+
}, o$1$1 = 96.422, e$5 = 100, c$2 = 82.521, i$3 = function(r2) {
|
|
803
|
+
var t23, a2, u2 = { x: 0.9555766 * (t23 = r2).x + -0.0230393 * t23.y + 0.0631636 * t23.z, y: -0.0282895 * t23.x + 1.0099416 * t23.y + 0.0210077 * t23.z, z: 0.0122982 * t23.x + -0.020483 * t23.y + 1.3299098 * t23.z };
|
|
804
|
+
return a2 = { r: h$3(0.032404542 * u2.x - 0.015371385 * u2.y - 4985314e-9 * u2.z), g: h$3(-969266e-8 * u2.x + 0.018760108 * u2.y + 41556e-8 * u2.z), b: h$3(556434e-9 * u2.x - 2040259e-9 * u2.y + 0.010572252 * u2.z), a: r2.a }, { r: n$3(a2.r, 0, 255), g: n$3(a2.g, 0, 255), b: n$3(a2.b, 0, 255), a: n$3(a2.a) };
|
|
805
|
+
}, l$3 = function(r2) {
|
|
806
|
+
var t23 = u$3(r2.r), a2 = u$3(r2.g), h2 = u$3(r2.b);
|
|
807
|
+
return (function(r3) {
|
|
808
|
+
return { x: n$3(r3.x, 0, o$1$1), y: n$3(r3.y, 0, e$5), z: n$3(r3.z, 0, c$2), a: n$3(r3.a) };
|
|
809
|
+
})((function(r3) {
|
|
810
|
+
return { x: 1.0478112 * r3.x + 0.0228866 * r3.y + -0.050127 * r3.z, y: 0.0295424 * r3.x + 0.9904844 * r3.y + -0.0170491 * r3.z, z: -92345e-7 * r3.x + 0.0150436 * r3.y + 0.7521316 * r3.z, a: r3.a };
|
|
811
|
+
})({ x: 100 * (0.4124564 * t23 + 0.3575761 * a2 + 0.1804375 * h2), y: 100 * (0.2126729 * t23 + 0.7151522 * a2 + 0.072175 * h2), z: 100 * (0.0193339 * t23 + 0.119192 * a2 + 0.9503041 * h2), a: r2.a }));
|
|
812
|
+
}, f$4 = 216 / 24389, b$3 = 24389 / 27, d$2 = function(r2) {
|
|
813
|
+
return { l: n$3(r2.l, 0, 100), c: r2.c, h: (t23 = r2.h, (t23 = isFinite(t23) ? t23 % 360 : 0) > 0 ? t23 : t23 + 360), a: r2.a };
|
|
814
|
+
var t23;
|
|
815
|
+
}, p$3 = function(r2) {
|
|
816
|
+
return { l: a$3(r2.l, 2), c: a$3(r2.c, 2), h: a$3(r2.h, 2), a: a$3(r2.a, 3) };
|
|
817
|
+
}, v$2 = function(r2) {
|
|
818
|
+
var a2 = r2.l, n2 = r2.c, u2 = r2.h, h2 = r2.a, o2 = void 0 === h2 ? 1 : h2;
|
|
819
|
+
if (!t$1$1(a2) || !t$1$1(n2) || !t$1$1(u2)) return null;
|
|
820
|
+
var e2 = d$2({ l: Number(a2), c: Number(n2), h: Number(u2), a: Number(o2) });
|
|
821
|
+
return M$3(e2);
|
|
822
|
+
}, y$2 = function(r2) {
|
|
823
|
+
var t23 = (function(r3) {
|
|
824
|
+
var t33 = l$3(r3), a2 = t33.x / o$1$1, n3 = t33.y / e$5, u3 = t33.z / c$2;
|
|
825
|
+
return a2 = a2 > f$4 ? Math.cbrt(a2) : (b$3 * a2 + 16) / 116, { l: 116 * (n3 = n3 > f$4 ? Math.cbrt(n3) : (b$3 * n3 + 16) / 116) - 16, a: 500 * (a2 - n3), b: 200 * (n3 - (u3 = u3 > f$4 ? Math.cbrt(u3) : (b$3 * u3 + 16) / 116)), alpha: t33.a };
|
|
826
|
+
})(r2), n2 = a$3(t23.a, 3), u2 = a$3(t23.b, 3), h2 = Math.atan2(u2, n2) / Math.PI * 180;
|
|
827
|
+
return { l: t23.l, c: Math.sqrt(n2 * n2 + u2 * u2), h: h2 < 0 ? h2 + 360 : h2, a: t23.alpha };
|
|
828
|
+
}, M$3 = function(r2) {
|
|
829
|
+
return t23 = { l: r2.l, a: r2.c * Math.cos(r2.h * Math.PI / 180), b: r2.c * Math.sin(r2.h * Math.PI / 180), alpha: r2.a }, n2 = t23.a / 500 + (a2 = (t23.l + 16) / 116), u2 = a2 - t23.b / 200, i$3({ x: (Math.pow(n2, 3) > f$4 ? Math.pow(n2, 3) : (116 * n2 - 16) / b$3) * o$1$1, y: (t23.l > 8 ? Math.pow((t23.l + 16) / 116, 3) : t23.l / b$3) * e$5, z: (Math.pow(u2, 3) > f$4 ? Math.pow(u2, 3) : (116 * u2 - 16) / b$3) * c$2, a: t23.alpha });
|
|
830
|
+
var t23, a2, n2, u2;
|
|
831
|
+
}, x$2 = /^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, s$2 = function(t23) {
|
|
832
|
+
var a2 = x$2.exec(t23);
|
|
833
|
+
if (!a2) return null;
|
|
834
|
+
var n2, u2, h2 = d$2({ l: Number(a2[1]), c: Number(a2[2]), h: (n2 = a2[3], u2 = a2[4], void 0 === u2 && (u2 = "deg"), Number(n2) * (r$3[u2] || 1)), a: void 0 === a2[5] ? 1 : Number(a2[5]) / (a2[6] ? 100 : 1) });
|
|
835
|
+
return M$3(h2);
|
|
836
|
+
};
|
|
837
|
+
function lchPlugin$1(r2, t23) {
|
|
838
|
+
r2.prototype.toLch = function() {
|
|
839
|
+
return p$3(y$2(this.rgba));
|
|
840
|
+
}, r2.prototype.toLchString = function() {
|
|
841
|
+
return r3 = p$3(y$2(this.rgba)), t33 = r3.l, a2 = r3.c, n2 = r3.h, (u2 = r3.a) < 1 ? "lch(" + t33 + "% " + a2 + " " + n2 + " / " + u2 + ")" : "lch(" + t33 + "% " + a2 + " " + n2 + ")";
|
|
842
|
+
var r3, t33, a2, n2, u2;
|
|
843
|
+
}, t23.string.push([s$2, "lch"]), t23.object.push([v$2, "lch"]);
|
|
844
|
+
}
|
|
845
|
+
k$1([labPlugin$1, lchPlugin$1]);
|
|
778
846
|
const canonicalColorHexByKey$1 = {
|
|
779
847
|
black: "#000000",
|
|
780
848
|
white: "#ffffff",
|
|
@@ -805,6 +873,8 @@ const extraAnchorDefinitions$1 = {
|
|
|
805
873
|
redLight: { hex: "#f08080", canonical: "red" },
|
|
806
874
|
redCustom: { hex: "#D4042D", canonical: "red" },
|
|
807
875
|
redDark: { hex: "#8b0000", canonical: "red" },
|
|
876
|
+
crimson: { hex: "#dc143c", canonical: "red" },
|
|
877
|
+
wine: { hex: "#993355", canonical: "red" },
|
|
808
878
|
orangeLight: { hex: "#ffa07a", canonical: "orange" },
|
|
809
879
|
orangeCustom: { hex: "#F19143", canonical: "orange" },
|
|
810
880
|
orangePresetAccessible: { hex: "#a6510c", canonical: "orange" },
|
|
@@ -820,14 +890,18 @@ const extraAnchorDefinitions$1 = {
|
|
|
820
890
|
teal: { hex: "#008080", canonical: "green" },
|
|
821
891
|
aqua: { hex: "#00ffff", canonical: "cyan" },
|
|
822
892
|
cyanLight: { hex: "#e0ffff", canonical: "cyan" },
|
|
893
|
+
cyanMid: { hex: "#25b0c0", canonical: "cyan" },
|
|
823
894
|
cyanDark: { hex: "#008b8b", canonical: "cyan" },
|
|
824
895
|
navy: { hex: "#000080", canonical: "blue" },
|
|
896
|
+
blueMid: { hex: "#4477aa", canonical: "blue" },
|
|
897
|
+
blueSky: { hex: "#56b4e9", canonical: "blue" },
|
|
825
898
|
blueCustom: { hex: "#648FFF", canonical: "blue" },
|
|
826
899
|
bluePresetAccessible: { hex: "#1f5dff", canonical: "blue" },
|
|
827
900
|
blueLight: { hex: "#add8e6", canonical: "blue" },
|
|
828
901
|
blueDark: { hex: "#00008b", canonical: "blue" },
|
|
829
902
|
fuchsia: { hex: "#ff00ff", canonical: "purple" },
|
|
830
903
|
purpleCustom: { hex: "#644CD6", canonical: "purple" },
|
|
904
|
+
purpleMuted: { hex: "#9c5686", canonical: "purple" },
|
|
831
905
|
purpleLight: { hex: "#dda0dd", canonical: "purple" },
|
|
832
906
|
purpleDark: { hex: "#8b008b", canonical: "purple" },
|
|
833
907
|
hotpink: { hex: "#ff69b4", canonical: "pink" },
|
|
@@ -839,19 +913,10 @@ const anchorDefinitions$1 = {
|
|
|
839
913
|
...canonicalAnchorDefinitions$1,
|
|
840
914
|
...extraAnchorDefinitions$1
|
|
841
915
|
};
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
])
|
|
847
|
-
);
|
|
848
|
-
Object.fromEntries(
|
|
849
|
-
Object.entries(anchorDefinitions$1).map(([name2, definition]) => [
|
|
850
|
-
name2,
|
|
851
|
-
definition.canonical
|
|
852
|
-
])
|
|
853
|
-
);
|
|
854
|
-
nearestColor$3.from(matchColorHexByName$1);
|
|
916
|
+
Object.values(anchorDefinitions$1).map((definition) => ({
|
|
917
|
+
color: w$1$1(definition.hex),
|
|
918
|
+
canonical: definition.canonical
|
|
919
|
+
}));
|
|
855
920
|
/* @__PURE__ */ new Set([
|
|
856
921
|
...Object.keys(colorName$2),
|
|
857
922
|
"transparent",
|
|
@@ -1013,17 +1078,9 @@ const okabeItoPalette$1 = {
|
|
|
1013
1078
|
markerColor: "#0072b2",
|
|
1014
1079
|
fillColor: "#0072b2",
|
|
1015
1080
|
highContrastColor: "#0072b2",
|
|
1016
|
-
lineColorWord: "blue",
|
|
1017
|
-
markerColorWord: "blue",
|
|
1018
|
-
fillColorWord: "blue",
|
|
1019
|
-
highContrastColorWord: "blue",
|
|
1020
1081
|
lineColorDarkMode: "#0072b2",
|
|
1021
1082
|
markerColorDarkMode: "#0072b2",
|
|
1022
1083
|
fillColorDarkMode: "#0072b2",
|
|
1023
|
-
lineColorWordDarkMode: "blue",
|
|
1024
|
-
markerColorWordDarkMode: "blue",
|
|
1025
|
-
fillColorWordDarkMode: "blue",
|
|
1026
|
-
highContrastColorWordDarkMode: "blue",
|
|
1027
1084
|
lineWidth: 4,
|
|
1028
1085
|
markerStyle: "circle"
|
|
1029
1086
|
},
|
|
@@ -1048,20 +1105,10 @@ const okabeItoPalette$1 = {
|
|
|
1048
1105
|
fillColor: "#009e73",
|
|
1049
1106
|
textColor: "#008561",
|
|
1050
1107
|
highContrastColor: "#008561",
|
|
1051
|
-
lineColorWord: "green",
|
|
1052
|
-
markerColorWord: "green",
|
|
1053
|
-
fillColorWord: "green",
|
|
1054
|
-
textColorWord: "green",
|
|
1055
|
-
highContrastColorWord: "green",
|
|
1056
1108
|
lineColorDarkMode: "#009e73",
|
|
1057
1109
|
markerColorDarkMode: "#009e73",
|
|
1058
1110
|
fillColorDarkMode: "#009e73",
|
|
1059
1111
|
textColorDarkMode: "#009e73",
|
|
1060
|
-
lineColorWordDarkMode: "green",
|
|
1061
|
-
markerColorWordDarkMode: "green",
|
|
1062
|
-
fillColorWordDarkMode: "green",
|
|
1063
|
-
textColorWordDarkMode: "green",
|
|
1064
|
-
highContrastColorWordDarkMode: "green",
|
|
1065
1112
|
lineWidth: 3,
|
|
1066
1113
|
markerStyle: "triangle"
|
|
1067
1114
|
},
|
|
@@ -1075,8 +1122,6 @@ const okabeItoPalette$1 = {
|
|
|
1075
1122
|
lineColorWord: "purple",
|
|
1076
1123
|
markerColorWord: "purple",
|
|
1077
1124
|
fillColorWord: "purple",
|
|
1078
|
-
textColorWord: "purple",
|
|
1079
|
-
highContrastColorWord: "purple",
|
|
1080
1125
|
lineColorDarkMode: "#cc79a7",
|
|
1081
1126
|
markerColorDarkMode: "#cc79a7",
|
|
1082
1127
|
fillColorDarkMode: "#cc79a7",
|
|
@@ -1183,17 +1228,9 @@ const tolBrightPalette$1 = {
|
|
|
1183
1228
|
markerColor: "#4477aa",
|
|
1184
1229
|
fillColor: "#4477aa",
|
|
1185
1230
|
highContrastColor: "#4477aa",
|
|
1186
|
-
lineColorWord: "blue",
|
|
1187
|
-
markerColorWord: "blue",
|
|
1188
|
-
fillColorWord: "blue",
|
|
1189
|
-
highContrastColorWord: "blue",
|
|
1190
1231
|
lineColorDarkMode: "#4477aa",
|
|
1191
1232
|
markerColorDarkMode: "#4477aa",
|
|
1192
1233
|
fillColorDarkMode: "#4477aa",
|
|
1193
|
-
lineColorWordDarkMode: "blue",
|
|
1194
|
-
markerColorWordDarkMode: "blue",
|
|
1195
|
-
fillColorWordDarkMode: "blue",
|
|
1196
|
-
highContrastColorWordDarkMode: "blue",
|
|
1197
1234
|
lineWidth: 4,
|
|
1198
1235
|
markerStyle: "circle"
|
|
1199
1236
|
},
|
|
@@ -1203,20 +1240,10 @@ const tolBrightPalette$1 = {
|
|
|
1203
1240
|
fillColor: "#ee6677",
|
|
1204
1241
|
textColor: "#bf515e",
|
|
1205
1242
|
highContrastColor: "#bf515e",
|
|
1206
|
-
lineColorWord: "red",
|
|
1207
|
-
markerColorWord: "red",
|
|
1208
|
-
fillColorWord: "red",
|
|
1209
|
-
textColorWord: "red",
|
|
1210
|
-
highContrastColorWord: "red",
|
|
1211
1243
|
lineColorDarkMode: "#ee6677",
|
|
1212
1244
|
markerColorDarkMode: "#ee6677",
|
|
1213
1245
|
fillColorDarkMode: "#ee6677",
|
|
1214
1246
|
textColorDarkMode: "#ee6677",
|
|
1215
|
-
lineColorWordDarkMode: "red",
|
|
1216
|
-
markerColorWordDarkMode: "red",
|
|
1217
|
-
fillColorWordDarkMode: "red",
|
|
1218
|
-
textColorWordDarkMode: "red",
|
|
1219
|
-
highContrastColorWordDarkMode: "red",
|
|
1220
1247
|
lineWidth: 2,
|
|
1221
1248
|
markerStyle: "square"
|
|
1222
1249
|
},
|
|
@@ -1257,9 +1284,6 @@ const tolBrightPalette$1 = {
|
|
|
1257
1284
|
fillColor: "#4d9db8",
|
|
1258
1285
|
textColor: "#3c7d94",
|
|
1259
1286
|
highContrastColor: "#3c7d94",
|
|
1260
|
-
lineColorWord: "cyan",
|
|
1261
|
-
markerColorWord: "cyan",
|
|
1262
|
-
fillColorWord: "cyan",
|
|
1263
1287
|
textColorWord: "cyan",
|
|
1264
1288
|
highContrastColorWord: "cyan",
|
|
1265
1289
|
lineColorDarkMode: "#66ccee",
|
|
@@ -1284,11 +1308,6 @@ const tolBrightPalette$1 = {
|
|
|
1284
1308
|
markerColorDarkMode: "#aa3377",
|
|
1285
1309
|
fillColorDarkMode: "#aa3377",
|
|
1286
1310
|
textColorDarkMode: "#b5648c",
|
|
1287
|
-
lineColorWordDarkMode: "purple",
|
|
1288
|
-
markerColorWordDarkMode: "purple",
|
|
1289
|
-
fillColorWordDarkMode: "purple",
|
|
1290
|
-
textColorWordDarkMode: "purple",
|
|
1291
|
-
highContrastColorWordDarkMode: "purple",
|
|
1292
1311
|
lineWidth: 2,
|
|
1293
1312
|
markerStyle: "triangleLeft"
|
|
1294
1313
|
},
|
|
@@ -1337,20 +1356,10 @@ const tolMutedPalette$1 = {
|
|
|
1337
1356
|
fillColor: "#669ab5",
|
|
1338
1357
|
textColor: "#507a90",
|
|
1339
1358
|
highContrastColor: "#507a90",
|
|
1340
|
-
lineColorWord: "blue",
|
|
1341
|
-
markerColorWord: "blue",
|
|
1342
|
-
fillColorWord: "blue",
|
|
1343
|
-
textColorWord: "blue",
|
|
1344
|
-
highContrastColorWord: "blue",
|
|
1345
1359
|
lineColorDarkMode: "#88ccee",
|
|
1346
1360
|
markerColorDarkMode: "#88ccee",
|
|
1347
1361
|
fillColorDarkMode: "#88ccee",
|
|
1348
1362
|
textColorDarkMode: "#88ccee",
|
|
1349
|
-
lineColorWordDarkMode: "blue",
|
|
1350
|
-
markerColorWordDarkMode: "blue",
|
|
1351
|
-
fillColorWordDarkMode: "blue",
|
|
1352
|
-
textColorWordDarkMode: "blue",
|
|
1353
|
-
highContrastColorWordDarkMode: "blue",
|
|
1354
1363
|
lineWidth: 2,
|
|
1355
1364
|
markerStyle: "square"
|
|
1356
1365
|
},
|
|
@@ -1387,8 +1396,6 @@ const tolMutedPalette$1 = {
|
|
|
1387
1396
|
markerColorDarkMode: "#117733",
|
|
1388
1397
|
fillColorDarkMode: "#117733",
|
|
1389
1398
|
textColorDarkMode: "#548a5f",
|
|
1390
|
-
textColorWordDarkMode: "green",
|
|
1391
|
-
highContrastColorWordDarkMode: "green",
|
|
1392
1399
|
lineWidth: 2,
|
|
1393
1400
|
markerStyle: "diamond"
|
|
1394
1401
|
},
|
|
@@ -1496,11 +1503,6 @@ const tolMutedPalette$1 = {
|
|
|
1496
1503
|
markerColorDarkMode: "#aa4499",
|
|
1497
1504
|
fillColorDarkMode: "#aa4499",
|
|
1498
1505
|
textColorDarkMode: "#b262a3",
|
|
1499
|
-
lineColorWordDarkMode: "purple",
|
|
1500
|
-
markerColorWordDarkMode: "purple",
|
|
1501
|
-
fillColorWordDarkMode: "purple",
|
|
1502
|
-
textColorWordDarkMode: "purple",
|
|
1503
|
-
highContrastColorWordDarkMode: "purple",
|
|
1504
1506
|
lineWidth: 2,
|
|
1505
1507
|
lineStyle: "dashed",
|
|
1506
1508
|
markerStyle: "square"
|
|
@@ -1516,17 +1518,9 @@ const tolHighContrastPalette$1 = {
|
|
|
1516
1518
|
markerColor: "#004488",
|
|
1517
1519
|
fillColor: "#004488",
|
|
1518
1520
|
highContrastColor: "#004488",
|
|
1519
|
-
lineColorWord: "blue",
|
|
1520
|
-
markerColorWord: "blue",
|
|
1521
|
-
fillColorWord: "blue",
|
|
1522
|
-
highContrastColorWord: "blue",
|
|
1523
1521
|
lineColorDarkMode: "#496194",
|
|
1524
1522
|
markerColorDarkMode: "#496194",
|
|
1525
1523
|
fillColorDarkMode: "#496194",
|
|
1526
|
-
lineColorWordDarkMode: "blue",
|
|
1527
|
-
markerColorWordDarkMode: "blue",
|
|
1528
|
-
fillColorWordDarkMode: "blue",
|
|
1529
|
-
highContrastColorWordDarkMode: "blue",
|
|
1530
1524
|
lineWidth: 4,
|
|
1531
1525
|
markerStyle: "circle"
|
|
1532
1526
|
},
|
|
@@ -1563,11 +1557,6 @@ const tolHighContrastPalette$1 = {
|
|
|
1563
1557
|
markerColorDarkMode: "#c06976",
|
|
1564
1558
|
fillColorDarkMode: "#c06976",
|
|
1565
1559
|
textColorDarkMode: "#c06976",
|
|
1566
|
-
lineColorWordDarkMode: "red",
|
|
1567
|
-
markerColorWordDarkMode: "red",
|
|
1568
|
-
fillColorWordDarkMode: "red",
|
|
1569
|
-
textColorWordDarkMode: "red",
|
|
1570
|
-
highContrastColorWordDarkMode: "red",
|
|
1571
1560
|
lineWidth: 3,
|
|
1572
1561
|
markerStyle: "triangle"
|
|
1573
1562
|
},
|
|
@@ -1595,17 +1584,9 @@ const ibmPalette$1 = {
|
|
|
1595
1584
|
markerColor: "#648fff",
|
|
1596
1585
|
fillColor: "#648fff",
|
|
1597
1586
|
highContrastColor: "#4f71cb",
|
|
1598
|
-
lineColorWord: "blue",
|
|
1599
|
-
markerColorWord: "blue",
|
|
1600
|
-
fillColorWord: "blue",
|
|
1601
|
-
highContrastColorWord: "blue",
|
|
1602
1587
|
lineColorDarkMode: "#648fff",
|
|
1603
1588
|
markerColorDarkMode: "#648fff",
|
|
1604
1589
|
fillColorDarkMode: "#648fff",
|
|
1605
|
-
lineColorWordDarkMode: "blue",
|
|
1606
|
-
markerColorWordDarkMode: "blue",
|
|
1607
|
-
fillColorWordDarkMode: "blue",
|
|
1608
|
-
highContrastColorWordDarkMode: "blue",
|
|
1609
1590
|
lineWidth: 4,
|
|
1610
1591
|
markerStyle: "circle"
|
|
1611
1592
|
},
|
|
@@ -1692,18 +1673,10 @@ const grayscalePalette$1 = {
|
|
|
1692
1673
|
markerColor: "#000000",
|
|
1693
1674
|
fillColor: "#000000",
|
|
1694
1675
|
highContrastColor: "#000000",
|
|
1695
|
-
lineColorWord: "black",
|
|
1696
|
-
markerColorWord: "black",
|
|
1697
|
-
fillColorWord: "black",
|
|
1698
|
-
highContrastColorWord: "black",
|
|
1699
1676
|
lineColorDarkMode: "#ffffff",
|
|
1700
1677
|
markerColorDarkMode: "#ffffff",
|
|
1701
1678
|
fillColorDarkMode: "#ffffff",
|
|
1702
1679
|
highContrastColorDarkMode: "#ffffff",
|
|
1703
|
-
lineColorWordDarkMode: "white",
|
|
1704
|
-
markerColorWordDarkMode: "white",
|
|
1705
|
-
fillColorWordDarkMode: "white",
|
|
1706
|
-
highContrastColorWordDarkMode: "white",
|
|
1707
1680
|
lineWidth: 4,
|
|
1708
1681
|
markerStyle: "circle"
|
|
1709
1682
|
},
|
|
@@ -1737,21 +1710,11 @@ const grayscalePalette$1 = {
|
|
|
1737
1710
|
fillColor: "#616161",
|
|
1738
1711
|
textColor: "#616161",
|
|
1739
1712
|
highContrastColor: "#616161",
|
|
1740
|
-
lineColorWord: "gray",
|
|
1741
|
-
markerColorWord: "gray",
|
|
1742
|
-
fillColorWord: "gray",
|
|
1743
|
-
textColorWord: "gray",
|
|
1744
|
-
highContrastColorWord: "gray",
|
|
1745
1713
|
lineColorDarkMode: "#929292",
|
|
1746
1714
|
markerColorDarkMode: "#929292",
|
|
1747
1715
|
fillColorDarkMode: "#929292",
|
|
1748
1716
|
textColorDarkMode: "#929292",
|
|
1749
1717
|
highContrastColorDarkMode: "#929292",
|
|
1750
|
-
lineColorWordDarkMode: "gray",
|
|
1751
|
-
markerColorWordDarkMode: "gray",
|
|
1752
|
-
fillColorWordDarkMode: "gray",
|
|
1753
|
-
textColorWordDarkMode: "gray",
|
|
1754
|
-
highContrastColorWordDarkMode: "gray",
|
|
1755
1718
|
lineWidth: 3,
|
|
1756
1719
|
markerStyle: "triangle"
|
|
1757
1720
|
},
|
|
@@ -1790,17 +1753,9 @@ const categoricalPalette$1 = {
|
|
|
1790
1753
|
markerColor: "#1f77b4",
|
|
1791
1754
|
fillColor: "#1f77b4",
|
|
1792
1755
|
highContrastColor: "#1f77b4",
|
|
1793
|
-
lineColorWord: "blue",
|
|
1794
|
-
markerColorWord: "blue",
|
|
1795
|
-
fillColorWord: "blue",
|
|
1796
|
-
highContrastColorWord: "blue",
|
|
1797
1756
|
lineColorDarkMode: "#5ba3dd",
|
|
1798
1757
|
markerColorDarkMode: "#5ba3dd",
|
|
1799
1758
|
fillColorDarkMode: "#5ba3dd",
|
|
1800
|
-
lineColorWordDarkMode: "blue",
|
|
1801
|
-
markerColorWordDarkMode: "blue",
|
|
1802
|
-
fillColorWordDarkMode: "blue",
|
|
1803
|
-
highContrastColorWordDarkMode: "blue",
|
|
1804
1759
|
lineWidth: 4,
|
|
1805
1760
|
markerStyle: "circle"
|
|
1806
1761
|
},
|
|
@@ -1810,20 +1765,10 @@ const categoricalPalette$1 = {
|
|
|
1810
1765
|
fillColor: "#e7730c",
|
|
1811
1766
|
textColor: "#b95b07",
|
|
1812
1767
|
highContrastColor: "#b95b07",
|
|
1813
|
-
lineColorWord: "orange",
|
|
1814
|
-
markerColorWord: "orange",
|
|
1815
|
-
fillColorWord: "orange",
|
|
1816
|
-
textColorWord: "orange",
|
|
1817
|
-
highContrastColorWord: "orange",
|
|
1818
1768
|
lineColorDarkMode: "#ff9d3c",
|
|
1819
1769
|
markerColorDarkMode: "#ff9d3c",
|
|
1820
1770
|
fillColorDarkMode: "#ff9d3c",
|
|
1821
1771
|
textColorDarkMode: "#ff9d3c",
|
|
1822
|
-
lineColorWordDarkMode: "orange",
|
|
1823
|
-
markerColorWordDarkMode: "orange",
|
|
1824
|
-
fillColorWordDarkMode: "orange",
|
|
1825
|
-
textColorWordDarkMode: "orange",
|
|
1826
|
-
highContrastColorWordDarkMode: "orange",
|
|
1827
1772
|
lineWidth: 2,
|
|
1828
1773
|
markerStyle: "square"
|
|
1829
1774
|
},
|
|
@@ -1833,20 +1778,10 @@ const categoricalPalette$1 = {
|
|
|
1833
1778
|
fillColor: "#217a21",
|
|
1834
1779
|
textColor: "#217a21",
|
|
1835
1780
|
highContrastColor: "#217a21",
|
|
1836
|
-
lineColorWord: "green",
|
|
1837
|
-
markerColorWord: "green",
|
|
1838
|
-
fillColorWord: "green",
|
|
1839
|
-
textColorWord: "green",
|
|
1840
|
-
highContrastColorWord: "green",
|
|
1841
1781
|
lineColorDarkMode: "#2ca02c",
|
|
1842
1782
|
markerColorDarkMode: "#2ca02c",
|
|
1843
1783
|
fillColorDarkMode: "#2ca02c",
|
|
1844
1784
|
textColorDarkMode: "#2ca02c",
|
|
1845
|
-
lineColorWordDarkMode: "green",
|
|
1846
|
-
markerColorWordDarkMode: "green",
|
|
1847
|
-
fillColorWordDarkMode: "green",
|
|
1848
|
-
textColorWordDarkMode: "green",
|
|
1849
|
-
highContrastColorWordDarkMode: "green",
|
|
1850
1785
|
lineWidth: 3,
|
|
1851
1786
|
markerStyle: "triangle"
|
|
1852
1787
|
},
|
|
@@ -1856,20 +1791,10 @@ const categoricalPalette$1 = {
|
|
|
1856
1791
|
fillColor: "#d62728",
|
|
1857
1792
|
textColor: "#d62728",
|
|
1858
1793
|
highContrastColor: "#d62728",
|
|
1859
|
-
lineColorWord: "red",
|
|
1860
|
-
markerColorWord: "red",
|
|
1861
|
-
fillColorWord: "red",
|
|
1862
|
-
textColorWord: "red",
|
|
1863
|
-
highContrastColorWord: "red",
|
|
1864
1794
|
lineColorDarkMode: "#e2494a",
|
|
1865
1795
|
markerColorDarkMode: "#e2494a",
|
|
1866
1796
|
fillColorDarkMode: "#e2494a",
|
|
1867
1797
|
textColorDarkMode: "#e2494a",
|
|
1868
|
-
lineColorWordDarkMode: "red",
|
|
1869
|
-
markerColorWordDarkMode: "red",
|
|
1870
|
-
fillColorWordDarkMode: "red",
|
|
1871
|
-
textColorWordDarkMode: "red",
|
|
1872
|
-
highContrastColorWordDarkMode: "red",
|
|
1873
1798
|
lineWidth: 2,
|
|
1874
1799
|
markerStyle: "diamond"
|
|
1875
1800
|
},
|
|
@@ -1879,20 +1804,10 @@ const categoricalPalette$1 = {
|
|
|
1879
1804
|
fillColor: "#9467bd",
|
|
1880
1805
|
textColor: "#8e62b5",
|
|
1881
1806
|
highContrastColor: "#8e62b5",
|
|
1882
|
-
lineColorWord: "purple",
|
|
1883
|
-
markerColorWord: "purple",
|
|
1884
|
-
fillColorWord: "purple",
|
|
1885
|
-
textColorWord: "purple",
|
|
1886
|
-
highContrastColorWord: "purple",
|
|
1887
1807
|
lineColorDarkMode: "#b48fd6",
|
|
1888
1808
|
markerColorDarkMode: "#b48fd6",
|
|
1889
1809
|
fillColorDarkMode: "#b48fd6",
|
|
1890
1810
|
textColorDarkMode: "#b48fd6",
|
|
1891
|
-
lineColorWordDarkMode: "purple",
|
|
1892
|
-
markerColorWordDarkMode: "purple",
|
|
1893
|
-
fillColorWordDarkMode: "purple",
|
|
1894
|
-
textColorWordDarkMode: "purple",
|
|
1895
|
-
highContrastColorWordDarkMode: "purple",
|
|
1896
1811
|
lineWidth: 2,
|
|
1897
1812
|
markerStyle: "triangleDown"
|
|
1898
1813
|
},
|
|
@@ -1902,11 +1817,6 @@ const categoricalPalette$1 = {
|
|
|
1902
1817
|
fillColor: "#7a4a41",
|
|
1903
1818
|
textColor: "#7a4a41",
|
|
1904
1819
|
highContrastColor: "#7a4a41",
|
|
1905
|
-
lineColorWord: "brown",
|
|
1906
|
-
markerColorWord: "brown",
|
|
1907
|
-
fillColorWord: "brown",
|
|
1908
|
-
textColorWord: "brown",
|
|
1909
|
-
highContrastColorWord: "brown",
|
|
1910
1820
|
lineColorDarkMode: "#a9705f",
|
|
1911
1821
|
markerColorDarkMode: "#a9705f",
|
|
1912
1822
|
fillColorDarkMode: "#a9705f",
|
|
@@ -1925,20 +1835,12 @@ const categoricalPalette$1 = {
|
|
|
1925
1835
|
fillColor: "#d670b7",
|
|
1926
1836
|
textColor: "#ab5892",
|
|
1927
1837
|
highContrastColor: "#ab5892",
|
|
1928
|
-
lineColorWord: "pink",
|
|
1929
|
-
markerColorWord: "pink",
|
|
1930
|
-
fillColorWord: "pink",
|
|
1931
1838
|
textColorWord: "pink",
|
|
1932
1839
|
highContrastColorWord: "pink",
|
|
1933
1840
|
lineColorDarkMode: "#e377c2",
|
|
1934
1841
|
markerColorDarkMode: "#e377c2",
|
|
1935
1842
|
fillColorDarkMode: "#e377c2",
|
|
1936
1843
|
textColorDarkMode: "#e377c2",
|
|
1937
|
-
lineColorWordDarkMode: "pink",
|
|
1938
|
-
markerColorWordDarkMode: "pink",
|
|
1939
|
-
fillColorWordDarkMode: "pink",
|
|
1940
|
-
textColorWordDarkMode: "pink",
|
|
1941
|
-
highContrastColorWordDarkMode: "pink",
|
|
1942
1844
|
lineWidth: 3,
|
|
1943
1845
|
lineStyle: "dashed",
|
|
1944
1846
|
markerStyle: "triangleRight"
|
|
@@ -1949,20 +1851,10 @@ const categoricalPalette$1 = {
|
|
|
1949
1851
|
fillColor: "#7f7f7f",
|
|
1950
1852
|
textColor: "#757575",
|
|
1951
1853
|
highContrastColor: "#757575",
|
|
1952
|
-
lineColorWord: "gray",
|
|
1953
|
-
markerColorWord: "gray",
|
|
1954
|
-
fillColorWord: "gray",
|
|
1955
|
-
textColorWord: "gray",
|
|
1956
|
-
highContrastColorWord: "gray",
|
|
1957
1854
|
lineColorDarkMode: "#a8a8a8",
|
|
1958
1855
|
markerColorDarkMode: "#a8a8a8",
|
|
1959
1856
|
fillColorDarkMode: "#a8a8a8",
|
|
1960
1857
|
textColorDarkMode: "#a8a8a8",
|
|
1961
|
-
lineColorWordDarkMode: "gray",
|
|
1962
|
-
markerColorWordDarkMode: "gray",
|
|
1963
|
-
fillColorWordDarkMode: "gray",
|
|
1964
|
-
textColorWordDarkMode: "gray",
|
|
1965
|
-
highContrastColorWordDarkMode: "gray",
|
|
1966
1858
|
lineWidth: 1,
|
|
1967
1859
|
lineStyle: "dotted",
|
|
1968
1860
|
markerStyle: "circle"
|
|
@@ -1997,20 +1889,12 @@ const categoricalPalette$1 = {
|
|
|
1997
1889
|
fillColor: "#12a2b1",
|
|
1998
1890
|
textColor: "#0c818e",
|
|
1999
1891
|
highContrastColor: "#0c818e",
|
|
2000
|
-
lineColorWord: "cyan",
|
|
2001
|
-
markerColorWord: "cyan",
|
|
2002
|
-
fillColorWord: "cyan",
|
|
2003
1892
|
textColorWord: "cyan",
|
|
2004
1893
|
highContrastColorWord: "cyan",
|
|
2005
1894
|
lineColorDarkMode: "#17becf",
|
|
2006
1895
|
markerColorDarkMode: "#17becf",
|
|
2007
1896
|
fillColorDarkMode: "#17becf",
|
|
2008
1897
|
textColorDarkMode: "#17becf",
|
|
2009
|
-
lineColorWordDarkMode: "cyan",
|
|
2010
|
-
markerColorWordDarkMode: "cyan",
|
|
2011
|
-
fillColorWordDarkMode: "cyan",
|
|
2012
|
-
textColorWordDarkMode: "cyan",
|
|
2013
|
-
highContrastColorWordDarkMode: "cyan",
|
|
2014
1898
|
lineWidth: 2,
|
|
2015
1899
|
lineStyle: "dotted",
|
|
2016
1900
|
markerStyle: "diamond"
|
|
@@ -2026,17 +1910,12 @@ const grumpyNarwhalPalette$1 = {
|
|
|
2026
1910
|
markerColor: "#b34700",
|
|
2027
1911
|
fillColor: "#b34700",
|
|
2028
1912
|
highContrastColor: "#b34700",
|
|
2029
|
-
lineColorWord: "orange",
|
|
2030
|
-
markerColorWord: "orange",
|
|
2031
|
-
fillColorWord: "orange",
|
|
2032
|
-
highContrastColorWord: "orange",
|
|
2033
1913
|
lineColorDarkMode: "#ff5f00",
|
|
2034
1914
|
markerColorDarkMode: "#ff5f00",
|
|
2035
1915
|
fillColorDarkMode: "#ff5f00",
|
|
2036
1916
|
lineColorWordDarkMode: "orange",
|
|
2037
1917
|
markerColorWordDarkMode: "orange",
|
|
2038
1918
|
fillColorWordDarkMode: "orange",
|
|
2039
|
-
highContrastColorWordDarkMode: "orange",
|
|
2040
1919
|
lineWidth: 4,
|
|
2041
1920
|
markerStyle: "circle"
|
|
2042
1921
|
},
|
|
@@ -2046,20 +1925,10 @@ const grumpyNarwhalPalette$1 = {
|
|
|
2046
1925
|
fillColor: "#1b7a1b",
|
|
2047
1926
|
textColor: "#1b7a1b",
|
|
2048
1927
|
highContrastColor: "#1b7a1b",
|
|
2049
|
-
lineColorWord: "green",
|
|
2050
|
-
markerColorWord: "green",
|
|
2051
|
-
fillColorWord: "green",
|
|
2052
|
-
textColorWord: "green",
|
|
2053
|
-
highContrastColorWord: "green",
|
|
2054
1928
|
lineColorDarkMode: "#39ff14",
|
|
2055
1929
|
markerColorDarkMode: "#39ff14",
|
|
2056
1930
|
fillColorDarkMode: "#39ff14",
|
|
2057
1931
|
textColorDarkMode: "#39ff14",
|
|
2058
|
-
lineColorWordDarkMode: "green",
|
|
2059
|
-
markerColorWordDarkMode: "green",
|
|
2060
|
-
fillColorWordDarkMode: "green",
|
|
2061
|
-
textColorWordDarkMode: "green",
|
|
2062
|
-
highContrastColorWordDarkMode: "green",
|
|
2063
1932
|
lineWidth: 2,
|
|
2064
1933
|
markerStyle: "square"
|
|
2065
1934
|
},
|
|
@@ -2078,11 +1947,6 @@ const grumpyNarwhalPalette$1 = {
|
|
|
2078
1947
|
markerColorDarkMode: "#ff1493",
|
|
2079
1948
|
fillColorDarkMode: "#ff1493",
|
|
2080
1949
|
textColorDarkMode: "#ff1493",
|
|
2081
|
-
lineColorWordDarkMode: "pink",
|
|
2082
|
-
markerColorWordDarkMode: "pink",
|
|
2083
|
-
fillColorWordDarkMode: "pink",
|
|
2084
|
-
textColorWordDarkMode: "pink",
|
|
2085
|
-
highContrastColorWordDarkMode: "pink",
|
|
2086
1950
|
lineWidth: 3,
|
|
2087
1951
|
markerStyle: "triangle"
|
|
2088
1952
|
},
|
|
@@ -2101,11 +1965,6 @@ const grumpyNarwhalPalette$1 = {
|
|
|
2101
1965
|
markerColorDarkMode: "#00e5ff",
|
|
2102
1966
|
fillColorDarkMode: "#00e5ff",
|
|
2103
1967
|
textColorDarkMode: "#00e5ff",
|
|
2104
|
-
lineColorWordDarkMode: "cyan",
|
|
2105
|
-
markerColorWordDarkMode: "cyan",
|
|
2106
|
-
fillColorWordDarkMode: "cyan",
|
|
2107
|
-
textColorWordDarkMode: "cyan",
|
|
2108
|
-
highContrastColorWordDarkMode: "cyan",
|
|
2109
1968
|
lineWidth: 2,
|
|
2110
1969
|
markerStyle: "diamond"
|
|
2111
1970
|
},
|
|
@@ -2124,11 +1983,6 @@ const grumpyNarwhalPalette$1 = {
|
|
|
2124
1983
|
markerColorDarkMode: "#ffea00",
|
|
2125
1984
|
fillColorDarkMode: "#ffea00",
|
|
2126
1985
|
textColorDarkMode: "#ffea00",
|
|
2127
|
-
lineColorWordDarkMode: "yellow",
|
|
2128
|
-
markerColorWordDarkMode: "yellow",
|
|
2129
|
-
fillColorWordDarkMode: "yellow",
|
|
2130
|
-
textColorWordDarkMode: "yellow",
|
|
2131
|
-
highContrastColorWordDarkMode: "yellow",
|
|
2132
1986
|
lineWidth: 2,
|
|
2133
1987
|
markerStyle: "triangleDown"
|
|
2134
1988
|
},
|
|
@@ -2142,21 +1996,11 @@ const grumpyNarwhalPalette$1 = {
|
|
|
2142
1996
|
fillColor: "#b026ff",
|
|
2143
1997
|
textColor: "#b026ff",
|
|
2144
1998
|
highContrastColor: "#b026ff",
|
|
2145
|
-
lineColorWord: "purple",
|
|
2146
|
-
markerColorWord: "purple",
|
|
2147
|
-
fillColorWord: "purple",
|
|
2148
|
-
textColorWord: "purple",
|
|
2149
|
-
highContrastColorWord: "purple",
|
|
2150
1999
|
lineColorDarkMode: "#b026ff",
|
|
2151
2000
|
markerColorDarkMode: "#b026ff",
|
|
2152
2001
|
fillColorDarkMode: "#b026ff",
|
|
2153
2002
|
textColorDarkMode: "#b445ff",
|
|
2154
2003
|
highContrastColorDarkMode: "#b445ff",
|
|
2155
|
-
lineColorWordDarkMode: "purple",
|
|
2156
|
-
markerColorWordDarkMode: "purple",
|
|
2157
|
-
fillColorWordDarkMode: "purple",
|
|
2158
|
-
textColorWordDarkMode: "purple",
|
|
2159
|
-
highContrastColorWordDarkMode: "purple",
|
|
2160
2004
|
lineWidth: 2,
|
|
2161
2005
|
markerStyle: "triangleLeft"
|
|
2162
2006
|
}
|
|
@@ -2198,154 +2042,20 @@ defaultPalette$1.name.toLowerCase();
|
|
|
2198
2042
|
Object.freeze(
|
|
2199
2043
|
Object.keys(STYLE_PALETTES$1)
|
|
2200
2044
|
);
|
|
2201
|
-
var
|
|
2202
|
-
return "string" == typeof r2 ? r2.length > 0 : "number" == typeof r2;
|
|
2203
|
-
}, n$1 = function(r2, t23, n2) {
|
|
2204
|
-
return void 0 === t23 && (t23 = 0), void 0 === n2 && (n2 = Math.pow(10, t23)), Math.round(n2 * r2) / n2 + 0;
|
|
2205
|
-
}, e$3 = function(r2, t23, n2) {
|
|
2206
|
-
return void 0 === t23 && (t23 = 0), void 0 === n2 && (n2 = 1), r2 > n2 ? n2 : r2 > t23 ? r2 : t23;
|
|
2207
|
-
}, u$1 = function(r2) {
|
|
2208
|
-
return (r2 = isFinite(r2) ? r2 % 360 : 0) > 0 ? r2 : r2 + 360;
|
|
2209
|
-
}, a$1 = function(r2) {
|
|
2210
|
-
return { r: e$3(r2.r, 0, 255), g: e$3(r2.g, 0, 255), b: e$3(r2.b, 0, 255), a: e$3(r2.a) };
|
|
2211
|
-
}, o$1$1 = function(r2) {
|
|
2212
|
-
return { r: n$1(r2.r), g: n$1(r2.g), b: n$1(r2.b), a: n$1(r2.a, 3) };
|
|
2213
|
-
}, i$1 = /^#([0-9a-f]{3,8})$/i, s$1 = function(r2) {
|
|
2214
|
-
var t23 = r2.toString(16);
|
|
2215
|
-
return t23.length < 2 ? "0" + t23 : t23;
|
|
2216
|
-
}, h$1 = function(r2) {
|
|
2217
|
-
var t23 = r2.r, n2 = r2.g, e2 = r2.b, u2 = r2.a, a2 = Math.max(t23, n2, e2), o2 = a2 - Math.min(t23, n2, e2), i2 = o2 ? a2 === t23 ? (n2 - e2) / o2 : a2 === n2 ? 2 + (e2 - t23) / o2 : 4 + (t23 - n2) / o2 : 0;
|
|
2218
|
-
return { h: 60 * (i2 < 0 ? i2 + 6 : i2), s: a2 ? o2 / a2 * 100 : 0, v: a2 / 255 * 100, a: u2 };
|
|
2219
|
-
}, b$1 = function(r2) {
|
|
2220
|
-
var t23 = r2.h, n2 = r2.s, e2 = r2.v, u2 = r2.a;
|
|
2221
|
-
t23 = t23 / 360 * 6, n2 /= 100, e2 /= 100;
|
|
2222
|
-
var a2 = Math.floor(t23), o2 = e2 * (1 - n2), i2 = e2 * (1 - (t23 - a2) * n2), s2 = e2 * (1 - (1 - t23 + a2) * n2), h2 = a2 % 6;
|
|
2223
|
-
return { r: 255 * [e2, i2, o2, o2, s2, e2][h2], g: 255 * [s2, e2, e2, i2, o2, o2][h2], b: 255 * [o2, o2, s2, e2, e2, i2][h2], a: u2 };
|
|
2224
|
-
}, g$1 = function(r2) {
|
|
2225
|
-
return { h: u$1(r2.h), s: e$3(r2.s, 0, 100), l: e$3(r2.l, 0, 100), a: e$3(r2.a) };
|
|
2226
|
-
}, d$1 = function(r2) {
|
|
2227
|
-
return { h: n$1(r2.h), s: n$1(r2.s), l: n$1(r2.l), a: n$1(r2.a, 3) };
|
|
2228
|
-
}, f$3 = function(r2) {
|
|
2229
|
-
return b$1((n2 = (t23 = r2).s, { h: t23.h, s: (n2 *= ((e2 = t23.l) < 50 ? e2 : 100 - e2) / 100) > 0 ? 2 * n2 / (e2 + n2) * 100 : 0, v: e2 + n2, a: t23.a }));
|
|
2230
|
-
var t23, n2, e2;
|
|
2231
|
-
}, c$1 = function(r2) {
|
|
2232
|
-
return { h: (t23 = h$1(r2)).h, s: (u2 = (200 - (n2 = t23.s)) * (e2 = t23.v) / 100) > 0 && u2 < 200 ? n2 * e2 / 100 / (u2 <= 100 ? u2 : 200 - u2) * 100 : 0, l: u2 / 2, a: t23.a };
|
|
2233
|
-
var t23, n2, e2, u2;
|
|
2234
|
-
}, l$1 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, p$1 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, v$1 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, m$1 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, y$1 = { string: [[function(r2) {
|
|
2235
|
-
var t23 = i$1.exec(r2);
|
|
2236
|
-
return t23 ? (r2 = t23[1]).length <= 4 ? { r: parseInt(r2[0] + r2[0], 16), g: parseInt(r2[1] + r2[1], 16), b: parseInt(r2[2] + r2[2], 16), a: 4 === r2.length ? n$1(parseInt(r2[3] + r2[3], 16) / 255, 2) : 1 } : 6 === r2.length || 8 === r2.length ? { r: parseInt(r2.substr(0, 2), 16), g: parseInt(r2.substr(2, 2), 16), b: parseInt(r2.substr(4, 2), 16), a: 8 === r2.length ? n$1(parseInt(r2.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
|
|
2237
|
-
}, "hex"], [function(r2) {
|
|
2238
|
-
var t23 = v$1.exec(r2) || m$1.exec(r2);
|
|
2239
|
-
return t23 ? t23[2] !== t23[4] || t23[4] !== t23[6] ? null : a$1({ r: Number(t23[1]) / (t23[2] ? 100 / 255 : 1), g: Number(t23[3]) / (t23[4] ? 100 / 255 : 1), b: Number(t23[5]) / (t23[6] ? 100 / 255 : 1), a: void 0 === t23[7] ? 1 : Number(t23[7]) / (t23[8] ? 100 : 1) }) : null;
|
|
2240
|
-
}, "rgb"], [function(t23) {
|
|
2241
|
-
var n2 = l$1.exec(t23) || p$1.exec(t23);
|
|
2242
|
-
if (!n2) return null;
|
|
2243
|
-
var e2, u2, a2 = g$1({ h: (e2 = n2[1], u2 = n2[2], void 0 === u2 && (u2 = "deg"), Number(e2) * (r$1[u2] || 1)), s: Number(n2[3]), l: Number(n2[4]), a: void 0 === n2[5] ? 1 : Number(n2[5]) / (n2[6] ? 100 : 1) });
|
|
2244
|
-
return f$3(a2);
|
|
2245
|
-
}, "hsl"]], object: [[function(r2) {
|
|
2246
|
-
var n2 = r2.r, e2 = r2.g, u2 = r2.b, o2 = r2.a, i2 = void 0 === o2 ? 1 : o2;
|
|
2247
|
-
return t$1$1(n2) && t$1$1(e2) && t$1$1(u2) ? a$1({ r: Number(n2), g: Number(e2), b: Number(u2), a: Number(i2) }) : null;
|
|
2248
|
-
}, "rgb"], [function(r2) {
|
|
2249
|
-
var n2 = r2.h, e2 = r2.s, u2 = r2.l, a2 = r2.a, o2 = void 0 === a2 ? 1 : a2;
|
|
2250
|
-
if (!t$1$1(n2) || !t$1$1(e2) || !t$1$1(u2)) return null;
|
|
2251
|
-
var i2 = g$1({ h: Number(n2), s: Number(e2), l: Number(u2), a: Number(o2) });
|
|
2252
|
-
return f$3(i2);
|
|
2253
|
-
}, "hsl"], [function(r2) {
|
|
2254
|
-
var n2 = r2.h, a2 = r2.s, o2 = r2.v, i2 = r2.a, s2 = void 0 === i2 ? 1 : i2;
|
|
2255
|
-
if (!t$1$1(n2) || !t$1$1(a2) || !t$1$1(o2)) return null;
|
|
2256
|
-
var h2 = (function(r3) {
|
|
2257
|
-
return { h: u$1(r3.h), s: e$3(r3.s, 0, 100), v: e$3(r3.v, 0, 100), a: e$3(r3.a) };
|
|
2258
|
-
})({ h: Number(n2), s: Number(a2), v: Number(o2), a: Number(s2) });
|
|
2259
|
-
return b$1(h2);
|
|
2260
|
-
}, "hsv"]] }, N$1 = function(r2, t23) {
|
|
2261
|
-
for (var n2 = 0; n2 < t23.length; n2++) {
|
|
2262
|
-
var e2 = t23[n2][0](r2);
|
|
2263
|
-
if (e2) return [e2, t23[n2][1]];
|
|
2264
|
-
}
|
|
2265
|
-
return [null, void 0];
|
|
2266
|
-
}, x$1 = function(r2) {
|
|
2267
|
-
return "string" == typeof r2 ? N$1(r2.trim(), y$1.string) : "object" == typeof r2 && null !== r2 ? N$1(r2, y$1.object) : [null, void 0];
|
|
2268
|
-
}, M$1 = function(r2, t23) {
|
|
2269
|
-
var n2 = c$1(r2);
|
|
2270
|
-
return { h: n2.h, s: e$3(n2.s + 100 * t23, 0, 100), l: n2.l, a: n2.a };
|
|
2271
|
-
}, H$1 = function(r2) {
|
|
2272
|
-
return (299 * r2.r + 587 * r2.g + 114 * r2.b) / 1e3 / 255;
|
|
2273
|
-
}, $$1 = function(r2, t23) {
|
|
2274
|
-
var n2 = c$1(r2);
|
|
2275
|
-
return { h: n2.h, s: n2.s, l: e$3(n2.l + 100 * t23, 0, 100), a: n2.a };
|
|
2276
|
-
}, j$1 = (function() {
|
|
2277
|
-
function r2(r3) {
|
|
2278
|
-
this.parsed = x$1(r3)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
|
|
2279
|
-
}
|
|
2280
|
-
return r2.prototype.isValid = function() {
|
|
2281
|
-
return null !== this.parsed;
|
|
2282
|
-
}, r2.prototype.brightness = function() {
|
|
2283
|
-
return n$1(H$1(this.rgba), 2);
|
|
2284
|
-
}, r2.prototype.isDark = function() {
|
|
2285
|
-
return H$1(this.rgba) < 0.5;
|
|
2286
|
-
}, r2.prototype.isLight = function() {
|
|
2287
|
-
return H$1(this.rgba) >= 0.5;
|
|
2288
|
-
}, r2.prototype.toHex = function() {
|
|
2289
|
-
return r3 = o$1$1(this.rgba), t23 = r3.r, e2 = r3.g, u2 = r3.b, i2 = (a2 = r3.a) < 1 ? s$1(n$1(255 * a2)) : "", "#" + s$1(t23) + s$1(e2) + s$1(u2) + i2;
|
|
2290
|
-
var r3, t23, e2, u2, a2, i2;
|
|
2291
|
-
}, r2.prototype.toRgb = function() {
|
|
2292
|
-
return o$1$1(this.rgba);
|
|
2293
|
-
}, r2.prototype.toRgbString = function() {
|
|
2294
|
-
return r3 = o$1$1(this.rgba), t23 = r3.r, n2 = r3.g, e2 = r3.b, (u2 = r3.a) < 1 ? "rgba(" + t23 + ", " + n2 + ", " + e2 + ", " + u2 + ")" : "rgb(" + t23 + ", " + n2 + ", " + e2 + ")";
|
|
2295
|
-
var r3, t23, n2, e2, u2;
|
|
2296
|
-
}, r2.prototype.toHsl = function() {
|
|
2297
|
-
return d$1(c$1(this.rgba));
|
|
2298
|
-
}, r2.prototype.toHslString = function() {
|
|
2299
|
-
return r3 = d$1(c$1(this.rgba)), t23 = r3.h, n2 = r3.s, e2 = r3.l, (u2 = r3.a) < 1 ? "hsla(" + t23 + ", " + n2 + "%, " + e2 + "%, " + u2 + ")" : "hsl(" + t23 + ", " + n2 + "%, " + e2 + "%)";
|
|
2300
|
-
var r3, t23, n2, e2, u2;
|
|
2301
|
-
}, r2.prototype.toHsv = function() {
|
|
2302
|
-
return r3 = h$1(this.rgba), { h: n$1(r3.h), s: n$1(r3.s), v: n$1(r3.v), a: n$1(r3.a, 3) };
|
|
2303
|
-
var r3;
|
|
2304
|
-
}, r2.prototype.invert = function() {
|
|
2305
|
-
return w$1({ r: 255 - (r3 = this.rgba).r, g: 255 - r3.g, b: 255 - r3.b, a: r3.a });
|
|
2306
|
-
var r3;
|
|
2307
|
-
}, r2.prototype.saturate = function(r3) {
|
|
2308
|
-
return void 0 === r3 && (r3 = 0.1), w$1(M$1(this.rgba, r3));
|
|
2309
|
-
}, r2.prototype.desaturate = function(r3) {
|
|
2310
|
-
return void 0 === r3 && (r3 = 0.1), w$1(M$1(this.rgba, -r3));
|
|
2311
|
-
}, r2.prototype.grayscale = function() {
|
|
2312
|
-
return w$1(M$1(this.rgba, -1));
|
|
2313
|
-
}, r2.prototype.lighten = function(r3) {
|
|
2314
|
-
return void 0 === r3 && (r3 = 0.1), w$1($$1(this.rgba, r3));
|
|
2315
|
-
}, r2.prototype.darken = function(r3) {
|
|
2316
|
-
return void 0 === r3 && (r3 = 0.1), w$1($$1(this.rgba, -r3));
|
|
2317
|
-
}, r2.prototype.rotate = function(r3) {
|
|
2318
|
-
return void 0 === r3 && (r3 = 15), this.hue(this.hue() + r3);
|
|
2319
|
-
}, r2.prototype.alpha = function(r3) {
|
|
2320
|
-
return "number" == typeof r3 ? w$1({ r: (t23 = this.rgba).r, g: t23.g, b: t23.b, a: r3 }) : n$1(this.rgba.a, 3);
|
|
2321
|
-
var t23;
|
|
2322
|
-
}, r2.prototype.hue = function(r3) {
|
|
2323
|
-
var t23 = c$1(this.rgba);
|
|
2324
|
-
return "number" == typeof r3 ? w$1({ h: r3, s: t23.s, l: t23.l, a: t23.a }) : n$1(t23.h);
|
|
2325
|
-
}, r2.prototype.isEqual = function(r3) {
|
|
2326
|
-
return this.toHex() === w$1(r3).toHex();
|
|
2327
|
-
}, r2;
|
|
2328
|
-
})(), w$1 = function(r2) {
|
|
2329
|
-
return r2 instanceof j$1 ? r2 : new j$1(r2);
|
|
2330
|
-
}, S$1 = [], k$1 = function(r2) {
|
|
2331
|
-
r2.forEach(function(r3) {
|
|
2332
|
-
S$1.indexOf(r3) < 0 && (r3(j$1, y$1), S$1.push(r3));
|
|
2333
|
-
});
|
|
2334
|
-
};
|
|
2335
|
-
var o$2 = function(o2) {
|
|
2045
|
+
var o$4 = function(o2) {
|
|
2336
2046
|
var t23 = o2 / 255;
|
|
2337
2047
|
return t23 < 0.04045 ? t23 / 12.92 : Math.pow((t23 + 0.055) / 1.055, 2.4);
|
|
2338
|
-
}, t$
|
|
2339
|
-
return 0.2126 * o$
|
|
2048
|
+
}, t$4 = function(t23) {
|
|
2049
|
+
return 0.2126 * o$4(t23.r) + 0.7152 * o$4(t23.g) + 0.0722 * o$4(t23.b);
|
|
2340
2050
|
};
|
|
2341
2051
|
function a11yPlugin$1(o2) {
|
|
2342
2052
|
o2.prototype.luminance = function() {
|
|
2343
|
-
return o3 = t$
|
|
2053
|
+
return o3 = t$4(this.rgba), void 0 === (r2 = 2) && (r2 = 0), void 0 === n2 && (n2 = Math.pow(10, r2)), Math.round(n2 * o3) / n2 + 0;
|
|
2344
2054
|
var o3, r2, n2;
|
|
2345
2055
|
}, o2.prototype.contrast = function(r2) {
|
|
2346
2056
|
void 0 === r2 && (r2 = "#FFF");
|
|
2347
2057
|
var n2, a2, i2, e2, v2, u2, d2, c2 = r2 instanceof o2 ? r2 : new o2(r2);
|
|
2348
|
-
return e2 = this.rgba, v2 = c2.toRgb(), u2 = t$
|
|
2058
|
+
return e2 = this.rgba, v2 = c2.toRgb(), u2 = t$4(e2), d2 = t$4(v2), n2 = u2 > d2 ? (u2 + 0.05) / (d2 + 0.05) : (d2 + 0.05) / (u2 + 0.05), void 0 === (a2 = 2) && (a2 = 0), void 0 === i2 && (i2 = Math.pow(10, a2)), Math.floor(i2 * n2) / i2 + 0;
|
|
2349
2059
|
}, o2.prototype.isReadable = function(o3, t23) {
|
|
2350
2060
|
return void 0 === o3 && (o3 = "#FFF"), void 0 === t23 && (t23 = {}), this.contrast(o3) >= (e2 = void 0 === (i2 = (r2 = t23).size) ? "normal" : i2, "AAA" === (a2 = void 0 === (n2 = r2.level) ? "AA" : n2) && "normal" === e2 ? 7 : "AA" === a2 && "large" === e2 ? 3 : 4.5);
|
|
2351
2061
|
var r2, n2, a2, i2, e2;
|
|
@@ -6238,7 +5948,7 @@ function combinationsNumber$1(t4, n2) {
|
|
|
6238
5948
|
return o2 <= s2 && (i2 /= product$2(o2, s2)), i2;
|
|
6239
5949
|
}
|
|
6240
5950
|
combinationsNumber$1.signature = `number, number`;
|
|
6241
|
-
var pi$1 = Math.PI, tau$1 = 2 * Math.PI, e$
|
|
5951
|
+
var pi$1 = Math.PI, tau$1 = 2 * Math.PI, e$4 = Math.E, phi$1 = 1.618033988749895, n1$2$1 = `number`, n2$1$1 = `number, number`;
|
|
6242
5952
|
function notNumber$1(t4) {
|
|
6243
5953
|
return !t4;
|
|
6244
5954
|
}
|
|
@@ -16397,7 +16107,7 @@ var name$39$1 = `simplifyUtil`, dependencies$39$1 = [`FunctionNode`, `OperatorNo
|
|
|
16397
16107
|
return n2.number === `BigNumber` ? createBigNumberTau$1(r2) : tau$1;
|
|
16398
16108
|
}), createE$1 = recreateFactory$1(`e`, [`config`, `?BigNumber`], (t4) => {
|
|
16399
16109
|
var { config: n2, BigNumber: r2 } = t4;
|
|
16400
|
-
return n2.number === `BigNumber` ? createBigNumberE$1(r2) : e$
|
|
16110
|
+
return n2.number === `BigNumber` ? createBigNumberE$1(r2) : e$4;
|
|
16401
16111
|
}), createPhi$1 = recreateFactory$1(`phi`, [`config`, `?BigNumber`], (t4) => {
|
|
16402
16112
|
var { config: n2, BigNumber: r2 } = t4;
|
|
16403
16113
|
return n2.number === `BigNumber` ? createBigNumberPhi$1(r2) : phi$1;
|
|
@@ -21574,11 +21284,11 @@ var astToFiniteField$1$1 = class astToFiniteField$12 {
|
|
|
21574
21284
|
convert(t4, n2, r2 = PRIME$1) {
|
|
21575
21285
|
return finite_field_evaluate_ast$1(t4, n2, r2);
|
|
21576
21286
|
}
|
|
21577
|
-
}, evaluation_exports$1 = __exportAll$1({ evaluate: () => evaluate$2, evaluate_to_constant: () => evaluate_to_constant$1, f: () => f$
|
|
21287
|
+
}, evaluation_exports$1 = __exportAll$1({ evaluate: () => evaluate$2, evaluate_to_constant: () => evaluate_to_constant$1, f: () => f$3, finite_field_evaluate: () => finite_field_evaluate$1 }), astToMathjs$1$1 = new astToMathjs$2$1({ mathjs: mathjs_default$1 }), astToFiniteField$2 = new astToFiniteField$1$1(), f$3 = function(t4) {
|
|
21578
21288
|
var n2 = get_tree$1(t4), r2 = factorial_to_gamma_function$1(astToMathjs$1$1.convert(log_subscript_to_two_arg_log$1(normalize_function_names$1(normalize_applied_functions$1(n2)))));
|
|
21579
21289
|
return r2.evaluate.bind(r2);
|
|
21580
21290
|
}, evaluate$2 = function(t4, n2) {
|
|
21581
|
-
return f$
|
|
21291
|
+
return f$3(t4)(n2);
|
|
21582
21292
|
}, finite_field_evaluate$1 = function(t4, n2, r2) {
|
|
21583
21293
|
return astToFiniteField$2.convert(t4.tree, n2, r2);
|
|
21584
21294
|
}, evaluate_to_constant$1 = function(t4, { remove_units_first: n2 = true, scale_based_on_unit: r2 = true, nan_for_non_numeric: i2 = true } = {}) {
|
|
@@ -21590,7 +21300,7 @@ var astToFiniteField$1$1 = class astToFiniteField$12 {
|
|
|
21590
21300
|
o2.push([[`^`, `x`, [`/`, `m`, `n`]], [`^`, [`apply`, `nthRoot`, [`tuple`, `x`, `n`]], `m`], { variables: { x: (t5) => t5 < 0, n: (t5) => Number.isInteger(t5) && Number.isInteger((t5 - 1) / 2), m: (t5) => Number.isInteger(t5) } }]), o2.push([[`^`, `x`, [`-`, [`/`, `m`, `n`]]], [`^`, [`apply`, `nthRoot`, [`tuple`, `x`, `n`]], [`-`, `m`]], { variables: { x: (t5) => t5 < 0, n: (t5) => Number.isInteger(t5) && Number.isInteger((t5 - 1) / 2), m: (t5) => Number.isInteger(t5) } }]), a2 = applyAllTransformations$1(a2, o2, 40);
|
|
21591
21301
|
var s2 = i2 ? NaN : null;
|
|
21592
21302
|
try {
|
|
21593
|
-
var c2 = f$
|
|
21303
|
+
var c2 = f$3(a2);
|
|
21594
21304
|
s2 = c2();
|
|
21595
21305
|
} catch {
|
|
21596
21306
|
}
|
|
@@ -21605,7 +21315,7 @@ var astToFiniteField$1$1 = class astToFiniteField$12 {
|
|
|
21605
21315
|
else t5 = s2;
|
|
21606
21316
|
s2 = i2 ? NaN : null;
|
|
21607
21317
|
try {
|
|
21608
|
-
var c2 = f$
|
|
21318
|
+
var c2 = f$3(t5);
|
|
21609
21319
|
s2 = c2();
|
|
21610
21320
|
} catch {
|
|
21611
21321
|
}
|
|
@@ -39665,178 +39375,246 @@ function requireColorName() {
|
|
|
39665
39375
|
}
|
|
39666
39376
|
var colorNameExports = requireColorName();
|
|
39667
39377
|
const colorName = /* @__PURE__ */ getDefaultExportFromCjs(colorNameExports);
|
|
39668
|
-
var
|
|
39669
|
-
|
|
39670
|
-
|
|
39671
|
-
|
|
39672
|
-
|
|
39673
|
-
|
|
39674
|
-
|
|
39675
|
-
|
|
39676
|
-
|
|
39677
|
-
|
|
39678
|
-
|
|
39679
|
-
|
|
39680
|
-
|
|
39681
|
-
|
|
39682
|
-
|
|
39683
|
-
|
|
39684
|
-
|
|
39685
|
-
|
|
39686
|
-
|
|
39687
|
-
|
|
39688
|
-
|
|
39689
|
-
|
|
39690
|
-
|
|
39691
|
-
|
|
39692
|
-
|
|
39693
|
-
|
|
39694
|
-
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
|
|
39698
|
-
|
|
39699
|
-
|
|
39700
|
-
|
|
39701
|
-
|
|
39702
|
-
|
|
39703
|
-
|
|
39704
|
-
|
|
39705
|
-
|
|
39706
|
-
|
|
39707
|
-
|
|
39708
|
-
|
|
39709
|
-
|
|
39710
|
-
|
|
39711
|
-
|
|
39712
|
-
|
|
39713
|
-
|
|
39714
|
-
|
|
39715
|
-
|
|
39716
|
-
|
|
39717
|
-
|
|
39718
|
-
|
|
39719
|
-
|
|
39720
|
-
|
|
39721
|
-
|
|
39722
|
-
|
|
39723
|
-
|
|
39724
|
-
|
|
39725
|
-
|
|
39726
|
-
|
|
39727
|
-
|
|
39728
|
-
|
|
39729
|
-
|
|
39730
|
-
|
|
39731
|
-
|
|
39732
|
-
|
|
39733
|
-
|
|
39734
|
-
|
|
39735
|
-
|
|
39736
|
-
|
|
39737
|
-
|
|
39738
|
-
|
|
39739
|
-
|
|
39740
|
-
|
|
39741
|
-
|
|
39742
|
-
|
|
39743
|
-
|
|
39744
|
-
|
|
39745
|
-
|
|
39746
|
-
|
|
39747
|
-
|
|
39748
|
-
|
|
39749
|
-
|
|
39750
|
-
|
|
39751
|
-
|
|
39752
|
-
|
|
39753
|
-
|
|
39754
|
-
|
|
39755
|
-
|
|
39756
|
-
|
|
39757
|
-
|
|
39758
|
-
|
|
39759
|
-
|
|
39760
|
-
|
|
39761
|
-
|
|
39762
|
-
|
|
39763
|
-
|
|
39764
|
-
|
|
39765
|
-
|
|
39766
|
-
|
|
39767
|
-
|
|
39768
|
-
|
|
39769
|
-
|
|
39770
|
-
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
|
|
39775
|
-
|
|
39776
|
-
|
|
39777
|
-
|
|
39778
|
-
|
|
39779
|
-
|
|
39780
|
-
|
|
39781
|
-
|
|
39782
|
-
|
|
39783
|
-
|
|
39784
|
-
|
|
39785
|
-
|
|
39786
|
-
|
|
39787
|
-
|
|
39788
|
-
|
|
39789
|
-
|
|
39790
|
-
|
|
39791
|
-
|
|
39792
|
-
|
|
39793
|
-
|
|
39794
|
-
|
|
39795
|
-
|
|
39796
|
-
|
|
39797
|
-
|
|
39798
|
-
|
|
39799
|
-
|
|
39800
|
-
|
|
39801
|
-
|
|
39802
|
-
|
|
39803
|
-
|
|
39804
|
-
|
|
39805
|
-
|
|
39806
|
-
|
|
39807
|
-
|
|
39808
|
-
|
|
39809
|
-
|
|
39810
|
-
|
|
39811
|
-
|
|
39812
|
-
|
|
39813
|
-
|
|
39814
|
-
|
|
39815
|
-
|
|
39816
|
-
|
|
39817
|
-
|
|
39818
|
-
|
|
39819
|
-
|
|
39820
|
-
|
|
39821
|
-
|
|
39822
|
-
|
|
39823
|
-
|
|
39824
|
-
|
|
39825
|
-
|
|
39826
|
-
|
|
39827
|
-
|
|
39828
|
-
|
|
39829
|
-
|
|
39830
|
-
|
|
39831
|
-
|
|
39832
|
-
|
|
39833
|
-
|
|
39834
|
-
|
|
39835
|
-
|
|
39836
|
-
|
|
39378
|
+
var r$2 = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, t$3 = function(r2) {
|
|
39379
|
+
return "string" == typeof r2 ? r2.length > 0 : "number" == typeof r2;
|
|
39380
|
+
}, n$2 = function(r2, t222, n2) {
|
|
39381
|
+
return void 0 === t222 && (t222 = 0), void 0 === n2 && (n2 = Math.pow(10, t222)), Math.round(n2 * r2) / n2 + 0;
|
|
39382
|
+
}, e$2 = function(r2, t222, n2) {
|
|
39383
|
+
return void 0 === t222 && (t222 = 0), void 0 === n2 && (n2 = 1), r2 > n2 ? n2 : r2 > t222 ? r2 : t222;
|
|
39384
|
+
}, u$2 = function(r2) {
|
|
39385
|
+
return (r2 = isFinite(r2) ? r2 % 360 : 0) > 0 ? r2 : r2 + 360;
|
|
39386
|
+
}, a$2 = function(r2) {
|
|
39387
|
+
return { r: e$2(r2.r, 0, 255), g: e$2(r2.g, 0, 255), b: e$2(r2.b, 0, 255), a: e$2(r2.a) };
|
|
39388
|
+
}, o$3 = function(r2) {
|
|
39389
|
+
return { r: n$2(r2.r), g: n$2(r2.g), b: n$2(r2.b), a: n$2(r2.a, 3) };
|
|
39390
|
+
}, i$2 = /^#([0-9a-f]{3,8})$/i, s$1 = function(r2) {
|
|
39391
|
+
var t222 = r2.toString(16);
|
|
39392
|
+
return t222.length < 2 ? "0" + t222 : t222;
|
|
39393
|
+
}, h$2 = function(r2) {
|
|
39394
|
+
var t222 = r2.r, n2 = r2.g, e2 = r2.b, u2 = r2.a, a2 = Math.max(t222, n2, e2), o2 = a2 - Math.min(t222, n2, e2), i2 = o2 ? a2 === t222 ? (n2 - e2) / o2 : a2 === n2 ? 2 + (e2 - t222) / o2 : 4 + (t222 - n2) / o2 : 0;
|
|
39395
|
+
return { h: 60 * (i2 < 0 ? i2 + 6 : i2), s: a2 ? o2 / a2 * 100 : 0, v: a2 / 255 * 100, a: u2 };
|
|
39396
|
+
}, b$2 = function(r2) {
|
|
39397
|
+
var t222 = r2.h, n2 = r2.s, e2 = r2.v, u2 = r2.a;
|
|
39398
|
+
t222 = t222 / 360 * 6, n2 /= 100, e2 /= 100;
|
|
39399
|
+
var a2 = Math.floor(t222), o2 = e2 * (1 - n2), i2 = e2 * (1 - (t222 - a2) * n2), s2 = e2 * (1 - (1 - t222 + a2) * n2), h2 = a2 % 6;
|
|
39400
|
+
return { r: 255 * [e2, i2, o2, o2, s2, e2][h2], g: 255 * [s2, e2, e2, i2, o2, o2][h2], b: 255 * [o2, o2, s2, e2, e2, i2][h2], a: u2 };
|
|
39401
|
+
}, g = function(r2) {
|
|
39402
|
+
return { h: u$2(r2.h), s: e$2(r2.s, 0, 100), l: e$2(r2.l, 0, 100), a: e$2(r2.a) };
|
|
39403
|
+
}, d$1 = function(r2) {
|
|
39404
|
+
return { h: n$2(r2.h), s: n$2(r2.s), l: n$2(r2.l), a: n$2(r2.a, 3) };
|
|
39405
|
+
}, f$1 = function(r2) {
|
|
39406
|
+
return b$2((n2 = (t222 = r2).s, { h: t222.h, s: (n2 *= ((e2 = t222.l) < 50 ? e2 : 100 - e2) / 100) > 0 ? 2 * n2 / (e2 + n2) * 100 : 0, v: e2 + n2, a: t222.a }));
|
|
39407
|
+
var t222, n2, e2;
|
|
39408
|
+
}, c$1 = function(r2) {
|
|
39409
|
+
return { h: (t222 = h$2(r2)).h, s: (u2 = (200 - (n2 = t222.s)) * (e2 = t222.v) / 100) > 0 && u2 < 200 ? n2 * e2 / 100 / (u2 <= 100 ? u2 : 200 - u2) * 100 : 0, l: u2 / 2, a: t222.a };
|
|
39410
|
+
var t222, n2, e2, u2;
|
|
39411
|
+
}, l$2 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, p$2 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, v$1 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, m = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, y$1 = { string: [[function(r2) {
|
|
39412
|
+
var t222 = i$2.exec(r2);
|
|
39413
|
+
return t222 ? (r2 = t222[1]).length <= 4 ? { r: parseInt(r2[0] + r2[0], 16), g: parseInt(r2[1] + r2[1], 16), b: parseInt(r2[2] + r2[2], 16), a: 4 === r2.length ? n$2(parseInt(r2[3] + r2[3], 16) / 255, 2) : 1 } : 6 === r2.length || 8 === r2.length ? { r: parseInt(r2.substr(0, 2), 16), g: parseInt(r2.substr(2, 2), 16), b: parseInt(r2.substr(4, 2), 16), a: 8 === r2.length ? n$2(parseInt(r2.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
|
|
39414
|
+
}, "hex"], [function(r2) {
|
|
39415
|
+
var t222 = v$1.exec(r2) || m.exec(r2);
|
|
39416
|
+
return t222 ? t222[2] !== t222[4] || t222[4] !== t222[6] ? null : a$2({ r: Number(t222[1]) / (t222[2] ? 100 / 255 : 1), g: Number(t222[3]) / (t222[4] ? 100 / 255 : 1), b: Number(t222[5]) / (t222[6] ? 100 / 255 : 1), a: void 0 === t222[7] ? 1 : Number(t222[7]) / (t222[8] ? 100 : 1) }) : null;
|
|
39417
|
+
}, "rgb"], [function(t222) {
|
|
39418
|
+
var n2 = l$2.exec(t222) || p$2.exec(t222);
|
|
39419
|
+
if (!n2) return null;
|
|
39420
|
+
var e2, u2, a2 = g({ h: (e2 = n2[1], u2 = n2[2], void 0 === u2 && (u2 = "deg"), Number(e2) * (r$2[u2] || 1)), s: Number(n2[3]), l: Number(n2[4]), a: void 0 === n2[5] ? 1 : Number(n2[5]) / (n2[6] ? 100 : 1) });
|
|
39421
|
+
return f$1(a2);
|
|
39422
|
+
}, "hsl"]], object: [[function(r2) {
|
|
39423
|
+
var n2 = r2.r, e2 = r2.g, u2 = r2.b, o2 = r2.a, i2 = void 0 === o2 ? 1 : o2;
|
|
39424
|
+
return t$3(n2) && t$3(e2) && t$3(u2) ? a$2({ r: Number(n2), g: Number(e2), b: Number(u2), a: Number(i2) }) : null;
|
|
39425
|
+
}, "rgb"], [function(r2) {
|
|
39426
|
+
var n2 = r2.h, e2 = r2.s, u2 = r2.l, a2 = r2.a, o2 = void 0 === a2 ? 1 : a2;
|
|
39427
|
+
if (!t$3(n2) || !t$3(e2) || !t$3(u2)) return null;
|
|
39428
|
+
var i2 = g({ h: Number(n2), s: Number(e2), l: Number(u2), a: Number(o2) });
|
|
39429
|
+
return f$1(i2);
|
|
39430
|
+
}, "hsl"], [function(r2) {
|
|
39431
|
+
var n2 = r2.h, a2 = r2.s, o2 = r2.v, i2 = r2.a, s2 = void 0 === i2 ? 1 : i2;
|
|
39432
|
+
if (!t$3(n2) || !t$3(a2) || !t$3(o2)) return null;
|
|
39433
|
+
var h2 = (function(r3) {
|
|
39434
|
+
return { h: u$2(r3.h), s: e$2(r3.s, 0, 100), v: e$2(r3.v, 0, 100), a: e$2(r3.a) };
|
|
39435
|
+
})({ h: Number(n2), s: Number(a2), v: Number(o2), a: Number(s2) });
|
|
39436
|
+
return b$2(h2);
|
|
39437
|
+
}, "hsv"]] }, N = function(r2, t222) {
|
|
39438
|
+
for (var n2 = 0; n2 < t222.length; n2++) {
|
|
39439
|
+
var e2 = t222[n2][0](r2);
|
|
39440
|
+
if (e2) return [e2, t222[n2][1]];
|
|
39441
|
+
}
|
|
39442
|
+
return [null, void 0];
|
|
39443
|
+
}, x$1 = function(r2) {
|
|
39444
|
+
return "string" == typeof r2 ? N(r2.trim(), y$1.string) : "object" == typeof r2 && null !== r2 ? N(r2, y$1.object) : [null, void 0];
|
|
39445
|
+
}, M$2 = function(r2, t222) {
|
|
39446
|
+
var n2 = c$1(r2);
|
|
39447
|
+
return { h: n2.h, s: e$2(n2.s + 100 * t222, 0, 100), l: n2.l, a: n2.a };
|
|
39448
|
+
}, H = function(r2) {
|
|
39449
|
+
return (299 * r2.r + 587 * r2.g + 114 * r2.b) / 1e3 / 255;
|
|
39450
|
+
}, $ = function(r2, t222) {
|
|
39451
|
+
var n2 = c$1(r2);
|
|
39452
|
+
return { h: n2.h, s: n2.s, l: e$2(n2.l + 100 * t222, 0, 100), a: n2.a };
|
|
39453
|
+
}, j = (function() {
|
|
39454
|
+
function r2(r3) {
|
|
39455
|
+
this.parsed = x$1(r3)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
|
|
39456
|
+
}
|
|
39457
|
+
return r2.prototype.isValid = function() {
|
|
39458
|
+
return null !== this.parsed;
|
|
39459
|
+
}, r2.prototype.brightness = function() {
|
|
39460
|
+
return n$2(H(this.rgba), 2);
|
|
39461
|
+
}, r2.prototype.isDark = function() {
|
|
39462
|
+
return H(this.rgba) < 0.5;
|
|
39463
|
+
}, r2.prototype.isLight = function() {
|
|
39464
|
+
return H(this.rgba) >= 0.5;
|
|
39465
|
+
}, r2.prototype.toHex = function() {
|
|
39466
|
+
return r3 = o$3(this.rgba), t222 = r3.r, e2 = r3.g, u2 = r3.b, i2 = (a2 = r3.a) < 1 ? s$1(n$2(255 * a2)) : "", "#" + s$1(t222) + s$1(e2) + s$1(u2) + i2;
|
|
39467
|
+
var r3, t222, e2, u2, a2, i2;
|
|
39468
|
+
}, r2.prototype.toRgb = function() {
|
|
39469
|
+
return o$3(this.rgba);
|
|
39470
|
+
}, r2.prototype.toRgbString = function() {
|
|
39471
|
+
return r3 = o$3(this.rgba), t222 = r3.r, n2 = r3.g, e2 = r3.b, (u2 = r3.a) < 1 ? "rgba(" + t222 + ", " + n2 + ", " + e2 + ", " + u2 + ")" : "rgb(" + t222 + ", " + n2 + ", " + e2 + ")";
|
|
39472
|
+
var r3, t222, n2, e2, u2;
|
|
39473
|
+
}, r2.prototype.toHsl = function() {
|
|
39474
|
+
return d$1(c$1(this.rgba));
|
|
39475
|
+
}, r2.prototype.toHslString = function() {
|
|
39476
|
+
return r3 = d$1(c$1(this.rgba)), t222 = r3.h, n2 = r3.s, e2 = r3.l, (u2 = r3.a) < 1 ? "hsla(" + t222 + ", " + n2 + "%, " + e2 + "%, " + u2 + ")" : "hsl(" + t222 + ", " + n2 + "%, " + e2 + "%)";
|
|
39477
|
+
var r3, t222, n2, e2, u2;
|
|
39478
|
+
}, r2.prototype.toHsv = function() {
|
|
39479
|
+
return r3 = h$2(this.rgba), { h: n$2(r3.h), s: n$2(r3.s), v: n$2(r3.v), a: n$2(r3.a, 3) };
|
|
39480
|
+
var r3;
|
|
39481
|
+
}, r2.prototype.invert = function() {
|
|
39482
|
+
return w$1({ r: 255 - (r3 = this.rgba).r, g: 255 - r3.g, b: 255 - r3.b, a: r3.a });
|
|
39483
|
+
var r3;
|
|
39484
|
+
}, r2.prototype.saturate = function(r3) {
|
|
39485
|
+
return void 0 === r3 && (r3 = 0.1), w$1(M$2(this.rgba, r3));
|
|
39486
|
+
}, r2.prototype.desaturate = function(r3) {
|
|
39487
|
+
return void 0 === r3 && (r3 = 0.1), w$1(M$2(this.rgba, -r3));
|
|
39488
|
+
}, r2.prototype.grayscale = function() {
|
|
39489
|
+
return w$1(M$2(this.rgba, -1));
|
|
39490
|
+
}, r2.prototype.lighten = function(r3) {
|
|
39491
|
+
return void 0 === r3 && (r3 = 0.1), w$1($(this.rgba, r3));
|
|
39492
|
+
}, r2.prototype.darken = function(r3) {
|
|
39493
|
+
return void 0 === r3 && (r3 = 0.1), w$1($(this.rgba, -r3));
|
|
39494
|
+
}, r2.prototype.rotate = function(r3) {
|
|
39495
|
+
return void 0 === r3 && (r3 = 15), this.hue(this.hue() + r3);
|
|
39496
|
+
}, r2.prototype.alpha = function(r3) {
|
|
39497
|
+
return "number" == typeof r3 ? w$1({ r: (t222 = this.rgba).r, g: t222.g, b: t222.b, a: r3 }) : n$2(this.rgba.a, 3);
|
|
39498
|
+
var t222;
|
|
39499
|
+
}, r2.prototype.hue = function(r3) {
|
|
39500
|
+
var t222 = c$1(this.rgba);
|
|
39501
|
+
return "number" == typeof r3 ? w$1({ h: r3, s: t222.s, l: t222.l, a: t222.a }) : n$2(t222.h);
|
|
39502
|
+
}, r2.prototype.isEqual = function(r3) {
|
|
39503
|
+
return this.toHex() === w$1(r3).toHex();
|
|
39504
|
+
}, r2;
|
|
39505
|
+
})(), w$1 = function(r2) {
|
|
39506
|
+
return r2 instanceof j ? r2 : new j(r2);
|
|
39507
|
+
}, S = [], k = function(r2) {
|
|
39508
|
+
r2.forEach(function(r3) {
|
|
39509
|
+
S.indexOf(r3) < 0 && (r3(j, y$1), S.push(r3));
|
|
39510
|
+
});
|
|
39511
|
+
};
|
|
39512
|
+
var a$1 = function(a2) {
|
|
39513
|
+
return "string" == typeof a2 ? a2.length > 0 : "number" == typeof a2;
|
|
39514
|
+
}, t$2 = function(a2, t222, o2) {
|
|
39515
|
+
return void 0 === t222 && (t222 = 0), void 0 === o2 && (o2 = Math.pow(10, t222)), Math.round(o2 * a2) / o2 + 0;
|
|
39516
|
+
}, o$2 = function(a2, t222, o2) {
|
|
39517
|
+
return void 0 === t222 && (t222 = 0), void 0 === o2 && (o2 = 1), a2 > o2 ? o2 : a2 > t222 ? a2 : t222;
|
|
39518
|
+
}, r$1 = function(a2) {
|
|
39519
|
+
var t222 = a2 / 255;
|
|
39520
|
+
return t222 < 0.04045 ? t222 / 12.92 : Math.pow((t222 + 0.055) / 1.055, 2.4);
|
|
39521
|
+
}, h$1 = function(a2) {
|
|
39522
|
+
return 255 * (a2 > 31308e-7 ? 1.055 * Math.pow(a2, 1 / 2.4) - 0.055 : 12.92 * a2);
|
|
39523
|
+
}, n$1 = 96.422, p$1 = 100, M$1 = 82.521, u$1 = function(a2) {
|
|
39524
|
+
var t222, r2, n2 = { x: 0.9555766 * (t222 = a2).x + -0.0230393 * t222.y + 0.0631636 * t222.z, y: -0.0282895 * t222.x + 1.0099416 * t222.y + 0.0210077 * t222.z, z: 0.0122982 * t222.x + -0.020483 * t222.y + 1.3299098 * t222.z };
|
|
39525
|
+
return r2 = { r: h$1(0.032404542 * n2.x - 0.015371385 * n2.y - 4985314e-9 * n2.z), g: h$1(-969266e-8 * n2.x + 0.018760108 * n2.y + 41556e-8 * n2.z), b: h$1(556434e-9 * n2.x - 2040259e-9 * n2.y + 0.010572252 * n2.z), a: a2.a }, { r: o$2(r2.r, 0, 255), g: o$2(r2.g, 0, 255), b: o$2(r2.b, 0, 255), a: o$2(r2.a) };
|
|
39526
|
+
}, e$1 = function(a2) {
|
|
39527
|
+
var t222 = r$1(a2.r), h2 = r$1(a2.g), u2 = r$1(a2.b);
|
|
39528
|
+
return (function(a3) {
|
|
39529
|
+
return { x: o$2(a3.x, 0, n$1), y: o$2(a3.y, 0, p$1), z: o$2(a3.z, 0, M$1), a: o$2(a3.a) };
|
|
39530
|
+
})((function(a3) {
|
|
39531
|
+
return { x: 1.0478112 * a3.x + 0.0228866 * a3.y + -0.050127 * a3.z, y: 0.0295424 * a3.x + 0.9904844 * a3.y + -0.0170491 * a3.z, z: -92345e-7 * a3.x + 0.0150436 * a3.y + 0.7521316 * a3.z, a: a3.a };
|
|
39532
|
+
})({ x: 100 * (0.4124564 * t222 + 0.3575761 * h2 + 0.1804375 * u2), y: 100 * (0.2126729 * t222 + 0.7151522 * h2 + 0.072175 * u2), z: 100 * (0.0193339 * t222 + 0.119192 * h2 + 0.9503041 * u2), a: a2.a }));
|
|
39533
|
+
}, w = 216 / 24389, b$1 = 24389 / 27, i$1 = function(t222) {
|
|
39534
|
+
var r2 = t222.l, h2 = t222.a, n2 = t222.b, p2 = t222.alpha, M2 = void 0 === p2 ? 1 : p2;
|
|
39535
|
+
if (!a$1(r2) || !a$1(h2) || !a$1(n2)) return null;
|
|
39536
|
+
var u2 = (function(a2) {
|
|
39537
|
+
return { l: o$2(a2.l, 0, 400), a: a2.a, b: a2.b, alpha: o$2(a2.alpha) };
|
|
39538
|
+
})({ l: Number(r2), a: Number(h2), b: Number(n2), alpha: Number(M2) });
|
|
39539
|
+
return l$1(u2);
|
|
39540
|
+
}, l$1 = function(a2) {
|
|
39541
|
+
var t222 = (a2.l + 16) / 116, o2 = a2.a / 500 + t222, r2 = t222 - a2.b / 200;
|
|
39542
|
+
return u$1({ x: (Math.pow(o2, 3) > w ? Math.pow(o2, 3) : (116 * o2 - 16) / b$1) * n$1, y: (a2.l > 8 ? Math.pow((a2.l + 16) / 116, 3) : a2.l / b$1) * p$1, z: (Math.pow(r2, 3) > w ? Math.pow(r2, 3) : (116 * r2 - 16) / b$1) * M$1, a: a2.alpha });
|
|
39543
|
+
};
|
|
39544
|
+
function labPlugin(a2, r2) {
|
|
39545
|
+
a2.prototype.toLab = function() {
|
|
39546
|
+
return o2 = e$1(this.rgba), h2 = o2.y / p$1, u2 = o2.z / M$1, r3 = (r3 = o2.x / n$1) > w ? Math.cbrt(r3) : (b$1 * r3 + 16) / 116, a3 = { l: 116 * (h2 = h2 > w ? Math.cbrt(h2) : (b$1 * h2 + 16) / 116) - 16, a: 500 * (r3 - h2), b: 200 * (h2 - (u2 = u2 > w ? Math.cbrt(u2) : (b$1 * u2 + 16) / 116)), alpha: o2.a }, { l: t$2(a3.l, 2), a: t$2(a3.a, 2), b: t$2(a3.b, 2), alpha: t$2(a3.alpha, 3) };
|
|
39547
|
+
var a3, o2, r3, h2, u2;
|
|
39548
|
+
}, a2.prototype.delta = function(r3) {
|
|
39549
|
+
void 0 === r3 && (r3 = "#FFF");
|
|
39550
|
+
var h2 = r3 instanceof a2 ? r3 : new a2(r3), n2 = (function(a3, t222) {
|
|
39551
|
+
var o2 = a3.l, r4 = a3.a, h3 = a3.b, n3 = t222.l, p2 = t222.a, M2 = t222.b, u2 = 180 / Math.PI, e2 = Math.PI / 180, w2 = Math.pow(Math.pow(r4, 2) + Math.pow(h3, 2), 0.5), b2 = Math.pow(Math.pow(p2, 2) + Math.pow(M2, 2), 0.5), i2 = (o2 + n3) / 2, l2 = Math.pow((w2 + b2) / 2, 7), c2 = 0.5 * (1 - Math.pow(l2 / (l2 + Math.pow(25, 7)), 0.5)), f2 = r4 * (1 + c2), y2 = p2 * (1 + c2), v2 = Math.pow(Math.pow(f2, 2) + Math.pow(h3, 2), 0.5), x2 = Math.pow(Math.pow(y2, 2) + Math.pow(M2, 2), 0.5), z = (v2 + x2) / 2, s2 = 0 === f2 && 0 === h3 ? 0 : Math.atan2(h3, f2) * u2, d2 = 0 === y2 && 0 === M2 ? 0 : Math.atan2(M2, y2) * u2;
|
|
39552
|
+
s2 < 0 && (s2 += 360), d2 < 0 && (d2 += 360);
|
|
39553
|
+
var g2 = d2 - s2, m2 = Math.abs(d2 - s2);
|
|
39554
|
+
m2 > 180 && d2 <= s2 ? g2 += 360 : m2 > 180 && d2 > s2 && (g2 -= 360);
|
|
39555
|
+
var N2 = s2 + d2;
|
|
39556
|
+
m2 <= 180 ? N2 /= 2 : N2 = (s2 + d2 < 360 ? N2 + 360 : N2 - 360) / 2;
|
|
39557
|
+
var F = 1 - 0.17 * Math.cos(e2 * (N2 - 30)) + 0.24 * Math.cos(2 * e2 * N2) + 0.32 * Math.cos(e2 * (3 * N2 + 6)) - 0.2 * Math.cos(e2 * (4 * N2 - 63)), L = n3 - o2, I = x2 - v2, P2 = 2 * Math.sin(e2 * g2 / 2) * Math.pow(v2 * x2, 0.5), j2 = 1 + 0.015 * Math.pow(i2 - 50, 2) / Math.pow(20 + Math.pow(i2 - 50, 2), 0.5), k2 = 1 + 0.045 * z, q = 1 + 0.015 * z * F, A2 = 30 * Math.exp(-1 * Math.pow((N2 - 275) / 25, 2)), B2 = -2 * Math.pow(l2 / (l2 + Math.pow(25, 7)), 0.5) * Math.sin(2 * e2 * A2);
|
|
39558
|
+
return Math.pow(Math.pow(L / 1 / j2, 2) + Math.pow(I / 1 / k2, 2) + Math.pow(P2 / 1 / q, 2) + B2 * I * P2 / (1 * k2 * 1 * q), 0.5);
|
|
39559
|
+
})(this.toLab(), h2.toLab()) / 100;
|
|
39560
|
+
return o$2(t$2(n2, 3));
|
|
39561
|
+
}, r2.object.push([i$1, "lab"]);
|
|
39837
39562
|
}
|
|
39838
|
-
var
|
|
39839
|
-
|
|
39563
|
+
var r = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, t$1 = function(r2) {
|
|
39564
|
+
return "string" == typeof r2 ? r2.length > 0 : "number" == typeof r2;
|
|
39565
|
+
}, a = function(r2, t222, a2) {
|
|
39566
|
+
return void 0 === t222 && (t222 = 0), void 0 === a2 && (a2 = Math.pow(10, t222)), Math.round(a2 * r2) / a2 + 0;
|
|
39567
|
+
}, n = function(r2, t222, a2) {
|
|
39568
|
+
return void 0 === t222 && (t222 = 0), void 0 === a2 && (a2 = 1), r2 > a2 ? a2 : r2 > t222 ? r2 : t222;
|
|
39569
|
+
}, u = function(r2) {
|
|
39570
|
+
var t222 = r2 / 255;
|
|
39571
|
+
return t222 < 0.04045 ? t222 / 12.92 : Math.pow((t222 + 0.055) / 1.055, 2.4);
|
|
39572
|
+
}, h = function(r2) {
|
|
39573
|
+
return 255 * (r2 > 31308e-7 ? 1.055 * Math.pow(r2, 1 / 2.4) - 0.055 : 12.92 * r2);
|
|
39574
|
+
}, o$1 = 96.422, e$3 = 100, c = 82.521, i = function(r2) {
|
|
39575
|
+
var t222, a2, u2 = { x: 0.9555766 * (t222 = r2).x + -0.0230393 * t222.y + 0.0631636 * t222.z, y: -0.0282895 * t222.x + 1.0099416 * t222.y + 0.0210077 * t222.z, z: 0.0122982 * t222.x + -0.020483 * t222.y + 1.3299098 * t222.z };
|
|
39576
|
+
return a2 = { r: h(0.032404542 * u2.x - 0.015371385 * u2.y - 4985314e-9 * u2.z), g: h(-969266e-8 * u2.x + 0.018760108 * u2.y + 41556e-8 * u2.z), b: h(556434e-9 * u2.x - 2040259e-9 * u2.y + 0.010572252 * u2.z), a: r2.a }, { r: n(a2.r, 0, 255), g: n(a2.g, 0, 255), b: n(a2.b, 0, 255), a: n(a2.a) };
|
|
39577
|
+
}, l = function(r2) {
|
|
39578
|
+
var t222 = u(r2.r), a2 = u(r2.g), h2 = u(r2.b);
|
|
39579
|
+
return (function(r3) {
|
|
39580
|
+
return { x: n(r3.x, 0, o$1), y: n(r3.y, 0, e$3), z: n(r3.z, 0, c), a: n(r3.a) };
|
|
39581
|
+
})((function(r3) {
|
|
39582
|
+
return { x: 1.0478112 * r3.x + 0.0228866 * r3.y + -0.050127 * r3.z, y: 0.0295424 * r3.x + 0.9904844 * r3.y + -0.0170491 * r3.z, z: -92345e-7 * r3.x + 0.0150436 * r3.y + 0.7521316 * r3.z, a: r3.a };
|
|
39583
|
+
})({ x: 100 * (0.4124564 * t222 + 0.3575761 * a2 + 0.1804375 * h2), y: 100 * (0.2126729 * t222 + 0.7151522 * a2 + 0.072175 * h2), z: 100 * (0.0193339 * t222 + 0.119192 * a2 + 0.9503041 * h2), a: r2.a }));
|
|
39584
|
+
}, f$2 = 216 / 24389, b = 24389 / 27, d = function(r2) {
|
|
39585
|
+
return { l: n(r2.l, 0, 100), c: r2.c, h: (t222 = r2.h, (t222 = isFinite(t222) ? t222 % 360 : 0) > 0 ? t222 : t222 + 360), a: r2.a };
|
|
39586
|
+
var t222;
|
|
39587
|
+
}, p = function(r2) {
|
|
39588
|
+
return { l: a(r2.l, 2), c: a(r2.c, 2), h: a(r2.h, 2), a: a(r2.a, 3) };
|
|
39589
|
+
}, v = function(r2) {
|
|
39590
|
+
var a2 = r2.l, n2 = r2.c, u2 = r2.h, h2 = r2.a, o2 = void 0 === h2 ? 1 : h2;
|
|
39591
|
+
if (!t$1(a2) || !t$1(n2) || !t$1(u2)) return null;
|
|
39592
|
+
var e2 = d({ l: Number(a2), c: Number(n2), h: Number(u2), a: Number(o2) });
|
|
39593
|
+
return M(e2);
|
|
39594
|
+
}, y = function(r2) {
|
|
39595
|
+
var t222 = (function(r3) {
|
|
39596
|
+
var t322 = l(r3), a2 = t322.x / o$1, n3 = t322.y / e$3, u3 = t322.z / c;
|
|
39597
|
+
return a2 = a2 > f$2 ? Math.cbrt(a2) : (b * a2 + 16) / 116, { l: 116 * (n3 = n3 > f$2 ? Math.cbrt(n3) : (b * n3 + 16) / 116) - 16, a: 500 * (a2 - n3), b: 200 * (n3 - (u3 = u3 > f$2 ? Math.cbrt(u3) : (b * u3 + 16) / 116)), alpha: t322.a };
|
|
39598
|
+
})(r2), n2 = a(t222.a, 3), u2 = a(t222.b, 3), h2 = Math.atan2(u2, n2) / Math.PI * 180;
|
|
39599
|
+
return { l: t222.l, c: Math.sqrt(n2 * n2 + u2 * u2), h: h2 < 0 ? h2 + 360 : h2, a: t222.alpha };
|
|
39600
|
+
}, M = function(r2) {
|
|
39601
|
+
return t222 = { l: r2.l, a: r2.c * Math.cos(r2.h * Math.PI / 180), b: r2.c * Math.sin(r2.h * Math.PI / 180), alpha: r2.a }, n2 = t222.a / 500 + (a2 = (t222.l + 16) / 116), u2 = a2 - t222.b / 200, i({ x: (Math.pow(n2, 3) > f$2 ? Math.pow(n2, 3) : (116 * n2 - 16) / b) * o$1, y: (t222.l > 8 ? Math.pow((t222.l + 16) / 116, 3) : t222.l / b) * e$3, z: (Math.pow(u2, 3) > f$2 ? Math.pow(u2, 3) : (116 * u2 - 16) / b) * c, a: t222.alpha });
|
|
39602
|
+
var t222, a2, n2, u2;
|
|
39603
|
+
}, x = /^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, s = function(t222) {
|
|
39604
|
+
var a2 = x.exec(t222);
|
|
39605
|
+
if (!a2) return null;
|
|
39606
|
+
var n2, u2, h2 = d({ l: Number(a2[1]), c: Number(a2[2]), h: (n2 = a2[3], u2 = a2[4], void 0 === u2 && (u2 = "deg"), Number(n2) * (r[u2] || 1)), a: void 0 === a2[5] ? 1 : Number(a2[5]) / (a2[6] ? 100 : 1) });
|
|
39607
|
+
return M(h2);
|
|
39608
|
+
};
|
|
39609
|
+
function lchPlugin(r2, t222) {
|
|
39610
|
+
r2.prototype.toLch = function() {
|
|
39611
|
+
return p(y(this.rgba));
|
|
39612
|
+
}, r2.prototype.toLchString = function() {
|
|
39613
|
+
return r3 = p(y(this.rgba)), t322 = r3.l, a2 = r3.c, n2 = r3.h, (u2 = r3.a) < 1 ? "lch(" + t322 + "% " + a2 + " " + n2 + " / " + u2 + ")" : "lch(" + t322 + "% " + a2 + " " + n2 + ")";
|
|
39614
|
+
var r3, t322, a2, n2, u2;
|
|
39615
|
+
}, t222.string.push([s, "lch"]), t222.object.push([v, "lch"]);
|
|
39616
|
+
}
|
|
39617
|
+
k([labPlugin, lchPlugin]);
|
|
39840
39618
|
const canonicalColorHexByKey = {
|
|
39841
39619
|
black: "#000000",
|
|
39842
39620
|
white: "#ffffff",
|
|
@@ -39867,6 +39645,8 @@ const extraAnchorDefinitions = {
|
|
|
39867
39645
|
redLight: { hex: "#f08080", canonical: "red" },
|
|
39868
39646
|
redCustom: { hex: "#D4042D", canonical: "red" },
|
|
39869
39647
|
redDark: { hex: "#8b0000", canonical: "red" },
|
|
39648
|
+
crimson: { hex: "#dc143c", canonical: "red" },
|
|
39649
|
+
wine: { hex: "#993355", canonical: "red" },
|
|
39870
39650
|
orangeLight: { hex: "#ffa07a", canonical: "orange" },
|
|
39871
39651
|
orangeCustom: { hex: "#F19143", canonical: "orange" },
|
|
39872
39652
|
orangePresetAccessible: { hex: "#a6510c", canonical: "orange" },
|
|
@@ -39882,14 +39662,18 @@ const extraAnchorDefinitions = {
|
|
|
39882
39662
|
teal: { hex: "#008080", canonical: "green" },
|
|
39883
39663
|
aqua: { hex: "#00ffff", canonical: "cyan" },
|
|
39884
39664
|
cyanLight: { hex: "#e0ffff", canonical: "cyan" },
|
|
39665
|
+
cyanMid: { hex: "#25b0c0", canonical: "cyan" },
|
|
39885
39666
|
cyanDark: { hex: "#008b8b", canonical: "cyan" },
|
|
39886
39667
|
navy: { hex: "#000080", canonical: "blue" },
|
|
39668
|
+
blueMid: { hex: "#4477aa", canonical: "blue" },
|
|
39669
|
+
blueSky: { hex: "#56b4e9", canonical: "blue" },
|
|
39887
39670
|
blueCustom: { hex: "#648FFF", canonical: "blue" },
|
|
39888
39671
|
bluePresetAccessible: { hex: "#1f5dff", canonical: "blue" },
|
|
39889
39672
|
blueLight: { hex: "#add8e6", canonical: "blue" },
|
|
39890
39673
|
blueDark: { hex: "#00008b", canonical: "blue" },
|
|
39891
39674
|
fuchsia: { hex: "#ff00ff", canonical: "purple" },
|
|
39892
39675
|
purpleCustom: { hex: "#644CD6", canonical: "purple" },
|
|
39676
|
+
purpleMuted: { hex: "#9c5686", canonical: "purple" },
|
|
39893
39677
|
purpleLight: { hex: "#dda0dd", canonical: "purple" },
|
|
39894
39678
|
purpleDark: { hex: "#8b008b", canonical: "purple" },
|
|
39895
39679
|
hotpink: { hex: "#ff69b4", canonical: "pink" },
|
|
@@ -39901,19 +39685,10 @@ const anchorDefinitions = {
|
|
|
39901
39685
|
...canonicalAnchorDefinitions,
|
|
39902
39686
|
...extraAnchorDefinitions
|
|
39903
39687
|
};
|
|
39904
|
-
|
|
39905
|
-
|
|
39906
|
-
|
|
39907
|
-
|
|
39908
|
-
])
|
|
39909
|
-
);
|
|
39910
|
-
Object.fromEntries(
|
|
39911
|
-
Object.entries(anchorDefinitions).map(([name2, definition]) => [
|
|
39912
|
-
name2,
|
|
39913
|
-
definition.canonical
|
|
39914
|
-
])
|
|
39915
|
-
);
|
|
39916
|
-
nearestColor.from(matchColorHexByName);
|
|
39688
|
+
Object.values(anchorDefinitions).map((definition) => ({
|
|
39689
|
+
color: w$1(definition.hex),
|
|
39690
|
+
canonical: definition.canonical
|
|
39691
|
+
}));
|
|
39917
39692
|
/* @__PURE__ */ new Set([
|
|
39918
39693
|
...Object.keys(colorName),
|
|
39919
39694
|
"transparent",
|
|
@@ -40075,17 +39850,9 @@ const okabeItoPalette = {
|
|
|
40075
39850
|
markerColor: "#0072b2",
|
|
40076
39851
|
fillColor: "#0072b2",
|
|
40077
39852
|
highContrastColor: "#0072b2",
|
|
40078
|
-
lineColorWord: "blue",
|
|
40079
|
-
markerColorWord: "blue",
|
|
40080
|
-
fillColorWord: "blue",
|
|
40081
|
-
highContrastColorWord: "blue",
|
|
40082
39853
|
lineColorDarkMode: "#0072b2",
|
|
40083
39854
|
markerColorDarkMode: "#0072b2",
|
|
40084
39855
|
fillColorDarkMode: "#0072b2",
|
|
40085
|
-
lineColorWordDarkMode: "blue",
|
|
40086
|
-
markerColorWordDarkMode: "blue",
|
|
40087
|
-
fillColorWordDarkMode: "blue",
|
|
40088
|
-
highContrastColorWordDarkMode: "blue",
|
|
40089
39856
|
lineWidth: 4,
|
|
40090
39857
|
markerStyle: "circle"
|
|
40091
39858
|
},
|
|
@@ -40110,20 +39877,10 @@ const okabeItoPalette = {
|
|
|
40110
39877
|
fillColor: "#009e73",
|
|
40111
39878
|
textColor: "#008561",
|
|
40112
39879
|
highContrastColor: "#008561",
|
|
40113
|
-
lineColorWord: "green",
|
|
40114
|
-
markerColorWord: "green",
|
|
40115
|
-
fillColorWord: "green",
|
|
40116
|
-
textColorWord: "green",
|
|
40117
|
-
highContrastColorWord: "green",
|
|
40118
39880
|
lineColorDarkMode: "#009e73",
|
|
40119
39881
|
markerColorDarkMode: "#009e73",
|
|
40120
39882
|
fillColorDarkMode: "#009e73",
|
|
40121
39883
|
textColorDarkMode: "#009e73",
|
|
40122
|
-
lineColorWordDarkMode: "green",
|
|
40123
|
-
markerColorWordDarkMode: "green",
|
|
40124
|
-
fillColorWordDarkMode: "green",
|
|
40125
|
-
textColorWordDarkMode: "green",
|
|
40126
|
-
highContrastColorWordDarkMode: "green",
|
|
40127
39884
|
lineWidth: 3,
|
|
40128
39885
|
markerStyle: "triangle"
|
|
40129
39886
|
},
|
|
@@ -40137,8 +39894,6 @@ const okabeItoPalette = {
|
|
|
40137
39894
|
lineColorWord: "purple",
|
|
40138
39895
|
markerColorWord: "purple",
|
|
40139
39896
|
fillColorWord: "purple",
|
|
40140
|
-
textColorWord: "purple",
|
|
40141
|
-
highContrastColorWord: "purple",
|
|
40142
39897
|
lineColorDarkMode: "#cc79a7",
|
|
40143
39898
|
markerColorDarkMode: "#cc79a7",
|
|
40144
39899
|
fillColorDarkMode: "#cc79a7",
|
|
@@ -40245,17 +40000,9 @@ const tolBrightPalette = {
|
|
|
40245
40000
|
markerColor: "#4477aa",
|
|
40246
40001
|
fillColor: "#4477aa",
|
|
40247
40002
|
highContrastColor: "#4477aa",
|
|
40248
|
-
lineColorWord: "blue",
|
|
40249
|
-
markerColorWord: "blue",
|
|
40250
|
-
fillColorWord: "blue",
|
|
40251
|
-
highContrastColorWord: "blue",
|
|
40252
40003
|
lineColorDarkMode: "#4477aa",
|
|
40253
40004
|
markerColorDarkMode: "#4477aa",
|
|
40254
40005
|
fillColorDarkMode: "#4477aa",
|
|
40255
|
-
lineColorWordDarkMode: "blue",
|
|
40256
|
-
markerColorWordDarkMode: "blue",
|
|
40257
|
-
fillColorWordDarkMode: "blue",
|
|
40258
|
-
highContrastColorWordDarkMode: "blue",
|
|
40259
40006
|
lineWidth: 4,
|
|
40260
40007
|
markerStyle: "circle"
|
|
40261
40008
|
},
|
|
@@ -40265,20 +40012,10 @@ const tolBrightPalette = {
|
|
|
40265
40012
|
fillColor: "#ee6677",
|
|
40266
40013
|
textColor: "#bf515e",
|
|
40267
40014
|
highContrastColor: "#bf515e",
|
|
40268
|
-
lineColorWord: "red",
|
|
40269
|
-
markerColorWord: "red",
|
|
40270
|
-
fillColorWord: "red",
|
|
40271
|
-
textColorWord: "red",
|
|
40272
|
-
highContrastColorWord: "red",
|
|
40273
40015
|
lineColorDarkMode: "#ee6677",
|
|
40274
40016
|
markerColorDarkMode: "#ee6677",
|
|
40275
40017
|
fillColorDarkMode: "#ee6677",
|
|
40276
40018
|
textColorDarkMode: "#ee6677",
|
|
40277
|
-
lineColorWordDarkMode: "red",
|
|
40278
|
-
markerColorWordDarkMode: "red",
|
|
40279
|
-
fillColorWordDarkMode: "red",
|
|
40280
|
-
textColorWordDarkMode: "red",
|
|
40281
|
-
highContrastColorWordDarkMode: "red",
|
|
40282
40019
|
lineWidth: 2,
|
|
40283
40020
|
markerStyle: "square"
|
|
40284
40021
|
},
|
|
@@ -40319,9 +40056,6 @@ const tolBrightPalette = {
|
|
|
40319
40056
|
fillColor: "#4d9db8",
|
|
40320
40057
|
textColor: "#3c7d94",
|
|
40321
40058
|
highContrastColor: "#3c7d94",
|
|
40322
|
-
lineColorWord: "cyan",
|
|
40323
|
-
markerColorWord: "cyan",
|
|
40324
|
-
fillColorWord: "cyan",
|
|
40325
40059
|
textColorWord: "cyan",
|
|
40326
40060
|
highContrastColorWord: "cyan",
|
|
40327
40061
|
lineColorDarkMode: "#66ccee",
|
|
@@ -40346,11 +40080,6 @@ const tolBrightPalette = {
|
|
|
40346
40080
|
markerColorDarkMode: "#aa3377",
|
|
40347
40081
|
fillColorDarkMode: "#aa3377",
|
|
40348
40082
|
textColorDarkMode: "#b5648c",
|
|
40349
|
-
lineColorWordDarkMode: "purple",
|
|
40350
|
-
markerColorWordDarkMode: "purple",
|
|
40351
|
-
fillColorWordDarkMode: "purple",
|
|
40352
|
-
textColorWordDarkMode: "purple",
|
|
40353
|
-
highContrastColorWordDarkMode: "purple",
|
|
40354
40083
|
lineWidth: 2,
|
|
40355
40084
|
markerStyle: "triangleLeft"
|
|
40356
40085
|
},
|
|
@@ -40399,20 +40128,10 @@ const tolMutedPalette = {
|
|
|
40399
40128
|
fillColor: "#669ab5",
|
|
40400
40129
|
textColor: "#507a90",
|
|
40401
40130
|
highContrastColor: "#507a90",
|
|
40402
|
-
lineColorWord: "blue",
|
|
40403
|
-
markerColorWord: "blue",
|
|
40404
|
-
fillColorWord: "blue",
|
|
40405
|
-
textColorWord: "blue",
|
|
40406
|
-
highContrastColorWord: "blue",
|
|
40407
40131
|
lineColorDarkMode: "#88ccee",
|
|
40408
40132
|
markerColorDarkMode: "#88ccee",
|
|
40409
40133
|
fillColorDarkMode: "#88ccee",
|
|
40410
40134
|
textColorDarkMode: "#88ccee",
|
|
40411
|
-
lineColorWordDarkMode: "blue",
|
|
40412
|
-
markerColorWordDarkMode: "blue",
|
|
40413
|
-
fillColorWordDarkMode: "blue",
|
|
40414
|
-
textColorWordDarkMode: "blue",
|
|
40415
|
-
highContrastColorWordDarkMode: "blue",
|
|
40416
40135
|
lineWidth: 2,
|
|
40417
40136
|
markerStyle: "square"
|
|
40418
40137
|
},
|
|
@@ -40449,8 +40168,6 @@ const tolMutedPalette = {
|
|
|
40449
40168
|
markerColorDarkMode: "#117733",
|
|
40450
40169
|
fillColorDarkMode: "#117733",
|
|
40451
40170
|
textColorDarkMode: "#548a5f",
|
|
40452
|
-
textColorWordDarkMode: "green",
|
|
40453
|
-
highContrastColorWordDarkMode: "green",
|
|
40454
40171
|
lineWidth: 2,
|
|
40455
40172
|
markerStyle: "diamond"
|
|
40456
40173
|
},
|
|
@@ -40558,11 +40275,6 @@ const tolMutedPalette = {
|
|
|
40558
40275
|
markerColorDarkMode: "#aa4499",
|
|
40559
40276
|
fillColorDarkMode: "#aa4499",
|
|
40560
40277
|
textColorDarkMode: "#b262a3",
|
|
40561
|
-
lineColorWordDarkMode: "purple",
|
|
40562
|
-
markerColorWordDarkMode: "purple",
|
|
40563
|
-
fillColorWordDarkMode: "purple",
|
|
40564
|
-
textColorWordDarkMode: "purple",
|
|
40565
|
-
highContrastColorWordDarkMode: "purple",
|
|
40566
40278
|
lineWidth: 2,
|
|
40567
40279
|
lineStyle: "dashed",
|
|
40568
40280
|
markerStyle: "square"
|
|
@@ -40578,17 +40290,9 @@ const tolHighContrastPalette = {
|
|
|
40578
40290
|
markerColor: "#004488",
|
|
40579
40291
|
fillColor: "#004488",
|
|
40580
40292
|
highContrastColor: "#004488",
|
|
40581
|
-
lineColorWord: "blue",
|
|
40582
|
-
markerColorWord: "blue",
|
|
40583
|
-
fillColorWord: "blue",
|
|
40584
|
-
highContrastColorWord: "blue",
|
|
40585
40293
|
lineColorDarkMode: "#496194",
|
|
40586
40294
|
markerColorDarkMode: "#496194",
|
|
40587
40295
|
fillColorDarkMode: "#496194",
|
|
40588
|
-
lineColorWordDarkMode: "blue",
|
|
40589
|
-
markerColorWordDarkMode: "blue",
|
|
40590
|
-
fillColorWordDarkMode: "blue",
|
|
40591
|
-
highContrastColorWordDarkMode: "blue",
|
|
40592
40296
|
lineWidth: 4,
|
|
40593
40297
|
markerStyle: "circle"
|
|
40594
40298
|
},
|
|
@@ -40625,11 +40329,6 @@ const tolHighContrastPalette = {
|
|
|
40625
40329
|
markerColorDarkMode: "#c06976",
|
|
40626
40330
|
fillColorDarkMode: "#c06976",
|
|
40627
40331
|
textColorDarkMode: "#c06976",
|
|
40628
|
-
lineColorWordDarkMode: "red",
|
|
40629
|
-
markerColorWordDarkMode: "red",
|
|
40630
|
-
fillColorWordDarkMode: "red",
|
|
40631
|
-
textColorWordDarkMode: "red",
|
|
40632
|
-
highContrastColorWordDarkMode: "red",
|
|
40633
40332
|
lineWidth: 3,
|
|
40634
40333
|
markerStyle: "triangle"
|
|
40635
40334
|
},
|
|
@@ -40657,17 +40356,9 @@ const ibmPalette = {
|
|
|
40657
40356
|
markerColor: "#648fff",
|
|
40658
40357
|
fillColor: "#648fff",
|
|
40659
40358
|
highContrastColor: "#4f71cb",
|
|
40660
|
-
lineColorWord: "blue",
|
|
40661
|
-
markerColorWord: "blue",
|
|
40662
|
-
fillColorWord: "blue",
|
|
40663
|
-
highContrastColorWord: "blue",
|
|
40664
40359
|
lineColorDarkMode: "#648fff",
|
|
40665
40360
|
markerColorDarkMode: "#648fff",
|
|
40666
40361
|
fillColorDarkMode: "#648fff",
|
|
40667
|
-
lineColorWordDarkMode: "blue",
|
|
40668
|
-
markerColorWordDarkMode: "blue",
|
|
40669
|
-
fillColorWordDarkMode: "blue",
|
|
40670
|
-
highContrastColorWordDarkMode: "blue",
|
|
40671
40362
|
lineWidth: 4,
|
|
40672
40363
|
markerStyle: "circle"
|
|
40673
40364
|
},
|
|
@@ -40754,18 +40445,10 @@ const grayscalePalette = {
|
|
|
40754
40445
|
markerColor: "#000000",
|
|
40755
40446
|
fillColor: "#000000",
|
|
40756
40447
|
highContrastColor: "#000000",
|
|
40757
|
-
lineColorWord: "black",
|
|
40758
|
-
markerColorWord: "black",
|
|
40759
|
-
fillColorWord: "black",
|
|
40760
|
-
highContrastColorWord: "black",
|
|
40761
40448
|
lineColorDarkMode: "#ffffff",
|
|
40762
40449
|
markerColorDarkMode: "#ffffff",
|
|
40763
40450
|
fillColorDarkMode: "#ffffff",
|
|
40764
40451
|
highContrastColorDarkMode: "#ffffff",
|
|
40765
|
-
lineColorWordDarkMode: "white",
|
|
40766
|
-
markerColorWordDarkMode: "white",
|
|
40767
|
-
fillColorWordDarkMode: "white",
|
|
40768
|
-
highContrastColorWordDarkMode: "white",
|
|
40769
40452
|
lineWidth: 4,
|
|
40770
40453
|
markerStyle: "circle"
|
|
40771
40454
|
},
|
|
@@ -40799,21 +40482,11 @@ const grayscalePalette = {
|
|
|
40799
40482
|
fillColor: "#616161",
|
|
40800
40483
|
textColor: "#616161",
|
|
40801
40484
|
highContrastColor: "#616161",
|
|
40802
|
-
lineColorWord: "gray",
|
|
40803
|
-
markerColorWord: "gray",
|
|
40804
|
-
fillColorWord: "gray",
|
|
40805
|
-
textColorWord: "gray",
|
|
40806
|
-
highContrastColorWord: "gray",
|
|
40807
40485
|
lineColorDarkMode: "#929292",
|
|
40808
40486
|
markerColorDarkMode: "#929292",
|
|
40809
40487
|
fillColorDarkMode: "#929292",
|
|
40810
40488
|
textColorDarkMode: "#929292",
|
|
40811
40489
|
highContrastColorDarkMode: "#929292",
|
|
40812
|
-
lineColorWordDarkMode: "gray",
|
|
40813
|
-
markerColorWordDarkMode: "gray",
|
|
40814
|
-
fillColorWordDarkMode: "gray",
|
|
40815
|
-
textColorWordDarkMode: "gray",
|
|
40816
|
-
highContrastColorWordDarkMode: "gray",
|
|
40817
40490
|
lineWidth: 3,
|
|
40818
40491
|
markerStyle: "triangle"
|
|
40819
40492
|
},
|
|
@@ -40852,17 +40525,9 @@ const categoricalPalette = {
|
|
|
40852
40525
|
markerColor: "#1f77b4",
|
|
40853
40526
|
fillColor: "#1f77b4",
|
|
40854
40527
|
highContrastColor: "#1f77b4",
|
|
40855
|
-
lineColorWord: "blue",
|
|
40856
|
-
markerColorWord: "blue",
|
|
40857
|
-
fillColorWord: "blue",
|
|
40858
|
-
highContrastColorWord: "blue",
|
|
40859
40528
|
lineColorDarkMode: "#5ba3dd",
|
|
40860
40529
|
markerColorDarkMode: "#5ba3dd",
|
|
40861
40530
|
fillColorDarkMode: "#5ba3dd",
|
|
40862
|
-
lineColorWordDarkMode: "blue",
|
|
40863
|
-
markerColorWordDarkMode: "blue",
|
|
40864
|
-
fillColorWordDarkMode: "blue",
|
|
40865
|
-
highContrastColorWordDarkMode: "blue",
|
|
40866
40531
|
lineWidth: 4,
|
|
40867
40532
|
markerStyle: "circle"
|
|
40868
40533
|
},
|
|
@@ -40872,20 +40537,10 @@ const categoricalPalette = {
|
|
|
40872
40537
|
fillColor: "#e7730c",
|
|
40873
40538
|
textColor: "#b95b07",
|
|
40874
40539
|
highContrastColor: "#b95b07",
|
|
40875
|
-
lineColorWord: "orange",
|
|
40876
|
-
markerColorWord: "orange",
|
|
40877
|
-
fillColorWord: "orange",
|
|
40878
|
-
textColorWord: "orange",
|
|
40879
|
-
highContrastColorWord: "orange",
|
|
40880
40540
|
lineColorDarkMode: "#ff9d3c",
|
|
40881
40541
|
markerColorDarkMode: "#ff9d3c",
|
|
40882
40542
|
fillColorDarkMode: "#ff9d3c",
|
|
40883
40543
|
textColorDarkMode: "#ff9d3c",
|
|
40884
|
-
lineColorWordDarkMode: "orange",
|
|
40885
|
-
markerColorWordDarkMode: "orange",
|
|
40886
|
-
fillColorWordDarkMode: "orange",
|
|
40887
|
-
textColorWordDarkMode: "orange",
|
|
40888
|
-
highContrastColorWordDarkMode: "orange",
|
|
40889
40544
|
lineWidth: 2,
|
|
40890
40545
|
markerStyle: "square"
|
|
40891
40546
|
},
|
|
@@ -40895,20 +40550,10 @@ const categoricalPalette = {
|
|
|
40895
40550
|
fillColor: "#217a21",
|
|
40896
40551
|
textColor: "#217a21",
|
|
40897
40552
|
highContrastColor: "#217a21",
|
|
40898
|
-
lineColorWord: "green",
|
|
40899
|
-
markerColorWord: "green",
|
|
40900
|
-
fillColorWord: "green",
|
|
40901
|
-
textColorWord: "green",
|
|
40902
|
-
highContrastColorWord: "green",
|
|
40903
40553
|
lineColorDarkMode: "#2ca02c",
|
|
40904
40554
|
markerColorDarkMode: "#2ca02c",
|
|
40905
40555
|
fillColorDarkMode: "#2ca02c",
|
|
40906
40556
|
textColorDarkMode: "#2ca02c",
|
|
40907
|
-
lineColorWordDarkMode: "green",
|
|
40908
|
-
markerColorWordDarkMode: "green",
|
|
40909
|
-
fillColorWordDarkMode: "green",
|
|
40910
|
-
textColorWordDarkMode: "green",
|
|
40911
|
-
highContrastColorWordDarkMode: "green",
|
|
40912
40557
|
lineWidth: 3,
|
|
40913
40558
|
markerStyle: "triangle"
|
|
40914
40559
|
},
|
|
@@ -40918,20 +40563,10 @@ const categoricalPalette = {
|
|
|
40918
40563
|
fillColor: "#d62728",
|
|
40919
40564
|
textColor: "#d62728",
|
|
40920
40565
|
highContrastColor: "#d62728",
|
|
40921
|
-
lineColorWord: "red",
|
|
40922
|
-
markerColorWord: "red",
|
|
40923
|
-
fillColorWord: "red",
|
|
40924
|
-
textColorWord: "red",
|
|
40925
|
-
highContrastColorWord: "red",
|
|
40926
40566
|
lineColorDarkMode: "#e2494a",
|
|
40927
40567
|
markerColorDarkMode: "#e2494a",
|
|
40928
40568
|
fillColorDarkMode: "#e2494a",
|
|
40929
40569
|
textColorDarkMode: "#e2494a",
|
|
40930
|
-
lineColorWordDarkMode: "red",
|
|
40931
|
-
markerColorWordDarkMode: "red",
|
|
40932
|
-
fillColorWordDarkMode: "red",
|
|
40933
|
-
textColorWordDarkMode: "red",
|
|
40934
|
-
highContrastColorWordDarkMode: "red",
|
|
40935
40570
|
lineWidth: 2,
|
|
40936
40571
|
markerStyle: "diamond"
|
|
40937
40572
|
},
|
|
@@ -40941,20 +40576,10 @@ const categoricalPalette = {
|
|
|
40941
40576
|
fillColor: "#9467bd",
|
|
40942
40577
|
textColor: "#8e62b5",
|
|
40943
40578
|
highContrastColor: "#8e62b5",
|
|
40944
|
-
lineColorWord: "purple",
|
|
40945
|
-
markerColorWord: "purple",
|
|
40946
|
-
fillColorWord: "purple",
|
|
40947
|
-
textColorWord: "purple",
|
|
40948
|
-
highContrastColorWord: "purple",
|
|
40949
40579
|
lineColorDarkMode: "#b48fd6",
|
|
40950
40580
|
markerColorDarkMode: "#b48fd6",
|
|
40951
40581
|
fillColorDarkMode: "#b48fd6",
|
|
40952
40582
|
textColorDarkMode: "#b48fd6",
|
|
40953
|
-
lineColorWordDarkMode: "purple",
|
|
40954
|
-
markerColorWordDarkMode: "purple",
|
|
40955
|
-
fillColorWordDarkMode: "purple",
|
|
40956
|
-
textColorWordDarkMode: "purple",
|
|
40957
|
-
highContrastColorWordDarkMode: "purple",
|
|
40958
40583
|
lineWidth: 2,
|
|
40959
40584
|
markerStyle: "triangleDown"
|
|
40960
40585
|
},
|
|
@@ -40964,11 +40589,6 @@ const categoricalPalette = {
|
|
|
40964
40589
|
fillColor: "#7a4a41",
|
|
40965
40590
|
textColor: "#7a4a41",
|
|
40966
40591
|
highContrastColor: "#7a4a41",
|
|
40967
|
-
lineColorWord: "brown",
|
|
40968
|
-
markerColorWord: "brown",
|
|
40969
|
-
fillColorWord: "brown",
|
|
40970
|
-
textColorWord: "brown",
|
|
40971
|
-
highContrastColorWord: "brown",
|
|
40972
40592
|
lineColorDarkMode: "#a9705f",
|
|
40973
40593
|
markerColorDarkMode: "#a9705f",
|
|
40974
40594
|
fillColorDarkMode: "#a9705f",
|
|
@@ -40987,20 +40607,12 @@ const categoricalPalette = {
|
|
|
40987
40607
|
fillColor: "#d670b7",
|
|
40988
40608
|
textColor: "#ab5892",
|
|
40989
40609
|
highContrastColor: "#ab5892",
|
|
40990
|
-
lineColorWord: "pink",
|
|
40991
|
-
markerColorWord: "pink",
|
|
40992
|
-
fillColorWord: "pink",
|
|
40993
40610
|
textColorWord: "pink",
|
|
40994
40611
|
highContrastColorWord: "pink",
|
|
40995
40612
|
lineColorDarkMode: "#e377c2",
|
|
40996
40613
|
markerColorDarkMode: "#e377c2",
|
|
40997
40614
|
fillColorDarkMode: "#e377c2",
|
|
40998
40615
|
textColorDarkMode: "#e377c2",
|
|
40999
|
-
lineColorWordDarkMode: "pink",
|
|
41000
|
-
markerColorWordDarkMode: "pink",
|
|
41001
|
-
fillColorWordDarkMode: "pink",
|
|
41002
|
-
textColorWordDarkMode: "pink",
|
|
41003
|
-
highContrastColorWordDarkMode: "pink",
|
|
41004
40616
|
lineWidth: 3,
|
|
41005
40617
|
lineStyle: "dashed",
|
|
41006
40618
|
markerStyle: "triangleRight"
|
|
@@ -41011,20 +40623,10 @@ const categoricalPalette = {
|
|
|
41011
40623
|
fillColor: "#7f7f7f",
|
|
41012
40624
|
textColor: "#757575",
|
|
41013
40625
|
highContrastColor: "#757575",
|
|
41014
|
-
lineColorWord: "gray",
|
|
41015
|
-
markerColorWord: "gray",
|
|
41016
|
-
fillColorWord: "gray",
|
|
41017
|
-
textColorWord: "gray",
|
|
41018
|
-
highContrastColorWord: "gray",
|
|
41019
40626
|
lineColorDarkMode: "#a8a8a8",
|
|
41020
40627
|
markerColorDarkMode: "#a8a8a8",
|
|
41021
40628
|
fillColorDarkMode: "#a8a8a8",
|
|
41022
40629
|
textColorDarkMode: "#a8a8a8",
|
|
41023
|
-
lineColorWordDarkMode: "gray",
|
|
41024
|
-
markerColorWordDarkMode: "gray",
|
|
41025
|
-
fillColorWordDarkMode: "gray",
|
|
41026
|
-
textColorWordDarkMode: "gray",
|
|
41027
|
-
highContrastColorWordDarkMode: "gray",
|
|
41028
40630
|
lineWidth: 1,
|
|
41029
40631
|
lineStyle: "dotted",
|
|
41030
40632
|
markerStyle: "circle"
|
|
@@ -41059,20 +40661,12 @@ const categoricalPalette = {
|
|
|
41059
40661
|
fillColor: "#12a2b1",
|
|
41060
40662
|
textColor: "#0c818e",
|
|
41061
40663
|
highContrastColor: "#0c818e",
|
|
41062
|
-
lineColorWord: "cyan",
|
|
41063
|
-
markerColorWord: "cyan",
|
|
41064
|
-
fillColorWord: "cyan",
|
|
41065
40664
|
textColorWord: "cyan",
|
|
41066
40665
|
highContrastColorWord: "cyan",
|
|
41067
40666
|
lineColorDarkMode: "#17becf",
|
|
41068
40667
|
markerColorDarkMode: "#17becf",
|
|
41069
40668
|
fillColorDarkMode: "#17becf",
|
|
41070
40669
|
textColorDarkMode: "#17becf",
|
|
41071
|
-
lineColorWordDarkMode: "cyan",
|
|
41072
|
-
markerColorWordDarkMode: "cyan",
|
|
41073
|
-
fillColorWordDarkMode: "cyan",
|
|
41074
|
-
textColorWordDarkMode: "cyan",
|
|
41075
|
-
highContrastColorWordDarkMode: "cyan",
|
|
41076
40670
|
lineWidth: 2,
|
|
41077
40671
|
lineStyle: "dotted",
|
|
41078
40672
|
markerStyle: "diamond"
|
|
@@ -41088,17 +40682,12 @@ const grumpyNarwhalPalette = {
|
|
|
41088
40682
|
markerColor: "#b34700",
|
|
41089
40683
|
fillColor: "#b34700",
|
|
41090
40684
|
highContrastColor: "#b34700",
|
|
41091
|
-
lineColorWord: "orange",
|
|
41092
|
-
markerColorWord: "orange",
|
|
41093
|
-
fillColorWord: "orange",
|
|
41094
|
-
highContrastColorWord: "orange",
|
|
41095
40685
|
lineColorDarkMode: "#ff5f00",
|
|
41096
40686
|
markerColorDarkMode: "#ff5f00",
|
|
41097
40687
|
fillColorDarkMode: "#ff5f00",
|
|
41098
40688
|
lineColorWordDarkMode: "orange",
|
|
41099
40689
|
markerColorWordDarkMode: "orange",
|
|
41100
40690
|
fillColorWordDarkMode: "orange",
|
|
41101
|
-
highContrastColorWordDarkMode: "orange",
|
|
41102
40691
|
lineWidth: 4,
|
|
41103
40692
|
markerStyle: "circle"
|
|
41104
40693
|
},
|
|
@@ -41108,20 +40697,10 @@ const grumpyNarwhalPalette = {
|
|
|
41108
40697
|
fillColor: "#1b7a1b",
|
|
41109
40698
|
textColor: "#1b7a1b",
|
|
41110
40699
|
highContrastColor: "#1b7a1b",
|
|
41111
|
-
lineColorWord: "green",
|
|
41112
|
-
markerColorWord: "green",
|
|
41113
|
-
fillColorWord: "green",
|
|
41114
|
-
textColorWord: "green",
|
|
41115
|
-
highContrastColorWord: "green",
|
|
41116
40700
|
lineColorDarkMode: "#39ff14",
|
|
41117
40701
|
markerColorDarkMode: "#39ff14",
|
|
41118
40702
|
fillColorDarkMode: "#39ff14",
|
|
41119
40703
|
textColorDarkMode: "#39ff14",
|
|
41120
|
-
lineColorWordDarkMode: "green",
|
|
41121
|
-
markerColorWordDarkMode: "green",
|
|
41122
|
-
fillColorWordDarkMode: "green",
|
|
41123
|
-
textColorWordDarkMode: "green",
|
|
41124
|
-
highContrastColorWordDarkMode: "green",
|
|
41125
40704
|
lineWidth: 2,
|
|
41126
40705
|
markerStyle: "square"
|
|
41127
40706
|
},
|
|
@@ -41140,11 +40719,6 @@ const grumpyNarwhalPalette = {
|
|
|
41140
40719
|
markerColorDarkMode: "#ff1493",
|
|
41141
40720
|
fillColorDarkMode: "#ff1493",
|
|
41142
40721
|
textColorDarkMode: "#ff1493",
|
|
41143
|
-
lineColorWordDarkMode: "pink",
|
|
41144
|
-
markerColorWordDarkMode: "pink",
|
|
41145
|
-
fillColorWordDarkMode: "pink",
|
|
41146
|
-
textColorWordDarkMode: "pink",
|
|
41147
|
-
highContrastColorWordDarkMode: "pink",
|
|
41148
40722
|
lineWidth: 3,
|
|
41149
40723
|
markerStyle: "triangle"
|
|
41150
40724
|
},
|
|
@@ -41163,11 +40737,6 @@ const grumpyNarwhalPalette = {
|
|
|
41163
40737
|
markerColorDarkMode: "#00e5ff",
|
|
41164
40738
|
fillColorDarkMode: "#00e5ff",
|
|
41165
40739
|
textColorDarkMode: "#00e5ff",
|
|
41166
|
-
lineColorWordDarkMode: "cyan",
|
|
41167
|
-
markerColorWordDarkMode: "cyan",
|
|
41168
|
-
fillColorWordDarkMode: "cyan",
|
|
41169
|
-
textColorWordDarkMode: "cyan",
|
|
41170
|
-
highContrastColorWordDarkMode: "cyan",
|
|
41171
40740
|
lineWidth: 2,
|
|
41172
40741
|
markerStyle: "diamond"
|
|
41173
40742
|
},
|
|
@@ -41186,11 +40755,6 @@ const grumpyNarwhalPalette = {
|
|
|
41186
40755
|
markerColorDarkMode: "#ffea00",
|
|
41187
40756
|
fillColorDarkMode: "#ffea00",
|
|
41188
40757
|
textColorDarkMode: "#ffea00",
|
|
41189
|
-
lineColorWordDarkMode: "yellow",
|
|
41190
|
-
markerColorWordDarkMode: "yellow",
|
|
41191
|
-
fillColorWordDarkMode: "yellow",
|
|
41192
|
-
textColorWordDarkMode: "yellow",
|
|
41193
|
-
highContrastColorWordDarkMode: "yellow",
|
|
41194
40758
|
lineWidth: 2,
|
|
41195
40759
|
markerStyle: "triangleDown"
|
|
41196
40760
|
},
|
|
@@ -41204,21 +40768,11 @@ const grumpyNarwhalPalette = {
|
|
|
41204
40768
|
fillColor: "#b026ff",
|
|
41205
40769
|
textColor: "#b026ff",
|
|
41206
40770
|
highContrastColor: "#b026ff",
|
|
41207
|
-
lineColorWord: "purple",
|
|
41208
|
-
markerColorWord: "purple",
|
|
41209
|
-
fillColorWord: "purple",
|
|
41210
|
-
textColorWord: "purple",
|
|
41211
|
-
highContrastColorWord: "purple",
|
|
41212
40771
|
lineColorDarkMode: "#b026ff",
|
|
41213
40772
|
markerColorDarkMode: "#b026ff",
|
|
41214
40773
|
fillColorDarkMode: "#b026ff",
|
|
41215
40774
|
textColorDarkMode: "#b445ff",
|
|
41216
40775
|
highContrastColorDarkMode: "#b445ff",
|
|
41217
|
-
lineColorWordDarkMode: "purple",
|
|
41218
|
-
markerColorWordDarkMode: "purple",
|
|
41219
|
-
fillColorWordDarkMode: "purple",
|
|
41220
|
-
textColorWordDarkMode: "purple",
|
|
41221
|
-
highContrastColorWordDarkMode: "purple",
|
|
41222
40776
|
lineWidth: 2,
|
|
41223
40777
|
markerStyle: "triangleLeft"
|
|
41224
40778
|
}
|
|
@@ -41260,140 +40814,6 @@ defaultPalette.name.toLowerCase();
|
|
|
41260
40814
|
Object.freeze(
|
|
41261
40815
|
Object.keys(STYLE_PALETTES)
|
|
41262
40816
|
);
|
|
41263
|
-
var r = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, t$1 = function(r2) {
|
|
41264
|
-
return "string" == typeof r2 ? r2.length > 0 : "number" == typeof r2;
|
|
41265
|
-
}, n = function(r2, t222, n2) {
|
|
41266
|
-
return void 0 === t222 && (t222 = 0), void 0 === n2 && (n2 = Math.pow(10, t222)), Math.round(n2 * r2) / n2 + 0;
|
|
41267
|
-
}, e$1 = function(r2, t222, n2) {
|
|
41268
|
-
return void 0 === t222 && (t222 = 0), void 0 === n2 && (n2 = 1), r2 > n2 ? n2 : r2 > t222 ? r2 : t222;
|
|
41269
|
-
}, u = function(r2) {
|
|
41270
|
-
return (r2 = isFinite(r2) ? r2 % 360 : 0) > 0 ? r2 : r2 + 360;
|
|
41271
|
-
}, a = function(r2) {
|
|
41272
|
-
return { r: e$1(r2.r, 0, 255), g: e$1(r2.g, 0, 255), b: e$1(r2.b, 0, 255), a: e$1(r2.a) };
|
|
41273
|
-
}, o$1 = function(r2) {
|
|
41274
|
-
return { r: n(r2.r), g: n(r2.g), b: n(r2.b), a: n(r2.a, 3) };
|
|
41275
|
-
}, i = /^#([0-9a-f]{3,8})$/i, s = function(r2) {
|
|
41276
|
-
var t222 = r2.toString(16);
|
|
41277
|
-
return t222.length < 2 ? "0" + t222 : t222;
|
|
41278
|
-
}, h = function(r2) {
|
|
41279
|
-
var t222 = r2.r, n2 = r2.g, e2 = r2.b, u2 = r2.a, a2 = Math.max(t222, n2, e2), o2 = a2 - Math.min(t222, n2, e2), i2 = o2 ? a2 === t222 ? (n2 - e2) / o2 : a2 === n2 ? 2 + (e2 - t222) / o2 : 4 + (t222 - n2) / o2 : 0;
|
|
41280
|
-
return { h: 60 * (i2 < 0 ? i2 + 6 : i2), s: a2 ? o2 / a2 * 100 : 0, v: a2 / 255 * 100, a: u2 };
|
|
41281
|
-
}, b = function(r2) {
|
|
41282
|
-
var t222 = r2.h, n2 = r2.s, e2 = r2.v, u2 = r2.a;
|
|
41283
|
-
t222 = t222 / 360 * 6, n2 /= 100, e2 /= 100;
|
|
41284
|
-
var a2 = Math.floor(t222), o2 = e2 * (1 - n2), i2 = e2 * (1 - (t222 - a2) * n2), s2 = e2 * (1 - (1 - t222 + a2) * n2), h2 = a2 % 6;
|
|
41285
|
-
return { r: 255 * [e2, i2, o2, o2, s2, e2][h2], g: 255 * [s2, e2, e2, i2, o2, o2][h2], b: 255 * [o2, o2, s2, e2, e2, i2][h2], a: u2 };
|
|
41286
|
-
}, g = function(r2) {
|
|
41287
|
-
return { h: u(r2.h), s: e$1(r2.s, 0, 100), l: e$1(r2.l, 0, 100), a: e$1(r2.a) };
|
|
41288
|
-
}, d = function(r2) {
|
|
41289
|
-
return { h: n(r2.h), s: n(r2.s), l: n(r2.l), a: n(r2.a, 3) };
|
|
41290
|
-
}, f$1 = function(r2) {
|
|
41291
|
-
return b((n2 = (t222 = r2).s, { h: t222.h, s: (n2 *= ((e2 = t222.l) < 50 ? e2 : 100 - e2) / 100) > 0 ? 2 * n2 / (e2 + n2) * 100 : 0, v: e2 + n2, a: t222.a }));
|
|
41292
|
-
var t222, n2, e2;
|
|
41293
|
-
}, c = function(r2) {
|
|
41294
|
-
return { h: (t222 = h(r2)).h, s: (u2 = (200 - (n2 = t222.s)) * (e2 = t222.v) / 100) > 0 && u2 < 200 ? n2 * e2 / 100 / (u2 <= 100 ? u2 : 200 - u2) * 100 : 0, l: u2 / 2, a: t222.a };
|
|
41295
|
-
var t222, n2, e2, u2;
|
|
41296
|
-
}, l = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, p = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, v = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, m = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, y = { string: [[function(r2) {
|
|
41297
|
-
var t222 = i.exec(r2);
|
|
41298
|
-
return t222 ? (r2 = t222[1]).length <= 4 ? { r: parseInt(r2[0] + r2[0], 16), g: parseInt(r2[1] + r2[1], 16), b: parseInt(r2[2] + r2[2], 16), a: 4 === r2.length ? n(parseInt(r2[3] + r2[3], 16) / 255, 2) : 1 } : 6 === r2.length || 8 === r2.length ? { r: parseInt(r2.substr(0, 2), 16), g: parseInt(r2.substr(2, 2), 16), b: parseInt(r2.substr(4, 2), 16), a: 8 === r2.length ? n(parseInt(r2.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
|
|
41299
|
-
}, "hex"], [function(r2) {
|
|
41300
|
-
var t222 = v.exec(r2) || m.exec(r2);
|
|
41301
|
-
return t222 ? t222[2] !== t222[4] || t222[4] !== t222[6] ? null : a({ r: Number(t222[1]) / (t222[2] ? 100 / 255 : 1), g: Number(t222[3]) / (t222[4] ? 100 / 255 : 1), b: Number(t222[5]) / (t222[6] ? 100 / 255 : 1), a: void 0 === t222[7] ? 1 : Number(t222[7]) / (t222[8] ? 100 : 1) }) : null;
|
|
41302
|
-
}, "rgb"], [function(t222) {
|
|
41303
|
-
var n2 = l.exec(t222) || p.exec(t222);
|
|
41304
|
-
if (!n2) return null;
|
|
41305
|
-
var e2, u2, a2 = g({ h: (e2 = n2[1], u2 = n2[2], void 0 === u2 && (u2 = "deg"), Number(e2) * (r[u2] || 1)), s: Number(n2[3]), l: Number(n2[4]), a: void 0 === n2[5] ? 1 : Number(n2[5]) / (n2[6] ? 100 : 1) });
|
|
41306
|
-
return f$1(a2);
|
|
41307
|
-
}, "hsl"]], object: [[function(r2) {
|
|
41308
|
-
var n2 = r2.r, e2 = r2.g, u2 = r2.b, o2 = r2.a, i2 = void 0 === o2 ? 1 : o2;
|
|
41309
|
-
return t$1(n2) && t$1(e2) && t$1(u2) ? a({ r: Number(n2), g: Number(e2), b: Number(u2), a: Number(i2) }) : null;
|
|
41310
|
-
}, "rgb"], [function(r2) {
|
|
41311
|
-
var n2 = r2.h, e2 = r2.s, u2 = r2.l, a2 = r2.a, o2 = void 0 === a2 ? 1 : a2;
|
|
41312
|
-
if (!t$1(n2) || !t$1(e2) || !t$1(u2)) return null;
|
|
41313
|
-
var i2 = g({ h: Number(n2), s: Number(e2), l: Number(u2), a: Number(o2) });
|
|
41314
|
-
return f$1(i2);
|
|
41315
|
-
}, "hsl"], [function(r2) {
|
|
41316
|
-
var n2 = r2.h, a2 = r2.s, o2 = r2.v, i2 = r2.a, s2 = void 0 === i2 ? 1 : i2;
|
|
41317
|
-
if (!t$1(n2) || !t$1(a2) || !t$1(o2)) return null;
|
|
41318
|
-
var h2 = (function(r3) {
|
|
41319
|
-
return { h: u(r3.h), s: e$1(r3.s, 0, 100), v: e$1(r3.v, 0, 100), a: e$1(r3.a) };
|
|
41320
|
-
})({ h: Number(n2), s: Number(a2), v: Number(o2), a: Number(s2) });
|
|
41321
|
-
return b(h2);
|
|
41322
|
-
}, "hsv"]] }, N = function(r2, t222) {
|
|
41323
|
-
for (var n2 = 0; n2 < t222.length; n2++) {
|
|
41324
|
-
var e2 = t222[n2][0](r2);
|
|
41325
|
-
if (e2) return [e2, t222[n2][1]];
|
|
41326
|
-
}
|
|
41327
|
-
return [null, void 0];
|
|
41328
|
-
}, x = function(r2) {
|
|
41329
|
-
return "string" == typeof r2 ? N(r2.trim(), y.string) : "object" == typeof r2 && null !== r2 ? N(r2, y.object) : [null, void 0];
|
|
41330
|
-
}, M = function(r2, t222) {
|
|
41331
|
-
var n2 = c(r2);
|
|
41332
|
-
return { h: n2.h, s: e$1(n2.s + 100 * t222, 0, 100), l: n2.l, a: n2.a };
|
|
41333
|
-
}, H = function(r2) {
|
|
41334
|
-
return (299 * r2.r + 587 * r2.g + 114 * r2.b) / 1e3 / 255;
|
|
41335
|
-
}, $ = function(r2, t222) {
|
|
41336
|
-
var n2 = c(r2);
|
|
41337
|
-
return { h: n2.h, s: n2.s, l: e$1(n2.l + 100 * t222, 0, 100), a: n2.a };
|
|
41338
|
-
}, j = (function() {
|
|
41339
|
-
function r2(r3) {
|
|
41340
|
-
this.parsed = x(r3)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
|
|
41341
|
-
}
|
|
41342
|
-
return r2.prototype.isValid = function() {
|
|
41343
|
-
return null !== this.parsed;
|
|
41344
|
-
}, r2.prototype.brightness = function() {
|
|
41345
|
-
return n(H(this.rgba), 2);
|
|
41346
|
-
}, r2.prototype.isDark = function() {
|
|
41347
|
-
return H(this.rgba) < 0.5;
|
|
41348
|
-
}, r2.prototype.isLight = function() {
|
|
41349
|
-
return H(this.rgba) >= 0.5;
|
|
41350
|
-
}, r2.prototype.toHex = function() {
|
|
41351
|
-
return r3 = o$1(this.rgba), t222 = r3.r, e2 = r3.g, u2 = r3.b, i2 = (a2 = r3.a) < 1 ? s(n(255 * a2)) : "", "#" + s(t222) + s(e2) + s(u2) + i2;
|
|
41352
|
-
var r3, t222, e2, u2, a2, i2;
|
|
41353
|
-
}, r2.prototype.toRgb = function() {
|
|
41354
|
-
return o$1(this.rgba);
|
|
41355
|
-
}, r2.prototype.toRgbString = function() {
|
|
41356
|
-
return r3 = o$1(this.rgba), t222 = r3.r, n2 = r3.g, e2 = r3.b, (u2 = r3.a) < 1 ? "rgba(" + t222 + ", " + n2 + ", " + e2 + ", " + u2 + ")" : "rgb(" + t222 + ", " + n2 + ", " + e2 + ")";
|
|
41357
|
-
var r3, t222, n2, e2, u2;
|
|
41358
|
-
}, r2.prototype.toHsl = function() {
|
|
41359
|
-
return d(c(this.rgba));
|
|
41360
|
-
}, r2.prototype.toHslString = function() {
|
|
41361
|
-
return r3 = d(c(this.rgba)), t222 = r3.h, n2 = r3.s, e2 = r3.l, (u2 = r3.a) < 1 ? "hsla(" + t222 + ", " + n2 + "%, " + e2 + "%, " + u2 + ")" : "hsl(" + t222 + ", " + n2 + "%, " + e2 + "%)";
|
|
41362
|
-
var r3, t222, n2, e2, u2;
|
|
41363
|
-
}, r2.prototype.toHsv = function() {
|
|
41364
|
-
return r3 = h(this.rgba), { h: n(r3.h), s: n(r3.s), v: n(r3.v), a: n(r3.a, 3) };
|
|
41365
|
-
var r3;
|
|
41366
|
-
}, r2.prototype.invert = function() {
|
|
41367
|
-
return w({ r: 255 - (r3 = this.rgba).r, g: 255 - r3.g, b: 255 - r3.b, a: r3.a });
|
|
41368
|
-
var r3;
|
|
41369
|
-
}, r2.prototype.saturate = function(r3) {
|
|
41370
|
-
return void 0 === r3 && (r3 = 0.1), w(M(this.rgba, r3));
|
|
41371
|
-
}, r2.prototype.desaturate = function(r3) {
|
|
41372
|
-
return void 0 === r3 && (r3 = 0.1), w(M(this.rgba, -r3));
|
|
41373
|
-
}, r2.prototype.grayscale = function() {
|
|
41374
|
-
return w(M(this.rgba, -1));
|
|
41375
|
-
}, r2.prototype.lighten = function(r3) {
|
|
41376
|
-
return void 0 === r3 && (r3 = 0.1), w($(this.rgba, r3));
|
|
41377
|
-
}, r2.prototype.darken = function(r3) {
|
|
41378
|
-
return void 0 === r3 && (r3 = 0.1), w($(this.rgba, -r3));
|
|
41379
|
-
}, r2.prototype.rotate = function(r3) {
|
|
41380
|
-
return void 0 === r3 && (r3 = 15), this.hue(this.hue() + r3);
|
|
41381
|
-
}, r2.prototype.alpha = function(r3) {
|
|
41382
|
-
return "number" == typeof r3 ? w({ r: (t222 = this.rgba).r, g: t222.g, b: t222.b, a: r3 }) : n(this.rgba.a, 3);
|
|
41383
|
-
var t222;
|
|
41384
|
-
}, r2.prototype.hue = function(r3) {
|
|
41385
|
-
var t222 = c(this.rgba);
|
|
41386
|
-
return "number" == typeof r3 ? w({ h: r3, s: t222.s, l: t222.l, a: t222.a }) : n(t222.h);
|
|
41387
|
-
}, r2.prototype.isEqual = function(r3) {
|
|
41388
|
-
return this.toHex() === w(r3).toHex();
|
|
41389
|
-
}, r2;
|
|
41390
|
-
})(), w = function(r2) {
|
|
41391
|
-
return r2 instanceof j ? r2 : new j(r2);
|
|
41392
|
-
}, S = [], k = function(r2) {
|
|
41393
|
-
r2.forEach(function(r3) {
|
|
41394
|
-
S.indexOf(r3) < 0 && (r3(j, y), S.push(r3));
|
|
41395
|
-
});
|
|
41396
|
-
};
|
|
41397
40817
|
var o = function(o2) {
|
|
41398
40818
|
var t222 = o2 / 255;
|
|
41399
40819
|
return t222 < 0.04045 ? t222 / 12.92 : Math.pow((t222 + 0.055) / 1.055, 2.4);
|
|
@@ -66109,7 +65529,7 @@ function ExternalVirtualKeyboard({
|
|
|
66109
65529
|
}
|
|
66110
65530
|
);
|
|
66111
65531
|
}
|
|
66112
|
-
const version = "0.7.21-dev.
|
|
65532
|
+
const version = "0.7.21-dev.357";
|
|
66113
65533
|
const latestDoenetmlVersion = version;
|
|
66114
65534
|
function subscribeToPinnedTheme() {
|
|
66115
65535
|
return () => {
|