@caspian2026/agent-sdk 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gateway/index.js +98 -22
- package/dist/gateway/worker.js +196 -47
- package/dist/sdk/query.cjs +2 -362
- package/dist/sdk/query.js +2 -367
- package/package.json +4 -6
- package/dist/chunk-05kvhzd7.js +0 -3561
- package/dist/chunk-07069jq1.js +0 -30
- package/dist/chunk-0731m51q.js +0 -8
- package/dist/chunk-08bspa4b.js +0 -673
- package/dist/chunk-0brkf8q8.js +0 -89
- package/dist/chunk-0n843xh7.js +0 -261
- package/dist/chunk-0nbp5jwx.js +0 -8583
- package/dist/chunk-0nj16az9.js +0 -169
- package/dist/chunk-0paqc2yw.js +0 -15
- package/dist/chunk-0q6b50ps.js +0 -111
- package/dist/chunk-0r5bb9j4.js +0 -477
- package/dist/chunk-0rpz1wgn.js +0 -1030
- package/dist/chunk-0t81d427.js +0 -41
- package/dist/chunk-0vaw02wq.js +0 -24
- package/dist/chunk-0vkfrmqm.js +0 -690
- package/dist/chunk-0vp3wfab.js +0 -12
- package/dist/chunk-0vr10742.js +0 -1809
- package/dist/chunk-0xjaqda8.js +0 -1124
- package/dist/chunk-13ehyphg.js +0 -223
- package/dist/chunk-15jsw9bb.js +0 -349
- package/dist/chunk-16m7eyyw.js +0 -1385
- package/dist/chunk-1ae3nt9j.js +0 -31
- package/dist/chunk-1gq4r3v1.js +0 -308
- package/dist/chunk-1gx78081.js +0 -66
- package/dist/chunk-1h2famwb.js +0 -49
- package/dist/chunk-1n546sfg.js +0 -200
- package/dist/chunk-1qg06d60.js +0 -494
- package/dist/chunk-1t0rqstn.js +0 -146
- package/dist/chunk-1z8p2eqd.js +0 -40
- package/dist/chunk-1zjh9cc5.js +0 -266
- package/dist/chunk-20ahkkrb.js +0 -132
- package/dist/chunk-21pbfch8.js +0 -105
- package/dist/chunk-26wtxbdc.js +0 -13870
- package/dist/chunk-2fwze72g.js +0 -24
- package/dist/chunk-2gcbr1c7.js +0 -107
- package/dist/chunk-2grc1yr8.js +0 -654
- package/dist/chunk-2gzv8nrw.js +0 -205
- package/dist/chunk-2r212cvt.js +0 -253
- package/dist/chunk-2s74bt6e.js +0 -317
- package/dist/chunk-2v385w7r.js +0 -7422
- package/dist/chunk-2wtkvpp2.js +0 -167
- package/dist/chunk-31rsspfr.js +0 -418
- package/dist/chunk-3c25bcsw.js +0 -17
- package/dist/chunk-3jm08aaw.js +0 -91
- package/dist/chunk-3mgywd32.js +0 -8
- package/dist/chunk-3nk79af8.js +0 -8
- package/dist/chunk-3v4sk2py.js +0 -101
- package/dist/chunk-3vwft0eh.js +0 -349
- package/dist/chunk-3vy1jt9p.js +0 -1010
- package/dist/chunk-3wvqzq9w.js +0 -92
- package/dist/chunk-3wvv2s8d.js +0 -336
- package/dist/chunk-4060b3s2.js +0 -108
- package/dist/chunk-434e0vh4.js +0 -275
- package/dist/chunk-46dm23zs.js +0 -344
- package/dist/chunk-4bh4qs70.js +0 -209
- package/dist/chunk-4cxzbqws.js +0 -94
- package/dist/chunk-4jm600zv.js +0 -13
- package/dist/chunk-4k9d7gxv.js +0 -118
- package/dist/chunk-4nc3t6ms.js +0 -396
- package/dist/chunk-4pbx3g7s.js +0 -26
- package/dist/chunk-4qhh8bpa.js +0 -54
- package/dist/chunk-4v63px9y.js +0 -133
- package/dist/chunk-4xnnzt3j.js +0 -74
- package/dist/chunk-4zchh01h.js +0 -201
- package/dist/chunk-5216fha8.js +0 -1163
- package/dist/chunk-55raexh7.js +0 -14358
- package/dist/chunk-5bffhf64.js +0 -81
- package/dist/chunk-5ccdsxgy.js +0 -74
- package/dist/chunk-5ddh2hyn.js +0 -91
- package/dist/chunk-5e6ncq5j.js +0 -61
- package/dist/chunk-5ekyhb1w.js +0 -422
- package/dist/chunk-5fy4r8rv.js +0 -52
- package/dist/chunk-5h5kx2jd.js +0 -34
- package/dist/chunk-5mbgdvyz.js +0 -847
- package/dist/chunk-5n1jc02d.js +0 -87
- package/dist/chunk-5pysjah8.js +0 -1543
- package/dist/chunk-5ssfz438.js +0 -323
- package/dist/chunk-5z28bqne.js +0 -6748
- package/dist/chunk-603y0mmg.js +0 -50
- package/dist/chunk-62v5kkff.js +0 -90
- package/dist/chunk-64c1avct.js +0 -13
- package/dist/chunk-64r16v22.js +0 -162
- package/dist/chunk-64smdx4a.js +0 -418
- package/dist/chunk-66zry909.js +0 -11
- package/dist/chunk-68ffk5qa.js +0 -14
- package/dist/chunk-69n11zng.js +0 -436
- package/dist/chunk-6dj5t602.js +0 -341
- package/dist/chunk-6dngjwkh.js +0 -63
- package/dist/chunk-6nsd9606.js +0 -790
- package/dist/chunk-6pkh8frk.js +0 -253
- package/dist/chunk-6qcmt5eb.js +0 -251
- package/dist/chunk-6ww7451s.js +0 -60
- package/dist/chunk-6xgb0kqz.js +0 -90
- package/dist/chunk-72ys9m07.js +0 -121
- package/dist/chunk-741sgvtx.js +0 -121
- package/dist/chunk-7aw745vx.js +0 -40175
- package/dist/chunk-7c8b8cfb.js +0 -219
- package/dist/chunk-7mwt4e1z.js +0 -234
- package/dist/chunk-7sgtxrsc.js +0 -1059
- package/dist/chunk-7wm5s02e.js +0 -216
- package/dist/chunk-7xyswgjh.js +0 -8
- package/dist/chunk-80a197ez.js +0 -1438
- package/dist/chunk-83hfzbx3.js +0 -10
- package/dist/chunk-8akrsgad.js +0 -55
- package/dist/chunk-8g5pe1gr.js +0 -37
- package/dist/chunk-8s07t4k7.js +0 -40
- package/dist/chunk-8yhf030a.js +0 -69
- package/dist/chunk-928tzaa8.js +0 -107
- package/dist/chunk-949pjzj9.js +0 -266
- package/dist/chunk-9aycd4z9.js +0 -490
- package/dist/chunk-9bzqvsz5.js +0 -211
- package/dist/chunk-9q3xfy27.js +0 -460
- package/dist/chunk-9vzg1360.js +0 -153
- package/dist/chunk-9wbh8n1y.js +0 -63
- package/dist/chunk-9x5zgy22.js +0 -12
- package/dist/chunk-9zdj4ypz.js +0 -206
- package/dist/chunk-a0bvcgyd.js +0 -127
- package/dist/chunk-a4m3yr2q.js +0 -117
- package/dist/chunk-a8jd4gee.js +0 -227
- package/dist/chunk-ase86y73.js +0 -15
- package/dist/chunk-atfzpm6r.js +0 -325
- package/dist/chunk-awqsddp2.js +0 -338
- package/dist/chunk-awrgzpk6.js +0 -29
- package/dist/chunk-b0kf00ff.js +0 -637
- package/dist/chunk-b1kcd3ss.js +0 -27
- package/dist/chunk-b4hy21c4.js +0 -140
- package/dist/chunk-b9mkm8mg.js +0 -111
- package/dist/chunk-bdjx14rd.js +0 -594
- package/dist/chunk-bfb41q9h.js +0 -295
- package/dist/chunk-bg4x9ex0.js +0 -21
- package/dist/chunk-bh5zqvyc.js +0 -36
- package/dist/chunk-bn0zv2y2.js +0 -1154
- package/dist/chunk-bn7t681c.js +0 -2669
- package/dist/chunk-br4wgffc.js +0 -393
- package/dist/chunk-brjd9zmk.js +0 -42
- package/dist/chunk-byfawrfx.js +0 -121
- package/dist/chunk-c6sjhj89.js +0 -1284
- package/dist/chunk-c7jwbe76.js +0 -29030
- package/dist/chunk-cdef9v7b.js +0 -27
- package/dist/chunk-cdz5yb0r.js +0 -57
- package/dist/chunk-cevq1787.js +0 -2718
- package/dist/chunk-cgfdkzhb.js +0 -12
- package/dist/chunk-cgqw4x5z.js +0 -155
- package/dist/chunk-cmmmc8e0.js +0 -212
- package/dist/chunk-cnsj3vq2.js +0 -35
- package/dist/chunk-cxrktb5g.js +0 -51
- package/dist/chunk-cyhrb0bk.js +0 -251
- package/dist/chunk-d23rmn8r.js +0 -62
- package/dist/chunk-d4mdda98.js +0 -94
- package/dist/chunk-dcwp94cj.js +0 -152
- package/dist/chunk-ddsjkqs4.js +0 -39
- package/dist/chunk-ddv56j39.js +0 -148
- package/dist/chunk-dfq6pbq7.js +0 -5822
- package/dist/chunk-dfzkwynj.js +0 -5368
- package/dist/chunk-dkgkd8b7.js +0 -516
- package/dist/chunk-dpnmf0pq.js +0 -312
- package/dist/chunk-dygx7vcc.js +0 -226
- package/dist/chunk-e0abab5b.js +0 -445
- package/dist/chunk-e5qhvhjy.js +0 -168
- package/dist/chunk-e60y6r1n.js +0 -20
- package/dist/chunk-e68kgvcq.js +0 -79
- package/dist/chunk-e9w9zc0g.js +0 -392
- package/dist/chunk-ecj9w6tm.js +0 -558
- package/dist/chunk-ehtwnxpg.js +0 -1591
- package/dist/chunk-eqp1rfft.js +0 -17
- package/dist/chunk-etdt1xz3.js +0 -19
- package/dist/chunk-ewadzrm8.js +0 -103
- package/dist/chunk-f03s83vj.js +0 -91
- package/dist/chunk-f3kk0p3s.js +0 -150
- package/dist/chunk-f3pjerx4.js +0 -4265
- package/dist/chunk-f6h5weh6.js +0 -61
- package/dist/chunk-fajg8x36.js +0 -8158
- package/dist/chunk-fbv4apne.js +0 -51
- package/dist/chunk-fcynwjpm.js +0 -1072
- package/dist/chunk-fdvaf6nn.js +0 -20
- package/dist/chunk-feyzykye.js +0 -10
- package/dist/chunk-ff85rwvc.js +0 -180
- package/dist/chunk-fqak69ft.js +0 -458
- package/dist/chunk-fxdkbabd.js +0 -195
- package/dist/chunk-fyc5fepv.js +0 -10
- package/dist/chunk-g78c6ztj.js +0 -89
- package/dist/chunk-g8ee7yza.js +0 -105
- package/dist/chunk-g9f19ttm.js +0 -15
- package/dist/chunk-gcktsbxb.js +0 -77
- package/dist/chunk-gdwdqewd.js +0 -19
- package/dist/chunk-gg55fns0.js +0 -6440
- package/dist/chunk-gnpt1t6q.js +0 -209364
- package/dist/chunk-gsbw2j2b.js +0 -276
- package/dist/chunk-gybt680f.js +0 -9114
- package/dist/chunk-gz1e8y1w.js +0 -33
- package/dist/chunk-gz7vn2gg.js +0 -114
- package/dist/chunk-h0d5eat0.js +0 -101
- package/dist/chunk-h27tjbp3.js +0 -33118
- package/dist/chunk-h2yy8k4c.js +0 -58
- package/dist/chunk-h5acpdqt.js +0 -103
- package/dist/chunk-h63r8vps.js +0 -2840
- package/dist/chunk-h64x5b04.js +0 -860
- package/dist/chunk-h92snc84.js +0 -420
- package/dist/chunk-h9n54swm.js +0 -27
- package/dist/chunk-hafcrnpc.js +0 -145
- package/dist/chunk-hakdhagh.js +0 -16606
- package/dist/chunk-hk4phsaw.js +0 -388
- package/dist/chunk-hph1bmqw.js +0 -65
- package/dist/chunk-hvnztnp3.js +0 -71
- package/dist/chunk-hwfknpxv.js +0 -39
- package/dist/chunk-j2xxd002.js +0 -1052
- package/dist/chunk-j3qbygme.js +0 -105
- package/dist/chunk-j5bth84e.js +0 -97
- package/dist/chunk-j64ga6ta.js +0 -8035
- package/dist/chunk-jbwgyskk.js +0 -385
- package/dist/chunk-jd32zbps.js +0 -15
- package/dist/chunk-jdhkh2bb.js +0 -618
- package/dist/chunk-jeqcwgt7.js +0 -177
- package/dist/chunk-jf75p9ap.js +0 -445
- package/dist/chunk-jgvk0za1.js +0 -260
- package/dist/chunk-jhpaevah.js +0 -565
- package/dist/chunk-jmjwrbwd.js +0 -635
- package/dist/chunk-jpdbfwvq.js +0 -100
- package/dist/chunk-jps4m6sz.js +0 -183
- package/dist/chunk-jwf0s51s.js +0 -867
- package/dist/chunk-jxge4dgh.js +0 -83
- package/dist/chunk-jz71gv95.js +0 -1161
- package/dist/chunk-jzthz1bx.js +0 -15
- package/dist/chunk-jzvd2ycp.js +0 -120
- package/dist/chunk-k0p9w03v.js +0 -4957
- package/dist/chunk-k4dcreh0.js +0 -442
- package/dist/chunk-k7akhwkn.js +0 -151
- package/dist/chunk-k8vp0atq.js +0 -2331
- package/dist/chunk-kgd7gfvk.js +0 -407
- package/dist/chunk-km5ycg1j.js +0 -87
- package/dist/chunk-kvyrxzj8.js +0 -26
- package/dist/chunk-kwekc97v.js +0 -18
- package/dist/chunk-ky1z78ve.js +0 -119
- package/dist/chunk-mcws22k3.js +0 -42
- package/dist/chunk-mjazvyd8.js +0 -528
- package/dist/chunk-mswx2nma.js +0 -103
- package/dist/chunk-mz6a0phh.js +0 -2962
- package/dist/chunk-n2tg12hg.js +0 -374
- package/dist/chunk-n3fv4ya7.js +0 -146
- package/dist/chunk-n4eabmqd.js +0 -93
- package/dist/chunk-n4tx7baq.js +0 -193
- package/dist/chunk-n6g4jbeh.js +0 -289
- package/dist/chunk-n6wzfxf1.js +0 -100
- package/dist/chunk-ndcmqfkv.js +0 -244
- package/dist/chunk-netzwgv1.js +0 -154
- package/dist/chunk-nhcg04jt.js +0 -120
- package/dist/chunk-nhsm3ntd.js +0 -439
- package/dist/chunk-njev89d1.js +0 -2335
- package/dist/chunk-nmgj86tt.js +0 -24
- package/dist/chunk-ns7x6xam.js +0 -22820
- package/dist/chunk-p7vkh4wx.js +0 -15
- package/dist/chunk-p8na2wwp.js +0 -14
- package/dist/chunk-p97fd5af.js +0 -684
- package/dist/chunk-pe3rkfp2.js +0 -74
- package/dist/chunk-pgtnj1mt.js +0 -705
- package/dist/chunk-phmnkw9y.js +0 -283
- package/dist/chunk-pnds7g1q.js +0 -130
- package/dist/chunk-ppwjyveh.js +0 -8
- package/dist/chunk-pqqxdk5f.js +0 -543
- package/dist/chunk-ps49ymvj.js +0 -43
- package/dist/chunk-pwwa7s62.js +0 -11
- package/dist/chunk-q3hfrat2.js +0 -313
- package/dist/chunk-qajrkk97.js +0 -298
- package/dist/chunk-qatfdxvd.js +0 -34
- package/dist/chunk-qb5qcctj.js +0 -206
- package/dist/chunk-qb6k2afy.js +0 -153
- package/dist/chunk-qgk93a75.js +0 -85
- package/dist/chunk-qkczt8cr.js +0 -24
- package/dist/chunk-qn1be1vf.js +0 -267
- package/dist/chunk-qnfx3qtx.js +0 -617
- package/dist/chunk-qnwne2m4.js +0 -87
- package/dist/chunk-qp2qdcda.js +0 -100
- package/dist/chunk-qpp3wwh5.js +0 -697
- package/dist/chunk-r0bx1gc7.js +0 -174
- package/dist/chunk-radnwk8x.js +0 -107
- package/dist/chunk-rkv5jq0y.js +0 -71
- package/dist/chunk-rmbbmd3s.js +0 -68
- package/dist/chunk-rmgbs5an.js +0 -640
- package/dist/chunk-rn0v1hk8.js +0 -34
- package/dist/chunk-rnxctq9p.js +0 -1646
- package/dist/chunk-rtd39n81.js +0 -95
- package/dist/chunk-s8gy4ky9.js +0 -122
- package/dist/chunk-s8kj6ajy.js +0 -32
- package/dist/chunk-sd36yzx8.js +0 -954
- package/dist/chunk-sdenh194.js +0 -121
- package/dist/chunk-sdtqp75c.js +0 -55
- package/dist/chunk-sedbc8ep.js +0 -212
- package/dist/chunk-sfrb15b2.js +0 -321
- package/dist/chunk-sgpmpn90.js +0 -35
- package/dist/chunk-sh02d2qn.js +0 -38
- package/dist/chunk-shd4yhsf.js +0 -32
- package/dist/chunk-shkycj1q.js +0 -178
- package/dist/chunk-sk7h93je.js +0 -153
- package/dist/chunk-sm8g6fsm.js +0 -122
- package/dist/chunk-snrjy66h.js +0 -671
- package/dist/chunk-sq4a0yjh.js +0 -116
- package/dist/chunk-sr3t4thh.js +0 -895
- package/dist/chunk-srj6qnf6.js +0 -107
- package/dist/chunk-sz62n77p.js +0 -155
- package/dist/chunk-szj5wvdy.js +0 -28
- package/dist/chunk-t29a6zb5.js +0 -45
- package/dist/chunk-t2ecddwj.js +0 -731
- package/dist/chunk-t33hmmmm.js +0 -113
- package/dist/chunk-t4khqff1.js +0 -16
- package/dist/chunk-t9p85zff.js +0 -24
- package/dist/chunk-ta3jyvxs.js +0 -984
- package/dist/chunk-tkx5eec8.js +0 -54
- package/dist/chunk-v1kzp02e.js +0 -785
- package/dist/chunk-v4t6dyyh.js +0 -9076
- package/dist/chunk-v78fj8by.js +0 -145
- package/dist/chunk-v8kjswxt.js +0 -61
- package/dist/chunk-v9smspw2.js +0 -4301
- package/dist/chunk-vf612n57.js +0 -472
- package/dist/chunk-vkhrrvfq.js +0 -44
- package/dist/chunk-vt5wm07k.js +0 -74
- package/dist/chunk-vvvrv61g.js +0 -875
- package/dist/chunk-vyjeh50y.js +0 -2149
- package/dist/chunk-w0kxcv73.js +0 -97
- package/dist/chunk-w6m6trzq.js +0 -58
- package/dist/chunk-wa8yn2p0.js +0 -2007
- package/dist/chunk-wb18cecv.js +0 -995
- package/dist/chunk-wgk9sxk7.js +0 -329
- package/dist/chunk-wh0ev1bw.js +0 -111
- package/dist/chunk-wka1647p.js +0 -98
- package/dist/chunk-wnwfwyj4.js +0 -90
- package/dist/chunk-wpdchyy2.js +0 -97
- package/dist/chunk-x3g44n7k.js +0 -114
- package/dist/chunk-x47h283a.js +0 -56
- package/dist/chunk-x6r4v44b.js +0 -8
- package/dist/chunk-x7fdwq3d.js +0 -33
- package/dist/chunk-x8d2ehd7.js +0 -19
- package/dist/chunk-xbeg2hej.js +0 -257
- package/dist/chunk-xeb6075z.js +0 -3435
- package/dist/chunk-xhfmdq1y.js +0 -147
- package/dist/chunk-xhscn33a.js +0 -138
- package/dist/chunk-xv3era3s.js +0 -8
- package/dist/chunk-xz5gbhc3.js +0 -93
- package/dist/chunk-y1784krc.js +0 -19
- package/dist/chunk-y1vyezct.js +0 -123
- package/dist/chunk-y45ecntg.js +0 -942
- package/dist/chunk-y4ca9kqz.js +0 -3830
- package/dist/chunk-y9bhjjdz.js +0 -145
- package/dist/chunk-yb3bxv3w.js +0 -30
- package/dist/chunk-ye2q9gqj.js +0 -332
- package/dist/chunk-yfg3adfq.js +0 -88
- package/dist/chunk-yst0wmgw.js +0 -269
- package/dist/chunk-ywe9dbnz.js +0 -460
- package/dist/chunk-yyex5gsf.js +0 -269
- package/dist/chunk-yz2kzqk5.js +0 -439
- package/dist/chunk-z263ehpg.js +0 -131
- package/dist/chunk-z2dp53wn.js +0 -17
- package/dist/chunk-zaq348h2.js +0 -281
- package/dist/chunk-zr0qx9q0.js +0 -642
- package/dist/chunk-zxh62ved.js +0 -31
- package/dist/chunk-zy5vn8sd.js +0 -329
- package/dist/chunk-zzm33q8x.js +0 -8
- package/dist/cli.js +0 -91
package/dist/chunk-sd36yzx8.js
DELETED
|
@@ -1,954 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
__commonJS
|
|
4
|
-
} from "./chunk-qp2qdcda.js";
|
|
5
|
-
|
|
6
|
-
// node_modules/.bun/color-name@1.1.4/node_modules/color-name/index.js
|
|
7
|
-
var require_color_name = __commonJS((exports, module) => {
|
|
8
|
-
module.exports = {
|
|
9
|
-
aliceblue: [240, 248, 255],
|
|
10
|
-
antiquewhite: [250, 235, 215],
|
|
11
|
-
aqua: [0, 255, 255],
|
|
12
|
-
aquamarine: [127, 255, 212],
|
|
13
|
-
azure: [240, 255, 255],
|
|
14
|
-
beige: [245, 245, 220],
|
|
15
|
-
bisque: [255, 228, 196],
|
|
16
|
-
black: [0, 0, 0],
|
|
17
|
-
blanchedalmond: [255, 235, 205],
|
|
18
|
-
blue: [0, 0, 255],
|
|
19
|
-
blueviolet: [138, 43, 226],
|
|
20
|
-
brown: [165, 42, 42],
|
|
21
|
-
burlywood: [222, 184, 135],
|
|
22
|
-
cadetblue: [95, 158, 160],
|
|
23
|
-
chartreuse: [127, 255, 0],
|
|
24
|
-
chocolate: [210, 105, 30],
|
|
25
|
-
coral: [255, 127, 80],
|
|
26
|
-
cornflowerblue: [100, 149, 237],
|
|
27
|
-
cornsilk: [255, 248, 220],
|
|
28
|
-
crimson: [220, 20, 60],
|
|
29
|
-
cyan: [0, 255, 255],
|
|
30
|
-
darkblue: [0, 0, 139],
|
|
31
|
-
darkcyan: [0, 139, 139],
|
|
32
|
-
darkgoldenrod: [184, 134, 11],
|
|
33
|
-
darkgray: [169, 169, 169],
|
|
34
|
-
darkgreen: [0, 100, 0],
|
|
35
|
-
darkgrey: [169, 169, 169],
|
|
36
|
-
darkkhaki: [189, 183, 107],
|
|
37
|
-
darkmagenta: [139, 0, 139],
|
|
38
|
-
darkolivegreen: [85, 107, 47],
|
|
39
|
-
darkorange: [255, 140, 0],
|
|
40
|
-
darkorchid: [153, 50, 204],
|
|
41
|
-
darkred: [139, 0, 0],
|
|
42
|
-
darksalmon: [233, 150, 122],
|
|
43
|
-
darkseagreen: [143, 188, 143],
|
|
44
|
-
darkslateblue: [72, 61, 139],
|
|
45
|
-
darkslategray: [47, 79, 79],
|
|
46
|
-
darkslategrey: [47, 79, 79],
|
|
47
|
-
darkturquoise: [0, 206, 209],
|
|
48
|
-
darkviolet: [148, 0, 211],
|
|
49
|
-
deeppink: [255, 20, 147],
|
|
50
|
-
deepskyblue: [0, 191, 255],
|
|
51
|
-
dimgray: [105, 105, 105],
|
|
52
|
-
dimgrey: [105, 105, 105],
|
|
53
|
-
dodgerblue: [30, 144, 255],
|
|
54
|
-
firebrick: [178, 34, 34],
|
|
55
|
-
floralwhite: [255, 250, 240],
|
|
56
|
-
forestgreen: [34, 139, 34],
|
|
57
|
-
fuchsia: [255, 0, 255],
|
|
58
|
-
gainsboro: [220, 220, 220],
|
|
59
|
-
ghostwhite: [248, 248, 255],
|
|
60
|
-
gold: [255, 215, 0],
|
|
61
|
-
goldenrod: [218, 165, 32],
|
|
62
|
-
gray: [128, 128, 128],
|
|
63
|
-
green: [0, 128, 0],
|
|
64
|
-
greenyellow: [173, 255, 47],
|
|
65
|
-
grey: [128, 128, 128],
|
|
66
|
-
honeydew: [240, 255, 240],
|
|
67
|
-
hotpink: [255, 105, 180],
|
|
68
|
-
indianred: [205, 92, 92],
|
|
69
|
-
indigo: [75, 0, 130],
|
|
70
|
-
ivory: [255, 255, 240],
|
|
71
|
-
khaki: [240, 230, 140],
|
|
72
|
-
lavender: [230, 230, 250],
|
|
73
|
-
lavenderblush: [255, 240, 245],
|
|
74
|
-
lawngreen: [124, 252, 0],
|
|
75
|
-
lemonchiffon: [255, 250, 205],
|
|
76
|
-
lightblue: [173, 216, 230],
|
|
77
|
-
lightcoral: [240, 128, 128],
|
|
78
|
-
lightcyan: [224, 255, 255],
|
|
79
|
-
lightgoldenrodyellow: [250, 250, 210],
|
|
80
|
-
lightgray: [211, 211, 211],
|
|
81
|
-
lightgreen: [144, 238, 144],
|
|
82
|
-
lightgrey: [211, 211, 211],
|
|
83
|
-
lightpink: [255, 182, 193],
|
|
84
|
-
lightsalmon: [255, 160, 122],
|
|
85
|
-
lightseagreen: [32, 178, 170],
|
|
86
|
-
lightskyblue: [135, 206, 250],
|
|
87
|
-
lightslategray: [119, 136, 153],
|
|
88
|
-
lightslategrey: [119, 136, 153],
|
|
89
|
-
lightsteelblue: [176, 196, 222],
|
|
90
|
-
lightyellow: [255, 255, 224],
|
|
91
|
-
lime: [0, 255, 0],
|
|
92
|
-
limegreen: [50, 205, 50],
|
|
93
|
-
linen: [250, 240, 230],
|
|
94
|
-
magenta: [255, 0, 255],
|
|
95
|
-
maroon: [128, 0, 0],
|
|
96
|
-
mediumaquamarine: [102, 205, 170],
|
|
97
|
-
mediumblue: [0, 0, 205],
|
|
98
|
-
mediumorchid: [186, 85, 211],
|
|
99
|
-
mediumpurple: [147, 112, 219],
|
|
100
|
-
mediumseagreen: [60, 179, 113],
|
|
101
|
-
mediumslateblue: [123, 104, 238],
|
|
102
|
-
mediumspringgreen: [0, 250, 154],
|
|
103
|
-
mediumturquoise: [72, 209, 204],
|
|
104
|
-
mediumvioletred: [199, 21, 133],
|
|
105
|
-
midnightblue: [25, 25, 112],
|
|
106
|
-
mintcream: [245, 255, 250],
|
|
107
|
-
mistyrose: [255, 228, 225],
|
|
108
|
-
moccasin: [255, 228, 181],
|
|
109
|
-
navajowhite: [255, 222, 173],
|
|
110
|
-
navy: [0, 0, 128],
|
|
111
|
-
oldlace: [253, 245, 230],
|
|
112
|
-
olive: [128, 128, 0],
|
|
113
|
-
olivedrab: [107, 142, 35],
|
|
114
|
-
orange: [255, 165, 0],
|
|
115
|
-
orangered: [255, 69, 0],
|
|
116
|
-
orchid: [218, 112, 214],
|
|
117
|
-
palegoldenrod: [238, 232, 170],
|
|
118
|
-
palegreen: [152, 251, 152],
|
|
119
|
-
paleturquoise: [175, 238, 238],
|
|
120
|
-
palevioletred: [219, 112, 147],
|
|
121
|
-
papayawhip: [255, 239, 213],
|
|
122
|
-
peachpuff: [255, 218, 185],
|
|
123
|
-
peru: [205, 133, 63],
|
|
124
|
-
pink: [255, 192, 203],
|
|
125
|
-
plum: [221, 160, 221],
|
|
126
|
-
powderblue: [176, 224, 230],
|
|
127
|
-
purple: [128, 0, 128],
|
|
128
|
-
rebeccapurple: [102, 51, 153],
|
|
129
|
-
red: [255, 0, 0],
|
|
130
|
-
rosybrown: [188, 143, 143],
|
|
131
|
-
royalblue: [65, 105, 225],
|
|
132
|
-
saddlebrown: [139, 69, 19],
|
|
133
|
-
salmon: [250, 128, 114],
|
|
134
|
-
sandybrown: [244, 164, 96],
|
|
135
|
-
seagreen: [46, 139, 87],
|
|
136
|
-
seashell: [255, 245, 238],
|
|
137
|
-
sienna: [160, 82, 45],
|
|
138
|
-
silver: [192, 192, 192],
|
|
139
|
-
skyblue: [135, 206, 235],
|
|
140
|
-
slateblue: [106, 90, 205],
|
|
141
|
-
slategray: [112, 128, 144],
|
|
142
|
-
slategrey: [112, 128, 144],
|
|
143
|
-
snow: [255, 250, 250],
|
|
144
|
-
springgreen: [0, 255, 127],
|
|
145
|
-
steelblue: [70, 130, 180],
|
|
146
|
-
tan: [210, 180, 140],
|
|
147
|
-
teal: [0, 128, 128],
|
|
148
|
-
thistle: [216, 191, 216],
|
|
149
|
-
tomato: [255, 99, 71],
|
|
150
|
-
turquoise: [64, 224, 208],
|
|
151
|
-
violet: [238, 130, 238],
|
|
152
|
-
wheat: [245, 222, 179],
|
|
153
|
-
white: [255, 255, 255],
|
|
154
|
-
whitesmoke: [245, 245, 245],
|
|
155
|
-
yellow: [255, 255, 0],
|
|
156
|
-
yellowgreen: [154, 205, 50]
|
|
157
|
-
};
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
// node_modules/.bun/color-convert@2.0.1/node_modules/color-convert/conversions.js
|
|
161
|
-
var require_conversions = __commonJS((exports, module) => {
|
|
162
|
-
var cssKeywords = require_color_name();
|
|
163
|
-
var reverseKeywords = {};
|
|
164
|
-
for (const key of Object.keys(cssKeywords)) {
|
|
165
|
-
reverseKeywords[cssKeywords[key]] = key;
|
|
166
|
-
}
|
|
167
|
-
var convert = {
|
|
168
|
-
rgb: { channels: 3, labels: "rgb" },
|
|
169
|
-
hsl: { channels: 3, labels: "hsl" },
|
|
170
|
-
hsv: { channels: 3, labels: "hsv" },
|
|
171
|
-
hwb: { channels: 3, labels: "hwb" },
|
|
172
|
-
cmyk: { channels: 4, labels: "cmyk" },
|
|
173
|
-
xyz: { channels: 3, labels: "xyz" },
|
|
174
|
-
lab: { channels: 3, labels: "lab" },
|
|
175
|
-
lch: { channels: 3, labels: "lch" },
|
|
176
|
-
hex: { channels: 1, labels: ["hex"] },
|
|
177
|
-
keyword: { channels: 1, labels: ["keyword"] },
|
|
178
|
-
ansi16: { channels: 1, labels: ["ansi16"] },
|
|
179
|
-
ansi256: { channels: 1, labels: ["ansi256"] },
|
|
180
|
-
hcg: { channels: 3, labels: ["h", "c", "g"] },
|
|
181
|
-
apple: { channels: 3, labels: ["r16", "g16", "b16"] },
|
|
182
|
-
gray: { channels: 1, labels: ["gray"] }
|
|
183
|
-
};
|
|
184
|
-
module.exports = convert;
|
|
185
|
-
for (const model of Object.keys(convert)) {
|
|
186
|
-
if (!("channels" in convert[model])) {
|
|
187
|
-
throw new Error("missing channels property: " + model);
|
|
188
|
-
}
|
|
189
|
-
if (!("labels" in convert[model])) {
|
|
190
|
-
throw new Error("missing channel labels property: " + model);
|
|
191
|
-
}
|
|
192
|
-
if (convert[model].labels.length !== convert[model].channels) {
|
|
193
|
-
throw new Error("channel and label counts mismatch: " + model);
|
|
194
|
-
}
|
|
195
|
-
const { channels, labels } = convert[model];
|
|
196
|
-
delete convert[model].channels;
|
|
197
|
-
delete convert[model].labels;
|
|
198
|
-
Object.defineProperty(convert[model], "channels", { value: channels });
|
|
199
|
-
Object.defineProperty(convert[model], "labels", { value: labels });
|
|
200
|
-
}
|
|
201
|
-
convert.rgb.hsl = function(rgb) {
|
|
202
|
-
const r = rgb[0] / 255;
|
|
203
|
-
const g = rgb[1] / 255;
|
|
204
|
-
const b = rgb[2] / 255;
|
|
205
|
-
const min = Math.min(r, g, b);
|
|
206
|
-
const max = Math.max(r, g, b);
|
|
207
|
-
const delta = max - min;
|
|
208
|
-
let h;
|
|
209
|
-
let s;
|
|
210
|
-
if (max === min) {
|
|
211
|
-
h = 0;
|
|
212
|
-
} else if (r === max) {
|
|
213
|
-
h = (g - b) / delta;
|
|
214
|
-
} else if (g === max) {
|
|
215
|
-
h = 2 + (b - r) / delta;
|
|
216
|
-
} else if (b === max) {
|
|
217
|
-
h = 4 + (r - g) / delta;
|
|
218
|
-
}
|
|
219
|
-
h = Math.min(h * 60, 360);
|
|
220
|
-
if (h < 0) {
|
|
221
|
-
h += 360;
|
|
222
|
-
}
|
|
223
|
-
const l = (min + max) / 2;
|
|
224
|
-
if (max === min) {
|
|
225
|
-
s = 0;
|
|
226
|
-
} else if (l <= 0.5) {
|
|
227
|
-
s = delta / (max + min);
|
|
228
|
-
} else {
|
|
229
|
-
s = delta / (2 - max - min);
|
|
230
|
-
}
|
|
231
|
-
return [h, s * 100, l * 100];
|
|
232
|
-
};
|
|
233
|
-
convert.rgb.hsv = function(rgb) {
|
|
234
|
-
let rdif;
|
|
235
|
-
let gdif;
|
|
236
|
-
let bdif;
|
|
237
|
-
let h;
|
|
238
|
-
let s;
|
|
239
|
-
const r = rgb[0] / 255;
|
|
240
|
-
const g = rgb[1] / 255;
|
|
241
|
-
const b = rgb[2] / 255;
|
|
242
|
-
const v = Math.max(r, g, b);
|
|
243
|
-
const diff = v - Math.min(r, g, b);
|
|
244
|
-
const diffc = function(c) {
|
|
245
|
-
return (v - c) / 6 / diff + 1 / 2;
|
|
246
|
-
};
|
|
247
|
-
if (diff === 0) {
|
|
248
|
-
h = 0;
|
|
249
|
-
s = 0;
|
|
250
|
-
} else {
|
|
251
|
-
s = diff / v;
|
|
252
|
-
rdif = diffc(r);
|
|
253
|
-
gdif = diffc(g);
|
|
254
|
-
bdif = diffc(b);
|
|
255
|
-
if (r === v) {
|
|
256
|
-
h = bdif - gdif;
|
|
257
|
-
} else if (g === v) {
|
|
258
|
-
h = 1 / 3 + rdif - bdif;
|
|
259
|
-
} else if (b === v) {
|
|
260
|
-
h = 2 / 3 + gdif - rdif;
|
|
261
|
-
}
|
|
262
|
-
if (h < 0) {
|
|
263
|
-
h += 1;
|
|
264
|
-
} else if (h > 1) {
|
|
265
|
-
h -= 1;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return [
|
|
269
|
-
h * 360,
|
|
270
|
-
s * 100,
|
|
271
|
-
v * 100
|
|
272
|
-
];
|
|
273
|
-
};
|
|
274
|
-
convert.rgb.hwb = function(rgb) {
|
|
275
|
-
const r = rgb[0];
|
|
276
|
-
const g = rgb[1];
|
|
277
|
-
let b = rgb[2];
|
|
278
|
-
const h = convert.rgb.hsl(rgb)[0];
|
|
279
|
-
const w = 1 / 255 * Math.min(r, Math.min(g, b));
|
|
280
|
-
b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
|
|
281
|
-
return [h, w * 100, b * 100];
|
|
282
|
-
};
|
|
283
|
-
convert.rgb.cmyk = function(rgb) {
|
|
284
|
-
const r = rgb[0] / 255;
|
|
285
|
-
const g = rgb[1] / 255;
|
|
286
|
-
const b = rgb[2] / 255;
|
|
287
|
-
const k = Math.min(1 - r, 1 - g, 1 - b);
|
|
288
|
-
const c = (1 - r - k) / (1 - k) || 0;
|
|
289
|
-
const m = (1 - g - k) / (1 - k) || 0;
|
|
290
|
-
const y = (1 - b - k) / (1 - k) || 0;
|
|
291
|
-
return [c * 100, m * 100, y * 100, k * 100];
|
|
292
|
-
};
|
|
293
|
-
function comparativeDistance(x, y) {
|
|
294
|
-
return (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2;
|
|
295
|
-
}
|
|
296
|
-
convert.rgb.keyword = function(rgb) {
|
|
297
|
-
const reversed = reverseKeywords[rgb];
|
|
298
|
-
if (reversed) {
|
|
299
|
-
return reversed;
|
|
300
|
-
}
|
|
301
|
-
let currentClosestDistance = Infinity;
|
|
302
|
-
let currentClosestKeyword;
|
|
303
|
-
for (const keyword of Object.keys(cssKeywords)) {
|
|
304
|
-
const value = cssKeywords[keyword];
|
|
305
|
-
const distance = comparativeDistance(rgb, value);
|
|
306
|
-
if (distance < currentClosestDistance) {
|
|
307
|
-
currentClosestDistance = distance;
|
|
308
|
-
currentClosestKeyword = keyword;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
return currentClosestKeyword;
|
|
312
|
-
};
|
|
313
|
-
convert.keyword.rgb = function(keyword) {
|
|
314
|
-
return cssKeywords[keyword];
|
|
315
|
-
};
|
|
316
|
-
convert.rgb.xyz = function(rgb) {
|
|
317
|
-
let r = rgb[0] / 255;
|
|
318
|
-
let g = rgb[1] / 255;
|
|
319
|
-
let b = rgb[2] / 255;
|
|
320
|
-
r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92;
|
|
321
|
-
g = g > 0.04045 ? ((g + 0.055) / 1.055) ** 2.4 : g / 12.92;
|
|
322
|
-
b = b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92;
|
|
323
|
-
const x = r * 0.4124 + g * 0.3576 + b * 0.1805;
|
|
324
|
-
const y = r * 0.2126 + g * 0.7152 + b * 0.0722;
|
|
325
|
-
const z = r * 0.0193 + g * 0.1192 + b * 0.9505;
|
|
326
|
-
return [x * 100, y * 100, z * 100];
|
|
327
|
-
};
|
|
328
|
-
convert.rgb.lab = function(rgb) {
|
|
329
|
-
const xyz = convert.rgb.xyz(rgb);
|
|
330
|
-
let x = xyz[0];
|
|
331
|
-
let y = xyz[1];
|
|
332
|
-
let z = xyz[2];
|
|
333
|
-
x /= 95.047;
|
|
334
|
-
y /= 100;
|
|
335
|
-
z /= 108.883;
|
|
336
|
-
x = x > 0.008856 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
|
|
337
|
-
y = y > 0.008856 ? y ** (1 / 3) : 7.787 * y + 16 / 116;
|
|
338
|
-
z = z > 0.008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
|
339
|
-
const l = 116 * y - 16;
|
|
340
|
-
const a = 500 * (x - y);
|
|
341
|
-
const b = 200 * (y - z);
|
|
342
|
-
return [l, a, b];
|
|
343
|
-
};
|
|
344
|
-
convert.hsl.rgb = function(hsl) {
|
|
345
|
-
const h = hsl[0] / 360;
|
|
346
|
-
const s = hsl[1] / 100;
|
|
347
|
-
const l = hsl[2] / 100;
|
|
348
|
-
let t2;
|
|
349
|
-
let t3;
|
|
350
|
-
let val;
|
|
351
|
-
if (s === 0) {
|
|
352
|
-
val = l * 255;
|
|
353
|
-
return [val, val, val];
|
|
354
|
-
}
|
|
355
|
-
if (l < 0.5) {
|
|
356
|
-
t2 = l * (1 + s);
|
|
357
|
-
} else {
|
|
358
|
-
t2 = l + s - l * s;
|
|
359
|
-
}
|
|
360
|
-
const t1 = 2 * l - t2;
|
|
361
|
-
const rgb = [0, 0, 0];
|
|
362
|
-
for (let i = 0;i < 3; i++) {
|
|
363
|
-
t3 = h + 1 / 3 * -(i - 1);
|
|
364
|
-
if (t3 < 0) {
|
|
365
|
-
t3++;
|
|
366
|
-
}
|
|
367
|
-
if (t3 > 1) {
|
|
368
|
-
t3--;
|
|
369
|
-
}
|
|
370
|
-
if (6 * t3 < 1) {
|
|
371
|
-
val = t1 + (t2 - t1) * 6 * t3;
|
|
372
|
-
} else if (2 * t3 < 1) {
|
|
373
|
-
val = t2;
|
|
374
|
-
} else if (3 * t3 < 2) {
|
|
375
|
-
val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
|
|
376
|
-
} else {
|
|
377
|
-
val = t1;
|
|
378
|
-
}
|
|
379
|
-
rgb[i] = val * 255;
|
|
380
|
-
}
|
|
381
|
-
return rgb;
|
|
382
|
-
};
|
|
383
|
-
convert.hsl.hsv = function(hsl) {
|
|
384
|
-
const h = hsl[0];
|
|
385
|
-
let s = hsl[1] / 100;
|
|
386
|
-
let l = hsl[2] / 100;
|
|
387
|
-
let smin = s;
|
|
388
|
-
const lmin = Math.max(l, 0.01);
|
|
389
|
-
l *= 2;
|
|
390
|
-
s *= l <= 1 ? l : 2 - l;
|
|
391
|
-
smin *= lmin <= 1 ? lmin : 2 - lmin;
|
|
392
|
-
const v = (l + s) / 2;
|
|
393
|
-
const sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s);
|
|
394
|
-
return [h, sv * 100, v * 100];
|
|
395
|
-
};
|
|
396
|
-
convert.hsv.rgb = function(hsv) {
|
|
397
|
-
const h = hsv[0] / 60;
|
|
398
|
-
const s = hsv[1] / 100;
|
|
399
|
-
let v = hsv[2] / 100;
|
|
400
|
-
const hi = Math.floor(h) % 6;
|
|
401
|
-
const f = h - Math.floor(h);
|
|
402
|
-
const p = 255 * v * (1 - s);
|
|
403
|
-
const q = 255 * v * (1 - s * f);
|
|
404
|
-
const t = 255 * v * (1 - s * (1 - f));
|
|
405
|
-
v *= 255;
|
|
406
|
-
switch (hi) {
|
|
407
|
-
case 0:
|
|
408
|
-
return [v, t, p];
|
|
409
|
-
case 1:
|
|
410
|
-
return [q, v, p];
|
|
411
|
-
case 2:
|
|
412
|
-
return [p, v, t];
|
|
413
|
-
case 3:
|
|
414
|
-
return [p, q, v];
|
|
415
|
-
case 4:
|
|
416
|
-
return [t, p, v];
|
|
417
|
-
case 5:
|
|
418
|
-
return [v, p, q];
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
convert.hsv.hsl = function(hsv) {
|
|
422
|
-
const h = hsv[0];
|
|
423
|
-
const s = hsv[1] / 100;
|
|
424
|
-
const v = hsv[2] / 100;
|
|
425
|
-
const vmin = Math.max(v, 0.01);
|
|
426
|
-
let sl;
|
|
427
|
-
let l;
|
|
428
|
-
l = (2 - s) * v;
|
|
429
|
-
const lmin = (2 - s) * vmin;
|
|
430
|
-
sl = s * vmin;
|
|
431
|
-
sl /= lmin <= 1 ? lmin : 2 - lmin;
|
|
432
|
-
sl = sl || 0;
|
|
433
|
-
l /= 2;
|
|
434
|
-
return [h, sl * 100, l * 100];
|
|
435
|
-
};
|
|
436
|
-
convert.hwb.rgb = function(hwb) {
|
|
437
|
-
const h = hwb[0] / 360;
|
|
438
|
-
let wh = hwb[1] / 100;
|
|
439
|
-
let bl = hwb[2] / 100;
|
|
440
|
-
const ratio = wh + bl;
|
|
441
|
-
let f;
|
|
442
|
-
if (ratio > 1) {
|
|
443
|
-
wh /= ratio;
|
|
444
|
-
bl /= ratio;
|
|
445
|
-
}
|
|
446
|
-
const i = Math.floor(6 * h);
|
|
447
|
-
const v = 1 - bl;
|
|
448
|
-
f = 6 * h - i;
|
|
449
|
-
if ((i & 1) !== 0) {
|
|
450
|
-
f = 1 - f;
|
|
451
|
-
}
|
|
452
|
-
const n = wh + f * (v - wh);
|
|
453
|
-
let r;
|
|
454
|
-
let g;
|
|
455
|
-
let b;
|
|
456
|
-
switch (i) {
|
|
457
|
-
default:
|
|
458
|
-
case 6:
|
|
459
|
-
case 0:
|
|
460
|
-
r = v;
|
|
461
|
-
g = n;
|
|
462
|
-
b = wh;
|
|
463
|
-
break;
|
|
464
|
-
case 1:
|
|
465
|
-
r = n;
|
|
466
|
-
g = v;
|
|
467
|
-
b = wh;
|
|
468
|
-
break;
|
|
469
|
-
case 2:
|
|
470
|
-
r = wh;
|
|
471
|
-
g = v;
|
|
472
|
-
b = n;
|
|
473
|
-
break;
|
|
474
|
-
case 3:
|
|
475
|
-
r = wh;
|
|
476
|
-
g = n;
|
|
477
|
-
b = v;
|
|
478
|
-
break;
|
|
479
|
-
case 4:
|
|
480
|
-
r = n;
|
|
481
|
-
g = wh;
|
|
482
|
-
b = v;
|
|
483
|
-
break;
|
|
484
|
-
case 5:
|
|
485
|
-
r = v;
|
|
486
|
-
g = wh;
|
|
487
|
-
b = n;
|
|
488
|
-
break;
|
|
489
|
-
}
|
|
490
|
-
return [r * 255, g * 255, b * 255];
|
|
491
|
-
};
|
|
492
|
-
convert.cmyk.rgb = function(cmyk) {
|
|
493
|
-
const c = cmyk[0] / 100;
|
|
494
|
-
const m = cmyk[1] / 100;
|
|
495
|
-
const y = cmyk[2] / 100;
|
|
496
|
-
const k = cmyk[3] / 100;
|
|
497
|
-
const r = 1 - Math.min(1, c * (1 - k) + k);
|
|
498
|
-
const g = 1 - Math.min(1, m * (1 - k) + k);
|
|
499
|
-
const b = 1 - Math.min(1, y * (1 - k) + k);
|
|
500
|
-
return [r * 255, g * 255, b * 255];
|
|
501
|
-
};
|
|
502
|
-
convert.xyz.rgb = function(xyz) {
|
|
503
|
-
const x = xyz[0] / 100;
|
|
504
|
-
const y = xyz[1] / 100;
|
|
505
|
-
const z = xyz[2] / 100;
|
|
506
|
-
let r;
|
|
507
|
-
let g;
|
|
508
|
-
let b;
|
|
509
|
-
r = x * 3.2406 + y * -1.5372 + z * -0.4986;
|
|
510
|
-
g = x * -0.9689 + y * 1.8758 + z * 0.0415;
|
|
511
|
-
b = x * 0.0557 + y * -0.204 + z * 1.057;
|
|
512
|
-
r = r > 0.0031308 ? 1.055 * r ** (1 / 2.4) - 0.055 : r * 12.92;
|
|
513
|
-
g = g > 0.0031308 ? 1.055 * g ** (1 / 2.4) - 0.055 : g * 12.92;
|
|
514
|
-
b = b > 0.0031308 ? 1.055 * b ** (1 / 2.4) - 0.055 : b * 12.92;
|
|
515
|
-
r = Math.min(Math.max(0, r), 1);
|
|
516
|
-
g = Math.min(Math.max(0, g), 1);
|
|
517
|
-
b = Math.min(Math.max(0, b), 1);
|
|
518
|
-
return [r * 255, g * 255, b * 255];
|
|
519
|
-
};
|
|
520
|
-
convert.xyz.lab = function(xyz) {
|
|
521
|
-
let x = xyz[0];
|
|
522
|
-
let y = xyz[1];
|
|
523
|
-
let z = xyz[2];
|
|
524
|
-
x /= 95.047;
|
|
525
|
-
y /= 100;
|
|
526
|
-
z /= 108.883;
|
|
527
|
-
x = x > 0.008856 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
|
|
528
|
-
y = y > 0.008856 ? y ** (1 / 3) : 7.787 * y + 16 / 116;
|
|
529
|
-
z = z > 0.008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
|
530
|
-
const l = 116 * y - 16;
|
|
531
|
-
const a = 500 * (x - y);
|
|
532
|
-
const b = 200 * (y - z);
|
|
533
|
-
return [l, a, b];
|
|
534
|
-
};
|
|
535
|
-
convert.lab.xyz = function(lab) {
|
|
536
|
-
const l = lab[0];
|
|
537
|
-
const a = lab[1];
|
|
538
|
-
const b = lab[2];
|
|
539
|
-
let x;
|
|
540
|
-
let y;
|
|
541
|
-
let z;
|
|
542
|
-
y = (l + 16) / 116;
|
|
543
|
-
x = a / 500 + y;
|
|
544
|
-
z = y - b / 200;
|
|
545
|
-
const y2 = y ** 3;
|
|
546
|
-
const x2 = x ** 3;
|
|
547
|
-
const z2 = z ** 3;
|
|
548
|
-
y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;
|
|
549
|
-
x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;
|
|
550
|
-
z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;
|
|
551
|
-
x *= 95.047;
|
|
552
|
-
y *= 100;
|
|
553
|
-
z *= 108.883;
|
|
554
|
-
return [x, y, z];
|
|
555
|
-
};
|
|
556
|
-
convert.lab.lch = function(lab) {
|
|
557
|
-
const l = lab[0];
|
|
558
|
-
const a = lab[1];
|
|
559
|
-
const b = lab[2];
|
|
560
|
-
let h;
|
|
561
|
-
const hr = Math.atan2(b, a);
|
|
562
|
-
h = hr * 360 / 2 / Math.PI;
|
|
563
|
-
if (h < 0) {
|
|
564
|
-
h += 360;
|
|
565
|
-
}
|
|
566
|
-
const c = Math.sqrt(a * a + b * b);
|
|
567
|
-
return [l, c, h];
|
|
568
|
-
};
|
|
569
|
-
convert.lch.lab = function(lch) {
|
|
570
|
-
const l = lch[0];
|
|
571
|
-
const c = lch[1];
|
|
572
|
-
const h = lch[2];
|
|
573
|
-
const hr = h / 360 * 2 * Math.PI;
|
|
574
|
-
const a = c * Math.cos(hr);
|
|
575
|
-
const b = c * Math.sin(hr);
|
|
576
|
-
return [l, a, b];
|
|
577
|
-
};
|
|
578
|
-
convert.rgb.ansi16 = function(args, saturation = null) {
|
|
579
|
-
const [r, g, b] = args;
|
|
580
|
-
let value = saturation === null ? convert.rgb.hsv(args)[2] : saturation;
|
|
581
|
-
value = Math.round(value / 50);
|
|
582
|
-
if (value === 0) {
|
|
583
|
-
return 30;
|
|
584
|
-
}
|
|
585
|
-
let ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255));
|
|
586
|
-
if (value === 2) {
|
|
587
|
-
ansi += 60;
|
|
588
|
-
}
|
|
589
|
-
return ansi;
|
|
590
|
-
};
|
|
591
|
-
convert.hsv.ansi16 = function(args) {
|
|
592
|
-
return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);
|
|
593
|
-
};
|
|
594
|
-
convert.rgb.ansi256 = function(args) {
|
|
595
|
-
const r = args[0];
|
|
596
|
-
const g = args[1];
|
|
597
|
-
const b = args[2];
|
|
598
|
-
if (r === g && g === b) {
|
|
599
|
-
if (r < 8) {
|
|
600
|
-
return 16;
|
|
601
|
-
}
|
|
602
|
-
if (r > 248) {
|
|
603
|
-
return 231;
|
|
604
|
-
}
|
|
605
|
-
return Math.round((r - 8) / 247 * 24) + 232;
|
|
606
|
-
}
|
|
607
|
-
const ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5);
|
|
608
|
-
return ansi;
|
|
609
|
-
};
|
|
610
|
-
convert.ansi16.rgb = function(args) {
|
|
611
|
-
let color = args % 10;
|
|
612
|
-
if (color === 0 || color === 7) {
|
|
613
|
-
if (args > 50) {
|
|
614
|
-
color += 3.5;
|
|
615
|
-
}
|
|
616
|
-
color = color / 10.5 * 255;
|
|
617
|
-
return [color, color, color];
|
|
618
|
-
}
|
|
619
|
-
const mult = (~~(args > 50) + 1) * 0.5;
|
|
620
|
-
const r = (color & 1) * mult * 255;
|
|
621
|
-
const g = (color >> 1 & 1) * mult * 255;
|
|
622
|
-
const b = (color >> 2 & 1) * mult * 255;
|
|
623
|
-
return [r, g, b];
|
|
624
|
-
};
|
|
625
|
-
convert.ansi256.rgb = function(args) {
|
|
626
|
-
if (args >= 232) {
|
|
627
|
-
const c = (args - 232) * 10 + 8;
|
|
628
|
-
return [c, c, c];
|
|
629
|
-
}
|
|
630
|
-
args -= 16;
|
|
631
|
-
let rem;
|
|
632
|
-
const r = Math.floor(args / 36) / 5 * 255;
|
|
633
|
-
const g = Math.floor((rem = args % 36) / 6) / 5 * 255;
|
|
634
|
-
const b = rem % 6 / 5 * 255;
|
|
635
|
-
return [r, g, b];
|
|
636
|
-
};
|
|
637
|
-
convert.rgb.hex = function(args) {
|
|
638
|
-
const integer = ((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255);
|
|
639
|
-
const string = integer.toString(16).toUpperCase();
|
|
640
|
-
return "000000".substring(string.length) + string;
|
|
641
|
-
};
|
|
642
|
-
convert.hex.rgb = function(args) {
|
|
643
|
-
const match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
|
|
644
|
-
if (!match) {
|
|
645
|
-
return [0, 0, 0];
|
|
646
|
-
}
|
|
647
|
-
let colorString = match[0];
|
|
648
|
-
if (match[0].length === 3) {
|
|
649
|
-
colorString = colorString.split("").map((char) => {
|
|
650
|
-
return char + char;
|
|
651
|
-
}).join("");
|
|
652
|
-
}
|
|
653
|
-
const integer = parseInt(colorString, 16);
|
|
654
|
-
const r = integer >> 16 & 255;
|
|
655
|
-
const g = integer >> 8 & 255;
|
|
656
|
-
const b = integer & 255;
|
|
657
|
-
return [r, g, b];
|
|
658
|
-
};
|
|
659
|
-
convert.rgb.hcg = function(rgb) {
|
|
660
|
-
const r = rgb[0] / 255;
|
|
661
|
-
const g = rgb[1] / 255;
|
|
662
|
-
const b = rgb[2] / 255;
|
|
663
|
-
const max = Math.max(Math.max(r, g), b);
|
|
664
|
-
const min = Math.min(Math.min(r, g), b);
|
|
665
|
-
const chroma = max - min;
|
|
666
|
-
let grayscale;
|
|
667
|
-
let hue;
|
|
668
|
-
if (chroma < 1) {
|
|
669
|
-
grayscale = min / (1 - chroma);
|
|
670
|
-
} else {
|
|
671
|
-
grayscale = 0;
|
|
672
|
-
}
|
|
673
|
-
if (chroma <= 0) {
|
|
674
|
-
hue = 0;
|
|
675
|
-
} else if (max === r) {
|
|
676
|
-
hue = (g - b) / chroma % 6;
|
|
677
|
-
} else if (max === g) {
|
|
678
|
-
hue = 2 + (b - r) / chroma;
|
|
679
|
-
} else {
|
|
680
|
-
hue = 4 + (r - g) / chroma;
|
|
681
|
-
}
|
|
682
|
-
hue /= 6;
|
|
683
|
-
hue %= 1;
|
|
684
|
-
return [hue * 360, chroma * 100, grayscale * 100];
|
|
685
|
-
};
|
|
686
|
-
convert.hsl.hcg = function(hsl) {
|
|
687
|
-
const s = hsl[1] / 100;
|
|
688
|
-
const l = hsl[2] / 100;
|
|
689
|
-
const c = l < 0.5 ? 2 * s * l : 2 * s * (1 - l);
|
|
690
|
-
let f = 0;
|
|
691
|
-
if (c < 1) {
|
|
692
|
-
f = (l - 0.5 * c) / (1 - c);
|
|
693
|
-
}
|
|
694
|
-
return [hsl[0], c * 100, f * 100];
|
|
695
|
-
};
|
|
696
|
-
convert.hsv.hcg = function(hsv) {
|
|
697
|
-
const s = hsv[1] / 100;
|
|
698
|
-
const v = hsv[2] / 100;
|
|
699
|
-
const c = s * v;
|
|
700
|
-
let f = 0;
|
|
701
|
-
if (c < 1) {
|
|
702
|
-
f = (v - c) / (1 - c);
|
|
703
|
-
}
|
|
704
|
-
return [hsv[0], c * 100, f * 100];
|
|
705
|
-
};
|
|
706
|
-
convert.hcg.rgb = function(hcg) {
|
|
707
|
-
const h = hcg[0] / 360;
|
|
708
|
-
const c = hcg[1] / 100;
|
|
709
|
-
const g = hcg[2] / 100;
|
|
710
|
-
if (c === 0) {
|
|
711
|
-
return [g * 255, g * 255, g * 255];
|
|
712
|
-
}
|
|
713
|
-
const pure = [0, 0, 0];
|
|
714
|
-
const hi = h % 1 * 6;
|
|
715
|
-
const v = hi % 1;
|
|
716
|
-
const w = 1 - v;
|
|
717
|
-
let mg = 0;
|
|
718
|
-
switch (Math.floor(hi)) {
|
|
719
|
-
case 0:
|
|
720
|
-
pure[0] = 1;
|
|
721
|
-
pure[1] = v;
|
|
722
|
-
pure[2] = 0;
|
|
723
|
-
break;
|
|
724
|
-
case 1:
|
|
725
|
-
pure[0] = w;
|
|
726
|
-
pure[1] = 1;
|
|
727
|
-
pure[2] = 0;
|
|
728
|
-
break;
|
|
729
|
-
case 2:
|
|
730
|
-
pure[0] = 0;
|
|
731
|
-
pure[1] = 1;
|
|
732
|
-
pure[2] = v;
|
|
733
|
-
break;
|
|
734
|
-
case 3:
|
|
735
|
-
pure[0] = 0;
|
|
736
|
-
pure[1] = w;
|
|
737
|
-
pure[2] = 1;
|
|
738
|
-
break;
|
|
739
|
-
case 4:
|
|
740
|
-
pure[0] = v;
|
|
741
|
-
pure[1] = 0;
|
|
742
|
-
pure[2] = 1;
|
|
743
|
-
break;
|
|
744
|
-
default:
|
|
745
|
-
pure[0] = 1;
|
|
746
|
-
pure[1] = 0;
|
|
747
|
-
pure[2] = w;
|
|
748
|
-
}
|
|
749
|
-
mg = (1 - c) * g;
|
|
750
|
-
return [
|
|
751
|
-
(c * pure[0] + mg) * 255,
|
|
752
|
-
(c * pure[1] + mg) * 255,
|
|
753
|
-
(c * pure[2] + mg) * 255
|
|
754
|
-
];
|
|
755
|
-
};
|
|
756
|
-
convert.hcg.hsv = function(hcg) {
|
|
757
|
-
const c = hcg[1] / 100;
|
|
758
|
-
const g = hcg[2] / 100;
|
|
759
|
-
const v = c + g * (1 - c);
|
|
760
|
-
let f = 0;
|
|
761
|
-
if (v > 0) {
|
|
762
|
-
f = c / v;
|
|
763
|
-
}
|
|
764
|
-
return [hcg[0], f * 100, v * 100];
|
|
765
|
-
};
|
|
766
|
-
convert.hcg.hsl = function(hcg) {
|
|
767
|
-
const c = hcg[1] / 100;
|
|
768
|
-
const g = hcg[2] / 100;
|
|
769
|
-
const l = g * (1 - c) + 0.5 * c;
|
|
770
|
-
let s = 0;
|
|
771
|
-
if (l > 0 && l < 0.5) {
|
|
772
|
-
s = c / (2 * l);
|
|
773
|
-
} else if (l >= 0.5 && l < 1) {
|
|
774
|
-
s = c / (2 * (1 - l));
|
|
775
|
-
}
|
|
776
|
-
return [hcg[0], s * 100, l * 100];
|
|
777
|
-
};
|
|
778
|
-
convert.hcg.hwb = function(hcg) {
|
|
779
|
-
const c = hcg[1] / 100;
|
|
780
|
-
const g = hcg[2] / 100;
|
|
781
|
-
const v = c + g * (1 - c);
|
|
782
|
-
return [hcg[0], (v - c) * 100, (1 - v) * 100];
|
|
783
|
-
};
|
|
784
|
-
convert.hwb.hcg = function(hwb) {
|
|
785
|
-
const w = hwb[1] / 100;
|
|
786
|
-
const b = hwb[2] / 100;
|
|
787
|
-
const v = 1 - b;
|
|
788
|
-
const c = v - w;
|
|
789
|
-
let g = 0;
|
|
790
|
-
if (c < 1) {
|
|
791
|
-
g = (v - c) / (1 - c);
|
|
792
|
-
}
|
|
793
|
-
return [hwb[0], c * 100, g * 100];
|
|
794
|
-
};
|
|
795
|
-
convert.apple.rgb = function(apple) {
|
|
796
|
-
return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255];
|
|
797
|
-
};
|
|
798
|
-
convert.rgb.apple = function(rgb) {
|
|
799
|
-
return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535];
|
|
800
|
-
};
|
|
801
|
-
convert.gray.rgb = function(args) {
|
|
802
|
-
return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];
|
|
803
|
-
};
|
|
804
|
-
convert.gray.hsl = function(args) {
|
|
805
|
-
return [0, 0, args[0]];
|
|
806
|
-
};
|
|
807
|
-
convert.gray.hsv = convert.gray.hsl;
|
|
808
|
-
convert.gray.hwb = function(gray) {
|
|
809
|
-
return [0, 100, gray[0]];
|
|
810
|
-
};
|
|
811
|
-
convert.gray.cmyk = function(gray) {
|
|
812
|
-
return [0, 0, 0, gray[0]];
|
|
813
|
-
};
|
|
814
|
-
convert.gray.lab = function(gray) {
|
|
815
|
-
return [gray[0], 0, 0];
|
|
816
|
-
};
|
|
817
|
-
convert.gray.hex = function(gray) {
|
|
818
|
-
const val = Math.round(gray[0] / 100 * 255) & 255;
|
|
819
|
-
const integer = (val << 16) + (val << 8) + val;
|
|
820
|
-
const string = integer.toString(16).toUpperCase();
|
|
821
|
-
return "000000".substring(string.length) + string;
|
|
822
|
-
};
|
|
823
|
-
convert.rgb.gray = function(rgb) {
|
|
824
|
-
const val = (rgb[0] + rgb[1] + rgb[2]) / 3;
|
|
825
|
-
return [val / 255 * 100];
|
|
826
|
-
};
|
|
827
|
-
});
|
|
828
|
-
|
|
829
|
-
// node_modules/.bun/color-convert@2.0.1/node_modules/color-convert/route.js
|
|
830
|
-
var require_route = __commonJS((exports, module) => {
|
|
831
|
-
var conversions = require_conversions();
|
|
832
|
-
function buildGraph() {
|
|
833
|
-
const graph = {};
|
|
834
|
-
const models = Object.keys(conversions);
|
|
835
|
-
for (let len = models.length, i = 0;i < len; i++) {
|
|
836
|
-
graph[models[i]] = {
|
|
837
|
-
distance: -1,
|
|
838
|
-
parent: null
|
|
839
|
-
};
|
|
840
|
-
}
|
|
841
|
-
return graph;
|
|
842
|
-
}
|
|
843
|
-
function deriveBFS(fromModel) {
|
|
844
|
-
const graph = buildGraph();
|
|
845
|
-
const queue = [fromModel];
|
|
846
|
-
graph[fromModel].distance = 0;
|
|
847
|
-
while (queue.length) {
|
|
848
|
-
const current = queue.pop();
|
|
849
|
-
const adjacents = Object.keys(conversions[current]);
|
|
850
|
-
for (let len = adjacents.length, i = 0;i < len; i++) {
|
|
851
|
-
const adjacent = adjacents[i];
|
|
852
|
-
const node = graph[adjacent];
|
|
853
|
-
if (node.distance === -1) {
|
|
854
|
-
node.distance = graph[current].distance + 1;
|
|
855
|
-
node.parent = current;
|
|
856
|
-
queue.unshift(adjacent);
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
return graph;
|
|
861
|
-
}
|
|
862
|
-
function link(from, to) {
|
|
863
|
-
return function(args) {
|
|
864
|
-
return to(from(args));
|
|
865
|
-
};
|
|
866
|
-
}
|
|
867
|
-
function wrapConversion(toModel, graph) {
|
|
868
|
-
const path = [graph[toModel].parent, toModel];
|
|
869
|
-
let fn = conversions[graph[toModel].parent][toModel];
|
|
870
|
-
let cur = graph[toModel].parent;
|
|
871
|
-
while (graph[cur].parent) {
|
|
872
|
-
path.unshift(graph[cur].parent);
|
|
873
|
-
fn = link(conversions[graph[cur].parent][cur], fn);
|
|
874
|
-
cur = graph[cur].parent;
|
|
875
|
-
}
|
|
876
|
-
fn.conversion = path;
|
|
877
|
-
return fn;
|
|
878
|
-
}
|
|
879
|
-
module.exports = function(fromModel) {
|
|
880
|
-
const graph = deriveBFS(fromModel);
|
|
881
|
-
const conversion = {};
|
|
882
|
-
const models = Object.keys(graph);
|
|
883
|
-
for (let len = models.length, i = 0;i < len; i++) {
|
|
884
|
-
const toModel = models[i];
|
|
885
|
-
const node = graph[toModel];
|
|
886
|
-
if (node.parent === null) {
|
|
887
|
-
continue;
|
|
888
|
-
}
|
|
889
|
-
conversion[toModel] = wrapConversion(toModel, graph);
|
|
890
|
-
}
|
|
891
|
-
return conversion;
|
|
892
|
-
};
|
|
893
|
-
});
|
|
894
|
-
|
|
895
|
-
// node_modules/.bun/color-convert@2.0.1/node_modules/color-convert/index.js
|
|
896
|
-
var require_color_convert = __commonJS((exports, module) => {
|
|
897
|
-
var conversions = require_conversions();
|
|
898
|
-
var route = require_route();
|
|
899
|
-
var convert = {};
|
|
900
|
-
var models = Object.keys(conversions);
|
|
901
|
-
function wrapRaw(fn) {
|
|
902
|
-
const wrappedFn = function(...args) {
|
|
903
|
-
const arg0 = args[0];
|
|
904
|
-
if (arg0 === undefined || arg0 === null) {
|
|
905
|
-
return arg0;
|
|
906
|
-
}
|
|
907
|
-
if (arg0.length > 1) {
|
|
908
|
-
args = arg0;
|
|
909
|
-
}
|
|
910
|
-
return fn(args);
|
|
911
|
-
};
|
|
912
|
-
if ("conversion" in fn) {
|
|
913
|
-
wrappedFn.conversion = fn.conversion;
|
|
914
|
-
}
|
|
915
|
-
return wrappedFn;
|
|
916
|
-
}
|
|
917
|
-
function wrapRounded(fn) {
|
|
918
|
-
const wrappedFn = function(...args) {
|
|
919
|
-
const arg0 = args[0];
|
|
920
|
-
if (arg0 === undefined || arg0 === null) {
|
|
921
|
-
return arg0;
|
|
922
|
-
}
|
|
923
|
-
if (arg0.length > 1) {
|
|
924
|
-
args = arg0;
|
|
925
|
-
}
|
|
926
|
-
const result = fn(args);
|
|
927
|
-
if (typeof result === "object") {
|
|
928
|
-
for (let len = result.length, i = 0;i < len; i++) {
|
|
929
|
-
result[i] = Math.round(result[i]);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
return result;
|
|
933
|
-
};
|
|
934
|
-
if ("conversion" in fn) {
|
|
935
|
-
wrappedFn.conversion = fn.conversion;
|
|
936
|
-
}
|
|
937
|
-
return wrappedFn;
|
|
938
|
-
}
|
|
939
|
-
models.forEach((fromModel) => {
|
|
940
|
-
convert[fromModel] = {};
|
|
941
|
-
Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels });
|
|
942
|
-
Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels });
|
|
943
|
-
const routes = route(fromModel);
|
|
944
|
-
const routeModels = Object.keys(routes);
|
|
945
|
-
routeModels.forEach((toModel) => {
|
|
946
|
-
const fn = routes[toModel];
|
|
947
|
-
convert[fromModel][toModel] = wrapRounded(fn);
|
|
948
|
-
convert[fromModel][toModel].raw = wrapRaw(fn);
|
|
949
|
-
});
|
|
950
|
-
});
|
|
951
|
-
module.exports = convert;
|
|
952
|
-
});
|
|
953
|
-
|
|
954
|
-
export { require_color_name, require_color_convert };
|