randmarcomps 1.321.0 → 1.323.0

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.
@@ -281,39 +281,39 @@ const createLucideIcon = (t, e) => {
281
281
  * This source code is licensed under the ISC license.
282
282
  * See the LICENSE file in the root directory of this source tree.
283
283
  */
284
- const __iconNode$1c = [
284
+ const __iconNode$1d = [
285
285
  ["path", { d: "M12 5v14", key: "s699le" }],
286
286
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
287
- ], ArrowDown = createLucideIcon("ArrowDown", __iconNode$1c);
287
+ ], ArrowDown = createLucideIcon("ArrowDown", __iconNode$1d);
288
288
  /**
289
289
  * @license lucide-react v0.479.0 - ISC
290
290
  *
291
291
  * This source code is licensed under the ISC license.
292
292
  * See the LICENSE file in the root directory of this source tree.
293
293
  */
294
- const __iconNode$1b = [
294
+ const __iconNode$1c = [
295
295
  ["path", { d: "m21 16-4 4-4-4", key: "f6ql7i" }],
296
296
  ["path", { d: "M17 20V4", key: "1ejh1v" }],
297
297
  ["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
298
298
  ["path", { d: "M7 4v16", key: "1glfcx" }]
299
- ], ArrowUpDown = createLucideIcon("ArrowUpDown", __iconNode$1b);
299
+ ], ArrowUpDown = createLucideIcon("ArrowUpDown", __iconNode$1c);
300
300
  /**
301
301
  * @license lucide-react v0.479.0 - ISC
302
302
  *
303
303
  * This source code is licensed under the ISC license.
304
304
  * See the LICENSE file in the root directory of this source tree.
305
305
  */
306
- const __iconNode$1a = [
306
+ const __iconNode$1b = [
307
307
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
308
308
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
309
- ], ArrowUp = createLucideIcon("ArrowUp", __iconNode$1a);
309
+ ], ArrowUp = createLucideIcon("ArrowUp", __iconNode$1b);
310
310
  /**
311
311
  * @license lucide-react v0.479.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$19 = [
316
+ const __iconNode$1a = [
317
317
  [
318
318
  "path",
319
319
  {
@@ -322,51 +322,51 @@ const __iconNode$19 = [
322
322
  }
323
323
  ],
324
324
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
325
- ], BadgeCheck = createLucideIcon("BadgeCheck", __iconNode$19);
325
+ ], BadgeCheck = createLucideIcon("BadgeCheck", __iconNode$1a);
326
326
  /**
327
327
  * @license lucide-react v0.479.0 - ISC
328
328
  *
329
329
  * This source code is licensed under the ISC license.
330
330
  * See the LICENSE file in the root directory of this source tree.
331
331
  */
332
- const __iconNode$18 = [
332
+ const __iconNode$19 = [
333
333
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
334
334
  ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
335
335
  ["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
336
- ], Banknote = createLucideIcon("Banknote", __iconNode$18);
336
+ ], Banknote = createLucideIcon("Banknote", __iconNode$19);
337
337
  /**
338
338
  * @license lucide-react v0.479.0 - ISC
339
339
  *
340
340
  * This source code is licensed under the ISC license.
341
341
  * See the LICENSE file in the root directory of this source tree.
342
342
  */
343
- const __iconNode$17 = [
343
+ const __iconNode$18 = [
344
344
  [
345
345
  "path",
346
346
  { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
347
347
  ]
348
- ], Bold$1 = createLucideIcon("Bold", __iconNode$17);
348
+ ], Bold$1 = createLucideIcon("Bold", __iconNode$18);
349
349
  /**
350
350
  * @license lucide-react v0.479.0 - ISC
351
351
  *
352
352
  * This source code is licensed under the ISC license.
353
353
  * See the LICENSE file in the root directory of this source tree.
354
354
  */
355
- const __iconNode$16 = [
355
+ const __iconNode$17 = [
356
356
  ["path", { d: "M12 8V4H8", key: "hb8ula" }],
357
357
  ["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
358
358
  ["path", { d: "M2 14h2", key: "vft8re" }],
359
359
  ["path", { d: "M20 14h2", key: "4cs60a" }],
360
360
  ["path", { d: "M15 13v2", key: "1xurst" }],
361
361
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
362
- ], Bot = createLucideIcon("Bot", __iconNode$16);
362
+ ], Bot = createLucideIcon("Bot", __iconNode$17);
363
363
  /**
364
364
  * @license lucide-react v0.479.0 - ISC
365
365
  *
366
366
  * This source code is licensed under the ISC license.
367
367
  * See the LICENSE file in the root directory of this source tree.
368
368
  */
369
- const __iconNode$15 = [
369
+ const __iconNode$16 = [
370
370
  ["path", { d: "M8 2v4", key: "1cmpym" }],
371
371
  ["path", { d: "M16 2v4", key: "4m81vk" }],
372
372
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
@@ -377,14 +377,14 @@ const __iconNode$15 = [
377
377
  ["path", { d: "M8 18h.01", key: "lrp35t" }],
378
378
  ["path", { d: "M12 18h.01", key: "mhygvu" }],
379
379
  ["path", { d: "M16 18h.01", key: "kzsmim" }]
380
- ], CalendarDays = createLucideIcon("CalendarDays", __iconNode$15);
380
+ ], CalendarDays = createLucideIcon("CalendarDays", __iconNode$16);
381
381
  /**
382
382
  * @license lucide-react v0.479.0 - ISC
383
383
  *
384
384
  * This source code is licensed under the ISC license.
385
385
  * See the LICENSE file in the root directory of this source tree.
386
386
  */
387
- const __iconNode$14 = [
387
+ const __iconNode$15 = [
388
388
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
389
389
  ["path", { d: "M16 2v4", key: "4m81vk" }],
390
390
  ["path", { d: "M3 10h18", key: "8toen8" }],
@@ -393,123 +393,123 @@ const __iconNode$14 = [
393
393
  ["path", { d: "M13 18H7", key: "bb0bb7" }],
394
394
  ["path", { d: "M7 14h.01", key: "1qa3f1" }],
395
395
  ["path", { d: "M17 18h.01", key: "1bdyru" }]
396
- ], CalendarRange = createLucideIcon("CalendarRange", __iconNode$14);
396
+ ], CalendarRange = createLucideIcon("CalendarRange", __iconNode$15);
397
397
  /**
398
398
  * @license lucide-react v0.479.0 - ISC
399
399
  *
400
400
  * This source code is licensed under the ISC license.
401
401
  * See the LICENSE file in the root directory of this source tree.
402
402
  */
403
- const __iconNode$13 = [
403
+ const __iconNode$14 = [
404
404
  ["path", { d: "M8 2v4", key: "1cmpym" }],
405
405
  ["path", { d: "M16 2v4", key: "4m81vk" }],
406
406
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
407
407
  ["path", { d: "M3 10h18", key: "8toen8" }]
408
- ], Calendar = createLucideIcon("Calendar", __iconNode$13);
408
+ ], Calendar = createLucideIcon("Calendar", __iconNode$14);
409
409
  /**
410
410
  * @license lucide-react v0.479.0 - ISC
411
411
  *
412
412
  * This source code is licensed under the ISC license.
413
413
  * See the LICENSE file in the root directory of this source tree.
414
414
  */
415
- const __iconNode$12 = [
415
+ const __iconNode$13 = [
416
416
  ["line", { x1: "12", x2: "12", y1: "20", y2: "10", key: "1vz5eb" }],
417
417
  ["line", { x1: "18", x2: "18", y1: "20", y2: "4", key: "cun8e5" }],
418
418
  ["line", { x1: "6", x2: "6", y1: "20", y2: "16", key: "hq0ia6" }]
419
- ], ChartNoAxesColumnIncreasing = createLucideIcon("ChartNoAxesColumnIncreasing", __iconNode$12);
419
+ ], ChartNoAxesColumnIncreasing = createLucideIcon("ChartNoAxesColumnIncreasing", __iconNode$13);
420
420
  /**
421
421
  * @license lucide-react v0.479.0 - ISC
422
422
  *
423
423
  * This source code is licensed under the ISC license.
424
424
  * See the LICENSE file in the root directory of this source tree.
425
425
  */
426
- const __iconNode$11 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Check = createLucideIcon("Check", __iconNode$11);
426
+ const __iconNode$12 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Check = createLucideIcon("Check", __iconNode$12);
427
427
  /**
428
428
  * @license lucide-react v0.479.0 - ISC
429
429
  *
430
430
  * This source code is licensed under the ISC license.
431
431
  * See the LICENSE file in the root directory of this source tree.
432
432
  */
433
- const __iconNode$10 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], ChevronDown = createLucideIcon("ChevronDown", __iconNode$10);
433
+ const __iconNode$11 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], ChevronDown = createLucideIcon("ChevronDown", __iconNode$11);
434
434
  /**
435
435
  * @license lucide-react v0.479.0 - ISC
436
436
  *
437
437
  * This source code is licensed under the ISC license.
438
438
  * See the LICENSE file in the root directory of this source tree.
439
439
  */
440
- const __iconNode$$ = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("ChevronLeft", __iconNode$$);
440
+ const __iconNode$10 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("ChevronLeft", __iconNode$10);
441
441
  /**
442
442
  * @license lucide-react v0.479.0 - ISC
443
443
  *
444
444
  * This source code is licensed under the ISC license.
445
445
  * See the LICENSE file in the root directory of this source tree.
446
446
  */
447
- const __iconNode$_ = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("ChevronRight", __iconNode$_);
447
+ const __iconNode$$ = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("ChevronRight", __iconNode$$);
448
448
  /**
449
449
  * @license lucide-react v0.479.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$Z = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], ChevronUp = createLucideIcon("ChevronUp", __iconNode$Z);
454
+ const __iconNode$_ = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], ChevronUp = createLucideIcon("ChevronUp", __iconNode$_);
455
455
  /**
456
456
  * @license lucide-react v0.479.0 - ISC
457
457
  *
458
458
  * This source code is licensed under the ISC license.
459
459
  * See the LICENSE file in the root directory of this source tree.
460
460
  */
461
- const __iconNode$Y = [
461
+ const __iconNode$Z = [
462
462
  ["path", { d: "m11 17-5-5 5-5", key: "13zhaf" }],
463
463
  ["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
464
- ], ChevronsLeft = createLucideIcon("ChevronsLeft", __iconNode$Y);
464
+ ], ChevronsLeft = createLucideIcon("ChevronsLeft", __iconNode$Z);
465
465
  /**
466
466
  * @license lucide-react v0.479.0 - ISC
467
467
  *
468
468
  * This source code is licensed under the ISC license.
469
469
  * See the LICENSE file in the root directory of this source tree.
470
470
  */
471
- const __iconNode$X = [
471
+ const __iconNode$Y = [
472
472
  ["path", { d: "m6 17 5-5-5-5", key: "xnjwq" }],
473
473
  ["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
474
- ], ChevronsRight = createLucideIcon("ChevronsRight", __iconNode$X);
474
+ ], ChevronsRight = createLucideIcon("ChevronsRight", __iconNode$Y);
475
475
  /**
476
476
  * @license lucide-react v0.479.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$W = [
481
+ const __iconNode$X = [
482
482
  ["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
483
483
  ["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
484
- ], ChevronsUpDown = createLucideIcon("ChevronsUpDown", __iconNode$W);
484
+ ], ChevronsUpDown = createLucideIcon("ChevronsUpDown", __iconNode$X);
485
485
  /**
486
486
  * @license lucide-react v0.479.0 - ISC
487
487
  *
488
488
  * This source code is licensed under the ISC license.
489
489
  * See the LICENSE file in the root directory of this source tree.
490
490
  */
491
- const __iconNode$V = [
491
+ const __iconNode$W = [
492
492
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
493
493
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
494
494
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
495
- ], CircleAlert = createLucideIcon("CircleAlert", __iconNode$V);
495
+ ], CircleAlert = createLucideIcon("CircleAlert", __iconNode$W);
496
496
  /**
497
497
  * @license lucide-react v0.479.0 - ISC
498
498
  *
499
499
  * This source code is licensed under the ISC license.
500
500
  * See the LICENSE file in the root directory of this source tree.
501
501
  */
502
- const __iconNode$U = [
502
+ const __iconNode$V = [
503
503
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
504
504
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
505
- ], CircleCheck = createLucideIcon("CircleCheck", __iconNode$U);
505
+ ], CircleCheck = createLucideIcon("CircleCheck", __iconNode$V);
506
506
  /**
507
507
  * @license lucide-react v0.479.0 - ISC
508
508
  *
509
509
  * This source code is licensed under the ISC license.
510
510
  * See the LICENSE file in the root directory of this source tree.
511
511
  */
512
- const __iconNode$T = [
512
+ const __iconNode$U = [
513
513
  ["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
514
514
  ["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
515
515
  ["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
@@ -518,21 +518,21 @@ const __iconNode$T = [
518
518
  ["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
519
519
  ["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
520
520
  ["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
521
- ], CircleDashed = createLucideIcon("CircleDashed", __iconNode$T);
521
+ ], CircleDashed = createLucideIcon("CircleDashed", __iconNode$U);
522
522
  /**
523
523
  * @license lucide-react v0.479.0 - ISC
524
524
  *
525
525
  * This source code is licensed under the ISC license.
526
526
  * See the LICENSE file in the root directory of this source tree.
527
527
  */
528
- const __iconNode$S = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Circle = createLucideIcon("Circle", __iconNode$S);
528
+ const __iconNode$T = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Circle = createLucideIcon("Circle", __iconNode$T);
529
529
  /**
530
530
  * @license lucide-react v0.479.0 - ISC
531
531
  *
532
532
  * This source code is licensed under the ISC license.
533
533
  * See the LICENSE file in the root directory of this source tree.
534
534
  */
535
- const __iconNode$R = [
535
+ const __iconNode$S = [
536
536
  ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
537
537
  [
538
538
  "path",
@@ -545,76 +545,76 @@ const __iconNode$R = [
545
545
  ["path", { d: "M12 16h4", key: "n85exb" }],
546
546
  ["path", { d: "M8 11h.01", key: "1dfujw" }],
547
547
  ["path", { d: "M8 16h.01", key: "18s6g9" }]
548
- ], ClipboardList = createLucideIcon("ClipboardList", __iconNode$R);
548
+ ], ClipboardList = createLucideIcon("ClipboardList", __iconNode$S);
549
549
  /**
550
550
  * @license lucide-react v0.479.0 - ISC
551
551
  *
552
552
  * This source code is licensed under the ISC license.
553
553
  * See the LICENSE file in the root directory of this source tree.
554
554
  */
555
- const __iconNode$Q = [
555
+ const __iconNode$R = [
556
556
  ["polyline", { points: "16 18 22 12 16 6", key: "z7tu5w" }],
557
557
  ["polyline", { points: "8 6 2 12 8 18", key: "1eg1df" }]
558
- ], Code$1 = createLucideIcon("Code", __iconNode$Q);
558
+ ], Code$1 = createLucideIcon("Code", __iconNode$R);
559
559
  /**
560
560
  * @license lucide-react v0.479.0 - ISC
561
561
  *
562
562
  * This source code is licensed under the ISC license.
563
563
  * See the LICENSE file in the root directory of this source tree.
564
564
  */
565
- const __iconNode$P = [
565
+ const __iconNode$Q = [
566
566
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
567
567
  ["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" }]
568
- ], Copy = createLucideIcon("Copy", __iconNode$P);
568
+ ], Copy = createLucideIcon("Copy", __iconNode$Q);
569
569
  /**
570
570
  * @license lucide-react v0.479.0 - ISC
571
571
  *
572
572
  * This source code is licensed under the ISC license.
573
573
  * See the LICENSE file in the root directory of this source tree.
574
574
  */
575
- const __iconNode$O = [
575
+ const __iconNode$P = [
576
576
  ["rect", { width: "20", height: "14", x: "2", y: "5", rx: "2", key: "ynyp8z" }],
577
577
  ["line", { x1: "2", x2: "22", y1: "10", y2: "10", key: "1b3vmo" }]
578
- ], CreditCard = createLucideIcon("CreditCard", __iconNode$O);
578
+ ], CreditCard = createLucideIcon("CreditCard", __iconNode$P);
579
579
  /**
580
580
  * @license lucide-react v0.479.0 - ISC
581
581
  *
582
582
  * This source code is licensed under the ISC license.
583
583
  * See the LICENSE file in the root directory of this source tree.
584
584
  */
585
- const __iconNode$N = [
585
+ const __iconNode$O = [
586
586
  ["line", { x1: "12", x2: "12", y1: "2", y2: "22", key: "7eqyqh" }],
587
587
  ["path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6", key: "1b0p4s" }]
588
- ], DollarSign = createLucideIcon("DollarSign", __iconNode$N);
588
+ ], DollarSign = createLucideIcon("DollarSign", __iconNode$O);
589
589
  /**
590
590
  * @license lucide-react v0.479.0 - ISC
591
591
  *
592
592
  * This source code is licensed under the ISC license.
593
593
  * See the LICENSE file in the root directory of this source tree.
594
594
  */
595
- const __iconNode$M = [
595
+ const __iconNode$N = [
596
596
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
597
597
  ["polyline", { points: "7 10 12 15 17 10", key: "2ggqvy" }],
598
598
  ["line", { x1: "12", x2: "12", y1: "15", y2: "3", key: "1vk2je" }]
599
- ], Download = createLucideIcon("Download", __iconNode$M);
599
+ ], Download = createLucideIcon("Download", __iconNode$N);
600
600
  /**
601
601
  * @license lucide-react v0.479.0 - ISC
602
602
  *
603
603
  * This source code is licensed under the ISC license.
604
604
  * See the LICENSE file in the root directory of this source tree.
605
605
  */
606
- const __iconNode$L = [
606
+ const __iconNode$M = [
607
607
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
608
608
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
609
609
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
610
- ], ExternalLink = createLucideIcon("ExternalLink", __iconNode$L);
610
+ ], ExternalLink = createLucideIcon("ExternalLink", __iconNode$M);
611
611
  /**
612
612
  * @license lucide-react v0.479.0 - ISC
613
613
  *
614
614
  * This source code is licensed under the ISC license.
615
615
  * See the LICENSE file in the root directory of this source tree.
616
616
  */
617
- const __iconNode$K = [
617
+ const __iconNode$L = [
618
618
  [
619
619
  "path",
620
620
  {
@@ -623,57 +623,57 @@ const __iconNode$K = [
623
623
  }
624
624
  ],
625
625
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
626
- ], Eye = createLucideIcon("Eye", __iconNode$K);
626
+ ], Eye = createLucideIcon("Eye", __iconNode$L);
627
627
  /**
628
628
  * @license lucide-react v0.479.0 - ISC
629
629
  *
630
630
  * This source code is licensed under the ISC license.
631
631
  * See the LICENSE file in the root directory of this source tree.
632
632
  */
633
- const __iconNode$J = [
633
+ const __iconNode$K = [
634
634
  ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
635
635
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
636
636
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
637
637
  ["path", { d: "M16 13H8", key: "t4e002" }],
638
638
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
639
- ], FileText = createLucideIcon("FileText", __iconNode$J);
639
+ ], FileText = createLucideIcon("FileText", __iconNode$K);
640
640
  /**
641
641
  * @license lucide-react v0.479.0 - ISC
642
642
  *
643
643
  * This source code is licensed under the ISC license.
644
644
  * See the LICENSE file in the root directory of this source tree.
645
645
  */
646
- const __iconNode$I = [
646
+ const __iconNode$J = [
647
647
  ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
648
648
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }]
649
- ], File = createLucideIcon("File", __iconNode$I);
649
+ ], File = createLucideIcon("File", __iconNode$J);
650
650
  /**
651
651
  * @license lucide-react v0.479.0 - ISC
652
652
  *
653
653
  * This source code is licensed under the ISC license.
654
654
  * See the LICENSE file in the root directory of this source tree.
655
655
  */
656
- const __iconNode$H = [
656
+ const __iconNode$I = [
657
657
  ["polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3", key: "1yg77f" }]
658
- ], Filter = createLucideIcon("Filter", __iconNode$H);
658
+ ], Filter = createLucideIcon("Filter", __iconNode$I);
659
659
  /**
660
660
  * @license lucide-react v0.479.0 - ISC
661
661
  *
662
662
  * This source code is licensed under the ISC license.
663
663
  * See the LICENSE file in the root directory of this source tree.
664
664
  */
665
- const __iconNode$G = [
665
+ const __iconNode$H = [
666
666
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
667
667
  ["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
668
668
  ["path", { d: "M2 12h20", key: "9i4pu4" }]
669
- ], Globe = createLucideIcon("Globe", __iconNode$G);
669
+ ], Globe = createLucideIcon("Globe", __iconNode$H);
670
670
  /**
671
671
  * @license lucide-react v0.479.0 - ISC
672
672
  *
673
673
  * This source code is licensed under the ISC license.
674
674
  * See the LICENSE file in the root directory of this source tree.
675
675
  */
676
- const __iconNode$F = [
676
+ const __iconNode$G = [
677
677
  ["path", { d: "m11 17 2 2a1 1 0 1 0 3-3", key: "efffak" }],
678
678
  [
679
679
  "path",
@@ -685,32 +685,52 @@ const __iconNode$F = [
685
685
  ["path", { d: "m21 3 1 11h-2", key: "1tisrp" }],
686
686
  ["path", { d: "M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3", key: "1uvwmv" }],
687
687
  ["path", { d: "M3 4h8", key: "1ep09j" }]
688
- ], Handshake = createLucideIcon("Handshake", __iconNode$F);
688
+ ], Handshake = createLucideIcon("Handshake", __iconNode$G);
689
689
  /**
690
690
  * @license lucide-react v0.479.0 - ISC
691
691
  *
692
692
  * This source code is licensed under the ISC license.
693
693
  * See the LICENSE file in the root directory of this source tree.
694
694
  */
695
- const __iconNode$E = [
695
+ const __iconNode$F = [
696
696
  ["path", { d: "M12 2v8", key: "1q4o3n" }],
697
697
  ["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
698
698
  ["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", key: "w68u3i" }],
699
699
  ["path", { d: "M6 18h.01", key: "uhywen" }],
700
700
  ["path", { d: "M10 18h.01", key: "h775k" }]
701
- ], HardDriveDownload = createLucideIcon("HardDriveDownload", __iconNode$E);
701
+ ], HardDriveDownload = createLucideIcon("HardDriveDownload", __iconNode$F);
702
702
  /**
703
703
  * @license lucide-react v0.479.0 - ISC
704
704
  *
705
705
  * This source code is licensed under the ISC license.
706
706
  * See the LICENSE file in the root directory of this source tree.
707
707
  */
708
- const __iconNode$D = [
708
+ const __iconNode$E = [
709
709
  ["path", { d: "M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5", key: "1p9q5i" }],
710
710
  ["path", { d: "M14 6a6 6 0 0 1 6 6v3", key: "1hnv84" }],
711
711
  ["path", { d: "M4 15v-3a6 6 0 0 1 6-6", key: "9ciidu" }],
712
712
  ["rect", { x: "2", y: "15", width: "20", height: "4", rx: "1", key: "g3x8cw" }]
713
- ], HardHat = createLucideIcon("HardHat", __iconNode$D);
713
+ ], HardHat = createLucideIcon("HardHat", __iconNode$E);
714
+ /**
715
+ * @license lucide-react v0.479.0 - ISC
716
+ *
717
+ * This source code is licensed under the ISC license.
718
+ * See the LICENSE file in the root directory of this source tree.
719
+ */
720
+ const __iconNode$D = [
721
+ ["line", { x1: "2", x2: "22", y1: "2", y2: "22", key: "a6p6uj" }],
722
+ ["path", { d: "M10.41 10.41a2 2 0 1 1-2.83-2.83", key: "1bzlo9" }],
723
+ ["line", { x1: "13.5", x2: "6", y1: "13.5", y2: "21", key: "1q0aeu" }],
724
+ ["line", { x1: "18", x2: "21", y1: "12", y2: "15", key: "5mozeu" }],
725
+ [
726
+ "path",
727
+ {
728
+ d: "M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",
729
+ key: "mmje98"
730
+ }
731
+ ],
732
+ ["path", { d: "M21 15V5a2 2 0 0 0-2-2H9", key: "43el77" }]
733
+ ], ImageOff = createLucideIcon("ImageOff", __iconNode$D);
714
734
  /**
715
735
  * @license lucide-react v0.479.0 - ISC
716
736
  *
@@ -15815,7 +15835,7 @@ const emptySplitApi = createApi({
15815
15835
  })
15816
15836
  }),
15817
15837
  overrideExisting: !1
15818
- }), { useGetV4PartnerByApplicationIdAccountQuery, useLazyGetV4PartnerByApplicationIdAccountQuery, useGetV4PartnerByApplicationIdAccountLogoQuery, useGetV4PartnerByApplicationIdAccountLogoExistsQuery, useGetV4PartnerByApplicationIdAccountManufacturerQuery, useGetV4PartnerByApplicationIdAccountResellerQuery, usePostV4PartnerByApplicationIdAccountDebugFeedbackMutation, usePostV4PartnerByApplicationIdAccountManufacturerAndFieldNameMutation, usePostV4PartnerByApplicationIdAccountResellerAndFieldNameMutation, usePostV4PartnerByRouteApplicationIdBusinessDevelopmentConversationPartnerAndPartnerIdMutation, useGetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationsQuery, useLazyGetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdMessagesQuery, useGetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationsHasUnreadsQuery, usePostV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdReadMutation, useLazyGetV4ResellerByRouteResellerIdDocumentAndDocumentNumberPdfQuery, usePostV4ResellerByRouteResellerIdDocumentStatementEmailMutation, useGetV4ManufacturerByRouteManufacturerIdDocumentsActiveOrderDetailsQuery, useGetV4ManufacturerByRouteManufacturerIdInventoryValueQuery, usePostV4ResellerByRouteResellerIdManufacturerAndManufacturerIdShopifyMutation, useGetV4ResellerByRouteResellerIdManufacturerAndManufacturerIdCategoryCodeQuery, usePostV4ResellerByRouteResellerIdManufacturerAndManufacturerIdCategoryCodeShopifyMutation, useGetV4PartnerByRouteApplicationIdManufacturersQuery, usePostV4ResellerByRouteResellerIdOpportunityAndManufacturerIdBidNumberEmailMutation, usePutV4ResellerByRouteResellerIdOpportunityAndManufacturerIdDefaultMutation, useGetV4PartnerByRouteApplicationIdPartnerAndPartnerIdQuery, usePostV4ResellerByRouteResellerIdProductAndRandmarSkuShopifyMutation, usePutV4ResellerByRouteResellerIdProductAndRandmarSkuRequisitionMutation, useGetV4PartnerByRouteApplicationIdProductAndRandmarSkuQuery, usePostV4ResellerByRouteResellerIdReportProductsEmailMutation, usePostV4ResellerByRouteResellerIdReportInvoicesEmailMutation, usePostV4ResellerByRouteResellerIdReportOpenOrdersEmailMutation, usePostV4ResellerByRouteResellerIdReportAmazonTrackingFileEmailMutation, usePostV4ResellerByRouteResellerIdReportWalmartTrackingFileEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportReorderEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportSalesEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportInventoryEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportOpenOrdersEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportProductsEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportPurchasedOrdersEmailMutation } = injectedRtkApi;
15838
+ }), { useGetV4PartnerByApplicationIdAccountQuery, useLazyGetV4PartnerByApplicationIdAccountQuery, useGetV4PartnerByApplicationIdAccountLogoQuery, useGetV4PartnerByApplicationIdAccountLogoExistsQuery, useGetV4PartnerByApplicationIdAccountManufacturerQuery, useGetV4PartnerByApplicationIdAccountResellerQuery, usePostV4PartnerByApplicationIdAccountDebugFeedbackMutation, usePostV4PartnerByApplicationIdAccountManufacturerAndFieldNameMutation, usePostV4PartnerByApplicationIdAccountResellerAndFieldNameMutation, usePostV4PartnerByRouteApplicationIdBusinessDevelopmentConversationPartnerAndPartnerIdMutation, useGetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationsQuery, useLazyGetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdMessagesQuery, useGetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationsHasUnreadsQuery, usePostV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdReadMutation, useLazyGetV4ResellerByRouteResellerIdDocumentAndDocumentNumberPdfQuery, usePostV4ResellerByRouteResellerIdDocumentStatementEmailMutation, useGetV4ManufacturerByRouteManufacturerIdDocumentsActiveOrderDetailsQuery, useGetV4ManufacturerByRouteManufacturerIdInventoryValueQuery, usePostV4ResellerByRouteResellerIdManufacturerAndManufacturerIdShopifyMutation, useGetV4ResellerByRouteResellerIdManufacturerAndManufacturerIdCategoryCodeQuery, usePostV4ResellerByRouteResellerIdManufacturerAndManufacturerIdCategoryCodeShopifyMutation, useGetV4PartnerByRouteApplicationIdManufacturersQuery, usePostV4ResellerByRouteResellerIdOpportunityAndManufacturerIdBidNumberEmailMutation, usePutV4ResellerByRouteResellerIdOpportunityAndManufacturerIdDefaultMutation, useGetV4PartnerByRouteApplicationIdPartnerAndPartnerIdQuery, usePostV4ResellerByRouteResellerIdProductAndRandmarSkuShopifyMutation, usePutV4ResellerByRouteResellerIdProductAndRandmarSkuRequisitionMutation, useGetV4PartnerByRouteApplicationIdProductAndRandmarSkuQuery, useGetProductByRandmarSkuImageQuery, useGetProductByProductNumberImageExistsQuery, useGetProductByProductNumberVideoQuery, useGetProductByProductNumberVideoExistsQuery, usePostV4ResellerByRouteResellerIdReportProductsEmailMutation, usePostV4ResellerByRouteResellerIdReportInvoicesEmailMutation, usePostV4ResellerByRouteResellerIdReportOpenOrdersEmailMutation, usePostV4ResellerByRouteResellerIdReportAmazonTrackingFileEmailMutation, usePostV4ResellerByRouteResellerIdReportWalmartTrackingFileEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportReorderEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportSalesEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportInventoryEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportOpenOrdersEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportProductsEmailMutation, usePostV4ManufacturerByRouteManufacturerIdReportPurchasedOrdersEmailMutation } = injectedRtkApi;
15819
15839
  injectedRtkApi.enhanceEndpoints({
15820
15840
  addTagTypes: ["Cart", "Conversation", "Account", "Unread", "Warehouse", "WarehouseList", "Users", "Integration", "Shopify", "Logs", "Manufacturer"],
15821
15841
  endpoints: {
@@ -60254,7 +60274,7 @@ function createDOMPurify() {
60254
60274
  }
60255
60275
  var purify = createDOMPurify();
60256
60276
  function markdownToSafeHTML(t) {
60257
- var e = marked(t, { async: !1 });
60277
+ const e = marked(t, { async: !1 });
60258
60278
  return purify.sanitize(e, {
60259
60279
  ALLOWED_TAGS: [
60260
60280
  // ======== Headings ========
@@ -60678,10 +60698,9 @@ const DebugMessageDisplay = ({ debugMessages: t }) => {
60678
60698
  if (useEffect(() => {
60679
60699
  if (je === null) return;
60680
60700
  const pt = Oe.find((Kt) => Kt.conversationID === je[0]);
60681
- if (pt && (pt.pending && se("pending"), $e([pt.partner1, pt.partner2]), !(je[0] === -1 && !F) && !(je[0] !== -1 && !He))) {
60682
- var Zt = je[1];
60683
- ze(null), Zt && Ke(Zt);
60684
- }
60701
+ if (!pt || (pt.pending && se("pending"), $e([pt.partner1, pt.partner2]), je[0] === -1 && !F) || je[0] !== -1 && !He) return;
60702
+ const Zt = je[1];
60703
+ ze(null), Zt && Ke(Zt);
60685
60704
  }, [je, Oe, se, $e, F, He]), useImperativeHandle(f, () => ({
60686
60705
  setActiveChatAndSendMessage: it
60687
60706
  })), !F)
@@ -64837,7 +64856,7 @@ function SalesChart({
64837
64856
  const z = String(q.Day ?? 0);
64838
64857
  if (z.length !== 8) return;
64839
64858
  const Q = `${z.substring(0, 4)}-${z.substring(4, 6)}`;
64840
- O.hasOwnProperty(Q) && (O[Q].price += q.ExtendedPrice ?? 0, O[Q].quantity += q.Quantity ?? 0);
64859
+ O[Q] && (O[Q].price += q.ExtendedPrice ?? 0, O[Q].quantity += q.Quantity ?? 0);
64841
64860
  }), _ = I.map((q) => {
64842
64861
  const z = O[q], [Q, j] = q.split("-").map(Number);
64843
64862
  return {
@@ -76978,121 +76997,108 @@ const imgSizeMap = {
76978
76997
  md: 200,
76979
76998
  lg: 300,
76980
76999
  xl: 400
76981
- };
77000
+ }, Placeholder = ({ size: t }) => /* @__PURE__ */ jsx(
77001
+ "div",
77002
+ {
77003
+ className: "rounded-md bg-muted flex items-center justify-center",
77004
+ style: { width: t, height: t },
77005
+ "aria-label": "Image not available",
77006
+ children: /* @__PURE__ */ jsx(ImageOff, { className: "h-1/2 w-1/2 text-muted-foreground" })
77007
+ }
77008
+ ), VideoSkeleton = () => /* @__PURE__ */ jsx(Skeleton, { className: "w-full", style: { aspectRatio: "16/9" } });
76982
77009
  function ProductImage({ randmarSKU: t, size: e = "md", alt: n, secondaryContent: o }) {
76983
- const [l, d] = React.useState(!1), [f, g] = React.useState(!1), [b, S] = React.useState(!1), [_, C] = React.useState(!1), [E, R] = React.useState(!1), A = `https://api.randmar.io/Product/${t}/Video`, M = useRef(null), I = useIntersectionObserver({
76984
- elementRef: M,
77010
+ const [l, d] = React.useState(!1), [f, g] = React.useState(!1), [b, S] = React.useState(!1), _ = imgSizeMap[e], C = useRef(null), E = useIntersectionObserver({
77011
+ elementRef: C,
76985
77012
  threshold: 0.1,
76986
- // Element is considered visible when 10% is in viewport
76987
77013
  rootMargin: "100px"
76988
- // Start loading a bit before it comes into view
76989
- });
76990
- React.useEffect(() => {
76991
- const j = async () => {
76992
- try {
76993
- const te = await (await fetch(A + "/Exists")).json();
76994
- g(te);
76995
- } catch (F) {
76996
- console.error("Error checking for video:", F), g(!1);
76997
- }
76998
- };
76999
- I && !b && (S(!0), j());
77000
- }, [t, A, I, b]);
77001
- async function O() {
77002
- if (f) {
77003
- R(!0);
77014
+ }), { data: R, isFetching: A } = useGetProductByProductNumberImageExistsQuery(
77015
+ { productNumber: t },
77016
+ { skip: !t || !E }
77017
+ ), { data: M, isFetching: I } = useGetProductByRandmarSkuImageQuery(
77018
+ {
77019
+ randmarSku: t,
77020
+ width: _ * 1.5,
77021
+ height: _ * 1.5
77022
+ },
77023
+ { skip: !R }
77024
+ ), { data: O } = useGetProductByProductNumberVideoExistsQuery(
77025
+ { productNumber: t },
77026
+ { skip: !t || !E }
77027
+ ), { data: q, isFetching: z } = useGetProductByProductNumberVideoQuery(
77028
+ { productNumber: t },
77029
+ { skip: !O || !l }
77030
+ ), Q = A || I;
77031
+ async function j() {
77032
+ if (q) {
77033
+ S(!0);
77004
77034
  try {
77005
- const F = await (await fetch(A)).blob(), te = window.URL.createObjectURL(F), ne = document.createElement("a");
77006
- ne.href = te, ne.download = `${t || "product"}-video.mp4`, document.body.appendChild(ne), ne.click(), document.body.removeChild(ne), window.URL.revokeObjectURL(te);
77007
- } catch (j) {
77008
- console.error("Error downloading video:", j);
77035
+ const oe = await (await fetch(q)).blob(), ge = window.URL.createObjectURL(oe), se = document.createElement("a");
77036
+ se.href = ge, se.download = `${t || "product"}-video.mp4`, document.body.appendChild(se), se.click(), document.body.removeChild(se), window.URL.revokeObjectURL(ge);
77037
+ } catch (ne) {
77038
+ console.error("Error downloading video:", ne);
77009
77039
  } finally {
77010
- R(!1);
77040
+ S(!1);
77011
77041
  }
77012
77042
  }
77013
77043
  }
77014
- function q() {
77015
- navigator.clipboard.writeText(A), C(!0), setTimeout(() => {
77016
- C(!1);
77017
- }, 2e3);
77044
+ function F() {
77045
+ q && (navigator.clipboard.writeText(q), g(!0), setTimeout(() => g(!1), 2e3));
77018
77046
  }
77019
- function z() {
77020
- d(!0);
77047
+ function te() {
77048
+ O && d(!0);
77021
77049
  }
77022
- const Q = imgSizeMap[e || "xl"];
77023
77050
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
77024
- /* @__PURE__ */ jsx(Dialog, { open: l, onOpenChange: d, children: /* @__PURE__ */ jsx(DialogContent, { className: "max-w-4xl p-0 overflow-hidden", children: o ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row", children: [
77025
- /* @__PURE__ */ jsxs(
77026
- "video",
77027
- {
77028
- className: "w-full rounded-l-lg max-h-[720px] object-contain",
77029
- controls: !0,
77030
- autoPlay: !0,
77031
- muted: !0,
77032
- loop: !0,
77033
- children: [
77034
- /* @__PURE__ */ jsx("source", { src: A, type: "video/mp4" }),
77035
- "Your browser does not support the video tag."
77036
- ]
77037
- }
77038
- ),
77039
- /* @__PURE__ */ jsx("div", { className: "flex-grow min-w-[400px] h-[70vh] p-6", children: o })
77040
- ] }) : /* @__PURE__ */ jsxs("div", { className: "w-full relative", children: [
77041
- /* @__PURE__ */ jsxs("video", { className: "w-full max-h-[720px] object-contain", controls: !0, autoPlay: !0, children: [
77042
- /* @__PURE__ */ jsx("source", { src: A, type: "video/mp4" }),
77043
- "Your browser does not support the video tag."
77044
- ] }),
77045
- /* @__PURE__ */ jsxs("div", { className: "absolute top-2 right-12 flex gap-1", children: [
77046
- /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
77047
- /* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(
77048
- Button,
77049
- {
77050
- variant: "secondary",
77051
- size: "icon",
77052
- onClick: q,
77053
- children: _ ? /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(Copy, { className: "h-4 w-4" })
77054
- }
77055
- ) }),
77056
- /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Copy video link" }) })
77057
- ] }) }),
77058
- /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
77059
- /* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(
77060
- Button,
77061
- {
77062
- variant: "secondary",
77063
- size: "icon",
77064
- onClick: O,
77065
- disabled: E,
77066
- children: /* @__PURE__ */ jsx(Download, { className: "h-4 w-4" })
77067
- }
77068
- ) }),
77069
- /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Download video" }) })
77070
- ] }) })
77071
- ] })
77072
- ] }) }) }),
77073
- /* @__PURE__ */ jsxs("div", { className: "relative w-max h-max", ref: M, children: [
77074
- /* @__PURE__ */ jsx(
77075
- "img",
77076
- {
77077
- alt: n || `Product ${t}`,
77078
- className: `rounded-md ${f ? "cursor-pointer" : ""}`,
77079
- onClick: f ? z : void 0,
77080
- src: `https://api.randmar.io/Product/${t}/Image?width=${Q * 1.5}&height=${Q * 1.5}`,
77081
- width: Q,
77082
- height: Q
77083
- }
77084
- ),
77085
- f && /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
77086
- /* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(
77087
- Button,
77051
+ /* @__PURE__ */ jsx(Dialog, { open: l, onOpenChange: d, children: /* @__PURE__ */ jsx(DialogContent, { className: "max-w-4xl p-0 overflow-hidden", children: z || !q ? (
77052
+ // Display a skeleton inside the dialog while the video URL is loading.
77053
+ /* @__PURE__ */ jsx(VideoSkeleton, {})
77054
+ ) : (
77055
+ // Once loaded, display the video player and controls.
77056
+ /* @__PURE__ */ jsx(Fragment$1, { children: o ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row", children: [
77057
+ /* @__PURE__ */ jsxs("video", { className: "w-full rounded-l-lg max-h-[720px] object-contain", controls: !0, autoPlay: !0, muted: !0, loop: !0, children: [
77058
+ /* @__PURE__ */ jsx("source", { src: q, type: "video/mp4" }),
77059
+ "Your browser does not support the video tag."
77060
+ ] }),
77061
+ /* @__PURE__ */ jsx("div", { className: "flex-grow min-w-[400px] h-[70vh] p-6", children: o })
77062
+ ] }) : /* @__PURE__ */ jsxs("div", { className: "w-full relative", children: [
77063
+ /* @__PURE__ */ jsxs("video", { className: "w-full max-h-[720px] object-contain", controls: !0, autoPlay: !0, children: [
77064
+ /* @__PURE__ */ jsx("source", { src: q, type: "video/mp4" }),
77065
+ "Your browser does not support the video tag."
77066
+ ] }),
77067
+ /* @__PURE__ */ jsxs("div", { className: "absolute top-2 right-12 flex gap-1", children: [
77068
+ /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
77069
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "icon", onClick: F, children: f ? /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(Copy, { className: "h-4 w-4" }) }) }),
77070
+ /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Copy video link" }) })
77071
+ ] }) }),
77072
+ /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
77073
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "icon", onClick: j, disabled: b, children: /* @__PURE__ */ jsx(Download, { className: "h-4 w-4" }) }) }),
77074
+ /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Download video" }) })
77075
+ ] }) })
77076
+ ] })
77077
+ ] }) })
77078
+ ) }) }),
77079
+ /* @__PURE__ */ jsxs("div", { className: "relative w-max h-max", ref: C, children: [
77080
+ Q ? (
77081
+ // Use the Skeleton component while checking for the image or fetching its URL.
77082
+ /* @__PURE__ */ jsx(Skeleton, { className: "rounded-md", style: { width: _, height: _ } })
77083
+ ) : M ? (
77084
+ // Render the image if the URL is available.
77085
+ /* @__PURE__ */ jsx(
77086
+ "img",
77088
77087
  {
77089
- variant: "secondary",
77090
- size: "icon",
77091
- className: "absolute top-2 right-2",
77092
- onClick: z,
77093
- children: /* @__PURE__ */ jsx(Play, { className: "h-4 w-4" })
77088
+ alt: n || `Product ${t}`,
77089
+ className: `rounded-md ${O ? "cursor-pointer" : ""}`,
77090
+ onClick: te,
77091
+ src: M,
77092
+ width: _,
77093
+ height: _
77094
77094
  }
77095
- ) }),
77095
+ )
77096
+ ) : (
77097
+ // If not loading and no URL, the image does not exist.
77098
+ /* @__PURE__ */ jsx(Placeholder, { size: _ })
77099
+ ),
77100
+ O == !0 && /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
77101
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "icon", className: "absolute top-2 right-2", onClick: te, children: /* @__PURE__ */ jsx(Play, { className: "h-4 w-4" }) }) }),
77096
77102
  /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Play video" }) })
77097
77103
  ] }) })
77098
77104
  ] })
@@ -93267,9 +93273,7 @@ const Treemap = React.forwardRef(
93267
93273
  const b = React.useRef(null), [S, _] = React.useState(null);
93268
93274
  React.useEffect(() => {
93269
93275
  if (!b.current) return;
93270
- const R = b.current;
93271
- let A;
93272
- const M = () => {
93276
+ const R = b.current, A = () => {
93273
93277
  const q = getComputedStyle(R).getPropertyValue("--primary").trim();
93274
93278
  if (q) {
93275
93279
  const z = parseHsl(q);
@@ -93285,14 +93289,14 @@ const Treemap = React.forwardRef(
93285
93289
  }
93286
93290
  return !1;
93287
93291
  };
93288
- if (M())
93292
+ if (A())
93289
93293
  return;
93290
- let I = 0;
93291
- const O = 20;
93292
- return A = setInterval(() => {
93293
- (M() || I >= O) && clearInterval(A), I++;
93294
- }, 100), () => {
93295
- A && clearInterval(A);
93294
+ let M = 0;
93295
+ const I = 20, O = setInterval(() => {
93296
+ (A() || M >= I) && clearInterval(O), M++;
93297
+ }, 100);
93298
+ return () => {
93299
+ O && clearInterval(O);
93296
93300
  };
93297
93301
  }, []);
93298
93302
  const C = React.useMemo(() => {