@versini/sassysaint 8.107.4 → 8.108.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/chunks/{AboutChangelog.DeRcKN5H.js → AboutChangelog.BQtbpOat.js} +2 -2
  2. package/dist/chunks/{AboutEntry.6mTHwkfb.js → AboutEntry.Bb0L9eCQ.js} +7 -7
  3. package/dist/chunks/{App.DTjbiLAP.js → App.CSBqbQnm.js} +1147 -1146
  4. package/dist/chunks/{Bubble.ltolxxta.js → Bubble.Jl_vP6Bg.js} +1 -1
  5. package/dist/chunks/{DeleteButtonIcon.P0LgJDjE.js → ButtonIconDelete.C3bf-YVf.js} +3 -3
  6. package/dist/chunks/{Chart.BzOmOhOW.js → Chart.KnjXKeEm.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.lGE_8ao1.js → ChatBubbleAssistant.8hHak3Xb.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.DC661ePq.js → ChatBubbleUser.C3QnvRpy.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.BkRFWpsA.js → ChatHistoryTable.CIIrZME7.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.uUjsDuT0.js → HistoryEntry.B0U0RQ7-.js} +6 -6
  11. package/dist/chunks/{LoginEntry.BGZdTDwf.js → LoginEntry.Cf03Pbyq.js} +4 -4
  12. package/dist/chunks/{LogoEntry.Bpddd0yA.js → LogoEntry.C_oLwnbv.js} +3 -3
  13. package/dist/chunks/{MemoriesEntry.BYQm9cuU.js → MemoriesEntry.CeMfI8F3.js} +5 -5
  14. package/dist/chunks/{ProfileEntry.BqcZXSeT.js → ProfileEntry.BasVTLyr.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.BdC5Vyof.js → SettingsEntry.DqKtJfKG.js} +5 -5
  16. package/dist/chunks/{UsageEntry._O8Q6TwS.js → UsageEntry.phb8YqH1.js} +5 -5
  17. package/dist/chunks/_basePickBy.DiyBcH_b.js +151 -0
  18. package/dist/chunks/_baseUniq.B9L9wOT1.js +614 -0
  19. package/dist/chunks/arc.C1rfS5dQ.js +83 -0
  20. package/dist/chunks/architecture-U656AL7Q.Bw4J2QgD.js +36 -0
  21. package/dist/chunks/architectureDiagram-VXUJARFQ.DuwD3xDO.js +4653 -0
  22. package/dist/chunks/blockDiagram-VD42YOAC.BeIrwe07.js +2254 -0
  23. package/dist/chunks/browser.BQGdandl.js +260 -0
  24. package/dist/chunks/c4Diagram-YG6GDRKO.YzJEqJgk.js +1579 -0
  25. package/dist/chunks/channel.BPPTH6mh.js +5 -0
  26. package/dist/chunks/chunk-4BX2VUAB.BCIoHYCy.js +8 -0
  27. package/dist/chunks/chunk-55IACEB6.CFEkh5zE.js +8 -0
  28. package/dist/chunks/chunk-B4BG7PRW.CwfV87jH.js +1375 -0
  29. package/dist/chunks/chunk-DI55MBZ5.CcFvwYqB.js +1370 -0
  30. package/dist/chunks/chunk-FMBD7UC4.C9__m3G-.js +19 -0
  31. package/dist/chunks/chunk-QN33PNHL.EonhZUcV.js +19 -0
  32. package/dist/chunks/chunk-QZHKN3VN.CKR_DhAb.js +15 -0
  33. package/dist/chunks/chunk-TZMSLE5B.eMD178H9.js +64 -0
  34. package/dist/chunks/classDiagram-2ON5EDUG.DCsDc7LM.js +16 -0
  35. package/dist/chunks/classDiagram-v2-WZHVMYZB.DCsDc7LM.js +16 -0
  36. package/dist/chunks/clone.DG_v08Gm.js +8 -0
  37. package/dist/chunks/cose-bilkent-S5V4N54A.Bw5tPVeS.js +2600 -0
  38. package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
  39. package/dist/chunks/dagre-6UL2VRFP.CTW14kZK.js +444 -0
  40. package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
  41. package/dist/chunks/diagram-PSM6KHXK.DDyW__Et.js +531 -0
  42. package/dist/chunks/diagram-QEK2KX5R.C8Y6Nyjq.js +217 -0
  43. package/dist/chunks/diagram-S2PKOQOG.DnnZ1m7x.js +142 -0
  44. package/dist/chunks/erDiagram-Q2GNP2WA.BavKd766.js +841 -0
  45. package/dist/chunks/flowDiagram-NV44I4VS.roMN4lsc.js +1620 -0
  46. package/dist/chunks/ganttDiagram-JELNMOA3.B_SkSqyi.js +2647 -0
  47. package/dist/chunks/gitGraph-F6HP7TQM.C7PwqG55.js +27 -0
  48. package/dist/chunks/gitGraphDiagram-NY62KEGX.BHfSeSWk.js +699 -0
  49. package/dist/chunks/graph.CsxOkYbN.js +247 -0
  50. package/dist/chunks/{index.D2nN0rC6.js → index.BHKlxxP5.js} +1 -1
  51. package/dist/chunks/{index.CYcieK1H.js → index.BUYdarBy.js} +1 -1
  52. package/dist/chunks/{index.BxbWxVtd.js → index.BetC5DSu.js} +1 -1
  53. package/dist/chunks/{index.DuxTgnco.js → index.BmLHPbgB.js} +1 -1
  54. package/dist/chunks/{index.C70LcKzU.js → index.Bq1fyGUB.js} +1 -1
  55. package/dist/chunks/{index.CaofbEIP.js → index.DQPv0lQj.js} +2 -3
  56. package/dist/chunks/{index.BlviGqw0.js → index.DbyaywZN.js} +3 -3
  57. package/dist/chunks/{index.DG-VhqKw.js → index.DjuVXA0R.js} +1 -1
  58. package/dist/chunks/index.DzRoQenq.js +67 -0
  59. package/dist/chunks/info-NVLQJR56.DZPZ5T1V.js +27 -0
  60. package/dist/chunks/infoDiagram-WHAUD3N6.Bi7I8DQ6.js +24 -0
  61. package/dist/chunks/init.DAGnb5BH.js +16 -0
  62. package/dist/chunks/journeyDiagram-XKPGCS4Q.D8VPEfAI.js +834 -0
  63. package/dist/chunks/kanban-definition-3W4ZIXB7.BWUqPfZ4.js +719 -0
  64. package/dist/chunks/{index.s8Izh8-Q.js → katex.D0sQThIv.js} +1638 -1943
  65. package/dist/chunks/layout.BVs5Fo34.js +1332 -0
  66. package/dist/chunks/linear.CIDfImUo.js +625 -0
  67. package/dist/chunks/mermaid-parser.core.ORd6OSMH.js +12724 -0
  68. package/dist/chunks/mindmap-definition-VGOIOE7T.B8li-u54.js +784 -0
  69. package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
  70. package/dist/chunks/packet-BFZMPI3H.ucR6ljZQ.js +27 -0
  71. package/dist/chunks/pie-7BOR55EZ.CUpVQfSo.js +32 -0
  72. package/dist/chunks/pieDiagram-ADFJNKIX.GfyALym8.js +161 -0
  73. package/dist/chunks/quadrantDiagram-AYHSOK5B.CsUp44jt.js +1022 -0
  74. package/dist/chunks/radar-NHE76QYJ.Es4sfwW2.js +27 -0
  75. package/dist/chunks/rehype-mermaid.QzUnaHa9.js +14283 -0
  76. package/dist/chunks/requirementDiagram-UZGBJVZJ.DQTWxv7j.js +850 -0
  77. package/dist/chunks/sankeyDiagram-TZEHDZUN.DJdcOMBP.js +810 -0
  78. package/dist/chunks/sequenceDiagram-WL72ISMW.CIFR_pCj.js +2511 -0
  79. package/dist/chunks/stateDiagram-FKZM4ZOC.DgM5pVKO.js +263 -0
  80. package/dist/chunks/stateDiagram-v2-4FDKWEC3.BUygW1pY.js +16 -0
  81. package/dist/chunks/timeline-definition-IT6M3QCI.Ca0YkAdx.js +795 -0
  82. package/dist/chunks/treemap-KMMF4GRG.Xsds0Pr-.js +81 -0
  83. package/dist/chunks/{useMarkdown.DjEZz9lH.js → useMarkdown.DgNUxPe8.js} +1951 -1936
  84. package/dist/chunks/xychartDiagram-PRI3JC2R.DyQEBwDk.js +1340 -0
  85. package/dist/components/SassySaint/SassySaint.js +1 -1
  86. package/dist/index.js +3 -3
  87. package/package.json +5 -5
@@ -0,0 +1,625 @@
1
+ import { initRange as te } from "./init.DAGnb5BH.js";
2
+ import { exponent as y, formatSpecifier as ie, formatPrefix as fe, format as ae } from "./defaultLocale.CPJLP5jg.js";
3
+ function H(e, n) {
4
+ return e == null || n == null ? NaN : e < n ? -1 : e > n ? 1 : e >= n ? 0 : NaN;
5
+ }
6
+ function ue(e, n) {
7
+ return e == null || n == null ? NaN : n < e ? -1 : n > e ? 1 : n >= e ? 0 : NaN;
8
+ }
9
+ function X(e) {
10
+ let n, r, t;
11
+ e.length !== 2 ? (n = H, r = (a, c) => H(e(a), c), t = (a, c) => e(a) - c) : (n = e === H || e === ue ? e : oe, r = e, t = e);
12
+ function i(a, c, u = 0, l = a.length) {
13
+ if (u < l) {
14
+ if (n(c, c) !== 0) return l;
15
+ do {
16
+ const s = u + l >>> 1;
17
+ r(a[s], c) < 0 ? u = s + 1 : l = s;
18
+ } while (u < l);
19
+ }
20
+ return u;
21
+ }
22
+ function o(a, c, u = 0, l = a.length) {
23
+ if (u < l) {
24
+ if (n(c, c) !== 0) return l;
25
+ do {
26
+ const s = u + l >>> 1;
27
+ r(a[s], c) <= 0 ? u = s + 1 : l = s;
28
+ } while (u < l);
29
+ }
30
+ return u;
31
+ }
32
+ function f(a, c, u = 0, l = a.length) {
33
+ const s = i(a, c, u, l - 1);
34
+ return s > u && t(a[s - 1], c) > -t(a[s], c) ? s - 1 : s;
35
+ }
36
+ return { left: i, center: f, right: o };
37
+ }
38
+ function oe() {
39
+ return 0;
40
+ }
41
+ function ce(e) {
42
+ return e === null ? NaN : +e;
43
+ }
44
+ const le = X(H), se = le.right;
45
+ X(ce).center;
46
+ const he = Math.sqrt(50), xe = Math.sqrt(10), ge = Math.sqrt(2);
47
+ function A(e, n, r) {
48
+ const t = (n - e) / Math.max(0, r), i = Math.floor(Math.log10(t)), o = t / Math.pow(10, i), f = o >= he ? 10 : o >= xe ? 5 : o >= ge ? 2 : 1;
49
+ let a, c, u;
50
+ return i < 0 ? (u = Math.pow(10, -i) / f, a = Math.round(e * u), c = Math.round(n * u), a / u < e && ++a, c / u > n && --c, u = -u) : (u = Math.pow(10, i) * f, a = Math.round(e / u), c = Math.round(n / u), a * u < e && ++a, c * u > n && --c), c < a && 0.5 <= r && r < 2 ? A(e, n, r * 2) : [a, c, u];
51
+ }
52
+ function de(e, n, r) {
53
+ if (n = +n, e = +e, r = +r, !(r > 0)) return [];
54
+ if (e === n) return [e];
55
+ const t = n < e, [i, o, f] = t ? A(n, e, r) : A(e, n, r);
56
+ if (!(o >= i)) return [];
57
+ const a = o - i + 1, c = new Array(a);
58
+ if (t)
59
+ if (f < 0) for (let u = 0; u < a; ++u) c[u] = (o - u) / -f;
60
+ else for (let u = 0; u < a; ++u) c[u] = (o - u) * f;
61
+ else if (f < 0) for (let u = 0; u < a; ++u) c[u] = (i + u) / -f;
62
+ else for (let u = 0; u < a; ++u) c[u] = (i + u) * f;
63
+ return c;
64
+ }
65
+ function _(e, n, r) {
66
+ return n = +n, e = +e, r = +r, A(e, n, r)[2];
67
+ }
68
+ function me(e, n, r) {
69
+ n = +n, e = +e, r = +r;
70
+ const t = n < e, i = t ? _(n, e, r) : _(e, n, r);
71
+ return (t ? -1 : 1) * (i < 0 ? 1 / -i : i);
72
+ }
73
+ function B(e, n, r) {
74
+ e.prototype = n.prototype = r, r.constructor = e;
75
+ }
76
+ function Y(e, n) {
77
+ var r = Object.create(e.prototype);
78
+ for (var t in n) r[t] = n[t];
79
+ return r;
80
+ }
81
+ function $() {
82
+ }
83
+ var N = 0.7, q = 1 / N, w = "\\s*([+-]?\\d+)\\s*", M = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", d = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", pe = /^#([0-9a-f]{3,8})$/, be = new RegExp(`^rgb\\(${w},${w},${w}\\)$`), we = new RegExp(`^rgb\\(${d},${d},${d}\\)$`), ye = new RegExp(`^rgba\\(${w},${w},${w},${M}\\)$`), Ne = new RegExp(`^rgba\\(${d},${d},${d},${M}\\)$`), Me = new RegExp(`^hsl\\(${M},${d},${d}\\)$`), ve = new RegExp(`^hsla\\(${M},${d},${d},${M}\\)$`), F = {
84
+ aliceblue: 15792383,
85
+ antiquewhite: 16444375,
86
+ aqua: 65535,
87
+ aquamarine: 8388564,
88
+ azure: 15794175,
89
+ beige: 16119260,
90
+ bisque: 16770244,
91
+ black: 0,
92
+ blanchedalmond: 16772045,
93
+ blue: 255,
94
+ blueviolet: 9055202,
95
+ brown: 10824234,
96
+ burlywood: 14596231,
97
+ cadetblue: 6266528,
98
+ chartreuse: 8388352,
99
+ chocolate: 13789470,
100
+ coral: 16744272,
101
+ cornflowerblue: 6591981,
102
+ cornsilk: 16775388,
103
+ crimson: 14423100,
104
+ cyan: 65535,
105
+ darkblue: 139,
106
+ darkcyan: 35723,
107
+ darkgoldenrod: 12092939,
108
+ darkgray: 11119017,
109
+ darkgreen: 25600,
110
+ darkgrey: 11119017,
111
+ darkkhaki: 12433259,
112
+ darkmagenta: 9109643,
113
+ darkolivegreen: 5597999,
114
+ darkorange: 16747520,
115
+ darkorchid: 10040012,
116
+ darkred: 9109504,
117
+ darksalmon: 15308410,
118
+ darkseagreen: 9419919,
119
+ darkslateblue: 4734347,
120
+ darkslategray: 3100495,
121
+ darkslategrey: 3100495,
122
+ darkturquoise: 52945,
123
+ darkviolet: 9699539,
124
+ deeppink: 16716947,
125
+ deepskyblue: 49151,
126
+ dimgray: 6908265,
127
+ dimgrey: 6908265,
128
+ dodgerblue: 2003199,
129
+ firebrick: 11674146,
130
+ floralwhite: 16775920,
131
+ forestgreen: 2263842,
132
+ fuchsia: 16711935,
133
+ gainsboro: 14474460,
134
+ ghostwhite: 16316671,
135
+ gold: 16766720,
136
+ goldenrod: 14329120,
137
+ gray: 8421504,
138
+ green: 32768,
139
+ greenyellow: 11403055,
140
+ grey: 8421504,
141
+ honeydew: 15794160,
142
+ hotpink: 16738740,
143
+ indianred: 13458524,
144
+ indigo: 4915330,
145
+ ivory: 16777200,
146
+ khaki: 15787660,
147
+ lavender: 15132410,
148
+ lavenderblush: 16773365,
149
+ lawngreen: 8190976,
150
+ lemonchiffon: 16775885,
151
+ lightblue: 11393254,
152
+ lightcoral: 15761536,
153
+ lightcyan: 14745599,
154
+ lightgoldenrodyellow: 16448210,
155
+ lightgray: 13882323,
156
+ lightgreen: 9498256,
157
+ lightgrey: 13882323,
158
+ lightpink: 16758465,
159
+ lightsalmon: 16752762,
160
+ lightseagreen: 2142890,
161
+ lightskyblue: 8900346,
162
+ lightslategray: 7833753,
163
+ lightslategrey: 7833753,
164
+ lightsteelblue: 11584734,
165
+ lightyellow: 16777184,
166
+ lime: 65280,
167
+ limegreen: 3329330,
168
+ linen: 16445670,
169
+ magenta: 16711935,
170
+ maroon: 8388608,
171
+ mediumaquamarine: 6737322,
172
+ mediumblue: 205,
173
+ mediumorchid: 12211667,
174
+ mediumpurple: 9662683,
175
+ mediumseagreen: 3978097,
176
+ mediumslateblue: 8087790,
177
+ mediumspringgreen: 64154,
178
+ mediumturquoise: 4772300,
179
+ mediumvioletred: 13047173,
180
+ midnightblue: 1644912,
181
+ mintcream: 16121850,
182
+ mistyrose: 16770273,
183
+ moccasin: 16770229,
184
+ navajowhite: 16768685,
185
+ navy: 128,
186
+ oldlace: 16643558,
187
+ olive: 8421376,
188
+ olivedrab: 7048739,
189
+ orange: 16753920,
190
+ orangered: 16729344,
191
+ orchid: 14315734,
192
+ palegoldenrod: 15657130,
193
+ palegreen: 10025880,
194
+ paleturquoise: 11529966,
195
+ palevioletred: 14381203,
196
+ papayawhip: 16773077,
197
+ peachpuff: 16767673,
198
+ peru: 13468991,
199
+ pink: 16761035,
200
+ plum: 14524637,
201
+ powderblue: 11591910,
202
+ purple: 8388736,
203
+ rebeccapurple: 6697881,
204
+ red: 16711680,
205
+ rosybrown: 12357519,
206
+ royalblue: 4286945,
207
+ saddlebrown: 9127187,
208
+ salmon: 16416882,
209
+ sandybrown: 16032864,
210
+ seagreen: 3050327,
211
+ seashell: 16774638,
212
+ sienna: 10506797,
213
+ silver: 12632256,
214
+ skyblue: 8900331,
215
+ slateblue: 6970061,
216
+ slategray: 7372944,
217
+ slategrey: 7372944,
218
+ snow: 16775930,
219
+ springgreen: 65407,
220
+ steelblue: 4620980,
221
+ tan: 13808780,
222
+ teal: 32896,
223
+ thistle: 14204888,
224
+ tomato: 16737095,
225
+ turquoise: 4251856,
226
+ violet: 15631086,
227
+ wheat: 16113331,
228
+ white: 16777215,
229
+ whitesmoke: 16119285,
230
+ yellow: 16776960,
231
+ yellowgreen: 10145074
232
+ };
233
+ B($, v, {
234
+ copy(e) {
235
+ return Object.assign(new this.constructor(), this, e);
236
+ },
237
+ displayable() {
238
+ return this.rgb().displayable();
239
+ },
240
+ hex: V,
241
+ // Deprecated! Use color.formatHex.
242
+ formatHex: V,
243
+ formatHex8: $e,
244
+ formatHsl: ke,
245
+ formatRgb: G,
246
+ toString: G
247
+ });
248
+ function V() {
249
+ return this.rgb().formatHex();
250
+ }
251
+ function $e() {
252
+ return this.rgb().formatHex8();
253
+ }
254
+ function ke() {
255
+ return Z(this).formatHsl();
256
+ }
257
+ function G() {
258
+ return this.rgb().formatRgb();
259
+ }
260
+ function v(e) {
261
+ var n, r;
262
+ return e = (e + "").trim().toLowerCase(), (n = pe.exec(e)) ? (r = n[1].length, n = parseInt(n[1], 16), r === 6 ? L(n) : r === 3 ? new x(n >> 8 & 15 | n >> 4 & 240, n >> 4 & 15 | n & 240, (n & 15) << 4 | n & 15, 1) : r === 8 ? k(n >> 24 & 255, n >> 16 & 255, n >> 8 & 255, (n & 255) / 255) : r === 4 ? k(n >> 12 & 15 | n >> 8 & 240, n >> 8 & 15 | n >> 4 & 240, n >> 4 & 15 | n & 240, ((n & 15) << 4 | n & 15) / 255) : null) : (n = be.exec(e)) ? new x(n[1], n[2], n[3], 1) : (n = we.exec(e)) ? new x(n[1] * 255 / 100, n[2] * 255 / 100, n[3] * 255 / 100, 1) : (n = ye.exec(e)) ? k(n[1], n[2], n[3], n[4]) : (n = Ne.exec(e)) ? k(n[1] * 255 / 100, n[2] * 255 / 100, n[3] * 255 / 100, n[4]) : (n = Me.exec(e)) ? K(n[1], n[2] / 100, n[3] / 100, 1) : (n = ve.exec(e)) ? K(n[1], n[2] / 100, n[3] / 100, n[4]) : F.hasOwnProperty(e) ? L(F[e]) : e === "transparent" ? new x(NaN, NaN, NaN, 0) : null;
263
+ }
264
+ function L(e) {
265
+ return new x(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
266
+ }
267
+ function k(e, n, r, t) {
268
+ return t <= 0 && (e = n = r = NaN), new x(e, n, r, t);
269
+ }
270
+ function Re(e) {
271
+ return e instanceof $ || (e = v(e)), e ? (e = e.rgb(), new x(e.r, e.g, e.b, e.opacity)) : new x();
272
+ }
273
+ function z(e, n, r, t) {
274
+ return arguments.length === 1 ? Re(e) : new x(e, n, r, t ?? 1);
275
+ }
276
+ function x(e, n, r, t) {
277
+ this.r = +e, this.g = +n, this.b = +r, this.opacity = +t;
278
+ }
279
+ B(x, z, Y($, {
280
+ brighter(e) {
281
+ return e = e == null ? q : Math.pow(q, e), new x(this.r * e, this.g * e, this.b * e, this.opacity);
282
+ },
283
+ darker(e) {
284
+ return e = e == null ? N : Math.pow(N, e), new x(this.r * e, this.g * e, this.b * e, this.opacity);
285
+ },
286
+ rgb() {
287
+ return this;
288
+ },
289
+ clamp() {
290
+ return new x(p(this.r), p(this.g), p(this.b), E(this.opacity));
291
+ },
292
+ displayable() {
293
+ return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
294
+ },
295
+ hex: T,
296
+ // Deprecated! Use color.formatHex.
297
+ formatHex: T,
298
+ formatHex8: He,
299
+ formatRgb: J,
300
+ toString: J
301
+ }));
302
+ function T() {
303
+ return `#${m(this.r)}${m(this.g)}${m(this.b)}`;
304
+ }
305
+ function He() {
306
+ return `#${m(this.r)}${m(this.g)}${m(this.b)}${m((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
307
+ }
308
+ function J() {
309
+ const e = E(this.opacity);
310
+ return `${e === 1 ? "rgb(" : "rgba("}${p(this.r)}, ${p(this.g)}, ${p(this.b)}${e === 1 ? ")" : `, ${e})`}`;
311
+ }
312
+ function E(e) {
313
+ return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
314
+ }
315
+ function p(e) {
316
+ return Math.max(0, Math.min(255, Math.round(e) || 0));
317
+ }
318
+ function m(e) {
319
+ return e = p(e), (e < 16 ? "0" : "") + e.toString(16);
320
+ }
321
+ function K(e, n, r, t) {
322
+ return t <= 0 ? e = n = r = NaN : r <= 0 || r >= 1 ? e = n = NaN : n <= 0 && (e = NaN), new g(e, n, r, t);
323
+ }
324
+ function Z(e) {
325
+ if (e instanceof g) return new g(e.h, e.s, e.l, e.opacity);
326
+ if (e instanceof $ || (e = v(e)), !e) return new g();
327
+ if (e instanceof g) return e;
328
+ e = e.rgb();
329
+ var n = e.r / 255, r = e.g / 255, t = e.b / 255, i = Math.min(n, r, t), o = Math.max(n, r, t), f = NaN, a = o - i, c = (o + i) / 2;
330
+ return a ? (n === o ? f = (r - t) / a + (r < t) * 6 : r === o ? f = (t - n) / a + 2 : f = (n - r) / a + 4, a /= c < 0.5 ? o + i : 2 - o - i, f *= 60) : a = c > 0 && c < 1 ? 0 : f, new g(f, a, c, e.opacity);
331
+ }
332
+ function Ae(e, n, r, t) {
333
+ return arguments.length === 1 ? Z(e) : new g(e, n, r, t ?? 1);
334
+ }
335
+ function g(e, n, r, t) {
336
+ this.h = +e, this.s = +n, this.l = +r, this.opacity = +t;
337
+ }
338
+ B(g, Ae, Y($, {
339
+ brighter(e) {
340
+ return e = e == null ? q : Math.pow(q, e), new g(this.h, this.s, this.l * e, this.opacity);
341
+ },
342
+ darker(e) {
343
+ return e = e == null ? N : Math.pow(N, e), new g(this.h, this.s, this.l * e, this.opacity);
344
+ },
345
+ rgb() {
346
+ var e = this.h % 360 + (this.h < 0) * 360, n = isNaN(e) || isNaN(this.s) ? 0 : this.s, r = this.l, t = r + (r < 0.5 ? r : 1 - r) * n, i = 2 * r - t;
347
+ return new x(
348
+ P(e >= 240 ? e - 240 : e + 120, i, t),
349
+ P(e, i, t),
350
+ P(e < 120 ? e + 240 : e - 120, i, t),
351
+ this.opacity
352
+ );
353
+ },
354
+ clamp() {
355
+ return new g(Q(this.h), R(this.s), R(this.l), E(this.opacity));
356
+ },
357
+ displayable() {
358
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
359
+ },
360
+ formatHsl() {
361
+ const e = E(this.opacity);
362
+ return `${e === 1 ? "hsl(" : "hsla("}${Q(this.h)}, ${R(this.s) * 100}%, ${R(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
363
+ }
364
+ }));
365
+ function Q(e) {
366
+ return e = (e || 0) % 360, e < 0 ? e + 360 : e;
367
+ }
368
+ function R(e) {
369
+ return Math.max(0, Math.min(1, e || 0));
370
+ }
371
+ function P(e, n, r) {
372
+ return (e < 60 ? n + (r - n) * e / 60 : e < 180 ? r : e < 240 ? n + (r - n) * (240 - e) / 60 : n) * 255;
373
+ }
374
+ const j = (e) => () => e;
375
+ function ee(e, n) {
376
+ return function(r) {
377
+ return e + r * n;
378
+ };
379
+ }
380
+ function qe(e, n, r) {
381
+ return e = Math.pow(e, r), n = Math.pow(n, r) - e, r = 1 / r, function(t) {
382
+ return Math.pow(e + t * n, r);
383
+ };
384
+ }
385
+ function rn(e, n) {
386
+ var r = n - e;
387
+ return r ? ee(e, r > 180 || r < -180 ? r - 360 * Math.round(r / 360) : r) : j(isNaN(e) ? n : e);
388
+ }
389
+ function Ee(e) {
390
+ return (e = +e) == 1 ? ne : function(n, r) {
391
+ return r - n ? qe(n, r, e) : j(isNaN(n) ? r : n);
392
+ };
393
+ }
394
+ function ne(e, n) {
395
+ var r = n - e;
396
+ return r ? ee(e, r) : j(isNaN(e) ? n : e);
397
+ }
398
+ const U = (function e(n) {
399
+ var r = Ee(n);
400
+ function t(i, o) {
401
+ var f = r((i = z(i)).r, (o = z(o)).r), a = r(i.g, o.g), c = r(i.b, o.b), u = ne(i.opacity, o.opacity);
402
+ return function(l) {
403
+ return i.r = f(l), i.g = a(l), i.b = c(l), i.opacity = u(l), i + "";
404
+ };
405
+ }
406
+ return t.gamma = e, t;
407
+ })(1);
408
+ function Ie(e, n) {
409
+ n || (n = []);
410
+ var r = e ? Math.min(n.length, e.length) : 0, t = n.slice(), i;
411
+ return function(o) {
412
+ for (i = 0; i < r; ++i) t[i] = e[i] * (1 - o) + n[i] * o;
413
+ return t;
414
+ };
415
+ }
416
+ function je(e) {
417
+ return ArrayBuffer.isView(e) && !(e instanceof DataView);
418
+ }
419
+ function Pe(e, n) {
420
+ var r = n ? n.length : 0, t = e ? Math.min(r, e.length) : 0, i = new Array(t), o = new Array(r), f;
421
+ for (f = 0; f < t; ++f) i[f] = D(e[f], n[f]);
422
+ for (; f < r; ++f) o[f] = n[f];
423
+ return function(a) {
424
+ for (f = 0; f < t; ++f) o[f] = i[f](a);
425
+ return o;
426
+ };
427
+ }
428
+ function Se(e, n) {
429
+ var r = /* @__PURE__ */ new Date();
430
+ return e = +e, n = +n, function(t) {
431
+ return r.setTime(e * (1 - t) + n * t), r;
432
+ };
433
+ }
434
+ function I(e, n) {
435
+ return e = +e, n = +n, function(r) {
436
+ return e * (1 - r) + n * r;
437
+ };
438
+ }
439
+ function _e(e, n) {
440
+ var r = {}, t = {}, i;
441
+ (e === null || typeof e != "object") && (e = {}), (n === null || typeof n != "object") && (n = {});
442
+ for (i in n)
443
+ i in e ? r[i] = D(e[i], n[i]) : t[i] = n[i];
444
+ return function(o) {
445
+ for (i in r) t[i] = r[i](o);
446
+ return t;
447
+ };
448
+ }
449
+ var C = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, S = new RegExp(C.source, "g");
450
+ function ze(e) {
451
+ return function() {
452
+ return e;
453
+ };
454
+ }
455
+ function Ce(e) {
456
+ return function(n) {
457
+ return e(n) + "";
458
+ };
459
+ }
460
+ function Oe(e, n) {
461
+ var r = C.lastIndex = S.lastIndex = 0, t, i, o, f = -1, a = [], c = [];
462
+ for (e = e + "", n = n + ""; (t = C.exec(e)) && (i = S.exec(n)); )
463
+ (o = i.index) > r && (o = n.slice(r, o), a[f] ? a[f] += o : a[++f] = o), (t = t[0]) === (i = i[0]) ? a[f] ? a[f] += i : a[++f] = i : (a[++f] = null, c.push({ i: f, x: I(t, i) })), r = S.lastIndex;
464
+ return r < n.length && (o = n.slice(r), a[f] ? a[f] += o : a[++f] = o), a.length < 2 ? c[0] ? Ce(c[0].x) : ze(n) : (n = c.length, function(u) {
465
+ for (var l = 0, s; l < n; ++l) a[(s = c[l]).i] = s.x(u);
466
+ return a.join("");
467
+ });
468
+ }
469
+ function D(e, n) {
470
+ var r = typeof n, t;
471
+ return n == null || r === "boolean" ? j(n) : (r === "number" ? I : r === "string" ? (t = v(n)) ? (n = t, U) : Oe : n instanceof v ? U : n instanceof Date ? Se : je(n) ? Ie : Array.isArray(n) ? Pe : typeof n.valueOf != "function" && typeof n.toString != "function" || isNaN(n) ? _e : I)(e, n);
472
+ }
473
+ function Be(e, n) {
474
+ return e = +e, n = +n, function(r) {
475
+ return Math.round(e * (1 - r) + n * r);
476
+ };
477
+ }
478
+ function De(e) {
479
+ return Math.max(0, -y(Math.abs(e)));
480
+ }
481
+ function Fe(e, n) {
482
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(y(n) / 3))) * 3 - y(Math.abs(e)));
483
+ }
484
+ function Ve(e, n) {
485
+ return e = Math.abs(e), n = Math.abs(n) - e, Math.max(0, y(n) - y(e)) + 1;
486
+ }
487
+ function Ge(e) {
488
+ return function() {
489
+ return e;
490
+ };
491
+ }
492
+ function Le(e) {
493
+ return +e;
494
+ }
495
+ var W = [0, 1];
496
+ function b(e) {
497
+ return e;
498
+ }
499
+ function O(e, n) {
500
+ return (n -= e = +e) ? function(r) {
501
+ return (r - e) / n;
502
+ } : Ge(isNaN(n) ? NaN : 0.5);
503
+ }
504
+ function Te(e, n) {
505
+ var r;
506
+ return e > n && (r = e, e = n, n = r), function(t) {
507
+ return Math.max(e, Math.min(n, t));
508
+ };
509
+ }
510
+ function Je(e, n, r) {
511
+ var t = e[0], i = e[1], o = n[0], f = n[1];
512
+ return i < t ? (t = O(i, t), o = r(f, o)) : (t = O(t, i), o = r(o, f)), function(a) {
513
+ return o(t(a));
514
+ };
515
+ }
516
+ function Ke(e, n, r) {
517
+ var t = Math.min(e.length, n.length) - 1, i = new Array(t), o = new Array(t), f = -1;
518
+ for (e[t] < e[0] && (e = e.slice().reverse(), n = n.slice().reverse()); ++f < t; )
519
+ i[f] = O(e[f], e[f + 1]), o[f] = r(n[f], n[f + 1]);
520
+ return function(a) {
521
+ var c = se(e, a, 1, t) - 1;
522
+ return o[c](i[c](a));
523
+ };
524
+ }
525
+ function Qe(e, n) {
526
+ return n.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
527
+ }
528
+ function Ue() {
529
+ var e = W, n = W, r = D, t, i, o, f = b, a, c, u;
530
+ function l() {
531
+ var h = Math.min(e.length, n.length);
532
+ return f !== b && (f = Te(e[0], e[h - 1])), a = h > 2 ? Ke : Je, c = u = null, s;
533
+ }
534
+ function s(h) {
535
+ return h == null || isNaN(h = +h) ? o : (c || (c = a(e.map(t), n, r)))(t(f(h)));
536
+ }
537
+ return s.invert = function(h) {
538
+ return f(i((u || (u = a(n, e.map(t), I)))(h)));
539
+ }, s.domain = function(h) {
540
+ return arguments.length ? (e = Array.from(h, Le), l()) : e.slice();
541
+ }, s.range = function(h) {
542
+ return arguments.length ? (n = Array.from(h), l()) : n.slice();
543
+ }, s.rangeRound = function(h) {
544
+ return n = Array.from(h), r = Be, l();
545
+ }, s.clamp = function(h) {
546
+ return arguments.length ? (f = h ? !0 : b, l()) : f !== b;
547
+ }, s.interpolate = function(h) {
548
+ return arguments.length ? (r = h, l()) : r;
549
+ }, s.unknown = function(h) {
550
+ return arguments.length ? (o = h, s) : o;
551
+ }, function(h, re) {
552
+ return t = h, i = re, l();
553
+ };
554
+ }
555
+ function We() {
556
+ return Ue()(b, b);
557
+ }
558
+ function Xe(e, n, r, t) {
559
+ var i = me(e, n, r), o;
560
+ switch (t = ie(t ?? ",f"), t.type) {
561
+ case "s": {
562
+ var f = Math.max(Math.abs(e), Math.abs(n));
563
+ return t.precision == null && !isNaN(o = Fe(i, f)) && (t.precision = o), fe(t, f);
564
+ }
565
+ case "":
566
+ case "e":
567
+ case "g":
568
+ case "p":
569
+ case "r": {
570
+ t.precision == null && !isNaN(o = Ve(i, Math.max(Math.abs(e), Math.abs(n)))) && (t.precision = o - (t.type === "e"));
571
+ break;
572
+ }
573
+ case "f":
574
+ case "%": {
575
+ t.precision == null && !isNaN(o = De(i)) && (t.precision = o - (t.type === "%") * 2);
576
+ break;
577
+ }
578
+ }
579
+ return ae(t);
580
+ }
581
+ function Ye(e) {
582
+ var n = e.domain;
583
+ return e.ticks = function(r) {
584
+ var t = n();
585
+ return de(t[0], t[t.length - 1], r ?? 10);
586
+ }, e.tickFormat = function(r, t) {
587
+ var i = n();
588
+ return Xe(i[0], i[i.length - 1], r ?? 10, t);
589
+ }, e.nice = function(r) {
590
+ r == null && (r = 10);
591
+ var t = n(), i = 0, o = t.length - 1, f = t[i], a = t[o], c, u, l = 10;
592
+ for (a < f && (u = f, f = a, a = u, u = i, i = o, o = u); l-- > 0; ) {
593
+ if (u = _(f, a, r), u === c)
594
+ return t[i] = f, t[o] = a, n(t);
595
+ if (u > 0)
596
+ f = Math.floor(f / u) * u, a = Math.ceil(a / u) * u;
597
+ else if (u < 0)
598
+ f = Math.ceil(f * u) / u, a = Math.floor(a * u) / u;
599
+ else
600
+ break;
601
+ c = u;
602
+ }
603
+ return e;
604
+ }, e;
605
+ }
606
+ function Ze() {
607
+ var e = We();
608
+ return e.copy = function() {
609
+ return Qe(e, Ze());
610
+ }, te.apply(e, arguments), Ye(e);
611
+ }
612
+ export {
613
+ $ as Color,
614
+ x as Rgb,
615
+ X as bisector,
616
+ We as continuous,
617
+ Qe as copy,
618
+ B as define,
619
+ Y as extend,
620
+ rn as hue,
621
+ Ze as linear,
622
+ ne as nogamma,
623
+ Re as rgbConvert,
624
+ me as tickStep
625
+ };