@voxket-ai/events-sdk 1.0.25 → 1.0.26
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/components/DynamicForm.d.ts +1 -1
- package/dist/events-sdk.js +955 -805
- package/dist/events-sdk.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/events-sdk.js
CHANGED
|
@@ -399,7 +399,7 @@ function D(e, t = {}) {
|
|
|
399
399
|
var ee = (e) => {
|
|
400
400
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
401
401
|
return !1;
|
|
402
|
-
}, te = n({}), O = () => o(te),
|
|
402
|
+
}, te = n({}), O = () => o(te), k = i(({ color: e, size: t, width: n, height: i, strokeWidth: a, absoluteStrokeWidth: o, nonScalingStroke: s, className: c = "", children: l, iconNode: u = [], icon: d = {
|
|
403
403
|
node: u,
|
|
404
404
|
aliases: [],
|
|
405
405
|
size: 24
|
|
@@ -422,8 +422,8 @@ var ee = (e) => {
|
|
|
422
422
|
});
|
|
423
423
|
//#endregion
|
|
424
424
|
//#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(
|
|
425
|
+
function A(e, t = [], n = []) {
|
|
426
|
+
let a = typeof e == "string" ? b(e, t, n) : e, o = i(({ className: e, ...t }, n) => r(k, {
|
|
427
427
|
ref: n,
|
|
428
428
|
icon: a,
|
|
429
429
|
className: e,
|
|
@@ -433,7 +433,7 @@ function k(e, t = [], n = []) {
|
|
|
433
433
|
}
|
|
434
434
|
//#endregion
|
|
435
435
|
//#region node_modules/lucide-react/dist/esm/icons/arrow-left.mjs
|
|
436
|
-
var
|
|
436
|
+
var j = {
|
|
437
437
|
name: "arrow-left",
|
|
438
438
|
size: 24,
|
|
439
439
|
node: [["path", {
|
|
@@ -444,8 +444,8 @@ var A = {
|
|
|
444
444
|
key: "x3x0zl"
|
|
445
445
|
}]]
|
|
446
446
|
};
|
|
447
|
-
|
|
448
|
-
var
|
|
447
|
+
j.node;
|
|
448
|
+
var ne = A(j), re = {
|
|
449
449
|
name: "arrow-right",
|
|
450
450
|
size: 24,
|
|
451
451
|
node: [["path", {
|
|
@@ -456,8 +456,8 @@ var re = k(A), j = {
|
|
|
456
456
|
key: "xquz4c"
|
|
457
457
|
}]]
|
|
458
458
|
};
|
|
459
|
-
|
|
460
|
-
var ie =
|
|
459
|
+
re.node;
|
|
460
|
+
var ie = A(re), M = {
|
|
461
461
|
name: "briefcase",
|
|
462
462
|
size: 24,
|
|
463
463
|
node: [["path", {
|
|
@@ -472,8 +472,8 @@ var ie = k(j), ae = {
|
|
|
472
472
|
key: "i6l2r4"
|
|
473
473
|
}]]
|
|
474
474
|
};
|
|
475
|
-
|
|
476
|
-
var
|
|
475
|
+
M.node;
|
|
476
|
+
var ae = A(M), N = {
|
|
477
477
|
name: "building-complex",
|
|
478
478
|
size: 24,
|
|
479
479
|
node: [
|
|
@@ -500,8 +500,8 @@ var M = k(ae), oe = {
|
|
|
500
500
|
],
|
|
501
501
|
aliases: ["building-2"]
|
|
502
502
|
};
|
|
503
|
-
|
|
504
|
-
var
|
|
503
|
+
N.node;
|
|
504
|
+
var oe = A(N), se = {
|
|
505
505
|
name: "check",
|
|
506
506
|
size: 24,
|
|
507
507
|
node: [["path", {
|
|
@@ -509,8 +509,8 @@ var se = k(oe), ce = {
|
|
|
509
509
|
key: "1gmf2c"
|
|
510
510
|
}]]
|
|
511
511
|
};
|
|
512
|
-
|
|
513
|
-
var
|
|
512
|
+
se.node;
|
|
513
|
+
var ce = A(se), le = {
|
|
514
514
|
name: "chevron-down",
|
|
515
515
|
size: 24,
|
|
516
516
|
node: [["path", {
|
|
@@ -518,8 +518,8 @@ var le = k(ce), ue = {
|
|
|
518
518
|
key: "qrunsl"
|
|
519
519
|
}]]
|
|
520
520
|
};
|
|
521
|
-
|
|
522
|
-
var
|
|
521
|
+
le.node;
|
|
522
|
+
var ue = A(le), de = {
|
|
523
523
|
name: "circle-alert",
|
|
524
524
|
size: 24,
|
|
525
525
|
node: [
|
|
@@ -546,8 +546,8 @@ var de = k(ue), fe = {
|
|
|
546
546
|
],
|
|
547
547
|
aliases: ["alert-circle"]
|
|
548
548
|
};
|
|
549
|
-
|
|
550
|
-
var
|
|
549
|
+
de.node;
|
|
550
|
+
var fe = A(de), pe = {
|
|
551
551
|
name: "circle-check-big",
|
|
552
552
|
size: 24,
|
|
553
553
|
node: [["path", {
|
|
@@ -559,8 +559,8 @@ var pe = k(fe), N = {
|
|
|
559
559
|
}]],
|
|
560
560
|
aliases: ["check-circle"]
|
|
561
561
|
};
|
|
562
|
-
|
|
563
|
-
var
|
|
562
|
+
pe.node;
|
|
563
|
+
var P = A(pe), F = {
|
|
564
564
|
name: "clipboard-list",
|
|
565
565
|
size: 24,
|
|
566
566
|
node: [
|
|
@@ -595,8 +595,8 @@ var me = k(N), P = {
|
|
|
595
595
|
}]
|
|
596
596
|
]
|
|
597
597
|
};
|
|
598
|
-
|
|
599
|
-
var
|
|
598
|
+
F.node;
|
|
599
|
+
var me = A(F), I = {
|
|
600
600
|
name: "clock",
|
|
601
601
|
size: 24,
|
|
602
602
|
node: [["circle", {
|
|
@@ -609,8 +609,8 @@ var he = k(P), F = {
|
|
|
609
609
|
key: "mmk7yg"
|
|
610
610
|
}]]
|
|
611
611
|
};
|
|
612
|
-
|
|
613
|
-
var
|
|
612
|
+
I.node;
|
|
613
|
+
var he = A(I), L = {
|
|
614
614
|
name: "copy",
|
|
615
615
|
size: 24,
|
|
616
616
|
node: [["rect", {
|
|
@@ -626,8 +626,8 @@ var I = k(F), ge = {
|
|
|
626
626
|
key: "zix9uf"
|
|
627
627
|
}]]
|
|
628
628
|
};
|
|
629
|
-
|
|
630
|
-
var
|
|
629
|
+
L.node;
|
|
630
|
+
var ge = A(L), _e = {
|
|
631
631
|
name: "credit-card",
|
|
632
632
|
size: 24,
|
|
633
633
|
node: [
|
|
@@ -652,8 +652,8 @@ var _e = k(ge), ve = {
|
|
|
652
652
|
}]
|
|
653
653
|
]
|
|
654
654
|
};
|
|
655
|
-
|
|
656
|
-
var
|
|
655
|
+
_e.node;
|
|
656
|
+
var ve = A(_e), R = {
|
|
657
657
|
name: "download",
|
|
658
658
|
size: 24,
|
|
659
659
|
node: [
|
|
@@ -671,8 +671,8 @@ var ye = k(ve), L = {
|
|
|
671
671
|
}]
|
|
672
672
|
]
|
|
673
673
|
};
|
|
674
|
-
|
|
675
|
-
var
|
|
674
|
+
R.node;
|
|
675
|
+
var ye = A(R), be = {
|
|
676
676
|
name: "external-link",
|
|
677
677
|
size: 24,
|
|
678
678
|
node: [
|
|
@@ -690,8 +690,8 @@ var be = k(L), xe = {
|
|
|
690
690
|
}]
|
|
691
691
|
]
|
|
692
692
|
};
|
|
693
|
-
|
|
694
|
-
var
|
|
693
|
+
be.node;
|
|
694
|
+
var xe = A(be), z = {
|
|
695
695
|
name: "file-text",
|
|
696
696
|
size: 24,
|
|
697
697
|
node: [
|
|
@@ -717,8 +717,8 @@ var Se = k(xe), Ce = {
|
|
|
717
717
|
}]
|
|
718
718
|
]
|
|
719
719
|
};
|
|
720
|
-
|
|
721
|
-
var
|
|
720
|
+
z.node;
|
|
721
|
+
var Se = A(z), Ce = {
|
|
722
722
|
name: "folder-open",
|
|
723
723
|
size: 24,
|
|
724
724
|
node: [["path", {
|
|
@@ -726,8 +726,8 @@ var we = k(Ce), Te = {
|
|
|
726
726
|
key: "usdka0"
|
|
727
727
|
}]]
|
|
728
728
|
};
|
|
729
|
-
|
|
730
|
-
var
|
|
729
|
+
Ce.node;
|
|
730
|
+
var we = A(Ce), B = {
|
|
731
731
|
name: "graduation-cap",
|
|
732
732
|
size: 24,
|
|
733
733
|
node: [
|
|
@@ -745,8 +745,8 @@ var R = k(Te), z = {
|
|
|
745
745
|
}]
|
|
746
746
|
]
|
|
747
747
|
};
|
|
748
|
-
|
|
749
|
-
var
|
|
748
|
+
B.node;
|
|
749
|
+
var V = A(B), H = {
|
|
750
750
|
name: "id-card",
|
|
751
751
|
size: 24,
|
|
752
752
|
node: [
|
|
@@ -778,8 +778,8 @@ var B = k(z), V = {
|
|
|
778
778
|
}]
|
|
779
779
|
]
|
|
780
780
|
};
|
|
781
|
-
|
|
782
|
-
var
|
|
781
|
+
H.node;
|
|
782
|
+
var U = A(H), Te = {
|
|
783
783
|
name: "info",
|
|
784
784
|
size: 24,
|
|
785
785
|
node: [
|
|
@@ -799,8 +799,8 @@ var H = k(V), U = {
|
|
|
799
799
|
}]
|
|
800
800
|
]
|
|
801
801
|
};
|
|
802
|
-
|
|
803
|
-
var Ee =
|
|
802
|
+
Te.node;
|
|
803
|
+
var Ee = A(Te), W = {
|
|
804
804
|
name: "key-round",
|
|
805
805
|
size: 24,
|
|
806
806
|
node: [["path", {
|
|
@@ -815,7 +815,7 @@ var Ee = k(U), W = {
|
|
|
815
815
|
}]]
|
|
816
816
|
};
|
|
817
817
|
W.node;
|
|
818
|
-
var G =
|
|
818
|
+
var G = A(W), K = {
|
|
819
819
|
name: "key",
|
|
820
820
|
size: 24,
|
|
821
821
|
node: [
|
|
@@ -836,7 +836,7 @@ var G = k(W), K = {
|
|
|
836
836
|
]
|
|
837
837
|
};
|
|
838
838
|
K.node;
|
|
839
|
-
var De =
|
|
839
|
+
var De = A(K), q = {
|
|
840
840
|
name: "lock",
|
|
841
841
|
size: 24,
|
|
842
842
|
node: [["rect", {
|
|
@@ -853,7 +853,7 @@ var De = k(K), q = {
|
|
|
853
853
|
}]]
|
|
854
854
|
};
|
|
855
855
|
q.node;
|
|
856
|
-
var J =
|
|
856
|
+
var J = A(q), Y = {
|
|
857
857
|
name: "log-in",
|
|
858
858
|
size: 24,
|
|
859
859
|
node: [
|
|
@@ -872,7 +872,7 @@ var J = k(q), Y = {
|
|
|
872
872
|
]
|
|
873
873
|
};
|
|
874
874
|
Y.node;
|
|
875
|
-
var Oe =
|
|
875
|
+
var Oe = A(Y), X = {
|
|
876
876
|
name: "log-out",
|
|
877
877
|
size: 24,
|
|
878
878
|
node: [
|
|
@@ -890,8 +890,8 @@ var Oe = k(Y), ke = {
|
|
|
890
890
|
}]
|
|
891
891
|
]
|
|
892
892
|
};
|
|
893
|
-
|
|
894
|
-
var
|
|
893
|
+
X.node;
|
|
894
|
+
var ke = A(X), Ae = {
|
|
895
895
|
name: "mail",
|
|
896
896
|
size: 24,
|
|
897
897
|
node: [["path", {
|
|
@@ -906,8 +906,8 @@ var Ae = k(ke), je = {
|
|
|
906
906
|
key: "izxlao"
|
|
907
907
|
}]]
|
|
908
908
|
};
|
|
909
|
-
|
|
910
|
-
var
|
|
909
|
+
Ae.node;
|
|
910
|
+
var je = A(Ae), Me = {
|
|
911
911
|
name: "map-pin",
|
|
912
912
|
size: 24,
|
|
913
913
|
node: [["path", {
|
|
@@ -920,8 +920,8 @@ var Me = k(je), Ne = {
|
|
|
920
920
|
key: "ilqhr7"
|
|
921
921
|
}]]
|
|
922
922
|
};
|
|
923
|
-
|
|
924
|
-
var
|
|
923
|
+
Me.node;
|
|
924
|
+
var Ne = A(Me), Pe = {
|
|
925
925
|
name: "maximize-2",
|
|
926
926
|
size: 24,
|
|
927
927
|
node: [
|
|
@@ -943,8 +943,8 @@ var Pe = k(Ne), X = {
|
|
|
943
943
|
}]
|
|
944
944
|
]
|
|
945
945
|
};
|
|
946
|
-
|
|
947
|
-
var Fe =
|
|
946
|
+
Pe.node;
|
|
947
|
+
var Fe = A(Pe), Ie = {
|
|
948
948
|
name: "minimize-2",
|
|
949
949
|
size: 24,
|
|
950
950
|
node: [
|
|
@@ -967,7 +967,7 @@ var Fe = k(X), Ie = {
|
|
|
967
967
|
]
|
|
968
968
|
};
|
|
969
969
|
Ie.node;
|
|
970
|
-
var Le =
|
|
970
|
+
var Le = A(Ie), Z = {
|
|
971
971
|
name: "move",
|
|
972
972
|
size: 24,
|
|
973
973
|
node: [
|
|
@@ -998,7 +998,7 @@ var Le = k(Ie), Z = {
|
|
|
998
998
|
]
|
|
999
999
|
};
|
|
1000
1000
|
Z.node;
|
|
1001
|
-
var Re =
|
|
1001
|
+
var Re = A(Z), Q = {
|
|
1002
1002
|
name: "package-check",
|
|
1003
1003
|
size: 24,
|
|
1004
1004
|
node: [
|
|
@@ -1025,7 +1025,7 @@ var Re = k(Z), Q = {
|
|
|
1025
1025
|
]
|
|
1026
1026
|
};
|
|
1027
1027
|
Q.node;
|
|
1028
|
-
var ze =
|
|
1028
|
+
var ze = A(Q), Be = {
|
|
1029
1029
|
name: "phone",
|
|
1030
1030
|
size: 24,
|
|
1031
1031
|
node: [["path", {
|
|
@@ -1034,7 +1034,7 @@ var ze = k(Q), Be = {
|
|
|
1034
1034
|
}]]
|
|
1035
1035
|
};
|
|
1036
1036
|
Be.node;
|
|
1037
|
-
var Ve =
|
|
1037
|
+
var Ve = A(Be), He = {
|
|
1038
1038
|
name: "receipt",
|
|
1039
1039
|
size: 24,
|
|
1040
1040
|
node: [
|
|
@@ -1053,7 +1053,7 @@ var Ve = k(Be), He = {
|
|
|
1053
1053
|
]
|
|
1054
1054
|
};
|
|
1055
1055
|
He.node;
|
|
1056
|
-
var Ue =
|
|
1056
|
+
var Ue = A(He), We = {
|
|
1057
1057
|
name: "search",
|
|
1058
1058
|
size: 24,
|
|
1059
1059
|
node: [["path", {
|
|
@@ -1067,7 +1067,7 @@ var Ue = k(He), We = {
|
|
|
1067
1067
|
}]]
|
|
1068
1068
|
};
|
|
1069
1069
|
We.node;
|
|
1070
|
-
var Ge =
|
|
1070
|
+
var Ge = A(We), Ke = {
|
|
1071
1071
|
name: "sparkles",
|
|
1072
1072
|
size: 24,
|
|
1073
1073
|
node: [
|
|
@@ -1093,7 +1093,7 @@ var Ge = k(We), Ke = {
|
|
|
1093
1093
|
aliases: ["stars"]
|
|
1094
1094
|
};
|
|
1095
1095
|
Ke.node;
|
|
1096
|
-
var qe =
|
|
1096
|
+
var qe = A(Ke), Je = {
|
|
1097
1097
|
name: "ticket",
|
|
1098
1098
|
size: 24,
|
|
1099
1099
|
node: [
|
|
@@ -1116,7 +1116,7 @@ var qe = k(Ke), Je = {
|
|
|
1116
1116
|
]
|
|
1117
1117
|
};
|
|
1118
1118
|
Je.node;
|
|
1119
|
-
var Ye =
|
|
1119
|
+
var Ye = A(Je), Xe = {
|
|
1120
1120
|
name: "trash",
|
|
1121
1121
|
size: 24,
|
|
1122
1122
|
node: [
|
|
@@ -1144,7 +1144,7 @@ var Ye = k(Je), Xe = {
|
|
|
1144
1144
|
aliases: ["trash-2"]
|
|
1145
1145
|
};
|
|
1146
1146
|
Xe.node;
|
|
1147
|
-
var Ze =
|
|
1147
|
+
var Ze = A(Xe), Qe = {
|
|
1148
1148
|
name: "upload",
|
|
1149
1149
|
size: 24,
|
|
1150
1150
|
node: [
|
|
@@ -1163,7 +1163,7 @@ var Ze = k(Xe), Qe = {
|
|
|
1163
1163
|
]
|
|
1164
1164
|
};
|
|
1165
1165
|
Qe.node;
|
|
1166
|
-
var $e =
|
|
1166
|
+
var $e = A(Qe), et = {
|
|
1167
1167
|
name: "user-plus",
|
|
1168
1168
|
size: 24,
|
|
1169
1169
|
node: [
|
|
@@ -1194,7 +1194,7 @@ var $e = k(Qe), et = {
|
|
|
1194
1194
|
]
|
|
1195
1195
|
};
|
|
1196
1196
|
et.node;
|
|
1197
|
-
var tt =
|
|
1197
|
+
var tt = A(et), nt = {
|
|
1198
1198
|
name: "user",
|
|
1199
1199
|
size: 24,
|
|
1200
1200
|
node: [["path", {
|
|
@@ -1208,7 +1208,7 @@ var tt = k(et), nt = {
|
|
|
1208
1208
|
}]]
|
|
1209
1209
|
};
|
|
1210
1210
|
nt.node;
|
|
1211
|
-
var rt =
|
|
1211
|
+
var rt = A(nt), it = {
|
|
1212
1212
|
name: "users",
|
|
1213
1213
|
size: 24,
|
|
1214
1214
|
node: [
|
|
@@ -1233,7 +1233,7 @@ var rt = k(nt), it = {
|
|
|
1233
1233
|
]
|
|
1234
1234
|
};
|
|
1235
1235
|
it.node;
|
|
1236
|
-
var at =
|
|
1236
|
+
var at = A(it), ot = {
|
|
1237
1237
|
name: "x",
|
|
1238
1238
|
size: 24,
|
|
1239
1239
|
node: [["path", {
|
|
@@ -1245,7 +1245,7 @@ var at = k(it), ot = {
|
|
|
1245
1245
|
}]]
|
|
1246
1246
|
};
|
|
1247
1247
|
ot.node;
|
|
1248
|
-
var st =
|
|
1248
|
+
var st = A(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
1249
|
function lt(e) {
|
|
1250
1250
|
let t = e, n = typeof e == "string" ? e : t?.serve_url || t?.url || t?.id || "";
|
|
1251
1251
|
return String(n || "").match(ct)?.[0] || "";
|
|
@@ -1272,63 +1272,82 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1272
1272
|
"name",
|
|
1273
1273
|
"email",
|
|
1274
1274
|
"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 [
|
|
1275
|
+
]), 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 }) => {
|
|
1276
|
+
let [w, T] = d(u || {}), [E, D] = d(null), [ee, te] = d(null), [O, k] = d({}), [A, j] = d({}), [re, M] = d(null), [ae, N] = d(null), [oe, se] = d({}), [le, de] = d({}), [fe, pe] = d({}), P = r?.primaryColor || "#c026d3";
|
|
1277
1277
|
s(() => {
|
|
1278
1278
|
if (u && Object.keys(u).length > 0) {
|
|
1279
|
-
|
|
1279
|
+
T((e) => ({
|
|
1280
1280
|
...u,
|
|
1281
1281
|
...e
|
|
1282
1282
|
}));
|
|
1283
|
-
let t = {}, n = {};
|
|
1284
|
-
|
|
1283
|
+
let t = {}, n = {}, r = e?.fields || [];
|
|
1284
|
+
r.forEach((e) => {
|
|
1285
1285
|
if (e.type === "file") {
|
|
1286
1286
|
let r = u[e.id];
|
|
1287
1287
|
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
1288
|
}
|
|
1289
|
-
}), Object.keys(t).length > 0 &&
|
|
1289
|
+
}), Object.keys(t).length > 0 && k((e) => ({
|
|
1290
1290
|
...t,
|
|
1291
1291
|
...e
|
|
1292
|
-
})), Object.keys(n).length > 0 &&
|
|
1292
|
+
})), Object.keys(n).length > 0 && j((e) => ({
|
|
1293
1293
|
...n,
|
|
1294
1294
|
...e
|
|
1295
|
-
}))
|
|
1295
|
+
})), r.forEach((e) => {
|
|
1296
|
+
let t = h?.[e.id];
|
|
1297
|
+
t?.text ? (pe((n) => ({
|
|
1298
|
+
[e.id]: t.text,
|
|
1299
|
+
...n
|
|
1300
|
+
})), de((n) => ({
|
|
1301
|
+
[e.id]: t.text,
|
|
1302
|
+
...n
|
|
1303
|
+
})), se((t) => ({
|
|
1304
|
+
[e.id]: "text",
|
|
1305
|
+
...t
|
|
1306
|
+
}))) : t?.serve_url && j((n) => ({
|
|
1307
|
+
[e.id]: t.serve_url,
|
|
1308
|
+
...n
|
|
1309
|
+
}));
|
|
1310
|
+
});
|
|
1296
1311
|
}
|
|
1297
|
-
}, [
|
|
1298
|
-
|
|
1299
|
-
|
|
1312
|
+
}, [
|
|
1313
|
+
u,
|
|
1314
|
+
e,
|
|
1315
|
+
h
|
|
1316
|
+
]);
|
|
1317
|
+
let F = (e, t) => {
|
|
1318
|
+
T((n) => {
|
|
1300
1319
|
let r = {
|
|
1301
1320
|
...n,
|
|
1302
1321
|
[e]: t
|
|
1303
1322
|
};
|
|
1304
1323
|
return l?.(r), r;
|
|
1305
1324
|
});
|
|
1306
|
-
},
|
|
1307
|
-
if (!
|
|
1308
|
-
|
|
1309
|
-
let r =
|
|
1325
|
+
}, me = async (t, n) => {
|
|
1326
|
+
if (!_) return;
|
|
1327
|
+
D(t), M(null), N(null);
|
|
1328
|
+
let r = v?.getToken?.() || null, i = O[t], a = (e?.fields || []).find((e) => e.id === t);
|
|
1310
1329
|
try {
|
|
1311
|
-
let e = await
|
|
1330
|
+
let e = await _.uploadFile(n, r, r ? null : L(), a?.label), o = e?.data?.asset_id || e?.asset_id, s = e?.data?.serve_url || e?.serve_url;
|
|
1312
1331
|
if (!o && !s) throw Error("Upload response missing asset_id");
|
|
1313
1332
|
let c = String(o || lt(s)), u = String(s || "");
|
|
1314
|
-
if (
|
|
1333
|
+
if (k((e) => ({
|
|
1315
1334
|
...e,
|
|
1316
1335
|
[t]: c
|
|
1317
|
-
})), u &&
|
|
1336
|
+
})), u && j((e) => ({
|
|
1318
1337
|
...e,
|
|
1319
1338
|
[t]: u
|
|
1320
|
-
})),
|
|
1339
|
+
})), T((e) => {
|
|
1321
1340
|
let n = {
|
|
1322
1341
|
...e,
|
|
1323
1342
|
[t]: u || c
|
|
1324
1343
|
};
|
|
1325
1344
|
return l?.(n), n;
|
|
1326
|
-
}),
|
|
1345
|
+
}), b?.("file_uploaded", {
|
|
1327
1346
|
fieldId: t,
|
|
1328
1347
|
assetId: c,
|
|
1329
1348
|
serveUrl: u
|
|
1330
1349
|
}), i && i !== c) try {
|
|
1331
|
-
await
|
|
1350
|
+
await _.deleteFile(lt(i) || i, r, r ? null : L()), b?.("file_deleted", {
|
|
1332
1351
|
fieldId: t,
|
|
1333
1352
|
assetId: i
|
|
1334
1353
|
});
|
|
@@ -1337,35 +1356,35 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1337
1356
|
}
|
|
1338
1357
|
} catch (e) {
|
|
1339
1358
|
let n = e?.message || "File upload failed. Please try again.";
|
|
1340
|
-
|
|
1359
|
+
M(n), N(t), y?.({
|
|
1341
1360
|
type: "file_upload_error",
|
|
1342
1361
|
message: n,
|
|
1343
1362
|
error: e
|
|
1344
1363
|
});
|
|
1345
1364
|
} finally {
|
|
1346
|
-
|
|
1365
|
+
D(null);
|
|
1347
1366
|
}
|
|
1348
|
-
},
|
|
1349
|
-
if (!
|
|
1350
|
-
let t =
|
|
1351
|
-
|
|
1367
|
+
}, I = async (e) => {
|
|
1368
|
+
if (!_) return;
|
|
1369
|
+
let t = v?.getToken?.() || null, n = O[e] || w[e], r = lt(n) || n;
|
|
1370
|
+
te(e), M(null), N(null);
|
|
1352
1371
|
try {
|
|
1353
|
-
r && (await
|
|
1372
|
+
r && (await _.deleteFile(r, t, t ? null : L()), b?.("file_deleted", {
|
|
1354
1373
|
fieldId: e,
|
|
1355
1374
|
assetId: r
|
|
1356
|
-
})),
|
|
1375
|
+
})), k((t) => {
|
|
1357
1376
|
let n = { ...t };
|
|
1358
1377
|
return delete n[e], n;
|
|
1359
|
-
}),
|
|
1378
|
+
}), j((t) => {
|
|
1360
1379
|
let n = { ...t };
|
|
1361
1380
|
return delete n[e], n;
|
|
1362
1381
|
}), pe((t) => {
|
|
1363
1382
|
let n = { ...t };
|
|
1364
1383
|
return delete n[e], n;
|
|
1365
|
-
}),
|
|
1384
|
+
}), de((t) => {
|
|
1366
1385
|
let n = { ...t };
|
|
1367
1386
|
return delete n[e], n;
|
|
1368
|
-
}),
|
|
1387
|
+
}), T((t) => {
|
|
1369
1388
|
let n = {
|
|
1370
1389
|
...t,
|
|
1371
1390
|
[e]: ""
|
|
@@ -1374,43 +1393,43 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1374
1393
|
});
|
|
1375
1394
|
} catch (t) {
|
|
1376
1395
|
let n = t?.message || "Failed to delete file. Please try again.";
|
|
1377
|
-
|
|
1396
|
+
M(n), N(e), y?.({
|
|
1378
1397
|
type: "file_delete_error",
|
|
1379
1398
|
message: n,
|
|
1380
1399
|
error: t
|
|
1381
1400
|
});
|
|
1382
1401
|
} finally {
|
|
1383
|
-
|
|
1402
|
+
te(null);
|
|
1384
1403
|
}
|
|
1385
|
-
},
|
|
1386
|
-
if (!
|
|
1387
|
-
|
|
1388
|
-
let r =
|
|
1404
|
+
}, he = async (t, n) => {
|
|
1405
|
+
if (!_ || !n.trim()) return;
|
|
1406
|
+
D(t), M(null), N(null);
|
|
1407
|
+
let r = v?.getToken?.() || null, i = O[t], a = (e?.fields || []).find((e) => e.id === t);
|
|
1389
1408
|
try {
|
|
1390
|
-
let e = await
|
|
1409
|
+
let e = await _.submitTextAnswer(n.trim(), r, r ? null : L(), a?.label), o = e?.data?.asset_id || e?.asset_id;
|
|
1391
1410
|
if (!o) throw Error("Submission response missing asset_id");
|
|
1392
1411
|
let s = String(o);
|
|
1393
|
-
if (
|
|
1412
|
+
if (k((e) => ({
|
|
1394
1413
|
...e,
|
|
1395
1414
|
[t]: s
|
|
1396
|
-
})),
|
|
1415
|
+
})), j((e) => {
|
|
1397
1416
|
let n = { ...e };
|
|
1398
1417
|
return delete n[t], n;
|
|
1399
1418
|
}), pe((e) => ({
|
|
1400
1419
|
...e,
|
|
1401
1420
|
[t]: n.trim()
|
|
1402
|
-
})),
|
|
1421
|
+
})), T((e) => {
|
|
1403
1422
|
let n = {
|
|
1404
1423
|
...e,
|
|
1405
1424
|
[t]: s
|
|
1406
1425
|
};
|
|
1407
1426
|
return l?.(n), n;
|
|
1408
|
-
}),
|
|
1427
|
+
}), b?.("file_uploaded", {
|
|
1409
1428
|
fieldId: t,
|
|
1410
1429
|
assetId: s,
|
|
1411
1430
|
isText: !0
|
|
1412
1431
|
}), i && i !== s) try {
|
|
1413
|
-
await
|
|
1432
|
+
await _.deleteFile(lt(i) || i, r, r ? null : L()), b?.("file_deleted", {
|
|
1414
1433
|
fieldId: t,
|
|
1415
1434
|
assetId: i
|
|
1416
1435
|
});
|
|
@@ -1419,19 +1438,19 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1419
1438
|
}
|
|
1420
1439
|
} catch (e) {
|
|
1421
1440
|
let n = e?.message || "Could not submit your answer. Please try again.";
|
|
1422
|
-
|
|
1441
|
+
M(n), N(t), y?.({
|
|
1423
1442
|
type: "file_upload_error",
|
|
1424
1443
|
message: n,
|
|
1425
1444
|
error: e
|
|
1426
1445
|
});
|
|
1427
1446
|
} finally {
|
|
1428
|
-
|
|
1447
|
+
D(null);
|
|
1429
1448
|
}
|
|
1430
|
-
},
|
|
1449
|
+
}, L = () => {
|
|
1431
1450
|
let t = (e?.fields || []).find((e) => e.type === "email" || (e.label || e.id || "").toLowerCase().includes("email"));
|
|
1432
|
-
return String(t &&
|
|
1433
|
-
}, ge = e?.fields || [], _e = Array.isArray(
|
|
1434
|
-
|
|
1451
|
+
return String(t && w[t.id] || w.email || "").trim();
|
|
1452
|
+
}, ge = e?.fields || [], _e = Array.isArray(S?.items) ? S.items.filter((e) => e?.name) : [], ve = _e.filter((e) => e.mode === "optional"), R = _e.filter((e) => e.mode === "group"), ye = _e.filter((e) => e.mode !== "optional" && e.mode !== "group"), be = R.flatMap((e) => e.options || []), z = Array.isArray(w.selected_items) ? w.selected_items : [], Ce = (e, t = z) => (e.options || []).filter((e) => t.includes(e.name)).length, B = (e, t) => {
|
|
1453
|
+
T((n) => {
|
|
1435
1454
|
let r = Array.isArray(n.selected_items) ? n.selected_items : [], i = r.includes(e), a = Number(t?.max) || 0;
|
|
1436
1455
|
if (!i && a && Ce(t, r) >= a) return n;
|
|
1437
1456
|
let o = {
|
|
@@ -1440,73 +1459,73 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1440
1459
|
};
|
|
1441
1460
|
return l?.(o), o;
|
|
1442
1461
|
});
|
|
1443
|
-
},
|
|
1444
|
-
|
|
1462
|
+
}, V = C ? null : S?.accompany_form_schema || null, H = V?.fields || [], U = Number(V?.price) || 0, Te = Number(V?.max) || 0, W = Array.isArray(w.accompanying) ? w.accompanying : [], G = !Te || W.length < Te, K = (e) => {
|
|
1463
|
+
T((t) => {
|
|
1445
1464
|
let n = Array.isArray(t.accompanying) ? t.accompanying : [], r = {
|
|
1446
1465
|
...t,
|
|
1447
1466
|
accompanying: e(n)
|
|
1448
1467
|
};
|
|
1449
1468
|
return l?.(r), r;
|
|
1450
1469
|
});
|
|
1451
|
-
},
|
|
1470
|
+
}, De = () => K((e) => [...e, {
|
|
1452
1471
|
salutation: "",
|
|
1453
1472
|
name: "",
|
|
1454
1473
|
email: "",
|
|
1455
1474
|
phone: "",
|
|
1456
1475
|
custom_data: {}
|
|
1457
|
-
}]),
|
|
1476
|
+
}]), q = (e) => K((t) => t.filter((t, n) => n !== e)), J = (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 || {})[J(t)]) ?? "", Oe = (e, t, n) => K((r) => r.map((r, i) => i === e ? ft.has(t.id) ? {
|
|
1458
1477
|
...r,
|
|
1459
1478
|
[t.id]: n
|
|
1460
1479
|
} : {
|
|
1461
1480
|
...r,
|
|
1462
1481
|
custom_data: {
|
|
1463
1482
|
...r.custom_data || {},
|
|
1464
|
-
[
|
|
1483
|
+
[J(t)]: n
|
|
1465
1484
|
}
|
|
1466
|
-
} : r)),
|
|
1467
|
-
if (!
|
|
1468
|
-
let r =
|
|
1469
|
-
|
|
1485
|
+
} : r)), X = (e, t) => `guest:${e}:${t.id}`, ke = async (e, t, n) => {
|
|
1486
|
+
if (!_) return;
|
|
1487
|
+
let r = X(e, t);
|
|
1488
|
+
D(r), M(null), N(null);
|
|
1470
1489
|
try {
|
|
1471
|
-
let i =
|
|
1490
|
+
let i = v?.getToken?.() || null, a = await _.uploadFile(n, i, i ? null : L(), t.label), o = a?.data?.serve_url || a?.serve_url || "", s = a?.data?.asset_id || a?.asset_id || "";
|
|
1472
1491
|
if (!o && !s) throw Error("Upload response missing asset_id");
|
|
1473
|
-
|
|
1492
|
+
Oe(e, t, String(o || s)), b?.("file_uploaded", {
|
|
1474
1493
|
fieldId: r,
|
|
1475
1494
|
assetId: s,
|
|
1476
1495
|
serveUrl: o
|
|
1477
1496
|
});
|
|
1478
1497
|
} catch (e) {
|
|
1479
1498
|
let t = e?.message || "File upload failed. Please try again.";
|
|
1480
|
-
|
|
1499
|
+
M(t), N(r), y?.({
|
|
1481
1500
|
type: "file_upload_error",
|
|
1482
1501
|
message: t,
|
|
1483
1502
|
error: e
|
|
1484
1503
|
});
|
|
1485
1504
|
} finally {
|
|
1486
|
-
|
|
1505
|
+
D(null);
|
|
1487
1506
|
}
|
|
1488
1507
|
}, Ae = async (e, t) => {
|
|
1489
|
-
if (!
|
|
1490
|
-
let n =
|
|
1491
|
-
|
|
1508
|
+
if (!_) return;
|
|
1509
|
+
let n = X(e, t), r = Y(W[e] || {}, t), i = lt(r) || r;
|
|
1510
|
+
te(n), M(null), N(null);
|
|
1492
1511
|
try {
|
|
1493
1512
|
if (i) {
|
|
1494
|
-
let e =
|
|
1495
|
-
await
|
|
1513
|
+
let e = v?.getToken?.() || null;
|
|
1514
|
+
await _.deleteFile(i, e, e ? null : L()), b?.("file_deleted", {
|
|
1496
1515
|
fieldId: n,
|
|
1497
1516
|
assetId: i
|
|
1498
1517
|
});
|
|
1499
1518
|
}
|
|
1500
|
-
|
|
1519
|
+
Oe(e, t, "");
|
|
1501
1520
|
} catch (e) {
|
|
1502
1521
|
let t = e?.message || "Failed to delete file. Please try again.";
|
|
1503
|
-
|
|
1522
|
+
M(t), N(n), y?.({
|
|
1504
1523
|
type: "file_delete_error",
|
|
1505
1524
|
message: t,
|
|
1506
1525
|
error: e
|
|
1507
1526
|
});
|
|
1508
1527
|
} finally {
|
|
1509
|
-
|
|
1528
|
+
te(null);
|
|
1510
1529
|
}
|
|
1511
1530
|
}, je = (e) => {
|
|
1512
1531
|
if (e.description) return e.description;
|
|
@@ -1514,12 +1533,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1514
1533
|
let t = (e.label || e.id || "").toLowerCase(), n = e.type;
|
|
1515
1534
|
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
1535
|
}, Me = (e) => {
|
|
1517
|
-
let t =
|
|
1536
|
+
let t = A[e.id] || (w[e.id] && String(w[e.id]).startsWith("http") ? w[e.id] : ""), n = fe[e.id], r = oe[e.id] || "file", i = E === e.id || ee === e.id, a = le[e.id] || "", o = a.trim() ? a.trim().split(/\s+/).length : 0, s = !!e.word_limit && o > e.word_limit;
|
|
1518
1537
|
return /* @__PURE__ */ p("div", {
|
|
1519
1538
|
className: "space-y-2 mt-2",
|
|
1520
1539
|
children: /* @__PURE__ */ m("div", {
|
|
1521
1540
|
part: "upload",
|
|
1522
|
-
className: `p-4 sm:p-5 rounded-2xl border border-dashed transition-all ${
|
|
1541
|
+
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
1542
|
children: [
|
|
1524
1543
|
/* @__PURE__ */ m("div", {
|
|
1525
1544
|
className: "flex items-center justify-between gap-3 flex-wrap",
|
|
@@ -1528,16 +1547,16 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1528
1547
|
children: [/* @__PURE__ */ p("div", {
|
|
1529
1548
|
className: "w-10 h-10 rounded-xl flex items-center justify-center shrink-0 border",
|
|
1530
1549
|
style: {
|
|
1531
|
-
backgroundColor:
|
|
1532
|
-
borderColor:
|
|
1533
|
-
color:
|
|
1550
|
+
backgroundColor: g ? "rgba(255,255,255,0.06)" : `color-mix(in srgb, ${P} 10%, white)`,
|
|
1551
|
+
borderColor: g ? "rgba(255,255,255,0.12)" : `color-mix(in srgb, ${P} 25%, white)`,
|
|
1552
|
+
color: P
|
|
1534
1553
|
},
|
|
1535
|
-
children: /* @__PURE__ */ p(
|
|
1554
|
+
children: /* @__PURE__ */ p(we, { size: 18 })
|
|
1536
1555
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
|
|
1537
|
-
className: `text-xs font-bold ${
|
|
1556
|
+
className: `text-xs font-bold ${g ? "text-zinc-200" : "text-gray-900"}`,
|
|
1538
1557
|
children: e.label
|
|
1539
1558
|
}), /* @__PURE__ */ p("p", {
|
|
1540
|
-
className: `text-2xs font-medium ${
|
|
1559
|
+
className: `text-2xs font-medium ${g ? "text-zinc-400" : "text-gray-500"}`,
|
|
1541
1560
|
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
1561
|
})] })]
|
|
1543
1562
|
}), /* @__PURE__ */ p("button", {
|
|
@@ -1549,10 +1568,10 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1549
1568
|
})),
|
|
1550
1569
|
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
1570
|
style: {
|
|
1552
|
-
color:
|
|
1553
|
-
borderColor: `color-mix(in srgb, ${
|
|
1571
|
+
color: P,
|
|
1572
|
+
borderColor: `color-mix(in srgb, ${P} 35%, transparent)`
|
|
1554
1573
|
},
|
|
1555
|
-
children: r === "file" ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
1574
|
+
children: r === "file" ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(Se, { size: 11 }), " Send text only"] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p($e, { size: 11 }), " Send file"] })
|
|
1556
1575
|
})]
|
|
1557
1576
|
}),
|
|
1558
1577
|
r === "file" ? /* @__PURE__ */ m("div", {
|
|
@@ -1567,51 +1586,51 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1567
1586
|
disabled: i,
|
|
1568
1587
|
onChange: (t) => {
|
|
1569
1588
|
let n = t.target.files?.[0];
|
|
1570
|
-
n &&
|
|
1589
|
+
n && me(e.id, n), t.target.value = "";
|
|
1571
1590
|
}
|
|
1572
1591
|
}), /* @__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 ${
|
|
1592
|
+
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
1593
|
children: [/* @__PURE__ */ p($e, {
|
|
1575
1594
|
size: 14,
|
|
1576
|
-
style: { color:
|
|
1577
|
-
}), /* @__PURE__ */ p("span", { children:
|
|
1595
|
+
style: { color: P }
|
|
1596
|
+
}), /* @__PURE__ */ p("span", { children: E === e.id ? "Uploading..." : t ? "Replace File" : "Choose File" })]
|
|
1578
1597
|
})]
|
|
1579
1598
|
}), t && typeof t == "string" && t.trim() !== "" && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("button", {
|
|
1580
1599
|
type: "button",
|
|
1581
1600
|
onClick: () => window.open(t, "_blank", "noopener,noreferrer"),
|
|
1582
1601
|
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:
|
|
1602
|
+
style: { backgroundColor: P },
|
|
1584
1603
|
title: "Open file in new tab",
|
|
1585
1604
|
children: [
|
|
1586
|
-
/* @__PURE__ */ p(
|
|
1605
|
+
/* @__PURE__ */ p(Se, { size: 13 }),
|
|
1587
1606
|
/* @__PURE__ */ p("span", { children: "View" }),
|
|
1588
|
-
/* @__PURE__ */ p(
|
|
1607
|
+
/* @__PURE__ */ p(xe, { size: 11 })
|
|
1589
1608
|
]
|
|
1590
1609
|
}), /* @__PURE__ */ m("button", {
|
|
1591
1610
|
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 ${
|
|
1611
|
+
disabled: ee === e.id || E === e.id,
|
|
1612
|
+
onClick: () => I(e.id),
|
|
1613
|
+
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
1614
|
title: "Delete uploaded file",
|
|
1596
|
-
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children:
|
|
1615
|
+
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: ee === e.id ? "Deleting..." : "Delete" })]
|
|
1597
1616
|
})] })]
|
|
1598
1617
|
}) : /* @__PURE__ */ m("div", {
|
|
1599
|
-
className: `mt-3 pt-3 border-t space-y-2 ${
|
|
1618
|
+
className: `mt-3 pt-3 border-t space-y-2 ${g ? "border-zinc-800" : "border-slate-200"}`,
|
|
1600
1619
|
children: [/* @__PURE__ */ p("textarea", {
|
|
1601
1620
|
part: "input textarea",
|
|
1602
1621
|
rows: 3,
|
|
1603
1622
|
disabled: i || !!n,
|
|
1604
1623
|
value: n ?? a,
|
|
1605
|
-
onChange: (t) =>
|
|
1624
|
+
onChange: (t) => de((n) => ({
|
|
1606
1625
|
...n,
|
|
1607
1626
|
[e.id]: t.target.value
|
|
1608
1627
|
})),
|
|
1609
1628
|
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 ${
|
|
1629
|
+
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
1630
|
}), /* @__PURE__ */ m("div", {
|
|
1612
1631
|
className: "flex items-center justify-between gap-2",
|
|
1613
1632
|
children: [e.word_limit ? /* @__PURE__ */ m("span", {
|
|
1614
|
-
className: `text-2xs font-medium ${s ? "text-red-500" :
|
|
1633
|
+
className: `text-2xs font-medium ${s ? "text-red-500" : g ? "text-zinc-500" : "text-gray-500"}`,
|
|
1615
1634
|
children: [
|
|
1616
1635
|
o,
|
|
1617
1636
|
"/",
|
|
@@ -1621,22 +1640,22 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1621
1640
|
}) : /* @__PURE__ */ p("span", {}), n ? /* @__PURE__ */ m("button", {
|
|
1622
1641
|
type: "button",
|
|
1623
1642
|
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:
|
|
1643
|
+
onClick: () => I(e.id),
|
|
1644
|
+
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"}`,
|
|
1645
|
+
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: ee === e.id ? "Clearing..." : "Clear & Re-enter" })]
|
|
1627
1646
|
}) : /* @__PURE__ */ m("button", {
|
|
1628
1647
|
type: "button",
|
|
1629
1648
|
disabled: i || !a.trim(),
|
|
1630
|
-
onClick: () =>
|
|
1631
|
-
style: { backgroundColor:
|
|
1649
|
+
onClick: () => he(e.id, a),
|
|
1650
|
+
style: { backgroundColor: P },
|
|
1632
1651
|
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:
|
|
1652
|
+
children: [/* @__PURE__ */ p($e, { size: 13 }), /* @__PURE__ */ p("span", { children: E === e.id ? "Submitting..." : "Submit Text" })]
|
|
1634
1653
|
})]
|
|
1635
1654
|
})]
|
|
1636
1655
|
}),
|
|
1637
1656
|
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(
|
|
1657
|
+
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"}`,
|
|
1658
|
+
children: [/* @__PURE__ */ p(ce, {
|
|
1640
1659
|
size: 12,
|
|
1641
1660
|
className: "text-emerald-500 shrink-0"
|
|
1642
1661
|
}), /* @__PURE__ */ m("span", {
|
|
@@ -1644,16 +1663,16 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1644
1663
|
children: ["Attached: ", t]
|
|
1645
1664
|
})]
|
|
1646
1665
|
}),
|
|
1647
|
-
|
|
1666
|
+
re && ae === e.id && /* @__PURE__ */ p("div", {
|
|
1648
1667
|
className: "text-xs text-red-500 mt-2 font-medium",
|
|
1649
|
-
children:
|
|
1668
|
+
children: re
|
|
1650
1669
|
})
|
|
1651
1670
|
]
|
|
1652
1671
|
})
|
|
1653
1672
|
});
|
|
1654
1673
|
}, Ne = (e) => {
|
|
1655
1674
|
if (!e) return null;
|
|
1656
|
-
let t =
|
|
1675
|
+
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
1676
|
return /* @__PURE__ */ m("div", {
|
|
1658
1677
|
part: "field",
|
|
1659
1678
|
className: "px-5 sm:px-8 py-5 sm:py-6",
|
|
@@ -1663,7 +1682,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1663
1682
|
children: /* @__PURE__ */ m("label", {
|
|
1664
1683
|
part: "field-label",
|
|
1665
1684
|
htmlFor: a,
|
|
1666
|
-
className: `block text-sm font-semibold ${
|
|
1685
|
+
className: `block text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
|
|
1667
1686
|
children: [e.label, e.required && /* @__PURE__ */ p("span", {
|
|
1668
1687
|
className: "text-red-500 font-semibold ml-0.5",
|
|
1669
1688
|
children: "*"
|
|
@@ -1672,7 +1691,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1672
1691
|
}),
|
|
1673
1692
|
n && /* @__PURE__ */ p("p", {
|
|
1674
1693
|
part: "field-description",
|
|
1675
|
-
className: `text-xs leading-relaxed mb-3 ${
|
|
1694
|
+
className: `text-xs leading-relaxed mb-3 ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
1676
1695
|
children: n
|
|
1677
1696
|
}),
|
|
1678
1697
|
!n && /* @__PURE__ */ p("div", { className: "h-1.5" }),
|
|
@@ -1683,20 +1702,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1683
1702
|
id: a,
|
|
1684
1703
|
required: e.required,
|
|
1685
1704
|
value: t,
|
|
1686
|
-
onChange: (t) =>
|
|
1705
|
+
onChange: (t) => F(e.id, t.target.value),
|
|
1687
1706
|
className: `${o} pr-10 appearance-none cursor-pointer`,
|
|
1688
1707
|
children: [/* @__PURE__ */ p("option", {
|
|
1689
1708
|
value: "",
|
|
1690
|
-
className:
|
|
1709
|
+
className: g ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
1691
1710
|
children: e.placeholder || `Select ${e.label}...`
|
|
1692
1711
|
}), (e.options || []).map((e) => /* @__PURE__ */ p("option", {
|
|
1693
1712
|
value: e,
|
|
1694
|
-
className:
|
|
1713
|
+
className: g ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
1695
1714
|
children: e
|
|
1696
1715
|
}, e))]
|
|
1697
1716
|
}), /* @__PURE__ */ p("div", {
|
|
1698
|
-
className: `absolute inset-y-0 right-0 flex items-center pr-3.5 pointer-events-none ${
|
|
1699
|
-
children: /* @__PURE__ */ p(
|
|
1717
|
+
className: `absolute inset-y-0 right-0 flex items-center pr-3.5 pointer-events-none ${g ? "text-zinc-400" : "text-slate-400"}`,
|
|
1718
|
+
children: /* @__PURE__ */ p(ue, { size: 16 })
|
|
1700
1719
|
})]
|
|
1701
1720
|
}) : e.type === "file" ? Me(e) : /* @__PURE__ */ p("input", {
|
|
1702
1721
|
part: "input",
|
|
@@ -1705,26 +1724,26 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1705
1724
|
required: e.required,
|
|
1706
1725
|
value: t,
|
|
1707
1726
|
placeholder: e.placeholder || (r ? "Enter your email address" : i ? "Your full name" : `Enter your ${e.label.toLowerCase()}`),
|
|
1708
|
-
onChange: (t) =>
|
|
1727
|
+
onChange: (t) => F(e.id, t.target.value),
|
|
1709
1728
|
className: o
|
|
1710
1729
|
})
|
|
1711
1730
|
]
|
|
1712
1731
|
}, e.id);
|
|
1713
1732
|
}, Pe = (e, t, n) => {
|
|
1714
|
-
let r =
|
|
1733
|
+
let r = X(t, e), i = E === r || ee === r;
|
|
1715
1734
|
return /* @__PURE__ */ m("div", { children: [n ? /* @__PURE__ */ m("div", {
|
|
1716
|
-
className: `flex items-center gap-2 px-3 py-2.5 rounded-xl border ${
|
|
1735
|
+
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
1736
|
children: [
|
|
1718
|
-
/* @__PURE__ */ p(
|
|
1737
|
+
/* @__PURE__ */ p(Se, {
|
|
1719
1738
|
size: 15,
|
|
1720
1739
|
className: "shrink-0",
|
|
1721
|
-
style: { color:
|
|
1740
|
+
style: { color: P }
|
|
1722
1741
|
}),
|
|
1723
1742
|
/* @__PURE__ */ p("a", {
|
|
1724
1743
|
href: n,
|
|
1725
1744
|
target: "_blank",
|
|
1726
1745
|
rel: "noreferrer",
|
|
1727
|
-
className: `flex-1 min-w-0 truncate text-xs font-medium underline-offset-2 hover:underline ${
|
|
1746
|
+
className: `flex-1 min-w-0 truncate text-xs font-medium underline-offset-2 hover:underline ${g ? "text-zinc-200" : "text-slate-700"}`,
|
|
1728
1747
|
children: "View file"
|
|
1729
1748
|
}),
|
|
1730
1749
|
/* @__PURE__ */ p("button", {
|
|
@@ -1732,12 +1751,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1732
1751
|
disabled: i,
|
|
1733
1752
|
onClick: () => Ae(t, e),
|
|
1734
1753
|
title: "Remove file",
|
|
1735
|
-
className: `shrink-0 p-1 rounded-lg cursor-pointer disabled:opacity-40 ${
|
|
1754
|
+
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
1755
|
children: /* @__PURE__ */ p(Ze, { size: 14 })
|
|
1737
1756
|
})
|
|
1738
1757
|
]
|
|
1739
1758
|
}) : /* @__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 ${
|
|
1759
|
+
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
1760
|
children: [
|
|
1742
1761
|
/* @__PURE__ */ p($e, { size: 14 }),
|
|
1743
1762
|
i ? "Uploading..." : "Choose file",
|
|
@@ -1750,17 +1769,17 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1750
1769
|
}
|
|
1751
1770
|
})
|
|
1752
1771
|
]
|
|
1753
|
-
}),
|
|
1772
|
+
}), re && ae === r && /* @__PURE__ */ p("div", {
|
|
1754
1773
|
className: "text-xs text-red-500 mt-1.5 font-medium",
|
|
1755
|
-
children:
|
|
1774
|
+
children: re
|
|
1756
1775
|
})] });
|
|
1757
|
-
},
|
|
1758
|
-
let r =
|
|
1776
|
+
}, Ie = (e, t, n) => {
|
|
1777
|
+
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
1778
|
return /* @__PURE__ */ m("label", {
|
|
1760
1779
|
part: "field",
|
|
1761
1780
|
className: "block",
|
|
1762
1781
|
children: [/* @__PURE__ */ m("span", {
|
|
1763
|
-
className: `block text-xs font-semibold mb-1.5 ${
|
|
1782
|
+
className: `block text-xs font-semibold mb-1.5 ${g ? "text-zinc-300" : "text-slate-700"}`,
|
|
1764
1783
|
children: [e.label, e.required && /* @__PURE__ */ p("span", {
|
|
1765
1784
|
className: "text-red-500 ml-0.5",
|
|
1766
1785
|
children: "*"
|
|
@@ -1769,14 +1788,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1769
1788
|
part: "input select",
|
|
1770
1789
|
value: r,
|
|
1771
1790
|
required: e.required,
|
|
1772
|
-
onChange: (t) =>
|
|
1791
|
+
onChange: (t) => Oe(n, e, t.target.value),
|
|
1773
1792
|
className: `${i} cursor-pointer`,
|
|
1774
1793
|
children: [/* @__PURE__ */ p("option", {
|
|
1775
1794
|
value: "",
|
|
1776
1795
|
children: e.placeholder || `Select ${e.label}...`
|
|
1777
1796
|
}), (e.options || []).map((e) => /* @__PURE__ */ p("option", {
|
|
1778
1797
|
value: e,
|
|
1779
|
-
className:
|
|
1798
|
+
className: g ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
1780
1799
|
children: e
|
|
1781
1800
|
}, e))]
|
|
1782
1801
|
}) : e.type === "textarea" ? /* @__PURE__ */ p("textarea", {
|
|
@@ -1785,7 +1804,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1785
1804
|
value: r,
|
|
1786
1805
|
required: e.required,
|
|
1787
1806
|
placeholder: e.placeholder || "",
|
|
1788
|
-
onChange: (t) =>
|
|
1807
|
+
onChange: (t) => Oe(n, e, t.target.value),
|
|
1789
1808
|
className: i
|
|
1790
1809
|
}) : /* @__PURE__ */ p("input", {
|
|
1791
1810
|
part: "input",
|
|
@@ -1797,54 +1816,54 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1797
1816
|
value: r,
|
|
1798
1817
|
required: e.required,
|
|
1799
1818
|
placeholder: e.placeholder || "",
|
|
1800
|
-
onChange: (t) =>
|
|
1819
|
+
onChange: (t) => Oe(n, e, t.target.value),
|
|
1801
1820
|
className: i
|
|
1802
1821
|
})]
|
|
1803
1822
|
}, e.id);
|
|
1804
|
-
},
|
|
1823
|
+
}, Z = (e) => {
|
|
1805
1824
|
e.preventDefault();
|
|
1806
|
-
for (let e of ge) if (e.type === "file" && e.required && !
|
|
1807
|
-
|
|
1825
|
+
for (let e of ge) if (e.type === "file" && e.required && !w[e.id]) {
|
|
1826
|
+
M(`Please upload ${e.label || "a file"}`), N(e.id);
|
|
1808
1827
|
return;
|
|
1809
1828
|
}
|
|
1810
|
-
for (let e = 0; e <
|
|
1811
|
-
|
|
1829
|
+
for (let e = 0; e < W.length; e++) for (let t of H) if (t.type === "file" && t.required && !Y(W[e], t)) {
|
|
1830
|
+
M(`Please upload ${t.label || "a file"} for guest ${e + 1}`), N(X(e, t));
|
|
1812
1831
|
return;
|
|
1813
1832
|
}
|
|
1814
|
-
t(
|
|
1815
|
-
},
|
|
1833
|
+
t(w);
|
|
1834
|
+
}, Re = S?.type || S?.name || S?.label || (C ? "Abstract Submission Form" : "Registration Form"), Q = (e) => [S?.currency, e.toLocaleString()].filter(Boolean).join(" "), ze = [...ve, ...be].filter((e) => z.includes(e.name)).reduce((e, t) => e + (Number(t.price) || 0), 0), Be = (Number(S?.price) || 0) + ze + U * W.length, Ve = S ? Be > 0 ? Q(Be) : "Free" : null;
|
|
1816
1835
|
return /* @__PURE__ */ m("div", {
|
|
1817
1836
|
part: "form-page",
|
|
1818
|
-
className: `w-full flex-1 flex flex-col relative ${
|
|
1819
|
-
style:
|
|
1837
|
+
className: `w-full flex-1 flex flex-col relative ${g ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
|
|
1838
|
+
style: x,
|
|
1820
1839
|
children: [/* @__PURE__ */ p("div", {
|
|
1821
1840
|
part: "form-header",
|
|
1822
|
-
className: `sticky top-0 z-30 px-4 sm:px-6 py-3 border-b backdrop-blur-xl transition-colors ${
|
|
1841
|
+
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
1842
|
children: /* @__PURE__ */ m("div", {
|
|
1824
1843
|
className: "max-w-3xl mx-auto flex items-center justify-between gap-3",
|
|
1825
1844
|
children: [/* @__PURE__ */ m("button", {
|
|
1826
1845
|
part: "button button-secondary back-button",
|
|
1827
1846
|
type: "button",
|
|
1828
1847
|
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(
|
|
1848
|
+
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)]"}`,
|
|
1849
|
+
children: [/* @__PURE__ */ p(ne, { size: 16 }), /* @__PURE__ */ p("span", { children: "All forms" })]
|
|
1831
1850
|
}), /* @__PURE__ */ m("div", {
|
|
1832
1851
|
className: "flex items-center gap-2 min-w-0",
|
|
1833
|
-
children: [
|
|
1852
|
+
children: [S && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
1834
1853
|
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
|
-
}), !
|
|
1854
|
+
title: Re,
|
|
1855
|
+
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"}`,
|
|
1856
|
+
children: Re
|
|
1857
|
+
}), !C && /* @__PURE__ */ p("span", {
|
|
1839
1858
|
part: "form-type-price",
|
|
1840
1859
|
className: "shrink-0 text-xs font-bold px-3 py-1.5 rounded-full tabular-nums",
|
|
1841
1860
|
style: {
|
|
1842
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1843
|
-
color:
|
|
1861
|
+
backgroundColor: `color-mix(in srgb, ${P} 12%, transparent)`,
|
|
1862
|
+
color: P
|
|
1844
1863
|
},
|
|
1845
|
-
children:
|
|
1864
|
+
children: Ve
|
|
1846
1865
|
})] }), i === "popup" && /* @__PURE__ */ m("div", {
|
|
1847
|
-
className: `flex items-center gap-1.5 ml-2 border-l pl-2 ${
|
|
1866
|
+
className: `flex items-center gap-1.5 ml-2 border-l pl-2 ${g ? "border-zinc-700" : "border-slate-200"}`,
|
|
1848
1867
|
children: [/* @__PURE__ */ p("button", {
|
|
1849
1868
|
onClick: o,
|
|
1850
1869
|
className: "p-1.5 opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
|
|
@@ -1862,7 +1881,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1862
1881
|
className: "w-full flex-1 overflow-y-auto",
|
|
1863
1882
|
children: /* @__PURE__ */ m("form", {
|
|
1864
1883
|
part: "form",
|
|
1865
|
-
onSubmit:
|
|
1884
|
+
onSubmit: Z,
|
|
1866
1885
|
className: "max-w-3xl mx-auto w-full px-4 sm:px-6 py-8 sm:py-10 space-y-5",
|
|
1867
1886
|
children: [
|
|
1868
1887
|
/* @__PURE__ */ m("div", {
|
|
@@ -1870,18 +1889,18 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1870
1889
|
className: "px-1",
|
|
1871
1890
|
children: [/* @__PURE__ */ p("p", {
|
|
1872
1891
|
className: "text-xs font-semibold uppercase tracking-wider",
|
|
1873
|
-
style: { color:
|
|
1874
|
-
children:
|
|
1892
|
+
style: { color: P },
|
|
1893
|
+
children: C ? "Abstract submission" : "Registration form"
|
|
1875
1894
|
}), /* @__PURE__ */ p("h2", {
|
|
1876
1895
|
part: "form-title",
|
|
1877
|
-
className: `mt-1.5 text-2xl sm:text-3xl font-bold tracking-tight ${
|
|
1896
|
+
className: `mt-1.5 text-2xl sm:text-3xl font-bold tracking-tight ${g ? "text-white" : "text-slate-900"}`,
|
|
1878
1897
|
style: $,
|
|
1879
|
-
children:
|
|
1898
|
+
children: Re
|
|
1880
1899
|
})]
|
|
1881
1900
|
}),
|
|
1882
1901
|
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(
|
|
1902
|
+
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"}`,
|
|
1903
|
+
children: [/* @__PURE__ */ p(ce, {
|
|
1885
1904
|
size: 16,
|
|
1886
1905
|
className: "shrink-0"
|
|
1887
1906
|
}), /* @__PURE__ */ p("span", {
|
|
@@ -1893,20 +1912,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1893
1912
|
part: "notice",
|
|
1894
1913
|
className: "rounded-2xl p-4 flex items-start gap-3",
|
|
1895
1914
|
style: {
|
|
1896
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1897
|
-
boxShadow: `inset 0 0 0 1px color-mix(in srgb, ${
|
|
1915
|
+
backgroundColor: `color-mix(in srgb, ${P} ${g ? 14 : 7}%, transparent)`,
|
|
1916
|
+
boxShadow: `inset 0 0 0 1px color-mix(in srgb, ${P} 20%, transparent)`
|
|
1898
1917
|
},
|
|
1899
1918
|
children: [/* @__PURE__ */ p("div", {
|
|
1900
1919
|
className: "shrink-0 mt-0.5",
|
|
1901
|
-
style: { color:
|
|
1920
|
+
style: { color: P },
|
|
1902
1921
|
children: /* @__PURE__ */ p(Ee, { size: 18 })
|
|
1903
1922
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
1904
1923
|
part: "notice-title",
|
|
1905
1924
|
className: "text-xs font-bold uppercase tracking-wider",
|
|
1906
|
-
style: { color:
|
|
1925
|
+
style: { color: P },
|
|
1907
1926
|
children: "Before you submit"
|
|
1908
1927
|
}), /* @__PURE__ */ m("p", {
|
|
1909
|
-
className: `text-sm mt-0.5 leading-relaxed ${
|
|
1928
|
+
className: `text-sm mt-0.5 leading-relaxed ${g ? "text-zinc-300" : "text-slate-600"}`,
|
|
1910
1929
|
children: [
|
|
1911
1930
|
"Ensure you are a registered delegate. Fields marked ",
|
|
1912
1931
|
/* @__PURE__ */ p("span", {
|
|
@@ -1919,65 +1938,65 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1919
1938
|
}),
|
|
1920
1939
|
/* @__PURE__ */ p("div", {
|
|
1921
1940
|
part: "form-card",
|
|
1922
|
-
className: `rounded-3xl border overflow-hidden divide-y ${
|
|
1941
|
+
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)]"}`,
|
|
1923
1942
|
children: ge.map((e) => Ne(e))
|
|
1924
1943
|
}),
|
|
1925
|
-
!
|
|
1944
|
+
!C && _e.length > 0 && /* @__PURE__ */ m("div", {
|
|
1926
1945
|
part: "addons-card",
|
|
1927
|
-
className: `rounded-3xl border overflow-hidden ${
|
|
1946
|
+
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
1947
|
children: [
|
|
1929
1948
|
/* @__PURE__ */ m("div", {
|
|
1930
1949
|
className: "flex items-center gap-3 px-5 sm:px-8 pt-5 sm:pt-6 pb-4",
|
|
1931
1950
|
children: [/* @__PURE__ */ p("div", {
|
|
1932
1951
|
className: "w-9 h-9 rounded-xl flex items-center justify-center shrink-0",
|
|
1933
1952
|
style: {
|
|
1934
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1935
|
-
color:
|
|
1953
|
+
backgroundColor: `color-mix(in srgb, ${P} 12%, transparent)`,
|
|
1954
|
+
color: P
|
|
1936
1955
|
},
|
|
1937
1956
|
children: /* @__PURE__ */ p(Ye, { size: 17 })
|
|
1938
1957
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h3", {
|
|
1939
1958
|
part: "addons-title",
|
|
1940
|
-
className: `text-sm font-semibold ${
|
|
1959
|
+
className: `text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
|
|
1941
1960
|
style: $,
|
|
1942
1961
|
children: "Add-ons"
|
|
1943
1962
|
}), /* @__PURE__ */ p("p", {
|
|
1944
|
-
className: `text-xs ${
|
|
1945
|
-
children: ve.length > 0 ||
|
|
1963
|
+
className: `text-xs ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
1964
|
+
children: ve.length > 0 || R.length > 0 ? "Optional extras — charges are added to your total." : "Included with this registration."
|
|
1946
1965
|
})] })]
|
|
1947
1966
|
}),
|
|
1948
1967
|
/* @__PURE__ */ m("div", {
|
|
1949
1968
|
className: "px-5 sm:px-8 pb-5 sm:pb-6 space-y-2",
|
|
1950
1969
|
children: [
|
|
1951
1970
|
ve.map((e) => {
|
|
1952
|
-
let t =
|
|
1971
|
+
let t = z.includes(e.name);
|
|
1953
1972
|
return /* @__PURE__ */ m("label", {
|
|
1954
1973
|
part: t ? "addon addon-selected" : "addon",
|
|
1955
|
-
className: `p-3.5 rounded-2xl border flex items-center gap-3 cursor-pointer transition-all ${t ? "" :
|
|
1974
|
+
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
1975
|
style: t ? {
|
|
1957
|
-
borderColor:
|
|
1958
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
1976
|
+
borderColor: P,
|
|
1977
|
+
backgroundColor: `color-mix(in srgb, ${P} ${g ? 16 : 6}%, transparent)`
|
|
1959
1978
|
} : void 0,
|
|
1960
1979
|
children: [
|
|
1961
1980
|
/* @__PURE__ */ p("input", {
|
|
1962
1981
|
type: "checkbox",
|
|
1963
1982
|
checked: t,
|
|
1964
|
-
onChange: () =>
|
|
1983
|
+
onChange: () => B(e.name),
|
|
1965
1984
|
className: "w-4 h-4 rounded cursor-pointer shrink-0",
|
|
1966
|
-
style: { accentColor:
|
|
1985
|
+
style: { accentColor: P }
|
|
1967
1986
|
}),
|
|
1968
1987
|
/* @__PURE__ */ p("span", {
|
|
1969
|
-
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${
|
|
1988
|
+
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${g ? "text-white" : "text-slate-900"}`,
|
|
1970
1989
|
children: e.name
|
|
1971
1990
|
}),
|
|
1972
1991
|
/* @__PURE__ */ p("span", {
|
|
1973
1992
|
className: "shrink-0 text-[13px] font-bold tabular-nums",
|
|
1974
|
-
style: { color:
|
|
1975
|
-
children: Number(e.price) > 0 ? `+ ${
|
|
1993
|
+
style: { color: P },
|
|
1994
|
+
children: Number(e.price) > 0 ? `+ ${Q(Number(e.price))}` : "Free"
|
|
1976
1995
|
})
|
|
1977
1996
|
]
|
|
1978
1997
|
}, e.name);
|
|
1979
1998
|
}),
|
|
1980
|
-
|
|
1999
|
+
R.map((e) => {
|
|
1981
2000
|
let t = Number(e.max) || 0, n = Ce(e), r = t > 0 && n >= t;
|
|
1982
2001
|
return /* @__PURE__ */ m("div", {
|
|
1983
2002
|
part: "addon-group",
|
|
@@ -1985,10 +2004,10 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1985
2004
|
children: [/* @__PURE__ */ m("div", {
|
|
1986
2005
|
className: "flex items-center justify-between gap-2 mb-2",
|
|
1987
2006
|
children: [/* @__PURE__ */ p("span", {
|
|
1988
|
-
className: `text-xs font-bold uppercase tracking-wider ${
|
|
2007
|
+
className: `text-xs font-bold uppercase tracking-wider ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
1989
2008
|
children: e.name
|
|
1990
2009
|
}), 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" :
|
|
2010
|
+
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
2011
|
children: [
|
|
1993
2012
|
n,
|
|
1994
2013
|
"/",
|
|
@@ -1999,31 +2018,31 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
1999
2018
|
}), /* @__PURE__ */ p("div", {
|
|
2000
2019
|
className: "space-y-2",
|
|
2001
2020
|
children: (e.options || []).map((t) => {
|
|
2002
|
-
let n =
|
|
2021
|
+
let n = z.includes(t.name), i = r && !n;
|
|
2003
2022
|
return /* @__PURE__ */ m("label", {
|
|
2004
2023
|
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 ? "" :
|
|
2024
|
+
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
2025
|
style: n ? {
|
|
2007
|
-
borderColor:
|
|
2008
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
2026
|
+
borderColor: P,
|
|
2027
|
+
backgroundColor: `color-mix(in srgb, ${P} ${g ? 16 : 6}%, transparent)`
|
|
2009
2028
|
} : void 0,
|
|
2010
2029
|
children: [
|
|
2011
2030
|
/* @__PURE__ */ p("input", {
|
|
2012
2031
|
type: "checkbox",
|
|
2013
2032
|
checked: n,
|
|
2014
2033
|
disabled: i,
|
|
2015
|
-
onChange: () =>
|
|
2034
|
+
onChange: () => B(t.name, e),
|
|
2016
2035
|
className: "w-4 h-4 rounded cursor-pointer shrink-0 disabled:cursor-not-allowed",
|
|
2017
|
-
style: { accentColor:
|
|
2036
|
+
style: { accentColor: P }
|
|
2018
2037
|
}),
|
|
2019
2038
|
/* @__PURE__ */ p("span", {
|
|
2020
|
-
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${
|
|
2039
|
+
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${g ? "text-white" : "text-slate-900"}`,
|
|
2021
2040
|
children: t.name
|
|
2022
2041
|
}),
|
|
2023
2042
|
/* @__PURE__ */ p("span", {
|
|
2024
2043
|
className: "shrink-0 text-[13px] font-bold tabular-nums",
|
|
2025
|
-
style: { color:
|
|
2026
|
-
children: Number(t.price) > 0 ? `+ ${
|
|
2044
|
+
style: { color: P },
|
|
2045
|
+
children: Number(t.price) > 0 ? `+ ${Q(Number(t.price))}` : "Free"
|
|
2027
2046
|
})
|
|
2028
2047
|
]
|
|
2029
2048
|
}, t.name);
|
|
@@ -2031,94 +2050,94 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2031
2050
|
})]
|
|
2032
2051
|
}, e.name);
|
|
2033
2052
|
}),
|
|
2034
|
-
|
|
2053
|
+
ye.map((e) => /* @__PURE__ */ m("div", {
|
|
2035
2054
|
part: "addon addon-included",
|
|
2036
|
-
className: `p-3.5 rounded-2xl border flex items-center gap-3 ${
|
|
2055
|
+
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
2056
|
children: [
|
|
2038
|
-
/* @__PURE__ */ p(
|
|
2057
|
+
/* @__PURE__ */ p(ce, {
|
|
2039
2058
|
size: 16,
|
|
2040
2059
|
className: "text-emerald-500 shrink-0"
|
|
2041
2060
|
}),
|
|
2042
2061
|
/* @__PURE__ */ p("span", {
|
|
2043
|
-
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${
|
|
2062
|
+
className: `flex-1 min-w-0 text-sm font-semibold leading-snug ${g ? "text-zinc-300" : "text-slate-700"}`,
|
|
2044
2063
|
children: e.name
|
|
2045
2064
|
}),
|
|
2046
2065
|
/* @__PURE__ */ p("span", {
|
|
2047
|
-
className: `shrink-0 text-[11px] font-semibold px-2.5 py-1 rounded-full ${
|
|
2066
|
+
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
2067
|
children: "Included"
|
|
2049
2068
|
})
|
|
2050
2069
|
]
|
|
2051
2070
|
}, e.name))
|
|
2052
2071
|
]
|
|
2053
2072
|
}),
|
|
2054
|
-
|
|
2055
|
-
className: `px-5 sm:px-8 py-4 border-t flex items-center justify-between gap-3 ${
|
|
2073
|
+
Be > 0 && /* @__PURE__ */ m("div", {
|
|
2074
|
+
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
2075
|
children: [/* @__PURE__ */ p("span", {
|
|
2057
|
-
className: `text-sm font-semibold ${
|
|
2076
|
+
className: `text-sm font-semibold ${g ? "text-zinc-300" : "text-slate-600"}`,
|
|
2058
2077
|
children: "Total payable"
|
|
2059
2078
|
}), /* @__PURE__ */ p("span", {
|
|
2060
2079
|
className: "text-base font-bold tabular-nums",
|
|
2061
|
-
style: { color:
|
|
2062
|
-
children:
|
|
2080
|
+
style: { color: P },
|
|
2081
|
+
children: Q(Be)
|
|
2063
2082
|
})]
|
|
2064
2083
|
})
|
|
2065
2084
|
]
|
|
2066
2085
|
}),
|
|
2067
|
-
|
|
2086
|
+
V && /* @__PURE__ */ m("div", {
|
|
2068
2087
|
part: "accompany-card",
|
|
2069
|
-
className: `rounded-3xl border overflow-hidden ${
|
|
2088
|
+
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
2089
|
children: [/* @__PURE__ */ m("div", {
|
|
2071
2090
|
className: "flex items-center gap-3 px-5 sm:px-8 pt-5 sm:pt-6 pb-4",
|
|
2072
2091
|
children: [/* @__PURE__ */ p("div", {
|
|
2073
2092
|
className: "w-9 h-9 rounded-xl flex items-center justify-center shrink-0",
|
|
2074
2093
|
style: {
|
|
2075
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
2076
|
-
color:
|
|
2094
|
+
backgroundColor: `color-mix(in srgb, ${P} 12%, transparent)`,
|
|
2095
|
+
color: P
|
|
2077
2096
|
},
|
|
2078
2097
|
children: /* @__PURE__ */ p(at, { size: 17 })
|
|
2079
2098
|
}), /* @__PURE__ */ m("div", {
|
|
2080
2099
|
className: "min-w-0",
|
|
2081
2100
|
children: [/* @__PURE__ */ p("h3", {
|
|
2082
2101
|
part: "accompany-title",
|
|
2083
|
-
className: `text-sm font-semibold ${
|
|
2102
|
+
className: `text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
|
|
2084
2103
|
style: $,
|
|
2085
2104
|
children: "Accompanying people"
|
|
2086
2105
|
}), /* @__PURE__ */ m("p", {
|
|
2087
|
-
className: `text-xs ${
|
|
2088
|
-
children: [
|
|
2106
|
+
className: `text-xs ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
2107
|
+
children: [U > 0 ? `${Q(U)} per guest` : "No extra charge", Te ? ` · up to ${Te}` : ""]
|
|
2089
2108
|
})]
|
|
2090
2109
|
})]
|
|
2091
2110
|
}), /* @__PURE__ */ m("div", {
|
|
2092
2111
|
className: "px-5 sm:px-8 pb-5 sm:pb-6 space-y-3",
|
|
2093
|
-
children: [
|
|
2112
|
+
children: [W.map((e, t) => /* @__PURE__ */ m("div", {
|
|
2094
2113
|
part: "accompany-guest",
|
|
2095
|
-
className: `rounded-2xl border p-4 ${
|
|
2114
|
+
className: `rounded-2xl border p-4 ${g ? "border-zinc-800 bg-zinc-950/60" : "border-slate-200 bg-slate-50/70"}`,
|
|
2096
2115
|
children: [/* @__PURE__ */ m("div", {
|
|
2097
2116
|
className: "flex items-center justify-between gap-2 mb-3",
|
|
2098
2117
|
children: [/* @__PURE__ */ m("span", {
|
|
2099
|
-
className: `text-xs font-bold uppercase tracking-wider ${
|
|
2118
|
+
className: `text-xs font-bold uppercase tracking-wider ${g ? "text-zinc-400" : "text-slate-500"}`,
|
|
2100
2119
|
children: ["Guest ", t + 1]
|
|
2101
2120
|
}), /* @__PURE__ */ p("button", {
|
|
2102
2121
|
type: "button",
|
|
2103
|
-
onClick: () =>
|
|
2122
|
+
onClick: () => q(t),
|
|
2104
2123
|
title: "Remove guest",
|
|
2105
|
-
className: `shrink-0 p-1.5 rounded-lg cursor-pointer transition-colors ${
|
|
2124
|
+
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
2125
|
children: /* @__PURE__ */ p(Ze, { size: 15 })
|
|
2107
2126
|
})]
|
|
2108
2127
|
}), /* @__PURE__ */ p("div", {
|
|
2109
2128
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
|
|
2110
|
-
children:
|
|
2129
|
+
children: H.map((n) => Ie(n, e, t))
|
|
2111
2130
|
})]
|
|
2112
2131
|
}, t)), /* @__PURE__ */ m("button", {
|
|
2113
2132
|
type: "button",
|
|
2114
|
-
onClick:
|
|
2115
|
-
disabled: !
|
|
2133
|
+
onClick: De,
|
|
2134
|
+
disabled: !G,
|
|
2116
2135
|
style: {
|
|
2117
|
-
borderColor:
|
|
2118
|
-
color:
|
|
2136
|
+
borderColor: P,
|
|
2137
|
+
color: P
|
|
2119
2138
|
},
|
|
2120
2139
|
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 }),
|
|
2140
|
+
children: [/* @__PURE__ */ p(tt, { size: 16 }), G ? "Add guest" : `Limit of ${Te} reached`]
|
|
2122
2141
|
})]
|
|
2123
2142
|
})]
|
|
2124
2143
|
}),
|
|
@@ -2127,18 +2146,18 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2127
2146
|
children: [/* @__PURE__ */ m("button", {
|
|
2128
2147
|
part: "button button-primary submit-button",
|
|
2129
2148
|
type: "submit",
|
|
2130
|
-
disabled:
|
|
2149
|
+
disabled: E !== null || ee !== null,
|
|
2131
2150
|
style: {
|
|
2132
|
-
background: `linear-gradient(135deg, ${
|
|
2133
|
-
boxShadow: `0 12px 28px -12px color-mix(in srgb, ${
|
|
2151
|
+
background: `linear-gradient(135deg, ${P}, color-mix(in srgb, ${P} 80%, black))`,
|
|
2152
|
+
boxShadow: `0 12px 28px -12px color-mix(in srgb, ${P} 70%, transparent)`
|
|
2134
2153
|
},
|
|
2135
2154
|
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:
|
|
2155
|
+
children: [/* @__PURE__ */ p("span", { children: C ? "Submit Abstract" : "Complete Registration" }), /* @__PURE__ */ p(ie, {
|
|
2137
2156
|
size: 18,
|
|
2138
2157
|
className: "transition-transform group-hover:translate-x-0.5"
|
|
2139
2158
|
})]
|
|
2140
2159
|
}), /* @__PURE__ */ p("p", {
|
|
2141
|
-
className: `mt-3 text-center text-xs ${
|
|
2160
|
+
className: `mt-3 text-center text-xs ${g ? "text-zinc-500" : "text-slate-400"}`,
|
|
2142
2161
|
children: "Please review your details before submitting."
|
|
2143
2162
|
})]
|
|
2144
2163
|
})
|
|
@@ -2146,17 +2165,22 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2146
2165
|
})
|
|
2147
2166
|
})]
|
|
2148
2167
|
});
|
|
2149
|
-
}, mt =
|
|
2150
|
-
|
|
2168
|
+
}, mt = /* @__PURE__ */ new Set([
|
|
2169
|
+
"salutation",
|
|
2170
|
+
"name",
|
|
2171
|
+
"email",
|
|
2172
|
+
"phone"
|
|
2173
|
+
]), ht = ({ apiClient: e, storage: t, logger: n, primaryColor: r, isDark: i = !1, isWidgetPage: a = !1, onEvent: o, onError: c }) => {
|
|
2174
|
+
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, ee] = d(""), [te, O] = d(""), [k, A] = d(""), [j, re] = d(""), [M, N] = d(""), [se, le] = d(""), [de, pe] = d(!1), [F, me] = d(null), [I, he] = d({}), [L, ge] = d([]), [_e, R] = d({}), [be, z] = d(null), [Ce, B] = d(null), [H, Te] = d(null), [Ee, W] = d(!1), [K, q] = d(!1), [Y, X] = d({}), [Ae, Me] = d(!1), [Pe, Fe] = d(null), [Ie, Le] = d({}), [Z, Re] = d({}), [Q, Be] = d(null), [He, We] = d({}), [Ge, Ke] = d(!1);
|
|
2151
2175
|
s(() => {
|
|
2152
2176
|
let e = t.getToken();
|
|
2153
|
-
e &&
|
|
2177
|
+
e && Je(e);
|
|
2154
2178
|
}, []);
|
|
2155
|
-
let
|
|
2179
|
+
let Je = async (r) => {
|
|
2156
2180
|
g(!0), S(null);
|
|
2157
2181
|
try {
|
|
2158
2182
|
let i = await e.portalGetProfile(r), a = i?.data || i || {};
|
|
2159
|
-
|
|
2183
|
+
me(a);
|
|
2160
2184
|
let s = a.registration || {}, c = s.custom_data || {}, l = s.email || a.email || "", d = null;
|
|
2161
2185
|
if (l) try {
|
|
2162
2186
|
let t = await e.getDraftByEmail(l);
|
|
@@ -2174,7 +2198,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2174
2198
|
let f = d?.custom_data || {};
|
|
2175
2199
|
s.name ? O(s.name) : d?.name ? O(d.name) : a.name && O(a.name);
|
|
2176
2200
|
let p = 0, m = {}, h = [...a.editable_fields || []];
|
|
2177
|
-
|
|
2201
|
+
me({
|
|
2178
2202
|
...a,
|
|
2179
2203
|
editable_fields: h
|
|
2180
2204
|
});
|
|
@@ -2184,12 +2208,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2184
2208
|
let t = s[`${e.id}_asset_id`] || c[`${e.id}_asset_id`] || s.asset_id || c.asset_id || a.asset_id;
|
|
2185
2209
|
t && (g[e.id] = String(t));
|
|
2186
2210
|
}
|
|
2187
|
-
}),
|
|
2211
|
+
}), R((e) => ({
|
|
2188
2212
|
...g,
|
|
2189
2213
|
...e
|
|
2190
2214
|
}));
|
|
2191
2215
|
let _ = s.asset_id || s.photo_id || c.asset_id || c.photo_id || a.asset_id;
|
|
2192
|
-
_ &&
|
|
2216
|
+
_ && z(String(_)), h.length > 0 ? h.forEach((e) => {
|
|
2193
2217
|
let t = e.label || e.name || e.id, n = ut(e.id, e.label), r = dt(e.label, e.id), i = "";
|
|
2194
2218
|
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
2219
|
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 +2222,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2198
2222
|
m[e.id] = i;
|
|
2199
2223
|
}) : Object.entries(a).forEach(([e, t]) => {
|
|
2200
2224
|
e.toLowerCase() !== "token" && (m[e] = t);
|
|
2201
|
-
}),
|
|
2225
|
+
}), he(m), p > 0 && W(!0);
|
|
2202
2226
|
let v = (a.addons?.items || []).filter((e) => e.purchased).map((e) => e.name);
|
|
2203
2227
|
d?.selected_items && Array.isArray(d.selected_items) && d.selected_items.forEach((e) => {
|
|
2204
2228
|
let t = typeof e == "string" ? e : e?.name;
|
|
2205
2229
|
t && !v.includes(t) && v.push(t);
|
|
2206
|
-
}),
|
|
2230
|
+
}), ge(v), u("profile"), o?.("attendee_profile_loaded", {
|
|
2207
2231
|
profile: a,
|
|
2208
2232
|
draft: d
|
|
2209
2233
|
});
|
|
@@ -2212,7 +2236,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2212
2236
|
} finally {
|
|
2213
2237
|
g(!1);
|
|
2214
2238
|
}
|
|
2215
|
-
},
|
|
2239
|
+
}, Xe = async (r) => {
|
|
2216
2240
|
if (r.preventDefault(), !T.trim() || !D) {
|
|
2217
2241
|
S("Please enter both your identifier and password.");
|
|
2218
2242
|
return;
|
|
@@ -2227,7 +2251,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2227
2251
|
(n?.data?.name || n?.name) && O(n.data?.name || n.name), t.setToken(r), o?.("attendee_logged_in", {
|
|
2228
2252
|
identifier: T,
|
|
2229
2253
|
response: n
|
|
2230
|
-
}), await
|
|
2254
|
+
}), await Je(r);
|
|
2231
2255
|
} catch (e) {
|
|
2232
2256
|
n.error("Login failed", e);
|
|
2233
2257
|
let t = e.message || "Login failed. Please check your credentials.";
|
|
@@ -2239,14 +2263,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2239
2263
|
} finally {
|
|
2240
2264
|
g(!1);
|
|
2241
2265
|
}
|
|
2242
|
-
},
|
|
2266
|
+
}, Qe = async (t) => {
|
|
2243
2267
|
t.preventDefault();
|
|
2244
|
-
let r = (
|
|
2268
|
+
let r = (k || T).trim();
|
|
2245
2269
|
if (!r) {
|
|
2246
2270
|
S("Please enter your registration number or email to receive a code.");
|
|
2247
2271
|
return;
|
|
2248
2272
|
}
|
|
2249
|
-
|
|
2273
|
+
pe(!0), S(null), w(null);
|
|
2250
2274
|
try {
|
|
2251
2275
|
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
2276
|
} catch (e) {
|
|
@@ -2258,24 +2282,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2258
2282
|
error: e
|
|
2259
2283
|
});
|
|
2260
2284
|
} finally {
|
|
2261
|
-
|
|
2285
|
+
pe(!1);
|
|
2262
2286
|
}
|
|
2263
|
-
},
|
|
2287
|
+
}, et = async (r) => {
|
|
2264
2288
|
r.preventDefault();
|
|
2265
|
-
let i = (
|
|
2289
|
+
let i = (k || T).trim();
|
|
2266
2290
|
if (!i) {
|
|
2267
2291
|
S("Please enter your registration number or email.");
|
|
2268
2292
|
return;
|
|
2269
2293
|
}
|
|
2270
|
-
if (!
|
|
2294
|
+
if (!j.trim()) {
|
|
2271
2295
|
S("Please enter the verification code sent to your email.");
|
|
2272
2296
|
return;
|
|
2273
2297
|
}
|
|
2274
|
-
if (!
|
|
2298
|
+
if (!M) {
|
|
2275
2299
|
S("Please enter a new password.");
|
|
2276
2300
|
return;
|
|
2277
2301
|
}
|
|
2278
|
-
if (
|
|
2302
|
+
if (M !== se) {
|
|
2279
2303
|
S("New password and confirm password do not match.");
|
|
2280
2304
|
return;
|
|
2281
2305
|
}
|
|
@@ -2283,13 +2307,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2283
2307
|
try {
|
|
2284
2308
|
let n = await e.portalConfirmPasswordReset({
|
|
2285
2309
|
identifier: i,
|
|
2286
|
-
code:
|
|
2287
|
-
new_password:
|
|
2310
|
+
code: j.trim(),
|
|
2311
|
+
new_password: M
|
|
2288
2312
|
}), r = n?.data?.token || n?.token;
|
|
2289
2313
|
(n?.data?.name || n?.name) && O(n.data?.name || n.name), o?.("password_reset_success", {
|
|
2290
2314
|
identifier: i,
|
|
2291
2315
|
response: n
|
|
2292
|
-
}), r ? (t.setToken(r),
|
|
2316
|
+
}), r ? (t.setToken(r), re(""), N(""), le(""), await Je(r)) : (E(i), ee(""), re(""), N(""), le(""), u("login"), w("Password updated successfully! Please login with your new password."));
|
|
2293
2317
|
} catch (e) {
|
|
2294
2318
|
n.error("Password reset failed", e);
|
|
2295
2319
|
let t = e.message || "Failed to update password. Please check the code.";
|
|
@@ -2301,9 +2325,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2301
2325
|
} finally {
|
|
2302
2326
|
g(!1);
|
|
2303
2327
|
}
|
|
2304
|
-
},
|
|
2305
|
-
t.clearToken(),
|
|
2306
|
-
},
|
|
2328
|
+
}, tt = () => {
|
|
2329
|
+
t.clearToken(), me(null), he({}), ge([]), R({}), z(null), Te(null), O(""), ee(""), u("login"), w("Logged out successfully."), o?.("attendee_logged_out", {});
|
|
2330
|
+
}, nt = async (r, i) => {
|
|
2307
2331
|
let a = t.getToken();
|
|
2308
2332
|
if (!a) {
|
|
2309
2333
|
S("Session expired. Please log in again.");
|
|
@@ -2313,13 +2337,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2313
2337
|
try {
|
|
2314
2338
|
let t = await e.uploadFile(i, a), n = t?.data?.serve_url || t?.serve_url || "", s = t?.data?.asset_id || t?.asset_id;
|
|
2315
2339
|
if (!s && !n) throw Error("Upload response missing asset_id");
|
|
2316
|
-
n &&
|
|
2340
|
+
n && he((e) => ({
|
|
2317
2341
|
...e,
|
|
2318
2342
|
[r]: n
|
|
2319
|
-
})), s && (
|
|
2343
|
+
})), s && (R((e) => ({
|
|
2320
2344
|
...e,
|
|
2321
2345
|
[r]: String(s)
|
|
2322
|
-
})),
|
|
2346
|
+
})), z(String(s))), w(`File "${i.name}" uploaded successfully!`), o?.("portal_file_uploaded", {
|
|
2323
2347
|
fieldId: r,
|
|
2324
2348
|
serveUrl: n,
|
|
2325
2349
|
assetId: s,
|
|
@@ -2336,25 +2360,25 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2336
2360
|
} finally {
|
|
2337
2361
|
b(null);
|
|
2338
2362
|
}
|
|
2339
|
-
},
|
|
2363
|
+
}, it = async (r) => {
|
|
2340
2364
|
let i = t.getToken();
|
|
2341
2365
|
if (!i) {
|
|
2342
2366
|
S("Session expired. Please log in again.");
|
|
2343
2367
|
return;
|
|
2344
2368
|
}
|
|
2345
|
-
let a =
|
|
2346
|
-
|
|
2369
|
+
let a = I[r], s = lt(a) || _e[r] || be;
|
|
2370
|
+
B(r), S(null), w(null);
|
|
2347
2371
|
try {
|
|
2348
2372
|
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
2373
|
assetId: s,
|
|
2350
2374
|
fieldId: r
|
|
2351
|
-
})),
|
|
2375
|
+
})), he((e) => ({
|
|
2352
2376
|
...e,
|
|
2353
2377
|
[r]: ""
|
|
2354
|
-
})),
|
|
2378
|
+
})), R((e) => {
|
|
2355
2379
|
let t = { ...e };
|
|
2356
2380
|
return delete t[r], t;
|
|
2357
|
-
}),
|
|
2381
|
+
}), be === s && z(null), w("File removed successfully.");
|
|
2358
2382
|
} catch (e) {
|
|
2359
2383
|
n.error("Failed to delete file", e);
|
|
2360
2384
|
let t = e.message || "Failed to delete file. Please try again.";
|
|
@@ -2364,11 +2388,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2364
2388
|
error: e
|
|
2365
2389
|
});
|
|
2366
2390
|
} finally {
|
|
2367
|
-
|
|
2391
|
+
B(null);
|
|
2368
2392
|
}
|
|
2369
|
-
},
|
|
2370
|
-
t ||
|
|
2371
|
-
},
|
|
2393
|
+
}, ot = (e, t) => {
|
|
2394
|
+
t || ge((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
2395
|
+
}, st = async (r) => {
|
|
2372
2396
|
r.preventDefault();
|
|
2373
2397
|
let i = t.getToken();
|
|
2374
2398
|
if (!i) {
|
|
@@ -2377,14 +2401,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2377
2401
|
}
|
|
2378
2402
|
v(!0), S(null), w(null);
|
|
2379
2403
|
try {
|
|
2380
|
-
let t =
|
|
2404
|
+
let t = F?.editable_fields || [], n = { ...F?.registration?.custom_data || {} }, r = {};
|
|
2381
2405
|
t.forEach((e) => {
|
|
2382
|
-
let t =
|
|
2406
|
+
let t = I[e.id], i = e.label || e.name || e.id, a = dt(e.label, e.id), o = ut(e.id, e.label);
|
|
2383
2407
|
if (e.type === "file") {
|
|
2384
2408
|
let s = typeof t == "string" ? t : t?.serve_url || t?.url || "";
|
|
2385
2409
|
delete n[i], delete n[a], n[o] = s, r[o] = s, o !== e.id && (r[e.id] = s);
|
|
2386
2410
|
} 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 =
|
|
2411
|
+
}), r.custom_data = n, r.addons = L;
|
|
2388
2412
|
let a = await e.portalUpdateProfile(i, r);
|
|
2389
2413
|
o?.("attendee_profile_updated", {
|
|
2390
2414
|
payload: r,
|
|
@@ -2392,10 +2416,10 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2392
2416
|
});
|
|
2393
2417
|
let s = a?.data?.addon_checkout?.payment_url || a?.addon_checkout?.payment_url || a?.data?.payment_url || a?.payment_url;
|
|
2394
2418
|
if (s && typeof s == "string" && s.trim() !== "") {
|
|
2395
|
-
|
|
2419
|
+
Te(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
2420
|
return;
|
|
2397
2421
|
}
|
|
2398
|
-
w("Profile updated successfully!"), await
|
|
2422
|
+
w("Profile updated successfully!"), await Je(i);
|
|
2399
2423
|
} catch (e) {
|
|
2400
2424
|
n.error("Failed to update profile", e);
|
|
2401
2425
|
let t = e.message || "Failed to update profile. Please try again.";
|
|
@@ -2407,24 +2431,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2407
2431
|
} finally {
|
|
2408
2432
|
v(!1);
|
|
2409
2433
|
}
|
|
2410
|
-
},
|
|
2411
|
-
let e =
|
|
2434
|
+
}, ct = () => {
|
|
2435
|
+
let e = F?.review_submission;
|
|
2412
2436
|
if (!e) return;
|
|
2413
2437
|
let t = e.custom_data || {}, n = {}, r = {};
|
|
2414
2438
|
(e.editable_fields || []).forEach((i) => {
|
|
2415
2439
|
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
|
-
},
|
|
2440
|
+
}), X(n), Re(r), Le({}), q(!0);
|
|
2441
|
+
}, ft = (e) => {
|
|
2418
2442
|
if (Ie[e.id]) return Ie[e.id];
|
|
2419
2443
|
let t = e.current_file;
|
|
2420
2444
|
return t && !t.serve_url && t.text ? "text" : "file";
|
|
2421
|
-
},
|
|
2445
|
+
}, pt = async (r, i) => {
|
|
2422
2446
|
let a = t.getToken();
|
|
2423
2447
|
if (!a) {
|
|
2424
2448
|
S("Session expired. Please log in again.");
|
|
2425
2449
|
return;
|
|
2426
2450
|
}
|
|
2427
|
-
let s = (
|
|
2451
|
+
let s = (F?.review_submission?.editable_fields || []).find((e) => e.id === r), l = s?.current_file?.id;
|
|
2428
2452
|
Fe(r), S(null), w(null);
|
|
2429
2453
|
try {
|
|
2430
2454
|
if (l) try {
|
|
@@ -2434,7 +2458,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2434
2458
|
}
|
|
2435
2459
|
let t = await e.uploadFile(i, a, null, s?.label), c = t?.data?.asset_id || t?.asset_id;
|
|
2436
2460
|
if (!c) throw Error("Upload response missing asset_id");
|
|
2437
|
-
|
|
2461
|
+
X((e) => ({
|
|
2438
2462
|
...e,
|
|
2439
2463
|
[r]: String(c)
|
|
2440
2464
|
})), w(`File "${i.name}" uploaded successfully!`), o?.("portal_submission_file_uploaded", {
|
|
@@ -2453,7 +2477,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2453
2477
|
} finally {
|
|
2454
2478
|
Fe(null);
|
|
2455
2479
|
}
|
|
2456
|
-
},
|
|
2480
|
+
}, ht = async (r) => {
|
|
2457
2481
|
let i = t.getToken();
|
|
2458
2482
|
if (!i) {
|
|
2459
2483
|
S("Session expired. Please log in again.");
|
|
@@ -2464,12 +2488,12 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2464
2488
|
Fe(r), S(null), w(null);
|
|
2465
2489
|
try {
|
|
2466
2490
|
let t = await e.portalUpdateSubmission(i, { [r]: { text: a } }), n = t?.data || t;
|
|
2467
|
-
|
|
2491
|
+
me((e) => ({
|
|
2468
2492
|
...e,
|
|
2469
2493
|
review_submission: n
|
|
2470
2494
|
}));
|
|
2471
2495
|
let s = (n?.editable_fields || []).find((e) => e.id === r)?.current_file?.id;
|
|
2472
|
-
s &&
|
|
2496
|
+
s && X((e) => ({
|
|
2473
2497
|
...e,
|
|
2474
2498
|
[r]: String(s)
|
|
2475
2499
|
})), w("Text answer saved!"), o?.("portal_submission_text_saved", { fieldId: r });
|
|
@@ -2485,17 +2509,17 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2485
2509
|
Fe(null);
|
|
2486
2510
|
}
|
|
2487
2511
|
}
|
|
2488
|
-
},
|
|
2512
|
+
}, gt = async (r) => {
|
|
2489
2513
|
r.preventDefault();
|
|
2490
2514
|
let i = t.getToken();
|
|
2491
2515
|
if (!i) {
|
|
2492
2516
|
S("Session expired. Please log in again.");
|
|
2493
2517
|
return;
|
|
2494
2518
|
}
|
|
2495
|
-
|
|
2519
|
+
Me(!0), S(null), w(null);
|
|
2496
2520
|
try {
|
|
2497
2521
|
let t = await e.portalUpdateSubmission(i, Y), n = t?.data || t;
|
|
2498
|
-
|
|
2522
|
+
me((e) => ({
|
|
2499
2523
|
...e,
|
|
2500
2524
|
review_submission: n
|
|
2501
2525
|
})), q(!1), w("Your submission was updated successfully!"), o?.("attendee_submission_updated", {
|
|
@@ -2511,9 +2535,51 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2511
2535
|
error: e
|
|
2512
2536
|
});
|
|
2513
2537
|
} finally {
|
|
2514
|
-
|
|
2538
|
+
Me(!1);
|
|
2539
|
+
}
|
|
2540
|
+
}, _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) ? {
|
|
2541
|
+
...n,
|
|
2542
|
+
[e.id]: t
|
|
2543
|
+
} : {
|
|
2544
|
+
...n,
|
|
2545
|
+
custom_data: {
|
|
2546
|
+
...n.custom_data || {},
|
|
2547
|
+
[_t(e)]: t
|
|
2548
|
+
}
|
|
2549
|
+
}), bt = (e) => {
|
|
2550
|
+
Be(e.id), S(null), We({
|
|
2551
|
+
id: e.id,
|
|
2552
|
+
salutation: e.salutation || "",
|
|
2553
|
+
name: e.name || "",
|
|
2554
|
+
email: e.email || "",
|
|
2555
|
+
phone: e.phone || "",
|
|
2556
|
+
custom_data: { ...e.custom_data || {} }
|
|
2557
|
+
});
|
|
2558
|
+
}, xt = async () => {
|
|
2559
|
+
let r = t.getToken();
|
|
2560
|
+
if (!r) {
|
|
2561
|
+
S("Session expired. Please log in again.");
|
|
2562
|
+
return;
|
|
2515
2563
|
}
|
|
2516
|
-
|
|
2564
|
+
Ke(!0), S(null), w(null);
|
|
2565
|
+
try {
|
|
2566
|
+
let t = await e.portalUpdateProfile(r, { accompanying: [He] });
|
|
2567
|
+
Be(null), w("Accompanying person updated."), o?.("attendee_accompanying_updated", {
|
|
2568
|
+
payload: He,
|
|
2569
|
+
response: t
|
|
2570
|
+
}), await Je(r);
|
|
2571
|
+
} catch (e) {
|
|
2572
|
+
n.error("Failed to update accompanying person", e);
|
|
2573
|
+
let t = e.message || "Could not update this person. Please try again.";
|
|
2574
|
+
S(t), c?.({
|
|
2575
|
+
type: "accompanying_update_error",
|
|
2576
|
+
message: t,
|
|
2577
|
+
error: e
|
|
2578
|
+
});
|
|
2579
|
+
} finally {
|
|
2580
|
+
Ke(!1);
|
|
2581
|
+
}
|
|
2582
|
+
}, St = () => /* @__PURE__ */ m("div", {
|
|
2517
2583
|
className: "absolute inset-0 pointer-events-none overflow-hidden z-0 select-none",
|
|
2518
2584
|
children: [
|
|
2519
2585
|
/* @__PURE__ */ p("div", {
|
|
@@ -2540,9 +2606,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2540
2606
|
}
|
|
2541
2607
|
})
|
|
2542
2608
|
]
|
|
2543
|
-
}),
|
|
2609
|
+
}), Ct = (e) => {
|
|
2544
2610
|
let t = (e.label || e.id || "").toLowerCase(), n = e.type;
|
|
2545
|
-
return n === "email" || t.includes("email") || t.includes("mail") ? /* @__PURE__ */ p(
|
|
2611
|
+
return n === "email" || t.includes("email") || t.includes("mail") ? /* @__PURE__ */ p(je, {
|
|
2546
2612
|
size: 13,
|
|
2547
2613
|
className: "shrink-0",
|
|
2548
2614
|
style: { color: r }
|
|
@@ -2558,30 +2624,30 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2558
2624
|
size: 13,
|
|
2559
2625
|
className: "shrink-0",
|
|
2560
2626
|
style: { color: r }
|
|
2561
|
-
}) : t.includes("designat") || t.includes("role") || t.includes("position") || t.includes("profession") ? /* @__PURE__ */ p(
|
|
2627
|
+
}) : t.includes("designat") || t.includes("role") || t.includes("position") || t.includes("profession") ? /* @__PURE__ */ p(ae, {
|
|
2562
2628
|
size: 13,
|
|
2563
2629
|
className: "shrink-0",
|
|
2564
2630
|
style: { color: r }
|
|
2565
|
-
}) : t.includes("specialis") || t.includes("specializ") || t.includes("department") || t.includes("degree") ? /* @__PURE__ */ p(
|
|
2631
|
+
}) : t.includes("specialis") || t.includes("specializ") || t.includes("department") || t.includes("degree") ? /* @__PURE__ */ p(V, {
|
|
2566
2632
|
size: 13,
|
|
2567
2633
|
className: "shrink-0",
|
|
2568
2634
|
style: { color: r }
|
|
2569
|
-
}) : t.includes("organi") || t.includes("institute") || t.includes("hospital") || t.includes("company") || t.includes("college") ? /* @__PURE__ */ p(
|
|
2635
|
+
}) : t.includes("organi") || t.includes("institute") || t.includes("hospital") || t.includes("company") || t.includes("college") ? /* @__PURE__ */ p(oe, {
|
|
2570
2636
|
size: 13,
|
|
2571
2637
|
className: "shrink-0",
|
|
2572
2638
|
style: { color: r }
|
|
2573
|
-
}) : t.includes("city") || t.includes("state") || t.includes("country") || t.includes("address") ? /* @__PURE__ */ p(
|
|
2639
|
+
}) : t.includes("city") || t.includes("state") || t.includes("country") || t.includes("address") ? /* @__PURE__ */ p(Ne, {
|
|
2574
2640
|
size: 13,
|
|
2575
2641
|
className: "shrink-0",
|
|
2576
2642
|
style: { color: r }
|
|
2577
|
-
}) : p(n === "file" ?
|
|
2643
|
+
}) : p(n === "file" ? we : Se, {
|
|
2578
2644
|
size: 13,
|
|
2579
2645
|
className: "shrink-0",
|
|
2580
2646
|
style: { color: r }
|
|
2581
2647
|
});
|
|
2582
|
-
},
|
|
2648
|
+
}, wt = (e, t = "w-full", n = []) => {
|
|
2583
2649
|
if (!e) return null;
|
|
2584
|
-
let r = n.includes(e.id) || n.includes(ut(e.id, e.label)), a =
|
|
2650
|
+
let r = n.includes(e.id) || n.includes(ut(e.id, e.label)), a = I[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
2651
|
return /* @__PURE__ */ m("div", {
|
|
2586
2652
|
className: `${t} px-2 mb-4`,
|
|
2587
2653
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2593,7 +2659,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2593
2659
|
children: [
|
|
2594
2660
|
/* @__PURE__ */ p("span", {
|
|
2595
2661
|
className: i ? "text-zinc-500" : "text-slate-400",
|
|
2596
|
-
children:
|
|
2662
|
+
children: Ct(e)
|
|
2597
2663
|
}),
|
|
2598
2664
|
/* @__PURE__ */ p("span", { children: e.label }),
|
|
2599
2665
|
e.required && /* @__PURE__ */ p("span", {
|
|
@@ -2612,8 +2678,8 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2612
2678
|
id: o,
|
|
2613
2679
|
disabled: r,
|
|
2614
2680
|
value: a,
|
|
2615
|
-
onChange: (t) =>
|
|
2616
|
-
...
|
|
2681
|
+
onChange: (t) => he({
|
|
2682
|
+
...I,
|
|
2617
2683
|
[e.id]: t.target.value
|
|
2618
2684
|
}),
|
|
2619
2685
|
className: `${s} pr-9 appearance-none cursor-pointer flex items-center`,
|
|
@@ -2632,24 +2698,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2632
2698
|
}, e))]
|
|
2633
2699
|
}), /* @__PURE__ */ p("div", {
|
|
2634
2700
|
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(
|
|
2701
|
+
children: /* @__PURE__ */ p(ue, { size: 15 })
|
|
2636
2702
|
})]
|
|
2637
|
-
}) : e.type === "file" ?
|
|
2703
|
+
}) : e.type === "file" ? Tt(e, r, a) : /* @__PURE__ */ p("input", {
|
|
2638
2704
|
part: "input",
|
|
2639
2705
|
id: o,
|
|
2640
2706
|
type: e.type === "phone" ? "tel" : e.type === "email" ? "email" : "text",
|
|
2641
2707
|
disabled: r,
|
|
2642
2708
|
value: a,
|
|
2643
2709
|
placeholder: e.placeholder || `Enter ${e.label.toLowerCase()}`,
|
|
2644
|
-
onChange: (t) =>
|
|
2645
|
-
...
|
|
2710
|
+
onChange: (t) => he({
|
|
2711
|
+
...I,
|
|
2646
2712
|
[e.id]: t.target.value
|
|
2647
2713
|
}),
|
|
2648
2714
|
className: s
|
|
2649
2715
|
})]
|
|
2650
2716
|
}, 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" ?
|
|
2717
|
+
}, Tt = (e, t, n) => {
|
|
2718
|
+
let a = y === e.id, o = e.label || e.name || e.id, s = F?.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
2719
|
return /* @__PURE__ */ p("div", {
|
|
2654
2720
|
className: "space-y-2",
|
|
2655
2721
|
children: /* @__PURE__ */ m("div", {
|
|
@@ -2667,48 +2733,54 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2667
2733
|
borderColor: i ? "rgba(255,255,255,0.12)" : `color-mix(in srgb, ${r} 20%, white)`,
|
|
2668
2734
|
color: r
|
|
2669
2735
|
},
|
|
2670
|
-
children: /* @__PURE__ */ p(
|
|
2736
|
+
children: /* @__PURE__ */ p(we, { size: 16 })
|
|
2671
2737
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
|
|
2672
2738
|
className: `text-xs font-bold ${i ? "text-zinc-200" : "text-gray-900"}`,
|
|
2673
2739
|
children: o
|
|
2674
2740
|
}), /* @__PURE__ */ p("p", {
|
|
2675
2741
|
className: `text-2xs font-medium ${i ? "text-zinc-400" : "text-gray-500"}`,
|
|
2676
|
-
children: n ? "Document attached" : "Choose a file to upload"
|
|
2742
|
+
children: u ? "Answered with text" : n ? "Document attached" : "Choose a file to upload"
|
|
2677
2743
|
})] })]
|
|
2678
2744
|
}), /* @__PURE__ */ p("div", {
|
|
2679
2745
|
className: "flex items-center gap-2",
|
|
2680
|
-
children:
|
|
2681
|
-
href:
|
|
2746
|
+
children: (l.trim() !== "" || u) && /* @__PURE__ */ m(f, { children: [l.trim() !== "" && /* @__PURE__ */ m("a", {
|
|
2747
|
+
href: l,
|
|
2682
2748
|
target: "_blank",
|
|
2683
2749
|
rel: "noopener noreferrer",
|
|
2684
2750
|
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
2751
|
style: { backgroundColor: r },
|
|
2686
2752
|
title: "Open file in new tab",
|
|
2687
2753
|
children: [
|
|
2688
|
-
/* @__PURE__ */ p(
|
|
2754
|
+
/* @__PURE__ */ p(Se, { size: 13 }),
|
|
2689
2755
|
/* @__PURE__ */ p("span", { children: "View" }),
|
|
2690
|
-
/* @__PURE__ */ p(
|
|
2756
|
+
/* @__PURE__ */ p(xe, { size: 11 })
|
|
2691
2757
|
]
|
|
2692
2758
|
}), !t && /* @__PURE__ */ m("button", {
|
|
2693
2759
|
type: "button",
|
|
2694
|
-
disabled:
|
|
2695
|
-
onClick: () =>
|
|
2760
|
+
disabled: Ce === e.id || a,
|
|
2761
|
+
onClick: () => it(e.id),
|
|
2696
2762
|
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
2763
|
title: "Remove file",
|
|
2698
|
-
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children:
|
|
2764
|
+
children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: Ce === e.id ? "Deleting..." : "Delete" })]
|
|
2699
2765
|
})] })
|
|
2700
2766
|
})]
|
|
2701
2767
|
}),
|
|
2702
|
-
|
|
2768
|
+
u ? /* @__PURE__ */ p("div", {
|
|
2769
|
+
className: `mt-2 pt-2 border-t ${i ? "border-zinc-800" : "border-gray-200"}`,
|
|
2770
|
+
children: /* @__PURE__ */ p("p", {
|
|
2771
|
+
className: `text-2xs whitespace-pre-wrap break-words m-0 ${i ? "text-zinc-300" : "text-gray-700"}`,
|
|
2772
|
+
children: u
|
|
2773
|
+
})
|
|
2774
|
+
}) : n ? /* @__PURE__ */ m("div", {
|
|
2703
2775
|
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(
|
|
2776
|
+
children: [/* @__PURE__ */ p(ce, {
|
|
2705
2777
|
size: 12,
|
|
2706
2778
|
className: "text-emerald-500 shrink-0"
|
|
2707
2779
|
}), /* @__PURE__ */ m("span", {
|
|
2708
2780
|
className: "truncate",
|
|
2709
|
-
children: ["Attached: ",
|
|
2781
|
+
children: ["Attached: ", d]
|
|
2710
2782
|
})]
|
|
2711
|
-
}),
|
|
2783
|
+
}) : null,
|
|
2712
2784
|
!t && /* @__PURE__ */ p("div", {
|
|
2713
2785
|
className: `mt-3 pt-3 border-t ${i ? "border-zinc-800" : "border-slate-200"}`,
|
|
2714
2786
|
children: /* @__PURE__ */ m("label", {
|
|
@@ -2721,7 +2793,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2721
2793
|
disabled: a,
|
|
2722
2794
|
onChange: (t) => {
|
|
2723
2795
|
let n = t.target.files?.[0];
|
|
2724
|
-
n &&
|
|
2796
|
+
n && nt(e.id, n), t.target.value = "";
|
|
2725
2797
|
}
|
|
2726
2798
|
}), /* @__PURE__ */ m("div", {
|
|
2727
2799
|
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 +2808,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2736
2808
|
})
|
|
2737
2809
|
});
|
|
2738
2810
|
};
|
|
2739
|
-
if (l === "profile" && !
|
|
2811
|
+
if (l === "profile" && !F) {
|
|
2740
2812
|
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
2813
|
return /* @__PURE__ */ m("div", {
|
|
2742
2814
|
role: "status",
|
|
@@ -2748,7 +2820,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2748
2820
|
className: "sr-only",
|
|
2749
2821
|
children: "Loading your profile…"
|
|
2750
2822
|
}),
|
|
2751
|
-
|
|
2823
|
+
St(),
|
|
2752
2824
|
/* @__PURE__ */ m("div", {
|
|
2753
2825
|
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
2826
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2790,14 +2862,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2790
2862
|
});
|
|
2791
2863
|
}
|
|
2792
2864
|
if (l === "profile") {
|
|
2793
|
-
let e =
|
|
2865
|
+
let e = F?.registration || {}, t = F?.editable_fields || [], n = F?.locked_fields || [], o = Array.isArray(F?.payment) ? F.payment : F?.payment ? [F.payment] : [], s = o.filter((e) => e.state !== "not_required"), c = o[0], l = F?.addons?.items || [], u = F?.badge || null, d = F?.accompanying || [], h = F?.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 = F?.review_submission || null, b = te || "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
2866
|
{
|
|
2795
2867
|
label: "Registration no.",
|
|
2796
2868
|
value: e.registration_number || "N/A",
|
|
2797
2869
|
mono: !0
|
|
2798
2870
|
},
|
|
2799
2871
|
{
|
|
2800
|
-
label: "
|
|
2872
|
+
label: "Registration type",
|
|
2801
2873
|
value: e.registration_type || "N/A"
|
|
2802
2874
|
},
|
|
2803
2875
|
...c && c.state !== "not_required" ? [{
|
|
@@ -2812,14 +2884,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2812
2884
|
onScroll: a ? void 0 : (e) => {
|
|
2813
2885
|
e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0);
|
|
2814
2886
|
},
|
|
2815
|
-
children: [
|
|
2887
|
+
children: [St(), /* @__PURE__ */ p("div", {
|
|
2816
2888
|
className: `${a ? "w-full flex-1" : "flex-1 overflow-y-auto min-h-0 overscroll-contain"} relative z-10`,
|
|
2817
2889
|
children: /* @__PURE__ */ m("div", {
|
|
2818
2890
|
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
2891
|
children: [
|
|
2820
2892
|
/* @__PURE__ */ m("div", {
|
|
2821
2893
|
part: "portal-card profile-card",
|
|
2822
|
-
className:
|
|
2894
|
+
className: w,
|
|
2823
2895
|
children: [/* @__PURE__ */ m("div", {
|
|
2824
2896
|
className: "flex items-start justify-between gap-3",
|
|
2825
2897
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2828,7 +2900,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2828
2900
|
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
2901
|
style: { background: `linear-gradient(135deg, ${r}, color-mix(in srgb, ${r} 75%, black))` },
|
|
2830
2902
|
"aria-hidden": "true",
|
|
2831
|
-
children:
|
|
2903
|
+
children: S
|
|
2832
2904
|
}), /* @__PURE__ */ m("div", {
|
|
2833
2905
|
className: "min-w-0",
|
|
2834
2906
|
children: [/* @__PURE__ */ m("div", {
|
|
@@ -2837,30 +2909,30 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2837
2909
|
part: "portal-title",
|
|
2838
2910
|
style: $,
|
|
2839
2911
|
className: `text-lg sm:text-xl font-bold tracking-tight break-words ${i ? "text-white" : "text-slate-900"}`,
|
|
2840
|
-
children:
|
|
2912
|
+
children: b
|
|
2841
2913
|
}), e.status && /* @__PURE__ */ p("span", {
|
|
2842
2914
|
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
2915
|
children: e.status
|
|
2844
2916
|
})]
|
|
2845
2917
|
}), /* @__PURE__ */ p("p", {
|
|
2846
|
-
className: `text-[13px] mt-0.5 ${
|
|
2918
|
+
className: `text-[13px] mt-0.5 ${T}`,
|
|
2847
2919
|
children: "Manage your registration and details"
|
|
2848
2920
|
})]
|
|
2849
2921
|
})]
|
|
2850
2922
|
}), /* @__PURE__ */ m("button", {
|
|
2851
2923
|
part: "button button-secondary logout-button",
|
|
2852
|
-
onClick:
|
|
2924
|
+
onClick: tt,
|
|
2853
2925
|
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
2926
|
title: "Logout",
|
|
2855
2927
|
"aria-label": "Logout",
|
|
2856
|
-
children: [/* @__PURE__ */ p(
|
|
2928
|
+
children: [/* @__PURE__ */ p(ke, { size: 14 }), /* @__PURE__ */ p("span", {
|
|
2857
2929
|
className: "hidden sm:inline",
|
|
2858
2930
|
children: "Logout"
|
|
2859
2931
|
})]
|
|
2860
2932
|
})]
|
|
2861
2933
|
}), /* @__PURE__ */ p("dl", {
|
|
2862
|
-
className: `mt-5 pt-5 border-t grid grid-cols-2 ${
|
|
2863
|
-
children:
|
|
2934
|
+
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"}`,
|
|
2935
|
+
children: D.map((e) => /* @__PURE__ */ m("div", {
|
|
2864
2936
|
className: "min-w-0",
|
|
2865
2937
|
children: [/* @__PURE__ */ p("dt", {
|
|
2866
2938
|
className: `text-[11px] font-semibold uppercase tracking-wider ${i ? "text-zinc-500" : "text-slate-400"}`,
|
|
@@ -2873,36 +2945,36 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2873
2945
|
})]
|
|
2874
2946
|
}),
|
|
2875
2947
|
/* @__PURE__ */ m("form", {
|
|
2876
|
-
onSubmit:
|
|
2948
|
+
onSubmit: st,
|
|
2877
2949
|
className: "space-y-5",
|
|
2878
2950
|
children: [
|
|
2879
2951
|
t.length === 0 ? /* @__PURE__ */ p("div", {
|
|
2880
|
-
className: `${
|
|
2952
|
+
className: `${w} text-center text-sm ${T}`,
|
|
2881
2953
|
children: "No editable fields configured."
|
|
2882
2954
|
}) : /* @__PURE__ */ m("div", {
|
|
2883
2955
|
part: "portal-card details-card",
|
|
2884
|
-
className:
|
|
2956
|
+
className: w,
|
|
2885
2957
|
children: [/* @__PURE__ */ m("div", {
|
|
2886
2958
|
className: "flex items-start justify-between gap-3 mb-5",
|
|
2887
2959
|
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
2888
|
-
className:
|
|
2960
|
+
className: E,
|
|
2889
2961
|
style: $,
|
|
2890
2962
|
children: "Your details"
|
|
2891
2963
|
}), /* @__PURE__ */ p("p", {
|
|
2892
|
-
className: `text-[13px] mt-0.5 ${
|
|
2964
|
+
className: `text-[13px] mt-0.5 ${T}`,
|
|
2893
2965
|
children: "Keep your information up to date."
|
|
2894
2966
|
})] }), Ee && /* @__PURE__ */ m("span", {
|
|
2895
2967
|
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(
|
|
2968
|
+
children: [/* @__PURE__ */ p(ce, { size: 11 }), " Draft restored"]
|
|
2897
2969
|
})]
|
|
2898
2970
|
}), /* @__PURE__ */ p("div", {
|
|
2899
2971
|
className: "flex flex-wrap -mx-2 -mb-4",
|
|
2900
|
-
children: t.map((e) =>
|
|
2972
|
+
children: t.map((e) => wt(e, e.type === "file" || e.width === "full" ? "w-full" : "w-full md:w-1/2", n))
|
|
2901
2973
|
})]
|
|
2902
2974
|
}),
|
|
2903
2975
|
l.length > 0 && /* @__PURE__ */ m("div", {
|
|
2904
2976
|
part: "portal-card addons-card",
|
|
2905
|
-
className:
|
|
2977
|
+
className: w,
|
|
2906
2978
|
children: [/* @__PURE__ */ p("div", {
|
|
2907
2979
|
className: "flex items-start justify-between gap-3 mb-4",
|
|
2908
2980
|
children: /* @__PURE__ */ m("div", {
|
|
@@ -2915,18 +2987,18 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2915
2987
|
},
|
|
2916
2988
|
children: /* @__PURE__ */ p(Ye, { size: 17 })
|
|
2917
2989
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
2918
|
-
className:
|
|
2990
|
+
className: E,
|
|
2919
2991
|
style: $,
|
|
2920
2992
|
children: "Add-ons"
|
|
2921
2993
|
}), /* @__PURE__ */ p("p", {
|
|
2922
|
-
className: `text-[13px] ${
|
|
2994
|
+
className: `text-[13px] ${T}`,
|
|
2923
2995
|
children: "Select items to add to your registration"
|
|
2924
2996
|
})] })]
|
|
2925
2997
|
})
|
|
2926
2998
|
}), /* @__PURE__ */ p("div", {
|
|
2927
2999
|
className: "space-y-2",
|
|
2928
3000
|
children: l.map((e) => {
|
|
2929
|
-
let t = !!e.purchased, n =
|
|
3001
|
+
let t = !!e.purchased, n = L.includes(e.name);
|
|
2930
3002
|
return /* @__PURE__ */ m("label", {
|
|
2931
3003
|
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
3004
|
style: n && !t ? {
|
|
@@ -2938,7 +3010,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2938
3010
|
type: "checkbox",
|
|
2939
3011
|
checked: n,
|
|
2940
3012
|
disabled: t,
|
|
2941
|
-
onChange: () =>
|
|
3013
|
+
onChange: () => ot(e.name, t),
|
|
2942
3014
|
className: "w-4 h-4 rounded cursor-pointer shrink-0 disabled:cursor-default",
|
|
2943
3015
|
style: { accentColor: r }
|
|
2944
3016
|
}),
|
|
@@ -2959,7 +3031,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
2959
3031
|
}),
|
|
2960
3032
|
t && /* @__PURE__ */ m("span", {
|
|
2961
3033
|
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(
|
|
3034
|
+
children: [/* @__PURE__ */ p(ce, { size: 12 }), " Purchased"]
|
|
2963
3035
|
})
|
|
2964
3036
|
]
|
|
2965
3037
|
}, e.name);
|
|
@@ -3001,7 +3073,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3001
3073
|
}),
|
|
3002
3074
|
u && /* @__PURE__ */ m("div", {
|
|
3003
3075
|
part: "portal-card badge-card",
|
|
3004
|
-
className:
|
|
3076
|
+
className: w,
|
|
3005
3077
|
children: [
|
|
3006
3078
|
/* @__PURE__ */ m("div", {
|
|
3007
3079
|
className: "flex items-center gap-3 mb-4",
|
|
@@ -3011,13 +3083,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3011
3083
|
backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
|
|
3012
3084
|
color: r
|
|
3013
3085
|
},
|
|
3014
|
-
children: /* @__PURE__ */ p(
|
|
3086
|
+
children: /* @__PURE__ */ p(U, { size: 17 })
|
|
3015
3087
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
3016
|
-
className:
|
|
3088
|
+
className: E,
|
|
3017
3089
|
style: $,
|
|
3018
3090
|
children: "Your badge"
|
|
3019
3091
|
}), /* @__PURE__ */ p("p", {
|
|
3020
|
-
className: `text-[13px] ${
|
|
3092
|
+
className: `text-[13px] ${T}`,
|
|
3021
3093
|
children: "View or download your event badge."
|
|
3022
3094
|
})] })]
|
|
3023
3095
|
}),
|
|
@@ -3036,7 +3108,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3036
3108
|
target: "_blank",
|
|
3037
3109
|
rel: "noopener noreferrer",
|
|
3038
3110
|
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(
|
|
3111
|
+
children: [/* @__PURE__ */ p(xe, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
|
|
3040
3112
|
}), /* @__PURE__ */ m("a", {
|
|
3041
3113
|
href: u,
|
|
3042
3114
|
download: !0,
|
|
@@ -3044,14 +3116,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3044
3116
|
rel: "noopener noreferrer",
|
|
3045
3117
|
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white",
|
|
3046
3118
|
style: { backgroundColor: r },
|
|
3047
|
-
children: [/* @__PURE__ */ p(
|
|
3119
|
+
children: [/* @__PURE__ */ p(ye, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
|
|
3048
3120
|
})]
|
|
3049
3121
|
})
|
|
3050
3122
|
]
|
|
3051
3123
|
}),
|
|
3052
3124
|
d.length > 0 && /* @__PURE__ */ m("div", {
|
|
3053
3125
|
part: "portal-card accompanying-card",
|
|
3054
|
-
className:
|
|
3126
|
+
className: w,
|
|
3055
3127
|
children: [/* @__PURE__ */ m("div", {
|
|
3056
3128
|
className: "flex items-center gap-3 mb-4",
|
|
3057
3129
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -3062,11 +3134,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3062
3134
|
},
|
|
3063
3135
|
children: /* @__PURE__ */ p(at, { size: 17 })
|
|
3064
3136
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
3065
|
-
className:
|
|
3137
|
+
className: E,
|
|
3066
3138
|
style: $,
|
|
3067
3139
|
children: "Accompanying people"
|
|
3068
3140
|
}), /* @__PURE__ */ m("p", {
|
|
3069
|
-
className: `text-[13px] ${
|
|
3141
|
+
className: `text-[13px] ${T}`,
|
|
3070
3142
|
children: [d.length, " registered with you, each with their own badge."]
|
|
3071
3143
|
})] })]
|
|
3072
3144
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -3074,55 +3146,132 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3074
3146
|
children: d.map((e) => /* @__PURE__ */ m("div", {
|
|
3075
3147
|
part: "accompanying-person",
|
|
3076
3148
|
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
|
-
|
|
3149
|
+
children: [
|
|
3150
|
+
/* @__PURE__ */ m("div", {
|
|
3151
|
+
className: "flex items-start justify-between gap-3 flex-wrap",
|
|
3152
|
+
children: [/* @__PURE__ */ m("div", {
|
|
3153
|
+
className: "min-w-0",
|
|
3154
|
+
children: [/* @__PURE__ */ p("div", {
|
|
3155
|
+
className: `text-sm font-semibold ${i ? "text-white" : "text-slate-900"}`,
|
|
3156
|
+
children: [e.salutation, e.name].filter(Boolean).join(" ")
|
|
3157
|
+
}), /* @__PURE__ */ p("div", {
|
|
3158
|
+
className: `text-xs mt-0.5 truncate ${T}`,
|
|
3159
|
+
children: [e.registration_number, e.email].filter(Boolean).join(" · ")
|
|
3160
|
+
})]
|
|
3161
|
+
}), /* @__PURE__ */ m("div", {
|
|
3162
|
+
className: "flex items-center gap-2 shrink-0",
|
|
3163
|
+
children: [/* @__PURE__ */ p("span", {
|
|
3164
|
+
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"}`,
|
|
3165
|
+
children: e.status
|
|
3166
|
+
}), h.length > 0 && Q !== e.id && /* @__PURE__ */ m("button", {
|
|
3167
|
+
type: "button",
|
|
3168
|
+
onClick: () => bt(e),
|
|
3169
|
+
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"}`,
|
|
3170
|
+
children: [/* @__PURE__ */ p(rt, { size: 12 }), /* @__PURE__ */ p("span", { children: "Edit" })]
|
|
3171
|
+
})]
|
|
3087
3172
|
})]
|
|
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
|
-
|
|
3173
|
+
}),
|
|
3174
|
+
Q === e.id && /* @__PURE__ */ m("div", {
|
|
3175
|
+
className: "mt-4 space-y-3",
|
|
3176
|
+
children: [h.map((t) => {
|
|
3177
|
+
let n = e.file_answers?.[_t(t)];
|
|
3178
|
+
return /* @__PURE__ */ m("label", {
|
|
3179
|
+
className: "block",
|
|
3180
|
+
children: [/* @__PURE__ */ m("span", {
|
|
3181
|
+
className: `block text-xs font-semibold mb-1.5 ${i ? "text-zinc-300" : "text-slate-700"}`,
|
|
3182
|
+
children: [t.label, t.required && /* @__PURE__ */ p("span", {
|
|
3183
|
+
className: "text-red-500 ml-0.5",
|
|
3184
|
+
children: "*"
|
|
3185
|
+
})]
|
|
3186
|
+
}), t.type === "file" ? /* @__PURE__ */ p("p", {
|
|
3187
|
+
className: `text-[13px] m-0 whitespace-pre-wrap break-words ${T}`,
|
|
3188
|
+
children: n?.serve_url ? /* @__PURE__ */ p("a", {
|
|
3189
|
+
href: n.serve_url,
|
|
3190
|
+
target: "_blank",
|
|
3191
|
+
rel: "noopener noreferrer",
|
|
3192
|
+
style: { color: r },
|
|
3193
|
+
children: n.file_name || "View file"
|
|
3194
|
+
}) : n?.text || "—"
|
|
3195
|
+
}) : t.type === "select" ? /* @__PURE__ */ m("select", {
|
|
3196
|
+
value: vt(He, t),
|
|
3197
|
+
onChange: (e) => yt(t, e.target.value),
|
|
3198
|
+
className: g,
|
|
3199
|
+
children: [/* @__PURE__ */ p("option", {
|
|
3200
|
+
value: "",
|
|
3201
|
+
children: t.placeholder || `Select ${t.label}...`
|
|
3202
|
+
}), (t.options || []).map((e) => /* @__PURE__ */ p("option", {
|
|
3203
|
+
value: e,
|
|
3204
|
+
className: i ? "bg-zinc-900 text-white" : "bg-white text-slate-900",
|
|
3205
|
+
children: e
|
|
3206
|
+
}, e))]
|
|
3207
|
+
}) : t.type === "textarea" ? /* @__PURE__ */ p("textarea", {
|
|
3208
|
+
rows: 3,
|
|
3209
|
+
value: vt(He, t),
|
|
3210
|
+
onChange: (e) => yt(t, e.target.value),
|
|
3211
|
+
placeholder: t.placeholder || "",
|
|
3212
|
+
className: g
|
|
3213
|
+
}) : /* @__PURE__ */ p("input", {
|
|
3214
|
+
type: t.type === "phone" ? "tel" : [
|
|
3215
|
+
"email",
|
|
3216
|
+
"number",
|
|
3217
|
+
"date"
|
|
3218
|
+
].includes(t.type) ? t.type : "text",
|
|
3219
|
+
value: vt(He, t),
|
|
3220
|
+
onChange: (e) => yt(t, e.target.value),
|
|
3221
|
+
placeholder: t.placeholder || "",
|
|
3222
|
+
className: g
|
|
3223
|
+
})]
|
|
3224
|
+
}, t.id);
|
|
3225
|
+
}), /* @__PURE__ */ m("div", {
|
|
3226
|
+
className: "flex flex-wrap gap-2.5 pt-1",
|
|
3227
|
+
children: [/* @__PURE__ */ m("button", {
|
|
3228
|
+
type: "button",
|
|
3229
|
+
disabled: Ge,
|
|
3230
|
+
onClick: xt,
|
|
3231
|
+
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white disabled:opacity-60",
|
|
3232
|
+
style: { backgroundColor: r },
|
|
3233
|
+
children: [/* @__PURE__ */ p(ce, { size: 13 }), /* @__PURE__ */ p("span", { children: Ge ? "Saving..." : "Save changes" })]
|
|
3234
|
+
}), /* @__PURE__ */ p("button", {
|
|
3235
|
+
type: "button",
|
|
3236
|
+
disabled: Ge,
|
|
3237
|
+
onClick: () => Be(null),
|
|
3238
|
+
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"}`,
|
|
3239
|
+
children: "Cancel"
|
|
3240
|
+
})]
|
|
3241
|
+
})]
|
|
3242
|
+
}),
|
|
3243
|
+
e.badge && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
3244
|
+
className: `mt-3 rounded-xl border overflow-hidden ${i ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
3245
|
+
children: /* @__PURE__ */ p("img", {
|
|
3246
|
+
src: e.badge,
|
|
3247
|
+
alt: `${e.name} badge`,
|
|
3248
|
+
className: "w-full max-h-64 object-contain"
|
|
3249
|
+
})
|
|
3250
|
+
}), /* @__PURE__ */ m("div", {
|
|
3251
|
+
className: "mt-3 flex flex-wrap gap-2.5",
|
|
3252
|
+
children: [/* @__PURE__ */ m("a", {
|
|
3253
|
+
href: e.badge,
|
|
3254
|
+
target: "_blank",
|
|
3255
|
+
rel: "noopener noreferrer",
|
|
3256
|
+
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"}`,
|
|
3257
|
+
children: [/* @__PURE__ */ p(xe, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
|
|
3258
|
+
}), /* @__PURE__ */ m("a", {
|
|
3259
|
+
href: e.badge,
|
|
3260
|
+
download: !0,
|
|
3261
|
+
target: "_blank",
|
|
3262
|
+
rel: "noopener noreferrer",
|
|
3263
|
+
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white",
|
|
3264
|
+
style: { backgroundColor: r },
|
|
3265
|
+
children: [/* @__PURE__ */ p(ye, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
|
|
3266
|
+
})]
|
|
3267
|
+
})] })
|
|
3268
|
+
]
|
|
3120
3269
|
}, e.id))
|
|
3121
3270
|
})]
|
|
3122
3271
|
}),
|
|
3123
3272
|
s.length > 0 && /* @__PURE__ */ m("div", {
|
|
3124
3273
|
part: "portal-card payments-card",
|
|
3125
|
-
className:
|
|
3274
|
+
className: w,
|
|
3126
3275
|
children: [/* @__PURE__ */ m("div", {
|
|
3127
3276
|
className: "flex items-center gap-3 mb-4",
|
|
3128
3277
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -3133,11 +3282,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3133
3282
|
},
|
|
3134
3283
|
children: /* @__PURE__ */ p(Ue, { size: 17 })
|
|
3135
3284
|
}), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
3136
|
-
className:
|
|
3285
|
+
className: E,
|
|
3137
3286
|
style: $,
|
|
3138
3287
|
children: "Payments"
|
|
3139
3288
|
}), /* @__PURE__ */ p("p", {
|
|
3140
|
-
className: `text-[13px] ${
|
|
3289
|
+
className: `text-[13px] ${T}`,
|
|
3141
3290
|
children: "Every order on your registration, with receipts."
|
|
3142
3291
|
})] })]
|
|
3143
3292
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -3168,16 +3317,16 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3168
3317
|
rel: "noopener noreferrer",
|
|
3169
3318
|
className: "inline-flex items-center gap-1 text-[12.5px] font-semibold hover:underline underline-offset-4 shrink-0",
|
|
3170
3319
|
style: { color: r },
|
|
3171
|
-
children: [/* @__PURE__ */ p("span", { children: "Receipt" }), /* @__PURE__ */ p(
|
|
3320
|
+
children: [/* @__PURE__ */ p("span", { children: "Receipt" }), /* @__PURE__ */ p(xe, { size: 11 })]
|
|
3172
3321
|
})
|
|
3173
3322
|
]
|
|
3174
3323
|
}, e.order_number || t);
|
|
3175
3324
|
})
|
|
3176
3325
|
})]
|
|
3177
3326
|
}),
|
|
3178
|
-
|
|
3327
|
+
v && /* @__PURE__ */ m("div", {
|
|
3179
3328
|
part: "portal-card submission-card",
|
|
3180
|
-
className:
|
|
3329
|
+
className: w,
|
|
3181
3330
|
children: [
|
|
3182
3331
|
/* @__PURE__ */ m("div", {
|
|
3183
3332
|
className: "flex items-center gap-3 mb-4",
|
|
@@ -3188,22 +3337,22 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3188
3337
|
backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
|
|
3189
3338
|
color: r
|
|
3190
3339
|
},
|
|
3191
|
-
children: /* @__PURE__ */ p(
|
|
3340
|
+
children: /* @__PURE__ */ p(Se, { size: 17 })
|
|
3192
3341
|
}),
|
|
3193
3342
|
/* @__PURE__ */ m("div", {
|
|
3194
3343
|
className: "flex-1 min-w-0",
|
|
3195
3344
|
children: [/* @__PURE__ */ p("h4", {
|
|
3196
|
-
className:
|
|
3345
|
+
className: E,
|
|
3197
3346
|
style: $,
|
|
3198
3347
|
children: "Your submission"
|
|
3199
3348
|
}), /* @__PURE__ */ p("p", {
|
|
3200
|
-
className: `text-[13px] ${
|
|
3201
|
-
children:
|
|
3349
|
+
className: `text-[13px] ${T}`,
|
|
3350
|
+
children: v.registration_type_label || "Abstract submission"
|
|
3202
3351
|
})]
|
|
3203
3352
|
}),
|
|
3204
3353
|
/* @__PURE__ */ p("span", {
|
|
3205
|
-
className: `px-2.5 py-1 rounded-full text-[11px] font-semibold capitalize shrink-0 ${
|
|
3206
|
-
children:
|
|
3354
|
+
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"}`,
|
|
3355
|
+
children: v.verdict
|
|
3207
3356
|
})
|
|
3208
3357
|
]
|
|
3209
3358
|
}),
|
|
@@ -3214,19 +3363,19 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3214
3363
|
children: "Submission no."
|
|
3215
3364
|
}), /* @__PURE__ */ p("dd", {
|
|
3216
3365
|
className: `mt-1 text-sm font-semibold font-mono ${i ? "text-white" : "text-slate-900"}`,
|
|
3217
|
-
children:
|
|
3366
|
+
children: v.submission_number || "N/A"
|
|
3218
3367
|
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
|
|
3219
3368
|
className: `text-[11px] font-semibold uppercase tracking-wider ${i ? "text-zinc-500" : "text-slate-400"}`,
|
|
3220
3369
|
children: "Status"
|
|
3221
3370
|
}), /* @__PURE__ */ p("dd", {
|
|
3222
3371
|
className: `mt-1 text-sm font-semibold capitalize ${i ? "text-white" : "text-slate-900"}`,
|
|
3223
|
-
children:
|
|
3372
|
+
children: v.status
|
|
3224
3373
|
})] })]
|
|
3225
3374
|
}),
|
|
3226
3375
|
K ? /* @__PURE__ */ m("form", {
|
|
3227
|
-
onSubmit:
|
|
3376
|
+
onSubmit: gt,
|
|
3228
3377
|
className: `mt-4 pt-4 border-t space-y-3.5 ${i ? "border-zinc-800" : "border-slate-100"}`,
|
|
3229
|
-
children: [(
|
|
3378
|
+
children: [(v.editable_fields || []).map((e) => /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
|
|
3230
3379
|
className: `block text-[13px] font-semibold mb-1.5 ${i ? "text-zinc-200" : "text-slate-800"}`,
|
|
3231
3380
|
children: [e.label, e.required && /* @__PURE__ */ p("span", {
|
|
3232
3381
|
className: "text-red-500",
|
|
@@ -3234,14 +3383,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3234
3383
|
})]
|
|
3235
3384
|
}), e.type === "file" ? /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("button", {
|
|
3236
3385
|
type: "button",
|
|
3237
|
-
disabled:
|
|
3386
|
+
disabled: Pe === e.id,
|
|
3238
3387
|
onClick: () => Le((t) => ({
|
|
3239
3388
|
...t,
|
|
3240
|
-
[e.id]:
|
|
3389
|
+
[e.id]: ft(e) === "file" ? "text" : "file"
|
|
3241
3390
|
})),
|
|
3242
3391
|
className: `mb-1.5 text-[12px] font-semibold underline disabled:opacity-50 ${i ? "text-zinc-400" : "text-slate-500"}`,
|
|
3243
|
-
children:
|
|
3244
|
-
}),
|
|
3392
|
+
children: ft(e) === "file" ? "Send text instead" : "Send file instead"
|
|
3393
|
+
}), ft(e) === "file" ? /* @__PURE__ */ m("div", { children: [
|
|
3245
3394
|
e.current_file?.serve_url && /* @__PURE__ */ p("a", {
|
|
3246
3395
|
href: e.current_file.serve_url,
|
|
3247
3396
|
target: "_blank",
|
|
@@ -3251,20 +3400,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3251
3400
|
}),
|
|
3252
3401
|
/* @__PURE__ */ p("input", {
|
|
3253
3402
|
type: "file",
|
|
3254
|
-
disabled:
|
|
3403
|
+
disabled: Pe === e.id,
|
|
3255
3404
|
onChange: (t) => {
|
|
3256
3405
|
let n = t.target.files?.[0];
|
|
3257
|
-
n &&
|
|
3406
|
+
n && pt(e.id, n);
|
|
3258
3407
|
},
|
|
3259
|
-
className: `w-full text-[13px] ${
|
|
3408
|
+
className: `w-full text-[13px] ${T}`
|
|
3260
3409
|
}),
|
|
3261
|
-
|
|
3262
|
-
className: `mt-1 text-[12.5px] ${
|
|
3410
|
+
Pe === e.id && /* @__PURE__ */ p("p", {
|
|
3411
|
+
className: `mt-1 text-[12.5px] ${T}`,
|
|
3263
3412
|
children: "Uploading…"
|
|
3264
3413
|
})
|
|
3265
3414
|
] }) : /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("textarea", {
|
|
3266
3415
|
rows: 4,
|
|
3267
|
-
disabled:
|
|
3416
|
+
disabled: Pe === e.id,
|
|
3268
3417
|
value: Z[e.id] ?? "",
|
|
3269
3418
|
placeholder: "Enter your answer...",
|
|
3270
3419
|
onChange: (t) => Re({
|
|
@@ -3274,14 +3423,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3274
3423
|
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
3424
|
}), /* @__PURE__ */ p("button", {
|
|
3276
3425
|
type: "button",
|
|
3277
|
-
disabled:
|
|
3278
|
-
onClick: () =>
|
|
3426
|
+
disabled: Pe === e.id || !(Z[e.id] || "").trim(),
|
|
3427
|
+
onClick: () => ht(e.id),
|
|
3279
3428
|
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
3429
|
style: { backgroundColor: r },
|
|
3281
|
-
children:
|
|
3430
|
+
children: Pe === e.id ? "Saving…" : "Save text answer"
|
|
3282
3431
|
})] })] }) : e.id === "registration_type" ? /* @__PURE__ */ m("select", {
|
|
3283
3432
|
value: Y[e.id] ?? "",
|
|
3284
|
-
onChange: (t) =>
|
|
3433
|
+
onChange: (t) => X({
|
|
3285
3434
|
...Y,
|
|
3286
3435
|
[e.id]: t.target.value
|
|
3287
3436
|
}),
|
|
@@ -3293,13 +3442,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3293
3442
|
e.label,
|
|
3294
3443
|
"..."
|
|
3295
3444
|
]
|
|
3296
|
-
}), (
|
|
3445
|
+
}), (v.registration_types || []).map((e) => /* @__PURE__ */ p("option", {
|
|
3297
3446
|
value: e.id,
|
|
3298
3447
|
children: e.label
|
|
3299
3448
|
}, e.id))]
|
|
3300
3449
|
}) : e.type === "select" ? /* @__PURE__ */ m("select", {
|
|
3301
3450
|
value: Y[e.id] ?? "",
|
|
3302
|
-
onChange: (t) =>
|
|
3451
|
+
onChange: (t) => X({
|
|
3303
3452
|
...Y,
|
|
3304
3453
|
[e.id]: t.target.value
|
|
3305
3454
|
}),
|
|
@@ -3319,7 +3468,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3319
3468
|
rows: e.id === "name" || e.id === "phone" ? 1 : 4,
|
|
3320
3469
|
value: Y[e.id] ?? "",
|
|
3321
3470
|
placeholder: e.placeholder || `Enter ${e.label.toLowerCase()}`,
|
|
3322
|
-
onChange: (t) =>
|
|
3471
|
+
onChange: (t) => X({
|
|
3323
3472
|
...Y,
|
|
3324
3473
|
[e.id]: t.target.value
|
|
3325
3474
|
}),
|
|
@@ -3328,13 +3477,13 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3328
3477
|
className: "flex items-center gap-2.5 pt-1",
|
|
3329
3478
|
children: [/* @__PURE__ */ p("button", {
|
|
3330
3479
|
type: "submit",
|
|
3331
|
-
disabled:
|
|
3480
|
+
disabled: Ae,
|
|
3332
3481
|
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
3482
|
style: { backgroundColor: r },
|
|
3334
|
-
children:
|
|
3483
|
+
children: Ae ? "Saving..." : "Save changes"
|
|
3335
3484
|
}), /* @__PURE__ */ p("button", {
|
|
3336
3485
|
type: "button",
|
|
3337
|
-
disabled:
|
|
3486
|
+
disabled: Ae,
|
|
3338
3487
|
onClick: () => q(!1),
|
|
3339
3488
|
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
3489
|
children: "Cancel"
|
|
@@ -3343,11 +3492,11 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3343
3492
|
}) : /* @__PURE__ */ m("div", {
|
|
3344
3493
|
className: `mt-4 pt-4 border-t flex items-center justify-between gap-3 flex-wrap ${i ? "border-zinc-800" : "border-slate-100"}`,
|
|
3345
3494
|
children: [/* @__PURE__ */ p("p", {
|
|
3346
|
-
className: `text-[13px] ${
|
|
3347
|
-
children:
|
|
3348
|
-
}),
|
|
3495
|
+
className: `text-[13px] ${T}`,
|
|
3496
|
+
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."
|
|
3497
|
+
}), v.editable && /* @__PURE__ */ p("button", {
|
|
3349
3498
|
type: "button",
|
|
3350
|
-
onClick:
|
|
3499
|
+
onClick: ct,
|
|
3351
3500
|
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
3501
|
style: { backgroundColor: r },
|
|
3353
3502
|
children: "Edit submission"
|
|
@@ -3355,7 +3504,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3355
3504
|
})
|
|
3356
3505
|
]
|
|
3357
3506
|
}),
|
|
3358
|
-
|
|
3507
|
+
H && /* @__PURE__ */ m("div", {
|
|
3359
3508
|
className: "p-4 rounded-2xl flex flex-wrap items-center justify-between gap-3 text-sm",
|
|
3360
3509
|
style: {
|
|
3361
3510
|
backgroundColor: `color-mix(in srgb, ${r} ${i ? 14 : 7}%, transparent)`,
|
|
@@ -3363,24 +3512,24 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3363
3512
|
},
|
|
3364
3513
|
children: [/* @__PURE__ */ m("div", {
|
|
3365
3514
|
className: `flex items-center gap-2.5 ${i ? "text-zinc-200" : "text-slate-700"}`,
|
|
3366
|
-
children: [/* @__PURE__ */ p(
|
|
3515
|
+
children: [/* @__PURE__ */ p(ve, {
|
|
3367
3516
|
size: 17,
|
|
3368
3517
|
className: "shrink-0",
|
|
3369
3518
|
style: { color: r }
|
|
3370
3519
|
}), /* @__PURE__ */ p("span", { children: "Payment page opened in a new tab. If it didn't open:" })]
|
|
3371
3520
|
}), /* @__PURE__ */ m("a", {
|
|
3372
|
-
href:
|
|
3521
|
+
href: H,
|
|
3373
3522
|
target: "_blank",
|
|
3374
3523
|
rel: "noopener noreferrer",
|
|
3375
3524
|
className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white shrink-0",
|
|
3376
3525
|
style: { backgroundColor: r },
|
|
3377
|
-
children: [/* @__PURE__ */ p("span", { children: "Complete payment" }), /* @__PURE__ */ p(
|
|
3526
|
+
children: [/* @__PURE__ */ p("span", { children: "Complete payment" }), /* @__PURE__ */ p(xe, { size: 12 })]
|
|
3378
3527
|
})]
|
|
3379
3528
|
}),
|
|
3380
3529
|
x && /* @__PURE__ */ m("div", {
|
|
3381
3530
|
role: "alert",
|
|
3382
3531
|
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(
|
|
3532
|
+
children: [/* @__PURE__ */ p(fe, {
|
|
3384
3533
|
size: 17,
|
|
3385
3534
|
className: "shrink-0 mt-0.5"
|
|
3386
3535
|
}), /* @__PURE__ */ p("span", { children: x })]
|
|
@@ -3388,7 +3537,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3388
3537
|
C && /* @__PURE__ */ m("div", {
|
|
3389
3538
|
role: "status",
|
|
3390
3539
|
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(
|
|
3540
|
+
children: [/* @__PURE__ */ p(P, {
|
|
3392
3541
|
size: 17,
|
|
3393
3542
|
className: "shrink-0 mt-0.5"
|
|
3394
3543
|
}), /* @__PURE__ */ p("span", { children: C })]
|
|
@@ -3398,7 +3547,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3398
3547
|
})]
|
|
3399
3548
|
});
|
|
3400
3549
|
}
|
|
3401
|
-
let
|
|
3550
|
+
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
3551
|
className: "animate-spin h-4 w-4 text-white",
|
|
3403
3552
|
fill: "none",
|
|
3404
3553
|
viewBox: "0 0 24 24",
|
|
@@ -3415,9 +3564,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3415
3564
|
fill: "currentColor",
|
|
3416
3565
|
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
3566
|
})]
|
|
3418
|
-
}),
|
|
3567
|
+
}), Ot = (e) => {
|
|
3419
3568
|
u(e), S(null), w(null);
|
|
3420
|
-
},
|
|
3569
|
+
}, 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
3570
|
className: "flex items-center justify-between gap-2 mb-1.5",
|
|
3422
3571
|
children: [/* @__PURE__ */ p("label", {
|
|
3423
3572
|
part: "field-label",
|
|
@@ -3439,23 +3588,23 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3439
3588
|
autoComplete: c,
|
|
3440
3589
|
onChange: (e) => o(e.target.value),
|
|
3441
3590
|
placeholder: s,
|
|
3442
|
-
className:
|
|
3591
|
+
className: Et
|
|
3443
3592
|
})]
|
|
3444
|
-
})] }),
|
|
3593
|
+
})] }), At = () => /* @__PURE__ */ m(f, { children: [x && /* @__PURE__ */ m("div", {
|
|
3445
3594
|
role: "alert",
|
|
3446
3595
|
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(
|
|
3596
|
+
children: [/* @__PURE__ */ p(fe, {
|
|
3448
3597
|
size: 17,
|
|
3449
3598
|
className: "shrink-0 mt-0.5"
|
|
3450
3599
|
}), /* @__PURE__ */ p("span", { children: x })]
|
|
3451
3600
|
}), C && /* @__PURE__ */ m("div", {
|
|
3452
3601
|
role: "status",
|
|
3453
3602
|
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(
|
|
3603
|
+
children: [/* @__PURE__ */ p(P, {
|
|
3455
3604
|
size: 17,
|
|
3456
3605
|
className: "shrink-0 mt-0.5"
|
|
3457
3606
|
}), /* @__PURE__ */ p("span", { children: C })]
|
|
3458
|
-
})] }),
|
|
3607
|
+
})] }), jt = (e, t, n) => /* @__PURE__ */ p("button", {
|
|
3459
3608
|
part: "button button-primary submit-button",
|
|
3460
3609
|
type: "submit",
|
|
3461
3610
|
disabled: e,
|
|
@@ -3464,20 +3613,20 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3464
3613
|
boxShadow: `0 10px 24px -12px color-mix(in srgb, ${r} 70%, transparent)`
|
|
3465
3614
|
},
|
|
3466
3615
|
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: [
|
|
3616
|
+
children: e ? /* @__PURE__ */ m(f, { children: [Dt, /* @__PURE__ */ p("span", { children: n })] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", { children: t }), /* @__PURE__ */ p(ie, {
|
|
3468
3617
|
size: 16,
|
|
3469
3618
|
className: "transition-transform group-hover:translate-x-0.5"
|
|
3470
3619
|
})] })
|
|
3471
|
-
}),
|
|
3620
|
+
}), Mt = ({ icon: e, title: t, subtitle: n, onBack: o, children: s }) => /* @__PURE__ */ m("div", {
|
|
3472
3621
|
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: [
|
|
3622
|
+
children: [St(), /* @__PURE__ */ m("div", {
|
|
3474
3623
|
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
3624
|
children: [o && /* @__PURE__ */ m("button", {
|
|
3476
3625
|
part: "button button-link back-button",
|
|
3477
3626
|
type: "button",
|
|
3478
3627
|
onClick: o,
|
|
3479
3628
|
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(
|
|
3629
|
+
children: [/* @__PURE__ */ p(ne, { size: 16 }), /* @__PURE__ */ p("span", { children: "Back to login" })]
|
|
3481
3630
|
}), /* @__PURE__ */ m("div", {
|
|
3482
3631
|
part: "portal-card",
|
|
3483
3632
|
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 +3651,33 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3502
3651
|
children: n
|
|
3503
3652
|
})
|
|
3504
3653
|
] }),
|
|
3505
|
-
|
|
3654
|
+
At(),
|
|
3506
3655
|
s
|
|
3507
3656
|
]
|
|
3508
3657
|
})]
|
|
3509
3658
|
})]
|
|
3510
|
-
}),
|
|
3511
|
-
return
|
|
3512
|
-
icon:
|
|
3659
|
+
}), Nt = "font-semibold hover:underline underline-offset-4 cursor-pointer";
|
|
3660
|
+
return Mt(l === "request_code" ? {
|
|
3661
|
+
icon: je,
|
|
3513
3662
|
title: "Get verification code",
|
|
3514
3663
|
subtitle: "We will email a verification code to your registered address.",
|
|
3515
|
-
onBack: () =>
|
|
3664
|
+
onBack: () => Ot("login"),
|
|
3516
3665
|
children: /* @__PURE__ */ m("form", {
|
|
3517
|
-
onSubmit:
|
|
3666
|
+
onSubmit: Qe,
|
|
3518
3667
|
className: "space-y-4",
|
|
3519
3668
|
children: [
|
|
3520
|
-
|
|
3669
|
+
kt({
|
|
3521
3670
|
id: "vx-portal-code-identifier",
|
|
3522
3671
|
label: "Registration number or email",
|
|
3523
|
-
icon:
|
|
3524
|
-
value:
|
|
3672
|
+
icon: je,
|
|
3673
|
+
value: k || T,
|
|
3525
3674
|
onChange: (e) => {
|
|
3526
|
-
|
|
3675
|
+
A(e), E(e);
|
|
3527
3676
|
},
|
|
3528
3677
|
placeholder: "e.g. attendee@example.com or REG12345",
|
|
3529
3678
|
autoComplete: "username"
|
|
3530
3679
|
}),
|
|
3531
|
-
|
|
3680
|
+
jt(de, "Send verification code", "Sending code..."),
|
|
3532
3681
|
/* @__PURE__ */ m("p", {
|
|
3533
3682
|
className: `text-center text-[13px] ${i ? "text-zinc-400" : "text-slate-500"}`,
|
|
3534
3683
|
children: [
|
|
@@ -3536,8 +3685,8 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3536
3685
|
" ",
|
|
3537
3686
|
/* @__PURE__ */ p("button", {
|
|
3538
3687
|
type: "button",
|
|
3539
|
-
onClick: () =>
|
|
3540
|
-
className:
|
|
3688
|
+
onClick: () => Ot("reset"),
|
|
3689
|
+
className: Nt,
|
|
3541
3690
|
style: { color: r },
|
|
3542
3691
|
children: "Set your password"
|
|
3543
3692
|
})
|
|
@@ -3549,61 +3698,61 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3549
3698
|
icon: G,
|
|
3550
3699
|
title: "Set your password",
|
|
3551
3700
|
subtitle: "Enter the code from your email and choose a new password.",
|
|
3552
|
-
onBack: () =>
|
|
3701
|
+
onBack: () => Ot("login"),
|
|
3553
3702
|
children: /* @__PURE__ */ m("form", {
|
|
3554
|
-
onSubmit:
|
|
3703
|
+
onSubmit: et,
|
|
3555
3704
|
className: "space-y-4",
|
|
3556
3705
|
children: [
|
|
3557
|
-
|
|
3706
|
+
kt({
|
|
3558
3707
|
id: "vx-portal-reset-identifier",
|
|
3559
3708
|
label: "Registration number or email",
|
|
3560
|
-
icon:
|
|
3561
|
-
value:
|
|
3709
|
+
icon: je,
|
|
3710
|
+
value: k || T,
|
|
3562
3711
|
onChange: (e) => {
|
|
3563
|
-
|
|
3712
|
+
A(e), E(e);
|
|
3564
3713
|
},
|
|
3565
3714
|
placeholder: "e.g. attendee@example.com or REG12345",
|
|
3566
3715
|
autoComplete: "username"
|
|
3567
3716
|
}),
|
|
3568
|
-
|
|
3717
|
+
kt({
|
|
3569
3718
|
id: "vx-portal-reset-code",
|
|
3570
3719
|
label: "Verification code",
|
|
3571
3720
|
icon: De,
|
|
3572
|
-
value:
|
|
3573
|
-
onChange:
|
|
3721
|
+
value: j,
|
|
3722
|
+
onChange: re,
|
|
3574
3723
|
placeholder: "Enter code from email",
|
|
3575
3724
|
autoComplete: "one-time-code",
|
|
3576
3725
|
aside: /* @__PURE__ */ p("button", {
|
|
3577
3726
|
type: "button",
|
|
3578
3727
|
onClick: () => {
|
|
3579
|
-
k
|
|
3728
|
+
A(k || T), Ot("request_code");
|
|
3580
3729
|
},
|
|
3581
3730
|
className: "text-xs font-semibold hover:underline underline-offset-4 cursor-pointer",
|
|
3582
3731
|
style: { color: r },
|
|
3583
3732
|
children: "Get code on email"
|
|
3584
3733
|
})
|
|
3585
3734
|
}),
|
|
3586
|
-
|
|
3735
|
+
kt({
|
|
3587
3736
|
id: "vx-portal-reset-password",
|
|
3588
3737
|
label: "New password",
|
|
3589
3738
|
icon: J,
|
|
3590
3739
|
type: "password",
|
|
3591
|
-
value:
|
|
3592
|
-
onChange:
|
|
3740
|
+
value: M,
|
|
3741
|
+
onChange: N,
|
|
3593
3742
|
placeholder: "Enter new password",
|
|
3594
3743
|
autoComplete: "new-password"
|
|
3595
3744
|
}),
|
|
3596
|
-
|
|
3745
|
+
kt({
|
|
3597
3746
|
id: "vx-portal-reset-confirm",
|
|
3598
3747
|
label: "Confirm password",
|
|
3599
3748
|
icon: J,
|
|
3600
3749
|
type: "password",
|
|
3601
|
-
value:
|
|
3602
|
-
onChange:
|
|
3750
|
+
value: se,
|
|
3751
|
+
onChange: le,
|
|
3603
3752
|
placeholder: "Re-enter new password",
|
|
3604
3753
|
autoComplete: "new-password"
|
|
3605
3754
|
}),
|
|
3606
|
-
|
|
3755
|
+
jt(h, "Set new password", "Updating password...")
|
|
3607
3756
|
]
|
|
3608
3757
|
})
|
|
3609
3758
|
} : {
|
|
@@ -3611,19 +3760,19 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3611
3760
|
title: "Attendee login",
|
|
3612
3761
|
subtitle: "Sign in with your email or registration number.",
|
|
3613
3762
|
children: /* @__PURE__ */ m("form", {
|
|
3614
|
-
onSubmit:
|
|
3763
|
+
onSubmit: Xe,
|
|
3615
3764
|
className: "space-y-4",
|
|
3616
3765
|
children: [
|
|
3617
|
-
|
|
3766
|
+
kt({
|
|
3618
3767
|
id: "vx-portal-login-identifier",
|
|
3619
3768
|
label: "Email or registration number",
|
|
3620
|
-
icon:
|
|
3769
|
+
icon: je,
|
|
3621
3770
|
value: T,
|
|
3622
3771
|
onChange: E,
|
|
3623
3772
|
placeholder: "Enter email or registration number",
|
|
3624
3773
|
autoComplete: "username"
|
|
3625
3774
|
}),
|
|
3626
|
-
|
|
3775
|
+
kt({
|
|
3627
3776
|
id: "vx-portal-login-password",
|
|
3628
3777
|
label: "Password",
|
|
3629
3778
|
icon: J,
|
|
@@ -3635,14 +3784,14 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3635
3784
|
aside: /* @__PURE__ */ p("button", {
|
|
3636
3785
|
type: "button",
|
|
3637
3786
|
onClick: () => {
|
|
3638
|
-
|
|
3787
|
+
A(T), Ot("reset");
|
|
3639
3788
|
},
|
|
3640
3789
|
className: "text-xs font-semibold hover:underline underline-offset-4 cursor-pointer",
|
|
3641
3790
|
style: { color: r },
|
|
3642
3791
|
children: "Forgot password?"
|
|
3643
3792
|
})
|
|
3644
3793
|
}),
|
|
3645
|
-
|
|
3794
|
+
jt(h, "Login", "Logging in..."),
|
|
3646
3795
|
/* @__PURE__ */ m("p", {
|
|
3647
3796
|
className: `pt-4 border-t text-center text-[13px] ${i ? "border-zinc-800 text-zinc-400" : "border-slate-100 text-slate-500"}`,
|
|
3648
3797
|
children: [
|
|
@@ -3651,9 +3800,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3651
3800
|
/* @__PURE__ */ p("button", {
|
|
3652
3801
|
type: "button",
|
|
3653
3802
|
onClick: () => {
|
|
3654
|
-
|
|
3803
|
+
A(T), Ot("request_code");
|
|
3655
3804
|
},
|
|
3656
|
-
className:
|
|
3805
|
+
className: Nt,
|
|
3657
3806
|
style: { color: r },
|
|
3658
3807
|
children: "Get code"
|
|
3659
3808
|
}),
|
|
@@ -3663,9 +3812,9 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3663
3812
|
/* @__PURE__ */ p("button", {
|
|
3664
3813
|
type: "button",
|
|
3665
3814
|
onClick: () => {
|
|
3666
|
-
|
|
3815
|
+
A(T), Ot("reset");
|
|
3667
3816
|
},
|
|
3668
|
-
className:
|
|
3817
|
+
className: Nt,
|
|
3669
3818
|
style: { color: r },
|
|
3670
3819
|
children: "generate password"
|
|
3671
3820
|
})
|
|
@@ -3677,7 +3826,7 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
3677
3826
|
};
|
|
3678
3827
|
//#endregion
|
|
3679
3828
|
//#region src/widget/utils/backgroundUtils.ts
|
|
3680
|
-
function
|
|
3829
|
+
function gt(e, t, n) {
|
|
3681
3830
|
if (!e) return;
|
|
3682
3831
|
let r = t ? "rgba(9,9,11,0.88)" : "rgba(248,250,252,0.88)";
|
|
3683
3832
|
return {
|
|
@@ -3690,7 +3839,7 @@ function ht(e, t, n) {
|
|
|
3690
3839
|
}
|
|
3691
3840
|
//#endregion
|
|
3692
3841
|
//#region src/widget/components/EventWidgetReact.tsx
|
|
3693
|
-
function
|
|
3842
|
+
function _t(e) {
|
|
3694
3843
|
if (!e) return "bottom-right";
|
|
3695
3844
|
switch (e) {
|
|
3696
3845
|
case "bottom-left":
|
|
@@ -3702,7 +3851,7 @@ function gt(e) {
|
|
|
3702
3851
|
default: return "bottom-right";
|
|
3703
3852
|
}
|
|
3704
3853
|
}
|
|
3705
|
-
var
|
|
3854
|
+
var vt = (e) => {
|
|
3706
3855
|
switch (e) {
|
|
3707
3856
|
case "bottom-left": return {
|
|
3708
3857
|
bottom: "20px",
|
|
@@ -3729,23 +3878,23 @@ var _t = (e) => {
|
|
|
3729
3878
|
left: "auto"
|
|
3730
3879
|
};
|
|
3731
3880
|
}
|
|
3732
|
-
},
|
|
3881
|
+
}, yt = (e) => {
|
|
3733
3882
|
switch (e) {
|
|
3734
3883
|
case "bottom-left": return "bottom-5 left-5";
|
|
3735
3884
|
case "top-right": return "top-5 right-5";
|
|
3736
3885
|
case "top-left": return "top-5 left-5";
|
|
3737
3886
|
default: return "bottom-5 right-5";
|
|
3738
3887
|
}
|
|
3739
|
-
},
|
|
3888
|
+
}, bt = ({ config: e }) => {
|
|
3740
3889
|
let [t, n] = d("registration"), [r, i] = d(!1);
|
|
3741
3890
|
s(() => {
|
|
3742
3891
|
t === "attendee" && i(!0);
|
|
3743
3892
|
}, [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, ee] = d(null), te = l(() => D && { fields: D.fields.filter((e) => e.id !== "registration_type") }, [D]), [O,
|
|
3893
|
+
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, ee] = d(null), te = l(() => D && { fields: D.fields.filter((e) => e.id !== "registration_type") }, [D]), [O, k] = d(!0), [A, j] = d(""), [ne, re] = d(null), [M, ae] = d(!!o), [N, oe] = d(null), [se, le] = d(null), [ue, de] = d(o), [fe, pe] = d(!1), [P, F] = d(() => _t(e.position)), [I, L] = d(null), [_e, ve] = d(null), [R, ye] = d(!1), [be, z] = d(!1), Ce = u(null), we = u(null), B = u(!1);
|
|
3745
3894
|
s(() => {
|
|
3746
|
-
e.position &&
|
|
3895
|
+
e.position && F(_t(e.position));
|
|
3747
3896
|
}, [e.position]);
|
|
3748
|
-
let
|
|
3897
|
+
let V = e.themeMode === "dark" || e.theme?.mode === "dark", H = e.theme?.primaryColor || "#2563eb", U = !!e.isAbstract, Te = e.headerBannerImage, Ee = e.backgroundImage, W = l(() => new g(e.debug), [e.debug]), G = l(() => new _(e.baseUrl, e.eventSlug, W, e.timeoutMs ?? 12e4), [
|
|
3749
3898
|
e.baseUrl,
|
|
3750
3899
|
e.eventSlug,
|
|
3751
3900
|
W,
|
|
@@ -3756,7 +3905,7 @@ var _t = (e) => {
|
|
|
3756
3905
|
}, [K]), s(() => {
|
|
3757
3906
|
if (!c) return;
|
|
3758
3907
|
let t = K.getXrefId();
|
|
3759
|
-
t && (
|
|
3908
|
+
t && (U ? G.getReviewDraft(t) : G.getDraft(t)).then((t) => {
|
|
3760
3909
|
let n = t?.data || t;
|
|
3761
3910
|
n && n.registration_type && (Y(n), e.onEvent?.("draft_loaded", n));
|
|
3762
3911
|
}).catch((e) => {
|
|
@@ -3767,9 +3916,9 @@ var _t = (e) => {
|
|
|
3767
3916
|
G,
|
|
3768
3917
|
K,
|
|
3769
3918
|
W,
|
|
3770
|
-
|
|
3919
|
+
U
|
|
3771
3920
|
]);
|
|
3772
|
-
let
|
|
3921
|
+
let X = l(() => {
|
|
3773
3922
|
if (!J || !T || String(J.registration_type) !== String(T.id)) return {};
|
|
3774
3923
|
let e = { ...J.custom_data || {} };
|
|
3775
3924
|
if (Array.isArray(J.accompanying) && (e.accompanying = J.accompanying), J.salutation && (e.salutation = J.salutation, e.title = J.salutation), J.name) {
|
|
@@ -3777,20 +3926,20 @@ var _t = (e) => {
|
|
|
3777
3926
|
let t = J.name.trim().split(/\s+/);
|
|
3778
3927
|
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
3928
|
}
|
|
3780
|
-
return J.email && (e.email = J.email), J.phone && (e.phone = J.phone, e.mobile = J.phone, e.phoneNumber = J.phone), ((
|
|
3929
|
+
return J.email && (e.email = J.email), J.phone && (e.phone = J.phone, e.mobile = J.phone, e.phoneNumber = J.phone), ((U ? D?.fields : T?.form_schema?.fields) || []).forEach((t) => {
|
|
3781
3930
|
let n = ut(t.id, t.label);
|
|
3782
3931
|
e[t.id] === void 0 && e[n] !== void 0 && (e[t.id] = e[n]);
|
|
3783
3932
|
}), e;
|
|
3784
3933
|
}, [
|
|
3785
3934
|
J,
|
|
3786
3935
|
T,
|
|
3787
|
-
|
|
3936
|
+
U,
|
|
3788
3937
|
D
|
|
3789
3938
|
]);
|
|
3790
3939
|
s(() => () => {
|
|
3791
3940
|
q.current && clearTimeout(q.current);
|
|
3792
3941
|
}, []);
|
|
3793
|
-
let
|
|
3942
|
+
let ke = a((t) => {
|
|
3794
3943
|
q.current && clearTimeout(q.current), q.current = setTimeout(async () => {
|
|
3795
3944
|
if (!Object.values(t).some((e) => e !== "" && e != null)) return;
|
|
3796
3945
|
let n = /* @__PURE__ */ new Set([
|
|
@@ -3808,7 +3957,7 @@ var _t = (e) => {
|
|
|
3808
3957
|
"selected_items",
|
|
3809
3958
|
"custom_data",
|
|
3810
3959
|
"accompanying"
|
|
3811
|
-
]), r = (
|
|
3960
|
+
]), r = (U ? D?.fields : T?.form_schema?.fields) || [], i = /* @__PURE__ */ new Map();
|
|
3812
3961
|
r.forEach((e) => i.set(e.id, e));
|
|
3813
3962
|
let a = { ...t.custom_data || {} };
|
|
3814
3963
|
for (let [e, r] of Object.entries(t)) if (!n.has(e)) {
|
|
@@ -3827,7 +3976,7 @@ var _t = (e) => {
|
|
|
3827
3976
|
accompanying: t.accompanying || []
|
|
3828
3977
|
};
|
|
3829
3978
|
try {
|
|
3830
|
-
|
|
3979
|
+
U ? await G.trackReviewProgress(o) : await G.trackProgress(o), e.onEvent?.("draft_saved", o);
|
|
3831
3980
|
} catch (e) {
|
|
3832
3981
|
W.error("Failed to save draft progress", e);
|
|
3833
3982
|
}
|
|
@@ -3838,14 +3987,14 @@ var _t = (e) => {
|
|
|
3838
3987
|
T,
|
|
3839
3988
|
e,
|
|
3840
3989
|
W,
|
|
3841
|
-
|
|
3990
|
+
U,
|
|
3842
3991
|
D
|
|
3843
3992
|
]);
|
|
3844
3993
|
s(() => {
|
|
3845
3994
|
De.current !== e.displayMode && (De.current = e.displayMode, h(e.displayMode !== "popup"), b(!1));
|
|
3846
3995
|
}, [e.displayMode]), s(() => {
|
|
3847
|
-
(
|
|
3848
|
-
S(t?.data?.types || []),
|
|
3996
|
+
(U ? G.getReviewFormSchema() : G.getFormSchema()).then((t) => {
|
|
3997
|
+
S(t?.data?.types || []), U && ee({ 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
3998
|
}).catch((t) => {
|
|
3850
3999
|
W.error("Failed to load schema", t), S([]);
|
|
3851
4000
|
let n = {
|
|
@@ -3854,10 +4003,10 @@ var _t = (e) => {
|
|
|
3854
4003
|
error: t
|
|
3855
4004
|
};
|
|
3856
4005
|
e.onEvent?.("error", n), e.onError?.(n);
|
|
3857
|
-
}).finally(() =>
|
|
3858
|
-
}, [G,
|
|
3859
|
-
let
|
|
3860
|
-
q.current && clearTimeout(q.current),
|
|
4006
|
+
}).finally(() => k(!1));
|
|
4007
|
+
}, [G, U]);
|
|
4008
|
+
let Ae = async (t) => {
|
|
4009
|
+
q.current && clearTimeout(q.current), k(!0), oe(null);
|
|
3861
4010
|
let n = K.getXrefId(), r = /* @__PURE__ */ new Set([
|
|
3862
4011
|
"salutation",
|
|
3863
4012
|
"title",
|
|
@@ -3875,7 +4024,7 @@ var _t = (e) => {
|
|
|
3875
4024
|
"custom_data",
|
|
3876
4025
|
"xref_id",
|
|
3877
4026
|
"accompanying"
|
|
3878
|
-
]), i = (
|
|
4027
|
+
]), i = (U ? D?.fields : T?.form_schema?.fields) || [], a = /* @__PURE__ */ new Map();
|
|
3879
4028
|
i.forEach((e) => a.set(e.id, e));
|
|
3880
4029
|
let o = { ...t.custom_data || {} };
|
|
3881
4030
|
for (let [e, n] of Object.entries(t)) if (!r.has(e)) {
|
|
@@ -3894,12 +4043,12 @@ var _t = (e) => {
|
|
|
3894
4043
|
accompanying: t.accompanying || []
|
|
3895
4044
|
};
|
|
3896
4045
|
try {
|
|
3897
|
-
let t =
|
|
4046
|
+
let t = U ? await G.submitReview(s) : await G.submitRegistration(s);
|
|
3898
4047
|
K.updateXrefId(), Y(null);
|
|
3899
|
-
let n =
|
|
3900
|
-
|
|
4048
|
+
let n = U ? null : t?.data?.payment_url || t?.payment_url || null;
|
|
4049
|
+
le(n);
|
|
3901
4050
|
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
|
-
|
|
4051
|
+
de(r ? String(r) : null), pe(!1), n && typeof n == "string" && n.trim() !== "" && window.open(n, "_blank", "noopener,noreferrer"), ae(!0);
|
|
3903
4052
|
let i = {
|
|
3904
4053
|
registrationType: T.id,
|
|
3905
4054
|
payload: s,
|
|
@@ -3909,62 +4058,62 @@ var _t = (e) => {
|
|
|
3909
4058
|
e.onEvent?.("submitted", i), e.onRegister?.(i), e.onRegistered?.(i);
|
|
3910
4059
|
} catch (t) {
|
|
3911
4060
|
W.error("Submission failed", t);
|
|
3912
|
-
let n = t?.message || (
|
|
4061
|
+
let n = t?.message || (U ? "Submission failed. Please check your information and try again." : "Registration failed. Please check your information and try again."), r = {
|
|
3913
4062
|
type: "submit_error",
|
|
3914
4063
|
message: n,
|
|
3915
4064
|
error: t
|
|
3916
4065
|
};
|
|
3917
|
-
e.onEvent?.("error", r), e.onError?.(r),
|
|
4066
|
+
e.onEvent?.("error", r), e.onError?.(r), oe(n);
|
|
3918
4067
|
} finally {
|
|
3919
|
-
|
|
4068
|
+
k(!1);
|
|
3920
4069
|
}
|
|
3921
|
-
},
|
|
3922
|
-
if (
|
|
4070
|
+
}, je = () => {
|
|
4071
|
+
if (ae(!1), oe(null), le(null), de(null), pe(!1), E(null), Y(null), typeof window < "u" && new URLSearchParams(window.location.search).has("rn")) {
|
|
3923
4072
|
let e = new URL(window.location.href);
|
|
3924
4073
|
e.searchParams.delete("rn"), window.history.replaceState(window.history.state, "", e.toString());
|
|
3925
4074
|
}
|
|
3926
|
-
},
|
|
3927
|
-
if (e.stopPropagation(), e.button !== 0 || !
|
|
3928
|
-
let t =
|
|
3929
|
-
|
|
4075
|
+
}, Me = a((e) => {
|
|
4076
|
+
if (e.stopPropagation(), e.button !== 0 || !Ce.current) return;
|
|
4077
|
+
let t = Ce.current.getBoundingClientRect();
|
|
4078
|
+
we.current = {
|
|
3930
4079
|
startX: e.clientX,
|
|
3931
4080
|
startY: e.clientY,
|
|
3932
4081
|
rect: t,
|
|
3933
|
-
corner:
|
|
3934
|
-
},
|
|
3935
|
-
}, [
|
|
4082
|
+
corner: P
|
|
4083
|
+
}, B.current = !1, ye(!0);
|
|
4084
|
+
}, [P]);
|
|
3936
4085
|
s(() => {
|
|
3937
|
-
if (!
|
|
4086
|
+
if (!R) return;
|
|
3938
4087
|
let t = (e) => {
|
|
3939
|
-
if (!
|
|
3940
|
-
let t = e.clientX -
|
|
3941
|
-
|
|
4088
|
+
if (!we.current) return;
|
|
4089
|
+
let t = e.clientX - we.current.startX, n = e.clientY - we.current.startY;
|
|
4090
|
+
B.current || Math.hypot(t, n) > 5 && (B.current = !0), B.current && L({
|
|
3942
4091
|
x: t,
|
|
3943
4092
|
y: n
|
|
3944
4093
|
});
|
|
3945
4094
|
}, n = (t) => {
|
|
3946
|
-
if (!
|
|
3947
|
-
|
|
4095
|
+
if (!we.current) {
|
|
4096
|
+
ye(!1), L(null), B.current = !1;
|
|
3948
4097
|
return;
|
|
3949
4098
|
}
|
|
3950
|
-
let { rect: n, startX: r, startY: i } =
|
|
3951
|
-
if (
|
|
3952
|
-
|
|
4099
|
+
let { rect: n, startX: r, startY: i } = we.current, a = t.clientX - r, o = t.clientY - i, s = B.current;
|
|
4100
|
+
if (we.current = null, ye(!1), setTimeout(() => {
|
|
4101
|
+
B.current = !1;
|
|
3953
4102
|
}, 100), !s) {
|
|
3954
|
-
|
|
4103
|
+
L(null);
|
|
3955
4104
|
return;
|
|
3956
4105
|
}
|
|
3957
4106
|
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
|
-
|
|
4107
|
+
ve({
|
|
3959
4108
|
transform: `translate3d(${y}px, ${b}px, 0)`,
|
|
3960
4109
|
transition: "none"
|
|
3961
|
-
}),
|
|
4110
|
+
}), L(null), F(g), e.onEvent?.("position_changed", { position: g }), requestAnimationFrame(() => {
|
|
3962
4111
|
requestAnimationFrame(() => {
|
|
3963
|
-
|
|
4112
|
+
ve({
|
|
3964
4113
|
transform: "translate3d(0, 0, 0)",
|
|
3965
4114
|
transition: "transform 0.35s cubic-bezier(0.16, 1, 0.3, 1)"
|
|
3966
4115
|
}), setTimeout(() => {
|
|
3967
|
-
|
|
4116
|
+
ve(null);
|
|
3968
4117
|
}, 360);
|
|
3969
4118
|
});
|
|
3970
4119
|
});
|
|
@@ -3972,59 +4121,59 @@ var _t = (e) => {
|
|
|
3972
4121
|
return window.addEventListener("pointermove", t), window.addEventListener("pointerup", n), window.addEventListener("pointercancel", n), () => {
|
|
3973
4122
|
window.removeEventListener("pointermove", t), window.removeEventListener("pointerup", n), window.removeEventListener("pointercancel", n);
|
|
3974
4123
|
};
|
|
3975
|
-
}, [
|
|
3976
|
-
let
|
|
3977
|
-
if (
|
|
4124
|
+
}, [R, e]);
|
|
4125
|
+
let Ne = async () => {
|
|
4126
|
+
if (ue) {
|
|
3978
4127
|
try {
|
|
3979
|
-
await navigator.clipboard.writeText(
|
|
4128
|
+
await navigator.clipboard.writeText(ue);
|
|
3980
4129
|
} catch {
|
|
3981
4130
|
let e = document.createElement("textarea");
|
|
3982
|
-
e.value =
|
|
4131
|
+
e.value = ue, document.body.appendChild(e), e.select(), document.execCommand("copy"), document.body.removeChild(e);
|
|
3983
4132
|
}
|
|
3984
|
-
|
|
4133
|
+
pe(!0), setTimeout(() => pe(!1), 2e3);
|
|
3985
4134
|
}
|
|
3986
|
-
},
|
|
4135
|
+
}, Pe = () => ue ? /* @__PURE__ */ m("div", {
|
|
3987
4136
|
className: "w-full max-w-xs mb-6",
|
|
3988
4137
|
children: [/* @__PURE__ */ p("p", {
|
|
3989
|
-
className: `text-2xs font-bold uppercase tracking-wider mb-1.5 ${
|
|
3990
|
-
children:
|
|
4138
|
+
className: `text-2xs font-bold uppercase tracking-wider mb-1.5 ${V ? "text-zinc-400" : "text-gray-500"}`,
|
|
4139
|
+
children: U ? "Submission Number" : "Registration Number"
|
|
3991
4140
|
}), /* @__PURE__ */ m("div", {
|
|
3992
4141
|
part: "registration-number",
|
|
3993
|
-
className: `flex items-center gap-2 pl-4 pr-1.5 py-1.5 rounded-xl border ${
|
|
4142
|
+
className: `flex items-center gap-2 pl-4 pr-1.5 py-1.5 rounded-xl border ${V ? "bg-zinc-900 border-zinc-700" : "bg-gray-50 border-gray-200"}`,
|
|
3994
4143
|
children: [/* @__PURE__ */ p("span", {
|
|
3995
4144
|
className: "flex-1 text-left font-mono font-bold text-base select-all break-all",
|
|
3996
|
-
children:
|
|
4145
|
+
children: ue
|
|
3997
4146
|
}), /* @__PURE__ */ m("button", {
|
|
3998
4147
|
part: "copy-button",
|
|
3999
4148
|
type: "button",
|
|
4000
|
-
onClick:
|
|
4149
|
+
onClick: Ne,
|
|
4001
4150
|
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:
|
|
4151
|
+
style: { backgroundColor: H },
|
|
4003
4152
|
title: "Copy registration number",
|
|
4004
|
-
children: [p(
|
|
4153
|
+
children: [p(fe ? ce : ge, { size: 13 }), /* @__PURE__ */ p("span", { children: fe ? "Copied" : "Copy" })]
|
|
4005
4154
|
})]
|
|
4006
4155
|
})]
|
|
4007
4156
|
}) : null;
|
|
4008
4157
|
if (!c && e.displayMode === "popup") {
|
|
4009
4158
|
let e = {
|
|
4010
|
-
...
|
|
4011
|
-
...
|
|
4012
|
-
transform: `translate3d(${
|
|
4159
|
+
...vt(P),
|
|
4160
|
+
...I ? {
|
|
4161
|
+
transform: `translate3d(${I.x}px, ${I.y}px, 0) scale(1.05)`,
|
|
4013
4162
|
transition: "none",
|
|
4014
4163
|
userSelect: "none"
|
|
4015
|
-
} :
|
|
4016
|
-
transform:
|
|
4017
|
-
transition:
|
|
4164
|
+
} : _e ? {
|
|
4165
|
+
transform: _e.transform,
|
|
4166
|
+
transition: _e.transition
|
|
4018
4167
|
} : { transition: "all 0.3s cubic-bezier(0.16, 1, 0.3, 1)" }
|
|
4019
|
-
}, t =
|
|
4168
|
+
}, t = be || R;
|
|
4020
4169
|
return /* @__PURE__ */ m("div", {
|
|
4021
|
-
ref:
|
|
4022
|
-
onMouseEnter: () =>
|
|
4023
|
-
onMouseLeave: () =>
|
|
4024
|
-
className: `fixed ${
|
|
4170
|
+
ref: Ce,
|
|
4171
|
+
onMouseEnter: () => z(!0),
|
|
4172
|
+
onMouseLeave: () => z(!1),
|
|
4173
|
+
className: `fixed ${yt(P)} z-50 select-none group`,
|
|
4025
4174
|
style: e,
|
|
4026
4175
|
children: [/* @__PURE__ */ p("div", {
|
|
4027
|
-
onPointerDown:
|
|
4176
|
+
onPointerDown: Me,
|
|
4028
4177
|
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
4178
|
title: "Hold and drag to change position",
|
|
4030
4179
|
children: /* @__PURE__ */ p(Re, {
|
|
@@ -4035,10 +4184,10 @@ var _t = (e) => {
|
|
|
4035
4184
|
part: "launcher",
|
|
4036
4185
|
type: "button",
|
|
4037
4186
|
onClick: (e) => {
|
|
4038
|
-
e.stopPropagation(), !
|
|
4187
|
+
e.stopPropagation(), !R && h(!0);
|
|
4039
4188
|
},
|
|
4040
4189
|
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:
|
|
4190
|
+
style: { backgroundColor: H },
|
|
4042
4191
|
title: "Click to open registration",
|
|
4043
4192
|
children: /* @__PURE__ */ p("span", {
|
|
4044
4193
|
className: "font-bold text-sm tracking-wide pointer-events-none",
|
|
@@ -4047,9 +4196,9 @@ var _t = (e) => {
|
|
|
4047
4196
|
})]
|
|
4048
4197
|
});
|
|
4049
4198
|
}
|
|
4050
|
-
let Ie = e.displayMode === "fullscreen" || e.displayMode === "popup" && y, Z = e.displayMode === "widget", Q =
|
|
4051
|
-
Ve["--vx-accent"] =
|
|
4052
|
-
let He =
|
|
4199
|
+
let Ie = e.displayMode === "fullscreen" || e.displayMode === "popup" && y, Z = e.displayMode === "widget", Q = gt(Ee, V, Z), ze = `${V ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"} flex flex-col transition-all duration-300 ease-in-out `, Be = e.theme?.fontFamily, Ve = !Be || Be === "inherit" ? {} : { fontFamily: `var(--vx-font-family, ${Be})` };
|
|
4200
|
+
Ve["--vx-accent"] = H, Ie ? ze += "fixed inset-0 z-[9999] rounded-none overflow-hidden " : e.displayMode === "popup" ? (ze += `fixed ${yt(P)} z-50 rounded-xl shadow-2xl border ${V ? "border-zinc-800" : "border-gray-200"} overflow-hidden `, Ve.width = e.width || "400px", Ve.height = e.height || "700px", Ve.maxHeight = "90vh", Ve.maxWidth = "calc(100vw - 32px)", Object.assign(Ve, vt(P))) : (ze += "relative w-full min-h-screen border-none shadow-none rounded-none ", Ve.width = "100%", Ve.minHeight = "100vh");
|
|
4201
|
+
let He = U ? "Abstract Submission" : t === "registration" ? C || "Registration" : "Attendee Portal", Ue = A.trim().toLowerCase(), We = Ue ? x.filter((e) => [
|
|
4053
4202
|
e.type,
|
|
4054
4203
|
e.name,
|
|
4055
4204
|
e.category,
|
|
@@ -4058,9 +4207,9 @@ var _t = (e) => {
|
|
|
4058
4207
|
e.price,
|
|
4059
4208
|
e.tax_info,
|
|
4060
4209
|
...Array.isArray(e.items) ? e.items.map((e) => e?.name).filter(Boolean) : []
|
|
4061
|
-
].filter((e) => e != null && e !== "").join(" ").toLowerCase().includes(Ue)) : x, Ke = `max-w-2xl mx-auto w-full rounded-3xl border overflow-hidden ${
|
|
4210
|
+
].filter((e) => e != null && e !== "").join(" ").toLowerCase().includes(Ue)) : x, Ke = `max-w-2xl mx-auto w-full rounded-3xl border overflow-hidden ${V ? "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)]"}`, Je = () => {
|
|
4062
4211
|
if (x.length === 0) return null;
|
|
4063
|
-
let e = x.find((e) => String(e.id) ===
|
|
4212
|
+
let e = x.find((e) => String(e.id) === ne) || (x.length === 1 ? x[0] : null), t = e ? e.type || e.name || e.label : "";
|
|
4064
4213
|
return /* @__PURE__ */ m("div", {
|
|
4065
4214
|
part: "category-panel",
|
|
4066
4215
|
className: Ke,
|
|
@@ -4070,15 +4219,15 @@ var _t = (e) => {
|
|
|
4070
4219
|
children: [/* @__PURE__ */ p("div", {
|
|
4071
4220
|
className: "w-11 h-11 rounded-xl flex items-center justify-center shrink-0",
|
|
4072
4221
|
style: {
|
|
4073
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4074
|
-
color:
|
|
4222
|
+
backgroundColor: `color-mix(in srgb, ${H} 12%, transparent)`,
|
|
4223
|
+
color: H
|
|
4075
4224
|
},
|
|
4076
|
-
children: /* @__PURE__ */ p(
|
|
4225
|
+
children: /* @__PURE__ */ p(Se, { size: 20 })
|
|
4077
4226
|
}), /* @__PURE__ */ p("div", {
|
|
4078
4227
|
className: "min-w-0",
|
|
4079
4228
|
children: /* @__PURE__ */ p("h3", {
|
|
4080
4229
|
part: "list-title",
|
|
4081
|
-
className: `text-lg sm:text-xl font-semibold tracking-tight ${
|
|
4230
|
+
className: `text-lg sm:text-xl font-semibold tracking-tight ${V ? "text-white" : "text-slate-900"}`,
|
|
4082
4231
|
style: $,
|
|
4083
4232
|
children: "Choose a submission category"
|
|
4084
4233
|
})
|
|
@@ -4087,7 +4236,7 @@ var _t = (e) => {
|
|
|
4087
4236
|
/* @__PURE__ */ p("div", {
|
|
4088
4237
|
role: "radiogroup",
|
|
4089
4238
|
"aria-label": "Submission category",
|
|
4090
|
-
className: `border-t divide-y ${
|
|
4239
|
+
className: `border-t divide-y ${V ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
|
|
4091
4240
|
children: x.map((t) => {
|
|
4092
4241
|
let n = t.type || t.name || t.label, r = !!e && String(e.id) === String(t.id);
|
|
4093
4242
|
return /* @__PURE__ */ m("button", {
|
|
@@ -4095,48 +4244,48 @@ var _t = (e) => {
|
|
|
4095
4244
|
type: "button",
|
|
4096
4245
|
role: "radio",
|
|
4097
4246
|
"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, ${
|
|
4247
|
+
onClick: () => re(String(t.id)),
|
|
4248
|
+
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 ? "" : V ? "hover:bg-zinc-800/60" : "hover:bg-slate-50"}`,
|
|
4249
|
+
style: r ? { backgroundColor: `color-mix(in srgb, ${H} ${V ? 14 : 6}%, transparent)` } : void 0,
|
|
4101
4250
|
children: [
|
|
4102
4251
|
/* @__PURE__ */ p("span", {
|
|
4103
4252
|
"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:
|
|
4253
|
+
className: `w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors ${r ? "" : V ? "border-zinc-600" : "border-slate-300"}`,
|
|
4254
|
+
style: r ? { borderColor: H } : void 0,
|
|
4106
4255
|
children: r && /* @__PURE__ */ p("span", {
|
|
4107
4256
|
className: "w-2.5 h-2.5 rounded-full",
|
|
4108
|
-
style: { backgroundColor:
|
|
4257
|
+
style: { backgroundColor: H }
|
|
4109
4258
|
})
|
|
4110
4259
|
}),
|
|
4111
4260
|
/* @__PURE__ */ m("span", {
|
|
4112
4261
|
className: "flex-1 min-w-0",
|
|
4113
4262
|
children: [/* @__PURE__ */ p("span", {
|
|
4114
|
-
className: `block text-[15px] font-semibold leading-snug ${
|
|
4263
|
+
className: `block text-[15px] font-semibold leading-snug ${V ? "text-white" : "text-slate-900"}`,
|
|
4115
4264
|
children: n
|
|
4116
4265
|
}), t.description && /* @__PURE__ */ p("span", {
|
|
4117
|
-
className: `block text-[13px] mt-0.5 line-clamp-1 ${
|
|
4266
|
+
className: `block text-[13px] mt-0.5 line-clamp-1 ${V ? "text-zinc-400" : "text-slate-500"}`,
|
|
4118
4267
|
children: t.description
|
|
4119
4268
|
})]
|
|
4120
4269
|
}),
|
|
4121
4270
|
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 ${
|
|
4271
|
+
className: `hidden sm:inline-block text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full shrink-0 ${V ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
|
|
4123
4272
|
children: t.category
|
|
4124
4273
|
}),
|
|
4125
4274
|
/* @__PURE__ */ p(ie, {
|
|
4126
4275
|
size: 16,
|
|
4127
|
-
className: `shrink-0 transition-all ${r ? "translate-x-0.5" : `${
|
|
4128
|
-
style: r ? { color:
|
|
4276
|
+
className: `shrink-0 transition-all ${r ? "translate-x-0.5" : `${V ? "text-zinc-600" : "text-slate-300"} group-hover:translate-x-0.5`}`,
|
|
4277
|
+
style: r ? { color: H } : void 0
|
|
4129
4278
|
})
|
|
4130
4279
|
]
|
|
4131
4280
|
}, t.id);
|
|
4132
4281
|
})
|
|
4133
4282
|
}),
|
|
4134
4283
|
/* @__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 ${
|
|
4284
|
+
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 ${V ? "border-zinc-800" : "border-slate-100"}`,
|
|
4136
4285
|
children: [/* @__PURE__ */ p("p", {
|
|
4137
|
-
className: `text-[13px] truncate ${
|
|
4286
|
+
className: `text-[13px] truncate ${V ? "text-zinc-400" : "text-slate-500"}`,
|
|
4138
4287
|
children: e ? /* @__PURE__ */ m(f, { children: ["Selected: ", /* @__PURE__ */ p("span", {
|
|
4139
|
-
className: `font-semibold ${
|
|
4288
|
+
className: `font-semibold ${V ? "text-zinc-200" : "text-slate-700"}`,
|
|
4140
4289
|
children: t
|
|
4141
4290
|
})] }) : "Select a category to continue"
|
|
4142
4291
|
}), /* @__PURE__ */ m("button", {
|
|
@@ -4145,8 +4294,8 @@ var _t = (e) => {
|
|
|
4145
4294
|
disabled: !e,
|
|
4146
4295
|
onClick: () => e && E(e),
|
|
4147
4296
|
style: {
|
|
4148
|
-
background: `linear-gradient(135deg, ${
|
|
4149
|
-
boxShadow: e ? `0 10px 24px -12px color-mix(in srgb, ${
|
|
4297
|
+
background: `linear-gradient(135deg, ${H}, color-mix(in srgb, ${H} 80%, black))`,
|
|
4298
|
+
boxShadow: e ? `0 10px 24px -12px color-mix(in srgb, ${H} 70%, transparent)` : void 0
|
|
4150
4299
|
},
|
|
4151
4300
|
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
4301
|
children: [/* @__PURE__ */ p("span", { children: "Continue to submission" }), /* @__PURE__ */ p(ie, {
|
|
@@ -4166,7 +4315,7 @@ var _t = (e) => {
|
|
|
4166
4315
|
children: [/* @__PURE__ */ p("div", { className: "vx-skeleton w-11 h-11 rounded-xl" }), /* @__PURE__ */ p("div", { className: `${e} h-4 w-56` })]
|
|
4167
4316
|
}),
|
|
4168
4317
|
/* @__PURE__ */ p("div", {
|
|
4169
|
-
className: `border-t divide-y ${
|
|
4318
|
+
className: `border-t divide-y ${V ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
|
|
4170
4319
|
children: [
|
|
4171
4320
|
0,
|
|
4172
4321
|
1,
|
|
@@ -4189,7 +4338,7 @@ var _t = (e) => {
|
|
|
4189
4338
|
}, t))
|
|
4190
4339
|
}),
|
|
4191
4340
|
/* @__PURE__ */ p("div", {
|
|
4192
|
-
className: `px-5 sm:px-7 py-5 border-t flex justify-end ${
|
|
4341
|
+
className: `px-5 sm:px-7 py-5 border-t flex justify-end ${V ? "border-zinc-800" : "border-slate-100"}`,
|
|
4193
4342
|
children: /* @__PURE__ */ p("div", { className: `${e} h-11 w-52` })
|
|
4194
4343
|
})
|
|
4195
4344
|
]
|
|
@@ -4200,7 +4349,7 @@ var _t = (e) => {
|
|
|
4200
4349
|
role: "status",
|
|
4201
4350
|
"aria-live": "polite",
|
|
4202
4351
|
"aria-busy": "true",
|
|
4203
|
-
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${
|
|
4352
|
+
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${V ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
|
|
4204
4353
|
children: [
|
|
4205
4354
|
/* @__PURE__ */ p("span", {
|
|
4206
4355
|
className: "sr-only",
|
|
@@ -4209,7 +4358,7 @@ var _t = (e) => {
|
|
|
4209
4358
|
/* @__PURE__ */ p("div", {
|
|
4210
4359
|
part: "header",
|
|
4211
4360
|
className: "relative overflow-hidden z-10 shrink-0 text-white",
|
|
4212
|
-
style: { background: `linear-gradient(135deg, ${
|
|
4361
|
+
style: { background: `linear-gradient(135deg, ${H} 0%, color-mix(in srgb, ${H} 76%, black) 100%)` },
|
|
4213
4362
|
children: /* @__PURE__ */ m("div", {
|
|
4214
4363
|
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
4364
|
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 +4367,30 @@ var _t = (e) => {
|
|
|
4218
4367
|
})]
|
|
4219
4368
|
})
|
|
4220
4369
|
}),
|
|
4221
|
-
!
|
|
4370
|
+
!U && /* @__PURE__ */ p("div", {
|
|
4222
4371
|
part: "tabs",
|
|
4223
|
-
className: `shrink-0 border-b ${
|
|
4372
|
+
className: `shrink-0 border-b ${V ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
4224
4373
|
children: /* @__PURE__ */ p("div", {
|
|
4225
4374
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-3",
|
|
4226
4375
|
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 ${
|
|
4376
|
+
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${V ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4377
|
+
children: [/* @__PURE__ */ p("div", { className: `h-9 rounded-lg ${V ? "bg-zinc-950" : "bg-white shadow-sm"}` }), /* @__PURE__ */ p("div", { className: "h-9" })]
|
|
4229
4378
|
})
|
|
4230
4379
|
})
|
|
4231
4380
|
}),
|
|
4232
4381
|
/* @__PURE__ */ p("div", {
|
|
4233
4382
|
part: "list",
|
|
4234
|
-
className: `${Z ? "w-full flex-1" : "overflow-hidden flex-1 min-h-0"} relative ${
|
|
4383
|
+
className: `${Z ? "w-full flex-1" : "overflow-hidden flex-1 min-h-0"} relative ${V ? "bg-zinc-950" : "bg-slate-50"}`,
|
|
4235
4384
|
style: Q,
|
|
4236
4385
|
children: /* @__PURE__ */ p("div", {
|
|
4237
4386
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-6 sm:py-8 space-y-5",
|
|
4238
|
-
children:
|
|
4387
|
+
children: U ? Xe(e) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
4239
4388
|
part: "search",
|
|
4240
4389
|
className: "flex flex-col sm:flex-row sm:items-end sm:justify-between gap-3",
|
|
4241
4390
|
children: [/* @__PURE__ */ m("div", {
|
|
4242
4391
|
className: "space-y-2",
|
|
4243
4392
|
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 ${
|
|
4393
|
+
}), /* @__PURE__ */ p("div", { className: `h-10 w-full sm:w-72 rounded-xl border ${V ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200"}` })]
|
|
4245
4394
|
}), /* @__PURE__ */ p("div", {
|
|
4246
4395
|
part: "card-grid",
|
|
4247
4396
|
className: Z ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
|
|
@@ -4249,7 +4398,7 @@ var _t = (e) => {
|
|
|
4249
4398
|
let r = { animationDelay: `${n * 90}ms` };
|
|
4250
4399
|
return /* @__PURE__ */ m("div", {
|
|
4251
4400
|
part: "card",
|
|
4252
|
-
className: `rounded-2xl border p-5 sm:p-6 flex flex-col ${
|
|
4401
|
+
className: `rounded-2xl border p-5 sm:p-6 flex flex-col ${V ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`,
|
|
4253
4402
|
children: [
|
|
4254
4403
|
/* @__PURE__ */ p("div", {
|
|
4255
4404
|
className: "vx-skeleton w-11 h-11 rounded-xl",
|
|
@@ -4264,7 +4413,7 @@ var _t = (e) => {
|
|
|
4264
4413
|
style: r
|
|
4265
4414
|
}),
|
|
4266
4415
|
/* @__PURE__ */ m("div", {
|
|
4267
|
-
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${
|
|
4416
|
+
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${V ? "border-zinc-800" : "border-slate-200"}`,
|
|
4268
4417
|
children: [/* @__PURE__ */ m("div", {
|
|
4269
4418
|
className: "space-y-2",
|
|
4270
4419
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -4288,29 +4437,29 @@ var _t = (e) => {
|
|
|
4288
4437
|
]
|
|
4289
4438
|
});
|
|
4290
4439
|
}, Qe = () => {
|
|
4291
|
-
let e = !!T, t =
|
|
4440
|
+
let e = !!T, t = U ? Se : Ye, n = e ? U ? "Submitting your abstract" : "Submitting your registration" : "Loading your registration", r = T ? T.type || T.name || T.label : "", i = !U && 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
4441
|
return /* @__PURE__ */ p("div", {
|
|
4293
4442
|
part: "screen screen-submitting",
|
|
4294
4443
|
role: "status",
|
|
4295
4444
|
"aria-live": "polite",
|
|
4296
4445
|
"aria-busy": "true",
|
|
4297
|
-
className: `flex-1 flex items-center justify-center px-4 py-16 ${Z ? "min-h-[70vh]" : "h-full"} ${
|
|
4446
|
+
className: `flex-1 flex items-center justify-center px-4 py-16 ${Z ? "min-h-[70vh]" : "h-full"} ${V ? "bg-zinc-950" : "bg-slate-50"}`,
|
|
4298
4447
|
style: Q,
|
|
4299
4448
|
children: /* @__PURE__ */ m("div", {
|
|
4300
4449
|
part: "portal-card",
|
|
4301
|
-
className: `w-full max-w-sm rounded-3xl border p-8 text-center ${
|
|
4450
|
+
className: `w-full max-w-sm rounded-3xl border p-8 text-center ${V ? "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
4451
|
children: [
|
|
4303
4452
|
/* @__PURE__ */ m("div", {
|
|
4304
4453
|
className: "relative mx-auto w-16 h-16",
|
|
4305
4454
|
children: [
|
|
4306
4455
|
/* @__PURE__ */ p("div", {
|
|
4307
4456
|
className: "absolute inset-0 rounded-full",
|
|
4308
|
-
style: { boxShadow: `inset 0 0 0 4px color-mix(in srgb, ${
|
|
4457
|
+
style: { boxShadow: `inset 0 0 0 4px color-mix(in srgb, ${H} 14%, transparent)` }
|
|
4309
4458
|
}),
|
|
4310
4459
|
/* @__PURE__ */ p("div", {
|
|
4311
4460
|
className: "absolute inset-0 rounded-full motion-safe:animate-spin",
|
|
4312
4461
|
style: {
|
|
4313
|
-
background: `conic-gradient(from 0deg, transparent 0deg, ${
|
|
4462
|
+
background: `conic-gradient(from 0deg, transparent 0deg, ${H} 300deg, transparent 360deg)`,
|
|
4314
4463
|
mask: "radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px))",
|
|
4315
4464
|
WebkitMask: "radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px))"
|
|
4316
4465
|
}
|
|
@@ -4318,8 +4467,8 @@ var _t = (e) => {
|
|
|
4318
4467
|
/* @__PURE__ */ p("div", {
|
|
4319
4468
|
className: "absolute inset-[10px] rounded-full flex items-center justify-center",
|
|
4320
4469
|
style: {
|
|
4321
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4322
|
-
color:
|
|
4470
|
+
backgroundColor: `color-mix(in srgb, ${H} 12%, transparent)`,
|
|
4471
|
+
color: H
|
|
4323
4472
|
},
|
|
4324
4473
|
children: /* @__PURE__ */ p(t, { size: 20 })
|
|
4325
4474
|
})
|
|
@@ -4327,35 +4476,35 @@ var _t = (e) => {
|
|
|
4327
4476
|
}),
|
|
4328
4477
|
/* @__PURE__ */ p("h3", {
|
|
4329
4478
|
part: "screen-title",
|
|
4330
|
-
className: `mt-6 text-xl font-bold tracking-tight ${
|
|
4479
|
+
className: `mt-6 text-xl font-bold tracking-tight ${V ? "text-white" : "text-slate-900"}`,
|
|
4331
4480
|
style: $,
|
|
4332
4481
|
children: n
|
|
4333
4482
|
}),
|
|
4334
4483
|
/* @__PURE__ */ p("p", {
|
|
4335
4484
|
part: "screen-message",
|
|
4336
|
-
className: `mt-1.5 text-[13px] leading-relaxed text-balance ${
|
|
4485
|
+
className: `mt-1.5 text-[13px] leading-relaxed text-balance ${V ? "text-zinc-400" : "text-slate-500"}`,
|
|
4337
4486
|
children: "This usually takes a few seconds. Please keep this page open."
|
|
4338
4487
|
}),
|
|
4339
4488
|
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 ${
|
|
4489
|
+
className: `mt-5 inline-flex max-w-full items-center gap-2 rounded-full px-3 py-1.5 text-xs font-semibold ${V ? "bg-zinc-800 text-zinc-200" : "bg-slate-100 text-slate-700"}`,
|
|
4341
4490
|
children: [/* @__PURE__ */ p("span", {
|
|
4342
4491
|
className: "truncate",
|
|
4343
4492
|
children: r
|
|
4344
4493
|
}), i && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
4345
4494
|
"aria-hidden": "true",
|
|
4346
|
-
className:
|
|
4495
|
+
className: V ? "text-zinc-600" : "text-slate-300",
|
|
4347
4496
|
children: "•"
|
|
4348
4497
|
}), /* @__PURE__ */ p("span", {
|
|
4349
4498
|
className: "shrink-0 tabular-nums",
|
|
4350
|
-
style: { color:
|
|
4499
|
+
style: { color: H },
|
|
4351
4500
|
children: i
|
|
4352
4501
|
})] })]
|
|
4353
4502
|
}),
|
|
4354
4503
|
/* @__PURE__ */ p("div", {
|
|
4355
|
-
className: `mt-6 h-1 w-full overflow-hidden rounded-full ${
|
|
4504
|
+
className: `mt-6 h-1 w-full overflow-hidden rounded-full ${V ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4356
4505
|
children: /* @__PURE__ */ p("div", {
|
|
4357
4506
|
className: "vx-progress-bar h-full w-2/5 rounded-full",
|
|
4358
|
-
style: { backgroundColor:
|
|
4507
|
+
style: { backgroundColor: H }
|
|
4359
4508
|
})
|
|
4360
4509
|
})
|
|
4361
4510
|
]
|
|
@@ -4372,14 +4521,14 @@ var _t = (e) => {
|
|
|
4372
4521
|
onScroll: (e) => {
|
|
4373
4522
|
Z || (e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0));
|
|
4374
4523
|
},
|
|
4375
|
-
children: O && !T && !
|
|
4524
|
+
children: O && !T && !M ? Ze() : O ? Qe() : M ? se ? /* @__PURE__ */ m("div", {
|
|
4376
4525
|
part: "screen screen-payment",
|
|
4377
|
-
className: `flex flex-col h-full relative overflow-y-auto ${
|
|
4526
|
+
className: `flex flex-col h-full relative overflow-y-auto ${V ? "bg-black text-white" : "bg-white text-gray-900"}`,
|
|
4378
4527
|
children: [/* @__PURE__ */ m("div", {
|
|
4379
4528
|
part: "screen-header",
|
|
4380
4529
|
className: "p-4 shadow-sm flex justify-between items-center z-10",
|
|
4381
4530
|
style: {
|
|
4382
|
-
backgroundColor:
|
|
4531
|
+
backgroundColor: H,
|
|
4383
4532
|
color: "white"
|
|
4384
4533
|
},
|
|
4385
4534
|
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h2", {
|
|
@@ -4409,37 +4558,37 @@ var _t = (e) => {
|
|
|
4409
4558
|
/* @__PURE__ */ p("div", {
|
|
4410
4559
|
className: "w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md",
|
|
4411
4560
|
style: {
|
|
4412
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4413
|
-
color:
|
|
4561
|
+
backgroundColor: `color-mix(in srgb, ${H} 12%, transparent)`,
|
|
4562
|
+
color: H
|
|
4414
4563
|
},
|
|
4415
4564
|
children: "💳"
|
|
4416
4565
|
}),
|
|
4417
4566
|
/* @__PURE__ */ p("h3", {
|
|
4418
4567
|
part: "screen-title",
|
|
4419
|
-
className: `text-2xl font-bold mb-2 ${
|
|
4568
|
+
className: `text-2xl font-bold mb-2 ${V ? "text-white" : "text-gray-900"}`,
|
|
4420
4569
|
style: $,
|
|
4421
4570
|
children: "Done Your Payment First"
|
|
4422
4571
|
}),
|
|
4423
4572
|
/* @__PURE__ */ p("p", {
|
|
4424
4573
|
part: "screen-message",
|
|
4425
|
-
className: `text-sm mb-6 max-w-xs leading-relaxed ${
|
|
4574
|
+
className: `text-sm mb-6 max-w-xs leading-relaxed ${V ? "text-zinc-300" : "text-gray-600"}`,
|
|
4426
4575
|
children: "Please complete your payment in the new tab to confirm your booking and finalize your registration."
|
|
4427
4576
|
}),
|
|
4428
|
-
|
|
4577
|
+
Pe(),
|
|
4429
4578
|
/* @__PURE__ */ m("div", {
|
|
4430
4579
|
className: "w-full max-w-xs space-y-3",
|
|
4431
4580
|
children: [/* @__PURE__ */ m("a", {
|
|
4432
4581
|
part: "button button-primary",
|
|
4433
|
-
href:
|
|
4582
|
+
href: se,
|
|
4434
4583
|
target: "_blank",
|
|
4435
4584
|
rel: "noopener noreferrer",
|
|
4436
4585
|
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(
|
|
4586
|
+
style: { backgroundColor: H },
|
|
4587
|
+
children: [/* @__PURE__ */ p("span", { children: "Open Payment Page" }), /* @__PURE__ */ p(xe, { size: 16 })]
|
|
4439
4588
|
}), /* @__PURE__ */ p("button", {
|
|
4440
4589
|
part: "button button-link",
|
|
4441
|
-
onClick:
|
|
4442
|
-
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${
|
|
4590
|
+
onClick: je,
|
|
4591
|
+
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${V ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
|
|
4443
4592
|
children: "Register Another Person"
|
|
4444
4593
|
})]
|
|
4445
4594
|
})
|
|
@@ -4447,47 +4596,47 @@ var _t = (e) => {
|
|
|
4447
4596
|
})]
|
|
4448
4597
|
}) : /* @__PURE__ */ m("div", {
|
|
4449
4598
|
part: "screen screen-success",
|
|
4450
|
-
className: `flex flex-col h-full items-center justify-center p-8 text-center relative ${
|
|
4599
|
+
className: `flex flex-col h-full items-center justify-center p-8 text-center relative ${V ? "bg-black text-white" : "bg-white text-gray-900"}`,
|
|
4451
4600
|
children: [
|
|
4452
4601
|
e.displayMode === "popup" && /* @__PURE__ */ p("div", {
|
|
4453
4602
|
className: "absolute top-4 right-4 flex items-center gap-2",
|
|
4454
4603
|
children: /* @__PURE__ */ p("button", {
|
|
4455
4604
|
onClick: () => h(!1),
|
|
4456
|
-
className: `cursor-pointer ${
|
|
4605
|
+
className: `cursor-pointer ${V ? "text-zinc-400 hover:text-white" : "text-gray-400 hover:text-gray-900"}`,
|
|
4457
4606
|
children: /* @__PURE__ */ p(st, { size: 24 })
|
|
4458
4607
|
})
|
|
4459
4608
|
}),
|
|
4460
4609
|
/* @__PURE__ */ p("div", {
|
|
4461
4610
|
className: "w-20 h-20 rounded-full flex items-center justify-center mb-6 text-4xl shadow-md",
|
|
4462
4611
|
style: {
|
|
4463
|
-
backgroundColor:
|
|
4612
|
+
backgroundColor: H,
|
|
4464
4613
|
color: "white"
|
|
4465
4614
|
},
|
|
4466
4615
|
children: "✓"
|
|
4467
4616
|
}),
|
|
4468
4617
|
/* @__PURE__ */ p("h2", {
|
|
4469
4618
|
part: "screen-title",
|
|
4470
|
-
className: `text-3xl font-bold mb-3 ${
|
|
4619
|
+
className: `text-3xl font-bold mb-3 ${V ? "text-white" : "text-gray-900"}`,
|
|
4471
4620
|
style: $,
|
|
4472
|
-
children:
|
|
4621
|
+
children: U ? "Abstract Submitted Successfully" : "Thank You!"
|
|
4473
4622
|
}),
|
|
4474
4623
|
/* @__PURE__ */ p("p", {
|
|
4475
4624
|
part: "screen-message",
|
|
4476
|
-
className: `mb-6 ${
|
|
4477
|
-
children:
|
|
4625
|
+
className: `mb-6 ${V ? "text-zinc-300" : "text-gray-600"}`,
|
|
4626
|
+
children: U ? "Your reference submission number is below." : "Your registration has been successfully received."
|
|
4478
4627
|
}),
|
|
4479
|
-
|
|
4628
|
+
Pe(),
|
|
4480
4629
|
/* @__PURE__ */ p("button", {
|
|
4481
4630
|
part: "button button-primary",
|
|
4482
|
-
onClick:
|
|
4483
|
-
style: { backgroundColor:
|
|
4631
|
+
onClick: je,
|
|
4632
|
+
style: { backgroundColor: H },
|
|
4484
4633
|
className: "text-white font-bold py-3 px-8 rounded-md hover:opacity-90 transition-opacity shadow-md cursor-pointer",
|
|
4485
4634
|
children: "Back"
|
|
4486
4635
|
})
|
|
4487
4636
|
]
|
|
4488
|
-
}) :
|
|
4637
|
+
}) : N ? /* @__PURE__ */ m("div", {
|
|
4489
4638
|
part: "screen screen-error",
|
|
4490
|
-
className: `flex flex-col h-full relative overflow-y-auto ${
|
|
4639
|
+
className: `flex flex-col h-full relative overflow-y-auto ${V ? "bg-black text-white" : "bg-white text-gray-900"}`,
|
|
4491
4640
|
children: [/* @__PURE__ */ m("div", {
|
|
4492
4641
|
part: "screen-header",
|
|
4493
4642
|
className: "p-4 shadow-sm flex justify-between items-center z-10 bg-red-600 text-white",
|
|
@@ -4495,7 +4644,7 @@ var _t = (e) => {
|
|
|
4495
4644
|
part: "screen-header-title",
|
|
4496
4645
|
className: "text-xl font-bold",
|
|
4497
4646
|
style: $,
|
|
4498
|
-
children:
|
|
4647
|
+
children: U ? "Submission Failed" : "Registration Failed"
|
|
4499
4648
|
}), /* @__PURE__ */ p("p", {
|
|
4500
4649
|
className: "text-xs opacity-90 mt-0.5",
|
|
4501
4650
|
children: "Please try again"
|
|
@@ -4511,41 +4660,41 @@ var _t = (e) => {
|
|
|
4511
4660
|
className: "flex-1 flex flex-col items-center justify-center p-6 text-center",
|
|
4512
4661
|
children: [
|
|
4513
4662
|
/* @__PURE__ */ p("div", {
|
|
4514
|
-
className: `w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md border ${
|
|
4663
|
+
className: `w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md border ${V ? "bg-red-950/60 text-red-400 border-red-900" : "bg-red-50 text-red-600 border-red-200"}`,
|
|
4515
4664
|
children: "✕"
|
|
4516
4665
|
}),
|
|
4517
4666
|
/* @__PURE__ */ p("h3", {
|
|
4518
4667
|
part: "screen-title",
|
|
4519
|
-
className: `text-2xl font-bold mb-2 ${
|
|
4668
|
+
className: `text-2xl font-bold mb-2 ${V ? "text-white" : "text-gray-900"}`,
|
|
4520
4669
|
style: $,
|
|
4521
4670
|
children: "Submission Error"
|
|
4522
4671
|
}),
|
|
4523
4672
|
/* @__PURE__ */ p("p", {
|
|
4524
4673
|
part: "screen-message",
|
|
4525
|
-
className: `text-sm mb-6 max-w-xs leading-relaxed ${
|
|
4526
|
-
children:
|
|
4674
|
+
className: `text-sm mb-6 max-w-xs leading-relaxed ${V ? "text-zinc-300" : "text-gray-600"}`,
|
|
4675
|
+
children: N
|
|
4527
4676
|
}),
|
|
4528
4677
|
/* @__PURE__ */ m("div", {
|
|
4529
4678
|
className: "w-full max-w-xs space-y-3",
|
|
4530
4679
|
children: [/* @__PURE__ */ p("button", {
|
|
4531
4680
|
part: "button button-primary",
|
|
4532
|
-
onClick: () =>
|
|
4533
|
-
style: { backgroundColor:
|
|
4681
|
+
onClick: () => oe(null),
|
|
4682
|
+
style: { backgroundColor: H },
|
|
4534
4683
|
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
4684
|
children: /* @__PURE__ */ p("span", { children: "Try Again" })
|
|
4536
4685
|
}), /* @__PURE__ */ p("button", {
|
|
4537
4686
|
part: "button button-link",
|
|
4538
4687
|
onClick: () => {
|
|
4539
|
-
|
|
4688
|
+
oe(null), E(null);
|
|
4540
4689
|
},
|
|
4541
|
-
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${
|
|
4542
|
-
children:
|
|
4690
|
+
className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${V ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
|
|
4691
|
+
children: U ? "Choose Another Category" : "Choose Another Ticket"
|
|
4543
4692
|
})]
|
|
4544
4693
|
})
|
|
4545
4694
|
]
|
|
4546
4695
|
})]
|
|
4547
4696
|
}) : T ? /* @__PURE__ */ p(pt, {
|
|
4548
|
-
schema:
|
|
4697
|
+
schema: U ? te : T.form_schema,
|
|
4549
4698
|
ticketType: T,
|
|
4550
4699
|
theme: e.theme,
|
|
4551
4700
|
displayMode: e.displayMode,
|
|
@@ -4553,28 +4702,29 @@ var _t = (e) => {
|
|
|
4553
4702
|
isExpanded: y,
|
|
4554
4703
|
onToggleExpand: () => b(!y),
|
|
4555
4704
|
onClose: () => h(!1),
|
|
4556
|
-
onSubmit:
|
|
4557
|
-
onChange:
|
|
4558
|
-
initialValues:
|
|
4559
|
-
|
|
4705
|
+
onSubmit: Ae,
|
|
4706
|
+
onChange: ke,
|
|
4707
|
+
initialValues: X,
|
|
4708
|
+
fileAnswers: J?.file_answers,
|
|
4709
|
+
isDark: V,
|
|
4560
4710
|
apiClient: G,
|
|
4561
4711
|
storage: K,
|
|
4562
4712
|
onError: e.onError,
|
|
4563
4713
|
onEvent: e.onEvent,
|
|
4564
|
-
showReviewFields:
|
|
4714
|
+
showReviewFields: U,
|
|
4565
4715
|
onBack: () => {
|
|
4566
4716
|
q.current && clearTimeout(q.current), E(null);
|
|
4567
4717
|
}
|
|
4568
4718
|
}) : /* @__PURE__ */ m("div", {
|
|
4569
4719
|
part: "page",
|
|
4570
|
-
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${
|
|
4720
|
+
className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${V ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
|
|
4571
4721
|
children: [
|
|
4572
4722
|
/* @__PURE__ */ m("div", {
|
|
4573
4723
|
part: "header",
|
|
4574
4724
|
className: "relative overflow-hidden z-10 shrink-0 text-white",
|
|
4575
4725
|
style: {
|
|
4576
|
-
backgroundColor:
|
|
4577
|
-
background: `linear-gradient(135deg, ${
|
|
4726
|
+
backgroundColor: H,
|
|
4727
|
+
background: `linear-gradient(135deg, ${H} 0%, color-mix(in srgb, ${H} 76%, black) 100%)`
|
|
4578
4728
|
},
|
|
4579
4729
|
children: [
|
|
4580
4730
|
/* @__PURE__ */ p("div", {
|
|
@@ -4590,16 +4740,16 @@ var _t = (e) => {
|
|
|
4590
4740
|
"aria-hidden": "true",
|
|
4591
4741
|
className: "pointer-events-none absolute -top-24 -right-10 h-64 w-64 rounded-full bg-white/15 blur-3xl"
|
|
4592
4742
|
}),
|
|
4593
|
-
|
|
4743
|
+
Te && /* @__PURE__ */ m("div", {
|
|
4594
4744
|
className: "absolute inset-y-0 right-0 flex max-w-[65%] pointer-events-none select-none",
|
|
4595
4745
|
children: [/* @__PURE__ */ p("img", {
|
|
4596
|
-
src:
|
|
4746
|
+
src: Te,
|
|
4597
4747
|
alt: "",
|
|
4598
4748
|
"aria-hidden": "true",
|
|
4599
4749
|
className: "h-full w-auto object-cover object-right"
|
|
4600
4750
|
}), /* @__PURE__ */ p("div", {
|
|
4601
4751
|
className: "absolute inset-y-0 left-0 w-2/5",
|
|
4602
|
-
style: { background: `linear-gradient(to right, color-mix(in srgb, ${
|
|
4752
|
+
style: { background: `linear-gradient(to right, color-mix(in srgb, ${H} 80%, black) 0%, transparent 100%)` }
|
|
4603
4753
|
})]
|
|
4604
4754
|
}),
|
|
4605
4755
|
/* @__PURE__ */ m("div", {
|
|
@@ -4628,7 +4778,7 @@ var _t = (e) => {
|
|
|
4628
4778
|
}), /* @__PURE__ */ p("p", {
|
|
4629
4779
|
part: "header-subtitle",
|
|
4630
4780
|
className: "text-xs sm:text-sm text-white/80 mt-0.5",
|
|
4631
|
-
children:
|
|
4781
|
+
children: U ? "Select a category below to submit your abstract" : t === "registration" ? "Select a registration type below to begin your application" : "Registration & Profile Management"
|
|
4632
4782
|
})]
|
|
4633
4783
|
})]
|
|
4634
4784
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -4647,18 +4797,18 @@ var _t = (e) => {
|
|
|
4647
4797
|
})
|
|
4648
4798
|
]
|
|
4649
4799
|
}),
|
|
4650
|
-
!
|
|
4800
|
+
!U && /* @__PURE__ */ p("div", {
|
|
4651
4801
|
part: "tabs",
|
|
4652
|
-
className: `shrink-0 border-b ${
|
|
4802
|
+
className: `shrink-0 border-b ${V ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
|
|
4653
4803
|
children: /* @__PURE__ */ p("div", {
|
|
4654
4804
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-3",
|
|
4655
4805
|
children: /* @__PURE__ */ p("div", {
|
|
4656
4806
|
role: "tablist",
|
|
4657
|
-
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${
|
|
4807
|
+
className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${V ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4658
4808
|
children: [{
|
|
4659
4809
|
key: "registration",
|
|
4660
4810
|
label: "Registration Forms",
|
|
4661
|
-
Icon:
|
|
4811
|
+
Icon: me
|
|
4662
4812
|
}, {
|
|
4663
4813
|
key: "attendee",
|
|
4664
4814
|
label: "Attendee Login",
|
|
@@ -4671,8 +4821,8 @@ var _t = (e) => {
|
|
|
4671
4821
|
"aria-selected": a,
|
|
4672
4822
|
type: "button",
|
|
4673
4823
|
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:
|
|
4824
|
+
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 ? V ? "bg-zinc-950 shadow-sm" : "bg-white shadow-sm ring-1 ring-slate-200/70" : V ? "text-zinc-400 hover:text-zinc-200" : "text-slate-500 hover:text-slate-800"}`,
|
|
4825
|
+
style: a ? { color: H } : void 0,
|
|
4676
4826
|
children: [/* @__PURE__ */ p(i, {
|
|
4677
4827
|
size: 15,
|
|
4678
4828
|
className: "hidden sm:block shrink-0"
|
|
@@ -4685,25 +4835,25 @@ var _t = (e) => {
|
|
|
4685
4835
|
})
|
|
4686
4836
|
})
|
|
4687
4837
|
}),
|
|
4688
|
-
(
|
|
4838
|
+
(U || t === "registration") && /* @__PURE__ */ p("div", {
|
|
4689
4839
|
part: "list",
|
|
4690
|
-
className: `${Z ? "w-full flex-1" : "overflow-y-auto flex-1 min-h-0 overscroll-contain"} relative ${
|
|
4840
|
+
className: `${Z ? "w-full flex-1" : "overflow-y-auto flex-1 min-h-0 overscroll-contain"} relative ${V ? "bg-zinc-950" : "bg-slate-50"}`,
|
|
4691
4841
|
style: Q,
|
|
4692
4842
|
children: /* @__PURE__ */ p("div", {
|
|
4693
4843
|
className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-6 sm:py-8 space-y-5",
|
|
4694
|
-
children:
|
|
4844
|
+
children: U ? Je() : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
4695
4845
|
part: "search",
|
|
4696
4846
|
className: "flex flex-col sm:flex-row sm:items-end sm:justify-between gap-3",
|
|
4697
4847
|
children: [/* @__PURE__ */ m("div", {
|
|
4698
4848
|
className: "min-w-0",
|
|
4699
4849
|
children: [/* @__PURE__ */ p("h3", {
|
|
4700
4850
|
part: "list-title",
|
|
4701
|
-
className: `text-base sm:text-lg font-semibold tracking-tight ${
|
|
4851
|
+
className: `text-base sm:text-lg font-semibold tracking-tight ${V ? "text-white" : "text-slate-900"}`,
|
|
4702
4852
|
style: $,
|
|
4703
|
-
children:
|
|
4853
|
+
children: U ? "Choose a submission category" : "Choose your registration type"
|
|
4704
4854
|
}), x.length > 0 && /* @__PURE__ */ p("p", {
|
|
4705
4855
|
part: "list-count",
|
|
4706
|
-
className: `text-xs mt-0.5 ${
|
|
4856
|
+
className: `text-xs mt-0.5 ${V ? "text-zinc-400" : "text-slate-500"}`,
|
|
4707
4857
|
children: Ue ? `${We.length} of ${x.length} options` : `${x.length} ${x.length === 1 ? "option" : "options"} available`
|
|
4708
4858
|
})]
|
|
4709
4859
|
}), /* @__PURE__ */ m("div", {
|
|
@@ -4712,41 +4862,41 @@ var _t = (e) => {
|
|
|
4712
4862
|
/* @__PURE__ */ p("input", {
|
|
4713
4863
|
part: "input search-input",
|
|
4714
4864
|
type: "text",
|
|
4715
|
-
value:
|
|
4716
|
-
onChange: (e) =>
|
|
4717
|
-
placeholder:
|
|
4865
|
+
value: A,
|
|
4866
|
+
onChange: (e) => j(e.target.value),
|
|
4867
|
+
placeholder: U ? "Search categories…" : "Search registration types…",
|
|
4718
4868
|
"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)] ${
|
|
4869
|
+
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)] ${V ? "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
4870
|
}),
|
|
4721
4871
|
/* @__PURE__ */ p("div", {
|
|
4722
|
-
className: `absolute inset-y-0 left-3 flex items-center pointer-events-none ${
|
|
4872
|
+
className: `absolute inset-y-0 left-3 flex items-center pointer-events-none ${V ? "text-zinc-500" : "text-slate-400"}`,
|
|
4723
4873
|
children: /* @__PURE__ */ p(Ge, {
|
|
4724
4874
|
size: 15,
|
|
4725
4875
|
className: "block"
|
|
4726
4876
|
})
|
|
4727
4877
|
}),
|
|
4728
|
-
|
|
4878
|
+
A && /* @__PURE__ */ p("button", {
|
|
4729
4879
|
type: "button",
|
|
4730
|
-
onClick: () =>
|
|
4880
|
+
onClick: () => j(""),
|
|
4731
4881
|
"aria-label": "Clear search",
|
|
4732
|
-
className: `absolute inset-y-0 right-2.5 flex items-center cursor-pointer ${
|
|
4882
|
+
className: `absolute inset-y-0 right-2.5 flex items-center cursor-pointer ${V ? "text-zinc-500 hover:text-zinc-300" : "text-slate-400 hover:text-slate-600"}`,
|
|
4733
4883
|
children: /* @__PURE__ */ p(st, { size: 14 })
|
|
4734
4884
|
})
|
|
4735
4885
|
]
|
|
4736
4886
|
})]
|
|
4737
4887
|
}), x.length === 0 ? null : We.length === 0 ? /* @__PURE__ */ m("div", {
|
|
4738
4888
|
part: "empty-state",
|
|
4739
|
-
className: `flex flex-col items-center text-center py-16 px-6 rounded-3xl border border-dashed ${
|
|
4889
|
+
className: `flex flex-col items-center text-center py-16 px-6 rounded-3xl border border-dashed ${V ? "bg-zinc-900/60 border-zinc-800 text-zinc-400" : "bg-white/70 border-slate-300 text-slate-500"}`,
|
|
4740
4890
|
children: [
|
|
4741
4891
|
/* @__PURE__ */ p("div", {
|
|
4742
|
-
className: `w-12 h-12 rounded-2xl flex items-center justify-center mb-4 ${
|
|
4892
|
+
className: `w-12 h-12 rounded-2xl flex items-center justify-center mb-4 ${V ? "bg-zinc-800" : "bg-slate-100"}`,
|
|
4743
4893
|
children: /* @__PURE__ */ p(Ge, { size: 20 })
|
|
4744
4894
|
}),
|
|
4745
4895
|
/* @__PURE__ */ m("p", {
|
|
4746
|
-
className: `text-base font-semibold ${
|
|
4896
|
+
className: `text-base font-semibold ${V ? "text-white" : "text-slate-900"}`,
|
|
4747
4897
|
children: [
|
|
4748
4898
|
"No matches for “",
|
|
4749
|
-
|
|
4899
|
+
A.trim(),
|
|
4750
4900
|
"”"
|
|
4751
4901
|
]
|
|
4752
4902
|
}),
|
|
@@ -4756,8 +4906,8 @@ var _t = (e) => {
|
|
|
4756
4906
|
}),
|
|
4757
4907
|
/* @__PURE__ */ p("button", {
|
|
4758
4908
|
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 ${
|
|
4909
|
+
onClick: () => j(""),
|
|
4910
|
+
className: `mt-5 px-4 py-2 rounded-full text-sm font-semibold border cursor-pointer transition-colors ${V ? "border-zinc-700 text-zinc-200 hover:bg-zinc-800" : "border-slate-200 bg-white text-slate-700 hover:bg-slate-50"}`,
|
|
4761
4911
|
children: "Clear search"
|
|
4762
4912
|
})
|
|
4763
4913
|
]
|
|
@@ -4765,7 +4915,7 @@ var _t = (e) => {
|
|
|
4765
4915
|
part: "card-grid",
|
|
4766
4916
|
className: Z ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
|
|
4767
4917
|
children: We.map((e) => {
|
|
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 =
|
|
4918
|
+
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 = U ? Se : Ye;
|
|
4769
4919
|
return /* @__PURE__ */ m("div", {
|
|
4770
4920
|
part: "card",
|
|
4771
4921
|
role: "button",
|
|
@@ -4775,44 +4925,44 @@ var _t = (e) => {
|
|
|
4775
4925
|
onKeyDown: (t) => {
|
|
4776
4926
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), E(e));
|
|
4777
4927
|
},
|
|
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)] ${
|
|
4928
|
+
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)] ${V ? "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
4929
|
children: [
|
|
4780
4930
|
/* @__PURE__ */ p("span", {
|
|
4781
4931
|
"aria-hidden": "true",
|
|
4782
4932
|
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, ${
|
|
4933
|
+
style: { background: `linear-gradient(90deg, transparent, ${H}, transparent)` }
|
|
4784
4934
|
}),
|
|
4785
4935
|
/* @__PURE__ */ m("div", {
|
|
4786
4936
|
className: "flex items-start justify-between gap-3",
|
|
4787
4937
|
children: [/* @__PURE__ */ p("div", {
|
|
4788
4938
|
className: "w-11 h-11 rounded-xl flex items-center justify-center shrink-0 transition-transform duration-300 group-hover:scale-105",
|
|
4789
4939
|
style: {
|
|
4790
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4791
|
-
color:
|
|
4940
|
+
backgroundColor: `color-mix(in srgb, ${H} 12%, transparent)`,
|
|
4941
|
+
color: H
|
|
4792
4942
|
},
|
|
4793
4943
|
children: /* @__PURE__ */ p(a, { size: 20 })
|
|
4794
4944
|
}), (e.category || e.seats_left) && /* @__PURE__ */ m("div", {
|
|
4795
4945
|
className: "flex flex-wrap justify-end items-center gap-1.5",
|
|
4796
4946
|
children: [e.category && /* @__PURE__ */ p("span", {
|
|
4797
4947
|
part: "card-category",
|
|
4798
|
-
className: `text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full ${
|
|
4948
|
+
className: `text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full ${V ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
|
|
4799
4949
|
children: e.category
|
|
4800
4950
|
}), e.seats_left && /* @__PURE__ */ m("span", {
|
|
4801
4951
|
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(
|
|
4952
|
+
className: `text-[10px] font-semibold px-2.5 py-1 rounded-full flex items-center gap-1 ${V ? "bg-amber-950/60 text-amber-300" : "bg-amber-50 text-amber-700"}`,
|
|
4953
|
+
children: [/* @__PURE__ */ p(he, { size: 10 }), /* @__PURE__ */ p("span", { children: e.seats_left })]
|
|
4804
4954
|
})]
|
|
4805
4955
|
})]
|
|
4806
4956
|
}),
|
|
4807
4957
|
/* @__PURE__ */ p("h3", {
|
|
4808
4958
|
part: "card-title",
|
|
4809
|
-
className: `mt-4 text-lg font-semibold leading-snug tracking-tight ${
|
|
4959
|
+
className: `mt-4 text-lg font-semibold leading-snug tracking-tight ${V ? "text-white" : "text-slate-900"}`,
|
|
4810
4960
|
style: $,
|
|
4811
4961
|
children: t
|
|
4812
4962
|
}),
|
|
4813
4963
|
e.description && /* @__PURE__ */ p("p", {
|
|
4814
4964
|
part: "card-description",
|
|
4815
|
-
className: `mt-1.5 text-sm leading-relaxed line-clamp-2 ${
|
|
4965
|
+
className: `mt-1.5 text-sm leading-relaxed line-clamp-2 ${V ? "text-zinc-400" : "text-slate-500"}`,
|
|
4816
4966
|
children: e.description
|
|
4817
4967
|
}),
|
|
4818
4968
|
i.length > 0 && /* @__PURE__ */ p("ul", {
|
|
@@ -4823,46 +4973,46 @@ var _t = (e) => {
|
|
|
4823
4973
|
children: [/* @__PURE__ */ p("span", {
|
|
4824
4974
|
className: "mt-0.5 w-4 h-4 rounded-full flex items-center justify-center shrink-0",
|
|
4825
4975
|
style: {
|
|
4826
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
4827
|
-
color:
|
|
4976
|
+
backgroundColor: `color-mix(in srgb, ${H} 14%, transparent)`,
|
|
4977
|
+
color: H
|
|
4828
4978
|
},
|
|
4829
|
-
children: /* @__PURE__ */ p(
|
|
4979
|
+
children: /* @__PURE__ */ p(ce, {
|
|
4830
4980
|
size: 10,
|
|
4831
4981
|
strokeWidth: 3
|
|
4832
4982
|
})
|
|
4833
4983
|
}), /* @__PURE__ */ p("span", {
|
|
4834
|
-
className:
|
|
4984
|
+
className: V ? "text-zinc-300" : "text-slate-600",
|
|
4835
4985
|
children: e
|
|
4836
4986
|
})]
|
|
4837
4987
|
}, t))
|
|
4838
4988
|
}),
|
|
4839
4989
|
/* @__PURE__ */ p("div", { className: "flex-1" }),
|
|
4840
4990
|
/* @__PURE__ */ m("div", {
|
|
4841
|
-
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${
|
|
4991
|
+
className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${V ? "border-zinc-800" : "border-slate-200"}`,
|
|
4842
4992
|
children: [/* @__PURE__ */ p("div", {
|
|
4843
4993
|
className: "min-w-0",
|
|
4844
|
-
children: n && !
|
|
4994
|
+
children: n && !U ? /* @__PURE__ */ m(f, { children: [
|
|
4845
4995
|
/* @__PURE__ */ p("p", {
|
|
4846
|
-
className: `text-[10px] font-semibold uppercase tracking-wider ${
|
|
4996
|
+
className: `text-[10px] font-semibold uppercase tracking-wider ${V ? "text-zinc-500" : "text-slate-400"}`,
|
|
4847
4997
|
children: "Registration fee"
|
|
4848
4998
|
}),
|
|
4849
4999
|
/* @__PURE__ */ p("p", {
|
|
4850
5000
|
part: "card-price",
|
|
4851
5001
|
className: "text-2xl font-bold tracking-tight tabular-nums leading-tight",
|
|
4852
|
-
style: { color:
|
|
5002
|
+
style: { color: H },
|
|
4853
5003
|
children: r ? "Free" : [e.currency, Number(e.price).toLocaleString()].filter(Boolean).join(" ")
|
|
4854
5004
|
}),
|
|
4855
5005
|
e.tax_info && /* @__PURE__ */ p("p", {
|
|
4856
5006
|
part: "card-tax",
|
|
4857
|
-
className: `text-[11px] mt-0.5 ${
|
|
5007
|
+
className: `text-[11px] mt-0.5 ${V ? "text-zinc-500" : "text-slate-400"}`,
|
|
4858
5008
|
children: e.tax_info
|
|
4859
5009
|
})
|
|
4860
5010
|
] }) : null
|
|
4861
5011
|
}), /* @__PURE__ */ m("span", {
|
|
4862
5012
|
part: "button button-primary card-button",
|
|
4863
5013
|
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: [
|
|
5014
|
+
style: { backgroundColor: H },
|
|
5015
|
+
children: [U ? "Submit" : "Register", /* @__PURE__ */ p("span", {
|
|
4866
5016
|
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
5017
|
children: /* @__PURE__ */ p(ie, { size: 14 })
|
|
4868
5018
|
})]
|
|
@@ -4874,7 +5024,7 @@ var _t = (e) => {
|
|
|
4874
5024
|
})] })
|
|
4875
5025
|
})
|
|
4876
5026
|
}),
|
|
4877
|
-
!
|
|
5027
|
+
!U && (r || t === "attendee") && /* @__PURE__ */ p("div", {
|
|
4878
5028
|
part: "portal",
|
|
4879
5029
|
className: `${t === "attendee" ? "flex" : "hidden"} flex-col ${Z ? "w-full flex-1" : "flex-1 overflow-hidden min-h-0"}`,
|
|
4880
5030
|
style: {
|
|
@@ -4884,12 +5034,12 @@ var _t = (e) => {
|
|
|
4884
5034
|
onScroll: Z ? void 0 : (e) => {
|
|
4885
5035
|
e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0);
|
|
4886
5036
|
},
|
|
4887
|
-
children: /* @__PURE__ */ p(
|
|
5037
|
+
children: /* @__PURE__ */ p(ht, {
|
|
4888
5038
|
apiClient: G,
|
|
4889
5039
|
storage: K,
|
|
4890
5040
|
logger: W,
|
|
4891
|
-
primaryColor:
|
|
4892
|
-
isDark:
|
|
5041
|
+
primaryColor: H,
|
|
5042
|
+
isDark: V,
|
|
4893
5043
|
isWidgetPage: Z,
|
|
4894
5044
|
onEvent: e.onEvent,
|
|
4895
5045
|
onError: e.onError
|
|
@@ -4898,7 +5048,7 @@ var _t = (e) => {
|
|
|
4898
5048
|
]
|
|
4899
5049
|
})
|
|
4900
5050
|
});
|
|
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 }) => {
|
|
5051
|
+
}, 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
5052
|
let r = u(null), [i, a] = d(null);
|
|
4903
5053
|
return c(() => {
|
|
4904
5054
|
if (typeof document > "u" || !r.current || !t) return;
|
|
@@ -4909,20 +5059,20 @@ var _t = (e) => {
|
|
|
4909
5059
|
let t = document.createElement("style");
|
|
4910
5060
|
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
5061
|
let i = document.createElement("style");
|
|
4912
|
-
i.textContent =
|
|
5062
|
+
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
5063
|
}
|
|
4914
5064
|
n && a(n);
|
|
4915
5065
|
}, [t]), c(() => {
|
|
4916
|
-
i && i.style.setProperty("font-family", n ? "var(--vx-font-family)" : `var(--vx-font-family, ${
|
|
5066
|
+
i && i.style.setProperty("font-family", n ? "var(--vx-font-family)" : `var(--vx-font-family, ${St})`, "important");
|
|
4917
5067
|
}, [i, n]), t ? /* @__PURE__ */ p("div", {
|
|
4918
5068
|
ref: r,
|
|
4919
5069
|
className: "w-full h-full",
|
|
4920
5070
|
children: i && e ? h(e, i) : null
|
|
4921
5071
|
}) : /* @__PURE__ */ p(f, { children: e });
|
|
4922
|
-
},
|
|
5072
|
+
}, wt = ({ config: e }) => t.createElement(Ct, {
|
|
4923
5073
|
useShadow: !0,
|
|
4924
5074
|
inheritFont: !e.theme?.fontFamily || e.theme.fontFamily === "inherit"
|
|
4925
|
-
}, t.createElement(
|
|
5075
|
+
}, t.createElement(bt, { config: e })), Tt = class {
|
|
4926
5076
|
config;
|
|
4927
5077
|
container = null;
|
|
4928
5078
|
root = null;
|
|
@@ -4931,16 +5081,16 @@ var _t = (e) => {
|
|
|
4931
5081
|
}
|
|
4932
5082
|
mount(n) {
|
|
4933
5083
|
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(
|
|
5084
|
+
this.root ||= e(this.container), this.root.render(t.createElement(wt, { config: this.config }));
|
|
4935
5085
|
}
|
|
4936
5086
|
updateConfig(e) {
|
|
4937
5087
|
this.config = {
|
|
4938
5088
|
...this.config,
|
|
4939
5089
|
...e
|
|
4940
|
-
}, this.root && this.root.render(t.createElement(
|
|
5090
|
+
}, this.root && this.root.render(t.createElement(wt, { config: this.config }));
|
|
4941
5091
|
}
|
|
4942
5092
|
setConfig(e) {
|
|
4943
|
-
this.config = e, this.root && this.root.render(t.createElement(
|
|
5093
|
+
this.config = e, this.root && this.root.render(t.createElement(wt, { config: this.config }));
|
|
4944
5094
|
}
|
|
4945
5095
|
unmount() {
|
|
4946
5096
|
if (this.root) {
|
|
@@ -4950,4 +5100,4 @@ var _t = (e) => {
|
|
|
4950
5100
|
}
|
|
4951
5101
|
};
|
|
4952
5102
|
//#endregion
|
|
4953
|
-
export {
|
|
5103
|
+
export { wt as EventWidget, Tt as EventWidgetClient };
|