@vehiclehistory/property-lib 0.0.990 → 0.0.992

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.es.js CHANGED
@@ -200,6 +200,9 @@ const W = {
200
200
  foundationOutline: {
201
201
  path: '<rect fill="none" height="24" width="24"/><path d="M19,12h3L12,3L2,12h3v3H3v2h2v3h2v-3h4v3h2v-3h4v3h2v-3h2v-2h-2V12z M7,15v-4.81l4-3.6V15H7z M13,15V6.59l4,3.6V15H13z"/>'
202
202
  },
203
+ gavel: {
204
+ path: '<path fill="none" d="M0 0h24v24H0z"/><path d="m5.2496 8.0688 2.83-2.8268 14.134 14.15-2.83 2.8268zM9.4857 3.8272l2.828-2.8288 5.6576 5.656-2.828 2.8288zM.9989 12.3147l2.8284-2.8284L9.484 15.143l-2.8284 2.8284zM1 21h12v2H1z"/>'
205
+ },
203
206
  gite: {
204
207
  path: '<rect fill="none" height="24" width="24"/><path d="M18,6H9V4H7v2H6l-4,4v9h20v-9L18,6z M4,12h10v5H4V12z M20,17h-4v-6.17l2-2v0l2,2V17z"/>'
205
208
  },
@@ -501,7 +504,7 @@ const W = {
501
504
  size: a = "medium",
502
505
  viewBox: n = "0 0 20 20"
503
506
  }) => {
504
- const s = G(t), [l, i] = Z(d), [r, o] = Z(s);
507
+ const s = G(t), [r, i] = Z(d), [l, o] = Z(s);
505
508
  return N(() => {
506
509
  o(s);
507
510
  }, [s]), N(() => {
@@ -513,14 +516,14 @@ const W = {
513
516
  className: m(
514
517
  "fill-current flex-shrink-0",
515
518
  W[a],
516
- l,
519
+ r,
517
520
  e
518
521
  ),
519
522
  style: { maxWidth: "4em" },
520
523
  role: "presentation",
521
524
  viewBox: n,
522
525
  dangerouslySetInnerHTML: {
523
- __html: r && r.path
526
+ __html: l && l.path
524
527
  }
525
528
  }
526
529
  );
@@ -531,9 +534,9 @@ const W = {
531
534
  panelClass: a,
532
535
  title: n,
533
536
  unmount: s = !0,
534
- isOpen: l = !1
537
+ isOpen: r = !1
535
538
  }) => {
536
- const [i, r] = Z(l);
539
+ const [i, l] = Z(r);
537
540
  return /* @__PURE__ */ c(
538
541
  "div",
539
542
  {
@@ -554,7 +557,7 @@ const W = {
554
557
  ),
555
558
  title: n,
556
559
  onClick: () => {
557
- r(!i), t && t(!i);
560
+ l(!i), t && t(!i);
558
561
  },
559
562
  children: [
560
563
  /* @__PURE__ */ c("div", { className: "accordion-title font-medium text-slate-700 sm-max:!text-base text-lg flex items-center", children: n }),
@@ -600,10 +603,10 @@ const W = {
600
603
  messagesClass: a,
601
604
  title: n = "",
602
605
  titleClass: s = "",
603
- props: l = {},
606
+ props: r = {},
604
607
  type: i = "error"
605
608
  }) => {
606
- const r = {
609
+ const l = {
607
610
  error: {
608
611
  icon: "error",
609
612
  iconColor: "text-red-500",
@@ -624,24 +627,24 @@ const W = {
624
627
  iconColor: "text-yellow-500",
625
628
  styles: "bg-yellow-50 border-yellow-300 text-yellow-700"
626
629
  }
627
- }, { icon: o, iconColor: p, styles: u } = r[i];
630
+ }, { icon: o, iconColor: u, styles: p } = l[i];
628
631
  return /* @__PURE__ */ c(
629
632
  "div",
630
633
  {
631
634
  id: i,
632
635
  className: m(
633
636
  "rounded w-full py-2 px-4 mb-4 border",
634
- u,
637
+ p,
635
638
  e
636
639
  ),
637
- ...l,
640
+ ...r,
638
641
  children: /* @__PURE__ */ M("div", { className: "flex", children: [
639
642
  /* @__PURE__ */ c("div", { className: "flex-shrink-0", children: /* @__PURE__ */ c(
640
643
  x,
641
644
  {
642
645
  name: o,
643
646
  viewBox: "0 0 24 24",
644
- className: p,
647
+ className: u,
645
648
  size: "xSmall"
646
649
  }
647
650
  ) }),
@@ -670,19 +673,19 @@ const W = {
670
673
  defaultValue: a = "",
671
674
  floatingLabel: n = "",
672
675
  id: s = "",
673
- inputClass: l,
676
+ inputClass: r,
674
677
  leftIcon: i = "homeSearch",
675
- mobileBackdrop: r = !1,
678
+ mobileBackdrop: l = !1,
676
679
  name: o = "",
677
- options: p = [],
678
- parentProps: u = {},
680
+ options: u = [],
681
+ parentProps: p = {},
679
682
  placeholder: V = "",
680
683
  props: C = {},
681
684
  rightIcon: f = "",
682
- required: b = !1,
685
+ required: v = !1,
683
686
  showSearchIcon: A = !0,
684
687
  showRightIcon: h = !1,
685
- size: v = "medium",
688
+ size: b = "medium",
686
689
  styles: w = null,
687
690
  title: g = "",
688
691
  type: E,
@@ -699,7 +702,7 @@ const W = {
699
702
  "data-use-google": j,
700
703
  className: m("Autocomplete", e),
701
704
  style: w ? { ...w } : null,
702
- ...u,
705
+ ...p,
703
706
  children: [
704
707
  A && /* @__PURE__ */ M(
705
708
  "span",
@@ -707,7 +710,7 @@ const W = {
707
710
  className: m(
708
711
  "search-icon-left absolute inset-y-0 left-0 flex items-center pl-2",
709
712
  {
710
- "pointer-events-none": r
713
+ "pointer-events-none": l
711
714
  }
712
715
  ),
713
716
  children: [
@@ -716,7 +719,7 @@ const W = {
716
719
  {
717
720
  className: "home-search select-none text-gray-500",
718
721
  name: i,
719
- size: v === "xLarge" ? "small" : "xSmall",
722
+ size: b === "xLarge" ? "small" : "xSmall",
720
723
  viewBox: "0 0 24 24"
721
724
  }
722
725
  ),
@@ -725,7 +728,7 @@ const W = {
725
728
  {
726
729
  className: "arrow-left select-none text-gray-500 hidden",
727
730
  name: "arrowLeft",
728
- size: v === "xLarge" ? "small" : "xSmall",
731
+ size: b === "xLarge" ? "small" : "xSmall",
729
732
  viewBox: "0 0 24 24"
730
733
  }
731
734
  )
@@ -741,14 +744,14 @@ const W = {
741
744
  "w-full bg-white placeholder:bg-white rounded border border-gray-300 py-2 pr-8 shadow-sm focus:outline-none sm-max:text-sm placeholder:text-gray-500 sm-max:placeholder:text-sm placeholder-shown:text-ellipsis truncate",
742
745
  {
743
746
  "pl-8": A === !0,
744
- "px-3 h-10": v === "medium",
745
- "px-4 h-12": v === "large",
746
- "px-5 h-[60px] sm:!text-base": v === "xLarge",
747
+ "px-3 h-10": b === "medium",
748
+ "px-4 h-12": b === "large",
749
+ "px-5 h-[60px] sm:!text-base": b === "xLarge",
747
750
  peer: n
748
751
  },
749
- l
752
+ r
750
753
  ),
751
- required: b,
754
+ required: v,
752
755
  autoComplete: "off",
753
756
  placeholder: !V && n ? " " : V,
754
757
  type: "search",
@@ -765,9 +768,9 @@ const W = {
765
768
  "floating-label absolute text-sm !normal-case text-gray-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:text-[#222] peer-focus:px-2 peer-focus:bg-white peer-placeholder-shown:bg-white peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 pointer-events-none",
766
769
  {
767
770
  "!left-7": A === !0,
768
- "left-2": v === "medium",
769
- "left-3": v === "large",
770
- "left-4": v === "xLarge"
771
+ "left-2": b === "medium",
772
+ "left-3": b === "large",
773
+ "left-4": b === "xLarge"
771
774
  }
772
775
  ),
773
776
  children: n
@@ -828,7 +831,7 @@ const W = {
828
831
  "data-title": g,
829
832
  "aria-labelledby": "Label",
830
833
  "aria-activedescendant": "search-item-0",
831
- children: p.length > 0 ? p.map((k, z) => /* @__PURE__ */ c(
834
+ children: u.length > 0 ? u.map((k, z) => /* @__PURE__ */ c(
832
835
  "li",
833
836
  {
834
837
  id: `search-item-${z}`,
@@ -874,55 +877,57 @@ const W = {
874
877
  children: a,
875
878
  className: n,
876
879
  disabled: s = !1,
877
- href: l,
878
- props: i = {},
879
- rightIcon: r,
880
- rightIconProps: o = {},
880
+ href: r,
881
+ outline: i = !1,
882
+ props: l = {},
883
+ rightIcon: o,
884
+ rightIconProps: u = {},
881
885
  rounded: p = !1,
882
- size: u = "md",
883
- type: V = "button",
884
- uppercase: C = !1,
885
- variation: f = "primary"
886
+ size: V = "md",
887
+ type: C = "button",
888
+ uppercase: f = !1,
889
+ variation: v = "primary"
886
890
  }) => {
887
- const b = l ? "a" : "button";
891
+ const A = r ? "a" : "button";
888
892
  return /* @__PURE__ */ M(
889
- b,
893
+ A,
890
894
  {
891
- type: b !== "a" ? V : null,
895
+ type: A !== "a" ? C : null,
892
896
  className: m(
893
897
  "button",
894
898
  {
895
- [`button--${f}`]: f,
896
- [`button--${u}`]: u,
899
+ [`button--${v}`]: v,
900
+ [`button--${V}`]: V,
897
901
  "button--rounded": p,
898
902
  "button--disabled": s,
899
- "button--custom-link": l,
900
- "button--uppercase": C,
901
- "button--borderless": d || f === "link"
903
+ "button--outline": i,
904
+ "button--custom-link": r,
905
+ "button--uppercase": f,
906
+ "button--borderless": d || v === "link"
902
907
  },
903
908
  n
904
909
  ),
905
910
  disabled: s,
906
- href: l,
907
- ...i,
911
+ href: r,
912
+ ...l,
908
913
  children: [
909
914
  e && /* @__PURE__ */ c(
910
915
  x,
911
916
  {
912
917
  name: e,
913
- size: u === "md" ? "small" : "xSmall",
918
+ size: V === "md" ? "small" : "xSmall",
914
919
  viewBox: "0 0 24 24",
915
920
  ...t
916
921
  }
917
922
  ),
918
923
  a,
919
- r && /* @__PURE__ */ c(
924
+ o && /* @__PURE__ */ c(
920
925
  x,
921
926
  {
922
- name: r,
923
- size: u === "md" ? "small" : "xSmall",
927
+ name: o,
928
+ size: V === "md" ? "small" : "xSmall",
924
929
  viewBox: "0 0 24 24",
925
- ...o
930
+ ...u
926
931
  }
927
932
  )
928
933
  ]
@@ -935,15 +940,15 @@ const W = {
935
940
  error: a = !1,
936
941
  inputClass: n,
937
942
  id: s = "",
938
- label: l = "",
943
+ label: r = "",
939
944
  name: i = "",
940
- props: r = {},
945
+ props: l = {},
941
946
  variation: o = "primary",
942
- value: p = ""
947
+ value: u = ""
943
948
  }) => {
944
- const u = l ? "div" : "label", V = u === "label" ? { htmlFor: s } : {};
949
+ const p = r ? "div" : "label", V = p === "label" ? { htmlFor: s } : {};
945
950
  return /* @__PURE__ */ M(
946
- u,
951
+ p,
947
952
  {
948
953
  className: m("checkbox flex items-center", o, t),
949
954
  ...V,
@@ -962,8 +967,8 @@ const W = {
962
967
  id: s,
963
968
  name: i,
964
969
  type: "checkbox",
965
- value: p,
966
- ...r
970
+ value: u,
971
+ ...l
967
972
  }
968
973
  ),
969
974
  e
@@ -977,19 +982,19 @@ const W = {
977
982
  className: a,
978
983
  contentClass: n,
979
984
  customScrollbar: s = !0,
980
- dark: l = !1,
985
+ dark: r = !1,
981
986
  disableClose: i = !1,
982
- footer: r,
987
+ footer: l,
983
988
  fullMobile: o = !0,
984
- headerClass: p,
985
- hideClose: u = !1,
989
+ headerClass: u,
990
+ hideClose: p = !1,
986
991
  iconSize: V = "medium",
987
992
  preventPageScroll: C = !0,
988
993
  sheet: f = !1,
989
- sheetDirection: b = "right",
994
+ sheetDirection: v = "right",
990
995
  stickyHeader: A = !1,
991
996
  title: h = "",
992
- titleClass: v,
997
+ titleClass: b,
993
998
  useFormMethod: w = !0
994
999
  }) => {
995
1000
  const g = w ? "form" : "div";
@@ -1006,8 +1011,8 @@ const W = {
1006
1011
  {
1007
1012
  "dialog-full-mobile": o,
1008
1013
  "dialog-sheet": f,
1009
- dark: l,
1010
- "dialog-sheet--right": b === "right" && f,
1014
+ dark: r,
1015
+ "dialog-sheet--right": v === "right" && f,
1011
1016
  "prevent-scroll": C
1012
1017
  },
1013
1018
  a
@@ -1028,11 +1033,11 @@ const W = {
1028
1033
  "!pb-0 border-0 justify-end": !h,
1029
1034
  "justify-between border-b": h
1030
1035
  },
1031
- p
1036
+ u
1032
1037
  ),
1033
1038
  children: [
1034
- h && /* @__PURE__ */ c("h3", { id: `${e}-dialog-title`, className: v, children: h }),
1035
- !u && /* @__PURE__ */ c(
1039
+ h && /* @__PURE__ */ c("h3", { id: `${e}-dialog-title`, className: b, children: h }),
1040
+ !p && /* @__PURE__ */ c(
1036
1041
  "button",
1037
1042
  {
1038
1043
  type: "button",
@@ -1067,7 +1072,7 @@ const W = {
1067
1072
  children: t
1068
1073
  }
1069
1074
  ),
1070
- r && /* @__PURE__ */ c("footer", { id: `${e}-dialog-footer`, className: "dialog-footer", children: r })
1075
+ l && /* @__PURE__ */ c("footer", { id: `${e}-dialog-footer`, className: "dialog-footer", children: l })
1071
1076
  ]
1072
1077
  }
1073
1078
  )
@@ -1090,22 +1095,22 @@ const W = {
1090
1095
  selector: a = "",
1091
1096
  size: n = "md",
1092
1097
  timeout: s = 1e4,
1093
- variation: l = "primary"
1098
+ variation: r = "primary"
1094
1099
  }) => {
1095
- function i({ cb: r }) {
1100
+ function i({ cb: l }) {
1096
1101
  const o = document.querySelector(
1097
1102
  `.loading-bar__inner${a ? `.${a}` : ""}`
1098
1103
  );
1099
1104
  if (!o) return;
1100
- let p, u, V = !1;
1105
+ let u, p, V = !1;
1101
1106
  function C(f) {
1102
- p === void 0 && (p = f);
1103
- const b = f - p;
1104
- if (u !== f) {
1105
- const A = b / s * 101;
1106
- o.style.width = `${A}%`, e && e({ elapsed: b, percentage: A }), A >= 101 && (r && r(), V = !0, window.cancelAnimationFrame(f));
1107
+ u === void 0 && (u = f);
1108
+ const v = f - u;
1109
+ if (p !== f) {
1110
+ const A = v / s * 101;
1111
+ o.style.width = `${A}%`, e && e({ elapsed: v, percentage: A }), A >= 101 && (l && l(), V = !0, window.cancelAnimationFrame(f));
1107
1112
  }
1108
- b < s && (u = f, V || window.requestAnimationFrame(C));
1113
+ v < s && (p = f, V || window.requestAnimationFrame(C));
1109
1114
  }
1110
1115
  window.requestAnimationFrame(C);
1111
1116
  }
@@ -1116,7 +1121,7 @@ const W = {
1116
1121
  {
1117
1122
  className: m(
1118
1123
  "loading-bar my-8",
1119
- `loading-bar__${l}`,
1124
+ `loading-bar__${r}`,
1120
1125
  {
1121
1126
  "h-4": n === "md",
1122
1127
  "h-6": n === "lg",
@@ -1135,9 +1140,9 @@ const W = {
1135
1140
  children: a,
1136
1141
  className: n = "",
1137
1142
  containerClass: s = "",
1138
- disabled: l = !1,
1143
+ disabled: r = !1,
1139
1144
  options: i = {},
1140
- trigger: r = "click"
1145
+ trigger: l = "click"
1141
1146
  }) => /* @__PURE__ */ M(S, { children: [
1142
1147
  /* @__PURE__ */ c(
1143
1148
  "div",
@@ -1169,9 +1174,9 @@ const W = {
1169
1174
  {
1170
1175
  className: m(
1171
1176
  "popover-activator",
1172
- `trigger-${r}`,
1177
+ `trigger-${l}`,
1173
1178
  {
1174
- "is-disabled": l
1179
+ "is-disabled": r
1175
1180
  },
1176
1181
  e
1177
1182
  ),
@@ -1187,12 +1192,12 @@ const W = {
1187
1192
  className: a,
1188
1193
  completed: n = 0,
1189
1194
  customLabel: s,
1190
- labelClass: l,
1195
+ labelClass: r,
1191
1196
  maxCompleted: i = 100,
1192
- rounded: r = !0,
1197
+ rounded: l = !0,
1193
1198
  showLabel: o = !1
1194
1199
  }) => {
1195
- const u = ((V, C) => {
1200
+ const p = ((V, C) => {
1196
1201
  if (V) {
1197
1202
  const f = Number(C) / V;
1198
1203
  return f > 1 ? 100 : f * 100;
@@ -1204,7 +1209,7 @@ const W = {
1204
1209
  {
1205
1210
  className: m(
1206
1211
  "w-full bg-gray-200",
1207
- { "rounded-full": r },
1212
+ { "rounded-full": l },
1208
1213
  a
1209
1214
  ),
1210
1215
  role: "progressbar",
@@ -1219,15 +1224,15 @@ const W = {
1219
1224
  "h-full text-right flex items-center justify-end rounded-full",
1220
1225
  t
1221
1226
  ),
1222
- style: { width: `${u}%` },
1227
+ style: { width: `${p}%` },
1223
1228
  children: o && /* @__PURE__ */ c(
1224
1229
  "span",
1225
1230
  {
1226
1231
  className: m(
1227
1232
  "font-bold text-white text-xs mr-2",
1228
- l
1233
+ r
1229
1234
  ),
1230
- children: s || Math.round(u)
1235
+ children: s || Math.round(p)
1231
1236
  }
1232
1237
  )
1233
1238
  }
@@ -1241,17 +1246,17 @@ const W = {
1241
1246
  id: a = "",
1242
1247
  inputClass: n,
1243
1248
  label: s = "",
1244
- name: l = "",
1249
+ name: r = "",
1245
1250
  props: i = {},
1246
- variation: r = "primary",
1251
+ variation: l = "primary",
1247
1252
  value: o = ""
1248
1253
  }) => {
1249
- const p = s ? "div" : "label", u = p === "label" ? { htmlFor: a } : {};
1254
+ const u = s ? "div" : "label", p = u === "label" ? { htmlFor: a } : {};
1250
1255
  return /* @__PURE__ */ M(
1251
- p,
1256
+ u,
1252
1257
  {
1253
1258
  className: m("radio flex items-center", t),
1254
- ...u,
1259
+ ...p,
1255
1260
  children: [
1256
1261
  /* @__PURE__ */ c(
1257
1262
  "input",
@@ -1260,12 +1265,12 @@ const W = {
1260
1265
  className: m(
1261
1266
  "form-radio focus:ring-2 focus:ring-offset-2 focus-within:outline-none",
1262
1267
  {
1263
- "focus:ring-[#222]": r === "primary"
1268
+ "focus:ring-[#222]": l === "primary"
1264
1269
  },
1265
1270
  n
1266
1271
  ),
1267
1272
  id: a,
1268
- name: l,
1273
+ name: r,
1269
1274
  type: "radio",
1270
1275
  value: o,
1271
1276
  ...i
@@ -1282,20 +1287,20 @@ const W = {
1282
1287
  id: a = "",
1283
1288
  label: n = "",
1284
1289
  name: s = "",
1285
- options: l = [],
1290
+ options: r = [],
1286
1291
  placeholder: i = "",
1287
- props: r = {},
1292
+ props: l = {},
1288
1293
  selectClass: o = "",
1289
- styles: p = null,
1290
- variation: u = "primary",
1294
+ styles: u = null,
1295
+ variation: p = "primary",
1291
1296
  value: V
1292
1297
  }) => {
1293
1298
  const C = i ? { defaultValue: "" } : {};
1294
1299
  return /* @__PURE__ */ M(
1295
1300
  "label",
1296
1301
  {
1297
- className: m("relative select", d, u),
1298
- style: p ? { ...p } : null,
1302
+ className: m("relative select", d, p),
1303
+ style: u ? { ...u } : null,
1299
1304
  children: [
1300
1305
  n,
1301
1306
  /* @__PURE__ */ M(
@@ -1312,10 +1317,10 @@ const W = {
1312
1317
  name: s,
1313
1318
  value: V,
1314
1319
  ...C,
1315
- ...r,
1320
+ ...l,
1316
1321
  children: [
1317
1322
  i && /* @__PURE__ */ c("option", { hidden: !0, value: "", children: i }),
1318
- l.map((f) => /* @__PURE__ */ c(
1323
+ r.map((f) => /* @__PURE__ */ c(
1319
1324
  "option",
1320
1325
  {
1321
1326
  value: (f == null ? void 0 : f.id) || (f == null ? void 0 : f.value) || f,
@@ -1330,7 +1335,7 @@ const W = {
1330
1335
  ]
1331
1336
  }
1332
1337
  );
1333
- }, U1 = y(s1), r1 = ({ className: d }) => /* @__PURE__ */ M(
1338
+ }, U1 = y(s1), l1 = ({ className: d }) => /* @__PURE__ */ M(
1334
1339
  "div",
1335
1340
  {
1336
1341
  className: m(
@@ -1342,7 +1347,7 @@ const W = {
1342
1347
  /* @__PURE__ */ c("span", { className: "sr-only", children: "Loading..." })
1343
1348
  ]
1344
1349
  }
1345
- ), G1 = y(r1), l1 = ({
1350
+ ), G1 = y(l1), r1 = ({
1346
1351
  placeholderClass: d = "",
1347
1352
  children: e,
1348
1353
  className: t,
@@ -1359,13 +1364,13 @@ const W = {
1359
1364
  children: /* @__PURE__ */ c(x, { name: "chevronLeft" })
1360
1365
  }
1361
1366
  ),
1362
- /* @__PURE__ */ c("div", { id: `slider-container-${a}`, className: "slider-container", children: Array.from({ length: 4 }, (s, l) => /* @__PURE__ */ c(
1367
+ /* @__PURE__ */ c("div", { id: `slider-container-${a}`, className: "slider-container", children: Array.from({ length: 4 }, (s, r) => /* @__PURE__ */ c(
1363
1368
  "div",
1364
1369
  {
1365
1370
  className: `slider-card bg-gray-200 animate-pulse ${d}`,
1366
1371
  children: /* @__PURE__ */ c("div", { className: `slider-card-action ${n ? "p-4" : ""}`, children: e })
1367
1372
  },
1368
- l
1373
+ r
1369
1374
  )) }),
1370
1375
  /* @__PURE__ */ c(
1371
1376
  "button",
@@ -1377,7 +1382,7 @@ const W = {
1377
1382
  children: /* @__PURE__ */ c(x, { name: "chevronRight" })
1378
1383
  }
1379
1384
  )
1380
- ] }), Q1 = y(l1), i1 = ({ className: d, iconClass: e, iconProps: t = {} }) => /* @__PURE__ */ c("div", { className: m("rounded-r-md px-2 focus:outline-none", d), children: /* @__PURE__ */ c(
1385
+ ] }), Q1 = y(r1), i1 = ({ className: d, iconClass: e, iconProps: t = {} }) => /* @__PURE__ */ c("div", { className: m("rounded-r-md px-2 focus:outline-none", d), children: /* @__PURE__ */ c(
1381
1386
  x,
1382
1387
  {
1383
1388
  className: m("animate-spin text-black-900", e),
@@ -1410,18 +1415,18 @@ const W = {
1410
1415
  errorMessage: a = "",
1411
1416
  id: n = "",
1412
1417
  inputClass: s = "",
1413
- name: l = "",
1418
+ name: r = "",
1414
1419
  placeholder: i = "",
1415
- props: r = {},
1420
+ props: l = {},
1416
1421
  rows: o = 4,
1417
- variation: p = "primary"
1418
- }) => /* @__PURE__ */ M("div", { className: m("relative textarea", p, d), children: [
1422
+ variation: u = "primary"
1423
+ }) => /* @__PURE__ */ M("div", { className: m("relative textarea", u, d), children: [
1419
1424
  /* @__PURE__ */ c(
1420
1425
  "textarea",
1421
1426
  {
1422
1427
  placeholder: i,
1423
1428
  id: n,
1424
- name: l,
1429
+ name: r,
1425
1430
  rows: o,
1426
1431
  className: m(
1427
1432
  "form-textarea min-h-[40px] pl-4",
@@ -1431,7 +1436,7 @@ const W = {
1431
1436
  },
1432
1437
  s
1433
1438
  ),
1434
- ...r
1439
+ ...l
1435
1440
  }
1436
1441
  ),
1437
1442
  e && /* @__PURE__ */ c(
@@ -1457,19 +1462,19 @@ const W = {
1457
1462
  errorMessage: a = "",
1458
1463
  iconLeft: n = "",
1459
1464
  id: s = "",
1460
- inputClass: l,
1465
+ inputClass: r,
1461
1466
  name: i = "",
1462
- placeholder: r = "",
1467
+ placeholder: l = "",
1463
1468
  props: o = {},
1464
- styles: p = null,
1465
- type: u = "text",
1469
+ styles: u = null,
1470
+ type: p = "text",
1466
1471
  value: V,
1467
1472
  variation: C = "primary"
1468
1473
  }) => /* @__PURE__ */ M(
1469
1474
  "div",
1470
1475
  {
1471
1476
  className: m("relative textbox", C, d),
1472
- style: p ? { ...p } : null,
1477
+ style: u ? { ...u } : null,
1473
1478
  children: [
1474
1479
  n && /* @__PURE__ */ c("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ c(
1475
1480
  x,
@@ -1483,10 +1488,10 @@ const W = {
1483
1488
  /* @__PURE__ */ c(
1484
1489
  "input",
1485
1490
  {
1486
- placeholder: r,
1491
+ placeholder: l,
1487
1492
  id: s,
1488
1493
  name: i,
1489
- type: u,
1494
+ type: p,
1490
1495
  value: V,
1491
1496
  autoComplete: "off",
1492
1497
  className: m(
@@ -1497,7 +1502,7 @@ const W = {
1497
1502
  "!border-red-500 !bg-red-500/10 placeholder:!text-red-700 focus:!ring-red-500 focus:!border-red-500": t
1498
1503
  },
1499
1504
  o.inputClass ?? "",
1500
- l
1505
+ r
1501
1506
  ),
1502
1507
  ...o
1503
1508
  }
@@ -1549,7 +1554,7 @@ const W = {
1549
1554
  customSuccessMsg: a = "",
1550
1555
  title: n = "Send A Message",
1551
1556
  titleClass: s,
1552
- uppercase: l = !0
1557
+ uppercase: r = !0
1553
1558
  }) => {
1554
1559
  const i = a || /* @__PURE__ */ M(S, { children: [
1555
1560
  "Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
@@ -1573,7 +1578,7 @@ const W = {
1573
1578
  {
1574
1579
  id: "contactForm",
1575
1580
  className: m("contact-form", t, {
1576
- uppercase: l
1581
+ uppercase: r
1577
1582
  }),
1578
1583
  children: [
1579
1584
  /* @__PURE__ */ c("h2", { id: "contact-title", className: m("mb-4", s), children: n }),
@@ -1593,7 +1598,7 @@ const W = {
1593
1598
  name: "contact-name",
1594
1599
  placeholder: "Name",
1595
1600
  inputClass: m({
1596
- "placeholder:uppercase": l
1601
+ "placeholder:uppercase": r
1597
1602
  })
1598
1603
  }
1599
1604
  ),
@@ -1604,7 +1609,7 @@ const W = {
1604
1609
  name: "contact-email",
1605
1610
  placeholder: "Email",
1606
1611
  inputClass: m({
1607
- "placeholder:uppercase": l
1612
+ "placeholder:uppercase": r
1608
1613
  })
1609
1614
  }
1610
1615
  ),
@@ -1615,7 +1620,7 @@ const W = {
1615
1620
  name: "contact-message",
1616
1621
  placeholder: "Message",
1617
1622
  inputClass: m({
1618
- "placeholder:uppercase": l
1623
+ "placeholder:uppercase": r
1619
1624
  })
1620
1625
  }
1621
1626
  ),
@@ -1625,7 +1630,7 @@ const W = {
1625
1630
  className: m(
1626
1631
  "flex mx-auto items-center",
1627
1632
  {
1628
- uppercase: l
1633
+ uppercase: r
1629
1634
  },
1630
1635
  d
1631
1636
  ),
@@ -1647,30 +1652,30 @@ const W = {
1647
1652
  contentClass: a,
1648
1653
  footerClass: n,
1649
1654
  footerContent: s,
1650
- headerContent: l,
1655
+ headerContent: r,
1651
1656
  headerClass: i,
1652
- list: r = !1,
1657
+ list: l = !1,
1653
1658
  props: o = {},
1654
- variation: p = "primary"
1659
+ variation: u = "primary"
1655
1660
  }) => {
1656
- const u = r ? "ul" : "div";
1661
+ const p = l ? "ul" : "div";
1657
1662
  return /* @__PURE__ */ M(
1658
1663
  "div",
1659
1664
  {
1660
1665
  className: m(
1661
1666
  "content-card",
1662
1667
  { "content-card--block": d },
1663
- `content-card--${p}`,
1668
+ `content-card--${u}`,
1664
1669
  t
1665
1670
  ),
1666
1671
  ...o,
1667
1672
  children: [
1668
- l && /* @__PURE__ */ c("div", { className: m("content-card__header", i), children: typeof l == "string" ? /* @__PURE__ */ c("h3", { children: l }) : l }),
1673
+ r && /* @__PURE__ */ c("div", { className: m("content-card__header", i), children: typeof r == "string" ? /* @__PURE__ */ c("h3", { children: r }) : r }),
1669
1674
  /* @__PURE__ */ c(
1670
- u,
1675
+ p,
1671
1676
  {
1672
1677
  className: m("content-card__content", a),
1673
- role: r ? "list" : null,
1678
+ role: l ? "list" : null,
1674
1679
  children: e
1675
1680
  }
1676
1681
  ),
@@ -1685,11 +1690,11 @@ const W = {
1685
1690
  direction: a = "col",
1686
1691
  label: n,
1687
1692
  labelClass: s,
1688
- props: l = {},
1693
+ props: r = {},
1689
1694
  rowGap: i = 1,
1690
- value: r,
1695
+ value: l,
1691
1696
  valueClass: o,
1692
- wrap: p = !1
1697
+ wrap: u = !1
1693
1698
  }) => /* @__PURE__ */ M(
1694
1699
  "div",
1695
1700
  {
@@ -1698,7 +1703,7 @@ const W = {
1698
1703
  {
1699
1704
  "flex-col items-start": a === "col",
1700
1705
  "flex-row items-center": a === "row",
1701
- "flex-wrap": p
1706
+ "flex-wrap": u
1702
1707
  },
1703
1708
  e
1704
1709
  ),
@@ -1706,10 +1711,10 @@ const W = {
1706
1711
  columnGap: `${t / 4}rem`,
1707
1712
  rowGap: `${i / 4}rem`
1708
1713
  },
1709
- ...l,
1714
+ ...r,
1710
1715
  children: [
1711
1716
  n && /* @__PURE__ */ c("div", { className: m("item-label", s), children: n }),
1712
- r && /* @__PURE__ */ c("div", { className: m("item-value", o), children: r }),
1717
+ l && /* @__PURE__ */ c("div", { className: m("item-value", o), children: l }),
1713
1718
  d
1714
1719
  ]
1715
1720
  }
@@ -1720,7 +1725,7 @@ const W = {
1720
1725
  noPrint: a = !1,
1721
1726
  props: n = {},
1722
1727
  title: s,
1723
- titleClass: l,
1728
+ titleClass: r,
1724
1729
  titleId: i
1725
1730
  }) => /* @__PURE__ */ M(
1726
1731
  "section",
@@ -1735,7 +1740,7 @@ const W = {
1735
1740
  ),
1736
1741
  ...n,
1737
1742
  children: [
1738
- s && /* @__PURE__ */ c("h2", { className: m("spacer-title", l), id: i, children: s }),
1743
+ s && /* @__PURE__ */ c("h2", { className: m("spacer-title", r), id: i, children: s }),
1739
1744
  e
1740
1745
  ]
1741
1746
  }
@@ -1914,10 +1919,10 @@ const W = {
1914
1919
  max: "1199px"
1915
1920
  },
1916
1921
  "lg-up": "1200px"
1917
- }, y1 = {
1922
+ }, A1 = {
1918
1923
  0: "0ms",
1919
1924
  50: "50ms"
1920
- }, A1 = {
1925
+ }, y1 = {
1921
1926
  "center-top": "center 30%"
1922
1927
  }, T = {
1923
1928
  animation: V1,
@@ -1928,8 +1933,8 @@ const W = {
1928
1933
  margin: g1,
1929
1934
  maxWidth: v1,
1930
1935
  screens: b1,
1931
- transitionDuration: y1,
1932
- transformOrigin: A1
1936
+ transitionDuration: A1,
1937
+ transformOrigin: y1
1933
1938
  }, O = {
1934
1939
  black: {
1935
1940
  50: "#FCFCFC",
@@ -1947,22 +1952,41 @@ const W = {
1947
1952
  },
1948
1953
  blue: {
1949
1954
  50: "#EBF5FF",
1955
+ 200: "#EAF3FC",
1950
1956
  300: "#A4CAFE",
1957
+ 350: "#92C7E5",
1958
+ // new blue 40 in Figma
1951
1959
  400: "#76A9FA",
1952
1960
  500: "#3F83F8",
1961
+ 600: "#2D9CDB",
1962
+ 650: "#1A76AA",
1963
+ // new blue 70 in Figma
1953
1964
  700: "#3269f7",
1954
- 800: "#1E429F"
1965
+ 800: "#1E429F",
1966
+ 900: "#232E39",
1967
+ 950: "#0F172A"
1968
+ // new blue 100 in Figma
1955
1969
  },
1956
1970
  gray: {
1957
1971
  50: "#f9fafb",
1972
+ 75: "#F5F6F7",
1973
+ // new gray 10 in Figma
1958
1974
  100: "#f3f4f6",
1959
1975
  200: "#e5e7eb",
1960
1976
  300: "#d1d5db",
1977
+ 350: "#CED2D6",
1978
+ // new gray 30 in Figma
1961
1979
  400: "#9ca3af",
1962
1980
  500: "#6b7280",
1981
+ 550: "#94A3B8",
1982
+ // new gray 50 in Figma
1963
1983
  600: "#4b5563",
1964
1984
  700: "#374151",
1985
+ 750: "#848C98",
1986
+ // new gray 70 in Figma
1965
1987
  800: "#1f2937",
1988
+ 850: "#4C4C4C",
1989
+ // new gray 90 in Figma
1966
1990
  900: "#111827"
1967
1991
  },
1968
1992
  green: {
@@ -2025,6 +2049,8 @@ const W = {
2025
2049
  blue: {
2026
2050
  100: "hsl(240 42% 22%)",
2027
2051
  60: "hsl(240 24% 34%)",
2052
+ 650: "#1A76AA",
2053
+ // new blue 70 in Figma
2028
2054
  50: "hsl(257 75% 52%)",
2029
2055
  40: "hsl(200 100% 51%)",
2030
2056
  30: "hsl(224 85% 67%)"
@@ -2085,27 +2111,27 @@ const W = {
2085
2111
  fixedProps: a = {},
2086
2112
  sizeProps: n = null,
2087
2113
  sizes: s,
2088
- weights: l,
2114
+ weights: r,
2089
2115
  weightProps: i = null
2090
2116
  }) => {
2091
- const r = {};
2092
- Object.entries(s).forEach(([o, p]) => {
2093
- const u = {
2094
- "font-size": p,
2117
+ const l = {};
2118
+ Object.entries(s).forEach(([o, u]) => {
2119
+ const p = {
2120
+ "font-size": u,
2095
2121
  ...a
2096
- }, V = `.${e(`${t}-${o}`)}`, C = n ? n({ sizeKey: o, sizeValue: p }) : {};
2097
- r[V] = {
2098
- ...u,
2122
+ }, V = `.${e(`${t}-${o}`)}`, C = n ? n({ sizeKey: o, sizeValue: u }) : {};
2123
+ l[V] = {
2124
+ ...p,
2099
2125
  ...C
2100
- }, Object.entries(l).forEach(([f, b]) => {
2101
- const A = `.${e(`${t}-${o}-${f}`)}`, h = i ? i({ sizeKey: o, sizeValue: p, weightKey: f, weightValue: b }) : {};
2102
- r[A] = {
2103
- ...u,
2104
- "font-weight": b,
2126
+ }, Object.entries(r).forEach(([f, v]) => {
2127
+ const A = `.${e(`${t}-${o}-${f}`)}`, h = i ? i({ sizeKey: o, sizeValue: u, weightKey: f, weightValue: v }) : {};
2128
+ l[A] = {
2129
+ ...p,
2130
+ "font-weight": v,
2105
2131
  ...h
2106
2132
  };
2107
2133
  });
2108
- }), d(r);
2134
+ }), d(l);
2109
2135
  }, $ = {
2110
2136
  aspectRatio: !1,
2111
2137
  backdropBlur: !1,
@@ -2178,7 +2204,7 @@ const W = {
2178
2204
  medium: "500",
2179
2205
  semibold: "600",
2180
2206
  bold: "700"
2181
- }, l = {
2207
+ }, r = {
2182
2208
  title: "2rem",
2183
2209
  1: "1.75rem",
2184
2210
  2: "1.625rem",
@@ -2199,10 +2225,10 @@ const W = {
2199
2225
  fixedProps: {
2200
2226
  "line-height": "1.5"
2201
2227
  },
2202
- sizeProps: ({ sizeKey: r }) => ({
2203
- "font-weight": n.includes(r) ? s.semibold : s.bold
2228
+ sizeProps: ({ sizeKey: l }) => ({
2229
+ "font-weight": n.includes(l) ? s.semibold : s.bold
2204
2230
  }),
2205
- sizes: l,
2231
+ sizes: r,
2206
2232
  weights: s
2207
2233
  }), I({
2208
2234
  addUtilities: d,
@@ -2212,14 +2238,14 @@ const W = {
2212
2238
  weights: s
2213
2239
  }), x1({ matchUtilities: e, theme: t }), w1({ matchUtilities: e, theme: t }), S1({ matchUtilities: e }), k1({ matchUtilities: e });
2214
2240
  }
2215
- ], r2 = {
2241
+ ], l2 = {
2216
2242
  theme: {
2217
2243
  extend: T,
2218
2244
  colors: O
2219
2245
  },
2220
2246
  plugins: q,
2221
2247
  corePlugins: $
2222
- }, l2 = {
2248
+ }, r2 = {
2223
2249
  theme: {
2224
2250
  extend: T,
2225
2251
  colors: B
@@ -2234,7 +2260,7 @@ function z1(d, e = []) {
2234
2260
  },
2235
2261
  set(t, a, n) {
2236
2262
  const s = { ...t };
2237
- return t[a] = n, e.length > 0 && e.forEach((l) => l(t, s, a)), t;
2263
+ return t[a] = n, e.length > 0 && e.forEach((r) => r(t, s, a)), t;
2238
2264
  }
2239
2265
  });
2240
2266
  }
@@ -2246,12 +2272,12 @@ function o2(d, e = []) {
2246
2272
  }
2247
2273
  function c2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
2248
2274
  let s = !0;
2249
- for (const [l, i] of t.entries()) {
2250
- const r = e.querySelector(`[name="${l}"]`), o = a[l], p = [];
2251
- o.forEach((u) => {
2252
- u.isValid(i) || p.push(u.message);
2253
- }), p.length ? (s = !1, r.classList.add("field-error"), d && d({ isValid: s, field: r, validations: a })) : (r.classList.remove("field-error"), d && d({ isValid: !0, field: r, validations: a })), n && (r == null || r.addEventListener("input", (u) => {
2254
- u.preventDefault(), r.classList.contains("field-error") && r.classList.remove("field-error");
2275
+ for (const [r, i] of t.entries()) {
2276
+ const l = e.querySelector(`[name="${r}"]`), o = a[r], u = [];
2277
+ o.forEach((p) => {
2278
+ p.isValid(i) || u.push(p.message);
2279
+ }), u.length ? (s = !1, l.classList.add("field-error"), d && d({ isValid: s, field: l, validations: a })) : (l.classList.remove("field-error"), d && d({ isValid: !0, field: l, validations: a })), n && (l == null || l.addEventListener("input", (p) => {
2280
+ p.preventDefault(), l.classList.contains("field-error") && l.classList.remove("field-error");
2255
2281
  }));
2256
2282
  }
2257
2283
  return s;
@@ -2305,16 +2331,16 @@ class h2 {
2305
2331
  )), e.slides = [...(a = e.container) == null ? void 0 : a.children], e.slides.forEach((n) => e.observer.observe(n));
2306
2332
  }
2307
2333
  handleIntersect(e, t, a) {
2308
- const n = e.filter((r) => r.isIntersecting), s = n.length === a.slides.length, l = n.every(
2309
- (r) => r.isIntersecting === !0
2334
+ const n = e.filter((l) => l.isIntersecting), s = n.length === a.slides.length, r = n.every(
2335
+ (l) => l.isIntersecting === !0
2310
2336
  );
2311
- s && l ? t.disconnect() : (a.disableBtns = !1, e.forEach((r) => {
2312
- const o = [...a.slides].indexOf(r.target);
2313
- r.target === a.slides[0] && (a.showPrevBtn = r.isIntersecting), r.target === a.slides[a.slides.length - 1] && (a.showNextBtn = r.isIntersecting), r.target === a.slides[2] && (a.scrollToStart = r.isIntersecting), r.target === a.slides[a.slides.length - 2] && (a.scrollToEnd = r.isIntersecting), r.isIntersecting && !a.entriesIntersected.includes(o) && (a.entriesIntersected.push(o), a.activeIndex = o, i(r));
2337
+ s && r ? t.disconnect() : (a.disableBtns = !1, e.forEach((l) => {
2338
+ const o = [...a.slides].indexOf(l.target);
2339
+ l.target === a.slides[0] && (a.showPrevBtn = l.isIntersecting), l.target === a.slides[a.slides.length - 1] && (a.showNextBtn = l.isIntersecting), l.target === a.slides[2] && (a.scrollToStart = l.isIntersecting), l.target === a.slides[a.slides.length - 2] && (a.scrollToEnd = l.isIntersecting), l.isIntersecting && !a.entriesIntersected.includes(o) && (a.entriesIntersected.push(o), a.activeIndex = o, i(l));
2314
2340
  }));
2315
- function i(r) {
2341
+ function i(l) {
2316
2342
  var o;
2317
- r.target !== a.slides[a.slides.length - 1] && r.target !== a.slides[0] && r.target !== a.slides[2] && r.target !== a.slides[a.slides.length - 2] && ((o = a.observer) == null || o.unobserve(r.target));
2343
+ l.target !== a.slides[a.slides.length - 1] && l.target !== a.slides[0] && l.target !== a.slides[2] && l.target !== a.slides[a.slides.length - 2] && ((o = a.observer) == null || o.unobserve(l.target));
2318
2344
  }
2319
2345
  }
2320
2346
  btnListeners(e) {
@@ -2333,7 +2359,7 @@ class h2 {
2333
2359
  e.scrollToEnd ? e.transition = n : e.transition += e.slides[1].offsetWidth + 12, e.container.style.transform = `translate3d(${-e.transition}px, 0, 0)`;
2334
2360
  }
2335
2361
  sliderElements({ state: e, items: t, id: a, cb: n }) {
2336
- const s = '<span class="slide-first"></span>', l = '<span class="slide-last"></span>';
2362
+ const s = '<span class="slide-first"></span>', r = '<span class="slide-last"></span>';
2337
2363
  if (e.container = document.getElementById(`slider-container-${a}`), !e.container)
2338
2364
  return console.error(`slider-container-${a} Not Found`);
2339
2365
  e.prevBtn = e.container.parentElement.querySelector(
@@ -2341,8 +2367,8 @@ class h2 {
2341
2367
  ), e.nextBtn = e.container.parentElement.querySelector(
2342
2368
  `#btn-right-${a}`
2343
2369
  );
2344
- const i = t.map((o) => n(o)).join(""), r = document.createElement("div");
2345
- r.innerHTML = `${s}${i}${l}`, e.container.replaceChildren(...r.children), e.container.parentElement.classList.add("loaded");
2370
+ const i = t.map((o) => n(o)).join(""), l = document.createElement("div");
2371
+ l.innerHTML = `${s}${i}${r}`, e.container.replaceChildren(...l.children), e.container.parentElement.classList.add("loaded");
2346
2372
  }
2347
2373
  showHideBtns(e, t, a) {
2348
2374
  if (a === "showPrevBtn" || a === "showNextBtn") {
@@ -2354,10 +2380,10 @@ class h2 {
2354
2380
  }
2355
2381
  class H {
2356
2382
  static calcCrow(e, t, a, n) {
2357
- const l = H.toRad(a - e), i = H.toRad(n - t);
2383
+ const r = H.toRad(a - e), i = H.toRad(n - t);
2358
2384
  e = H.toRad(e), a = H.toRad(a);
2359
- const r = Math.sin(l / 2) * Math.sin(l / 2) + Math.sin(i / 2) * Math.sin(i / 2) * Math.cos(e) * Math.cos(a);
2360
- return 6371 * (2 * Math.atan2(Math.sqrt(r), Math.sqrt(1 - r)));
2385
+ const l = Math.sin(r / 2) * Math.sin(r / 2) + Math.sin(i / 2) * Math.sin(i / 2) * Math.cos(e) * Math.cos(a);
2386
+ return 6371 * (2 * Math.atan2(Math.sqrt(l), Math.sqrt(1 - l)));
2361
2387
  }
2362
2388
  static cleanupAddress(e) {
2363
2389
  return e.split(" ").map((a) => a.split("-")[0]).join(" ").trim();
@@ -2391,7 +2417,7 @@ class H {
2391
2417
  type: a = null,
2392
2418
  name: n = null,
2393
2419
  userId: s = null,
2394
- website: l = null,
2420
+ website: r = null,
2395
2421
  siteMarker: i = null
2396
2422
  } = e ?? {};
2397
2423
  if (!t) {
@@ -2403,14 +2429,14 @@ class H {
2403
2429
  return;
2404
2430
  }
2405
2431
  const {
2406
- isHeads: r = null,
2432
+ isHeads: l = null,
2407
2433
  isLoggedIn: o = null,
2408
- url: p = null,
2409
- ip: u = null,
2434
+ url: u = null,
2435
+ ip: p = null,
2410
2436
  sessionId: V = null,
2411
2437
  user: C = null
2412
2438
  } = (window == null ? void 0 : window.options) ?? {}, { id: f = null } = C ?? {};
2413
- t.userId = s ?? f, t.isHeads = r, t.isLoggedIn = o, t.url = p, await H.createData(
2439
+ t.userId = s ?? f, t.isHeads = l, t.isLoggedIn = o, t.url = u, await H.createData(
2414
2440
  "/api/event",
2415
2441
  {
2416
2442
  payload: {
@@ -2419,9 +2445,9 @@ class H {
2419
2445
  name: n,
2420
2446
  userId: s ?? f,
2421
2447
  url: window.location.href,
2422
- ip: u,
2448
+ ip: p,
2423
2449
  sessionId: V,
2424
- siteMarker: l ?? i
2450
+ siteMarker: r ?? i
2425
2451
  }
2426
2452
  },
2427
2453
  !1
@@ -2430,19 +2456,19 @@ class H {
2430
2456
  static async createData(e, t = null, a = !0, n = {}) {
2431
2457
  if (!t)
2432
2458
  return null;
2433
- const s = await this.createDataGetExtra({ useExtra: a }), l = typeof t == "string" ? t : JSON.stringify(t), i = (t == null ? void 0 : t.website) ?? H.getWebsiteHeaderName();
2459
+ const s = await this.createDataGetExtra({ useExtra: a }), r = typeof t == "string" ? t : JSON.stringify(t), i = (t == null ? void 0 : t.website) ?? H.getWebsiteHeaderName();
2434
2460
  try {
2435
- const r = await fetch(e + s, {
2461
+ const l = await fetch(e + s, {
2436
2462
  method: "POST",
2437
- body: l === "null" ? null : l,
2463
+ body: r === "null" ? null : r,
2438
2464
  headers: {
2439
2465
  website: i
2440
2466
  },
2441
2467
  ...n
2442
2468
  });
2443
- return await this.createDataReturn(r);
2444
- } catch (r) {
2445
- console.error("createData", r, e + s);
2469
+ return await this.createDataReturn(l);
2470
+ } catch (l) {
2471
+ console.error("createData", l, e + s);
2446
2472
  }
2447
2473
  return null;
2448
2474
  }
@@ -2513,15 +2539,15 @@ class H {
2513
2539
  static async fetchData(e, t = !1, a = !0) {
2514
2540
  const { tolken: n = null, ip: s = null } = await H.getHeaders(), i = e.replace("#", "").replace("%23", "") + "&tolken=" + n + "&ip=" + s;
2515
2541
  try {
2516
- const r = await fetch(i, { method: "GET" });
2542
+ const l = await fetch(i, { method: "GET" });
2517
2543
  if (t === !0) {
2518
- const p = await r.text();
2519
- return p ? p.replace("__next", "") : null;
2544
+ const u = await l.text();
2545
+ return u ? u.replace("__next", "") : null;
2520
2546
  }
2521
- const o = r.headers.get("content-type");
2522
- return o && o.indexOf("application/json") !== -1 ? r.json() : null;
2523
- } catch (r) {
2524
- console.error("fetchData", r, e);
2547
+ const o = l.headers.get("content-type");
2548
+ return o && o.indexOf("application/json") !== -1 ? l.json() : null;
2549
+ } catch (l) {
2550
+ console.error("fetchData", l, e);
2525
2551
  }
2526
2552
  return null;
2527
2553
  }
@@ -2549,12 +2575,12 @@ class H {
2549
2575
  swLng: 0
2550
2576
  };
2551
2577
  const n = e.getBounds();
2552
- let s = n.getSouth(), l = n.getEast(), i = n.getNorth(), r = n.getWest();
2553
- return a && (s = s - a, l = l + a, i = i + a, r = r - a), t && (s = s.toFixed(t), l = l.toFixed(t), i = i.toFixed(t), r = r.toFixed(t)), {
2578
+ let s = n.getSouth(), r = n.getEast(), i = n.getNorth(), l = n.getWest();
2579
+ return a && (s = s - a, r = r + a, i = i + a, l = l - a), t && (s = s.toFixed(t), r = r.toFixed(t), i = i.toFixed(t), l = l.toFixed(t)), {
2554
2580
  swLat: s,
2555
- neLng: l,
2581
+ neLng: r,
2556
2582
  neLat: i,
2557
- swLng: r
2583
+ swLng: l
2558
2584
  };
2559
2585
  }
2560
2586
  static getFirstN(e, t = 5) {
@@ -2587,29 +2613,29 @@ class H {
2587
2613
  userAgent: a = null,
2588
2614
  userAgentData: n = null,
2589
2615
  platform: s = null
2590
- } = navigator || {}, l = (n == null ? void 0 : n.platform) ?? s, i = {
2616
+ } = navigator || {}, r = (n == null ? void 0 : n.platform) ?? s, i = {
2591
2617
  tolken: null,
2592
2618
  ip: null,
2593
2619
  userAgent: a,
2594
- platform: l
2620
+ platform: r
2595
2621
  };
2596
2622
  if (typeof window.localStorage > "u")
2597
2623
  return i;
2598
- const r = "headerSessionData";
2624
+ const l = "headerSessionData";
2599
2625
  if ((o = window == null ? void 0 : window.options) != null && o.isPdf)
2600
2626
  return i;
2601
2627
  try {
2602
- const u = await (await fetch("/api/client-headers")).json(), V = (u == null ? void 0 : u.sessionId) ?? "noSessionId", C = (u == null ? void 0 : u.ip) ?? null, f = e * 1e3;
2628
+ const p = await (await fetch("/api/client-headers")).json(), V = (p == null ? void 0 : p.sessionId) ?? "noSessionId", C = (p == null ? void 0 : p.ip) ?? null, f = e * 1e3;
2603
2629
  return localStorage.setItem(
2604
- r,
2630
+ l,
2605
2631
  JSON.stringify({
2606
2632
  tolken: V,
2607
2633
  ip: C,
2608
2634
  expire: (/* @__PURE__ */ new Date()).getTime() + f
2609
2635
  })
2610
- ), { tolken: V, ip: C, userAgent: a, platform: l };
2611
- } catch (p) {
2612
- console.error("getHeaders", p);
2636
+ ), { tolken: V, ip: C, userAgent: a, platform: r };
2637
+ } catch (u) {
2638
+ console.error("getHeaders", u);
2613
2639
  }
2614
2640
  return i;
2615
2641
  }
@@ -2620,15 +2646,15 @@ class H {
2620
2646
  }[e];
2621
2647
  }
2622
2648
  static async getLocationData(e) {
2623
- const { swLat: t, neLng: a, neLat: n, swLng: s } = H.getBounds(e, 3, 0.05), l = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + s;
2624
- return await H.fetchData("/api/client?query=" + l);
2649
+ const { swLat: t, neLng: a, neLat: n, swLng: s } = H.getBounds(e, 3, 0.05), r = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + s;
2650
+ return await H.fetchData("/api/client?query=" + r);
2625
2651
  }
2626
2652
  static getReportUrl(e, t = null) {
2627
- var r, o, p;
2628
- const a = ((r = e == null ? void 0 : e.state) == null ? void 0 : r.slug) ?? null, n = ((o = e == null ? void 0 : e.city) == null ? void 0 : o.slug) ?? null, s = ((p = e == null ? void 0 : e.name) == null ? void 0 : p.slug) ?? null, l = (e == null ? void 0 : e.zip) ?? null;
2653
+ var l, o, u;
2654
+ const a = ((l = e == null ? void 0 : e.state) == null ? void 0 : l.slug) ?? null, n = ((o = e == null ? void 0 : e.city) == null ? void 0 : o.slug) ?? null, s = ((u = e == null ? void 0 : e.name) == null ? void 0 : u.slug) ?? null, r = (e == null ? void 0 : e.zip) ?? null;
2629
2655
  t = t || ((e == null ? void 0 : e.id) ?? null);
2630
- const i = [l, "-piq", t].filter((u) => u).join("");
2631
- return "/" + [a, n, s].filter((u) => u).map((u) => H.toSlug(u)).join("/") + "/" + i;
2656
+ const i = [r, "-piq", t].filter((p) => p).join("");
2657
+ return "/" + [a, n, s].filter((p) => p).map((p) => H.toSlug(p)).join("/") + "/" + i;
2632
2658
  }
2633
2659
  static async getSearchValue(e = "recsSearchValue") {
2634
2660
  try {
@@ -2794,18 +2820,18 @@ class H {
2794
2820
  static gridTest(e, t, a = 1500) {
2795
2821
  const n = this;
2796
2822
  L.GridLayer.GridDebug = L.GridLayer.extend({
2797
- createTile: function(s, l) {
2823
+ createTile: function(s, r) {
2798
2824
  const i = document.createElement("div");
2799
2825
  return setTimeout(() => {
2800
- l(null, i);
2801
- const { se: r, nw: o } = n.getGridBounds({
2826
+ r(null, i);
2827
+ const { se: l, nw: o } = n.getGridBounds({
2802
2828
  map: e,
2803
2829
  tileSize: this.getTileSize(),
2804
2830
  coords: s
2805
2831
  });
2806
2832
  t({
2807
- swLat: r.lat,
2808
- neLng: r.lng,
2833
+ swLat: l.lat,
2834
+ neLng: l.lng,
2809
2835
  neLat: o.lat,
2810
2836
  swLng: o.lng,
2811
2837
  coords: s,
@@ -2835,10 +2861,10 @@ class H {
2835
2861
  onClose: a = null,
2836
2862
  onOpen: n = null,
2837
2863
  onTargetClick: s = null,
2838
- selfClose: l = !1,
2864
+ selfClose: r = !1,
2839
2865
  target: i = null
2840
2866
  }) {
2841
- const r = i ? document.querySelectorAll(i) : [], o = document.getElementById(`${t}-dialog`), p = l ? o == null ? void 0 : o.querySelectorAll("[data-dialog-close]") : document.querySelectorAll("[data-dialog-close]"), u = [
2867
+ const l = i ? document.querySelectorAll(i) : [], o = document.getElementById(`${t}-dialog`), u = r ? o == null ? void 0 : o.querySelectorAll("[data-dialog-close]") : document.querySelectorAll("[data-dialog-close]"), p = [
2842
2868
  "closing",
2843
2869
  "closed",
2844
2870
  "opening",
@@ -2846,23 +2872,23 @@ class H {
2846
2872
  "outside",
2847
2873
  "removed"
2848
2874
  ].reduce(
2849
- (h, v) => ({
2875
+ (h, b) => ({
2850
2876
  ...h,
2851
- [v]: new Event(v)
2877
+ [b]: new Event(b)
2852
2878
  }),
2853
2879
  {}
2854
- ), V = new MutationObserver((h, v) => {
2880
+ ), V = new MutationObserver((h, b) => {
2855
2881
  h.forEach(async (w) => {
2856
2882
  if (w.attributeName === "open") {
2857
2883
  const g = w.target;
2858
2884
  if (!(g == null ? void 0 : g.hasAttribute("open"))) return;
2859
- g == null || g.removeAttribute("inert"), g == null || g.dispatchEvent(u.opening), g && await A(g), g == null || g.dispatchEvent(u.opened);
2885
+ g == null || g.removeAttribute("inert"), g == null || g.dispatchEvent(p.opening), g && await A(g), g == null || g.dispatchEvent(p.opened);
2860
2886
  }
2861
2887
  });
2862
- }), C = new MutationObserver((h, v) => {
2888
+ }), C = new MutationObserver((h, b) => {
2863
2889
  h.forEach((w) => {
2864
2890
  w.removedNodes.forEach((g) => {
2865
- g.nodeName === "DIALOG" && (g.removeEventListener("click", b), g.removeEventListener("close", f), g.dispatchEvent(u.removed), C == null || C.disconnect(), V == null || V.disconnect());
2891
+ g.nodeName === "DIALOG" && (g.removeEventListener("click", v), g.removeEventListener("close", f), g.dispatchEvent(p.removed), C == null || C.disconnect(), V == null || V.disconnect());
2866
2892
  });
2867
2893
  });
2868
2894
  });
@@ -2874,13 +2900,13 @@ class H {
2874
2900
  childList: !0
2875
2901
  }));
2876
2902
  const f = async ({ target: h }) => {
2877
- h == null || h.classList.add("closing"), h == null || h.setAttribute("inert", ""), h == null || h.dispatchEvent(u.closing), h && await A(h), h == null || h.classList.remove("closing"), h == null || h.dispatchEvent(u.closed);
2878
- }, b = async ({ target: h }) => {
2879
- (h == null ? void 0 : h.nodeName) === "DIALOG" && (h == null || h.dispatchEvent(u.outside), o == null || o.close("outside"));
2903
+ h == null || h.classList.add("closing"), h == null || h.setAttribute("inert", ""), h == null || h.dispatchEvent(p.closing), h && await A(h), h == null || h.classList.remove("closing"), h == null || h.dispatchEvent(p.closed);
2904
+ }, v = async ({ target: h }) => {
2905
+ (h == null ? void 0 : h.nodeName) === "DIALOG" && (h == null || h.dispatchEvent(p.outside), o == null || o.close("outside"));
2880
2906
  }, A = (h) => Promise.allSettled(
2881
- h == null ? void 0 : h.getAnimations().map((v) => v == null ? void 0 : v.finished)
2907
+ h == null ? void 0 : h.getAnimations().map((b) => b == null ? void 0 : b.finished)
2882
2908
  );
2883
- return !e && (o == null || o.addEventListener("click", b)), o == null || o.addEventListener("close", async (h) => {
2909
+ return !e && (o == null || o.addEventListener("click", v)), o == null || o.addEventListener("close", async (h) => {
2884
2910
  await f({ target: h.target }), a && a(h, o);
2885
2911
  }), e && (o == null || o.addEventListener("cancel", async (h) => {
2886
2912
  h.key === "Escape" && h.preventDefault();
@@ -2888,16 +2914,16 @@ class H {
2888
2914
  h.key === "Escape" && h.preventDefault();
2889
2915
  })), n && (o == null || o.addEventListener("open", async (h) => {
2890
2916
  n(h, o);
2891
- })), r == null || r.forEach((h) => {
2892
- h.addEventListener("click", (v) => {
2893
- o == null || o.showModal(), s && s(v, o);
2917
+ })), l == null || l.forEach((h) => {
2918
+ h.addEventListener("click", (b) => {
2919
+ o == null || o.showModal(), s && s(b, o);
2894
2920
  });
2895
- }), p == null || p.forEach((h) => {
2896
- h.addEventListener("click", async (v) => {
2921
+ }), u == null || u.forEach((h) => {
2922
+ h.addEventListener("click", async (b) => {
2897
2923
  o == null || o.close("close");
2898
2924
  });
2899
2925
  }), {
2900
- activators: r,
2926
+ activators: l,
2901
2927
  ref: o
2902
2928
  };
2903
2929
  }
@@ -2908,8 +2934,8 @@ class H {
2908
2934
  if (!e)
2909
2935
  return;
2910
2936
  const n = (a == null ? void 0 : a.useBounding) ?? !1;
2911
- new IntersectionObserver(async (l, i) => {
2912
- n ? (l[0].isIntersecting || l[0].boundingClientRect.y < 0) && t({ obs: i, entry: l[0], entries: l }) : l[0].isIntersecting && t({ obs: i, entry: l[0], entries: l });
2937
+ new IntersectionObserver(async (r, i) => {
2938
+ n ? (r[0].isIntersecting || r[0].boundingClientRect.y < 0) && t({ obs: i, entry: r[0], entries: r }) : r[0].isIntersecting && t({ obs: i, entry: r[0], entries: r });
2913
2939
  }, a).observe(e);
2914
2940
  }
2915
2941
  static injectLink({ href: e, id: t }) {
@@ -2917,11 +2943,11 @@ class H {
2917
2943
  a.href = e, a.type = "text/css", a.rel = "stylesheet", t && (a.id = t), document.getElementsByTagName("head")[0].appendChild(a);
2918
2944
  }
2919
2945
  static injectScript({ src: e, id: t = null, async: a = !0, module: n = !1 }) {
2920
- return new Promise(function(s, l) {
2946
+ return new Promise(function(s, r) {
2921
2947
  let i = document.getElementById(t);
2922
2948
  if (t && i && i.dataset.loaded === "true")
2923
2949
  return s({ alreadyLoaded: !0, id: t });
2924
- i || (i = document.createElement("script"), i.src = e, i.dataset.loaded = "false", t && (i.id = t), i.type = n ? "module" : "text/javascript", i.async = a, document.body.appendChild(i), i.onload = () => (i.dataset.loaded = "true", s({ alreadyLoaded: !1, id: t })), i.onerror = () => l(!1));
2950
+ i || (i = document.createElement("script"), i.src = e, i.dataset.loaded = "false", t && (i.id = t), i.type = n ? "module" : "text/javascript", i.async = a, document.body.appendChild(i), i.onload = () => (i.dataset.loaded = "true", s({ alreadyLoaded: !1, id: t })), i.onerror = () => r(!1));
2925
2951
  });
2926
2952
  }
2927
2953
  static isMobile({ selector: e = null, width: t = 640 } = {}) {
@@ -2954,14 +2980,14 @@ class H {
2954
2980
  return a > 999999 ? n * (a / 1e6).toFixed(1) + "m" : a > 999 ? n * (a / 1e3).toFixed(t) + "k" : n * a;
2955
2981
  }
2956
2982
  static async logRequest(e = null, t = null, a = null, n = null, s = null) {
2957
- const l = {
2983
+ const r = {
2958
2984
  name: e,
2959
2985
  uuid: t,
2960
2986
  ip: a,
2961
2987
  url: n,
2962
2988
  data: s
2963
2989
  };
2964
- return await H.createData("/api/client?query=log/save&method=POST", l), null;
2990
+ return await H.createData("/api/client?query=log/save&method=POST", r), null;
2965
2991
  }
2966
2992
  static loadAds() {
2967
2993
  window.dataLayer = window.dataLayer || [];
@@ -2985,8 +3011,8 @@ class H {
2985
3011
  async: !1,
2986
3012
  module: a
2987
3013
  });
2988
- } catch (l) {
2989
- console.error("loadCustomScript", l);
3014
+ } catch (r) {
3015
+ console.error("loadCustomScript", r);
2990
3016
  }
2991
3017
  }
2992
3018
  return null;
@@ -3036,17 +3062,17 @@ class H {
3036
3062
  first: a = null,
3037
3063
  middle: n = null,
3038
3064
  last: s = null,
3039
- min: l = null,
3065
+ min: r = null,
3040
3066
  max: i = null,
3041
- city: r = null,
3067
+ city: l = null,
3042
3068
  state: o = null,
3043
- vin: p = null,
3044
- license: u = null,
3069
+ vin: u = null,
3070
+ license: p = null,
3045
3071
  token: V = null,
3046
3072
  phone: C = null
3047
- } = e || {}, f = t && t !== "", b = l && l !== "" && l !== "18", A = i && i !== "" && l !== "99";
3073
+ } = e || {}, f = t && t !== "", v = r && r !== "" && r !== "18", A = i && i !== "" && r !== "99";
3048
3074
  let h = [];
3049
- return t && t !== "" && h.push("name=" + t), f || (a && a !== "" && h.push("first=" + a), n && n !== "" && h.push("middle=" + n), s && s !== "" && h.push("last=" + s)), b && A ? parseInt(l) > parseInt(i) ? (h.push("min=" + i), h.push("max=" + l)) : (h.push("min=" + l), h.push("max=" + i)) : (b && h.push("min=" + l), A && h.push("max=" + i)), C && C !== "" && h.push("phone=" + C), r && r !== "" && h.push("city=" + r), u && u !== "" && h.push("license=" + u), p && p !== "" && h.push("vin=" + p), o && o !== "" && h.push("state=" + o), V && V !== "" && h.push("token=" + V), h.join("&");
3075
+ return t && t !== "" && h.push("name=" + t), f || (a && a !== "" && h.push("first=" + a), n && n !== "" && h.push("middle=" + n), s && s !== "" && h.push("last=" + s)), v && A ? parseInt(r) > parseInt(i) ? (h.push("min=" + i), h.push("max=" + r)) : (h.push("min=" + r), h.push("max=" + i)) : (v && h.push("min=" + r), A && h.push("max=" + i)), C && C !== "" && h.push("phone=" + C), l && l !== "" && h.push("city=" + l), p && p !== "" && h.push("license=" + p), u && u !== "" && h.push("vin=" + u), o && o !== "" && h.push("state=" + o), V && V !== "" && h.push("token=" + V), h.join("&");
3050
3076
  }
3051
3077
  static padTo2Digits(e) {
3052
3078
  return e.toString().padStart(2, "0");
@@ -3060,29 +3086,29 @@ class H {
3060
3086
  addressesOnly: a = !1,
3061
3087
  useCitySearch: n = !1,
3062
3088
  useCityStateSearch: s = !1,
3063
- useSearch: l = !1,
3089
+ useSearch: r = !1,
3064
3090
  useLocation: i = !0,
3065
- state: r = "",
3091
+ state: l = "",
3066
3092
  useGoogle: o = !1,
3067
- useGoogleOverride: p = !1,
3068
- useAmazonOverride: u = !1,
3093
+ useGoogleOverride: u = !1,
3094
+ useAmazonOverride: p = !1,
3069
3095
  isSandboxAccount: V = !1,
3070
3096
  isOptOutSearch: C = !1
3071
- } = t ?? {}, { tolken: f = null, ip: b = null } = await H.getHeaders(), h = [
3097
+ } = t ?? {}, { tolken: f = null, ip: v = null } = await H.getHeaders(), h = [
3072
3098
  "query=" + encodeURIComponent(this.cleanupAddress(e)),
3073
3099
  "addressesOnly=" + a,
3074
- "useSearch=" + l,
3100
+ "useSearch=" + r,
3075
3101
  "useCitySearch=" + n,
3076
3102
  "useCityStateSearch=" + s,
3077
3103
  "useLocation=" + i,
3078
3104
  "useGoogle=" + o,
3079
- "useGoogleOverride=" + p,
3080
- "useAmazonOverride=" + u,
3105
+ "useGoogleOverride=" + u,
3106
+ "useAmazonOverride=" + p,
3081
3107
  "isSandboxAccount=" + V,
3082
3108
  "isOptOutSearch=" + C
3083
3109
  ];
3084
- r && r !== "" && !s && h.push("state=" + r), f && f !== "" && h.push("tolken=" + f), b && b !== "" && h.push("ip=" + b);
3085
- const v = h.join("&"), g = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + v;
3110
+ l && l !== "" && !s && h.push("state=" + l), f && f !== "" && h.push("tolken=" + f), v && v !== "" && h.push("ip=" + v);
3111
+ const b = h.join("&"), g = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + b;
3086
3112
  return await H.fetchData(g);
3087
3113
  }
3088
3114
  static removeElements(e) {
@@ -3128,9 +3154,9 @@ class H {
3128
3154
  s && (n = s.short);
3129
3155
  }
3130
3156
  if (a && !n) {
3131
- const s = a.split(" "), l = s[s.length - 1];
3132
- if (l.length) {
3133
- const i = this.searchInStates(l);
3157
+ const s = a.split(" "), r = s[s.length - 1];
3158
+ if (r.length) {
3159
+ const i = this.searchInStates(r);
3134
3160
  i && (n = i.short, a = s.slice(0, -1).join(" "));
3135
3161
  }
3136
3162
  }
@@ -3144,12 +3170,12 @@ class H {
3144
3170
  static async setRandomFileNameVersion(e, t = "scripts") {
3145
3171
  const a = Date.now(), n = typeof window < "u" ? window.location.origin : "", s = t ? `/${t}/` : "/";
3146
3172
  try {
3147
- const l = e.map(({ fileName: o, initFunctionName: p }) => import(`${n}${s}${o}?v=${a}`)), i = await Promise.all(l), r = [];
3148
- i.forEach((o, p) => {
3149
- o && typeof o[e[p].initFunctionName] == "function" ? r.push(o[e[p].initFunctionName]()) : console.error(`error loading ${e[p].initFunctionName}()`);
3150
- }), r.length > 0 && await Promise.all(r);
3151
- } catch (l) {
3152
- console.error("Failed to load one or more search modules:", l);
3173
+ const r = e.map(({ fileName: o, initFunctionName: u }) => import(`${n}${s}${o}?v=${a}`)), i = await Promise.all(r), l = [];
3174
+ i.forEach((o, u) => {
3175
+ o && typeof o[e[u].initFunctionName] == "function" ? l.push(o[e[u].initFunctionName]()) : console.error(`error loading ${e[u].initFunctionName}()`);
3176
+ }), l.length > 0 && await Promise.all(l);
3177
+ } catch (r) {
3178
+ console.error("Failed to load one or more search modules:", r);
3153
3179
  }
3154
3180
  }
3155
3181
  static async setSearchValueClient(e, t = "recsSearchValue", a = {}) {
@@ -3270,10 +3296,10 @@ export {
3270
3296
  i2 as addClass,
3271
3297
  s2 as colors,
3272
3298
  $ as corePlugins,
3273
- l2 as elerisPreset,
3299
+ r2 as elerisPreset,
3274
3300
  T as extensions,
3275
3301
  q as plugins,
3276
- r2 as propertyPreset,
3302
+ l2 as propertyPreset,
3277
3303
  o2 as removeClass,
3278
3304
  d2 as validateEmail,
3279
3305
  c2 as validateForm