@voxket-ai/events-sdk 1.0.28 → 1.0.30

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.
@@ -94,6 +94,16 @@ var g = class {
94
94
  })
95
95
  });
96
96
  }
97
+ async submitCustomQrPayment(e, t) {
98
+ return this.fetchApi("/api/payments/custom-qr/", {
99
+ method: "POST",
100
+ body: JSON.stringify({
101
+ slug: this.slug,
102
+ registration_number: e,
103
+ answers: t
104
+ })
105
+ });
106
+ }
97
107
  async trackProgress(e) {
98
108
  return this.fetchApi(`/api/public/events/${this.slug}/track/`, {
99
109
  method: "POST",
@@ -466,7 +476,7 @@ var te = j(M), N = {
466
476
  }]]
467
477
  };
468
478
  N.node;
469
- var ne = j(N), P = {
479
+ var ne = j(N), re = {
470
480
  name: "briefcase",
471
481
  size: 24,
472
482
  node: [["path", {
@@ -481,8 +491,8 @@ var ne = j(N), P = {
481
491
  key: "i6l2r4"
482
492
  }]]
483
493
  };
484
- P.node;
485
- var F = j(P), re = {
494
+ re.node;
495
+ var P = j(re), ie = {
486
496
  name: "building-complex",
487
497
  size: 24,
488
498
  node: [
@@ -509,8 +519,8 @@ var F = j(P), re = {
509
519
  ],
510
520
  aliases: ["building-2"]
511
521
  };
512
- re.node;
513
- var ie = j(re), ae = {
522
+ ie.node;
523
+ var ae = j(ie), oe = {
514
524
  name: "check",
515
525
  size: 24,
516
526
  node: [["path", {
@@ -518,8 +528,8 @@ var ie = j(re), ae = {
518
528
  key: "1gmf2c"
519
529
  }]]
520
530
  };
521
- ae.node;
522
- var oe = j(ae), se = {
531
+ oe.node;
532
+ var se = j(oe), ce = {
523
533
  name: "chevron-down",
524
534
  size: 24,
525
535
  node: [["path", {
@@ -527,8 +537,8 @@ var oe = j(ae), se = {
527
537
  key: "qrunsl"
528
538
  }]]
529
539
  };
530
- se.node;
531
- var ce = j(se), le = {
540
+ ce.node;
541
+ var le = j(ce), F = {
532
542
  name: "circle-alert",
533
543
  size: 24,
534
544
  node: [
@@ -555,8 +565,8 @@ var ce = j(se), le = {
555
565
  ],
556
566
  aliases: ["alert-circle"]
557
567
  };
558
- le.node;
559
- var I = j(le), L = {
568
+ F.node;
569
+ var I = j(F), L = {
560
570
  name: "circle-check-big",
561
571
  size: 24,
562
572
  node: [["path", {
@@ -569,7 +579,7 @@ var I = j(le), L = {
569
579
  aliases: ["check-circle"]
570
580
  };
571
581
  L.node;
572
- var ue = j(L), R = {
582
+ var ue = j(L), de = {
573
583
  name: "clipboard-list",
574
584
  size: 24,
575
585
  node: [
@@ -604,8 +614,8 @@ var ue = j(L), R = {
604
614
  }]
605
615
  ]
606
616
  };
607
- R.node;
608
- var de = j(R), z = {
617
+ de.node;
618
+ var fe = j(de), pe = {
609
619
  name: "clock",
610
620
  size: 24,
611
621
  node: [["circle", {
@@ -618,8 +628,8 @@ var de = j(R), z = {
618
628
  key: "mmk7yg"
619
629
  }]]
620
630
  };
621
- z.node;
622
- var fe = j(z), pe = {
631
+ pe.node;
632
+ var me = j(pe), he = {
623
633
  name: "copy",
624
634
  size: 24,
625
635
  node: [["rect", {
@@ -635,8 +645,8 @@ var fe = j(z), pe = {
635
645
  key: "zix9uf"
636
646
  }]]
637
647
  };
638
- pe.node;
639
- var me = j(pe), B = {
648
+ he.node;
649
+ var ge = j(he), _e = {
640
650
  name: "credit-card",
641
651
  size: 24,
642
652
  node: [
@@ -661,8 +671,8 @@ var me = j(pe), B = {
661
671
  }]
662
672
  ]
663
673
  };
664
- B.node;
665
- var he = j(B), ge = {
674
+ _e.node;
675
+ var ve = j(_e), ye = {
666
676
  name: "download",
667
677
  size: 24,
668
678
  node: [
@@ -680,8 +690,8 @@ var he = j(B), ge = {
680
690
  }]
681
691
  ]
682
692
  };
683
- ge.node;
684
- var _e = j(ge), V = {
693
+ ye.node;
694
+ var be = j(ye), xe = {
685
695
  name: "external-link",
686
696
  size: 24,
687
697
  node: [
@@ -699,8 +709,8 @@ var _e = j(ge), V = {
699
709
  }]
700
710
  ]
701
711
  };
702
- V.node;
703
- var ve = j(V), ye = {
712
+ xe.node;
713
+ var Se = j(xe), Ce = {
704
714
  name: "file-text",
705
715
  size: 24,
706
716
  node: [
@@ -726,8 +736,8 @@ var ve = j(V), ye = {
726
736
  }]
727
737
  ]
728
738
  };
729
- ye.node;
730
- var be = j(ye), xe = {
739
+ Ce.node;
740
+ var we = j(Ce), Te = {
731
741
  name: "folder-open",
732
742
  size: 24,
733
743
  node: [["path", {
@@ -735,8 +745,8 @@ var be = j(ye), xe = {
735
745
  key: "usdka0"
736
746
  }]]
737
747
  };
738
- xe.node;
739
- var Se = j(xe), Ce = {
748
+ Te.node;
749
+ var Ee = j(Te), R = {
740
750
  name: "graduation-cap",
741
751
  size: 24,
742
752
  node: [
@@ -754,8 +764,8 @@ var Se = j(xe), Ce = {
754
764
  }]
755
765
  ]
756
766
  };
757
- Ce.node;
758
- var we = j(Ce), H = {
767
+ R.node;
768
+ var De = j(R), Oe = {
759
769
  name: "id-card",
760
770
  size: 24,
761
771
  node: [
@@ -787,8 +797,8 @@ var we = j(Ce), H = {
787
797
  }]
788
798
  ]
789
799
  };
790
- H.node;
791
- var U = j(H), W = {
800
+ Oe.node;
801
+ var ke = j(Oe), Ae = {
792
802
  name: "info",
793
803
  size: 24,
794
804
  node: [
@@ -808,8 +818,8 @@ var U = j(H), W = {
808
818
  }]
809
819
  ]
810
820
  };
811
- W.node;
812
- var G = j(W), Te = {
821
+ Ae.node;
822
+ var je = j(Ae), z = {
813
823
  name: "key-round",
814
824
  size: 24,
815
825
  node: [["path", {
@@ -823,8 +833,8 @@ var G = j(W), Te = {
823
833
  key: "w0ekpg"
824
834
  }]]
825
835
  };
826
- Te.node;
827
- var Ee = j(Te), K = {
836
+ z.node;
837
+ var B = j(z), Me = {
828
838
  name: "key",
829
839
  size: 24,
830
840
  node: [
@@ -844,8 +854,18 @@ var Ee = j(Te), K = {
844
854
  }]
845
855
  ]
846
856
  };
847
- K.node;
848
- var q = j(K), J = {
857
+ Me.node;
858
+ var Ne = j(Me), V = {
859
+ name: "loader-circle",
860
+ size: 24,
861
+ node: [["path", {
862
+ d: "M21 12a9 9 0 1 1-6.219-8.56",
863
+ key: "13zald"
864
+ }]],
865
+ aliases: ["loader-2"]
866
+ };
867
+ V.node;
868
+ var H = j(V), U = {
849
869
  name: "lock",
850
870
  size: 24,
851
871
  node: [["rect", {
@@ -861,8 +881,8 @@ var q = j(K), J = {
861
881
  key: "fwvmzm"
862
882
  }]]
863
883
  };
864
- J.node;
865
- var De = j(J), Y = {
884
+ U.node;
885
+ var W = j(U), G = {
866
886
  name: "log-in",
867
887
  size: 24,
868
888
  node: [
@@ -880,8 +900,8 @@ var De = j(J), Y = {
880
900
  }]
881
901
  ]
882
902
  };
883
- Y.node;
884
- var Oe = j(Y), X = {
903
+ G.node;
904
+ var Pe = j(G), K = {
885
905
  name: "log-out",
886
906
  size: 24,
887
907
  node: [
@@ -899,8 +919,8 @@ var Oe = j(Y), X = {
899
919
  }]
900
920
  ]
901
921
  };
902
- X.node;
903
- var ke = j(X), Ae = {
922
+ K.node;
923
+ var Fe = j(K), Ie = {
904
924
  name: "mail",
905
925
  size: 24,
906
926
  node: [["path", {
@@ -915,8 +935,8 @@ var ke = j(X), Ae = {
915
935
  key: "izxlao"
916
936
  }]]
917
937
  };
918
- Ae.node;
919
- var je = j(Ae), Me = {
938
+ Ie.node;
939
+ var q = j(Ie), J = {
920
940
  name: "map-pin",
921
941
  size: 24,
922
942
  node: [["path", {
@@ -929,8 +949,8 @@ var je = j(Ae), Me = {
929
949
  key: "ilqhr7"
930
950
  }]]
931
951
  };
932
- Me.node;
933
- var Ne = j(Me), Pe = {
952
+ J.node;
953
+ var Y = j(J), Le = {
934
954
  name: "maximize-2",
935
955
  size: 24,
936
956
  node: [
@@ -952,8 +972,8 @@ var Ne = j(Me), Pe = {
952
972
  }]
953
973
  ]
954
974
  };
955
- Pe.node;
956
- var Fe = j(Pe), Ie = {
975
+ Le.node;
976
+ var Re = j(Le), X = {
957
977
  name: "minimize-2",
958
978
  size: 24,
959
979
  node: [
@@ -975,8 +995,8 @@ var Fe = j(Pe), Ie = {
975
995
  }]
976
996
  ]
977
997
  };
978
- Ie.node;
979
- var Le = j(Ie), Re = {
998
+ X.node;
999
+ var ze = j(X), Z = {
980
1000
  name: "move",
981
1001
  size: 24,
982
1002
  node: [
@@ -1006,8 +1026,8 @@ var Le = j(Ie), Re = {
1006
1026
  }]
1007
1027
  ]
1008
1028
  };
1009
- Re.node;
1010
- var ze = j(Re), Be = {
1029
+ Z.node;
1030
+ var Be = j(Z), Ve = {
1011
1031
  name: "package-check",
1012
1032
  size: 24,
1013
1033
  node: [
@@ -1033,8 +1053,8 @@ var ze = j(Re), Be = {
1033
1053
  }]
1034
1054
  ]
1035
1055
  };
1036
- Be.node;
1037
- var Ve = j(Be), Z = {
1056
+ Ve.node;
1057
+ var He = j(Ve), Ue = {
1038
1058
  name: "phone",
1039
1059
  size: 24,
1040
1060
  node: [["path", {
@@ -1042,8 +1062,8 @@ var Ve = j(Be), Z = {
1042
1062
  key: "9njp5v"
1043
1063
  }]]
1044
1064
  };
1045
- Z.node;
1046
- var He = j(Z), Ue = {
1065
+ Ue.node;
1066
+ var We = j(Ue), Ge = {
1047
1067
  name: "receipt",
1048
1068
  size: 24,
1049
1069
  node: [
@@ -1061,8 +1081,8 @@ var He = j(Z), Ue = {
1061
1081
  }]
1062
1082
  ]
1063
1083
  };
1064
- Ue.node;
1065
- var We = j(Ue), Q = {
1084
+ Ge.node;
1085
+ var Ke = j(Ge), qe = {
1066
1086
  name: "search",
1067
1087
  size: 24,
1068
1088
  node: [["path", {
@@ -1075,8 +1095,8 @@ var We = j(Ue), Q = {
1075
1095
  key: "4ej97u"
1076
1096
  }]]
1077
1097
  };
1078
- Q.node;
1079
- var Ge = j(Q), Ke = {
1098
+ qe.node;
1099
+ var Je = j(qe), Ye = {
1080
1100
  name: "sparkles",
1081
1101
  size: 24,
1082
1102
  node: [
@@ -1101,8 +1121,8 @@ var Ge = j(Q), Ke = {
1101
1121
  ],
1102
1122
  aliases: ["stars"]
1103
1123
  };
1104
- Ke.node;
1105
- var qe = j(Ke), Je = {
1124
+ Ye.node;
1125
+ var Xe = j(Ye), Ze = {
1106
1126
  name: "ticket",
1107
1127
  size: 24,
1108
1128
  node: [
@@ -1124,8 +1144,8 @@ var qe = j(Ke), Je = {
1124
1144
  }]
1125
1145
  ]
1126
1146
  };
1127
- Je.node;
1128
- var Ye = j(Je), Xe = {
1147
+ Ze.node;
1148
+ var Qe = j(Ze), $e = {
1129
1149
  name: "trash",
1130
1150
  size: 24,
1131
1151
  node: [
@@ -1152,8 +1172,8 @@ var Ye = j(Je), Xe = {
1152
1172
  ],
1153
1173
  aliases: ["trash-2"]
1154
1174
  };
1155
- Xe.node;
1156
- var Ze = j(Xe), Qe = {
1175
+ $e.node;
1176
+ var et = j($e), tt = {
1157
1177
  name: "upload",
1158
1178
  size: 24,
1159
1179
  node: [
@@ -1171,8 +1191,8 @@ var Ze = j(Xe), Qe = {
1171
1191
  }]
1172
1192
  ]
1173
1193
  };
1174
- Qe.node;
1175
- var $e = j(Qe), et = {
1194
+ tt.node;
1195
+ var Q = j(tt), nt = {
1176
1196
  name: "user-plus",
1177
1197
  size: 24,
1178
1198
  node: [
@@ -1202,8 +1222,8 @@ var $e = j(Qe), et = {
1202
1222
  }]
1203
1223
  ]
1204
1224
  };
1205
- et.node;
1206
- var tt = j(et), nt = {
1225
+ nt.node;
1226
+ var rt = j(nt), it = {
1207
1227
  name: "user",
1208
1228
  size: 24,
1209
1229
  node: [["path", {
@@ -1216,8 +1236,8 @@ var tt = j(et), nt = {
1216
1236
  key: "17ys0d"
1217
1237
  }]]
1218
1238
  };
1219
- nt.node;
1220
- var rt = j(nt), it = {
1239
+ it.node;
1240
+ var at = j(it), ot = {
1221
1241
  name: "users",
1222
1242
  size: 24,
1223
1243
  node: [
@@ -1241,8 +1261,8 @@ var rt = j(nt), it = {
1241
1261
  }]
1242
1262
  ]
1243
1263
  };
1244
- it.node;
1245
- var at = j(it), ot = {
1264
+ ot.node;
1265
+ var st = j(ot), ct = {
1246
1266
  name: "x",
1247
1267
  size: 24,
1248
1268
  node: [["path", {
@@ -1253,13 +1273,13 @@ var at = j(it), ot = {
1253
1273
  key: "d8bk6v"
1254
1274
  }]]
1255
1275
  };
1256
- ot.node;
1257
- var st = j(ot), $ = { fontFamily: "var(--vx-font-heading)" }, ct = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i;
1258
- function lt(e) {
1276
+ ct.node;
1277
+ var lt = j(ct), $ = { fontFamily: "var(--vx-font-heading)" }, ut = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i;
1278
+ function dt(e) {
1259
1279
  let t = e, n = typeof e == "string" ? e : t?.serve_url || t?.url || t?.id || "";
1260
- return String(n || "").match(ct)?.[0] || "";
1280
+ return String(n || "").match(ut)?.[0] || "";
1261
1281
  }
1262
- function ut(e, t) {
1282
+ function ft(e, t) {
1263
1283
  if (!e) return "";
1264
1284
  if (/^field_\d+/i.test(e) && t && typeof t == "string") {
1265
1285
  let e = t.trim().toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
@@ -1267,36 +1287,36 @@ function ut(e, t) {
1267
1287
  }
1268
1288
  return e;
1269
1289
  }
1270
- function dt(e, t = "") {
1290
+ function pt(e, t = "") {
1271
1291
  if (e && typeof e == "string") {
1272
1292
  let t = e.trim().toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
1273
1293
  if (t) return t;
1274
1294
  }
1275
- return ut(t, e) || t;
1295
+ return ft(t, e) || t;
1276
1296
  }
1277
- function ft(e) {
1297
+ function mt(e) {
1278
1298
  let t = (e || "").trim();
1279
1299
  return t ? t.split(/\s+/).length : 0;
1280
1300
  }
1281
- function pt(e, t) {
1301
+ function ht(e, t) {
1282
1302
  for (let n of e || []) {
1283
1303
  if (n.type === "file") continue;
1284
1304
  let e = String(t(n) ?? "").trim(), r = n.label || "This field";
1285
1305
  if (n.required && !e) return `${r} is required.`;
1286
1306
  let i = Number(n.word_limit) || 0;
1287
- if (n.type === "textarea" && i && ft(e) > i) return `${r} is over the ${i}-word limit.`;
1307
+ if (n.type === "textarea" && i && mt(e) > i) return `${r} is over the ${i}-word limit.`;
1288
1308
  }
1289
1309
  return null;
1290
1310
  }
1291
1311
  //#endregion
1292
1312
  //#region src/widget/components/FieldControl.tsx
1293
- var mt = {
1313
+ var gt = {
1294
1314
  email: "email",
1295
1315
  phone: "tel",
1296
1316
  number: "number",
1297
1317
  date: "date",
1298
1318
  url: "url"
1299
- }, ht = ({ field: e, value: t, onChange: n, className: r, isDark: i, id: a, part: o = "input", disabled: s, placeholder: c }) => {
1319
+ }, _t = ({ field: e, value: t, onChange: n, className: r, isDark: i, id: a, part: o = "input", disabled: s, placeholder: c }) => {
1300
1320
  let l = t == null ? "" : String(t), u = c ?? e.placeholder ?? "", d = i ? "bg-zinc-900 text-white" : "bg-white text-slate-900";
1301
1321
  if (e.type === "select") return /* @__PURE__ */ m("div", {
1302
1322
  className: "relative",
@@ -1319,7 +1339,7 @@ var mt = {
1319
1339
  }, `${t}-${e}`))]
1320
1340
  }), /* @__PURE__ */ p("div", {
1321
1341
  className: `absolute inset-y-0 right-0 flex items-center pr-3.5 pointer-events-none ${i ? "text-zinc-400" : "text-slate-400"}`,
1322
- children: /* @__PURE__ */ p(ce, { size: 16 })
1342
+ children: /* @__PURE__ */ p(le, { size: 16 })
1323
1343
  })]
1324
1344
  });
1325
1345
  if (e.type === "checkbox") return /* @__PURE__ */ m("label", {
@@ -1336,7 +1356,7 @@ var mt = {
1336
1356
  }), /* @__PURE__ */ p("span", { children: e.placeholder || e.label })]
1337
1357
  });
1338
1358
  if (e.type === "textarea") {
1339
- let t = Number(e.word_limit) || 0, c = ft(l);
1359
+ let t = Number(e.word_limit) || 0, c = mt(l);
1340
1360
  return /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("textarea", {
1341
1361
  part: `${o} textarea`,
1342
1362
  id: a,
@@ -1360,7 +1380,7 @@ var mt = {
1360
1380
  return /* @__PURE__ */ p("input", {
1361
1381
  part: o,
1362
1382
  id: a,
1363
- type: mt[e.type] || "text",
1383
+ type: gt[e.type] || "text",
1364
1384
  required: e.required,
1365
1385
  disabled: s,
1366
1386
  value: l,
@@ -1368,13 +1388,13 @@ var mt = {
1368
1388
  onChange: (e) => n(e.target.value),
1369
1389
  className: r
1370
1390
  });
1371
- }, gt = /* @__PURE__ */ new Set([
1391
+ }, vt = /* @__PURE__ */ new Set([
1372
1392
  "salutation",
1373
1393
  "name",
1374
1394
  "email",
1375
1395
  "phone"
1376
- ]), _t = ({ 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: _, onError: v, onEvent: y, backgroundStyle: b, ticketType: x, showReviewFields: S = !1 }) => {
1377
- let [C, w] = d(u || {}), [T, E] = d(null), [D, O] = d(null), [ee, k] = d({}), [A, j] = d({}), [M, N] = d(null), [P, F] = d(null), [re, ie] = d({}), [ae, se] = d({}), [ce, le] = d({}), I = r?.primaryColor || "#c026d3";
1396
+ ]), yt = ({ 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: _, onError: v, onEvent: y, backgroundStyle: b, ticketType: x, showReviewFields: S = !1 }) => {
1397
+ let [C, w] = d(u || {}), [T, E] = d(null), [D, O] = d(null), [ee, k] = d({}), [A, j] = d({}), [M, N] = d(null), [re, P] = d(null), [ie, ae] = d({}), [oe, ce] = d({}), [le, F] = d({}), I = r?.primaryColor || "#c026d3";
1378
1398
  s(() => {
1379
1399
  if (u && Object.keys(u).length > 0) {
1380
1400
  w((e) => ({
@@ -1385,7 +1405,7 @@ var mt = {
1385
1405
  r.forEach((e) => {
1386
1406
  if (e.type === "file") {
1387
1407
  let r = u[e.id];
1388
- 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));
1408
+ r && (String(r).startsWith("http://") || String(r).startsWith("https://") ? (n[e.id] = String(r), dt(r) && (t[e.id] = dt(r))) : t[e.id] = String(r));
1389
1409
  }
1390
1410
  }), Object.keys(t).length > 0 && k((e) => ({
1391
1411
  ...t,
@@ -1395,13 +1415,13 @@ var mt = {
1395
1415
  ...e
1396
1416
  })), r.forEach((e) => {
1397
1417
  let t = h?.[e.id];
1398
- t?.text ? (le((n) => ({
1418
+ t?.text ? (F((n) => ({
1399
1419
  [e.id]: t.text,
1400
1420
  ...n
1401
- })), se((n) => ({
1421
+ })), ce((n) => ({
1402
1422
  [e.id]: t.text,
1403
1423
  ...n
1404
- })), ie((t) => ({
1424
+ })), ae((t) => ({
1405
1425
  [e.id]: "text",
1406
1426
  ...t
1407
1427
  }))) : t?.serve_url && j((n) => ({
@@ -1415,7 +1435,7 @@ var mt = {
1415
1435
  e,
1416
1436
  h
1417
1437
  ]);
1418
- let [L, ue] = d(null), R = (e, t) => {
1438
+ let [L, ue] = d(null), de = (e, t) => {
1419
1439
  w((n) => {
1420
1440
  let r = {
1421
1441
  ...n,
@@ -1423,14 +1443,14 @@ var mt = {
1423
1443
  };
1424
1444
  return l?.(r), r;
1425
1445
  });
1426
- }, de = async (t, n) => {
1446
+ }, fe = async (t, n) => {
1427
1447
  if (!_) return;
1428
- E(t), N(null), F(null);
1448
+ E(t), N(null), P(null);
1429
1449
  let r = ee[t], i = (e?.fields || []).find((e) => e.id === t);
1430
1450
  try {
1431
- let e = await _.uploadFile(n, null, me(), i?.label), a = e?.data?.asset_id || e?.asset_id, o = e?.data?.serve_url || e?.serve_url;
1451
+ let e = await _.uploadFile(n, null, ge(), i?.label), a = e?.data?.asset_id || e?.asset_id, o = e?.data?.serve_url || e?.serve_url;
1432
1452
  if (!a && !o) throw Error("Upload response missing asset_id");
1433
- let s = String(a || lt(o)), c = String(o || "");
1453
+ let s = String(a || dt(o)), c = String(o || "");
1434
1454
  if (k((e) => ({
1435
1455
  ...e,
1436
1456
  [t]: s
@@ -1448,7 +1468,7 @@ var mt = {
1448
1468
  assetId: s,
1449
1469
  serveUrl: c
1450
1470
  }), r && r !== s) try {
1451
- await _.deleteFile(lt(r) || r, null, me()), y?.("file_deleted", {
1471
+ await _.deleteFile(dt(r) || r, null, ge()), y?.("file_deleted", {
1452
1472
  fieldId: t,
1453
1473
  assetId: r
1454
1474
  });
@@ -1457,7 +1477,7 @@ var mt = {
1457
1477
  }
1458
1478
  } catch (e) {
1459
1479
  let n = e?.message || "File upload failed. Please try again.";
1460
- N(n), F(t), v?.({
1480
+ N(n), P(t), v?.({
1461
1481
  type: "file_upload_error",
1462
1482
  message: n,
1463
1483
  error: e
@@ -1465,12 +1485,12 @@ var mt = {
1465
1485
  } finally {
1466
1486
  E(null);
1467
1487
  }
1468
- }, z = async (e) => {
1488
+ }, pe = async (e) => {
1469
1489
  if (!_) return;
1470
- let t = ee[e] || C[e], n = lt(t) || t;
1471
- O(e), N(null), F(null);
1490
+ let t = ee[e] || C[e], n = dt(t) || t;
1491
+ O(e), N(null), P(null);
1472
1492
  try {
1473
- n && (await _.deleteFile(n, null, me()), y?.("file_deleted", {
1493
+ n && (await _.deleteFile(n, null, ge()), y?.("file_deleted", {
1474
1494
  fieldId: e,
1475
1495
  assetId: n
1476
1496
  })), k((t) => {
@@ -1479,10 +1499,10 @@ var mt = {
1479
1499
  }), j((t) => {
1480
1500
  let n = { ...t };
1481
1501
  return delete n[e], n;
1482
- }), le((t) => {
1502
+ }), F((t) => {
1483
1503
  let n = { ...t };
1484
1504
  return delete n[e], n;
1485
- }), se((t) => {
1505
+ }), ce((t) => {
1486
1506
  let n = { ...t };
1487
1507
  return delete n[e], n;
1488
1508
  }), w((t) => {
@@ -1494,7 +1514,7 @@ var mt = {
1494
1514
  });
1495
1515
  } catch (t) {
1496
1516
  let n = t?.message || "Failed to delete file. Please try again.";
1497
- N(n), F(e), v?.({
1517
+ N(n), P(e), v?.({
1498
1518
  type: "file_delete_error",
1499
1519
  message: n,
1500
1520
  error: t
@@ -1502,12 +1522,12 @@ var mt = {
1502
1522
  } finally {
1503
1523
  O(null);
1504
1524
  }
1505
- }, fe = async (t, n) => {
1525
+ }, me = async (t, n) => {
1506
1526
  if (!_ || !n.trim()) return;
1507
- E(t), N(null), F(null);
1527
+ E(t), N(null), P(null);
1508
1528
  let r = ee[t], i = (e?.fields || []).find((e) => e.id === t);
1509
1529
  try {
1510
- let e = await _.submitTextAnswer(n.trim(), null, me(), i?.label), a = e?.data?.asset_id || e?.asset_id;
1530
+ let e = await _.submitTextAnswer(n.trim(), null, ge(), i?.label), a = e?.data?.asset_id || e?.asset_id;
1511
1531
  if (!a) throw Error("Submission response missing asset_id");
1512
1532
  let o = String(a);
1513
1533
  if (k((e) => ({
@@ -1516,7 +1536,7 @@ var mt = {
1516
1536
  })), j((e) => {
1517
1537
  let n = { ...e };
1518
1538
  return delete n[t], n;
1519
- }), le((e) => ({
1539
+ }), F((e) => ({
1520
1540
  ...e,
1521
1541
  [t]: n.trim()
1522
1542
  })), w((e) => {
@@ -1530,7 +1550,7 @@ var mt = {
1530
1550
  assetId: o,
1531
1551
  isText: !0
1532
1552
  }), r && r !== o) try {
1533
- await _.deleteFile(lt(r) || r, null, me()), y?.("file_deleted", {
1553
+ await _.deleteFile(dt(r) || r, null, ge()), y?.("file_deleted", {
1534
1554
  fieldId: t,
1535
1555
  assetId: r
1536
1556
  });
@@ -1539,7 +1559,7 @@ var mt = {
1539
1559
  }
1540
1560
  } catch (e) {
1541
1561
  let n = e?.message || "Could not submit your answer. Please try again.";
1542
- N(n), F(t), v?.({
1562
+ N(n), P(t), v?.({
1543
1563
  type: "file_upload_error",
1544
1564
  message: n,
1545
1565
  error: e
@@ -1547,20 +1567,20 @@ var mt = {
1547
1567
  } finally {
1548
1568
  E(null);
1549
1569
  }
1550
- }, pe = () => {
1570
+ }, he = () => {
1551
1571
  let t = (e?.fields || []).find((e) => e.type === "email" || (e.label || e.id || "").toLowerCase().includes("email"));
1552
1572
  return String(t && C[t.id] || C.email || "").trim();
1553
- }, me = () => S && pe() || null, B = e?.fields || [], he = Array.isArray(x?.items) ? x.items.filter((e) => e?.name) : [], ge = he.filter((e) => e.mode === "optional"), _e = he.filter((e) => e.mode === "group"), V = he.filter((e) => e.mode !== "optional" && e.mode !== "group"), ye = _e.flatMap((e) => e.options || []), xe = Array.isArray(C.selected_items) ? C.selected_items : [], Ce = (e, t = xe) => (e.options || []).filter((e) => t.includes(e.name)).length, we = (e, t) => {
1573
+ }, ge = () => S && he() || null, _e = e?.fields || [], ve = Array.isArray(x?.items) ? x.items.filter((e) => e?.name) : [], ye = ve.filter((e) => e.mode === "optional"), be = ve.filter((e) => e.mode === "group"), xe = ve.filter((e) => e.mode !== "optional" && e.mode !== "group"), Ce = be.flatMap((e) => e.options || []), Te = Array.isArray(C.selected_items) ? C.selected_items : [], R = (e, t = Te) => (e.options || []).filter((e) => t.includes(e.name)).length, De = (e, t) => {
1554
1574
  w((n) => {
1555
1575
  let r = Array.isArray(n.selected_items) ? n.selected_items : [], i = r.includes(e), a = Number(t?.max) || 0;
1556
- if (!i && a && Ce(t, r) >= a) return n;
1576
+ if (!i && a && R(t, r) >= a) return n;
1557
1577
  let o = {
1558
1578
  ...n,
1559
1579
  selected_items: i ? r.filter((t) => t !== e) : [...r, e]
1560
1580
  };
1561
1581
  return l?.(o), o;
1562
1582
  });
1563
- }, H = S ? null : x?.accompany_form_schema || null, U = H?.fields || [], W = Number(H?.price) || 0, Te = Number(H?.max) || 0, Ee = Array.isArray(C.accompanying) ? C.accompanying : [], K = !Te || Ee.length < Te, q = (e) => {
1583
+ }, Oe = S ? null : x?.accompany_form_schema || null, ke = Oe?.fields || [], Ae = Number(Oe?.price) || 0, z = Number(Oe?.max) || 0, B = Array.isArray(C.accompanying) ? C.accompanying : [], Me = !z || B.length < z, Ne = (e) => {
1564
1584
  w((t) => {
1565
1585
  let n = Array.isArray(t.accompanying) ? t.accompanying : [], r = {
1566
1586
  ...t,
@@ -1568,36 +1588,36 @@ var mt = {
1568
1588
  };
1569
1589
  return l?.(r), r;
1570
1590
  });
1571
- }, J = () => q((e) => [...e, {
1591
+ }, V = () => Ne((e) => [...e, {
1572
1592
  salutation: "",
1573
1593
  name: "",
1574
1594
  email: "",
1575
1595
  phone: "",
1576
1596
  custom_data: {}
1577
- }]), De = (e) => q((t) => t.filter((t, n) => n !== e)), Y = (e) => gt.has(e.id) ? e.id : ut(e.id, e.label), Oe = (e, t) => (gt.has(t.id) ? e[t.id] : (e.custom_data || {})[Y(t)]) ?? "", X = (e, t, n) => q((r) => r.map((r, i) => i === e ? gt.has(t.id) ? {
1597
+ }]), H = (e) => Ne((t) => t.filter((t, n) => n !== e)), U = (e) => vt.has(e.id) ? e.id : ft(e.id, e.label), W = (e, t) => (vt.has(t.id) ? e[t.id] : (e.custom_data || {})[U(t)]) ?? "", G = (e, t, n) => Ne((r) => r.map((r, i) => i === e ? vt.has(t.id) ? {
1578
1598
  ...r,
1579
1599
  [t.id]: n
1580
1600
  } : {
1581
1601
  ...r,
1582
1602
  custom_data: {
1583
1603
  ...r.custom_data || {},
1584
- [Y(t)]: n
1604
+ [U(t)]: n
1585
1605
  }
1586
- } : r)), ke = (e, t) => `guest:${e}:${t.id}`, Ae = async (e, t, n) => {
1606
+ } : r)), Pe = (e, t) => `guest:${e}:${t.id}`, K = async (e, t, n) => {
1587
1607
  if (!_) return;
1588
- let r = ke(e, t);
1589
- E(r), N(null), F(null);
1608
+ let r = Pe(e, t);
1609
+ E(r), N(null), P(null);
1590
1610
  try {
1591
- let i = await _.uploadFile(n, null, me(), t.label), a = i?.data?.serve_url || i?.serve_url || "", o = i?.data?.asset_id || i?.asset_id || "";
1611
+ let i = await _.uploadFile(n, null, ge(), t.label), a = i?.data?.serve_url || i?.serve_url || "", o = i?.data?.asset_id || i?.asset_id || "";
1592
1612
  if (!a && !o) throw Error("Upload response missing asset_id");
1593
- X(e, t, String(a || o)), y?.("file_uploaded", {
1613
+ G(e, t, String(a || o)), y?.("file_uploaded", {
1594
1614
  fieldId: r,
1595
1615
  assetId: o,
1596
1616
  serveUrl: a
1597
1617
  });
1598
1618
  } catch (e) {
1599
1619
  let t = e?.message || "File upload failed. Please try again.";
1600
- N(t), F(r), v?.({
1620
+ N(t), P(r), v?.({
1601
1621
  type: "file_upload_error",
1602
1622
  message: t,
1603
1623
  error: e
@@ -1605,18 +1625,18 @@ var mt = {
1605
1625
  } finally {
1606
1626
  E(null);
1607
1627
  }
1608
- }, je = async (e, t) => {
1628
+ }, Fe = async (e, t) => {
1609
1629
  if (!_) return;
1610
- let n = ke(e, t), r = Oe(Ee[e] || {}, t), i = lt(r) || r;
1611
- O(n), N(null), F(null);
1630
+ let n = Pe(e, t), r = W(B[e] || {}, t), i = dt(r) || r;
1631
+ O(n), N(null), P(null);
1612
1632
  try {
1613
- i && (await _.deleteFile(i, null, me()), y?.("file_deleted", {
1633
+ i && (await _.deleteFile(i, null, ge()), y?.("file_deleted", {
1614
1634
  fieldId: n,
1615
1635
  assetId: i
1616
- })), X(e, t, "");
1636
+ })), G(e, t, "");
1617
1637
  } catch (e) {
1618
1638
  let t = e?.message || "Failed to delete file. Please try again.";
1619
- N(t), F(n), v?.({
1639
+ N(t), P(n), v?.({
1620
1640
  type: "file_delete_error",
1621
1641
  message: t,
1622
1642
  error: e
@@ -1624,13 +1644,13 @@ var mt = {
1624
1644
  } finally {
1625
1645
  O(null);
1626
1646
  }
1627
- }, Me = (e) => {
1647
+ }, Ie = (e) => {
1628
1648
  if (e.description) return e.description;
1629
1649
  if (e.helperText) return e.helperText;
1630
1650
  let t = (e.label || e.id || "").toLowerCase(), n = e.type;
1631
1651
  return n === "email" ? S ? "Please enter a valid email address. Your abstract acknowledgement, review updates, and final communication will be sent to this mailbox." : "Please enter a valid email address. Your registration confirmation and event updates will be sent to this mailbox." : n === "phone" ? "Please enter a valid mobile number for SMS confirmations and important notifications." : n === "text" && (t.includes("council") || t.includes("registration no") || t.includes("mci")) ? "Enter your State Medical Council or National Medical Commission registration number." : n === "file" ? S ? "Upload your document, or answer with text instead." : "Upload your document for registration review and verification, or answer with text instead." : e.id === "salutation" ? "Choose your professional title or academic prefix." : null;
1632
- }, Ne = (e) => {
1633
- let t = A[e.id] || (C[e.id] && String(C[e.id]).startsWith("http") ? C[e.id] : ""), n = ce[e.id], r = re[e.id] || "file", i = T === e.id || D === e.id, a = ae[e.id] || "", o = a.trim() ? a.trim().split(/\s+/).length : 0, s = !!e.word_limit && o > e.word_limit;
1652
+ }, q = (e) => {
1653
+ let t = A[e.id] || (C[e.id] && String(C[e.id]).startsWith("http") ? C[e.id] : ""), n = le[e.id], r = ie[e.id] || "file", i = T === e.id || D === e.id, a = oe[e.id] || "", o = a.trim() ? a.trim().split(/\s+/).length : 0, s = !!e.word_limit && o > e.word_limit;
1634
1654
  return /* @__PURE__ */ p("div", {
1635
1655
  className: "space-y-2 mt-2",
1636
1656
  children: /* @__PURE__ */ m("div", {
@@ -1648,7 +1668,7 @@ var mt = {
1648
1668
  borderColor: g ? "rgba(255,255,255,0.12)" : `color-mix(in srgb, ${I} 25%, white)`,
1649
1669
  color: I
1650
1670
  },
1651
- children: /* @__PURE__ */ p(Se, { size: 18 })
1671
+ children: /* @__PURE__ */ p(Ee, { size: 18 })
1652
1672
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
1653
1673
  className: `text-xs font-bold ${g ? "text-zinc-200" : "text-gray-900"}`,
1654
1674
  children: e.label
@@ -1659,7 +1679,7 @@ var mt = {
1659
1679
  }), /* @__PURE__ */ p("button", {
1660
1680
  type: "button",
1661
1681
  disabled: i,
1662
- onClick: () => ie((t) => ({
1682
+ onClick: () => ae((t) => ({
1663
1683
  ...t,
1664
1684
  [e.id]: r === "file" ? "text" : "file"
1665
1685
  })),
@@ -1668,7 +1688,7 @@ var mt = {
1668
1688
  color: I,
1669
1689
  borderColor: `color-mix(in srgb, ${I} 35%, transparent)`
1670
1690
  },
1671
- children: r === "file" ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(be, { size: 11 }), " Send text only"] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p($e, { size: 11 }), " Send file"] })
1691
+ children: r === "file" ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(we, { size: 11 }), " Send text only"] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(Q, { size: 11 }), " Send file"] })
1672
1692
  })]
1673
1693
  }),
1674
1694
  r === "file" ? /* @__PURE__ */ m("div", {
@@ -1683,11 +1703,11 @@ var mt = {
1683
1703
  disabled: i,
1684
1704
  onChange: (t) => {
1685
1705
  let n = t.target.files?.[0];
1686
- n && de(e.id, n), t.target.value = "";
1706
+ n && fe(e.id, n), t.target.value = "";
1687
1707
  }
1688
1708
  }), /* @__PURE__ */ m("div", {
1689
1709
  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"}`,
1690
- children: [/* @__PURE__ */ p($e, {
1710
+ children: [/* @__PURE__ */ p(Q, {
1691
1711
  size: 14,
1692
1712
  style: { color: I }
1693
1713
  }), /* @__PURE__ */ p("span", { children: T === e.id ? "Uploading..." : t ? "Replace File" : "Choose File" })]
@@ -1699,17 +1719,17 @@ var mt = {
1699
1719
  style: { backgroundColor: I },
1700
1720
  title: "Open file in new tab",
1701
1721
  children: [
1702
- /* @__PURE__ */ p(be, { size: 13 }),
1722
+ /* @__PURE__ */ p(we, { size: 13 }),
1703
1723
  /* @__PURE__ */ p("span", { children: "View" }),
1704
- /* @__PURE__ */ p(ve, { size: 11 })
1724
+ /* @__PURE__ */ p(Se, { size: 11 })
1705
1725
  ]
1706
1726
  }), /* @__PURE__ */ m("button", {
1707
1727
  type: "button",
1708
1728
  disabled: D === e.id || T === e.id,
1709
- onClick: () => z(e.id),
1729
+ onClick: () => pe(e.id),
1710
1730
  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"}`,
1711
1731
  title: "Delete uploaded file",
1712
- children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: D === e.id ? "Deleting..." : "Delete" })]
1732
+ children: [/* @__PURE__ */ p(et, { size: 13 }), /* @__PURE__ */ p("span", { children: D === e.id ? "Deleting..." : "Delete" })]
1713
1733
  })] })]
1714
1734
  }) : /* @__PURE__ */ m("div", {
1715
1735
  className: `mt-3 pt-3 border-t space-y-2 ${g ? "border-zinc-800" : "border-slate-200"}`,
@@ -1718,7 +1738,7 @@ var mt = {
1718
1738
  rows: 3,
1719
1739
  disabled: i || !!n,
1720
1740
  value: n ?? a,
1721
- onChange: (t) => se((n) => ({
1741
+ onChange: (t) => ce((n) => ({
1722
1742
  ...n,
1723
1743
  [e.id]: t.target.value
1724
1744
  })),
@@ -1737,22 +1757,22 @@ var mt = {
1737
1757
  }) : /* @__PURE__ */ p("span", {}), n ? /* @__PURE__ */ m("button", {
1738
1758
  type: "button",
1739
1759
  disabled: i,
1740
- onClick: () => z(e.id),
1760
+ onClick: () => pe(e.id),
1741
1761
  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"}`,
1742
- children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: D === e.id ? "Clearing..." : "Clear & Re-enter" })]
1762
+ children: [/* @__PURE__ */ p(et, { size: 13 }), /* @__PURE__ */ p("span", { children: D === e.id ? "Clearing..." : "Clear & Re-enter" })]
1743
1763
  }) : /* @__PURE__ */ m("button", {
1744
1764
  type: "button",
1745
1765
  disabled: i || !a.trim(),
1746
- onClick: () => fe(e.id, a),
1766
+ onClick: () => me(e.id, a),
1747
1767
  style: { backgroundColor: I },
1748
1768
  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",
1749
- children: [/* @__PURE__ */ p($e, { size: 13 }), /* @__PURE__ */ p("span", { children: T === e.id ? "Submitting..." : "Submit Text" })]
1769
+ children: [/* @__PURE__ */ p(Q, { size: 13 }), /* @__PURE__ */ p("span", { children: T === e.id ? "Submitting..." : "Submit Text" })]
1750
1770
  })]
1751
1771
  })]
1752
1772
  }),
1753
1773
  t && /* @__PURE__ */ m("div", {
1754
1774
  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"}`,
1755
- children: [/* @__PURE__ */ p(oe, {
1775
+ children: [/* @__PURE__ */ p(se, {
1756
1776
  size: 12,
1757
1777
  className: "text-emerald-500 shrink-0"
1758
1778
  }), /* @__PURE__ */ m("span", {
@@ -1760,16 +1780,16 @@ var mt = {
1760
1780
  children: ["Attached: ", t]
1761
1781
  })]
1762
1782
  }),
1763
- M && P === e.id && /* @__PURE__ */ p("div", {
1783
+ M && re === e.id && /* @__PURE__ */ p("div", {
1764
1784
  className: "text-xs text-red-500 mt-2 font-medium",
1765
1785
  children: M
1766
1786
  })
1767
1787
  ]
1768
1788
  })
1769
1789
  });
1770
- }, Pe = (e) => {
1790
+ }, J = (e) => {
1771
1791
  if (!e) return null;
1772
- let t = C[e.id] ?? "", n = Me(e), r = e.type === "email", i = e.id === "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)]"}`;
1792
+ let t = C[e.id] ?? "", n = Ie(e), r = e.type === "email", i = e.id === "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)]"}`;
1773
1793
  return /* @__PURE__ */ m("div", {
1774
1794
  part: "field",
1775
1795
  className: "px-5 sm:px-8 py-5 sm:py-6",
@@ -1792,23 +1812,23 @@ var mt = {
1792
1812
  children: n
1793
1813
  }),
1794
1814
  !n && /* @__PURE__ */ p("div", { className: "h-1.5" }),
1795
- e.type === "file" ? Ne(e) : /* @__PURE__ */ p(ht, {
1815
+ e.type === "file" ? q(e) : /* @__PURE__ */ p(_t, {
1796
1816
  field: e,
1797
1817
  id: a,
1798
1818
  value: t,
1799
- onChange: (t) => R(e.id, t),
1819
+ onChange: (t) => de(e.id, t),
1800
1820
  className: o,
1801
1821
  isDark: g,
1802
1822
  placeholder: e.placeholder || (r ? "Enter your email address" : i ? "Your full name" : `Enter your ${(e.label || "").toLowerCase()}`)
1803
1823
  })
1804
1824
  ]
1805
1825
  }, e.id);
1806
- }, Ie = (e, t, n) => {
1807
- let r = ke(t, e), i = T === r || D === r;
1826
+ }, Y = (e, t, n) => {
1827
+ let r = Pe(t, e), i = T === r || D === r;
1808
1828
  return /* @__PURE__ */ m("div", { children: [n ? /* @__PURE__ */ m("div", {
1809
1829
  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"}`,
1810
1830
  children: [
1811
- /* @__PURE__ */ p(be, {
1831
+ /* @__PURE__ */ p(we, {
1812
1832
  size: 15,
1813
1833
  className: "shrink-0",
1814
1834
  style: { color: I }
@@ -1823,32 +1843,32 @@ var mt = {
1823
1843
  /* @__PURE__ */ p("button", {
1824
1844
  type: "button",
1825
1845
  disabled: i,
1826
- onClick: () => je(t, e),
1846
+ onClick: () => Fe(t, e),
1827
1847
  title: "Remove file",
1828
1848
  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"}`,
1829
- children: /* @__PURE__ */ p(Ze, { size: 14 })
1849
+ children: /* @__PURE__ */ p(et, { size: 14 })
1830
1850
  })
1831
1851
  ]
1832
1852
  }) : /* @__PURE__ */ m("label", {
1833
1853
  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" : ""}`,
1834
1854
  children: [
1835
- /* @__PURE__ */ p($e, { size: 14 }),
1855
+ /* @__PURE__ */ p(Q, { size: 14 }),
1836
1856
  i ? "Uploading..." : "Choose file",
1837
1857
  /* @__PURE__ */ p("input", {
1838
1858
  type: "file",
1839
1859
  className: "hidden",
1840
1860
  onChange: (n) => {
1841
1861
  let r = n.target.files?.[0];
1842
- r && Ae(t, e, r), n.target.value = "";
1862
+ r && K(t, e, r), n.target.value = "";
1843
1863
  }
1844
1864
  })
1845
1865
  ]
1846
- }), M && P === r && /* @__PURE__ */ p("div", {
1866
+ }), M && re === r && /* @__PURE__ */ p("div", {
1847
1867
  className: "text-xs text-red-500 mt-1.5 font-medium",
1848
1868
  children: M
1849
1869
  })] });
1850
- }, Re = (e, t, n) => {
1851
- let r = Oe(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)"}`;
1870
+ }, Le = (e, t, n) => {
1871
+ let r = W(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)"}`;
1852
1872
  return /* @__PURE__ */ m("label", {
1853
1873
  part: "field",
1854
1874
  className: "block",
@@ -1858,27 +1878,27 @@ var mt = {
1858
1878
  className: "text-red-500 ml-0.5",
1859
1879
  children: "*"
1860
1880
  })]
1861
- }), e.type === "file" ? Ie(e, n, String(r || "")) : /* @__PURE__ */ p(ht, {
1881
+ }), e.type === "file" ? Y(e, n, String(r || "")) : /* @__PURE__ */ p(_t, {
1862
1882
  field: e,
1863
1883
  value: r,
1864
- onChange: (t) => X(n, e, t),
1884
+ onChange: (t) => G(n, e, t),
1865
1885
  className: i,
1866
1886
  isDark: g
1867
1887
  })]
1868
1888
  }, e.id);
1869
- }, ze = (e) => {
1889
+ }, X = (e) => {
1870
1890
  e.preventDefault(), ue(null);
1871
- for (let e of B) if (e.type === "file" && e.required && !C[e.id]) {
1872
- N(`Please upload ${e.label || "a file"}`), F(e.id);
1891
+ for (let e of _e) if (e.type === "file" && e.required && !C[e.id]) {
1892
+ N(`Please upload ${e.label || "a file"}`), P(e.id);
1873
1893
  return;
1874
1894
  }
1875
- for (let e = 0; e < Ee.length; e++) for (let t of U) if (t.type === "file" && t.required && !Oe(Ee[e], t)) {
1876
- N(`Please upload ${t.label || "a file"} for guest ${e + 1}`), F(ke(e, t));
1895
+ for (let e = 0; e < B.length; e++) for (let t of ke) if (t.type === "file" && t.required && !W(B[e], t)) {
1896
+ N(`Please upload ${t.label || "a file"} for guest ${e + 1}`), P(Pe(e, t));
1877
1897
  return;
1878
1898
  }
1879
- let n = pt(B, (e) => C[e.id]);
1880
- for (let e = 0; !n && e < Ee.length; e++) {
1881
- let t = pt(U, (t) => Oe(Ee[e], t));
1899
+ let n = ht(_e, (e) => C[e.id]);
1900
+ for (let e = 0; !n && e < B.length; e++) {
1901
+ let t = ht(ke, (t) => W(B[e], t));
1882
1902
  t && (n = `Guest ${e + 1}: ${t}`);
1883
1903
  }
1884
1904
  if (n) {
@@ -1886,7 +1906,7 @@ var mt = {
1886
1906
  return;
1887
1907
  }
1888
1908
  t(C);
1889
- }, Be = x?.type || x?.name || x?.label || (S ? "Abstract Submission Form" : "Registration Form"), Ve = (e) => [x?.currency, e.toLocaleString()].filter(Boolean).join(" "), Z = [...ge, ...ye].filter((e) => xe.includes(e.name)).reduce((e, t) => e + (Number(t.price) || 0), 0), He = (Number(x?.price) || 0) + Z + W * Ee.length, Ue = x ? He > 0 ? Ve(He) : "Free" : null;
1909
+ }, Z = x?.type || x?.name || x?.label || (S ? "Abstract Submission Form" : "Registration Form"), Be = (e) => [x?.currency, e.toLocaleString()].filter(Boolean).join(" "), Ve = [...ye, ...Ce].filter((e) => Te.includes(e.name)).reduce((e, t) => e + (Number(t.price) || 0), 0), He = (Number(x?.price) || 0) + Ve + Ae * B.length, Ue = x ? He > 0 ? Be(He) : "Free" : null;
1890
1910
  return /* @__PURE__ */ m("div", {
1891
1911
  part: "form-page",
1892
1912
  className: `w-full flex-1 flex flex-col relative ${g ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
@@ -1906,9 +1926,9 @@ var mt = {
1906
1926
  className: "flex items-center gap-2 min-w-0",
1907
1927
  children: [x && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
1908
1928
  part: "form-type-name",
1909
- title: Be,
1929
+ title: Z,
1910
1930
  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"}`,
1911
- children: Be
1931
+ children: Z
1912
1932
  }), !S && /* @__PURE__ */ p("span", {
1913
1933
  part: "form-type-price",
1914
1934
  className: "shrink-0 text-xs font-bold px-3 py-1.5 rounded-full tabular-nums",
@@ -1923,11 +1943,11 @@ var mt = {
1923
1943
  onClick: o,
1924
1944
  className: "p-1.5 opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
1925
1945
  title: a ? "Minimize" : "Expand",
1926
- children: p(a ? Le : Fe, { size: 16 })
1946
+ children: p(a ? ze : Re, { size: 16 })
1927
1947
  }), /* @__PURE__ */ p("button", {
1928
1948
  onClick: c,
1929
1949
  className: "p-1.5 opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
1930
- children: /* @__PURE__ */ p(st, { size: 18 })
1950
+ children: /* @__PURE__ */ p(lt, { size: 18 })
1931
1951
  })]
1932
1952
  })]
1933
1953
  })]
@@ -1936,7 +1956,7 @@ var mt = {
1936
1956
  className: "w-full flex-1 overflow-y-auto",
1937
1957
  children: /* @__PURE__ */ m("form", {
1938
1958
  part: "form",
1939
- onSubmit: ze,
1959
+ onSubmit: X,
1940
1960
  className: "max-w-3xl mx-auto w-full px-4 sm:px-6 py-8 sm:py-10 space-y-5",
1941
1961
  children: [
1942
1962
  /* @__PURE__ */ m("div", {
@@ -1950,12 +1970,12 @@ var mt = {
1950
1970
  part: "form-title",
1951
1971
  className: `mt-1.5 text-2xl sm:text-3xl font-bold tracking-tight ${g ? "text-white" : "text-slate-900"}`,
1952
1972
  style: $,
1953
- children: Be
1973
+ children: Z
1954
1974
  })]
1955
1975
  }),
1956
1976
  u && Object.keys(u).length > 0 && /* @__PURE__ */ m("div", {
1957
1977
  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"}`,
1958
- children: [/* @__PURE__ */ p(oe, {
1978
+ children: [/* @__PURE__ */ p(se, {
1959
1979
  size: 16,
1960
1980
  className: "shrink-0"
1961
1981
  }), /* @__PURE__ */ p("span", {
@@ -1973,7 +1993,7 @@ var mt = {
1973
1993
  children: [/* @__PURE__ */ p("div", {
1974
1994
  className: "shrink-0 mt-0.5",
1975
1995
  style: { color: I },
1976
- children: /* @__PURE__ */ p(G, { size: 18 })
1996
+ children: /* @__PURE__ */ p(je, { size: 18 })
1977
1997
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
1978
1998
  part: "notice-title",
1979
1999
  className: "text-xs font-bold uppercase tracking-wider",
@@ -1994,9 +2014,9 @@ var mt = {
1994
2014
  /* @__PURE__ */ p("div", {
1995
2015
  part: "form-card",
1996
2016
  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)]"}`,
1997
- children: B.map((e) => Pe(e))
2017
+ children: _e.map((e) => J(e))
1998
2018
  }),
1999
- !S && he.length > 0 && /* @__PURE__ */ m("div", {
2019
+ !S && ve.length > 0 && /* @__PURE__ */ m("div", {
2000
2020
  part: "addons-card",
2001
2021
  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)]"}`,
2002
2022
  children: [
@@ -2008,7 +2028,7 @@ var mt = {
2008
2028
  backgroundColor: `color-mix(in srgb, ${I} 12%, transparent)`,
2009
2029
  color: I
2010
2030
  },
2011
- children: /* @__PURE__ */ p(Ye, { size: 17 })
2031
+ children: /* @__PURE__ */ p(Qe, { size: 17 })
2012
2032
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h3", {
2013
2033
  part: "addons-title",
2014
2034
  className: `text-sm font-semibold ${g ? "text-zinc-100" : "text-slate-900"}`,
@@ -2016,14 +2036,14 @@ var mt = {
2016
2036
  children: "Add-ons"
2017
2037
  }), /* @__PURE__ */ p("p", {
2018
2038
  className: `text-xs ${g ? "text-zinc-400" : "text-slate-500"}`,
2019
- children: ge.length > 0 || _e.length > 0 ? "Optional extras — charges are added to your total." : "Included with this registration."
2039
+ children: ye.length > 0 || be.length > 0 ? "Optional extras — charges are added to your total." : "Included with this registration."
2020
2040
  })] })]
2021
2041
  }),
2022
2042
  /* @__PURE__ */ m("div", {
2023
2043
  className: "px-5 sm:px-8 pb-5 sm:pb-6 space-y-2",
2024
2044
  children: [
2025
- ge.map((e) => {
2026
- let t = xe.includes(e.name);
2045
+ ye.map((e) => {
2046
+ let t = Te.includes(e.name);
2027
2047
  return /* @__PURE__ */ m("label", {
2028
2048
  part: t ? "addon addon-selected" : "addon",
2029
2049
  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"}`,
@@ -2035,7 +2055,7 @@ var mt = {
2035
2055
  /* @__PURE__ */ p("input", {
2036
2056
  type: "checkbox",
2037
2057
  checked: t,
2038
- onChange: () => we(e.name),
2058
+ onChange: () => De(e.name),
2039
2059
  className: "w-4 h-4 rounded cursor-pointer shrink-0",
2040
2060
  style: { accentColor: I }
2041
2061
  }),
@@ -2046,13 +2066,13 @@ var mt = {
2046
2066
  /* @__PURE__ */ p("span", {
2047
2067
  className: "shrink-0 text-[13px] font-bold tabular-nums",
2048
2068
  style: { color: I },
2049
- children: Number(e.price) > 0 ? `+ ${Ve(Number(e.price))}` : "Free"
2069
+ children: Number(e.price) > 0 ? `+ ${Be(Number(e.price))}` : "Free"
2050
2070
  })
2051
2071
  ]
2052
2072
  }, e.name);
2053
2073
  }),
2054
- _e.map((e) => {
2055
- let t = Number(e.max) || 0, n = Ce(e), r = t > 0 && n >= t;
2074
+ be.map((e) => {
2075
+ let t = Number(e.max) || 0, n = R(e), r = t > 0 && n >= t;
2056
2076
  return /* @__PURE__ */ m("div", {
2057
2077
  part: "addon-group",
2058
2078
  className: "pt-1",
@@ -2073,7 +2093,7 @@ var mt = {
2073
2093
  }), /* @__PURE__ */ p("div", {
2074
2094
  className: "space-y-2",
2075
2095
  children: (e.options || []).map((t) => {
2076
- let n = xe.includes(t.name), i = r && !n;
2096
+ let n = Te.includes(t.name), i = r && !n;
2077
2097
  return /* @__PURE__ */ m("label", {
2078
2098
  part: n ? "addon addon-selected" : "addon",
2079
2099
  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"}`,
@@ -2086,7 +2106,7 @@ var mt = {
2086
2106
  type: "checkbox",
2087
2107
  checked: n,
2088
2108
  disabled: i,
2089
- onChange: () => we(t.name, e),
2109
+ onChange: () => De(t.name, e),
2090
2110
  className: "w-4 h-4 rounded cursor-pointer shrink-0 disabled:cursor-not-allowed",
2091
2111
  style: { accentColor: I }
2092
2112
  }),
@@ -2097,7 +2117,7 @@ var mt = {
2097
2117
  /* @__PURE__ */ p("span", {
2098
2118
  className: "shrink-0 text-[13px] font-bold tabular-nums",
2099
2119
  style: { color: I },
2100
- children: Number(t.price) > 0 ? `+ ${Ve(Number(t.price))}` : "Free"
2120
+ children: Number(t.price) > 0 ? `+ ${Be(Number(t.price))}` : "Free"
2101
2121
  })
2102
2122
  ]
2103
2123
  }, t.name);
@@ -2105,11 +2125,11 @@ var mt = {
2105
2125
  })]
2106
2126
  }, e.name);
2107
2127
  }),
2108
- V.map((e) => /* @__PURE__ */ m("div", {
2128
+ xe.map((e) => /* @__PURE__ */ m("div", {
2109
2129
  part: "addon addon-included",
2110
2130
  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"}`,
2111
2131
  children: [
2112
- /* @__PURE__ */ p(oe, {
2132
+ /* @__PURE__ */ p(se, {
2113
2133
  size: 16,
2114
2134
  className: "text-emerald-500 shrink-0"
2115
2135
  }),
@@ -2133,12 +2153,12 @@ var mt = {
2133
2153
  }), /* @__PURE__ */ p("span", {
2134
2154
  className: "text-base font-bold tabular-nums",
2135
2155
  style: { color: I },
2136
- children: Ve(He)
2156
+ children: Be(He)
2137
2157
  })]
2138
2158
  })
2139
2159
  ]
2140
2160
  }),
2141
- H && /* @__PURE__ */ m("div", {
2161
+ Oe && /* @__PURE__ */ m("div", {
2142
2162
  part: "accompany-card",
2143
2163
  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)]"}`,
2144
2164
  children: [/* @__PURE__ */ m("div", {
@@ -2149,7 +2169,7 @@ var mt = {
2149
2169
  backgroundColor: `color-mix(in srgb, ${I} 12%, transparent)`,
2150
2170
  color: I
2151
2171
  },
2152
- children: /* @__PURE__ */ p(at, { size: 17 })
2172
+ children: /* @__PURE__ */ p(st, { size: 17 })
2153
2173
  }), /* @__PURE__ */ m("div", {
2154
2174
  className: "min-w-0",
2155
2175
  children: [/* @__PURE__ */ p("h3", {
@@ -2159,12 +2179,12 @@ var mt = {
2159
2179
  children: "Accompanying people"
2160
2180
  }), /* @__PURE__ */ m("p", {
2161
2181
  className: `text-xs ${g ? "text-zinc-400" : "text-slate-500"}`,
2162
- children: [W > 0 ? `${Ve(W)} per guest` : "No extra charge", Te ? ` · up to ${Te}` : ""]
2182
+ children: [Ae > 0 ? `${Be(Ae)} per guest` : "No extra charge", z ? ` · up to ${z}` : ""]
2163
2183
  })]
2164
2184
  })]
2165
2185
  }), /* @__PURE__ */ m("div", {
2166
2186
  className: "px-5 sm:px-8 pb-5 sm:pb-6 space-y-3",
2167
- children: [Ee.map((e, t) => /* @__PURE__ */ m("div", {
2187
+ children: [B.map((e, t) => /* @__PURE__ */ m("div", {
2168
2188
  part: "accompany-guest",
2169
2189
  className: `rounded-2xl border p-4 ${g ? "border-zinc-800 bg-zinc-950/60" : "border-slate-200 bg-slate-50/70"}`,
2170
2190
  children: [/* @__PURE__ */ m("div", {
@@ -2174,25 +2194,25 @@ var mt = {
2174
2194
  children: ["Guest ", t + 1]
2175
2195
  }), /* @__PURE__ */ p("button", {
2176
2196
  type: "button",
2177
- onClick: () => De(t),
2197
+ onClick: () => H(t),
2178
2198
  title: "Remove guest",
2179
2199
  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"}`,
2180
- children: /* @__PURE__ */ p(Ze, { size: 15 })
2200
+ children: /* @__PURE__ */ p(et, { size: 15 })
2181
2201
  })]
2182
2202
  }), /* @__PURE__ */ p("div", {
2183
2203
  className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
2184
- children: U.map((n) => Re(n, e, t))
2204
+ children: ke.map((n) => Le(n, e, t))
2185
2205
  })]
2186
2206
  }, t)), /* @__PURE__ */ m("button", {
2187
2207
  type: "button",
2188
- onClick: J,
2189
- disabled: !K,
2208
+ onClick: V,
2209
+ disabled: !Me,
2190
2210
  style: {
2191
2211
  borderColor: I,
2192
2212
  color: I
2193
2213
  },
2194
2214
  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",
2195
- children: [/* @__PURE__ */ p(tt, { size: 16 }), K ? "Add guest" : `Limit of ${Te} reached`]
2215
+ children: [/* @__PURE__ */ p(rt, { size: 16 }), Me ? "Add guest" : `Limit of ${z} reached`]
2196
2216
  })]
2197
2217
  })]
2198
2218
  }),
@@ -2229,22 +2249,154 @@ var mt = {
2229
2249
  })
2230
2250
  })]
2231
2251
  });
2232
- }, vt = /* @__PURE__ */ new Set([
2252
+ }, bt = ({ qrUrl: e, schema: t, amount: n, currency: r, registrationNumber: i, apiClient: a, primaryColor: o, isDark: s, onSubmitted: c }) => {
2253
+ let [l, u] = d({}), [f, h] = d({}), [g, _] = d(null), [v, y] = d(!1), [b, x] = d(null), S = `w-full px-3 py-2.5 rounded-lg border text-sm outline-none transition-colors ${s ? "bg-zinc-900 border-zinc-700 text-white placeholder-zinc-500 focus:border-zinc-500" : "bg-white border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500"}`, C = async (e, t) => {
2254
+ _(e.id), x(null);
2255
+ try {
2256
+ let n = await a.uploadFile(t, null, null, e.label), r = n?.data?.asset_id || n?.asset_id;
2257
+ if (!r) throw Error("Upload response missing asset_id");
2258
+ u((t) => ({
2259
+ ...t,
2260
+ [e.id]: r
2261
+ })), h((n) => ({
2262
+ ...n,
2263
+ [e.id]: t.name
2264
+ }));
2265
+ } catch (e) {
2266
+ x(e?.message || "File upload failed. Please try again.");
2267
+ } finally {
2268
+ _(null);
2269
+ }
2270
+ };
2271
+ return /* @__PURE__ */ m("div", {
2272
+ part: "custom-qr",
2273
+ className: "w-full max-w-sm text-left",
2274
+ children: [
2275
+ e && /* @__PURE__ */ m("div", {
2276
+ className: `flex flex-col items-center p-4 mb-5 rounded-xl border ${s ? "bg-zinc-900 border-zinc-700" : "bg-gray-50 border-gray-200"}`,
2277
+ children: [
2278
+ /* @__PURE__ */ p("img", {
2279
+ part: "custom-qr-image",
2280
+ src: e,
2281
+ alt: "Payment QR code",
2282
+ className: "w-44 h-44 object-contain rounded-lg bg-white p-2"
2283
+ }),
2284
+ n && /* @__PURE__ */ m("p", {
2285
+ className: `mt-3 text-lg font-bold ${s ? "text-white" : "text-gray-900"}`,
2286
+ style: $,
2287
+ children: [
2288
+ r,
2289
+ " ",
2290
+ n
2291
+ ]
2292
+ }),
2293
+ /* @__PURE__ */ p("p", {
2294
+ className: `mt-1 text-xs text-center ${s ? "text-zinc-400" : "text-gray-500"}`,
2295
+ children: "Scan the code to pay, then fill in the details below."
2296
+ })
2297
+ ]
2298
+ }),
2299
+ /* @__PURE__ */ p("div", {
2300
+ className: "space-y-4",
2301
+ children: t.map((e) => /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
2302
+ className: `block text-xs font-bold mb-1.5 ${s ? "text-zinc-300" : "text-gray-700"}`,
2303
+ children: [e.label, e.is_required && /* @__PURE__ */ p("span", {
2304
+ className: "text-red-500 ml-1",
2305
+ children: "*"
2306
+ })]
2307
+ }), e.type === "file" ? /* @__PURE__ */ m("label", {
2308
+ part: "custom-qr-file",
2309
+ className: `flex items-center gap-2 px-3 py-2.5 rounded-lg border border-dashed cursor-pointer text-sm transition-colors ${s ? "border-zinc-700 text-zinc-300 hover:border-zinc-500" : "border-gray-300 text-gray-600 hover:border-gray-500"}`,
2310
+ children: [
2311
+ g === e.id ? /* @__PURE__ */ p(H, {
2312
+ size: 15,
2313
+ className: "animate-spin shrink-0"
2314
+ }) : l[e.id] ? /* @__PURE__ */ p(se, {
2315
+ size: 15,
2316
+ className: "shrink-0",
2317
+ style: { color: o }
2318
+ }) : /* @__PURE__ */ p(Q, {
2319
+ size: 15,
2320
+ className: "shrink-0"
2321
+ }),
2322
+ /* @__PURE__ */ p("span", {
2323
+ className: "truncate",
2324
+ children: g === e.id ? "Uploading…" : f[e.id] || "Choose a file"
2325
+ }),
2326
+ /* @__PURE__ */ p("input", {
2327
+ type: "file",
2328
+ className: "hidden",
2329
+ disabled: g === e.id || v,
2330
+ onChange: (t) => {
2331
+ let n = t.target.files?.[0];
2332
+ n && C(e, n);
2333
+ }
2334
+ })
2335
+ ]
2336
+ }) : /* @__PURE__ */ p("input", {
2337
+ type: e.type === "number" ? "number" : "text",
2338
+ className: S,
2339
+ value: l[e.id] ?? "",
2340
+ disabled: v,
2341
+ onChange: (t) => u((n) => ({
2342
+ ...n,
2343
+ [e.id]: t.target.value
2344
+ }))
2345
+ })] }, e.id))
2346
+ }),
2347
+ b && /* @__PURE__ */ p("p", {
2348
+ part: "custom-qr-error",
2349
+ className: "mt-3 text-sm text-red-500",
2350
+ children: b
2351
+ }),
2352
+ /* @__PURE__ */ m("button", {
2353
+ part: "button button-primary",
2354
+ type: "button",
2355
+ onClick: async () => {
2356
+ let e = t.find((e) => e.is_required && !String(l[e.id] ?? "").trim());
2357
+ if (e) {
2358
+ x(`${e.label} is required.`);
2359
+ return;
2360
+ }
2361
+ if (!i) {
2362
+ x("Registration number missing — please reload and try again.");
2363
+ return;
2364
+ }
2365
+ y(!0), x(null);
2366
+ try {
2367
+ await a.submitCustomQrPayment(i, l), c(l);
2368
+ } catch (e) {
2369
+ x(e?.message || "Could not submit your payment details. Please try again.");
2370
+ } finally {
2371
+ y(!1);
2372
+ }
2373
+ },
2374
+ disabled: v || !!g,
2375
+ style: { backgroundColor: o },
2376
+ className: "mt-5 w-full flex items-center justify-center gap-2 font-bold px-5 py-3 rounded-lg text-white shadow-md transition-opacity hover:opacity-90 disabled:opacity-60 disabled:cursor-not-allowed cursor-pointer",
2377
+ children: [v && /* @__PURE__ */ p(H, {
2378
+ size: 16,
2379
+ className: "animate-spin"
2380
+ }), /* @__PURE__ */ p("span", { children: v ? "Submitting…" : "I have paid" })]
2381
+ })
2382
+ ]
2383
+ });
2384
+ }, xt = /* @__PURE__ */ new Set([
2233
2385
  "salutation",
2234
2386
  "name",
2235
2387
  "email",
2236
2388
  "phone"
2237
- ]), yt = ({ apiClient: e, storage: t, logger: n, primaryColor: r, isDark: i = !1, isWidgetPage: a = !1, onEvent: o, onError: c }) => {
2238
- let [l, u] = d(() => t.getToken() ? "profile" : "login"), [h, g] = d(!1), [_, v] = d(!1), [y, b] = d(null), [x, S] = d(null), [C, w] = d(null), [T, E] = d(""), [D, O] = d(""), [ee, k] = d(""), [A, j] = d(""), [M, N] = d(""), [P, re] = d(""), [ae, se] = d(""), [ce, le] = d(!1), [L, R] = d(null), [de, z] = d({}), [fe, pe] = d([]), [me, B] = d({}), [ge, V] = d(null), [ye, xe] = d(null), [Ce, H] = d(null), [W, G] = d(!1), [Te, K] = d(!1), [J, Y] = d({}), [X, Ae] = d(!1), [Me, Pe] = d(null), [Fe, Ie] = d({}), [Le, Re] = d({}), [ze, Be] = d(null), [Z, Ue] = d("details"), [Q, Ge] = d({}), [Ke, Je] = d(!1);
2389
+ ]), St = ({ apiClient: e, storage: t, logger: n, primaryColor: r, isDark: i = !1, isWidgetPage: a = !1, onEvent: o, onError: c }) => {
2390
+ let [l, u] = d(() => t.getToken() ? "profile" : "login"), [h, g] = d(!1), [_, v] = d(!1), [y, b] = d(null), [x, S] = d(null), [C, w] = d(null), [T, E] = d(""), [D, O] = d(""), [ee, k] = d(""), [A, j] = d(""), [M, N] = d(""), [re, ie] = d(""), [oe, ce] = d(""), [le, F] = d(!1), [L, de] = d(null), [fe, pe] = d({}), [me, he] = d([]), [ge, _e] = d({}), [ye, xe] = d(null), [Ce, Te] = d(null), [R, Oe] = d(null), [Ae, je] = d(!1), [z, Me] = d(!1), [V, H] = d({}), [U, G] = d(!1), [K, Ie] = d(null), [J, Le] = d({}), [Re, X] = d({}), [ze, Z] = d(null), [Be, Ve] = d("details"), [Ue, Ge] = d({}), [qe, Je] = d(!1);
2239
2391
  s(() => {
2240
2392
  let e = t.getToken();
2241
- e && Xe(e);
2393
+ e && Ye(e);
2242
2394
  }, []);
2243
- let Xe = async (r) => {
2395
+ let Ye = async (r) => {
2244
2396
  g(!0), S(null);
2245
2397
  try {
2246
2398
  let i = await e.portalGetProfile(r), a = i?.data || i || {};
2247
- R(a);
2399
+ de(a);
2248
2400
  let s = a.registration || {}, c = s.custom_data || {}, l = s.email || a.email || "", d = null;
2249
2401
  if (l) try {
2250
2402
  let t = await e.getDraftByEmail(l);
@@ -2262,7 +2414,7 @@ var mt = {
2262
2414
  let f = d?.custom_data || {};
2263
2415
  s.name ? k(s.name) : d?.name ? k(d.name) : a.name && k(a.name);
2264
2416
  let p = 0, m = {}, h = [...a.editable_fields || []];
2265
- R({
2417
+ de({
2266
2418
  ...a,
2267
2419
  editable_fields: h
2268
2420
  });
@@ -2272,13 +2424,13 @@ var mt = {
2272
2424
  let t = s[`${e.id}_asset_id`] || c[`${e.id}_asset_id`] || s.asset_id || c.asset_id || a.asset_id;
2273
2425
  t && (g[e.id] = String(t));
2274
2426
  }
2275
- }), B((e) => ({
2427
+ }), _e((e) => ({
2276
2428
  ...g,
2277
2429
  ...e
2278
2430
  }));
2279
2431
  let _ = s.asset_id || s.photo_id || c.asset_id || c.photo_id || a.asset_id;
2280
- _ && V(String(_)), h.length > 0 ? h.forEach((e) => {
2281
- let t = e.label || e.name || e.id, n = ut(e.id, e.label), r = dt(e.label, e.id), i = "";
2432
+ _ && xe(String(_)), h.length > 0 ? h.forEach((e) => {
2433
+ let t = e.label || e.name || e.id, n = ft(e.id, e.label), r = pt(e.label, e.id), i = "";
2282
2434
  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) {
2283
2435
  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);
2284
2436
  t != null && t !== "" && (i = t, p++);
@@ -2286,12 +2438,12 @@ var mt = {
2286
2438
  m[e.id] = i;
2287
2439
  }) : Object.entries(a).forEach(([e, t]) => {
2288
2440
  e.toLowerCase() !== "token" && (m[e] = t);
2289
- }), z(m), p > 0 && G(!0);
2441
+ }), pe(m), p > 0 && je(!0);
2290
2442
  let v = (a.addons?.items || []).filter((e) => e.purchased).map((e) => e.name);
2291
2443
  d?.selected_items && Array.isArray(d.selected_items) && d.selected_items.forEach((e) => {
2292
2444
  let t = typeof e == "string" ? e : e?.name;
2293
2445
  t && !v.includes(t) && v.push(t);
2294
- }), pe(v), u("profile"), o?.("attendee_profile_loaded", {
2446
+ }), he(v), u("profile"), o?.("attendee_profile_loaded", {
2295
2447
  profile: a,
2296
2448
  draft: d
2297
2449
  });
@@ -2300,7 +2452,7 @@ var mt = {
2300
2452
  } finally {
2301
2453
  g(!1);
2302
2454
  }
2303
- }, Qe = async (r) => {
2455
+ }, Ze = async (r) => {
2304
2456
  if (r.preventDefault(), !T.trim() || !D) {
2305
2457
  S("Please enter both your identifier and password.");
2306
2458
  return;
@@ -2315,7 +2467,7 @@ var mt = {
2315
2467
  (n?.data?.name || n?.name) && k(n.data?.name || n.name), t.setToken(r), o?.("attendee_logged_in", {
2316
2468
  identifier: T,
2317
2469
  response: n
2318
- }), await Xe(r);
2470
+ }), await Ye(r);
2319
2471
  } catch (e) {
2320
2472
  n.error("Login failed", e);
2321
2473
  let t = e.message || "Login failed. Please check your credentials.";
@@ -2327,14 +2479,14 @@ var mt = {
2327
2479
  } finally {
2328
2480
  g(!1);
2329
2481
  }
2330
- }, et = async (t) => {
2482
+ }, $e = async (t) => {
2331
2483
  t.preventDefault();
2332
2484
  let r = (A || T).trim();
2333
2485
  if (!r) {
2334
2486
  S("Please enter your registration number or email to receive a code.");
2335
2487
  return;
2336
2488
  }
2337
- le(!0), S(null), w(null);
2489
+ F(!0), S(null), w(null);
2338
2490
  try {
2339
2491
  await e.portalRequestPasswordReset(r), w("A verification code has been sent to your registered email."), o?.("password_reset_code_requested", { identifier: r }), u("reset");
2340
2492
  } catch (e) {
@@ -2346,7 +2498,7 @@ var mt = {
2346
2498
  error: e
2347
2499
  });
2348
2500
  } finally {
2349
- le(!1);
2501
+ F(!1);
2350
2502
  }
2351
2503
  }, tt = async (r) => {
2352
2504
  r.preventDefault();
@@ -2359,11 +2511,11 @@ var mt = {
2359
2511
  S("Please enter the verification code sent to your email.");
2360
2512
  return;
2361
2513
  }
2362
- if (!P) {
2514
+ if (!re) {
2363
2515
  S("Please enter a new password.");
2364
2516
  return;
2365
2517
  }
2366
- if (P !== ae) {
2518
+ if (re !== oe) {
2367
2519
  S("New password and confirm password do not match.");
2368
2520
  return;
2369
2521
  }
@@ -2372,12 +2524,12 @@ var mt = {
2372
2524
  let n = await e.portalConfirmPasswordReset({
2373
2525
  identifier: i,
2374
2526
  code: M.trim(),
2375
- new_password: P
2527
+ new_password: re
2376
2528
  }), r = n?.data?.token || n?.token;
2377
2529
  (n?.data?.name || n?.name) && k(n.data?.name || n.name), o?.("password_reset_success", {
2378
2530
  identifier: i,
2379
2531
  response: n
2380
- }), r ? (t.setToken(r), N(""), re(""), se(""), await Xe(r)) : (E(i), O(""), N(""), re(""), se(""), u("login"), w("Password updated successfully! Please login with your new password."));
2532
+ }), r ? (t.setToken(r), N(""), ie(""), ce(""), await Ye(r)) : (E(i), O(""), N(""), ie(""), ce(""), u("login"), w("Password updated successfully! Please login with your new password."));
2381
2533
  } catch (e) {
2382
2534
  n.error("Password reset failed", e);
2383
2535
  let t = e.message || "Failed to update password. Please check the code.";
@@ -2390,8 +2542,8 @@ var mt = {
2390
2542
  g(!1);
2391
2543
  }
2392
2544
  }, nt = () => {
2393
- t.clearToken(), R(null), z({}), pe([]), B({}), V(null), H(null), k(""), O(""), u("login"), w("Logged out successfully."), o?.("attendee_logged_out", {});
2394
- }, it = async (r, i) => {
2545
+ t.clearToken(), de(null), pe({}), he([]), _e({}), xe(null), Oe(null), k(""), O(""), u("login"), w("Logged out successfully."), o?.("attendee_logged_out", {});
2546
+ }, rt = async (r, i) => {
2395
2547
  let a = t.getToken();
2396
2548
  if (!a) {
2397
2549
  S("Session expired. Please log in again.");
@@ -2401,13 +2553,13 @@ var mt = {
2401
2553
  try {
2402
2554
  let t = await e.uploadFile(i, a), n = t?.data?.serve_url || t?.serve_url || "", s = t?.data?.asset_id || t?.asset_id;
2403
2555
  if (!s && !n) throw Error("Upload response missing asset_id");
2404
- n && z((e) => ({
2556
+ n && pe((e) => ({
2405
2557
  ...e,
2406
2558
  [r]: n
2407
- })), s && (B((e) => ({
2559
+ })), s && (_e((e) => ({
2408
2560
  ...e,
2409
2561
  [r]: String(s)
2410
- })), V(String(s))), w(`File "${i.name}" uploaded successfully!`), o?.("portal_file_uploaded", {
2562
+ })), xe(String(s))), w(`File "${i.name}" uploaded successfully!`), o?.("portal_file_uploaded", {
2411
2563
  fieldId: r,
2412
2564
  serveUrl: n,
2413
2565
  assetId: s,
@@ -2424,25 +2576,25 @@ var mt = {
2424
2576
  } finally {
2425
2577
  b(null);
2426
2578
  }
2427
- }, ot = async (r) => {
2579
+ }, it = async (r) => {
2428
2580
  let i = t.getToken();
2429
2581
  if (!i) {
2430
2582
  S("Session expired. Please log in again.");
2431
2583
  return;
2432
2584
  }
2433
- let a = de[r], s = lt(a) || me[r] || ge;
2434
- xe(r), S(null), w(null);
2585
+ let a = fe[r], s = dt(a) || ge[r] || ye;
2586
+ Te(r), S(null), w(null);
2435
2587
  try {
2436
2588
  s && (n.log(`Deleting asset ${s} for field ${r}...`), await e.portalDeleteFile(i, s), n.log(`Asset ${s} deleted successfully.`), o?.("portal_file_deleted", {
2437
2589
  assetId: s,
2438
2590
  fieldId: r
2439
- })), z((e) => ({
2591
+ })), pe((e) => ({
2440
2592
  ...e,
2441
2593
  [r]: ""
2442
- })), B((e) => {
2594
+ })), _e((e) => {
2443
2595
  let t = { ...e };
2444
2596
  return delete t[r], t;
2445
- }), ge === s && V(null), w("File removed successfully.");
2597
+ }), ye === s && xe(null), w("File removed successfully.");
2446
2598
  } catch (e) {
2447
2599
  n.error("Failed to delete file", e);
2448
2600
  let t = e.message || "Failed to delete file. Please try again.";
@@ -2452,10 +2604,10 @@ var mt = {
2452
2604
  error: e
2453
2605
  });
2454
2606
  } finally {
2455
- xe(null);
2607
+ Te(null);
2456
2608
  }
2457
- }, st = (e, t) => {
2458
- t || pe((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
2609
+ }, ot = (e, t) => {
2610
+ t || he((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
2459
2611
  }, ct = async (r) => {
2460
2612
  r.preventDefault();
2461
2613
  let i = t.getToken();
@@ -2463,7 +2615,7 @@ var mt = {
2463
2615
  S("Session expired. Please log in again.");
2464
2616
  return;
2465
2617
  }
2466
- let a = L?.locked_fields || [], s = pt((L?.editable_fields || []).filter((e) => !a.includes(e.id) && !a.includes(ut(e.id, e.label))), (e) => de[e.id]);
2618
+ let a = L?.locked_fields || [], s = ht((L?.editable_fields || []).filter((e) => !a.includes(e.id) && !a.includes(ft(e.id, e.label))), (e) => fe[e.id]);
2467
2619
  if (s) {
2468
2620
  w(null), S(s);
2469
2621
  return;
@@ -2472,12 +2624,12 @@ var mt = {
2472
2624
  try {
2473
2625
  let t = L?.editable_fields || [], n = { ...L?.registration?.custom_data || {} }, r = {};
2474
2626
  t.forEach((e) => {
2475
- let t = de[e.id], i = e.label || e.name || e.id, a = dt(e.label, e.id), o = ut(e.id, e.label);
2627
+ let t = fe[e.id], i = e.label || e.name || e.id, a = pt(e.label, e.id), o = ft(e.id, e.label);
2476
2628
  if (e.type === "file") {
2477
2629
  let s = typeof t == "string" ? t : t?.serve_url || t?.url || "";
2478
2630
  delete n[i], delete n[a], n[o] = s, r[o] = s, o !== e.id && (r[e.id] = s);
2479
2631
  } 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));
2480
- }), r.custom_data = n, r.addons = fe;
2632
+ }), r.custom_data = n, r.addons = me;
2481
2633
  let a = await e.portalUpdateProfile(i, r);
2482
2634
  o?.("attendee_profile_updated", {
2483
2635
  payload: r,
@@ -2485,10 +2637,10 @@ var mt = {
2485
2637
  });
2486
2638
  let s = a?.data?.addon_checkout?.payment_url || a?.addon_checkout?.payment_url || a?.data?.payment_url || a?.payment_url;
2487
2639
  if (s && typeof s == "string" && s.trim() !== "") {
2488
- H(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 Xe(i);
2640
+ Oe(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 Ye(i);
2489
2641
  return;
2490
2642
  }
2491
- w("Profile updated successfully!"), await Xe(i);
2643
+ w("Profile updated successfully!"), await Ye(i);
2492
2644
  } catch (e) {
2493
2645
  n.error("Failed to update profile", e);
2494
2646
  let t = e.message || "Failed to update profile. Please try again.";
@@ -2500,25 +2652,25 @@ var mt = {
2500
2652
  } finally {
2501
2653
  v(!1);
2502
2654
  }
2503
- }, ft = () => {
2655
+ }, lt = () => {
2504
2656
  let e = L?.review_submission;
2505
2657
  if (!e) return;
2506
2658
  let t = e.custom_data || {}, n = {}, r = {};
2507
2659
  (e.editable_fields || []).forEach((i) => {
2508
- 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 || "");
2509
- }), Y(n), Re(r), Ie({}), K(!0);
2510
- }, mt = (e) => {
2511
- if (Fe[e.id]) return Fe[e.id];
2660
+ 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[ft(i.id, i.label)] ?? "", i.type === "file" && (r[i.id] = i.current_file?.text || "");
2661
+ }), H(n), X(r), Le({}), Me(!0);
2662
+ }, ut = (e) => {
2663
+ if (J[e.id]) return J[e.id];
2512
2664
  let t = e.current_file;
2513
2665
  return t && !t.serve_url && t.text ? "text" : "file";
2514
- }, gt = async (r, i) => {
2666
+ }, mt = async (r, i) => {
2515
2667
  let a = t.getToken();
2516
2668
  if (!a) {
2517
2669
  S("Session expired. Please log in again.");
2518
2670
  return;
2519
2671
  }
2520
2672
  let s = (L?.review_submission?.editable_fields || []).find((e) => e.id === r), l = s?.current_file?.id;
2521
- Pe(r), S(null), w(null);
2673
+ Ie(r), S(null), w(null);
2522
2674
  try {
2523
2675
  if (l) try {
2524
2676
  await e.deleteFile(l, a);
@@ -2527,7 +2679,7 @@ var mt = {
2527
2679
  }
2528
2680
  let t = await e.uploadFile(i, a, null, s?.label), c = t?.data?.asset_id || t?.asset_id;
2529
2681
  if (!c) throw Error("Upload response missing asset_id");
2530
- Y((e) => ({
2682
+ H((e) => ({
2531
2683
  ...e,
2532
2684
  [r]: String(c)
2533
2685
  })), w(`File "${i.name}" uploaded successfully!`), o?.("portal_submission_file_uploaded", {
@@ -2544,25 +2696,25 @@ var mt = {
2544
2696
  error: e
2545
2697
  });
2546
2698
  } finally {
2547
- Pe(null);
2699
+ Ie(null);
2548
2700
  }
2549
- }, _t = async (r) => {
2701
+ }, gt = async (r) => {
2550
2702
  let i = t.getToken();
2551
2703
  if (!i) {
2552
2704
  S("Session expired. Please log in again.");
2553
2705
  return;
2554
2706
  }
2555
- let a = (Le[r] || "").trim();
2707
+ let a = (Re[r] || "").trim();
2556
2708
  if (a) {
2557
- Pe(r), S(null), w(null);
2709
+ Ie(r), S(null), w(null);
2558
2710
  try {
2559
2711
  let t = await e.portalUpdateSubmission(i, { [r]: { text: a } }), n = t?.data || t;
2560
- R((e) => ({
2712
+ de((e) => ({
2561
2713
  ...e,
2562
2714
  review_submission: n
2563
2715
  }));
2564
2716
  let s = (n?.editable_fields || []).find((e) => e.id === r)?.current_file?.id;
2565
- s && Y((e) => ({
2717
+ s && H((e) => ({
2566
2718
  ...e,
2567
2719
  [r]: String(s)
2568
2720
  })), w("Text answer saved!"), o?.("portal_submission_text_saved", { fieldId: r });
@@ -2575,29 +2727,29 @@ var mt = {
2575
2727
  error: e
2576
2728
  });
2577
2729
  } finally {
2578
- Pe(null);
2730
+ Ie(null);
2579
2731
  }
2580
2732
  }
2581
- }, yt = async (r) => {
2733
+ }, vt = async (r) => {
2582
2734
  r.preventDefault();
2583
2735
  let i = t.getToken();
2584
2736
  if (!i) {
2585
2737
  S("Session expired. Please log in again.");
2586
2738
  return;
2587
2739
  }
2588
- let a = pt((L?.review_submission?.editable_fields || []).filter((e) => e.id !== "registration_type"), (e) => J[e.id]);
2740
+ let a = ht((L?.review_submission?.editable_fields || []).filter((e) => e.id !== "registration_type"), (e) => V[e.id]);
2589
2741
  if (a) {
2590
2742
  w(null), S(a);
2591
2743
  return;
2592
2744
  }
2593
- Ae(!0), S(null), w(null);
2745
+ G(!0), S(null), w(null);
2594
2746
  try {
2595
- let t = await e.portalUpdateSubmission(i, J), n = t?.data || t;
2596
- R((e) => ({
2747
+ let t = await e.portalUpdateSubmission(i, V), n = t?.data || t;
2748
+ de((e) => ({
2597
2749
  ...e,
2598
2750
  review_submission: n
2599
- })), K(!1), w("Your submission was updated successfully!"), o?.("attendee_submission_updated", {
2600
- payload: J,
2751
+ })), Me(!1), w("Your submission was updated successfully!"), o?.("attendee_submission_updated", {
2752
+ payload: V,
2601
2753
  response: t
2602
2754
  });
2603
2755
  } catch (e) {
@@ -2609,19 +2761,19 @@ var mt = {
2609
2761
  error: e
2610
2762
  });
2611
2763
  } finally {
2612
- Ae(!1);
2764
+ G(!1);
2613
2765
  }
2614
- }, bt = (e) => vt.has(e.id) ? e.id : ut(e.id, e.label), xt = (e, t) => (vt.has(t.id) ? e[t.id] : (e.custom_data || {})[bt(t)]) ?? "", St = (e, t) => Ge((n) => vt.has(e.id) ? {
2766
+ }, yt = (e) => xt.has(e.id) ? e.id : ft(e.id, e.label), bt = (e, t) => (xt.has(t.id) ? e[t.id] : (e.custom_data || {})[yt(t)]) ?? "", St = (e, t) => Ge((n) => xt.has(e.id) ? {
2615
2767
  ...n,
2616
2768
  [e.id]: t
2617
2769
  } : {
2618
2770
  ...n,
2619
2771
  custom_data: {
2620
2772
  ...n.custom_data || {},
2621
- [bt(e)]: t
2773
+ [yt(e)]: t
2622
2774
  }
2623
2775
  }), Ct = (e) => {
2624
- Be(e.id), S(null), Ge({
2776
+ Z(e.id), S(null), Ge({
2625
2777
  id: e.id,
2626
2778
  salutation: e.salutation || "",
2627
2779
  name: e.name || "",
@@ -2635,18 +2787,18 @@ var mt = {
2635
2787
  S("Session expired. Please log in again.");
2636
2788
  return;
2637
2789
  }
2638
- let i = pt(L?.accompany_fields || [], (e) => xt(Q, e));
2790
+ let i = ht(L?.accompany_fields || [], (e) => bt(Ue, e));
2639
2791
  if (i) {
2640
2792
  w(null), S(i);
2641
2793
  return;
2642
2794
  }
2643
2795
  Je(!0), S(null), w(null);
2644
2796
  try {
2645
- let t = await e.portalUpdateProfile(r, { accompanying: [Q] });
2646
- Be(null), w("Accompanying person updated."), o?.("attendee_accompanying_updated", {
2647
- payload: Q,
2797
+ let t = await e.portalUpdateProfile(r, { accompanying: [Ue] });
2798
+ Z(null), w("Accompanying person updated."), o?.("attendee_accompanying_updated", {
2799
+ payload: Ue,
2648
2800
  response: t
2649
- }), await Xe(r);
2801
+ }), await Ye(r);
2650
2802
  } catch (e) {
2651
2803
  n.error("Failed to update accompanying person", e);
2652
2804
  let t = e.message || "Could not update this person. Please try again.";
@@ -2687,46 +2839,46 @@ var mt = {
2687
2839
  ]
2688
2840
  }), Et = (e) => {
2689
2841
  let t = (e.label || e.id || "").toLowerCase(), n = e.type;
2690
- return n === "email" || t.includes("email") || t.includes("mail") ? /* @__PURE__ */ p(je, {
2842
+ return n === "email" || t.includes("email") || t.includes("mail") ? /* @__PURE__ */ p(q, {
2691
2843
  size: 13,
2692
2844
  className: "shrink-0",
2693
2845
  style: { color: r }
2694
- }) : n === "phone" || t.includes("phone") || t.includes("mobile") || t.includes("contact") ? /* @__PURE__ */ p(He, {
2846
+ }) : n === "phone" || t.includes("phone") || t.includes("mobile") || t.includes("contact") ? /* @__PURE__ */ p(We, {
2695
2847
  size: 13,
2696
2848
  className: "shrink-0",
2697
2849
  style: { color: r }
2698
- }) : t.includes("salutation") || t.includes("title") || t.includes("prefix") ? /* @__PURE__ */ p(qe, {
2850
+ }) : t.includes("salutation") || t.includes("title") || t.includes("prefix") ? /* @__PURE__ */ p(Xe, {
2699
2851
  size: 13,
2700
2852
  className: "shrink-0",
2701
2853
  style: { color: r }
2702
- }) : t.includes("name") || t.includes("attendee") ? /* @__PURE__ */ p(rt, {
2854
+ }) : t.includes("name") || t.includes("attendee") ? /* @__PURE__ */ p(at, {
2703
2855
  size: 13,
2704
2856
  className: "shrink-0",
2705
2857
  style: { color: r }
2706
- }) : t.includes("designat") || t.includes("role") || t.includes("position") || t.includes("profession") ? /* @__PURE__ */ p(F, {
2858
+ }) : t.includes("designat") || t.includes("role") || t.includes("position") || t.includes("profession") ? /* @__PURE__ */ p(P, {
2707
2859
  size: 13,
2708
2860
  className: "shrink-0",
2709
2861
  style: { color: r }
2710
- }) : t.includes("specialis") || t.includes("specializ") || t.includes("department") || t.includes("degree") ? /* @__PURE__ */ p(we, {
2862
+ }) : t.includes("specialis") || t.includes("specializ") || t.includes("department") || t.includes("degree") ? /* @__PURE__ */ p(De, {
2711
2863
  size: 13,
2712
2864
  className: "shrink-0",
2713
2865
  style: { color: r }
2714
- }) : t.includes("organi") || t.includes("institute") || t.includes("hospital") || t.includes("company") || t.includes("college") ? /* @__PURE__ */ p(ie, {
2866
+ }) : t.includes("organi") || t.includes("institute") || t.includes("hospital") || t.includes("company") || t.includes("college") ? /* @__PURE__ */ p(ae, {
2715
2867
  size: 13,
2716
2868
  className: "shrink-0",
2717
2869
  style: { color: r }
2718
- }) : t.includes("city") || t.includes("state") || t.includes("country") || t.includes("address") ? /* @__PURE__ */ p(Ne, {
2870
+ }) : t.includes("city") || t.includes("state") || t.includes("country") || t.includes("address") ? /* @__PURE__ */ p(Y, {
2719
2871
  size: 13,
2720
2872
  className: "shrink-0",
2721
2873
  style: { color: r }
2722
- }) : p(n === "file" ? Se : be, {
2874
+ }) : p(n === "file" ? Ee : we, {
2723
2875
  size: 13,
2724
2876
  className: "shrink-0",
2725
2877
  style: { color: r }
2726
2878
  });
2727
2879
  }, Dt = (e, t = "w-full", n = []) => {
2728
2880
  if (!e) return null;
2729
- let r = n.includes(e.id) || n.includes(ut(e.id, e.label)), a = de[e.id] ?? "", o = `vx-profile-${e.id}`, s = `w-full min-h-11 px-3.5 py-2.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)]"}`;
2881
+ let r = n.includes(e.id) || n.includes(ft(e.id, e.label)), a = fe[e.id] ?? "", o = `vx-profile-${e.id}`, s = `w-full min-h-11 px-3.5 py-2.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)]"}`;
2730
2882
  return /* @__PURE__ */ m("div", {
2731
2883
  className: `${t} px-2 mb-4`,
2732
2884
  children: [/* @__PURE__ */ m("div", {
@@ -2748,15 +2900,15 @@ var mt = {
2748
2900
  ]
2749
2901
  }), r ? /* @__PURE__ */ m("span", {
2750
2902
  className: `flex items-center gap-1 text-[10px] font-semibold px-2 py-0.5 rounded-full ${i ? "text-zinc-400 bg-zinc-800" : "text-slate-500 bg-slate-100"}`,
2751
- children: [/* @__PURE__ */ p(De, { size: 10 }), " Locked"]
2903
+ children: [/* @__PURE__ */ p(W, { size: 10 }), " Locked"]
2752
2904
  }) : null]
2753
- }), e.type === "file" ? Ot(e, r, a) : /* @__PURE__ */ p(ht, {
2905
+ }), e.type === "file" ? Ot(e, r, a) : /* @__PURE__ */ p(_t, {
2754
2906
  field: e,
2755
2907
  id: o,
2756
2908
  value: a,
2757
2909
  disabled: r,
2758
- onChange: (t) => z({
2759
- ...de,
2910
+ onChange: (t) => pe({
2911
+ ...fe,
2760
2912
  [e.id]: t
2761
2913
  }),
2762
2914
  className: s,
@@ -2783,7 +2935,7 @@ var mt = {
2783
2935
  borderColor: i ? "rgba(255,255,255,0.12)" : `color-mix(in srgb, ${r} 20%, white)`,
2784
2936
  color: r
2785
2937
  },
2786
- children: /* @__PURE__ */ p(Se, { size: 16 })
2938
+ children: /* @__PURE__ */ p(Ee, { size: 16 })
2787
2939
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
2788
2940
  className: `text-xs font-bold ${i ? "text-zinc-200" : "text-gray-900"}`,
2789
2941
  children: o
@@ -2801,17 +2953,17 @@ var mt = {
2801
2953
  style: { backgroundColor: r },
2802
2954
  title: "Open file in new tab",
2803
2955
  children: [
2804
- /* @__PURE__ */ p(be, { size: 13 }),
2956
+ /* @__PURE__ */ p(we, { size: 13 }),
2805
2957
  /* @__PURE__ */ p("span", { children: "View" }),
2806
- /* @__PURE__ */ p(ve, { size: 11 })
2958
+ /* @__PURE__ */ p(Se, { size: 11 })
2807
2959
  ]
2808
2960
  }), !t && /* @__PURE__ */ m("button", {
2809
2961
  type: "button",
2810
- disabled: ye === e.id || a,
2811
- onClick: () => ot(e.id),
2962
+ disabled: Ce === e.id || a,
2963
+ onClick: () => it(e.id),
2812
2964
  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"}`,
2813
2965
  title: "Remove file",
2814
- children: [/* @__PURE__ */ p(Ze, { size: 13 }), /* @__PURE__ */ p("span", { children: ye === e.id ? "Deleting..." : "Delete" })]
2966
+ children: [/* @__PURE__ */ p(et, { size: 13 }), /* @__PURE__ */ p("span", { children: Ce === e.id ? "Deleting..." : "Delete" })]
2815
2967
  })] })
2816
2968
  })]
2817
2969
  }),
@@ -2823,7 +2975,7 @@ var mt = {
2823
2975
  })
2824
2976
  }) : n ? /* @__PURE__ */ m("div", {
2825
2977
  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"}`,
2826
- children: [/* @__PURE__ */ p(oe, {
2978
+ children: [/* @__PURE__ */ p(se, {
2827
2979
  size: 12,
2828
2980
  className: "text-emerald-500 shrink-0"
2829
2981
  }), /* @__PURE__ */ m("span", {
@@ -2843,11 +2995,11 @@ var mt = {
2843
2995
  disabled: a,
2844
2996
  onChange: (t) => {
2845
2997
  let n = t.target.files?.[0];
2846
- n && it(e.id, n), t.target.value = "";
2998
+ n && rt(e.id, n), t.target.value = "";
2847
2999
  }
2848
3000
  }), /* @__PURE__ */ m("div", {
2849
3001
  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"}`,
2850
- children: [/* @__PURE__ */ p($e, {
3002
+ children: [/* @__PURE__ */ p(Q, {
2851
3003
  size: 13,
2852
3004
  style: { color: r }
2853
3005
  }), /* @__PURE__ */ p("span", { children: a ? "Uploading..." : n ? "Replace File" : "Choose File" })]
@@ -2931,41 +3083,41 @@ var mt = {
2931
3083
  {
2932
3084
  key: "details",
2933
3085
  label: "Details",
2934
- icon: rt,
3086
+ icon: at,
2935
3087
  count: 0
2936
3088
  },
2937
3089
  ...l.length > 0 ? [{
2938
3090
  key: "addons",
2939
3091
  label: "Add-ons",
2940
- icon: Ye,
3092
+ icon: Qe,
2941
3093
  count: l.length
2942
3094
  }] : [],
2943
3095
  ...u ? [{
2944
3096
  key: "badge",
2945
3097
  label: "Badge",
2946
- icon: U,
3098
+ icon: ke,
2947
3099
  count: 0
2948
3100
  }] : [],
2949
3101
  ...d.length > 0 ? [{
2950
3102
  key: "guests",
2951
3103
  label: "Guests",
2952
- icon: at,
3104
+ icon: st,
2953
3105
  count: d.length
2954
3106
  }] : [],
2955
3107
  ...s.length > 0 ? [{
2956
3108
  key: "payments",
2957
3109
  label: "Payments",
2958
- icon: We,
3110
+ icon: Ke,
2959
3111
  count: s.length
2960
3112
  }] : [],
2961
3113
  ...v ? [{
2962
3114
  key: "submission",
2963
3115
  label: "Submission",
2964
- icon: be,
3116
+ icon: we,
2965
3117
  count: 0
2966
3118
  }] : []
2967
- ], j = A.some((e) => e.key === Z) ? Z : "details", M = (e) => {
2968
- Ue(e), S(null), w(null);
3119
+ ], j = A.some((e) => e.key === Be) ? Be : "details", M = (e) => {
3120
+ Ve(e), S(null), w(null);
2969
3121
  };
2970
3122
  return /* @__PURE__ */ m("div", {
2971
3123
  className: `flex flex-col ${a ? "w-full flex-1" : "h-full overflow-hidden min-h-0"} relative bg-transparent ${i ? "text-white" : "text-slate-900"}`,
@@ -2981,57 +3133,69 @@ var mt = {
2981
3133
  /* @__PURE__ */ m("div", {
2982
3134
  part: "portal-card profile-card",
2983
3135
  className: E,
2984
- children: [/* @__PURE__ */ m("div", {
2985
- className: "flex items-start justify-between gap-3",
2986
- children: [/* @__PURE__ */ m("div", {
2987
- className: "flex items-center gap-3 sm:gap-4 min-w-0",
2988
- children: [/* @__PURE__ */ p("div", {
2989
- 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",
2990
- style: { background: `linear-gradient(135deg, ${r}, color-mix(in srgb, ${r} 75%, black))` },
2991
- "aria-hidden": "true",
2992
- children: T
2993
- }), /* @__PURE__ */ m("div", {
2994
- className: "min-w-0",
2995
- children: [/* @__PURE__ */ m("div", {
2996
- className: "flex items-center gap-2 flex-wrap",
2997
- children: [/* @__PURE__ */ p("h3", {
2998
- part: "portal-title",
2999
- style: $,
3000
- className: `text-lg sm:text-xl font-bold tracking-tight break-words ${i ? "text-white" : "text-slate-900"}`,
3001
- children: b
3002
- }), e.status && /* @__PURE__ */ p("span", {
3003
- 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"}`,
3004
- children: e.status
3136
+ children: [
3137
+ /* @__PURE__ */ m("div", {
3138
+ className: "flex items-start justify-between gap-3",
3139
+ children: [/* @__PURE__ */ m("div", {
3140
+ className: "flex items-center gap-3 sm:gap-4 min-w-0",
3141
+ children: [/* @__PURE__ */ p("div", {
3142
+ 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",
3143
+ style: { background: `linear-gradient(135deg, ${r}, color-mix(in srgb, ${r} 75%, black))` },
3144
+ "aria-hidden": "true",
3145
+ children: T
3146
+ }), /* @__PURE__ */ m("div", {
3147
+ className: "min-w-0",
3148
+ children: [/* @__PURE__ */ m("div", {
3149
+ className: "flex items-center gap-2 flex-wrap",
3150
+ children: [/* @__PURE__ */ p("h3", {
3151
+ part: "portal-title",
3152
+ style: $,
3153
+ className: `text-lg sm:text-xl font-bold tracking-tight break-words ${i ? "text-white" : "text-slate-900"}`,
3154
+ children: b
3155
+ }), e.status && /* @__PURE__ */ p("span", {
3156
+ 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"}`,
3157
+ children: e.status
3158
+ })]
3159
+ }), /* @__PURE__ */ p("p", {
3160
+ className: `text-[13px] mt-0.5 ${D}`,
3161
+ children: "Manage your registration and details"
3005
3162
  })]
3006
- }), /* @__PURE__ */ p("p", {
3007
- className: `text-[13px] mt-0.5 ${D}`,
3008
- children: "Manage your registration and details"
3163
+ })]
3164
+ }), /* @__PURE__ */ m("button", {
3165
+ part: "button button-secondary logout-button",
3166
+ onClick: nt,
3167
+ 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"}`,
3168
+ title: "Logout",
3169
+ "aria-label": "Logout",
3170
+ children: [/* @__PURE__ */ p(Fe, { size: 14 }), /* @__PURE__ */ p("span", {
3171
+ className: "hidden sm:inline",
3172
+ children: "Logout"
3009
3173
  })]
3010
3174
  })]
3011
- }), /* @__PURE__ */ m("button", {
3012
- part: "button button-secondary logout-button",
3013
- onClick: nt,
3014
- 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"}`,
3015
- title: "Logout",
3016
- "aria-label": "Logout",
3017
- children: [/* @__PURE__ */ p(ke, { size: 14 }), /* @__PURE__ */ p("span", {
3018
- className: "hidden sm:inline",
3019
- children: "Logout"
3020
- })]
3021
- })]
3022
- }), /* @__PURE__ */ p("dl", {
3023
- className: `mt-5 pt-5 border-t grid grid-cols-2 ${k.length === 3 ? "sm:grid-cols-3" : "sm:grid-cols-2"} gap-4 ${i ? "border-zinc-800" : "border-slate-100"}`,
3024
- children: k.map((e) => /* @__PURE__ */ m("div", {
3025
- className: "min-w-0",
3026
- children: [/* @__PURE__ */ p("dt", {
3027
- className: `text-[11px] font-semibold uppercase tracking-wider ${i ? "text-zinc-500" : "text-slate-400"}`,
3028
- children: e.label
3029
- }), /* @__PURE__ */ p("dd", {
3030
- className: `mt-1 text-sm font-semibold break-words ${e.mono ? "font-mono" : ""} ${e.capitalize ? "capitalize" : ""} ${i ? "text-white" : "text-slate-900"}`,
3031
- children: e.value
3032
- })]
3033
- }, e.label))
3034
- })]
3175
+ }),
3176
+ /* @__PURE__ */ p("dl", {
3177
+ className: `mt-5 pt-5 border-t grid grid-cols-2 ${k.length === 3 ? "sm:grid-cols-3" : "sm:grid-cols-2"} gap-4 ${i ? "border-zinc-800" : "border-slate-100"}`,
3178
+ children: k.map((e) => /* @__PURE__ */ m("div", {
3179
+ className: "min-w-0",
3180
+ children: [/* @__PURE__ */ p("dt", {
3181
+ className: `text-[11px] font-semibold uppercase tracking-wider ${i ? "text-zinc-500" : "text-slate-400"}`,
3182
+ children: e.label
3183
+ }), /* @__PURE__ */ p("dd", {
3184
+ className: `mt-1 text-sm font-semibold break-words ${e.mono ? "font-mono" : ""} ${e.capitalize ? "capitalize" : ""} ${i ? "text-white" : "text-slate-900"}`,
3185
+ children: e.value
3186
+ })]
3187
+ }, e.label))
3188
+ }),
3189
+ e.status === "pending" && c && !["paid", "not_required"].includes(c.state) && /* @__PURE__ */ m("div", {
3190
+ part: "provisional-note",
3191
+ role: "note",
3192
+ className: `mt-4 flex items-start gap-2 rounded-xl px-3.5 py-2.5 text-[13px] leading-relaxed ${i ? "bg-amber-950/50 text-amber-200 ring-1 ring-inset ring-amber-900" : "bg-amber-50 text-amber-800 ring-1 ring-inset ring-amber-200"}`,
3193
+ children: [/* @__PURE__ */ p(I, {
3194
+ size: 15,
3195
+ className: "shrink-0 mt-0.5"
3196
+ }), /* @__PURE__ */ p("span", { children: "This is a temporary registration number. Your registration will be confirmed once your payment is verified." })]
3197
+ })
3198
+ ]
3035
3199
  }),
3036
3200
  A.length > 1 && /* @__PURE__ */ p("div", {
3037
3201
  part: "portal-tabs",
@@ -3078,9 +3242,9 @@ var mt = {
3078
3242
  }), /* @__PURE__ */ p("p", {
3079
3243
  className: `text-[13px] mt-0.5 ${D}`,
3080
3244
  children: "Keep your information up to date."
3081
- })] }), W && /* @__PURE__ */ m("span", {
3245
+ })] }), Ae && /* @__PURE__ */ m("span", {
3082
3246
  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"}`,
3083
- children: [/* @__PURE__ */ p(oe, { size: 11 }), " Draft restored"]
3247
+ children: [/* @__PURE__ */ p(se, { size: 11 }), " Draft restored"]
3084
3248
  })]
3085
3249
  }), /* @__PURE__ */ p("div", {
3086
3250
  className: "flex flex-wrap -mx-2 -mb-4",
@@ -3100,7 +3264,7 @@ var mt = {
3100
3264
  backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
3101
3265
  color: r
3102
3266
  },
3103
- children: /* @__PURE__ */ p(Ye, { size: 17 })
3267
+ children: /* @__PURE__ */ p(Qe, { size: 17 })
3104
3268
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
3105
3269
  className: O,
3106
3270
  style: $,
@@ -3113,7 +3277,7 @@ var mt = {
3113
3277
  }), /* @__PURE__ */ p("div", {
3114
3278
  className: "space-y-2",
3115
3279
  children: l.map((e) => {
3116
- let t = !!e.purchased, n = fe.includes(e.name);
3280
+ let t = !!e.purchased, n = me.includes(e.name);
3117
3281
  return /* @__PURE__ */ m("label", {
3118
3282
  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"}`,
3119
3283
  style: n && !t ? {
@@ -3125,7 +3289,7 @@ var mt = {
3125
3289
  type: "checkbox",
3126
3290
  checked: n,
3127
3291
  disabled: t,
3128
- onChange: () => st(e.name, t),
3292
+ onChange: () => ot(e.name, t),
3129
3293
  className: "w-4 h-4 rounded cursor-pointer shrink-0 disabled:cursor-default",
3130
3294
  style: { accentColor: r }
3131
3295
  }),
@@ -3146,7 +3310,7 @@ var mt = {
3146
3310
  }),
3147
3311
  t && /* @__PURE__ */ m("span", {
3148
3312
  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"}`,
3149
- children: [/* @__PURE__ */ p(oe, { size: 12 }), " Purchased"]
3313
+ children: [/* @__PURE__ */ p(se, { size: 12 }), " Purchased"]
3150
3314
  })
3151
3315
  ]
3152
3316
  }, e.name);
@@ -3181,7 +3345,7 @@ var mt = {
3181
3345
  fill: "currentColor",
3182
3346
  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"
3183
3347
  })]
3184
- }), /* @__PURE__ */ p("span", { children: "Saving..." })] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(Ve, { size: 16 }), /* @__PURE__ */ p("span", { children: j === "addons" ? "Update add-ons" : "Save changes" })] })
3348
+ }), /* @__PURE__ */ p("span", { children: "Saving..." })] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(He, { size: 16 }), /* @__PURE__ */ p("span", { children: j === "addons" ? "Update add-ons" : "Save changes" })] })
3185
3349
  })
3186
3350
  })
3187
3351
  ]
@@ -3198,7 +3362,7 @@ var mt = {
3198
3362
  backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
3199
3363
  color: r
3200
3364
  },
3201
- children: /* @__PURE__ */ p(U, { size: 17 })
3365
+ children: /* @__PURE__ */ p(ke, { size: 17 })
3202
3366
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
3203
3367
  className: O,
3204
3368
  style: $,
@@ -3223,7 +3387,7 @@ var mt = {
3223
3387
  target: "_blank",
3224
3388
  rel: "noopener noreferrer",
3225
3389
  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"}`,
3226
- children: [/* @__PURE__ */ p(ve, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
3390
+ children: [/* @__PURE__ */ p(Se, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
3227
3391
  }), /* @__PURE__ */ m("a", {
3228
3392
  href: u,
3229
3393
  download: !0,
@@ -3231,7 +3395,7 @@ var mt = {
3231
3395
  rel: "noopener noreferrer",
3232
3396
  className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white",
3233
3397
  style: { backgroundColor: r },
3234
- children: [/* @__PURE__ */ p(_e, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
3398
+ children: [/* @__PURE__ */ p(be, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
3235
3399
  })]
3236
3400
  })
3237
3401
  ]
@@ -3247,7 +3411,7 @@ var mt = {
3247
3411
  backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
3248
3412
  color: r
3249
3413
  },
3250
- children: /* @__PURE__ */ p(at, { size: 17 })
3414
+ children: /* @__PURE__ */ p(st, { size: 17 })
3251
3415
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
3252
3416
  className: O,
3253
3417
  style: $,
@@ -3282,14 +3446,14 @@ var mt = {
3282
3446
  type: "button",
3283
3447
  onClick: () => Ct(e),
3284
3448
  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"}`,
3285
- children: [/* @__PURE__ */ p(rt, { size: 12 }), /* @__PURE__ */ p("span", { children: "Edit" })]
3449
+ children: [/* @__PURE__ */ p(at, { size: 12 }), /* @__PURE__ */ p("span", { children: "Edit" })]
3286
3450
  })]
3287
3451
  })]
3288
3452
  }),
3289
3453
  ze === e.id && /* @__PURE__ */ m("div", {
3290
3454
  className: "mt-4 space-y-3",
3291
3455
  children: [h.map((t) => {
3292
- let n = e.file_answers?.[bt(t)];
3456
+ let n = e.file_answers?.[yt(t)];
3293
3457
  return /* @__PURE__ */ m("label", {
3294
3458
  className: "block",
3295
3459
  children: [/* @__PURE__ */ m("span", {
@@ -3307,9 +3471,9 @@ var mt = {
3307
3471
  style: { color: r },
3308
3472
  children: n.file_name || "View file"
3309
3473
  }) : n?.text || "—"
3310
- }) : /* @__PURE__ */ p(ht, {
3474
+ }) : /* @__PURE__ */ p(_t, {
3311
3475
  field: t,
3312
- value: xt(Q, t),
3476
+ value: bt(Ue, t),
3313
3477
  onChange: (e) => St(t, e),
3314
3478
  className: g,
3315
3479
  isDark: i
@@ -3319,15 +3483,15 @@ var mt = {
3319
3483
  className: "flex flex-wrap gap-2.5 pt-1",
3320
3484
  children: [/* @__PURE__ */ m("button", {
3321
3485
  type: "button",
3322
- disabled: Ke,
3486
+ disabled: qe,
3323
3487
  onClick: wt,
3324
3488
  className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white disabled:opacity-60",
3325
3489
  style: { backgroundColor: r },
3326
- children: [/* @__PURE__ */ p(oe, { size: 13 }), /* @__PURE__ */ p("span", { children: Ke ? "Saving..." : "Save changes" })]
3490
+ children: [/* @__PURE__ */ p(se, { size: 13 }), /* @__PURE__ */ p("span", { children: qe ? "Saving..." : "Save changes" })]
3327
3491
  }), /* @__PURE__ */ p("button", {
3328
3492
  type: "button",
3329
- disabled: Ke,
3330
- onClick: () => Be(null),
3493
+ disabled: qe,
3494
+ onClick: () => Z(null),
3331
3495
  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"}`,
3332
3496
  children: "Cancel"
3333
3497
  })]
@@ -3347,7 +3511,7 @@ var mt = {
3347
3511
  target: "_blank",
3348
3512
  rel: "noopener noreferrer",
3349
3513
  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"}`,
3350
- children: [/* @__PURE__ */ p(ve, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
3514
+ children: [/* @__PURE__ */ p(Se, { size: 13 }), /* @__PURE__ */ p("span", { children: "View badge" })]
3351
3515
  }), /* @__PURE__ */ m("a", {
3352
3516
  href: e.badge,
3353
3517
  download: !0,
@@ -3355,7 +3519,7 @@ var mt = {
3355
3519
  rel: "noopener noreferrer",
3356
3520
  className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white",
3357
3521
  style: { backgroundColor: r },
3358
- children: [/* @__PURE__ */ p(_e, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
3522
+ children: [/* @__PURE__ */ p(be, { size: 13 }), /* @__PURE__ */ p("span", { children: "Download badge" })]
3359
3523
  })]
3360
3524
  })] })
3361
3525
  ]
@@ -3373,7 +3537,7 @@ var mt = {
3373
3537
  backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
3374
3538
  color: r
3375
3539
  },
3376
- children: /* @__PURE__ */ p(We, { size: 17 })
3540
+ children: /* @__PURE__ */ p(Ke, { size: 17 })
3377
3541
  }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
3378
3542
  className: O,
3379
3543
  style: $,
@@ -3410,7 +3574,7 @@ var mt = {
3410
3574
  rel: "noopener noreferrer",
3411
3575
  className: "inline-flex items-center gap-1 text-[12.5px] font-semibold hover:underline underline-offset-4 shrink-0",
3412
3576
  style: { color: r },
3413
- children: [/* @__PURE__ */ p("span", { children: "Receipt" }), /* @__PURE__ */ p(ve, { size: 11 })]
3577
+ children: [/* @__PURE__ */ p("span", { children: "Receipt" }), /* @__PURE__ */ p(Se, { size: 11 })]
3414
3578
  })
3415
3579
  ]
3416
3580
  }, e.order_number || t);
@@ -3430,7 +3594,7 @@ var mt = {
3430
3594
  backgroundColor: `color-mix(in srgb, ${r} 12%, transparent)`,
3431
3595
  color: r
3432
3596
  },
3433
- children: /* @__PURE__ */ p(be, { size: 17 })
3597
+ children: /* @__PURE__ */ p(we, { size: 17 })
3434
3598
  }),
3435
3599
  /* @__PURE__ */ m("div", {
3436
3600
  className: "flex-1 min-w-0",
@@ -3465,8 +3629,8 @@ var mt = {
3465
3629
  children: v.status
3466
3630
  })] })]
3467
3631
  }),
3468
- Te ? /* @__PURE__ */ m("form", {
3469
- onSubmit: yt,
3632
+ z ? /* @__PURE__ */ m("form", {
3633
+ onSubmit: vt,
3470
3634
  className: `mt-4 pt-4 border-t space-y-3.5 ${i ? "border-zinc-800" : "border-slate-100"}`,
3471
3635
  children: [(v.editable_fields || []).map((e) => /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
3472
3636
  className: `block text-[13px] font-semibold mb-1.5 ${i ? "text-zinc-200" : "text-slate-800"}`,
@@ -3476,14 +3640,14 @@ var mt = {
3476
3640
  })]
3477
3641
  }), e.type === "file" ? /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("button", {
3478
3642
  type: "button",
3479
- disabled: Me === e.id,
3480
- onClick: () => Ie((t) => ({
3643
+ disabled: K === e.id,
3644
+ onClick: () => Le((t) => ({
3481
3645
  ...t,
3482
- [e.id]: mt(e) === "file" ? "text" : "file"
3646
+ [e.id]: ut(e) === "file" ? "text" : "file"
3483
3647
  })),
3484
3648
  className: `mb-1.5 text-[12px] font-semibold underline disabled:opacity-50 ${i ? "text-zinc-400" : "text-slate-500"}`,
3485
- children: mt(e) === "file" ? "Send text instead" : "Send file instead"
3486
- }), mt(e) === "file" ? /* @__PURE__ */ m("div", { children: [
3649
+ children: ut(e) === "file" ? "Send text instead" : "Send file instead"
3650
+ }), ut(e) === "file" ? /* @__PURE__ */ m("div", { children: [
3487
3651
  e.current_file?.serve_url && /* @__PURE__ */ p("a", {
3488
3652
  href: e.current_file.serve_url,
3489
3653
  target: "_blank",
@@ -3493,39 +3657,39 @@ var mt = {
3493
3657
  }),
3494
3658
  /* @__PURE__ */ p("input", {
3495
3659
  type: "file",
3496
- disabled: Me === e.id,
3660
+ disabled: K === e.id,
3497
3661
  onChange: (t) => {
3498
3662
  let n = t.target.files?.[0];
3499
- n && gt(e.id, n);
3663
+ n && mt(e.id, n);
3500
3664
  },
3501
3665
  className: `w-full text-[13px] ${D}`
3502
3666
  }),
3503
- Me === e.id && /* @__PURE__ */ p("p", {
3667
+ K === e.id && /* @__PURE__ */ p("p", {
3504
3668
  className: `mt-1 text-[12.5px] ${D}`,
3505
3669
  children: "Uploading…"
3506
3670
  })
3507
3671
  ] }) : /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("textarea", {
3508
3672
  rows: 4,
3509
- disabled: Me === e.id,
3510
- value: Le[e.id] ?? "",
3673
+ disabled: K === e.id,
3674
+ value: Re[e.id] ?? "",
3511
3675
  placeholder: "Enter your answer...",
3512
- onChange: (t) => Re({
3513
- ...Le,
3676
+ onChange: (t) => X({
3677
+ ...Re,
3514
3678
  [e.id]: t.target.value
3515
3679
  }),
3516
3680
  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"}`
3517
3681
  }), /* @__PURE__ */ p("button", {
3518
3682
  type: "button",
3519
- disabled: Me === e.id || !(Le[e.id] || "").trim(),
3520
- onClick: () => _t(e.id),
3683
+ disabled: K === e.id || !(Re[e.id] || "").trim(),
3684
+ onClick: () => gt(e.id),
3521
3685
  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",
3522
3686
  style: { backgroundColor: r },
3523
- children: Me === e.id ? "Saving…" : "Save text answer"
3687
+ children: K === e.id ? "Saving…" : "Save text answer"
3524
3688
  })] })] }) : e.id === "registration_type" ? /* @__PURE__ */ m("select", {
3525
- value: J[e.id] ?? "",
3689
+ value: V[e.id] ?? "",
3526
3690
  required: e.required,
3527
- onChange: (t) => Y({
3528
- ...J,
3691
+ onChange: (t) => H({
3692
+ ...V,
3529
3693
  [e.id]: t.target.value
3530
3694
  }),
3531
3695
  className: `w-full h-11 px-3.5 text-sm font-medium rounded-xl border transition-all focus:outline-none ${i ? "bg-zinc-950 border-zinc-700 text-white" : "bg-white border-slate-200 text-slate-900"}`,
@@ -3540,11 +3704,11 @@ var mt = {
3540
3704
  value: e.id,
3541
3705
  children: e.label
3542
3706
  }, e.id))]
3543
- }) : /* @__PURE__ */ p(ht, {
3707
+ }) : /* @__PURE__ */ p(_t, {
3544
3708
  field: e,
3545
- value: J[e.id] ?? "",
3546
- onChange: (t) => Y({
3547
- ...J,
3709
+ value: V[e.id] ?? "",
3710
+ onChange: (t) => H({
3711
+ ...V,
3548
3712
  [e.id]: t
3549
3713
  }),
3550
3714
  className: `w-full min-h-11 px-3.5 py-2.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" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400"}`,
@@ -3554,14 +3718,14 @@ var mt = {
3554
3718
  className: "flex items-center gap-2.5 pt-1",
3555
3719
  children: [/* @__PURE__ */ p("button", {
3556
3720
  type: "submit",
3557
- disabled: X,
3721
+ disabled: U,
3558
3722
  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",
3559
3723
  style: { backgroundColor: r },
3560
- children: X ? "Saving..." : "Save changes"
3724
+ children: U ? "Saving..." : "Save changes"
3561
3725
  }), /* @__PURE__ */ p("button", {
3562
3726
  type: "button",
3563
- disabled: X,
3564
- onClick: () => K(!1),
3727
+ disabled: U,
3728
+ onClick: () => Me(!1),
3565
3729
  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"}`,
3566
3730
  children: "Cancel"
3567
3731
  })]
@@ -3573,7 +3737,7 @@ var mt = {
3573
3737
  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."
3574
3738
  }), v.editable && /* @__PURE__ */ p("button", {
3575
3739
  type: "button",
3576
- onClick: ft,
3740
+ onClick: lt,
3577
3741
  className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white shrink-0 cursor-pointer",
3578
3742
  style: { backgroundColor: r },
3579
3743
  children: "Edit submission"
@@ -3581,7 +3745,7 @@ var mt = {
3581
3745
  })
3582
3746
  ]
3583
3747
  }),
3584
- Ce && /* @__PURE__ */ m("div", {
3748
+ R && /* @__PURE__ */ m("div", {
3585
3749
  className: "p-4 rounded-2xl flex flex-wrap items-center justify-between gap-3 text-sm",
3586
3750
  style: {
3587
3751
  backgroundColor: `color-mix(in srgb, ${r} ${i ? 14 : 7}%, transparent)`,
@@ -3589,18 +3753,18 @@ var mt = {
3589
3753
  },
3590
3754
  children: [/* @__PURE__ */ m("div", {
3591
3755
  className: `flex items-center gap-2.5 ${i ? "text-zinc-200" : "text-slate-700"}`,
3592
- children: [/* @__PURE__ */ p(he, {
3756
+ children: [/* @__PURE__ */ p(ve, {
3593
3757
  size: 17,
3594
3758
  className: "shrink-0",
3595
3759
  style: { color: r }
3596
3760
  }), /* @__PURE__ */ p("span", { children: "Payment page opened in a new tab. If it didn't open:" })]
3597
3761
  }), /* @__PURE__ */ m("a", {
3598
- href: Ce,
3762
+ href: R,
3599
3763
  target: "_blank",
3600
3764
  rel: "noopener noreferrer",
3601
3765
  className: "inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-[13px] font-semibold text-white shrink-0",
3602
3766
  style: { backgroundColor: r },
3603
- children: [/* @__PURE__ */ p("span", { children: "Complete payment" }), /* @__PURE__ */ p(ve, { size: 12 })]
3767
+ children: [/* @__PURE__ */ p("span", { children: "Complete payment" }), /* @__PURE__ */ p(Se, { size: 12 })]
3604
3768
  })]
3605
3769
  }),
3606
3770
  x && /* @__PURE__ */ m("div", {
@@ -3735,18 +3899,18 @@ var mt = {
3735
3899
  })]
3736
3900
  }), It = "font-semibold hover:underline underline-offset-4 cursor-pointer";
3737
3901
  return Ft(l === "request_code" ? {
3738
- icon: je,
3902
+ icon: q,
3739
3903
  title: "Get verification code",
3740
3904
  subtitle: "We will email a verification code to your registered address.",
3741
3905
  onBack: () => jt("login"),
3742
3906
  children: /* @__PURE__ */ m("form", {
3743
- onSubmit: et,
3907
+ onSubmit: $e,
3744
3908
  className: "space-y-4",
3745
3909
  children: [
3746
3910
  Mt({
3747
3911
  id: "vx-portal-code-identifier",
3748
3912
  label: "Registration number or email",
3749
- icon: je,
3913
+ icon: q,
3750
3914
  value: A || T,
3751
3915
  onChange: (e) => {
3752
3916
  j(e), E(e);
@@ -3754,7 +3918,7 @@ var mt = {
3754
3918
  placeholder: "e.g. attendee@example.com or REG12345",
3755
3919
  autoComplete: "username"
3756
3920
  }),
3757
- Pt(ce, "Send verification code", "Sending code..."),
3921
+ Pt(le, "Send verification code", "Sending code..."),
3758
3922
  /* @__PURE__ */ m("p", {
3759
3923
  className: `text-center text-[13px] ${i ? "text-zinc-400" : "text-slate-500"}`,
3760
3924
  children: [
@@ -3772,7 +3936,7 @@ var mt = {
3772
3936
  ]
3773
3937
  })
3774
3938
  } : l === "reset" ? {
3775
- icon: Ee,
3939
+ icon: B,
3776
3940
  title: "Set your password",
3777
3941
  subtitle: "Enter the code from your email and choose a new password.",
3778
3942
  onBack: () => jt("login"),
@@ -3783,7 +3947,7 @@ var mt = {
3783
3947
  Mt({
3784
3948
  id: "vx-portal-reset-identifier",
3785
3949
  label: "Registration number or email",
3786
- icon: je,
3950
+ icon: q,
3787
3951
  value: A || T,
3788
3952
  onChange: (e) => {
3789
3953
  j(e), E(e);
@@ -3794,7 +3958,7 @@ var mt = {
3794
3958
  Mt({
3795
3959
  id: "vx-portal-reset-code",
3796
3960
  label: "Verification code",
3797
- icon: q,
3961
+ icon: Ne,
3798
3962
  value: M,
3799
3963
  onChange: N,
3800
3964
  placeholder: "Enter code from email",
@@ -3812,20 +3976,20 @@ var mt = {
3812
3976
  Mt({
3813
3977
  id: "vx-portal-reset-password",
3814
3978
  label: "New password",
3815
- icon: De,
3979
+ icon: W,
3816
3980
  type: "password",
3817
- value: P,
3818
- onChange: re,
3981
+ value: re,
3982
+ onChange: ie,
3819
3983
  placeholder: "Enter new password",
3820
3984
  autoComplete: "new-password"
3821
3985
  }),
3822
3986
  Mt({
3823
3987
  id: "vx-portal-reset-confirm",
3824
3988
  label: "Confirm password",
3825
- icon: De,
3989
+ icon: W,
3826
3990
  type: "password",
3827
- value: ae,
3828
- onChange: se,
3991
+ value: oe,
3992
+ onChange: ce,
3829
3993
  placeholder: "Re-enter new password",
3830
3994
  autoComplete: "new-password"
3831
3995
  }),
@@ -3833,17 +3997,17 @@ var mt = {
3833
3997
  ]
3834
3998
  })
3835
3999
  } : {
3836
- icon: Oe,
4000
+ icon: Pe,
3837
4001
  title: "Attendee login",
3838
4002
  subtitle: "Sign in with your email or registration number.",
3839
4003
  children: /* @__PURE__ */ m("form", {
3840
- onSubmit: Qe,
4004
+ onSubmit: Ze,
3841
4005
  className: "space-y-4",
3842
4006
  children: [
3843
4007
  Mt({
3844
4008
  id: "vx-portal-login-identifier",
3845
4009
  label: "Email or registration number",
3846
- icon: je,
4010
+ icon: q,
3847
4011
  value: T,
3848
4012
  onChange: E,
3849
4013
  placeholder: "Enter email or registration number",
@@ -3852,7 +4016,7 @@ var mt = {
3852
4016
  Mt({
3853
4017
  id: "vx-portal-login-password",
3854
4018
  label: "Password",
3855
- icon: De,
4019
+ icon: W,
3856
4020
  type: "password",
3857
4021
  value: D,
3858
4022
  onChange: O,
@@ -3903,7 +4067,7 @@ var mt = {
3903
4067
  };
3904
4068
  //#endregion
3905
4069
  //#region src/widget/utils/backgroundUtils.ts
3906
- function bt(e, t, n) {
4070
+ function Ct(e, t, n) {
3907
4071
  if (!e) return;
3908
4072
  let r = t ? "rgba(9,9,11,0.88)" : "rgba(248,250,252,0.88)";
3909
4073
  return {
@@ -3916,7 +4080,7 @@ function bt(e, t, n) {
3916
4080
  }
3917
4081
  //#endregion
3918
4082
  //#region src/widget/components/EventWidgetReact.tsx
3919
- function xt(e) {
4083
+ function wt(e) {
3920
4084
  if (!e) return "bottom-right";
3921
4085
  switch (e) {
3922
4086
  case "bottom-left":
@@ -3928,7 +4092,7 @@ function xt(e) {
3928
4092
  default: return "bottom-right";
3929
4093
  }
3930
4094
  }
3931
- var St = (e) => {
4095
+ var Tt = (e) => {
3932
4096
  switch (e) {
3933
4097
  case "bottom-left": return {
3934
4098
  bottom: "20px",
@@ -3955,53 +4119,56 @@ var St = (e) => {
3955
4119
  left: "auto"
3956
4120
  };
3957
4121
  }
3958
- }, Ct = (e) => {
4122
+ }, Et = (e) => {
3959
4123
  switch (e) {
3960
4124
  case "bottom-left": return "bottom-5 left-5";
3961
4125
  case "top-right": return "top-5 right-5";
3962
4126
  case "top-left": return "top-5 left-5";
3963
4127
  default: return "bottom-5 right-5";
3964
4128
  }
3965
- }, wt = ({ config: e }) => {
4129
+ }, Dt = ({ config: e }) => {
3966
4130
  let [t, n] = d("registration"), [r, i] = d(!1);
3967
4131
  s(() => {
3968
4132
  t === "attendee" && i(!0);
3969
4133
  }, [t]);
3970
- let [o] = d(() => typeof window < "u" ? new URLSearchParams(window.location.search).get("rn") : null), [c, h] = d(e.displayMode !== "popup" || !!o), [y, b] = d(!1), [x, S] = d([]), [C, w] = d(""), [T, E] = d(null), [D, O] = d(null), ee = l(() => D && { fields: D.fields.filter((e) => e.id !== "registration_type") }, [D]), [k, A] = d(!0), [j, M] = d(""), [te, N] = d(null), [P, F] = d(!!o), [re, ie] = d(null), [ae, se] = d(null), [ce, le] = d(o), [I, L] = d(null), [ue, R] = d(!1), [z, pe] = d(() => xt(e.position)), [B, he] = d(null), [ge, _e] = d(null), [V, ye] = d(!1), [xe, Se] = d(!1), Ce = u(null), we = u(null), H = u(!1);
4134
+ let [o] = d(() => typeof window < "u" ? new URLSearchParams(window.location.search).get("rn") : null), [c, h] = d(e.displayMode !== "popup" || !!o), [y, b] = d(!1), [x, S] = d([]), [C, w] = d(""), [T, E] = d(null), [D, O] = d(null), ee = l(() => D && { fields: D.fields.filter((e) => e.id !== "registration_type") }, [D]), [k, A] = d(!0), [j, M] = d(""), [N, re] = d(null), [P, ie] = d(!!o), [ae, oe] = d(null), [ce, le] = d(null), [F, L] = d(o), [ue, de] = d(null), [pe, he] = d(null), [_e, ve] = d(!1), [ye, be] = d({
4135
+ amount: null,
4136
+ currency: null
4137
+ }), [xe, Ce] = d(null), [Te, Ee] = d(!1), [R, De] = d(() => wt(e.position)), [Oe, ke] = d(null), [Ae, je] = d(null), [z, B] = d(!1), [Me, Ne] = d(!1), V = u(null), H = u(null), U = u(!1);
3971
4138
  s(() => {
3972
- e.position && pe(xt(e.position));
4139
+ e.position && De(wt(e.position));
3973
4140
  }, [e.position]);
3974
- let U = e.themeMode === "dark" || e.theme?.mode === "dark", W = e.theme?.primaryColor || "#2563eb", G = !!e.isAbstract, Te = e.headerBannerImage, Ee = e.backgroundImage, K = l(() => new g(e.debug), [e.debug]), q = l(() => new _(e.baseUrl, e.eventSlug, K, e.timeoutMs ?? 12e4), [
4141
+ let W = e.themeMode === "dark" || e.theme?.mode === "dark", G = e.theme?.primaryColor || "#2563eb", K = !!e.isAbstract, Fe = e.headerBannerImage, Ie = e.backgroundImage, q = l(() => new g(e.debug), [e.debug]), J = l(() => new _(e.baseUrl, e.eventSlug, q, e.timeoutMs ?? 12e4), [
3975
4142
  e.baseUrl,
3976
4143
  e.eventSlug,
3977
- K,
4144
+ q,
3978
4145
  e.timeoutMs
3979
- ]), J = l(() => new v(e.eventSlug), [e.eventSlug]);
4146
+ ]), Y = l(() => new v(e.eventSlug), [e.eventSlug]);
3980
4147
  s(() => {
3981
4148
  if (!o) return;
3982
4149
  let t = !1;
3983
- return q.verifyPayment(o).then((n) => {
4150
+ return J.verifyPayment(o).then((n) => {
3984
4151
  if (t) return;
3985
4152
  let r = !!(n?.data?.confirmed ?? n?.confirmed);
3986
- L(r), e.onEvent?.("payment_verified", {
4153
+ de(r), e.onEvent?.("payment_verified", {
3987
4154
  registration_number: o,
3988
4155
  confirmed: r
3989
4156
  });
3990
4157
  }).catch((e) => {
3991
- t || L(!1), K.error("Payment verification failed", e);
4158
+ t || de(!1), q.error("Payment verification failed", e);
3992
4159
  }), () => {
3993
4160
  t = !0;
3994
4161
  };
3995
4162
  }, [
3996
4163
  o,
4164
+ J,
3997
4165
  q,
3998
- K,
3999
4166
  e
4000
4167
  ]);
4001
- let De = u(e.displayMode), Y = u(null), [X, ke] = d(null), Ae = u(null);
4168
+ let Le = u(e.displayMode), X = u(null), [Z, Ve] = d(null), He = u(null);
4002
4169
  s(() => {
4003
4170
  if (e.displayMode !== "widget") return;
4004
- let t = Ae.current;
4171
+ let t = He.current;
4005
4172
  t && t.getBoundingClientRect().top < 0 && t.scrollIntoView({
4006
4173
  behavior: "smooth",
4007
4174
  block: "start"
@@ -4012,46 +4179,46 @@ var St = (e) => {
4012
4179
  k,
4013
4180
  T
4014
4181
  ]), s(() => {
4015
- J.getXrefId();
4016
- }, [J]), s(() => {
4182
+ Y.getXrefId();
4183
+ }, [Y]), s(() => {
4017
4184
  if (!c) return;
4018
- let t = J.getXrefId();
4019
- t && (G ? q.getReviewDraft(t) : q.getDraft(t)).then((t) => {
4185
+ let t = Y.getXrefId();
4186
+ t && (K ? J.getReviewDraft(t) : J.getDraft(t)).then((t) => {
4020
4187
  let n = t?.data || t;
4021
- n && n.registration_type && (ke(n), e.onEvent?.("draft_loaded", n));
4188
+ n && n.registration_type && (Ve(n), e.onEvent?.("draft_loaded", n));
4022
4189
  }).catch((e) => {
4023
- K.log("No draft found for this session", e);
4190
+ q.log("No draft found for this session", e);
4024
4191
  });
4025
4192
  }, [
4026
4193
  c,
4027
- q,
4028
4194
  J,
4029
- K,
4030
- G
4195
+ Y,
4196
+ q,
4197
+ K
4031
4198
  ]);
4032
- let je = l(() => {
4033
- if (!X || !T || String(X.registration_type) !== String(T.id)) return {};
4034
- let e = { ...X.custom_data || {} };
4035
- if (Array.isArray(X.accompanying) && (e.accompanying = X.accompanying), X.salutation && (e.salutation = X.salutation, e.title = X.salutation), X.name) {
4036
- e.name = X.name, e.full_name = X.name, e.fullName = X.name;
4037
- let t = X.name.trim().split(/\s+/);
4199
+ let Ue = l(() => {
4200
+ if (!Z || !T || String(Z.registration_type) !== String(T.id)) return {};
4201
+ let e = { ...Z.custom_data || {} };
4202
+ if (Array.isArray(Z.accompanying) && (e.accompanying = Z.accompanying), Z.salutation && (e.salutation = Z.salutation, e.title = Z.salutation), Z.name) {
4203
+ e.name = Z.name, e.full_name = Z.name, e.fullName = Z.name;
4204
+ let t = Z.name.trim().split(/\s+/);
4038
4205
  t.length > 0 && !e.first_name && (e.first_name = t[0]), t.length > 1 && !e.last_name && (e.last_name = t.slice(1).join(" "));
4039
4206
  }
4040
- return X.email && (e.email = X.email), X.phone && (e.phone = X.phone, e.mobile = X.phone, e.phoneNumber = X.phone), ((G ? D?.fields : T?.form_schema?.fields) || []).forEach((t) => {
4041
- let n = ut(t.id, t.label);
4207
+ return Z.email && (e.email = Z.email), Z.phone && (e.phone = Z.phone, e.mobile = Z.phone, e.phoneNumber = Z.phone), ((K ? D?.fields : T?.form_schema?.fields) || []).forEach((t) => {
4208
+ let n = ft(t.id, t.label);
4042
4209
  e[t.id] === void 0 && e[n] !== void 0 && (e[t.id] = e[n]);
4043
4210
  }), e;
4044
4211
  }, [
4045
- X,
4212
+ Z,
4046
4213
  T,
4047
- G,
4214
+ K,
4048
4215
  D
4049
4216
  ]);
4050
4217
  s(() => () => {
4051
- Y.current && clearTimeout(Y.current);
4218
+ X.current && clearTimeout(X.current);
4052
4219
  }, []);
4053
- let Me = a((t) => {
4054
- Y.current && clearTimeout(Y.current), Y.current = setTimeout(async () => {
4220
+ let We = a((t) => {
4221
+ X.current && clearTimeout(X.current), X.current = setTimeout(async () => {
4055
4222
  if (!Object.values(t).some((e) => e !== "" && e != null)) return;
4056
4223
  let n = /* @__PURE__ */ new Set([
4057
4224
  "salutation",
@@ -4068,15 +4235,15 @@ var St = (e) => {
4068
4235
  "selected_items",
4069
4236
  "custom_data",
4070
4237
  "accompanying"
4071
- ]), r = (G ? D?.fields : T?.form_schema?.fields) || [], i = /* @__PURE__ */ new Map();
4238
+ ]), r = (K ? D?.fields : T?.form_schema?.fields) || [], i = /* @__PURE__ */ new Map();
4072
4239
  r.forEach((e) => i.set(e.id, e));
4073
4240
  let a = { ...t.custom_data || {} };
4074
4241
  for (let [e, r] of Object.entries(t)) if (!n.has(e)) {
4075
- let t = ut(e, i.get(e)?.label);
4242
+ let t = ft(e, i.get(e)?.label);
4076
4243
  a[t] = r;
4077
4244
  }
4078
4245
  let o = {
4079
- xref_id: J.getXrefId(),
4246
+ xref_id: Y.getXrefId(),
4080
4247
  salutation: t.salutation || t.title || "",
4081
4248
  name: t.name || t.fullName || t.full_name || [t.firstName, t.lastName].filter(Boolean).join(" ") || "",
4082
4249
  email: t.email || "",
@@ -4087,27 +4254,27 @@ var St = (e) => {
4087
4254
  accompanying: t.accompanying || []
4088
4255
  };
4089
4256
  try {
4090
- G ? await q.trackReviewProgress(o) : await q.trackProgress(o), e.onEvent?.("draft_saved", o);
4257
+ K ? await J.trackReviewProgress(o) : await J.trackProgress(o), e.onEvent?.("draft_saved", o);
4091
4258
  } catch (e) {
4092
- K.error("Failed to save draft progress", e);
4259
+ q.error("Failed to save draft progress", e);
4093
4260
  }
4094
4261
  }, 600);
4095
4262
  }, [
4263
+ Y,
4096
4264
  J,
4097
- q,
4098
4265
  T,
4099
4266
  e,
4267
+ q,
4100
4268
  K,
4101
- G,
4102
4269
  D
4103
4270
  ]);
4104
4271
  s(() => {
4105
- De.current !== e.displayMode && (De.current = e.displayMode, h(e.displayMode !== "popup"), b(!1));
4272
+ Le.current !== e.displayMode && (Le.current = e.displayMode, h(e.displayMode !== "popup"), b(!1));
4106
4273
  }, [e.displayMode]), s(() => {
4107
- (G ? q.getReviewFormSchema() : q.getFormSchema()).then((t) => {
4108
- S(t?.data?.types || []), G && O({ fields: t?.data?.fields || [] }), (t?.data?.event_name || t?.data?.title || t?.data?.name) && w(t.data.event_name || t.data.title || t.data.name), e.onEvent?.("form_loaded", t?.data);
4274
+ (K ? J.getReviewFormSchema() : J.getFormSchema()).then((t) => {
4275
+ S(t?.data?.types || []), K && O({ fields: t?.data?.fields || [] }), (t?.data?.event_name || t?.data?.title || t?.data?.name) && w(t.data.event_name || t.data.title || t.data.name), e.onEvent?.("form_loaded", t?.data);
4109
4276
  }).catch((t) => {
4110
- K.error("Failed to load schema", t), S([]);
4277
+ q.error("Failed to load schema", t), S([]);
4111
4278
  let n = {
4112
4279
  type: "schema_load",
4113
4280
  message: t?.message || "Failed to load event schema",
@@ -4115,10 +4282,10 @@ var St = (e) => {
4115
4282
  };
4116
4283
  e.onEvent?.("error", n), e.onError?.(n);
4117
4284
  }).finally(() => A(!1));
4118
- }, [q, G]);
4119
- let Ne = async (t) => {
4120
- Y.current && clearTimeout(Y.current), A(!0), ie(null);
4121
- let n = J.getXrefId(), r = /* @__PURE__ */ new Set([
4285
+ }, [J, K]);
4286
+ let Ge = async (t) => {
4287
+ X.current && clearTimeout(X.current), A(!0), oe(null);
4288
+ let n = Y.getXrefId(), r = /* @__PURE__ */ new Set([
4122
4289
  "salutation",
4123
4290
  "title",
4124
4291
  "name",
@@ -4135,11 +4302,11 @@ var St = (e) => {
4135
4302
  "custom_data",
4136
4303
  "xref_id",
4137
4304
  "accompanying"
4138
- ]), i = (G ? D?.fields : T?.form_schema?.fields) || [], a = /* @__PURE__ */ new Map();
4305
+ ]), i = (K ? D?.fields : T?.form_schema?.fields) || [], a = /* @__PURE__ */ new Map();
4139
4306
  i.forEach((e) => a.set(e.id, e));
4140
4307
  let o = { ...t.custom_data || {} };
4141
4308
  for (let [e, n] of Object.entries(t)) if (!r.has(e)) {
4142
- let t = ut(e, a.get(e)?.label);
4309
+ let t = ft(e, a.get(e)?.label);
4143
4310
  o[t] = n;
4144
4311
  }
4145
4312
  let s = {
@@ -4154,77 +4321,82 @@ var St = (e) => {
4154
4321
  accompanying: t.accompanying || []
4155
4322
  };
4156
4323
  try {
4157
- let t = G ? await q.submitReview(s) : await q.submitRegistration(s);
4158
- J.updateXrefId(), ke(null);
4159
- let n = G ? null : t?.data?.payment_url || t?.payment_url || null;
4160
- se(n);
4161
- 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;
4162
- le(r ? String(r) : null), R(!1), n && typeof n == "string" && n.trim() !== "" && window.open(n, "_blank", "noopener,noreferrer"), F(!0);
4163
- let i = {
4324
+ let t = K ? await J.submitReview(s) : await J.submitRegistration(s);
4325
+ Y.updateXrefId(), Ve(null);
4326
+ let n = K ? null : t?.data?.payment_url || t?.payment_url || null;
4327
+ le(n);
4328
+ let r = K ? null : t?.data?.custom_qr || t?.custom_qr || null;
4329
+ he(r), ve(!1), be({
4330
+ amount: t?.data?.amount ?? null,
4331
+ currency: t?.data?.currency ?? null
4332
+ }), Ce(t?.data?.status || t?.status || null);
4333
+ let i = t?.data?.submission_number || t?.submission_number || t?.data?.registration_number || t?.registration_number || t?.data?.registration?.registration_number || t?.registration?.registration_number || null;
4334
+ L(i ? String(i) : null), Ee(!1), n && typeof n == "string" && n.trim() !== "" && window.open(n, "_blank", "noopener,noreferrer"), ie(!0);
4335
+ let a = {
4164
4336
  registrationType: T.id,
4165
4337
  payload: s,
4166
4338
  response: t,
4167
4339
  paymentUrl: n
4168
4340
  };
4169
- e.onEvent?.("submitted", i), e.onRegister?.(i), e.onRegistered?.(i);
4341
+ e.onEvent?.("submitted", a), e.onRegister?.(a), e.onRegistered?.(a);
4170
4342
  } catch (t) {
4171
- K.error("Submission failed", t);
4172
- let n = t?.message || (G ? "Submission failed. Please check your information and try again." : "Registration failed. Please check your information and try again."), r = {
4343
+ q.error("Submission failed", t);
4344
+ let n = t?.message || (K ? "Submission failed. Please check your information and try again." : "Registration failed. Please check your information and try again."), r = {
4173
4345
  type: "submit_error",
4174
4346
  message: n,
4175
4347
  error: t
4176
4348
  };
4177
- e.onEvent?.("error", r), e.onError?.(r), ie(n);
4349
+ e.onEvent?.("error", r), e.onError?.(r), oe(n);
4178
4350
  } finally {
4179
4351
  A(!1);
4180
4352
  }
4181
- }, Pe = () => {
4182
- if (F(!1), ie(null), se(null), le(null), R(!1), E(null), ke(null), typeof window < "u" && new URLSearchParams(window.location.search).has("rn")) {
4353
+ }, Ke = () => {
4354
+ if (ie(!1), oe(null), le(null), he(null), ve(!1), L(null), Ce(null), Ee(!1), E(null), Ve(null), typeof window < "u" && new URLSearchParams(window.location.search).has("rn")) {
4183
4355
  let e = new URL(window.location.href);
4184
4356
  e.searchParams.delete("rn"), window.history.replaceState(window.history.state, "", e.toString());
4185
4357
  }
4186
- }, Ie = a((e) => {
4187
- if (e.stopPropagation(), e.button !== 0 || !Ce.current) return;
4188
- let t = Ce.current.getBoundingClientRect();
4189
- we.current = {
4358
+ }, qe = a((e) => {
4359
+ if (e.stopPropagation(), e.button !== 0 || !V.current) return;
4360
+ let t = V.current.getBoundingClientRect();
4361
+ H.current = {
4190
4362
  startX: e.clientX,
4191
4363
  startY: e.clientY,
4192
4364
  rect: t,
4193
- corner: z
4194
- }, H.current = !1, ye(!0);
4195
- }, [z]);
4365
+ corner: R
4366
+ }, U.current = !1, B(!0);
4367
+ }, [R]);
4196
4368
  s(() => {
4197
- if (!V) return;
4369
+ if (!z) return;
4198
4370
  let t = (e) => {
4199
- if (!we.current) return;
4200
- let t = e.clientX - we.current.startX, n = e.clientY - we.current.startY;
4201
- H.current || Math.hypot(t, n) > 5 && (H.current = !0), H.current && he({
4371
+ if (!H.current) return;
4372
+ let t = e.clientX - H.current.startX, n = e.clientY - H.current.startY;
4373
+ U.current || Math.hypot(t, n) > 5 && (U.current = !0), U.current && ke({
4202
4374
  x: t,
4203
4375
  y: n
4204
4376
  });
4205
4377
  }, n = (t) => {
4206
- if (!we.current) {
4207
- ye(!1), he(null), H.current = !1;
4378
+ if (!H.current) {
4379
+ B(!1), ke(null), U.current = !1;
4208
4380
  return;
4209
4381
  }
4210
- let { rect: n, startX: r, startY: i } = we.current, a = t.clientX - r, o = t.clientY - i, s = H.current;
4211
- if (we.current = null, ye(!1), setTimeout(() => {
4212
- H.current = !1;
4382
+ let { rect: n, startX: r, startY: i } = H.current, a = t.clientX - r, o = t.clientY - i, s = U.current;
4383
+ if (H.current = null, B(!1), setTimeout(() => {
4384
+ U.current = !1;
4213
4385
  }, 100), !s) {
4214
- he(null);
4386
+ ke(null);
4215
4387
  return;
4216
4388
  }
4217
4389
  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;
4218
- _e({
4390
+ je({
4219
4391
  transform: `translate3d(${y}px, ${b}px, 0)`,
4220
4392
  transition: "none"
4221
- }), he(null), pe(g), e.onEvent?.("position_changed", { position: g }), requestAnimationFrame(() => {
4393
+ }), ke(null), De(g), e.onEvent?.("position_changed", { position: g }), requestAnimationFrame(() => {
4222
4394
  requestAnimationFrame(() => {
4223
- _e({
4395
+ je({
4224
4396
  transform: "translate3d(0, 0, 0)",
4225
4397
  transition: "transform 0.35s cubic-bezier(0.16, 1, 0.3, 1)"
4226
4398
  }), setTimeout(() => {
4227
- _e(null);
4399
+ je(null);
4228
4400
  }, 360);
4229
4401
  });
4230
4402
  });
@@ -4232,62 +4404,74 @@ var St = (e) => {
4232
4404
  return window.addEventListener("pointermove", t), window.addEventListener("pointerup", n), window.addEventListener("pointercancel", n), () => {
4233
4405
  window.removeEventListener("pointermove", t), window.removeEventListener("pointerup", n), window.removeEventListener("pointercancel", n);
4234
4406
  };
4235
- }, [V, e]);
4236
- let Re = async () => {
4237
- if (ce) {
4407
+ }, [z, e]);
4408
+ let Ye = async () => {
4409
+ if (F) {
4238
4410
  try {
4239
- await navigator.clipboard.writeText(ce);
4411
+ await navigator.clipboard.writeText(F);
4240
4412
  } catch {
4241
4413
  let e = document.createElement("textarea");
4242
- e.value = ce, document.body.appendChild(e), e.select(), document.execCommand("copy"), document.body.removeChild(e);
4414
+ e.value = F, document.body.appendChild(e), e.select(), document.execCommand("copy"), document.body.removeChild(e);
4243
4415
  }
4244
- R(!0), setTimeout(() => R(!1), 2e3);
4416
+ Ee(!0), setTimeout(() => Ee(!1), 2e3);
4245
4417
  }
4246
- }, Be = () => ce ? /* @__PURE__ */ m("div", {
4418
+ }, Ze = (t) => !t || /^https?:\/\//i.test(t) ? t : `${e.baseUrl.replace(/\/$/, "")}${t}`, $e = !K && ue !== !0 && (xe === "pending" && Number(ye.amount) > 0 || ue === !1), et = () => F ? /* @__PURE__ */ m("div", {
4247
4419
  className: "w-full max-w-xs mb-6",
4248
- children: [/* @__PURE__ */ p("p", {
4249
- className: `text-2xs font-bold uppercase tracking-wider mb-1.5 ${U ? "text-zinc-400" : "text-gray-500"}`,
4250
- children: G ? "Submission Number" : "Registration Number"
4251
- }), /* @__PURE__ */ m("div", {
4252
- part: "registration-number",
4253
- className: `flex items-center gap-2 pl-4 pr-1.5 py-1.5 rounded-xl border ${U ? "bg-zinc-900 border-zinc-700" : "bg-gray-50 border-gray-200"}`,
4254
- children: [/* @__PURE__ */ p("span", {
4255
- className: "flex-1 text-left font-mono font-bold text-base select-all break-all",
4256
- children: ce
4257
- }), /* @__PURE__ */ m("button", {
4258
- part: "copy-button",
4259
- type: "button",
4260
- onClick: Re,
4261
- 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",
4262
- style: { backgroundColor: W },
4263
- title: "Copy registration number",
4264
- children: [p(ue ? oe : me, { size: 13 }), /* @__PURE__ */ p("span", { children: ue ? "Copied" : "Copy" })]
4265
- })]
4266
- })]
4420
+ children: [
4421
+ /* @__PURE__ */ p("p", {
4422
+ className: `text-2xs font-bold uppercase tracking-wider mb-1.5 ${W ? "text-zinc-400" : "text-gray-500"}`,
4423
+ children: K ? "Submission Number" : $e ? "Temporary Registration Number" : "Registration Number"
4424
+ }),
4425
+ /* @__PURE__ */ m("div", {
4426
+ part: "registration-number",
4427
+ className: `flex items-center gap-2 pl-4 pr-1.5 py-1.5 rounded-xl border ${W ? "bg-zinc-900 border-zinc-700" : "bg-gray-50 border-gray-200"}`,
4428
+ children: [/* @__PURE__ */ p("span", {
4429
+ className: "flex-1 text-left font-mono font-bold text-base select-all break-all",
4430
+ children: F
4431
+ }), /* @__PURE__ */ m("button", {
4432
+ part: "copy-button",
4433
+ type: "button",
4434
+ onClick: Ye,
4435
+ 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",
4436
+ style: { backgroundColor: G },
4437
+ title: "Copy registration number",
4438
+ children: [p(Te ? se : ge, { size: 13 }), /* @__PURE__ */ p("span", { children: Te ? "Copied" : "Copy" })]
4439
+ })]
4440
+ }),
4441
+ $e && /* @__PURE__ */ m("div", {
4442
+ part: "provisional-note",
4443
+ role: "note",
4444
+ className: `mt-2.5 flex items-start gap-2 rounded-xl px-3 py-2.5 text-left text-xs leading-relaxed ${W ? "bg-amber-950/50 text-amber-200 ring-1 ring-inset ring-amber-900" : "bg-amber-50 text-amber-800 ring-1 ring-inset ring-amber-200"}`,
4445
+ children: [/* @__PURE__ */ p(me, {
4446
+ size: 14,
4447
+ className: "shrink-0 mt-0.5"
4448
+ }), /* @__PURE__ */ p("span", { children: "This is a temporary registration number. Your registration will be confirmed once your payment is verified." })]
4449
+ })
4450
+ ]
4267
4451
  }) : null;
4268
4452
  if (!c && e.displayMode === "popup") {
4269
4453
  let e = {
4270
- ...St(z),
4271
- ...B ? {
4272
- transform: `translate3d(${B.x}px, ${B.y}px, 0) scale(1.05)`,
4454
+ ...Tt(R),
4455
+ ...Oe ? {
4456
+ transform: `translate3d(${Oe.x}px, ${Oe.y}px, 0) scale(1.05)`,
4273
4457
  transition: "none",
4274
4458
  userSelect: "none"
4275
- } : ge ? {
4276
- transform: ge.transform,
4277
- transition: ge.transition
4459
+ } : Ae ? {
4460
+ transform: Ae.transform,
4461
+ transition: Ae.transition
4278
4462
  } : { transition: "all 0.3s cubic-bezier(0.16, 1, 0.3, 1)" }
4279
- }, t = xe || V;
4463
+ }, t = Me || z;
4280
4464
  return /* @__PURE__ */ m("div", {
4281
- ref: Ce,
4282
- onMouseEnter: () => Se(!0),
4283
- onMouseLeave: () => Se(!1),
4284
- className: `fixed ${Ct(z)} z-50 select-none group`,
4465
+ ref: V,
4466
+ onMouseEnter: () => Ne(!0),
4467
+ onMouseLeave: () => Ne(!1),
4468
+ className: `fixed ${Et(R)} z-50 select-none group`,
4285
4469
  style: e,
4286
4470
  children: [/* @__PURE__ */ p("div", {
4287
- onPointerDown: Ie,
4471
+ onPointerDown: qe,
4288
4472
  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"}`,
4289
4473
  title: "Hold and drag to change position",
4290
- children: /* @__PURE__ */ p(ze, {
4474
+ children: /* @__PURE__ */ p(Be, {
4291
4475
  size: 13,
4292
4476
  className: "pointer-events-none text-white"
4293
4477
  })
@@ -4295,10 +4479,10 @@ var St = (e) => {
4295
4479
  part: "launcher",
4296
4480
  type: "button",
4297
4481
  onClick: (e) => {
4298
- e.stopPropagation(), !V && h(!0);
4482
+ e.stopPropagation(), !z && h(!0);
4299
4483
  },
4300
4484
  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",
4301
- style: { backgroundColor: W },
4485
+ style: { backgroundColor: G },
4302
4486
  title: "Click to open registration",
4303
4487
  children: /* @__PURE__ */ p("span", {
4304
4488
  className: "font-bold text-sm tracking-wide pointer-events-none",
@@ -4307,9 +4491,9 @@ var St = (e) => {
4307
4491
  })]
4308
4492
  });
4309
4493
  }
4310
- let Ve = e.displayMode === "fullscreen" || e.displayMode === "popup" && y, Z = e.displayMode === "widget", He = bt(Ee, U, Z), Ue = `${U ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"} flex flex-col transition-all duration-300 ease-in-out `, We = e.theme?.fontFamily, Q = !We || We === "inherit" ? {} : { fontFamily: `var(--vx-font-family, ${We})` };
4311
- Q["--vx-accent"] = W, Ve ? Ue += "fixed inset-0 z-[9999] rounded-none overflow-hidden " : e.displayMode === "popup" ? (Ue += `fixed ${Ct(z)} z-50 rounded-xl shadow-2xl border ${U ? "border-zinc-800" : "border-gray-200"} overflow-hidden `, Q.width = e.width || "400px", Q.height = e.height || "700px", Q.maxHeight = "90vh", Q.maxWidth = "calc(100vw - 32px)", Object.assign(Q, St(z))) : (Ue += "relative w-full min-h-screen border-none shadow-none rounded-none ", Q.width = "100%", Q.minHeight = "100vh");
4312
- let Ke = G ? "Abstract Submission" : t === "registration" ? C || "Registration" : "Attendee Portal", Je = j.trim().toLowerCase(), Xe = Je ? x.filter((e) => [
4494
+ let tt = e.displayMode === "fullscreen" || e.displayMode === "popup" && y, Q = e.displayMode === "widget", nt = Ct(Ie, W, Q), rt = `${W ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"} flex flex-col transition-all duration-300 ease-in-out `, it = e.theme?.fontFamily, at = !it || it === "inherit" ? {} : { fontFamily: `var(--vx-font-family, ${it})` };
4495
+ at["--vx-accent"] = G, tt ? rt += "fixed inset-0 z-[9999] rounded-none overflow-hidden " : e.displayMode === "popup" ? (rt += `fixed ${Et(R)} z-50 rounded-xl shadow-2xl border ${W ? "border-zinc-800" : "border-gray-200"} overflow-hidden `, at.width = e.width || "400px", at.height = e.height || "700px", at.maxHeight = "90vh", at.maxWidth = "calc(100vw - 32px)", Object.assign(at, Tt(R))) : (rt += "relative w-full min-h-screen border-none shadow-none rounded-none ", at.width = "100%", at.minHeight = "100vh");
4496
+ let ot = K ? "Abstract Submission" : t === "registration" ? C || "Registration" : "Attendee Portal", st = j.trim().toLowerCase(), ct = st ? x.filter((e) => [
4313
4497
  e.type,
4314
4498
  e.name,
4315
4499
  e.category,
@@ -4318,27 +4502,27 @@ var St = (e) => {
4318
4502
  e.price,
4319
4503
  e.tax_info,
4320
4504
  ...Array.isArray(e.items) ? e.items.map((e) => e?.name).filter(Boolean) : []
4321
- ].filter((e) => e != null && e !== "").join(" ").toLowerCase().includes(Je)) : x, Ze = `max-w-2xl mx-auto w-full rounded-3xl border overflow-hidden ${U ? "bg-zinc-900 border-zinc-800 shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_24px_48px_-24px_rgba(15,23,42,0.16)]"}`, Qe = () => {
4505
+ ].filter((e) => e != null && e !== "").join(" ").toLowerCase().includes(st)) : x, ut = `max-w-2xl mx-auto w-full rounded-3xl border overflow-hidden ${W ? "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)]"}`, dt = () => {
4322
4506
  if (x.length === 0) return null;
4323
- let e = x.find((e) => String(e.id) === te) || (x.length === 1 ? x[0] : null), t = e ? e.type || e.name || e.label : "";
4507
+ let e = x.find((e) => String(e.id) === N) || (x.length === 1 ? x[0] : null), t = e ? e.type || e.name || e.label : "";
4324
4508
  return /* @__PURE__ */ m("div", {
4325
4509
  part: "category-panel",
4326
- className: Ze,
4510
+ className: ut,
4327
4511
  children: [
4328
4512
  /* @__PURE__ */ m("div", {
4329
4513
  className: "px-5 sm:px-7 pt-6 sm:pt-7 pb-5 flex items-center gap-3.5",
4330
4514
  children: [/* @__PURE__ */ p("div", {
4331
4515
  className: "w-11 h-11 rounded-xl flex items-center justify-center shrink-0",
4332
4516
  style: {
4333
- backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
4334
- color: W
4517
+ backgroundColor: `color-mix(in srgb, ${G} 12%, transparent)`,
4518
+ color: G
4335
4519
  },
4336
- children: /* @__PURE__ */ p(be, { size: 20 })
4520
+ children: /* @__PURE__ */ p(we, { size: 20 })
4337
4521
  }), /* @__PURE__ */ p("div", {
4338
4522
  className: "min-w-0",
4339
4523
  children: /* @__PURE__ */ p("h3", {
4340
4524
  part: "list-title",
4341
- className: `text-lg sm:text-xl font-semibold tracking-tight ${U ? "text-white" : "text-slate-900"}`,
4525
+ className: `text-lg sm:text-xl font-semibold tracking-tight ${W ? "text-white" : "text-slate-900"}`,
4342
4526
  style: $,
4343
4527
  children: "Choose a submission category"
4344
4528
  })
@@ -4347,7 +4531,7 @@ var St = (e) => {
4347
4531
  /* @__PURE__ */ p("div", {
4348
4532
  role: "radiogroup",
4349
4533
  "aria-label": "Submission category",
4350
- className: `border-t divide-y ${U ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
4534
+ className: `border-t divide-y ${W ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
4351
4535
  children: x.map((t) => {
4352
4536
  let n = t.type || t.name || t.label, r = !!e && String(e.id) === String(t.id);
4353
4537
  return /* @__PURE__ */ m("button", {
@@ -4355,48 +4539,48 @@ var St = (e) => {
4355
4539
  type: "button",
4356
4540
  role: "radio",
4357
4541
  "aria-checked": r,
4358
- onClick: () => N(String(t.id)),
4359
- className: `group w-full flex items-center gap-4 px-5 sm:px-7 py-4 text-left transition-colors cursor-pointer outline-none focus-visible:bg-[color-mix(in_srgb,var(--vx-accent)_8%,transparent)] ${r ? "" : U ? "hover:bg-zinc-800/60" : "hover:bg-slate-50"}`,
4360
- style: r ? { backgroundColor: `color-mix(in srgb, ${W} ${U ? 14 : 6}%, transparent)` } : void 0,
4542
+ onClick: () => re(String(t.id)),
4543
+ 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 ? "" : W ? "hover:bg-zinc-800/60" : "hover:bg-slate-50"}`,
4544
+ style: r ? { backgroundColor: `color-mix(in srgb, ${G} ${W ? 14 : 6}%, transparent)` } : void 0,
4361
4545
  children: [
4362
4546
  /* @__PURE__ */ p("span", {
4363
4547
  "aria-hidden": "true",
4364
- className: `w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors ${r ? "" : U ? "border-zinc-600" : "border-slate-300"}`,
4365
- style: r ? { borderColor: W } : void 0,
4548
+ className: `w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors ${r ? "" : W ? "border-zinc-600" : "border-slate-300"}`,
4549
+ style: r ? { borderColor: G } : void 0,
4366
4550
  children: r && /* @__PURE__ */ p("span", {
4367
4551
  className: "w-2.5 h-2.5 rounded-full",
4368
- style: { backgroundColor: W }
4552
+ style: { backgroundColor: G }
4369
4553
  })
4370
4554
  }),
4371
4555
  /* @__PURE__ */ m("span", {
4372
4556
  className: "flex-1 min-w-0",
4373
4557
  children: [/* @__PURE__ */ p("span", {
4374
- className: `block text-[15px] font-semibold leading-snug ${U ? "text-white" : "text-slate-900"}`,
4558
+ className: `block text-[15px] font-semibold leading-snug ${W ? "text-white" : "text-slate-900"}`,
4375
4559
  children: n
4376
4560
  }), t.description && /* @__PURE__ */ p("span", {
4377
- className: `block text-[13px] mt-0.5 line-clamp-1 ${U ? "text-zinc-400" : "text-slate-500"}`,
4561
+ className: `block text-[13px] mt-0.5 line-clamp-1 ${W ? "text-zinc-400" : "text-slate-500"}`,
4378
4562
  children: t.description
4379
4563
  })]
4380
4564
  }),
4381
4565
  t.category && /* @__PURE__ */ p("span", {
4382
- className: `hidden sm:inline-block text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full shrink-0 ${U ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
4566
+ className: `hidden sm:inline-block text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full shrink-0 ${W ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
4383
4567
  children: t.category
4384
4568
  }),
4385
4569
  /* @__PURE__ */ p(ne, {
4386
4570
  size: 16,
4387
- className: `shrink-0 transition-all ${r ? "translate-x-0.5" : `${U ? "text-zinc-600" : "text-slate-300"} group-hover:translate-x-0.5`}`,
4388
- style: r ? { color: W } : void 0
4571
+ className: `shrink-0 transition-all ${r ? "translate-x-0.5" : `${W ? "text-zinc-600" : "text-slate-300"} group-hover:translate-x-0.5`}`,
4572
+ style: r ? { color: G } : void 0
4389
4573
  })
4390
4574
  ]
4391
4575
  }, t.id);
4392
4576
  })
4393
4577
  }),
4394
4578
  /* @__PURE__ */ m("div", {
4395
- className: `px-5 sm:px-7 py-5 border-t flex flex-col-reverse sm:flex-row sm:items-center sm:justify-between gap-3 ${U ? "border-zinc-800" : "border-slate-100"}`,
4579
+ 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 ${W ? "border-zinc-800" : "border-slate-100"}`,
4396
4580
  children: [/* @__PURE__ */ p("p", {
4397
- className: `text-[13px] truncate ${U ? "text-zinc-400" : "text-slate-500"}`,
4581
+ className: `text-[13px] truncate ${W ? "text-zinc-400" : "text-slate-500"}`,
4398
4582
  children: e ? /* @__PURE__ */ m(f, { children: ["Selected: ", /* @__PURE__ */ p("span", {
4399
- className: `font-semibold ${U ? "text-zinc-200" : "text-slate-700"}`,
4583
+ className: `font-semibold ${W ? "text-zinc-200" : "text-slate-700"}`,
4400
4584
  children: t
4401
4585
  })] }) : "Select a category to continue"
4402
4586
  }), /* @__PURE__ */ m("button", {
@@ -4405,8 +4589,8 @@ var St = (e) => {
4405
4589
  disabled: !e,
4406
4590
  onClick: () => e && E(e),
4407
4591
  style: {
4408
- background: `linear-gradient(135deg, ${W}, color-mix(in srgb, ${W} 80%, black))`,
4409
- boxShadow: e ? `0 10px 24px -12px color-mix(in srgb, ${W} 70%, transparent)` : void 0
4592
+ background: `linear-gradient(135deg, ${G}, color-mix(in srgb, ${G} 80%, black))`,
4593
+ boxShadow: e ? `0 10px 24px -12px color-mix(in srgb, ${G} 70%, transparent)` : void 0
4410
4594
  },
4411
4595
  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",
4412
4596
  children: [/* @__PURE__ */ p("span", { children: "Continue to submission" }), /* @__PURE__ */ p(ne, {
@@ -4417,16 +4601,16 @@ var St = (e) => {
4417
4601
  })
4418
4602
  ]
4419
4603
  });
4420
- }, $e = (e) => /* @__PURE__ */ m("div", {
4604
+ }, pt = (e) => /* @__PURE__ */ m("div", {
4421
4605
  part: "category-panel",
4422
- className: Ze,
4606
+ className: ut,
4423
4607
  children: [
4424
4608
  /* @__PURE__ */ m("div", {
4425
4609
  className: "px-5 sm:px-7 pt-6 sm:pt-7 pb-5 flex items-center gap-3.5",
4426
4610
  children: [/* @__PURE__ */ p("div", { className: "vx-skeleton w-11 h-11 rounded-xl" }), /* @__PURE__ */ p("div", { className: `${e} h-4 w-56` })]
4427
4611
  }),
4428
4612
  /* @__PURE__ */ p("div", {
4429
- className: `border-t divide-y ${U ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
4613
+ className: `border-t divide-y ${W ? "border-zinc-800 divide-zinc-800" : "border-slate-100 divide-slate-100"}`,
4430
4614
  children: [
4431
4615
  0,
4432
4616
  1,
@@ -4449,18 +4633,18 @@ var St = (e) => {
4449
4633
  }, t))
4450
4634
  }),
4451
4635
  /* @__PURE__ */ p("div", {
4452
- className: `px-5 sm:px-7 py-5 border-t flex justify-end ${U ? "border-zinc-800" : "border-slate-100"}`,
4636
+ className: `px-5 sm:px-7 py-5 border-t flex justify-end ${W ? "border-zinc-800" : "border-slate-100"}`,
4453
4637
  children: /* @__PURE__ */ p("div", { className: `${e} h-11 w-52` })
4454
4638
  })
4455
4639
  ]
4456
- }), et = () => {
4457
- let e = "vx-skeleton rounded-full", t = Z ? 6 : 3;
4640
+ }), mt = () => {
4641
+ let e = "vx-skeleton rounded-full", t = Q ? 6 : 3;
4458
4642
  return /* @__PURE__ */ m("div", {
4459
4643
  part: "page",
4460
4644
  role: "status",
4461
4645
  "aria-live": "polite",
4462
4646
  "aria-busy": "true",
4463
- className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${U ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
4647
+ className: `flex flex-col ${Q ? "w-full flex-1" : "h-full min-h-0"} ${W ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
4464
4648
  children: [
4465
4649
  /* @__PURE__ */ p("span", {
4466
4650
  className: "sr-only",
@@ -4469,7 +4653,7 @@ var St = (e) => {
4469
4653
  /* @__PURE__ */ p("div", {
4470
4654
  part: "header",
4471
4655
  className: "relative overflow-hidden z-10 shrink-0 text-white",
4472
- style: { background: `linear-gradient(135deg, ${W} 0%, color-mix(in srgb, ${W} 76%, black) 100%)` },
4656
+ style: { background: `linear-gradient(135deg, ${G} 0%, color-mix(in srgb, ${G} 76%, black) 100%)` },
4473
4657
  children: /* @__PURE__ */ m("div", {
4474
4658
  className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-5 sm:py-6 flex items-center gap-3.5",
4475
4659
  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", {
@@ -4478,38 +4662,38 @@ var St = (e) => {
4478
4662
  })]
4479
4663
  })
4480
4664
  }),
4481
- !G && /* @__PURE__ */ p("div", {
4665
+ !K && /* @__PURE__ */ p("div", {
4482
4666
  part: "tabs",
4483
- className: `shrink-0 border-b ${U ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
4667
+ className: `shrink-0 border-b ${W ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
4484
4668
  children: /* @__PURE__ */ p("div", {
4485
4669
  className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-3",
4486
4670
  children: /* @__PURE__ */ m("div", {
4487
- className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${U ? "bg-zinc-800" : "bg-slate-100"}`,
4488
- children: [/* @__PURE__ */ p("div", { className: `h-9 rounded-lg ${U ? "bg-zinc-950" : "bg-white shadow-sm"}` }), /* @__PURE__ */ p("div", { className: "h-9" })]
4671
+ className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${W ? "bg-zinc-800" : "bg-slate-100"}`,
4672
+ children: [/* @__PURE__ */ p("div", { className: `h-9 rounded-lg ${W ? "bg-zinc-950" : "bg-white shadow-sm"}` }), /* @__PURE__ */ p("div", { className: "h-9" })]
4489
4673
  })
4490
4674
  })
4491
4675
  }),
4492
4676
  /* @__PURE__ */ p("div", {
4493
4677
  part: "list",
4494
- className: `${Z ? "w-full flex-1" : "overflow-hidden flex-1 min-h-0"} relative ${U ? "bg-zinc-950" : "bg-slate-50"}`,
4495
- style: He,
4678
+ className: `${Q ? "w-full flex-1" : "overflow-hidden flex-1 min-h-0"} relative ${W ? "bg-zinc-950" : "bg-slate-50"}`,
4679
+ style: nt,
4496
4680
  children: /* @__PURE__ */ p("div", {
4497
4681
  className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-6 sm:py-8 space-y-5",
4498
- children: G ? $e(e) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
4682
+ children: K ? pt(e) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
4499
4683
  part: "search",
4500
4684
  className: "flex flex-col sm:flex-row sm:items-end sm:justify-between gap-3",
4501
4685
  children: [/* @__PURE__ */ m("div", {
4502
4686
  className: "space-y-2",
4503
4687
  children: [/* @__PURE__ */ p("div", { className: `${e} h-4 w-56` }), /* @__PURE__ */ p("div", { className: `${e} h-3 w-28` })]
4504
- }), /* @__PURE__ */ p("div", { className: `h-10 w-full sm:w-72 rounded-xl border ${U ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200"}` })]
4688
+ }), /* @__PURE__ */ p("div", { className: `h-10 w-full sm:w-72 rounded-xl border ${W ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200"}` })]
4505
4689
  }), /* @__PURE__ */ p("div", {
4506
4690
  part: "card-grid",
4507
- className: Z ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
4691
+ className: Q ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
4508
4692
  children: Array.from({ length: t }, (t, n) => {
4509
4693
  let r = { animationDelay: `${n * 90}ms` };
4510
4694
  return /* @__PURE__ */ m("div", {
4511
4695
  part: "card",
4512
- className: `rounded-2xl border p-5 sm:p-6 flex flex-col ${U ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`,
4696
+ className: `rounded-2xl border p-5 sm:p-6 flex flex-col ${W ? "bg-zinc-900 border-zinc-800" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`,
4513
4697
  children: [
4514
4698
  /* @__PURE__ */ p("div", {
4515
4699
  className: "vx-skeleton w-11 h-11 rounded-xl",
@@ -4524,7 +4708,7 @@ var St = (e) => {
4524
4708
  style: r
4525
4709
  }),
4526
4710
  /* @__PURE__ */ m("div", {
4527
- className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${U ? "border-zinc-800" : "border-slate-200"}`,
4711
+ className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${W ? "border-zinc-800" : "border-slate-200"}`,
4528
4712
  children: [/* @__PURE__ */ m("div", {
4529
4713
  className: "space-y-2",
4530
4714
  children: [/* @__PURE__ */ p("div", {
@@ -4547,30 +4731,30 @@ var St = (e) => {
4547
4731
  })
4548
4732
  ]
4549
4733
  });
4550
- }, tt = () => {
4551
- let e = !!T, t = G ? be : Ye, n = e ? G ? "Submitting your abstract" : "Submitting your registration" : "Loading your registration", r = T ? T.type || T.name || T.label : "", i = !G && T && T.price !== void 0 && T.price !== null && T.price !== "" ? Number(T.price) > 0 ? [T.currency, Number(T.price).toLocaleString()].filter(Boolean).join(" ") : "Free" : "";
4734
+ }, ht = () => {
4735
+ let e = !!T, t = K ? we : Qe, n = e ? K ? "Submitting your abstract" : "Submitting your registration" : "Loading your registration", r = T ? T.type || T.name || T.label : "", i = !K && T && T.price !== void 0 && T.price !== null && T.price !== "" ? Number(T.price) > 0 ? [T.currency, Number(T.price).toLocaleString()].filter(Boolean).join(" ") : "Free" : "";
4552
4736
  return /* @__PURE__ */ p("div", {
4553
4737
  part: "screen screen-submitting",
4554
4738
  role: "status",
4555
4739
  "aria-live": "polite",
4556
4740
  "aria-busy": "true",
4557
- className: `flex-1 flex items-center justify-center px-4 py-16 ${Z ? "min-h-[70vh]" : "h-full"} ${U ? "bg-zinc-950" : "bg-slate-50"}`,
4558
- style: He,
4741
+ className: `flex-1 flex items-center justify-center px-4 py-16 ${Q ? "min-h-[70vh]" : "h-full"} ${W ? "bg-zinc-950" : "bg-slate-50"}`,
4742
+ style: nt,
4559
4743
  children: /* @__PURE__ */ m("div", {
4560
4744
  part: "portal-card",
4561
- className: `w-full max-w-sm rounded-3xl border p-8 text-center ${U ? "bg-zinc-900 border-zinc-800 shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_24px_48px_-24px_rgba(15,23,42,0.18)]"}`,
4745
+ className: `w-full max-w-sm rounded-3xl border p-8 text-center ${W ? "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)]"}`,
4562
4746
  children: [
4563
4747
  /* @__PURE__ */ m("div", {
4564
4748
  className: "relative mx-auto w-16 h-16",
4565
4749
  children: [
4566
4750
  /* @__PURE__ */ p("div", {
4567
4751
  className: "absolute inset-0 rounded-full",
4568
- style: { boxShadow: `inset 0 0 0 4px color-mix(in srgb, ${W} 14%, transparent)` }
4752
+ style: { boxShadow: `inset 0 0 0 4px color-mix(in srgb, ${G} 14%, transparent)` }
4569
4753
  }),
4570
4754
  /* @__PURE__ */ p("div", {
4571
4755
  className: "absolute inset-0 rounded-full motion-safe:animate-spin",
4572
4756
  style: {
4573
- background: `conic-gradient(from 0deg, transparent 0deg, ${W} 300deg, transparent 360deg)`,
4757
+ background: `conic-gradient(from 0deg, transparent 0deg, ${G} 300deg, transparent 360deg)`,
4574
4758
  mask: "radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px))",
4575
4759
  WebkitMask: "radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px))"
4576
4760
  }
@@ -4578,8 +4762,8 @@ var St = (e) => {
4578
4762
  /* @__PURE__ */ p("div", {
4579
4763
  className: "absolute inset-[10px] rounded-full flex items-center justify-center",
4580
4764
  style: {
4581
- backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
4582
- color: W
4765
+ backgroundColor: `color-mix(in srgb, ${G} 12%, transparent)`,
4766
+ color: G
4583
4767
  },
4584
4768
  children: /* @__PURE__ */ p(t, { size: 20 })
4585
4769
  })
@@ -4587,35 +4771,35 @@ var St = (e) => {
4587
4771
  }),
4588
4772
  /* @__PURE__ */ p("h3", {
4589
4773
  part: "screen-title",
4590
- className: `mt-6 text-xl font-bold tracking-tight ${U ? "text-white" : "text-slate-900"}`,
4774
+ className: `mt-6 text-xl font-bold tracking-tight ${W ? "text-white" : "text-slate-900"}`,
4591
4775
  style: $,
4592
4776
  children: n
4593
4777
  }),
4594
4778
  /* @__PURE__ */ p("p", {
4595
4779
  part: "screen-message",
4596
- className: `mt-1.5 text-[13px] leading-relaxed text-balance ${U ? "text-zinc-400" : "text-slate-500"}`,
4780
+ className: `mt-1.5 text-[13px] leading-relaxed text-balance ${W ? "text-zinc-400" : "text-slate-500"}`,
4597
4781
  children: "This usually takes a few seconds. Please keep this page open."
4598
4782
  }),
4599
4783
  r && /* @__PURE__ */ m("div", {
4600
- className: `mt-5 inline-flex max-w-full items-center gap-2 rounded-full px-3 py-1.5 text-xs font-semibold ${U ? "bg-zinc-800 text-zinc-200" : "bg-slate-100 text-slate-700"}`,
4784
+ className: `mt-5 inline-flex max-w-full items-center gap-2 rounded-full px-3 py-1.5 text-xs font-semibold ${W ? "bg-zinc-800 text-zinc-200" : "bg-slate-100 text-slate-700"}`,
4601
4785
  children: [/* @__PURE__ */ p("span", {
4602
4786
  className: "truncate",
4603
4787
  children: r
4604
4788
  }), i && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
4605
4789
  "aria-hidden": "true",
4606
- className: U ? "text-zinc-600" : "text-slate-300",
4790
+ className: W ? "text-zinc-600" : "text-slate-300",
4607
4791
  children: "•"
4608
4792
  }), /* @__PURE__ */ p("span", {
4609
4793
  className: "shrink-0 tabular-nums",
4610
- style: { color: W },
4794
+ style: { color: G },
4611
4795
  children: i
4612
4796
  })] })]
4613
4797
  }),
4614
4798
  /* @__PURE__ */ p("div", {
4615
- className: `mt-6 h-1 w-full overflow-hidden rounded-full ${U ? "bg-zinc-800" : "bg-slate-100"}`,
4799
+ className: `mt-6 h-1 w-full overflow-hidden rounded-full ${W ? "bg-zinc-800" : "bg-slate-100"}`,
4616
4800
  children: /* @__PURE__ */ p("div", {
4617
4801
  className: "vx-progress-bar h-full w-2/5 rounded-full",
4618
- style: { backgroundColor: W }
4802
+ style: { backgroundColor: G }
4619
4803
  })
4620
4804
  })
4621
4805
  ]
@@ -4623,25 +4807,84 @@ var St = (e) => {
4623
4807
  });
4624
4808
  };
4625
4809
  return /* @__PURE__ */ p("div", {
4626
- ref: Ae,
4810
+ ref: He,
4627
4811
  part: "widget",
4628
- className: Ue,
4812
+ className: rt,
4629
4813
  style: {
4630
- ...Q,
4631
- overflow: Z ? "visible" : "clip",
4632
- scrollMarginTop: Z ? 96 : void 0
4814
+ ...at,
4815
+ overflow: Q ? "visible" : "clip",
4816
+ scrollMarginTop: Q ? 96 : void 0
4633
4817
  },
4634
4818
  onScroll: (e) => {
4635
- Z || (e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0));
4819
+ Q || (e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0));
4636
4820
  },
4637
- children: k && !T && !P ? et() : k ? tt() : P ? ae ? /* @__PURE__ */ m("div", {
4821
+ children: k && !T && !P ? mt() : k ? ht() : P ? pe && !_e ? /* @__PURE__ */ m("div", {
4822
+ part: "screen screen-custom-qr",
4823
+ className: `flex flex-col h-full relative overflow-y-auto ${W ? "bg-black text-white" : "bg-white text-gray-900"}`,
4824
+ children: [/* @__PURE__ */ m("div", {
4825
+ part: "screen-header",
4826
+ className: "p-4 shadow-sm flex justify-between items-center z-10",
4827
+ style: {
4828
+ backgroundColor: G,
4829
+ color: "white"
4830
+ },
4831
+ children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h2", {
4832
+ part: "screen-header-title",
4833
+ className: "text-xl font-bold",
4834
+ style: $,
4835
+ children: "Complete Payment"
4836
+ }), /* @__PURE__ */ p("p", {
4837
+ className: "text-xs opacity-90 mt-0.5",
4838
+ children: "Registration Submitted"
4839
+ })] }), /* @__PURE__ */ p("div", {
4840
+ className: "flex items-center gap-3",
4841
+ children: e.displayMode === "popup" && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("button", {
4842
+ onClick: () => b(!y),
4843
+ title: y ? "Minimize" : "Expand",
4844
+ className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
4845
+ children: p(y ? ze : Re, { size: 18 })
4846
+ }), /* @__PURE__ */ p("button", {
4847
+ onClick: () => h(!1),
4848
+ className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
4849
+ children: /* @__PURE__ */ p(lt, { size: 24 })
4850
+ })] })
4851
+ })]
4852
+ }), /* @__PURE__ */ m("div", {
4853
+ className: "flex-1 flex flex-col items-center p-6 text-center",
4854
+ children: [
4855
+ et(),
4856
+ /* @__PURE__ */ p(bt, {
4857
+ qrUrl: Ze(pe.qr_url),
4858
+ schema: pe.schema || [],
4859
+ amount: ye.amount,
4860
+ currency: ye.currency,
4861
+ registrationNumber: F,
4862
+ apiClient: J,
4863
+ primaryColor: G,
4864
+ isDark: W,
4865
+ onSubmitted: (t) => {
4866
+ ve(!0), e.onEvent?.("custom_qr_submitted", {
4867
+ registration_number: F,
4868
+ answers: t
4869
+ });
4870
+ }
4871
+ }),
4872
+ /* @__PURE__ */ p("button", {
4873
+ part: "button button-link",
4874
+ onClick: Ke,
4875
+ className: `mt-4 w-full max-w-sm py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${W ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
4876
+ children: "Register Another Person"
4877
+ })
4878
+ ]
4879
+ })]
4880
+ }) : ce ? /* @__PURE__ */ m("div", {
4638
4881
  part: "screen screen-payment",
4639
- className: `flex flex-col h-full relative overflow-y-auto ${U ? "bg-black text-white" : "bg-white text-gray-900"}`,
4882
+ className: `flex flex-col h-full relative overflow-y-auto ${W ? "bg-black text-white" : "bg-white text-gray-900"}`,
4640
4883
  children: [/* @__PURE__ */ m("div", {
4641
4884
  part: "screen-header",
4642
4885
  className: "p-4 shadow-sm flex justify-between items-center z-10",
4643
4886
  style: {
4644
- backgroundColor: W,
4887
+ backgroundColor: G,
4645
4888
  color: "white"
4646
4889
  },
4647
4890
  children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h2", {
@@ -4658,11 +4901,11 @@ var St = (e) => {
4658
4901
  onClick: () => b(!y),
4659
4902
  title: y ? "Minimize" : "Expand",
4660
4903
  className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
4661
- children: p(y ? Le : Fe, { size: 18 })
4904
+ children: p(y ? ze : Re, { size: 18 })
4662
4905
  }), /* @__PURE__ */ p("button", {
4663
4906
  onClick: () => h(!1),
4664
4907
  className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
4665
- children: /* @__PURE__ */ p(st, { size: 24 })
4908
+ children: /* @__PURE__ */ p(lt, { size: 24 })
4666
4909
  })] })
4667
4910
  })]
4668
4911
  }), /* @__PURE__ */ m("div", {
@@ -4671,37 +4914,37 @@ var St = (e) => {
4671
4914
  /* @__PURE__ */ p("div", {
4672
4915
  className: "w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md",
4673
4916
  style: {
4674
- backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
4675
- color: W
4917
+ backgroundColor: `color-mix(in srgb, ${G} 12%, transparent)`,
4918
+ color: G
4676
4919
  },
4677
4920
  children: "💳"
4678
4921
  }),
4679
4922
  /* @__PURE__ */ p("h3", {
4680
4923
  part: "screen-title",
4681
- className: `text-2xl font-bold mb-2 ${U ? "text-white" : "text-gray-900"}`,
4924
+ className: `text-2xl font-bold mb-2 ${W ? "text-white" : "text-gray-900"}`,
4682
4925
  style: $,
4683
4926
  children: "Done Your Payment First"
4684
4927
  }),
4685
4928
  /* @__PURE__ */ p("p", {
4686
4929
  part: "screen-message",
4687
- className: `text-sm mb-6 max-w-xs leading-relaxed ${U ? "text-zinc-300" : "text-gray-600"}`,
4930
+ className: `text-sm mb-6 max-w-xs leading-relaxed ${W ? "text-zinc-300" : "text-gray-600"}`,
4688
4931
  children: "Please complete your payment in the new tab to confirm your booking and finalize your registration."
4689
4932
  }),
4690
- Be(),
4933
+ et(),
4691
4934
  /* @__PURE__ */ m("div", {
4692
4935
  className: "w-full max-w-xs space-y-3",
4693
4936
  children: [/* @__PURE__ */ m("a", {
4694
4937
  part: "button button-primary",
4695
- href: ae,
4938
+ href: ce,
4696
4939
  target: "_blank",
4697
4940
  rel: "noopener noreferrer",
4698
4941
  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",
4699
- style: { backgroundColor: W },
4700
- children: [/* @__PURE__ */ p("span", { children: "Open Payment Page" }), /* @__PURE__ */ p(ve, { size: 16 })]
4942
+ style: { backgroundColor: G },
4943
+ children: [/* @__PURE__ */ p("span", { children: "Open Payment Page" }), /* @__PURE__ */ p(Se, { size: 16 })]
4701
4944
  }), /* @__PURE__ */ p("button", {
4702
4945
  part: "button button-link",
4703
- onClick: Pe,
4704
- className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${U ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
4946
+ onClick: Ke,
4947
+ className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${W ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
4705
4948
  children: "Register Another Person"
4706
4949
  })]
4707
4950
  })
@@ -4709,140 +4952,148 @@ var St = (e) => {
4709
4952
  })]
4710
4953
  }) : /* @__PURE__ */ m("div", {
4711
4954
  part: "screen screen-success",
4712
- className: `flex flex-col h-full items-center justify-center p-8 text-center relative ${U ? "bg-black text-white" : "bg-white text-gray-900"}`,
4955
+ className: `flex flex-col h-full items-center justify-center p-8 text-center relative ${W ? "bg-black text-white" : "bg-white text-gray-900"}`,
4713
4956
  children: [
4714
4957
  e.displayMode === "popup" && /* @__PURE__ */ p("div", {
4715
4958
  className: "absolute top-4 right-4 flex items-center gap-2",
4716
4959
  children: /* @__PURE__ */ p("button", {
4717
4960
  onClick: () => h(!1),
4718
- className: `cursor-pointer ${U ? "text-zinc-400 hover:text-white" : "text-gray-400 hover:text-gray-900"}`,
4719
- children: /* @__PURE__ */ p(st, { size: 24 })
4961
+ className: `cursor-pointer ${W ? "text-zinc-400 hover:text-white" : "text-gray-400 hover:text-gray-900"}`,
4962
+ children: /* @__PURE__ */ p(lt, { size: 24 })
4720
4963
  })
4721
4964
  }),
4722
4965
  /* @__PURE__ */ p("div", {
4723
4966
  className: "w-20 h-20 rounded-full flex items-center justify-center mb-6 text-4xl shadow-md",
4724
4967
  style: {
4725
- backgroundColor: W,
4968
+ backgroundColor: G,
4726
4969
  color: "white"
4727
4970
  },
4728
4971
  children: "✓"
4729
4972
  }),
4730
4973
  /* @__PURE__ */ p("h2", {
4731
4974
  part: "screen-title",
4732
- className: `text-3xl font-bold mb-3 ${U ? "text-white" : "text-gray-900"}`,
4975
+ className: `text-3xl font-bold mb-3 ${W ? "text-white" : "text-gray-900"}`,
4733
4976
  style: $,
4734
- children: G ? "Abstract Submitted Successfully" : "Thank You!"
4977
+ children: K ? "Abstract Submitted Successfully" : "Thank You!"
4735
4978
  }),
4736
4979
  /* @__PURE__ */ p("p", {
4737
4980
  part: "screen-message",
4738
- className: `mb-6 ${U ? "text-zinc-300" : "text-gray-600"}`,
4739
- children: G ? "Your reference submission number is below." : "Your registration has been successfully received."
4981
+ className: `mb-6 ${W ? "text-zinc-300" : "text-gray-600"}`,
4982
+ children: K ? "Your reference submission number is below." : "Your registration has been successfully received."
4740
4983
  }),
4741
- Be(),
4742
- I !== null && /* @__PURE__ */ p("p", {
4984
+ et(),
4985
+ _e && /* @__PURE__ */ p("p", {
4743
4986
  part: "payment-status",
4744
- className: `text-sm mb-6 max-w-xs leading-relaxed ${U ? "text-zinc-300" : "text-gray-600"}`,
4745
- children: I ? "Your payment is confirmed." : "We haven't received your payment yet. If you have just paid, it will be confirmed shortly."
4987
+ className: `text-sm mb-6 max-w-xs leading-relaxed ${W ? "text-zinc-300" : "text-gray-600"}`,
4988
+ children: "We have your payment details. Your registration is confirmed once the transfer is verified."
4989
+ }),
4990
+ ue !== null && /* @__PURE__ */ p("p", {
4991
+ part: "payment-status",
4992
+ className: `text-sm mb-6 max-w-xs leading-relaxed ${W ? "text-zinc-300" : "text-gray-600"}`,
4993
+ children: ue ? "Your payment is confirmed." : "We haven't received your payment yet. If you have just paid, it will be confirmed shortly."
4746
4994
  }),
4747
4995
  /* @__PURE__ */ p("button", {
4748
4996
  part: "button button-primary",
4749
- onClick: Pe,
4750
- style: { backgroundColor: W },
4997
+ onClick: Ke,
4998
+ style: { backgroundColor: G },
4751
4999
  className: "text-white font-bold py-3 px-8 rounded-md hover:opacity-90 transition-opacity shadow-md cursor-pointer",
4752
5000
  children: "Back"
4753
5001
  })
4754
5002
  ]
4755
- }) : re ? /* @__PURE__ */ m("div", {
4756
- part: "screen screen-error",
4757
- className: `flex flex-col h-full relative overflow-y-auto ${U ? "bg-black text-white" : "bg-white text-gray-900"}`,
4758
- children: [/* @__PURE__ */ m("div", {
4759
- part: "screen-header",
4760
- className: "p-4 shadow-sm flex justify-between items-center z-10 bg-red-600 text-white",
4761
- children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h2", {
4762
- part: "screen-header-title",
4763
- className: "text-xl font-bold",
4764
- style: $,
4765
- children: G ? "Submission Failed" : "Registration Failed"
4766
- }), /* @__PURE__ */ p("p", {
4767
- className: "text-xs opacity-90 mt-0.5",
4768
- children: "Please try again"
4769
- })] }), /* @__PURE__ */ p("div", {
4770
- className: "flex items-center gap-3",
4771
- children: e.displayMode === "popup" && /* @__PURE__ */ p("button", {
4772
- onClick: () => h(!1),
4773
- className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer",
4774
- children: /* @__PURE__ */ p(st, { size: 24 })
5003
+ }) : ae ? (() => {
5004
+ let t = !K && /already registered/i.test(String(ae));
5005
+ return /* @__PURE__ */ m("div", {
5006
+ part: "screen screen-error",
5007
+ className: `flex flex-col h-full relative overflow-y-auto ${W ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
5008
+ style: nt,
5009
+ children: [e.displayMode === "popup" && /* @__PURE__ */ p("button", {
5010
+ onClick: () => h(!1),
5011
+ className: `absolute top-4 right-4 z-10 cursor-pointer ${W ? "text-zinc-400 hover:text-white" : "text-slate-400 hover:text-slate-900"}`,
5012
+ "aria-label": "Close",
5013
+ children: /* @__PURE__ */ p(lt, { size: 22 })
5014
+ }), /* @__PURE__ */ p("div", {
5015
+ className: "flex-1 flex items-center justify-center p-6 sm:p-10",
5016
+ children: /* @__PURE__ */ m("div", {
5017
+ part: "error-card",
5018
+ className: `w-full max-w-md rounded-3xl border p-7 sm:p-9 text-center ${W ? "bg-zinc-900 border-zinc-800" : "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.22)]"}`,
5019
+ children: [
5020
+ /* @__PURE__ */ p("div", {
5021
+ className: "mx-auto mb-5 w-14 h-14 rounded-2xl flex items-center justify-center",
5022
+ style: {
5023
+ backgroundColor: `color-mix(in srgb, ${t ? G : "#f59e0b"} ${W ? 18 : 10}%, transparent)`,
5024
+ color: t ? G : "#d97706"
5025
+ },
5026
+ children: t ? /* @__PURE__ */ p(Pe, { size: 24 }) : /* @__PURE__ */ p(I, { size: 26 })
5027
+ }),
5028
+ /* @__PURE__ */ p("h3", {
5029
+ part: "screen-title",
5030
+ className: `text-xl sm:text-2xl font-bold tracking-tight mb-2 ${W ? "text-white" : "text-slate-900"}`,
5031
+ style: $,
5032
+ children: t ? "You're already registered" : K ? "We couldn't submit your abstract" : "We couldn't complete your registration"
5033
+ }),
5034
+ /* @__PURE__ */ p("p", {
5035
+ part: "screen-message",
5036
+ className: `text-sm leading-relaxed mb-7 ${W ? "text-zinc-400" : "text-slate-500"}`,
5037
+ children: t ? "This email already has a registration for this event. Log in to view or update it." : ae
5038
+ }),
5039
+ /* @__PURE__ */ m("div", {
5040
+ className: "space-y-2.5",
5041
+ children: [/* @__PURE__ */ p("button", {
5042
+ part: "button button-primary",
5043
+ onClick: () => {
5044
+ oe(null), t && (E(null), n("attendee"));
5045
+ },
5046
+ style: {
5047
+ background: `linear-gradient(135deg, ${G}, color-mix(in srgb, ${G} 80%, black))`,
5048
+ boxShadow: `0 10px 24px -12px color-mix(in srgb, ${G} 70%, transparent)`
5049
+ },
5050
+ className: "w-full h-12 inline-flex items-center justify-center gap-2 rounded-xl text-sm font-semibold text-white transition-all hover:brightness-110 active:scale-[0.99] cursor-pointer",
5051
+ children: t ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(Pe, { size: 16 }), " Go to Attendee Login"] }) : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(te, { size: 16 }), " Back to the form"] })
5052
+ }), /* @__PURE__ */ p("button", {
5053
+ part: "button button-secondary",
5054
+ onClick: () => {
5055
+ oe(null), E(null);
5056
+ },
5057
+ className: `w-full h-11 inline-flex items-center justify-center rounded-xl text-sm font-semibold border transition-colors cursor-pointer ${W ? "border-zinc-700 text-zinc-300 hover:bg-zinc-800" : "border-slate-200 text-slate-600 bg-white hover:bg-slate-50"}`,
5058
+ children: t ? "Register someone else" : K ? "Choose another category" : "Choose another ticket"
5059
+ })]
5060
+ })
5061
+ ]
4775
5062
  })
4776
5063
  })]
4777
- }), /* @__PURE__ */ m("div", {
4778
- className: "flex-1 flex flex-col items-center justify-center p-6 text-center",
4779
- children: [
4780
- /* @__PURE__ */ p("div", {
4781
- className: `w-16 h-16 rounded-full flex items-center justify-center mb-4 text-2xl shadow-md border ${U ? "bg-red-950/60 text-red-400 border-red-900" : "bg-red-50 text-red-600 border-red-200"}`,
4782
- children: "✕"
4783
- }),
4784
- /* @__PURE__ */ p("h3", {
4785
- part: "screen-title",
4786
- className: `text-2xl font-bold mb-2 ${U ? "text-white" : "text-gray-900"}`,
4787
- style: $,
4788
- children: "Submission Error"
4789
- }),
4790
- /* @__PURE__ */ p("p", {
4791
- part: "screen-message",
4792
- className: `text-sm mb-6 max-w-xs leading-relaxed ${U ? "text-zinc-300" : "text-gray-600"}`,
4793
- children: re
4794
- }),
4795
- /* @__PURE__ */ m("div", {
4796
- className: "w-full max-w-xs space-y-3",
4797
- children: [/* @__PURE__ */ p("button", {
4798
- part: "button button-primary",
4799
- onClick: () => ie(null),
4800
- style: { backgroundColor: W },
4801
- 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",
4802
- children: /* @__PURE__ */ p("span", { children: "Try Again" })
4803
- }), /* @__PURE__ */ p("button", {
4804
- part: "button button-link",
4805
- onClick: () => {
4806
- ie(null), E(null);
4807
- },
4808
- className: `w-full py-2.5 px-4 text-sm font-semibold transition-colors cursor-pointer ${U ? "text-zinc-400 hover:text-white" : "text-gray-500 hover:text-gray-900"}`,
4809
- children: G ? "Choose Another Category" : "Choose Another Ticket"
4810
- })]
4811
- })
4812
- ]
4813
- })]
4814
- }) : T ? /* @__PURE__ */ p(_t, {
4815
- schema: G ? ee : T.form_schema,
5064
+ });
5065
+ })() : T ? /* @__PURE__ */ p(yt, {
5066
+ schema: K ? ee : T.form_schema,
4816
5067
  ticketType: T,
4817
5068
  theme: e.theme,
4818
5069
  displayMode: e.displayMode,
4819
- backgroundStyle: He,
5070
+ backgroundStyle: nt,
4820
5071
  isExpanded: y,
4821
5072
  onToggleExpand: () => b(!y),
4822
5073
  onClose: () => h(!1),
4823
- onSubmit: Ne,
4824
- onChange: Me,
4825
- initialValues: je,
4826
- fileAnswers: X?.file_answers,
4827
- isDark: U,
4828
- apiClient: q,
4829
- storage: J,
5074
+ onSubmit: Ge,
5075
+ onChange: We,
5076
+ initialValues: Ue,
5077
+ fileAnswers: Z?.file_answers,
5078
+ isDark: W,
5079
+ apiClient: J,
5080
+ storage: Y,
4830
5081
  onError: e.onError,
4831
5082
  onEvent: e.onEvent,
4832
- showReviewFields: G,
5083
+ showReviewFields: K,
4833
5084
  onBack: () => {
4834
- Y.current && clearTimeout(Y.current), E(null);
5085
+ X.current && clearTimeout(X.current), E(null);
4835
5086
  }
4836
5087
  }) : /* @__PURE__ */ m("div", {
4837
5088
  part: "page",
4838
- className: `flex flex-col ${Z ? "w-full flex-1" : "h-full min-h-0"} ${U ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
5089
+ className: `flex flex-col ${Q ? "w-full flex-1" : "h-full min-h-0"} ${W ? "bg-zinc-950 text-white" : "bg-slate-50 text-slate-900"}`,
4839
5090
  children: [
4840
5091
  /* @__PURE__ */ m("div", {
4841
5092
  part: "header",
4842
5093
  className: "relative overflow-hidden z-10 shrink-0 text-white",
4843
5094
  style: {
4844
- backgroundColor: W,
4845
- background: `linear-gradient(135deg, ${W} 0%, color-mix(in srgb, ${W} 76%, black) 100%)`
5095
+ backgroundColor: G,
5096
+ background: `linear-gradient(135deg, ${G} 0%, color-mix(in srgb, ${G} 76%, black) 100%)`
4846
5097
  },
4847
5098
  children: [
4848
5099
  /* @__PURE__ */ p("div", {
@@ -4858,16 +5109,16 @@ var St = (e) => {
4858
5109
  "aria-hidden": "true",
4859
5110
  className: "pointer-events-none absolute -top-24 -right-10 h-64 w-64 rounded-full bg-white/15 blur-3xl"
4860
5111
  }),
4861
- Te && /* @__PURE__ */ m("div", {
5112
+ Fe && /* @__PURE__ */ m("div", {
4862
5113
  className: "absolute inset-y-0 right-0 flex max-w-[65%] pointer-events-none select-none",
4863
5114
  children: [/* @__PURE__ */ p("img", {
4864
- src: Te,
5115
+ src: Fe,
4865
5116
  alt: "",
4866
5117
  "aria-hidden": "true",
4867
5118
  className: "h-full w-auto object-cover object-right"
4868
5119
  }), /* @__PURE__ */ p("div", {
4869
5120
  className: "absolute inset-y-0 left-0 w-2/5",
4870
- style: { background: `linear-gradient(to right, color-mix(in srgb, ${W} 80%, black) 0%, transparent 100%)` }
5121
+ style: { background: `linear-gradient(to right, color-mix(in srgb, ${G} 80%, black) 0%, transparent 100%)` }
4871
5122
  })]
4872
5123
  }),
4873
5124
  /* @__PURE__ */ m("div", {
@@ -4876,7 +5127,7 @@ var St = (e) => {
4876
5127
  className: "flex items-center gap-3.5 min-w-0",
4877
5128
  children: [/* @__PURE__ */ p("div", {
4878
5129
  className: "w-11 h-11 rounded-2xl bg-white/15 ring-1 ring-inset ring-white/30 flex items-center justify-center shrink-0 shadow-[inset_0_1px_0_rgba(255,255,255,0.25)]",
4879
- children: /* @__PURE__ */ p(qe, {
5130
+ children: /* @__PURE__ */ p(Xe, {
4880
5131
  size: 20,
4881
5132
  className: "text-white"
4882
5133
  })
@@ -4888,7 +5139,7 @@ var St = (e) => {
4888
5139
  part: "header-title",
4889
5140
  className: "text-lg sm:text-2xl font-bold tracking-tight leading-tight break-words",
4890
5141
  style: $,
4891
- children: Ke
5142
+ children: ot
4892
5143
  }), /* @__PURE__ */ m("span", {
4893
5144
  className: "hidden sm:inline-flex shrink-0 items-center gap-1.5 text-[10px] font-semibold px-2 py-0.5 rounded-full bg-white/15 ring-1 ring-inset ring-white/25 uppercase tracking-wider",
4894
5145
  children: [/* @__PURE__ */ p("span", { className: "h-1.5 w-1.5 rounded-full bg-emerald-300" }), "Official Portal"]
@@ -4896,7 +5147,7 @@ var St = (e) => {
4896
5147
  }), /* @__PURE__ */ p("p", {
4897
5148
  part: "header-subtitle",
4898
5149
  className: "text-xs sm:text-sm text-white/80 mt-0.5",
4899
- children: G ? "Select a category below to submit your abstract" : t === "registration" ? "Select a registration type below to begin your application" : "Registration & Profile Management"
5150
+ children: K ? "Select a category below to submit your abstract" : t === "registration" ? "Select a registration type below to begin your application" : "Registration & Profile Management"
4900
5151
  })]
4901
5152
  })]
4902
5153
  }), /* @__PURE__ */ p("div", {
@@ -4905,32 +5156,32 @@ var St = (e) => {
4905
5156
  onClick: () => b(!y),
4906
5157
  title: y ? "Minimize" : "Expand",
4907
5158
  className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer p-1",
4908
- children: p(y ? Le : Fe, { size: 18 })
5159
+ children: p(y ? ze : Re, { size: 18 })
4909
5160
  }), /* @__PURE__ */ p("button", {
4910
5161
  onClick: () => h(!1),
4911
5162
  className: "opacity-80 hover:opacity-100 transition-opacity cursor-pointer p-1",
4912
- children: /* @__PURE__ */ p(st, { size: 22 })
5163
+ children: /* @__PURE__ */ p(lt, { size: 22 })
4913
5164
  })] })
4914
5165
  })]
4915
5166
  })
4916
5167
  ]
4917
5168
  }),
4918
- !G && /* @__PURE__ */ p("div", {
5169
+ !K && /* @__PURE__ */ p("div", {
4919
5170
  part: "tabs",
4920
- className: `shrink-0 border-b ${U ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
5171
+ className: `shrink-0 border-b ${W ? "border-zinc-800 bg-zinc-900" : "border-slate-200 bg-white"}`,
4921
5172
  children: /* @__PURE__ */ p("div", {
4922
5173
  className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-3",
4923
5174
  children: /* @__PURE__ */ p("div", {
4924
5175
  role: "tablist",
4925
- className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${U ? "bg-zinc-800" : "bg-slate-100"}`,
5176
+ className: `grid grid-cols-2 gap-1 p-1 rounded-xl max-w-md ${W ? "bg-zinc-800" : "bg-slate-100"}`,
4926
5177
  children: [{
4927
5178
  key: "registration",
4928
5179
  label: "Registration Forms",
4929
- Icon: de
5180
+ Icon: fe
4930
5181
  }, {
4931
5182
  key: "attendee",
4932
5183
  label: "Attendee Login",
4933
- Icon: Oe
5184
+ Icon: Pe
4934
5185
  }].map(({ key: e, label: r, Icon: i }) => {
4935
5186
  let a = t === e;
4936
5187
  return /* @__PURE__ */ m("button", {
@@ -4939,8 +5190,8 @@ var St = (e) => {
4939
5190
  "aria-selected": a,
4940
5191
  type: "button",
4941
5192
  onClick: () => n(e),
4942
- className: `inline-flex items-center justify-center gap-1.5 sm:gap-2 py-2 px-2 sm:px-3 text-[13px] sm:text-sm font-semibold rounded-lg transition-all cursor-pointer ${a ? U ? "bg-zinc-950 shadow-sm" : "bg-white shadow-sm ring-1 ring-slate-200/70" : U ? "text-zinc-400 hover:text-zinc-200" : "text-slate-500 hover:text-slate-800"}`,
4943
- style: a ? { color: W } : void 0,
5193
+ 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 ? W ? "bg-zinc-950 shadow-sm" : "bg-white shadow-sm ring-1 ring-slate-200/70" : W ? "text-zinc-400 hover:text-zinc-200" : "text-slate-500 hover:text-slate-800"}`,
5194
+ style: a ? { color: G } : void 0,
4944
5195
  children: [/* @__PURE__ */ p(i, {
4945
5196
  size: 15,
4946
5197
  className: "hidden sm:block shrink-0"
@@ -4953,26 +5204,26 @@ var St = (e) => {
4953
5204
  })
4954
5205
  })
4955
5206
  }),
4956
- (G || t === "registration") && /* @__PURE__ */ p("div", {
5207
+ (K || t === "registration") && /* @__PURE__ */ p("div", {
4957
5208
  part: "list",
4958
- className: `${Z ? "w-full flex-1" : "overflow-y-auto flex-1 min-h-0 overscroll-contain"} relative ${U ? "bg-zinc-950" : "bg-slate-50"}`,
4959
- style: He,
5209
+ className: `${Q ? "w-full flex-1" : "overflow-y-auto flex-1 min-h-0 overscroll-contain"} relative ${W ? "bg-zinc-950" : "bg-slate-50"}`,
5210
+ style: nt,
4960
5211
  children: /* @__PURE__ */ p("div", {
4961
5212
  className: "max-w-6xl mx-auto w-full px-4 sm:px-6 py-6 sm:py-8 space-y-5",
4962
- children: G ? Qe() : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
5213
+ children: K ? dt() : /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
4963
5214
  part: "search",
4964
5215
  className: "flex flex-col sm:flex-row sm:items-end sm:justify-between gap-3",
4965
5216
  children: [/* @__PURE__ */ m("div", {
4966
5217
  className: "min-w-0",
4967
5218
  children: [/* @__PURE__ */ p("h3", {
4968
5219
  part: "list-title",
4969
- className: `text-base sm:text-lg font-semibold tracking-tight ${U ? "text-white" : "text-slate-900"}`,
5220
+ className: `text-base sm:text-lg font-semibold tracking-tight ${W ? "text-white" : "text-slate-900"}`,
4970
5221
  style: $,
4971
- children: G ? "Choose a submission category" : "Choose your registration type"
5222
+ children: K ? "Choose a submission category" : "Choose your registration type"
4972
5223
  }), x.length > 0 && /* @__PURE__ */ p("p", {
4973
5224
  part: "list-count",
4974
- className: `text-xs mt-0.5 ${U ? "text-zinc-400" : "text-slate-500"}`,
4975
- children: Je ? `${Xe.length} of ${x.length} options` : `${x.length} ${x.length === 1 ? "option" : "options"} available`
5225
+ className: `text-xs mt-0.5 ${W ? "text-zinc-400" : "text-slate-500"}`,
5226
+ children: st ? `${ct.length} of ${x.length} options` : `${x.length} ${x.length === 1 ? "option" : "options"} available`
4976
5227
  })]
4977
5228
  }), /* @__PURE__ */ m("div", {
4978
5229
  className: "relative w-full sm:w-72",
@@ -4982,13 +5233,13 @@ var St = (e) => {
4982
5233
  type: "text",
4983
5234
  value: j,
4984
5235
  onChange: (e) => M(e.target.value),
4985
- placeholder: G ? "Search categories…" : "Search registration types…",
5236
+ placeholder: K ? "Search categories…" : "Search registration types…",
4986
5237
  "aria-label": "Search",
4987
- className: `w-full h-10 pl-9 pr-8 text-sm rounded-xl border transition-all focus:outline-none focus:border-(--vx-accent) focus:ring-4 focus:ring-[color-mix(in_srgb,var(--vx-accent)_15%,transparent)] ${U ? "bg-zinc-900 border-zinc-700 text-white placeholder:text-zinc-500" : "bg-white border-slate-200 text-slate-900 placeholder:text-slate-400 shadow-[0_1px_2px_rgba(15,23,42,0.04)]"}`
5238
+ 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)] ${W ? "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)]"}`
4988
5239
  }),
4989
5240
  /* @__PURE__ */ p("div", {
4990
- className: `absolute inset-y-0 left-3 flex items-center pointer-events-none ${U ? "text-zinc-500" : "text-slate-400"}`,
4991
- children: /* @__PURE__ */ p(Ge, {
5241
+ className: `absolute inset-y-0 left-3 flex items-center pointer-events-none ${W ? "text-zinc-500" : "text-slate-400"}`,
5242
+ children: /* @__PURE__ */ p(Je, {
4992
5243
  size: 15,
4993
5244
  className: "block"
4994
5245
  })
@@ -4997,21 +5248,21 @@ var St = (e) => {
4997
5248
  type: "button",
4998
5249
  onClick: () => M(""),
4999
5250
  "aria-label": "Clear search",
5000
- className: `absolute inset-y-0 right-2.5 flex items-center cursor-pointer ${U ? "text-zinc-500 hover:text-zinc-300" : "text-slate-400 hover:text-slate-600"}`,
5001
- children: /* @__PURE__ */ p(st, { size: 14 })
5251
+ className: `absolute inset-y-0 right-2.5 flex items-center cursor-pointer ${W ? "text-zinc-500 hover:text-zinc-300" : "text-slate-400 hover:text-slate-600"}`,
5252
+ children: /* @__PURE__ */ p(lt, { size: 14 })
5002
5253
  })
5003
5254
  ]
5004
5255
  })]
5005
- }), x.length === 0 ? null : Xe.length === 0 ? /* @__PURE__ */ m("div", {
5256
+ }), x.length === 0 ? null : ct.length === 0 ? /* @__PURE__ */ m("div", {
5006
5257
  part: "empty-state",
5007
- className: `flex flex-col items-center text-center py-16 px-6 rounded-3xl border border-dashed ${U ? "bg-zinc-900/60 border-zinc-800 text-zinc-400" : "bg-white/70 border-slate-300 text-slate-500"}`,
5258
+ className: `flex flex-col items-center text-center py-16 px-6 rounded-3xl border border-dashed ${W ? "bg-zinc-900/60 border-zinc-800 text-zinc-400" : "bg-white/70 border-slate-300 text-slate-500"}`,
5008
5259
  children: [
5009
5260
  /* @__PURE__ */ p("div", {
5010
- className: `w-12 h-12 rounded-2xl flex items-center justify-center mb-4 ${U ? "bg-zinc-800" : "bg-slate-100"}`,
5011
- children: /* @__PURE__ */ p(Ge, { size: 20 })
5261
+ className: `w-12 h-12 rounded-2xl flex items-center justify-center mb-4 ${W ? "bg-zinc-800" : "bg-slate-100"}`,
5262
+ children: /* @__PURE__ */ p(Je, { size: 20 })
5012
5263
  }),
5013
5264
  /* @__PURE__ */ m("p", {
5014
- className: `text-base font-semibold ${U ? "text-white" : "text-slate-900"}`,
5265
+ className: `text-base font-semibold ${W ? "text-white" : "text-slate-900"}`,
5015
5266
  children: [
5016
5267
  "No matches for “",
5017
5268
  j.trim(),
@@ -5025,15 +5276,15 @@ var St = (e) => {
5025
5276
  /* @__PURE__ */ p("button", {
5026
5277
  part: "button button-secondary",
5027
5278
  onClick: () => M(""),
5028
- className: `mt-5 px-4 py-2 rounded-full text-sm font-semibold border cursor-pointer transition-colors ${U ? "border-zinc-700 text-zinc-200 hover:bg-zinc-800" : "border-slate-200 bg-white text-slate-700 hover:bg-slate-50"}`,
5279
+ className: `mt-5 px-4 py-2 rounded-full text-sm font-semibold border cursor-pointer transition-colors ${W ? "border-zinc-700 text-zinc-200 hover:bg-zinc-800" : "border-slate-200 bg-white text-slate-700 hover:bg-slate-50"}`,
5029
5280
  children: "Clear search"
5030
5281
  })
5031
5282
  ]
5032
5283
  }) : /* @__PURE__ */ p("div", {
5033
5284
  part: "card-grid",
5034
- className: Z ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
5035
- children: Xe.map((e) => {
5036
- let t = e.type || e.name || e.label, n = e.price !== void 0 && e.price !== null && e.price !== "", r = n && (Number(e.price) === 0 || String(e.price).toLowerCase() === "free"), i = (Array.isArray(e.items) ? e.items : []).filter((e) => e?.name).map((t) => t.mode === "optional" && Number(t.price) > 0 ? `${t.name} (+ ${[e.currency, Number(t.price).toLocaleString()].filter(Boolean).join(" ")})` : t.name), a = G ? be : Ye;
5285
+ className: Q ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" : "space-y-3",
5286
+ children: ct.map((e) => {
5287
+ 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 = K ? we : Qe;
5037
5288
  return /* @__PURE__ */ m("div", {
5038
5289
  part: "card",
5039
5290
  role: "button",
@@ -5043,44 +5294,44 @@ var St = (e) => {
5043
5294
  onKeyDown: (t) => {
5044
5295
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), E(e));
5045
5296
  },
5046
- className: `group relative flex flex-col rounded-2xl border p-5 sm:p-6 cursor-pointer transition-all duration-300 hover:-translate-y-1 outline-none focus-visible:ring-4 focus-visible:ring-[color-mix(in_srgb,var(--vx-accent)_25%,transparent)] hover:border-[color-mix(in_srgb,var(--vx-accent)_35%,transparent)] ${U ? "bg-zinc-900 border-zinc-800 hover:shadow-[0_24px_48px_-24px_rgba(0,0,0,0.8)]" : "bg-white border-slate-200/80 shadow-[0_1px_2px_rgba(15,23,42,0.04)] hover:shadow-[0_24px_48px_-24px_color-mix(in_srgb,var(--vx-accent)_45%,transparent)]"}`,
5297
+ 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)] ${W ? "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)]"}`,
5047
5298
  children: [
5048
5299
  /* @__PURE__ */ p("span", {
5049
5300
  "aria-hidden": "true",
5050
5301
  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",
5051
- style: { background: `linear-gradient(90deg, transparent, ${W}, transparent)` }
5302
+ style: { background: `linear-gradient(90deg, transparent, ${G}, transparent)` }
5052
5303
  }),
5053
5304
  /* @__PURE__ */ m("div", {
5054
5305
  className: "flex items-start justify-between gap-3",
5055
5306
  children: [/* @__PURE__ */ p("div", {
5056
5307
  className: "w-11 h-11 rounded-xl flex items-center justify-center shrink-0 transition-transform duration-300 group-hover:scale-105",
5057
5308
  style: {
5058
- backgroundColor: `color-mix(in srgb, ${W} 12%, transparent)`,
5059
- color: W
5309
+ backgroundColor: `color-mix(in srgb, ${G} 12%, transparent)`,
5310
+ color: G
5060
5311
  },
5061
5312
  children: /* @__PURE__ */ p(a, { size: 20 })
5062
5313
  }), (e.category || e.seats_left) && /* @__PURE__ */ m("div", {
5063
5314
  className: "flex flex-wrap justify-end items-center gap-1.5",
5064
5315
  children: [e.category && /* @__PURE__ */ p("span", {
5065
5316
  part: "card-category",
5066
- className: `text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full ${U ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
5317
+ className: `text-[10px] font-semibold uppercase tracking-wider px-2.5 py-1 rounded-full ${W ? "bg-zinc-800 text-zinc-300" : "bg-slate-100 text-slate-600"}`,
5067
5318
  children: e.category
5068
5319
  }), e.seats_left && /* @__PURE__ */ m("span", {
5069
5320
  part: "card-seats",
5070
- className: `text-[10px] font-semibold px-2.5 py-1 rounded-full flex items-center gap-1 ${U ? "bg-amber-950/60 text-amber-300" : "bg-amber-50 text-amber-700"}`,
5071
- children: [/* @__PURE__ */ p(fe, { size: 10 }), /* @__PURE__ */ p("span", { children: e.seats_left })]
5321
+ className: `text-[10px] font-semibold px-2.5 py-1 rounded-full flex items-center gap-1 ${W ? "bg-amber-950/60 text-amber-300" : "bg-amber-50 text-amber-700"}`,
5322
+ children: [/* @__PURE__ */ p(me, { size: 10 }), /* @__PURE__ */ p("span", { children: e.seats_left })]
5072
5323
  })]
5073
5324
  })]
5074
5325
  }),
5075
5326
  /* @__PURE__ */ p("h3", {
5076
5327
  part: "card-title",
5077
- className: `mt-4 text-lg font-semibold leading-snug tracking-tight ${U ? "text-white" : "text-slate-900"}`,
5328
+ className: `mt-4 text-lg font-semibold leading-snug tracking-tight ${W ? "text-white" : "text-slate-900"}`,
5078
5329
  style: $,
5079
5330
  children: t
5080
5331
  }),
5081
5332
  e.description && /* @__PURE__ */ p("p", {
5082
5333
  part: "card-description",
5083
- className: `mt-1.5 text-sm leading-relaxed line-clamp-2 ${U ? "text-zinc-400" : "text-slate-500"}`,
5334
+ className: `mt-1.5 text-sm leading-relaxed line-clamp-2 ${W ? "text-zinc-400" : "text-slate-500"}`,
5084
5335
  children: e.description
5085
5336
  }),
5086
5337
  i.length > 0 && /* @__PURE__ */ p("ul", {
@@ -5091,46 +5342,46 @@ var St = (e) => {
5091
5342
  children: [/* @__PURE__ */ p("span", {
5092
5343
  className: "mt-0.5 w-4 h-4 rounded-full flex items-center justify-center shrink-0",
5093
5344
  style: {
5094
- backgroundColor: `color-mix(in srgb, ${W} 14%, transparent)`,
5095
- color: W
5345
+ backgroundColor: `color-mix(in srgb, ${G} 14%, transparent)`,
5346
+ color: G
5096
5347
  },
5097
- children: /* @__PURE__ */ p(oe, {
5348
+ children: /* @__PURE__ */ p(se, {
5098
5349
  size: 10,
5099
5350
  strokeWidth: 3
5100
5351
  })
5101
5352
  }), /* @__PURE__ */ p("span", {
5102
- className: U ? "text-zinc-300" : "text-slate-600",
5353
+ className: W ? "text-zinc-300" : "text-slate-600",
5103
5354
  children: e
5104
5355
  })]
5105
5356
  }, t))
5106
5357
  }),
5107
5358
  /* @__PURE__ */ p("div", { className: "flex-1" }),
5108
5359
  /* @__PURE__ */ m("div", {
5109
- className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${U ? "border-zinc-800" : "border-slate-200"}`,
5360
+ className: `mt-6 pt-5 border-t border-dashed flex items-end justify-between gap-3 ${W ? "border-zinc-800" : "border-slate-200"}`,
5110
5361
  children: [/* @__PURE__ */ p("div", {
5111
5362
  className: "min-w-0",
5112
- children: n && !G ? /* @__PURE__ */ m(f, { children: [
5363
+ children: n && !K ? /* @__PURE__ */ m(f, { children: [
5113
5364
  /* @__PURE__ */ p("p", {
5114
- className: `text-[10px] font-semibold uppercase tracking-wider ${U ? "text-zinc-500" : "text-slate-400"}`,
5365
+ className: `text-[10px] font-semibold uppercase tracking-wider ${W ? "text-zinc-500" : "text-slate-400"}`,
5115
5366
  children: "Registration fee"
5116
5367
  }),
5117
5368
  /* @__PURE__ */ p("p", {
5118
5369
  part: "card-price",
5119
5370
  className: "text-2xl font-bold tracking-tight tabular-nums leading-tight",
5120
- style: { color: W },
5371
+ style: { color: G },
5121
5372
  children: r ? "Free" : [e.currency, Number(e.price).toLocaleString()].filter(Boolean).join(" ")
5122
5373
  }),
5123
5374
  e.tax_info && /* @__PURE__ */ p("p", {
5124
5375
  part: "card-tax",
5125
- className: `text-[11px] mt-0.5 ${U ? "text-zinc-500" : "text-slate-400"}`,
5376
+ className: `text-[11px] mt-0.5 ${W ? "text-zinc-500" : "text-slate-400"}`,
5126
5377
  children: e.tax_info
5127
5378
  })
5128
5379
  ] }) : null
5129
5380
  }), /* @__PURE__ */ m("span", {
5130
5381
  part: "button button-primary card-button",
5131
5382
  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)]",
5132
- style: { backgroundColor: W },
5133
- children: [G ? "Submit" : "Register", /* @__PURE__ */ p("span", {
5383
+ style: { backgroundColor: G },
5384
+ children: [K ? "Submit" : "Register", /* @__PURE__ */ p("span", {
5134
5385
  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",
5135
5386
  children: /* @__PURE__ */ p(ne, { size: 14 })
5136
5387
  })]
@@ -5142,23 +5393,23 @@ var St = (e) => {
5142
5393
  })] })
5143
5394
  })
5144
5395
  }),
5145
- !G && (r || t === "attendee") && /* @__PURE__ */ p("div", {
5396
+ !K && (r || t === "attendee") && /* @__PURE__ */ p("div", {
5146
5397
  part: "portal",
5147
- className: `${t === "attendee" ? "flex" : "hidden"} flex-col ${Z ? "w-full flex-1" : "flex-1 overflow-hidden min-h-0"}`,
5398
+ className: `${t === "attendee" ? "flex" : "hidden"} flex-col ${Q ? "w-full flex-1" : "flex-1 overflow-hidden min-h-0"}`,
5148
5399
  style: {
5149
- ...Z ? {} : { overflow: "clip" },
5150
- ...He
5400
+ ...Q ? {} : { overflow: "clip" },
5401
+ ...nt
5151
5402
  },
5152
- onScroll: Z ? void 0 : (e) => {
5403
+ onScroll: Q ? void 0 : (e) => {
5153
5404
  e.currentTarget.scrollTop !== 0 && (e.currentTarget.scrollTop = 0), e.currentTarget.scrollLeft !== 0 && (e.currentTarget.scrollLeft = 0);
5154
5405
  },
5155
- children: /* @__PURE__ */ p(yt, {
5156
- apiClient: q,
5157
- storage: J,
5158
- logger: K,
5159
- primaryColor: W,
5160
- isDark: U,
5161
- isWidgetPage: Z,
5406
+ children: /* @__PURE__ */ p(St, {
5407
+ apiClient: J,
5408
+ storage: Y,
5409
+ logger: q,
5410
+ primaryColor: G,
5411
+ isDark: W,
5412
+ isWidgetPage: Q,
5162
5413
  onEvent: e.onEvent,
5163
5414
  onError: e.onError
5164
5415
  })
@@ -5166,7 +5417,7 @@ var St = (e) => {
5166
5417
  ]
5167
5418
  })
5168
5419
  });
5169
- }, Tt = "/*! 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-20{z-index:20}.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-\\[18px\\]{height:18px}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing) * 48)}.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-11{min-height:calc(var(--spacing) * 11)}.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}.min-w-\\[18px\\]{min-width:18px}.min-w-fit{min-width:fit-content}.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-x-auto{overflow-x:auto}.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\\/25{background-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){.bg-white\\/25{background-color:color-mix(in oklab, var(--color-white) 25%, 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\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\\/90{background-color:color-mix(in oklab, var(--color-white) 90%, 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\\.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-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}.text-right{text-align:right}.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-\\[10\\.5px\\]{font-size:10.5px}.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-nowrap{white-space:nowrap}.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)}.accent-\\(--vx-accent\\){accent-color:var(--vx-accent)}.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_8px_24px_-14px_rgba\\(15\\,23\\,42\\,0\\.18\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 8px 24px -14px 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\\)\\,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-slate-100:hover{background-color:var(--color-slate-100)}.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)}}", Et = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif", Dt = ({ children: e, useShadow: t = !0, inheritFont: n = !1 }) => {
5420
+ }, Ot = "/*! 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-200:oklch(92.4% .12 95.746);--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-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--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-20{z-index:20}.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)}.mb-7{margin-bottom:calc(var(--spacing) * 7)}.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-44{height:calc(var(--spacing) * 44)}.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-\\[18px\\]{height:18px}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing) * 48)}.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-11{min-height:calc(var(--spacing) * 11)}.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-14{width:calc(var(--spacing) * 14)}.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-44{width:calc(var(--spacing) * 44)}.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}.min-w-\\[18px\\]{min-width:18px}.min-w-fit{min-width:fit-content}.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-2\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2.5) * 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-x-auto{overflow-x:auto}.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\\/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\\/50{background-color:#46190180}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\\/50{background-color:color-mix(in oklab, var(--color-amber-950) 50%, transparent)}}.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-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\\/25{background-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){.bg-white\\/25{background-color:color-mix(in oklab, var(--color-white) 25%, 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\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\\/90{background-color:color-mix(in oklab, var(--color-white) 90%, 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-7{padding:calc(var(--spacing) * 7)}.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\\.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-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}.text-right{text-align:right}.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-\\[10\\.5px\\]{font-size:10.5px}.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-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-200{color:var(--color-amber-200)}.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-amber-800{color:var(--color-amber-800)}.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-gray-400::placeholder{color:var(--color-gray-400)}.placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}.accent-\\(--vx-accent\\){accent-color:var(--vx-accent)}.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_8px_24px_-14px_rgba\\(15\\,23\\,42\\,0\\.18\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 8px 24px -14px 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\\)\\,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\\)\\,0_24px_48px_-24px_rgba\\(15\\,23\\,42\\,0\\.22\\)\\]{--tw-shadow:0 1px 2px var(--tw-shadow-color,#0f172a0a), 0 24px 48px -24px var(--tw-shadow-color,#0f172a38);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-amber-200{--tw-ring-color:var(--color-amber-200)}.ring-amber-900{--tw-ring-color:var(--color-amber-900)}.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-gray-500:hover{border-color:var(--color-gray-500)}.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-500:hover{border-color:var(--color-zinc-500)}.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-slate-100:hover{background-color:var(--color-slate-100)}.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\\:border-gray-500:focus{border-color:var(--color-gray-500)}.focus\\:border-zinc-500:focus{border-color:var(--color-zinc-500)}.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\\:p-9{padding:calc(var(--spacing) * 9)}.sm\\:p-10{padding:calc(var(--spacing) * 10)}.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)}}", kt = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif", At = ({ children: e, useShadow: t = !0, inheritFont: n = !1 }) => {
5170
5421
  let r = u(null), [i, a] = d(null);
5171
5422
  return c(() => {
5172
5423
  if (typeof document > "u" || !r.current || !t) return;
@@ -5177,20 +5428,20 @@ var St = (e) => {
5177
5428
  let t = document.createElement("style");
5178
5429
  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);
5179
5430
  let i = document.createElement("style");
5180
- i.textContent = Tt, 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);
5431
+ i.textContent = Ot, 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);
5181
5432
  }
5182
5433
  n && a(n);
5183
5434
  }, [t]), c(() => {
5184
- i && i.style.setProperty("font-family", n ? "var(--vx-font-family)" : `var(--vx-font-family, ${Et})`, "important");
5435
+ i && i.style.setProperty("font-family", n ? "var(--vx-font-family)" : `var(--vx-font-family, ${kt})`, "important");
5185
5436
  }, [i, n]), t ? /* @__PURE__ */ p("div", {
5186
5437
  ref: r,
5187
5438
  className: "w-full h-full",
5188
5439
  children: i && e ? h(e, i) : null
5189
5440
  }) : /* @__PURE__ */ p(f, { children: e });
5190
- }, Ot = ({ config: e }) => t.createElement(Dt, {
5441
+ }, jt = ({ config: e }) => t.createElement(At, {
5191
5442
  useShadow: !0,
5192
5443
  inheritFont: !e.theme?.fontFamily || e.theme.fontFamily === "inherit"
5193
- }, t.createElement(wt, { config: e })), kt = class {
5444
+ }, t.createElement(Dt, { config: e })), Mt = class {
5194
5445
  config;
5195
5446
  container = null;
5196
5447
  root = null;
@@ -5199,16 +5450,16 @@ var St = (e) => {
5199
5450
  }
5200
5451
  mount(n) {
5201
5452
  if (this.container = typeof n == "string" ? document.getElementById(n) : n, !this.container) throw Error("EventWidget: Mount container not found.");
5202
- this.root ||= e(this.container), this.root.render(t.createElement(Ot, { config: this.config }));
5453
+ this.root ||= e(this.container), this.root.render(t.createElement(jt, { config: this.config }));
5203
5454
  }
5204
5455
  updateConfig(e) {
5205
5456
  this.config = {
5206
5457
  ...this.config,
5207
5458
  ...e
5208
- }, this.root && this.root.render(t.createElement(Ot, { config: this.config }));
5459
+ }, this.root && this.root.render(t.createElement(jt, { config: this.config }));
5209
5460
  }
5210
5461
  setConfig(e) {
5211
- this.config = e, this.root && this.root.render(t.createElement(Ot, { config: this.config }));
5462
+ this.config = e, this.root && this.root.render(t.createElement(jt, { config: this.config }));
5212
5463
  }
5213
5464
  unmount() {
5214
5465
  if (this.root) {
@@ -5218,4 +5469,4 @@ var St = (e) => {
5218
5469
  }
5219
5470
  };
5220
5471
  //#endregion
5221
- export { Ot as EventWidget, kt as EventWidgetClient };
5472
+ export { jt as EventWidget, Mt as EventWidgetClient };