@vehiclehistory/property-lib 0.0.35 → 0.0.37

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.
@@ -0,0 +1,16 @@
1
+ import { ReactNode, NamedExoticComponent } from 'react';
2
+ interface ContentCardProps {
3
+ block?: boolean;
4
+ children?: ReactNode;
5
+ className?: string;
6
+ contentClass?: string;
7
+ footerClass?: string;
8
+ footerContent?: ReactNode | string;
9
+ headerContent?: ReactNode | string;
10
+ headerClass?: string;
11
+ list?: boolean;
12
+ props?: object;
13
+ variation?: 'primary' | 'secondary';
14
+ }
15
+ declare const _default: NamedExoticComponent<ContentCardProps>;
16
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /**
3
+ * Wrapper with proper spacing and bottom border for stacked content sections
4
+ * @param children
5
+ * @param className
6
+ * @constructor
7
+ */
8
+ declare const StackedListItem: FC<{
9
+ children?: ReactNode;
10
+ className?: string;
11
+ }>;
12
+ export default StackedListItem;
@@ -23,5 +23,7 @@ import { default as Stars } from './ui/Stars/Stars';
23
23
  import { default as TextArea } from './ui/Text/TextArea';
24
24
  import { default as Textbox } from './ui/Text/Textbox';
25
25
  import { default as ContactForm } from './common/ContactForm';
26
+ import { default as ContentCard } from './common/ContentCard';
27
+ import { default as StackedListItem } from './common/StackedListItem';
26
28
  import { default as FunnelHeader } from './funnel/FunnelHeader';
27
- export { Accordion, Alert, Autocomplete, Badge, Button, ButtonGroup, Card, Checkbox, ContactForm, Container, Dialog, DialogOld, Dots, FunnelHeader, Icon, LoadingBar, Spinner, Popover, ProgressBar, Radio, Select, Skeleton, Slider, Stars, TextArea, Textbox, };
29
+ export { Accordion, Alert, Autocomplete, Badge, Button, ButtonGroup, Card, Checkbox, ContactForm, Container, ContentCard, Dialog, DialogOld, Dots, FunnelHeader, Icon, LoadingBar, Spinner, Popover, ProgressBar, Radio, Select, Skeleton, StackedListItem, Slider, Stars, TextArea, Textbox, };
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as o, jsxs as g, Fragment as S } from "react/jsx-runtime";
2
- import { memo as y, useState as Z, useEffect as k, useRef as q } from "react";
3
- import p from "classnames";
1
+ import { jsx as o, jsxs as M, Fragment as S } from "react/jsx-runtime";
2
+ import { memo as y, useState as N, useEffect as z, useRef as q } from "react";
3
+ import u from "classnames";
4
4
  const j = {
5
5
  xxSmall: "w-4 h-4",
6
6
  xSmall: "w-5 h-5",
@@ -480,10 +480,10 @@ const j = {
480
480
  size: a = "medium",
481
481
  viewBox: n = "0 0 20 20"
482
482
  }) => {
483
- const l = R(t), [r, s] = Z(d), [i, c] = Z(l);
484
- return k(() => {
483
+ const l = R(t), [r, s] = N(d), [i, c] = N(l);
484
+ return z(() => {
485
485
  c(l);
486
- }, [l]), k(() => {
486
+ }, [l]), z(() => {
487
487
  s(d);
488
488
  }, [d]), !l && console.error("Icon does not exist", t), /* @__PURE__ */ o(
489
489
  "svg",
@@ -507,14 +507,14 @@ const j = {
507
507
  unmount: l = !0,
508
508
  isOpen: r = !1
509
509
  }) => {
510
- const [s, i] = Z(r);
511
- return /* @__PURE__ */ o("div", { className: p("shadow rounded-lg", e), children: /* @__PURE__ */ g(S, { children: [
512
- /* @__PURE__ */ g(
510
+ const [s, i] = N(r);
511
+ return /* @__PURE__ */ o("div", { className: u("shadow rounded-lg", e), children: /* @__PURE__ */ M(S, { children: [
512
+ /* @__PURE__ */ M(
513
513
  "button",
514
514
  {
515
515
  type: "button",
516
516
  "data-div-track": `report | accordion | ${n}`,
517
- className: p(
517
+ className: u(
518
518
  "acc-a flex w-full justify-between items-center bg-gray-50 px-4 py-2 text-left font-medium text-slate-700 border border-gray-200 focus:outline-none focus-visible:ring focus-visible:ring-gray-500 focus-visible:ring-opacity-75",
519
519
  {
520
520
  "acc-o": s
@@ -540,7 +540,7 @@ const j = {
540
540
  l && s && /* @__PURE__ */ o(
541
541
  "div",
542
542
  {
543
- className: p(
543
+ className: u(
544
544
  "acc-p p-4 border-x border-b rounded-bl-lg rounded-br-lg border-gray-200 relative",
545
545
  a
546
546
  ),
@@ -550,7 +550,7 @@ const j = {
550
550
  !l && /* @__PURE__ */ o(
551
551
  "div",
552
552
  {
553
- className: p(
553
+ className: u(
554
554
  "acc-p p-4 border-x border-b rounded-bl-lg rounded-br-lg border-gray-200 relative",
555
555
  a,
556
556
  { hidden: !s }
@@ -559,7 +559,7 @@ const j = {
559
559
  }
560
560
  )
561
561
  ] }) });
562
- }, A1 = y(U), Q = ({
562
+ }, x1 = y(U), Q = ({
563
563
  children: d,
564
564
  className: e = "",
565
565
  messages: t = [],
@@ -594,13 +594,13 @@ const j = {
594
594
  "div",
595
595
  {
596
596
  id: r,
597
- className: p(
597
+ className: u(
598
598
  "rounded w-full py-2 px-4 mb-4 border",
599
599
  h,
600
600
  e
601
601
  ),
602
602
  ...l,
603
- children: /* @__PURE__ */ g("div", { className: "flex", children: [
603
+ children: /* @__PURE__ */ M("div", { className: "flex", children: [
604
604
  /* @__PURE__ */ o("div", { className: "flex-shrink-0", children: /* @__PURE__ */ o(
605
605
  x,
606
606
  {
@@ -610,14 +610,14 @@ const j = {
610
610
  size: "xSmall"
611
611
  }
612
612
  ) }),
613
- /* @__PURE__ */ g("div", { className: "ml-3", children: [
614
- /* @__PURE__ */ o("div", { className: p("font-medium text-sm", n), children: a }),
615
- t.length > 0 ? /* @__PURE__ */ o("div", { className: "mt-2 text-xs", children: /* @__PURE__ */ o("ul", { role: "list", className: "list-disc space-y-1 pl-5", children: t.map((u, V) => /* @__PURE__ */ o("li", { children: u }, V)) }) }) : ""
613
+ /* @__PURE__ */ M("div", { className: "ml-3", children: [
614
+ /* @__PURE__ */ o("div", { className: u("font-medium text-sm", n), children: a }),
615
+ t.length > 0 ? /* @__PURE__ */ o("div", { className: "mt-2 text-xs", children: /* @__PURE__ */ o("ul", { role: "list", className: "list-disc space-y-1 pl-5", children: t.map((p, V) => /* @__PURE__ */ o("li", { children: p }, V)) }) }) : ""
616
616
  ] })
617
617
  ] })
618
618
  }
619
619
  );
620
- }, y1 = y(Q), G = ({
620
+ }, b1 = y(Q), G = ({
621
621
  autoFocus: d = !1,
622
622
  required: e = !1,
623
623
  className: t = "",
@@ -629,26 +629,26 @@ const j = {
629
629
  leftIcon: i = "homeSearch",
630
630
  mobileBackdrop: c = !1,
631
631
  showSearchIcon: h = !0,
632
- options: u = [],
632
+ options: p = [],
633
633
  name: V = "",
634
- placeholder: M = "",
634
+ placeholder: g = "",
635
635
  props: A = {},
636
636
  size: C = "medium",
637
637
  styles: m = null,
638
638
  title: H = ""
639
- }) => /* @__PURE__ */ g(
639
+ }) => /* @__PURE__ */ M(
640
640
  "div",
641
641
  {
642
642
  id: n,
643
643
  "data-search": "container",
644
644
  "data-search-type": l,
645
- className: p("Autocomplete", t),
645
+ className: u("Autocomplete", t),
646
646
  style: m ? { ...m } : null,
647
647
  children: [
648
- h && /* @__PURE__ */ g(
648
+ h && /* @__PURE__ */ M(
649
649
  "span",
650
650
  {
651
- className: p(
651
+ className: u(
652
652
  "search-icon-left absolute inset-y-0 left-0 flex items-center pl-2",
653
653
  {
654
654
  "pointer-events-none": c
@@ -681,7 +681,7 @@ const j = {
681
681
  {
682
682
  "data-lpignore": "true",
683
683
  autoFocus: d,
684
- className: p(
684
+ className: u(
685
685
  "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",
686
686
  {
687
687
  "pl-8": h === !0,
@@ -695,7 +695,7 @@ const j = {
695
695
  required: e,
696
696
  autoComplete: "off",
697
697
  value: a,
698
- placeholder: !M && r ? " " : M,
698
+ placeholder: !g && r ? " " : g,
699
699
  type: "search",
700
700
  name: V || "search-input",
701
701
  "data-id": "search-input",
@@ -705,7 +705,7 @@ const j = {
705
705
  r && /* @__PURE__ */ o(
706
706
  "label",
707
707
  {
708
- className: p(
708
+ className: u(
709
709
  "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",
710
710
  {
711
711
  "!left-7": h === !0,
@@ -749,7 +749,7 @@ const j = {
749
749
  )
750
750
  }
751
751
  ),
752
- /* @__PURE__ */ g(
752
+ /* @__PURE__ */ M(
753
753
  "div",
754
754
  {
755
755
  "data-id": "search-dropdown",
@@ -764,7 +764,7 @@ const j = {
764
764
  "data-title": H,
765
765
  "aria-labelledby": "Label",
766
766
  "aria-activedescendant": "search-item-0",
767
- children: u.length > 0 ? u.map((b, v) => /* @__PURE__ */ o(
767
+ children: p.length > 0 ? p.map((b, v) => /* @__PURE__ */ o(
768
768
  "li",
769
769
  {
770
770
  id: `search-item-${v}`,
@@ -783,7 +783,7 @@ const j = {
783
783
  )
784
784
  ]
785
785
  }
786
- ), x1 = G, J = ({
786
+ ), w1 = G, J = ({
787
787
  children: d,
788
788
  className: e,
789
789
  size: t = "sm",
@@ -791,7 +791,7 @@ const j = {
791
791
  }) => /* @__PURE__ */ o(
792
792
  a || "span",
793
793
  {
794
- className: p(
794
+ className: u(
795
795
  " bg-gray-200 font-semibold py-1 px-2 rounded",
796
796
  {
797
797
  "text-sm": t === "sm",
@@ -802,7 +802,7 @@ const j = {
802
802
  ),
803
803
  children: d
804
804
  }
805
- ), b1 = J, K = ({
805
+ ), S1 = J, K = ({
806
806
  borderless: d = !1,
807
807
  leftIcon: e,
808
808
  leftIconProps: t = {},
@@ -814,25 +814,25 @@ const j = {
814
814
  rightIcon: i,
815
815
  rightIconProps: c = {},
816
816
  rounded: h = !1,
817
- size: u = "md",
817
+ size: p = "md",
818
818
  type: V = "button",
819
- uppercase: M = !1,
819
+ uppercase: g = !1,
820
820
  variation: A = "primary"
821
821
  }) => {
822
822
  const C = r ? "a" : "button";
823
- return /* @__PURE__ */ g(
823
+ return /* @__PURE__ */ M(
824
824
  C,
825
825
  {
826
826
  type: C !== "a" ? V : null,
827
- className: p(
827
+ className: u(
828
828
  "Button",
829
829
  {
830
830
  [`Button--${A}`]: A,
831
- [`Button--${u}`]: u,
831
+ [`Button--${p}`]: p,
832
832
  "Button--rounded": h,
833
833
  "Button--disabled": l,
834
834
  "Button--custom-link": r,
835
- "Button--uppercase": M,
835
+ "Button--uppercase": g,
836
836
  "Button--borderless": d || A === "link"
837
837
  },
838
838
  n
@@ -845,7 +845,7 @@ const j = {
845
845
  x,
846
846
  {
847
847
  name: e,
848
- size: u === "md" ? "small" : "xSmall",
848
+ size: p === "md" ? "small" : "xSmall",
849
849
  viewBox: "0 0 24 24",
850
850
  ...t
851
851
  }
@@ -855,7 +855,7 @@ const j = {
855
855
  x,
856
856
  {
857
857
  name: i,
858
- size: u === "md" ? "small" : "xSmall",
858
+ size: p === "md" ? "small" : "xSmall",
859
859
  viewBox: "0 0 24 24",
860
860
  ...c
861
861
  }
@@ -863,7 +863,7 @@ const j = {
863
863
  ]
864
864
  }
865
865
  );
866
- }, E = y(K), Y = ({ children: d, className: e }) => /* @__PURE__ */ o("div", { className: p("flex md:max-w-min border border-gray-300 divide-x divide-gray-200 rounded-lg", e), children: d }), w1 = Y, X = ({
866
+ }, E = y(K), Y = ({ children: d, className: e }) => /* @__PURE__ */ o("div", { className: u("flex md:max-w-min border border-gray-300 divide-x divide-gray-200 rounded-lg", e), children: d }), k1 = Y, X = ({
867
867
  block: d = !1,
868
868
  borderless: e = !1,
869
869
  children: t,
@@ -875,7 +875,7 @@ const j = {
875
875
  }) => /* @__PURE__ */ o(
876
876
  "div",
877
877
  {
878
- className: p(
878
+ className: u(
879
879
  "bg-white",
880
880
  {
881
881
  f1: !e,
@@ -889,7 +889,7 @@ const j = {
889
889
  role: s,
890
890
  children: t
891
891
  }
892
- ), S1 = X, _ = ({
892
+ ), z1 = X, _ = ({
893
893
  checked: d = !1,
894
894
  children: e,
895
895
  className: t = "",
@@ -902,18 +902,18 @@ const j = {
902
902
  variation: c = "primary",
903
903
  value: h = ""
904
904
  }) => {
905
- const u = r ? "div" : "label", V = u === "label" ? { htmlFor: l } : {};
906
- return /* @__PURE__ */ g(
907
- u,
905
+ const p = r ? "div" : "label", V = p === "label" ? { htmlFor: l } : {};
906
+ return /* @__PURE__ */ M(
907
+ p,
908
908
  {
909
- className: p("checkbox flex items-center", c, t),
909
+ className: u("checkbox flex items-center", c, t),
910
910
  ...V,
911
911
  children: [
912
912
  /* @__PURE__ */ o(
913
913
  "input",
914
914
  {
915
915
  checked: d,
916
- className: p(
916
+ className: u(
917
917
  "form-checkbox ",
918
918
  {
919
919
  "!border-red-500 !bg-red-500 focus:!ring-red-500 focus:!border-red-500": a
@@ -931,11 +931,11 @@ const j = {
931
931
  ]
932
932
  }
933
933
  );
934
- }, z1 = y(_), e1 = ({ children: d, aside: e, direction: t = "right" }) => /* @__PURE__ */ g("div", { className: "flex flex-col lg:flex-row lg:p-0 max-w-screen-lg", children: [
934
+ }, N1 = y(_), e1 = ({ children: d, aside: e, direction: t = "right" }) => /* @__PURE__ */ M("div", { className: "flex flex-col lg:flex-row lg:p-0 max-w-screen-lg", children: [
935
935
  /* @__PURE__ */ o(
936
936
  "main",
937
937
  {
938
- className: p(
938
+ className: u(
939
939
  "w-full md:mb-0 flex-1 md:block lg:max-w-container",
940
940
  {
941
941
  "lg:order-2": t === "left"
@@ -947,7 +947,7 @@ const j = {
947
947
  /* @__PURE__ */ o(
948
948
  "aside",
949
949
  {
950
- className: p(
950
+ className: u(
951
951
  "sm-max:hidden md:hidden lg:block flex-1 max-w-aside mb-6 md:mb-0 empty:!hidden",
952
952
  {
953
953
  "md:ml-8": t === "right",
@@ -957,7 +957,7 @@ const j = {
957
957
  children: e
958
958
  }
959
959
  )
960
- ] }), k1 = y(e1), t1 = ({
960
+ ] }), Z1 = y(e1), t1 = ({
961
961
  activator: d,
962
962
  id: e = "",
963
963
  children: t,
@@ -969,41 +969,41 @@ const j = {
969
969
  headerClass: i = "",
970
970
  hideClose: c = !1,
971
971
  iconSize: h = "medium",
972
- preventPageScroll: u = !0,
972
+ preventPageScroll: p = !0,
973
973
  stickyHeader: V = !1,
974
- title: M = "",
974
+ title: g = "",
975
975
  titleClass: A = ""
976
- }) => /* @__PURE__ */ g(S, { children: [
976
+ }) => /* @__PURE__ */ M(S, { children: [
977
977
  d && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, children: d }),
978
978
  /* @__PURE__ */ o(
979
979
  "dialog",
980
980
  {
981
981
  inert: "",
982
982
  id: `${e}-dialog`,
983
- className: p(
983
+ className: u(
984
984
  "dialog",
985
985
  {
986
986
  "dialog-full-mobile": s,
987
987
  dark: l,
988
- "prevent-scroll": u
988
+ "prevent-scroll": p
989
989
  },
990
990
  a
991
991
  ),
992
- children: /* @__PURE__ */ g("form", { method: "dialog", children: [
993
- /* @__PURE__ */ g(
992
+ children: /* @__PURE__ */ M("form", { method: "dialog", children: [
993
+ /* @__PURE__ */ M(
994
994
  "header",
995
995
  {
996
- className: p(
996
+ className: u(
997
997
  "dialog-header flex items-center p-4",
998
998
  {
999
999
  "sticky top-0 bg-white z-10": V,
1000
- "!pb-0 border-0 justify-end": !M,
1001
- "justify-between border-b": M
1000
+ "!pb-0 border-0 justify-end": !g,
1001
+ "justify-between border-b": g
1002
1002
  },
1003
1003
  i
1004
1004
  ),
1005
1005
  children: [
1006
- M && /* @__PURE__ */ o("h3", { id: `${e}-dialog-title`, className: A, children: M }),
1006
+ g && /* @__PURE__ */ o("h3", { id: `${e}-dialog-title`, className: A, children: g }),
1007
1007
  !c && /* @__PURE__ */ o(
1008
1008
  "button",
1009
1009
  {
@@ -1029,7 +1029,7 @@ const j = {
1029
1029
  "div",
1030
1030
  {
1031
1031
  id: `${e}-dialog-content`,
1032
- className: p("dialog-content", n),
1032
+ className: u("dialog-content", n),
1033
1033
  children: t
1034
1034
  }
1035
1035
  ),
@@ -1037,7 +1037,7 @@ const j = {
1037
1037
  ] })
1038
1038
  }
1039
1039
  )
1040
- ] }), Z1 = y(t1), a1 = ({
1040
+ ] }), E1 = y(t1), a1 = ({
1041
1041
  activator: d,
1042
1042
  id: e = "",
1043
1043
  children: t,
@@ -1049,34 +1049,34 @@ const j = {
1049
1049
  fullMobile: i = !0,
1050
1050
  headerClass: c = "",
1051
1051
  hideClose: h = !1,
1052
- iconSize: u = "medium",
1052
+ iconSize: p = "medium",
1053
1053
  isOpen: V = !1,
1054
- setDialogOpen: M,
1054
+ setDialogOpen: g,
1055
1055
  stickyHeader: A = !1,
1056
1056
  title: C = "",
1057
1057
  titleClass: m = ""
1058
1058
  }) => {
1059
1059
  const H = q(null), b = async () => {
1060
- H.current.classList.add("closing"), await D(H.current), H.current.classList.remove("closing"), l && l(), M(!1);
1060
+ H.current.classList.add("closing"), await D(H.current), H.current.classList.remove("closing"), l && l(), g(!1);
1061
1061
  }, v = async (w) => {
1062
1062
  w.key === "Escape" && await b();
1063
- }, N = async ({ clientX: w, clientY: z, target: T }) => {
1064
- const { left: $, right: I, top: O, bottom: F } = H.current.getBoundingClientRect() ?? {};
1065
- (!H.current.contains(T) || w < $ || w > I || z < O || z > F) && await b();
1063
+ }, Z = async ({ clientX: w, clientY: k, target: $ }) => {
1064
+ const { left: T, right: I, top: O, bottom: F } = H.current.getBoundingClientRect() ?? {};
1065
+ (!H.current.contains($) || w < T || w > I || k < O || k > F) && await b();
1066
1066
  }, D = (w) => Promise.allSettled(
1067
- w.getAnimations().map((z) => z.finished)
1067
+ w.getAnimations().map((k) => k.finished)
1068
1068
  );
1069
- return k(() => {
1069
+ return z(() => {
1070
1070
  const w = H.current;
1071
1071
  w && (V ? w.showModal() : typeof w.close == "function" && w.close());
1072
- }, [V]), /* @__PURE__ */ g(S, { children: [
1073
- d && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, onClick: () => M(!0), children: d }),
1074
- /* @__PURE__ */ g(
1072
+ }, [V]), /* @__PURE__ */ M(S, { children: [
1073
+ d && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, onClick: () => g(!0), children: d }),
1074
+ /* @__PURE__ */ M(
1075
1075
  "dialog",
1076
1076
  {
1077
1077
  ref: H,
1078
1078
  id: `${e}-dialog`,
1079
- className: p(
1079
+ className: u(
1080
1080
  "dialog",
1081
1081
  {
1082
1082
  hidden: !V,
@@ -1085,12 +1085,12 @@ const j = {
1085
1085
  a
1086
1086
  ),
1087
1087
  onKeyDown: v,
1088
- onClick: (w) => r ? null : N(w),
1088
+ onClick: (w) => r ? null : Z(w),
1089
1089
  children: [
1090
- /* @__PURE__ */ g(
1090
+ /* @__PURE__ */ M(
1091
1091
  "header",
1092
1092
  {
1093
- className: p(
1093
+ className: u(
1094
1094
  "dialog-header flex items-center p-4",
1095
1095
  { "sticky top-0 bg-white": A },
1096
1096
  c
@@ -1109,7 +1109,7 @@ const j = {
1109
1109
  x,
1110
1110
  {
1111
1111
  name: "close",
1112
- size: u,
1112
+ size: p,
1113
1113
  className: "pointer-events-none"
1114
1114
  }
1115
1115
  )
@@ -1122,7 +1122,7 @@ const j = {
1122
1122
  "div",
1123
1123
  {
1124
1124
  id: `${e}-dialog-content`,
1125
- className: p("dialog-content p-4", n),
1125
+ className: u("dialog-content p-4", n),
1126
1126
  children: t
1127
1127
  }
1128
1128
  ),
@@ -1138,7 +1138,7 @@ const j = {
1138
1138
  }
1139
1139
  )
1140
1140
  ] });
1141
- }, N1 = y(a1), n1 = ({ className: d = "" }) => /* @__PURE__ */ g("div", { id: "dots", className: p("mx-auto", d), children: [
1141
+ }, B1 = y(a1), n1 = ({ className: d = "" }) => /* @__PURE__ */ M("div", { id: "dots", className: u("mx-auto", d), children: [
1142
1142
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.1s" } }),
1143
1143
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.2s" } }),
1144
1144
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.3s" } }),
@@ -1147,7 +1147,7 @@ const j = {
1147
1147
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.6s" } }),
1148
1148
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.7s" } }),
1149
1149
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.8s" } })
1150
- ] }), E1 = n1, l1 = ({
1150
+ ] }), D1 = n1, l1 = ({
1151
1151
  cb: d,
1152
1152
  className: e = "",
1153
1153
  size: t = "md",
@@ -1158,23 +1158,23 @@ const j = {
1158
1158
  const s = document.querySelector(".loading-bar__inner");
1159
1159
  if (!s) return;
1160
1160
  let i, c, h = !1;
1161
- function u(V) {
1161
+ function p(V) {
1162
1162
  i === void 0 && (i = V);
1163
- const M = V - i;
1163
+ const g = V - i;
1164
1164
  if (c !== V) {
1165
- const A = M / a * 101;
1165
+ const A = g / a * 101;
1166
1166
  s.style.width = `${A}%`, A >= 101 && (r && r(), h = !0, window.cancelAnimationFrame(V));
1167
1167
  }
1168
- M < a && (c = V, h || window.requestAnimationFrame(u));
1168
+ g < a && (c = V, h || window.requestAnimationFrame(p));
1169
1169
  }
1170
- window.requestAnimationFrame(u);
1170
+ window.requestAnimationFrame(p);
1171
1171
  }
1172
- return k(() => {
1172
+ return z(() => {
1173
1173
  l({ cb: d });
1174
1174
  }, []), /* @__PURE__ */ o(
1175
1175
  "div",
1176
1176
  {
1177
- className: p(
1177
+ className: u(
1178
1178
  "loading-bar my-8",
1179
1179
  `loading-bar__${n}`,
1180
1180
  {
@@ -1188,7 +1188,7 @@ const j = {
1188
1188
  children: /* @__PURE__ */ o("div", { className: "loading-bar__inner", "data-size": "100" })
1189
1189
  }
1190
1190
  );
1191
- }, B1 = y(l1), s1 = {
1191
+ }, $1 = y(l1), s1 = {
1192
1192
  name: "spinnerDark",
1193
1193
  color: "text-teal-700",
1194
1194
  viewBox: "0 0 24 24"
@@ -1199,7 +1199,7 @@ const j = {
1199
1199
  ...s1,
1200
1200
  className: `animate-spin ${d}`
1201
1201
  }
1202
- ) }), D1 = y(r1), i1 = ({
1202
+ ) }), T1 = y(r1), i1 = ({
1203
1203
  activator: d,
1204
1204
  activatorClass: e = "",
1205
1205
  attrs: t = {},
@@ -1210,15 +1210,15 @@ const j = {
1210
1210
  disabled: s = !1,
1211
1211
  id: i = "",
1212
1212
  trigger: c = "click"
1213
- }) => /* @__PURE__ */ g(S, { children: [
1213
+ }) => /* @__PURE__ */ M(S, { children: [
1214
1214
  /* @__PURE__ */ o(
1215
1215
  "div",
1216
1216
  {
1217
- className: p("popover z-10 max-w-[350px] hidden", l),
1218
- children: /* @__PURE__ */ g(
1217
+ className: u("popover z-10 max-w-[350px] hidden", l),
1218
+ children: /* @__PURE__ */ M(
1219
1219
  "div",
1220
1220
  {
1221
- className: p(
1221
+ className: u(
1222
1222
  "popover-container rounded border bg-gray-50 border-gray-300 shadow-md text-gray-500 animate-menu-close",
1223
1223
  r
1224
1224
  ),
@@ -1239,7 +1239,7 @@ const j = {
1239
1239
  /* @__PURE__ */ o(
1240
1240
  "div",
1241
1241
  {
1242
- className: p(
1242
+ className: u(
1243
1243
  "popover-activator",
1244
1244
  `trigger-${c}`,
1245
1245
  s ? "is-disabled" : "",
@@ -1250,7 +1250,7 @@ const j = {
1250
1250
  children: d
1251
1251
  }
1252
1252
  )
1253
- ] }), T1 = i1, o1 = ({
1253
+ ] }), I1 = i1, o1 = ({
1254
1254
  ariaValuemax: d = 100,
1255
1255
  ariaValuemin: e = 0,
1256
1256
  bgColor: t = "bg-orange-500",
@@ -1260,9 +1260,9 @@ const j = {
1260
1260
  rounded: r = !0,
1261
1261
  showLabel: s = !1
1262
1262
  }) => {
1263
- const c = ((h, u) => {
1263
+ const c = ((h, p) => {
1264
1264
  if (h) {
1265
- const V = Number(u) / h;
1265
+ const V = Number(p) / h;
1266
1266
  return V > 1 ? 100 : V * 100;
1267
1267
  }
1268
1268
  return n;
@@ -1270,7 +1270,7 @@ const j = {
1270
1270
  return /* @__PURE__ */ o(
1271
1271
  "div",
1272
1272
  {
1273
- className: p(
1273
+ className: u(
1274
1274
  "w-full bg-gray-200",
1275
1275
  { "rounded-full": r },
1276
1276
  a
@@ -1283,7 +1283,7 @@ const j = {
1283
1283
  children: /* @__PURE__ */ o(
1284
1284
  "div",
1285
1285
  {
1286
- className: p(
1286
+ className: u(
1287
1287
  "h-full text-right flex items-center justify-end rounded-full",
1288
1288
  t
1289
1289
  ),
@@ -1293,7 +1293,7 @@ const j = {
1293
1293
  )
1294
1294
  }
1295
1295
  );
1296
- }, $1 = y(o1), c1 = ({
1296
+ }, O1 = y(o1), c1 = ({
1297
1297
  checked: d = !1,
1298
1298
  children: e,
1299
1299
  className: t = "",
@@ -1305,17 +1305,17 @@ const j = {
1305
1305
  value: i = ""
1306
1306
  }) => {
1307
1307
  const c = n ? "div" : "label", h = c === "label" ? { htmlFor: a } : {};
1308
- return /* @__PURE__ */ g(
1308
+ return /* @__PURE__ */ M(
1309
1309
  c,
1310
1310
  {
1311
- className: p("radio flex items-center", t),
1311
+ className: u("radio flex items-center", t),
1312
1312
  ...h,
1313
1313
  children: [
1314
1314
  /* @__PURE__ */ o(
1315
1315
  "input",
1316
1316
  {
1317
1317
  checked: d,
1318
- className: p(
1318
+ className: u(
1319
1319
  "form-radio focus:ring-2 focus:ring-offset-2 focus-within:outline-none",
1320
1320
  {
1321
1321
  "focus:ring-[#222]": s === "primary"
@@ -1332,7 +1332,7 @@ const j = {
1332
1332
  ]
1333
1333
  }
1334
1334
  );
1335
- }, I1 = y(c1), d1 = ({
1335
+ }, F1 = y(c1), d1 = ({
1336
1336
  children: d,
1337
1337
  className: e = "",
1338
1338
  error: t = !1,
@@ -1344,29 +1344,29 @@ const j = {
1344
1344
  placeholder: i = "",
1345
1345
  props: c = {},
1346
1346
  selectClass: h = "",
1347
- styles: u = null,
1347
+ styles: p = null,
1348
1348
  variation: V = "primary",
1349
- value: M
1349
+ value: g
1350
1350
  }) => {
1351
1351
  const A = i ? { defaultValue: "" } : {};
1352
- return /* @__PURE__ */ g(
1352
+ return /* @__PURE__ */ M(
1353
1353
  "label",
1354
1354
  {
1355
- className: p("relative select", e, V),
1356
- style: u ? { ...u } : null,
1355
+ className: u("relative select", e, V),
1356
+ style: p ? { ...p } : null,
1357
1357
  children: [
1358
1358
  l,
1359
- /* @__PURE__ */ g(
1359
+ /* @__PURE__ */ M(
1360
1360
  "select",
1361
1361
  {
1362
- className: p(
1362
+ className: u(
1363
1363
  "form-select relative bg-white pl-3 pr-10 text-left cursor-default",
1364
1364
  t ? "!border-red-500 !bg-red-500/10 !text-red-700 focus:!ring-red-500 focus:!border-red-500" : "",
1365
1365
  h
1366
1366
  ),
1367
1367
  id: n,
1368
1368
  name: r,
1369
- value: M,
1369
+ value: g,
1370
1370
  ...A,
1371
1371
  ...c,
1372
1372
  children: [
@@ -1386,10 +1386,10 @@ const j = {
1386
1386
  ]
1387
1387
  }
1388
1388
  );
1389
- }, O1 = y(d1), h1 = ({ className: d = "" }) => /* @__PURE__ */ g(
1389
+ }, q1 = y(d1), h1 = ({ className: d = "" }) => /* @__PURE__ */ M(
1390
1390
  "div",
1391
1391
  {
1392
- className: p(
1392
+ className: u(
1393
1393
  "flex justify-center items-center bg-gray-200 rounded-lg animate-pulse",
1394
1394
  d
1395
1395
  ),
@@ -1398,13 +1398,13 @@ const j = {
1398
1398
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Loading..." })
1399
1399
  ]
1400
1400
  }
1401
- ), F1 = y(h1), u1 = ({
1401
+ ), j1 = y(h1), u1 = ({
1402
1402
  placeholderClass: d = "",
1403
1403
  children: e,
1404
1404
  className: t = "",
1405
1405
  id: a = 1,
1406
1406
  padding: n = !0
1407
- }) => /* @__PURE__ */ g("div", { className: p("slider", t), id: `slider-${a}`, children: [
1407
+ }) => /* @__PURE__ */ M("div", { className: u("slider", t), id: `slider-${a}`, children: [
1408
1408
  /* @__PURE__ */ o(
1409
1409
  "button",
1410
1410
  {
@@ -1433,7 +1433,7 @@ const j = {
1433
1433
  children: /* @__PURE__ */ o(x, { name: "chevronRight" })
1434
1434
  }
1435
1435
  )
1436
- ] }), q1 = y(u1), p1 = ({
1436
+ ] }), P1 = y(u1), p1 = ({
1437
1437
  className: d = "",
1438
1438
  value: e
1439
1439
  }) => {
@@ -1443,14 +1443,14 @@ const j = {
1443
1443
  return /* @__PURE__ */ o(
1444
1444
  "div",
1445
1445
  {
1446
- className: p(
1446
+ className: u(
1447
1447
  'Stars inline-block leading-none font-sans text-base before:content-["★★★★★"]',
1448
1448
  d
1449
1449
  ),
1450
1450
  style: t
1451
1451
  }
1452
1452
  );
1453
- }, j1 = p1, m1 = ({
1453
+ }, R1 = p1, m1 = ({
1454
1454
  className: d = "",
1455
1455
  clear: e = !1,
1456
1456
  error: t = !1,
@@ -1462,7 +1462,7 @@ const j = {
1462
1462
  props: i = {},
1463
1463
  rows: c = 4,
1464
1464
  variation: h = "primary"
1465
- }) => /* @__PURE__ */ g("div", { className: p("relative textarea", h, d), children: [
1465
+ }) => /* @__PURE__ */ M("div", { className: u("relative textarea", h, d), children: [
1466
1466
  /* @__PURE__ */ o(
1467
1467
  "textarea",
1468
1468
  {
@@ -1470,7 +1470,7 @@ const j = {
1470
1470
  id: n,
1471
1471
  name: r,
1472
1472
  rows: c,
1473
- className: p(
1473
+ className: u(
1474
1474
  "form-textarea min-h-[40px] pl-4",
1475
1475
  e ? "pr-10" : "pr-4",
1476
1476
  t ? "!border-red-500 !bg-red-500/10 placeholder:!text-red-700 focus:!ring-red-500 focus:!border-red-500" : "",
@@ -1507,13 +1507,13 @@ const j = {
1507
1507
  placeholder: i = "",
1508
1508
  props: c = {},
1509
1509
  styles: h = null,
1510
- type: u = "text",
1510
+ type: p = "text",
1511
1511
  value: V,
1512
- variation: M = "primary"
1513
- }) => /* @__PURE__ */ g(
1512
+ variation: g = "primary"
1513
+ }) => /* @__PURE__ */ M(
1514
1514
  "div",
1515
1515
  {
1516
- className: p("relative textbox", M, d),
1516
+ className: u("relative textbox", g, d),
1517
1517
  style: h ? { ...h } : null,
1518
1518
  children: [
1519
1519
  n && /* @__PURE__ */ o("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ o(
@@ -1531,10 +1531,10 @@ const j = {
1531
1531
  placeholder: i,
1532
1532
  id: l,
1533
1533
  name: s,
1534
- type: u,
1534
+ type: p,
1535
1535
  value: V,
1536
1536
  autoComplete: "off",
1537
- className: p(
1537
+ className: u(
1538
1538
  "form-input",
1539
1539
  e ? "pr-10" : "pr-4",
1540
1540
  n ? "pl-8" : "pl-4",
@@ -1574,13 +1574,13 @@ const j = {
1574
1574
  titleClass: l,
1575
1575
  uppercase: r = !0
1576
1576
  }) => {
1577
- const s = a || /* @__PURE__ */ g(S, { children: [
1577
+ const s = a || /* @__PURE__ */ M(S, { children: [
1578
1578
  "Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
1579
1579
  " ",
1580
1580
  /* @__PURE__ */ o(
1581
1581
  E,
1582
1582
  {
1583
- className: p(
1583
+ className: u(
1584
1584
  "text-black-900 items-center gap-2 live-chat uppercase !inline-flex"
1585
1585
  ),
1586
1586
  variation: "link",
@@ -1591,20 +1591,20 @@ const j = {
1591
1591
  }
1592
1592
  )
1593
1593
  ] });
1594
- return /* @__PURE__ */ g(
1594
+ return /* @__PURE__ */ M(
1595
1595
  "form",
1596
1596
  {
1597
1597
  id: "contactForm",
1598
- className: p("contact-form", t, {
1598
+ className: u("contact-form", t, {
1599
1599
  uppercase: r
1600
1600
  }),
1601
1601
  children: [
1602
- /* @__PURE__ */ o("h2", { id: "contact-title", className: p("mb-4", l), children: n }),
1602
+ /* @__PURE__ */ o("h2", { id: "contact-title", className: u("mb-4", l), children: n }),
1603
1603
  /* @__PURE__ */ o("p", { className: "contact-form__msg", children: s }),
1604
- /* @__PURE__ */ g(
1604
+ /* @__PURE__ */ M(
1605
1605
  "div",
1606
1606
  {
1607
- className: p(
1607
+ className: u(
1608
1608
  "p-6 bg-gray-100 flex flex-col gap-y-3 max-w-[458px]",
1609
1609
  e
1610
1610
  ),
@@ -1615,7 +1615,7 @@ const j = {
1615
1615
  id: "contact-name",
1616
1616
  name: "contact-name",
1617
1617
  placeholder: "Name",
1618
- inputClass: p({
1618
+ inputClass: u({
1619
1619
  "placeholder:uppercase": r
1620
1620
  })
1621
1621
  }
@@ -1626,7 +1626,7 @@ const j = {
1626
1626
  id: "contact-email",
1627
1627
  name: "contact-email",
1628
1628
  placeholder: "Email",
1629
- inputClass: p({
1629
+ inputClass: u({
1630
1630
  "placeholder:uppercase": r
1631
1631
  })
1632
1632
  }
@@ -1637,7 +1637,7 @@ const j = {
1637
1637
  id: "contact-message",
1638
1638
  name: "contact-message",
1639
1639
  placeholder: "Message",
1640
- inputClass: p({
1640
+ inputClass: u({
1641
1641
  "placeholder:uppercase": r
1642
1642
  })
1643
1643
  }
@@ -1645,7 +1645,7 @@ const j = {
1645
1645
  /* @__PURE__ */ o(
1646
1646
  E,
1647
1647
  {
1648
- className: p(
1648
+ className: u(
1649
1649
  "flex mx-auto items-center",
1650
1650
  {
1651
1651
  uppercase: r
@@ -1663,17 +1663,58 @@ const j = {
1663
1663
  ]
1664
1664
  }
1665
1665
  );
1666
- }, P1 = y(L1), C1 = ({ children: d, className: e = "", tag: t = "h1", title: a }) => /* @__PURE__ */ o(
1666
+ }, W1 = y(L1), C1 = ({
1667
+ block: d = !1,
1668
+ children: e,
1669
+ className: t,
1670
+ contentClass: a,
1671
+ footerClass: n,
1672
+ footerContent: l,
1673
+ headerContent: r,
1674
+ headerClass: s,
1675
+ list: i = !1,
1676
+ props: c = {},
1677
+ variation: h = "primary"
1678
+ }) => {
1679
+ const p = i ? "ul" : "div";
1680
+ return /* @__PURE__ */ M(
1681
+ "div",
1682
+ {
1683
+ className: u(
1684
+ "content-card",
1685
+ { "content-card--block": d },
1686
+ `content-card--${h}`,
1687
+ t
1688
+ ),
1689
+ ...c,
1690
+ children: [
1691
+ r && /* @__PURE__ */ o("div", { className: u("content-card__header", s), children: typeof r == "string" ? /* @__PURE__ */ o("h3", { children: r }) : r }),
1692
+ /* @__PURE__ */ o(
1693
+ p,
1694
+ {
1695
+ className: u("content-card__content", a),
1696
+ role: i ? "list" : null,
1697
+ children: e
1698
+ }
1699
+ ),
1700
+ l && /* @__PURE__ */ o("div", { className: u("content-card__footer", n), children: l })
1701
+ ]
1702
+ }
1703
+ );
1704
+ }, U1 = y(C1), f1 = ({
1705
+ children: d,
1706
+ className: e
1707
+ }) => /* @__PURE__ */ o("li", { className: u("stacked-list", e), children: d }), Q1 = f1, M1 = ({ children: d, className: e = "", tag: t = "h1", title: a }) => /* @__PURE__ */ o(
1667
1708
  t,
1668
1709
  {
1669
- className: p(
1710
+ className: u(
1670
1711
  "!text-xl text-center mb-6 flex items-center justify-center",
1671
1712
  e
1672
1713
  ),
1673
1714
  children: a || d
1674
1715
  }
1675
- ), R1 = y(C1);
1676
- function f1(d, e = []) {
1716
+ ), G1 = y(M1);
1717
+ function g1(d, e = []) {
1677
1718
  return new Proxy(d, {
1678
1719
  get: function(t, a) {
1679
1720
  return t[a];
@@ -1684,39 +1725,39 @@ function f1(d, e = []) {
1684
1725
  }
1685
1726
  });
1686
1727
  }
1687
- function W1(d, e = []) {
1728
+ function J1(d, e = []) {
1688
1729
  e.length && (d == null || d.classList.add(...e));
1689
1730
  }
1690
- function U1(d, e = []) {
1731
+ function K1(d, e = []) {
1691
1732
  e.length && (d == null || d.classList.remove(...e));
1692
1733
  }
1693
- function Q1({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
1734
+ function Y1({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
1694
1735
  let l = !0;
1695
1736
  for (const [r, s] of t.entries()) {
1696
1737
  const i = e.querySelector(`[name="${r}"]`), c = a[r], h = [];
1697
- c.forEach((u) => {
1698
- u.isValid(s) || h.push(u.message);
1699
- }), h.length ? (l = !1, i.classList.add("field-error"), d && d({ isValid: l, field: i, validations: a })) : (i.classList.remove("field-error"), d && d({ isValid: !0, field: i, validations: a })), n && (i == null || i.addEventListener("input", (u) => {
1700
- u.preventDefault(), i.classList.contains("field-error") && i.classList.remove("field-error");
1738
+ c.forEach((p) => {
1739
+ p.isValid(s) || h.push(p.message);
1740
+ }), h.length ? (l = !1, i.classList.add("field-error"), d && d({ isValid: l, field: i, validations: a })) : (i.classList.remove("field-error"), d && d({ isValid: !0, field: i, validations: a })), n && (i == null || i.addEventListener("input", (p) => {
1741
+ p.preventDefault(), i.classList.contains("field-error") && i.classList.remove("field-error");
1701
1742
  }));
1702
1743
  }
1703
1744
  return l;
1704
1745
  }
1705
- function G1(d) {
1746
+ function X1(d) {
1706
1747
  const e = (
1707
1748
  // eslint-disable-next-line
1708
1749
  /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/
1709
1750
  ), t = /[^a-zA-Z]+$/;
1710
1751
  return e.test(d.toLowerCase()) && !t.test(d);
1711
1752
  }
1712
- class J1 {
1753
+ class _1 {
1713
1754
  init(e) {
1714
1755
  this.handleSliders(e);
1715
1756
  }
1716
1757
  handleSliders({ items: e, id: t = 1, cb: a }) {
1717
1758
  if (!document.getElementById(`slider-container-${t}`))
1718
1759
  return;
1719
- const n = f1(
1760
+ const n = g1(
1720
1761
  {
1721
1762
  activeIndex: 0,
1722
1763
  computedSlides: [],
@@ -1842,8 +1883,8 @@ class f {
1842
1883
  }), h = c.headers.get("content-type");
1843
1884
  if (h && h.indexOf("application/json") !== -1)
1844
1885
  return c.json();
1845
- const u = await c.text();
1846
- return u ? u.replace("__next", "") : null;
1886
+ const p = await c.text();
1887
+ return p ? p.replace("__next", "") : null;
1847
1888
  } catch (c) {
1848
1889
  console.error("createData", c);
1849
1890
  }
@@ -2002,15 +2043,15 @@ class f {
2002
2043
  if ((i = window == null ? void 0 : window.options) != null && i.isPdf)
2003
2044
  return r;
2004
2045
  try {
2005
- const h = await (await fetch("/api/headers")).json(), u = (h == null ? void 0 : h.token) ?? null, V = (h == null ? void 0 : h.ip) ?? null;
2046
+ const h = await (await fetch("/api/headers")).json(), p = (h == null ? void 0 : h.token) ?? null, V = (h == null ? void 0 : h.ip) ?? null;
2006
2047
  return localStorage.setItem(
2007
2048
  "headerTolken",
2008
2049
  JSON.stringify({
2009
- tolken: u,
2050
+ tolken: p,
2010
2051
  ip: V,
2011
2052
  expire: (/* @__PURE__ */ new Date()).getTime() + e * 1e3
2012
2053
  })
2013
- ), { tolken: u, ip: V, userAgent: t, platform: l };
2054
+ ), { tolken: p, ip: V, userAgent: t, platform: l };
2014
2055
  } catch (c) {
2015
2056
  console.error("getHeaders", c);
2016
2057
  }
@@ -2030,8 +2071,8 @@ class f {
2030
2071
  var i, c, h;
2031
2072
  const a = ((i = e == null ? void 0 : e.state) == null ? void 0 : i.slug) ?? null, n = ((c = e == null ? void 0 : e.city) == null ? void 0 : c.slug) ?? null, l = ((h = e == null ? void 0 : e.name) == null ? void 0 : h.slug) ?? null, r = (e == null ? void 0 : e.zip) ?? null;
2032
2073
  t = t || ((e == null ? void 0 : e.id) ?? null);
2033
- const s = [r, "-piq", t].filter((u) => u).join("");
2034
- return "/" + [a, n, l].filter((u) => u).map((u) => f.toSlug(u)).join("/") + "/" + s;
2074
+ const s = [r, "-piq", t].filter((p) => p).join("");
2075
+ return "/" + [a, n, l].filter((p) => p).map((p) => f.toSlug(p)).join("/") + "/" + s;
2035
2076
  }
2036
2077
  static async getSearchValue(e = "recsSearchValue") {
2037
2078
  try {
@@ -2258,30 +2299,30 @@ class f {
2258
2299
  v == null || v.removeAttribute("inert"), v == null || v.dispatchEvent(c.opening), v && await C(v), v == null || v.dispatchEvent(c.opened);
2259
2300
  }
2260
2301
  });
2261
- }), u = new MutationObserver((m, H) => {
2302
+ }), p = new MutationObserver((m, H) => {
2262
2303
  m.forEach((b) => {
2263
2304
  b.removedNodes.forEach((v) => {
2264
- v.nodeName === "DIALOG" && (v.removeEventListener("click", A), v.removeEventListener("close", M), v.dispatchEvent(c.removed), u == null || u.disconnect(), h == null || h.disconnect());
2305
+ v.nodeName === "DIALOG" && (v.removeEventListener("click", A), v.removeEventListener("close", g), v.dispatchEvent(c.removed), p == null || p.disconnect(), h == null || h.disconnect());
2265
2306
  });
2266
2307
  });
2267
2308
  });
2268
2309
  s && (h.observe(s, {
2269
2310
  attributes: !0
2270
- }), u.observe(document.body, {
2311
+ }), p.observe(document.body, {
2271
2312
  attributes: !1,
2272
2313
  subtree: !1,
2273
2314
  childList: !0
2274
2315
  }));
2275
2316
  const V = () => {
2276
2317
  s == null || s.showModal();
2277
- }, M = async ({ target: m }) => {
2318
+ }, g = async ({ target: m }) => {
2278
2319
  m == null || m.classList.add("closing"), m == null || m.setAttribute("inert", ""), m == null || m.dispatchEvent(c.closing), m && await C(m), m == null || m.classList.remove("closing"), m == null || m.dispatchEvent(c.closed);
2279
2320
  }, A = async ({ target: m }) => {
2280
2321
  (m == null ? void 0 : m.nodeName) === "DIALOG" && (m == null || m.dispatchEvent(c.outside), s == null || s.close("outside"));
2281
2322
  }, C = (m) => Promise.allSettled(
2282
2323
  m == null ? void 0 : m.getAnimations().map((H) => H == null ? void 0 : H.finished)
2283
2324
  );
2284
- return !l && (s == null || s.addEventListener("click", A)), s == null || s.addEventListener("close", M), r == null || r.forEach((m) => {
2325
+ return !l && (s == null || s.addEventListener("click", A)), s == null || s.addEventListener("close", g), r == null || r.forEach((m) => {
2285
2326
  m.addEventListener("click", (H) => {
2286
2327
  V(), a && a(H, s);
2287
2328
  });
@@ -2293,7 +2334,7 @@ class f {
2293
2334
  activators: r,
2294
2335
  ref: s,
2295
2336
  handleOpen: V,
2296
- handleClose: M
2337
+ handleClose: g
2297
2338
  };
2298
2339
  }
2299
2340
  static hasBoundsEntry(e, t = "bounds") {
@@ -2446,12 +2487,12 @@ class f {
2446
2487
  city: i = null,
2447
2488
  state: c = null,
2448
2489
  vin: h = null,
2449
- license: u = null,
2490
+ license: p = null,
2450
2491
  token: V = null,
2451
- phone: M = null
2492
+ phone: g = null
2452
2493
  } = e || {}, A = t && t !== "", C = r && r !== "" && r !== "18", m = s && s !== "" && r !== "99";
2453
2494
  let H = [];
2454
- return t && t !== "" && H.push("name=" + t), A || (a && a !== "" && H.push("first=" + a), n && n !== "" && H.push("middle=" + n), l && l !== "" && H.push("last=" + l)), C && m ? parseInt(r) > parseInt(s) ? (H.push("min=" + s), H.push("max=" + r)) : (H.push("min=" + r), H.push("max=" + s)) : (C && H.push("min=" + r), m && H.push("max=" + s)), M && M !== "" && H.push("phone=" + M), i && i !== "" && H.push("city=" + i), u && u !== "" && H.push("license=" + u), h && h !== "" && H.push("vin=" + h), c && c !== "" && H.push("state=" + c), V && V !== "" && H.push("token=" + V), H.join("&");
2495
+ return t && t !== "" && H.push("name=" + t), A || (a && a !== "" && H.push("first=" + a), n && n !== "" && H.push("middle=" + n), l && l !== "" && H.push("last=" + l)), C && m ? parseInt(r) > parseInt(s) ? (H.push("min=" + s), H.push("max=" + r)) : (H.push("min=" + r), H.push("max=" + s)) : (C && H.push("min=" + r), m && H.push("max=" + s)), g && g !== "" && H.push("phone=" + g), i && i !== "" && H.push("city=" + i), p && p !== "" && H.push("license=" + p), h && h !== "" && H.push("vin=" + h), c && c !== "" && H.push("state=" + c), V && V !== "" && H.push("token=" + V), H.join("&");
2455
2496
  }
2456
2497
  static padTo2Digits(e) {
2457
2498
  return e.toString().padStart(2, "0");
@@ -2477,7 +2518,7 @@ class f {
2477
2518
  "useLocation=" + s
2478
2519
  ];
2479
2520
  i && i !== "" && !l && V.push("state=" + i), c && c !== "" && V.push("tolken=" + c), h && h !== "" && V.push("ip=" + h);
2480
- const M = V.join("&"), C = (n || l ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + M;
2521
+ const g = V.join("&"), C = (n || l ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + g;
2481
2522
  return await f.makeSearchFetchCall(C);
2482
2523
  }
2483
2524
  static removeElements(e) {
@@ -2572,36 +2613,38 @@ class f {
2572
2613
  }
2573
2614
  }
2574
2615
  export {
2575
- A1 as Accordion,
2576
- y1 as Alert,
2577
- x1 as Autocomplete,
2578
- b1 as Badge,
2616
+ x1 as Accordion,
2617
+ b1 as Alert,
2618
+ w1 as Autocomplete,
2619
+ S1 as Badge,
2579
2620
  E as Button,
2580
- w1 as ButtonGroup,
2581
- S1 as Card,
2582
- J1 as CardSlider,
2583
- z1 as Checkbox,
2621
+ k1 as ButtonGroup,
2622
+ z1 as Card,
2623
+ _1 as CardSlider,
2624
+ N1 as Checkbox,
2584
2625
  f as Common,
2585
- P1 as ContactForm,
2586
- k1 as Container,
2587
- Z1 as Dialog,
2588
- N1 as DialogOld,
2589
- E1 as Dots,
2590
- R1 as FunnelHeader,
2626
+ W1 as ContactForm,
2627
+ Z1 as Container,
2628
+ U1 as ContentCard,
2629
+ E1 as Dialog,
2630
+ B1 as DialogOld,
2631
+ D1 as Dots,
2632
+ G1 as FunnelHeader,
2591
2633
  x as Icon,
2592
- B1 as LoadingBar,
2593
- T1 as Popover,
2594
- $1 as ProgressBar,
2595
- I1 as Radio,
2596
- O1 as Select,
2597
- F1 as Skeleton,
2598
- q1 as Slider,
2599
- D1 as Spinner,
2600
- j1 as Stars,
2634
+ $1 as LoadingBar,
2635
+ I1 as Popover,
2636
+ O1 as ProgressBar,
2637
+ F1 as Radio,
2638
+ q1 as Select,
2639
+ j1 as Skeleton,
2640
+ P1 as Slider,
2641
+ T1 as Spinner,
2642
+ Q1 as StackedListItem,
2643
+ R1 as Stars,
2601
2644
  V1 as TextArea,
2602
2645
  B as Textbox,
2603
- W1 as addClass,
2604
- U1 as removeClass,
2605
- G1 as validateEmail,
2606
- Q1 as validateForm
2646
+ J1 as addClass,
2647
+ K1 as removeClass,
2648
+ X1 as validateEmail,
2649
+ Y1 as validateForm
2607
2650
  };
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- @tailwind utilities;@layer utilities{.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.custom-scrollbar::-webkit-scrollbar{@apply w-4;}.custom-scrollbar::-webkit-scrollbar-thumb{@apply rounded-full bg-gray-300 border-4 border-solid border-transparent;background-clip:padding-box}.active-cat{@apply text-teal-700 font-semibold border-l-teal-700 bg-gray-50;}.icon-title{@apply flex items-center mb-4 ml-3 space-x-3;}.spacer{@apply mb-14;}.button-loader{@apply relative flex items-center gap-x-2 overflow-hidden pointer-events-none opacity-30;}.button-loader:after{@apply content-[""] shrink-0 relative w-6 h-6 border-[5px] border-white border-t-[#222] rounded-full box-border animate-[spin_1s_linear_infinite];}.button-loader-link{@apply relative flex items-center gap-x-2 overflow-hidden;}.button-loader-link:after{@apply content-[""] shrink-0 relative w-6 h-6 border-[5px] border-gray-300 border-t-[#222] rounded-full box-border animate-[spin_1s_linear_infinite];}}.Autocomplete{@apply relative;}.Autocomplete:has(.animate-listbox-open) .search-icon-left{@apply cursor-pointer;}.Button{@apply focus:outline-none font-semibold;}.Button.Button--primary{@apply text-slate-700 bg-black-250 border-slate-700 hover:bg-black-300 focus:ring-slate-700;}.Button.Button--secondary{@apply bg-teal-700 border-teal-700 hover:bg-teal-700 text-white focus:ring-teal-700/50;}.Button.Button--icon{@apply p-1 !important;}.Button.Button--link{@apply font-medium;@apply p-0 !important;}.Button.Button--link:not(.Button--custom-link){@apply text-slate-700 underline !important;}.Button.Button--sm{@apply px-2 py-1;}.Button.Button--md{@apply px-4 py-1;}.Button.Button--uppercase{@apply uppercase;}.Button.Button--rounded{@apply rounded-full;}.Button.Button--disabled,.Button svg{@apply pointer-events-none;}.Button:not(.Button--borderless,.Button--link){@apply border focus:ring-2;}.Button:not(.Button--rounded){@apply rounded;}.Button:not(.Button--link){@apply no-underline;}.Button:has(svg){@apply flex items-center;}.Button:has(svg).Button--sm{@apply gap-x-1;}.Button:has(svg).Button--md{@apply gap-x-2;}.contact-form:not(.contact-form--success) .contact-form__msg{@apply hidden !important;}html:has(dialog[open].prevent-scroll){overflow:hidden}.dialog{@apply grid grid-rows-[max-content] fixed inset-0 p-0 text-left bg-white shadow-xl rounded-lg overflow-hidden max-inline-[min(90vw,60ch)] max-block-[min(80vw,100%)] max-block-[min(80dvb,100%)] min-w-[300px];}.dialog form{@apply grid grid-rows-[auto_1fr_auto] items-start max-block-[min(80vw,100%)] max-block-[min(80dvb,100%)];}.dialog .dialog-header{@apply empty:hidden !important;}.dialog .dialog-content{@apply overflow-y-auto overscroll-contain p-4 max-block-[100%];}.dialog .dialog-footer{@apply flex justify-between items-center p-4 border-t;}.dialog::backdrop{@apply bg-gray-900/50;}.dialog:not([open]){@apply pointer-events-none opacity-0;}.dialog[open]{@apply animate-[fade-scale-in_.2s_ease-out];}.dialog.dialog-full-mobile{@apply xs-max:shadow-none xs-max:rounded-none xs-max:max-inline-[min(100vw,100ch)] xs-max:max-block-[min(100vw,100%)] xs-max:max-block-[min(100dvb,100%)];}.dialog.dialog-full-mobile form{@apply xs-max:max-block-[100vh] xs-max:max-block-[100dvb];}.dialog.closing{@apply animate-[fade-scale-out_.1s_ease-out];}.dialog.dark::backdrop{@apply bg-black-900/90;}#dots span{@apply inline-block bg-gray-300 rounded-full w-2 h-2 mr-2;animation-name:blink;animation-duration:1.75s;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes blink{0%{background-color:#2223}20%{background-color:#222;transform:scale(1.25)}to{background-color:#2223}}.textbox input,.textbox textarea,.textbox select,.textarea input,.textarea textarea,.textarea select,.select input,.select textarea,.select select{@apply w-full border-2 py-2 shadow-sm focus:outline-none text-sm transition-colors ease-in-out duration-200 focus:ring-1 placeholder:text-gray-500 sm-max:placeholder:text-sm placeholder-shown:text-ellipsis;}.textbox.primary input,.textbox.primary textarea,.textbox.primary select,.textarea.primary input,.textarea.primary textarea,.textarea.primary select,.select.primary input,.select.primary textarea,.select.primary select{@apply border-slate-700 focus:ring-slate-700 focus:border-slate-700;}.textbox.secondary input,.textbox.secondary textarea,.textbox.secondary select,.textarea.secondary input,.textarea.secondary textarea,.textarea.secondary select,.select.secondary input,.select.secondary textarea,.select.secondary select{@apply border border-gray-300 rounded focus:ring-slate-700 focus:border-slate-700;}.checkbox input{@apply focus:ring-2 focus:ring-offset-2 focus-within:outline-none;}.checkbox.primary input{@apply focus:ring-slate-700;}.form-checkbox{@apply appearance-none text-[#222] p-0 inline-block align-middle select-none shrink-0 bg-white rounded border border-gray-400 h-4 w-4;-webkit-print-color-adjust:exact;print-color-adjust:exact;background-origin:border-box}.form-checkbox:checked{@apply border-transparent bg-current bg-center bg-no-repeat hover:border-transparent hover:bg-current focus:border-transparent focus:bg-current;background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}.form-radio{@apply appearance-none text-[#222] p-0 inline-block align-middle select-none shrink-0 bg-white rounded-full border border-gray-400 h-4 w-4;-webkit-print-color-adjust:exact;print-color-adjust:exact;background-origin:border-box}.form-radio:checked{@apply border-transparent bg-current bg-center bg-no-repeat hover:border-transparent hover:bg-current focus:border-transparent focus:bg-current;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}.form-select{@apply appearance-none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e")!important;background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.field-error{@apply border-red-500 bg-[#FDF2F2] placeholder:text-red-700 focus:ring-red-500 focus:border-red-500 placeholder:bg-[#FDF2F2] !important;}.field-error.form-select{@apply text-red-700 !important;}.loading-bar{@apply bg-gray-50 overflow-hidden relative;box-shadow:2px 0 10px inset #0003}.loading-bar .loading-bar__inner{@apply w-0 h-full;background-size:30px 30px;animation:move 2s linear infinite;box-shadow:2px 0 10px inset #0003}.loading-bar.loading-bar__primary{@apply rounded-md;}.loading-bar.loading-bar__primary .loading-bar__inner{@apply bg-[#767676];background-image:linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent)}.loading-bar.loading-bar__secondary .loading-bar__inner{@apply bg-[#909090];}.loading-bar .perc{@apply absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 text-white font-bold;}.indeterminate{@apply before:w-full before:bottom-0 before:absolute before:h-full before:h-1 before:bg-yellow-500 before:animate-indeterminate_first;}.popover[data-popper-placement^=top] [data-popper-arrow],.popover[data-popper-placement^=bottom] [data-popper-arrow]{@apply before:left-0;}.popover[data-popper-placement^=top] [data-popper-arrow]{@apply -bottom-2 before:border-b before:border-r before:border-gray-300;}.popover[data-popper-placement^=bottom] [data-popper-arrow]{@apply -top-2 before:border-t before:border-l before:border-gray-300;}[data-popper-arrow],[data-popper-arrow]:before{background:inherit}.slider{@apply relative overflow-hidden;}.slider::-webkit-scrollbar{width:0;height:0}.slider .slider-button__prev,.slider .slider-button__next{@apply absolute top-1/2 z-10 -translate-y-1/2 bg-white/90 sm-max:hidden md:block rounded-full px-1.5 py-1.5 border border-solid shadow cursor-pointer min-w-max;}.slider .slider-button__prev{@apply left-4 right-auto;}.slider .slider-button__next{@apply right-4 left-auto;}.slider .slider-container{@apply inline-flex w-full overflow-x-scroll md:overflow-x-hidden md:w-auto transition duration-200 ease-in-out sm-max:transform-none;}.slider .slider-container::-webkit-scrollbar{width:0;height:0}.slider .slider-container>.slider-card{@apply max-w-full shrink-0;}.slider .slider-card{@apply flex flex-col rounded-lg border ring-gray-200 w-64 mr-3 last-of-type:mr-0 overflow-hidden;}.slider .slider-card-action{@apply overflow-hidden relative flex flex-col flex-1 h-full w-full;}.slider .slider-card-main{@apply flex flex-col flex-grow justify-between h-full w-full;}.slider .slider-card-default+.slider-card-main{@apply h-auto;}.slider .slider-card-content{@apply p-3 h-full w-full;}.Stars:before{background:linear-gradient(90deg,#ff8945 var(--value),#d1d5db var(--value));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
1
+ @tailwind utilities;@layer utilities{.header-1{@apply text-2.75xl font-bold;}.header-2{@apply text-2.5xl font-semibold;}.header-3{@apply text-xl font-bold;}.header-4{@apply text-lg font-bold;}.header-5{@apply text-base font-semibold;}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.custom-scrollbar::-webkit-scrollbar{@apply w-4;}.custom-scrollbar::-webkit-scrollbar-thumb{@apply rounded-full bg-gray-300 border-4 border-solid border-transparent;background-clip:padding-box}.active-cat{@apply text-teal-700 font-semibold border-l-teal-700 bg-gray-50;}.icon-title{@apply flex items-center mb-4 ml-3 space-x-3;}.spacer{@apply mb-14;}.button-loader{@apply relative flex items-center gap-x-2 overflow-hidden pointer-events-none opacity-30;}.button-loader:after{@apply content-[""] shrink-0 relative w-6 h-6 border-[5px] border-white border-t-[#222] rounded-full box-border animate-[spin_1s_linear_infinite];}.button-loader-link{@apply relative flex items-center gap-x-2 overflow-hidden;}.button-loader-link:after{@apply content-[""] shrink-0 relative w-6 h-6 border-[5px] border-gray-300 border-t-[#222] rounded-full box-border animate-[spin_1s_linear_infinite];}}.Autocomplete{@apply relative;}.Autocomplete:has(.animate-listbox-open) .search-icon-left{@apply cursor-pointer;}.Button{@apply focus:outline-none font-semibold;}.Button.Button--primary{@apply text-slate-700 bg-black-250 border-slate-700 hover:bg-black-300 focus:ring-slate-700;}.Button.Button--secondary{@apply bg-teal-700 border-teal-700 hover:bg-teal-700 text-white focus:ring-teal-700/50;}.Button.Button--icon{@apply p-1 !important;}.Button.Button--link{@apply font-medium;@apply p-0 !important;}.Button.Button--link:not(.Button--custom-link){@apply text-slate-700 underline !important;}.Button.Button--sm{@apply px-2 py-1;}.Button.Button--md{@apply px-4 py-1;}.Button.Button--uppercase{@apply uppercase;}.Button.Button--rounded{@apply rounded-full;}.Button.Button--disabled,.Button svg{@apply pointer-events-none;}.Button:not(.Button--borderless,.Button--link){@apply border focus:ring-2;}.Button:not(.Button--rounded){@apply rounded;}.Button:not(.Button--link){@apply no-underline;}.Button:has(svg){@apply flex items-center;}.Button:has(svg).Button--sm{@apply gap-x-1;}.Button:has(svg).Button--md{@apply gap-x-2;}.contact-form:not(.contact-form--success) .contact-form__msg{@apply hidden !important;}.content-card{@apply overflow-hidden border border-black-300 rounded bg-white shadow-sm;}.content-card .content-card__header{@apply px-5 py-6;}.content-card .content-card__content{@apply px-5 py-6 empty:hidden;}.content-card .content-card__footer{@apply px-5 py-6;}.content-card.content-card--block{@apply w-full max-w-full;}.content-card.content-card--primary .content-card__header{@apply bg-black-200 border-b border-b-black-300;}html:has(dialog[open].prevent-scroll){overflow:hidden}.dialog{@apply grid grid-rows-[max-content] fixed inset-0 p-0 text-left bg-white shadow-xl rounded-lg overflow-hidden max-inline-[min(90vw,60ch)] max-block-[min(80vw,100%)] max-block-[min(80dvb,100%)] min-w-[300px];}.dialog form{@apply grid grid-rows-[auto_1fr_auto] items-start max-block-[min(80vw,100%)] max-block-[min(80dvb,100%)];}.dialog .dialog-header{@apply empty:hidden !important;}.dialog .dialog-content{@apply overflow-y-auto overscroll-contain p-4 max-block-[100%];}.dialog .dialog-footer{@apply flex justify-between items-center p-4 border-t;}.dialog::backdrop{@apply bg-gray-900/50;}.dialog:not([open]){@apply pointer-events-none opacity-0;}.dialog[open]{@apply animate-[fade-scale-in_.2s_ease-out];}.dialog.dialog-full-mobile{@apply xs-max:shadow-none xs-max:rounded-none xs-max:max-inline-[min(100vw,100ch)] xs-max:max-block-[min(100vw,100%)] xs-max:max-block-[min(100dvb,100%)];}.dialog.dialog-full-mobile form{@apply xs-max:max-block-[100vh] xs-max:max-block-[100dvb];}.dialog.closing{@apply animate-[fade-scale-out_.1s_ease-out];}.dialog.dark::backdrop{@apply bg-black-900/90;}#dots span{@apply inline-block bg-gray-300 rounded-full w-2 h-2 mr-2;animation-name:blink;animation-duration:1.75s;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes blink{0%{background-color:#2223}20%{background-color:#222;transform:scale(1.25)}to{background-color:#2223}}.textbox input,.textbox textarea,.textbox select,.textarea input,.textarea textarea,.textarea select,.select input,.select textarea,.select select{@apply w-full border-2 py-2 shadow-sm focus:outline-none text-sm transition-colors ease-in-out duration-200 focus:ring-1 placeholder:text-gray-500 sm-max:placeholder:text-sm placeholder-shown:text-ellipsis;}.textbox.primary input,.textbox.primary textarea,.textbox.primary select,.textarea.primary input,.textarea.primary textarea,.textarea.primary select,.select.primary input,.select.primary textarea,.select.primary select{@apply border-slate-700 focus:ring-slate-700 focus:border-slate-700;}.textbox.secondary input,.textbox.secondary textarea,.textbox.secondary select,.textarea.secondary input,.textarea.secondary textarea,.textarea.secondary select,.select.secondary input,.select.secondary textarea,.select.secondary select{@apply border border-gray-300 rounded focus:ring-slate-700 focus:border-slate-700;}.checkbox input{@apply focus:ring-2 focus:ring-offset-2 focus-within:outline-none;}.checkbox.primary input{@apply focus:ring-slate-700;}.form-checkbox{@apply appearance-none text-[#222] p-0 inline-block align-middle select-none shrink-0 bg-white rounded border border-gray-400 h-4 w-4;-webkit-print-color-adjust:exact;print-color-adjust:exact;background-origin:border-box}.form-checkbox:checked{@apply border-transparent bg-current bg-center bg-no-repeat hover:border-transparent hover:bg-current focus:border-transparent focus:bg-current;background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}.form-radio{@apply appearance-none text-[#222] p-0 inline-block align-middle select-none shrink-0 bg-white rounded-full border border-gray-400 h-4 w-4;-webkit-print-color-adjust:exact;print-color-adjust:exact;background-origin:border-box}.form-radio:checked{@apply border-transparent bg-current bg-center bg-no-repeat hover:border-transparent hover:bg-current focus:border-transparent focus:bg-current;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}.form-select{@apply appearance-none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e")!important;background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}form.loading button[type=submit]{@apply button-loader;}.field-error{@apply border-red-500 bg-[#FDF2F2] placeholder:text-red-700 focus:ring-red-500 focus:border-red-500 placeholder:bg-[#FDF2F2] !important;}.field-error.form-select{@apply text-red-700 !important;}.loading-bar{@apply bg-gray-50 overflow-hidden relative;box-shadow:2px 0 10px inset #0003}.loading-bar .loading-bar__inner{@apply w-0 h-full;background-size:30px 30px;animation:move 2s linear infinite;box-shadow:2px 0 10px inset #0003}.loading-bar.loading-bar__primary{@apply rounded-md;}.loading-bar.loading-bar__primary .loading-bar__inner{@apply bg-[#767676];background-image:linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent)}.loading-bar.loading-bar__secondary .loading-bar__inner{@apply bg-[#909090];}.loading-bar .perc{@apply absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 text-white font-bold;}.indeterminate{@apply before:w-full before:bottom-0 before:absolute before:h-full before:h-1 before:bg-yellow-500 before:animate-indeterminate_first;}.popover[data-popper-placement^=top] [data-popper-arrow],.popover[data-popper-placement^=bottom] [data-popper-arrow]{@apply before:left-0;}.popover[data-popper-placement^=top] [data-popper-arrow]{@apply -bottom-2 before:border-b before:border-r before:border-gray-300;}.popover[data-popper-placement^=bottom] [data-popper-arrow]{@apply -top-2 before:border-t before:border-l before:border-gray-300;}[data-popper-arrow],[data-popper-arrow]:before{background:inherit}.slider{@apply relative overflow-hidden;}.slider::-webkit-scrollbar{width:0;height:0}.slider .slider-button__prev,.slider .slider-button__next{@apply absolute top-1/2 z-10 -translate-y-1/2 bg-white/90 sm-max:hidden md:block rounded-full px-1.5 py-1.5 border border-solid shadow cursor-pointer min-w-max;}.slider .slider-button__prev{@apply left-4 right-auto;}.slider .slider-button__next{@apply right-4 left-auto;}.slider .slider-container{@apply inline-flex w-full overflow-x-scroll md:overflow-x-hidden md:w-auto transition duration-200 ease-in-out sm-max:transform-none;}.slider .slider-container::-webkit-scrollbar{width:0;height:0}.slider .slider-container>.slider-card{@apply max-w-full shrink-0;}.slider .slider-card{@apply flex flex-col rounded-lg border ring-gray-200 w-64 mr-3 last-of-type:mr-0 overflow-hidden;}.slider .slider-card-action{@apply overflow-hidden relative flex flex-col flex-1 h-full w-full;}.slider .slider-card-main{@apply flex flex-col flex-grow justify-between h-full w-full;}.slider .slider-card-default+.slider-card-main{@apply h-auto;}.slider .slider-card-content{@apply p-3 h-full w-full;}.stacked-list{@apply flex gap-4 py-6 border-b border-black-300 first:pt-0 last:border-b-0 last:pb-0;}.Stars:before{background:linear-gradient(90deg,#ff8945 var(--value),#d1d5db var(--value));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vehiclehistory/property-lib",
3
3
  "description": "Shared UI/Utility Library for Property Sites",
4
- "version": "0.0.35",
4
+ "version": "0.0.37",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/penguin-marketing/vh-recs-ui-library.git"