@voxket-ai/events-sdk 1.0.25 → 1.0.27
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/api/ApiClient.d.ts +1 -0
- package/dist/components/DynamicForm.d.ts +1 -1
- package/dist/events-sdk.js +1065 -879
- package/dist/events-sdk.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/events-sdk.js
CHANGED
|
@@ -85,6 +85,15 @@ var g = class {
|
|
|
85
85
|
body: JSON.stringify(e)
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
+
async verifyPayment(e) {
|
|
89
|
+
return this.fetchApi("/api/payments/verify/", {
|
|
90
|
+
method: "POST",
|
|
91
|
+
body: JSON.stringify({
|
|
92
|
+
slug: this.slug,
|
|
93
|
+
registration_number: e
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
}
|
|
88
97
|
async trackProgress(e) {
|
|
89
98
|
return this.fetchApi(`/api/public/events/${this.slug}/track/`, {
|
|
90
99
|
method: "POST",
|
|
@@ -396,15 +405,15 @@ function D(e, t = {}) {
|
|
|
396
405
|
}
|
|
397
406
|
//#endregion
|
|
398
407
|
//#region node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
399
|
-
var
|
|
408
|
+
var O = (e) => {
|
|
400
409
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
401
410
|
return !1;
|
|
402
|
-
},
|
|
411
|
+
}, ee = n({}), k = () => o(ee), A = i(({ color: e, size: t, width: n, height: i, strokeWidth: a, absoluteStrokeWidth: o, nonScalingStroke: s, className: c = "", children: l, iconNode: u = [], icon: d = {
|
|
403
412
|
node: u,
|
|
404
413
|
aliases: [],
|
|
405
414
|
size: 24
|
|
406
415
|
}, ...f }, p) => {
|
|
407
|
-
let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } =
|
|
416
|
+
let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = k() ?? {}, b = !!l || O(f), [x, S, w = []] = D(d, {
|
|
408
417
|
color: e ?? v,
|
|
409
418
|
width: n ?? t ?? m,
|
|
410
419
|
height: i ?? t ?? m,
|
|
@@ -422,8 +431,8 @@ var ee = (e) => {
|
|
|
422
431
|
});
|
|
423
432
|
//#endregion
|
|
424
433
|
//#region node_modules/lucide-react/dist/esm/createLucideIcon.mjs
|
|
425
|
-
function
|
|
426
|
-
let a = typeof e == "string" ? b(e, t, n) : e, o = i(({ className: e, ...t }, n) => r(
|
|
434
|
+
function j(e, t = [], n = []) {
|
|
435
|
+
let a = typeof e == "string" ? b(e, t, n) : e, o = i(({ className: e, ...t }, n) => r(A, {
|
|
427
436
|
ref: n,
|
|
428
437
|
icon: a,
|
|
429
438
|
className: e,
|
|
@@ -433,7 +442,7 @@ function k(e, t = [], n = []) {
|
|
|
433
442
|
}
|
|
434
443
|
//#endregion
|
|
435
444
|
//#region node_modules/lucide-react/dist/esm/icons/arrow-left.mjs
|
|
436
|
-
var
|
|
445
|
+
var M = {
|
|
437
446
|
name: "arrow-left",
|
|
438
447
|
size: 24,
|
|
439
448
|
node: [["path", {
|
|
@@ -444,8 +453,8 @@ var A = {
|
|
|
444
453
|
key: "x3x0zl"
|
|
445
454
|
}]]
|
|
446
455
|
};
|
|
447
|
-
|
|
448
|
-
var
|
|
456
|
+
M.node;
|
|
457
|
+
var te = j(M), ne = {
|
|
449
458
|
name: "arrow-right",
|
|
450
459
|
size: 24,
|
|
451
460
|
node: [["path", {
|
|
@@ -456,8 +465,8 @@ var re = k(A), j = {
|
|
|
456
465
|
key: "xquz4c"
|
|
457
466
|
}]]
|
|
458
467
|
};
|
|
459
|
-
|
|
460
|
-
var
|
|
468
|
+
ne.node;
|
|
469
|
+
var re = j(ne), N = {
|
|
461
470
|
name: "briefcase",
|
|
462
471
|
size: 24,
|
|
463
472
|
node: [["path", {
|
|
@@ -472,8 +481,8 @@ var ie = k(j), ae = {
|
|
|
472
481
|
key: "i6l2r4"
|
|
473
482
|
}]]
|
|
474
483
|
};
|
|
475
|
-
|
|
476
|
-
var
|
|
484
|
+
N.node;
|
|
485
|
+
var ie = j(N), P = {
|
|
477
486
|
name: "building-complex",
|
|
478
487
|
size: 24,
|
|
479
488
|
node: [
|
|
@@ -500,8 +509,8 @@ var M = k(ae), oe = {
|
|
|
500
509
|
],
|
|
501
510
|
aliases: ["building-2"]
|
|
502
511
|
};
|
|
503
|
-
|
|
504
|
-
var
|
|
512
|
+
P.node;
|
|
513
|
+
var ae = j(P), oe = {
|
|
505
514
|
name: "check",
|
|
506
515
|
size: 24,
|
|
507
516
|
node: [["path", {
|
|
@@ -509,8 +518,8 @@ var se = k(oe), ce = {
|
|
|
509
518
|
key: "1gmf2c"
|
|
510
519
|
}]]
|
|
511
520
|
};
|
|
512
|
-
|
|
513
|
-
var
|
|
521
|
+
oe.node;
|
|
522
|
+
var se = j(oe), ce = {
|
|
514
523
|
name: "chevron-down",
|
|
515
524
|
size: 24,
|
|
516
525
|
node: [["path", {
|
|
@@ -518,8 +527,8 @@ var le = k(ce), ue = {
|
|
|
518
527
|
key: "qrunsl"
|
|
519
528
|
}]]
|
|
520
529
|
};
|
|
521
|
-
|
|
522
|
-
var
|
|
530
|
+
ce.node;
|
|
531
|
+
var le = j(ce), ue = {
|
|
523
532
|
name: "circle-alert",
|
|
524
533
|
size: 24,
|
|
525
534
|
node: [
|
|
@@ -546,8 +555,8 @@ var de = k(ue), fe = {
|
|
|
546
555
|
],
|
|
547
556
|
aliases: ["alert-circle"]
|
|
548
557
|
};
|
|
549
|
-
|
|
550
|
-
var
|
|
558
|
+
ue.node;
|
|
559
|
+
var de = j(ue), fe = {
|
|
551
560
|
name: "circle-check-big",
|
|
552
561
|
size: 24,
|
|
553
562
|
node: [["path", {
|
|
@@ -559,8 +568,8 @@ var pe = k(fe), N = {
|
|
|
559
568
|
}]],
|
|
560
569
|
aliases: ["check-circle"]
|
|
561
570
|
};
|
|
562
|
-
|
|
563
|
-
var
|
|
571
|
+
fe.node;
|
|
572
|
+
var F = j(fe), I = {
|
|
564
573
|
name: "clipboard-list",
|
|
565
574
|
size: 24,
|
|
566
575
|
node: [
|
|
@@ -595,8 +604,8 @@ var me = k(N), P = {
|
|
|
595
604
|
}]
|
|
596
605
|
]
|
|
597
606
|
};
|
|
598
|
-
|
|
599
|
-
var
|
|
607
|
+
I.node;
|
|
608
|
+
var pe = j(I), L = {
|
|
600
609
|
name: "clock",
|
|
601
610
|
size: 24,
|
|
602
611
|
node: [["circle", {
|
|
@@ -609,8 +618,8 @@ var he = k(P), F = {
|
|
|
609
618
|
key: "mmk7yg"
|
|
610
619
|
}]]
|
|
611
620
|
};
|
|
612
|
-
|
|
613
|
-
var
|
|
621
|
+
L.node;
|
|
622
|
+
var me = j(L), R = {
|
|
614
623
|
name: "copy",
|
|
615
624
|
size: 24,
|
|
616
625
|
node: [["rect", {
|
|
@@ -626,8 +635,8 @@ var I = k(F), ge = {
|
|
|
626
635
|
key: "zix9uf"
|
|
627
636
|
}]]
|
|
628
637
|
};
|
|
629
|
-
|
|
630
|
-
var
|
|
638
|
+
R.node;
|
|
639
|
+
var he = j(R), ge = {
|
|
631
640
|
name: "credit-card",
|
|
632
641
|
size: 24,
|
|
633
642
|
node: [
|
|
@@ -652,8 +661,8 @@ var _e = k(ge), ve = {
|
|
|
652
661
|
}]
|
|
653
662
|
]
|
|
654
663
|
};
|
|
655
|
-
|
|
656
|
-
var
|
|
664
|
+
ge.node;
|
|
665
|
+
var _e = j(ge), z = {
|
|
657
666
|
name: "download",
|
|
658
667
|
size: 24,
|
|
659
668
|
node: [
|
|
@@ -671,8 +680,8 @@ var ye = k(ve), L = {
|
|
|
671
680
|
}]
|
|
672
681
|
]
|
|
673
682
|
};
|
|
674
|
-
|
|
675
|
-
var
|
|
683
|
+
z.node;
|
|
684
|
+
var ve = j(z), ye = {
|
|
676
685
|
name: "external-link",
|
|
677
686
|
size: 24,
|
|
678
687
|
node: [
|
|
@@ -690,8 +699,8 @@ var be = k(L), xe = {
|
|
|
690
699
|
}]
|
|
691
700
|
]
|
|
692
701
|
};
|
|
693
|
-
|
|
694
|
-
var
|
|
702
|
+
ye.node;
|
|
703
|
+
var be = j(ye), B = {
|
|
695
704
|
name: "file-text",
|
|
696
705
|
size: 24,
|
|
697
706
|
node: [
|
|
@@ -717,8 +726,8 @@ var Se = k(xe), Ce = {
|
|
|
717
726
|
}]
|
|
718
727
|
]
|
|
719
728
|
};
|
|
720
|
-
|
|
721
|
-
var
|
|
729
|
+
B.node;
|
|
730
|
+
var xe = j(B), Se = {
|
|
722
731
|
name: "folder-open",
|
|
723
732
|
size: 24,
|
|
724
733
|
node: [["path", {
|
|
@@ -726,8 +735,8 @@ var we = k(Ce), Te = {
|
|
|
726
735
|
key: "usdka0"
|
|
727
736
|
}]]
|
|
728
737
|
};
|
|
729
|
-
|
|
730
|
-
var
|
|
738
|
+
Se.node;
|
|
739
|
+
var Ce = j(Se), we = {
|
|
731
740
|
name: "graduation-cap",
|
|
732
741
|
size: 24,
|
|
733
742
|
node: [
|
|
@@ -745,8 +754,8 @@ var R = k(Te), z = {
|
|
|
745
754
|
}]
|
|
746
755
|
]
|
|
747
756
|
};
|
|
748
|
-
|
|
749
|
-
var
|
|
757
|
+
we.node;
|
|
758
|
+
var V = j(we), H = {
|
|
750
759
|
name: "id-card",
|
|
751
760
|
size: 24,
|
|
752
761
|
node: [
|
|
@@ -778,8 +787,8 @@ var B = k(z), V = {
|
|
|
778
787
|
}]
|
|
779
788
|
]
|
|
780
789
|
};
|
|
781
|
-
|
|
782
|
-
var
|
|
790
|
+
H.node;
|
|
791
|
+
var U = j(H), W = {
|
|
783
792
|
name: "info",
|
|
784
793
|
size: 24,
|
|
785
794
|
node: [
|
|
@@ -799,8 +808,8 @@ var H = k(V), U = {
|
|
|
799
808
|
}]
|
|
800
809
|
]
|
|
801
810
|
};
|
|
802
|
-
|
|
803
|
-
var
|
|
811
|
+
W.node;
|
|
812
|
+
var G = j(W), Te = {
|
|
804
813
|
name: "key-round",
|
|
805
814
|
size: 24,
|
|
806
815
|
node: [["path", {
|
|
@@ -814,8 +823,8 @@ var Ee = k(U), W = {
|
|
|
814
823
|
key: "w0ekpg"
|
|
815
824
|
}]]
|
|
816
825
|
};
|
|
817
|
-
|
|
818
|
-
var
|
|
826
|
+
Te.node;
|
|
827
|
+
var Ee = j(Te), K = {
|
|
819
828
|
name: "key",
|
|
820
829
|
size: 24,
|
|
821
830
|
node: [
|
|
@@ -836,7 +845,7 @@ var G = k(W), K = {
|
|
|
836
845
|
]
|
|
837
846
|
};
|
|
838
847
|
K.node;
|
|
839
|
-
var
|
|
848
|
+
var q = j(K), J = {
|
|
840
849
|
name: "lock",
|
|
841
850
|
size: 24,
|
|
842
851
|
node: [["rect", {
|
|
@@ -852,8 +861,8 @@ var De = k(K), q = {
|
|
|
852
861
|
key: "fwvmzm"
|
|
853
862
|
}]]
|
|
854
863
|
};
|
|
855
|
-
|
|
856
|
-
var
|
|
864
|
+
J.node;
|
|
865
|
+
var De = j(J), Y = {
|
|
857
866
|
name: "log-in",
|
|
858
867
|
size: 24,
|
|
859
868
|
node: [
|
|
@@ -872,7 +881,7 @@ var J = k(q), Y = {
|
|
|
872
881
|
]
|
|
873
882
|
};
|
|
874
883
|
Y.node;
|
|
875
|
-
var Oe =
|
|
884
|
+
var Oe = j(Y), X = {
|
|
876
885
|
name: "log-out",
|
|
877
886
|
size: 24,
|
|
878
887
|
node: [
|
|
@@ -890,8 +899,8 @@ var Oe = k(Y), ke = {
|
|
|
890
899
|
}]
|
|
891
900
|
]
|
|
892
901
|
};
|
|
893
|
-
|
|
894
|
-
var
|
|
902
|
+
X.node;
|
|
903
|
+
var ke = j(X), Ae = {
|
|
895
904
|
name: "mail",
|
|
896
905
|
size: 24,
|
|
897
906
|
node: [["path", {
|
|
@@ -906,8 +915,8 @@ var Ae = k(ke), je = {
|
|
|
906
915
|
key: "izxlao"
|
|
907
916
|
}]]
|
|
908
917
|
};
|
|
909
|
-
|
|
910
|
-
var
|
|
918
|
+
Ae.node;
|
|
919
|
+
var je = j(Ae), Me = {
|
|
911
920
|
name: "map-pin",
|
|
912
921
|
size: 24,
|
|
913
922
|
node: [["path", {
|
|
@@ -920,8 +929,8 @@ var Me = k(je), Ne = {
|
|
|
920
929
|
key: "ilqhr7"
|
|
921
930
|
}]]
|
|
922
931
|
};
|
|
923
|
-
|
|
924
|
-
var
|
|
932
|
+
Me.node;
|
|
933
|
+
var Ne = j(Me), Pe = {
|
|
925
934
|
name: "maximize-2",
|
|
926
935
|
size: 24,
|
|
927
936
|
node: [
|
|
@@ -943,8 +952,8 @@ var Pe = k(Ne), X = {
|
|
|
943
952
|
}]
|
|
944
953
|
]
|
|
945
954
|
};
|
|
946
|
-
|
|
947
|
-
var Fe =
|
|
955
|
+
Pe.node;
|
|
956
|
+
var Fe = j(Pe), Ie = {
|
|
948
957
|
name: "minimize-2",
|
|
949
958
|
size: 24,
|
|
950
959
|
node: [
|
|
@@ -967,7 +976,7 @@ var Fe = k(X), Ie = {
|
|
|
967
976
|
]
|
|
968
977
|
};
|
|
969
978
|
Ie.node;
|
|
970
|
-
var Le =
|
|
979
|
+
var Le = j(Ie), Re = {
|
|
971
980
|
name: "move",
|
|
972
981
|
size: 24,
|
|
973
982
|
node: [
|
|
@@ -997,8 +1006,8 @@ var Le = k(Ie), Z = {
|
|
|
997
1006
|
}]
|
|
998
1007
|
]
|
|
999
1008
|
};
|
|
1000
|
-
|
|
1001
|
-
var
|
|
1009
|
+
Re.node;
|
|
1010
|
+
var ze = j(Re), Be = {
|
|
1002
1011
|
name: "package-check",
|
|
1003
1012
|
size: 24,
|
|
1004
1013
|
node: [
|
|
@@ -1024,8 +1033,8 @@ var Re = k(Z), Q = {
|
|
|
1024
1033
|
}]
|
|
1025
1034
|
]
|
|
1026
1035
|
};
|
|
1027
|
-
|
|
1028
|
-
var
|
|
1036
|
+
Be.node;
|
|
1037
|
+
var Z = j(Be), Q = {
|
|
1029
1038
|
name: "phone",
|
|
1030
1039
|
size: 24,
|
|
1031
1040
|
node: [["path", {
|
|
@@ -1033,8 +1042,8 @@ var ze = k(Q), Be = {
|
|
|
1033
1042
|
key: "9njp5v"
|
|
1034
1043
|
}]]
|
|
1035
1044
|
};
|
|
1036
|
-
|
|
1037
|
-
var Ve =
|
|
1045
|
+
Q.node;
|
|
1046
|
+
var Ve = j(Q), He = {
|
|
1038
1047
|
name: "receipt",
|
|
1039
1048
|
size: 24,
|
|
1040
1049
|
node: [
|
|
@@ -1053,7 +1062,7 @@ var Ve = k(Be), He = {
|
|
|
1053
1062
|
]
|
|
1054
1063
|
};
|
|
1055
1064
|
He.node;
|
|
1056
|
-
var Ue =
|
|
1065
|
+
var Ue = j(He), We = {
|
|
1057
1066
|
name: "search",
|
|
1058
1067
|
size: 24,
|
|
1059
1068
|
node: [["path", {
|
|
@@ -1067,7 +1076,7 @@ var Ue = k(He), We = {
|
|
|
1067
1076
|
}]]
|
|
1068
1077
|
};
|
|
1069
1078
|
We.node;
|
|
1070
|
-
var Ge =
|
|
1079
|
+
var Ge = j(We), Ke = {
|
|
1071
1080
|
name: "sparkles",
|
|
1072
1081
|
size: 24,
|
|
1073
1082
|
node: [
|
|
@@ -1093,7 +1102,7 @@ var Ge = k(We), Ke = {
|
|
|
1093
1102
|
aliases: ["stars"]
|
|
1094
1103
|
};
|
|
1095
1104
|
Ke.node;
|
|
1096
|
-
var qe =
|
|
1105
|
+
var qe = j(Ke), Je = {
|
|
1097
1106
|
name: "ticket",
|
|
1098
1107
|
size: 24,
|
|
1099
1108
|
node: [
|
|
@@ -1116,7 +1125,7 @@ var qe = k(Ke), Je = {
|
|
|
1116
1125
|
]
|
|
1117
1126
|
};
|
|
1118
1127
|
Je.node;
|
|
1119
|
-
var Ye =
|
|
1128
|
+
var Ye = j(Je), Xe = {
|
|
1120
1129
|
name: "trash",
|
|
1121
1130
|
size: 24,
|
|
1122
1131
|
node: [
|
|
@@ -1144,7 +1153,7 @@ var Ye = k(Je), Xe = {
|
|
|
1144
1153
|
aliases: ["trash-2"]
|
|
1145
1154
|
};
|
|
1146
1155
|
Xe.node;
|
|
1147
|
-
var Ze =
|
|
1156
|
+
var Ze = j(Xe), Qe = {
|
|
1148
1157
|
name: "upload",
|
|
1149
1158
|
size: 24,
|
|
1150
1159
|
node: [
|
|
@@ -1163,7 +1172,7 @@ var Ze = k(Xe), Qe = {
|
|
|
1163
1172
|
]
|
|
1164
1173
|
};
|
|
1165
1174
|
Qe.node;
|
|
1166
|
-
var $e =
|
|
1175
|
+
var $e = j(Qe), et = {
|
|
1167
1176
|
name: "user-plus",
|
|
1168
1177
|
size: 24,
|
|
1169
1178
|
node: [
|
|
@@ -1194,7 +1203,7 @@ var $e = k(Qe), et = {
|
|
|
1194
1203
|
]
|
|
1195
1204
|
};
|
|
1196
1205
|
et.node;
|
|
1197
|
-
var tt =
|
|
1206
|
+
var tt = j(et), nt = {
|
|
1198
1207
|
name: "user",
|
|
1199
1208
|
size: 24,
|
|
1200
1209
|
node: [["path", {
|
|
@@ -1208,7 +1217,7 @@ var tt = k(et), nt = {
|
|
|
1208
1217
|
}]]
|
|
1209
1218
|
};
|
|
1210
1219
|
nt.node;
|
|
1211
|
-
var rt =
|
|
1220
|
+
var rt = j(nt), it = {
|
|
1212
1221
|
name: "users",
|
|
1213
1222
|
size: 24,
|
|
1214
1223
|
node: [
|
|
@@ -1233,7 +1242,7 @@ var rt = k(nt), it = {
|
|
|
1233
1242
|
]
|
|
1234
1243
|
};
|
|
1235
1244
|
it.node;
|
|
1236
|
-
var at =
|
|
1245
|
+
var at = j(it), ot = {
|
|
1237
1246
|
name: "x",
|
|
1238
1247
|
size: 24,
|
|
1239
1248
|
node: [["path", {
|
|
@@ -1245,7 +1254,7 @@ var at = k(it), ot = {
|
|
|
1245
1254
|
}]]
|
|
1246
1255
|
};
|
|
1247
1256
|
ot.node;
|
|
1248
|
-
var st =
|
|
1257
|
+
var st = j(ot), $ = { fontFamily: "var(--vx-font-heading)" }, ct = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i;
|
|
1249
1258
|
function lt(e) {
|
|
1250
1259
|
let t = e, n = typeof e == "string" ? e : t?.serve_url || t?.url || t?.id || "";
|
|
1251
1260
|
return String(n || "").match(ct)?.[0] || "";
|
|
@@ -1272,63 +1281,82 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1272
1281
|
"name",
|
|
1273
1282
|
"email",
|
|
1274
1283
|
"phone"
|
|
1275
|
-
]), pt = ({ schema: e, onSubmit: t, onBack: n, theme: r, displayMode: i, isExpanded: a, onToggleExpand: o, onClose: c, onChange: l, initialValues: u,
|
|
1276
|
-
let [
|
|
1284
|
+
]), pt = ({ schema: e, onSubmit: t, onBack: n, theme: r, displayMode: i, isExpanded: a, onToggleExpand: o, onClose: c, onChange: l, initialValues: u, fileAnswers: h, isDark: g = !1, apiClient: _, storage: v, onError: y, onEvent: b, backgroundStyle: x, ticketType: S, showReviewFields: C = !1 }) => {
|
|
1285
|
+
let [w, T] = d(u || {}), [E, D] = d(null), [O, ee] = d(null), [k, A] = d({}), [j, M] = d({}), [ne, N] = d(null), [ie, P] = d(null), [ae, oe] = d({}), [ce, ue] = d({}), [de, fe] = d({}), F = r?.primaryColor || "#c026d3";
|
|
1277
1286
|
s(() => {
|
|
1278
1287
|
if (u && Object.keys(u).length > 0) {
|
|
1279
|
-
|
|
1288
|
+
T((e) => ({
|
|
1280
1289
|
...u,
|
|
1281
1290
|
...e
|
|
1282
1291
|
}));
|
|
1283
|
-
let t = {}, n = {};
|
|
1284
|
-
|
|
1292
|
+
let t = {}, n = {}, r = e?.fields || [];
|
|
1293
|
+
r.forEach((e) => {
|
|
1285
1294
|
if (e.type === "file") {
|
|
1286
1295
|
let r = u[e.id];
|
|
1287
1296
|
r && (String(r).startsWith("http://") || String(r).startsWith("https://") ? (n[e.id] = String(r), lt(r) && (t[e.id] = lt(r))) : t[e.id] = String(r));
|
|
1288
1297
|
}
|
|
1289
|
-
}), Object.keys(t).length > 0 &&
|
|
1298
|
+
}), Object.keys(t).length > 0 && A((e) => ({
|
|
1290
1299
|
...t,
|
|
1291
1300
|
...e
|
|
1292
|
-
})), Object.keys(n).length > 0 &&
|
|
1301
|
+
})), Object.keys(n).length > 0 && M((e) => ({
|
|
1293
1302
|
...n,
|
|
1294
1303
|
...e
|
|
1295
|
-
}))
|
|
1304
|
+
})), r.forEach((e) => {
|
|
1305
|
+
let t = h?.[e.id];
|
|
1306
|
+
t?.text ? (fe((n) => ({
|
|
1307
|
+
[e.id]: t.text,
|
|
1308
|
+
...n
|
|
1309
|
+
})), ue((n) => ({
|
|
1310
|
+
[e.id]: t.text,
|
|
1311
|
+
...n
|
|
1312
|
+
})), oe((t) => ({
|
|
1313
|
+
[e.id]: "text",
|
|
1314
|
+
...t
|
|
1315
|
+
}))) : t?.serve_url && M((n) => ({
|
|
1316
|
+
[e.id]: t.serve_url,
|
|
1317
|
+
...n
|
|
1318
|
+
}));
|
|
1319
|
+
});
|
|
1296
1320
|
}
|
|
1297
|
-
}, [
|
|
1298
|
-
|
|
1299
|
-
|
|
1321
|
+
}, [
|
|
1322
|
+
u,
|
|
1323
|
+
e,
|
|
1324
|
+
h
|
|
1325
|
+
]);
|
|
1326
|
+
let I = (e, t) => {
|
|
1327
|
+
T((n) => {
|
|
1300
1328
|
let r = {
|
|
1301
1329
|
...n,
|
|
1302
1330
|
[e]: t
|
|
1303
1331
|
};
|
|
1304
1332
|
return l?.(r), r;
|
|
1305
1333
|
});
|
|
1306
|
-
},
|
|
1307
|
-
if (!
|
|
1308
|
-
|
|
1309
|
-
let r =
|
|
1334
|
+
}, pe = async (t, n) => {
|
|
1335
|
+
if (!_) return;
|
|
1336
|
+
D(t), N(null), P(null);
|
|
1337
|
+
let r = v?.getToken?.() || null, i = k[t], a = (e?.fields || []).find((e) => e.id === t);
|
|
1310
1338
|
try {
|
|
1311
|
-
let e = await
|
|
1339
|
+
let e = await _.uploadFile(n, r, r ? null : R(), a?.label), o = e?.data?.asset_id || e?.asset_id, s = e?.data?.serve_url || e?.serve_url;
|
|
1312
1340
|
if (!o && !s) throw Error("Upload response missing asset_id");
|
|
1313
1341
|
let c = String(o || lt(s)), u = String(s || "");
|
|
1314
|
-
if (
|
|
1342
|
+
if (A((e) => ({
|
|
1315
1343
|
...e,
|
|
1316
1344
|
[t]: c
|
|
1317
|
-
})), u &&
|
|
1345
|
+
})), u && M((e) => ({
|
|
1318
1346
|
...e,
|
|
1319
1347
|
[t]: u
|
|
1320
|
-
})),
|
|
1348
|
+
})), T((e) => {
|
|
1321
1349
|
let n = {
|
|
1322
1350
|
...e,
|
|
1323
1351
|
[t]: u || c
|
|
1324
1352
|
};
|
|
1325
1353
|
return l?.(n), n;
|
|
1326
|
-
}),
|
|
1354
|
+
}), b?.("file_uploaded", {
|
|
1327
1355
|
fieldId: t,
|
|
1328
1356
|
assetId: c,
|
|
1329
1357
|
serveUrl: u
|
|
1330
1358
|
}), i && i !== c) try {
|
|
1331
|
-
await
|
|
1359
|
+
await _.deleteFile(lt(i) || i, r, r ? null : R()), b?.("file_deleted", {
|
|
1332
1360
|
fieldId: t,
|
|
1333
1361
|
assetId: i
|
|
1334
1362
|
});
|
|
@@ -1337,35 +1365,35 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1337
1365
|
}
|
|
1338
1366
|
} catch (e) {
|
|
1339
1367
|
let n = e?.message || "File upload failed. Please try again.";
|
|
1340
|
-
|
|
1368
|
+
N(n), P(t), y?.({
|
|
1341
1369
|
type: "file_upload_error",
|
|
1342
1370
|
message: n,
|
|
1343
1371
|
error: e
|
|
1344
1372
|
});
|
|
1345
1373
|
} finally {
|
|
1346
|
-
|
|
1374
|
+
D(null);
|
|
1347
1375
|
}
|
|
1348
|
-
},
|
|
1349
|
-
if (!
|
|
1350
|
-
let t =
|
|
1351
|
-
ee(e),
|
|
1376
|
+
}, L = async (e) => {
|
|
1377
|
+
if (!_) return;
|
|
1378
|
+
let t = v?.getToken?.() || null, n = k[e] || w[e], r = lt(n) || n;
|
|
1379
|
+
ee(e), N(null), P(null);
|
|
1352
1380
|
try {
|
|
1353
|
-
r && (await
|
|
1381
|
+
r && (await _.deleteFile(r, t, t ? null : R()), b?.("file_deleted", {
|
|
1354
1382
|
fieldId: e,
|
|
1355
1383
|
assetId: r
|
|
1356
|
-
})),
|
|
1384
|
+
})), A((t) => {
|
|
1357
1385
|
let n = { ...t };
|
|
1358
1386
|
return delete n[e], n;
|
|
1359
|
-
}),
|
|
1387
|
+
}), M((t) => {
|
|
1360
1388
|
let n = { ...t };
|
|
1361
1389
|
return delete n[e], n;
|
|
1362
|
-
}),
|
|
1390
|
+
}), fe((t) => {
|
|
1363
1391
|
let n = { ...t };
|
|
1364
1392
|
return delete n[e], n;
|
|
1365
1393
|
}), ue((t) => {
|
|
1366
1394
|
let n = { ...t };
|
|
1367
1395
|
return delete n[e], n;
|
|
1368
|
-
}),
|
|
1396
|
+
}), T((t) => {
|
|
1369
1397
|
let n = {
|
|
1370
1398
|
...t,
|
|
1371
1399
|
[e]: ""
|
|
@@ -1374,7 +1402,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1374
1402
|
});
|
|
1375
1403
|
} catch (t) {
|
|
1376
1404
|
let n = t?.message || "Failed to delete file. Please try again.";
|
|
1377
|
-
|
|
1405
|
+
N(n), P(e), y?.({
|
|
1378
1406
|
type: "file_delete_error",
|
|
1379
1407
|
message: n,
|
|
1380
1408
|
error: t
|
|
@@ -1382,35 +1410,35 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1382
1410
|
} finally {
|
|
1383
1411
|
ee(null);
|
|
1384
1412
|
}
|
|
1385
|
-
},
|
|
1386
|
-
if (!
|
|
1387
|
-
|
|
1388
|
-
let r =
|
|
1413
|
+
}, me = async (t, n) => {
|
|
1414
|
+
if (!_ || !n.trim()) return;
|
|
1415
|
+
D(t), N(null), P(null);
|
|
1416
|
+
let r = v?.getToken?.() || null, i = k[t], a = (e?.fields || []).find((e) => e.id === t);
|
|
1389
1417
|
try {
|
|
1390
|
-
let e = await
|
|
1418
|
+
let e = await _.submitTextAnswer(n.trim(), r, r ? null : R(), a?.label), o = e?.data?.asset_id || e?.asset_id;
|
|
1391
1419
|
if (!o) throw Error("Submission response missing asset_id");
|
|
1392
1420
|
let s = String(o);
|
|
1393
|
-
if (
|
|
1421
|
+
if (A((e) => ({
|
|
1394
1422
|
...e,
|
|
1395
1423
|
[t]: s
|
|
1396
|
-
})),
|
|
1424
|
+
})), M((e) => {
|
|
1397
1425
|
let n = { ...e };
|
|
1398
1426
|
return delete n[t], n;
|
|
1399
|
-
}),
|
|
1427
|
+
}), fe((e) => ({
|
|
1400
1428
|
...e,
|
|
1401
1429
|
[t]: n.trim()
|
|
1402
|
-
})),
|
|
1430
|
+
})), T((e) => {
|
|
1403
1431
|
let n = {
|
|
1404
1432
|
...e,
|
|
1405
1433
|
[t]: s
|
|
1406
1434
|
};
|
|
1407
1435
|
return l?.(n), n;
|
|
1408
|
-
}),
|
|
1436
|
+
}), b?.("file_uploaded", {
|
|
1409
1437
|
fieldId: t,
|
|
1410
1438
|
assetId: s,
|
|
1411
1439
|
isText: !0
|
|
1412
1440
|
}), i && i !== s) try {
|
|
1413
|
-
await
|
|
1441
|
+
await _.deleteFile(lt(i) || i, r, r ? null : R()), b?.("file_deleted", {
|
|
1414
1442
|
fieldId: t,
|
|
1415
1443
|
assetId: i
|
|
1416
1444
|
});
|
|
@@ -1419,88 +1447,88 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1419
1447
|
}
|
|
1420
1448
|
} catch (e) {
|
|
1421
1449
|
let n = e?.message || "Could not submit your answer. Please try again.";
|
|
1422
|
-
|
|
1450
|
+
N(n), P(t), y?.({
|
|
1423
1451
|
type: "file_upload_error",
|
|
1424
1452
|
message: n,
|
|
1425
1453
|
error: e
|
|
1426
1454
|
});
|
|
1427
1455
|
} finally {
|
|
1428
|
-
|
|
1456
|
+
D(null);
|
|
1429
1457
|
}
|
|
1430
|
-
},
|
|
1458
|
+
}, R = () => {
|
|
1431
1459
|
let t = (e?.fields || []).find((e) => e.type === "email" || (e.label || e.id || "").toLowerCase().includes("email"));
|
|
1432
|
-
return String(t &&
|
|
1433
|
-
},
|
|
1434
|
-
|
|
1460
|
+
return String(t && w[t.id] || w.email || "").trim();
|
|
1461
|
+
}, he = e?.fields || [], ge = Array.isArray(S?.items) ? S.items.filter((e) => e?.name) : [], _e = ge.filter((e) => e.mode === "optional"), z = ge.filter((e) => e.mode === "group"), ve = ge.filter((e) => e.mode !== "optional" && e.mode !== "group"), ye = z.flatMap((e) => e.options || []), B = Array.isArray(w.selected_items) ? w.selected_items : [], Se = (e, t = B) => (e.options || []).filter((e) => t.includes(e.name)).length, we = (e, t) => {
|
|
1462
|
+
T((n) => {
|
|
1435
1463
|
let r = Array.isArray(n.selected_items) ? n.selected_items : [], i = r.includes(e), a = Number(t?.max) || 0;
|
|
1436
|
-
if (!i && a &&
|
|
1464
|
+
if (!i && a && Se(t, r) >= a) return n;
|
|
1437
1465
|
let o = {
|
|
1438
1466
|
...n,
|
|
1439
1467
|
selected_items: i ? r.filter((t) => t !== e) : [...r, e]
|
|
1440
1468
|
};
|
|
1441
1469
|
return l?.(o), o;
|
|
1442
1470
|
});
|
|
1443
|
-
},
|
|
1444
|
-
|
|
1471
|
+
}, V = C ? null : S?.accompany_form_schema || null, H = V?.fields || [], U = Number(V?.price) || 0, W = Number(V?.max) || 0, Te = Array.isArray(w.accompanying) ? w.accompanying : [], Ee = !W || Te.length < W, K = (e) => {
|
|
1472
|
+
T((t) => {
|
|
1445
1473
|
let n = Array.isArray(t.accompanying) ? t.accompanying : [], r = {
|
|
1446
1474
|
...t,
|
|
1447
1475
|
accompanying: e(n)
|
|
1448
1476
|
};
|
|
1449
1477
|
return l?.(r), r;
|
|
1450
1478
|
});
|
|
1451
|
-
},
|
|
1479
|
+
}, q = () => K((e) => [...e, {
|
|
1452
1480
|
salutation: "",
|
|
1453
1481
|
name: "",
|
|
1454
1482
|
email: "",
|
|
1455
1483
|
phone: "",
|
|
1456
1484
|
custom_data: {}
|
|
1457
|
-
}]),
|
|
1485
|
+
}]), J = (e) => K((t) => t.filter((t, n) => n !== e)), De = (e) => ft.has(e.id) ? e.id : ut(e.id, e.label), Y = (e, t) => (ft.has(t.id) ? e[t.id] : (e.custom_data || {})[De(t)]) ?? "", Oe = (e, t, n) => K((r) => r.map((r, i) => i === e ? ft.has(t.id) ? {
|
|
1458
1486
|
...r,
|
|
1459
1487
|
[t.id]: n
|
|
1460
1488
|
} : {
|
|
1461
1489
|
...r,
|
|
1462
1490
|
custom_data: {
|
|
1463
1491
|
...r.custom_data || {},
|
|
1464
|
-
[
|
|
1492
|
+
[De(t)]: n
|
|
1465
1493
|
}
|
|
1466
|
-
} : r)),
|
|
1467
|
-
if (!
|
|
1468
|
-
let r =
|
|
1469
|
-
|
|
1494
|
+
} : r)), X = (e, t) => `guest:${e}:${t.id}`, ke = async (e, t, n) => {
|
|
1495
|
+
if (!_) return;
|
|
1496
|
+
let r = X(e, t);
|
|
1497
|
+
D(r), N(null), P(null);
|
|
1470
1498
|
try {
|
|
1471
|
-
let i =
|
|
1499
|
+
let i = v?.getToken?.() || null, a = await _.uploadFile(n, i, i ? null : R(), t.label), o = a?.data?.serve_url || a?.serve_url || "", s = a?.data?.asset_id || a?.asset_id || "";
|
|
1472
1500
|
if (!o && !s) throw Error("Upload response missing asset_id");
|
|
1473
|
-
|
|
1501
|
+
Oe(e, t, String(o || s)), b?.("file_uploaded", {
|
|
1474
1502
|
fieldId: r,
|
|
1475
1503
|
assetId: s,
|
|
1476
1504
|
serveUrl: o
|
|
1477
1505
|
});
|
|
1478
1506
|
} catch (e) {
|
|
1479
1507
|
let t = e?.message || "File upload failed. Please try again.";
|
|
1480
|
-
|
|
1508
|
+
N(t), P(r), y?.({
|
|
1481
1509
|
type: "file_upload_error",
|
|
1482
1510
|
message: t,
|
|
1483
1511
|
error: e
|
|
1484
1512
|
});
|
|
1485
1513
|
} finally {
|
|
1486
|
-
|
|
1514
|
+
D(null);
|
|
1487
1515
|
}
|
|
1488
1516
|
}, Ae = async (e, t) => {
|
|
1489
|
-
if (!
|
|
1490
|
-
let n =
|
|
1491
|
-
ee(n),
|
|
1517
|
+
if (!_) return;
|
|
1518
|
+
let n = X(e, t), r = Y(Te[e] || {}, t), i = lt(r) || r;
|
|
1519
|
+
ee(n), N(null), P(null);
|
|
1492
1520
|
try {
|
|
1493
1521
|
if (i) {
|
|
1494
|
-
let e =
|
|
1495
|
-
await
|
|
1522
|
+
let e = v?.getToken?.() || null;
|
|
1523
|
+
await _.deleteFile(i, e, e ? null : R()), b?.("file_deleted", {
|
|
1496
1524
|
fieldId: n,
|
|
1497
1525
|
assetId: i
|
|
1498
1526
|
});
|
|
1499
1527
|
}
|
|
1500
|
-
|
|
1528
|
+
Oe(e, t, "");
|
|
1501
1529
|
} catch (e) {
|
|
1502
1530
|
let t = e?.message || "Failed to delete file. Please try again.";
|
|
1503
|
-
|
|
1531
|
+
N(t), P(n), y?.({
|
|
1504
1532
|
type: "file_delete_error",
|
|
1505
1533
|
message: t,
|
|
1506
1534
|
error: e
|
|
@@ -1514,12 +1542,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1514
1542
|
let t = (e.label || e.id || "").toLowerCase(), n = e.type;
|
|
1515
1543
|
return n === "email" || t.includes("email") || t.includes("mail") ? "Please enter a valid email address. Your abstract acknowledgement, review updates, and final communication will be sent to this mailbox." : n === "phone" || t.includes("phone") || t.includes("mobile") || t.includes("contact") ? "Please enter a valid mobile number for SMS confirmations and important notifications." : t.includes("council") || t.includes("registration no") || t.includes("mci") ? "Enter your State Medical Council or National Medical Commission registration number." : n === "file" || t.includes("file") || t.includes("upload") || t.includes("bonafide") || t.includes("abstract") ? "Upload your document (PDF, JPG, PNG up to 10MB) for registration review and verification." : t.includes("salutation") || t.includes("title") ? "Choose your professional title or academic prefix." : null;
|
|
1516
1544
|
}, Me = (e) => {
|
|
1517
|
-
let t =
|
|
1545
|
+
let t = j[e.id] || (w[e.id] && String(w[e.id]).startsWith("http") ? w[e.id] : ""), n = de[e.id], r = ae[e.id] || "file", i = E === e.id || O === e.id, a = ce[e.id] || "", o = a.trim() ? a.trim().split(/\s+/).length : 0, s = !!e.word_limit && o > e.word_limit;
|
|
1518
1546
|
return /* @__PURE__ */ p("div", {
|
|
1519
1547
|
className: "space-y-2 mt-2",
|
|
1520
1548
|
children: /* @__PURE__ */ m("div", {
|
|
1521
1549
|
part: "upload",
|
|
1522
|
-
className: `p-4 sm:p-5 rounded-2xl border border-dashed transition-all ${
|
|
1550
|
+
className: `p-4 sm:p-5 rounded-2xl border border-dashed transition-all ${g ? "bg-zinc-850/80 border-zinc-700 hover:border-zinc-600" : "bg-slate-50 border-slate-300 hover:border-[color-mix(in_srgb,var(--vx-accent)_45%,transparent)]"}`,
|
|
1523
1551
|
children: [
|
|
1524
1552
|
/* @__PURE__ */ m("div", {
|
|
1525
1553
|
className: "flex items-center justify-between gap-3 flex-wrap",
|
|
@@ -1528,31 +1556,31 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1528
1556
|
children: [/* @__PURE__ */ p("div", {
|
|
1529
1557
|
className: "w-10 h-10 rounded-xl flex items-center justify-center shrink-0 border",
|
|
1530
1558
|
style: {
|
|
1531
|
-
backgroundColor:
|
|
1532
|
-
borderColor:
|
|
1533
|
-
color:
|
|
1559
|
+
backgroundColor: g ? "rgba(255,255,255,0.06)" : `color-mix(in srgb, ${F} 10%, white)`,
|
|
1560
|
+
borderColor: g ? "rgba(255,255,255,0.12)" : `color-mix(in srgb, ${F} 25%, white)`,
|
|
1561
|
+
color: F
|
|
1534
1562
|
},
|
|
1535
|
-
children: /* @__PURE__ */ p(
|
|
1563
|
+
children: /* @__PURE__ */ p(Ce, { size: 18 })
|
|
1536
1564
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
|
|
1537
|
-
className: `text-xs font-bold ${
|
|
1565
|
+
className: `text-xs font-bold ${g ? "text-zinc-200" : "text-gray-900"}`,
|
|
1538
1566
|
children: e.label
|
|
1539
1567
|
}), /* @__PURE__ */ p("p", {
|
|
1540
|
-
className: `text-2xs font-medium ${
|
|
1568
|
+
className: `text-2xs font-medium ${g ? "text-zinc-400" : "text-gray-500"}`,
|
|
1541
1569
|
children: t ? "Document attached successfully" : n ? "Text submitted successfully" : r === "file" ? "Click to choose or upload your document (PDF, JPG, PNG)" : "Enter your text below"
|
|
1542
1570
|
})] })]
|
|
1543
1571
|
}), /* @__PURE__ */ p("button", {
|
|
1544
1572
|
type: "button",
|
|
1545
1573
|
disabled: i,
|
|
1546
|
-
onClick: () =>
|
|
1574
|
+
onClick: () => oe((t) => ({
|
|
1547
1575
|
...t,
|
|
1548
1576
|
[e.id]: r === "file" ? "text" : "file"
|
|
1549
1577
|
})),
|
|
1550
1578
|
className: "flex items-center gap-1 text-2xs font-semibold px-2.5 py-1 rounded-lg border cursor-pointer transition-colors hover:opacity-80 disabled:opacity-50 shrink-0",
|
|
1551
1579
|
style: {
|
|
1552
|
-
color:
|
|
1553
|
-
borderColor: `color-mix(in srgb, ${
|
|
1580
|
+
color: F,
|
|
1581
|
+
borderColor: `color-mix(in srgb, ${F} 35%, transparent)`
|
|
1554
1582
|
},
|
|
1555
|
-
children: r === "file" ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
1583
|
+
children: r === "file" ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(xe, { size: 11 }), " Send text only"] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p($e, { size: 11 }), " Send file"] })
|
|
1556
1584
|
})]
|
|
1557
1585
|
}),
|
|
1558
1586
|
r === "file" ? /* @__PURE__ */ m("div", {
|
|
@@ -1567,36 +1595,36 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1567
1595
|
disabled: i,
|
|
1568
1596
|
onChange: (t) => {
|
|
1569
1597
|
let n = t.target.files?.[0];
|
|
1570
|
-
n &&
|
|
1598
|
+
n && pe(e.id, n), t.target.value = "";
|
|
1571
1599
|
}
|
|
1572
1600
|
}), /* @__PURE__ */ m("div", {
|
|
1573
|
-
className: `flex items-center gap-1.5 py-2 px-3.5 rounded-xl text-xs font-semibold border transition-all shadow-2xs ${
|
|
1601
|
+
className: `flex items-center gap-1.5 py-2 px-3.5 rounded-xl text-xs font-semibold border transition-all shadow-2xs ${g ? "border-zinc-700 hover:border-zinc-600 text-zinc-200 bg-zinc-800 hover:bg-zinc-750" : "border-slate-200 hover:border-slate-300 text-slate-700 bg-white hover:bg-slate-50"}`,
|
|
1574
1602
|
children: [/* @__PURE__ */ p($e, {
|
|
1575
1603
|
size: 14,
|
|
1576
|
-
style: { color:
|
|
1577
|
-
}), /* @__PURE__ */ p("span", { children:
|
|
1604
|
+
style: { color: F }
|
|
1605
|
+
}), /* @__PURE__ */ p("span", { children: E === e.id ? "Uploading..." : t ? "Replace File" : "Choose File" })]
|
|
1578
1606
|
})]
|
|
1579
1607
|
}), t && typeof t == "string" && t.trim() !== "" && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("button", {
|
|
1580
1608
|
type: "button",
|
|
1581
1609
|
onClick: () => window.open(t, "_blank", "noopener,noreferrer"),
|
|
1582
1610
|
className: "flex items-center gap-1.5 py-2 px-3.5 rounded-xl text-xs font-semibold text-white shadow-xs transition-opacity hover:opacity-90 shrink-0 cursor-pointer",
|
|
1583
|
-
style: { backgroundColor:
|
|
1611
|
+
style: { backgroundColor: F },
|
|
1584
1612
|
title: "Open file in new tab",
|
|
1585
1613
|
children: [
|
|
1586
|
-
/* @__PURE__ */ p(
|
|
1614
|
+
/* @__PURE__ */ p(xe, { size: 13 }),
|
|
1587
1615
|
/* @__PURE__ */ p("span", { children: "View" }),
|
|
1588
|
-
/* @__PURE__ */ p(
|
|
1616
|
+
/* @__PURE__ */ p(be, { size: 11 })
|
|
1589
1617
|
]
|
|
1590
1618
|
}), /* @__PURE__ */ m("button", {
|
|
1591
1619
|
type: "button",
|
|
1592
|
-
disabled:
|
|
1593
|
-
onClick: () =>
|
|
1594
|
-
className: `flex items-center gap-1 py-2 px-3 rounded-xl text-xs font-semibold border transition-colors cursor-pointer ${
|
|
1620
|
+
disabled: O === e.id || E === e.id,
|
|
1621
|
+
onClick: () => L(e.id),
|
|
1622
|
+
className: `flex items-center gap-1 py-2 px-3 rounded-xl text-xs font-semibold border transition-colors cursor-pointer ${g ? "border-red-900/60 bg-red-950/50 text-red-400 hover:bg-red-900/60" : "border-red-200 bg-red-50 text-red-600 hover:bg-red-100"}`,
|
|
1595
1623
|
title: "Delete uploaded file",
|
|
1596
|
-
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children:
|
|
1624
|
+
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: O === e.id ? "Deleting..." : "Delete" })]
|
|
1597
1625
|
})] })]
|
|
1598
1626
|
}) : /* @__PURE__ */ m("div", {
|
|
1599
|
-
className: `mt-3 pt-3 border-t space-y-2 ${
|
|
1627
|
+
className: `mt-3 pt-3 border-t space-y-2 ${g ? "border-zinc-800" : "border-slate-200"}`,
|
|
1600
1628
|
children: [/* @__PURE__ */ p("textarea", {
|
|
1601
1629
|
part: "input textarea",
|
|
1602
1630
|
rows: 3,
|
|
@@ -1607,11 +1635,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1607
1635
|
[e.id]: t.target.value
|
|
1608
1636
|
})),
|
|
1609
1637
|
placeholder: "Enter your answer...",
|
|
1610
|
-
className: `w-full px-3 py-2 text-sm rounded-xl border focus:outline-none transition-all disabled:opacity-70 ${
|
|
1638
|
+
className: `w-full px-3 py-2 text-sm rounded-xl border focus:outline-none transition-all disabled:opacity-70 ${g ? "bg-zinc-900 border-zinc-700 text-white placeholder-zinc-500" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)]"}`
|
|
1611
1639
|
}), /* @__PURE__ */ m("div", {
|
|
1612
1640
|
className: "flex items-center justify-between gap-2",
|
|
1613
1641
|
children: [e.word_limit ? /* @__PURE__ */ m("span", {
|
|
1614
|
-
className: `text-2xs font-medium ${s ? "text-red-500" :
|
|
1642
|
+
className: `text-2xs font-medium ${s ? "text-red-500" : g ? "text-zinc-500" : "text-gray-500"}`,
|
|
1615
1643
|
children: [
|
|
1616
1644
|
o,
|
|
1617
1645
|
"/",
|
|
@@ -1621,22 +1649,22 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1621
1649
|
}) : /* @__PURE__ */ p("span", {}), n ? /* @__PURE__ */ m("button", {
|
|
1622
1650
|
type: "button",
|
|
1623
1651
|
disabled: i,
|
|
1624
|
-
onClick: () =>
|
|
1625
|
-
className: `flex items-center gap-1 py-2 px-3 rounded-xl text-xs font-semibold border transition-colors cursor-pointer ${
|
|
1626
|
-
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children:
|
|
1652
|
+
onClick: () => L(e.id),
|
|
1653
|
+
className: `flex items-center gap-1 py-2 px-3 rounded-xl text-xs font-semibold border transition-colors cursor-pointer ${g ? "border-red-900/60 bg-red-950/50 text-red-400 hover:bg-red-900/60" : "border-red-200 bg-red-50 text-red-600 hover:bg-red-100"}`,
|
|
1654
|
+
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: O === e.id ? "Clearing..." : "Clear & Re-enter" })]
|
|
1627
1655
|
}) : /* @__PURE__ */ m("button", {
|
|
1628
1656
|
type: "button",
|
|
1629
1657
|
disabled: i || !a.trim(),
|
|
1630
|
-
onClick: () =>
|
|
1631
|
-
style: { backgroundColor:
|
|
1658
|
+
onClick: () => me(e.id, a),
|
|
1659
|
+
style: { backgroundColor: F },
|
|
1632
1660
|
className: "flex items-center gap-1.5 px-4 py-2 rounded-xl text-xs font-bold text-white shadow-sm hover:opacity-90 transition-all cursor-pointer disabled:opacity-50",
|
|
1633
|
-
children: [/* @__PURE__ */ p($e, { size: 13 }), /* @__PURE__ */ p("span", { children:
|
|
1661
|
+
children: [/* @__PURE__ */ p($e, { size: 13 }), /* @__PURE__ */ p("span", { children: E === e.id ? "Submitting..." : "Submit Text" })]
|
|
1634
1662
|
})]
|
|
1635
1663
|
})]
|
|
1636
1664
|
}),
|
|
1637
1665
|
t && /* @__PURE__ */ m("div", {
|
|
1638
|
-
className: `mt-2.5 pt-2 border-t text-2xs truncate flex items-center gap-1.5 ${
|
|
1639
|
-
children: [/* @__PURE__ */ p(
|
|
1666
|
+
className: `mt-2.5 pt-2 border-t text-2xs truncate flex items-center gap-1.5 ${g ? "border-zinc-800 text-zinc-300" : "border-gray-200 text-gray-700 font-medium"}`,
|
|
1667
|
+
children: [/* @__PURE__ */ p(se, {
|
|
1640
1668
|
size: 12,
|
|
1641
1669
|
className: "text-emerald-500 shrink-0"
|
|
1642
1670
|
}), /* @__PURE__ */ m("span", {
|
|
@@ -1644,16 +1672,16 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1644
1672
|
children: ["Attached: ", t]
|
|
1645
1673
|
})]
|
|
1646
1674
|
}),
|
|
1647
|
-
|
|
1675
|
+
ne && ie === e.id && /* @__PURE__ */ p("div", {
|
|
1648
1676
|
className: "text-xs text-red-500 mt-2 font-medium",
|
|
1649
|
-
children:
|
|
1677
|
+
children: ne
|
|
1650
1678
|
})
|
|
1651
1679
|
]
|
|
1652
1680
|
})
|
|
1653
1681
|
});
|
|
1654
1682
|
}, Ne = (e) => {
|
|
1655
1683
|
if (!e) return null;
|
|
1656
|
-
let t =
|
|
1684
|
+
let t = w[e.id] ?? "", n = je(e), r = e.type === "email" || (e.label || "").toLowerCase().includes("email"), i = (e.label || "").toLowerCase().includes("name"), a = `vx-field-${e.id}`, o = `w-full px-4 py-3 text-[15px] font-medium rounded-xl border transition-all focus:outline-none ${g ? "bg-zinc-900 border-zinc-700 text-white placeholder:text-zinc-500 hover:border-zinc-600 focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_20%,transparent)]" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 hover:border-slate-300 shadow-[0_1px_2px_rgba(15,23,42,0.04)] focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)]"}`;
|
|
1657
1685
|
return /* @__PURE__ */ m("div", {
|
|
1658
1686
|
part: "field",
|
|
1659
1687
|
className: "px-5 sm:px-8 py-5 sm:py-6",
|
|
@@ -1663,7 +1691,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1663
1691
|
children: /* @__PURE__ */ m("label", {
|
|
1664
1692
|
part: "field-label",
|
|
1665
1693
|
htmlFor: a,
|
|
1666
|
-
className: `block text-sm font-semibold ${
|
|
1694
|
+
className: `block text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
|
|
1667
1695
|
children: [e.label, e.required && /* @__PURE__ */ p("span", {
|
|
1668
1696
|
className: "text-red-500 font-semibold ml-0.5",
|
|
1669
1697
|
children: "*"
|
|
@@ -1672,7 +1700,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1672
1700
|
}),
|
|
1673
1701
|
n && /* @__PURE__ */ p("p", {
|
|
1674
1702
|
part: "field-description",
|
|
1675
|
-
className: `text-xs leading-relaxed mb-3 ${
|
|
1703
|
+
className: `text-xs leading-relaxed mb-3 ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
1676
1704
|
children: n
|
|
1677
1705
|
}),
|
|
1678
1706
|
!n && /* @__PURE__ */ p("div", { className: "h-1.5" }),
|
|
@@ -1683,20 +1711,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1683
1711
|
id: a,
|
|
1684
1712
|
required: e.required,
|
|
1685
1713
|
value: t,
|
|
1686
|
-
onChange: (t) =>
|
|
1714
|
+
onChange: (t) => I(e.id, t.target.value),
|
|
1687
1715
|
className: `${o} pr-10 appearance-none cursor-pointer`,
|
|
1688
1716
|
children: [/* @__PURE__ */ p("option", {
|
|
1689
1717
|
value: "",
|
|
1690
|
-
className:
|
|
1718
|
+
className: g ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
1691
1719
|
children: e.placeholder || `Select ${e.label}...`
|
|
1692
1720
|
}), (e.options || []).map((e) => /* @__PURE__ */ p("option", {
|
|
1693
1721
|
value: e,
|
|
1694
|
-
className:
|
|
1722
|
+
className: g ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
1695
1723
|
children: e
|
|
1696
1724
|
}, e))]
|
|
1697
1725
|
}), /* @__PURE__ */ p("div", {
|
|
1698
|
-
className: `absolute inset-y-0 right-0 flex items-center pr-3.5 pointer-events-none ${
|
|
1699
|
-
children: /* @__PURE__ */ p(
|
|
1726
|
+
className: `absolute inset-y-0 right-0 flex items-center pr-3.5 pointer-events-none ${g ? "text-zinc-400" : "text-slate-400"}`,
|
|
1727
|
+
children: /* @__PURE__ */ p(le, { size: 16 })
|
|
1700
1728
|
})]
|
|
1701
1729
|
}) : e.type === "file" ? Me(e) : /* @__PURE__ */ p("input", {
|
|
1702
1730
|
part: "input",
|
|
@@ -1705,26 +1733,26 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1705
1733
|
required: e.required,
|
|
1706
1734
|
value: t,
|
|
1707
1735
|
placeholder: e.placeholder || (r ? "Enter your email address" : i ? "Your full name" : `Enter your ${e.label.toLowerCase()}`),
|
|
1708
|
-
onChange: (t) =>
|
|
1736
|
+
onChange: (t) => I(e.id, t.target.value),
|
|
1709
1737
|
className: o
|
|
1710
1738
|
})
|
|
1711
1739
|
]
|
|
1712
1740
|
}, e.id);
|
|
1713
1741
|
}, Pe = (e, t, n) => {
|
|
1714
|
-
let r =
|
|
1742
|
+
let r = X(t, e), i = E === r || O === r;
|
|
1715
1743
|
return /* @__PURE__ */ m("div", { children: [n ? /* @__PURE__ */ m("div", {
|
|
1716
|
-
className: `flex items-center gap-2 px-3 py-2.5 rounded-xl border ${
|
|
1744
|
+
className: `flex items-center gap-2 px-3 py-2.5 rounded-xl border ${g ? "border-zinc-700 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
1717
1745
|
children: [
|
|
1718
|
-
/* @__PURE__ */ p(
|
|
1746
|
+
/* @__PURE__ */ p(xe, {
|
|
1719
1747
|
size: 15,
|
|
1720
1748
|
className: "shrink-0",
|
|
1721
|
-
style: { color:
|
|
1749
|
+
style: { color: F }
|
|
1722
1750
|
}),
|
|
1723
1751
|
/* @__PURE__ */ p("a", {
|
|
1724
1752
|
href: n,
|
|
1725
1753
|
target: "_blank",
|
|
1726
1754
|
rel: "noreferrer",
|
|
1727
|
-
className: `flex-1 min-w-0 truncate text-xs font-medium underline-offset-2 hover:underline ${
|
|
1755
|
+
className: `flex-1 min-w-0 truncate text-xs font-medium underline-offset-2 hover:underline ${g ? "text-zinc-200" : "text-slate-700"}`,
|
|
1728
1756
|
children: "View file"
|
|
1729
1757
|
}),
|
|
1730
1758
|
/* @__PURE__ */ p("button", {
|
|
@@ -1732,12 +1760,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1732
1760
|
disabled: i,
|
|
1733
1761
|
onClick: () => Ae(t, e),
|
|
1734
1762
|
title: "Remove file",
|
|
1735
|
-
className: `shrink-0 p-1 rounded-lg cursor-pointer disabled:opacity-40 ${
|
|
1763
|
+
className: `shrink-0 p-1 rounded-lg cursor-pointer disabled:opacity-40 ${g ? "text-zinc-500 hover:text-red-400" : "text-slate-400 hover:text-red-500"}`,
|
|
1736
1764
|
children: /* @__PURE__ */ p(Ze, { size: 14 })
|
|
1737
1765
|
})
|
|
1738
1766
|
]
|
|
1739
1767
|
}) : /* @__PURE__ */ m("label", {
|
|
1740
|
-
className: `flex items-center justify-center gap-2 px-3 py-2.5 rounded-xl border border-dashed cursor-pointer text-xs font-semibold transition-opacity hover:opacity-80 ${
|
|
1768
|
+
className: `flex items-center justify-center gap-2 px-3 py-2.5 rounded-xl border border-dashed cursor-pointer text-xs font-semibold transition-opacity hover:opacity-80 ${g ? "border-zinc-700 text-zinc-300" : "border-slate-300 text-slate-600"} ${i ? "opacity-50 pointer-events-none" : ""}`,
|
|
1741
1769
|
children: [
|
|
1742
1770
|
/* @__PURE__ */ p($e, { size: 14 }),
|
|
1743
1771
|
i ? "Uploading..." : "Choose file",
|
|
@@ -1750,17 +1778,17 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1750
1778
|
}
|
|
1751
1779
|
})
|
|
1752
1780
|
]
|
|
1753
|
-
}),
|
|
1781
|
+
}), ne && ie === r && /* @__PURE__ */ p("div", {
|
|
1754
1782
|
className: "text-xs text-red-500 mt-1.5 font-medium",
|
|
1755
|
-
children:
|
|
1783
|
+
children: ne
|
|
1756
1784
|
})] });
|
|
1757
|
-
},
|
|
1758
|
-
let r =
|
|
1785
|
+
}, Ie = (e, t, n) => {
|
|
1786
|
+
let r = Y(t, e), i = `w-full px-3.5 py-2.5 text-sm font-medium rounded-xl border transition-all focus:outline-none ${g ? "bg-zinc-900 border-zinc-700 text-white placeholder:text-zinc-500 focus:border-(--vx-accent)" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 focus:border-(--vx-accent)"}`;
|
|
1759
1787
|
return /* @__PURE__ */ m("label", {
|
|
1760
1788
|
part: "field",
|
|
1761
1789
|
className: "block",
|
|
1762
1790
|
children: [/* @__PURE__ */ m("span", {
|
|
1763
|
-
className: `block text-xs font-semibold mb-1.5 ${
|
|
1791
|
+
className: `block text-xs font-semibold mb-1.5 ${g ? "text-zinc-300" : "text-slate-700"}`,
|
|
1764
1792
|
children: [e.label, e.required && /* @__PURE__ */ p("span", {
|
|
1765
1793
|
className: "text-red-500 ml-0.5",
|
|
1766
1794
|
children: "*"
|
|
@@ -1769,14 +1797,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1769
1797
|
part: "input select",
|
|
1770
1798
|
value: r,
|
|
1771
1799
|
required: e.required,
|
|
1772
|
-
onChange: (t) =>
|
|
1800
|
+
onChange: (t) => Oe(n, e, t.target.value),
|
|
1773
1801
|
className: `${i} cursor-pointer`,
|
|
1774
1802
|
children: [/* @__PURE__ */ p("option", {
|
|
1775
1803
|
value: "",
|
|
1776
1804
|
children: e.placeholder || `Select ${e.label}...`
|
|
1777
1805
|
}), (e.options || []).map((e) => /* @__PURE__ */ p("option", {
|
|
1778
1806
|
value: e,
|
|
1779
|
-
className:
|
|
1807
|
+
className: g ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
1780
1808
|
children: e
|
|
1781
1809
|
}, e))]
|
|
1782
1810
|
}) : e.type === "textarea" ? /* @__PURE__ */ p("textarea", {
|
|
@@ -1785,7 +1813,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1785
1813
|
value: r,
|
|
1786
1814
|
required: e.required,
|
|
1787
1815
|
placeholder: e.placeholder || "",
|
|
1788
|
-
onChange: (t) =>
|
|
1816
|
+
onChange: (t) => Oe(n, e, t.target.value),
|
|
1789
1817
|
className: i
|
|
1790
1818
|
}) : /* @__PURE__ */ p("input", {
|
|
1791
1819
|
part: "input",
|
|
@@ -1797,54 +1825,54 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1797
1825
|
value: r,
|
|
1798
1826
|
required: e.required,
|
|
1799
1827
|
placeholder: e.placeholder || "",
|
|
1800
|
-
onChange: (t) =>
|
|
1828
|
+
onChange: (t) => Oe(n, e, t.target.value),
|
|
1801
1829
|
className: i
|
|
1802
1830
|
})]
|
|
1803
1831
|
}, e.id);
|
|
1804
|
-
},
|
|
1832
|
+
}, Re = (e) => {
|
|
1805
1833
|
e.preventDefault();
|
|
1806
|
-
for (let e of
|
|
1807
|
-
|
|
1834
|
+
for (let e of he) if (e.type === "file" && e.required && !w[e.id]) {
|
|
1835
|
+
N(`Please upload ${e.label || "a file"}`), P(e.id);
|
|
1808
1836
|
return;
|
|
1809
1837
|
}
|
|
1810
|
-
for (let e = 0; e <
|
|
1811
|
-
|
|
1838
|
+
for (let e = 0; e < Te.length; e++) for (let t of H) if (t.type === "file" && t.required && !Y(Te[e], t)) {
|
|
1839
|
+
N(`Please upload ${t.label || "a file"} for guest ${e + 1}`), P(X(e, t));
|
|
1812
1840
|
return;
|
|
1813
1841
|
}
|
|
1814
|
-
t(
|
|
1815
|
-
},
|
|
1842
|
+
t(w);
|
|
1843
|
+
}, ze = S?.type || S?.name || S?.label || (C ? "Abstract Submission Form" : "Registration Form"), Be = (e) => [S?.currency, e.toLocaleString()].filter(Boolean).join(" "), Z = [..._e, ...ye].filter((e) => B.includes(e.name)).reduce((e, t) => e + (Number(t.price) || 0), 0), Q = (Number(S?.price) || 0) + Z + U * Te.length, Ve = S ? Q > 0 ? Be(Q) : "Free" : null;
|
|
1816
1844
|
return /* @__PURE__ */ m("div", {
|
|
1817
1845
|
part: "form-page",
|
|
1818
|
-
className: `w-full flex-1 flex flex-col relative ${
|
|
1819
|
-
style:
|
|
1846
|
+
className: `w-full flex-1 flex flex-col relative ${g ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
|
|
1847
|
+
style: x,
|
|
1820
1848
|
children: [/* @__PURE__ */ p("div", {
|
|
1821
1849
|
part: "form-header",
|
|
1822
|
-
className: `sticky top-0 z-30 px-4 sm:px-6 py-3 border-b backdrop-blur-xl transition-colors ${
|
|
1850
|
+
className: `sticky top-0 z-30 px-4 sm:px-6 py-3 border-b backdrop-blur-xl transition-colors ${g ? "bg-zinc-900/85 border-zinc-800" : "bg-white/85 border-slate-200/80"}`,
|
|
1823
1851
|
children: /* @__PURE__ */ m("div", {
|
|
1824
1852
|
className: "max-w-3xl mx-auto flex items-center justify-between gap-3",
|
|
1825
1853
|
children: [/* @__PURE__ */ m("button", {
|
|
1826
1854
|
part: "button button-secondary back-button",
|
|
1827
1855
|
type: "button",
|
|
1828
1856
|
onClick: n,
|
|
1829
|
-
className: `inline-flex items-center gap-2 text-sm font-semibold rounded-full pl-2.5 pr-4 py-2 border transition-colors cursor-pointer ${
|
|
1830
|
-
children: [/* @__PURE__ */ p(
|
|
1857
|
+
className: `inline-flex items-center gap-2 text-sm font-semibold rounded-full pl-2.5 pr-4 py-2 border transition-colors cursor-pointer ${g ? "bg-zinc-800 border-zinc-700 hover:bg-zinc-700 text-zinc-200" : "bg-white border-slate-200 hover:bg-slate-50 text-slate-700 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`,
|
|
1858
|
+
children: [/* @__PURE__ */ p(te, { size: 16 }), /* @__PURE__ */ p("span", { children: "All forms" })]
|
|
1831
1859
|
}), /* @__PURE__ */ m("div", {
|
|
1832
1860
|
className: "flex items-center gap-2 min-w-0",
|
|
1833
|
-
children: [
|
|
1861
|
+
children: [S && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
1834
1862
|
part: "form-type-name",
|
|
1835
|
-
title:
|
|
1836
|
-
className: `hidden sm:inline-block truncate max-w-[16rem] text-xs font-semibold px-3 py-1.5 rounded-full ${
|
|
1837
|
-
children:
|
|
1838
|
-
}), !
|
|
1863
|
+
title: ze,
|
|
1864
|
+
className: `hidden sm:inline-block truncate max-w-[16rem] text-xs font-semibold px-3 py-1.5 rounded-full ${g ? "bg-zinc-800 text-zinc-200" : "bg-slate-100 text-slate-700"}`,
|
|
1865
|
+
children: ze
|
|
1866
|
+
}), !C && /* @__PURE__ */ p("span", {
|
|
1839
1867
|
part: "form-type-price",
|
|
1840
1868
|
className: "shrink-0 text-xs font-bold px-3 py-1.5 rounded-full tabular-nums",
|
|
1841
1869
|
style: {
|
|
1842
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1843
|
-
color:
|
|
1870
|
+
backgroundColor: `color-mix(in srgb, ${F} 12%, transparent)`,
|
|
1871
|
+
color: F
|
|
1844
1872
|
},
|
|
1845
|
-
children:
|
|
1873
|
+
children: Ve
|
|
1846
1874
|
})] }), i === "popup" && /* @__PURE__ */ m("div", {
|
|
1847
|
-
className: `flex items-center gap-1.5 ml-2 border-l pl-2 ${
|
|
1875
|
+
className: `flex items-center gap-1.5 ml-2 border-l pl-2 ${g ? "border-zinc-700" : "border-slate-200"}`,
|
|
1848
1876
|
children: [/* @__PURE__ */ p("button", {
|
|
1849
1877
|
onClick: o,
|
|
1850
1878
|
className: "p-1.5 opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
|
|
@@ -1862,7 +1890,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1862
1890
|
className: "w-full flex-1 overflow-y-auto",
|
|
1863
1891
|
children: /* @__PURE__ */ m("form", {
|
|
1864
1892
|
part: "form",
|
|
1865
|
-
onSubmit:
|
|
1893
|
+
onSubmit: Re,
|
|
1866
1894
|
className: "max-w-3xl mx-auto w-full px-4 sm:px-6 py-8 sm:py-10 space-y-5",
|
|
1867
1895
|
children: [
|
|
1868
1896
|
/* @__PURE__ */ m("div", {
|
|
@@ -1870,18 +1898,18 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1870
1898
|
className: "px-1",
|
|
1871
1899
|
children: [/* @__PURE__ */ p("p", {
|
|
1872
1900
|
className: "text-xs font-semibold uppercase tracking-wider",
|
|
1873
|
-
style: { color:
|
|
1874
|
-
children:
|
|
1901
|
+
style: { color: F },
|
|
1902
|
+
children: C ? "Abstract submission" : "Registration form"
|
|
1875
1903
|
}), /* @__PURE__ */ p("h2", {
|
|
1876
1904
|
part: "form-title",
|
|
1877
|
-
className: `mt-1.5 text-2xl sm:text-3xl font-bold tracking-tight ${
|
|
1905
|
+
className: `mt-1.5 text-2xl sm:text-3xl font-bold tracking-tight ${g ? "text-white" : "text-slate-900"}`,
|
|
1878
1906
|
style: $,
|
|
1879
|
-
children:
|
|
1907
|
+
children: ze
|
|
1880
1908
|
})]
|
|
1881
1909
|
}),
|
|
1882
1910
|
u && Object.keys(u).length > 0 && /* @__PURE__ */ m("div", {
|
|
1883
|
-
className: `text-sm px-4 py-3 rounded-2xl flex items-center gap-2.5 ${
|
|
1884
|
-
children: [/* @__PURE__ */ p(
|
|
1911
|
+
className: `text-sm px-4 py-3 rounded-2xl flex items-center gap-2.5 ${g ? "bg-emerald-950/50 text-emerald-300 ring-1 ring-inset ring-emerald-900" : "bg-emerald-50 text-emerald-800 ring-1 ring-inset ring-emerald-200/80"}`,
|
|
1912
|
+
children: [/* @__PURE__ */ p(se, {
|
|
1885
1913
|
size: 16,
|
|
1886
1914
|
className: "shrink-0"
|
|
1887
1915
|
}), /* @__PURE__ */ p("span", {
|
|
@@ -1893,20 +1921,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1893
1921
|
part: "notice",
|
|
1894
1922
|
className: "rounded-2xl p-4 flex items-start gap-3",
|
|
1895
1923
|
style: {
|
|
1896
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1897
|
-
boxShadow: `inset 0 0 0 1px color-mix(in srgb, ${
|
|
1924
|
+
backgroundColor: `color-mix(in srgb, ${F} ${g ? 14 : 7}%, transparent)`,
|
|
1925
|
+
boxShadow: `inset 0 0 0 1px color-mix(in srgb, ${F} 20%, transparent)`
|
|
1898
1926
|
},
|
|
1899
1927
|
children: [/* @__PURE__ */ p("div", {
|
|
1900
1928
|
className: "shrink-0 mt-0.5",
|
|
1901
|
-
style: { color:
|
|
1902
|
-
children: /* @__PURE__ */ p(
|
|
1929
|
+
style: { color: F },
|
|
1930
|
+
children: /* @__PURE__ */ p(G, { size: 18 })
|
|
1903
1931
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
1904
1932
|
part: "notice-title",
|
|
1905
1933
|
className: "text-xs font-bold uppercase tracking-wider",
|
|
1906
|
-
style: { color:
|
|
1934
|
+
style: { color: F },
|
|
1907
1935
|
children: "Before you submit"
|
|
1908
1936
|
}), /* @__PURE__ */ m("p", {
|
|
1909
|
-
className: `text-sm mt-0.5 leading-relaxed ${
|
|
1937
|
+
className: `text-sm mt-0.5 leading-relaxed ${g ? "text-zinc-300" : "text-slate-600"}`,
|
|
1910
1938
|
children: [
|
|
1911
1939
|
"Ensure you are a registered delegate. Fields marked ",
|
|
1912
1940
|
/* @__PURE__ */ p("span", {
|
|
@@ -1919,76 +1947,76 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1919
1947
|
}),
|
|
1920
1948
|
/* @__PURE__ */ p("div", {
|
|
1921
1949
|
part: "form-card",
|
|
1922
|
-
className: `rounded-3xl border overflow-hidden divide-y ${
|
|
1923
|
-
children:
|
|
1950
|
+
className: `rounded-3xl border overflow-hidden divide-y ${g ? "bg-zinc-900 border-zinc-800 divide-zinc-800" : "bg-white border-slate-200/80 divide-slate-100 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_-16px_rgba(15,23,42,0.12)]"}`,
|
|
1951
|
+
children: he.map((e) => Ne(e))
|
|
1924
1952
|
}),
|
|
1925
|
-
!
|
|
1953
|
+
!C && ge.length > 0 && /* @__PURE__ */ m("div", {
|
|
1926
1954
|
part: "addons-card",
|
|
1927
|
-
className: `rounded-3xl border overflow-hidden ${
|
|
1955
|
+
className: `rounded-3xl border overflow-hidden ${g ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_-16px_rgba(15,23,42,0.12)]"}`,
|
|
1928
1956
|
children: [
|
|
1929
1957
|
/* @__PURE__ */ m("div", {
|
|
1930
1958
|
className: "flex items-center gap-3 px-5 sm:px-8 pt-5 sm:pt-6 pb-4",
|
|
1931
1959
|
children: [/* @__PURE__ */ p("div", {
|
|
1932
1960
|
className: "w-9 h-9 rounded-xl flex items-center justify-center shrink-0",
|
|
1933
1961
|
style: {
|
|
1934
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1935
|
-
color:
|
|
1962
|
+
backgroundColor: `color-mix(in srgb, ${F} 12%, transparent)`,
|
|
1963
|
+
color: F
|
|
1936
1964
|
},
|
|
1937
1965
|
children: /* @__PURE__ */ p(Ye, { size: 17 })
|
|
1938
1966
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h3", {
|
|
1939
1967
|
part: "addons-title",
|
|
1940
|
-
className: `text-sm font-semibold ${
|
|
1968
|
+
className: `text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
|
|
1941
1969
|
style: $,
|
|
1942
1970
|
children: "Add-ons"
|
|
1943
1971
|
}), /* @__PURE__ */ p("p", {
|
|
1944
|
-
className: `text-xs ${
|
|
1945
|
-
children:
|
|
1972
|
+
className: `text-xs ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
1973
|
+
children: _e.length > 0 || z.length > 0 ? "Optional extras — charges are added to your total." : "Included with this registration."
|
|
1946
1974
|
})] })]
|
|
1947
1975
|
}),
|
|
1948
1976
|
/* @__PURE__ */ m("div", {
|
|
1949
1977
|
className: "px-5 sm:px-8 pb-5 sm:pb-6 space-y-2",
|
|
1950
1978
|
children: [
|
|
1951
|
-
|
|
1952
|
-
let t =
|
|
1979
|
+
_e.map((e) => {
|
|
1980
|
+
let t = B.includes(e.name);
|
|
1953
1981
|
return /* @__PURE__ */ m("label", {
|
|
1954
1982
|
part: t ? "addon addon-selected" : "addon",
|
|
1955
|
-
className: `p-3.5 rounded-2xl border flex items-center gap-3 cursor-pointer transition-all ${t ? "" :
|
|
1983
|
+
className: `p-3.5 rounded-2xl border flex items-center gap-3 cursor-pointer transition-all ${t ? "" : g ? "border-zinc-800 bg-zinc-900 hover:border-zinc-700" : "border-slate-200 bg-white hover:border-slate-300"}`,
|
|
1956
1984
|
style: t ? {
|
|
1957
|
-
borderColor:
|
|
1958
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1985
|
+
borderColor: F,
|
|
1986
|
+
backgroundColor: `color-mix(in srgb, ${F} ${g ? 16 : 6}%, transparent)`
|
|
1959
1987
|
} : void 0,
|
|
1960
1988
|
children: [
|
|
1961
1989
|
/* @__PURE__ */ p("input", {
|
|
1962
1990
|
type: "checkbox",
|
|
1963
1991
|
checked: t,
|
|
1964
|
-
onChange: () =>
|
|
1992
|
+
onChange: () => we(e.name),
|
|
1965
1993
|
className: "w-4 h-4 rounded cursor-pointer shrink-0",
|
|
1966
|
-
style: { accentColor:
|
|
1994
|
+
style: { accentColor: F }
|
|
1967
1995
|
}),
|
|
1968
1996
|
/* @__PURE__ */ p("span", {
|
|
1969
|
-
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${
|
|
1997
|
+
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${g ? "text-white" : "text-slate-900"}`,
|
|
1970
1998
|
children: e.name
|
|
1971
1999
|
}),
|
|
1972
2000
|
/* @__PURE__ */ p("span", {
|
|
1973
2001
|
className: "shrink-0 text-[13px] font-bold tabular-nums",
|
|
1974
|
-
style: { color:
|
|
1975
|
-
children: Number(e.price) > 0 ? `+ ${
|
|
2002
|
+
style: { color: F },
|
|
2003
|
+
children: Number(e.price) > 0 ? `+ ${Be(Number(e.price))}` : "Free"
|
|
1976
2004
|
})
|
|
1977
2005
|
]
|
|
1978
2006
|
}, e.name);
|
|
1979
2007
|
}),
|
|
1980
|
-
|
|
1981
|
-
let t = Number(e.max) || 0, n =
|
|
2008
|
+
z.map((e) => {
|
|
2009
|
+
let t = Number(e.max) || 0, n = Se(e), r = t > 0 && n >= t;
|
|
1982
2010
|
return /* @__PURE__ */ m("div", {
|
|
1983
2011
|
part: "addon-group",
|
|
1984
2012
|
className: "pt-1",
|
|
1985
2013
|
children: [/* @__PURE__ */ m("div", {
|
|
1986
2014
|
className: "flex items-center justify-between gap-2 mb-2",
|
|
1987
2015
|
children: [/* @__PURE__ */ p("span", {
|
|
1988
|
-
className: `text-xs font-bold uppercase tracking-wider ${
|
|
2016
|
+
className: `text-xs font-bold uppercase tracking-wider ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
1989
2017
|
children: e.name
|
|
1990
2018
|
}), t > 0 && /* @__PURE__ */ m("span", {
|
|
1991
|
-
className: `text-[11px] font-semibold px-2 py-0.5 rounded-full ${r ? "bg-amber-100 text-amber-700" :
|
|
2019
|
+
className: `text-[11px] font-semibold px-2 py-0.5 rounded-full ${r ? "bg-amber-100 text-amber-700" : g ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
|
|
1992
2020
|
children: [
|
|
1993
2021
|
n,
|
|
1994
2022
|
"/",
|
|
@@ -1999,31 +2027,31 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1999
2027
|
}), /* @__PURE__ */ p("div", {
|
|
2000
2028
|
className: "space-y-2",
|
|
2001
2029
|
children: (e.options || []).map((t) => {
|
|
2002
|
-
let n =
|
|
2030
|
+
let n = B.includes(t.name), i = r && !n;
|
|
2003
2031
|
return /* @__PURE__ */ m("label", {
|
|
2004
2032
|
part: n ? "addon addon-selected" : "addon",
|
|
2005
|
-
className: `p-3.5 rounded-2xl border flex items-center gap-3 transition-all ${i ? "opacity-50 cursor-not-allowed" : "cursor-pointer"} ${n ? "" :
|
|
2033
|
+
className: `p-3.5 rounded-2xl border flex items-center gap-3 transition-all ${i ? "opacity-50 cursor-not-allowed" : "cursor-pointer"} ${n ? "" : g ? "border-zinc-800 bg-zinc-900 hover:border-zinc-700" : "border-slate-200 bg-white hover:border-slate-300"}`,
|
|
2006
2034
|
style: n ? {
|
|
2007
|
-
borderColor:
|
|
2008
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
2035
|
+
borderColor: F,
|
|
2036
|
+
backgroundColor: `color-mix(in srgb, ${F} ${g ? 16 : 6}%, transparent)`
|
|
2009
2037
|
} : void 0,
|
|
2010
2038
|
children: [
|
|
2011
2039
|
/* @__PURE__ */ p("input", {
|
|
2012
2040
|
type: "checkbox",
|
|
2013
2041
|
checked: n,
|
|
2014
2042
|
disabled: i,
|
|
2015
|
-
onChange: () =>
|
|
2043
|
+
onChange: () => we(t.name, e),
|
|
2016
2044
|
className: "w-4 h-4 rounded cursor-pointer shrink-0 disabled:cursor-not-allowed",
|
|
2017
|
-
style: { accentColor:
|
|
2045
|
+
style: { accentColor: F }
|
|
2018
2046
|
}),
|
|
2019
2047
|
/* @__PURE__ */ p("span", {
|
|
2020
|
-
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${
|
|
2048
|
+
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${g ? "text-white" : "text-slate-900"}`,
|
|
2021
2049
|
children: t.name
|
|
2022
2050
|
}),
|
|
2023
2051
|
/* @__PURE__ */ p("span", {
|
|
2024
2052
|
className: "shrink-0 text-[13px] font-bold tabular-nums",
|
|
2025
|
-
style: { color:
|
|
2026
|
-
children: Number(t.price) > 0 ? `+ ${
|
|
2053
|
+
style: { color: F },
|
|
2054
|
+
children: Number(t.price) > 0 ? `+ ${Be(Number(t.price))}` : "Free"
|
|
2027
2055
|
})
|
|
2028
2056
|
]
|
|
2029
2057
|
}, t.name);
|
|
@@ -2031,94 +2059,94 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2031
2059
|
})]
|
|
2032
2060
|
}, e.name);
|
|
2033
2061
|
}),
|
|
2034
|
-
|
|
2062
|
+
ve.map((e) => /* @__PURE__ */ m("div", {
|
|
2035
2063
|
part: "addon addon-included",
|
|
2036
|
-
className: `p-3.5 rounded-2xl border flex items-center gap-3 ${
|
|
2064
|
+
className: `p-3.5 rounded-2xl border flex items-center gap-3 ${g ? "border-zinc-800 bg-zinc-950/60" : "border-slate-200 bg-slate-50"}`,
|
|
2037
2065
|
children: [
|
|
2038
|
-
/* @__PURE__ */ p(
|
|
2066
|
+
/* @__PURE__ */ p(se, {
|
|
2039
2067
|
size: 16,
|
|
2040
2068
|
className: "text-emerald-500 shrink-0"
|
|
2041
2069
|
}),
|
|
2042
2070
|
/* @__PURE__ */ p("span", {
|
|
2043
|
-
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${
|
|
2071
|
+
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${g ? "text-zinc-300" : "text-slate-700"}`,
|
|
2044
2072
|
children: e.name
|
|
2045
2073
|
}),
|
|
2046
2074
|
/* @__PURE__ */ p("span", {
|
|
2047
|
-
className: `shrink-0 text-[11px] font-semibold px-2.5 py-1 rounded-full ${
|
|
2075
|
+
className: `shrink-0 text-[11px] font-semibold px-2.5 py-1 rounded-full ${g ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
|
|
2048
2076
|
children: "Included"
|
|
2049
2077
|
})
|
|
2050
2078
|
]
|
|
2051
2079
|
}, e.name))
|
|
2052
2080
|
]
|
|
2053
2081
|
}),
|
|
2054
|
-
|
|
2055
|
-
className: `px-5 sm:px-8 py-4 border-t flex items-center justify-between gap-3 ${
|
|
2082
|
+
Q > 0 && /* @__PURE__ */ m("div", {
|
|
2083
|
+
className: `px-5 sm:px-8 py-4 border-t flex items-center justify-between gap-3 ${g ? "border-zinc-800 bg-zinc-950/40" : "border-slate-100 bg-slate-50/70"}`,
|
|
2056
2084
|
children: [/* @__PURE__ */ p("span", {
|
|
2057
|
-
className: `text-sm font-semibold ${
|
|
2085
|
+
className: `text-sm font-semibold ${g ? "text-zinc-300" : "text-slate-600"}`,
|
|
2058
2086
|
children: "Total payable"
|
|
2059
2087
|
}), /* @__PURE__ */ p("span", {
|
|
2060
2088
|
className: "text-base font-bold tabular-nums",
|
|
2061
|
-
style: { color:
|
|
2062
|
-
children:
|
|
2089
|
+
style: { color: F },
|
|
2090
|
+
children: Be(Q)
|
|
2063
2091
|
})]
|
|
2064
2092
|
})
|
|
2065
2093
|
]
|
|
2066
2094
|
}),
|
|
2067
|
-
|
|
2095
|
+
V && /* @__PURE__ */ m("div", {
|
|
2068
2096
|
part: "accompany-card",
|
|
2069
|
-
className: `rounded-3xl border overflow-hidden ${
|
|
2097
|
+
className: `rounded-3xl border overflow-hidden ${g ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_-16px_rgba(15,23,42,0.12)]"}`,
|
|
2070
2098
|
children: [/* @__PURE__ */ m("div", {
|
|
2071
2099
|
className: "flex items-center gap-3 px-5 sm:px-8 pt-5 sm:pt-6 pb-4",
|
|
2072
2100
|
children: [/* @__PURE__ */ p("div", {
|
|
2073
2101
|
className: "w-9 h-9 rounded-xl flex items-center justify-center shrink-0",
|
|
2074
2102
|
style: {
|
|
2075
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
2076
|
-
color:
|
|
2103
|
+
backgroundColor: `color-mix(in srgb, ${F} 12%, transparent)`,
|
|
2104
|
+
color: F
|
|
2077
2105
|
},
|
|
2078
2106
|
children: /* @__PURE__ */ p(at, { size: 17 })
|
|
2079
2107
|
}), /* @__PURE__ */ m("div", {
|
|
2080
2108
|
className: "min-w-0",
|
|
2081
2109
|
children: [/* @__PURE__ */ p("h3", {
|
|
2082
2110
|
part: "accompany-title",
|
|
2083
|
-
className: `text-sm font-semibold ${
|
|
2111
|
+
className: `text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
|
|
2084
2112
|
style: $,
|
|
2085
2113
|
children: "Accompanying people"
|
|
2086
2114
|
}), /* @__PURE__ */ m("p", {
|
|
2087
|
-
className: `text-xs ${
|
|
2088
|
-
children: [
|
|
2115
|
+
className: `text-xs ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
2116
|
+
children: [U > 0 ? `${Be(U)} per guest` : "No extra charge", W ? ` · up to ${W}` : ""]
|
|
2089
2117
|
})]
|
|
2090
2118
|
})]
|
|
2091
2119
|
}), /* @__PURE__ */ m("div", {
|
|
2092
2120
|
className: "px-5 sm:px-8 pb-5 sm:pb-6 space-y-3",
|
|
2093
|
-
children: [
|
|
2121
|
+
children: [Te.map((e, t) => /* @__PURE__ */ m("div", {
|
|
2094
2122
|
part: "accompany-guest",
|
|
2095
|
-
className: `rounded-2xl border p-4 ${
|
|
2123
|
+
className: `rounded-2xl border p-4 ${g ? "border-zinc-800 bg-zinc-950/60" : "border-slate-200 bg-slate-50/70"}`,
|
|
2096
2124
|
children: [/* @__PURE__ */ m("div", {
|
|
2097
2125
|
className: "flex items-center justify-between gap-2 mb-3",
|
|
2098
2126
|
children: [/* @__PURE__ */ m("span", {
|
|
2099
|
-
className: `text-xs font-bold uppercase tracking-wider ${
|
|
2127
|
+
className: `text-xs font-bold uppercase tracking-wider ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
2100
2128
|
children: ["Guest ", t + 1]
|
|
2101
2129
|
}), /* @__PURE__ */ p("button", {
|
|
2102
2130
|
type: "button",
|
|
2103
|
-
onClick: () =>
|
|
2131
|
+
onClick: () => J(t),
|
|
2104
2132
|
title: "Remove guest",
|
|
2105
|
-
className: `shrink-0 p-1.5 rounded-lg cursor-pointer transition-colors ${
|
|
2133
|
+
className: `shrink-0 p-1.5 rounded-lg cursor-pointer transition-colors ${g ? "text-zinc-500 hover:text-red-400" : "text-slate-400 hover:text-red-500"}`,
|
|
2106
2134
|
children: /* @__PURE__ */ p(Ze, { size: 15 })
|
|
2107
2135
|
})]
|
|
2108
2136
|
}), /* @__PURE__ */ p("div", {
|
|
2109
2137
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
|
|
2110
|
-
children:
|
|
2138
|
+
children: H.map((n) => Ie(n, e, t))
|
|
2111
2139
|
})]
|
|
2112
2140
|
}, t)), /* @__PURE__ */ m("button", {
|
|
2113
2141
|
type: "button",
|
|
2114
|
-
onClick:
|
|
2115
|
-
disabled: !
|
|
2142
|
+
onClick: q,
|
|
2143
|
+
disabled: !Ee,
|
|
2116
2144
|
style: {
|
|
2117
|
-
borderColor:
|
|
2118
|
-
color:
|
|
2145
|
+
borderColor: F,
|
|
2146
|
+
color: F
|
|
2119
2147
|
},
|
|
2120
2148
|
className: "w-full h-12 rounded-2xl border border-dashed text-sm font-semibold flex items-center justify-center gap-2 transition-opacity hover:opacity-80 cursor-pointer disabled:opacity-40 disabled:cursor-not-allowed",
|
|
2121
|
-
children: [/* @__PURE__ */ p(tt, { size: 16 }),
|
|
2149
|
+
children: [/* @__PURE__ */ p(tt, { size: 16 }), Ee ? "Add guest" : `Limit of ${W} reached`]
|
|
2122
2150
|
})]
|
|
2123
2151
|
})]
|
|
2124
2152
|
}),
|
|
@@ -2127,18 +2155,18 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2127
2155
|
children: [/* @__PURE__ */ m("button", {
|
|
2128
2156
|
part: "button button-primary submit-button",
|
|
2129
2157
|
type: "submit",
|
|
2130
|
-
disabled:
|
|
2158
|
+
disabled: E !== null || O !== null,
|
|
2131
2159
|
style: {
|
|
2132
|
-
background: `linear-gradient(135deg, ${
|
|
2133
|
-
boxShadow: `0 12px 28px -12px color-mix(in srgb, ${
|
|
2160
|
+
background: `linear-gradient(135deg, ${F}, color-mix(in srgb, ${F} 80%, black))`,
|
|
2161
|
+
boxShadow: `0 12px 28px -12px color-mix(in srgb, ${F} 70%, transparent)`
|
|
2134
2162
|
},
|
|
2135
2163
|
className: "group w-full h-14 px-8 text-base font-semibold text-white rounded-2xl hover:brightness-110 active:scale-[0.99] transition-all cursor-pointer flex items-center justify-center gap-2.5 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
2136
|
-
children: [/* @__PURE__ */ p("span", { children:
|
|
2164
|
+
children: [/* @__PURE__ */ p("span", { children: C ? "Submit Abstract" : "Complete Registration" }), /* @__PURE__ */ p(re, {
|
|
2137
2165
|
size: 18,
|
|
2138
2166
|
className: "transition-transform group-hover:translate-x-0.5"
|
|
2139
2167
|
})]
|
|
2140
2168
|
}), /* @__PURE__ */ p("p", {
|
|
2141
|
-
className: `mt-3 text-center text-xs ${
|
|
2169
|
+
className: `mt-3 text-center text-xs ${g ? "text-zinc-500" : "text-slate-400"}`,
|
|
2142
2170
|
children: "Please review your details before submitting."
|
|
2143
2171
|
})]
|
|
2144
2172
|
})
|
|
@@ -2146,17 +2174,22 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2146
2174
|
})
|
|
2147
2175
|
})]
|
|
2148
2176
|
});
|
|
2149
|
-
}, mt =
|
|
2150
|
-
|
|
2177
|
+
}, mt = /* @__PURE__ */ new Set([
|
|
2178
|
+
"salutation",
|
|
2179
|
+
"name",
|
|
2180
|
+
"email",
|
|
2181
|
+
"phone"
|
|
2182
|
+
]), ht = ({ apiClient: e, storage: t, logger: n, primaryColor: r, isDark: i = !1, isWidgetPage: a = !1, onEvent: o, onError: c }) => {
|
|
2183
|
+
let [l, u] = d(() => t.getToken() ? "profile" : "login"), [h, g] = d(!1), [_, v] = d(!1), [y, b] = d(null), [x, S] = d(null), [C, w] = d(null), [T, E] = d(""), [D, O] = d(""), [ee, k] = d(""), [A, j] = d(""), [M, ne] = d(""), [N, P] = d(""), [oe, ce] = d(""), [ue, fe] = d(!1), [I, pe] = d(null), [L, me] = d({}), [R, he] = d([]), [ge, z] = d({}), [ye, B] = d(null), [Se, we] = d(null), [H, W] = d(null), [G, Te] = d(!1), [K, J] = d(!1), [Y, X] = d({}), [Ae, Me] = d(!1), [Pe, Fe] = d(null), [Ie, Le] = d({}), [Re, ze] = d({}), [Be, Q] = d(null), [He, We] = d({}), [Ge, Ke] = d(!1);
|
|
2151
2184
|
s(() => {
|
|
2152
2185
|
let e = t.getToken();
|
|
2153
|
-
e &&
|
|
2186
|
+
e && Je(e);
|
|
2154
2187
|
}, []);
|
|
2155
|
-
let
|
|
2188
|
+
let Je = async (r) => {
|
|
2156
2189
|
g(!0), S(null);
|
|
2157
2190
|
try {
|
|
2158
2191
|
let i = await e.portalGetProfile(r), a = i?.data || i || {};
|
|
2159
|
-
|
|
2192
|
+
pe(a);
|
|
2160
2193
|
let s = a.registration || {}, c = s.custom_data || {}, l = s.email || a.email || "", d = null;
|
|
2161
2194
|
if (l) try {
|
|
2162
2195
|
let t = await e.getDraftByEmail(l);
|
|
@@ -2172,9 +2205,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2172
2205
|
} catch {}
|
|
2173
2206
|
}
|
|
2174
2207
|
let f = d?.custom_data || {};
|
|
2175
|
-
s.name ?
|
|
2208
|
+
s.name ? k(s.name) : d?.name ? k(d.name) : a.name && k(a.name);
|
|
2176
2209
|
let p = 0, m = {}, h = [...a.editable_fields || []];
|
|
2177
|
-
|
|
2210
|
+
pe({
|
|
2178
2211
|
...a,
|
|
2179
2212
|
editable_fields: h
|
|
2180
2213
|
});
|
|
@@ -2184,12 +2217,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2184
2217
|
let t = s[`${e.id}_asset_id`] || c[`${e.id}_asset_id`] || s.asset_id || c.asset_id || a.asset_id;
|
|
2185
2218
|
t && (g[e.id] = String(t));
|
|
2186
2219
|
}
|
|
2187
|
-
}),
|
|
2220
|
+
}), z((e) => ({
|
|
2188
2221
|
...g,
|
|
2189
2222
|
...e
|
|
2190
2223
|
}));
|
|
2191
2224
|
let _ = s.asset_id || s.photo_id || c.asset_id || c.photo_id || a.asset_id;
|
|
2192
|
-
_ &&
|
|
2225
|
+
_ && B(String(_)), h.length > 0 ? h.forEach((e) => {
|
|
2193
2226
|
let t = e.label || e.name || e.id, n = ut(e.id, e.label), r = dt(e.label, e.id), i = "";
|
|
2194
2227
|
if (t && s[t] !== void 0 && s[t] !== null && s[t] !== "" ? i = s[t] : s[r] !== void 0 && s[r] !== null && s[r] !== "" ? i = s[r] : s[n] !== void 0 && s[n] !== null && s[n] !== "" ? i = s[n] : s[e.id] !== void 0 && s[e.id] !== null && s[e.id] !== "" ? i = s[e.id] : t && c[t] !== void 0 && c[t] !== null && c[t] !== "" ? i = c[t] : c[r] !== void 0 && c[r] !== null && c[r] !== "" ? i = c[r] : c[n] !== void 0 && c[n] !== null && c[n] !== "" ? i = c[n] : c[e.id] !== void 0 && c[e.id] !== null && c[e.id] !== "" && (i = c[e.id]), d) {
|
|
2195
2228
|
let t = d[n] ?? d[e.id] ?? f[n] ?? f[e.id] ?? (e.id === "salutation" ? d.salutation || d.title : void 0) ?? (e.id === "name" ? d.name || d.fullName || d.full_name : void 0) ?? (e.id === "email" ? d.email : void 0) ?? (e.id === "phone" ? d.phone || d.mobile || d.phoneNumber : void 0);
|
|
@@ -2198,12 +2231,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2198
2231
|
m[e.id] = i;
|
|
2199
2232
|
}) : Object.entries(a).forEach(([e, t]) => {
|
|
2200
2233
|
e.toLowerCase() !== "token" && (m[e] = t);
|
|
2201
|
-
}),
|
|
2234
|
+
}), me(m), p > 0 && Te(!0);
|
|
2202
2235
|
let v = (a.addons?.items || []).filter((e) => e.purchased).map((e) => e.name);
|
|
2203
2236
|
d?.selected_items && Array.isArray(d.selected_items) && d.selected_items.forEach((e) => {
|
|
2204
2237
|
let t = typeof e == "string" ? e : e?.name;
|
|
2205
2238
|
t && !v.includes(t) && v.push(t);
|
|
2206
|
-
}),
|
|
2239
|
+
}), he(v), u("profile"), o?.("attendee_profile_loaded", {
|
|
2207
2240
|
profile: a,
|
|
2208
2241
|
draft: d
|
|
2209
2242
|
});
|
|
@@ -2212,7 +2245,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2212
2245
|
} finally {
|
|
2213
2246
|
g(!1);
|
|
2214
2247
|
}
|
|
2215
|
-
},
|
|
2248
|
+
}, Xe = async (r) => {
|
|
2216
2249
|
if (r.preventDefault(), !T.trim() || !D) {
|
|
2217
2250
|
S("Please enter both your identifier and password.");
|
|
2218
2251
|
return;
|
|
@@ -2224,10 +2257,10 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2224
2257
|
password: D
|
|
2225
2258
|
}), r = n?.data?.token || n?.token;
|
|
2226
2259
|
if (!r) throw Error(n?.message || "No authentication token received.");
|
|
2227
|
-
(n?.data?.name || n?.name) &&
|
|
2260
|
+
(n?.data?.name || n?.name) && k(n.data?.name || n.name), t.setToken(r), o?.("attendee_logged_in", {
|
|
2228
2261
|
identifier: T,
|
|
2229
2262
|
response: n
|
|
2230
|
-
}), await
|
|
2263
|
+
}), await Je(r);
|
|
2231
2264
|
} catch (e) {
|
|
2232
2265
|
n.error("Login failed", e);
|
|
2233
2266
|
let t = e.message || "Login failed. Please check your credentials.";
|
|
@@ -2239,14 +2272,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2239
2272
|
} finally {
|
|
2240
2273
|
g(!1);
|
|
2241
2274
|
}
|
|
2242
|
-
},
|
|
2275
|
+
}, Qe = async (t) => {
|
|
2243
2276
|
t.preventDefault();
|
|
2244
|
-
let r = (
|
|
2277
|
+
let r = (A || T).trim();
|
|
2245
2278
|
if (!r) {
|
|
2246
2279
|
S("Please enter your registration number or email to receive a code.");
|
|
2247
2280
|
return;
|
|
2248
2281
|
}
|
|
2249
|
-
|
|
2282
|
+
fe(!0), S(null), w(null);
|
|
2250
2283
|
try {
|
|
2251
2284
|
await e.portalRequestPasswordReset(r), w("A verification code has been sent to your registered email."), o?.("password_reset_code_requested", { identifier: r }), u("reset");
|
|
2252
2285
|
} catch (e) {
|
|
@@ -2258,24 +2291,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2258
2291
|
error: e
|
|
2259
2292
|
});
|
|
2260
2293
|
} finally {
|
|
2261
|
-
|
|
2294
|
+
fe(!1);
|
|
2262
2295
|
}
|
|
2263
|
-
},
|
|
2296
|
+
}, et = async (r) => {
|
|
2264
2297
|
r.preventDefault();
|
|
2265
|
-
let i = (
|
|
2298
|
+
let i = (A || T).trim();
|
|
2266
2299
|
if (!i) {
|
|
2267
2300
|
S("Please enter your registration number or email.");
|
|
2268
2301
|
return;
|
|
2269
2302
|
}
|
|
2270
|
-
if (!
|
|
2303
|
+
if (!M.trim()) {
|
|
2271
2304
|
S("Please enter the verification code sent to your email.");
|
|
2272
2305
|
return;
|
|
2273
2306
|
}
|
|
2274
|
-
if (!
|
|
2307
|
+
if (!N) {
|
|
2275
2308
|
S("Please enter a new password.");
|
|
2276
2309
|
return;
|
|
2277
2310
|
}
|
|
2278
|
-
if (
|
|
2311
|
+
if (N !== oe) {
|
|
2279
2312
|
S("New password and confirm password do not match.");
|
|
2280
2313
|
return;
|
|
2281
2314
|
}
|
|
@@ -2283,13 +2316,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2283
2316
|
try {
|
|
2284
2317
|
let n = await e.portalConfirmPasswordReset({
|
|
2285
2318
|
identifier: i,
|
|
2286
|
-
code:
|
|
2287
|
-
new_password:
|
|
2319
|
+
code: M.trim(),
|
|
2320
|
+
new_password: N
|
|
2288
2321
|
}), r = n?.data?.token || n?.token;
|
|
2289
|
-
(n?.data?.name || n?.name) &&
|
|
2322
|
+
(n?.data?.name || n?.name) && k(n.data?.name || n.name), o?.("password_reset_success", {
|
|
2290
2323
|
identifier: i,
|
|
2291
2324
|
response: n
|
|
2292
|
-
}), r ? (t.setToken(r),
|
|
2325
|
+
}), r ? (t.setToken(r), ne(""), P(""), ce(""), await Je(r)) : (E(i), O(""), ne(""), P(""), ce(""), u("login"), w("Password updated successfully! Please login with your new password."));
|
|
2293
2326
|
} catch (e) {
|
|
2294
2327
|
n.error("Password reset failed", e);
|
|
2295
2328
|
let t = e.message || "Failed to update password. Please check the code.";
|
|
@@ -2301,9 +2334,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2301
2334
|
} finally {
|
|
2302
2335
|
g(!1);
|
|
2303
2336
|
}
|
|
2304
|
-
},
|
|
2305
|
-
t.clearToken(),
|
|
2306
|
-
},
|
|
2337
|
+
}, tt = () => {
|
|
2338
|
+
t.clearToken(), pe(null), me({}), he([]), z({}), B(null), W(null), k(""), O(""), u("login"), w("Logged out successfully."), o?.("attendee_logged_out", {});
|
|
2339
|
+
}, nt = async (r, i) => {
|
|
2307
2340
|
let a = t.getToken();
|
|
2308
2341
|
if (!a) {
|
|
2309
2342
|
S("Session expired. Please log in again.");
|
|
@@ -2313,13 +2346,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2313
2346
|
try {
|
|
2314
2347
|
let t = await e.uploadFile(i, a), n = t?.data?.serve_url || t?.serve_url || "", s = t?.data?.asset_id || t?.asset_id;
|
|
2315
2348
|
if (!s && !n) throw Error("Upload response missing asset_id");
|
|
2316
|
-
n &&
|
|
2349
|
+
n && me((e) => ({
|
|
2317
2350
|
...e,
|
|
2318
2351
|
[r]: n
|
|
2319
|
-
})), s && (
|
|
2352
|
+
})), s && (z((e) => ({
|
|
2320
2353
|
...e,
|
|
2321
2354
|
[r]: String(s)
|
|
2322
|
-
})),
|
|
2355
|
+
})), B(String(s))), w(`File "${i.name}" uploaded successfully!`), o?.("portal_file_uploaded", {
|
|
2323
2356
|
fieldId: r,
|
|
2324
2357
|
serveUrl: n,
|
|
2325
2358
|
assetId: s,
|
|
@@ -2336,25 +2369,25 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2336
2369
|
} finally {
|
|
2337
2370
|
b(null);
|
|
2338
2371
|
}
|
|
2339
|
-
},
|
|
2372
|
+
}, it = async (r) => {
|
|
2340
2373
|
let i = t.getToken();
|
|
2341
2374
|
if (!i) {
|
|
2342
2375
|
S("Session expired. Please log in again.");
|
|
2343
2376
|
return;
|
|
2344
2377
|
}
|
|
2345
|
-
let a =
|
|
2346
|
-
|
|
2378
|
+
let a = L[r], s = lt(a) || ge[r] || ye;
|
|
2379
|
+
we(r), S(null), w(null);
|
|
2347
2380
|
try {
|
|
2348
2381
|
s && (n.log(`Deleting asset ${s} for field ${r}...`), await e.portalDeleteFile(i, s), n.log(`Asset ${s} deleted successfully.`), o?.("portal_file_deleted", {
|
|
2349
2382
|
assetId: s,
|
|
2350
2383
|
fieldId: r
|
|
2351
|
-
})),
|
|
2384
|
+
})), me((e) => ({
|
|
2352
2385
|
...e,
|
|
2353
2386
|
[r]: ""
|
|
2354
|
-
})),
|
|
2387
|
+
})), z((e) => {
|
|
2355
2388
|
let t = { ...e };
|
|
2356
2389
|
return delete t[r], t;
|
|
2357
|
-
}),
|
|
2390
|
+
}), ye === s && B(null), w("File removed successfully.");
|
|
2358
2391
|
} catch (e) {
|
|
2359
2392
|
n.error("Failed to delete file", e);
|
|
2360
2393
|
let t = e.message || "Failed to delete file. Please try again.";
|
|
@@ -2364,11 +2397,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2364
2397
|
error: e
|
|
2365
2398
|
});
|
|
2366
2399
|
} finally {
|
|
2367
|
-
|
|
2400
|
+
we(null);
|
|
2368
2401
|
}
|
|
2369
|
-
},
|
|
2370
|
-
t ||
|
|
2371
|
-
},
|
|
2402
|
+
}, ot = (e, t) => {
|
|
2403
|
+
t || he((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
2404
|
+
}, st = async (r) => {
|
|
2372
2405
|
r.preventDefault();
|
|
2373
2406
|
let i = t.getToken();
|
|
2374
2407
|
if (!i) {
|
|
@@ -2377,14 +2410,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2377
2410
|
}
|
|
2378
2411
|
v(!0), S(null), w(null);
|
|
2379
2412
|
try {
|
|
2380
|
-
let t =
|
|
2413
|
+
let t = I?.editable_fields || [], n = { ...I?.registration?.custom_data || {} }, r = {};
|
|
2381
2414
|
t.forEach((e) => {
|
|
2382
|
-
let t =
|
|
2415
|
+
let t = L[e.id], i = e.label || e.name || e.id, a = dt(e.label, e.id), o = ut(e.id, e.label);
|
|
2383
2416
|
if (e.type === "file") {
|
|
2384
2417
|
let s = typeof t == "string" ? t : t?.serve_url || t?.url || "";
|
|
2385
2418
|
delete n[i], delete n[a], n[o] = s, r[o] = s, o !== e.id && (r[e.id] = s);
|
|
2386
2419
|
} else e.builtin ? (r[o] = t, o !== e.id && (r[e.id] = t)) : (n[o] = t, r[o] = t, o !== e.id && (n[e.id] = t, r[e.id] = t));
|
|
2387
|
-
}), r.custom_data = n, r.addons =
|
|
2420
|
+
}), r.custom_data = n, r.addons = R;
|
|
2388
2421
|
let a = await e.portalUpdateProfile(i, r);
|
|
2389
2422
|
o?.("attendee_profile_updated", {
|
|
2390
2423
|
payload: r,
|
|
@@ -2392,10 +2425,10 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2392
2425
|
});
|
|
2393
2426
|
let s = a?.data?.addon_checkout?.payment_url || a?.addon_checkout?.payment_url || a?.data?.payment_url || a?.payment_url;
|
|
2394
2427
|
if (s && typeof s == "string" && s.trim() !== "") {
|
|
2395
|
-
|
|
2428
|
+
W(s), w("Add-ons updated! Opening payment page in a new tab..."), o?.("addon_payment_opened", { payment_url: s }), window.open(s, "_blank", "noopener,noreferrer"), await Je(i);
|
|
2396
2429
|
return;
|
|
2397
2430
|
}
|
|
2398
|
-
w("Profile updated successfully!"), await
|
|
2431
|
+
w("Profile updated successfully!"), await Je(i);
|
|
2399
2432
|
} catch (e) {
|
|
2400
2433
|
n.error("Failed to update profile", e);
|
|
2401
2434
|
let t = e.message || "Failed to update profile. Please try again.";
|
|
@@ -2407,24 +2440,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2407
2440
|
} finally {
|
|
2408
2441
|
v(!1);
|
|
2409
2442
|
}
|
|
2410
|
-
},
|
|
2411
|
-
let e =
|
|
2443
|
+
}, ct = () => {
|
|
2444
|
+
let e = I?.review_submission;
|
|
2412
2445
|
if (!e) return;
|
|
2413
2446
|
let t = e.custom_data || {}, n = {}, r = {};
|
|
2414
2447
|
(e.editable_fields || []).forEach((i) => {
|
|
2415
2448
|
i.id === "name" ? n[i.id] = e.name || "" : i.id === "phone" ? n[i.id] = e.phone || "" : i.id === "registration_type" ? n[i.id] = e.registration_type || "" : n[i.id] = t[i.id] ?? t[ut(i.id, i.label)] ?? "", i.type === "file" && (r[i.id] = i.current_file?.text || "");
|
|
2416
|
-
}),
|
|
2417
|
-
},
|
|
2449
|
+
}), X(n), ze(r), Le({}), J(!0);
|
|
2450
|
+
}, ft = (e) => {
|
|
2418
2451
|
if (Ie[e.id]) return Ie[e.id];
|
|
2419
2452
|
let t = e.current_file;
|
|
2420
2453
|
return t && !t.serve_url && t.text ? "text" : "file";
|
|
2421
|
-
},
|
|
2454
|
+
}, pt = async (r, i) => {
|
|
2422
2455
|
let a = t.getToken();
|
|
2423
2456
|
if (!a) {
|
|
2424
2457
|
S("Session expired. Please log in again.");
|
|
2425
2458
|
return;
|
|
2426
2459
|
}
|
|
2427
|
-
let s = (
|
|
2460
|
+
let s = (I?.review_submission?.editable_fields || []).find((e) => e.id === r), l = s?.current_file?.id;
|
|
2428
2461
|
Fe(r), S(null), w(null);
|
|
2429
2462
|
try {
|
|
2430
2463
|
if (l) try {
|
|
@@ -2434,7 +2467,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2434
2467
|
}
|
|
2435
2468
|
let t = await e.uploadFile(i, a, null, s?.label), c = t?.data?.asset_id || t?.asset_id;
|
|
2436
2469
|
if (!c) throw Error("Upload response missing asset_id");
|
|
2437
|
-
|
|
2470
|
+
X((e) => ({
|
|
2438
2471
|
...e,
|
|
2439
2472
|
[r]: String(c)
|
|
2440
2473
|
})), w(`File "${i.name}" uploaded successfully!`), o?.("portal_submission_file_uploaded", {
|
|
@@ -2453,23 +2486,23 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2453
2486
|
} finally {
|
|
2454
2487
|
Fe(null);
|
|
2455
2488
|
}
|
|
2456
|
-
},
|
|
2489
|
+
}, ht = async (r) => {
|
|
2457
2490
|
let i = t.getToken();
|
|
2458
2491
|
if (!i) {
|
|
2459
2492
|
S("Session expired. Please log in again.");
|
|
2460
2493
|
return;
|
|
2461
2494
|
}
|
|
2462
|
-
let a = (
|
|
2495
|
+
let a = (Re[r] || "").trim();
|
|
2463
2496
|
if (a) {
|
|
2464
2497
|
Fe(r), S(null), w(null);
|
|
2465
2498
|
try {
|
|
2466
2499
|
let t = await e.portalUpdateSubmission(i, { [r]: { text: a } }), n = t?.data || t;
|
|
2467
|
-
|
|
2500
|
+
pe((e) => ({
|
|
2468
2501
|
...e,
|
|
2469
2502
|
review_submission: n
|
|
2470
2503
|
}));
|
|
2471
2504
|
let s = (n?.editable_fields || []).find((e) => e.id === r)?.current_file?.id;
|
|
2472
|
-
s &&
|
|
2505
|
+
s && X((e) => ({
|
|
2473
2506
|
...e,
|
|
2474
2507
|
[r]: String(s)
|
|
2475
2508
|
})), w("Text answer saved!"), o?.("portal_submission_text_saved", { fieldId: r });
|
|
@@ -2485,20 +2518,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2485
2518
|
Fe(null);
|
|
2486
2519
|
}
|
|
2487
2520
|
}
|
|
2488
|
-
},
|
|
2521
|
+
}, gt = async (r) => {
|
|
2489
2522
|
r.preventDefault();
|
|
2490
2523
|
let i = t.getToken();
|
|
2491
2524
|
if (!i) {
|
|
2492
2525
|
S("Session expired. Please log in again.");
|
|
2493
2526
|
return;
|
|
2494
2527
|
}
|
|
2495
|
-
|
|
2528
|
+
Me(!0), S(null), w(null);
|
|
2496
2529
|
try {
|
|
2497
2530
|
let t = await e.portalUpdateSubmission(i, Y), n = t?.data || t;
|
|
2498
|
-
|
|
2531
|
+
pe((e) => ({
|
|
2499
2532
|
...e,
|
|
2500
2533
|
review_submission: n
|
|
2501
|
-
})),
|
|
2534
|
+
})), J(!1), w("Your submission was updated successfully!"), o?.("attendee_submission_updated", {
|
|
2502
2535
|
payload: Y,
|
|
2503
2536
|
response: t
|
|
2504
2537
|
});
|
|
@@ -2511,9 +2544,51 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2511
2544
|
error: e
|
|
2512
2545
|
});
|
|
2513
2546
|
} finally {
|
|
2514
|
-
|
|
2547
|
+
Me(!1);
|
|
2548
|
+
}
|
|
2549
|
+
}, _t = (e) => mt.has(e.id) ? e.id : ut(e.id, e.label), vt = (e, t) => (mt.has(t.id) ? e[t.id] : (e.custom_data || {})[_t(t)]) ?? "", yt = (e, t) => We((n) => mt.has(e.id) ? {
|
|
2550
|
+
...n,
|
|
2551
|
+
[e.id]: t
|
|
2552
|
+
} : {
|
|
2553
|
+
...n,
|
|
2554
|
+
custom_data: {
|
|
2555
|
+
...n.custom_data || {},
|
|
2556
|
+
[_t(e)]: t
|
|
2557
|
+
}
|
|
2558
|
+
}), bt = (e) => {
|
|
2559
|
+
Q(e.id), S(null), We({
|
|
2560
|
+
id: e.id,
|
|
2561
|
+
salutation: e.salutation || "",
|
|
2562
|
+
name: e.name || "",
|
|
2563
|
+
email: e.email || "",
|
|
2564
|
+
phone: e.phone || "",
|
|
2565
|
+
custom_data: { ...e.custom_data || {} }
|
|
2566
|
+
});
|
|
2567
|
+
}, xt = async () => {
|
|
2568
|
+
let r = t.getToken();
|
|
2569
|
+
if (!r) {
|
|
2570
|
+
S("Session expired. Please log in again.");
|
|
2571
|
+
return;
|
|
2572
|
+
}
|
|
2573
|
+
Ke(!0), S(null), w(null);
|
|
2574
|
+
try {
|
|
2575
|
+
let t = await e.portalUpdateProfile(r, { accompanying: [He] });
|
|
2576
|
+
Q(null), w("Accompanying person updated."), o?.("attendee_accompanying_updated", {
|
|
2577
|
+
payload: He,
|
|
2578
|
+
response: t
|
|
2579
|
+
}), await Je(r);
|
|
2580
|
+
} catch (e) {
|
|
2581
|
+
n.error("Failed to update accompanying person", e);
|
|
2582
|
+
let t = e.message || "Could not update this person. Please try again.";
|
|
2583
|
+
S(t), c?.({
|
|
2584
|
+
type: "accompanying_update_error",
|
|
2585
|
+
message: t,
|
|
2586
|
+
error: e
|
|
2587
|
+
});
|
|
2588
|
+
} finally {
|
|
2589
|
+
Ke(!1);
|
|
2515
2590
|
}
|
|
2516
|
-
},
|
|
2591
|
+
}, St = () => /* @__PURE__ */ m("div", {
|
|
2517
2592
|
className: "absolute inset-0 pointer-events-none overflow-hidden z-0 select-none",
|
|
2518
2593
|
children: [
|
|
2519
2594
|
/* @__PURE__ */ p("div", {
|
|
@@ -2540,9 +2615,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2540
2615
|
}
|
|
2541
2616
|
})
|
|
2542
2617
|
]
|
|
2543
|
-
}),
|
|
2618
|
+
}), Ct = (e) => {
|
|
2544
2619
|
let t = (e.label || e.id || "").toLowerCase(), n = e.type;
|
|
2545
|
-
return n === "email" || t.includes("email") || t.includes("mail") ? /* @__PURE__ */ p(
|
|
2620
|
+
return n === "email" || t.includes("email") || t.includes("mail") ? /* @__PURE__ */ p(je, {
|
|
2546
2621
|
size: 13,
|
|
2547
2622
|
className: "shrink-0",
|
|
2548
2623
|
style: { color: r }
|
|
@@ -2558,30 +2633,30 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2558
2633
|
size: 13,
|
|
2559
2634
|
className: "shrink-0",
|
|
2560
2635
|
style: { color: r }
|
|
2561
|
-
}) : t.includes("designat") || t.includes("role") || t.includes("position") || t.includes("profession") ? /* @__PURE__ */ p(
|
|
2636
|
+
}) : t.includes("designat") || t.includes("role") || t.includes("position") || t.includes("profession") ? /* @__PURE__ */ p(ie, {
|
|
2562
2637
|
size: 13,
|
|
2563
2638
|
className: "shrink-0",
|
|
2564
2639
|
style: { color: r }
|
|
2565
|
-
}) : t.includes("specialis") || t.includes("specializ") || t.includes("department") || t.includes("degree") ? /* @__PURE__ */ p(
|
|
2640
|
+
}) : t.includes("specialis") || t.includes("specializ") || t.includes("department") || t.includes("degree") ? /* @__PURE__ */ p(V, {
|
|
2566
2641
|
size: 13,
|
|
2567
2642
|
className: "shrink-0",
|
|
2568
2643
|
style: { color: r }
|
|
2569
|
-
}) : t.includes("organi") || t.includes("institute") || t.includes("hospital") || t.includes("company") || t.includes("college") ? /* @__PURE__ */ p(
|
|
2644
|
+
}) : t.includes("organi") || t.includes("institute") || t.includes("hospital") || t.includes("company") || t.includes("college") ? /* @__PURE__ */ p(ae, {
|
|
2570
2645
|
size: 13,
|
|
2571
2646
|
className: "shrink-0",
|
|
2572
2647
|
style: { color: r }
|
|
2573
|
-
}) : t.includes("city") || t.includes("state") || t.includes("country") || t.includes("address") ? /* @__PURE__ */ p(
|
|
2648
|
+
}) : t.includes("city") || t.includes("state") || t.includes("country") || t.includes("address") ? /* @__PURE__ */ p(Ne, {
|
|
2574
2649
|
size: 13,
|
|
2575
2650
|
className: "shrink-0",
|
|
2576
2651
|
style: { color: r }
|
|
2577
|
-
}) : p(n === "file" ?
|
|
2652
|
+
}) : p(n === "file" ? Ce : xe, {
|
|
2578
2653
|
size: 13,
|
|
2579
2654
|
className: "shrink-0",
|
|
2580
2655
|
style: { color: r }
|
|
2581
2656
|
});
|
|
2582
|
-
},
|
|
2657
|
+
}, wt = (e, t = "w-full", n = []) => {
|
|
2583
2658
|
if (!e) return null;
|
|
2584
|
-
let r = n.includes(e.id) || n.includes(ut(e.id, e.label)), a =
|
|
2659
|
+
let r = n.includes(e.id) || n.includes(ut(e.id, e.label)), a = L[e.id] ?? "", o = `vx-profile-${e.id}`, s = `w-full h-11 px-3.5 text-sm font-medium rounded-xl border transition-all focus:outline-none ${r ? i ? "bg-zinc-800/60 text-zinc-500 border-zinc-800 cursor-not-allowed" : "bg-slate-50 text-slate-500 border-slate-200 cursor-not-allowed" : i ? "bg-zinc-950 border-zinc-700 text-white placeholder:text-zinc-500 hover:border-zinc-600 focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_20%,transparent)]" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 hover:border-slate-300 shadow-[0_1px_2px_rgba(15,23,42,0.04)] focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)]"}`;
|
|
2585
2660
|
return /* @__PURE__ */ m("div", {
|
|
2586
2661
|
className: `${t} px-2 mb-4`,
|
|
2587
2662
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2593,7 +2668,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2593
2668
|
children: [
|
|
2594
2669
|
/* @__PURE__ */ p("span", {
|
|
2595
2670
|
className: i ? "text-zinc-500" : "text-slate-400",
|
|
2596
|
-
children:
|
|
2671
|
+
children: Ct(e)
|
|
2597
2672
|
}),
|
|
2598
2673
|
/* @__PURE__ */ p("span", { children: e.label }),
|
|
2599
2674
|
e.required && /* @__PURE__ */ p("span", {
|
|
@@ -2603,7 +2678,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2603
2678
|
]
|
|
2604
2679
|
}), r ? /* @__PURE__ */ m("span", {
|
|
2605
2680
|
className: `flex items-center gap-1 text-[10px] font-semibold px-2 py-0.5 rounded-full ${i ? "text-zinc-400 bg-zinc-800" : "text-slate-500 bg-slate-100"}`,
|
|
2606
|
-
children: [/* @__PURE__ */ p(
|
|
2681
|
+
children: [/* @__PURE__ */ p(De, { size: 10 }), " Locked"]
|
|
2607
2682
|
}) : null]
|
|
2608
2683
|
}), e.type === "select" ? /* @__PURE__ */ m("div", {
|
|
2609
2684
|
className: "relative",
|
|
@@ -2612,8 +2687,8 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2612
2687
|
id: o,
|
|
2613
2688
|
disabled: r,
|
|
2614
2689
|
value: a,
|
|
2615
|
-
onChange: (t) =>
|
|
2616
|
-
...
|
|
2690
|
+
onChange: (t) => me({
|
|
2691
|
+
...L,
|
|
2617
2692
|
[e.id]: t.target.value
|
|
2618
2693
|
}),
|
|
2619
2694
|
className: `${s} pr-9 appearance-none cursor-pointer flex items-center`,
|
|
@@ -2632,24 +2707,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2632
2707
|
}, e))]
|
|
2633
2708
|
}), /* @__PURE__ */ p("div", {
|
|
2634
2709
|
className: `absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none ${i ? "text-zinc-400" : "text-slate-400"}`,
|
|
2635
|
-
children: /* @__PURE__ */ p(
|
|
2710
|
+
children: /* @__PURE__ */ p(le, { size: 15 })
|
|
2636
2711
|
})]
|
|
2637
|
-
}) : e.type === "file" ?
|
|
2712
|
+
}) : e.type === "file" ? Tt(e, r, a) : /* @__PURE__ */ p("input", {
|
|
2638
2713
|
part: "input",
|
|
2639
2714
|
id: o,
|
|
2640
2715
|
type: e.type === "phone" ? "tel" : e.type === "email" ? "email" : "text",
|
|
2641
2716
|
disabled: r,
|
|
2642
2717
|
value: a,
|
|
2643
2718
|
placeholder: e.placeholder || `Enter ${e.label.toLowerCase()}`,
|
|
2644
|
-
onChange: (t) =>
|
|
2645
|
-
...
|
|
2719
|
+
onChange: (t) => me({
|
|
2720
|
+
...L,
|
|
2646
2721
|
[e.id]: t.target.value
|
|
2647
2722
|
}),
|
|
2648
2723
|
className: s
|
|
2649
2724
|
})]
|
|
2650
2725
|
}, e.id);
|
|
2651
|
-
},
|
|
2652
|
-
let a = y === e.id, o = e.label || e.name || e.id, s = typeof n == "string" ? n : n?.serve_url || n?.url || "", c = typeof n == "string" ?
|
|
2726
|
+
}, Tt = (e, t, n) => {
|
|
2727
|
+
let a = y === e.id, o = e.label || e.name || e.id, s = I?.file_answers?.[e.id], c = typeof n == "string" ? /^https?:\/\//i.test(n) ? n : "" : n?.serve_url || n?.url || "", l = s?.serve_url || c, u = s?.text || "", d = s?.file_name || (typeof n == "string" ? l : n?.file_name || l);
|
|
2653
2728
|
return /* @__PURE__ */ p("div", {
|
|
2654
2729
|
className: "space-y-2",
|
|
2655
2730
|
children: /* @__PURE__ */ m("div", {
|
|
@@ -2667,48 +2742,54 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2667
2742
|
borderColor: i ? "rgba(255,255,255,0.12)" : `color-mix(in srgb, ${r} 20%, white)`,
|
|
2668
2743
|
color: r
|
|
2669
2744
|
},
|
|
2670
|
-
children: /* @__PURE__ */ p(
|
|
2745
|
+
children: /* @__PURE__ */ p(Ce, { size: 16 })
|
|
2671
2746
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
|
|
2672
2747
|
className: `text-xs font-bold ${i ? "text-zinc-200" : "text-gray-900"}`,
|
|
2673
2748
|
children: o
|
|
2674
2749
|
}), /* @__PURE__ */ p("p", {
|
|
2675
2750
|
className: `text-2xs font-medium ${i ? "text-zinc-400" : "text-gray-500"}`,
|
|
2676
|
-
children: n ? "Document attached" : "Choose a file to upload"
|
|
2751
|
+
children: u ? "Answered with text" : n ? "Document attached" : "Choose a file to upload"
|
|
2677
2752
|
})] })]
|
|
2678
2753
|
}), /* @__PURE__ */ p("div", {
|
|
2679
2754
|
className: "flex items-center gap-2",
|
|
2680
|
-
children:
|
|
2681
|
-
href:
|
|
2755
|
+
children: (l.trim() !== "" || u) && /* @__PURE__ */ m(f, { children: [l.trim() !== "" && /* @__PURE__ */ m("a", {
|
|
2756
|
+
href: l,
|
|
2682
2757
|
target: "_blank",
|
|
2683
2758
|
rel: "noopener noreferrer",
|
|
2684
2759
|
className: "flex items-center gap-1.5 py-1.5 px-3 rounded-lg text-xs font-semibold text-white shadow-xs transition-opacity hover:opacity-90 shrink-0",
|
|
2685
2760
|
style: { backgroundColor: r },
|
|
2686
2761
|
title: "Open file in new tab",
|
|
2687
2762
|
children: [
|
|
2688
|
-
/* @__PURE__ */ p(
|
|
2763
|
+
/* @__PURE__ */ p(xe, { size: 13 }),
|
|
2689
2764
|
/* @__PURE__ */ p("span", { children: "View" }),
|
|
2690
|
-
/* @__PURE__ */ p(
|
|
2765
|
+
/* @__PURE__ */ p(be, { size: 11 })
|
|
2691
2766
|
]
|
|
2692
2767
|
}), !t && /* @__PURE__ */ m("button", {
|
|
2693
2768
|
type: "button",
|
|
2694
|
-
disabled:
|
|
2695
|
-
onClick: () =>
|
|
2769
|
+
disabled: Se === e.id || a,
|
|
2770
|
+
onClick: () => it(e.id),
|
|
2696
2771
|
className: `flex items-center gap-1 py-1.5 px-2.5 rounded-lg text-xs font-semibold border backdrop-blur-sm transition-colors cursor-pointer ${i ? "border-red-900/60 bg-red-950/50 text-red-400 hover:bg-red-900/60" : "border-red-200 bg-red-50/80 text-red-600 hover:bg-red-100"}`,
|
|
2697
2772
|
title: "Remove file",
|
|
2698
|
-
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children:
|
|
2773
|
+
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: Se === e.id ? "Deleting..." : "Delete" })]
|
|
2699
2774
|
})] })
|
|
2700
2775
|
})]
|
|
2701
2776
|
}),
|
|
2702
|
-
|
|
2777
|
+
u ? /* @__PURE__ */ p("div", {
|
|
2778
|
+
className: `mt-2 pt-2 border-t ${i ? "border-zinc-800" : "border-gray-200"}`,
|
|
2779
|
+
children: /* @__PURE__ */ p("p", {
|
|
2780
|
+
className: `text-2xs whitespace-pre-wrap break-words m-0 ${i ? "text-zinc-300" : "text-gray-700"}`,
|
|
2781
|
+
children: u
|
|
2782
|
+
})
|
|
2783
|
+
}) : n ? /* @__PURE__ */ m("div", {
|
|
2703
2784
|
className: `mt-2 pt-2 border-t text-2xs truncate flex items-center gap-1.5 ${i ? "border-zinc-800 text-zinc-300" : "border-gray-200 text-gray-700 font-medium"}`,
|
|
2704
|
-
children: [/* @__PURE__ */ p(
|
|
2785
|
+
children: [/* @__PURE__ */ p(se, {
|
|
2705
2786
|
size: 12,
|
|
2706
2787
|
className: "text-emerald-500 shrink-0"
|
|
2707
2788
|
}), /* @__PURE__ */ m("span", {
|
|
2708
2789
|
className: "truncate",
|
|
2709
|
-
children: ["Attached: ",
|
|
2790
|
+
children: ["Attached: ", d]
|
|
2710
2791
|
})]
|
|
2711
|
-
}),
|
|
2792
|
+
}) : null,
|
|
2712
2793
|
!t && /* @__PURE__ */ p("div", {
|
|
2713
2794
|
className: `mt-3 pt-3 border-t ${i ? "border-zinc-800" : "border-slate-200"}`,
|
|
2714
2795
|
children: /* @__PURE__ */ m("label", {
|
|
@@ -2721,7 +2802,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2721
2802
|
disabled: a,
|
|
2722
2803
|
onChange: (t) => {
|
|
2723
2804
|
let n = t.target.files?.[0];
|
|
2724
|
-
n &&
|
|
2805
|
+
n && nt(e.id, n), t.target.value = "";
|
|
2725
2806
|
}
|
|
2726
2807
|
}), /* @__PURE__ */ m("div", {
|
|
2727
2808
|
className: `inline-flex items-center gap-1.5 py-1.5 px-3 rounded-lg text-xs font-semibold border transition-all shadow-2xs ${i ? "border-zinc-700 hover:border-zinc-600 text-zinc-200 bg-zinc-800 hover:bg-zinc-750" : "border-gray-300 hover:border-gray-400 text-gray-800 bg-white hover:bg-gray-50"}`,
|
|
@@ -2736,7 +2817,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2736
2817
|
})
|
|
2737
2818
|
});
|
|
2738
2819
|
};
|
|
2739
|
-
if (l === "profile" && !
|
|
2820
|
+
if (l === "profile" && !I) {
|
|
2740
2821
|
let e = "vx-skeleton rounded-full", t = `rounded-3xl border p-5 sm:p-6 ${i ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_-16px_rgba(15,23,42,0.12)]"}`;
|
|
2741
2822
|
return /* @__PURE__ */ m("div", {
|
|
2742
2823
|
role: "status",
|
|
@@ -2748,7 +2829,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2748
2829
|
className: "sr-only",
|
|
2749
2830
|
children: "Loading your profile…"
|
|
2750
2831
|
}),
|
|
2751
|
-
|
|
2832
|
+
St(),
|
|
2752
2833
|
/* @__PURE__ */ m("div", {
|
|
2753
2834
|
className: `max-w-3xl mx-auto w-full px-4 sm:px-6 ${a ? "py-8 sm:py-10" : "py-5"} space-y-5 relative z-10`,
|
|
2754
2835
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2790,14 +2871,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2790
2871
|
});
|
|
2791
2872
|
}
|
|
2792
2873
|
if (l === "profile") {
|
|
2793
|
-
let e =
|
|
2874
|
+
let e = I?.registration || {}, t = I?.editable_fields || [], n = I?.locked_fields || [], o = Array.isArray(I?.payment) ? I.payment : I?.payment ? [I.payment] : [], s = o.filter((e) => e.state !== "not_required"), c = o[0], l = I?.addons?.items || [], u = I?.badge || null, d = I?.accompanying || [], h = I?.accompany_fields || [], g = `w-full px-3.5 py-2.5 text-sm font-medium rounded-xl border transition-all focus:outline-none ${i ? "bg-zinc-900 border-zinc-700 text-white placeholder:text-zinc-500" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400"}`, v = I?.review_submission || null, b = ee || "Attendee", S = b.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toUpperCase()).join("") || "A", w = `rounded-3xl border p-5 sm:p-6 ${i ? "bg-zinc-900 border-zinc-800 text-white" : "bg-white border-slate-200/80 text-slate-900 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_-16px_rgba(15,23,42,0.12)]"}`, T = i ? "text-zinc-400" : "text-slate-500", E = `text-base font-semibold tracking-tight ${i ? "text-white" : "text-slate-900"}`, D = [
|
|
2794
2875
|
{
|
|
2795
2876
|
label: "Registration no.",
|
|
2796
2877
|
value: e.registration_number || "N/A",
|
|
2797
2878
|
mono: !0
|
|
2798
2879
|
},
|
|
2799
2880
|
{
|
|
2800
|
-
label: "
|
|
2881
|
+
label: "Registration type",
|
|
2801
2882
|
value: e.registration_type || "N/A"
|
|
2802
2883
|
},
|
|
2803
2884
|
...c && c.state !== "not_required" ? [{
|
|
@@ -2812,14 +2893,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2812
2893
|
onScroll: a ? void 0 : (e) => {
|
|
2813
2894
|
e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0);
|
|
2814
2895
|
},
|
|
2815
|
-
children: [
|
|
2896
|
+
children: [St(), /* @__PURE__ */ p("div", {
|
|
2816
2897
|
className: `${a ? "w-full flex-1" : "flex-1 overflow-y-auto min-h-0 overscroll-contain"} relative z-10`,
|
|
2817
2898
|
children: /* @__PURE__ */ m("div", {
|
|
2818
2899
|
className: `max-w-3xl mx-auto w-full px-4 sm:px-6 ${a ? "py-8 sm:py-10" : "py-5"} space-y-5`,
|
|
2819
2900
|
children: [
|
|
2820
2901
|
/* @__PURE__ */ m("div", {
|
|
2821
2902
|
part: "portal-card profile-card",
|
|
2822
|
-
className:
|
|
2903
|
+
className: w,
|
|
2823
2904
|
children: [/* @__PURE__ */ m("div", {
|
|
2824
2905
|
className: "flex items-start justify-between gap-3",
|
|
2825
2906
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2828,7 +2909,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2828
2909
|
className: "w-12 h-12 sm:w-14 sm:h-14 rounded-2xl flex items-center justify-center shrink-0 text-base sm:text-lg font-bold text-white",
|
|
2829
2910
|
style: { background: `linear-gradient(135deg, ${r}, color-mix(in srgb, ${r} 75%, black))` },
|
|
2830
2911
|
"aria-hidden": "true",
|
|
2831
|
-
children:
|
|
2912
|
+
children: S
|
|
2832
2913
|
}), /* @__PURE__ */ m("div", {
|
|
2833
2914
|
className: "min-w-0",
|
|
2834
2915
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2837,30 +2918,30 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2837
2918
|
part: "portal-title",
|
|
2838
2919
|
style: $,
|
|
2839
2920
|
className: `text-lg sm:text-xl font-bold tracking-tight break-words ${i ? "text-white" : "text-slate-900"}`,
|
|
2840
|
-
children:
|
|
2921
|
+
children: b
|
|
2841
2922
|
}), e.status && /* @__PURE__ */ p("span", {
|
|
2842
2923
|
className: `px-2.5 py-0.5 rounded-full text-[11px] font-semibold capitalize ${i ? "bg-emerald-950/70 text-emerald-300" : "bg-emerald-50 text-emerald-700"}`,
|
|
2843
2924
|
children: e.status
|
|
2844
2925
|
})]
|
|
2845
2926
|
}), /* @__PURE__ */ p("p", {
|
|
2846
|
-
className: `text-[13px] mt-0.5 ${
|
|
2927
|
+
className: `text-[13px] mt-0.5 ${T}`,
|
|
2847
2928
|
children: "Manage your registration and details"
|
|
2848
2929
|
})]
|
|
2849
2930
|
})]
|
|
2850
2931
|
}), /* @__PURE__ */ m("button", {
|
|
2851
2932
|
part: "button button-secondary logout-button",
|
|
2852
|
-
onClick:
|
|
2933
|
+
onClick: tt,
|
|
2853
2934
|
className: `shrink-0 inline-flex items-center justify-center gap-1.5 h-9 w-9 sm:w-auto sm:px-3.5 text-[13px] font-semibold rounded-full border transition-colors cursor-pointer ${i ? "text-zinc-300 border-zinc-700 hover:bg-zinc-800 hover:text-red-300" : "text-slate-600 border-slate-200 bg-white hover:bg-red-50 hover:text-red-600 hover:border-red-200"}`,
|
|
2854
2935
|
title: "Logout",
|
|
2855
2936
|
"aria-label": "Logout",
|
|
2856
|
-
children: [/* @__PURE__ */ p(
|
|
2937
|
+
children: [/* @__PURE__ */ p(ke, { size: 14 }), /* @__PURE__ */ p("span", {
|
|
2857
2938
|
className: "hidden sm:inline",
|
|
2858
2939
|
children: "Logout"
|
|
2859
2940
|
})]
|
|
2860
2941
|
})]
|
|
2861
2942
|
}), /* @__PURE__ */ p("dl", {
|
|
2862
|
-
className: `mt-5 pt-5 border-t grid grid-cols-2 ${
|
|
2863
|
-
children:
|
|
2943
|
+
className: `mt-5 pt-5 border-t grid grid-cols-2 ${D.length === 3 ? "sm:grid-cols-3" : "sm:grid-cols-2"} gap-4 ${i ? "border-zinc-800" : "border-slate-100"}`,
|
|
2944
|
+
children: D.map((e) => /* @__PURE__ */ m("div", {
|
|
2864
2945
|
className: "min-w-0",
|
|
2865
2946
|
children: [/* @__PURE__ */ p("dt", {
|
|
2866
2947
|
className: `text-[11px] font-semibold uppercase tracking-wider ${i ? "text-zinc-500" : "text-slate-400"}`,
|
|
@@ -2873,36 +2954,36 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2873
2954
|
})]
|
|
2874
2955
|
}),
|
|
2875
2956
|
/* @__PURE__ */ m("form", {
|
|
2876
|
-
onSubmit:
|
|
2957
|
+
onSubmit: st,
|
|
2877
2958
|
className: "space-y-5",
|
|
2878
2959
|
children: [
|
|
2879
2960
|
t.length === 0 ? /* @__PURE__ */ p("div", {
|
|
2880
|
-
className: `${
|
|
2961
|
+
className: `${w} text-center text-sm ${T}`,
|
|
2881
2962
|
children: "No editable fields configured."
|
|
2882
2963
|
}) : /* @__PURE__ */ m("div", {
|
|
2883
2964
|
part: "portal-card details-card",
|
|
2884
|
-
className:
|
|
2965
|
+
className: w,
|
|
2885
2966
|
children: [/* @__PURE__ */ m("div", {
|
|
2886
2967
|
className: "flex items-start justify-between gap-3 mb-5",
|
|
2887
2968
|
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
2888
|
-
className:
|
|
2969
|
+
className: E,
|
|
2889
2970
|
style: $,
|
|
2890
2971
|
children: "Your details"
|
|
2891
2972
|
}), /* @__PURE__ */ p("p", {
|
|
2892
|
-
className: `text-[13px] mt-0.5 ${
|
|
2973
|
+
className: `text-[13px] mt-0.5 ${T}`,
|
|
2893
2974
|
children: "Keep your information up to date."
|
|
2894
|
-
})] }),
|
|
2975
|
+
})] }), G && /* @__PURE__ */ m("span", {
|
|
2895
2976
|
className: `inline-flex items-center gap-1 text-[11px] font-semibold px-2.5 py-1 rounded-full shrink-0 ${i ? "bg-emerald-950/60 text-emerald-300" : "bg-emerald-50 text-emerald-700"}`,
|
|
2896
|
-
children: [/* @__PURE__ */ p(
|
|
2977
|
+
children: [/* @__PURE__ */ p(se, { size: 11 }), " Draft restored"]
|
|
2897
2978
|
})]
|
|
2898
2979
|
}), /* @__PURE__ */ p("div", {
|
|
2899
2980
|
className: "flex flex-wrap -mx-2 -mb-4",
|
|
2900
|
-
children: t.map((e) =>
|
|
2981
|
+
children: t.map((e) => wt(e, e.type === "file" || e.width === "full" ? "w-full" : "w-full md:w-1/2", n))
|
|
2901
2982
|
})]
|
|
2902
2983
|
}),
|
|
2903
2984
|
l.length > 0 && /* @__PURE__ */ m("div", {
|
|
2904
2985
|
part: "portal-card addons-card",
|
|
2905
|
-
className:
|
|
2986
|
+
className: w,
|
|
2906
2987
|
children: [/* @__PURE__ */ p("div", {
|
|
2907
2988
|
className: "flex items-start justify-between gap-3 mb-4",
|
|
2908
2989
|
children: /* @__PURE__ */ m("div", {
|
|
@@ -2915,18 +2996,18 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2915
2996
|
},
|
|
2916
2997
|
children: /* @__PURE__ */ p(Ye, { size: 17 })
|
|
2917
2998
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
2918
|
-
className:
|
|
2999
|
+
className: E,
|
|
2919
3000
|
style: $,
|
|
2920
3001
|
children: "Add-ons"
|
|
2921
3002
|
}), /* @__PURE__ */ p("p", {
|
|
2922
|
-
className: `text-[13px] ${
|
|
3003
|
+
className: `text-[13px] ${T}`,
|
|
2923
3004
|
children: "Select items to add to your registration"
|
|
2924
3005
|
})] })]
|
|
2925
3006
|
})
|
|
2926
3007
|
}), /* @__PURE__ */ p("div", {
|
|
2927
3008
|
className: "space-y-2",
|
|
2928
3009
|
children: l.map((e) => {
|
|
2929
|
-
let t = !!e.purchased, n =
|
|
3010
|
+
let t = !!e.purchased, n = R.includes(e.name);
|
|
2930
3011
|
return /* @__PURE__ */ m("label", {
|
|
2931
3012
|
className: `p-3.5 rounded-2xl border flex items-center gap-3 transition-all ${t ? i ? "bg-zinc-950/60 border-zinc-800 cursor-default" : "bg-slate-50 border-slate-200 cursor-default" : n ? "cursor-pointer" : i ? "border-zinc-800 bg-zinc-900 hover:border-zinc-700 cursor-pointer" : "border-slate-200 bg-white hover:border-slate-300 cursor-pointer"}`,
|
|
2932
3013
|
style: n && !t ? {
|
|
@@ -2938,7 +3019,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2938
3019
|
type: "checkbox",
|
|
2939
3020
|
checked: n,
|
|
2940
3021
|
disabled: t,
|
|
2941
|
-
onChange: () =>
|
|
3022
|
+
onChange: () => ot(e.name, t),
|
|
2942
3023
|
className: "w-4 h-4 rounded cursor-pointer shrink-0 disabled:cursor-default",
|
|
2943
3024
|
style: { accentColor: r }
|
|
2944
3025
|
}),
|
|
@@ -2959,7 +3040,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2959
3040
|
}),
|
|
2960
3041
|
t && /* @__PURE__ */ m("span", {
|
|
2961
3042
|
className: `px-2.5 py-1 rounded-full text-[11px] font-semibold flex items-center gap-1 shrink-0 ${i ? "bg-emerald-950/70 text-emerald-300" : "bg-emerald-50 text-emerald-700"}`,
|
|
2962
|
-
children: [/* @__PURE__ */ p(
|
|
3043
|
+
children: [/* @__PURE__ */ p(se, { size: 12 }), " Purchased"]
|
|
2963
3044
|
})
|
|
2964
3045
|
]
|
|
2965
3046
|
}, e.name);
|
|
@@ -2994,14 +3075,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2994
3075
|
fill: "currentColor",
|
|
2995
3076
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
2996
3077
|
})]
|
|
2997
|
-
}), /* @__PURE__ */ p("span", { children: "Saving..." })] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
3078
|
+
}), /* @__PURE__ */ p("span", { children: "Saving..." })] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(Z, { size: 16 }), /* @__PURE__ */ p("span", { children: "Save changes" })] })
|
|
2998
3079
|
})
|
|
2999
3080
|
})
|
|
3000
3081
|
]
|
|
3001
3082
|
}),
|
|
3002
3083
|
u && /* @__PURE__ */ m("div", {
|
|
3003
3084
|
part: "portal-card badge-card",
|
|
3004
|
-
className:
|
|
3085
|
+
className: w,
|
|
3005
3086
|
children: [
|
|
3006
3087
|
/* @__PURE__ */ m("div", {
|
|
3007
3088
|
className: "flex items-center gap-3 mb-4",
|
|
@@ -3011,13 +3092,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3011
3092
|
backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
|
|
3012
3093
|
color: r
|
|
3013
3094
|
},
|
|
3014
|
-
children: /* @__PURE__ */ p(
|
|
3095
|
+
children: /* @__PURE__ */ p(U, { size: 17 })
|
|
3015
3096
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
3016
|
-
className:
|
|
3097
|
+
className: E,
|
|
3017
3098
|
style: $,
|
|
3018
3099
|
children: "Your badge"
|
|
3019
3100
|
}), /* @__PURE__ */ p("p", {
|
|
3020
|
-
className: `text-[13px] ${
|
|
3101
|
+
className: `text-[13px] ${T}`,
|
|
3021
3102
|
children: "View or download your event badge."
|
|
3022
3103
|
})] })]
|
|
3023
3104
|
}),
|
|
@@ -3036,7 +3117,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3036
3117
|
target: "_blank",
|
|
3037
3118
|
rel: "noopener noreferrer",
|
|
3038
3119
|
className: `inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold border transition-colors ${i ? "text-zinc-200 border-zinc-700 hover:bg-zinc-800" : "text-slate-700 border-slate-200 bg-white hover:bg-slate-50"}`,
|
|
3039
|
-
children: [/* @__PURE__ */ p(
|
|
3120
|
+
children: [/* @__PURE__ */ p(be, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
|
|
3040
3121
|
}), /* @__PURE__ */ m("a", {
|
|
3041
3122
|
href: u,
|
|
3042
3123
|
download: !0,
|
|
@@ -3044,14 +3125,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3044
3125
|
rel: "noopener noreferrer",
|
|
3045
3126
|
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white",
|
|
3046
3127
|
style: { backgroundColor: r },
|
|
3047
|
-
children: [/* @__PURE__ */ p(
|
|
3128
|
+
children: [/* @__PURE__ */ p(ve, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
|
|
3048
3129
|
})]
|
|
3049
3130
|
})
|
|
3050
3131
|
]
|
|
3051
3132
|
}),
|
|
3052
3133
|
d.length > 0 && /* @__PURE__ */ m("div", {
|
|
3053
3134
|
part: "portal-card accompanying-card",
|
|
3054
|
-
className:
|
|
3135
|
+
className: w,
|
|
3055
3136
|
children: [/* @__PURE__ */ m("div", {
|
|
3056
3137
|
className: "flex items-center gap-3 mb-4",
|
|
3057
3138
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -3062,11 +3143,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3062
3143
|
},
|
|
3063
3144
|
children: /* @__PURE__ */ p(at, { size: 17 })
|
|
3064
3145
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
3065
|
-
className:
|
|
3146
|
+
className: E,
|
|
3066
3147
|
style: $,
|
|
3067
3148
|
children: "Accompanying people"
|
|
3068
3149
|
}), /* @__PURE__ */ m("p", {
|
|
3069
|
-
className: `text-[13px] ${
|
|
3150
|
+
className: `text-[13px] ${T}`,
|
|
3070
3151
|
children: [d.length, " registered with you, each with their own badge."]
|
|
3071
3152
|
})] })]
|
|
3072
3153
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -3074,55 +3155,132 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3074
3155
|
children: d.map((e) => /* @__PURE__ */ m("div", {
|
|
3075
3156
|
part: "accompanying-person",
|
|
3076
3157
|
className: `rounded-2xl border p-4 ${i ? "border-zinc-800 bg-zinc-950/60" : "border-slate-200 bg-slate-50"}`,
|
|
3077
|
-
children: [
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3158
|
+
children: [
|
|
3159
|
+
/* @__PURE__ */ m("div", {
|
|
3160
|
+
className: "flex items-start justify-between gap-3 flex-wrap",
|
|
3161
|
+
children: [/* @__PURE__ */ m("div", {
|
|
3162
|
+
className: "min-w-0",
|
|
3163
|
+
children: [/* @__PURE__ */ p("div", {
|
|
3164
|
+
className: `text-sm font-semibold ${i ? "text-white" : "text-slate-900"}`,
|
|
3165
|
+
children: [e.salutation, e.name].filter(Boolean).join(" ")
|
|
3166
|
+
}), /* @__PURE__ */ p("div", {
|
|
3167
|
+
className: `text-xs mt-0.5 truncate ${T}`,
|
|
3168
|
+
children: [e.registration_number, e.email].filter(Boolean).join(" · ")
|
|
3169
|
+
})]
|
|
3170
|
+
}), /* @__PURE__ */ m("div", {
|
|
3171
|
+
className: "flex items-center gap-2 shrink-0",
|
|
3172
|
+
children: [/* @__PURE__ */ p("span", {
|
|
3173
|
+
className: `text-[11px] font-semibold px-2.5 py-1 rounded-full ${e.status === "confirmed" ? "bg-emerald-100 text-emerald-700" : i ? "bg-zinc-800 text-zinc-300" : "bg-slate-200 text-slate-600"}`,
|
|
3174
|
+
children: e.status
|
|
3175
|
+
}), h.length > 0 && Be !== e.id && /* @__PURE__ */ m("button", {
|
|
3176
|
+
type: "button",
|
|
3177
|
+
onClick: () => bt(e),
|
|
3178
|
+
className: `inline-flex items-center gap-1.5 h-8 px-3 rounded-full text-xs font-semibold border transition-colors ${i ? "text-zinc-200 border-zinc-700 hover:bg-zinc-800" : "text-slate-700 border-slate-200 bg-white hover:bg-slate-50"}`,
|
|
3179
|
+
children: [/* @__PURE__ */ p(rt, { size: 12 }), /* @__PURE__ */ p("span", { children: "Edit" })]
|
|
3180
|
+
})]
|
|
3087
3181
|
})]
|
|
3088
|
-
}),
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3182
|
+
}),
|
|
3183
|
+
Be === e.id && /* @__PURE__ */ m("div", {
|
|
3184
|
+
className: "mt-4 space-y-3",
|
|
3185
|
+
children: [h.map((t) => {
|
|
3186
|
+
let n = e.file_answers?.[_t(t)];
|
|
3187
|
+
return /* @__PURE__ */ m("label", {
|
|
3188
|
+
className: "block",
|
|
3189
|
+
children: [/* @__PURE__ */ m("span", {
|
|
3190
|
+
className: `block text-xs font-semibold mb-1.5 ${i ? "text-zinc-300" : "text-slate-700"}`,
|
|
3191
|
+
children: [t.label, t.required && /* @__PURE__ */ p("span", {
|
|
3192
|
+
className: "text-red-500 ml-0.5",
|
|
3193
|
+
children: "*"
|
|
3194
|
+
})]
|
|
3195
|
+
}), t.type === "file" ? /* @__PURE__ */ p("p", {
|
|
3196
|
+
className: `text-[13px] m-0 whitespace-pre-wrap break-words ${T}`,
|
|
3197
|
+
children: n?.serve_url ? /* @__PURE__ */ p("a", {
|
|
3198
|
+
href: n.serve_url,
|
|
3199
|
+
target: "_blank",
|
|
3200
|
+
rel: "noopener noreferrer",
|
|
3201
|
+
style: { color: r },
|
|
3202
|
+
children: n.file_name || "View file"
|
|
3203
|
+
}) : n?.text || "—"
|
|
3204
|
+
}) : t.type === "select" ? /* @__PURE__ */ m("select", {
|
|
3205
|
+
value: vt(He, t),
|
|
3206
|
+
onChange: (e) => yt(t, e.target.value),
|
|
3207
|
+
className: g,
|
|
3208
|
+
children: [/* @__PURE__ */ p("option", {
|
|
3209
|
+
value: "",
|
|
3210
|
+
children: t.placeholder || `Select ${t.label}...`
|
|
3211
|
+
}), (t.options || []).map((e) => /* @__PURE__ */ p("option", {
|
|
3212
|
+
value: e,
|
|
3213
|
+
className: i ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
3214
|
+
children: e
|
|
3215
|
+
}, e))]
|
|
3216
|
+
}) : t.type === "textarea" ? /* @__PURE__ */ p("textarea", {
|
|
3217
|
+
rows: 3,
|
|
3218
|
+
value: vt(He, t),
|
|
3219
|
+
onChange: (e) => yt(t, e.target.value),
|
|
3220
|
+
placeholder: t.placeholder || "",
|
|
3221
|
+
className: g
|
|
3222
|
+
}) : /* @__PURE__ */ p("input", {
|
|
3223
|
+
type: t.type === "phone" ? "tel" : [
|
|
3224
|
+
"email",
|
|
3225
|
+
"number",
|
|
3226
|
+
"date"
|
|
3227
|
+
].includes(t.type) ? t.type : "text",
|
|
3228
|
+
value: vt(He, t),
|
|
3229
|
+
onChange: (e) => yt(t, e.target.value),
|
|
3230
|
+
placeholder: t.placeholder || "",
|
|
3231
|
+
className: g
|
|
3232
|
+
})]
|
|
3233
|
+
}, t.id);
|
|
3234
|
+
}), /* @__PURE__ */ m("div", {
|
|
3235
|
+
className: "flex flex-wrap gap-2.5 pt-1",
|
|
3236
|
+
children: [/* @__PURE__ */ m("button", {
|
|
3237
|
+
type: "button",
|
|
3238
|
+
disabled: Ge,
|
|
3239
|
+
onClick: xt,
|
|
3240
|
+
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white disabled:opacity-60",
|
|
3241
|
+
style: { backgroundColor: r },
|
|
3242
|
+
children: [/* @__PURE__ */ p(se, { size: 13 }), /* @__PURE__ */ p("span", { children: Ge ? "Saving..." : "Save changes" })]
|
|
3243
|
+
}), /* @__PURE__ */ p("button", {
|
|
3244
|
+
type: "button",
|
|
3245
|
+
disabled: Ge,
|
|
3246
|
+
onClick: () => Q(null),
|
|
3247
|
+
className: `inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold border transition-colors ${i ? "text-zinc-200 border-zinc-700 hover:bg-zinc-800" : "text-slate-700 border-slate-200 bg-white hover:bg-slate-50"}`,
|
|
3248
|
+
children: "Cancel"
|
|
3249
|
+
})]
|
|
3250
|
+
})]
|
|
3251
|
+
}),
|
|
3252
|
+
e.badge && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
3253
|
+
className: `mt-3 rounded-xl border overflow-hidden ${i ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
3254
|
+
children: /* @__PURE__ */ p("img", {
|
|
3255
|
+
src: e.badge,
|
|
3256
|
+
alt: `${e.name} badge`,
|
|
3257
|
+
className: "w-full max-h-64 object-contain"
|
|
3258
|
+
})
|
|
3259
|
+
}), /* @__PURE__ */ m("div", {
|
|
3260
|
+
className: "mt-3 flex flex-wrap gap-2.5",
|
|
3261
|
+
children: [/* @__PURE__ */ m("a", {
|
|
3262
|
+
href: e.badge,
|
|
3263
|
+
target: "_blank",
|
|
3264
|
+
rel: "noopener noreferrer",
|
|
3265
|
+
className: `inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold border transition-colors ${i ? "text-zinc-200 border-zinc-700 hover:bg-zinc-800" : "text-slate-700 border-slate-200 bg-white hover:bg-slate-50"}`,
|
|
3266
|
+
children: [/* @__PURE__ */ p(be, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
|
|
3267
|
+
}), /* @__PURE__ */ m("a", {
|
|
3268
|
+
href: e.badge,
|
|
3269
|
+
download: !0,
|
|
3270
|
+
target: "_blank",
|
|
3271
|
+
rel: "noopener noreferrer",
|
|
3272
|
+
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white",
|
|
3273
|
+
style: { backgroundColor: r },
|
|
3274
|
+
children: [/* @__PURE__ */ p(ve, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
|
|
3275
|
+
})]
|
|
3276
|
+
})] })
|
|
3277
|
+
]
|
|
3120
3278
|
}, e.id))
|
|
3121
3279
|
})]
|
|
3122
3280
|
}),
|
|
3123
3281
|
s.length > 0 && /* @__PURE__ */ m("div", {
|
|
3124
3282
|
part: "portal-card payments-card",
|
|
3125
|
-
className:
|
|
3283
|
+
className: w,
|
|
3126
3284
|
children: [/* @__PURE__ */ m("div", {
|
|
3127
3285
|
className: "flex items-center gap-3 mb-4",
|
|
3128
3286
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -3133,11 +3291,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3133
3291
|
},
|
|
3134
3292
|
children: /* @__PURE__ */ p(Ue, { size: 17 })
|
|
3135
3293
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
3136
|
-
className:
|
|
3294
|
+
className: E,
|
|
3137
3295
|
style: $,
|
|
3138
3296
|
children: "Payments"
|
|
3139
3297
|
}), /* @__PURE__ */ p("p", {
|
|
3140
|
-
className: `text-[13px] ${
|
|
3298
|
+
className: `text-[13px] ${T}`,
|
|
3141
3299
|
children: "Every order on your registration, with receipts."
|
|
3142
3300
|
})] })]
|
|
3143
3301
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -3168,16 +3326,16 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3168
3326
|
rel: "noopener noreferrer",
|
|
3169
3327
|
className: "inline-flex items-center gap-1 text-[12.5px] font-semibold hover:underline underline-offset-4 shrink-0",
|
|
3170
3328
|
style: { color: r },
|
|
3171
|
-
children: [/* @__PURE__ */ p("span", { children: "Receipt" }), /* @__PURE__ */ p(
|
|
3329
|
+
children: [/* @__PURE__ */ p("span", { children: "Receipt" }), /* @__PURE__ */ p(be, { size: 11 })]
|
|
3172
3330
|
})
|
|
3173
3331
|
]
|
|
3174
3332
|
}, e.order_number || t);
|
|
3175
3333
|
})
|
|
3176
3334
|
})]
|
|
3177
3335
|
}),
|
|
3178
|
-
|
|
3336
|
+
v && /* @__PURE__ */ m("div", {
|
|
3179
3337
|
part: "portal-card submission-card",
|
|
3180
|
-
className:
|
|
3338
|
+
className: w,
|
|
3181
3339
|
children: [
|
|
3182
3340
|
/* @__PURE__ */ m("div", {
|
|
3183
3341
|
className: "flex items-center gap-3 mb-4",
|
|
@@ -3188,22 +3346,22 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3188
3346
|
backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
|
|
3189
3347
|
color: r
|
|
3190
3348
|
},
|
|
3191
|
-
children: /* @__PURE__ */ p(
|
|
3349
|
+
children: /* @__PURE__ */ p(xe, { size: 17 })
|
|
3192
3350
|
}),
|
|
3193
3351
|
/* @__PURE__ */ m("div", {
|
|
3194
3352
|
className: "flex-1 min-w-0",
|
|
3195
3353
|
children: [/* @__PURE__ */ p("h4", {
|
|
3196
|
-
className:
|
|
3354
|
+
className: E,
|
|
3197
3355
|
style: $,
|
|
3198
3356
|
children: "Your submission"
|
|
3199
3357
|
}), /* @__PURE__ */ p("p", {
|
|
3200
|
-
className: `text-[13px] ${
|
|
3201
|
-
children:
|
|
3358
|
+
className: `text-[13px] ${T}`,
|
|
3359
|
+
children: v.registration_type_label || "Abstract submission"
|
|
3202
3360
|
})]
|
|
3203
3361
|
}),
|
|
3204
3362
|
/* @__PURE__ */ p("span", {
|
|
3205
|
-
className: `px-2.5 py-1 rounded-full text-[11px] font-semibold capitalize shrink-0 ${
|
|
3206
|
-
children:
|
|
3363
|
+
className: `px-2.5 py-1 rounded-full text-[11px] font-semibold capitalize shrink-0 ${v.verdict === "accepted" ? i ? "bg-emerald-950/70 text-emerald-300" : "bg-emerald-50 text-emerald-700" : v.verdict === "rejected" ? i ? "bg-red-950/60 text-red-300" : "bg-red-50 text-red-700" : i ? "bg-amber-950/60 text-amber-300" : "bg-amber-50 text-amber-700"}`,
|
|
3364
|
+
children: v.verdict
|
|
3207
3365
|
})
|
|
3208
3366
|
]
|
|
3209
3367
|
}),
|
|
@@ -3214,19 +3372,19 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3214
3372
|
children: "Submission no."
|
|
3215
3373
|
}), /* @__PURE__ */ p("dd", {
|
|
3216
3374
|
className: `mt-1 text-sm font-semibold font-mono ${i ? "text-white" : "text-slate-900"}`,
|
|
3217
|
-
children:
|
|
3375
|
+
children: v.submission_number || "N/A"
|
|
3218
3376
|
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
|
|
3219
3377
|
className: `text-[11px] font-semibold uppercase tracking-wider ${i ? "text-zinc-500" : "text-slate-400"}`,
|
|
3220
3378
|
children: "Status"
|
|
3221
3379
|
}), /* @__PURE__ */ p("dd", {
|
|
3222
3380
|
className: `mt-1 text-sm font-semibold capitalize ${i ? "text-white" : "text-slate-900"}`,
|
|
3223
|
-
children:
|
|
3381
|
+
children: v.status
|
|
3224
3382
|
})] })]
|
|
3225
3383
|
}),
|
|
3226
3384
|
K ? /* @__PURE__ */ m("form", {
|
|
3227
|
-
onSubmit:
|
|
3385
|
+
onSubmit: gt,
|
|
3228
3386
|
className: `mt-4 pt-4 border-t space-y-3.5 ${i ? "border-zinc-800" : "border-slate-100"}`,
|
|
3229
|
-
children: [(
|
|
3387
|
+
children: [(v.editable_fields || []).map((e) => /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
|
|
3230
3388
|
className: `block text-[13px] font-semibold mb-1.5 ${i ? "text-zinc-200" : "text-slate-800"}`,
|
|
3231
3389
|
children: [e.label, e.required && /* @__PURE__ */ p("span", {
|
|
3232
3390
|
className: "text-red-500",
|
|
@@ -3234,14 +3392,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3234
3392
|
})]
|
|
3235
3393
|
}), e.type === "file" ? /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("button", {
|
|
3236
3394
|
type: "button",
|
|
3237
|
-
disabled:
|
|
3395
|
+
disabled: Pe === e.id,
|
|
3238
3396
|
onClick: () => Le((t) => ({
|
|
3239
3397
|
...t,
|
|
3240
|
-
[e.id]:
|
|
3398
|
+
[e.id]: ft(e) === "file" ? "text" : "file"
|
|
3241
3399
|
})),
|
|
3242
3400
|
className: `mb-1.5 text-[12px] font-semibold underline disabled:opacity-50 ${i ? "text-zinc-400" : "text-slate-500"}`,
|
|
3243
|
-
children:
|
|
3244
|
-
}),
|
|
3401
|
+
children: ft(e) === "file" ? "Send text instead" : "Send file instead"
|
|
3402
|
+
}), ft(e) === "file" ? /* @__PURE__ */ m("div", { children: [
|
|
3245
3403
|
e.current_file?.serve_url && /* @__PURE__ */ p("a", {
|
|
3246
3404
|
href: e.current_file.serve_url,
|
|
3247
3405
|
target: "_blank",
|
|
@@ -3251,37 +3409,37 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3251
3409
|
}),
|
|
3252
3410
|
/* @__PURE__ */ p("input", {
|
|
3253
3411
|
type: "file",
|
|
3254
|
-
disabled:
|
|
3412
|
+
disabled: Pe === e.id,
|
|
3255
3413
|
onChange: (t) => {
|
|
3256
3414
|
let n = t.target.files?.[0];
|
|
3257
|
-
n &&
|
|
3415
|
+
n && pt(e.id, n);
|
|
3258
3416
|
},
|
|
3259
|
-
className: `w-full text-[13px] ${
|
|
3417
|
+
className: `w-full text-[13px] ${T}`
|
|
3260
3418
|
}),
|
|
3261
|
-
|
|
3262
|
-
className: `mt-1 text-[12.5px] ${
|
|
3419
|
+
Pe === e.id && /* @__PURE__ */ p("p", {
|
|
3420
|
+
className: `mt-1 text-[12.5px] ${T}`,
|
|
3263
3421
|
children: "Uploading…"
|
|
3264
3422
|
})
|
|
3265
3423
|
] }) : /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("textarea", {
|
|
3266
3424
|
rows: 4,
|
|
3267
|
-
disabled:
|
|
3268
|
-
value:
|
|
3425
|
+
disabled: Pe === e.id,
|
|
3426
|
+
value: Re[e.id] ?? "",
|
|
3269
3427
|
placeholder: "Enter your answer...",
|
|
3270
|
-
onChange: (t) =>
|
|
3271
|
-
...
|
|
3428
|
+
onChange: (t) => ze({
|
|
3429
|
+
...Re,
|
|
3272
3430
|
[e.id]: t.target.value
|
|
3273
3431
|
}),
|
|
3274
3432
|
className: `w-full px-3.5 py-2.5 text-sm font-medium rounded-xl border transition-all focus:outline-none resize-y ${i ? "bg-zinc-950 border-zinc-700 text-white placeholder:text-zinc-500" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400"}`
|
|
3275
3433
|
}), /* @__PURE__ */ p("button", {
|
|
3276
3434
|
type: "button",
|
|
3277
|
-
disabled:
|
|
3278
|
-
onClick: () =>
|
|
3435
|
+
disabled: Pe === e.id || !(Re[e.id] || "").trim(),
|
|
3436
|
+
onClick: () => ht(e.id),
|
|
3279
3437
|
className: "mt-1.5 inline-flex items-center h-8 px-3.5 rounded-full text-[12.5px] font-semibold text-white disabled:opacity-50 cursor-pointer",
|
|
3280
3438
|
style: { backgroundColor: r },
|
|
3281
|
-
children:
|
|
3439
|
+
children: Pe === e.id ? "Saving…" : "Save text answer"
|
|
3282
3440
|
})] })] }) : e.id === "registration_type" ? /* @__PURE__ */ m("select", {
|
|
3283
3441
|
value: Y[e.id] ?? "",
|
|
3284
|
-
onChange: (t) =>
|
|
3442
|
+
onChange: (t) => X({
|
|
3285
3443
|
...Y,
|
|
3286
3444
|
[e.id]: t.target.value
|
|
3287
3445
|
}),
|
|
@@ -3293,13 +3451,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3293
3451
|
e.label,
|
|
3294
3452
|
"..."
|
|
3295
3453
|
]
|
|
3296
|
-
}), (
|
|
3454
|
+
}), (v.registration_types || []).map((e) => /* @__PURE__ */ p("option", {
|
|
3297
3455
|
value: e.id,
|
|
3298
3456
|
children: e.label
|
|
3299
3457
|
}, e.id))]
|
|
3300
3458
|
}) : e.type === "select" ? /* @__PURE__ */ m("select", {
|
|
3301
3459
|
value: Y[e.id] ?? "",
|
|
3302
|
-
onChange: (t) =>
|
|
3460
|
+
onChange: (t) => X({
|
|
3303
3461
|
...Y,
|
|
3304
3462
|
[e.id]: t.target.value
|
|
3305
3463
|
}),
|
|
@@ -3319,7 +3477,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3319
3477
|
rows: e.id === "name" || e.id === "phone" ? 1 : 4,
|
|
3320
3478
|
value: Y[e.id] ?? "",
|
|
3321
3479
|
placeholder: e.placeholder || `Enter ${e.label.toLowerCase()}`,
|
|
3322
|
-
onChange: (t) =>
|
|
3480
|
+
onChange: (t) => X({
|
|
3323
3481
|
...Y,
|
|
3324
3482
|
[e.id]: t.target.value
|
|
3325
3483
|
}),
|
|
@@ -3328,14 +3486,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3328
3486
|
className: "flex items-center gap-2.5 pt-1",
|
|
3329
3487
|
children: [/* @__PURE__ */ p("button", {
|
|
3330
3488
|
type: "submit",
|
|
3331
|
-
disabled:
|
|
3489
|
+
disabled: Ae,
|
|
3332
3490
|
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white shrink-0 cursor-pointer disabled:opacity-60",
|
|
3333
3491
|
style: { backgroundColor: r },
|
|
3334
|
-
children:
|
|
3492
|
+
children: Ae ? "Saving..." : "Save changes"
|
|
3335
3493
|
}), /* @__PURE__ */ p("button", {
|
|
3336
3494
|
type: "button",
|
|
3337
|
-
disabled:
|
|
3338
|
-
onClick: () =>
|
|
3495
|
+
disabled: Ae,
|
|
3496
|
+
onClick: () => J(!1),
|
|
3339
3497
|
className: `inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold border transition-colors cursor-pointer ${i ? "text-zinc-300 border-zinc-700 hover:bg-zinc-800" : "text-slate-600 border-slate-200 bg-white hover:bg-slate-50"}`,
|
|
3340
3498
|
children: "Cancel"
|
|
3341
3499
|
})]
|
|
@@ -3343,11 +3501,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3343
3501
|
}) : /* @__PURE__ */ m("div", {
|
|
3344
3502
|
className: `mt-4 pt-4 border-t flex items-center justify-between gap-3 flex-wrap ${i ? "border-zinc-800" : "border-slate-100"}`,
|
|
3345
3503
|
children: [/* @__PURE__ */ p("p", {
|
|
3346
|
-
className: `text-[13px] ${
|
|
3347
|
-
children:
|
|
3348
|
-
}),
|
|
3504
|
+
className: `text-[13px] ${T}`,
|
|
3505
|
+
children: v.editable ? "You can still edit your answers until a reviewer picks this up." : "This submission has been assigned to a reviewer and can no longer be edited."
|
|
3506
|
+
}), v.editable && /* @__PURE__ */ p("button", {
|
|
3349
3507
|
type: "button",
|
|
3350
|
-
onClick:
|
|
3508
|
+
onClick: ct,
|
|
3351
3509
|
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white shrink-0 cursor-pointer",
|
|
3352
3510
|
style: { backgroundColor: r },
|
|
3353
3511
|
children: "Edit submission"
|
|
@@ -3355,7 +3513,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3355
3513
|
})
|
|
3356
3514
|
]
|
|
3357
3515
|
}),
|
|
3358
|
-
|
|
3516
|
+
H && /* @__PURE__ */ m("div", {
|
|
3359
3517
|
className: "p-4 rounded-2xl flex flex-wrap items-center justify-between gap-3 text-sm",
|
|
3360
3518
|
style: {
|
|
3361
3519
|
backgroundColor: `color-mix(in srgb, ${r} ${i ? 14 : 7}%, transparent)`,
|
|
@@ -3363,24 +3521,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3363
3521
|
},
|
|
3364
3522
|
children: [/* @__PURE__ */ m("div", {
|
|
3365
3523
|
className: `flex items-center gap-2.5 ${i ? "text-zinc-200" : "text-slate-700"}`,
|
|
3366
|
-
children: [/* @__PURE__ */ p(
|
|
3524
|
+
children: [/* @__PURE__ */ p(_e, {
|
|
3367
3525
|
size: 17,
|
|
3368
3526
|
className: "shrink-0",
|
|
3369
3527
|
style: { color: r }
|
|
3370
3528
|
}), /* @__PURE__ */ p("span", { children: "Payment page opened in a new tab. If it didn't open:" })]
|
|
3371
3529
|
}), /* @__PURE__ */ m("a", {
|
|
3372
|
-
href:
|
|
3530
|
+
href: H,
|
|
3373
3531
|
target: "_blank",
|
|
3374
3532
|
rel: "noopener noreferrer",
|
|
3375
3533
|
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white shrink-0",
|
|
3376
3534
|
style: { backgroundColor: r },
|
|
3377
|
-
children: [/* @__PURE__ */ p("span", { children: "Complete payment" }), /* @__PURE__ */ p(
|
|
3535
|
+
children: [/* @__PURE__ */ p("span", { children: "Complete payment" }), /* @__PURE__ */ p(be, { size: 12 })]
|
|
3378
3536
|
})]
|
|
3379
3537
|
}),
|
|
3380
3538
|
x && /* @__PURE__ */ m("div", {
|
|
3381
3539
|
role: "alert",
|
|
3382
3540
|
className: `p-3.5 rounded-xl flex items-start gap-2.5 text-sm ${i ? "bg-red-950/50 text-red-300 ring-1 ring-inset ring-red-900" : "bg-red-50 text-red-700 ring-1 ring-inset ring-red-200/80"}`,
|
|
3383
|
-
children: [/* @__PURE__ */ p(
|
|
3541
|
+
children: [/* @__PURE__ */ p(de, {
|
|
3384
3542
|
size: 17,
|
|
3385
3543
|
className: "shrink-0 mt-0.5"
|
|
3386
3544
|
}), /* @__PURE__ */ p("span", { children: x })]
|
|
@@ -3388,7 +3546,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3388
3546
|
C && /* @__PURE__ */ m("div", {
|
|
3389
3547
|
role: "status",
|
|
3390
3548
|
className: `p-3.5 rounded-xl flex items-start gap-2.5 text-sm ${i ? "bg-emerald-950/50 text-emerald-300 ring-1 ring-inset ring-emerald-900" : "bg-emerald-50 text-emerald-700 ring-1 ring-inset ring-emerald-200/80"}`,
|
|
3391
|
-
children: [/* @__PURE__ */ p(
|
|
3549
|
+
children: [/* @__PURE__ */ p(F, {
|
|
3392
3550
|
size: 17,
|
|
3393
3551
|
className: "shrink-0 mt-0.5"
|
|
3394
3552
|
}), /* @__PURE__ */ p("span", { children: C })]
|
|
@@ -3398,7 +3556,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3398
3556
|
})]
|
|
3399
3557
|
});
|
|
3400
3558
|
}
|
|
3401
|
-
let
|
|
3559
|
+
let Et = `w-full h-11 pl-10 pr-3.5 text-sm font-medium rounded-xl border transition-all focus:outline-none ${i ? "bg-zinc-950 border-zinc-700 text-white placeholder:text-zinc-500 hover:border-zinc-600 focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_20%,transparent)]" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 hover:border-slate-300 shadow-[0_1px_2px_rgba(15,23,42,0.04)] focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)]"}`, Dt = /* @__PURE__ */ m("svg", {
|
|
3402
3560
|
className: "animate-spin h-4 w-4 text-white",
|
|
3403
3561
|
fill: "none",
|
|
3404
3562
|
viewBox: "0 0 24 24",
|
|
@@ -3415,9 +3573,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3415
3573
|
fill: "currentColor",
|
|
3416
3574
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
3417
3575
|
})]
|
|
3418
|
-
}),
|
|
3576
|
+
}), Ot = (e) => {
|
|
3419
3577
|
u(e), S(null), w(null);
|
|
3420
|
-
},
|
|
3578
|
+
}, kt = ({ id: e, label: t, icon: n, type: r = "text", value: a, onChange: o, placeholder: s, autoComplete: c, aside: l }) => /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("div", {
|
|
3421
3579
|
className: "flex items-center justify-between gap-2 mb-1.5",
|
|
3422
3580
|
children: [/* @__PURE__ */ p("label", {
|
|
3423
3581
|
part: "field-label",
|
|
@@ -3439,23 +3597,23 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3439
3597
|
autoComplete: c,
|
|
3440
3598
|
onChange: (e) => o(e.target.value),
|
|
3441
3599
|
placeholder: s,
|
|
3442
|
-
className:
|
|
3600
|
+
className: Et
|
|
3443
3601
|
})]
|
|
3444
|
-
})] }),
|
|
3602
|
+
})] }), At = () => /* @__PURE__ */ m(f, { children: [x && /* @__PURE__ */ m("div", {
|
|
3445
3603
|
role: "alert",
|
|
3446
3604
|
className: `p-3.5 rounded-xl flex items-start gap-2.5 text-sm ${i ? "bg-red-950/50 text-red-300 ring-1 ring-inset ring-red-900" : "bg-red-50 text-red-700 ring-1 ring-inset ring-red-200/80"}`,
|
|
3447
|
-
children: [/* @__PURE__ */ p(
|
|
3605
|
+
children: [/* @__PURE__ */ p(de, {
|
|
3448
3606
|
size: 17,
|
|
3449
3607
|
className: "shrink-0 mt-0.5"
|
|
3450
3608
|
}), /* @__PURE__ */ p("span", { children: x })]
|
|
3451
3609
|
}), C && /* @__PURE__ */ m("div", {
|
|
3452
3610
|
role: "status",
|
|
3453
3611
|
className: `p-3.5 rounded-xl flex items-start gap-2.5 text-sm ${i ? "bg-emerald-950/50 text-emerald-300 ring-1 ring-inset ring-emerald-900" : "bg-emerald-50 text-emerald-700 ring-1 ring-inset ring-emerald-200/80"}`,
|
|
3454
|
-
children: [/* @__PURE__ */ p(
|
|
3612
|
+
children: [/* @__PURE__ */ p(F, {
|
|
3455
3613
|
size: 17,
|
|
3456
3614
|
className: "shrink-0 mt-0.5"
|
|
3457
3615
|
}), /* @__PURE__ */ p("span", { children: C })]
|
|
3458
|
-
})] }),
|
|
3616
|
+
})] }), jt = (e, t, n) => /* @__PURE__ */ p("button", {
|
|
3459
3617
|
part: "button button-primary submit-button",
|
|
3460
3618
|
type: "submit",
|
|
3461
3619
|
disabled: e,
|
|
@@ -3464,20 +3622,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3464
3622
|
boxShadow: `0 10px 24px -12px color-mix(in srgb, ${r} 70%, transparent)`
|
|
3465
3623
|
},
|
|
3466
3624
|
className: "group w-full h-11 px-4 text-white text-sm font-semibold rounded-xl hover:brightness-110 active:scale-[0.99] transition-all flex items-center justify-center gap-2 cursor-pointer disabled:opacity-60 disabled:cursor-not-allowed",
|
|
3467
|
-
children: e ? /* @__PURE__ */ m(f, { children: [
|
|
3625
|
+
children: e ? /* @__PURE__ */ m(f, { children: [Dt, /* @__PURE__ */ p("span", { children: n })] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", { children: t }), /* @__PURE__ */ p(re, {
|
|
3468
3626
|
size: 16,
|
|
3469
3627
|
className: "transition-transform group-hover:translate-x-0.5"
|
|
3470
3628
|
})] })
|
|
3471
|
-
}),
|
|
3629
|
+
}), Mt = ({ icon: e, title: t, subtitle: n, onBack: o, children: s }) => /* @__PURE__ */ m("div", {
|
|
3472
3630
|
className: `flex flex-col ${a ? "w-full flex-1" : "h-full overflow-y-auto"} relative bg-transparent ${i ? "text-white" : "text-slate-900"}`,
|
|
3473
|
-
children: [
|
|
3631
|
+
children: [St(), /* @__PURE__ */ m("div", {
|
|
3474
3632
|
className: `px-4 sm:px-6 ${a ? "py-8 sm:py-10" : "py-5"} flex-1 max-w-[400px] mx-auto w-full flex flex-col justify-center relative z-10`,
|
|
3475
3633
|
children: [o && /* @__PURE__ */ m("button", {
|
|
3476
3634
|
part: "button button-link back-button",
|
|
3477
3635
|
type: "button",
|
|
3478
3636
|
onClick: o,
|
|
3479
3637
|
className: `self-start inline-flex items-center gap-1.5 mb-4 text-sm font-semibold transition-colors cursor-pointer ${i ? "text-zinc-400 hover:text-white" : "text-slate-500 hover:text-slate-900"}`,
|
|
3480
|
-
children: [/* @__PURE__ */ p(
|
|
3638
|
+
children: [/* @__PURE__ */ p(te, { size: 16 }), /* @__PURE__ */ p("span", { children: "Back to login" })]
|
|
3481
3639
|
}), /* @__PURE__ */ m("div", {
|
|
3482
3640
|
part: "portal-card",
|
|
3483
3641
|
className: `p-6 sm:p-7 rounded-3xl border space-y-5 ${i ? "bg-zinc-900 border-zinc-800 shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_24px_48px_-24px_rgba(15,23,42,0.18)]"}`,
|
|
@@ -3502,33 +3660,33 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3502
3660
|
children: n
|
|
3503
3661
|
})
|
|
3504
3662
|
] }),
|
|
3505
|
-
|
|
3663
|
+
At(),
|
|
3506
3664
|
s
|
|
3507
3665
|
]
|
|
3508
3666
|
})]
|
|
3509
3667
|
})]
|
|
3510
|
-
}),
|
|
3511
|
-
return
|
|
3512
|
-
icon:
|
|
3668
|
+
}), Nt = "font-semibold hover:underline underline-offset-4 cursor-pointer";
|
|
3669
|
+
return Mt(l === "request_code" ? {
|
|
3670
|
+
icon: je,
|
|
3513
3671
|
title: "Get verification code",
|
|
3514
3672
|
subtitle: "We will email a verification code to your registered address.",
|
|
3515
|
-
onBack: () =>
|
|
3673
|
+
onBack: () => Ot("login"),
|
|
3516
3674
|
children: /* @__PURE__ */ m("form", {
|
|
3517
|
-
onSubmit:
|
|
3675
|
+
onSubmit: Qe,
|
|
3518
3676
|
className: "space-y-4",
|
|
3519
3677
|
children: [
|
|
3520
|
-
|
|
3678
|
+
kt({
|
|
3521
3679
|
id: "vx-portal-code-identifier",
|
|
3522
3680
|
label: "Registration number or email",
|
|
3523
|
-
icon:
|
|
3524
|
-
value:
|
|
3681
|
+
icon: je,
|
|
3682
|
+
value: A || T,
|
|
3525
3683
|
onChange: (e) => {
|
|
3526
|
-
|
|
3684
|
+
j(e), E(e);
|
|
3527
3685
|
},
|
|
3528
3686
|
placeholder: "e.g. attendee@example.com or REG12345",
|
|
3529
3687
|
autoComplete: "username"
|
|
3530
3688
|
}),
|
|
3531
|
-
|
|
3689
|
+
jt(ue, "Send verification code", "Sending code..."),
|
|
3532
3690
|
/* @__PURE__ */ m("p", {
|
|
3533
3691
|
className: `text-center text-[13px] ${i ? "text-zinc-400" : "text-slate-500"}`,
|
|
3534
3692
|
children: [
|
|
@@ -3536,8 +3694,8 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3536
3694
|
" ",
|
|
3537
3695
|
/* @__PURE__ */ p("button", {
|
|
3538
3696
|
type: "button",
|
|
3539
|
-
onClick: () =>
|
|
3540
|
-
className:
|
|
3697
|
+
onClick: () => Ot("reset"),
|
|
3698
|
+
className: Nt,
|
|
3541
3699
|
style: { color: r },
|
|
3542
3700
|
children: "Set your password"
|
|
3543
3701
|
})
|
|
@@ -3546,64 +3704,64 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3546
3704
|
]
|
|
3547
3705
|
})
|
|
3548
3706
|
} : l === "reset" ? {
|
|
3549
|
-
icon:
|
|
3707
|
+
icon: Ee,
|
|
3550
3708
|
title: "Set your password",
|
|
3551
3709
|
subtitle: "Enter the code from your email and choose a new password.",
|
|
3552
|
-
onBack: () =>
|
|
3710
|
+
onBack: () => Ot("login"),
|
|
3553
3711
|
children: /* @__PURE__ */ m("form", {
|
|
3554
|
-
onSubmit:
|
|
3712
|
+
onSubmit: et,
|
|
3555
3713
|
className: "space-y-4",
|
|
3556
3714
|
children: [
|
|
3557
|
-
|
|
3715
|
+
kt({
|
|
3558
3716
|
id: "vx-portal-reset-identifier",
|
|
3559
3717
|
label: "Registration number or email",
|
|
3560
|
-
icon:
|
|
3561
|
-
value:
|
|
3718
|
+
icon: je,
|
|
3719
|
+
value: A || T,
|
|
3562
3720
|
onChange: (e) => {
|
|
3563
|
-
|
|
3721
|
+
j(e), E(e);
|
|
3564
3722
|
},
|
|
3565
3723
|
placeholder: "e.g. attendee@example.com or REG12345",
|
|
3566
3724
|
autoComplete: "username"
|
|
3567
3725
|
}),
|
|
3568
|
-
|
|
3726
|
+
kt({
|
|
3569
3727
|
id: "vx-portal-reset-code",
|
|
3570
3728
|
label: "Verification code",
|
|
3571
|
-
icon:
|
|
3572
|
-
value:
|
|
3573
|
-
onChange:
|
|
3729
|
+
icon: q,
|
|
3730
|
+
value: M,
|
|
3731
|
+
onChange: ne,
|
|
3574
3732
|
placeholder: "Enter code from email",
|
|
3575
3733
|
autoComplete: "one-time-code",
|
|
3576
3734
|
aside: /* @__PURE__ */ p("button", {
|
|
3577
3735
|
type: "button",
|
|
3578
3736
|
onClick: () => {
|
|
3579
|
-
|
|
3737
|
+
j(A || T), Ot("request_code");
|
|
3580
3738
|
},
|
|
3581
3739
|
className: "text-xs font-semibold hover:underline underline-offset-4 cursor-pointer",
|
|
3582
3740
|
style: { color: r },
|
|
3583
3741
|
children: "Get code on email"
|
|
3584
3742
|
})
|
|
3585
3743
|
}),
|
|
3586
|
-
|
|
3744
|
+
kt({
|
|
3587
3745
|
id: "vx-portal-reset-password",
|
|
3588
3746
|
label: "New password",
|
|
3589
|
-
icon:
|
|
3747
|
+
icon: De,
|
|
3590
3748
|
type: "password",
|
|
3591
|
-
value:
|
|
3592
|
-
onChange:
|
|
3749
|
+
value: N,
|
|
3750
|
+
onChange: P,
|
|
3593
3751
|
placeholder: "Enter new password",
|
|
3594
3752
|
autoComplete: "new-password"
|
|
3595
3753
|
}),
|
|
3596
|
-
|
|
3754
|
+
kt({
|
|
3597
3755
|
id: "vx-portal-reset-confirm",
|
|
3598
3756
|
label: "Confirm password",
|
|
3599
|
-
icon:
|
|
3757
|
+
icon: De,
|
|
3600
3758
|
type: "password",
|
|
3601
|
-
value:
|
|
3602
|
-
onChange:
|
|
3759
|
+
value: oe,
|
|
3760
|
+
onChange: ce,
|
|
3603
3761
|
placeholder: "Re-enter new password",
|
|
3604
3762
|
autoComplete: "new-password"
|
|
3605
3763
|
}),
|
|
3606
|
-
|
|
3764
|
+
jt(h, "Set new password", "Updating password...")
|
|
3607
3765
|
]
|
|
3608
3766
|
})
|
|
3609
3767
|
} : {
|
|
@@ -3611,38 +3769,38 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3611
3769
|
title: "Attendee login",
|
|
3612
3770
|
subtitle: "Sign in with your email or registration number.",
|
|
3613
3771
|
children: /* @__PURE__ */ m("form", {
|
|
3614
|
-
onSubmit:
|
|
3772
|
+
onSubmit: Xe,
|
|
3615
3773
|
className: "space-y-4",
|
|
3616
3774
|
children: [
|
|
3617
|
-
|
|
3775
|
+
kt({
|
|
3618
3776
|
id: "vx-portal-login-identifier",
|
|
3619
3777
|
label: "Email or registration number",
|
|
3620
|
-
icon:
|
|
3778
|
+
icon: je,
|
|
3621
3779
|
value: T,
|
|
3622
3780
|
onChange: E,
|
|
3623
3781
|
placeholder: "Enter email or registration number",
|
|
3624
3782
|
autoComplete: "username"
|
|
3625
3783
|
}),
|
|
3626
|
-
|
|
3784
|
+
kt({
|
|
3627
3785
|
id: "vx-portal-login-password",
|
|
3628
3786
|
label: "Password",
|
|
3629
|
-
icon:
|
|
3787
|
+
icon: De,
|
|
3630
3788
|
type: "password",
|
|
3631
3789
|
value: D,
|
|
3632
|
-
onChange:
|
|
3790
|
+
onChange: O,
|
|
3633
3791
|
placeholder: "Enter password",
|
|
3634
3792
|
autoComplete: "current-password",
|
|
3635
3793
|
aside: /* @__PURE__ */ p("button", {
|
|
3636
3794
|
type: "button",
|
|
3637
3795
|
onClick: () => {
|
|
3638
|
-
|
|
3796
|
+
j(T), Ot("reset");
|
|
3639
3797
|
},
|
|
3640
3798
|
className: "text-xs font-semibold hover:underline underline-offset-4 cursor-pointer",
|
|
3641
3799
|
style: { color: r },
|
|
3642
3800
|
children: "Forgot password?"
|
|
3643
3801
|
})
|
|
3644
3802
|
}),
|
|
3645
|
-
|
|
3803
|
+
jt(h, "Login", "Logging in..."),
|
|
3646
3804
|
/* @__PURE__ */ m("p", {
|
|
3647
3805
|
className: `pt-4 border-t text-center text-[13px] ${i ? "border-zinc-800 text-zinc-400" : "border-slate-100 text-slate-500"}`,
|
|
3648
3806
|
children: [
|
|
@@ -3651,9 +3809,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3651
3809
|
/* @__PURE__ */ p("button", {
|
|
3652
3810
|
type: "button",
|
|
3653
3811
|
onClick: () => {
|
|
3654
|
-
|
|
3812
|
+
j(T), Ot("request_code");
|
|
3655
3813
|
},
|
|
3656
|
-
className:
|
|
3814
|
+
className: Nt,
|
|
3657
3815
|
style: { color: r },
|
|
3658
3816
|
children: "Get code"
|
|
3659
3817
|
}),
|
|
@@ -3663,9 +3821,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3663
3821
|
/* @__PURE__ */ p("button", {
|
|
3664
3822
|
type: "button",
|
|
3665
3823
|
onClick: () => {
|
|
3666
|
-
|
|
3824
|
+
j(T), Ot("reset");
|
|
3667
3825
|
},
|
|
3668
|
-
className:
|
|
3826
|
+
className: Nt,
|
|
3669
3827
|
style: { color: r },
|
|
3670
3828
|
children: "generate password"
|
|
3671
3829
|
})
|
|
@@ -3677,7 +3835,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3677
3835
|
};
|
|
3678
3836
|
//#endregion
|
|
3679
3837
|
//#region src/widget/utils/backgroundUtils.ts
|
|
3680
|
-
function
|
|
3838
|
+
function gt(e, t, n) {
|
|
3681
3839
|
if (!e) return;
|
|
3682
3840
|
let r = t ? "rgba(9,9,11,0.88)" : "rgba(248,250,252,0.88)";
|
|
3683
3841
|
return {
|
|
@@ -3690,7 +3848,7 @@ function ht(e, t, n) {
|
|
|
3690
3848
|
}
|
|
3691
3849
|
//#endregion
|
|
3692
3850
|
//#region src/widget/components/EventWidgetReact.tsx
|
|
3693
|
-
function
|
|
3851
|
+
function _t(e) {
|
|
3694
3852
|
if (!e) return "bottom-right";
|
|
3695
3853
|
switch (e) {
|
|
3696
3854
|
case "bottom-left":
|
|
@@ -3702,7 +3860,7 @@ function gt(e) {
|
|
|
3702
3860
|
default: return "bottom-right";
|
|
3703
3861
|
}
|
|
3704
3862
|
}
|
|
3705
|
-
var
|
|
3863
|
+
var vt = (e) => {
|
|
3706
3864
|
switch (e) {
|
|
3707
3865
|
case "bottom-left": return {
|
|
3708
3866
|
bottom: "20px",
|
|
@@ -3729,69 +3887,91 @@ var _t = (e) => {
|
|
|
3729
3887
|
left: "auto"
|
|
3730
3888
|
};
|
|
3731
3889
|
}
|
|
3732
|
-
},
|
|
3890
|
+
}, yt = (e) => {
|
|
3733
3891
|
switch (e) {
|
|
3734
3892
|
case "bottom-left": return "bottom-5 left-5";
|
|
3735
3893
|
case "top-right": return "top-5 right-5";
|
|
3736
3894
|
case "top-left": return "top-5 left-5";
|
|
3737
3895
|
default: return "bottom-5 right-5";
|
|
3738
3896
|
}
|
|
3739
|
-
},
|
|
3897
|
+
}, bt = ({ config: e }) => {
|
|
3740
3898
|
let [t, n] = d("registration"), [r, i] = d(!1);
|
|
3741
3899
|
s(() => {
|
|
3742
3900
|
t === "attendee" && i(!0);
|
|
3743
3901
|
}, [t]);
|
|
3744
|
-
let [o] = d(() => typeof window < "u" ? new URLSearchParams(window.location.search).get("rn") : null), [c, h] = d(e.displayMode !== "popup" || !!o), [y, b] = d(!1), [x, S] = d([]), [C, w] = d(""), [T, E] = d(null), [D,
|
|
3902
|
+
let [o] = d(() => typeof window < "u" ? new URLSearchParams(window.location.search).get("rn") : null), [c, h] = d(e.displayMode !== "popup" || !!o), [y, b] = d(!1), [x, S] = d([]), [C, w] = d(""), [T, E] = d(null), [D, O] = d(null), ee = l(() => D && { fields: D.fields.filter((e) => e.id !== "registration_type") }, [D]), [k, A] = d(!0), [j, M] = d(""), [te, ne] = d(null), [N, ie] = d(!!o), [P, ae] = d(null), [oe, ce] = d(null), [le, ue] = d(o), [de, fe] = d(null), [F, I] = d(!1), [L, R] = d(() => _t(e.position)), [ge, _e] = d(null), [z, ve] = d(null), [ye, B] = d(!1), [Se, Ce] = d(!1), we = u(null), V = u(null), H = u(!1);
|
|
3745
3903
|
s(() => {
|
|
3746
|
-
e.position &&
|
|
3904
|
+
e.position && R(_t(e.position));
|
|
3747
3905
|
}, [e.position]);
|
|
3748
|
-
let
|
|
3906
|
+
let U = e.themeMode === "dark" || e.theme?.mode === "dark", W = e.theme?.primaryColor || "#2563eb", G = !!e.isAbstract, Te = e.headerBannerImage, Ee = e.backgroundImage, K = l(() => new g(e.debug), [e.debug]), q = l(() => new _(e.baseUrl, e.eventSlug, K, e.timeoutMs ?? 12e4), [
|
|
3749
3907
|
e.baseUrl,
|
|
3750
3908
|
e.eventSlug,
|
|
3751
|
-
|
|
3909
|
+
K,
|
|
3752
3910
|
e.timeoutMs
|
|
3753
|
-
]),
|
|
3911
|
+
]), J = l(() => new v(e.eventSlug), [e.eventSlug]);
|
|
3912
|
+
s(() => {
|
|
3913
|
+
if (!o) return;
|
|
3914
|
+
let t = !1;
|
|
3915
|
+
return q.verifyPayment(o).then((n) => {
|
|
3916
|
+
if (t) return;
|
|
3917
|
+
let r = !!(n?.data?.confirmed ?? n?.confirmed);
|
|
3918
|
+
fe(r), e.onEvent?.("payment_verified", {
|
|
3919
|
+
registration_number: o,
|
|
3920
|
+
confirmed: r
|
|
3921
|
+
});
|
|
3922
|
+
}).catch((e) => {
|
|
3923
|
+
t || fe(!1), K.error("Payment verification failed", e);
|
|
3924
|
+
}), () => {
|
|
3925
|
+
t = !0;
|
|
3926
|
+
};
|
|
3927
|
+
}, [
|
|
3928
|
+
o,
|
|
3929
|
+
q,
|
|
3930
|
+
K,
|
|
3931
|
+
e
|
|
3932
|
+
]);
|
|
3933
|
+
let De = u(e.displayMode), Y = u(null), [X, ke] = d(null);
|
|
3754
3934
|
s(() => {
|
|
3755
|
-
|
|
3756
|
-
}, [
|
|
3935
|
+
J.getXrefId();
|
|
3936
|
+
}, [J]), s(() => {
|
|
3757
3937
|
if (!c) return;
|
|
3758
|
-
let t =
|
|
3759
|
-
t && (
|
|
3938
|
+
let t = J.getXrefId();
|
|
3939
|
+
t && (G ? q.getReviewDraft(t) : q.getDraft(t)).then((t) => {
|
|
3760
3940
|
let n = t?.data || t;
|
|
3761
|
-
n && n.registration_type && (
|
|
3941
|
+
n && n.registration_type && (ke(n), e.onEvent?.("draft_loaded", n));
|
|
3762
3942
|
}).catch((e) => {
|
|
3763
|
-
|
|
3943
|
+
K.log("No draft found for this session", e);
|
|
3764
3944
|
});
|
|
3765
3945
|
}, [
|
|
3766
3946
|
c,
|
|
3767
|
-
|
|
3947
|
+
q,
|
|
3948
|
+
J,
|
|
3768
3949
|
K,
|
|
3769
|
-
|
|
3770
|
-
H
|
|
3950
|
+
G
|
|
3771
3951
|
]);
|
|
3772
|
-
let
|
|
3773
|
-
if (!
|
|
3774
|
-
let e = { ...
|
|
3775
|
-
if (Array.isArray(
|
|
3776
|
-
e.name =
|
|
3777
|
-
let t =
|
|
3952
|
+
let Ae = l(() => {
|
|
3953
|
+
if (!X || !T || String(X.registration_type) !== String(T.id)) return {};
|
|
3954
|
+
let e = { ...X.custom_data || {} };
|
|
3955
|
+
if (Array.isArray(X.accompanying) && (e.accompanying = X.accompanying), X.salutation && (e.salutation = X.salutation, e.title = X.salutation), X.name) {
|
|
3956
|
+
e.name = X.name, e.full_name = X.name, e.fullName = X.name;
|
|
3957
|
+
let t = X.name.trim().split(/\s+/);
|
|
3778
3958
|
t.length > 0 && !e.first_name && (e.first_name = t[0]), t.length > 1 && !e.last_name && (e.last_name = t.slice(1).join(" "));
|
|
3779
3959
|
}
|
|
3780
|
-
return
|
|
3960
|
+
return X.email && (e.email = X.email), X.phone && (e.phone = X.phone, e.mobile = X.phone, e.phoneNumber = X.phone), ((G ? D?.fields : T?.form_schema?.fields) || []).forEach((t) => {
|
|
3781
3961
|
let n = ut(t.id, t.label);
|
|
3782
3962
|
e[t.id] === void 0 && e[n] !== void 0 && (e[t.id] = e[n]);
|
|
3783
3963
|
}), e;
|
|
3784
3964
|
}, [
|
|
3785
|
-
|
|
3965
|
+
X,
|
|
3786
3966
|
T,
|
|
3787
|
-
|
|
3967
|
+
G,
|
|
3788
3968
|
D
|
|
3789
3969
|
]);
|
|
3790
3970
|
s(() => () => {
|
|
3791
|
-
|
|
3971
|
+
Y.current && clearTimeout(Y.current);
|
|
3792
3972
|
}, []);
|
|
3793
|
-
let
|
|
3794
|
-
|
|
3973
|
+
let je = a((t) => {
|
|
3974
|
+
Y.current && clearTimeout(Y.current), Y.current = setTimeout(async () => {
|
|
3795
3975
|
if (!Object.values(t).some((e) => e !== "" && e != null)) return;
|
|
3796
3976
|
let n = /* @__PURE__ */ new Set([
|
|
3797
3977
|
"salutation",
|
|
@@ -3808,7 +3988,7 @@ var _t = (e) => {
|
|
|
3808
3988
|
"selected_items",
|
|
3809
3989
|
"custom_data",
|
|
3810
3990
|
"accompanying"
|
|
3811
|
-
]), r = (
|
|
3991
|
+
]), r = (G ? D?.fields : T?.form_schema?.fields) || [], i = /* @__PURE__ */ new Map();
|
|
3812
3992
|
r.forEach((e) => i.set(e.id, e));
|
|
3813
3993
|
let a = { ...t.custom_data || {} };
|
|
3814
3994
|
for (let [e, r] of Object.entries(t)) if (!n.has(e)) {
|
|
@@ -3816,7 +3996,7 @@ var _t = (e) => {
|
|
|
3816
3996
|
a[t] = r;
|
|
3817
3997
|
}
|
|
3818
3998
|
let o = {
|
|
3819
|
-
xref_id:
|
|
3999
|
+
xref_id: J.getXrefId(),
|
|
3820
4000
|
salutation: t.salutation || t.title || "",
|
|
3821
4001
|
name: t.name || t.fullName || t.full_name || [t.firstName, t.lastName].filter(Boolean).join(" ") || "",
|
|
3822
4002
|
email: t.email || "",
|
|
@@ -3827,38 +4007,38 @@ var _t = (e) => {
|
|
|
3827
4007
|
accompanying: t.accompanying || []
|
|
3828
4008
|
};
|
|
3829
4009
|
try {
|
|
3830
|
-
|
|
4010
|
+
G ? await q.trackReviewProgress(o) : await q.trackProgress(o), e.onEvent?.("draft_saved", o);
|
|
3831
4011
|
} catch (e) {
|
|
3832
|
-
|
|
4012
|
+
K.error("Failed to save draft progress", e);
|
|
3833
4013
|
}
|
|
3834
4014
|
}, 600);
|
|
3835
4015
|
}, [
|
|
3836
|
-
|
|
3837
|
-
|
|
4016
|
+
J,
|
|
4017
|
+
q,
|
|
3838
4018
|
T,
|
|
3839
4019
|
e,
|
|
3840
|
-
|
|
3841
|
-
|
|
4020
|
+
K,
|
|
4021
|
+
G,
|
|
3842
4022
|
D
|
|
3843
4023
|
]);
|
|
3844
4024
|
s(() => {
|
|
3845
4025
|
De.current !== e.displayMode && (De.current = e.displayMode, h(e.displayMode !== "popup"), b(!1));
|
|
3846
4026
|
}, [e.displayMode]), s(() => {
|
|
3847
|
-
(
|
|
3848
|
-
S(t?.data?.types || []),
|
|
4027
|
+
(G ? q.getReviewFormSchema() : q.getFormSchema()).then((t) => {
|
|
4028
|
+
S(t?.data?.types || []), G && O({ fields: t?.data?.fields || [] }), (t?.data?.event_name || t?.data?.title || t?.data?.name) && w(t.data.event_name || t.data.title || t.data.name), e.onEvent?.("form_loaded", t?.data);
|
|
3849
4029
|
}).catch((t) => {
|
|
3850
|
-
|
|
4030
|
+
K.error("Failed to load schema", t), S([]);
|
|
3851
4031
|
let n = {
|
|
3852
4032
|
type: "schema_load",
|
|
3853
4033
|
message: t?.message || "Failed to load event schema",
|
|
3854
4034
|
error: t
|
|
3855
4035
|
};
|
|
3856
4036
|
e.onEvent?.("error", n), e.onError?.(n);
|
|
3857
|
-
}).finally(() =>
|
|
3858
|
-
}, [
|
|
3859
|
-
let
|
|
3860
|
-
|
|
3861
|
-
let n =
|
|
4037
|
+
}).finally(() => A(!1));
|
|
4038
|
+
}, [q, G]);
|
|
4039
|
+
let Me = async (t) => {
|
|
4040
|
+
Y.current && clearTimeout(Y.current), A(!0), ae(null);
|
|
4041
|
+
let n = J.getXrefId(), r = /* @__PURE__ */ new Set([
|
|
3862
4042
|
"salutation",
|
|
3863
4043
|
"title",
|
|
3864
4044
|
"name",
|
|
@@ -3875,7 +4055,7 @@ var _t = (e) => {
|
|
|
3875
4055
|
"custom_data",
|
|
3876
4056
|
"xref_id",
|
|
3877
4057
|
"accompanying"
|
|
3878
|
-
]), i = (
|
|
4058
|
+
]), i = (G ? D?.fields : T?.form_schema?.fields) || [], a = /* @__PURE__ */ new Map();
|
|
3879
4059
|
i.forEach((e) => a.set(e.id, e));
|
|
3880
4060
|
let o = { ...t.custom_data || {} };
|
|
3881
4061
|
for (let [e, n] of Object.entries(t)) if (!r.has(e)) {
|
|
@@ -3894,12 +4074,12 @@ var _t = (e) => {
|
|
|
3894
4074
|
accompanying: t.accompanying || []
|
|
3895
4075
|
};
|
|
3896
4076
|
try {
|
|
3897
|
-
let t =
|
|
3898
|
-
|
|
3899
|
-
let n =
|
|
3900
|
-
|
|
4077
|
+
let t = G ? await q.submitReview(s) : await q.submitRegistration(s);
|
|
4078
|
+
J.updateXrefId(), ke(null);
|
|
4079
|
+
let n = G ? null : t?.data?.payment_url || t?.payment_url || null;
|
|
4080
|
+
ce(n);
|
|
3901
4081
|
let r = t?.data?.submission_number || t?.submission_number || t?.data?.registration_number || t?.registration_number || t?.data?.registration?.registration_number || t?.registration?.registration_number || null;
|
|
3902
|
-
|
|
4082
|
+
ue(r ? String(r) : null), I(!1), n && typeof n == "string" && n.trim() !== "" && window.open(n, "_blank", "noopener,noreferrer"), ie(!0);
|
|
3903
4083
|
let i = {
|
|
3904
4084
|
registrationType: T.id,
|
|
3905
4085
|
payload: s,
|
|
@@ -3908,63 +4088,63 @@ var _t = (e) => {
|
|
|
3908
4088
|
};
|
|
3909
4089
|
e.onEvent?.("submitted", i), e.onRegister?.(i), e.onRegistered?.(i);
|
|
3910
4090
|
} catch (t) {
|
|
3911
|
-
|
|
3912
|
-
let n = t?.message || (
|
|
4091
|
+
K.error("Submission failed", t);
|
|
4092
|
+
let n = t?.message || (G ? "Submission failed. Please check your information and try again." : "Registration failed. Please check your information and try again."), r = {
|
|
3913
4093
|
type: "submit_error",
|
|
3914
4094
|
message: n,
|
|
3915
4095
|
error: t
|
|
3916
4096
|
};
|
|
3917
|
-
e.onEvent?.("error", r), e.onError?.(r),
|
|
4097
|
+
e.onEvent?.("error", r), e.onError?.(r), ae(n);
|
|
3918
4098
|
} finally {
|
|
3919
|
-
|
|
4099
|
+
A(!1);
|
|
3920
4100
|
}
|
|
3921
|
-
},
|
|
3922
|
-
if (
|
|
4101
|
+
}, Ne = () => {
|
|
4102
|
+
if (ie(!1), ae(null), ce(null), ue(null), I(!1), E(null), ke(null), typeof window < "u" && new URLSearchParams(window.location.search).has("rn")) {
|
|
3923
4103
|
let e = new URL(window.location.href);
|
|
3924
4104
|
e.searchParams.delete("rn"), window.history.replaceState(window.history.state, "", e.toString());
|
|
3925
4105
|
}
|
|
3926
|
-
},
|
|
3927
|
-
if (e.stopPropagation(), e.button !== 0 || !
|
|
3928
|
-
let t =
|
|
3929
|
-
|
|
4106
|
+
}, Pe = a((e) => {
|
|
4107
|
+
if (e.stopPropagation(), e.button !== 0 || !we.current) return;
|
|
4108
|
+
let t = we.current.getBoundingClientRect();
|
|
4109
|
+
V.current = {
|
|
3930
4110
|
startX: e.clientX,
|
|
3931
4111
|
startY: e.clientY,
|
|
3932
4112
|
rect: t,
|
|
3933
|
-
corner:
|
|
3934
|
-
},
|
|
3935
|
-
}, [
|
|
4113
|
+
corner: L
|
|
4114
|
+
}, H.current = !1, B(!0);
|
|
4115
|
+
}, [L]);
|
|
3936
4116
|
s(() => {
|
|
3937
|
-
if (!
|
|
4117
|
+
if (!ye) return;
|
|
3938
4118
|
let t = (e) => {
|
|
3939
|
-
if (!
|
|
3940
|
-
let t = e.clientX -
|
|
3941
|
-
|
|
4119
|
+
if (!V.current) return;
|
|
4120
|
+
let t = e.clientX - V.current.startX, n = e.clientY - V.current.startY;
|
|
4121
|
+
H.current || Math.hypot(t, n) > 5 && (H.current = !0), H.current && _e({
|
|
3942
4122
|
x: t,
|
|
3943
4123
|
y: n
|
|
3944
4124
|
});
|
|
3945
4125
|
}, n = (t) => {
|
|
3946
|
-
if (!
|
|
3947
|
-
|
|
4126
|
+
if (!V.current) {
|
|
4127
|
+
B(!1), _e(null), H.current = !1;
|
|
3948
4128
|
return;
|
|
3949
4129
|
}
|
|
3950
|
-
let { rect: n, startX: r, startY: i } =
|
|
3951
|
-
if (
|
|
3952
|
-
|
|
4130
|
+
let { rect: n, startX: r, startY: i } = V.current, a = t.clientX - r, o = t.clientY - i, s = H.current;
|
|
4131
|
+
if (V.current = null, B(!1), setTimeout(() => {
|
|
4132
|
+
H.current = !1;
|
|
3953
4133
|
}, 100), !s) {
|
|
3954
|
-
|
|
4134
|
+
_e(null);
|
|
3955
4135
|
return;
|
|
3956
4136
|
}
|
|
3957
4137
|
let c = n.left + a, l = n.top + o, u = c + n.width / 2, d = l + n.height / 2, f = typeof window < "u" ? window.innerWidth : 1024, p = typeof window < "u" ? window.innerHeight : 768, m = u >= f / 2, h = d >= p / 2, g = h ? m ? "bottom-right" : "bottom-left" : m ? "top-right" : "top-left", _ = m ? f - n.width - 20 : 20, v = h ? p - n.height - 20 : 20, y = c - _, b = l - v;
|
|
3958
|
-
|
|
4138
|
+
ve({
|
|
3959
4139
|
transform: `translate3d(${y}px, ${b}px, 0)`,
|
|
3960
4140
|
transition: "none"
|
|
3961
|
-
}),
|
|
4141
|
+
}), _e(null), R(g), e.onEvent?.("position_changed", { position: g }), requestAnimationFrame(() => {
|
|
3962
4142
|
requestAnimationFrame(() => {
|
|
3963
|
-
|
|
4143
|
+
ve({
|
|
3964
4144
|
transform: "translate3d(0, 0, 0)",
|
|
3965
4145
|
transition: "transform 0.35s cubic-bezier(0.16, 1, 0.3, 1)"
|
|
3966
4146
|
}), setTimeout(() => {
|
|
3967
|
-
|
|
4147
|
+
ve(null);
|
|
3968
4148
|
}, 360);
|
|
3969
4149
|
});
|
|
3970
4150
|
});
|
|
@@ -3972,62 +4152,62 @@ var _t = (e) => {
|
|
|
3972
4152
|
return window.addEventListener("pointermove", t), window.addEventListener("pointerup", n), window.addEventListener("pointercancel", n), () => {
|
|
3973
4153
|
window.removeEventListener("pointermove", t), window.removeEventListener("pointerup", n), window.removeEventListener("pointercancel", n);
|
|
3974
4154
|
};
|
|
3975
|
-
}, [
|
|
3976
|
-
let
|
|
3977
|
-
if (
|
|
4155
|
+
}, [ye, e]);
|
|
4156
|
+
let Ie = async () => {
|
|
4157
|
+
if (le) {
|
|
3978
4158
|
try {
|
|
3979
|
-
await navigator.clipboard.writeText(
|
|
4159
|
+
await navigator.clipboard.writeText(le);
|
|
3980
4160
|
} catch {
|
|
3981
4161
|
let e = document.createElement("textarea");
|
|
3982
|
-
e.value =
|
|
4162
|
+
e.value = le, document.body.appendChild(e), e.select(), document.execCommand("copy"), document.body.removeChild(e);
|
|
3983
4163
|
}
|
|
3984
|
-
|
|
4164
|
+
I(!0), setTimeout(() => I(!1), 2e3);
|
|
3985
4165
|
}
|
|
3986
|
-
},
|
|
4166
|
+
}, Re = () => le ? /* @__PURE__ */ m("div", {
|
|
3987
4167
|
className: "w-full max-w-xs mb-6",
|
|
3988
4168
|
children: [/* @__PURE__ */ p("p", {
|
|
3989
|
-
className: `text-2xs font-bold uppercase tracking-wider mb-1.5 ${
|
|
3990
|
-
children:
|
|
4169
|
+
className: `text-2xs font-bold uppercase tracking-wider mb-1.5 ${U ? "text-zinc-400" : "text-gray-500"}`,
|
|
4170
|
+
children: G ? "Submission Number" : "Registration Number"
|
|
3991
4171
|
}), /* @__PURE__ */ m("div", {
|
|
3992
4172
|
part: "registration-number",
|
|
3993
|
-
className: `flex items-center gap-2 pl-4 pr-1.5 py-1.5 rounded-xl border ${
|
|
4173
|
+
className: `flex items-center gap-2 pl-4 pr-1.5 py-1.5 rounded-xl border ${U ? "bg-zinc-900 border-zinc-700" : "bg-gray-50 border-gray-200"}`,
|
|
3994
4174
|
children: [/* @__PURE__ */ p("span", {
|
|
3995
4175
|
className: "flex-1 text-left font-mono font-bold text-base select-all break-all",
|
|
3996
|
-
children:
|
|
4176
|
+
children: le
|
|
3997
4177
|
}), /* @__PURE__ */ m("button", {
|
|
3998
4178
|
part: "copy-button",
|
|
3999
4179
|
type: "button",
|
|
4000
|
-
onClick:
|
|
4180
|
+
onClick: Ie,
|
|
4001
4181
|
className: "flex items-center gap-1 px-3 py-1.5 rounded-lg text-xs font-bold text-white shrink-0 cursor-pointer hover:opacity-90 transition-opacity",
|
|
4002
|
-
style: { backgroundColor:
|
|
4182
|
+
style: { backgroundColor: W },
|
|
4003
4183
|
title: "Copy registration number",
|
|
4004
|
-
children: [p(
|
|
4184
|
+
children: [p(F ? se : he, { size: 13 }), /* @__PURE__ */ p("span", { children: F ? "Copied" : "Copy" })]
|
|
4005
4185
|
})]
|
|
4006
4186
|
})]
|
|
4007
4187
|
}) : null;
|
|
4008
4188
|
if (!c && e.displayMode === "popup") {
|
|
4009
4189
|
let e = {
|
|
4010
|
-
...
|
|
4011
|
-
...
|
|
4012
|
-
transform: `translate3d(${
|
|
4190
|
+
...vt(L),
|
|
4191
|
+
...ge ? {
|
|
4192
|
+
transform: `translate3d(${ge.x}px, ${ge.y}px, 0) scale(1.05)`,
|
|
4013
4193
|
transition: "none",
|
|
4014
4194
|
userSelect: "none"
|
|
4015
|
-
} :
|
|
4016
|
-
transform:
|
|
4017
|
-
transition:
|
|
4195
|
+
} : z ? {
|
|
4196
|
+
transform: z.transform,
|
|
4197
|
+
transition: z.transition
|
|
4018
4198
|
} : { transition: "all 0.3s cubic-bezier(0.16, 1, 0.3, 1)" }
|
|
4019
|
-
}, t =
|
|
4199
|
+
}, t = Se || ye;
|
|
4020
4200
|
return /* @__PURE__ */ m("div", {
|
|
4021
|
-
ref:
|
|
4201
|
+
ref: we,
|
|
4022
4202
|
onMouseEnter: () => Ce(!0),
|
|
4023
4203
|
onMouseLeave: () => Ce(!1),
|
|
4024
|
-
className: `fixed ${
|
|
4204
|
+
className: `fixed ${yt(L)} z-50 select-none group`,
|
|
4025
4205
|
style: e,
|
|
4026
4206
|
children: [/* @__PURE__ */ p("div", {
|
|
4027
|
-
onPointerDown:
|
|
4207
|
+
onPointerDown: Pe,
|
|
4028
4208
|
className: `absolute -top-1.5 -left-1.5 w-7 h-7 rounded-full bg-slate-900 text-white shadow-lg border-2 border-white flex items-center justify-center cursor-grab active:cursor-grabbing hover:bg-black hover:scale-110 active:scale-95 transition-all duration-200 z-10 touch-none ${t ? "opacity-100 scale-100 pointer-events-auto" : "opacity-0 scale-75 pointer-events-none group-hover:opacity-100 group-hover:scale-100 group-hover:pointer-events-auto"}`,
|
|
4029
4209
|
title: "Hold and drag to change position",
|
|
4030
|
-
children: /* @__PURE__ */ p(
|
|
4210
|
+
children: /* @__PURE__ */ p(ze, {
|
|
4031
4211
|
size: 13,
|
|
4032
4212
|
className: "pointer-events-none text-white"
|
|
4033
4213
|
})
|
|
@@ -4035,10 +4215,10 @@ var _t = (e) => {
|
|
|
4035
4215
|
part: "launcher",
|
|
4036
4216
|
type: "button",
|
|
4037
4217
|
onClick: (e) => {
|
|
4038
|
-
e.stopPropagation(), !
|
|
4218
|
+
e.stopPropagation(), !ye && h(!0);
|
|
4039
4219
|
},
|
|
4040
4220
|
className: "w-16 h-16 rounded-full text-white shadow-xl flex items-center justify-center cursor-pointer hover:scale-105 active:scale-95 transition-transform",
|
|
4041
|
-
style: { backgroundColor:
|
|
4221
|
+
style: { backgroundColor: W },
|
|
4042
4222
|
title: "Click to open registration",
|
|
4043
4223
|
children: /* @__PURE__ */ p("span", {
|
|
4044
4224
|
className: "font-bold text-sm tracking-wide pointer-events-none",
|
|
@@ -4047,9 +4227,9 @@ var _t = (e) => {
|
|
|
4047
4227
|
})]
|
|
4048
4228
|
});
|
|
4049
4229
|
}
|
|
4050
|
-
let
|
|
4051
|
-
|
|
4052
|
-
let
|
|
4230
|
+
let Be = e.displayMode === "fullscreen" || e.displayMode === "popup" && y, Z = e.displayMode === "widget", Q = gt(Ee, U, Z), Ve = `${U ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"} flex flex-col transition-all duration-300 ease-in-out `, He = e.theme?.fontFamily, Ue = !He || He === "inherit" ? {} : { fontFamily: `var(--vx-font-family, ${He})` };
|
|
4231
|
+
Ue["--vx-accent"] = W, Be ? Ve += "fixed inset-0 z-[9999] rounded-none overflow-hidden " : e.displayMode === "popup" ? (Ve += `fixed ${yt(L)} z-50 rounded-xl shadow-2xl border ${U ? "border-zinc-800" : "border-gray-200"} overflow-hidden `, Ue.width = e.width || "400px", Ue.height = e.height || "700px", Ue.maxHeight = "90vh", Ue.maxWidth = "calc(100vw - 32px)", Object.assign(Ue, vt(L))) : (Ve += "relative w-full min-h-screen border-none shadow-none rounded-none ", Ue.width = "100%", Ue.minHeight = "100vh");
|
|
4232
|
+
let We = G ? "Abstract Submission" : t === "registration" ? C || "Registration" : "Attendee Portal", Ke = j.trim().toLowerCase(), Je = Ke ? x.filter((e) => [
|
|
4053
4233
|
e.type,
|
|
4054
4234
|
e.name,
|
|
4055
4235
|
e.category,
|
|
@@ -4058,27 +4238,27 @@ var _t = (e) => {
|
|
|
4058
4238
|
e.price,
|
|
4059
4239
|
e.tax_info,
|
|
4060
4240
|
...Array.isArray(e.items) ? e.items.map((e) => e?.name).filter(Boolean) : []
|
|
4061
|
-
].filter((e) => e != null && e !== "").join(" ").toLowerCase().includes(
|
|
4241
|
+
].filter((e) => e != null && e !== "").join(" ").toLowerCase().includes(Ke)) : x, Xe = `max-w-2xl mx-auto w-full rounded-3xl border overflow-hidden ${U ? "bg-zinc-900 border-zinc-800 shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_24px_48px_-24px_rgba(15,23,42,0.16)]"}`, Ze = () => {
|
|
4062
4242
|
if (x.length === 0) return null;
|
|
4063
|
-
let e = x.find((e) => String(e.id) ===
|
|
4243
|
+
let e = x.find((e) => String(e.id) === te) || (x.length === 1 ? x[0] : null), t = e ? e.type || e.name || e.label : "";
|
|
4064
4244
|
return /* @__PURE__ */ m("div", {
|
|
4065
4245
|
part: "category-panel",
|
|
4066
|
-
className:
|
|
4246
|
+
className: Xe,
|
|
4067
4247
|
children: [
|
|
4068
4248
|
/* @__PURE__ */ m("div", {
|
|
4069
4249
|
className: "px-5 sm:px-7 pt-6 sm:pt-7 pb-5 flex items-center gap-3.5",
|
|
4070
4250
|
children: [/* @__PURE__ */ p("div", {
|
|
4071
4251
|
className: "w-11 h-11 rounded-xl flex items-center justify-center shrink-0",
|
|
4072
4252
|
style: {
|
|
4073
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4074
|
-
color:
|
|
4253
|
+
backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
|
|
4254
|
+
color: W
|
|
4075
4255
|
},
|
|
4076
|
-
children: /* @__PURE__ */ p(
|
|
4256
|
+
children: /* @__PURE__ */ p(xe, { size: 20 })
|
|
4077
4257
|
}), /* @__PURE__ */ p("div", {
|
|
4078
4258
|
className: "min-w-0",
|
|
4079
4259
|
children: /* @__PURE__ */ p("h3", {
|
|
4080
4260
|
part: "list-title",
|
|
4081
|
-
className: `text-lg sm:text-xl font-semibold tracking-tight ${
|
|
4261
|
+
className: `text-lg sm:text-xl font-semibold tracking-tight ${U ? "text-white" : "text-slate-900"}`,
|
|
4082
4262
|
style: $,
|
|
4083
4263
|
children: "Choose a submission category"
|
|
4084
4264
|
})
|
|
@@ -4087,7 +4267,7 @@ var _t = (e) => {
|
|
|
4087
4267
|
/* @__PURE__ */ p("div", {
|
|
4088
4268
|
role: "radiogroup",
|
|
4089
4269
|
"aria-label": "Submission category",
|
|
4090
|
-
className: `border-t divide-y ${
|
|
4270
|
+
className: `border-t divide-y ${U ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
|
|
4091
4271
|
children: x.map((t) => {
|
|
4092
4272
|
let n = t.type || t.name || t.label, r = !!e && String(e.id) === String(t.id);
|
|
4093
4273
|
return /* @__PURE__ */ m("button", {
|
|
@@ -4095,48 +4275,48 @@ var _t = (e) => {
|
|
|
4095
4275
|
type: "button",
|
|
4096
4276
|
role: "radio",
|
|
4097
4277
|
"aria-checked": r,
|
|
4098
|
-
onClick: () =>
|
|
4099
|
-
className: `group w-full flex items-center gap-4 px-5 sm:px-7 py-4 text-left transition-colors cursor-pointer outline-none focus-visible:bg-[color-mix(in_srgb,var(--vx-accent)_8%,transparent)] ${r ? "" :
|
|
4100
|
-
style: r ? { backgroundColor: `color-mix(in srgb, ${
|
|
4278
|
+
onClick: () => ne(String(t.id)),
|
|
4279
|
+
className: `group w-full flex items-center gap-4 px-5 sm:px-7 py-4 text-left transition-colors cursor-pointer outline-none focus-visible:bg-[color-mix(in_srgb,var(--vx-accent)_8%,transparent)] ${r ? "" : U ? "hover:bg-zinc-800/60" : "hover:bg-slate-50"}`,
|
|
4280
|
+
style: r ? { backgroundColor: `color-mix(in srgb, ${W} ${U ? 14 : 6}%, transparent)` } : void 0,
|
|
4101
4281
|
children: [
|
|
4102
4282
|
/* @__PURE__ */ p("span", {
|
|
4103
4283
|
"aria-hidden": "true",
|
|
4104
|
-
className: `w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors ${r ? "" :
|
|
4105
|
-
style: r ? { borderColor:
|
|
4284
|
+
className: `w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors ${r ? "" : U ? "border-zinc-600" : "border-slate-300"}`,
|
|
4285
|
+
style: r ? { borderColor: W } : void 0,
|
|
4106
4286
|
children: r && /* @__PURE__ */ p("span", {
|
|
4107
4287
|
className: "w-2.5 h-2.5 rounded-full",
|
|
4108
|
-
style: { backgroundColor:
|
|
4288
|
+
style: { backgroundColor: W }
|
|
4109
4289
|
})
|
|
4110
4290
|
}),
|
|
4111
4291
|
/* @__PURE__ */ m("span", {
|
|
4112
4292
|
className: "flex-1 min-w-0",
|
|
4113
4293
|
children: [/* @__PURE__ */ p("span", {
|
|
4114
|
-
className: `block text-[15px] font-semibold leading-snug ${
|
|
4294
|
+
className: `block text-[15px] font-semibold leading-snug ${U ? "text-white" : "text-slate-900"}`,
|
|
4115
4295
|
children: n
|
|
4116
4296
|
}), t.description && /* @__PURE__ */ p("span", {
|
|
4117
|
-
className: `block text-[13px] mt-0.5 line-clamp-1 ${
|
|
4297
|
+
className: `block text-[13px] mt-0.5 line-clamp-1 ${U ? "text-zinc-400" : "text-slate-500"}`,
|
|
4118
4298
|
children: t.description
|
|
4119
4299
|
})]
|
|
4120
4300
|
}),
|
|
4121
4301
|
t.category && /* @__PURE__ */ p("span", {
|
|
4122
|
-
className: `hidden sm:inline-block text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full shrink-0 ${
|
|
4302
|
+
className: `hidden sm:inline-block text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full shrink-0 ${U ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
|
|
4123
4303
|
children: t.category
|
|
4124
4304
|
}),
|
|
4125
|
-
/* @__PURE__ */ p(
|
|
4305
|
+
/* @__PURE__ */ p(re, {
|
|
4126
4306
|
size: 16,
|
|
4127
|
-
className: `shrink-0 transition-all ${r ? "translate-x-0.5" : `${
|
|
4128
|
-
style: r ? { color:
|
|
4307
|
+
className: `shrink-0 transition-all ${r ? "translate-x-0.5" : `${U ? "text-zinc-600" : "text-slate-300"} group-hover:translate-x-0.5`}`,
|
|
4308
|
+
style: r ? { color: W } : void 0
|
|
4129
4309
|
})
|
|
4130
4310
|
]
|
|
4131
4311
|
}, t.id);
|
|
4132
4312
|
})
|
|
4133
4313
|
}),
|
|
4134
4314
|
/* @__PURE__ */ m("div", {
|
|
4135
|
-
className: `px-5 sm:px-7 py-5 border-t flex flex-col-reverse sm:flex-row sm:items-center sm:justify-between gap-3 ${
|
|
4315
|
+
className: `px-5 sm:px-7 py-5 border-t flex flex-col-reverse sm:flex-row sm:items-center sm:justify-between gap-3 ${U ? "border-zinc-800" : "border-slate-100"}`,
|
|
4136
4316
|
children: [/* @__PURE__ */ p("p", {
|
|
4137
|
-
className: `text-[13px] truncate ${
|
|
4317
|
+
className: `text-[13px] truncate ${U ? "text-zinc-400" : "text-slate-500"}`,
|
|
4138
4318
|
children: e ? /* @__PURE__ */ m(f, { children: ["Selected: ", /* @__PURE__ */ p("span", {
|
|
4139
|
-
className: `font-semibold ${
|
|
4319
|
+
className: `font-semibold ${U ? "text-zinc-200" : "text-slate-700"}`,
|
|
4140
4320
|
children: t
|
|
4141
4321
|
})] }) : "Select a category to continue"
|
|
4142
4322
|
}), /* @__PURE__ */ m("button", {
|
|
@@ -4145,11 +4325,11 @@ var _t = (e) => {
|
|
|
4145
4325
|
disabled: !e,
|
|
4146
4326
|
onClick: () => e && E(e),
|
|
4147
4327
|
style: {
|
|
4148
|
-
background: `linear-gradient(135deg, ${
|
|
4149
|
-
boxShadow: e ? `0 10px 24px -12px color-mix(in srgb, ${
|
|
4328
|
+
background: `linear-gradient(135deg, ${W}, color-mix(in srgb, ${W} 80%, black))`,
|
|
4329
|
+
boxShadow: e ? `0 10px 24px -12px color-mix(in srgb, ${W} 70%, transparent)` : void 0
|
|
4150
4330
|
},
|
|
4151
4331
|
className: "group shrink-0 inline-flex items-center justify-center gap-2 h-11 px-5 rounded-xl text-sm font-semibold text-white transition-all hover:brightness-110 active:scale-[0.99] cursor-pointer disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:brightness-100",
|
|
4152
|
-
children: [/* @__PURE__ */ p("span", { children: "Continue to submission" }), /* @__PURE__ */ p(
|
|
4332
|
+
children: [/* @__PURE__ */ p("span", { children: "Continue to submission" }), /* @__PURE__ */ p(re, {
|
|
4153
4333
|
size: 16,
|
|
4154
4334
|
className: "transition-transform group-hover:translate-x-0.5"
|
|
4155
4335
|
})]
|
|
@@ -4157,16 +4337,16 @@ var _t = (e) => {
|
|
|
4157
4337
|
})
|
|
4158
4338
|
]
|
|
4159
4339
|
});
|
|
4160
|
-
},
|
|
4340
|
+
}, Qe = (e) => /* @__PURE__ */ m("div", {
|
|
4161
4341
|
part: "category-panel",
|
|
4162
|
-
className:
|
|
4342
|
+
className: Xe,
|
|
4163
4343
|
children: [
|
|
4164
4344
|
/* @__PURE__ */ m("div", {
|
|
4165
4345
|
className: "px-5 sm:px-7 pt-6 sm:pt-7 pb-5 flex items-center gap-3.5",
|
|
4166
4346
|
children: [/* @__PURE__ */ p("div", { className: "vx-skeleton w-11 h-11 rounded-xl" }), /* @__PURE__ */ p("div", { className: `${e} h-4 w-56` })]
|
|
4167
4347
|
}),
|
|
4168
4348
|
/* @__PURE__ */ p("div", {
|
|
4169
|
-
className: `border-t divide-y ${
|
|
4349
|
+
className: `border-t divide-y ${U ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
|
|
4170
4350
|
children: [
|
|
4171
4351
|
0,
|
|
4172
4352
|
1,
|
|
@@ -4189,18 +4369,18 @@ var _t = (e) => {
|
|
|
4189
4369
|
}, t))
|
|
4190
4370
|
}),
|
|
4191
4371
|
/* @__PURE__ */ p("div", {
|
|
4192
|
-
className: `px-5 sm:px-7 py-5 border-t flex justify-end ${
|
|
4372
|
+
className: `px-5 sm:px-7 py-5 border-t flex justify-end ${U ? "border-zinc-800" : "border-slate-100"}`,
|
|
4193
4373
|
children: /* @__PURE__ */ p("div", { className: `${e} h-11 w-52` })
|
|
4194
4374
|
})
|
|
4195
4375
|
]
|
|
4196
|
-
}),
|
|
4376
|
+
}), $e = () => {
|
|
4197
4377
|
let e = "vx-skeleton rounded-full", t = Z ? 6 : 3;
|
|
4198
4378
|
return /* @__PURE__ */ m("div", {
|
|
4199
4379
|
part: "page",
|
|
4200
4380
|
role: "status",
|
|
4201
4381
|
"aria-live": "polite",
|
|
4202
4382
|
"aria-busy": "true",
|
|
4203
|
-
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${
|
|
4383
|
+
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${U ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
|
|
4204
4384
|
children: [
|
|
4205
4385
|
/* @__PURE__ */ p("span", {
|
|
4206
4386
|
className: "sr-only",
|
|
@@ -4209,7 +4389,7 @@ var _t = (e) => {
|
|
|
4209
4389
|
/* @__PURE__ */ p("div", {
|
|
4210
4390
|
part: "header",
|
|
4211
4391
|
className: "relative overflow-hidden z-10 shrink-0 text-white",
|
|
4212
|
-
style: { background: `linear-gradient(135deg, ${
|
|
4392
|
+
style: { background: `linear-gradient(135deg, ${W} 0%, color-mix(in srgb, ${W} 76%, black) 100%)` },
|
|
4213
4393
|
children: /* @__PURE__ */ m("div", {
|
|
4214
4394
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-5 sm:py-6 flex items-center gap-3.5",
|
|
4215
4395
|
children: [/* @__PURE__ */ p("div", { className: "w-11 h-11 rounded-2xl bg-white/15 ring-1 ring-inset ring-white/30 shrink-0" }), /* @__PURE__ */ m("div", {
|
|
@@ -4218,30 +4398,30 @@ var _t = (e) => {
|
|
|
4218
4398
|
})]
|
|
4219
4399
|
})
|
|
4220
4400
|
}),
|
|
4221
|
-
!
|
|
4401
|
+
!G && /* @__PURE__ */ p("div", {
|
|
4222
4402
|
part: "tabs",
|
|
4223
|
-
className: `shrink-0 border-b ${
|
|
4403
|
+
className: `shrink-0 border-b ${U ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
4224
4404
|
children: /* @__PURE__ */ p("div", {
|
|
4225
4405
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-3",
|
|
4226
4406
|
children: /* @__PURE__ */ m("div", {
|
|
4227
|
-
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${
|
|
4228
|
-
children: [/* @__PURE__ */ p("div", { className: `h-9 rounded-lg ${
|
|
4407
|
+
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${U ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4408
|
+
children: [/* @__PURE__ */ p("div", { className: `h-9 rounded-lg ${U ? "bg-zinc-950" : "bg-white shadow-sm"}` }), /* @__PURE__ */ p("div", { className: "h-9" })]
|
|
4229
4409
|
})
|
|
4230
4410
|
})
|
|
4231
4411
|
}),
|
|
4232
4412
|
/* @__PURE__ */ p("div", {
|
|
4233
4413
|
part: "list",
|
|
4234
|
-
className: `${Z ? "w-full flex-1" : "overflow-hidden flex-1 min-h-0"} relative ${
|
|
4414
|
+
className: `${Z ? "w-full flex-1" : "overflow-hidden flex-1 min-h-0"} relative ${U ? "bg-zinc-950" : "bg-slate-50"}`,
|
|
4235
4415
|
style: Q,
|
|
4236
4416
|
children: /* @__PURE__ */ p("div", {
|
|
4237
4417
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-6 sm:py-8 space-y-5",
|
|
4238
|
-
children:
|
|
4418
|
+
children: G ? Qe(e) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
4239
4419
|
part: "search",
|
|
4240
4420
|
className: "flex flex-col sm:flex-row sm:items-end sm:justify-between gap-3",
|
|
4241
4421
|
children: [/* @__PURE__ */ m("div", {
|
|
4242
4422
|
className: "space-y-2",
|
|
4243
4423
|
children: [/* @__PURE__ */ p("div", { className: `${e} h-4 w-56` }), /* @__PURE__ */ p("div", { className: `${e} h-3 w-28` })]
|
|
4244
|
-
}), /* @__PURE__ */ p("div", { className: `h-10 w-full sm:w-72 rounded-xl border ${
|
|
4424
|
+
}), /* @__PURE__ */ p("div", { className: `h-10 w-full sm:w-72 rounded-xl border ${U ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200"}` })]
|
|
4245
4425
|
}), /* @__PURE__ */ p("div", {
|
|
4246
4426
|
part: "card-grid",
|
|
4247
4427
|
className: Z ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
|
|
@@ -4249,7 +4429,7 @@ var _t = (e) => {
|
|
|
4249
4429
|
let r = { animationDelay: `${n * 90}ms` };
|
|
4250
4430
|
return /* @__PURE__ */ m("div", {
|
|
4251
4431
|
part: "card",
|
|
4252
|
-
className: `rounded-2xl border p-5 sm:p-6 flex flex-col ${
|
|
4432
|
+
className: `rounded-2xl border p-5 sm:p-6 flex flex-col ${U ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`,
|
|
4253
4433
|
children: [
|
|
4254
4434
|
/* @__PURE__ */ p("div", {
|
|
4255
4435
|
className: "vx-skeleton w-11 h-11 rounded-xl",
|
|
@@ -4264,7 +4444,7 @@ var _t = (e) => {
|
|
|
4264
4444
|
style: r
|
|
4265
4445
|
}),
|
|
4266
4446
|
/* @__PURE__ */ m("div", {
|
|
4267
|
-
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${
|
|
4447
|
+
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${U ? "border-zinc-800" : "border-slate-200"}`,
|
|
4268
4448
|
children: [/* @__PURE__ */ m("div", {
|
|
4269
4449
|
className: "space-y-2",
|
|
4270
4450
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -4287,30 +4467,30 @@ var _t = (e) => {
|
|
|
4287
4467
|
})
|
|
4288
4468
|
]
|
|
4289
4469
|
});
|
|
4290
|
-
},
|
|
4291
|
-
let e = !!T, t =
|
|
4470
|
+
}, et = () => {
|
|
4471
|
+
let e = !!T, t = G ? xe : Ye, n = e ? G ? "Submitting your abstract" : "Submitting your registration" : "Loading your registration", r = T ? T.type || T.name || T.label : "", i = !G && T && T.price !== void 0 && T.price !== null && T.price !== "" ? Number(T.price) > 0 ? [T.currency, Number(T.price).toLocaleString()].filter(Boolean).join(" ") : "Free" : "";
|
|
4292
4472
|
return /* @__PURE__ */ p("div", {
|
|
4293
4473
|
part: "screen screen-submitting",
|
|
4294
4474
|
role: "status",
|
|
4295
4475
|
"aria-live": "polite",
|
|
4296
4476
|
"aria-busy": "true",
|
|
4297
|
-
className: `flex-1 flex items-center justify-center px-4 py-16 ${Z ? "min-h-[70vh]" : "h-full"} ${
|
|
4477
|
+
className: `flex-1 flex items-center justify-center px-4 py-16 ${Z ? "min-h-[70vh]" : "h-full"} ${U ? "bg-zinc-950" : "bg-slate-50"}`,
|
|
4298
4478
|
style: Q,
|
|
4299
4479
|
children: /* @__PURE__ */ m("div", {
|
|
4300
4480
|
part: "portal-card",
|
|
4301
|
-
className: `w-full max-w-sm rounded-3xl border p-8 text-center ${
|
|
4481
|
+
className: `w-full max-w-sm rounded-3xl border p-8 text-center ${U ? "bg-zinc-900 border-zinc-800 shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_24px_48px_-24px_rgba(15,23,42,0.18)]"}`,
|
|
4302
4482
|
children: [
|
|
4303
4483
|
/* @__PURE__ */ m("div", {
|
|
4304
4484
|
className: "relative mx-auto w-16 h-16",
|
|
4305
4485
|
children: [
|
|
4306
4486
|
/* @__PURE__ */ p("div", {
|
|
4307
4487
|
className: "absolute inset-0 rounded-full",
|
|
4308
|
-
style: { boxShadow: `inset 0 0 0 4px color-mix(in srgb, ${
|
|
4488
|
+
style: { boxShadow: `inset 0 0 0 4px color-mix(in srgb, ${W} 14%, transparent)` }
|
|
4309
4489
|
}),
|
|
4310
4490
|
/* @__PURE__ */ p("div", {
|
|
4311
4491
|
className: "absolute inset-0 rounded-full motion-safe:animate-spin",
|
|
4312
4492
|
style: {
|
|
4313
|
-
background: `conic-gradient(from 0deg, transparent 0deg, ${
|
|
4493
|
+
background: `conic-gradient(from 0deg, transparent 0deg, ${W} 300deg, transparent 360deg)`,
|
|
4314
4494
|
mask: "radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px))",
|
|
4315
4495
|
WebkitMask: "radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px))"
|
|
4316
4496
|
}
|
|
@@ -4318,8 +4498,8 @@ var _t = (e) => {
|
|
|
4318
4498
|
/* @__PURE__ */ p("div", {
|
|
4319
4499
|
className: "absolute inset-[10px] rounded-full flex items-center justify-center",
|
|
4320
4500
|
style: {
|
|
4321
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4322
|
-
color:
|
|
4501
|
+
backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
|
|
4502
|
+
color: W
|
|
4323
4503
|
},
|
|
4324
4504
|
children: /* @__PURE__ */ p(t, { size: 20 })
|
|
4325
4505
|
})
|
|
@@ -4327,35 +4507,35 @@ var _t = (e) => {
|
|
|
4327
4507
|
}),
|
|
4328
4508
|
/* @__PURE__ */ p("h3", {
|
|
4329
4509
|
part: "screen-title",
|
|
4330
|
-
className: `mt-6 text-xl font-bold tracking-tight ${
|
|
4510
|
+
className: `mt-6 text-xl font-bold tracking-tight ${U ? "text-white" : "text-slate-900"}`,
|
|
4331
4511
|
style: $,
|
|
4332
4512
|
children: n
|
|
4333
4513
|
}),
|
|
4334
4514
|
/* @__PURE__ */ p("p", {
|
|
4335
4515
|
part: "screen-message",
|
|
4336
|
-
className: `mt-1.5 text-[13px] leading-relaxed text-balance ${
|
|
4516
|
+
className: `mt-1.5 text-[13px] leading-relaxed text-balance ${U ? "text-zinc-400" : "text-slate-500"}`,
|
|
4337
4517
|
children: "This usually takes a few seconds. Please keep this page open."
|
|
4338
4518
|
}),
|
|
4339
4519
|
r && /* @__PURE__ */ m("div", {
|
|
4340
|
-
className: `mt-5 inline-flex max-w-full items-center gap-2 rounded-full px-3 py-1.5 text-xs font-semibold ${
|
|
4520
|
+
className: `mt-5 inline-flex max-w-full items-center gap-2 rounded-full px-3 py-1.5 text-xs font-semibold ${U ? "bg-zinc-800 text-zinc-200" : "bg-slate-100 text-slate-700"}`,
|
|
4341
4521
|
children: [/* @__PURE__ */ p("span", {
|
|
4342
4522
|
className: "truncate",
|
|
4343
4523
|
children: r
|
|
4344
4524
|
}), i && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
4345
4525
|
"aria-hidden": "true",
|
|
4346
|
-
className:
|
|
4526
|
+
className: U ? "text-zinc-600" : "text-slate-300",
|
|
4347
4527
|
children: "•"
|
|
4348
4528
|
}), /* @__PURE__ */ p("span", {
|
|
4349
4529
|
className: "shrink-0 tabular-nums",
|
|
4350
|
-
style: { color:
|
|
4530
|
+
style: { color: W },
|
|
4351
4531
|
children: i
|
|
4352
4532
|
})] })]
|
|
4353
4533
|
}),
|
|
4354
4534
|
/* @__PURE__ */ p("div", {
|
|
4355
|
-
className: `mt-6 h-1 w-full overflow-hidden rounded-full ${
|
|
4535
|
+
className: `mt-6 h-1 w-full overflow-hidden rounded-full ${U ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4356
4536
|
children: /* @__PURE__ */ p("div", {
|
|
4357
4537
|
className: "vx-progress-bar h-full w-2/5 rounded-full",
|
|
4358
|
-
style: { backgroundColor:
|
|
4538
|
+
style: { backgroundColor: W }
|
|
4359
4539
|
})
|
|
4360
4540
|
})
|
|
4361
4541
|
]
|
|
@@ -4364,22 +4544,22 @@ var _t = (e) => {
|
|
|
4364
4544
|
};
|
|
4365
4545
|
return /* @__PURE__ */ p("div", {
|
|
4366
4546
|
part: "widget",
|
|
4367
|
-
className:
|
|
4547
|
+
className: Ve,
|
|
4368
4548
|
style: {
|
|
4369
|
-
...
|
|
4549
|
+
...Ue,
|
|
4370
4550
|
overflow: Z ? "visible" : "clip"
|
|
4371
4551
|
},
|
|
4372
4552
|
onScroll: (e) => {
|
|
4373
4553
|
Z || (e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0));
|
|
4374
4554
|
},
|
|
4375
|
-
children:
|
|
4555
|
+
children: k && !T && !N ? $e() : k ? et() : N ? oe ? /* @__PURE__ */ m("div", {
|
|
4376
4556
|
part: "screen screen-payment",
|
|
4377
|
-
className: `flex flex-col h-full relative overflow-y-auto ${
|
|
4557
|
+
className: `flex flex-col h-full relative overflow-y-auto ${U ? "bg-black text-white" : "bg-white text-gray-900"}`,
|
|
4378
4558
|
children: [/* @__PURE__ */ m("div", {
|
|
4379
4559
|
part: "screen-header",
|
|
4380
4560
|
className: "p-4 shadow-sm flex justify-between items-center z-10",
|
|
4381
4561
|
style: {
|
|
4382
|
-
backgroundColor:
|
|
4562
|
+
backgroundColor: W,
|
|
4383
4563
|
color: "white"
|
|
4384
4564
|
},
|
|
4385
4565
|
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h2", {
|
|
@@ -4409,37 +4589,37 @@ var _t = (e) => {
|
|
|
4409
4589
|
/* @__PURE__ */ p("div", {
|
|
4410
4590
|
className: "w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md",
|
|
4411
4591
|
style: {
|
|
4412
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4413
|
-
color:
|
|
4592
|
+
backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
|
|
4593
|
+
color: W
|
|
4414
4594
|
},
|
|
4415
4595
|
children: "💳"
|
|
4416
4596
|
}),
|
|
4417
4597
|
/* @__PURE__ */ p("h3", {
|
|
4418
4598
|
part: "screen-title",
|
|
4419
|
-
className: `text-2xl font-bold mb-2 ${
|
|
4599
|
+
className: `text-2xl font-bold mb-2 ${U ? "text-white" : "text-gray-900"}`,
|
|
4420
4600
|
style: $,
|
|
4421
4601
|
children: "Done Your Payment First"
|
|
4422
4602
|
}),
|
|
4423
4603
|
/* @__PURE__ */ p("p", {
|
|
4424
4604
|
part: "screen-message",
|
|
4425
|
-
className: `text-sm mb-6 max-w-xs leading-relaxed ${
|
|
4605
|
+
className: `text-sm mb-6 max-w-xs leading-relaxed ${U ? "text-zinc-300" : "text-gray-600"}`,
|
|
4426
4606
|
children: "Please complete your payment in the new tab to confirm your booking and finalize your registration."
|
|
4427
4607
|
}),
|
|
4428
|
-
|
|
4608
|
+
Re(),
|
|
4429
4609
|
/* @__PURE__ */ m("div", {
|
|
4430
4610
|
className: "w-full max-w-xs space-y-3",
|
|
4431
4611
|
children: [/* @__PURE__ */ m("a", {
|
|
4432
4612
|
part: "button button-primary",
|
|
4433
|
-
href:
|
|
4613
|
+
href: oe,
|
|
4434
4614
|
target: "_blank",
|
|
4435
4615
|
rel: "noopener noreferrer",
|
|
4436
4616
|
className: "flex items-center justify-center gap-2 font-bold px-5 py-3 rounded-lg transition-opacity hover:opacity-90 text-white shadow-md w-full",
|
|
4437
|
-
style: { backgroundColor:
|
|
4438
|
-
children: [/* @__PURE__ */ p("span", { children: "Open Payment Page" }), /* @__PURE__ */ p(
|
|
4617
|
+
style: { backgroundColor: W },
|
|
4618
|
+
children: [/* @__PURE__ */ p("span", { children: "Open Payment Page" }), /* @__PURE__ */ p(be, { size: 16 })]
|
|
4439
4619
|
}), /* @__PURE__ */ p("button", {
|
|
4440
4620
|
part: "button button-link",
|
|
4441
|
-
onClick:
|
|
4442
|
-
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${
|
|
4621
|
+
onClick: Ne,
|
|
4622
|
+
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${U ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
|
|
4443
4623
|
children: "Register Another Person"
|
|
4444
4624
|
})]
|
|
4445
4625
|
})
|
|
@@ -4447,47 +4627,52 @@ var _t = (e) => {
|
|
|
4447
4627
|
})]
|
|
4448
4628
|
}) : /* @__PURE__ */ m("div", {
|
|
4449
4629
|
part: "screen screen-success",
|
|
4450
|
-
className: `flex flex-col h-full items-center justify-center p-8 text-center relative ${
|
|
4630
|
+
className: `flex flex-col h-full items-center justify-center p-8 text-center relative ${U ? "bg-black text-white" : "bg-white text-gray-900"}`,
|
|
4451
4631
|
children: [
|
|
4452
4632
|
e.displayMode === "popup" && /* @__PURE__ */ p("div", {
|
|
4453
4633
|
className: "absolute top-4 right-4 flex items-center gap-2",
|
|
4454
4634
|
children: /* @__PURE__ */ p("button", {
|
|
4455
4635
|
onClick: () => h(!1),
|
|
4456
|
-
className: `cursor-pointer ${
|
|
4636
|
+
className: `cursor-pointer ${U ? "text-zinc-400 hover:text-white" : "text-gray-400 hover:text-gray-900"}`,
|
|
4457
4637
|
children: /* @__PURE__ */ p(st, { size: 24 })
|
|
4458
4638
|
})
|
|
4459
4639
|
}),
|
|
4460
4640
|
/* @__PURE__ */ p("div", {
|
|
4461
4641
|
className: "w-20 h-20 rounded-full flex items-center justify-center mb-6 text-4xl shadow-md",
|
|
4462
4642
|
style: {
|
|
4463
|
-
backgroundColor:
|
|
4643
|
+
backgroundColor: W,
|
|
4464
4644
|
color: "white"
|
|
4465
4645
|
},
|
|
4466
4646
|
children: "✓"
|
|
4467
4647
|
}),
|
|
4468
4648
|
/* @__PURE__ */ p("h2", {
|
|
4469
4649
|
part: "screen-title",
|
|
4470
|
-
className: `text-3xl font-bold mb-3 ${
|
|
4650
|
+
className: `text-3xl font-bold mb-3 ${U ? "text-white" : "text-gray-900"}`,
|
|
4471
4651
|
style: $,
|
|
4472
|
-
children:
|
|
4652
|
+
children: G ? "Abstract Submitted Successfully" : "Thank You!"
|
|
4473
4653
|
}),
|
|
4474
4654
|
/* @__PURE__ */ p("p", {
|
|
4475
4655
|
part: "screen-message",
|
|
4476
|
-
className: `mb-6 ${
|
|
4477
|
-
children:
|
|
4656
|
+
className: `mb-6 ${U ? "text-zinc-300" : "text-gray-600"}`,
|
|
4657
|
+
children: G ? "Your reference submission number is below." : "Your registration has been successfully received."
|
|
4658
|
+
}),
|
|
4659
|
+
Re(),
|
|
4660
|
+
de !== null && /* @__PURE__ */ p("p", {
|
|
4661
|
+
part: "payment-status",
|
|
4662
|
+
className: `text-sm mb-6 max-w-xs leading-relaxed ${U ? "text-zinc-300" : "text-gray-600"}`,
|
|
4663
|
+
children: de ? "Your payment is confirmed." : "We haven't received your payment yet. If you have just paid, it will be confirmed shortly."
|
|
4478
4664
|
}),
|
|
4479
|
-
X(),
|
|
4480
4665
|
/* @__PURE__ */ p("button", {
|
|
4481
4666
|
part: "button button-primary",
|
|
4482
|
-
onClick:
|
|
4483
|
-
style: { backgroundColor:
|
|
4667
|
+
onClick: Ne,
|
|
4668
|
+
style: { backgroundColor: W },
|
|
4484
4669
|
className: "text-white font-bold py-3 px-8 rounded-md hover:opacity-90 transition-opacity shadow-md cursor-pointer",
|
|
4485
4670
|
children: "Back"
|
|
4486
4671
|
})
|
|
4487
4672
|
]
|
|
4488
|
-
}) :
|
|
4673
|
+
}) : P ? /* @__PURE__ */ m("div", {
|
|
4489
4674
|
part: "screen screen-error",
|
|
4490
|
-
className: `flex flex-col h-full relative overflow-y-auto ${
|
|
4675
|
+
className: `flex flex-col h-full relative overflow-y-auto ${U ? "bg-black text-white" : "bg-white text-gray-900"}`,
|
|
4491
4676
|
children: [/* @__PURE__ */ m("div", {
|
|
4492
4677
|
part: "screen-header",
|
|
4493
4678
|
className: "p-4 shadow-sm flex justify-between items-center z-10 bg-red-600 text-white",
|
|
@@ -4495,7 +4680,7 @@ var _t = (e) => {
|
|
|
4495
4680
|
part: "screen-header-title",
|
|
4496
4681
|
className: "text-xl font-bold",
|
|
4497
4682
|
style: $,
|
|
4498
|
-
children:
|
|
4683
|
+
children: G ? "Submission Failed" : "Registration Failed"
|
|
4499
4684
|
}), /* @__PURE__ */ p("p", {
|
|
4500
4685
|
className: "text-xs opacity-90 mt-0.5",
|
|
4501
4686
|
children: "Please try again"
|
|
@@ -4511,41 +4696,41 @@ var _t = (e) => {
|
|
|
4511
4696
|
className: "flex-1 flex flex-col items-center justify-center p-6 text-center",
|
|
4512
4697
|
children: [
|
|
4513
4698
|
/* @__PURE__ */ p("div", {
|
|
4514
|
-
className: `w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md border ${
|
|
4699
|
+
className: `w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md border ${U ? "bg-red-950/60 text-red-400 border-red-900" : "bg-red-50 text-red-600 border-red-200"}`,
|
|
4515
4700
|
children: "✕"
|
|
4516
4701
|
}),
|
|
4517
4702
|
/* @__PURE__ */ p("h3", {
|
|
4518
4703
|
part: "screen-title",
|
|
4519
|
-
className: `text-2xl font-bold mb-2 ${
|
|
4704
|
+
className: `text-2xl font-bold mb-2 ${U ? "text-white" : "text-gray-900"}`,
|
|
4520
4705
|
style: $,
|
|
4521
4706
|
children: "Submission Error"
|
|
4522
4707
|
}),
|
|
4523
4708
|
/* @__PURE__ */ p("p", {
|
|
4524
4709
|
part: "screen-message",
|
|
4525
|
-
className: `text-sm mb-6 max-w-xs leading-relaxed ${
|
|
4526
|
-
children:
|
|
4710
|
+
className: `text-sm mb-6 max-w-xs leading-relaxed ${U ? "text-zinc-300" : "text-gray-600"}`,
|
|
4711
|
+
children: P
|
|
4527
4712
|
}),
|
|
4528
4713
|
/* @__PURE__ */ m("div", {
|
|
4529
4714
|
className: "w-full max-w-xs space-y-3",
|
|
4530
4715
|
children: [/* @__PURE__ */ p("button", {
|
|
4531
4716
|
part: "button button-primary",
|
|
4532
|
-
onClick: () =>
|
|
4533
|
-
style: { backgroundColor:
|
|
4717
|
+
onClick: () => ae(null),
|
|
4718
|
+
style: { backgroundColor: W },
|
|
4534
4719
|
className: "flex items-center justify-center gap-2 font-bold px-5 py-3 rounded-lg transition-opacity hover:opacity-90 text-white shadow-md w-full cursor-pointer",
|
|
4535
4720
|
children: /* @__PURE__ */ p("span", { children: "Try Again" })
|
|
4536
4721
|
}), /* @__PURE__ */ p("button", {
|
|
4537
4722
|
part: "button button-link",
|
|
4538
4723
|
onClick: () => {
|
|
4539
|
-
|
|
4724
|
+
ae(null), E(null);
|
|
4540
4725
|
},
|
|
4541
|
-
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${
|
|
4542
|
-
children:
|
|
4726
|
+
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${U ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
|
|
4727
|
+
children: G ? "Choose Another Category" : "Choose Another Ticket"
|
|
4543
4728
|
})]
|
|
4544
4729
|
})
|
|
4545
4730
|
]
|
|
4546
4731
|
})]
|
|
4547
4732
|
}) : T ? /* @__PURE__ */ p(pt, {
|
|
4548
|
-
schema:
|
|
4733
|
+
schema: G ? ee : T.form_schema,
|
|
4549
4734
|
ticketType: T,
|
|
4550
4735
|
theme: e.theme,
|
|
4551
4736
|
displayMode: e.displayMode,
|
|
@@ -4553,28 +4738,29 @@ var _t = (e) => {
|
|
|
4553
4738
|
isExpanded: y,
|
|
4554
4739
|
onToggleExpand: () => b(!y),
|
|
4555
4740
|
onClose: () => h(!1),
|
|
4556
|
-
onSubmit:
|
|
4557
|
-
onChange:
|
|
4558
|
-
initialValues:
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4741
|
+
onSubmit: Me,
|
|
4742
|
+
onChange: je,
|
|
4743
|
+
initialValues: Ae,
|
|
4744
|
+
fileAnswers: X?.file_answers,
|
|
4745
|
+
isDark: U,
|
|
4746
|
+
apiClient: q,
|
|
4747
|
+
storage: J,
|
|
4562
4748
|
onError: e.onError,
|
|
4563
4749
|
onEvent: e.onEvent,
|
|
4564
|
-
showReviewFields:
|
|
4750
|
+
showReviewFields: G,
|
|
4565
4751
|
onBack: () => {
|
|
4566
|
-
|
|
4752
|
+
Y.current && clearTimeout(Y.current), E(null);
|
|
4567
4753
|
}
|
|
4568
4754
|
}) : /* @__PURE__ */ m("div", {
|
|
4569
4755
|
part: "page",
|
|
4570
|
-
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${
|
|
4756
|
+
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${U ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
|
|
4571
4757
|
children: [
|
|
4572
4758
|
/* @__PURE__ */ m("div", {
|
|
4573
4759
|
part: "header",
|
|
4574
4760
|
className: "relative overflow-hidden z-10 shrink-0 text-white",
|
|
4575
4761
|
style: {
|
|
4576
|
-
backgroundColor:
|
|
4577
|
-
background: `linear-gradient(135deg, ${
|
|
4762
|
+
backgroundColor: W,
|
|
4763
|
+
background: `linear-gradient(135deg, ${W} 0%, color-mix(in srgb, ${W} 76%, black) 100%)`
|
|
4578
4764
|
},
|
|
4579
4765
|
children: [
|
|
4580
4766
|
/* @__PURE__ */ p("div", {
|
|
@@ -4590,16 +4776,16 @@ var _t = (e) => {
|
|
|
4590
4776
|
"aria-hidden": "true",
|
|
4591
4777
|
className: "pointer-events-none absolute -top-24 -right-10 h-64 w-64 rounded-full bg-white/15 blur-3xl"
|
|
4592
4778
|
}),
|
|
4593
|
-
|
|
4779
|
+
Te && /* @__PURE__ */ m("div", {
|
|
4594
4780
|
className: "absolute inset-y-0 right-0 flex max-w-[65%] pointer-events-none select-none",
|
|
4595
4781
|
children: [/* @__PURE__ */ p("img", {
|
|
4596
|
-
src:
|
|
4782
|
+
src: Te,
|
|
4597
4783
|
alt: "",
|
|
4598
4784
|
"aria-hidden": "true",
|
|
4599
4785
|
className: "h-full w-auto object-cover object-right"
|
|
4600
4786
|
}), /* @__PURE__ */ p("div", {
|
|
4601
4787
|
className: "absolute inset-y-0 left-0 w-2/5",
|
|
4602
|
-
style: { background: `linear-gradient(to right, color-mix(in srgb, ${
|
|
4788
|
+
style: { background: `linear-gradient(to right, color-mix(in srgb, ${W} 80%, black) 0%, transparent 100%)` }
|
|
4603
4789
|
})]
|
|
4604
4790
|
}),
|
|
4605
4791
|
/* @__PURE__ */ m("div", {
|
|
@@ -4620,7 +4806,7 @@ var _t = (e) => {
|
|
|
4620
4806
|
part: "header-title",
|
|
4621
4807
|
className: "text-lg sm:text-2xl font-bold tracking-tight leading-tight break-words",
|
|
4622
4808
|
style: $,
|
|
4623
|
-
children:
|
|
4809
|
+
children: We
|
|
4624
4810
|
}), /* @__PURE__ */ m("span", {
|
|
4625
4811
|
className: "hidden sm:inline-flex shrink-0 items-center gap-1.5 text-[10px] font-semibold px-2 py-0.5 rounded-full bg-white/15 ring-1 ring-inset ring-white/25 uppercase tracking-wider",
|
|
4626
4812
|
children: [/* @__PURE__ */ p("span", { className: "h-1.5 w-1.5 rounded-full bg-emerald-300" }), "Official Portal"]
|
|
@@ -4628,7 +4814,7 @@ var _t = (e) => {
|
|
|
4628
4814
|
}), /* @__PURE__ */ p("p", {
|
|
4629
4815
|
part: "header-subtitle",
|
|
4630
4816
|
className: "text-xs sm:text-sm text-white/80 mt-0.5",
|
|
4631
|
-
children:
|
|
4817
|
+
children: G ? "Select a category below to submit your abstract" : t === "registration" ? "Select a registration type below to begin your application" : "Registration & Profile Management"
|
|
4632
4818
|
})]
|
|
4633
4819
|
})]
|
|
4634
4820
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -4647,18 +4833,18 @@ var _t = (e) => {
|
|
|
4647
4833
|
})
|
|
4648
4834
|
]
|
|
4649
4835
|
}),
|
|
4650
|
-
!
|
|
4836
|
+
!G && /* @__PURE__ */ p("div", {
|
|
4651
4837
|
part: "tabs",
|
|
4652
|
-
className: `shrink-0 border-b ${
|
|
4838
|
+
className: `shrink-0 border-b ${U ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
4653
4839
|
children: /* @__PURE__ */ p("div", {
|
|
4654
4840
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-3",
|
|
4655
4841
|
children: /* @__PURE__ */ p("div", {
|
|
4656
4842
|
role: "tablist",
|
|
4657
|
-
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${
|
|
4843
|
+
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${U ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4658
4844
|
children: [{
|
|
4659
4845
|
key: "registration",
|
|
4660
4846
|
label: "Registration Forms",
|
|
4661
|
-
Icon:
|
|
4847
|
+
Icon: pe
|
|
4662
4848
|
}, {
|
|
4663
4849
|
key: "attendee",
|
|
4664
4850
|
label: "Attendee Login",
|
|
@@ -4671,8 +4857,8 @@ var _t = (e) => {
|
|
|
4671
4857
|
"aria-selected": a,
|
|
4672
4858
|
type: "button",
|
|
4673
4859
|
onClick: () => n(e),
|
|
4674
|
-
className: `inline-flex items-center justify-center gap-1.5 sm:gap-2 py-2 px-2 sm:px-3 text-[13px] sm:text-sm font-semibold rounded-lg transition-all cursor-pointer ${a ?
|
|
4675
|
-
style: a ? { color:
|
|
4860
|
+
className: `inline-flex items-center justify-center gap-1.5 sm:gap-2 py-2 px-2 sm:px-3 text-[13px] sm:text-sm font-semibold rounded-lg transition-all cursor-pointer ${a ? U ? "bg-zinc-950 shadow-sm" : "bg-white shadow-sm ring-1 ring-slate-200/70" : U ? "text-zinc-400 hover:text-zinc-200" : "text-slate-500 hover:text-slate-800"}`,
|
|
4861
|
+
style: a ? { color: W } : void 0,
|
|
4676
4862
|
children: [/* @__PURE__ */ p(i, {
|
|
4677
4863
|
size: 15,
|
|
4678
4864
|
className: "hidden sm:block shrink-0"
|
|
@@ -4685,26 +4871,26 @@ var _t = (e) => {
|
|
|
4685
4871
|
})
|
|
4686
4872
|
})
|
|
4687
4873
|
}),
|
|
4688
|
-
(
|
|
4874
|
+
(G || t === "registration") && /* @__PURE__ */ p("div", {
|
|
4689
4875
|
part: "list",
|
|
4690
|
-
className: `${Z ? "w-full flex-1" : "overflow-y-auto flex-1 min-h-0 overscroll-contain"} relative ${
|
|
4876
|
+
className: `${Z ? "w-full flex-1" : "overflow-y-auto flex-1 min-h-0 overscroll-contain"} relative ${U ? "bg-zinc-950" : "bg-slate-50"}`,
|
|
4691
4877
|
style: Q,
|
|
4692
4878
|
children: /* @__PURE__ */ p("div", {
|
|
4693
4879
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-6 sm:py-8 space-y-5",
|
|
4694
|
-
children:
|
|
4880
|
+
children: G ? Ze() : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
4695
4881
|
part: "search",
|
|
4696
4882
|
className: "flex flex-col sm:flex-row sm:items-end sm:justify-between gap-3",
|
|
4697
4883
|
children: [/* @__PURE__ */ m("div", {
|
|
4698
4884
|
className: "min-w-0",
|
|
4699
4885
|
children: [/* @__PURE__ */ p("h3", {
|
|
4700
4886
|
part: "list-title",
|
|
4701
|
-
className: `text-base sm:text-lg font-semibold tracking-tight ${
|
|
4887
|
+
className: `text-base sm:text-lg font-semibold tracking-tight ${U ? "text-white" : "text-slate-900"}`,
|
|
4702
4888
|
style: $,
|
|
4703
|
-
children:
|
|
4889
|
+
children: G ? "Choose a submission category" : "Choose your registration type"
|
|
4704
4890
|
}), x.length > 0 && /* @__PURE__ */ p("p", {
|
|
4705
4891
|
part: "list-count",
|
|
4706
|
-
className: `text-xs mt-0.5 ${
|
|
4707
|
-
children:
|
|
4892
|
+
className: `text-xs mt-0.5 ${U ? "text-zinc-400" : "text-slate-500"}`,
|
|
4893
|
+
children: Ke ? `${Je.length} of ${x.length} options` : `${x.length} ${x.length === 1 ? "option" : "options"} available`
|
|
4708
4894
|
})]
|
|
4709
4895
|
}), /* @__PURE__ */ m("div", {
|
|
4710
4896
|
className: "relative w-full sm:w-72",
|
|
@@ -4712,41 +4898,41 @@ var _t = (e) => {
|
|
|
4712
4898
|
/* @__PURE__ */ p("input", {
|
|
4713
4899
|
part: "input search-input",
|
|
4714
4900
|
type: "text",
|
|
4715
|
-
value:
|
|
4716
|
-
onChange: (e) =>
|
|
4717
|
-
placeholder:
|
|
4901
|
+
value: j,
|
|
4902
|
+
onChange: (e) => M(e.target.value),
|
|
4903
|
+
placeholder: G ? "Search categories…" : "Search registration types…",
|
|
4718
4904
|
"aria-label": "Search",
|
|
4719
|
-
className: `w-full h-10 pl-9 pr-8 text-sm rounded-xl border transition-all focus:outline-none focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)] ${
|
|
4905
|
+
className: `w-full h-10 pl-9 pr-8 text-sm rounded-xl border transition-all focus:outline-none focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)] ${U ? "bg-zinc-900 border-zinc-700 text-white placeholder:text-zinc-500" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`
|
|
4720
4906
|
}),
|
|
4721
4907
|
/* @__PURE__ */ p("div", {
|
|
4722
|
-
className: `absolute inset-y-0 left-3 flex items-center pointer-events-none ${
|
|
4908
|
+
className: `absolute inset-y-0 left-3 flex items-center pointer-events-none ${U ? "text-zinc-500" : "text-slate-400"}`,
|
|
4723
4909
|
children: /* @__PURE__ */ p(Ge, {
|
|
4724
4910
|
size: 15,
|
|
4725
4911
|
className: "block"
|
|
4726
4912
|
})
|
|
4727
4913
|
}),
|
|
4728
|
-
|
|
4914
|
+
j && /* @__PURE__ */ p("button", {
|
|
4729
4915
|
type: "button",
|
|
4730
|
-
onClick: () =>
|
|
4916
|
+
onClick: () => M(""),
|
|
4731
4917
|
"aria-label": "Clear search",
|
|
4732
|
-
className: `absolute inset-y-0 right-2.5 flex items-center cursor-pointer ${
|
|
4918
|
+
className: `absolute inset-y-0 right-2.5 flex items-center cursor-pointer ${U ? "text-zinc-500 hover:text-zinc-300" : "text-slate-400 hover:text-slate-600"}`,
|
|
4733
4919
|
children: /* @__PURE__ */ p(st, { size: 14 })
|
|
4734
4920
|
})
|
|
4735
4921
|
]
|
|
4736
4922
|
})]
|
|
4737
|
-
}), x.length === 0 ? null :
|
|
4923
|
+
}), x.length === 0 ? null : Je.length === 0 ? /* @__PURE__ */ m("div", {
|
|
4738
4924
|
part: "empty-state",
|
|
4739
|
-
className: `flex flex-col items-center text-center py-16 px-6 rounded-3xl border border-dashed ${
|
|
4925
|
+
className: `flex flex-col items-center text-center py-16 px-6 rounded-3xl border border-dashed ${U ? "bg-zinc-900/60 border-zinc-800 text-zinc-400" : "bg-white/70 border-slate-300 text-slate-500"}`,
|
|
4740
4926
|
children: [
|
|
4741
4927
|
/* @__PURE__ */ p("div", {
|
|
4742
|
-
className: `w-12 h-12 rounded-2xl flex items-center justify-center mb-4 ${
|
|
4928
|
+
className: `w-12 h-12 rounded-2xl flex items-center justify-center mb-4 ${U ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4743
4929
|
children: /* @__PURE__ */ p(Ge, { size: 20 })
|
|
4744
4930
|
}),
|
|
4745
4931
|
/* @__PURE__ */ m("p", {
|
|
4746
|
-
className: `text-base font-semibold ${
|
|
4932
|
+
className: `text-base font-semibold ${U ? "text-white" : "text-slate-900"}`,
|
|
4747
4933
|
children: [
|
|
4748
4934
|
"No matches for “",
|
|
4749
|
-
|
|
4935
|
+
j.trim(),
|
|
4750
4936
|
"”"
|
|
4751
4937
|
]
|
|
4752
4938
|
}),
|
|
@@ -4756,16 +4942,16 @@ var _t = (e) => {
|
|
|
4756
4942
|
}),
|
|
4757
4943
|
/* @__PURE__ */ p("button", {
|
|
4758
4944
|
part: "button button-secondary",
|
|
4759
|
-
onClick: () =>
|
|
4760
|
-
className: `mt-5 px-4 py-2 rounded-full text-sm font-semibold border cursor-pointer transition-colors ${
|
|
4945
|
+
onClick: () => M(""),
|
|
4946
|
+
className: `mt-5 px-4 py-2 rounded-full text-sm font-semibold border cursor-pointer transition-colors ${U ? "border-zinc-700 text-zinc-200 hover:bg-zinc-800" : "border-slate-200 bg-white text-slate-700 hover:bg-slate-50"}`,
|
|
4761
4947
|
children: "Clear search"
|
|
4762
4948
|
})
|
|
4763
4949
|
]
|
|
4764
4950
|
}) : /* @__PURE__ */ p("div", {
|
|
4765
4951
|
part: "card-grid",
|
|
4766
4952
|
className: Z ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
|
|
4767
|
-
children:
|
|
4768
|
-
let t = e.type || e.name || e.label, n = e.price !== void 0 && e.price !== null && e.price !== "", r = n && (Number(e.price) === 0 || String(e.price).toLowerCase() === "free"), i = (Array.isArray(e.items) ? e.items : []).filter((e) => e?.name).map((t) => t.mode === "optional" && Number(t.price) > 0 ? `${t.name} (+ ${[e.currency, Number(t.price).toLocaleString()].filter(Boolean).join(" ")})` : t.name), a =
|
|
4953
|
+
children: Je.map((e) => {
|
|
4954
|
+
let t = e.type || e.name || e.label, n = e.price !== void 0 && e.price !== null && e.price !== "", r = n && (Number(e.price) === 0 || String(e.price).toLowerCase() === "free"), i = (Array.isArray(e.items) ? e.items : []).filter((e) => e?.name).map((t) => t.mode === "optional" && Number(t.price) > 0 ? `${t.name} (+ ${[e.currency, Number(t.price).toLocaleString()].filter(Boolean).join(" ")})` : t.name), a = G ? xe : Ye;
|
|
4769
4955
|
return /* @__PURE__ */ m("div", {
|
|
4770
4956
|
part: "card",
|
|
4771
4957
|
role: "button",
|
|
@@ -4775,44 +4961,44 @@ var _t = (e) => {
|
|
|
4775
4961
|
onKeyDown: (t) => {
|
|
4776
4962
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), E(e));
|
|
4777
4963
|
},
|
|
4778
|
-
className: `group relative flex flex-col rounded-2xl border p-5 sm:p-6 cursor-pointer transition-all duration-300 hover:-translate-y-1 outline-none focus-visible:ring-4 focus-visible:ring-[color-mix(in_srgb,var(--vx-accent)_25%,transparent)] hover:border-[color-mix(in_srgb,var(--vx-accent)_35%,transparent)] ${
|
|
4964
|
+
className: `group relative flex flex-col rounded-2xl border p-5 sm:p-6 cursor-pointer transition-all duration-300 hover:-translate-y-1 outline-none focus-visible:ring-4 focus-visible:ring-[color-mix(in_srgb,var(--vx-accent)_25%,transparent)] hover:border-[color-mix(in_srgb,var(--vx-accent)_35%,transparent)] ${U ? "bg-zinc-900 border-zinc-800 hover:shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04)] hover:shadow-[0_24px_48px_-24px_color-mix(in_srgb,var(--vx-accent)_45%,transparent)]"}`,
|
|
4779
4965
|
children: [
|
|
4780
4966
|
/* @__PURE__ */ p("span", {
|
|
4781
4967
|
"aria-hidden": "true",
|
|
4782
4968
|
className: "pointer-events-none absolute inset-x-8 top-0 h-[3px] rounded-b-full opacity-0 transition-opacity duration-300 group-hover:opacity-100",
|
|
4783
|
-
style: { background: `linear-gradient(90deg, transparent, ${
|
|
4969
|
+
style: { background: `linear-gradient(90deg, transparent, ${W}, transparent)` }
|
|
4784
4970
|
}),
|
|
4785
4971
|
/* @__PURE__ */ m("div", {
|
|
4786
4972
|
className: "flex items-start justify-between gap-3",
|
|
4787
4973
|
children: [/* @__PURE__ */ p("div", {
|
|
4788
4974
|
className: "w-11 h-11 rounded-xl flex items-center justify-center shrink-0 transition-transform duration-300 group-hover:scale-105",
|
|
4789
4975
|
style: {
|
|
4790
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4791
|
-
color:
|
|
4976
|
+
backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
|
|
4977
|
+
color: W
|
|
4792
4978
|
},
|
|
4793
4979
|
children: /* @__PURE__ */ p(a, { size: 20 })
|
|
4794
4980
|
}), (e.category || e.seats_left) && /* @__PURE__ */ m("div", {
|
|
4795
4981
|
className: "flex flex-wrap justify-end items-center gap-1.5",
|
|
4796
4982
|
children: [e.category && /* @__PURE__ */ p("span", {
|
|
4797
4983
|
part: "card-category",
|
|
4798
|
-
className: `text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full ${
|
|
4984
|
+
className: `text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full ${U ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
|
|
4799
4985
|
children: e.category
|
|
4800
4986
|
}), e.seats_left && /* @__PURE__ */ m("span", {
|
|
4801
4987
|
part: "card-seats",
|
|
4802
|
-
className: `text-[10px] font-semibold px-2.5 py-1 rounded-full flex items-center gap-1 ${
|
|
4803
|
-
children: [/* @__PURE__ */ p(
|
|
4988
|
+
className: `text-[10px] font-semibold px-2.5 py-1 rounded-full flex items-center gap-1 ${U ? "bg-amber-950/60 text-amber-300" : "bg-amber-50 text-amber-700"}`,
|
|
4989
|
+
children: [/* @__PURE__ */ p(me, { size: 10 }), /* @__PURE__ */ p("span", { children: e.seats_left })]
|
|
4804
4990
|
})]
|
|
4805
4991
|
})]
|
|
4806
4992
|
}),
|
|
4807
4993
|
/* @__PURE__ */ p("h3", {
|
|
4808
4994
|
part: "card-title",
|
|
4809
|
-
className: `mt-4 text-lg font-semibold leading-snug tracking-tight ${
|
|
4995
|
+
className: `mt-4 text-lg font-semibold leading-snug tracking-tight ${U ? "text-white" : "text-slate-900"}`,
|
|
4810
4996
|
style: $,
|
|
4811
4997
|
children: t
|
|
4812
4998
|
}),
|
|
4813
4999
|
e.description && /* @__PURE__ */ p("p", {
|
|
4814
5000
|
part: "card-description",
|
|
4815
|
-
className: `mt-1.5 text-sm leading-relaxed line-clamp-2 ${
|
|
5001
|
+
className: `mt-1.5 text-sm leading-relaxed line-clamp-2 ${U ? "text-zinc-400" : "text-slate-500"}`,
|
|
4816
5002
|
children: e.description
|
|
4817
5003
|
}),
|
|
4818
5004
|
i.length > 0 && /* @__PURE__ */ p("ul", {
|
|
@@ -4823,48 +5009,48 @@ var _t = (e) => {
|
|
|
4823
5009
|
children: [/* @__PURE__ */ p("span", {
|
|
4824
5010
|
className: "mt-0.5 w-4 h-4 rounded-full flex items-center justify-center shrink-0",
|
|
4825
5011
|
style: {
|
|
4826
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4827
|
-
color:
|
|
5012
|
+
backgroundColor: `color-mix(in srgb, ${W} 14%, transparent)`,
|
|
5013
|
+
color: W
|
|
4828
5014
|
},
|
|
4829
|
-
children: /* @__PURE__ */ p(
|
|
5015
|
+
children: /* @__PURE__ */ p(se, {
|
|
4830
5016
|
size: 10,
|
|
4831
5017
|
strokeWidth: 3
|
|
4832
5018
|
})
|
|
4833
5019
|
}), /* @__PURE__ */ p("span", {
|
|
4834
|
-
className:
|
|
5020
|
+
className: U ? "text-zinc-300" : "text-slate-600",
|
|
4835
5021
|
children: e
|
|
4836
5022
|
})]
|
|
4837
5023
|
}, t))
|
|
4838
5024
|
}),
|
|
4839
5025
|
/* @__PURE__ */ p("div", { className: "flex-1" }),
|
|
4840
5026
|
/* @__PURE__ */ m("div", {
|
|
4841
|
-
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${
|
|
5027
|
+
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${U ? "border-zinc-800" : "border-slate-200"}`,
|
|
4842
5028
|
children: [/* @__PURE__ */ p("div", {
|
|
4843
5029
|
className: "min-w-0",
|
|
4844
|
-
children: n && !
|
|
5030
|
+
children: n && !G ? /* @__PURE__ */ m(f, { children: [
|
|
4845
5031
|
/* @__PURE__ */ p("p", {
|
|
4846
|
-
className: `text-[10px] font-semibold uppercase tracking-wider ${
|
|
5032
|
+
className: `text-[10px] font-semibold uppercase tracking-wider ${U ? "text-zinc-500" : "text-slate-400"}`,
|
|
4847
5033
|
children: "Registration fee"
|
|
4848
5034
|
}),
|
|
4849
5035
|
/* @__PURE__ */ p("p", {
|
|
4850
5036
|
part: "card-price",
|
|
4851
5037
|
className: "text-2xl font-bold tracking-tight tabular-nums leading-tight",
|
|
4852
|
-
style: { color:
|
|
5038
|
+
style: { color: W },
|
|
4853
5039
|
children: r ? "Free" : [e.currency, Number(e.price).toLocaleString()].filter(Boolean).join(" ")
|
|
4854
5040
|
}),
|
|
4855
5041
|
e.tax_info && /* @__PURE__ */ p("p", {
|
|
4856
5042
|
part: "card-tax",
|
|
4857
|
-
className: `text-[11px] mt-0.5 ${
|
|
5043
|
+
className: `text-[11px] mt-0.5 ${U ? "text-zinc-500" : "text-slate-400"}`,
|
|
4858
5044
|
children: e.tax_info
|
|
4859
5045
|
})
|
|
4860
5046
|
] }) : null
|
|
4861
5047
|
}), /* @__PURE__ */ m("span", {
|
|
4862
5048
|
part: "button button-primary card-button",
|
|
4863
5049
|
className: "inline-flex shrink-0 items-center gap-2 h-10 pl-4 pr-1.5 rounded-full text-sm font-semibold text-white transition-shadow duration-300 group-hover:shadow-[0_8px_20px_-6px_color-mix(in_srgb,var(--vx-accent)_70%,transparent)]",
|
|
4864
|
-
style: { backgroundColor:
|
|
4865
|
-
children: [
|
|
5050
|
+
style: { backgroundColor: W },
|
|
5051
|
+
children: [G ? "Submit" : "Register", /* @__PURE__ */ p("span", {
|
|
4866
5052
|
className: "w-7 h-7 rounded-full bg-white/20 flex items-center justify-center transition-transform duration-300 group-hover:translate-x-0.5",
|
|
4867
|
-
children: /* @__PURE__ */ p(
|
|
5053
|
+
children: /* @__PURE__ */ p(re, { size: 14 })
|
|
4868
5054
|
})]
|
|
4869
5055
|
})]
|
|
4870
5056
|
})
|
|
@@ -4874,7 +5060,7 @@ var _t = (e) => {
|
|
|
4874
5060
|
})] })
|
|
4875
5061
|
})
|
|
4876
5062
|
}),
|
|
4877
|
-
!
|
|
5063
|
+
!G && (r || t === "attendee") && /* @__PURE__ */ p("div", {
|
|
4878
5064
|
part: "portal",
|
|
4879
5065
|
className: `${t === "attendee" ? "flex" : "hidden"} flex-col ${Z ? "w-full flex-1" : "flex-1 overflow-hidden min-h-0"}`,
|
|
4880
5066
|
style: {
|
|
@@ -4884,12 +5070,12 @@ var _t = (e) => {
|
|
|
4884
5070
|
onScroll: Z ? void 0 : (e) => {
|
|
4885
5071
|
e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0);
|
|
4886
5072
|
},
|
|
4887
|
-
children: /* @__PURE__ */ p(
|
|
4888
|
-
apiClient:
|
|
4889
|
-
storage:
|
|
4890
|
-
logger:
|
|
4891
|
-
primaryColor:
|
|
4892
|
-
isDark:
|
|
5073
|
+
children: /* @__PURE__ */ p(ht, {
|
|
5074
|
+
apiClient: q,
|
|
5075
|
+
storage: J,
|
|
5076
|
+
logger: K,
|
|
5077
|
+
primaryColor: W,
|
|
5078
|
+
isDark: U,
|
|
4893
5079
|
isWidgetPage: Z,
|
|
4894
5080
|
onEvent: e.onEvent,
|
|
4895
5081
|
onError: e.onError
|
|
@@ -4898,7 +5084,7 @@ var _t = (e) => {
|
|
|
4898
5084
|
]
|
|
4899
5085
|
})
|
|
4900
5086
|
});
|
|
4901
|
-
}, bt = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-indigo-400:oklch(67.3% .182 276.935);--color-fuchsia-100:oklch(95.2% .037 318.852);--color-fuchsia-200:oklch(90.3% .076 319.62);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-fuchsia-700:oklch(51.8% .253 323.949);--color-fuchsia-800:oklch(45.2% .211 324.591);--color-fuchsia-950:oklch(29.3% .136 325.661);--color-pink-100:oklch(94.8% .028 342.258);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--blur-md:12px;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-\\[10px\\]{inset:10px}.inset-x-8{inset-inline:calc(var(--spacing) * 8)}.inset-y-0{inset-block:0}.-top-1\\.5{top:calc(var(--spacing) * -1.5)}.-top-16{top:calc(var(--spacing) * -16)}.-top-24{top:calc(var(--spacing) * -24)}.top-0{top:0}.top-1\\/2{top:50%}.top-1\\/3{top:33.3333%}.top-4{top:calc(var(--spacing) * 4)}.top-5{top:calc(var(--spacing) * 5)}.top-18{top:calc(var(--spacing) * 18)}.-right-10{right:calc(var(--spacing) * -10)}.-right-16{right:calc(var(--spacing) * -16)}.right-0{right:0}.right-1\\/4{right:25%}.right-2\\.5{right:calc(var(--spacing) * 2.5)}.right-4{right:calc(var(--spacing) * 4)}.right-5{right:calc(var(--spacing) * 5)}.-bottom-10{bottom:calc(var(--spacing) * -10)}.bottom-5{bottom:calc(var(--spacing) * 5)}.-left-1\\.5{left:calc(var(--spacing) * -1.5)}.-left-20{left:calc(var(--spacing) * -20)}.left-0{left:0}.left-2\\.5{left:calc(var(--spacing) * 2.5)}.left-3{left:calc(var(--spacing) * 3)}.left-5{left:calc(var(--spacing) * 5)}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mx-auto{margin-inline:auto}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-1{margin-bottom:var(--spacing)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-0\\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:var(--spacing)}.ml-2{margin-left:calc(var(--spacing) * 2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-1{height:var(--spacing)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-64{height:calc(var(--spacing) * 64)}.h-72{height:calc(var(--spacing) * 72)}.h-80{height:calc(var(--spacing) * 80)}.h-\\[3px\\]{height:3px}.h-full{height:100%}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-96{max-height:calc(var(--spacing) * 96)}.min-h-0{min-height:0}.min-h-\\[70vh\\]{min-height:70vh}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-1\\/2{width:50%}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-2\\/5{width:40%}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:calc(var(--spacing) * 4)}.w-4\\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-11{width:calc(var(--spacing) * 11)}.w-12{width:calc(var(--spacing) * 12)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-\\[16rem\\]{max-width:16rem}.max-w-\\[60vw\\]{max-width:60vw}.max-w-\\[65\\%\\]{max-width:65%}.max-w-\\[400px\\]{max-width:400px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.translate-x-0\\.5{--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize-y{resize:vertical}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-100>:not(:last-child)){border-color:var(--color-slate-100)}:where(.divide-zinc-800>:not(:last-child)){border-color:var(--color-zinc-800)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-full{border-bottom-right-radius:2147483647px;border-bottom-left-radius:2147483647px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-emerald-700{border-color:var(--color-emerald-700)}.border-fuchsia-200{border-color:var(--color-fuchsia-200)}.border-fuchsia-500{border-color:var(--color-fuchsia-500)}.border-fuchsia-600{border-color:var(--color-fuchsia-600)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/80{border-color:#e5e7ebcc}@supports (color:color-mix(in lab, red, red)){.border-gray-200\\/80{border-color:color-mix(in oklab, var(--color-gray-200) 80%, transparent)}}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-900{border-color:var(--color-gray-900)}.border-pink-100{border-color:var(--color-pink-100)}.border-pink-100\\/90{border-color:#fce7f3e6}@supports (color:color-mix(in lab, red, red)){.border-pink-100\\/90{border-color:color-mix(in oklab, var(--color-pink-100) 90%, transparent)}}.border-red-200{border-color:var(--color-red-200)}.border-red-700{border-color:var(--color-red-700)}.border-red-900{border-color:var(--color-red-900)}.border-red-900\\/60{border-color:#82181a99}@supports (color:color-mix(in lab, red, red)){.border-red-900\\/60{border-color:color-mix(in oklab, var(--color-red-900) 60%, transparent)}}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-200\\/80{border-color:#e2e8f0cc}@supports (color:color-mix(in lab, red, red)){.border-slate-200\\/80{border-color:color-mix(in oklab, var(--color-slate-200) 80%, transparent)}}.border-slate-300{border-color:var(--color-slate-300)}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-zinc-600{border-color:var(--color-zinc-600)}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-800{border-color:var(--color-zinc-800)}.bg-\\[\\#fbf7f9\\]{background-color:#fbf7f9}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-950\\/60{background-color:#46190199}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\\/60{background-color:color-mix(in oklab, var(--color-amber-950) 60%, transparent)}}.bg-black{background-color:var(--color-black)}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-300{background-color:var(--color-emerald-300)}.bg-emerald-950\\/50{background-color:#002c2280}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/50{background-color:color-mix(in oklab, var(--color-emerald-950) 50%, transparent)}}.bg-emerald-950\\/60{background-color:#002c2299}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/60{background-color:color-mix(in oklab, var(--color-emerald-950) 60%, transparent)}}.bg-emerald-950\\/70{background-color:#002c22b3}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/70{background-color:color-mix(in oklab, var(--color-emerald-950) 70%, transparent)}}.bg-emerald-950\\/95{background-color:#002c22f2}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/95{background-color:color-mix(in oklab, var(--color-emerald-950) 95%, transparent)}}.bg-fuchsia-100{background-color:var(--color-fuchsia-100)}.bg-fuchsia-600{background-color:var(--color-fuchsia-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/80{background-color:#f9fafbcc}@supports (color:color-mix(in lab, red, red)){.bg-gray-50\\/80{background-color:color-mix(in oklab, var(--color-gray-50) 80%, transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\\/80{background-color:#fef2f2cc}@supports (color:color-mix(in lab, red, red)){.bg-red-50\\/80{background-color:color-mix(in oklab, var(--color-red-50) 80%, transparent)}}.bg-red-600{background-color:var(--color-red-600)}.bg-red-950\\/50{background-color:#46080980}@supports (color:color-mix(in lab, red, red)){.bg-red-950\\/50{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.bg-red-950\\/60{background-color:#46080999}@supports (color:color-mix(in lab, red, red)){.bg-red-950\\/60{background-color:color-mix(in oklab, var(--color-red-950) 60%, transparent)}}.bg-red-950\\/95{background-color:#460809f2}@supports (color:color-mix(in lab, red, red)){.bg-red-950\\/95{background-color:color-mix(in oklab, var(--color-red-950) 95%, transparent)}}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\\/70{background-color:#f8fafcb3}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\\/70{background-color:color-mix(in oklab, var(--color-slate-50) 70%, transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/15{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.bg-white\\/15{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.bg-white\\/20{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.bg-white\\/70{background-color:#ffffffb3}@supports (color:color-mix(in lab, red, red)){.bg-white\\/70{background-color:color-mix(in oklab, var(--color-white) 70%, transparent)}}.bg-white\\/85{background-color:#ffffffd9}@supports (color:color-mix(in lab, red, red)){.bg-white\\/85{background-color:color-mix(in oklab, var(--color-white) 85%, transparent)}}.bg-white\\/95{background-color:#fffffff2}@supports (color:color-mix(in lab, red, red)){.bg-white\\/95{background-color:color-mix(in oklab, var(--color-white) 95%, transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-800\\/60{background-color:#27272a99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-800\\/60{background-color:color-mix(in oklab, var(--color-zinc-800) 60%, transparent)}}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\\/60{background-color:#18181b99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/60{background-color:color-mix(in oklab, var(--color-zinc-900) 60%, transparent)}}.bg-zinc-900\\/85{background-color:#18181bd9}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/85{background-color:color-mix(in oklab, var(--color-zinc-900) 85%, transparent)}}.bg-zinc-900\\/90{background-color:#18181be6}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/90{background-color:color-mix(in oklab, var(--color-zinc-900) 90%, transparent)}}.bg-zinc-900\\/95{background-color:#18181bf2}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/95{background-color:color-mix(in oklab, var(--color-zinc-900) 95%, transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-zinc-950\\/40{background-color:#09090b66}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\\/40{background-color:color-mix(in oklab, var(--color-zinc-950) 40%, transparent)}}.bg-zinc-950\\/60{background-color:#09090b99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\\/60{background-color:color-mix(in oklab, var(--color-zinc-950) 60%, transparent)}}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-right{object-position:right}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3\\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:var(--spacing)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-1\\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2\\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-3\\.5{padding-right:calc(var(--spacing) * 3.5)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.pl-3\\.5{padding-left:calc(var(--spacing) * 3.5)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-9{padding-left:calc(var(--spacing) * 9)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12\\.5px\\]{font-size:12.5px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-amber-300{color:var(--color-amber-300)}.text-amber-500{color:var(--color-amber-500)}.text-amber-700{color:var(--color-amber-700)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-fuchsia-600{color:var(--color-fuchsia-600)}.text-fuchsia-700{color:var(--color-fuchsia-700)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-indigo-400{color:var(--color-indigo-400)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-white{color:var(--color-white)}.text-white\\/60{color:#fff9}@supports (color:color-mix(in lab, red, red)){.text-white\\/60{color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\\/80{color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-100{opacity:1}.opacity-\\[0\\.03\\]{opacity:.03}.opacity-\\[0\\.14\\]{opacity:.14}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xs{--tw-shadow:0 1px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\,0_12px_32px_-16px_rgba\\(15\\,23\\,42\\,0\\.12\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 12px 32px -16px var(--tw-shadow-color,#0f172a1f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\,0_24px_48px_-24px_rgba\\(15\\,23\\,42\\,0\\.16\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 24px 48px -24px var(--tw-shadow-color,#0f172a29);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\,0_24px_48px_-24px_rgba\\(15\\,23\\,42\\,0\\.18\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 24px 48px -24px var(--tw-shadow-color,#0f172a2e);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_24px_48px_-24px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_1px_0_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:inset 0 1px 0 var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-emerald-200\\/80{--tw-ring-color:#a4f4cfcc}@supports (color:color-mix(in lab, red, red)){.ring-emerald-200\\/80{--tw-ring-color:color-mix(in oklab, var(--color-emerald-200) 80%, transparent)}}.ring-emerald-900{--tw-ring-color:var(--color-emerald-900)}.ring-red-200\\/80{--tw-ring-color:#ffcacacc}@supports (color:color-mix(in lab, red, red)){.ring-red-200\\/80{--tw-ring-color:color-mix(in oklab, var(--color-red-200) 80%, transparent)}}.ring-red-900{--tw-ring-color:var(--color-red-900)}.ring-slate-200\\/70{--tw-ring-color:#e2e8f0b3}@supports (color:color-mix(in lab, red, red)){.ring-slate-200\\/70{--tw-ring-color:color-mix(in oklab, var(--color-slate-200) 70%, transparent)}}.ring-white\\/25{--tw-ring-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){.ring-white\\/25{--tw-ring-color:color-mix(in oklab, var(--color-white) 25%, transparent)}}.ring-white\\/30{--tw-ring-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.ring-white\\/30{--tw-ring-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.contrast-200{--tw-contrast:contrast(200%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:pointer-events-auto:is(:where(.group):hover *){pointer-events:auto}.group-hover\\:translate-x-0\\.5:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-hover\\:scale-100:is(:where(.group):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:shadow-\\[0_8px_20px_-6px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_70\\%\\,transparent\\)\\]:is(:where(.group):hover *){--tw-shadow:0 8px 20px -6px var(--tw-shadow-color,var(--vx-accent))}@supports (color:color-mix(in lab, red, red)){.group-hover\\:shadow-\\[0_8px_20px_-6px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_70\\%\\,transparent\\)\\]:is(:where(.group):hover *){--tw-shadow:0 8px 20px -6px var(--tw-shadow-color,color-mix(in srgb,var(--vx-accent) 70%,transparent))}}.group-hover\\:shadow-\\[0_8px_20px_-6px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_70\\%\\,transparent\\)\\]:is(:where(.group):hover *){box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.placeholder\\:text-slate-400::placeholder{color:var(--color-slate-400)}.placeholder\\:text-zinc-500::placeholder{color:var(--color-zinc-500)}@media (hover:hover){.hover\\:-translate-y-1:hover{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_35\\%\\,transparent\\)\\]:hover{border-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_35\\%\\,transparent\\)\\]:hover{border-color:color-mix(in srgb,var(--vx-accent) 35%,transparent)}}.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{border-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{border-color:color-mix(in srgb,var(--vx-accent) 45%,transparent)}}.hover\\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:border-red-200:hover{border-color:var(--color-red-200)}.hover\\:border-slate-300:hover{border-color:var(--color-slate-300)}.hover\\:border-zinc-600:hover{border-color:var(--color-zinc-600)}.hover\\:border-zinc-700:hover{border-color:var(--color-zinc-700)}.hover\\:bg-black:hover{background-color:var(--color-black)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\\:bg-red-900\\/60:hover{background-color:#82181a99}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-red-900\\/60:hover{background-color:color-mix(in oklab, var(--color-red-900) 60%, transparent)}}.hover\\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\\:bg-white\\/50:hover{background-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/50:hover{background-color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab, var(--color-zinc-800) 60%, transparent)}}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-red-300:hover{color:var(--color-red-300)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-500:hover{color:var(--color-red-500)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-600:hover{color:var(--color-slate-600)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}.hover\\:text-slate-900:hover{color:var(--color-slate-900)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:text-zinc-200:hover{color:var(--color-zinc-200)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_24px_48px_-24px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,var(--vx-accent))}@supports (color:color-mix(in lab, red, red)){.hover\\:shadow-\\[0_24px_48px_-24px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,color-mix(in srgb,var(--vx-accent) 45%,transparent))}}.hover\\:shadow-\\[0_24px_48px_-24px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-\\[0_24px_48px_-24px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]:hover{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\\:border-\\(--vx-accent\\):focus{border-color:var(--vx-accent)}.focus\\:ring-4:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_15\\%\\,transparent\\)\\]:focus{--tw-ring-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_15\\%\\,transparent\\)\\]:focus{--tw-ring-color:color-mix(in srgb,var(--vx-accent) 15%,transparent)}}.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_20\\%\\,transparent\\)\\]:focus{--tw-ring-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_20\\%\\,transparent\\)\\]:focus{--tw-ring-color:color-mix(in srgb,var(--vx-accent) 20%,transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:bg-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_8\\%\\,transparent\\)\\]:focus-visible{background-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:bg-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_8\\%\\,transparent\\)\\]:focus-visible{background-color:color-mix(in srgb,var(--vx-accent) 8%,transparent)}}.focus-visible\\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_25\\%\\,transparent\\)\\]:focus-visible{--tw-ring-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_25\\%\\,transparent\\)\\]:focus-visible{--tw-ring-color:color-mix(in srgb,var(--vx-accent) 25%,transparent)}}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-\\[0\\.99\\]:active{scale:.99}.active\\:cursor-grabbing:active{cursor:grabbing}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.disabled\\:opacity-70:disabled{opacity:.7}@media (hover:hover){.disabled\\:hover\\:brightness-100:disabled:hover{--tw-brightness:brightness(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@media (prefers-reduced-motion:no-preference){.motion-safe\\:animate-spin{animation:var(--animate-spin)}}@media (width>=40rem){.sm\\:block{display:block}.sm\\:inline{display:inline}.sm\\:inline-block{display:inline-block}.sm\\:inline-flex{display:inline-flex}.sm\\:h-14{height:calc(var(--spacing) * 14)}.sm\\:w-14{width:calc(var(--spacing) * 14)}.sm\\:w-72{width:calc(var(--spacing) * 72)}.sm\\:w-auto{width:auto}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:items-end{align-items:flex-end}.sm\\:justify-between{justify-content:space-between}.sm\\:gap-2{gap:calc(var(--spacing) * 2)}.sm\\:gap-4{gap:calc(var(--spacing) * 4)}.sm\\:p-5{padding:calc(var(--spacing) * 5)}.sm\\:p-6{padding:calc(var(--spacing) * 6)}.sm\\:p-7{padding:calc(var(--spacing) * 7)}.sm\\:px-3{padding-inline:calc(var(--spacing) * 3)}.sm\\:px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.sm\\:px-6{padding-inline:calc(var(--spacing) * 6)}.sm\\:px-7{padding-inline:calc(var(--spacing) * 7)}.sm\\:px-8{padding-inline:calc(var(--spacing) * 8)}.sm\\:py-6{padding-block:calc(var(--spacing) * 6)}.sm\\:py-8{padding-block:calc(var(--spacing) * 8)}.sm\\:py-10{padding-block:calc(var(--spacing) * 10)}.sm\\:pt-6{padding-top:calc(var(--spacing) * 6)}.sm\\:pt-7{padding-top:calc(var(--spacing) * 7)}.sm\\:pb-6{padding-bottom:calc(var(--spacing) * 6)}.sm\\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.sm\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}@media (width>=48rem){.md\\:block{display:block}.md\\:w-1\\/2{width:50%}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-color-scheme:dark){.dark\\:border-fuchsia-800{border-color:var(--color-fuchsia-800)}.dark\\:border-zinc-700{border-color:var(--color-zinc-700)}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:bg-fuchsia-950\\/80{background-color:#4b004fcc}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-fuchsia-950\\/80{background-color:color-mix(in oklab, var(--color-fuchsia-950) 80%, transparent)}}.dark\\:bg-white{background-color:var(--color-white)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-900{background-color:var(--color-zinc-900)}.dark\\:text-fuchsia-300{color:var(--color-fuchsia-300)}.dark\\:text-gray-900{color:var(--color-gray-900)}.dark\\:text-white{color:var(--color-white)}.dark\\:text-zinc-200{color:var(--color-zinc-200)}.dark\\:text-zinc-300{color:var(--color-zinc-300)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}@media (hover:hover){.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-900\\/50:hover{background-color:#18181b80}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-zinc-900\\/50:hover{background-color:color-mix(in oklab, var(--color-zinc-900) 50%, transparent)}}.dark\\:hover\\:text-white:hover{color:var(--color-white)}}}}:host{all:initial;font-family:inherit}.vx-skeleton{background-image:linear-gradient(90deg,currentColor 0% 50%,currentColor 100%)}@supports (color:color-mix(in lab, red, red)){.vx-skeleton{background-image:linear-gradient(90deg, color-mix(in srgb, currentColor 7%, transparent) 0%, color-mix(in srgb, currentColor 14%, transparent) 50%, color-mix(in srgb, currentColor 7%, transparent) 100%)}}.vx-skeleton{background-size:200% 100%;animation:1.4s ease-in-out infinite vx-skeleton-sweep}@keyframes vx-skeleton-sweep{0%{background-position:100% 0}to{background-position:-100% 0}}.vx-progress-bar{animation:1.3s ease-in-out infinite vx-progress-slide}@keyframes vx-progress-slide{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion:reduce){.vx-skeleton,.vx-progress-bar{animation:none}}@supports (appearance:base-select){select[part~=select]{appearance:base-select}select[part~=select]::picker(select){appearance:base-select}select[part~=select]::picker-icon{display:none}select[part~=select]::picker(select){border:1px solid;margin-block:6px;padding:6px}@supports (color:color-mix(in lab, red, red)){select[part~=select]::picker(select){border:1px solid color-mix(in srgb, currentColor 12%, transparent)}}select[part~=select]::picker(select){background-color:inherit;color:inherit;opacity:0;max-height:min(320px,60vh);transition:opacity .15s ease, translate .15s ease, display .15s allow-discrete, overlay .15s allow-discrete;border-radius:14px;translate:0 -4px;box-shadow:0 18px 40px -12px #0f172a38,0 4px 12px -4px #0f172a14}select[part~=select]:open::picker(select){opacity:1;translate:0}@starting-style{select[part~=select]:open::picker(select){opacity:0;translate:0 -4px}}select[part~=select] option{color:inherit;cursor:pointer;background-color:#0000;border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:14px;font-weight:500;display:flex}select[part~=select] option:hover,select[part~=select] option:focus-visible{background-color:var(--vx-accent,#2563eb)}@supports (color:color-mix(in lab, red, red)){select[part~=select] option:hover,select[part~=select] option:focus-visible{background-color:color-mix(in srgb, var(--vx-accent,#2563eb) 8%, transparent)}}select[part~=select] option:hover,select[part~=select] option:focus-visible{outline:none}select[part~=select] option:checked{background-color:var(--vx-accent,#2563eb)}@supports (color:color-mix(in lab, red, red)){select[part~=select] option:checked{background-color:color-mix(in srgb, var(--vx-accent,#2563eb) 12%, transparent)}}select[part~=select] option:checked{color:var(--vx-accent,#2563eb);font-weight:600}select[part~=select] option::checkmark{color:var(--vx-accent,#2563eb);order:1;margin-inline-start:auto}select[part~=select] option[value=\"\"],select[part~=select] option[value=\"\"]:checked{color:currentColor;background-color:#0000}@supports (color:color-mix(in lab, red, red)){select[part~=select] option[value=\"\"],select[part~=select] option[value=\"\"]:checked{color:color-mix(in srgb, currentColor 55%, transparent)}}select[part~=select] option[value=\"\"],select[part~=select] option[value=\"\"]:checked{font-weight:500}select[part~=select] option[value=\"\"]::checkmark{display:none}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}", xt = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif", St = ({ children: e, useShadow: t = !0, inheritFont: n = !1 }) => {
|
|
5087
|
+
}, xt = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-indigo-400:oklch(67.3% .182 276.935);--color-fuchsia-100:oklch(95.2% .037 318.852);--color-fuchsia-200:oklch(90.3% .076 319.62);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-fuchsia-700:oklch(51.8% .253 323.949);--color-fuchsia-800:oklch(45.2% .211 324.591);--color-fuchsia-950:oklch(29.3% .136 325.661);--color-pink-100:oklch(94.8% .028 342.258);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--blur-md:12px;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-\\[10px\\]{inset:10px}.inset-x-8{inset-inline:calc(var(--spacing) * 8)}.inset-y-0{inset-block:0}.-top-1\\.5{top:calc(var(--spacing) * -1.5)}.-top-16{top:calc(var(--spacing) * -16)}.-top-24{top:calc(var(--spacing) * -24)}.top-0{top:0}.top-1\\/2{top:50%}.top-1\\/3{top:33.3333%}.top-4{top:calc(var(--spacing) * 4)}.top-5{top:calc(var(--spacing) * 5)}.top-18{top:calc(var(--spacing) * 18)}.-right-10{right:calc(var(--spacing) * -10)}.-right-16{right:calc(var(--spacing) * -16)}.right-0{right:0}.right-1\\/4{right:25%}.right-2\\.5{right:calc(var(--spacing) * 2.5)}.right-4{right:calc(var(--spacing) * 4)}.right-5{right:calc(var(--spacing) * 5)}.-bottom-10{bottom:calc(var(--spacing) * -10)}.bottom-5{bottom:calc(var(--spacing) * 5)}.-left-1\\.5{left:calc(var(--spacing) * -1.5)}.-left-20{left:calc(var(--spacing) * -20)}.left-0{left:0}.left-2\\.5{left:calc(var(--spacing) * 2.5)}.left-3{left:calc(var(--spacing) * 3)}.left-5{left:calc(var(--spacing) * 5)}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mx-auto{margin-inline:auto}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-1{margin-bottom:var(--spacing)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-0\\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:var(--spacing)}.ml-2{margin-left:calc(var(--spacing) * 2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-1{height:var(--spacing)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-64{height:calc(var(--spacing) * 64)}.h-72{height:calc(var(--spacing) * 72)}.h-80{height:calc(var(--spacing) * 80)}.h-\\[3px\\]{height:3px}.h-full{height:100%}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-96{max-height:calc(var(--spacing) * 96)}.min-h-0{min-height:0}.min-h-\\[70vh\\]{min-height:70vh}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-1\\/2{width:50%}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-2\\/5{width:40%}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:calc(var(--spacing) * 4)}.w-4\\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-11{width:calc(var(--spacing) * 11)}.w-12{width:calc(var(--spacing) * 12)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-\\[16rem\\]{max-width:16rem}.max-w-\\[60vw\\]{max-width:60vw}.max-w-\\[65\\%\\]{max-width:65%}.max-w-\\[400px\\]{max-width:400px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.translate-x-0\\.5{--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize-y{resize:vertical}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-100>:not(:last-child)){border-color:var(--color-slate-100)}:where(.divide-zinc-800>:not(:last-child)){border-color:var(--color-zinc-800)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-full{border-bottom-right-radius:2147483647px;border-bottom-left-radius:2147483647px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-emerald-700{border-color:var(--color-emerald-700)}.border-fuchsia-200{border-color:var(--color-fuchsia-200)}.border-fuchsia-500{border-color:var(--color-fuchsia-500)}.border-fuchsia-600{border-color:var(--color-fuchsia-600)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/80{border-color:#e5e7ebcc}@supports (color:color-mix(in lab, red, red)){.border-gray-200\\/80{border-color:color-mix(in oklab, var(--color-gray-200) 80%, transparent)}}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-900{border-color:var(--color-gray-900)}.border-pink-100{border-color:var(--color-pink-100)}.border-pink-100\\/90{border-color:#fce7f3e6}@supports (color:color-mix(in lab, red, red)){.border-pink-100\\/90{border-color:color-mix(in oklab, var(--color-pink-100) 90%, transparent)}}.border-red-200{border-color:var(--color-red-200)}.border-red-700{border-color:var(--color-red-700)}.border-red-900{border-color:var(--color-red-900)}.border-red-900\\/60{border-color:#82181a99}@supports (color:color-mix(in lab, red, red)){.border-red-900\\/60{border-color:color-mix(in oklab, var(--color-red-900) 60%, transparent)}}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-200\\/80{border-color:#e2e8f0cc}@supports (color:color-mix(in lab, red, red)){.border-slate-200\\/80{border-color:color-mix(in oklab, var(--color-slate-200) 80%, transparent)}}.border-slate-300{border-color:var(--color-slate-300)}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-zinc-600{border-color:var(--color-zinc-600)}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-800{border-color:var(--color-zinc-800)}.bg-\\[\\#fbf7f9\\]{background-color:#fbf7f9}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-950\\/60{background-color:#46190199}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\\/60{background-color:color-mix(in oklab, var(--color-amber-950) 60%, transparent)}}.bg-black{background-color:var(--color-black)}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-300{background-color:var(--color-emerald-300)}.bg-emerald-950\\/50{background-color:#002c2280}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/50{background-color:color-mix(in oklab, var(--color-emerald-950) 50%, transparent)}}.bg-emerald-950\\/60{background-color:#002c2299}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/60{background-color:color-mix(in oklab, var(--color-emerald-950) 60%, transparent)}}.bg-emerald-950\\/70{background-color:#002c22b3}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/70{background-color:color-mix(in oklab, var(--color-emerald-950) 70%, transparent)}}.bg-emerald-950\\/95{background-color:#002c22f2}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\\/95{background-color:color-mix(in oklab, var(--color-emerald-950) 95%, transparent)}}.bg-fuchsia-100{background-color:var(--color-fuchsia-100)}.bg-fuchsia-600{background-color:var(--color-fuchsia-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/80{background-color:#f9fafbcc}@supports (color:color-mix(in lab, red, red)){.bg-gray-50\\/80{background-color:color-mix(in oklab, var(--color-gray-50) 80%, transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\\/80{background-color:#fef2f2cc}@supports (color:color-mix(in lab, red, red)){.bg-red-50\\/80{background-color:color-mix(in oklab, var(--color-red-50) 80%, transparent)}}.bg-red-600{background-color:var(--color-red-600)}.bg-red-950\\/50{background-color:#46080980}@supports (color:color-mix(in lab, red, red)){.bg-red-950\\/50{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.bg-red-950\\/60{background-color:#46080999}@supports (color:color-mix(in lab, red, red)){.bg-red-950\\/60{background-color:color-mix(in oklab, var(--color-red-950) 60%, transparent)}}.bg-red-950\\/95{background-color:#460809f2}@supports (color:color-mix(in lab, red, red)){.bg-red-950\\/95{background-color:color-mix(in oklab, var(--color-red-950) 95%, transparent)}}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\\/70{background-color:#f8fafcb3}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\\/70{background-color:color-mix(in oklab, var(--color-slate-50) 70%, transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/15{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.bg-white\\/15{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.bg-white\\/20{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.bg-white\\/70{background-color:#ffffffb3}@supports (color:color-mix(in lab, red, red)){.bg-white\\/70{background-color:color-mix(in oklab, var(--color-white) 70%, transparent)}}.bg-white\\/85{background-color:#ffffffd9}@supports (color:color-mix(in lab, red, red)){.bg-white\\/85{background-color:color-mix(in oklab, var(--color-white) 85%, transparent)}}.bg-white\\/95{background-color:#fffffff2}@supports (color:color-mix(in lab, red, red)){.bg-white\\/95{background-color:color-mix(in oklab, var(--color-white) 95%, transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-800\\/60{background-color:#27272a99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-800\\/60{background-color:color-mix(in oklab, var(--color-zinc-800) 60%, transparent)}}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\\/60{background-color:#18181b99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/60{background-color:color-mix(in oklab, var(--color-zinc-900) 60%, transparent)}}.bg-zinc-900\\/85{background-color:#18181bd9}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/85{background-color:color-mix(in oklab, var(--color-zinc-900) 85%, transparent)}}.bg-zinc-900\\/90{background-color:#18181be6}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/90{background-color:color-mix(in oklab, var(--color-zinc-900) 90%, transparent)}}.bg-zinc-900\\/95{background-color:#18181bf2}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\\/95{background-color:color-mix(in oklab, var(--color-zinc-900) 95%, transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-zinc-950\\/40{background-color:#09090b66}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\\/40{background-color:color-mix(in oklab, var(--color-zinc-950) 40%, transparent)}}.bg-zinc-950\\/60{background-color:#09090b99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\\/60{background-color:color-mix(in oklab, var(--color-zinc-950) 60%, transparent)}}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-right{object-position:right}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3\\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:var(--spacing)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-1\\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2\\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-3\\.5{padding-right:calc(var(--spacing) * 3.5)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.pl-3\\.5{padding-left:calc(var(--spacing) * 3.5)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-9{padding-left:calc(var(--spacing) * 9)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12\\.5px\\]{font-size:12.5px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-300{color:var(--color-amber-300)}.text-amber-500{color:var(--color-amber-500)}.text-amber-700{color:var(--color-amber-700)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-fuchsia-600{color:var(--color-fuchsia-600)}.text-fuchsia-700{color:var(--color-fuchsia-700)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-indigo-400{color:var(--color-indigo-400)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-white{color:var(--color-white)}.text-white\\/60{color:#fff9}@supports (color:color-mix(in lab, red, red)){.text-white\\/60{color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\\/80{color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-100{opacity:1}.opacity-\\[0\\.03\\]{opacity:.03}.opacity-\\[0\\.14\\]{opacity:.14}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xs{--tw-shadow:0 1px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\,0_12px_32px_-16px_rgba\\(15\\,23\\,42\\,0\\.12\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 12px 32px -16px var(--tw-shadow-color,#0f172a1f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\,0_24px_48px_-24px_rgba\\(15\\,23\\,42\\,0\\.16\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 24px 48px -24px var(--tw-shadow-color,#0f172a29);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\,0_24px_48px_-24px_rgba\\(15\\,23\\,42\\,0\\.18\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 24px 48px -24px var(--tw-shadow-color,#0f172a2e);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_2px_rgba\\(15\\,23\\,42\\,0\\.04\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_24px_48px_-24px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_1px_0_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:inset 0 1px 0 var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-emerald-200\\/80{--tw-ring-color:#a4f4cfcc}@supports (color:color-mix(in lab, red, red)){.ring-emerald-200\\/80{--tw-ring-color:color-mix(in oklab, var(--color-emerald-200) 80%, transparent)}}.ring-emerald-900{--tw-ring-color:var(--color-emerald-900)}.ring-red-200\\/80{--tw-ring-color:#ffcacacc}@supports (color:color-mix(in lab, red, red)){.ring-red-200\\/80{--tw-ring-color:color-mix(in oklab, var(--color-red-200) 80%, transparent)}}.ring-red-900{--tw-ring-color:var(--color-red-900)}.ring-slate-200\\/70{--tw-ring-color:#e2e8f0b3}@supports (color:color-mix(in lab, red, red)){.ring-slate-200\\/70{--tw-ring-color:color-mix(in oklab, var(--color-slate-200) 70%, transparent)}}.ring-white\\/25{--tw-ring-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){.ring-white\\/25{--tw-ring-color:color-mix(in oklab, var(--color-white) 25%, transparent)}}.ring-white\\/30{--tw-ring-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.ring-white\\/30{--tw-ring-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.contrast-200{--tw-contrast:contrast(200%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:pointer-events-auto:is(:where(.group):hover *){pointer-events:auto}.group-hover\\:translate-x-0\\.5:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-hover\\:scale-100:is(:where(.group):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:shadow-\\[0_8px_20px_-6px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_70\\%\\,transparent\\)\\]:is(:where(.group):hover *){--tw-shadow:0 8px 20px -6px var(--tw-shadow-color,var(--vx-accent))}@supports (color:color-mix(in lab, red, red)){.group-hover\\:shadow-\\[0_8px_20px_-6px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_70\\%\\,transparent\\)\\]:is(:where(.group):hover *){--tw-shadow:0 8px 20px -6px var(--tw-shadow-color,color-mix(in srgb,var(--vx-accent) 70%,transparent))}}.group-hover\\:shadow-\\[0_8px_20px_-6px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_70\\%\\,transparent\\)\\]:is(:where(.group):hover *){box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.placeholder\\:text-slate-400::placeholder{color:var(--color-slate-400)}.placeholder\\:text-zinc-500::placeholder{color:var(--color-zinc-500)}@media (hover:hover){.hover\\:-translate-y-1:hover{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_35\\%\\,transparent\\)\\]:hover{border-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_35\\%\\,transparent\\)\\]:hover{border-color:color-mix(in srgb,var(--vx-accent) 35%,transparent)}}.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{border-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:border-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{border-color:color-mix(in srgb,var(--vx-accent) 45%,transparent)}}.hover\\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:border-red-200:hover{border-color:var(--color-red-200)}.hover\\:border-slate-300:hover{border-color:var(--color-slate-300)}.hover\\:border-zinc-600:hover{border-color:var(--color-zinc-600)}.hover\\:border-zinc-700:hover{border-color:var(--color-zinc-700)}.hover\\:bg-black:hover{background-color:var(--color-black)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\\:bg-red-900\\/60:hover{background-color:#82181a99}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-red-900\\/60:hover{background-color:color-mix(in oklab, var(--color-red-900) 60%, transparent)}}.hover\\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\\:bg-white\\/50:hover{background-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/50:hover{background-color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab, var(--color-zinc-800) 60%, transparent)}}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-red-300:hover{color:var(--color-red-300)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-500:hover{color:var(--color-red-500)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-600:hover{color:var(--color-slate-600)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}.hover\\:text-slate-900:hover{color:var(--color-slate-900)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:text-zinc-200:hover{color:var(--color-zinc-200)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_24px_48px_-24px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,var(--vx-accent))}@supports (color:color-mix(in lab, red, red)){.hover\\:shadow-\\[0_24px_48px_-24px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,color-mix(in srgb,var(--vx-accent) 45%,transparent))}}.hover\\:shadow-\\[0_24px_48px_-24px_color-mix\\(in_srgb\\,var\\(--vx-accent\\)_45\\%\\,transparent\\)\\]:hover{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-\\[0_24px_48px_-24px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]:hover{--tw-shadow:0 24px 48px -24px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\\:border-\\(--vx-accent\\):focus{border-color:var(--vx-accent)}.focus\\:ring-4:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_15\\%\\,transparent\\)\\]:focus{--tw-ring-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_15\\%\\,transparent\\)\\]:focus{--tw-ring-color:color-mix(in srgb,var(--vx-accent) 15%,transparent)}}.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_20\\%\\,transparent\\)\\]:focus{--tw-ring-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_20\\%\\,transparent\\)\\]:focus{--tw-ring-color:color-mix(in srgb,var(--vx-accent) 20%,transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:bg-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_8\\%\\,transparent\\)\\]:focus-visible{background-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:bg-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_8\\%\\,transparent\\)\\]:focus-visible{background-color:color-mix(in srgb,var(--vx-accent) 8%,transparent)}}.focus-visible\\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_25\\%\\,transparent\\)\\]:focus-visible{--tw-ring-color:var(--vx-accent)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-\\[color-mix\\(in_srgb\\,var\\(--vx-accent\\)_25\\%\\,transparent\\)\\]:focus-visible{--tw-ring-color:color-mix(in srgb,var(--vx-accent) 25%,transparent)}}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-\\[0\\.99\\]:active{scale:.99}.active\\:cursor-grabbing:active{cursor:grabbing}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.disabled\\:opacity-70:disabled{opacity:.7}@media (hover:hover){.disabled\\:hover\\:brightness-100:disabled:hover{--tw-brightness:brightness(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@media (prefers-reduced-motion:no-preference){.motion-safe\\:animate-spin{animation:var(--animate-spin)}}@media (width>=40rem){.sm\\:block{display:block}.sm\\:inline{display:inline}.sm\\:inline-block{display:inline-block}.sm\\:inline-flex{display:inline-flex}.sm\\:h-14{height:calc(var(--spacing) * 14)}.sm\\:w-14{width:calc(var(--spacing) * 14)}.sm\\:w-72{width:calc(var(--spacing) * 72)}.sm\\:w-auto{width:auto}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:items-end{align-items:flex-end}.sm\\:justify-between{justify-content:space-between}.sm\\:gap-2{gap:calc(var(--spacing) * 2)}.sm\\:gap-4{gap:calc(var(--spacing) * 4)}.sm\\:p-5{padding:calc(var(--spacing) * 5)}.sm\\:p-6{padding:calc(var(--spacing) * 6)}.sm\\:p-7{padding:calc(var(--spacing) * 7)}.sm\\:px-3{padding-inline:calc(var(--spacing) * 3)}.sm\\:px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.sm\\:px-6{padding-inline:calc(var(--spacing) * 6)}.sm\\:px-7{padding-inline:calc(var(--spacing) * 7)}.sm\\:px-8{padding-inline:calc(var(--spacing) * 8)}.sm\\:py-6{padding-block:calc(var(--spacing) * 6)}.sm\\:py-8{padding-block:calc(var(--spacing) * 8)}.sm\\:py-10{padding-block:calc(var(--spacing) * 10)}.sm\\:pt-6{padding-top:calc(var(--spacing) * 6)}.sm\\:pt-7{padding-top:calc(var(--spacing) * 7)}.sm\\:pb-6{padding-bottom:calc(var(--spacing) * 6)}.sm\\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.sm\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}@media (width>=48rem){.md\\:block{display:block}.md\\:w-1\\/2{width:50%}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-color-scheme:dark){.dark\\:border-fuchsia-800{border-color:var(--color-fuchsia-800)}.dark\\:border-zinc-700{border-color:var(--color-zinc-700)}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:bg-fuchsia-950\\/80{background-color:#4b004fcc}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-fuchsia-950\\/80{background-color:color-mix(in oklab, var(--color-fuchsia-950) 80%, transparent)}}.dark\\:bg-white{background-color:var(--color-white)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-900{background-color:var(--color-zinc-900)}.dark\\:text-fuchsia-300{color:var(--color-fuchsia-300)}.dark\\:text-gray-900{color:var(--color-gray-900)}.dark\\:text-white{color:var(--color-white)}.dark\\:text-zinc-200{color:var(--color-zinc-200)}.dark\\:text-zinc-300{color:var(--color-zinc-300)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}@media (hover:hover){.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-900\\/50:hover{background-color:#18181b80}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-zinc-900\\/50:hover{background-color:color-mix(in oklab, var(--color-zinc-900) 50%, transparent)}}.dark\\:hover\\:text-white:hover{color:var(--color-white)}}}}:host{all:initial;font-family:inherit}.vx-skeleton{background-image:linear-gradient(90deg,currentColor 0% 50%,currentColor 100%)}@supports (color:color-mix(in lab, red, red)){.vx-skeleton{background-image:linear-gradient(90deg, color-mix(in srgb, currentColor 7%, transparent) 0%, color-mix(in srgb, currentColor 14%, transparent) 50%, color-mix(in srgb, currentColor 7%, transparent) 100%)}}.vx-skeleton{background-size:200% 100%;animation:1.4s ease-in-out infinite vx-skeleton-sweep}@keyframes vx-skeleton-sweep{0%{background-position:100% 0}to{background-position:-100% 0}}.vx-progress-bar{animation:1.3s ease-in-out infinite vx-progress-slide}@keyframes vx-progress-slide{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion:reduce){.vx-skeleton,.vx-progress-bar{animation:none}}@supports (appearance:base-select){select[part~=select]{appearance:base-select}select[part~=select]::picker(select){appearance:base-select}select[part~=select]::picker-icon{display:none}select[part~=select]::picker(select){border:1px solid;margin-block:6px;padding:6px}@supports (color:color-mix(in lab, red, red)){select[part~=select]::picker(select){border:1px solid color-mix(in srgb, currentColor 12%, transparent)}}select[part~=select]::picker(select){background-color:inherit;color:inherit;opacity:0;max-height:min(320px,60vh);transition:opacity .15s ease, translate .15s ease, display .15s allow-discrete, overlay .15s allow-discrete;border-radius:14px;translate:0 -4px;box-shadow:0 18px 40px -12px #0f172a38,0 4px 12px -4px #0f172a14}select[part~=select]:open::picker(select){opacity:1;translate:0}@starting-style{select[part~=select]:open::picker(select){opacity:0;translate:0 -4px}}select[part~=select] option{color:inherit;cursor:pointer;background-color:#0000;border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:14px;font-weight:500;display:flex}select[part~=select] option:hover,select[part~=select] option:focus-visible{background-color:var(--vx-accent,#2563eb)}@supports (color:color-mix(in lab, red, red)){select[part~=select] option:hover,select[part~=select] option:focus-visible{background-color:color-mix(in srgb, var(--vx-accent,#2563eb) 8%, transparent)}}select[part~=select] option:hover,select[part~=select] option:focus-visible{outline:none}select[part~=select] option:checked{background-color:var(--vx-accent,#2563eb)}@supports (color:color-mix(in lab, red, red)){select[part~=select] option:checked{background-color:color-mix(in srgb, var(--vx-accent,#2563eb) 12%, transparent)}}select[part~=select] option:checked{color:var(--vx-accent,#2563eb);font-weight:600}select[part~=select] option::checkmark{color:var(--vx-accent,#2563eb);order:1;margin-inline-start:auto}select[part~=select] option[value=\"\"],select[part~=select] option[value=\"\"]:checked{color:currentColor;background-color:#0000}@supports (color:color-mix(in lab, red, red)){select[part~=select] option[value=\"\"],select[part~=select] option[value=\"\"]:checked{color:color-mix(in srgb, currentColor 55%, transparent)}}select[part~=select] option[value=\"\"],select[part~=select] option[value=\"\"]:checked{font-weight:500}select[part~=select] option[value=\"\"]::checkmark{display:none}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}", St = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif", Ct = ({ children: e, useShadow: t = !0, inheritFont: n = !1 }) => {
|
|
4902
5088
|
let r = u(null), [i, a] = d(null);
|
|
4903
5089
|
return c(() => {
|
|
4904
5090
|
if (typeof document > "u" || !r.current || !t) return;
|
|
@@ -4909,20 +5095,20 @@ var _t = (e) => {
|
|
|
4909
5095
|
let t = document.createElement("style");
|
|
4910
5096
|
t.innerText = ":host, *, *::before, *::after, ::backdrop {\n --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate-x: initial;\n --tw-rotate-y: initial; --tw-rotate-z: initial; --tw-skew-x: initial;\n --tw-skew-y: initial; --tw-space-y-reverse: 0; --tw-space-x-reverse: 0;\n --tw-border-style: solid; --tw-shadow: 0 0 #0000;\n --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff;\n }", e.appendChild(t);
|
|
4911
5097
|
let i = document.createElement("style");
|
|
4912
|
-
i.textContent =
|
|
5098
|
+
i.textContent = xt, e.appendChild(i), n = document.createElement("div"), n.className = "voxket-widget-root", n.style.cssText = "\n all: initial;\n box-sizing: border-box !important;\n font-size: 14px !important;\n color: #1a1a1a !important; \n position: relative !important;\n width: 100% !important;\n min-height: 100% !important;\n display: block !important;\n background-color: transparent !important;\n ", e.appendChild(n);
|
|
4913
5099
|
}
|
|
4914
5100
|
n && a(n);
|
|
4915
5101
|
}, [t]), c(() => {
|
|
4916
|
-
i && i.style.setProperty("font-family", n ? "var(--vx-font-family)" : `var(--vx-font-family, ${
|
|
5102
|
+
i && i.style.setProperty("font-family", n ? "var(--vx-font-family)" : `var(--vx-font-family, ${St})`, "important");
|
|
4917
5103
|
}, [i, n]), t ? /* @__PURE__ */ p("div", {
|
|
4918
5104
|
ref: r,
|
|
4919
5105
|
className: "w-full h-full",
|
|
4920
5106
|
children: i && e ? h(e, i) : null
|
|
4921
5107
|
}) : /* @__PURE__ */ p(f, { children: e });
|
|
4922
|
-
},
|
|
5108
|
+
}, wt = ({ config: e }) => t.createElement(Ct, {
|
|
4923
5109
|
useShadow: !0,
|
|
4924
5110
|
inheritFont: !e.theme?.fontFamily || e.theme.fontFamily === "inherit"
|
|
4925
|
-
}, t.createElement(
|
|
5111
|
+
}, t.createElement(bt, { config: e })), Tt = class {
|
|
4926
5112
|
config;
|
|
4927
5113
|
container = null;
|
|
4928
5114
|
root = null;
|
|
@@ -4931,16 +5117,16 @@ var _t = (e) => {
|
|
|
4931
5117
|
}
|
|
4932
5118
|
mount(n) {
|
|
4933
5119
|
if (this.container = typeof n == "string" ? document.getElementById(n) : n, !this.container) throw Error("EventWidget: Mount container not found.");
|
|
4934
|
-
this.root ||= e(this.container), this.root.render(t.createElement(
|
|
5120
|
+
this.root ||= e(this.container), this.root.render(t.createElement(wt, { config: this.config }));
|
|
4935
5121
|
}
|
|
4936
5122
|
updateConfig(e) {
|
|
4937
5123
|
this.config = {
|
|
4938
5124
|
...this.config,
|
|
4939
5125
|
...e
|
|
4940
|
-
}, this.root && this.root.render(t.createElement(
|
|
5126
|
+
}, this.root && this.root.render(t.createElement(wt, { config: this.config }));
|
|
4941
5127
|
}
|
|
4942
5128
|
setConfig(e) {
|
|
4943
|
-
this.config = e, this.root && this.root.render(t.createElement(
|
|
5129
|
+
this.config = e, this.root && this.root.render(t.createElement(wt, { config: this.config }));
|
|
4944
5130
|
}
|
|
4945
5131
|
unmount() {
|
|
4946
5132
|
if (this.root) {
|
|
@@ -4950,4 +5136,4 @@ var _t = (e) => {
|
|
|
4950
5136
|
}
|
|
4951
5137
|
};
|
|
4952
5138
|
//#endregion
|
|
4953
|
-
export {
|
|
5139
|
+
export { wt as EventWidget, Tt as EventWidgetClient };
|