@industry-theme/repository-composition-panels 0.7.21 → 0.7.23
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/{browserAll-UdUdeWjS.js → browserAll-6MT3m5a1.js} +3 -3
- package/dist/{browserAll-UdUdeWjS.js.map → browserAll-6MT3m5a1.js.map} +1 -1
- package/dist/{index-c5OYiccd.js → index-Ckze1Emy.js} +553 -345
- package/dist/{index-c5OYiccd.js.map → index-Ckze1Emy.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/{init-Dg06NYWH.js → init-Drxfx9_O.js} +2 -2
- package/dist/{init-Dg06NYWH.js.map → init-Drxfx9_O.js.map} +1 -1
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts +7 -3
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoSprite.d.ts +2 -2
- package/dist/panels/overworld-map/components/RepoSprite.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/cardThemes.d.ts +25 -0
- package/dist/panels/overworld-map/components/cardThemes.d.ts.map +1 -0
- package/dist/panels/overworld-map/components/spriteRenderer.d.ts +10 -2
- package/dist/panels/overworld-map/components/spriteRenderer.d.ts.map +1 -1
- package/dist/panels/overworld-map/index.d.ts +1 -1
- package/dist/panels/overworld-map/index.d.ts.map +1 -1
- package/dist/panels.bundle.js +6 -5
- package/dist/webworkerAll-XH8wWWkO.js +3 -0
- package/dist/webworkerAll-XH8wWWkO.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-BU-TUlj4.js +0 -3
- package/dist/webworkerAll-BU-TUlj4.js.map +0 -1
|
@@ -134,7 +134,7 @@ const createLucideIcon$1 = (iconName, iconNode) => {
|
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
136
|
*/
|
|
137
|
-
const __iconNode$
|
|
137
|
+
const __iconNode$qm = [
|
|
138
138
|
[
|
|
139
139
|
"path",
|
|
140
140
|
{
|
|
@@ -143,25 +143,25 @@ const __iconNode$qo = [
|
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
];
|
|
146
|
-
const Activity$1 = createLucideIcon$1("activity", __iconNode$
|
|
146
|
+
const Activity$1 = createLucideIcon$1("activity", __iconNode$qm);
|
|
147
147
|
/**
|
|
148
148
|
* @license lucide-react v0.552.0 - ISC
|
|
149
149
|
*
|
|
150
150
|
* This source code is licensed under the ISC license.
|
|
151
151
|
* See the LICENSE file in the root directory of this source tree.
|
|
152
152
|
*/
|
|
153
|
-
const __iconNode$
|
|
153
|
+
const __iconNode$ql = [
|
|
154
154
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
155
155
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
156
156
|
];
|
|
157
|
-
const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$
|
|
157
|
+
const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$ql);
|
|
158
158
|
/**
|
|
159
159
|
* @license lucide-react v0.552.0 - ISC
|
|
160
160
|
*
|
|
161
161
|
* This source code is licensed under the ISC license.
|
|
162
162
|
* See the LICENSE file in the root directory of this source tree.
|
|
163
163
|
*/
|
|
164
|
-
const __iconNode$
|
|
164
|
+
const __iconNode$qk = [
|
|
165
165
|
[
|
|
166
166
|
"path",
|
|
167
167
|
{
|
|
@@ -172,100 +172,100 @@ const __iconNode$qm = [
|
|
|
172
172
|
["path", { d: "m3.3 7 8.7 5 8.7-5", key: "g66t2b" }],
|
|
173
173
|
["path", { d: "M12 22V12", key: "d0xqtd" }]
|
|
174
174
|
];
|
|
175
|
-
const Box$1 = createLucideIcon$1("box", __iconNode$
|
|
175
|
+
const Box$1 = createLucideIcon$1("box", __iconNode$qk);
|
|
176
176
|
/**
|
|
177
177
|
* @license lucide-react v0.552.0 - ISC
|
|
178
178
|
*
|
|
179
179
|
* This source code is licensed under the ISC license.
|
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
|
181
181
|
*/
|
|
182
|
-
const __iconNode$
|
|
183
|
-
const Check$1 = createLucideIcon$1("check", __iconNode$
|
|
182
|
+
const __iconNode$qj = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
183
|
+
const Check$1 = createLucideIcon$1("check", __iconNode$qj);
|
|
184
184
|
/**
|
|
185
185
|
* @license lucide-react v0.552.0 - ISC
|
|
186
186
|
*
|
|
187
187
|
* This source code is licensed under the ISC license.
|
|
188
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
189
|
*/
|
|
190
|
-
const __iconNode$
|
|
191
|
-
const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$
|
|
190
|
+
const __iconNode$qi = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
191
|
+
const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$qi);
|
|
192
192
|
/**
|
|
193
193
|
* @license lucide-react v0.552.0 - ISC
|
|
194
194
|
*
|
|
195
195
|
* This source code is licensed under the ISC license.
|
|
196
196
|
* See the LICENSE file in the root directory of this source tree.
|
|
197
197
|
*/
|
|
198
|
-
const __iconNode$
|
|
199
|
-
const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$
|
|
198
|
+
const __iconNode$qh = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
199
|
+
const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$qh);
|
|
200
200
|
/**
|
|
201
201
|
* @license lucide-react v0.552.0 - ISC
|
|
202
202
|
*
|
|
203
203
|
* This source code is licensed under the ISC license.
|
|
204
204
|
* See the LICENSE file in the root directory of this source tree.
|
|
205
205
|
*/
|
|
206
|
-
const __iconNode$
|
|
207
|
-
const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$
|
|
206
|
+
const __iconNode$qg = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
207
|
+
const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$qg);
|
|
208
208
|
/**
|
|
209
209
|
* @license lucide-react v0.552.0 - ISC
|
|
210
210
|
*
|
|
211
211
|
* This source code is licensed under the ISC license.
|
|
212
212
|
* See the LICENSE file in the root directory of this source tree.
|
|
213
213
|
*/
|
|
214
|
-
const __iconNode$
|
|
215
|
-
const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$
|
|
214
|
+
const __iconNode$qf = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
215
|
+
const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$qf);
|
|
216
216
|
/**
|
|
217
217
|
* @license lucide-react v0.552.0 - ISC
|
|
218
218
|
*
|
|
219
219
|
* This source code is licensed under the ISC license.
|
|
220
220
|
* See the LICENSE file in the root directory of this source tree.
|
|
221
221
|
*/
|
|
222
|
-
const __iconNode$
|
|
222
|
+
const __iconNode$qe = [
|
|
223
223
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
224
224
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
225
225
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
226
226
|
];
|
|
227
|
-
const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$
|
|
227
|
+
const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$qe);
|
|
228
228
|
/**
|
|
229
229
|
* @license lucide-react v0.552.0 - ISC
|
|
230
230
|
*
|
|
231
231
|
* This source code is licensed under the ISC license.
|
|
232
232
|
* See the LICENSE file in the root directory of this source tree.
|
|
233
233
|
*/
|
|
234
|
-
const __iconNode$
|
|
234
|
+
const __iconNode$qd = [
|
|
235
235
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
236
236
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
237
237
|
];
|
|
238
|
-
const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$
|
|
238
|
+
const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$qd);
|
|
239
239
|
/**
|
|
240
240
|
* @license lucide-react v0.552.0 - ISC
|
|
241
241
|
*
|
|
242
242
|
* This source code is licensed under the ISC license.
|
|
243
243
|
* See the LICENSE file in the root directory of this source tree.
|
|
244
244
|
*/
|
|
245
|
-
const __iconNode$
|
|
245
|
+
const __iconNode$qc = [
|
|
246
246
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
247
247
|
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
248
248
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
249
249
|
];
|
|
250
|
-
const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$
|
|
250
|
+
const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$qc);
|
|
251
251
|
/**
|
|
252
252
|
* @license lucide-react v0.552.0 - ISC
|
|
253
253
|
*
|
|
254
254
|
* This source code is licensed under the ISC license.
|
|
255
255
|
* See the LICENSE file in the root directory of this source tree.
|
|
256
256
|
*/
|
|
257
|
-
const __iconNode$
|
|
257
|
+
const __iconNode$qb = [
|
|
258
258
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
259
259
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
260
260
|
];
|
|
261
|
-
const Copy$1 = createLucideIcon$1("copy", __iconNode$
|
|
261
|
+
const Copy$1 = createLucideIcon$1("copy", __iconNode$qb);
|
|
262
262
|
/**
|
|
263
263
|
* @license lucide-react v0.552.0 - ISC
|
|
264
264
|
*
|
|
265
265
|
* This source code is licensed under the ISC license.
|
|
266
266
|
* See the LICENSE file in the root directory of this source tree.
|
|
267
267
|
*/
|
|
268
|
-
const __iconNode$
|
|
268
|
+
const __iconNode$qa = [
|
|
269
269
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
270
270
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
271
271
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -275,26 +275,26 @@ const __iconNode$qc = [
|
|
|
275
275
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
276
276
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
277
277
|
];
|
|
278
|
-
const Expand$1 = createLucideIcon$1("expand", __iconNode$
|
|
278
|
+
const Expand$1 = createLucideIcon$1("expand", __iconNode$qa);
|
|
279
279
|
/**
|
|
280
280
|
* @license lucide-react v0.552.0 - ISC
|
|
281
281
|
*
|
|
282
282
|
* This source code is licensed under the ISC license.
|
|
283
283
|
* See the LICENSE file in the root directory of this source tree.
|
|
284
284
|
*/
|
|
285
|
-
const __iconNode$
|
|
285
|
+
const __iconNode$q9 = [
|
|
286
286
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
287
287
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
288
288
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
289
289
|
];
|
|
290
|
-
const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$
|
|
290
|
+
const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$q9);
|
|
291
291
|
/**
|
|
292
292
|
* @license lucide-react v0.552.0 - ISC
|
|
293
293
|
*
|
|
294
294
|
* This source code is licensed under the ISC license.
|
|
295
295
|
* See the LICENSE file in the root directory of this source tree.
|
|
296
296
|
*/
|
|
297
|
-
const __iconNode$
|
|
297
|
+
const __iconNode$q8 = [
|
|
298
298
|
[
|
|
299
299
|
"path",
|
|
300
300
|
{
|
|
@@ -306,14 +306,14 @@ const __iconNode$qa = [
|
|
|
306
306
|
["path", { d: "M10 12.5 8 15l2 2.5", key: "1tg20x" }],
|
|
307
307
|
["path", { d: "m14 12.5 2 2.5-2 2.5", key: "yinavb" }]
|
|
308
308
|
];
|
|
309
|
-
const FileCode$1 = createLucideIcon$1("file-code", __iconNode$
|
|
309
|
+
const FileCode$1 = createLucideIcon$1("file-code", __iconNode$q8);
|
|
310
310
|
/**
|
|
311
311
|
* @license lucide-react v0.552.0 - ISC
|
|
312
312
|
*
|
|
313
313
|
* This source code is licensed under the ISC license.
|
|
314
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
315
315
|
*/
|
|
316
|
-
const __iconNode$
|
|
316
|
+
const __iconNode$q7 = [
|
|
317
317
|
[
|
|
318
318
|
"path",
|
|
319
319
|
{
|
|
@@ -324,14 +324,14 @@ const __iconNode$q9 = [
|
|
|
324
324
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
325
325
|
["path", { d: "m10 18 3-3-3-3", key: "18f6ys" }]
|
|
326
326
|
];
|
|
327
|
-
const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$
|
|
327
|
+
const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$q7);
|
|
328
328
|
/**
|
|
329
329
|
* @license lucide-react v0.552.0 - ISC
|
|
330
330
|
*
|
|
331
331
|
* This source code is licensed under the ISC license.
|
|
332
332
|
* See the LICENSE file in the root directory of this source tree.
|
|
333
333
|
*/
|
|
334
|
-
const __iconNode$
|
|
334
|
+
const __iconNode$q6 = [
|
|
335
335
|
[
|
|
336
336
|
"path",
|
|
337
337
|
{
|
|
@@ -344,14 +344,14 @@ const __iconNode$q8 = [
|
|
|
344
344
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
345
345
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
346
346
|
];
|
|
347
|
-
const FileText$1 = createLucideIcon$1("file-text", __iconNode$
|
|
347
|
+
const FileText$1 = createLucideIcon$1("file-text", __iconNode$q6);
|
|
348
348
|
/**
|
|
349
349
|
* @license lucide-react v0.552.0 - ISC
|
|
350
350
|
*
|
|
351
351
|
* This source code is licensed under the ISC license.
|
|
352
352
|
* See the LICENSE file in the root directory of this source tree.
|
|
353
353
|
*/
|
|
354
|
-
const __iconNode$
|
|
354
|
+
const __iconNode$q5 = [
|
|
355
355
|
[
|
|
356
356
|
"path",
|
|
357
357
|
{
|
|
@@ -360,14 +360,14 @@ const __iconNode$q7 = [
|
|
|
360
360
|
}
|
|
361
361
|
]
|
|
362
362
|
];
|
|
363
|
-
const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$
|
|
363
|
+
const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$q5);
|
|
364
364
|
/**
|
|
365
365
|
* @license lucide-react v0.552.0 - ISC
|
|
366
366
|
*
|
|
367
367
|
* This source code is licensed under the ISC license.
|
|
368
368
|
* See the LICENSE file in the root directory of this source tree.
|
|
369
369
|
*/
|
|
370
|
-
const __iconNode$
|
|
370
|
+
const __iconNode$q4 = [
|
|
371
371
|
[
|
|
372
372
|
"path",
|
|
373
373
|
{
|
|
@@ -376,39 +376,39 @@ const __iconNode$q6 = [
|
|
|
376
376
|
}
|
|
377
377
|
]
|
|
378
378
|
];
|
|
379
|
-
const Folder$1 = createLucideIcon$1("folder", __iconNode$
|
|
379
|
+
const Folder$1 = createLucideIcon$1("folder", __iconNode$q4);
|
|
380
380
|
/**
|
|
381
381
|
* @license lucide-react v0.552.0 - ISC
|
|
382
382
|
*
|
|
383
383
|
* This source code is licensed under the ISC license.
|
|
384
384
|
* See the LICENSE file in the root directory of this source tree.
|
|
385
385
|
*/
|
|
386
|
-
const __iconNode$
|
|
386
|
+
const __iconNode$q3 = [
|
|
387
387
|
["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
|
|
388
388
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
389
389
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
390
390
|
["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
|
|
391
391
|
];
|
|
392
|
-
const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$
|
|
392
|
+
const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$q3);
|
|
393
393
|
/**
|
|
394
394
|
* @license lucide-react v0.552.0 - ISC
|
|
395
395
|
*
|
|
396
396
|
* This source code is licensed under the ISC license.
|
|
397
397
|
* See the LICENSE file in the root directory of this source tree.
|
|
398
398
|
*/
|
|
399
|
-
const __iconNode$
|
|
399
|
+
const __iconNode$q2 = [
|
|
400
400
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
401
401
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
402
402
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
403
403
|
];
|
|
404
|
-
const Globe$1 = createLucideIcon$1("globe", __iconNode$
|
|
404
|
+
const Globe$1 = createLucideIcon$1("globe", __iconNode$q2);
|
|
405
405
|
/**
|
|
406
406
|
* @license lucide-react v0.552.0 - ISC
|
|
407
407
|
*
|
|
408
408
|
* This source code is licensed under the ISC license.
|
|
409
409
|
* See the LICENSE file in the root directory of this source tree.
|
|
410
410
|
*/
|
|
411
|
-
const __iconNode$
|
|
411
|
+
const __iconNode$q1 = [
|
|
412
412
|
[
|
|
413
413
|
"path",
|
|
414
414
|
{
|
|
@@ -431,77 +431,77 @@ const __iconNode$q3 = [
|
|
|
431
431
|
}
|
|
432
432
|
]
|
|
433
433
|
];
|
|
434
|
-
const Layers$1 = createLucideIcon$1("layers", __iconNode$
|
|
434
|
+
const Layers$1 = createLucideIcon$1("layers", __iconNode$q1);
|
|
435
435
|
/**
|
|
436
436
|
* @license lucide-react v0.552.0 - ISC
|
|
437
437
|
*
|
|
438
438
|
* This source code is licensed under the ISC license.
|
|
439
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
440
440
|
*/
|
|
441
|
-
const __iconNode$
|
|
441
|
+
const __iconNode$q0 = [
|
|
442
442
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
443
443
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
444
444
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
445
445
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
446
446
|
];
|
|
447
|
-
const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$
|
|
447
|
+
const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$q0);
|
|
448
448
|
/**
|
|
449
449
|
* @license lucide-react v0.552.0 - ISC
|
|
450
450
|
*
|
|
451
451
|
* This source code is licensed under the ISC license.
|
|
452
452
|
* See the LICENSE file in the root directory of this source tree.
|
|
453
453
|
*/
|
|
454
|
-
const __iconNode$
|
|
455
|
-
const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$
|
|
454
|
+
const __iconNode$p$ = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
455
|
+
const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$p$);
|
|
456
456
|
/**
|
|
457
457
|
* @license lucide-react v0.552.0 - ISC
|
|
458
458
|
*
|
|
459
459
|
* This source code is licensed under the ISC license.
|
|
460
460
|
* See the LICENSE file in the root directory of this source tree.
|
|
461
461
|
*/
|
|
462
|
-
const __iconNode$
|
|
462
|
+
const __iconNode$p_ = [
|
|
463
463
|
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
|
464
464
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
|
465
465
|
];
|
|
466
|
-
const Lock$1 = createLucideIcon$1("lock", __iconNode$
|
|
466
|
+
const Lock$1 = createLucideIcon$1("lock", __iconNode$p_);
|
|
467
467
|
/**
|
|
468
468
|
* @license lucide-react v0.552.0 - ISC
|
|
469
469
|
*
|
|
470
470
|
* This source code is licensed under the ISC license.
|
|
471
471
|
* See the LICENSE file in the root directory of this source tree.
|
|
472
472
|
*/
|
|
473
|
-
const __iconNode$
|
|
474
|
-
const Minus$1 = createLucideIcon$1("minus", __iconNode$
|
|
473
|
+
const __iconNode$pZ = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
474
|
+
const Minus$1 = createLucideIcon$1("minus", __iconNode$pZ);
|
|
475
475
|
/**
|
|
476
476
|
* @license lucide-react v0.552.0 - ISC
|
|
477
477
|
*
|
|
478
478
|
* This source code is licensed under the ISC license.
|
|
479
479
|
* See the LICENSE file in the root directory of this source tree.
|
|
480
480
|
*/
|
|
481
|
-
const __iconNode$
|
|
481
|
+
const __iconNode$pY = [
|
|
482
482
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
483
483
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
484
484
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
485
485
|
];
|
|
486
|
-
const Monitor$1 = createLucideIcon$1("monitor", __iconNode$
|
|
486
|
+
const Monitor$1 = createLucideIcon$1("monitor", __iconNode$pY);
|
|
487
487
|
/**
|
|
488
488
|
* @license lucide-react v0.552.0 - ISC
|
|
489
489
|
*
|
|
490
490
|
* This source code is licensed under the ISC license.
|
|
491
491
|
* See the LICENSE file in the root directory of this source tree.
|
|
492
492
|
*/
|
|
493
|
-
const __iconNode$
|
|
493
|
+
const __iconNode$pX = [
|
|
494
494
|
["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
|
|
495
495
|
["path", { d: "M2 12H22", key: "1m8cig" }]
|
|
496
496
|
];
|
|
497
|
-
const MoveRight$1 = createLucideIcon$1("move-right", __iconNode$
|
|
497
|
+
const MoveRight$1 = createLucideIcon$1("move-right", __iconNode$pX);
|
|
498
498
|
/**
|
|
499
499
|
* @license lucide-react v0.552.0 - ISC
|
|
500
500
|
*
|
|
501
501
|
* This source code is licensed under the ISC license.
|
|
502
502
|
* See the LICENSE file in the root directory of this source tree.
|
|
503
503
|
*/
|
|
504
|
-
const __iconNode$
|
|
504
|
+
const __iconNode$pW = [
|
|
505
505
|
[
|
|
506
506
|
"path",
|
|
507
507
|
{
|
|
@@ -513,14 +513,14 @@ const __iconNode$pY = [
|
|
|
513
513
|
["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
|
|
514
514
|
["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
|
|
515
515
|
];
|
|
516
|
-
const Package$1 = createLucideIcon$1("package", __iconNode$
|
|
516
|
+
const Package$1 = createLucideIcon$1("package", __iconNode$pW);
|
|
517
517
|
/**
|
|
518
518
|
* @license lucide-react v0.552.0 - ISC
|
|
519
519
|
*
|
|
520
520
|
* This source code is licensed under the ISC license.
|
|
521
521
|
* See the LICENSE file in the root directory of this source tree.
|
|
522
522
|
*/
|
|
523
|
-
const __iconNode$
|
|
523
|
+
const __iconNode$pV = [
|
|
524
524
|
[
|
|
525
525
|
"path",
|
|
526
526
|
{
|
|
@@ -529,65 +529,65 @@ const __iconNode$pX = [
|
|
|
529
529
|
}
|
|
530
530
|
]
|
|
531
531
|
];
|
|
532
|
-
const Play$1 = createLucideIcon$1("play", __iconNode$
|
|
532
|
+
const Play$1 = createLucideIcon$1("play", __iconNode$pV);
|
|
533
533
|
/**
|
|
534
534
|
* @license lucide-react v0.552.0 - ISC
|
|
535
535
|
*
|
|
536
536
|
* This source code is licensed under the ISC license.
|
|
537
537
|
* See the LICENSE file in the root directory of this source tree.
|
|
538
538
|
*/
|
|
539
|
-
const __iconNode$
|
|
539
|
+
const __iconNode$pU = [
|
|
540
540
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
541
541
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
542
542
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
543
543
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
544
544
|
];
|
|
545
|
-
const RefreshCw$1 = createLucideIcon$1("refresh-cw", __iconNode$
|
|
545
|
+
const RefreshCw$1 = createLucideIcon$1("refresh-cw", __iconNode$pU);
|
|
546
546
|
/**
|
|
547
547
|
* @license lucide-react v0.552.0 - ISC
|
|
548
548
|
*
|
|
549
549
|
* This source code is licensed under the ISC license.
|
|
550
550
|
* See the LICENSE file in the root directory of this source tree.
|
|
551
551
|
*/
|
|
552
|
-
const __iconNode$
|
|
552
|
+
const __iconNode$pT = [
|
|
553
553
|
["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
|
|
554
554
|
["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
|
|
555
555
|
["path", { d: "M7 21h10", key: "1b0cd5" }],
|
|
556
556
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
557
557
|
["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
|
|
558
558
|
];
|
|
559
|
-
const Scale$1 = createLucideIcon$1("scale", __iconNode$
|
|
559
|
+
const Scale$1 = createLucideIcon$1("scale", __iconNode$pT);
|
|
560
560
|
/**
|
|
561
561
|
* @license lucide-react v0.552.0 - ISC
|
|
562
562
|
*
|
|
563
563
|
* This source code is licensed under the ISC license.
|
|
564
564
|
* See the LICENSE file in the root directory of this source tree.
|
|
565
565
|
*/
|
|
566
|
-
const __iconNode$
|
|
566
|
+
const __iconNode$pS = [
|
|
567
567
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
568
568
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
569
569
|
];
|
|
570
|
-
const Search$1 = createLucideIcon$1("search", __iconNode$
|
|
570
|
+
const Search$1 = createLucideIcon$1("search", __iconNode$pS);
|
|
571
571
|
/**
|
|
572
572
|
* @license lucide-react v0.552.0 - ISC
|
|
573
573
|
*
|
|
574
574
|
* This source code is licensed under the ISC license.
|
|
575
575
|
* See the LICENSE file in the root directory of this source tree.
|
|
576
576
|
*/
|
|
577
|
-
const __iconNode$
|
|
577
|
+
const __iconNode$pR = [
|
|
578
578
|
["path", { d: "M14 17H5", key: "gfn3mx" }],
|
|
579
579
|
["path", { d: "M19 7h-9", key: "6i9tg" }],
|
|
580
580
|
["circle", { cx: "17", cy: "17", r: "3", key: "18b49y" }],
|
|
581
581
|
["circle", { cx: "7", cy: "7", r: "3", key: "dfmy0x" }]
|
|
582
582
|
];
|
|
583
|
-
const Settings2$1 = createLucideIcon$1("settings-2", __iconNode$
|
|
583
|
+
const Settings2$1 = createLucideIcon$1("settings-2", __iconNode$pR);
|
|
584
584
|
/**
|
|
585
585
|
* @license lucide-react v0.552.0 - ISC
|
|
586
586
|
*
|
|
587
587
|
* This source code is licensed under the ISC license.
|
|
588
588
|
* See the LICENSE file in the root directory of this source tree.
|
|
589
589
|
*/
|
|
590
|
-
const __iconNode$
|
|
590
|
+
const __iconNode$pQ = [
|
|
591
591
|
[
|
|
592
592
|
"path",
|
|
593
593
|
{
|
|
@@ -597,53 +597,37 @@ const __iconNode$pS = [
|
|
|
597
597
|
],
|
|
598
598
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
599
599
|
];
|
|
600
|
-
const Settings$1 = createLucideIcon$1("settings", __iconNode$
|
|
600
|
+
const Settings$1 = createLucideIcon$1("settings", __iconNode$pQ);
|
|
601
601
|
/**
|
|
602
602
|
* @license lucide-react v0.552.0 - ISC
|
|
603
603
|
*
|
|
604
604
|
* This source code is licensed under the ISC license.
|
|
605
605
|
* See the LICENSE file in the root directory of this source tree.
|
|
606
606
|
*/
|
|
607
|
-
const __iconNode$
|
|
608
|
-
[
|
|
609
|
-
"path",
|
|
610
|
-
{
|
|
611
|
-
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
612
|
-
key: "r04s7s"
|
|
613
|
-
}
|
|
614
|
-
]
|
|
615
|
-
];
|
|
616
|
-
const Star$1 = createLucideIcon$1("star", __iconNode$pR);
|
|
617
|
-
/**
|
|
618
|
-
* @license lucide-react v0.552.0 - ISC
|
|
619
|
-
*
|
|
620
|
-
* This source code is licensed under the ISC license.
|
|
621
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
622
|
-
*/
|
|
623
|
-
const __iconNode$pQ = [
|
|
607
|
+
const __iconNode$pP = [
|
|
624
608
|
["path", { d: "M12 19h8", key: "baeox8" }],
|
|
625
609
|
["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
|
|
626
610
|
];
|
|
627
|
-
const Terminal$1 = createLucideIcon$1("terminal", __iconNode$
|
|
611
|
+
const Terminal$1 = createLucideIcon$1("terminal", __iconNode$pP);
|
|
628
612
|
/**
|
|
629
613
|
* @license lucide-react v0.552.0 - ISC
|
|
630
614
|
*
|
|
631
615
|
* This source code is licensed under the ISC license.
|
|
632
616
|
* See the LICENSE file in the root directory of this source tree.
|
|
633
617
|
*/
|
|
634
|
-
const __iconNode$
|
|
618
|
+
const __iconNode$pO = [
|
|
635
619
|
["path", { d: "M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2", key: "125lnx" }],
|
|
636
620
|
["path", { d: "M8.5 2h7", key: "csnxdl" }],
|
|
637
621
|
["path", { d: "M14.5 16h-5", key: "1ox875" }]
|
|
638
622
|
];
|
|
639
|
-
const TestTube$1 = createLucideIcon$1("test-tube", __iconNode$
|
|
623
|
+
const TestTube$1 = createLucideIcon$1("test-tube", __iconNode$pO);
|
|
640
624
|
/**
|
|
641
625
|
* @license lucide-react v0.552.0 - ISC
|
|
642
626
|
*
|
|
643
627
|
* This source code is licensed under the ISC license.
|
|
644
628
|
* See the LICENSE file in the root directory of this source tree.
|
|
645
629
|
*/
|
|
646
|
-
const __iconNode$
|
|
630
|
+
const __iconNode$pN = [
|
|
647
631
|
[
|
|
648
632
|
"path",
|
|
649
633
|
{
|
|
@@ -654,20 +638,7 @@ const __iconNode$pO = [
|
|
|
654
638
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
655
639
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
656
640
|
];
|
|
657
|
-
const TriangleAlert$1 = createLucideIcon$1("triangle-alert", __iconNode$
|
|
658
|
-
/**
|
|
659
|
-
* @license lucide-react v0.552.0 - ISC
|
|
660
|
-
*
|
|
661
|
-
* This source code is licensed under the ISC license.
|
|
662
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
663
|
-
*/
|
|
664
|
-
const __iconNode$pN = [
|
|
665
|
-
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
666
|
-
["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
|
|
667
|
-
["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
|
|
668
|
-
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
669
|
-
];
|
|
670
|
-
const Users$1 = createLucideIcon$1("users", __iconNode$pN);
|
|
641
|
+
const TriangleAlert$1 = createLucideIcon$1("triangle-alert", __iconNode$pN);
|
|
671
642
|
/**
|
|
672
643
|
* @license lucide-react v0.552.0 - ISC
|
|
673
644
|
*
|
|
@@ -106236,7 +106207,7 @@ const browserExt = {
|
|
|
106236
106207
|
},
|
|
106237
106208
|
test: () => true,
|
|
106238
106209
|
load: async () => {
|
|
106239
|
-
await import("./browserAll-
|
|
106210
|
+
await import("./browserAll-6MT3m5a1.js");
|
|
106240
106211
|
}
|
|
106241
106212
|
};
|
|
106242
106213
|
const webworkerExt = {
|
|
@@ -106247,7 +106218,7 @@ const webworkerExt = {
|
|
|
106247
106218
|
},
|
|
106248
106219
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106249
106220
|
load: async () => {
|
|
106250
|
-
await import("./webworkerAll-
|
|
106221
|
+
await import("./webworkerAll-XH8wWWkO.js");
|
|
106251
106222
|
}
|
|
106252
106223
|
};
|
|
106253
106224
|
class ObservablePoint {
|
|
@@ -153917,28 +153888,7 @@ const TelemetryCoveragePanel = ({ context: context2, events }) => {
|
|
|
153917
153888
|
}
|
|
153918
153889
|
);
|
|
153919
153890
|
};
|
|
153920
|
-
const
|
|
153921
|
-
const ISO_TILE_HEIGHT$1 = 32;
|
|
153922
|
-
const licenseBorderColors = {
|
|
153923
|
-
MIT: "#228b22",
|
|
153924
|
-
// Forest green - open/welcoming
|
|
153925
|
-
BSD: "#228b22",
|
|
153926
|
-
// Same as MIT
|
|
153927
|
-
"BSD-3-Clause": "#228b22",
|
|
153928
|
-
ISC: "#228b22",
|
|
153929
|
-
"Apache-2.0": "#d97706",
|
|
153930
|
-
// Amber/orange - formal but welcoming
|
|
153931
|
-
"GPL-3.0": "#2255aa",
|
|
153932
|
-
// GNU blue
|
|
153933
|
-
"LGPL-3.0": "#2255aa",
|
|
153934
|
-
"GPL-2.0": "#2255aa",
|
|
153935
|
-
"AGPL-3.0": "#2255aa",
|
|
153936
|
-
"MPL-2.0": "#8b5cf6",
|
|
153937
|
-
// Purple
|
|
153938
|
-
UNLICENSED: "#dc2626"
|
|
153939
|
-
// Red - restrictive
|
|
153940
|
-
};
|
|
153941
|
-
const cardThemes$1 = {
|
|
153891
|
+
const cardThemes = {
|
|
153942
153892
|
blue: {
|
|
153943
153893
|
cardBg: "#3b4a6b",
|
|
153944
153894
|
cardBorder: "#2a3654",
|
|
@@ -153988,15 +153938,36 @@ const cardThemes$1 = {
|
|
|
153988
153938
|
panelBorder: "#4a4a4a"
|
|
153989
153939
|
}
|
|
153990
153940
|
};
|
|
153991
|
-
|
|
153992
|
-
|
|
153993
|
-
|
|
153994
|
-
|
|
153941
|
+
const licenseBorderColors = {
|
|
153942
|
+
MIT: "#228b22",
|
|
153943
|
+
// Forest green - open/welcoming
|
|
153944
|
+
BSD: "#228b22",
|
|
153945
|
+
// Same as MIT
|
|
153946
|
+
"BSD-3-Clause": "#228b22",
|
|
153947
|
+
ISC: "#228b22",
|
|
153948
|
+
"Apache-2.0": "#d97706",
|
|
153949
|
+
// Amber/orange - formal but welcoming
|
|
153950
|
+
"GPL-3.0": "#2255aa",
|
|
153951
|
+
// GNU blue
|
|
153952
|
+
"LGPL-3.0": "#2255aa",
|
|
153953
|
+
"GPL-2.0": "#2255aa",
|
|
153954
|
+
"AGPL-3.0": "#2255aa",
|
|
153955
|
+
"MPL-2.0": "#8b5cf6",
|
|
153956
|
+
// Purple
|
|
153957
|
+
UNLICENSED: "#dc2626"
|
|
153958
|
+
// Red - restrictive
|
|
153959
|
+
};
|
|
153995
153960
|
function formatCount(count2) {
|
|
153996
153961
|
if (count2 < 1e3) return count2.toString();
|
|
153997
153962
|
if (count2 < 1e6) return `${(count2 / 1e3).toFixed(1)}k`;
|
|
153998
153963
|
return `${(count2 / 1e6).toFixed(1)}M`;
|
|
153999
153964
|
}
|
|
153965
|
+
const ISO_TILE_WIDTH$1 = 64;
|
|
153966
|
+
const ISO_TILE_HEIGHT$1 = 32;
|
|
153967
|
+
function parseColor$1(color2) {
|
|
153968
|
+
if (typeof color2 === "number") return color2;
|
|
153969
|
+
return parseInt(color2.replace("#", ""), 16);
|
|
153970
|
+
}
|
|
154000
153971
|
function getPackagePositions$1(count2, footprintWidth, footprintHeight) {
|
|
154001
153972
|
const positions = [];
|
|
154002
153973
|
const spacing = 0.18;
|
|
@@ -154243,7 +154214,7 @@ const RepoSprite = ({
|
|
|
154243
154214
|
onPackageHoverEnd
|
|
154244
154215
|
]);
|
|
154245
154216
|
if (variant === "card") {
|
|
154246
|
-
const colors = cardThemes
|
|
154217
|
+
const colors = cardThemes[cardTheme];
|
|
154247
154218
|
const licenseBorder = license ? licenseBorderColors[license] : null;
|
|
154248
154219
|
return /* @__PURE__ */ jsxs(
|
|
154249
154220
|
"div",
|
|
@@ -154667,6 +154638,11 @@ const RepoCard = ({
|
|
|
154667
154638
|
};
|
|
154668
154639
|
const ISO_TILE_WIDTH = 64;
|
|
154669
154640
|
const ISO_TILE_HEIGHT = 32;
|
|
154641
|
+
let sharedApp = null;
|
|
154642
|
+
let sharedAppPromise = null;
|
|
154643
|
+
let isAppDestroyed = false;
|
|
154644
|
+
const renderQueue = [];
|
|
154645
|
+
let isProcessingQueue = false;
|
|
154670
154646
|
function parseColor(color2) {
|
|
154671
154647
|
if (typeof color2 === "number") return color2;
|
|
154672
154648
|
return parseInt(color2.replace("#", ""), 16);
|
|
@@ -154714,7 +154690,38 @@ function getPackagePositions(count2, footprintWidth, footprintHeight) {
|
|
|
154714
154690
|
}
|
|
154715
154691
|
return positions;
|
|
154716
154692
|
}
|
|
154717
|
-
async function
|
|
154693
|
+
async function getSharedApp(width, height) {
|
|
154694
|
+
if (isAppDestroyed) {
|
|
154695
|
+
sharedApp = null;
|
|
154696
|
+
sharedAppPromise = null;
|
|
154697
|
+
isAppDestroyed = false;
|
|
154698
|
+
}
|
|
154699
|
+
if (sharedApp) {
|
|
154700
|
+
sharedApp.renderer.resize(width, height);
|
|
154701
|
+
return sharedApp;
|
|
154702
|
+
}
|
|
154703
|
+
if (sharedAppPromise) {
|
|
154704
|
+
const app = await sharedAppPromise;
|
|
154705
|
+
app.renderer.resize(width, height);
|
|
154706
|
+
return app;
|
|
154707
|
+
}
|
|
154708
|
+
sharedAppPromise = (async () => {
|
|
154709
|
+
const app = new Application();
|
|
154710
|
+
await app.init({
|
|
154711
|
+
width,
|
|
154712
|
+
height,
|
|
154713
|
+
backgroundAlpha: 0,
|
|
154714
|
+
backgroundColor: 0,
|
|
154715
|
+
antialias: true,
|
|
154716
|
+
resolution: 2,
|
|
154717
|
+
autoDensity: true
|
|
154718
|
+
});
|
|
154719
|
+
sharedApp = app;
|
|
154720
|
+
return app;
|
|
154721
|
+
})();
|
|
154722
|
+
return sharedAppPromise;
|
|
154723
|
+
}
|
|
154724
|
+
async function renderSpriteInternal(options) {
|
|
154718
154725
|
const {
|
|
154719
154726
|
size = 2,
|
|
154720
154727
|
color: color2 = 13789470,
|
|
@@ -154728,138 +154735,149 @@ async function renderSpriteToDataUrl(options) {
|
|
|
154728
154735
|
showBoundary = false,
|
|
154729
154736
|
boundaryColor = 16776960
|
|
154730
154737
|
} = options;
|
|
154731
|
-
const app =
|
|
154732
|
-
|
|
154733
|
-
|
|
154734
|
-
|
|
154735
|
-
|
|
154736
|
-
|
|
154737
|
-
|
|
154738
|
-
|
|
154739
|
-
|
|
154740
|
-
|
|
154741
|
-
|
|
154742
|
-
|
|
154743
|
-
|
|
154744
|
-
|
|
154745
|
-
|
|
154746
|
-
const
|
|
154747
|
-
|
|
154748
|
-
|
|
154749
|
-
|
|
154750
|
-
|
|
154751
|
-
|
|
154752
|
-
|
|
154753
|
-
|
|
154754
|
-
|
|
154755
|
-
|
|
154756
|
-
|
|
154757
|
-
|
|
154758
|
-
|
|
154759
|
-
|
|
154760
|
-
|
|
154761
|
-
|
|
154762
|
-
|
|
154763
|
-
|
|
154764
|
-
|
|
154765
|
-
|
|
154766
|
-
|
|
154767
|
-
|
|
154768
|
-
|
|
154769
|
-
|
|
154770
|
-
|
|
154771
|
-
|
|
154772
|
-
|
|
154773
|
-
const
|
|
154774
|
-
packages.length,
|
|
154775
|
-
boundaryWidth / 2,
|
|
154776
|
-
boundaryHeight / 2
|
|
154777
|
-
);
|
|
154778
|
-
for (let i2 = 0; i2 < packages.length; i2++) {
|
|
154779
|
-
const pkg = packages[i2];
|
|
154780
|
-
const pos = positions[i2] || { x: 0, y: 0 };
|
|
154781
|
-
const pkgColor = pkg.color ? parseColor(pkg.color) : parseColor(color2);
|
|
154782
|
-
const pkgSize = (pkg.size || 1) * size * 0.4;
|
|
154783
|
-
const buildingGraphics = generateBuildingSprite({
|
|
154784
|
-
size: pkgSize,
|
|
154785
|
-
color: pkgColor
|
|
154786
|
-
});
|
|
154787
|
-
buildingGraphics.x = pos.x;
|
|
154788
|
-
buildingGraphics.y = pos.y;
|
|
154789
|
-
mainContainer.addChild(buildingGraphics);
|
|
154790
|
-
}
|
|
154791
|
-
} else {
|
|
154792
|
-
const parsedColor = parseColor(color2);
|
|
154738
|
+
const app = await getSharedApp(width, height);
|
|
154739
|
+
app.stage.removeChildren();
|
|
154740
|
+
const boundarySize = 4 * size;
|
|
154741
|
+
const boundaryWidth = boundarySize * ISO_TILE_WIDTH;
|
|
154742
|
+
const boundaryHeight = boundarySize * ISO_TILE_HEIGHT;
|
|
154743
|
+
const padding = 0.9;
|
|
154744
|
+
const scaleX = width * padding / boundaryWidth;
|
|
154745
|
+
const scaleY = height * padding / boundaryHeight;
|
|
154746
|
+
const scale = Math.min(scaleX, scaleY);
|
|
154747
|
+
const mainContainer = new Container();
|
|
154748
|
+
mainContainer.x = width / 2;
|
|
154749
|
+
mainContainer.y = height / 2;
|
|
154750
|
+
mainContainer.scale.set(scale);
|
|
154751
|
+
app.stage.addChild(mainContainer);
|
|
154752
|
+
if (showBoundary) {
|
|
154753
|
+
const boundary = new Graphics();
|
|
154754
|
+
boundary.strokeStyle = { width: 2, color: boundaryColor };
|
|
154755
|
+
boundary.fillStyle = { color: boundaryColor, alpha: 0.1 };
|
|
154756
|
+
boundary.beginPath();
|
|
154757
|
+
boundary.moveTo(0, -boundaryHeight / 2);
|
|
154758
|
+
boundary.lineTo(boundaryWidth / 2, 0);
|
|
154759
|
+
boundary.lineTo(0, boundaryHeight / 2);
|
|
154760
|
+
boundary.lineTo(-boundaryWidth / 2, 0);
|
|
154761
|
+
boundary.closePath();
|
|
154762
|
+
boundary.fill();
|
|
154763
|
+
boundary.stroke();
|
|
154764
|
+
mainContainer.addChild(boundary);
|
|
154765
|
+
}
|
|
154766
|
+
if (license) {
|
|
154767
|
+
const licenseGround = generateLicenseGround(license, size);
|
|
154768
|
+
mainContainer.addChild(licenseGround);
|
|
154769
|
+
}
|
|
154770
|
+
if (packages && packages.length > 1) {
|
|
154771
|
+
const positions = getPackagePositions(
|
|
154772
|
+
packages.length,
|
|
154773
|
+
boundaryWidth / 2,
|
|
154774
|
+
boundaryHeight / 2
|
|
154775
|
+
);
|
|
154776
|
+
for (let i2 = 0; i2 < packages.length; i2++) {
|
|
154777
|
+
const pkg = packages[i2];
|
|
154778
|
+
const pos = positions[i2] || { x: 0, y: 0 };
|
|
154779
|
+
const pkgColor = pkg.color ? parseColor(pkg.color) : parseColor(color2);
|
|
154780
|
+
const pkgSize = (pkg.size || 1) * size * 0.4;
|
|
154793
154781
|
const buildingGraphics = generateBuildingSprite({
|
|
154794
|
-
size,
|
|
154795
|
-
color:
|
|
154782
|
+
size: pkgSize,
|
|
154783
|
+
color: pkgColor
|
|
154796
154784
|
});
|
|
154785
|
+
buildingGraphics.x = pos.x;
|
|
154786
|
+
buildingGraphics.y = pos.y;
|
|
154797
154787
|
mainContainer.addChild(buildingGraphics);
|
|
154798
154788
|
}
|
|
154799
|
-
|
|
154800
|
-
|
|
154801
|
-
|
|
154802
|
-
|
|
154803
|
-
|
|
154804
|
-
|
|
154805
|
-
|
|
154806
|
-
|
|
154807
|
-
|
|
154808
|
-
|
|
154809
|
-
|
|
154810
|
-
|
|
154811
|
-
|
|
154812
|
-
|
|
154813
|
-
|
|
154814
|
-
|
|
154815
|
-
|
|
154816
|
-
|
|
154817
|
-
|
|
154818
|
-
|
|
154819
|
-
|
|
154820
|
-
|
|
154821
|
-
|
|
154822
|
-
if (
|
|
154823
|
-
|
|
154824
|
-
|
|
154825
|
-
starDecoration
|
|
154826
|
-
|
|
154827
|
-
starDecoration
|
|
154828
|
-
|
|
154829
|
-
|
|
154830
|
-
|
|
154831
|
-
|
|
154832
|
-
|
|
154833
|
-
|
|
154834
|
-
|
|
154835
|
-
|
|
154836
|
-
|
|
154837
|
-
|
|
154838
|
-
|
|
154839
|
-
|
|
154840
|
-
|
|
154841
|
-
|
|
154842
|
-
|
|
154843
|
-
|
|
154844
|
-
|
|
154845
|
-
|
|
154846
|
-
|
|
154847
|
-
if (
|
|
154848
|
-
|
|
154849
|
-
|
|
154850
|
-
collabDecoration
|
|
154851
|
-
|
|
154852
|
-
collabDecoration
|
|
154853
|
-
|
|
154854
|
-
|
|
154855
|
-
|
|
154856
|
-
|
|
154857
|
-
|
|
154858
|
-
|
|
154859
|
-
|
|
154860
|
-
|
|
154861
|
-
|
|
154789
|
+
} else {
|
|
154790
|
+
const parsedColor = parseColor(color2);
|
|
154791
|
+
const buildingGraphics = generateBuildingSprite({
|
|
154792
|
+
size,
|
|
154793
|
+
color: parsedColor
|
|
154794
|
+
});
|
|
154795
|
+
mainContainer.addChild(buildingGraphics);
|
|
154796
|
+
}
|
|
154797
|
+
if (license) {
|
|
154798
|
+
const licenseSign = generateLicenseSign(license, {
|
|
154799
|
+
name: label || "",
|
|
154800
|
+
sizeMultiplier: size
|
|
154801
|
+
});
|
|
154802
|
+
const footprintHeight = boundaryHeight / 2;
|
|
154803
|
+
licenseSign.y = footprintHeight * 0.75;
|
|
154804
|
+
mainContainer.addChild(licenseSign);
|
|
154805
|
+
}
|
|
154806
|
+
if (stars && stars > 0) {
|
|
154807
|
+
const tier = getStarTier(stars);
|
|
154808
|
+
const scaleFactor = getStarScaleFactor(stars);
|
|
154809
|
+
let starDecoration = null;
|
|
154810
|
+
if (tier) {
|
|
154811
|
+
const decorationColor = tier.color;
|
|
154812
|
+
if (tier.decorationType === "flag") {
|
|
154813
|
+
starDecoration = generateFlagSprite(decorationColor);
|
|
154814
|
+
} else if (tier.decorationType === "trophy") {
|
|
154815
|
+
starDecoration = generateTrophySprite(decorationColor);
|
|
154816
|
+
} else if (tier.decorationType === "statue") {
|
|
154817
|
+
starDecoration = generateStatueSprite(decorationColor);
|
|
154818
|
+
}
|
|
154819
|
+
}
|
|
154820
|
+
if (starDecoration) {
|
|
154821
|
+
const dim = { w: 8, h: 12 };
|
|
154822
|
+
starDecoration.pivot.set(dim.w, dim.h);
|
|
154823
|
+
starDecoration.scale.set(1.5 * scaleFactor);
|
|
154824
|
+
starDecoration.x = -boundaryWidth / 4;
|
|
154825
|
+
starDecoration.y = 0;
|
|
154826
|
+
mainContainer.addChild(starDecoration);
|
|
154827
|
+
}
|
|
154828
|
+
}
|
|
154829
|
+
if (collaborators && collaborators > 0) {
|
|
154830
|
+
const tier = getCollaboratorTier(collaborators);
|
|
154831
|
+
const scaleFactor = getCollaboratorScaleFactor(collaborators);
|
|
154832
|
+
let collabDecoration = null;
|
|
154833
|
+
if (tier) {
|
|
154834
|
+
const decorationColor = tier.color;
|
|
154835
|
+
if (tier.decorationType === "bench") {
|
|
154836
|
+
collabDecoration = generateBenchSprite(decorationColor);
|
|
154837
|
+
} else if (tier.decorationType === "pavilion") {
|
|
154838
|
+
collabDecoration = generatePavilionSprite(decorationColor);
|
|
154839
|
+
} else if (tier.decorationType === "gazebo") {
|
|
154840
|
+
collabDecoration = generateGazeboSprite(decorationColor);
|
|
154841
|
+
} else if (tier.decorationType === "bandstand") {
|
|
154842
|
+
collabDecoration = generateBandstandSprite(decorationColor);
|
|
154843
|
+
}
|
|
154844
|
+
}
|
|
154845
|
+
if (collabDecoration) {
|
|
154846
|
+
const dim = { h: 12 };
|
|
154847
|
+
collabDecoration.pivot.set(0, dim.h);
|
|
154848
|
+
collabDecoration.scale.set(1.5 * scaleFactor);
|
|
154849
|
+
collabDecoration.x = boundaryWidth / 4;
|
|
154850
|
+
collabDecoration.y = 0;
|
|
154851
|
+
mainContainer.addChild(collabDecoration);
|
|
154852
|
+
}
|
|
154853
|
+
}
|
|
154854
|
+
app.render();
|
|
154855
|
+
const canvas = app.canvas;
|
|
154856
|
+
const dataUrl = canvas.toDataURL("image/png");
|
|
154857
|
+
return dataUrl;
|
|
154858
|
+
}
|
|
154859
|
+
async function processRenderQueue() {
|
|
154860
|
+
if (isProcessingQueue) return;
|
|
154861
|
+
isProcessingQueue = true;
|
|
154862
|
+
while (renderQueue.length > 0) {
|
|
154863
|
+
const task = renderQueue.shift();
|
|
154864
|
+
if (task) {
|
|
154865
|
+
try {
|
|
154866
|
+
const dataUrl = await renderSpriteInternal(task.options);
|
|
154867
|
+
task.resolve(dataUrl);
|
|
154868
|
+
} catch (error) {
|
|
154869
|
+
task.reject(error instanceof Error ? error : new Error(String(error)));
|
|
154870
|
+
}
|
|
154871
|
+
}
|
|
154872
|
+
await new Promise((resolve) => setTimeout(resolve, 10));
|
|
154862
154873
|
}
|
|
154874
|
+
isProcessingQueue = false;
|
|
154875
|
+
}
|
|
154876
|
+
async function renderSpriteToDataUrl(options) {
|
|
154877
|
+
return new Promise((resolve, reject) => {
|
|
154878
|
+
renderQueue.push({ resolve, reject, options });
|
|
154879
|
+
processRenderQueue();
|
|
154880
|
+
});
|
|
154863
154881
|
}
|
|
154864
154882
|
const spriteCache = /* @__PURE__ */ new Map();
|
|
154865
154883
|
function getCacheKey(options) {
|
|
@@ -154892,6 +154910,14 @@ function clearSpriteCache() {
|
|
|
154892
154910
|
function getSpriteCacheSize() {
|
|
154893
154911
|
return spriteCache.size;
|
|
154894
154912
|
}
|
|
154913
|
+
function destroySharedApp() {
|
|
154914
|
+
if (sharedApp) {
|
|
154915
|
+
sharedApp.destroy(true, { children: true });
|
|
154916
|
+
sharedApp = null;
|
|
154917
|
+
sharedAppPromise = null;
|
|
154918
|
+
isAppDestroyed = true;
|
|
154919
|
+
}
|
|
154920
|
+
}
|
|
154895
154921
|
const languageColors = {
|
|
154896
154922
|
TypeScript: 3242182,
|
|
154897
154923
|
JavaScript: 16244510,
|
|
@@ -154944,32 +154970,23 @@ function getRepositoryColor(repository) {
|
|
|
154944
154970
|
}
|
|
154945
154971
|
return hashStringToColor(repository.name);
|
|
154946
154972
|
}
|
|
154947
|
-
function formatNumber(num) {
|
|
154948
|
-
if (num < 1e3) return num.toString();
|
|
154949
|
-
if (num < 1e6) return `${(num / 1e3).toFixed(1)}k`;
|
|
154950
|
-
return `${(num / 1e6).toFixed(1)}M`;
|
|
154951
|
-
}
|
|
154952
|
-
const cardThemes = {
|
|
154953
|
-
blue: { bg: "#1e3a5f", border: "#3b82f6", text: "#93c5fd" },
|
|
154954
|
-
red: { bg: "#5f1e1e", border: "#ef4444", text: "#fca5a5" },
|
|
154955
|
-
green: { bg: "#1e5f3a", border: "#22c55e", text: "#86efac" },
|
|
154956
|
-
purple: { bg: "#3b1e5f", border: "#8b5cf6", text: "#c4b5fd" },
|
|
154957
|
-
gold: { bg: "#5f4a1e", border: "#f59e0b", text: "#fcd34d" },
|
|
154958
|
-
dark: { bg: "#1a1a2e", border: "#4a4a6a", text: "#a0a0c0" }
|
|
154959
|
-
};
|
|
154960
154973
|
const RepoCardStatic = ({
|
|
154961
154974
|
repository,
|
|
154962
|
-
|
|
154975
|
+
packages,
|
|
154976
|
+
cardTheme = "blue",
|
|
154963
154977
|
width = 200,
|
|
154964
154978
|
height = 280,
|
|
154965
|
-
spriteSize = 160
|
|
154966
|
-
showMetadata = true
|
|
154979
|
+
spriteSize = 160
|
|
154967
154980
|
}) => {
|
|
154968
154981
|
var _a, _b, _c;
|
|
154969
154982
|
const { theme: theme2 } = useTheme();
|
|
154970
154983
|
const [spriteDataUrl, setSpriteDataUrl] = useState(null);
|
|
154971
154984
|
const [isLoading, setIsLoading] = useState(true);
|
|
154972
|
-
const
|
|
154985
|
+
const colors = cardThemes[cardTheme];
|
|
154986
|
+
const license = (_a = repository.github) == null ? void 0 : _a.license;
|
|
154987
|
+
const licenseBorder = license ? licenseBorderColors[license] : null;
|
|
154988
|
+
const stars = (_b = repository.github) == null ? void 0 : _b.stars;
|
|
154989
|
+
const files = (_c = repository.metrics) == null ? void 0 : _c.fileCount;
|
|
154973
154990
|
const size = calculateRepositorySize(repository.metrics);
|
|
154974
154991
|
const color2 = getRepositoryColor(repository);
|
|
154975
154992
|
useEffect(() => {
|
|
@@ -154980,6 +154997,7 @@ const RepoCardStatic = ({
|
|
|
154980
154997
|
const dataUrl = await renderSpriteToDataUrlCached({
|
|
154981
154998
|
size,
|
|
154982
154999
|
color: color2,
|
|
155000
|
+
packages,
|
|
154983
155001
|
stars: (_a2 = repository.github) == null ? void 0 : _a2.stars,
|
|
154984
155002
|
collaborators: (_b2 = repository.metrics) == null ? void 0 : _b2.contributors,
|
|
154985
155003
|
license: (_c2 = repository.github) == null ? void 0 : _c2.license,
|
|
@@ -155002,47 +155020,167 @@ const RepoCardStatic = ({
|
|
|
155002
155020
|
return () => {
|
|
155003
155021
|
mounted = false;
|
|
155004
155022
|
};
|
|
155005
|
-
}, [size, color2, repository, spriteSize]);
|
|
155023
|
+
}, [size, color2, packages, repository, spriteSize]);
|
|
155006
155024
|
return /* @__PURE__ */ jsxs(
|
|
155007
155025
|
"div",
|
|
155008
155026
|
{
|
|
155009
155027
|
style: {
|
|
155010
|
-
|
|
155011
|
-
height,
|
|
155028
|
+
position: "relative",
|
|
155012
155029
|
display: "flex",
|
|
155013
155030
|
flexDirection: "column",
|
|
155014
|
-
backgroundColor:
|
|
155015
|
-
|
|
155016
|
-
|
|
155031
|
+
backgroundColor: colors.cardBg,
|
|
155032
|
+
padding: "28px 12px 12px 12px",
|
|
155033
|
+
border: `${licenseBorder ? "5px" : "3px"} solid ${licenseBorder || colors.cardBorder}`,
|
|
155034
|
+
width,
|
|
155035
|
+
height,
|
|
155036
|
+
boxSizing: "border-box",
|
|
155017
155037
|
overflow: "hidden",
|
|
155018
|
-
|
|
155038
|
+
boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
|
|
155019
155039
|
},
|
|
155020
155040
|
children: [
|
|
155021
|
-
/* @__PURE__ */
|
|
155041
|
+
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
155022
155042
|
"div",
|
|
155023
155043
|
{
|
|
155024
155044
|
style: {
|
|
155025
|
-
|
|
155045
|
+
position: "absolute",
|
|
155046
|
+
top: "6px",
|
|
155047
|
+
left: "8px",
|
|
155026
155048
|
display: "flex",
|
|
155027
155049
|
alignItems: "center",
|
|
155028
|
-
|
|
155029
|
-
|
|
155030
|
-
minHeight: spriteSize
|
|
155050
|
+
gap: "6px",
|
|
155051
|
+
zIndex: 10
|
|
155031
155052
|
},
|
|
155032
|
-
children:
|
|
155033
|
-
|
|
155034
|
-
|
|
155035
|
-
|
|
155036
|
-
|
|
155037
|
-
|
|
155038
|
-
|
|
155039
|
-
|
|
155040
|
-
|
|
155053
|
+
children: [
|
|
155054
|
+
/* @__PURE__ */ jsx(
|
|
155055
|
+
"span",
|
|
155056
|
+
{
|
|
155057
|
+
style: {
|
|
155058
|
+
fontSize: "14px",
|
|
155059
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155060
|
+
color: "#a78bfa",
|
|
155061
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
155062
|
+
fontFamily: theme2.fonts.body
|
|
155063
|
+
},
|
|
155064
|
+
children: "Monorepo"
|
|
155041
155065
|
}
|
|
155042
|
-
|
|
155043
|
-
) : spriteDataUrl ? (
|
|
155044
|
-
// eslint-disable-next-line @next/next/no-img-element
|
|
155066
|
+
),
|
|
155045
155067
|
/* @__PURE__ */ jsx(
|
|
155068
|
+
"span",
|
|
155069
|
+
{
|
|
155070
|
+
style: {
|
|
155071
|
+
fontSize: "14px",
|
|
155072
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155073
|
+
color: "#ffffff",
|
|
155074
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
155075
|
+
fontFamily: theme2.fonts.body
|
|
155076
|
+
},
|
|
155077
|
+
children: packages.length
|
|
155078
|
+
}
|
|
155079
|
+
)
|
|
155080
|
+
]
|
|
155081
|
+
}
|
|
155082
|
+
),
|
|
155083
|
+
stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
|
|
155084
|
+
"div",
|
|
155085
|
+
{
|
|
155086
|
+
style: {
|
|
155087
|
+
position: "absolute",
|
|
155088
|
+
top: "6px",
|
|
155089
|
+
right: "8px",
|
|
155090
|
+
display: "flex",
|
|
155091
|
+
alignItems: "center",
|
|
155092
|
+
gap: "4px",
|
|
155093
|
+
zIndex: 10
|
|
155094
|
+
},
|
|
155095
|
+
children: [
|
|
155096
|
+
/* @__PURE__ */ jsx(
|
|
155097
|
+
"span",
|
|
155098
|
+
{
|
|
155099
|
+
style: {
|
|
155100
|
+
fontSize: "10px",
|
|
155101
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155102
|
+
color: "#fbbf24",
|
|
155103
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)"
|
|
155104
|
+
},
|
|
155105
|
+
children: "★"
|
|
155106
|
+
}
|
|
155107
|
+
),
|
|
155108
|
+
/* @__PURE__ */ jsx(
|
|
155109
|
+
"span",
|
|
155110
|
+
{
|
|
155111
|
+
style: {
|
|
155112
|
+
fontSize: "16px",
|
|
155113
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155114
|
+
color: "#ffffff",
|
|
155115
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
155116
|
+
fontFamily: theme2.fonts.body
|
|
155117
|
+
},
|
|
155118
|
+
children: formatCount(stars)
|
|
155119
|
+
}
|
|
155120
|
+
)
|
|
155121
|
+
]
|
|
155122
|
+
}
|
|
155123
|
+
),
|
|
155124
|
+
/* @__PURE__ */ jsxs(
|
|
155125
|
+
"div",
|
|
155126
|
+
{
|
|
155127
|
+
style: {
|
|
155128
|
+
flex: 1,
|
|
155129
|
+
minHeight: 0,
|
|
155130
|
+
position: "relative",
|
|
155131
|
+
background: `linear-gradient(180deg, ${colors.windowGradient[0]} 0%, ${colors.windowGradient[1]} 100%)`,
|
|
155132
|
+
border: `2px solid ${colors.cardHighlight}`,
|
|
155133
|
+
boxShadow: "inset 0 2px 4px rgba(0,0,0,0.3)",
|
|
155134
|
+
overflow: "hidden",
|
|
155135
|
+
display: "flex",
|
|
155136
|
+
alignItems: "center",
|
|
155137
|
+
justifyContent: "center"
|
|
155138
|
+
},
|
|
155139
|
+
children: [
|
|
155140
|
+
/* @__PURE__ */ jsx(
|
|
155141
|
+
"div",
|
|
155142
|
+
{
|
|
155143
|
+
style: {
|
|
155144
|
+
position: "absolute",
|
|
155145
|
+
inset: 0,
|
|
155146
|
+
pointerEvents: "none",
|
|
155147
|
+
backgroundImage: `
|
|
155148
|
+
radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
155149
|
+
radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
155150
|
+
radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.35) 50%, transparent 50%),
|
|
155151
|
+
radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.25) 50%, transparent 50%),
|
|
155152
|
+
radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
155153
|
+
radial-gradient(1px 1px at 85% 40%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
155154
|
+
radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.35) 50%, transparent 50%),
|
|
155155
|
+
radial-gradient(1px 1px at 35% 70%, rgba(255,255,255,0.25) 50%, transparent 50%),
|
|
155156
|
+
radial-gradient(1px 1px at 50% 85%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
155157
|
+
radial-gradient(1px 1px at 65% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
155158
|
+
radial-gradient(1px 1px at 80% 75%, rgba(255,255,255,0.35) 50%, transparent 50%),
|
|
155159
|
+
radial-gradient(1px 1px at 95% 90%, rgba(255,255,255,0.25) 50%, transparent 50%),
|
|
155160
|
+
radial-gradient(1.5px 1.5px at 20% 25%, rgba(255,255,255,0.5) 50%, transparent 50%),
|
|
155161
|
+
radial-gradient(1.5px 1.5px at 60% 30%, rgba(200,220,255,0.45) 50%, transparent 50%),
|
|
155162
|
+
radial-gradient(1.5px 1.5px at 45% 65%, rgba(255,255,255,0.5) 50%, transparent 50%),
|
|
155163
|
+
radial-gradient(1.5px 1.5px at 75% 80%, rgba(220,200,255,0.45) 50%, transparent 50%),
|
|
155164
|
+
radial-gradient(2px 2px at 30% 50%, rgba(255,255,255,0.6) 50%, transparent 50%),
|
|
155165
|
+
radial-gradient(2px 2px at 70% 55%, rgba(200,220,255,0.55) 50%, transparent 50%),
|
|
155166
|
+
radial-gradient(2px 2px at 90% 15%, rgba(255,255,255,0.6) 50%, transparent 50%)
|
|
155167
|
+
`,
|
|
155168
|
+
backgroundSize: "100% 100%"
|
|
155169
|
+
}
|
|
155170
|
+
}
|
|
155171
|
+
),
|
|
155172
|
+
isLoading ? /* @__PURE__ */ jsx(
|
|
155173
|
+
"div",
|
|
155174
|
+
{
|
|
155175
|
+
style: {
|
|
155176
|
+
width: spriteSize * 0.5,
|
|
155177
|
+
height: spriteSize * 0.5,
|
|
155178
|
+
backgroundColor: `${colors.cardHighlight}40`,
|
|
155179
|
+
borderRadius: "8px",
|
|
155180
|
+
animation: "pulse 1.5s ease-in-out infinite"
|
|
155181
|
+
}
|
|
155182
|
+
}
|
|
155183
|
+
) : spriteDataUrl ? /* @__PURE__ */ jsx(
|
|
155046
155184
|
"img",
|
|
155047
155185
|
{
|
|
155048
155186
|
src: spriteDataUrl,
|
|
@@ -155053,73 +155191,142 @@ const RepoCardStatic = ({
|
|
|
155053
155191
|
objectFit: "contain"
|
|
155054
155192
|
}
|
|
155055
155193
|
}
|
|
155056
|
-
)
|
|
155057
|
-
|
|
155058
|
-
|
|
155059
|
-
|
|
155060
|
-
|
|
155061
|
-
|
|
155062
|
-
|
|
155063
|
-
|
|
155064
|
-
|
|
155065
|
-
|
|
155194
|
+
) : /* @__PURE__ */ jsx(
|
|
155195
|
+
"div",
|
|
155196
|
+
{
|
|
155197
|
+
style: {
|
|
155198
|
+
width: spriteSize * 0.5,
|
|
155199
|
+
height: spriteSize * 0.5,
|
|
155200
|
+
backgroundColor: `#${color2.toString(16).padStart(6, "0")}`,
|
|
155201
|
+
borderRadius: "8px",
|
|
155202
|
+
opacity: 0.5
|
|
155203
|
+
}
|
|
155066
155204
|
}
|
|
155067
|
-
|
|
155068
|
-
|
|
155205
|
+
)
|
|
155206
|
+
]
|
|
155069
155207
|
}
|
|
155070
155208
|
),
|
|
155071
|
-
|
|
155209
|
+
/* @__PURE__ */ jsxs(
|
|
155072
155210
|
"div",
|
|
155073
155211
|
{
|
|
155074
155212
|
style: {
|
|
155075
|
-
|
|
155076
|
-
|
|
155077
|
-
|
|
155213
|
+
marginTop: "8px",
|
|
155214
|
+
padding: "8px",
|
|
155215
|
+
background: `linear-gradient(180deg, ${colors.panelGradient[0]} 0%, ${colors.panelGradient[1]} 100%)`,
|
|
155216
|
+
border: `1px solid ${colors.panelBorder}`,
|
|
155217
|
+
flexShrink: 0
|
|
155078
155218
|
},
|
|
155079
155219
|
children: [
|
|
155080
155220
|
/* @__PURE__ */ jsx(
|
|
155081
155221
|
"div",
|
|
155082
155222
|
{
|
|
155083
155223
|
style: {
|
|
155084
|
-
fontSize:
|
|
155085
|
-
fontWeight:
|
|
155086
|
-
color:
|
|
155087
|
-
marginBottom: "
|
|
155224
|
+
fontSize: theme2.fontSizes[2],
|
|
155225
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155226
|
+
color: "#ffffff",
|
|
155227
|
+
marginBottom: "6px",
|
|
155228
|
+
fontFamily: theme2.fonts.body,
|
|
155229
|
+
whiteSpace: "nowrap",
|
|
155088
155230
|
overflow: "hidden",
|
|
155089
155231
|
textOverflow: "ellipsis",
|
|
155090
|
-
|
|
155232
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.3)",
|
|
155233
|
+
textAlign: "center"
|
|
155091
155234
|
},
|
|
155092
155235
|
title: repository.name,
|
|
155093
155236
|
children: repository.name
|
|
155094
155237
|
}
|
|
155095
155238
|
),
|
|
155096
|
-
/* @__PURE__ */
|
|
155239
|
+
/* @__PURE__ */ jsx(
|
|
155240
|
+
"div",
|
|
155241
|
+
{
|
|
155242
|
+
style: {
|
|
155243
|
+
display: "flex",
|
|
155244
|
+
justifyContent: "center",
|
|
155245
|
+
flexWrap: "wrap",
|
|
155246
|
+
gap: "10px",
|
|
155247
|
+
fontSize: theme2.fontSizes[1],
|
|
155248
|
+
color: "#e0e0e0",
|
|
155249
|
+
fontFamily: theme2.fonts.body
|
|
155250
|
+
},
|
|
155251
|
+
children: files !== void 0 && files > 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
155252
|
+
/* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#94a3b8", children: /* @__PURE__ */ jsx(
|
|
155253
|
+
"path",
|
|
155254
|
+
{
|
|
155255
|
+
d: "M3 1h7l3 3v11H3V1zm7 0v3h3M5 8h6M5 11h6",
|
|
155256
|
+
stroke: "#94a3b8",
|
|
155257
|
+
strokeWidth: "1",
|
|
155258
|
+
fill: "none"
|
|
155259
|
+
}
|
|
155260
|
+
) }),
|
|
155261
|
+
formatCount(files)
|
|
155262
|
+
] })
|
|
155263
|
+
}
|
|
155264
|
+
),
|
|
155265
|
+
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
155097
155266
|
"div",
|
|
155098
155267
|
{
|
|
155099
155268
|
style: {
|
|
155269
|
+
marginTop: "6px",
|
|
155100
155270
|
display: "flex",
|
|
155101
|
-
|
|
155102
|
-
|
|
155103
|
-
|
|
155271
|
+
flexWrap: "wrap",
|
|
155272
|
+
justifyContent: "center",
|
|
155273
|
+
gap: "4px"
|
|
155104
155274
|
},
|
|
155105
155275
|
children: [
|
|
155106
|
-
(
|
|
155107
|
-
|
|
155108
|
-
|
|
155109
|
-
|
|
155110
|
-
|
|
155111
|
-
|
|
155112
|
-
|
|
155113
|
-
|
|
155114
|
-
|
|
155115
|
-
|
|
155116
|
-
|
|
155117
|
-
|
|
155276
|
+
packages.slice(0, 6).map((pkg, i2) => /* @__PURE__ */ jsx(
|
|
155277
|
+
"span",
|
|
155278
|
+
{
|
|
155279
|
+
style: {
|
|
155280
|
+
fontSize: theme2.fontSizes[0],
|
|
155281
|
+
color: "#e0e0e0",
|
|
155282
|
+
backgroundColor: "rgba(0,0,0,0.2)",
|
|
155283
|
+
padding: "2px 6px",
|
|
155284
|
+
borderRadius: "3px",
|
|
155285
|
+
fontFamily: theme2.fonts.body,
|
|
155286
|
+
borderLeft: `2px solid ${typeof pkg.color === "string" ? pkg.color : `#${(pkg.color || 8947848).toString(16).padStart(6, "0")}`}`
|
|
155287
|
+
},
|
|
155288
|
+
children: pkg.name
|
|
155289
|
+
},
|
|
155290
|
+
i2
|
|
155291
|
+
)),
|
|
155292
|
+
packages.length > 6 && /* @__PURE__ */ jsxs(
|
|
155293
|
+
"span",
|
|
155294
|
+
{
|
|
155295
|
+
style: {
|
|
155296
|
+
fontSize: theme2.fontSizes[0],
|
|
155297
|
+
color: "#a0a0a0",
|
|
155298
|
+
fontFamily: theme2.fonts.body
|
|
155299
|
+
},
|
|
155300
|
+
children: [
|
|
155301
|
+
"+",
|
|
155302
|
+
packages.length - 6,
|
|
155303
|
+
" more"
|
|
155304
|
+
]
|
|
155305
|
+
}
|
|
155306
|
+
)
|
|
155118
155307
|
]
|
|
155119
155308
|
}
|
|
155120
155309
|
)
|
|
155121
155310
|
]
|
|
155122
155311
|
}
|
|
155312
|
+
),
|
|
155313
|
+
license && /* @__PURE__ */ jsx(
|
|
155314
|
+
"div",
|
|
155315
|
+
{
|
|
155316
|
+
style: {
|
|
155317
|
+
position: "absolute",
|
|
155318
|
+
bottom: "-3px",
|
|
155319
|
+
right: "-3px",
|
|
155320
|
+
backgroundColor: licenseBorder || colors.cardHighlight,
|
|
155321
|
+
padding: "3px 10px",
|
|
155322
|
+
borderRadius: "3px 0 0 0",
|
|
155323
|
+
fontSize: theme2.fontSizes[0],
|
|
155324
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155325
|
+
color: "#ffffff",
|
|
155326
|
+
textShadow: "0 1px 1px rgba(0,0,0,0.3)"
|
|
155327
|
+
},
|
|
155328
|
+
children: license
|
|
155329
|
+
}
|
|
155123
155330
|
)
|
|
155124
155331
|
]
|
|
155125
155332
|
}
|
|
@@ -155257,13 +155464,14 @@ export {
|
|
|
155257
155464
|
GitChangesPanel as G,
|
|
155258
155465
|
clearSpriteCache as H,
|
|
155259
155466
|
getSpriteCacheSize as I,
|
|
155260
|
-
|
|
155261
|
-
|
|
155262
|
-
|
|
155467
|
+
destroySharedApp as J,
|
|
155468
|
+
TelemetryCoveragePanelContent as K,
|
|
155469
|
+
TelemetryCoveragePanelPreview as L,
|
|
155263
155470
|
MAX_NODES_PER_MAP as M,
|
|
155264
|
-
|
|
155471
|
+
CollectionMapPanel as N,
|
|
155265
155472
|
OverworldMapPanelContent as O,
|
|
155266
155473
|
PackageCompositionPanel as P,
|
|
155474
|
+
CollectionMapPanelContent as Q,
|
|
155267
155475
|
RepoSprite as R,
|
|
155268
155476
|
SearchPanel as S,
|
|
155269
155477
|
TelemetryCoveragePanel as T,
|
|
@@ -155294,4 +155502,4 @@ export {
|
|
|
155294
155502
|
RepoCardStatic as y,
|
|
155295
155503
|
renderSpriteToDataUrl as z
|
|
155296
155504
|
};
|
|
155297
|
-
//# sourceMappingURL=index-
|
|
155505
|
+
//# sourceMappingURL=index-Ckze1Emy.js.map
|