randmarcomps 1.486.0 → 1.488.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.
- package/dist/randmarcomps.js +429 -407
- package/dist/randmarcomps.umd.cjs +43 -43
- package/package.json +1 -1
package/dist/randmarcomps.js
CHANGED
|
@@ -353,20 +353,36 @@ const __iconNode$1h = [
|
|
|
353
353
|
* See the LICENSE file in the root directory of this source tree.
|
|
354
354
|
*/
|
|
355
355
|
const __iconNode$1g = [
|
|
356
|
+
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
357
|
+
[
|
|
358
|
+
"path",
|
|
359
|
+
{
|
|
360
|
+
d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",
|
|
361
|
+
key: "ruj8y"
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
], BookOpen = createLucideIcon("BookOpen", __iconNode$1g);
|
|
365
|
+
/**
|
|
366
|
+
* @license lucide-react v0.479.0 - ISC
|
|
367
|
+
*
|
|
368
|
+
* This source code is licensed under the ISC license.
|
|
369
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
370
|
+
*/
|
|
371
|
+
const __iconNode$1f = [
|
|
356
372
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
357
373
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
358
374
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
359
375
|
["path", { d: "M20 14h2", key: "4cs60a" }],
|
|
360
376
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
361
377
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
362
|
-
], Bot = createLucideIcon("Bot", __iconNode$
|
|
378
|
+
], Bot = createLucideIcon("Bot", __iconNode$1f);
|
|
363
379
|
/**
|
|
364
380
|
* @license lucide-react v0.479.0 - ISC
|
|
365
381
|
*
|
|
366
382
|
* This source code is licensed under the ISC license.
|
|
367
383
|
* See the LICENSE file in the root directory of this source tree.
|
|
368
384
|
*/
|
|
369
|
-
const __iconNode$
|
|
385
|
+
const __iconNode$1e = [
|
|
370
386
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
371
387
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
372
388
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
@@ -377,14 +393,14 @@ const __iconNode$1f = [
|
|
|
377
393
|
["path", { d: "M8 18h.01", key: "lrp35t" }],
|
|
378
394
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
379
395
|
["path", { d: "M16 18h.01", key: "kzsmim" }]
|
|
380
|
-
], CalendarDays = createLucideIcon("CalendarDays", __iconNode$
|
|
396
|
+
], CalendarDays = createLucideIcon("CalendarDays", __iconNode$1e);
|
|
381
397
|
/**
|
|
382
398
|
* @license lucide-react v0.479.0 - ISC
|
|
383
399
|
*
|
|
384
400
|
* This source code is licensed under the ISC license.
|
|
385
401
|
* See the LICENSE file in the root directory of this source tree.
|
|
386
402
|
*/
|
|
387
|
-
const __iconNode$
|
|
403
|
+
const __iconNode$1d = [
|
|
388
404
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
389
405
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
390
406
|
["path", { d: "M3 10h18", key: "8toen8" }],
|
|
@@ -393,133 +409,133 @@ const __iconNode$1e = [
|
|
|
393
409
|
["path", { d: "M13 18H7", key: "bb0bb7" }],
|
|
394
410
|
["path", { d: "M7 14h.01", key: "1qa3f1" }],
|
|
395
411
|
["path", { d: "M17 18h.01", key: "1bdyru" }]
|
|
396
|
-
], CalendarRange = createLucideIcon("CalendarRange", __iconNode$
|
|
412
|
+
], CalendarRange = createLucideIcon("CalendarRange", __iconNode$1d);
|
|
397
413
|
/**
|
|
398
414
|
* @license lucide-react v0.479.0 - ISC
|
|
399
415
|
*
|
|
400
416
|
* This source code is licensed under the ISC license.
|
|
401
417
|
* See the LICENSE file in the root directory of this source tree.
|
|
402
418
|
*/
|
|
403
|
-
const __iconNode$
|
|
419
|
+
const __iconNode$1c = [
|
|
404
420
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
405
421
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
406
422
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
407
423
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
408
|
-
], Calendar$1 = createLucideIcon("Calendar", __iconNode$
|
|
424
|
+
], Calendar$1 = createLucideIcon("Calendar", __iconNode$1c);
|
|
409
425
|
/**
|
|
410
426
|
* @license lucide-react v0.479.0 - ISC
|
|
411
427
|
*
|
|
412
428
|
* This source code is licensed under the ISC license.
|
|
413
429
|
* See the LICENSE file in the root directory of this source tree.
|
|
414
430
|
*/
|
|
415
|
-
const __iconNode$
|
|
431
|
+
const __iconNode$1b = [
|
|
416
432
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
417
433
|
["path", { d: "m19 9-5 5-4-4-3 3", key: "2osh9i" }]
|
|
418
|
-
], ChartLine = createLucideIcon("ChartLine", __iconNode$
|
|
434
|
+
], ChartLine = createLucideIcon("ChartLine", __iconNode$1b);
|
|
419
435
|
/**
|
|
420
436
|
* @license lucide-react v0.479.0 - ISC
|
|
421
437
|
*
|
|
422
438
|
* This source code is licensed under the ISC license.
|
|
423
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
424
440
|
*/
|
|
425
|
-
const __iconNode$
|
|
441
|
+
const __iconNode$1a = [
|
|
426
442
|
["line", { x1: "12", x2: "12", y1: "20", y2: "10", key: "1vz5eb" }],
|
|
427
443
|
["line", { x1: "18", x2: "18", y1: "20", y2: "4", key: "cun8e5" }],
|
|
428
444
|
["line", { x1: "6", x2: "6", y1: "20", y2: "16", key: "hq0ia6" }]
|
|
429
|
-
], ChartNoAxesColumnIncreasing = createLucideIcon("ChartNoAxesColumnIncreasing", __iconNode$
|
|
445
|
+
], ChartNoAxesColumnIncreasing = createLucideIcon("ChartNoAxesColumnIncreasing", __iconNode$1a);
|
|
430
446
|
/**
|
|
431
447
|
* @license lucide-react v0.479.0 - ISC
|
|
432
448
|
*
|
|
433
449
|
* This source code is licensed under the ISC license.
|
|
434
450
|
* See the LICENSE file in the root directory of this source tree.
|
|
435
451
|
*/
|
|
436
|
-
const __iconNode$
|
|
452
|
+
const __iconNode$19 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Check = createLucideIcon("Check", __iconNode$19);
|
|
437
453
|
/**
|
|
438
454
|
* @license lucide-react v0.479.0 - ISC
|
|
439
455
|
*
|
|
440
456
|
* This source code is licensed under the ISC license.
|
|
441
457
|
* See the LICENSE file in the root directory of this source tree.
|
|
442
458
|
*/
|
|
443
|
-
const __iconNode$
|
|
459
|
+
const __iconNode$18 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], ChevronDown = createLucideIcon("ChevronDown", __iconNode$18);
|
|
444
460
|
/**
|
|
445
461
|
* @license lucide-react v0.479.0 - ISC
|
|
446
462
|
*
|
|
447
463
|
* This source code is licensed under the ISC license.
|
|
448
464
|
* See the LICENSE file in the root directory of this source tree.
|
|
449
465
|
*/
|
|
450
|
-
const __iconNode$
|
|
466
|
+
const __iconNode$17 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("ChevronLeft", __iconNode$17);
|
|
451
467
|
/**
|
|
452
468
|
* @license lucide-react v0.479.0 - ISC
|
|
453
469
|
*
|
|
454
470
|
* This source code is licensed under the ISC license.
|
|
455
471
|
* See the LICENSE file in the root directory of this source tree.
|
|
456
472
|
*/
|
|
457
|
-
const __iconNode$
|
|
473
|
+
const __iconNode$16 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("ChevronRight", __iconNode$16);
|
|
458
474
|
/**
|
|
459
475
|
* @license lucide-react v0.479.0 - ISC
|
|
460
476
|
*
|
|
461
477
|
* This source code is licensed under the ISC license.
|
|
462
478
|
* See the LICENSE file in the root directory of this source tree.
|
|
463
479
|
*/
|
|
464
|
-
const __iconNode$
|
|
480
|
+
const __iconNode$15 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], ChevronUp = createLucideIcon("ChevronUp", __iconNode$15);
|
|
465
481
|
/**
|
|
466
482
|
* @license lucide-react v0.479.0 - ISC
|
|
467
483
|
*
|
|
468
484
|
* This source code is licensed under the ISC license.
|
|
469
485
|
* See the LICENSE file in the root directory of this source tree.
|
|
470
486
|
*/
|
|
471
|
-
const __iconNode$
|
|
487
|
+
const __iconNode$14 = [
|
|
472
488
|
["path", { d: "m11 17-5-5 5-5", key: "13zhaf" }],
|
|
473
489
|
["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
|
|
474
|
-
], ChevronsLeft = createLucideIcon("ChevronsLeft", __iconNode$
|
|
490
|
+
], ChevronsLeft = createLucideIcon("ChevronsLeft", __iconNode$14);
|
|
475
491
|
/**
|
|
476
492
|
* @license lucide-react v0.479.0 - ISC
|
|
477
493
|
*
|
|
478
494
|
* This source code is licensed under the ISC license.
|
|
479
495
|
* See the LICENSE file in the root directory of this source tree.
|
|
480
496
|
*/
|
|
481
|
-
const __iconNode$
|
|
497
|
+
const __iconNode$13 = [
|
|
482
498
|
["path", { d: "m6 17 5-5-5-5", key: "xnjwq" }],
|
|
483
499
|
["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
|
|
484
|
-
], ChevronsRight = createLucideIcon("ChevronsRight", __iconNode$
|
|
500
|
+
], ChevronsRight = createLucideIcon("ChevronsRight", __iconNode$13);
|
|
485
501
|
/**
|
|
486
502
|
* @license lucide-react v0.479.0 - ISC
|
|
487
503
|
*
|
|
488
504
|
* This source code is licensed under the ISC license.
|
|
489
505
|
* See the LICENSE file in the root directory of this source tree.
|
|
490
506
|
*/
|
|
491
|
-
const __iconNode$
|
|
507
|
+
const __iconNode$12 = [
|
|
492
508
|
["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
|
|
493
509
|
["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
|
|
494
|
-
], ChevronsUpDown = createLucideIcon("ChevronsUpDown", __iconNode$
|
|
510
|
+
], ChevronsUpDown = createLucideIcon("ChevronsUpDown", __iconNode$12);
|
|
495
511
|
/**
|
|
496
512
|
* @license lucide-react v0.479.0 - ISC
|
|
497
513
|
*
|
|
498
514
|
* This source code is licensed under the ISC license.
|
|
499
515
|
* See the LICENSE file in the root directory of this source tree.
|
|
500
516
|
*/
|
|
501
|
-
const __iconNode$
|
|
517
|
+
const __iconNode$11 = [
|
|
502
518
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
503
519
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
504
520
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
505
|
-
], CircleAlert = createLucideIcon("CircleAlert", __iconNode$
|
|
521
|
+
], CircleAlert = createLucideIcon("CircleAlert", __iconNode$11);
|
|
506
522
|
/**
|
|
507
523
|
* @license lucide-react v0.479.0 - ISC
|
|
508
524
|
*
|
|
509
525
|
* This source code is licensed under the ISC license.
|
|
510
526
|
* See the LICENSE file in the root directory of this source tree.
|
|
511
527
|
*/
|
|
512
|
-
const __iconNode$
|
|
528
|
+
const __iconNode$10 = [
|
|
513
529
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
514
530
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
515
|
-
], CircleCheck = createLucideIcon("CircleCheck", __iconNode$
|
|
531
|
+
], CircleCheck = createLucideIcon("CircleCheck", __iconNode$10);
|
|
516
532
|
/**
|
|
517
533
|
* @license lucide-react v0.479.0 - ISC
|
|
518
534
|
*
|
|
519
535
|
* This source code is licensed under the ISC license.
|
|
520
536
|
* See the LICENSE file in the root directory of this source tree.
|
|
521
537
|
*/
|
|
522
|
-
const __iconNode
|
|
538
|
+
const __iconNode$$ = [
|
|
523
539
|
["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
|
|
524
540
|
["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
|
|
525
541
|
["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
|
|
@@ -528,21 +544,21 @@ const __iconNode$10 = [
|
|
|
528
544
|
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
529
545
|
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
530
546
|
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
531
|
-
], CircleDashed = createLucideIcon("CircleDashed", __iconNode
|
|
547
|
+
], CircleDashed = createLucideIcon("CircleDashed", __iconNode$$);
|
|
532
548
|
/**
|
|
533
549
|
* @license lucide-react v0.479.0 - ISC
|
|
534
550
|
*
|
|
535
551
|
* This source code is licensed under the ISC license.
|
|
536
552
|
* See the LICENSE file in the root directory of this source tree.
|
|
537
553
|
*/
|
|
538
|
-
const __iconNode
|
|
554
|
+
const __iconNode$_ = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Circle = createLucideIcon("Circle", __iconNode$_);
|
|
539
555
|
/**
|
|
540
556
|
* @license lucide-react v0.479.0 - ISC
|
|
541
557
|
*
|
|
542
558
|
* This source code is licensed under the ISC license.
|
|
543
559
|
* See the LICENSE file in the root directory of this source tree.
|
|
544
560
|
*/
|
|
545
|
-
const __iconNode$
|
|
561
|
+
const __iconNode$Z = [
|
|
546
562
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
547
563
|
[
|
|
548
564
|
"path",
|
|
@@ -555,87 +571,87 @@ const __iconNode$_ = [
|
|
|
555
571
|
["path", { d: "M12 16h4", key: "n85exb" }],
|
|
556
572
|
["path", { d: "M8 11h.01", key: "1dfujw" }],
|
|
557
573
|
["path", { d: "M8 16h.01", key: "18s6g9" }]
|
|
558
|
-
], ClipboardList = createLucideIcon("ClipboardList", __iconNode$
|
|
574
|
+
], ClipboardList = createLucideIcon("ClipboardList", __iconNode$Z);
|
|
559
575
|
/**
|
|
560
576
|
* @license lucide-react v0.479.0 - ISC
|
|
561
577
|
*
|
|
562
578
|
* This source code is licensed under the ISC license.
|
|
563
579
|
* See the LICENSE file in the root directory of this source tree.
|
|
564
580
|
*/
|
|
565
|
-
const __iconNode$
|
|
581
|
+
const __iconNode$Y = [
|
|
566
582
|
["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
|
|
567
583
|
["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
|
|
568
584
|
["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
|
|
569
|
-
], CodeXml = createLucideIcon("CodeXml", __iconNode$
|
|
585
|
+
], CodeXml = createLucideIcon("CodeXml", __iconNode$Y);
|
|
570
586
|
/**
|
|
571
587
|
* @license lucide-react v0.479.0 - ISC
|
|
572
588
|
*
|
|
573
589
|
* This source code is licensed under the ISC license.
|
|
574
590
|
* See the LICENSE file in the root directory of this source tree.
|
|
575
591
|
*/
|
|
576
|
-
const __iconNode$
|
|
592
|
+
const __iconNode$X = [
|
|
577
593
|
["polyline", { points: "16 18 22 12 16 6", key: "z7tu5w" }],
|
|
578
594
|
["polyline", { points: "8 6 2 12 8 18", key: "1eg1df" }]
|
|
579
|
-
], Code$1 = createLucideIcon("Code", __iconNode$
|
|
595
|
+
], Code$1 = createLucideIcon("Code", __iconNode$X);
|
|
580
596
|
/**
|
|
581
597
|
* @license lucide-react v0.479.0 - ISC
|
|
582
598
|
*
|
|
583
599
|
* This source code is licensed under the ISC license.
|
|
584
600
|
* See the LICENSE file in the root directory of this source tree.
|
|
585
601
|
*/
|
|
586
|
-
const __iconNode$
|
|
602
|
+
const __iconNode$W = [
|
|
587
603
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
588
604
|
["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" }]
|
|
589
|
-
], Copy = createLucideIcon("Copy", __iconNode$
|
|
605
|
+
], Copy = createLucideIcon("Copy", __iconNode$W);
|
|
590
606
|
/**
|
|
591
607
|
* @license lucide-react v0.479.0 - ISC
|
|
592
608
|
*
|
|
593
609
|
* This source code is licensed under the ISC license.
|
|
594
610
|
* See the LICENSE file in the root directory of this source tree.
|
|
595
611
|
*/
|
|
596
|
-
const __iconNode$
|
|
612
|
+
const __iconNode$V = [
|
|
597
613
|
["rect", { width: "20", height: "14", x: "2", y: "5", rx: "2", key: "ynyp8z" }],
|
|
598
614
|
["line", { x1: "2", x2: "22", y1: "10", y2: "10", key: "1b3vmo" }]
|
|
599
|
-
], CreditCard = createLucideIcon("CreditCard", __iconNode$
|
|
615
|
+
], CreditCard = createLucideIcon("CreditCard", __iconNode$V);
|
|
600
616
|
/**
|
|
601
617
|
* @license lucide-react v0.479.0 - ISC
|
|
602
618
|
*
|
|
603
619
|
* This source code is licensed under the ISC license.
|
|
604
620
|
* See the LICENSE file in the root directory of this source tree.
|
|
605
621
|
*/
|
|
606
|
-
const __iconNode$
|
|
622
|
+
const __iconNode$U = [
|
|
607
623
|
["line", { x1: "12", x2: "12", y1: "2", y2: "22", key: "7eqyqh" }],
|
|
608
624
|
["path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6", key: "1b0p4s" }]
|
|
609
|
-
], DollarSign = createLucideIcon("DollarSign", __iconNode$
|
|
625
|
+
], DollarSign = createLucideIcon("DollarSign", __iconNode$U);
|
|
610
626
|
/**
|
|
611
627
|
* @license lucide-react v0.479.0 - ISC
|
|
612
628
|
*
|
|
613
629
|
* This source code is licensed under the ISC license.
|
|
614
630
|
* See the LICENSE file in the root directory of this source tree.
|
|
615
631
|
*/
|
|
616
|
-
const __iconNode$
|
|
632
|
+
const __iconNode$T = [
|
|
617
633
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
618
634
|
["polyline", { points: "7 10 12 15 17 10", key: "2ggqvy" }],
|
|
619
635
|
["line", { x1: "12", x2: "12", y1: "15", y2: "3", key: "1vk2je" }]
|
|
620
|
-
], Download = createLucideIcon("Download", __iconNode$
|
|
636
|
+
], Download = createLucideIcon("Download", __iconNode$T);
|
|
621
637
|
/**
|
|
622
638
|
* @license lucide-react v0.479.0 - ISC
|
|
623
639
|
*
|
|
624
640
|
* This source code is licensed under the ISC license.
|
|
625
641
|
* See the LICENSE file in the root directory of this source tree.
|
|
626
642
|
*/
|
|
627
|
-
const __iconNode$
|
|
643
|
+
const __iconNode$S = [
|
|
628
644
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
629
645
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
630
646
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
631
|
-
], ExternalLink = createLucideIcon("ExternalLink", __iconNode$
|
|
647
|
+
], ExternalLink = createLucideIcon("ExternalLink", __iconNode$S);
|
|
632
648
|
/**
|
|
633
649
|
* @license lucide-react v0.479.0 - ISC
|
|
634
650
|
*
|
|
635
651
|
* This source code is licensed under the ISC license.
|
|
636
652
|
* See the LICENSE file in the root directory of this source tree.
|
|
637
653
|
*/
|
|
638
|
-
const __iconNode$
|
|
654
|
+
const __iconNode$R = [
|
|
639
655
|
[
|
|
640
656
|
"path",
|
|
641
657
|
{
|
|
@@ -644,57 +660,57 @@ const __iconNode$S = [
|
|
|
644
660
|
}
|
|
645
661
|
],
|
|
646
662
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
647
|
-
], Eye = createLucideIcon("Eye", __iconNode$
|
|
663
|
+
], Eye = createLucideIcon("Eye", __iconNode$R);
|
|
648
664
|
/**
|
|
649
665
|
* @license lucide-react v0.479.0 - ISC
|
|
650
666
|
*
|
|
651
667
|
* This source code is licensed under the ISC license.
|
|
652
668
|
* See the LICENSE file in the root directory of this source tree.
|
|
653
669
|
*/
|
|
654
|
-
const __iconNode$
|
|
670
|
+
const __iconNode$Q = [
|
|
655
671
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
656
672
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
657
673
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
658
674
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
659
675
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
660
|
-
], FileText = createLucideIcon("FileText", __iconNode$
|
|
676
|
+
], FileText = createLucideIcon("FileText", __iconNode$Q);
|
|
661
677
|
/**
|
|
662
678
|
* @license lucide-react v0.479.0 - ISC
|
|
663
679
|
*
|
|
664
680
|
* This source code is licensed under the ISC license.
|
|
665
681
|
* See the LICENSE file in the root directory of this source tree.
|
|
666
682
|
*/
|
|
667
|
-
const __iconNode$
|
|
683
|
+
const __iconNode$P = [
|
|
668
684
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
669
685
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }]
|
|
670
|
-
], File$1 = createLucideIcon("File", __iconNode$
|
|
686
|
+
], File$1 = createLucideIcon("File", __iconNode$P);
|
|
671
687
|
/**
|
|
672
688
|
* @license lucide-react v0.479.0 - ISC
|
|
673
689
|
*
|
|
674
690
|
* This source code is licensed under the ISC license.
|
|
675
691
|
* See the LICENSE file in the root directory of this source tree.
|
|
676
692
|
*/
|
|
677
|
-
const __iconNode$
|
|
693
|
+
const __iconNode$O = [
|
|
678
694
|
["polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3", key: "1yg77f" }]
|
|
679
|
-
], Filter = createLucideIcon("Filter", __iconNode$
|
|
695
|
+
], Filter = createLucideIcon("Filter", __iconNode$O);
|
|
680
696
|
/**
|
|
681
697
|
* @license lucide-react v0.479.0 - ISC
|
|
682
698
|
*
|
|
683
699
|
* This source code is licensed under the ISC license.
|
|
684
700
|
* See the LICENSE file in the root directory of this source tree.
|
|
685
701
|
*/
|
|
686
|
-
const __iconNode$
|
|
702
|
+
const __iconNode$N = [
|
|
687
703
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
688
704
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
689
705
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
690
|
-
], Globe = createLucideIcon("Globe", __iconNode$
|
|
706
|
+
], Globe = createLucideIcon("Globe", __iconNode$N);
|
|
691
707
|
/**
|
|
692
708
|
* @license lucide-react v0.479.0 - ISC
|
|
693
709
|
*
|
|
694
710
|
* This source code is licensed under the ISC license.
|
|
695
711
|
* See the LICENSE file in the root directory of this source tree.
|
|
696
712
|
*/
|
|
697
|
-
const __iconNode$
|
|
713
|
+
const __iconNode$M = [
|
|
698
714
|
["path", { d: "m11 17 2 2a1 1 0 1 0 3-3", key: "efffak" }],
|
|
699
715
|
[
|
|
700
716
|
"path",
|
|
@@ -706,20 +722,7 @@ const __iconNode$N = [
|
|
|
706
722
|
["path", { d: "m21 3 1 11h-2", key: "1tisrp" }],
|
|
707
723
|
["path", { d: "M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3", key: "1uvwmv" }],
|
|
708
724
|
["path", { d: "M3 4h8", key: "1ep09j" }]
|
|
709
|
-
], Handshake = createLucideIcon("Handshake", __iconNode$
|
|
710
|
-
/**
|
|
711
|
-
* @license lucide-react v0.479.0 - ISC
|
|
712
|
-
*
|
|
713
|
-
* This source code is licensed under the ISC license.
|
|
714
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
715
|
-
*/
|
|
716
|
-
const __iconNode$M = [
|
|
717
|
-
["path", { d: "M12 2v8", key: "1q4o3n" }],
|
|
718
|
-
["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
|
|
719
|
-
["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", key: "w68u3i" }],
|
|
720
|
-
["path", { d: "M6 18h.01", key: "uhywen" }],
|
|
721
|
-
["path", { d: "M10 18h.01", key: "h775k" }]
|
|
722
|
-
], HardDriveDownload = createLucideIcon("HardDriveDownload", __iconNode$M);
|
|
725
|
+
], Handshake = createLucideIcon("Handshake", __iconNode$M);
|
|
723
726
|
/**
|
|
724
727
|
* @license lucide-react v0.479.0 - ISC
|
|
725
728
|
*
|
|
@@ -5721,15 +5724,18 @@ function RemoveScrollSideCar(e) {
|
|
|
5721
5724
|
var V = getTouchXY(M), q = n.current, Q = "deltaX" in M ? M.deltaX : q[0] - V[0], te = "deltaY" in M ? M.deltaY : q[1] - V[1], j, F = M.target, ne = Math.abs(Q) > Math.abs(te) ? "h" : "v";
|
|
5722
5725
|
if ("touches" in M && ne === "h" && F.type === "range")
|
|
5723
5726
|
return !1;
|
|
5724
|
-
var ae =
|
|
5725
|
-
if (
|
|
5727
|
+
var ae = window.getSelection(), se = ae && ae.anchorNode, Ve = se ? se === F || se.contains(F) : !1;
|
|
5728
|
+
if (Ve)
|
|
5729
|
+
return !1;
|
|
5730
|
+
var Ne = locationCouldBeScrolled(ne, F);
|
|
5731
|
+
if (!Ne)
|
|
5726
5732
|
return !0;
|
|
5727
|
-
if (
|
|
5733
|
+
if (Ne ? j = ne : (j = ne === "v" ? "h" : "v", Ne = locationCouldBeScrolled(ne, F)), !Ne)
|
|
5728
5734
|
return !1;
|
|
5729
5735
|
if (!o.current && "changedTouches" in M && (Q || te) && (o.current = j), !j)
|
|
5730
5736
|
return !0;
|
|
5731
|
-
var
|
|
5732
|
-
return handleScroll(
|
|
5737
|
+
var oe = o.current || j;
|
|
5738
|
+
return handleScroll(oe, I, M, oe === "h" ? Q : te);
|
|
5733
5739
|
}, []), b = React.useCallback(function(M) {
|
|
5734
5740
|
var I = M;
|
|
5735
5741
|
if (!(!lockStack.length || lockStack[lockStack.length - 1] !== d)) {
|
|
@@ -60512,7 +60518,7 @@ function createDOMPurify() {
|
|
|
60512
60518
|
const Er = addToSet({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), gr = "http://www.w3.org/1998/Math/MathML", Sr = "http://www.w3.org/2000/svg", mr = "http://www.w3.org/1999/xhtml";
|
|
60513
60519
|
let _r = mr, Ir = !1, Mr = null;
|
|
60514
60520
|
const Vr = addToSet({}, [gr, Sr, mr], stringToString);
|
|
60515
|
-
let Jt = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]),
|
|
60521
|
+
let Jt = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = addToSet({}, ["annotation-xml"]);
|
|
60516
60522
|
const Ut = addToSet({}, ["title", "style", "font", "a", "script"]);
|
|
60517
60523
|
let tr = null;
|
|
60518
60524
|
const Yt = ["application/xhtml+xml", "text/html"], nr = "text/html";
|
|
@@ -60523,7 +60529,7 @@ function createDOMPurify() {
|
|
|
60523
60529
|
let it = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
60524
60530
|
if (!($r && $r === it)) {
|
|
60525
60531
|
if ((!it || typeof it != "object") && (it = {}), it = clone(it), tr = // eslint-disable-next-line unicorn/prefer-includes
|
|
60526
|
-
Yt.indexOf(it.PARSER_MEDIA_TYPE) === -1 ? nr : it.PARSER_MEDIA_TYPE, ur = tr === "application/xhtml+xml" ? stringToString : stringToLowerCase, We = objectHasOwnProperty(it, "ALLOWED_TAGS") ? addToSet({}, it.ALLOWED_TAGS, ur) : ze, Xe = objectHasOwnProperty(it, "ALLOWED_ATTR") ? addToSet({}, it.ALLOWED_ATTR, ur) : rt, Mr = objectHasOwnProperty(it, "ALLOWED_NAMESPACES") ? addToSet({}, it.ALLOWED_NAMESPACES, stringToString) : Vr, qt = objectHasOwnProperty(it, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Er), it.ADD_URI_SAFE_ATTR, ur) : Er, sr = objectHasOwnProperty(it, "ADD_DATA_URI_TAGS") ? addToSet(clone(cr), it.ADD_DATA_URI_TAGS, ur) : cr, Ht = objectHasOwnProperty(it, "FORBID_CONTENTS") ? addToSet({}, it.FORBID_CONTENTS, ur) : Kt, st = objectHasOwnProperty(it, "FORBID_TAGS") ? addToSet({}, it.FORBID_TAGS, ur) : clone({}), et = objectHasOwnProperty(it, "FORBID_ATTR") ? addToSet({}, it.FORBID_ATTR, ur) : clone({}), yt = objectHasOwnProperty(it, "USE_PROFILES") ? it.USE_PROFILES : !1, tt = it.ALLOW_ARIA_ATTR !== !1, ot = it.ALLOW_DATA_ATTR !== !1, lt = it.ALLOW_UNKNOWN_PROTOCOLS || !1, Ge = it.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $t = it.SAFE_FOR_TEMPLATES || !1, nt = it.SAFE_FOR_XML !== !1, Ct = it.WHOLE_DOCUMENT || !1, Mt = it.RETURN_DOM || !1, Rt = it.RETURN_DOM_FRAGMENT || !1, Ke = it.RETURN_TRUSTED_TYPE || !1, It = it.FORCE_BODY || !1, Ye = it.SANITIZE_DOM !== !1, Ze = it.SANITIZE_NAMED_PROPS || !1, mt = it.KEEP_CONTENT !== !1, ft = it.IN_PLACE || !1, He = it.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, _r = it.NAMESPACE || mr, Jt = it.MATHML_TEXT_INTEGRATION_POINTS || Jt,
|
|
60532
|
+
Yt.indexOf(it.PARSER_MEDIA_TYPE) === -1 ? nr : it.PARSER_MEDIA_TYPE, ur = tr === "application/xhtml+xml" ? stringToString : stringToLowerCase, We = objectHasOwnProperty(it, "ALLOWED_TAGS") ? addToSet({}, it.ALLOWED_TAGS, ur) : ze, Xe = objectHasOwnProperty(it, "ALLOWED_ATTR") ? addToSet({}, it.ALLOWED_ATTR, ur) : rt, Mr = objectHasOwnProperty(it, "ALLOWED_NAMESPACES") ? addToSet({}, it.ALLOWED_NAMESPACES, stringToString) : Vr, qt = objectHasOwnProperty(it, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Er), it.ADD_URI_SAFE_ATTR, ur) : Er, sr = objectHasOwnProperty(it, "ADD_DATA_URI_TAGS") ? addToSet(clone(cr), it.ADD_DATA_URI_TAGS, ur) : cr, Ht = objectHasOwnProperty(it, "FORBID_CONTENTS") ? addToSet({}, it.FORBID_CONTENTS, ur) : Kt, st = objectHasOwnProperty(it, "FORBID_TAGS") ? addToSet({}, it.FORBID_TAGS, ur) : clone({}), et = objectHasOwnProperty(it, "FORBID_ATTR") ? addToSet({}, it.FORBID_ATTR, ur) : clone({}), yt = objectHasOwnProperty(it, "USE_PROFILES") ? it.USE_PROFILES : !1, tt = it.ALLOW_ARIA_ATTR !== !1, ot = it.ALLOW_DATA_ATTR !== !1, lt = it.ALLOW_UNKNOWN_PROTOCOLS || !1, Ge = it.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $t = it.SAFE_FOR_TEMPLATES || !1, nt = it.SAFE_FOR_XML !== !1, Ct = it.WHOLE_DOCUMENT || !1, Mt = it.RETURN_DOM || !1, Rt = it.RETURN_DOM_FRAGMENT || !1, Ke = it.RETURN_TRUSTED_TYPE || !1, It = it.FORCE_BODY || !1, Ye = it.SANITIZE_DOM !== !1, Ze = it.SANITIZE_NAMED_PROPS || !1, mt = it.KEEP_CONTENT !== !1, ft = it.IN_PLACE || !1, He = it.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, _r = it.NAMESPACE || mr, Jt = it.MATHML_TEXT_INTEGRATION_POINTS || Jt, Qt = it.HTML_INTEGRATION_POINTS || Qt, Je = it.CUSTOM_ELEMENT_HANDLING || {}, it.CUSTOM_ELEMENT_HANDLING && Pr(it.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Je.tagNameCheck = it.CUSTOM_ELEMENT_HANDLING.tagNameCheck), it.CUSTOM_ELEMENT_HANDLING && Pr(it.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Je.attributeNameCheck = it.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), it.CUSTOM_ELEMENT_HANDLING && typeof it.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Je.allowCustomizedBuiltInElements = it.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), $t && (ot = !1), Rt && (Mt = !0), yt && (We = addToSet({}, text$1), Xe = [], yt.html === !0 && (addToSet(We, html$1), addToSet(Xe, html)), yt.svg === !0 && (addToSet(We, svg$1), addToSet(Xe, svg), addToSet(Xe, xml)), yt.svgFilters === !0 && (addToSet(We, svgFilters), addToSet(Xe, svg), addToSet(Xe, xml)), yt.mathMl === !0 && (addToSet(We, mathMl$1), addToSet(Xe, mathMl), addToSet(Xe, xml))), it.ADD_TAGS && (typeof it.ADD_TAGS == "function" ? at.tagCheck = it.ADD_TAGS : (We === ze && (We = clone(We)), addToSet(We, it.ADD_TAGS, ur))), it.ADD_ATTR && (typeof it.ADD_ATTR == "function" ? at.attributeCheck = it.ADD_ATTR : (Xe === rt && (Xe = clone(Xe)), addToSet(Xe, it.ADD_ATTR, ur))), it.ADD_URI_SAFE_ATTR && addToSet(qt, it.ADD_URI_SAFE_ATTR, ur), it.FORBID_CONTENTS && (Ht === Kt && (Ht = clone(Ht)), addToSet(Ht, it.FORBID_CONTENTS, ur)), mt && (We["#text"] = !0), Ct && addToSet(We, ["html", "head", "body"]), We.table && (addToSet(We, ["tbody"]), delete st.tbody), it.TRUSTED_TYPES_POLICY) {
|
|
60527
60533
|
if (typeof it.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
60528
60534
|
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
60529
60535
|
if (typeof it.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -60540,7 +60546,7 @@ function createDOMPurify() {
|
|
|
60540
60546
|
tagName: "template"
|
|
60541
60547
|
});
|
|
60542
60548
|
const Wt = stringToLowerCase(it.tagName), lr = stringToLowerCase(Dt.tagName);
|
|
60543
|
-
return Mr[it.namespaceURI] ? it.namespaceURI === Sr ? Dt.namespaceURI === mr ? Wt === "svg" : Dt.namespaceURI === gr ? Wt === "svg" && (lr === "annotation-xml" || Jt[lr]) : !!jr[Wt] : it.namespaceURI === gr ? Dt.namespaceURI === mr ? Wt === "math" : Dt.namespaceURI === Sr ? Wt === "math" &&
|
|
60549
|
+
return Mr[it.namespaceURI] ? it.namespaceURI === Sr ? Dt.namespaceURI === mr ? Wt === "svg" : Dt.namespaceURI === gr ? Wt === "svg" && (lr === "annotation-xml" || Jt[lr]) : !!jr[Wt] : it.namespaceURI === gr ? Dt.namespaceURI === mr ? Wt === "math" : Dt.namespaceURI === Sr ? Wt === "math" && Qt[lr] : !!qr[Wt] : it.namespaceURI === mr ? Dt.namespaceURI === Sr && !Qt[lr] || Dt.namespaceURI === gr && !Jt[lr] ? !1 : !qr[Wt] && (Ut[Wt] || !jr[Wt]) : !!(tr === "application/xhtml+xml" && Mr[it.namespaceURI]) : !1;
|
|
60544
60550
|
}, Cr = function(it) {
|
|
60545
60551
|
arrayPush(t.removed, {
|
|
60546
60552
|
element: it
|
|
@@ -67136,7 +67142,7 @@ function ManufacturerCard({
|
|
|
67136
67142
|
/* @__PURE__ */ jsx("p", { children: e.SalesData.SalesLast30Days ? formatMoney(e.SalesData.SalesLast30Days) : "—" })
|
|
67137
67143
|
] })
|
|
67138
67144
|
] }) }),
|
|
67139
|
-
(o || l || e.PublicResourcesLink || M && f && e.ManufacturerId) && /* @__PURE__ */ jsxs(CardFooter, { className: "flex pt-2 gap-2 justify-between mt-auto", children: [
|
|
67145
|
+
(o || l || e.PublicResourcesLink || M && f && e.ManufacturerId || t) && /* @__PURE__ */ jsxs(CardFooter, { className: "flex pt-2 gap-2 justify-between mt-auto", children: [
|
|
67140
67146
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
67141
67147
|
o && o,
|
|
67142
67148
|
M && f && e.ManufacturerId && /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
|
|
@@ -67144,11 +67150,14 @@ function ManufacturerCard({
|
|
|
67144
67150
|
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Email Product List" }) })
|
|
67145
67151
|
] }) }),
|
|
67146
67152
|
e.PublicResourcesLink && /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
|
|
67147
|
-
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(Link, { to: e.PublicResourcesLink, target: "_blank", children: /* @__PURE__ */ jsx(Button$1, { size: "icon", children: /* @__PURE__ */ jsx(
|
|
67153
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(Link, { to: e.PublicResourcesLink, target: "_blank", children: /* @__PURE__ */ jsx(Button$1, { size: "icon", children: /* @__PURE__ */ jsx(BookOpen, { className: "h-4 w-4" }) }) }) }),
|
|
67148
67154
|
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Public Resources Link" }) })
|
|
67149
67155
|
] }) })
|
|
67150
67156
|
] }),
|
|
67151
|
-
l && /* @__PURE__ */
|
|
67157
|
+
(l || t) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
67158
|
+
t && /* @__PURE__ */ jsx(Link, { to: t, target: n ? "_blank" : "_self", children: /* @__PURE__ */ jsx(Button$1, { variant: "outline", className: "whitespace-nowrap", children: "View manufacturer" }) }),
|
|
67159
|
+
l && /* @__PURE__ */ jsx("div", { children: l })
|
|
67160
|
+
] })
|
|
67152
67161
|
] }),
|
|
67153
67162
|
/* @__PURE__ */ jsx(Dialog, { open: _, onOpenChange: C, children: /* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
67154
67163
|
/* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
@@ -71136,8 +71145,8 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71136
71145
|
default:
|
|
71137
71146
|
if (this.isAsyncFunction())
|
|
71138
71147
|
return z && this.unexpected(), this.next(), this.parseFunctionStatement(Qe, !0, !z);
|
|
71139
|
-
var rr = this.value,
|
|
71140
|
-
return Ue === F.name &&
|
|
71148
|
+
var rr = this.value, Zt = this.parseExpression();
|
|
71149
|
+
return Ue === F.name && Zt.type === "Identifier" && this.eat(F.colon) ? this.parseLabeledStatement(Qe, rr, Zt, z) : this.parseExpressionStatement(Qe, Zt);
|
|
71141
71150
|
}
|
|
71142
71151
|
}, qt.parseBreakContinueStatement = function(z, ge) {
|
|
71143
71152
|
var je = ge === "break";
|
|
@@ -71162,8 +71171,8 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71162
71171
|
var Ue = this.startNode(), Qe = je ? "let" : this.value;
|
|
71163
71172
|
return this.next(), this.parseVar(Ue, !0, Qe), this.finishNode(Ue, "VariableDeclaration"), (this.type === F._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && Ue.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === F._in ? ge > -1 && this.unexpected(ge) : z.await = ge > -1), this.parseForIn(z, Ue)) : (ge > -1 && this.unexpected(ge), this.parseFor(z, Ue));
|
|
71164
71173
|
}
|
|
71165
|
-
var ut = this.isContextual("let"), pt = !1, Vt = this.containsEsc, Ft = new cr(), rr = this.start,
|
|
71166
|
-
return this.type === F._in || (pt = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (ge > -1 ? (this.type === F._in && this.unexpected(ge), z.await = !0) : pt && this.options.ecmaVersion >= 8 && (
|
|
71174
|
+
var ut = this.isContextual("let"), pt = !1, Vt = this.containsEsc, Ft = new cr(), rr = this.start, Zt = ge > -1 ? this.parseExprSubscripts(Ft, "await") : this.parseExpression(!0, Ft);
|
|
71175
|
+
return this.type === F._in || (pt = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (ge > -1 ? (this.type === F._in && this.unexpected(ge), z.await = !0) : pt && this.options.ecmaVersion >= 8 && (Zt.start === rr && !Vt && Zt.type === "Identifier" && Zt.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (z.await = !1)), ut && pt && this.raise(Zt.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(Zt, !1, Ft), this.checkLValPattern(Zt), this.parseForIn(z, Zt)) : (this.checkExpressionErrors(Ft, !0), ge > -1 && this.unexpected(ge), this.parseFor(z, Zt));
|
|
71167
71176
|
}, qt.parseFunctionStatement = function(z, ge, je) {
|
|
71168
71177
|
return this.next(), this.parseFunction(z, mr | (je ? 0 : _r), !1, ge);
|
|
71169
71178
|
}, qt.parseIfStatement = function(z) {
|
|
@@ -71267,8 +71276,8 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71267
71276
|
(this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? pt = Ft : Ue = Ft);
|
|
71268
71277
|
}
|
|
71269
71278
|
if (Ue ? (je.computed = !1, je.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), je.key.name = Ue, this.finishNode(je.key, "Identifier")) : this.parseClassElementName(je), ge < 13 || this.type === F.parenL || pt !== "method" || Qe || ut) {
|
|
71270
|
-
var rr = !je.static && Vr(je, "constructor"),
|
|
71271
|
-
rr && pt !== "method" && this.raise(je.key.start, "Constructor can't have get/set modifier"), je.kind = rr ? "constructor" : pt, this.parseClassMethod(je, Qe, ut,
|
|
71279
|
+
var rr = !je.static && Vr(je, "constructor"), Zt = rr && z;
|
|
71280
|
+
rr && pt !== "method" && this.raise(je.key.start, "Constructor can't have get/set modifier"), je.kind = rr ? "constructor" : pt, this.parseClassMethod(je, Qe, ut, Zt);
|
|
71272
71281
|
} else
|
|
71273
71282
|
this.parseClassField(je);
|
|
71274
71283
|
return je;
|
|
@@ -71576,21 +71585,21 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71576
71585
|
this.checkLValPattern(z, ge, je);
|
|
71577
71586
|
}
|
|
71578
71587
|
};
|
|
71579
|
-
var
|
|
71588
|
+
var Qt = function(ge, je, Ue, Qe, ut) {
|
|
71580
71589
|
this.token = ge, this.isExpr = !!je, this.preserveSpace = !!Ue, this.override = Qe, this.generator = !!ut;
|
|
71581
71590
|
}, Ut = {
|
|
71582
|
-
b_stat: new
|
|
71583
|
-
b_expr: new
|
|
71584
|
-
b_tmpl: new
|
|
71585
|
-
p_stat: new
|
|
71586
|
-
p_expr: new
|
|
71587
|
-
q_tmpl: new
|
|
71591
|
+
b_stat: new Qt("{", !1),
|
|
71592
|
+
b_expr: new Qt("{", !0),
|
|
71593
|
+
b_tmpl: new Qt("${", !1),
|
|
71594
|
+
p_stat: new Qt("(", !1),
|
|
71595
|
+
p_expr: new Qt("(", !0),
|
|
71596
|
+
q_tmpl: new Qt("`", !0, !0, function(z) {
|
|
71588
71597
|
return z.tryReadTemplateToken();
|
|
71589
71598
|
}),
|
|
71590
|
-
f_stat: new
|
|
71591
|
-
f_expr: new
|
|
71592
|
-
f_expr_gen: new
|
|
71593
|
-
f_gen: new
|
|
71599
|
+
f_stat: new Qt("function", !1),
|
|
71600
|
+
f_expr: new Qt("function", !0),
|
|
71601
|
+
f_expr_gen: new Qt("function", !0, !1, null, !0),
|
|
71602
|
+
f_gen: new Qt("function", !1, !1, null, !0)
|
|
71594
71603
|
}, tr = yt.prototype;
|
|
71595
71604
|
tr.initialContext = function() {
|
|
71596
71605
|
return [Ut.b_stat];
|
|
@@ -71695,8 +71704,8 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71695
71704
|
(this.type === F.parenL || this.type === F.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = z === "await");
|
|
71696
71705
|
var rr = this.parseMaybeConditional(z, ge);
|
|
71697
71706
|
if (je && (rr = je.call(this, rr, Vt, Ft)), this.type.isAssign) {
|
|
71698
|
-
var
|
|
71699
|
-
return
|
|
71707
|
+
var Zt = this.startNodeAt(Vt, Ft);
|
|
71708
|
+
return Zt.operator = this.value, this.type === F.eq && (rr = this.toAssignable(rr, !1, ge)), Ue || (ge.parenthesizedAssign = ge.trailingComma = ge.doubleProto = -1), ge.shorthandAssign >= rr.start && (ge.shorthandAssign = -1), this.type === F.eq ? this.checkLValPattern(rr) : this.checkLValSimple(rr), Zt.left = rr, this.next(), Zt.right = this.parseMaybeAssign(z), pt > -1 && (ge.doubleProto = pt), this.finishNode(Zt, "AssignmentExpression");
|
|
71700
71709
|
} else
|
|
71701
71710
|
Ue && this.checkExpressionErrors(ge, !0);
|
|
71702
71711
|
return Qe > -1 && (ge.parenthesizedAssign = Qe), ut > -1 && (ge.trailingComma = ut), rr;
|
|
@@ -71719,7 +71728,7 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71719
71728
|
Vt && (ut = F.logicalAND.binop);
|
|
71720
71729
|
var Ft = this.value;
|
|
71721
71730
|
this.next();
|
|
71722
|
-
var rr = this.start,
|
|
71731
|
+
var rr = this.start, Zt = this.startLoc, vr = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, Qe), rr, Zt, ut, Qe), Hr = this.buildBinary(ge, je, z, vr, Ft, pt || Vt);
|
|
71723
71732
|
return (pt && this.type === F.coalesce || Vt && (this.type === F.logicalOR || this.type === F.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(Hr, ge, je, Ue, Qe);
|
|
71724
71733
|
}
|
|
71725
71734
|
return z;
|
|
@@ -71785,8 +71794,8 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71785
71794
|
Ue && Ft && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
|
|
71786
71795
|
var rr = this.eat(F.bracketL);
|
|
71787
71796
|
if (rr || Ft && this.type !== F.parenL && this.type !== F.backQuote || this.eat(F.dot)) {
|
|
71788
|
-
var
|
|
71789
|
-
|
|
71797
|
+
var Zt = this.startNodeAt(ge, je);
|
|
71798
|
+
Zt.object = z, rr ? (Zt.property = this.parseExpression(), this.expect(F.bracketR)) : this.type === F.privateId && z.type !== "Super" ? Zt.property = this.parsePrivateIdent() : Zt.property = this.parseIdent(this.options.allowReserved !== "never"), Zt.computed = !!rr, Vt && (Zt.optional = Ft), z = this.finishNode(Zt, "MemberExpression");
|
|
71790
71799
|
} else if (!Ue && this.eat(F.parenL)) {
|
|
71791
71800
|
var vr = new cr(), Hr = this.yieldPos, tn = this.awaitPos, Wr = this.awaitIdentPos;
|
|
71792
71801
|
this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
|
|
@@ -71832,8 +71841,8 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71832
71841
|
case F._false:
|
|
71833
71842
|
return Ue = this.startNode(), Ue.value = this.type === F._null ? null : this.type === F._true, Ue.raw = this.type.keyword, this.next(), this.finishNode(Ue, "Literal");
|
|
71834
71843
|
case F.parenL:
|
|
71835
|
-
var
|
|
71836
|
-
return z && (z.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(vr) && (z.parenthesizedAssign =
|
|
71844
|
+
var Zt = this.start, vr = this.parseParenAndDistinguishExpression(Qe, ge);
|
|
71845
|
+
return z && (z.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(vr) && (z.parenthesizedAssign = Zt), z.parenthesizedBind < 0 && (z.parenthesizedBind = Zt)), vr;
|
|
71837
71846
|
case F.bracketL:
|
|
71838
71847
|
return Ue = this.startNode(), this.next(), Ue.elements = this.parseExprList(F.bracketR, !0, !0, z), this.finishNode(Ue, "ArrayExpression");
|
|
71839
71848
|
case F.braceL:
|
|
@@ -71885,10 +71894,10 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71885
71894
|
var je = this.start, Ue = this.startLoc, Qe, ut = this.options.ecmaVersion >= 8;
|
|
71886
71895
|
if (this.options.ecmaVersion >= 6) {
|
|
71887
71896
|
this.next();
|
|
71888
|
-
var pt = this.start, Vt = this.startLoc, Ft = [], rr = !0,
|
|
71897
|
+
var pt = this.start, Vt = this.startLoc, Ft = [], rr = !0, Zt = !1, vr = new cr(), Hr = this.yieldPos, tn = this.awaitPos, Wr;
|
|
71889
71898
|
for (this.yieldPos = 0, this.awaitPos = 0; this.type !== F.parenR; )
|
|
71890
71899
|
if (rr ? rr = !1 : this.expect(F.comma), ut && this.afterTrailingComma(F.parenR, !0)) {
|
|
71891
|
-
|
|
71900
|
+
Zt = !0;
|
|
71892
71901
|
break;
|
|
71893
71902
|
} else if (this.type === F.ellipsis) {
|
|
71894
71903
|
Wr = this.start, Ft.push(this.parseParenItem(this.parseRestBinding())), this.type === F.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
|
|
@@ -71898,7 +71907,7 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
71898
71907
|
var pn = this.lastTokEnd, Kr = this.lastTokEndLoc;
|
|
71899
71908
|
if (this.expect(F.parenR), z && this.shouldParseArrow(Ft) && this.eat(F.arrow))
|
|
71900
71909
|
return this.checkPatternErrors(vr, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = Hr, this.awaitPos = tn, this.parseParenArrowList(je, Ue, Ft, ge);
|
|
71901
|
-
(!Ft.length ||
|
|
71910
|
+
(!Ft.length || Zt) && this.unexpected(this.lastTokStart), Wr && this.unexpected(Wr), this.checkExpressionErrors(vr, !0), this.yieldPos = Hr || this.yieldPos, this.awaitPos = tn || this.awaitPos, Ft.length > 1 ? (Qe = this.startNodeAt(pt, Vt), Qe.expressions = Ft, this.finishNodeAt(Qe, "SequenceExpression", pn, Kr)) : Qe = Ft[0];
|
|
71902
71911
|
} else
|
|
71903
71912
|
Qe = this.parseParenExpression();
|
|
71904
71913
|
if (this.options.preserveParens) {
|
|
@@ -72953,14 +72962,14 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
72953
72962
|
return this.finishToken(F.regexp, { pattern: Qe, flags: pt, value: Ft });
|
|
72954
72963
|
}, ir.readInt = function(z, ge, je) {
|
|
72955
72964
|
for (var Ue = this.options.ecmaVersion >= 12 && ge === void 0, Qe = je && this.input.charCodeAt(this.pos) === 48, ut = this.pos, pt = 0, Vt = 0, Ft = 0, rr = ge ?? 1 / 0; Ft < rr; ++Ft, ++this.pos) {
|
|
72956
|
-
var
|
|
72957
|
-
if (Ue &&
|
|
72958
|
-
Qe && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), Vt === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), Ft === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), Vt =
|
|
72965
|
+
var Zt = this.input.charCodeAt(this.pos), vr = void 0;
|
|
72966
|
+
if (Ue && Zt === 95) {
|
|
72967
|
+
Qe && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), Vt === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), Ft === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), Vt = Zt;
|
|
72959
72968
|
continue;
|
|
72960
72969
|
}
|
|
72961
|
-
if (
|
|
72970
|
+
if (Zt >= 97 ? vr = Zt - 97 + 10 : Zt >= 65 ? vr = Zt - 65 + 10 : Zt >= 48 && Zt <= 57 ? vr = Zt - 48 : vr = 1 / 0, vr >= z)
|
|
72962
72971
|
break;
|
|
72963
|
-
Vt =
|
|
72972
|
+
Vt = Zt, pt = pt * z + vr;
|
|
72964
72973
|
}
|
|
72965
72974
|
return Ue && Vt === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === ut || ge != null && this.pos - ut !== ge ? null : pt;
|
|
72966
72975
|
};
|
|
@@ -73142,7 +73151,7 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
73142
73151
|
TokenType: I,
|
|
73143
73152
|
tokTypes: F,
|
|
73144
73153
|
keywordTypes: te,
|
|
73145
|
-
TokContext:
|
|
73154
|
+
TokContext: Qt,
|
|
73146
73155
|
tokContexts: Ut,
|
|
73147
73156
|
isIdentifierChar: M,
|
|
73148
73157
|
isIdentifierStart: A,
|
|
@@ -73161,7 +73170,7 @@ Defaulting to 2020, but this will stop working in the future.`)), ge.ecmaVersion
|
|
|
73161
73170
|
function Kn(z, ge) {
|
|
73162
73171
|
return yt.tokenizer(z, ge);
|
|
73163
73172
|
}
|
|
73164
|
-
n.Node = jr, n.Parser = yt, n.Position = ze, n.SourceLocation = Xe, n.TokContext =
|
|
73173
|
+
n.Node = jr, n.Parser = yt, n.Position = ze, n.SourceLocation = Xe, n.TokContext = Qt, n.Token = hn, n.TokenType = I, n.defaultOptions = Je, n.getLineInfo = rt, n.isIdentifierChar = M, n.isIdentifierStart = A, n.isNewLine = se, n.keywordTypes = te, n.lineBreak = ne, n.lineBreakG = ae, n.nonASCIIwhitespace = Ne, n.parse = zn, n.parseExpressionAt = Wn, n.tokContexts = Ut, n.tokTypes = F, n.tokenizer = Kn, n.version = Mn;
|
|
73165
73174
|
});
|
|
73166
73175
|
}), require_acorn_jsx = __commonJS((e, t) => {
|
|
73167
73176
|
var n = require_xhtml(), o = /^[\da-fA-F]+$/, l = /^\d+$/, d = /* @__PURE__ */ new WeakMap();
|
|
@@ -76534,7 +76543,7 @@ function ProductCard({
|
|
|
76534
76543
|
return !(Ze.EndDate && Ze.EndDate.split("T")[0] < ct || Ze.StartDate && Ze.StartDate.split("T")[0] > ct);
|
|
76535
76544
|
}, qe = (Ze) => Ze >= 90 ? { label: "Top 10% Bestseller", color: "text-purple-950", bgColor: "bg-purple-200" } : Ze >= 75 ? { label: "Bestseller", color: "text-blue-700", bgColor: "bg-blue-50" } : Ze >= 33 ? { label: "Popular", color: "text-green-700", bgColor: "bg-green-50" } : { label: "Rising", color: "text-gray-700", bgColor: "bg-white" }, Be = ne !== "complete" && ne !== "error", Fe = ne === "summary" ? 40 : ne === "detailed" ? 80 : 10, He = (j == null ? void 0 : j.SalesStatistics) ?? [], We = Be ? [] : He, ze = (j == null ? void 0 : j.RandmarTitle) ?? (t == null ? void 0 : t.RandmarTitle) ?? (t == null ? void 0 : t.RandmarSKU) ?? "this product", Xe = (j == null ? void 0 : j.RandmarSKU) ?? (t == null ? void 0 : t.RandmarSKU);
|
|
76536
76545
|
if (!t)
|
|
76537
|
-
return /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6", children: [
|
|
76546
|
+
return /* @__PURE__ */ jsx(Card, { className: "flex h-full w-full flex-col", children: /* @__PURE__ */ jsxs(CardContent, { className: "flex h-full flex-col p-6", children: [
|
|
76538
76547
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-start mb-3", children: [
|
|
76539
76548
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-3/4" }),
|
|
76540
76549
|
/* @__PURE__ */ jsx("div", { className: "h-10 w-24 flex items-center justify-end ml-4", children: /* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-24 rounded-md" }) })
|
|
@@ -76645,217 +76654,195 @@ function ProductCard({
|
|
|
76645
76654
|
}));
|
|
76646
76655
|
};
|
|
76647
76656
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
76648
|
-
/* @__PURE__ */ jsx(Card, { className: "w-full hover:shadow-lg transition-shadow @container", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6", children: [
|
|
76649
|
-
/* @__PURE__ */ jsxs("div", { className: "flex
|
|
76650
|
-
/* @__PURE__ */
|
|
76651
|
-
|
|
76652
|
-
|
|
76653
|
-
|
|
76654
|
-
|
|
76655
|
-
|
|
76656
|
-
|
|
76657
|
-
|
|
76658
|
-
|
|
76659
|
-
|
|
76660
|
-
|
|
76661
|
-
|
|
76662
|
-
|
|
76663
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-
|
|
76664
|
-
/* @__PURE__ */ jsxs("div", { className: "flex
|
|
76665
|
-
|
|
76666
|
-
|
|
76667
|
-
|
|
76668
|
-
|
|
76669
|
-
|
|
76670
|
-
|
|
76671
|
-
|
|
76672
|
-
|
|
76673
|
-
|
|
76674
|
-
|
|
76675
|
-
|
|
76676
|
-
|
|
76677
|
-
|
|
76678
|
-
|
|
76679
|
-
|
|
76680
|
-
|
|
76681
|
-
|
|
76682
|
-
|
|
76683
|
-
|
|
76684
|
-
|
|
76685
|
-
|
|
76686
|
-
|
|
76687
|
-
|
|
76688
|
-
|
|
76689
|
-
|
|
76690
|
-
/* @__PURE__ */
|
|
76691
|
-
|
|
76692
|
-
|
|
76693
|
-
t.AvailableToBuy !== void 0 && /* @__PURE__ */ jsxs(
|
|
76694
|
-
Badge,
|
|
76695
|
-
{
|
|
76696
|
-
variant: "outline",
|
|
76697
|
-
className: `rounded-full px-3 ${t.AvailableToBuy ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76698
|
-
children: [
|
|
76699
|
-
/* @__PURE__ */ jsx(ShoppingCart, { size: "12", className: "mr-1.5" }),
|
|
76700
|
-
" ",
|
|
76701
|
-
t.AvailableToBuy ? "Available" : "Unavailable"
|
|
76702
|
-
]
|
|
76703
|
-
}
|
|
76704
|
-
),
|
|
76705
|
-
t.ManufacturerCategory !== void 0 && /* @__PURE__ */ jsxs(
|
|
76706
|
-
Badge,
|
|
76707
|
-
{
|
|
76708
|
-
variant: "outline",
|
|
76709
|
-
className: `rounded-full px-3 ${(dt = t.ManufacturerCategory) != null && dt.QualificationRequired ? "bg-blue-50 text-blue-700 hover:bg-blue-50" : "bg-neutral-50 text-neutral-700 hover:bg-neutral-50"}`,
|
|
76710
|
-
children: [
|
|
76711
|
-
/* @__PURE__ */ jsx(ShieldCheck, { size: "12", className: "mr-1.5" }),
|
|
76712
|
-
" ",
|
|
76713
|
-
(It = t.ManufacturerCategory) != null && It.QualificationRequired ? "Qualified Only" : "Available to all"
|
|
76714
|
-
]
|
|
76715
|
-
}
|
|
76716
|
-
),
|
|
76717
|
-
t.ManufacturerId && /* @__PURE__ */ jsxs(
|
|
76718
|
-
Badge,
|
|
76719
|
-
{
|
|
76720
|
-
variant: "outline",
|
|
76721
|
-
className: `rounded-full px-3 ${t.AutoUpdate ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76722
|
-
children: [
|
|
76723
|
-
/* @__PURE__ */ jsx(RefreshCw, { size: "12", className: "mr-1.5" }),
|
|
76724
|
-
" ",
|
|
76725
|
-
t.AutoUpdate ? `Automatic Reorder (${t.MasterCarton})` : "Manually Reorders"
|
|
76726
|
-
]
|
|
76727
|
-
}
|
|
76728
|
-
),
|
|
76729
|
-
/* @__PURE__ */ jsxs(
|
|
76730
|
-
Badge,
|
|
76731
|
-
{
|
|
76732
|
-
variant: "outline",
|
|
76733
|
-
className: `rounded-full px-3 ${t.BodyHTML && t.Title && t.MAP ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76734
|
-
children: [
|
|
76735
|
-
/* @__PURE__ */ jsx(Store, { size: "12", className: "mr-1.5" }),
|
|
76736
|
-
" ",
|
|
76737
|
-
t.BodyHTML && t.Title && t.MAP ? "Shopify Ready" : "Not Shopify Ready"
|
|
76738
|
-
]
|
|
76739
|
-
}
|
|
76740
|
-
)
|
|
76741
|
-
] }),
|
|
76742
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-x-4 gap-y-4 flex-1", children: [
|
|
76743
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
76744
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "MPN" }),
|
|
76745
|
-
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.MPN || "N/A" })
|
|
76746
|
-
] }),
|
|
76747
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
76748
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "UPC" }),
|
|
76749
|
-
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.UPC || "N/A" })
|
|
76750
|
-
] }),
|
|
76751
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
76752
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "Unit Weight" }),
|
|
76753
|
-
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.UnitWeight ? `${formatNumber(t.UnitWeight)} lbs` : "N/A" })
|
|
76754
|
-
] }),
|
|
76755
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
76756
|
-
/* @__PURE__ */ jsxs("div", { className: "text-sm text-muted-foreground", children: [
|
|
76757
|
-
"MAP",
|
|
76758
|
-
/* @__PURE__ */ jsx("span", { className: "text-primary", children: " / " }),
|
|
76759
|
-
"MSRP"
|
|
76657
|
+
/* @__PURE__ */ jsx(Card, { className: "flex h-full w-full flex-col hover:shadow-lg transition-shadow @container", children: /* @__PURE__ */ jsxs(CardContent, { className: "flex h-full flex-col p-6", children: [
|
|
76658
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col gap-4", children: [
|
|
76659
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-start mb-3", children: [
|
|
76660
|
+
/* @__PURE__ */ jsx("h3", { className: "font-semibold text-xl", children: t.Title || t.RandmarTitle }),
|
|
76661
|
+
/* @__PURE__ */ jsx("div", { className: "w-24 h-10 flex items-center justify-end ml-4 flex-shrink-0", children: /* @__PURE__ */ jsx(
|
|
76662
|
+
PartnerLogo,
|
|
76663
|
+
{
|
|
76664
|
+
id: t.ManufacturerId,
|
|
76665
|
+
name: t.ManufacturerName,
|
|
76666
|
+
width: 96,
|
|
76667
|
+
height: 40
|
|
76668
|
+
},
|
|
76669
|
+
`partner_logo_${t.ManufacturerId}`
|
|
76670
|
+
) })
|
|
76671
|
+
] }),
|
|
76672
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col @[36rem]:flex-row gap-6", children: [
|
|
76673
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 @[36rem]:order-1 order-2 flex flex-col gap-4", children: [
|
|
76674
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2 items-center justify-center @[36rem]:items-start @[36rem]:justify-start", children: [
|
|
76675
|
+
t.State && /* @__PURE__ */ jsxs(
|
|
76676
|
+
Badge,
|
|
76677
|
+
{
|
|
76678
|
+
variant: "outline",
|
|
76679
|
+
className: `rounded-full px-3 ${t.State === "Active" ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76680
|
+
children: [
|
|
76681
|
+
/* @__PURE__ */ jsx(Check, { size: "12", className: "mr-1.5" }),
|
|
76682
|
+
" ",
|
|
76683
|
+
t.State
|
|
76684
|
+
]
|
|
76685
|
+
}
|
|
76686
|
+
),
|
|
76687
|
+
/* @__PURE__ */ jsxs(
|
|
76688
|
+
Badge,
|
|
76689
|
+
{
|
|
76690
|
+
variant: "outline",
|
|
76691
|
+
className: `rounded-full px-3 ${t.SerialNumber ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-yellow-50 text-yellow-700 hover:bg-yellow-50"}`,
|
|
76692
|
+
children: [
|
|
76693
|
+
/* @__PURE__ */ jsx(QrCode, { size: "12", className: "mr-1.5" }),
|
|
76694
|
+
" ",
|
|
76695
|
+
t.SerialNumber ? "Serialized" : "Unserialized"
|
|
76696
|
+
]
|
|
76697
|
+
}
|
|
76698
|
+
),
|
|
76699
|
+
t.TransparencyCode && /* @__PURE__ */ jsxs(Badge, { variant: "outline", className: "rounded-full px-3 bg-green-50 text-green-700 hover:bg-green-50", children: [
|
|
76700
|
+
/* @__PURE__ */ jsx(CircleDashed, { size: "12", className: "mr-1.5" }),
|
|
76701
|
+
" Transparency Code"
|
|
76760
76702
|
] }),
|
|
76761
|
-
/* @__PURE__ */ jsxs(
|
|
76762
|
-
|
|
76763
|
-
|
|
76764
|
-
|
|
76765
|
-
|
|
76703
|
+
t.AvailableToBuy !== void 0 && /* @__PURE__ */ jsxs(
|
|
76704
|
+
Badge,
|
|
76705
|
+
{
|
|
76706
|
+
variant: "outline",
|
|
76707
|
+
className: `rounded-full px-3 ${t.AvailableToBuy ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76708
|
+
children: [
|
|
76709
|
+
/* @__PURE__ */ jsx(ShoppingCart, { size: "12", className: "mr-1.5" }),
|
|
76710
|
+
" ",
|
|
76711
|
+
t.AvailableToBuy ? "Available" : "Unavailable"
|
|
76712
|
+
]
|
|
76713
|
+
}
|
|
76714
|
+
),
|
|
76715
|
+
t.ManufacturerCategory !== void 0 && /* @__PURE__ */ jsxs(
|
|
76716
|
+
Badge,
|
|
76717
|
+
{
|
|
76718
|
+
variant: "outline",
|
|
76719
|
+
className: `rounded-full px-3 ${(dt = t.ManufacturerCategory) != null && dt.QualificationRequired ? "bg-blue-50 text-blue-700 hover:bg-blue-50" : "bg-neutral-50 text-neutral-700 hover:bg-neutral-50"}`,
|
|
76720
|
+
children: [
|
|
76721
|
+
/* @__PURE__ */ jsx(ShieldCheck, { size: "12", className: "mr-1.5" }),
|
|
76722
|
+
" ",
|
|
76723
|
+
(It = t.ManufacturerCategory) != null && It.QualificationRequired ? "Qualified Only" : "Available to all"
|
|
76724
|
+
]
|
|
76725
|
+
}
|
|
76726
|
+
),
|
|
76727
|
+
t.ManufacturerId && /* @__PURE__ */ jsxs(
|
|
76728
|
+
Badge,
|
|
76729
|
+
{
|
|
76730
|
+
variant: "outline",
|
|
76731
|
+
className: `rounded-full px-3 ${t.AutoUpdate ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76732
|
+
children: [
|
|
76733
|
+
/* @__PURE__ */ jsx(RefreshCw, { size: "12", className: "mr-1.5" }),
|
|
76734
|
+
" ",
|
|
76735
|
+
t.AutoUpdate ? `Automatic Reorder (${t.MasterCarton})` : "Manually Reorders"
|
|
76736
|
+
]
|
|
76737
|
+
}
|
|
76738
|
+
),
|
|
76739
|
+
/* @__PURE__ */ jsxs(
|
|
76740
|
+
Badge,
|
|
76741
|
+
{
|
|
76742
|
+
variant: "outline",
|
|
76743
|
+
className: `rounded-full px-3 ${t.BodyHTML && t.Title && t.MAP ? "bg-green-50 text-green-700 hover:bg-green-50" : "bg-red-50 text-red-700 hover:bg-red-50"}`,
|
|
76744
|
+
children: [
|
|
76745
|
+
/* @__PURE__ */ jsx(Store, { size: "12", className: "mr-1.5" }),
|
|
76746
|
+
" ",
|
|
76747
|
+
t.BodyHTML && t.Title && t.MAP ? "Shopify Ready" : "Not Shopify Ready"
|
|
76748
|
+
]
|
|
76749
|
+
}
|
|
76750
|
+
)
|
|
76766
76751
|
] }),
|
|
76767
|
-
|
|
76768
|
-
/* @__PURE__ */
|
|
76769
|
-
|
|
76770
|
-
/* @__PURE__ */
|
|
76771
|
-
|
|
76772
|
-
|
|
76773
|
-
|
|
76774
|
-
|
|
76775
|
-
|
|
76776
|
-
|
|
76777
|
-
|
|
76778
|
-
|
|
76779
|
-
|
|
76780
|
-
|
|
76781
|
-
|
|
76782
|
-
|
|
76783
|
-
|
|
76784
|
-
|
|
76785
|
-
] }) })
|
|
76752
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-x-4 gap-y-4 flex-1", children: [
|
|
76753
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
76754
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "MPN" }),
|
|
76755
|
+
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.MPN || "N/A" })
|
|
76756
|
+
] }),
|
|
76757
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
76758
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "UPC" }),
|
|
76759
|
+
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.UPC || "N/A" })
|
|
76760
|
+
] }),
|
|
76761
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
76762
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "Unit Weight" }),
|
|
76763
|
+
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.UnitWeight ? `${formatNumber(t.UnitWeight)} lbs` : "N/A" })
|
|
76764
|
+
] }),
|
|
76765
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
76766
|
+
/* @__PURE__ */ jsxs("div", { className: "text-sm text-muted-foreground", children: [
|
|
76767
|
+
"MAP",
|
|
76768
|
+
/* @__PURE__ */ jsx("span", { className: "text-primary", children: " / " }),
|
|
76769
|
+
"MSRP"
|
|
76786
76770
|
] }),
|
|
76787
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
76788
|
-
|
|
76789
|
-
|
|
76790
|
-
|
|
76771
|
+
/* @__PURE__ */ jsxs("div", { className: "font-medium", children: [
|
|
76772
|
+
t.MAP ? formatMoney(t.MAP) : "N/A",
|
|
76773
|
+
/* @__PURE__ */ jsx("span", { className: "text-primary", children: " / " }),
|
|
76774
|
+
t.MSRP ? formatMoney(t.MSRP) : "N/A"
|
|
76775
|
+
] })
|
|
76776
|
+
] }),
|
|
76777
|
+
!!t.OverallPercentileRank && !!t.ManufacturerPercentileRank && /* @__PURE__ */ jsxs("div", { children: [
|
|
76778
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground mb-2", children: "Bestseller Status" }),
|
|
76779
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
76780
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
76781
|
+
/* @__PURE__ */ jsx("span", { children: "Global: " }),
|
|
76782
|
+
/* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
|
|
76783
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(
|
|
76784
|
+
Badge,
|
|
76785
|
+
{
|
|
76786
|
+
variant: "outline",
|
|
76787
|
+
className: `rounded-full px-3 w-fit ${qe(t.OverallPercentileRank).bgColor} ${qe(t.OverallPercentileRank).color} hover:${qe(t.OverallPercentileRank).bgColor}`,
|
|
76788
|
+
children: qe(t.OverallPercentileRank).label
|
|
76789
|
+
}
|
|
76790
|
+
) }),
|
|
76791
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsxs("p", { children: [
|
|
76792
|
+
"Percentile Rank: ",
|
|
76793
|
+
t.OverallPercentileRank
|
|
76794
|
+
] }) })
|
|
76795
|
+
] }) })
|
|
76791
76796
|
] }),
|
|
76792
|
-
/* @__PURE__ */
|
|
76793
|
-
/* @__PURE__ */
|
|
76794
|
-
|
|
76795
|
-
|
|
76796
|
-
|
|
76797
|
-
|
|
76798
|
-
|
|
76799
|
-
|
|
76800
|
-
|
|
76801
|
-
|
|
76802
|
-
|
|
76803
|
-
|
|
76797
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
76798
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
76799
|
+
t.ManufacturerName,
|
|
76800
|
+
": "
|
|
76801
|
+
] }),
|
|
76802
|
+
/* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip$1, { children: [
|
|
76803
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(
|
|
76804
|
+
Badge,
|
|
76805
|
+
{
|
|
76806
|
+
variant: "outline",
|
|
76807
|
+
className: `rounded-full px-3 w-fit ${qe(t.ManufacturerPercentileRank).bgColor} ${qe(t.ManufacturerPercentileRank).color} hover:${qe(t.ManufacturerPercentileRank).bgColor}`,
|
|
76808
|
+
children: qe(t.ManufacturerPercentileRank).label
|
|
76809
|
+
}
|
|
76810
|
+
) }),
|
|
76811
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsxs("p", { children: [
|
|
76812
|
+
"Percentile Rank: ",
|
|
76813
|
+
t.ManufacturerPercentileRank
|
|
76814
|
+
] }) })
|
|
76804
76815
|
] }) })
|
|
76805
|
-
] })
|
|
76816
|
+
] })
|
|
76806
76817
|
] })
|
|
76807
|
-
] })
|
|
76808
|
-
] }),
|
|
76809
|
-
t.CountryCodeOfOrigin && /* @__PURE__ */ jsxs("div", { children: [
|
|
76810
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "Origin" }),
|
|
76811
|
-
/* @__PURE__ */ jsxs("div", { className: "font-medium flex items-center", children: [
|
|
76812
|
-
/* @__PURE__ */ jsx(CountryFlag, { countryCode: t.CountryCodeOfOrigin, className: "mr-2" }),
|
|
76813
|
-
t.CountryCodeOfOrigin
|
|
76814
|
-
] })
|
|
76815
|
-
] })
|
|
76816
|
-
] })
|
|
76817
|
-
] }),
|
|
76818
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col @[36rem]:order-2 order-1 items-center", children: /* @__PURE__ */ jsx(
|
|
76819
|
-
ProductImage,
|
|
76820
|
-
{
|
|
76821
|
-
randmarSKU: t.RandmarSKU || "",
|
|
76822
|
-
alt: t.RandmarTitle || ""
|
|
76823
|
-
},
|
|
76824
|
-
`product_image_${t.RandmarSKU}`
|
|
76825
|
-
) })
|
|
76826
|
-
] }),
|
|
76827
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col @[36rem]:flex-row gap-6 mt-4", children: /* @__PURE__ */ jsx("div", { className: "flex flex-1 @[36rem]:order-1 order-2", children: Je && t.Distribution && /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
|
|
76828
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: "You have " + rt.length + (rt.length > 1 ? " opportunities" : " opportunity") + " for this product:" }),
|
|
76829
|
-
/* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx("div", { className: "space-y-2 max-h-[200px] overflow-y-auto p-2 mt-1", children: rt.map(
|
|
76830
|
-
(Ze, ct) => Le(Ze) ? /* @__PURE__ */ jsxs("div", { className: `flex justify-between items-center rounded-lg transition-colors py-2 px-4 border border-muted cursor-pointer ${Ze.BidNumber == (E == null ? void 0 : E.BidNumber) ? "bg-purple-100 border-2 border-purple-900" : "bg-white border-1 border-purple-600 hover:bg-purple-200"}`, onClick: () => {
|
|
76831
|
-
R(Ze.BidNumber !== (E == null ? void 0 : E.BidNumber) ? Ze : null);
|
|
76832
|
-
}, children: [
|
|
76833
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
76834
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-sm", children: Ze.Opportunity }),
|
|
76835
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-neutral-900", children: Ze.BidNumber })
|
|
76836
|
-
] }) }),
|
|
76837
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end", children: [
|
|
76838
|
-
/* @__PURE__ */ jsx("span", { className: "font-semibold", children: formatMoney(Ze.Price ?? 0) }),
|
|
76839
|
-
Ze.Rebate && Ze.Rebate > 0 && /* @__PURE__ */ jsxs("span", { className: "text-xs text-green-600", children: [
|
|
76840
|
-
"Rebate: ",
|
|
76841
|
-
formatMoney(Ze.Rebate)
|
|
76842
76818
|
] }),
|
|
76843
|
-
|
|
76844
|
-
"
|
|
76845
|
-
|
|
76819
|
+
t.CountryCodeOfOrigin && /* @__PURE__ */ jsxs("div", { children: [
|
|
76820
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "Origin" }),
|
|
76821
|
+
/* @__PURE__ */ jsxs("div", { className: "font-medium flex items-center", children: [
|
|
76822
|
+
/* @__PURE__ */ jsx(CountryFlag, { countryCode: t.CountryCodeOfOrigin, className: "mr-2" }),
|
|
76823
|
+
t.CountryCodeOfOrigin
|
|
76824
|
+
] })
|
|
76846
76825
|
] })
|
|
76847
76826
|
] })
|
|
76848
|
-
] }
|
|
76849
|
-
|
|
76850
|
-
|
|
76827
|
+
] }),
|
|
76828
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col @[36rem]:order-2 order-1 items-center", children: /* @__PURE__ */ jsx(
|
|
76829
|
+
ProductImage,
|
|
76830
|
+
{
|
|
76831
|
+
randmarSKU: t.RandmarSKU || "",
|
|
76832
|
+
alt: t.RandmarTitle || ""
|
|
76833
|
+
},
|
|
76834
|
+
`product_image_${t.RandmarSKU}`
|
|
76835
|
+
) })
|
|
76836
|
+
] }),
|
|
76837
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col @[36rem]:flex-row gap-6 mt-4", children: /* @__PURE__ */ jsx("div", { className: "flex flex-1 @[36rem]:order-1 order-2", children: Je && t.Distribution && /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
|
|
76838
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: "You have " + rt.length + (rt.length > 1 ? " opportunities" : " opportunity") + " for this product:" }),
|
|
76839
|
+
/* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx("div", { className: "space-y-2 max-h-[200px] overflow-y-auto p-2 mt-1", children: rt.map(
|
|
76840
|
+
(Ze, ct) => Le(Ze) ? /* @__PURE__ */ jsxs("div", { className: `flex justify-between items-center rounded-lg transition-colors py-2 px-4 border border-muted cursor-pointer ${Ze.BidNumber == (E == null ? void 0 : E.BidNumber) ? "bg-purple-100 border-2 border-purple-900" : "bg-white border-1 border-purple-600 hover:bg-purple-200"}`, onClick: () => {
|
|
76841
|
+
R(Ze.BidNumber !== (E == null ? void 0 : E.BidNumber) ? Ze : null);
|
|
76851
76842
|
}, children: [
|
|
76852
76843
|
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
76853
76844
|
/* @__PURE__ */ jsx("span", { className: "font-medium text-sm", children: Ze.Opportunity }),
|
|
76854
|
-
/* @__PURE__ */
|
|
76855
|
-
Ze.BidNumber,
|
|
76856
|
-
" ",
|
|
76857
|
-
/* @__PURE__ */ jsx(Badge, { variant: "outline", className: "text-xs mx-1 h-5 bg-gray-100", children: "Currently unavailable" })
|
|
76858
|
-
] })
|
|
76845
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-neutral-900", children: Ze.BidNumber })
|
|
76859
76846
|
] }) }),
|
|
76860
76847
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end", children: [
|
|
76861
76848
|
/* @__PURE__ */ jsx("span", { className: "font-semibold", children: formatMoney(Ze.Price ?? 0) }),
|
|
@@ -76868,11 +76855,35 @@ function ProductCard({
|
|
|
76868
76855
|
ot(Ze.EndDate)
|
|
76869
76856
|
] })
|
|
76870
76857
|
] })
|
|
76871
|
-
] })
|
|
76872
|
-
|
|
76873
|
-
|
|
76874
|
-
|
|
76875
|
-
|
|
76858
|
+
] }, ct) : /* @__PURE__ */ jsxs(Tooltip$1, { children: [
|
|
76859
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center rounded-lg transition-colors py-2 px-4 bg-purple-100 border border-muted cursor-pointer !bg-neutral-50 hover:bg-neutral-100", onClick: () => {
|
|
76860
|
+
Ze.BidNumber && b(`/${e}/Opportunity/${Ze.ManufacturerId}/${Ze.BidNumber}`);
|
|
76861
|
+
}, children: [
|
|
76862
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
76863
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-sm", children: Ze.Opportunity }),
|
|
76864
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs text-neutral-900", children: [
|
|
76865
|
+
Ze.BidNumber,
|
|
76866
|
+
" ",
|
|
76867
|
+
/* @__PURE__ */ jsx(Badge, { variant: "outline", className: "text-xs mx-1 h-5 bg-gray-100", children: "Currently unavailable" })
|
|
76868
|
+
] })
|
|
76869
|
+
] }) }),
|
|
76870
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end", children: [
|
|
76871
|
+
/* @__PURE__ */ jsx("span", { className: "font-semibold", children: formatMoney(Ze.Price ?? 0) }),
|
|
76872
|
+
Ze.Rebate && Ze.Rebate > 0 && /* @__PURE__ */ jsxs("span", { className: "text-xs text-green-600", children: [
|
|
76873
|
+
"Rebate: ",
|
|
76874
|
+
formatMoney(Ze.Rebate)
|
|
76875
|
+
] }),
|
|
76876
|
+
Ze.EndDate && /* @__PURE__ */ jsxs("span", { className: "text-xs text-neutral-600", children: [
|
|
76877
|
+
"Ends: ",
|
|
76878
|
+
ot(Ze.EndDate)
|
|
76879
|
+
] })
|
|
76880
|
+
] })
|
|
76881
|
+
] }) }),
|
|
76882
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "View Opportunity" }) })
|
|
76883
|
+
] }, ct)
|
|
76884
|
+
) }) })
|
|
76885
|
+
] }) }) })
|
|
76886
|
+
] }),
|
|
76876
76887
|
/* @__PURE__ */ jsxs("div", { className: "mt-4 flex flex-col gap-4", children: [
|
|
76877
76888
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-row flex-wrap justify-between items-end gap-4", children: [
|
|
76878
76889
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 flex-1", children: t.Distribution && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-1", children: oe > 0 ? /* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxs("span", { className: "text-2xl font-bold whitespace-nowrap", children: [
|
|
@@ -85539,14 +85550,16 @@ function findOffsetInNode(e, t) {
|
|
|
85539
85550
|
return !n && b && (n = b, l = S, o = 0), n && n.nodeType == 3 ? findOffsetInText(n, l) : !n || o && n.nodeType == 1 ? { node: e, offset: d } : findOffsetInNode(n, l);
|
|
85540
85551
|
}
|
|
85541
85552
|
function findOffsetInText(e, t) {
|
|
85542
|
-
let n = e.nodeValue.length, o = document.createRange();
|
|
85543
|
-
for (let
|
|
85544
|
-
o.setEnd(e,
|
|
85545
|
-
let
|
|
85546
|
-
if (
|
|
85547
|
-
|
|
85553
|
+
let n = e.nodeValue.length, o = document.createRange(), l;
|
|
85554
|
+
for (let d = 0; d < n; d++) {
|
|
85555
|
+
o.setEnd(e, d + 1), o.setStart(e, d);
|
|
85556
|
+
let f = singleRect(o, 1);
|
|
85557
|
+
if (f.top != f.bottom && inRect(t, f)) {
|
|
85558
|
+
l = { node: e, offset: d + (t.left >= (f.left + f.right) / 2 ? 1 : 0) };
|
|
85559
|
+
break;
|
|
85560
|
+
}
|
|
85548
85561
|
}
|
|
85549
|
-
return { node: e, offset: 0 };
|
|
85562
|
+
return o.detach(), l || { node: e, offset: 0 };
|
|
85550
85563
|
}
|
|
85551
85564
|
function inRect(e, t) {
|
|
85552
85565
|
return e.left >= t.left - 1 && e.left <= t.right + 1 && e.top >= t.top - 1 && e.top <= t.bottom + 1;
|
|
@@ -87557,7 +87570,7 @@ editHandlers.compositionstart = editHandlers.compositionupdate = (e) => {
|
|
|
87557
87570
|
if (!e.composing) {
|
|
87558
87571
|
e.domObserver.flush();
|
|
87559
87572
|
let { state: t } = e, n = t.selection.$to;
|
|
87560
|
-
if (t.selection instanceof TextSelection && (t.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((o) => o.type.spec.inclusive === !1)))
|
|
87573
|
+
if (t.selection instanceof TextSelection && (t.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((o) => o.type.spec.inclusive === !1) || chrome && windows$1 && selectionBeforeUneditable(e)))
|
|
87561
87574
|
e.markCursor = e.state.storedMarks || n.marks(), endComposition(e, !0), e.markCursor = null;
|
|
87562
87575
|
else if (endComposition(e, !t.selection.empty), gecko && t.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
|
|
87563
87576
|
let o = e.domSelectionRange();
|
|
@@ -87577,6 +87590,13 @@ editHandlers.compositionstart = editHandlers.compositionupdate = (e) => {
|
|
|
87577
87590
|
}
|
|
87578
87591
|
scheduleComposeEnd(e, timeoutComposition);
|
|
87579
87592
|
};
|
|
87593
|
+
function selectionBeforeUneditable(e) {
|
|
87594
|
+
let { focusNode: t, focusOffset: n } = e.domSelectionRange();
|
|
87595
|
+
if (!t || t.nodeType != 1 || n >= t.childNodes.length)
|
|
87596
|
+
return !1;
|
|
87597
|
+
let o = t.childNodes[n];
|
|
87598
|
+
return o.nodeType == 1 && o.contentEditable == "false";
|
|
87599
|
+
}
|
|
87580
87600
|
editHandlers.compositionend = (e, t) => {
|
|
87581
87601
|
e.composing && (e.input.composing = !1, e.input.compositionEndedAt = t.timeStamp, e.input.compositionPendingChanges = e.domObserver.pendingRecords().length ? e.input.compositionID : 0, e.input.compositionNode = null, e.input.compositionPendingChanges && Promise.resolve().then(() => e.domObserver.flush()), e.input.compositionID++, scheduleComposeEnd(e, 20));
|
|
87582
87602
|
};
|
|
@@ -87707,43 +87727,49 @@ handlers.dragend = (e) => {
|
|
|
87707
87727
|
};
|
|
87708
87728
|
editHandlers.dragover = editHandlers.dragenter = (e, t) => t.preventDefault();
|
|
87709
87729
|
editHandlers.drop = (e, t) => {
|
|
87710
|
-
|
|
87711
|
-
|
|
87730
|
+
try {
|
|
87731
|
+
handleDrop(e, t, e.dragging);
|
|
87732
|
+
} finally {
|
|
87733
|
+
e.dragging = null;
|
|
87734
|
+
}
|
|
87735
|
+
};
|
|
87736
|
+
function handleDrop(e, t, n) {
|
|
87737
|
+
if (!t.dataTransfer)
|
|
87712
87738
|
return;
|
|
87713
|
-
let
|
|
87714
|
-
if (!
|
|
87739
|
+
let o = e.posAtCoords(eventCoords(t));
|
|
87740
|
+
if (!o)
|
|
87715
87741
|
return;
|
|
87716
|
-
let
|
|
87717
|
-
|
|
87718
|
-
|
|
87719
|
-
}) :
|
|
87720
|
-
let
|
|
87721
|
-
if (e.someProp("handleDrop", (
|
|
87722
|
-
|
|
87742
|
+
let l = e.state.doc.resolve(o.pos), d = n && n.slice;
|
|
87743
|
+
d ? e.someProp("transformPasted", (R) => {
|
|
87744
|
+
d = R(d, e, !1);
|
|
87745
|
+
}) : d = parseFromClipboard(e, getText$1(t.dataTransfer), brokenClipboardAPI ? null : t.dataTransfer.getData("text/html"), !1, l);
|
|
87746
|
+
let f = !!(n && dragMoves(e, t));
|
|
87747
|
+
if (e.someProp("handleDrop", (R) => R(e, t, d || Slice.empty, f))) {
|
|
87748
|
+
t.preventDefault();
|
|
87723
87749
|
return;
|
|
87724
87750
|
}
|
|
87725
|
-
if (!
|
|
87751
|
+
if (!d)
|
|
87726
87752
|
return;
|
|
87727
|
-
|
|
87728
|
-
let
|
|
87729
|
-
|
|
87730
|
-
let
|
|
87731
|
-
if (
|
|
87732
|
-
let { node:
|
|
87733
|
-
|
|
87734
|
-
}
|
|
87735
|
-
let
|
|
87736
|
-
if (
|
|
87753
|
+
t.preventDefault();
|
|
87754
|
+
let g = d ? dropPoint(e.state.doc, l.pos, d) : l.pos;
|
|
87755
|
+
g == null && (g = l.pos);
|
|
87756
|
+
let b = e.state.tr;
|
|
87757
|
+
if (f) {
|
|
87758
|
+
let { node: R } = n;
|
|
87759
|
+
R ? R.replace(b) : b.deleteSelection();
|
|
87760
|
+
}
|
|
87761
|
+
let S = b.mapping.map(g), _ = d.openStart == 0 && d.openEnd == 0 && d.content.childCount == 1, C = b.doc;
|
|
87762
|
+
if (_ ? b.replaceRangeWith(S, S, d.content.firstChild) : b.replaceRange(S, S, d), b.doc.eq(C))
|
|
87737
87763
|
return;
|
|
87738
|
-
let
|
|
87739
|
-
if (
|
|
87740
|
-
|
|
87764
|
+
let E = b.doc.resolve(S);
|
|
87765
|
+
if (_ && NodeSelection.isSelectable(d.content.firstChild) && E.nodeAfter && E.nodeAfter.sameMarkup(d.content.firstChild))
|
|
87766
|
+
b.setSelection(new NodeSelection(E));
|
|
87741
87767
|
else {
|
|
87742
|
-
let
|
|
87743
|
-
|
|
87768
|
+
let R = b.mapping.map(g);
|
|
87769
|
+
b.mapping.maps[b.mapping.maps.length - 1].forEach((A, M, I, V) => R = V), b.setSelection(selectionBetween(e, E, b.doc.resolve(R)));
|
|
87744
87770
|
}
|
|
87745
|
-
e.focus(), e.dispatch(
|
|
87746
|
-
}
|
|
87771
|
+
e.focus(), e.dispatch(b.setMeta("uiEvent", "drop"));
|
|
87772
|
+
}
|
|
87747
87773
|
handlers.focus = (e) => {
|
|
87748
87774
|
e.input.lastFocus = Date.now(), e.focused || (e.domObserver.stop(), e.dom.classList.add("ProseMirror-focused"), e.domObserver.start(), e.focused = !0, setTimeout(() => {
|
|
87749
87775
|
e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && selectionToDOM(e);
|
|
@@ -88402,6 +88428,12 @@ class DOMObserver {
|
|
|
88402
88428
|
R && R.nodeName == "LI" && (!C || blockParent(t, C) != R) && E.remove();
|
|
88403
88429
|
}
|
|
88404
88430
|
}
|
|
88431
|
+
} else if ((chrome || safari) && b.some((_) => _.nodeName == "BR") && (t.input.lastKeyCode == 8 || t.input.lastKeyCode == 46)) {
|
|
88432
|
+
for (let _ of b)
|
|
88433
|
+
if (_.nodeName == "BR" && _.parentNode) {
|
|
88434
|
+
let C = _.nextSibling;
|
|
88435
|
+
C && C.nodeType == 1 && C.contentEditable == "false" && _.parentNode.removeChild(_);
|
|
88436
|
+
}
|
|
88405
88437
|
}
|
|
88406
88438
|
let S = null;
|
|
88407
88439
|
d < 0 && l && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(o) && (S = selectionFromDOM(t)) && S.eq(Selection.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, selectionToDOM(t), this.currentSelection.set(o), t.scrollToSelection()) : (d > -1 || l) && (d > -1 && (t.docView.markDirty(d, f), checkCSS(t)), this.handleDOMChange(d, f, g, b), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(o) || selectionToDOM(t), this.currentSelection.set(o));
|
|
@@ -96763,22 +96795,20 @@ function useAnimation(e, t, { classNames: n, months: o, focused: l, dateLib: d }
|
|
|
96763
96795
|
});
|
|
96764
96796
|
}
|
|
96765
96797
|
function getDates(e, t, n, o) {
|
|
96766
|
-
const l = e[0], d = e[e.length - 1], { ISOWeek: f, fixedWeeks: g, broadcastCalendar: b } = n ?? {}, { addDays: S, differenceInCalendarDays: _, differenceInCalendarMonths: C, endOfBroadcastWeek: E, endOfISOWeek: R, endOfMonth: A, endOfWeek: M, isAfter: I, startOfBroadcastWeek: V, startOfISOWeek: q, startOfWeek: Q } = o, te = b ? V(l, o) : f ? q(l) : Q(l), j = b ? E(d) : f ? R(A(d)) : M(A(d)), F =
|
|
96767
|
-
for (let
|
|
96768
|
-
const
|
|
96769
|
-
|
|
96770
|
-
break;
|
|
96771
|
-
ae.push(oe);
|
|
96798
|
+
const l = e[0], d = e[e.length - 1], { ISOWeek: f, fixedWeeks: g, broadcastCalendar: b } = n ?? {}, { addDays: S, differenceInCalendarDays: _, differenceInCalendarMonths: C, endOfBroadcastWeek: E, endOfISOWeek: R, endOfMonth: A, endOfWeek: M, isAfter: I, startOfBroadcastWeek: V, startOfISOWeek: q, startOfWeek: Q } = o, te = b ? V(l, o) : f ? q(l) : Q(l), j = b ? E(d) : f ? R(A(d)) : M(A(d)), F = t && (b ? E(t) : f ? R(t) : M(t)), ne = F && I(j, F) ? F : j, ae = _(ne, te), se = C(d, l) + 1, Ve = [];
|
|
96799
|
+
for (let Oe = 0; Oe <= ae; Oe++) {
|
|
96800
|
+
const Ae = S(te, Oe);
|
|
96801
|
+
Ve.push(Ae);
|
|
96772
96802
|
}
|
|
96773
|
-
const
|
|
96774
|
-
if (g &&
|
|
96775
|
-
const
|
|
96776
|
-
for (let
|
|
96777
|
-
const
|
|
96778
|
-
|
|
96803
|
+
const oe = (b ? 35 : 42) * se;
|
|
96804
|
+
if (g && Ve.length < oe) {
|
|
96805
|
+
const Oe = oe - Ve.length;
|
|
96806
|
+
for (let Ae = 0; Ae < Oe; Ae++) {
|
|
96807
|
+
const $e = S(Ve[Ve.length - 1], 1);
|
|
96808
|
+
Ve.push($e);
|
|
96779
96809
|
}
|
|
96780
96810
|
}
|
|
96781
|
-
return
|
|
96811
|
+
return Ve;
|
|
96782
96812
|
}
|
|
96783
96813
|
function getDays(e) {
|
|
96784
96814
|
const t = [];
|
|
@@ -97118,9 +97148,9 @@ function DayPicker(e) {
|
|
|
97118
97148
|
to: t.selected.to ? toTimeZone(t.selected.to, n) : t.selected.to
|
|
97119
97149
|
}), t.disabled !== void 0 && (t.disabled = convertMatchersToTimeZone(t.disabled, n)), t.hidden !== void 0 && (t.hidden = convertMatchersToTimeZone(t.hidden, n)), t.modifiers)) {
|
|
97120
97150
|
const Jt = {};
|
|
97121
|
-
Object.keys(t.modifiers).forEach((
|
|
97151
|
+
Object.keys(t.modifiers).forEach((Qt) => {
|
|
97122
97152
|
var Ut;
|
|
97123
|
-
Jt[
|
|
97153
|
+
Jt[Qt] = convertMatchersToTimeZone((Ut = t.modifiers) == null ? void 0 : Ut[Qt], n);
|
|
97124
97154
|
}), t.modifiers = Jt;
|
|
97125
97155
|
}
|
|
97126
97156
|
const { components: o, formatters: l, labels: d, dateLib: f, locale: g, classNames: b } = useMemo(() => {
|
|
@@ -97161,13 +97191,13 @@ function DayPicker(e) {
|
|
|
97161
97191
|
Fe && (We(Fe), te == null || te(Fe));
|
|
97162
97192
|
}, [Fe, We, te]), ft = useCallback(() => {
|
|
97163
97193
|
He && (We(He), Q == null || Q(He));
|
|
97164
|
-
}, [We, He, Q]), yt = useCallback((Jt,
|
|
97165
|
-
Ut.preventDefault(), Ut.stopPropagation(), ot(Jt), rt == null || rt(Jt.date,
|
|
97166
|
-
}, [rt, A, ot]), Ht = useCallback((Jt,
|
|
97167
|
-
ot(Jt), M == null || M(Jt.date,
|
|
97168
|
-
}, [M, ot]), Kt = useCallback((Jt,
|
|
97169
|
-
st(), R == null || R(Jt.date,
|
|
97170
|
-
}, [st, R]), sr = useCallback((Jt,
|
|
97194
|
+
}, [We, He, Q]), yt = useCallback((Jt, Qt) => (Ut) => {
|
|
97195
|
+
Ut.preventDefault(), Ut.stopPropagation(), ot(Jt), !Qt.disabled && (rt == null || rt(Jt.date, Qt, Ut), A == null || A(Jt.date, Qt, Ut));
|
|
97196
|
+
}, [rt, A, ot]), Ht = useCallback((Jt, Qt) => (Ut) => {
|
|
97197
|
+
ot(Jt), M == null || M(Jt.date, Qt, Ut);
|
|
97198
|
+
}, [M, ot]), Kt = useCallback((Jt, Qt) => (Ut) => {
|
|
97199
|
+
st(), R == null || R(Jt.date, Qt, Ut);
|
|
97200
|
+
}, [st, R]), sr = useCallback((Jt, Qt) => (Ut) => {
|
|
97171
97201
|
const tr = {
|
|
97172
97202
|
ArrowLeft: [
|
|
97173
97203
|
Ut.shiftKey ? "month" : "day",
|
|
@@ -97189,16 +97219,16 @@ function DayPicker(e) {
|
|
|
97189
97219
|
const [Yt, nr] = tr[Ut.key];
|
|
97190
97220
|
tt(Yt, nr);
|
|
97191
97221
|
}
|
|
97192
|
-
I == null || I(Jt.date,
|
|
97193
|
-
}, [tt, I, t.dir]), cr = useCallback((Jt,
|
|
97194
|
-
V == null || V(Jt.date,
|
|
97195
|
-
}, [V]), qt = useCallback((Jt,
|
|
97196
|
-
q == null || q(Jt.date,
|
|
97197
|
-
}, [q]), Er = useCallback((Jt) => (
|
|
97198
|
-
const Ut = Number(
|
|
97222
|
+
I == null || I(Jt.date, Qt, Ut);
|
|
97223
|
+
}, [tt, I, t.dir]), cr = useCallback((Jt, Qt) => (Ut) => {
|
|
97224
|
+
V == null || V(Jt.date, Qt, Ut);
|
|
97225
|
+
}, [V]), qt = useCallback((Jt, Qt) => (Ut) => {
|
|
97226
|
+
q == null || q(Jt.date, Qt, Ut);
|
|
97227
|
+
}, [q]), Er = useCallback((Jt) => (Qt) => {
|
|
97228
|
+
const Ut = Number(Qt.target.value), tr = f.setMonth(f.startOfMonth(Jt), Ut);
|
|
97199
97229
|
We(tr);
|
|
97200
|
-
}, [f, We]), gr = useCallback((Jt) => (
|
|
97201
|
-
const Ut = Number(
|
|
97230
|
+
}, [f, We]), gr = useCallback((Jt) => (Qt) => {
|
|
97231
|
+
const Ut = Number(Qt.target.value), tr = f.setYear(f.startOfMonth(Jt), Ut);
|
|
97202
97232
|
We(tr);
|
|
97203
97233
|
}, [f, We]), { className: Sr, style: mr } = useMemo(() => ({
|
|
97204
97234
|
className: [b[UI.Root], t.className].filter(Boolean).join(" "),
|
|
@@ -97236,23 +97266,23 @@ function DayPicker(e) {
|
|
|
97236
97266
|
o.Months,
|
|
97237
97267
|
{ className: b[UI.Months], style: F == null ? void 0 : F[UI.Months] },
|
|
97238
97268
|
!t.hideNavigation && !C && React__default.createElement(o.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: b[UI.Nav], style: F == null ? void 0 : F[UI.Nav], "aria-label": Ct(), onPreviousClick: mt, onNextClick: ft, previousMonth: Fe, nextMonth: He }),
|
|
97239
|
-
Le.map((Jt,
|
|
97269
|
+
Le.map((Jt, Qt) => React__default.createElement(
|
|
97240
97270
|
o.Month,
|
|
97241
97271
|
{
|
|
97242
97272
|
"data-animated-month": t.animate ? "true" : void 0,
|
|
97243
97273
|
className: b[UI.Month],
|
|
97244
97274
|
style: F == null ? void 0 : F[UI.Month],
|
|
97245
97275
|
// biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
|
|
97246
|
-
key:
|
|
97247
|
-
displayIndex:
|
|
97276
|
+
key: Qt,
|
|
97277
|
+
displayIndex: Qt,
|
|
97248
97278
|
calendarMonth: Jt
|
|
97249
97279
|
},
|
|
97250
|
-
C === "around" && !t.hideNavigation &&
|
|
97280
|
+
C === "around" && !t.hideNavigation && Qt === 0 && React__default.createElement(
|
|
97251
97281
|
o.PreviousMonthButton,
|
|
97252
97282
|
{ type: "button", className: b[UI.PreviousMonthButton], tabIndex: Fe ? void 0 : -1, "aria-disabled": Fe ? void 0 : !0, "aria-label": dt(Fe), onClick: mt, "data-animated-button": t.animate ? "true" : void 0 },
|
|
97253
97283
|
React__default.createElement(o.Chevron, { disabled: Fe ? void 0 : !0, className: b[UI.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
|
|
97254
97284
|
),
|
|
97255
|
-
React__default.createElement(o.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: b[UI.MonthCaption], style: F == null ? void 0 : F[UI.MonthCaption], calendarMonth: Jt, displayIndex:
|
|
97285
|
+
React__default.createElement(o.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: b[UI.MonthCaption], style: F == null ? void 0 : F[UI.MonthCaption], calendarMonth: Jt, displayIndex: Qt }, S != null && S.startsWith("dropdown") ? React__default.createElement(
|
|
97256
97286
|
o.DropdownNav,
|
|
97257
97287
|
{ className: b[UI.Dropdowns], style: F == null ? void 0 : F[UI.Dropdowns] },
|
|
97258
97288
|
(() => {
|
|
@@ -97271,16 +97301,13 @@ function DayPicker(e) {
|
|
|
97271
97301
|
whiteSpace: "nowrap",
|
|
97272
97302
|
wordWrap: "normal"
|
|
97273
97303
|
} }, ne(Jt.date, f.options, f))
|
|
97274
|
-
) : (
|
|
97275
|
-
|
|
97276
|
-
React__default.createElement(o.CaptionLabel, { className: b[UI.CaptionLabel], role: "status", "aria-live": "polite" }, ne(Jt.date, f.options, f))
|
|
97277
|
-
)),
|
|
97278
|
-
C === "around" && !t.hideNavigation && Zt === E - 1 && React__default.createElement(
|
|
97304
|
+
) : React__default.createElement(o.CaptionLabel, { className: b[UI.CaptionLabel], role: "status", "aria-live": "polite" }, ne(Jt.date, f.options, f))),
|
|
97305
|
+
C === "around" && !t.hideNavigation && Qt === E - 1 && React__default.createElement(
|
|
97279
97306
|
o.NextMonthButton,
|
|
97280
97307
|
{ type: "button", className: b[UI.NextMonthButton], tabIndex: He ? void 0 : -1, "aria-disabled": He ? void 0 : !0, "aria-label": It(He), onClick: ft, "data-animated-button": t.animate ? "true" : void 0 },
|
|
97281
97308
|
React__default.createElement(o.Chevron, { disabled: He ? void 0 : !0, className: b[UI.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
|
|
97282
97309
|
),
|
|
97283
|
-
|
|
97310
|
+
Qt === E - 1 && C === "after" && !t.hideNavigation && React__default.createElement(o.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: b[UI.Nav], style: F == null ? void 0 : F[UI.Nav], "aria-label": Ct(), onPreviousClick: mt, onNextClick: ft, previousMonth: Fe, nextMonth: He }),
|
|
97284
97311
|
React__default.createElement(
|
|
97285
97312
|
o.MonthGrid,
|
|
97286
97313
|
{ role: "grid", "aria-multiselectable": _ === "multiple" || _ === "range", "aria-label": $t(Jt.date, f.options, f) || void 0, className: b[UI.MonthGrid], style: F == null ? void 0 : F[UI.MonthGrid] },
|
|
@@ -97293,8 +97320,7 @@ function DayPicker(e) {
|
|
|
97293
97320
|
React__default.createElement(o.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: b[UI.Weeks], style: F == null ? void 0 : F[UI.Weeks] }, Jt.weeks.map((Ut) => React__default.createElement(
|
|
97294
97321
|
o.Week,
|
|
97295
97322
|
{ className: b[UI.Week], key: Ut.weekNumber, style: F == null ? void 0 : F[UI.Week], week: Ut },
|
|
97296
|
-
j &&
|
|
97297
|
-
React__default.createElement(o.WeekNumber, { week: Ut, style: F == null ? void 0 : F[UI.WeekNumber], "aria-label": Rt(Ut.weekNumber, {
|
|
97323
|
+
j && React__default.createElement(o.WeekNumber, { week: Ut, style: F == null ? void 0 : F[UI.WeekNumber], "aria-label": Rt(Ut.weekNumber, {
|
|
97298
97324
|
locale: g
|
|
97299
97325
|
}), className: b[UI.WeekNumber], scope: "row", role: "rowheader" }, Ve(Ut.weekNumber, f)),
|
|
97300
97326
|
Ut.days.map((tr) => {
|
|
@@ -97304,17 +97330,13 @@ function DayPicker(e) {
|
|
|
97304
97330
|
nr[SelectionState.range_start] = !!(Pr && Br && f.isSameDay(Yt, Pr)), nr[SelectionState.range_end] = !!(Pr && Br && f.isSameDay(Yt, Br)), nr[SelectionState.range_middle] = rangeIncludesDate(Je, Yt, !0, f);
|
|
97305
97331
|
}
|
|
97306
97332
|
const ur = getStyleForModifiers(nr, F, t.modifiersStyles), $r = getClassNamesForModifiers(nr, b, t.modifiersClassNames), Fr = !ct && !nr.hidden ? Ge(Yt, nr, f.options, f) : void 0;
|
|
97307
|
-
return (
|
|
97308
|
-
// biome-ignore lint/a11y/useSemanticElements: react component
|
|
97309
|
-
React__default.createElement(o.Day, { key: `${tr.isoDate}_${tr.displayMonthId}`, day: tr, modifiers: nr, className: $r.join(" "), style: ur, role: "gridcell", "aria-selected": nr.selected || void 0, "aria-label": Fr, "data-day": tr.isoDate, "data-month": tr.outside ? tr.dateMonthId : void 0, "data-selected": nr.selected || void 0, "data-disabled": nr.disabled || void 0, "data-hidden": nr.hidden || void 0, "data-outside": tr.outside || void 0, "data-focused": nr.focused || void 0, "data-today": nr.today || void 0 }, !nr.hidden && ct ? React__default.createElement(o.DayButton, { className: b[UI.DayButton], style: F == null ? void 0 : F[UI.DayButton], type: "button", day: tr, modifiers: nr, disabled: !nr.focused && nr.disabled || void 0, "aria-disabled": nr.focused && nr.disabled || void 0, tabIndex: at(tr) ? 0 : -1, "aria-label": lt(Yt, nr, f.options, f), onClick: yt(tr, nr), onBlur: Kt(tr, nr), onFocus: Ht(tr, nr), onKeyDown: sr(tr, nr), onMouseEnter: cr(tr, nr), onMouseLeave: qt(tr, nr) }, ae(Yt, f.options, f)) : !nr.hidden && ae(tr.date, f.options, f))
|
|
97310
|
-
);
|
|
97333
|
+
return React__default.createElement(o.Day, { key: `${tr.isoDate}_${tr.displayMonthId}`, day: tr, modifiers: nr, className: $r.join(" "), style: ur, role: "gridcell", "aria-selected": nr.selected || void 0, "aria-label": Fr, "data-day": tr.isoDate, "data-month": tr.outside ? tr.dateMonthId : void 0, "data-selected": nr.selected || void 0, "data-disabled": nr.disabled || void 0, "data-hidden": nr.hidden || void 0, "data-outside": tr.outside || void 0, "data-focused": nr.focused || void 0, "data-today": nr.today || void 0 }, !nr.hidden && ct ? React__default.createElement(o.DayButton, { className: b[UI.DayButton], style: F == null ? void 0 : F[UI.DayButton], type: "button", day: tr, modifiers: nr, disabled: !nr.focused && nr.disabled || void 0, "aria-disabled": nr.focused && nr.disabled || void 0, tabIndex: at(tr) ? 0 : -1, "aria-label": lt(Yt, nr, f.options, f), onClick: yt(tr, nr), onBlur: Kt(tr, nr), onFocus: Ht(tr, nr), onKeyDown: sr(tr, nr), onMouseEnter: cr(tr, nr), onMouseLeave: qt(tr, nr) }, ae(Yt, f.options, f)) : !nr.hidden && ae(tr.date, f.options, f));
|
|
97311
97334
|
})
|
|
97312
97335
|
)))
|
|
97313
97336
|
)
|
|
97314
97337
|
))
|
|
97315
97338
|
),
|
|
97316
|
-
t.footer &&
|
|
97317
|
-
React__default.createElement(o.Footer, { className: b[UI.Footer], style: F == null ? void 0 : F[UI.Footer], role: "status", "aria-live": "polite" }, t.footer)
|
|
97339
|
+
t.footer && React__default.createElement(o.Footer, { className: b[UI.Footer], style: F == null ? void 0 : F[UI.Footer], role: "status", "aria-live": "polite" }, t.footer)
|
|
97318
97340
|
)
|
|
97319
97341
|
);
|
|
97320
97342
|
}
|