@industry-theme/github-panels 0.1.68 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,7 @@ const createLucideIcon = (iconName, iconNode) => {
133
133
  * This source code is licensed under the ISC license.
134
134
  * See the LICENSE file in the root directory of this source tree.
135
135
  */
136
- const __iconNode$D = [
136
+ const __iconNode$H = [
137
137
  ["path", { d: "M10 12h4", key: "a56b0p" }],
138
138
  ["path", { d: "M10 8h4", key: "1sr2af" }],
139
139
  ["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
@@ -146,108 +146,108 @@ const __iconNode$D = [
146
146
  ],
147
147
  ["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
148
148
  ];
149
- const Building2 = createLucideIcon("building-2", __iconNode$D);
149
+ const Building2 = createLucideIcon("building-2", __iconNode$H);
150
150
  /**
151
151
  * @license lucide-react v0.552.0 - ISC
152
152
  *
153
153
  * This source code is licensed under the ISC license.
154
154
  * See the LICENSE file in the root directory of this source tree.
155
155
  */
156
- const __iconNode$C = [
156
+ const __iconNode$G = [
157
157
  ["path", { d: "M8 2v4", key: "1cmpym" }],
158
158
  ["path", { d: "M16 2v4", key: "4m81vk" }],
159
159
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
160
160
  ["path", { d: "M3 10h18", key: "8toen8" }]
161
161
  ];
162
- const Calendar = createLucideIcon("calendar", __iconNode$C);
162
+ const Calendar = createLucideIcon("calendar", __iconNode$G);
163
163
  /**
164
164
  * @license lucide-react v0.552.0 - ISC
165
165
  *
166
166
  * This source code is licensed under the ISC license.
167
167
  * See the LICENSE file in the root directory of this source tree.
168
168
  */
169
- const __iconNode$B = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
170
- const Check = createLucideIcon("check", __iconNode$B);
169
+ const __iconNode$F = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
170
+ const Check = createLucideIcon("check", __iconNode$F);
171
171
  /**
172
172
  * @license lucide-react v0.552.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
176
  */
177
- const __iconNode$A = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
178
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$A);
177
+ const __iconNode$E = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
178
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$E);
179
179
  /**
180
180
  * @license lucide-react v0.552.0 - ISC
181
181
  *
182
182
  * This source code is licensed under the ISC license.
183
183
  * See the LICENSE file in the root directory of this source tree.
184
184
  */
185
- const __iconNode$z = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
186
- const ChevronRight = createLucideIcon("chevron-right", __iconNode$z);
185
+ const __iconNode$D = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
186
+ const ChevronRight = createLucideIcon("chevron-right", __iconNode$D);
187
187
  /**
188
188
  * @license lucide-react v0.552.0 - ISC
189
189
  *
190
190
  * This source code is licensed under the ISC license.
191
191
  * See the LICENSE file in the root directory of this source tree.
192
192
  */
193
- const __iconNode$y = [
193
+ const __iconNode$C = [
194
194
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
195
195
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
196
196
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
197
197
  ];
198
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$y);
198
+ const CircleAlert = createLucideIcon("circle-alert", __iconNode$C);
199
199
  /**
200
200
  * @license lucide-react v0.552.0 - ISC
201
201
  *
202
202
  * This source code is licensed under the ISC license.
203
203
  * See the LICENSE file in the root directory of this source tree.
204
204
  */
205
- const __iconNode$x = [
205
+ const __iconNode$B = [
206
206
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
207
207
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
208
208
  ];
209
- const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$x);
209
+ const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$B);
210
210
  /**
211
211
  * @license lucide-react v0.552.0 - ISC
212
212
  *
213
213
  * This source code is licensed under the ISC license.
214
214
  * See the LICENSE file in the root directory of this source tree.
215
215
  */
216
- const __iconNode$w = [
216
+ const __iconNode$A = [
217
217
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
218
218
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }]
219
219
  ];
220
- const CircleDot = createLucideIcon("circle-dot", __iconNode$w);
220
+ const CircleDot = createLucideIcon("circle-dot", __iconNode$A);
221
221
  /**
222
222
  * @license lucide-react v0.552.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
226
  */
227
- const __iconNode$v = [
227
+ const __iconNode$z = [
228
228
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
229
229
  ["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" }]
230
230
  ];
231
- const Copy = createLucideIcon("copy", __iconNode$v);
231
+ const Copy = createLucideIcon("copy", __iconNode$z);
232
232
  /**
233
233
  * @license lucide-react v0.552.0 - ISC
234
234
  *
235
235
  * This source code is licensed under the ISC license.
236
236
  * See the LICENSE file in the root directory of this source tree.
237
237
  */
238
- const __iconNode$u = [
238
+ const __iconNode$y = [
239
239
  ["path", { d: "M12 15V3", key: "m9g1x1" }],
240
240
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
241
241
  ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
242
242
  ];
243
- const Download = createLucideIcon("download", __iconNode$u);
243
+ const Download = createLucideIcon("download", __iconNode$y);
244
244
  /**
245
245
  * @license lucide-react v0.552.0 - ISC
246
246
  *
247
247
  * This source code is licensed under the ISC license.
248
248
  * See the LICENSE file in the root directory of this source tree.
249
249
  */
250
- const __iconNode$t = [
250
+ const __iconNode$x = [
251
251
  ["path", { d: "m15 15 6 6", key: "1s409w" }],
252
252
  ["path", { d: "m15 9 6-6", key: "ko1vev" }],
253
253
  ["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
@@ -257,26 +257,26 @@ const __iconNode$t = [
257
257
  ["path", { d: "M3 8V3h5", key: "1ln10m" }],
258
258
  ["path", { d: "M9 9 3 3", key: "v551iv" }]
259
259
  ];
260
- const Expand = createLucideIcon("expand", __iconNode$t);
260
+ const Expand = createLucideIcon("expand", __iconNode$x);
261
261
  /**
262
262
  * @license lucide-react v0.552.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
266
  */
267
- const __iconNode$s = [
267
+ const __iconNode$w = [
268
268
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
269
269
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
270
270
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
271
271
  ];
272
- const ExternalLink = createLucideIcon("external-link", __iconNode$s);
272
+ const ExternalLink = createLucideIcon("external-link", __iconNode$w);
273
273
  /**
274
274
  * @license lucide-react v0.552.0 - ISC
275
275
  *
276
276
  * This source code is licensed under the ISC license.
277
277
  * See the LICENSE file in the root directory of this source tree.
278
278
  */
279
- const __iconNode$r = [
279
+ const __iconNode$v = [
280
280
  [
281
281
  "path",
282
282
  {
@@ -294,14 +294,14 @@ const __iconNode$r = [
294
294
  ],
295
295
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
296
296
  ];
297
- const EyeOff = createLucideIcon("eye-off", __iconNode$r);
297
+ const EyeOff = createLucideIcon("eye-off", __iconNode$v);
298
298
  /**
299
299
  * @license lucide-react v0.552.0 - ISC
300
300
  *
301
301
  * This source code is licensed under the ISC license.
302
302
  * See the LICENSE file in the root directory of this source tree.
303
303
  */
304
- const __iconNode$q = [
304
+ const __iconNode$u = [
305
305
  [
306
306
  "path",
307
307
  {
@@ -311,14 +311,14 @@ const __iconNode$q = [
311
311
  ],
312
312
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
313
313
  ];
314
- const Eye = createLucideIcon("eye", __iconNode$q);
314
+ const Eye = createLucideIcon("eye", __iconNode$u);
315
315
  /**
316
316
  * @license lucide-react v0.552.0 - ISC
317
317
  *
318
318
  * This source code is licensed under the ISC license.
319
319
  * See the LICENSE file in the root directory of this source tree.
320
320
  */
321
- const __iconNode$p = [
321
+ const __iconNode$t = [
322
322
  [
323
323
  "path",
324
324
  {
@@ -331,14 +331,33 @@ const __iconNode$p = [
331
331
  ["path", { d: "M16 13H8", key: "t4e002" }],
332
332
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
333
333
  ];
334
- const FileText = createLucideIcon("file-text", __iconNode$p);
334
+ const FileText = createLucideIcon("file-text", __iconNode$t);
335
335
  /**
336
336
  * @license lucide-react v0.552.0 - ISC
337
337
  *
338
338
  * This source code is licensed under the ISC license.
339
339
  * See the LICENSE file in the root directory of this source tree.
340
340
  */
341
- const __iconNode$o = [
341
+ const __iconNode$s = [
342
+ [
343
+ "path",
344
+ {
345
+ d: "M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",
346
+ key: "1w6njk"
347
+ }
348
+ ],
349
+ ["circle", { cx: "13", cy: "12", r: "2", key: "1j92g6" }],
350
+ ["path", { d: "M18 19c-2.8 0-5-2.2-5-5v8", key: "pkpw2h" }],
351
+ ["circle", { cx: "20", cy: "19", r: "2", key: "1obnsp" }]
352
+ ];
353
+ const FolderGit2 = createLucideIcon("folder-git-2", __iconNode$s);
354
+ /**
355
+ * @license lucide-react v0.552.0 - ISC
356
+ *
357
+ * This source code is licensed under the ISC license.
358
+ * See the LICENSE file in the root directory of this source tree.
359
+ */
360
+ const __iconNode$r = [
342
361
  [
343
362
  "path",
344
363
  {
@@ -347,14 +366,14 @@ const __iconNode$o = [
347
366
  }
348
367
  ]
349
368
  ];
350
- const FolderOpen = createLucideIcon("folder-open", __iconNode$o);
369
+ const FolderOpen = createLucideIcon("folder-open", __iconNode$r);
351
370
  /**
352
371
  * @license lucide-react v0.552.0 - ISC
353
372
  *
354
373
  * This source code is licensed under the ISC license.
355
374
  * See the LICENSE file in the root directory of this source tree.
356
375
  */
357
- const __iconNode$n = [
376
+ const __iconNode$q = [
358
377
  ["path", { d: "M12 10v6", key: "1bos4e" }],
359
378
  ["path", { d: "M9 13h6", key: "1uhe8q" }],
360
379
  [
@@ -365,14 +384,14 @@ const __iconNode$n = [
365
384
  }
366
385
  ]
367
386
  ];
368
- const FolderPlus = createLucideIcon("folder-plus", __iconNode$n);
387
+ const FolderPlus = createLucideIcon("folder-plus", __iconNode$q);
369
388
  /**
370
389
  * @license lucide-react v0.552.0 - ISC
371
390
  *
372
391
  * This source code is licensed under the ISC license.
373
392
  * See the LICENSE file in the root directory of this source tree.
374
393
  */
375
- const __iconNode$m = [
394
+ const __iconNode$p = [
376
395
  [
377
396
  "path",
378
397
  {
@@ -381,52 +400,52 @@ const __iconNode$m = [
381
400
  }
382
401
  ]
383
402
  ];
384
- const Folder = createLucideIcon("folder", __iconNode$m);
403
+ const Folder = createLucideIcon("folder", __iconNode$p);
385
404
  /**
386
405
  * @license lucide-react v0.552.0 - ISC
387
406
  *
388
407
  * This source code is licensed under the ISC license.
389
408
  * See the LICENSE file in the root directory of this source tree.
390
409
  */
391
- const __iconNode$l = [
410
+ const __iconNode$o = [
392
411
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
393
412
  ["line", { x1: "3", x2: "9", y1: "12", y2: "12", key: "1dyftd" }],
394
413
  ["line", { x1: "15", x2: "21", y1: "12", y2: "12", key: "oup4p8" }]
395
414
  ];
396
- const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$l);
415
+ const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$o);
397
416
  /**
398
417
  * @license lucide-react v0.552.0 - ISC
399
418
  *
400
419
  * This source code is licensed under the ISC license.
401
420
  * See the LICENSE file in the root directory of this source tree.
402
421
  */
403
- const __iconNode$k = [
422
+ const __iconNode$n = [
404
423
  ["circle", { cx: "12", cy: "18", r: "3", key: "1mpf1b" }],
405
424
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
406
425
  ["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
407
426
  ["path", { d: "M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9", key: "1uq4wg" }],
408
427
  ["path", { d: "M12 12v3", key: "158kv8" }]
409
428
  ];
410
- const GitFork = createLucideIcon("git-fork", __iconNode$k);
429
+ const GitFork = createLucideIcon("git-fork", __iconNode$n);
411
430
  /**
412
431
  * @license lucide-react v0.552.0 - ISC
413
432
  *
414
433
  * This source code is licensed under the ISC license.
415
434
  * See the LICENSE file in the root directory of this source tree.
416
435
  */
417
- const __iconNode$j = [
436
+ const __iconNode$m = [
418
437
  ["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
419
438
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
420
439
  ["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
421
440
  ];
422
- const GitMerge = createLucideIcon("git-merge", __iconNode$j);
441
+ const GitMerge = createLucideIcon("git-merge", __iconNode$m);
423
442
  /**
424
443
  * @license lucide-react v0.552.0 - ISC
425
444
  *
426
445
  * This source code is licensed under the ISC license.
427
446
  * See the LICENSE file in the root directory of this source tree.
428
447
  */
429
- const __iconNode$i = [
448
+ const __iconNode$l = [
430
449
  [
431
450
  "path",
432
451
  {
@@ -436,45 +455,73 @@ const __iconNode$i = [
436
455
  ],
437
456
  ["path", { d: "M9 18c-4.51 2-5-2-7-2", key: "9comsn" }]
438
457
  ];
439
- const Github = createLucideIcon("github", __iconNode$i);
458
+ const Github = createLucideIcon("github", __iconNode$l);
440
459
  /**
441
460
  * @license lucide-react v0.552.0 - ISC
442
461
  *
443
462
  * This source code is licensed under the ISC license.
444
463
  * See the LICENSE file in the root directory of this source tree.
445
464
  */
446
- const __iconNode$h = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
447
- const LoaderCircle = createLucideIcon("loader-circle", __iconNode$h);
465
+ const __iconNode$k = [
466
+ ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
467
+ ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
468
+ ];
469
+ const Link = createLucideIcon("link", __iconNode$k);
448
470
  /**
449
471
  * @license lucide-react v0.552.0 - ISC
450
472
  *
451
473
  * This source code is licensed under the ISC license.
452
474
  * See the LICENSE file in the root directory of this source tree.
453
475
  */
454
- const __iconNode$g = [
476
+ const __iconNode$j = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
477
+ const LoaderCircle = createLucideIcon("loader-circle", __iconNode$j);
478
+ /**
479
+ * @license lucide-react v0.552.0 - ISC
480
+ *
481
+ * This source code is licensed under the ISC license.
482
+ * See the LICENSE file in the root directory of this source tree.
483
+ */
484
+ const __iconNode$i = [
455
485
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
456
486
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
457
487
  ];
458
- const Lock = createLucideIcon("lock", __iconNode$g);
488
+ const Lock = createLucideIcon("lock", __iconNode$i);
459
489
  /**
460
490
  * @license lucide-react v0.552.0 - ISC
461
491
  *
462
492
  * This source code is licensed under the ISC license.
463
493
  * See the LICENSE file in the root directory of this source tree.
464
494
  */
465
- const __iconNode$f = [
495
+ const __iconNode$h = [
466
496
  ["path", { d: "m10 17 5-5-5-5", key: "1bsop3" }],
467
497
  ["path", { d: "M15 12H3", key: "6jk70r" }],
468
498
  ["path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4", key: "u53s6r" }]
469
499
  ];
470
- const LogIn = createLucideIcon("log-in", __iconNode$f);
500
+ const LogIn = createLucideIcon("log-in", __iconNode$h);
471
501
  /**
472
502
  * @license lucide-react v0.552.0 - ISC
473
503
  *
474
504
  * This source code is licensed under the ISC license.
475
505
  * See the LICENSE file in the root directory of this source tree.
476
506
  */
477
- const __iconNode$e = [
507
+ const __iconNode$g = [
508
+ [
509
+ "path",
510
+ {
511
+ d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
512
+ key: "1r0f0z"
513
+ }
514
+ ],
515
+ ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
516
+ ];
517
+ const MapPin = createLucideIcon("map-pin", __iconNode$g);
518
+ /**
519
+ * @license lucide-react v0.552.0 - ISC
520
+ *
521
+ * This source code is licensed under the ISC license.
522
+ * See the LICENSE file in the root directory of this source tree.
523
+ */
524
+ const __iconNode$f = [
478
525
  [
479
526
  "path",
480
527
  {
@@ -483,37 +530,37 @@ const __iconNode$e = [
483
530
  }
484
531
  ]
485
532
  ];
486
- const MessageSquare = createLucideIcon("message-square", __iconNode$e);
533
+ const MessageSquare = createLucideIcon("message-square", __iconNode$f);
487
534
  /**
488
535
  * @license lucide-react v0.552.0 - ISC
489
536
  *
490
537
  * This source code is licensed under the ISC license.
491
538
  * See the LICENSE file in the root directory of this source tree.
492
539
  */
493
- const __iconNode$d = [
540
+ const __iconNode$e = [
494
541
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
495
542
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
496
543
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
497
544
  ];
498
- const Monitor = createLucideIcon("monitor", __iconNode$d);
545
+ const Monitor = createLucideIcon("monitor", __iconNode$e);
499
546
  /**
500
547
  * @license lucide-react v0.552.0 - ISC
501
548
  *
502
549
  * This source code is licensed under the ISC license.
503
550
  * See the LICENSE file in the root directory of this source tree.
504
551
  */
505
- const __iconNode$c = [
552
+ const __iconNode$d = [
506
553
  ["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
507
554
  ["path", { d: "M2 12H22", key: "1m8cig" }]
508
555
  ];
509
- const MoveRight = createLucideIcon("move-right", __iconNode$c);
556
+ const MoveRight = createLucideIcon("move-right", __iconNode$d);
510
557
  /**
511
558
  * @license lucide-react v0.552.0 - ISC
512
559
  *
513
560
  * This source code is licensed under the ISC license.
514
561
  * See the LICENSE file in the root directory of this source tree.
515
562
  */
516
- const __iconNode$b = [
563
+ const __iconNode$c = [
517
564
  [
518
565
  "path",
519
566
  {
@@ -522,38 +569,38 @@ const __iconNode$b = [
522
569
  }
523
570
  ]
524
571
  ];
525
- const Play = createLucideIcon("play", __iconNode$b);
572
+ const Play = createLucideIcon("play", __iconNode$c);
526
573
  /**
527
574
  * @license lucide-react v0.552.0 - ISC
528
575
  *
529
576
  * This source code is licensed under the ISC license.
530
577
  * See the LICENSE file in the root directory of this source tree.
531
578
  */
532
- const __iconNode$a = [
579
+ const __iconNode$b = [
533
580
  ["path", { d: "M5 12h14", key: "1ays0h" }],
534
581
  ["path", { d: "M12 5v14", key: "s699le" }]
535
582
  ];
536
- const Plus = createLucideIcon("plus", __iconNode$a);
583
+ const Plus = createLucideIcon("plus", __iconNode$b);
537
584
  /**
538
585
  * @license lucide-react v0.552.0 - ISC
539
586
  *
540
587
  * This source code is licensed under the ISC license.
541
588
  * See the LICENSE file in the root directory of this source tree.
542
589
  */
543
- const __iconNode$9 = [
590
+ const __iconNode$a = [
544
591
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
545
592
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
546
593
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
547
594
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
548
595
  ];
549
- const RefreshCw = createLucideIcon("refresh-cw", __iconNode$9);
596
+ const RefreshCw = createLucideIcon("refresh-cw", __iconNode$a);
550
597
  /**
551
598
  * @license lucide-react v0.552.0 - ISC
552
599
  *
553
600
  * This source code is licensed under the ISC license.
554
601
  * See the LICENSE file in the root directory of this source tree.
555
602
  */
556
- const __iconNode$8 = [
603
+ const __iconNode$9 = [
557
604
  [
558
605
  "path",
559
606
  {
@@ -571,39 +618,39 @@ const __iconNode$8 = [
571
618
  ["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0", key: "1f8sc4" }],
572
619
  ["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }]
573
620
  ];
574
- const Rocket = createLucideIcon("rocket", __iconNode$8);
621
+ const Rocket = createLucideIcon("rocket", __iconNode$9);
575
622
  /**
576
623
  * @license lucide-react v0.552.0 - ISC
577
624
  *
578
625
  * This source code is licensed under the ISC license.
579
626
  * See the LICENSE file in the root directory of this source tree.
580
627
  */
581
- const __iconNode$7 = [
628
+ const __iconNode$8 = [
582
629
  ["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
583
630
  ["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
584
631
  ["path", { d: "M7 21h10", key: "1b0cd5" }],
585
632
  ["path", { d: "M12 3v18", key: "108xh3" }],
586
633
  ["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
587
634
  ];
588
- const Scale = createLucideIcon("scale", __iconNode$7);
635
+ const Scale = createLucideIcon("scale", __iconNode$8);
589
636
  /**
590
637
  * @license lucide-react v0.552.0 - ISC
591
638
  *
592
639
  * This source code is licensed under the ISC license.
593
640
  * See the LICENSE file in the root directory of this source tree.
594
641
  */
595
- const __iconNode$6 = [
642
+ const __iconNode$7 = [
596
643
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
597
644
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
598
645
  ];
599
- const Search = createLucideIcon("search", __iconNode$6);
646
+ const Search = createLucideIcon("search", __iconNode$7);
600
647
  /**
601
648
  * @license lucide-react v0.552.0 - ISC
602
649
  *
603
650
  * This source code is licensed under the ISC license.
604
651
  * See the LICENSE file in the root directory of this source tree.
605
652
  */
606
- const __iconNode$5 = [
653
+ const __iconNode$6 = [
607
654
  [
608
655
  "path",
609
656
  {
@@ -612,14 +659,14 @@ const __iconNode$5 = [
612
659
  }
613
660
  ]
614
661
  ];
615
- const Star = createLucideIcon("star", __iconNode$5);
662
+ const Star = createLucideIcon("star", __iconNode$6);
616
663
  /**
617
664
  * @license lucide-react v0.552.0 - ISC
618
665
  *
619
666
  * This source code is licensed under the ISC license.
620
667
  * See the LICENSE file in the root directory of this source tree.
621
668
  */
622
- const __iconNode$4 = [
669
+ const __iconNode$5 = [
623
670
  [
624
671
  "path",
625
672
  {
@@ -629,46 +676,59 @@ const __iconNode$4 = [
629
676
  ],
630
677
  ["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
631
678
  ];
632
- const Tag = createLucideIcon("tag", __iconNode$4);
679
+ const Tag = createLucideIcon("tag", __iconNode$5);
633
680
  /**
634
681
  * @license lucide-react v0.552.0 - ISC
635
682
  *
636
683
  * This source code is licensed under the ISC license.
637
684
  * See the LICENSE file in the root directory of this source tree.
638
685
  */
639
- const __iconNode$3 = [
686
+ const __iconNode$4 = [
640
687
  ["path", { d: "M10 11v6", key: "nco0om" }],
641
688
  ["path", { d: "M14 11v6", key: "outv1u" }],
642
689
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
643
690
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
644
691
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
645
692
  ];
646
- const Trash2 = createLucideIcon("trash-2", __iconNode$3);
693
+ const Trash2 = createLucideIcon("trash-2", __iconNode$4);
647
694
  /**
648
695
  * @license lucide-react v0.552.0 - ISC
649
696
  *
650
697
  * This source code is licensed under the ISC license.
651
698
  * See the LICENSE file in the root directory of this source tree.
652
699
  */
653
- const __iconNode$2 = [
700
+ const __iconNode$3 = [
654
701
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
655
702
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
656
703
  ["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
657
704
  ];
658
- const UserMinus = createLucideIcon("user-minus", __iconNode$2);
705
+ const UserMinus = createLucideIcon("user-minus", __iconNode$3);
659
706
  /**
660
707
  * @license lucide-react v0.552.0 - ISC
661
708
  *
662
709
  * This source code is licensed under the ISC license.
663
710
  * See the LICENSE file in the root directory of this source tree.
664
711
  */
665
- const __iconNode$1 = [
712
+ const __iconNode$2 = [
666
713
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
667
714
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
668
715
  ["line", { x1: "19", x2: "19", y1: "8", y2: "14", key: "1bvyxn" }],
669
716
  ["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
670
717
  ];
671
- const UserPlus = createLucideIcon("user-plus", __iconNode$1);
718
+ const UserPlus = createLucideIcon("user-plus", __iconNode$2);
719
+ /**
720
+ * @license lucide-react v0.552.0 - ISC
721
+ *
722
+ * This source code is licensed under the ISC license.
723
+ * See the LICENSE file in the root directory of this source tree.
724
+ */
725
+ const __iconNode$1 = [
726
+ ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
727
+ ["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
728
+ ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
729
+ ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
730
+ ];
731
+ const Users = createLucideIcon("users", __iconNode$1);
672
732
  /**
673
733
  * @license lucide-react v0.552.0 - ISC
674
734
  *
@@ -1929,10 +1989,10 @@ function formatNumber(num) {
1929
1989
  }
1930
1990
  return num.toString();
1931
1991
  }
1932
- const PANEL_ID = "github-search-panel";
1933
- const createPanelEvent = (type, payload) => ({
1992
+ const PANEL_ID$2 = "github-search-panel";
1993
+ const createPanelEvent$1 = (type, payload) => ({
1934
1994
  type,
1935
- source: PANEL_ID,
1995
+ source: PANEL_ID$2,
1936
1996
  timestamp: Date.now(),
1937
1997
  payload
1938
1998
  });
@@ -2014,7 +2074,7 @@ const GitHubSearchPanelContent = ({ context, actions, events }) => {
2014
2074
  setSelectedRepoId(repo.id);
2015
2075
  events.emit({
2016
2076
  type: "repository:preview",
2017
- source: PANEL_ID,
2077
+ source: PANEL_ID$2,
2018
2078
  timestamp: Date.now(),
2019
2079
  payload: {
2020
2080
  repository: repo,
@@ -2027,7 +2087,7 @@ const GitHubSearchPanelContent = ({ context, actions, events }) => {
2027
2087
  if (panelActions.addToCollection) {
2028
2088
  await panelActions.addToCollection(repo);
2029
2089
  events.emit(
2030
- createPanelEvent(`${PANEL_ID}:repository-added-to-collection`, {
2090
+ createPanelEvent$1(`${PANEL_ID$2}:repository-added-to-collection`, {
2031
2091
  repository: repo
2032
2092
  })
2033
2093
  );
@@ -3760,100 +3820,266 @@ function panelDataHelper$1(panelDataArray, panelData, layout) {
3760
3820
  pivotIndices
3761
3821
  };
3762
3822
  }
3763
- function C$1(e) {
3764
- return { "--panel-background": e.colors.background, "--panel-border": e.colors.border, "--panel-handle": e.colors.backgroundSecondary, "--panel-handle-hover": e.colors.backgroundHover, "--panel-handle-active": e.colors.primary, "--panel-button-bg": e.colors.surface, "--panel-button-hover": e.colors.backgroundHover, "--panel-button-border": e.colors.border, "--panel-button-icon": e.colors.textSecondary, "--panel-accent-bg": e.colors.primary + "15" };
3765
- }
3766
- const z$1 = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPanelWidth: u = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m, preventKeyboardScroll: f = true, disableSwipe: g = false }, v) => {
3767
- const b = useRef(null), y = useRef(false), w = useRef(null), x = C$1(d);
3768
- useImperativeHandle(v, () => ({ scrollToPanel: (e) => {
3769
- if (!b.current) return;
3770
- const t = b.current, n = t.children[e];
3771
- if (n) {
3772
- y.current = true, w.current && clearTimeout(w.current);
3773
- const e2 = n.offsetLeft;
3774
- t.scrollTo({ left: e2, behavior: "smooth" }), w.current = setTimeout(() => {
3775
- y.current = false;
3776
- }, 500);
3823
+ function mapThemeToPanelVars(theme2) {
3824
+ return {
3825
+ "--panel-background": theme2.colors.background,
3826
+ "--panel-border": theme2.colors.border,
3827
+ "--panel-handle": theme2.colors.backgroundSecondary,
3828
+ "--panel-handle-hover": theme2.colors.backgroundHover,
3829
+ "--panel-handle-active": theme2.colors.primary,
3830
+ "--panel-button-bg": theme2.colors.surface,
3831
+ "--panel-button-hover": theme2.colors.backgroundHover,
3832
+ "--panel-button-border": theme2.colors.border,
3833
+ "--panel-button-icon": theme2.colors.textSecondary,
3834
+ "--panel-accent-bg": theme2.colors.primary + "15"
3835
+ // primary color with 15% opacity
3836
+ };
3837
+ }
3838
+ const SnapCarousel = forwardRef(({
3839
+ panels: panels2,
3840
+ className = "",
3841
+ style: style2,
3842
+ theme: theme2,
3843
+ minPanelWidth = 350,
3844
+ idealPanelWidth = 0.333,
3845
+ // 1/3 of container
3846
+ showSeparator = false,
3847
+ onPanelChange,
3848
+ preventKeyboardScroll = true,
3849
+ disableSwipe = false
3850
+ }, ref) => {
3851
+ const containerRef = useRef(null);
3852
+ const isProgrammaticScrollRef = useRef(false);
3853
+ const scrollTimeoutRef = useRef(null);
3854
+ const themeStyles = mapThemeToPanelVars(theme2);
3855
+ useImperativeHandle(ref, () => ({
3856
+ scrollToPanel: (index2) => {
3857
+ if (!containerRef.current) return;
3858
+ const container = containerRef.current;
3859
+ const targetPanel = container.children[index2];
3860
+ if (targetPanel) {
3861
+ isProgrammaticScrollRef.current = true;
3862
+ if (scrollTimeoutRef.current) {
3863
+ clearTimeout(scrollTimeoutRef.current);
3864
+ }
3865
+ const scrollLeft = targetPanel.offsetLeft;
3866
+ container.scrollTo({
3867
+ left: scrollLeft,
3868
+ behavior: "smooth"
3869
+ });
3870
+ scrollTimeoutRef.current = setTimeout(() => {
3871
+ isProgrammaticScrollRef.current = false;
3872
+ }, 500);
3873
+ }
3874
+ },
3875
+ getCurrentPanel: () => {
3876
+ if (!containerRef.current || containerRef.current.children.length === 0) return 0;
3877
+ const container = containerRef.current;
3878
+ const containerRect = container.getBoundingClientRect();
3879
+ const snapPointX = containerRect.left;
3880
+ let closestIndex = 0;
3881
+ let closestDistance = Infinity;
3882
+ for (let i = 0; i < container.children.length; i++) {
3883
+ const panel = container.children[i];
3884
+ const panelRect = panel.getBoundingClientRect();
3885
+ const distance = Math.abs(panelRect.left - snapPointX);
3886
+ if (distance < closestDistance) {
3887
+ closestDistance = distance;
3888
+ closestIndex = i;
3889
+ }
3890
+ }
3891
+ return closestIndex;
3777
3892
  }
3778
- }, getCurrentPanel: () => {
3779
- if (!b.current || 0 === b.current.children.length) return 0;
3780
- const e = b.current, t = e.getBoundingClientRect().left;
3781
- let n = 0, r2 = 1 / 0;
3782
- for (let o2 = 0; o2 < e.children.length; o2++) {
3783
- const i = e.children[o2].getBoundingClientRect(), a2 = Math.abs(i.left - t);
3784
- a2 < r2 && (r2 = a2, n = o2);
3785
- }
3786
- return n;
3787
- } }));
3893
+ }));
3894
+ const handleScroll = (_e2) => {
3895
+ if (!onPanelChange || !containerRef.current || containerRef.current.children.length === 0) return;
3896
+ if (isProgrammaticScrollRef.current) return;
3897
+ const container = containerRef.current;
3898
+ const containerRect = container.getBoundingClientRect();
3899
+ const snapPointX = containerRect.left;
3900
+ let closestIndex = 0;
3901
+ let closestDistance = Infinity;
3902
+ for (let i = 0; i < container.children.length; i++) {
3903
+ const panel = container.children[i];
3904
+ const panelRect = panel.getBoundingClientRect();
3905
+ const distance = Math.abs(panelRect.left - snapPointX);
3906
+ if (distance < closestDistance) {
3907
+ closestDistance = distance;
3908
+ closestIndex = i;
3909
+ }
3910
+ }
3911
+ onPanelChange(closestIndex);
3912
+ };
3788
3913
  useEffect(() => {
3789
- if (!f || !b.current) return;
3790
- const e = b.current, t = (e2) => {
3791
- const t2 = e2.target;
3792
- if ("INPUT" === t2.tagName || "TEXTAREA" === t2.tagName || "SELECT" === t2.tagName || t2.isContentEditable || null !== t2.closest(".xterm") || null !== t2.closest('[contenteditable="true"]')) return;
3793
- [" ", "Space", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown"].includes(e2.key) && e2.preventDefault();
3914
+ if (!preventKeyboardScroll || !containerRef.current) return;
3915
+ const container = containerRef.current;
3916
+ const handleKeyDown = (e) => {
3917
+ const target = e.target;
3918
+ const isInteractive = target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.tagName === "SELECT" || target.isContentEditable || target.closest(".xterm") !== null || // Terminal elements
3919
+ target.closest('[contenteditable="true"]') !== null;
3920
+ if (isInteractive) {
3921
+ return;
3922
+ }
3923
+ const scrollKeys = [" ", "Space", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown"];
3924
+ if (scrollKeys.includes(e.key)) {
3925
+ e.preventDefault();
3926
+ }
3927
+ };
3928
+ container.addEventListener("keydown", handleKeyDown);
3929
+ return () => {
3930
+ container.removeEventListener("keydown", handleKeyDown);
3794
3931
  };
3795
- return e.addEventListener("keydown", t), () => {
3796
- e.removeEventListener("keydown", t);
3932
+ }, [preventKeyboardScroll]);
3933
+ useEffect(() => {
3934
+ return () => {
3935
+ if (scrollTimeoutRef.current) {
3936
+ clearTimeout(scrollTimeoutRef.current);
3937
+ }
3797
3938
  };
3798
- }, [f]), useEffect(() => () => {
3799
- w.current && clearTimeout(w.current);
3800
3939
  }, []);
3801
- const S = o.length, R = 2 * u;
3802
- let N;
3803
- N = 1 === S || 2 === S ? "100%" : `max(${u}px, ${100 * p2}%)`;
3804
- const E = React2__default.useId().replace(/:/g, "_");
3805
- return jsxs(Fragment, { children: [
3806
- 2 === S && /* @__PURE__ */ jsx("style", { children: `
3807
- .snap-carousel-container[data-carousel-id="${E}"][data-panel-count="2"] .snap-carousel-panel {
3940
+ const panelCount = panels2.length;
3941
+ const twoPanelThreshold = minPanelWidth * 2;
3942
+ let panelWidth;
3943
+ if (panelCount === 1) {
3944
+ panelWidth = "100%";
3945
+ } else if (panelCount === 2) {
3946
+ panelWidth = "100%";
3947
+ } else {
3948
+ panelWidth = `max(${minPanelWidth}px, ${idealPanelWidth * 100}%)`;
3949
+ }
3950
+ const carouselId = React2__default.useId().replace(/:/g, "_");
3951
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
3952
+ panelCount === 2 && /* @__PURE__ */ jsx("style", { children: `
3953
+ .snap-carousel-container[data-carousel-id="${carouselId}"][data-panel-count="2"] .snap-carousel-panel {
3808
3954
  width: 100%;
3809
3955
  }
3810
- @container (min-width: ${R}px) {
3811
- .snap-carousel-container[data-carousel-id="${E}"][data-panel-count="2"] .snap-carousel-panel {
3956
+ @container (min-width: ${twoPanelThreshold}px) {
3957
+ .snap-carousel-container[data-carousel-id="${carouselId}"][data-panel-count="2"] .snap-carousel-panel {
3812
3958
  width: 50%;
3813
3959
  }
3814
3960
  }
3815
3961
  ` }),
3816
- /* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a}`, style: { ...x, ...s2, "--snap-carousel-min-width": `${u}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": N, "--snap-carousel-panel-count": S, "--snap-carousel-two-panel-threshold": `${R}px` }, onScroll: (e) => {
3817
- if (!m || !b.current || 0 === b.current.children.length) return;
3818
- if (y.current) return;
3819
- const t = b.current, n = t.getBoundingClientRect().left;
3820
- let r2 = 0, o2 = 1 / 0;
3821
- for (let i = 0; i < t.children.length; i++) {
3822
- const e2 = t.children[i].getBoundingClientRect(), a2 = Math.abs(e2.left - n);
3823
- a2 < o2 && (o2 = a2, r2 = i);
3824
- }
3825
- m(r2);
3826
- }, "data-panel-count": S, "data-carousel-id": E, children: o.map((t, n) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: t }, n)) })
3962
+ /* @__PURE__ */ jsx(
3963
+ "div",
3964
+ {
3965
+ ref: containerRef,
3966
+ className: `snap-carousel-container ${disableSwipe ? "swipe-disabled" : ""} ${className}`,
3967
+ style: {
3968
+ ...themeStyles,
3969
+ ...style2,
3970
+ "--snap-carousel-min-width": `${minPanelWidth}px`,
3971
+ "--snap-carousel-ideal-width": `${idealPanelWidth * 100}%`,
3972
+ "--snap-carousel-gap": showSeparator ? "1px" : "0px",
3973
+ "--snap-carousel-panel-width": panelWidth,
3974
+ "--snap-carousel-panel-count": panelCount,
3975
+ "--snap-carousel-two-panel-threshold": `${twoPanelThreshold}px`
3976
+ },
3977
+ onScroll: handleScroll,
3978
+ "data-panel-count": panelCount,
3979
+ "data-carousel-id": carouselId,
3980
+ children: panels2.map((panel, index2) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: panel }, index2))
3981
+ }
3982
+ )
3827
3983
  ] });
3828
3984
  });
3829
- z$1.displayName = "SnapCarousel";
3830
- var le$2, se$1;
3831
- (se$1 = le$2 || (le$2 = {})).DragStart = "dragStart", se$1.DragMove = "dragMove", se$1.DragEnd = "dragEnd", se$1.DragCancel = "dragCancel", se$1.DragOver = "dragOver", se$1.RegisterDroppable = "registerDroppable", se$1.SetDroppableDisabled = "setDroppableDisabled", se$1.UnregisterDroppable = "unregisterDroppable";
3832
- const de$1 = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
3833
- var Te$1, Ae$1;
3834
- (Ae$1 = Te$1 || (Te$1 = {}))[Ae$1.Forward = 1] = "Forward", Ae$1[Ae$1.Backward = -1] = "Backward";
3835
- var _e$1, je$1, He$1, Ke$1;
3836
- (je$1 = _e$1 || (_e$1 = {})).Click = "click", je$1.DragStart = "dragstart", je$1.Keydown = "keydown", je$1.ContextMenu = "contextmenu", je$1.Resize = "resize", je$1.SelectionChange = "selectionchange", je$1.VisibilityChange = "visibilitychange", (Ke$1 = He$1 || (He$1 = {})).Space = "Space", Ke$1.Down = "ArrowDown", Ke$1.Right = "ArrowRight", Ke$1.Left = "ArrowLeft", Ke$1.Up = "ArrowUp", Ke$1.Esc = "Escape", Ke$1.Enter = "Enter", Ke$1.Tab = "Tab";
3837
- ({ start: [He$1.Space, He$1.Enter], cancel: [He$1.Esc], end: [He$1.Space, He$1.Enter, He$1.Tab] });
3838
- var rt$1, ot$1;
3839
- (ot$1 = rt$1 || (rt$1 = {}))[ot$1.RightClick = 2] = "RightClick";
3840
- var at$1, lt$1, st$1, ct$1;
3841
- (lt$1 = at$1 || (at$1 = {}))[lt$1.Pointer = 0] = "Pointer", lt$1[lt$1.DraggableRect = 1] = "DraggableRect", (ct$1 = st$1 || (st$1 = {}))[ct$1.TreeOrder = 0] = "TreeOrder", ct$1[ct$1.ReversedTreeOrder = 1] = "ReversedTreeOrder";
3842
- ({ x: { [Te$1.Backward]: false, [Te$1.Forward]: false }, y: { [Te$1.Backward]: false, [Te$1.Forward]: false } });
3843
- var pt$1, ht$1, mt$1;
3844
- (ht$1 = pt$1 || (pt$1 = {}))[ht$1.Always = 0] = "Always", ht$1[ht$1.BeforeDragging = 1] = "BeforeDragging", ht$1[ht$1.WhileDragging = 2] = "WhileDragging", (mt$1 || (mt$1 = {})).Optimized = "optimized";
3845
- ({ droppable: { strategy: pt$1.WhileDragging, frequency: mt$1.Optimized } });
3846
- /* @__PURE__ */ createContext({ ...de$1, scaleX: 1, scaleY: 1 });
3847
- var $t$1, Bt$1;
3848
- (Bt$1 = $t$1 || ($t$1 = {}))[Bt$1.Uninitialized = 0] = "Uninitialized", Bt$1[Bt$1.Initializing = 1] = "Initializing", Bt$1[Bt$1.Initialized = 2] = "Initialized";
3849
- var Ut$1;
3850
- (() => {
3851
- if ("undefined" != typeof window) {
3852
- const e = window;
3853
- return e.__principlemd_theme_context__ || (e.__principlemd_theme_context__ = createContext(void 0)), e.__principlemd_theme_context__;
3985
+ SnapCarousel.displayName = "SnapCarousel";
3986
+ var Action;
3987
+ (function(Action2) {
3988
+ Action2["DragStart"] = "dragStart";
3989
+ Action2["DragMove"] = "dragMove";
3990
+ Action2["DragEnd"] = "dragEnd";
3991
+ Action2["DragCancel"] = "dragCancel";
3992
+ Action2["DragOver"] = "dragOver";
3993
+ Action2["RegisterDroppable"] = "registerDroppable";
3994
+ Action2["SetDroppableDisabled"] = "setDroppableDisabled";
3995
+ Action2["UnregisterDroppable"] = "unregisterDroppable";
3996
+ })(Action || (Action = {}));
3997
+ const defaultCoordinates = /* @__PURE__ */ Object.freeze({
3998
+ x: 0,
3999
+ y: 0
4000
+ });
4001
+ var Direction;
4002
+ (function(Direction2) {
4003
+ Direction2[Direction2["Forward"] = 1] = "Forward";
4004
+ Direction2[Direction2["Backward"] = -1] = "Backward";
4005
+ })(Direction || (Direction = {}));
4006
+ var EventName;
4007
+ (function(EventName2) {
4008
+ EventName2["Click"] = "click";
4009
+ EventName2["DragStart"] = "dragstart";
4010
+ EventName2["Keydown"] = "keydown";
4011
+ EventName2["ContextMenu"] = "contextmenu";
4012
+ EventName2["Resize"] = "resize";
4013
+ EventName2["SelectionChange"] = "selectionchange";
4014
+ EventName2["VisibilityChange"] = "visibilitychange";
4015
+ })(EventName || (EventName = {}));
4016
+ var KeyboardCode;
4017
+ (function(KeyboardCode2) {
4018
+ KeyboardCode2["Space"] = "Space";
4019
+ KeyboardCode2["Down"] = "ArrowDown";
4020
+ KeyboardCode2["Right"] = "ArrowRight";
4021
+ KeyboardCode2["Left"] = "ArrowLeft";
4022
+ KeyboardCode2["Up"] = "ArrowUp";
4023
+ KeyboardCode2["Esc"] = "Escape";
4024
+ KeyboardCode2["Enter"] = "Enter";
4025
+ KeyboardCode2["Tab"] = "Tab";
4026
+ })(KeyboardCode || (KeyboardCode = {}));
4027
+ ({
4028
+ start: [KeyboardCode.Space, KeyboardCode.Enter],
4029
+ cancel: [KeyboardCode.Esc],
4030
+ end: [KeyboardCode.Space, KeyboardCode.Enter, KeyboardCode.Tab]
4031
+ });
4032
+ var MouseButton;
4033
+ (function(MouseButton2) {
4034
+ MouseButton2[MouseButton2["RightClick"] = 2] = "RightClick";
4035
+ })(MouseButton || (MouseButton = {}));
4036
+ var AutoScrollActivator;
4037
+ (function(AutoScrollActivator2) {
4038
+ AutoScrollActivator2[AutoScrollActivator2["Pointer"] = 0] = "Pointer";
4039
+ AutoScrollActivator2[AutoScrollActivator2["DraggableRect"] = 1] = "DraggableRect";
4040
+ })(AutoScrollActivator || (AutoScrollActivator = {}));
4041
+ var TraversalOrder;
4042
+ (function(TraversalOrder2) {
4043
+ TraversalOrder2[TraversalOrder2["TreeOrder"] = 0] = "TreeOrder";
4044
+ TraversalOrder2[TraversalOrder2["ReversedTreeOrder"] = 1] = "ReversedTreeOrder";
4045
+ })(TraversalOrder || (TraversalOrder = {}));
4046
+ ({
4047
+ x: {
4048
+ [Direction.Backward]: false,
4049
+ [Direction.Forward]: false
4050
+ },
4051
+ y: {
4052
+ [Direction.Backward]: false,
4053
+ [Direction.Forward]: false
3854
4054
  }
3855
- return Ut$1 || (Ut$1 = createContext(void 0)), Ut$1;
3856
- })();
4055
+ });
4056
+ var MeasuringStrategy;
4057
+ (function(MeasuringStrategy2) {
4058
+ MeasuringStrategy2[MeasuringStrategy2["Always"] = 0] = "Always";
4059
+ MeasuringStrategy2[MeasuringStrategy2["BeforeDragging"] = 1] = "BeforeDragging";
4060
+ MeasuringStrategy2[MeasuringStrategy2["WhileDragging"] = 2] = "WhileDragging";
4061
+ })(MeasuringStrategy || (MeasuringStrategy = {}));
4062
+ var MeasuringFrequency;
4063
+ (function(MeasuringFrequency2) {
4064
+ MeasuringFrequency2["Optimized"] = "optimized";
4065
+ })(MeasuringFrequency || (MeasuringFrequency = {}));
4066
+ ({
4067
+ droppable: {
4068
+ strategy: MeasuringStrategy.WhileDragging,
4069
+ frequency: MeasuringFrequency.Optimized
4070
+ }
4071
+ });
4072
+ /* @__PURE__ */ createContext({
4073
+ ...defaultCoordinates,
4074
+ scaleX: 1,
4075
+ scaleY: 1
4076
+ });
4077
+ var Status;
4078
+ (function(Status2) {
4079
+ Status2[Status2["Uninitialized"] = 0] = "Uninitialized";
4080
+ Status2[Status2["Initializing"] = 1] = "Initializing";
4081
+ Status2[Status2["Initialized"] = 2] = "Initialized";
4082
+ })(Status || (Status = {}));
3857
4083
  var Ee = Object.defineProperty;
3858
4084
  var Re = (o, e, t) => e in o ? Ee(o, e, { enumerable: true, configurable: true, writable: true, value: t }) : o[e] = t;
3859
4085
  var le$1 = (o, e, t) => Re(o, typeof e != "symbol" ? e + "" : e, t);
@@ -4767,7 +4993,7 @@ const CreateIssueModal = ({
4767
4993
  }
4768
4994
  );
4769
4995
  };
4770
- const formatDate$2 = (dateString) => {
4996
+ const formatDate$3 = (dateString) => {
4771
4997
  const date = new Date(dateString);
4772
4998
  const now = /* @__PURE__ */ new Date();
4773
4999
  const diffMs = now.getTime() - date.getTime();
@@ -5353,7 +5579,7 @@ const GitHubIssuesPanelContent = ({
5353
5579
  " ",
5354
5580
  /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.primary }, children: issue.user.login })
5355
5581
  ] }),
5356
- /* @__PURE__ */ jsx("span", { children: formatDate$2(issue.created_at) }),
5582
+ /* @__PURE__ */ jsx("span", { children: formatDate$3(issue.created_at) }),
5357
5583
  issue.comments > 0 && /* @__PURE__ */ jsxs(
5358
5584
  "span",
5359
5585
  {
@@ -49333,6 +49559,7 @@ var DocumentView = ({
49333
49559
  content: content2,
49334
49560
  onCheckboxChange,
49335
49561
  maxWidth = "900px",
49562
+ width,
49336
49563
  slideIdPrefix = "document",
49337
49564
  enableHtmlPopout = true,
49338
49565
  enableKeyboardScrolling = true,
@@ -49377,10 +49604,11 @@ var DocumentView = ({
49377
49604
  handlePromptCopy,
49378
49605
  repositoryInfo,
49379
49606
  transparentBackground,
49380
- editable
49607
+ editable,
49608
+ containerWidth: width
49381
49609
  })));
49382
49610
  };
49383
- const formatDate$1 = (dateString) => {
49611
+ const formatDate$2 = (dateString) => {
49384
49612
  const date = new Date(dateString);
49385
49613
  const now = /* @__PURE__ */ new Date();
49386
49614
  const diffMs = now.getTime() - date.getTime();
@@ -49422,8 +49650,8 @@ const GitHubIssueDetailPanelContent = ({ events }) => {
49422
49650
  setSelectedTaskType(null);
49423
49651
  setAdditionalInstructions("");
49424
49652
  };
49425
- const handleSelectTaskType = (taskType2) => {
49426
- setSelectedTaskType(taskType2);
49653
+ const handleSelectTaskType = (taskType) => {
49654
+ setSelectedTaskType(taskType);
49427
49655
  setModalStep("instructions");
49428
49656
  };
49429
49657
  const handleSubmitTask = () => {
@@ -49592,7 +49820,6 @@ const GitHubIssueDetailPanelContent = ({ events }) => {
49592
49820
  (label) => label.name === "backlog-task:investigate" || label.name === "backlog-task:fix"
49593
49821
  );
49594
49822
  const hasTask = !!taskLabel;
49595
- taskLabel == null ? void 0 : taskLabel.name.split(":")[1];
49596
49823
  return /* @__PURE__ */ jsxs("div", { ref: panelRef, tabIndex: -1, style: { ...containerStyle, outline: "none" }, children: [
49597
49824
  /* @__PURE__ */ jsxs(
49598
49825
  "div",
@@ -49654,7 +49881,7 @@ const GitHubIssueDetailPanelContent = ({ events }) => {
49654
49881
  "by ",
49655
49882
  /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.primary }, children: selectedIssue.user.login }),
49656
49883
  " ",
49657
- formatDate$1(selectedIssue.created_at)
49884
+ formatDate$2(selectedIssue.created_at)
49658
49885
  ]
49659
49886
  }
49660
49887
  ),
@@ -50541,7 +50768,7 @@ const REACTION_ORDER = [
50541
50768
  "confused",
50542
50769
  "-1"
50543
50770
  ];
50544
- const formatDate = (dateString) => {
50771
+ const formatDate$1 = (dateString) => {
50545
50772
  const date = new Date(dateString);
50546
50773
  const now = /* @__PURE__ */ new Date();
50547
50774
  const diffMs = now.getTime() - date.getTime();
@@ -50794,7 +51021,7 @@ const CommentEvent = ({ event, onToggleReaction, getMergedReactions }) => {
50794
51021
  },
50795
51022
  children: [
50796
51023
  "commented ",
50797
- formatDate(event.created_at)
51024
+ formatDate$1(event.created_at)
50798
51025
  ]
50799
51026
  }
50800
51027
  ),
@@ -50962,7 +51189,7 @@ const ReviewEvent = ({ event }) => {
50962
51189
  color: theme2.colors.textMuted,
50963
51190
  fontSize: theme2.fontSizes[0]
50964
51191
  },
50965
- children: formatDate(event.submitted_at)
51192
+ children: formatDate$1(event.submitted_at)
50966
51193
  }
50967
51194
  )
50968
51195
  ]
@@ -51114,7 +51341,7 @@ const CommitEvent = ({ event }) => {
51114
51341
  children: [
51115
51342
  event.author.name,
51116
51343
  " committed ",
51117
- formatDate(event.committer.date),
51344
+ formatDate$1(event.committer.date),
51118
51345
  ((_a = event.verification) == null ? void 0 : _a.verified) && /* @__PURE__ */ jsxs(
51119
51346
  "span",
51120
51347
  {
@@ -51167,7 +51394,7 @@ const SimpleEvent = ({ icon, actor, action, timestamp }) => {
51167
51394
  /* @__PURE__ */ jsx(Avatar, { user: actor, size: 20 }),
51168
51395
  /* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, fontWeight: 500, color: theme2.colors.text }, children: actor.login }),
51169
51396
  action,
51170
- /* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, color: theme2.colors.textMuted, marginLeft: "auto" }, children: formatDate(timestamp) })
51397
+ /* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, color: theme2.colors.textMuted, marginLeft: "auto" }, children: formatDate$1(timestamp) })
51171
51398
  ]
51172
51399
  }
51173
51400
  );
@@ -52369,7 +52596,7 @@ const OwnerRepositoriesPanelContent = ({
52369
52596
  selectedRepository,
52370
52597
  defaultShowSearch = false
52371
52598
  }) => {
52372
- var _a, _b, _c, _d, _e2, _f;
52599
+ var _a, _b, _c, _d;
52373
52600
  const { theme: theme2 } = useTheme();
52374
52601
  const [selectedRepoId, setSelectedRepoId] = useState(null);
52375
52602
  const [sortField, setSortField] = useState("updated");
@@ -52390,10 +52617,8 @@ const OwnerRepositoriesPanelContent = ({
52390
52617
  const owner = propOwner || ((_b = (_a = context == null ? void 0 : context.currentScope) == null ? void 0 : _a.repository) == null ? void 0 : _b.name);
52391
52618
  const { ownerRepositories: ownerSlice } = context;
52392
52619
  const isLoading = (ownerSlice == null ? void 0 : ownerSlice.loading) ?? false;
52393
- ((_c = ownerSlice == null ? void 0 : ownerSlice.data) == null ? void 0 : _c.owner) ?? null;
52394
- const repositories = ((_d = ownerSlice == null ? void 0 : ownerSlice.data) == null ? void 0 : _d.repositories) ?? [];
52395
- const error = ((_e2 = ownerSlice == null ? void 0 : ownerSlice.data) == null ? void 0 : _e2.error) ?? null;
52396
- ((_f = ownerSlice == null ? void 0 : ownerSlice.data) == null ? void 0 : _f.isAuthenticated) ?? false;
52620
+ const repositories = ((_c = ownerSlice == null ? void 0 : ownerSlice.data) == null ? void 0 : _c.repositories) ?? [];
52621
+ const error = ((_d = ownerSlice == null ? void 0 : ownerSlice.data) == null ? void 0 : _d.error) ?? null;
52397
52622
  const handleRefresh = useCallback(() => {
52398
52623
  events.emit({
52399
52624
  type: "owner-repositories:refresh",
@@ -53575,6 +53800,747 @@ const RecentRepositoriesPanelMetadata = {
53575
53800
  slices: [],
53576
53801
  surfaces: ["panel"]
53577
53802
  };
53803
+ const PANEL_ID$1 = "industry-theme.org-profile";
53804
+ const createPanelEvent = (type, payload) => ({
53805
+ type,
53806
+ source: PANEL_ID$1,
53807
+ timestamp: Date.now(),
53808
+ payload
53809
+ });
53810
+ const formatDate = (dateString) => {
53811
+ const date = new Date(dateString);
53812
+ return date.toLocaleDateString("en-US", {
53813
+ month: "short",
53814
+ year: "numeric"
53815
+ });
53816
+ };
53817
+ const CollectionCard = ({ collection, isSelected, onClick }) => {
53818
+ const { theme: theme2 } = useTheme();
53819
+ const [isHovered, setIsHovered] = useState(false);
53820
+ return /* @__PURE__ */ jsxs(
53821
+ "div",
53822
+ {
53823
+ onClick: () => onClick == null ? void 0 : onClick(collection),
53824
+ onMouseEnter: () => setIsHovered(true),
53825
+ onMouseLeave: () => setIsHovered(false),
53826
+ style: {
53827
+ display: "flex",
53828
+ alignItems: "center",
53829
+ gap: "12px",
53830
+ padding: "12px",
53831
+ borderRadius: "8px",
53832
+ backgroundColor: isSelected ? `${theme2.colors.primary}15` : isHovered ? theme2.colors.backgroundTertiary : theme2.colors.background,
53833
+ border: `1px solid ${isSelected ? theme2.colors.primary : theme2.colors.border}`,
53834
+ cursor: onClick ? "pointer" : "default",
53835
+ transition: "all 0.15s ease"
53836
+ },
53837
+ children: [
53838
+ /* @__PURE__ */ jsx(
53839
+ "div",
53840
+ {
53841
+ style: {
53842
+ width: "40px",
53843
+ height: "40px",
53844
+ borderRadius: "8px",
53845
+ backgroundColor: theme2.colors.backgroundTertiary,
53846
+ display: "flex",
53847
+ alignItems: "center",
53848
+ justifyContent: "center"
53849
+ },
53850
+ children: /* @__PURE__ */ jsx(FolderOpen, { size: 20, style: { color: theme2.colors.primary } })
53851
+ }
53852
+ ),
53853
+ /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
53854
+ /* @__PURE__ */ jsx(
53855
+ "div",
53856
+ {
53857
+ style: {
53858
+ fontSize: `${theme2.fontSizes[1]}px`,
53859
+ fontWeight: theme2.fontWeights.semibold,
53860
+ color: theme2.colors.text,
53861
+ fontFamily: theme2.fonts.body
53862
+ },
53863
+ children: collection.name
53864
+ }
53865
+ ),
53866
+ collection.description && /* @__PURE__ */ jsx(
53867
+ "div",
53868
+ {
53869
+ style: {
53870
+ fontSize: `${theme2.fontSizes[0]}px`,
53871
+ color: theme2.colors.textSecondary,
53872
+ fontFamily: theme2.fonts.body,
53873
+ overflow: "hidden",
53874
+ textOverflow: "ellipsis",
53875
+ whiteSpace: "nowrap"
53876
+ },
53877
+ children: collection.description
53878
+ }
53879
+ )
53880
+ ] })
53881
+ ]
53882
+ }
53883
+ );
53884
+ };
53885
+ const OrgProfilePanelContent = ({
53886
+ context,
53887
+ actions,
53888
+ events
53889
+ }) => {
53890
+ var _a, _b, _c, _d;
53891
+ const { theme: theme2 } = useTheme();
53892
+ const [activeView, setActiveView] = useState("repositories");
53893
+ const [searchQuery, setSearchQuery] = useState("");
53894
+ const panelActions = actions;
53895
+ const { orgProfile: profileSlice } = context;
53896
+ const org = ((_a = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _a.org) ?? null;
53897
+ const collections = useMemo(
53898
+ () => {
53899
+ var _a2;
53900
+ return ((_a2 = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _a2.collections) || [];
53901
+ },
53902
+ [(_b = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _b.collections]
53903
+ );
53904
+ const repositories = useMemo(
53905
+ () => {
53906
+ var _a2;
53907
+ return ((_a2 = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _a2.repositories) || [];
53908
+ },
53909
+ [(_c = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _c.repositories]
53910
+ );
53911
+ const selectedCollectionId = (_d = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _d.selectedCollectionId;
53912
+ const loading = (profileSlice == null ? void 0 : profileSlice.loading) ?? false;
53913
+ const filteredRepositories = useMemo(() => {
53914
+ if (!searchQuery.trim()) return repositories;
53915
+ const query = searchQuery.toLowerCase().trim();
53916
+ return repositories.filter(
53917
+ (repo) => {
53918
+ var _a2, _b2;
53919
+ return repo.name.toLowerCase().includes(query) || repo.full_name.toLowerCase().includes(query) || ((_a2 = repo.description) == null ? void 0 : _a2.toLowerCase().includes(query)) || ((_b2 = repo.language) == null ? void 0 : _b2.toLowerCase().includes(query));
53920
+ }
53921
+ );
53922
+ }, [repositories, searchQuery]);
53923
+ const handleCollectionSelect = useCallback(
53924
+ (collection) => {
53925
+ events.emit(
53926
+ createPanelEvent(`${PANEL_ID$1}:collection:selected`, {
53927
+ collectionId: collection.id,
53928
+ collection
53929
+ })
53930
+ );
53931
+ },
53932
+ [events]
53933
+ );
53934
+ const handleRepositorySelect = useCallback(
53935
+ (repository) => {
53936
+ var _a2;
53937
+ events.emit(
53938
+ createPanelEvent(`${PANEL_ID$1}:repository:selected`, {
53939
+ owner: repository.owner.login,
53940
+ repo: repository.name,
53941
+ repository
53942
+ })
53943
+ );
53944
+ (_a2 = panelActions.viewRepository) == null ? void 0 : _a2.call(panelActions, repository.owner.login, repository.name);
53945
+ },
53946
+ [events, panelActions]
53947
+ );
53948
+ const handleCloneRepository = useCallback(
53949
+ (repository) => {
53950
+ var _a2;
53951
+ events.emit(
53952
+ createPanelEvent(`${PANEL_ID$1}:repository:clone-requested`, {
53953
+ repository
53954
+ })
53955
+ );
53956
+ (_a2 = panelActions.cloneRepository) == null ? void 0 : _a2.call(panelActions, repository);
53957
+ },
53958
+ [events, panelActions]
53959
+ );
53960
+ const handleViewChange = useCallback(
53961
+ (view) => {
53962
+ setActiveView(view);
53963
+ setSearchQuery("");
53964
+ events.emit(createPanelEvent(`${PANEL_ID$1}:view:changed`, { view }));
53965
+ },
53966
+ [events]
53967
+ );
53968
+ useEffect(() => {
53969
+ const unsubscribers = [
53970
+ events.on(`${PANEL_ID$1}:set-view`, (event) => {
53971
+ var _a2;
53972
+ if ((_a2 = event.payload) == null ? void 0 : _a2.view) {
53973
+ handleViewChange(event.payload.view);
53974
+ }
53975
+ }),
53976
+ events.on(
53977
+ `${PANEL_ID$1}:select-collection`,
53978
+ (event) => {
53979
+ const { collectionId } = event.payload || {};
53980
+ if (collectionId) {
53981
+ const collection = collections.find((c2) => c2.id === collectionId);
53982
+ if (collection) {
53983
+ handleCollectionSelect(collection);
53984
+ }
53985
+ }
53986
+ }
53987
+ ),
53988
+ events.on(
53989
+ `${PANEL_ID$1}:select-repository`,
53990
+ (event) => {
53991
+ const { owner, repo } = event.payload || {};
53992
+ if (owner && repo) {
53993
+ const repository = repositories.find(
53994
+ (r2) => r2.owner.login === owner && r2.name === repo
53995
+ );
53996
+ if (repository) {
53997
+ handleRepositorySelect(repository);
53998
+ }
53999
+ }
54000
+ }
54001
+ ),
54002
+ events.on(
54003
+ `${PANEL_ID$1}:clone-repository`,
54004
+ (event) => {
54005
+ const { owner, repo } = event.payload || {};
54006
+ if (owner && repo) {
54007
+ const repository = repositories.find(
54008
+ (r2) => r2.owner.login === owner && r2.name === repo
54009
+ );
54010
+ if (repository) {
54011
+ handleCloneRepository(repository);
54012
+ }
54013
+ }
54014
+ }
54015
+ ),
54016
+ events.on(`${PANEL_ID$1}:filter-repositories`, (event) => {
54017
+ var _a2;
54018
+ if (((_a2 = event.payload) == null ? void 0 : _a2.filter) !== void 0) {
54019
+ setSearchQuery(event.payload.filter);
54020
+ setActiveView("repositories");
54021
+ }
54022
+ })
54023
+ ];
54024
+ return () => unsubscribers.forEach((unsub) => unsub());
54025
+ }, [
54026
+ events,
54027
+ collections,
54028
+ repositories,
54029
+ handleViewChange,
54030
+ handleCollectionSelect,
54031
+ handleRepositorySelect,
54032
+ handleCloneRepository
54033
+ ]);
54034
+ const baseContainerStyle = {
54035
+ display: "flex",
54036
+ flexDirection: "column",
54037
+ height: "100%",
54038
+ backgroundColor: theme2.colors.backgroundSecondary
54039
+ };
54040
+ if (loading) {
54041
+ return /* @__PURE__ */ jsx("div", { style: baseContainerStyle, children: /* @__PURE__ */ jsx(
54042
+ "div",
54043
+ {
54044
+ style: {
54045
+ flex: 1,
54046
+ display: "flex",
54047
+ alignItems: "center",
54048
+ justifyContent: "center",
54049
+ padding: "32px",
54050
+ textAlign: "center"
54051
+ },
54052
+ children: /* @__PURE__ */ jsx(
54053
+ "div",
54054
+ {
54055
+ style: {
54056
+ display: "flex",
54057
+ flexDirection: "column",
54058
+ alignItems: "center",
54059
+ gap: "16px",
54060
+ maxWidth: "360px"
54061
+ },
54062
+ children: /* @__PURE__ */ jsx(
54063
+ "h3",
54064
+ {
54065
+ style: {
54066
+ margin: 0,
54067
+ color: theme2.colors.text,
54068
+ fontSize: `${theme2.fontSizes[3]}px`,
54069
+ fontWeight: theme2.fontWeights.semibold,
54070
+ fontFamily: theme2.fonts.body
54071
+ },
54072
+ children: "Loading organization..."
54073
+ }
54074
+ )
54075
+ }
54076
+ )
54077
+ }
54078
+ ) });
54079
+ }
54080
+ if (!org) {
54081
+ return /* @__PURE__ */ jsx("div", { style: baseContainerStyle, children: /* @__PURE__ */ jsx(
54082
+ "div",
54083
+ {
54084
+ style: {
54085
+ flex: 1,
54086
+ display: "flex",
54087
+ alignItems: "center",
54088
+ justifyContent: "center",
54089
+ padding: "32px",
54090
+ textAlign: "center"
54091
+ },
54092
+ children: /* @__PURE__ */ jsxs(
54093
+ "div",
54094
+ {
54095
+ style: {
54096
+ display: "flex",
54097
+ flexDirection: "column",
54098
+ alignItems: "center",
54099
+ gap: "16px",
54100
+ maxWidth: "360px"
54101
+ },
54102
+ children: [
54103
+ /* @__PURE__ */ jsx(Building2, { size: 48, style: { color: theme2.colors.textSecondary } }),
54104
+ /* @__PURE__ */ jsx(
54105
+ "h3",
54106
+ {
54107
+ style: {
54108
+ margin: 0,
54109
+ color: theme2.colors.text,
54110
+ fontSize: `${theme2.fontSizes[2]}px`,
54111
+ fontWeight: theme2.fontWeights.semibold,
54112
+ fontFamily: theme2.fonts.body
54113
+ },
54114
+ children: "Select an organization"
54115
+ }
54116
+ ),
54117
+ /* @__PURE__ */ jsx(
54118
+ "p",
54119
+ {
54120
+ style: {
54121
+ margin: 0,
54122
+ color: theme2.colors.textSecondary,
54123
+ fontSize: `${theme2.fontSizes[1]}px`,
54124
+ fontFamily: theme2.fonts.body
54125
+ },
54126
+ children: "Click on an organization to view its profile and repositories"
54127
+ }
54128
+ )
54129
+ ]
54130
+ }
54131
+ )
54132
+ }
54133
+ ) });
54134
+ }
54135
+ return /* @__PURE__ */ jsxs("div", { style: baseContainerStyle, children: [
54136
+ /* @__PURE__ */ jsxs(
54137
+ "div",
54138
+ {
54139
+ style: {
54140
+ padding: "16px",
54141
+ backgroundColor: theme2.colors.background
54142
+ },
54143
+ children: [
54144
+ /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "flex-start", gap: "12px" }, children: [
54145
+ /* @__PURE__ */ jsx(
54146
+ "img",
54147
+ {
54148
+ src: org.avatar_url,
54149
+ alt: org.login,
54150
+ style: {
54151
+ width: "80px",
54152
+ height: "80px",
54153
+ borderRadius: "12px",
54154
+ objectFit: "cover"
54155
+ }
54156
+ }
54157
+ ),
54158
+ /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
54159
+ /* @__PURE__ */ jsx(
54160
+ "div",
54161
+ {
54162
+ style: {
54163
+ fontSize: `${theme2.fontSizes[3]}px`,
54164
+ fontWeight: theme2.fontWeights.bold,
54165
+ color: theme2.colors.text,
54166
+ fontFamily: theme2.fonts.body
54167
+ },
54168
+ children: org.name || org.login
54169
+ }
54170
+ ),
54171
+ /* @__PURE__ */ jsxs(
54172
+ "div",
54173
+ {
54174
+ onClick: () => {
54175
+ var _a2;
54176
+ return (_a2 = panelActions.openInBrowser) == null ? void 0 : _a2.call(panelActions, `https://github.com/${org.login}`);
54177
+ },
54178
+ style: {
54179
+ fontSize: `${theme2.fontSizes[1]}px`,
54180
+ color: theme2.colors.primary,
54181
+ fontFamily: theme2.fonts.body,
54182
+ cursor: panelActions.openInBrowser ? "pointer" : "default"
54183
+ },
54184
+ children: [
54185
+ "@",
54186
+ org.login
54187
+ ]
54188
+ }
54189
+ ),
54190
+ org.description && /* @__PURE__ */ jsx(
54191
+ "div",
54192
+ {
54193
+ style: {
54194
+ fontSize: `${theme2.fontSizes[1]}px`,
54195
+ color: theme2.colors.text,
54196
+ fontFamily: theme2.fonts.body,
54197
+ marginTop: "8px"
54198
+ },
54199
+ children: org.description
54200
+ }
54201
+ )
54202
+ ] })
54203
+ ] }),
54204
+ /* @__PURE__ */ jsxs(
54205
+ "div",
54206
+ {
54207
+ style: {
54208
+ display: "flex",
54209
+ flexWrap: "wrap",
54210
+ gap: "12px",
54211
+ marginTop: "12px",
54212
+ fontSize: `${theme2.fontSizes[0]}px`,
54213
+ color: theme2.colors.textSecondary,
54214
+ fontFamily: theme2.fonts.body
54215
+ },
54216
+ children: [
54217
+ org.location && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54218
+ /* @__PURE__ */ jsx(MapPin, { size: 12 }),
54219
+ org.location
54220
+ ] }),
54221
+ org.blog && /* @__PURE__ */ jsxs(
54222
+ "span",
54223
+ {
54224
+ style: {
54225
+ display: "flex",
54226
+ alignItems: "center",
54227
+ gap: "4px",
54228
+ cursor: "pointer"
54229
+ },
54230
+ onClick: () => {
54231
+ var _a2;
54232
+ return (_a2 = panelActions.openInBrowser) == null ? void 0 : _a2.call(panelActions, org.blog);
54233
+ },
54234
+ children: [
54235
+ /* @__PURE__ */ jsx(Link, { size: 12 }),
54236
+ org.blog.replace(/^https?:\/\//, "")
54237
+ ]
54238
+ }
54239
+ ),
54240
+ org.email && /* @__PURE__ */ jsx("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: org.email }),
54241
+ /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54242
+ /* @__PURE__ */ jsx(Calendar, { size: 12 }),
54243
+ "Created ",
54244
+ formatDate(org.created_at)
54245
+ ] })
54246
+ ]
54247
+ }
54248
+ ),
54249
+ /* @__PURE__ */ jsxs(
54250
+ "div",
54251
+ {
54252
+ style: {
54253
+ display: "flex",
54254
+ gap: "16px",
54255
+ marginTop: "12px",
54256
+ fontSize: `${theme2.fontSizes[1]}px`,
54257
+ fontFamily: theme2.fonts.body
54258
+ },
54259
+ children: [
54260
+ /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54261
+ /* @__PURE__ */ jsx(Users, { size: 14, style: { color: theme2.colors.textSecondary } }),
54262
+ /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: org.followers }),
54263
+ " ",
54264
+ /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: "followers" })
54265
+ ] }),
54266
+ /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54267
+ /* @__PURE__ */ jsx(FolderGit2, { size: 14, style: { color: theme2.colors.textSecondary } }),
54268
+ /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: org.public_repos }),
54269
+ " ",
54270
+ /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: "repos" })
54271
+ ] })
54272
+ ]
54273
+ }
54274
+ )
54275
+ ]
54276
+ }
54277
+ ),
54278
+ /* @__PURE__ */ jsxs(
54279
+ "div",
54280
+ {
54281
+ style: {
54282
+ display: "flex",
54283
+ borderBottom: `1px solid ${theme2.colors.border}`,
54284
+ backgroundColor: theme2.colors.background
54285
+ },
54286
+ children: [
54287
+ /* @__PURE__ */ jsxs(
54288
+ "button",
54289
+ {
54290
+ onClick: () => handleViewChange("collections"),
54291
+ style: {
54292
+ flex: 1,
54293
+ display: "flex",
54294
+ alignItems: "center",
54295
+ justifyContent: "center",
54296
+ gap: "6px",
54297
+ padding: "12px",
54298
+ border: "none",
54299
+ backgroundColor: "transparent",
54300
+ color: activeView === "collections" ? theme2.colors.primary : theme2.colors.textSecondary,
54301
+ fontSize: `${theme2.fontSizes[1]}px`,
54302
+ fontWeight: activeView === "collections" ? theme2.fontWeights.semibold : theme2.fontWeights.medium,
54303
+ fontFamily: theme2.fonts.body,
54304
+ cursor: "pointer",
54305
+ borderBottom: activeView === "collections" ? `2px solid ${theme2.colors.primary}` : "2px solid transparent",
54306
+ transition: "all 0.15s ease"
54307
+ },
54308
+ children: [
54309
+ /* @__PURE__ */ jsx(FolderOpen, { size: 16 }),
54310
+ "Collections (",
54311
+ collections.length,
54312
+ ")"
54313
+ ]
54314
+ }
54315
+ ),
54316
+ /* @__PURE__ */ jsxs(
54317
+ "button",
54318
+ {
54319
+ onClick: () => handleViewChange("repositories"),
54320
+ style: {
54321
+ flex: 1,
54322
+ display: "flex",
54323
+ alignItems: "center",
54324
+ justifyContent: "center",
54325
+ gap: "6px",
54326
+ padding: "12px",
54327
+ border: "none",
54328
+ backgroundColor: "transparent",
54329
+ color: activeView === "repositories" ? theme2.colors.primary : theme2.colors.textSecondary,
54330
+ fontSize: `${theme2.fontSizes[1]}px`,
54331
+ fontWeight: activeView === "repositories" ? theme2.fontWeights.semibold : theme2.fontWeights.medium,
54332
+ fontFamily: theme2.fonts.body,
54333
+ cursor: "pointer",
54334
+ borderBottom: activeView === "repositories" ? `2px solid ${theme2.colors.primary}` : "2px solid transparent",
54335
+ transition: "all 0.15s ease"
54336
+ },
54337
+ children: [
54338
+ /* @__PURE__ */ jsx(FolderGit2, { size: 16 }),
54339
+ "Repositories (",
54340
+ repositories.length,
54341
+ ")"
54342
+ ]
54343
+ }
54344
+ )
54345
+ ]
54346
+ }
54347
+ ),
54348
+ activeView === "repositories" && /* @__PURE__ */ jsx(
54349
+ "div",
54350
+ {
54351
+ style: {
54352
+ padding: "12px 16px",
54353
+ borderBottom: `1px solid ${theme2.colors.border}`,
54354
+ backgroundColor: theme2.colors.background
54355
+ },
54356
+ children: /* @__PURE__ */ jsx("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: /* @__PURE__ */ jsxs(
54357
+ "div",
54358
+ {
54359
+ style: {
54360
+ flex: 1,
54361
+ display: "flex",
54362
+ alignItems: "center",
54363
+ gap: "8px",
54364
+ padding: "8px 12px",
54365
+ borderRadius: "6px",
54366
+ border: `1px solid ${theme2.colors.border}`,
54367
+ backgroundColor: theme2.colors.backgroundSecondary
54368
+ },
54369
+ children: [
54370
+ /* @__PURE__ */ jsx(Search, { size: 16, style: { color: theme2.colors.textSecondary } }),
54371
+ /* @__PURE__ */ jsx(
54372
+ "input",
54373
+ {
54374
+ type: "text",
54375
+ value: searchQuery,
54376
+ onChange: (e) => setSearchQuery(e.target.value),
54377
+ placeholder: "Filter repositories...",
54378
+ style: {
54379
+ flex: 1,
54380
+ border: "none",
54381
+ backgroundColor: "transparent",
54382
+ color: theme2.colors.text,
54383
+ fontSize: `${theme2.fontSizes[1]}px`,
54384
+ fontFamily: theme2.fonts.body,
54385
+ outline: "none"
54386
+ }
54387
+ }
54388
+ ),
54389
+ searchQuery && /* @__PURE__ */ jsx(
54390
+ "button",
54391
+ {
54392
+ onClick: () => setSearchQuery(""),
54393
+ style: {
54394
+ display: "flex",
54395
+ alignItems: "center",
54396
+ justifyContent: "center",
54397
+ padding: "2px",
54398
+ border: "none",
54399
+ backgroundColor: "transparent",
54400
+ color: theme2.colors.textSecondary,
54401
+ cursor: "pointer"
54402
+ },
54403
+ children: /* @__PURE__ */ jsx(X, { size: 14 })
54404
+ }
54405
+ )
54406
+ ]
54407
+ }
54408
+ ) })
54409
+ }
54410
+ ),
54411
+ /* @__PURE__ */ jsxs(
54412
+ "div",
54413
+ {
54414
+ style: {
54415
+ flex: 1,
54416
+ overflowY: "auto",
54417
+ padding: "16px",
54418
+ display: "flex",
54419
+ flexDirection: "column",
54420
+ gap: "8px"
54421
+ },
54422
+ children: [
54423
+ activeView === "collections" && /* @__PURE__ */ jsx(Fragment, { children: collections.length === 0 ? /* @__PURE__ */ jsxs(
54424
+ "div",
54425
+ {
54426
+ style: {
54427
+ padding: "32px",
54428
+ textAlign: "center",
54429
+ color: theme2.colors.textSecondary
54430
+ },
54431
+ children: [
54432
+ /* @__PURE__ */ jsx(
54433
+ FolderOpen,
54434
+ {
54435
+ size: 32,
54436
+ style: { marginBottom: "12px", opacity: 0.5 }
54437
+ }
54438
+ ),
54439
+ /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: "No collections" })
54440
+ ]
54441
+ }
54442
+ ) : collections.map((collection) => /* @__PURE__ */ jsx(
54443
+ CollectionCard,
54444
+ {
54445
+ collection,
54446
+ isSelected: collection.id === selectedCollectionId,
54447
+ onClick: handleCollectionSelect
54448
+ },
54449
+ collection.id
54450
+ )) }),
54451
+ activeView === "repositories" && /* @__PURE__ */ jsx(Fragment, { children: filteredRepositories.length === 0 ? /* @__PURE__ */ jsxs(
54452
+ "div",
54453
+ {
54454
+ style: {
54455
+ padding: "32px",
54456
+ textAlign: "center",
54457
+ color: theme2.colors.textSecondary
54458
+ },
54459
+ children: [
54460
+ /* @__PURE__ */ jsx(
54461
+ FolderGit2,
54462
+ {
54463
+ size: 32,
54464
+ style: { marginBottom: "12px", opacity: 0.5 }
54465
+ }
54466
+ ),
54467
+ /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: searchQuery ? `No repositories matching "${searchQuery}"` : "No repositories" })
54468
+ ]
54469
+ }
54470
+ ) : filteredRepositories.sort(
54471
+ (a, b) => a.name.localeCompare(b.name, void 0, { sensitivity: "base" })
54472
+ ).map((repo) => /* @__PURE__ */ jsx(
54473
+ GitHubRepositoryCard,
54474
+ {
54475
+ repository: repo,
54476
+ onSelect: handleRepositorySelect,
54477
+ onClone: panelActions.cloneRepository ? handleCloneRepository : void 0
54478
+ },
54479
+ repo.id
54480
+ )) })
54481
+ ]
54482
+ }
54483
+ )
54484
+ ] });
54485
+ };
54486
+ const OrgProfilePanel = (props) => {
54487
+ return /* @__PURE__ */ jsx(OrgProfilePanelContent, { ...props });
54488
+ };
54489
+ const OrgProfilePanelPreview = () => {
54490
+ const { theme: theme2 } = useTheme();
54491
+ return /* @__PURE__ */ jsxs(
54492
+ "div",
54493
+ {
54494
+ style: {
54495
+ padding: "12px",
54496
+ fontSize: `${theme2.fontSizes[0]}px`,
54497
+ fontFamily: theme2.fonts.body,
54498
+ color: theme2.colors.text,
54499
+ display: "flex",
54500
+ flexDirection: "column",
54501
+ gap: "8px"
54502
+ },
54503
+ children: [
54504
+ /* @__PURE__ */ jsxs(
54505
+ "div",
54506
+ {
54507
+ style: {
54508
+ display: "flex",
54509
+ alignItems: "center",
54510
+ gap: "6px",
54511
+ fontWeight: theme2.fontWeights.semibold
54512
+ },
54513
+ children: [
54514
+ /* @__PURE__ */ jsx(Building2, { size: 16, style: { color: theme2.colors.primary } }),
54515
+ /* @__PURE__ */ jsx("span", { children: "Organization" })
54516
+ ]
54517
+ }
54518
+ ),
54519
+ /* @__PURE__ */ jsx(
54520
+ "div",
54521
+ {
54522
+ style: {
54523
+ fontSize: `${theme2.fontSizes[0]}px`,
54524
+ fontFamily: theme2.fonts.body,
54525
+ color: theme2.colors.textSecondary,
54526
+ marginTop: "4px"
54527
+ },
54528
+ children: "View organization collections and repos"
54529
+ }
54530
+ )
54531
+ ]
54532
+ }
54533
+ );
54534
+ };
54535
+ const OrgProfilePanelMetadata = {
54536
+ id: "industry-theme.org-profile",
54537
+ name: "Organization Profile",
54538
+ description: "View organization profiles with collections and repositories",
54539
+ icon: "building-2",
54540
+ version: "0.1.0",
54541
+ slices: ["orgProfile"],
54542
+ surfaces: ["panel"]
54543
+ };
53578
54544
  const listRepositoriesTool = {
53579
54545
  name: "list_repositories",
53580
54546
  description: "Get a list of GitHub repositories the user has access to, including owned repos, starred repos, and organization repos.",
@@ -53856,6 +54822,156 @@ const githubToolsMetadata = {
53856
54822
  description: "Tools for browsing and managing GitHub repositories",
53857
54823
  tools: githubTools
53858
54824
  };
54825
+ const PANEL_ID = "industry-theme.org-profile";
54826
+ const setOrgViewTool = {
54827
+ name: "set_org_profile_view",
54828
+ description: "Switch between collections and repositories views in the organization profile panel.",
54829
+ inputs: {
54830
+ type: "object",
54831
+ properties: {
54832
+ view: {
54833
+ type: "string",
54834
+ enum: ["collections", "repositories"],
54835
+ description: "The view to switch to (collections or repositories)"
54836
+ }
54837
+ },
54838
+ required: ["view"]
54839
+ },
54840
+ outputs: {
54841
+ type: "object",
54842
+ properties: {
54843
+ success: { type: "boolean" }
54844
+ }
54845
+ },
54846
+ tags: ["organization", "profile", "view", "switch"],
54847
+ tool_call_template: {
54848
+ call_template_type: "panel_event",
54849
+ event_type: `${PANEL_ID}:set-view`
54850
+ }
54851
+ };
54852
+ const selectOrgCollectionTool = {
54853
+ name: "select_org_collection",
54854
+ description: "Select a collection from the organization's collections to view its repositories.",
54855
+ inputs: {
54856
+ type: "object",
54857
+ properties: {
54858
+ collectionId: {
54859
+ type: "string",
54860
+ description: "The ID of the collection to select"
54861
+ }
54862
+ },
54863
+ required: ["collectionId"]
54864
+ },
54865
+ outputs: {
54866
+ type: "object",
54867
+ properties: {
54868
+ success: { type: "boolean" },
54869
+ collectionId: { type: "string" }
54870
+ }
54871
+ },
54872
+ tags: ["organization", "collection", "select"],
54873
+ tool_call_template: {
54874
+ call_template_type: "panel_event",
54875
+ event_type: `${PANEL_ID}:select-collection`
54876
+ }
54877
+ };
54878
+ const selectOrgRepositoryTool = {
54879
+ name: "select_org_repository",
54880
+ description: "Select a repository from the organization's repositories to view its details.",
54881
+ inputs: {
54882
+ type: "object",
54883
+ properties: {
54884
+ owner: {
54885
+ type: "string",
54886
+ description: "The repository owner (organization login)"
54887
+ },
54888
+ repo: {
54889
+ type: "string",
54890
+ description: "The repository name"
54891
+ }
54892
+ },
54893
+ required: ["owner", "repo"]
54894
+ },
54895
+ outputs: {
54896
+ type: "object",
54897
+ properties: {
54898
+ success: { type: "boolean" },
54899
+ repository: { type: "string" }
54900
+ }
54901
+ },
54902
+ tags: ["organization", "repository", "select", "navigate"],
54903
+ tool_call_template: {
54904
+ call_template_type: "panel_event",
54905
+ event_type: `${PANEL_ID}:select-repository`
54906
+ }
54907
+ };
54908
+ const cloneOrgRepositoryTool = {
54909
+ name: "clone_org_repository",
54910
+ description: "Clone a repository from the organization to your local machine.",
54911
+ inputs: {
54912
+ type: "object",
54913
+ properties: {
54914
+ owner: {
54915
+ type: "string",
54916
+ description: "The repository owner (organization login)"
54917
+ },
54918
+ repo: {
54919
+ type: "string",
54920
+ description: "The repository name"
54921
+ }
54922
+ },
54923
+ required: ["owner", "repo"]
54924
+ },
54925
+ outputs: {
54926
+ type: "object",
54927
+ properties: {
54928
+ success: { type: "boolean" }
54929
+ }
54930
+ },
54931
+ tags: ["organization", "repository", "clone", "download"],
54932
+ tool_call_template: {
54933
+ call_template_type: "panel_event",
54934
+ event_type: `${PANEL_ID}:clone-repository`
54935
+ }
54936
+ };
54937
+ const filterOrgRepositoriesTool = {
54938
+ name: "filter_org_repositories",
54939
+ description: "Filter the organization's repositories by name, description, or language.",
54940
+ inputs: {
54941
+ type: "object",
54942
+ properties: {
54943
+ filter: {
54944
+ type: "string",
54945
+ description: "The search query to filter repositories"
54946
+ }
54947
+ },
54948
+ required: ["filter"]
54949
+ },
54950
+ outputs: {
54951
+ type: "object",
54952
+ properties: {
54953
+ success: { type: "boolean" }
54954
+ }
54955
+ },
54956
+ tags: ["organization", "repository", "filter", "search"],
54957
+ tool_call_template: {
54958
+ call_template_type: "panel_event",
54959
+ event_type: `${PANEL_ID}:filter-repositories`
54960
+ }
54961
+ };
54962
+ const orgProfileTools = [
54963
+ setOrgViewTool,
54964
+ selectOrgCollectionTool,
54965
+ selectOrgRepositoryTool,
54966
+ cloneOrgRepositoryTool,
54967
+ filterOrgRepositoriesTool
54968
+ ];
54969
+ const orgProfileToolsMetadata = {
54970
+ id: "org-profile-panel",
54971
+ name: "Organization Profile Panel",
54972
+ description: "Tools for browsing organization profiles, collections, and repositories",
54973
+ tools: orgProfileTools
54974
+ };
53859
54975
  function getTimelineEventType(event) {
53860
54976
  return event.event;
53861
54977
  }
@@ -53876,12 +54992,8 @@ const panels = [
53876
54992
  // Add tools to panel metadata
53877
54993
  },
53878
54994
  component: GitHubProjectsPanel,
53879
- onMount: async (context) => {
54995
+ onMount: async (_context) => {
53880
54996
  console.log("GitHub Projects Panel mounted");
53881
- const slice = context.getSlice("githubRepositories");
53882
- if (slice && !slice.loading) {
53883
- await slice.refresh();
53884
- }
53885
54997
  },
53886
54998
  onUnmount: async (_context) => {
53887
54999
  console.log("GitHub Projects Panel unmounting");
@@ -53900,12 +55012,8 @@ const panels = [
53900
55012
  {
53901
55013
  metadata: GitHubIssuesPanelMetadata,
53902
55014
  component: GitHubIssuesPanel,
53903
- onMount: async (context) => {
55015
+ onMount: async (_context) => {
53904
55016
  console.log("GitHub Issues Panel mounted");
53905
- const slice = context.getSlice("githubIssues");
53906
- if (slice && !slice.loading) {
53907
- await slice.refresh();
53908
- }
53909
55017
  },
53910
55018
  onUnmount: async (_context) => {
53911
55019
  console.log("GitHub Issues Panel unmounting");
@@ -53950,6 +55058,19 @@ const panels = [
53950
55058
  onUnmount: async (_context) => {
53951
55059
  console.log("GitHub Messages Panel unmounting");
53952
55060
  }
55061
+ },
55062
+ {
55063
+ metadata: {
55064
+ ...OrgProfilePanelMetadata,
55065
+ tools: orgProfileTools
55066
+ },
55067
+ component: OrgProfilePanel,
55068
+ onMount: async (_context) => {
55069
+ console.log("Org Profile Panel mounted");
55070
+ },
55071
+ onUnmount: async (_context) => {
55072
+ console.log("Org Profile Panel unmounting");
55073
+ }
53953
55074
  }
53954
55075
  ];
53955
55076
  const onPackageLoad = async () => {
@@ -53965,10 +55086,15 @@ export {
53965
55086
  GitHubProjectCard,
53966
55087
  GitHubProjectsPanel,
53967
55088
  GitHubSearchPanel,
55089
+ OrgProfilePanel,
55090
+ OrgProfilePanelMetadata,
55091
+ OrgProfilePanelPreview,
53968
55092
  OwnerRepositoriesPanel,
53969
55093
  RecentRepositoriesPanel,
53970
55094
  addRecentOwner,
53971
55095
  addRecentRepository,
55096
+ cloneOrgRepositoryTool,
55097
+ filterOrgRepositoriesTool,
53972
55098
  getTimelineEventType,
53973
55099
  githubTools,
53974
55100
  githubToolsMetadata,
@@ -53980,13 +55106,18 @@ export {
53980
55106
  onPackageLoad,
53981
55107
  onPackageUnload,
53982
55108
  openRepositorySwitcherTool,
55109
+ orgProfileTools,
55110
+ orgProfileToolsMetadata,
53983
55111
  panels,
53984
55112
  previewRepositoryTool,
53985
55113
  refreshIssuesTool,
53986
55114
  refreshMessagesTool,
53987
55115
  requestGitHubLoginTool,
53988
55116
  searchRepositoriesTool,
55117
+ selectOrgCollectionTool,
55118
+ selectOrgRepositoryTool,
53989
55119
  selectRepositoryTool,
55120
+ setOrgViewTool,
53990
55121
  viewIssueMessagesTool,
53991
55122
  viewPullRequestMessagesTool
53992
55123
  };