@vehiclehistory/property-lib 0.0.995 → 0.0.997

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.
@@ -20,6 +20,7 @@ declare const _default: NamedExoticComponent<{
20
20
  stickyHeader?: boolean;
21
21
  title?: string | ReactNode;
22
22
  titleClass?: string;
23
+ variation?: "primary" | "blue";
23
24
  useFormMethod?: boolean;
24
25
  }>;
25
26
  export default _default;
package/dist/main.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx as c, jsxs as g, Fragment as S } from "react/jsx-runtime";
1
+ import { jsx as c, jsxs as g, Fragment as k } from "react/jsx-runtime";
2
2
  import m from "classnames";
3
3
  import { memo as b, useState as N, useEffect as E } from "react";
4
4
  const G = {
@@ -35,6 +35,9 @@ const G = {
35
35
  alertOutline: {
36
36
  path: '<path d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z" />'
37
37
  },
38
+ alert: {
39
+ path: '<path d="M12 2 1 21h22M12 6l7.53 13H4.47M11 10v4h2v-4m-2 6v2h2v-2"/>'
40
+ },
38
41
  arrowLeft: {
39
42
  path: '<path d="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" />'
40
43
  },
@@ -559,7 +562,7 @@ const G = {
559
562
  },
560
563
  e
561
564
  ),
562
- children: /* @__PURE__ */ g(S, { children: [
565
+ children: /* @__PURE__ */ g(k, { children: [
563
566
  /* @__PURE__ */ g(
564
567
  "button",
565
568
  {
@@ -670,7 +673,7 @@ const G = {
670
673
  "list-disc space-y-1 pl-5 mt-2 text-xs",
671
674
  a
672
675
  ),
673
- children: t.map((V, C) => /* @__PURE__ */ c("li", { children: V }, C))
676
+ children: t.map((V, M) => /* @__PURE__ */ c("li", { children: V }, M))
674
677
  }
675
678
  ) : "",
676
679
  d
@@ -692,15 +695,15 @@ const G = {
692
695
  mobileBackdrop: p = !1,
693
696
  name: u = "",
694
697
  options: V = [],
695
- parentProps: C = {},
698
+ parentProps: M = {},
696
699
  placeholder: f = "",
697
700
  props: v = {},
698
701
  rightIcon: A = "",
699
702
  required: h = !1,
700
703
  showSearchIcon: y = !0,
701
704
  showRightIcon: w = !1,
702
- size: M = "medium",
703
- styles: z = null,
705
+ size: C = "medium",
706
+ styles: S = null,
704
707
  title: j = "",
705
708
  type: P,
706
709
  useGoogle: R = !1,
@@ -715,8 +718,8 @@ const G = {
715
718
  "data-search-type": P,
716
719
  "data-use-google": R,
717
720
  className: m("Autocomplete", e),
718
- style: z ? { ...z } : null,
719
- ...C,
721
+ style: S ? { ...S } : null,
722
+ ...M,
720
723
  children: [
721
724
  y && /* @__PURE__ */ g(
722
725
  "span",
@@ -725,8 +728,8 @@ const G = {
725
728
  "search-icon-left absolute inset-y-0 left-0 flex items-center ",
726
729
  {
727
730
  "pointer-events-none": p,
728
- "pl-2": M === "medium",
729
- "pl-4": M === "large"
731
+ "pl-2": C === "medium",
732
+ "pl-4": C === "large"
730
733
  }
731
734
  ),
732
735
  children: [
@@ -735,7 +738,7 @@ const G = {
735
738
  {
736
739
  className: "home-search select-none text-gray-500",
737
740
  name: i,
738
- size: M === "xLarge" ? "small" : "xSmall",
741
+ size: C === "xLarge" ? "small" : "xSmall",
739
742
  viewBox: "0 0 24 24",
740
743
  ...l
741
744
  }
@@ -745,7 +748,7 @@ const G = {
745
748
  {
746
749
  className: "arrow-left select-none text-gray-500 hidden",
747
750
  name: "arrowLeft",
748
- size: M === "xLarge" ? "small" : "xSmall",
751
+ size: C === "xLarge" ? "small" : "xSmall",
749
752
  viewBox: "0 0 24 24"
750
753
  }
751
754
  )
@@ -760,11 +763,11 @@ const G = {
760
763
  className: m(
761
764
  "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",
762
765
  {
763
- "pl-8": y === !0 && M === "medium",
764
- "pl-10": y === !0 && M === "large",
765
- "px-3 h-10": M === "medium",
766
- "px-4 h-12": M === "large",
767
- "px-5 h-[60px] sm:!text-base": M === "xLarge",
766
+ "pl-8": y === !0 && C === "medium",
767
+ "pl-10": y === !0 && C === "large",
768
+ "px-3 h-10": C === "medium",
769
+ "px-4 h-12": C === "large",
770
+ "px-5 h-[60px] sm:!text-base": C === "xLarge",
768
771
  peer: n
769
772
  },
770
773
  r
@@ -786,9 +789,9 @@ const G = {
786
789
  "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",
787
790
  {
788
791
  "!left-7": y === !0,
789
- "left-2": M === "medium",
790
- "left-3": M === "large",
791
- "left-4": M === "xLarge"
792
+ "left-2": C === "medium",
793
+ "left-3": C === "large",
794
+ "left-4": C === "xLarge"
792
795
  }
793
796
  ),
794
797
  children: n
@@ -850,7 +853,7 @@ const G = {
850
853
  "data-title": j,
851
854
  "aria-labelledby": "Label",
852
855
  "aria-activedescendant": "search-item-0",
853
- children: V.length > 0 ? V.map((k, Z) => /* @__PURE__ */ c(
856
+ children: V.length > 0 ? V.map((z, Z) => /* @__PURE__ */ c(
854
857
  "li",
855
858
  {
856
859
  id: `search-item-${Z}`,
@@ -858,7 +861,7 @@ const G = {
858
861
  className: "dropdown-item text-gray-900 cursor-default select-none py-2 pl-3 pr-4 truncate hover:bg-gray-50 font-normal focus:bg-gray-50 focus:text-green-400 focus-visible:outline-0",
859
862
  "aria-selected": Z === 0,
860
863
  role: "option",
861
- children: (k == null ? void 0 : k.name) || k
864
+ children: (z == null ? void 0 : z.name) || z
862
865
  },
863
866
  `search-item-${Z}`
864
867
  )) : ""
@@ -903,7 +906,7 @@ const G = {
903
906
  rightIconProps: p = {},
904
907
  rounded: u = !1,
905
908
  size: V = "md",
906
- type: C = "button",
909
+ type: M = "button",
907
910
  uppercase: f = !1,
908
911
  variation: v = "primary"
909
912
  }) => {
@@ -911,7 +914,7 @@ const G = {
911
914
  return /* @__PURE__ */ g(
912
915
  A,
913
916
  {
914
- type: A !== "a" ? C : null,
917
+ type: A !== "a" ? M : null,
915
918
  className: m(
916
919
  "button",
917
920
  {
@@ -996,7 +999,7 @@ const G = {
996
999
  );
997
1000
  }, $1 = b(e1), t1 = ({
998
1001
  activator: d,
999
- id: e = "",
1002
+ id: e,
1000
1003
  children: t,
1001
1004
  className: a,
1002
1005
  contentClass: n,
@@ -1008,39 +1011,41 @@ const G = {
1008
1011
  headerClass: p,
1009
1012
  hideClose: u = !1,
1010
1013
  iconSize: V = "medium",
1011
- preventPageScroll: C = !0,
1014
+ preventPageScroll: M = !0,
1012
1015
  sheet: f = !1,
1013
1016
  sheetDirection: v = "right",
1014
1017
  stickyHeader: A = !1,
1015
1018
  title: h = "",
1016
1019
  titleClass: y,
1017
- useFormMethod: w = !0
1020
+ variation: w = "primary",
1021
+ useFormMethod: C = !0
1018
1022
  }) => {
1019
- const M = w ? "form" : "div";
1020
- return /* @__PURE__ */ g(S, { children: [
1023
+ const S = C ? "form" : "div";
1024
+ return /* @__PURE__ */ g(k, { children: [
1021
1025
  d && /* @__PURE__ */ c("span", { id: `${e}-dialog-activator`, children: d }),
1022
1026
  /* @__PURE__ */ c(
1023
1027
  "dialog",
1024
1028
  {
1025
1029
  inert: "",
1026
1030
  ...i ? { closedby: "none" } : null,
1027
- id: `${e}-dialog`,
1031
+ id: e ? `${e}-dialog` : null,
1028
1032
  className: m(
1029
1033
  "dialog",
1030
1034
  {
1035
+ [`dialog-${w}`]: w,
1031
1036
  "dialog-full-mobile": o,
1032
1037
  "dialog-sheet": f,
1033
1038
  dark: r,
1034
1039
  "dialog-sheet--right": v === "right" && f,
1035
- "prevent-scroll": C
1040
+ "prevent-scroll": M
1036
1041
  },
1037
1042
  a
1038
1043
  ),
1039
1044
  children: /* @__PURE__ */ g(
1040
- M,
1045
+ S,
1041
1046
  {
1042
1047
  className: "dialog-container",
1043
- method: w ? "dialog" : null,
1048
+ method: C ? "dialog" : null,
1044
1049
  children: [
1045
1050
  /* @__PURE__ */ g(
1046
1051
  "header",
@@ -1055,7 +1060,7 @@ const G = {
1055
1060
  p
1056
1061
  ),
1057
1062
  children: [
1058
- h && /* @__PURE__ */ c("h3", { id: `${e}-dialog-title`, className: y, children: h }),
1063
+ h && /* @__PURE__ */ c("h3", { className: y, children: h }),
1059
1064
  !u && /* @__PURE__ */ c(
1060
1065
  "button",
1061
1066
  {
@@ -1080,7 +1085,6 @@ const G = {
1080
1085
  /* @__PURE__ */ c(
1081
1086
  "div",
1082
1087
  {
1083
- id: `${e}-dialog-content`,
1084
1088
  className: m(
1085
1089
  "dialog-content",
1086
1090
  {
@@ -1091,7 +1095,7 @@ const G = {
1091
1095
  children: t
1092
1096
  }
1093
1097
  ),
1094
- l && /* @__PURE__ */ c("footer", { id: `${e}-dialog-footer`, className: "dialog-footer", children: l })
1098
+ l && /* @__PURE__ */ c("footer", { className: "dialog-footer", children: l })
1095
1099
  ]
1096
1100
  }
1097
1101
  )
@@ -1122,16 +1126,16 @@ const G = {
1122
1126
  );
1123
1127
  if (!o) return;
1124
1128
  let p, u, V = !1;
1125
- function C(f) {
1129
+ function M(f) {
1126
1130
  p === void 0 && (p = f);
1127
1131
  const v = f - p;
1128
1132
  if (u !== f) {
1129
1133
  const A = v / s * 101;
1130
1134
  o.style.width = `${A}%`, e && e({ elapsed: v, percentage: A }), A >= 101 && (l && l(), V = !0, window.cancelAnimationFrame(f));
1131
1135
  }
1132
- v < s && (u = f, V || window.requestAnimationFrame(C));
1136
+ v < s && (u = f, V || window.requestAnimationFrame(M));
1133
1137
  }
1134
- window.requestAnimationFrame(C);
1138
+ window.requestAnimationFrame(M);
1135
1139
  }
1136
1140
  return E(() => {
1137
1141
  i({ cb: d });
@@ -1162,7 +1166,7 @@ const G = {
1162
1166
  disabled: r = !1,
1163
1167
  options: i = {},
1164
1168
  trigger: l = "click"
1165
- }) => /* @__PURE__ */ g(S, { children: [
1169
+ }) => /* @__PURE__ */ g(k, { children: [
1166
1170
  /* @__PURE__ */ c(
1167
1171
  "div",
1168
1172
  {
@@ -1216,9 +1220,9 @@ const G = {
1216
1220
  rounded: l = !0,
1217
1221
  showLabel: o = !1
1218
1222
  }) => {
1219
- const u = ((V, C) => {
1223
+ const u = ((V, M) => {
1220
1224
  if (V) {
1221
- const f = Number(C) / V;
1225
+ const f = Number(M) / V;
1222
1226
  return f > 1 ? 100 : f * 100;
1223
1227
  }
1224
1228
  return n;
@@ -1314,7 +1318,7 @@ const G = {
1314
1318
  variation: u = "primary",
1315
1319
  value: V
1316
1320
  }) => {
1317
- const C = i ? { defaultValue: "" } : {};
1321
+ const M = i ? { defaultValue: "" } : {};
1318
1322
  return /* @__PURE__ */ g(
1319
1323
  "label",
1320
1324
  {
@@ -1338,7 +1342,7 @@ const G = {
1338
1342
  id: a,
1339
1343
  name: s,
1340
1344
  value: V,
1341
- ...C,
1345
+ ...M,
1342
1346
  ...l,
1343
1347
  children: [
1344
1348
  i && /* @__PURE__ */ c("option", { hidden: !0, value: "", children: i }),
@@ -1491,11 +1495,11 @@ const G = {
1491
1495
  styles: p = null,
1492
1496
  type: u = "text",
1493
1497
  value: V,
1494
- variation: C = "primary"
1498
+ variation: M = "primary"
1495
1499
  }) => /* @__PURE__ */ g(
1496
1500
  "div",
1497
1501
  {
1498
- className: m("relative textbox", C, d),
1502
+ className: m("relative textbox", M, d),
1499
1503
  style: p ? { ...p } : null,
1500
1504
  children: [
1501
1505
  n && /* @__PURE__ */ c("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ c(
@@ -1525,9 +1529,9 @@ const G = {
1525
1529
  },
1526
1530
  o.inputClass ?? "",
1527
1531
  r,
1528
- { "placeholder:!text-black-900": t && C === "blue" },
1532
+ { "placeholder:!text-black-900": t && M === "blue" },
1529
1533
  {
1530
- "!bg-red-500/10 placeholder:!text-red-700": t && C !== "blue"
1534
+ "!bg-red-500/10 placeholder:!text-red-700": t && M !== "blue"
1531
1535
  }
1532
1536
  ),
1533
1537
  ...o
@@ -1551,7 +1555,7 @@ const G = {
1551
1555
  a && /* @__PURE__ */ c("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
1552
1556
  ]
1553
1557
  }
1554
- ), D = b(u1), p1 = ({ checked: d = !1, props: e = {} }) => /* @__PURE__ */ c(S, { children: /* @__PURE__ */ c("label", { className: "flex cursor-pointer select-none items-center", children: /* @__PURE__ */ g("div", { className: "relative", children: [
1558
+ ), D = b(u1), p1 = ({ checked: d = !1, props: e = {} }) => /* @__PURE__ */ c(k, { children: /* @__PURE__ */ c("label", { className: "flex cursor-pointer select-none items-center", children: /* @__PURE__ */ g("div", { className: "relative", children: [
1555
1559
  /* @__PURE__ */ c(
1556
1560
  "input",
1557
1561
  {
@@ -1582,7 +1586,7 @@ const G = {
1582
1586
  titleClass: s,
1583
1587
  uppercase: r = !0
1584
1588
  }) => {
1585
- const i = a || /* @__PURE__ */ g(S, { children: [
1589
+ const i = a || /* @__PURE__ */ g(k, { children: [
1586
1590
  "Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
1587
1591
  " ",
1588
1592
  /* @__PURE__ */ c(
@@ -2145,10 +2149,10 @@ const G = {
2145
2149
  const u = {
2146
2150
  "font-size": p,
2147
2151
  ...a
2148
- }, V = `.${e(`${t}-${o}`)}`, C = n ? n({ sizeKey: o, sizeValue: p }) : {};
2152
+ }, V = `.${e(`${t}-${o}`)}`, M = n ? n({ sizeKey: o, sizeValue: p }) : {};
2149
2153
  l[V] = {
2150
2154
  ...u,
2151
- ...C
2155
+ ...M
2152
2156
  }, Object.entries(r).forEach(([f, v]) => {
2153
2157
  const A = `.${e(`${t}-${o}-${f}`)}`, h = i ? i({ sizeKey: o, sizeValue: p, weightKey: f, weightValue: v }) : {};
2154
2158
  l[A] = {
@@ -2460,8 +2464,8 @@ class H {
2460
2464
  url: p = null,
2461
2465
  ip: u = null,
2462
2466
  sessionId: V = null,
2463
- user: C = null
2464
- } = (window == null ? void 0 : window.options) ?? {}, { id: f = null } = C ?? {};
2467
+ user: M = null
2468
+ } = (window == null ? void 0 : window.options) ?? {}, { id: f = null } = M ?? {};
2465
2469
  t.userId = s ?? f, t.isHeads = l, t.isLoggedIn = o, t.url = p, await H.createData(
2466
2470
  "/api/event",
2467
2471
  {
@@ -2651,15 +2655,15 @@ class H {
2651
2655
  if ((o = window == null ? void 0 : window.options) != null && o.isPdf)
2652
2656
  return i;
2653
2657
  try {
2654
- 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;
2658
+ const u = await (await fetch("/api/client-headers")).json(), V = (u == null ? void 0 : u.sessionId) ?? "noSessionId", M = (u == null ? void 0 : u.ip) ?? null, f = e * 1e3;
2655
2659
  return localStorage.setItem(
2656
2660
  l,
2657
2661
  JSON.stringify({
2658
2662
  tolken: V,
2659
- ip: C,
2663
+ ip: M,
2660
2664
  expire: (/* @__PURE__ */ new Date()).getTime() + f
2661
2665
  })
2662
- ), { tolken: V, ip: C, userAgent: a, platform: r };
2666
+ ), { tolken: V, ip: M, userAgent: a, platform: r };
2663
2667
  } catch (p) {
2664
2668
  console.error("getHeaders", p);
2665
2669
  }
@@ -2906,21 +2910,21 @@ class H {
2906
2910
  ), V = new MutationObserver((h, y) => {
2907
2911
  h.forEach(async (w) => {
2908
2912
  if (w.attributeName === "open") {
2909
- const M = w.target;
2910
- if (!(M == null ? void 0 : M.hasAttribute("open"))) return;
2911
- M == null || M.removeAttribute("inert"), M == null || M.dispatchEvent(u.opening), M && await A(M), M == null || M.dispatchEvent(u.opened);
2913
+ const C = w.target;
2914
+ if (!(C == null ? void 0 : C.hasAttribute("open"))) return;
2915
+ C == null || C.removeAttribute("inert"), C == null || C.dispatchEvent(u.opening), C && await A(C), C == null || C.dispatchEvent(u.opened);
2912
2916
  }
2913
2917
  });
2914
- }), C = new MutationObserver((h, y) => {
2918
+ }), M = new MutationObserver((h, y) => {
2915
2919
  h.forEach((w) => {
2916
- w.removedNodes.forEach((M) => {
2917
- M.nodeName === "DIALOG" && (M.removeEventListener("click", v), M.removeEventListener("close", f), M.dispatchEvent(u.removed), C == null || C.disconnect(), V == null || V.disconnect());
2920
+ w.removedNodes.forEach((C) => {
2921
+ C.nodeName === "DIALOG" && (C.removeEventListener("click", v), C.removeEventListener("close", f), C.dispatchEvent(u.removed), M == null || M.disconnect(), V == null || V.disconnect());
2918
2922
  });
2919
2923
  });
2920
2924
  });
2921
2925
  o && (V.observe(o, {
2922
2926
  attributes: !0
2923
- }), C.observe(document.body, {
2927
+ }), M.observe(document.body, {
2924
2928
  attributes: !1,
2925
2929
  subtree: !1,
2926
2930
  childList: !0
@@ -3095,10 +3099,10 @@ class H {
3095
3099
  vin: p = null,
3096
3100
  license: u = null,
3097
3101
  token: V = null,
3098
- phone: C = null
3102
+ phone: M = null
3099
3103
  } = e || {}, f = t && t !== "", v = r && r !== "" && r !== "18", A = i && i !== "" && r !== "99";
3100
3104
  let h = [];
3101
- 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), 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("&");
3105
+ 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)), M && M !== "" && h.push("phone=" + M), l && l !== "" && h.push("city=" + l), 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("&");
3102
3106
  }
3103
3107
  static padTo2Digits(e) {
3104
3108
  return e.toString().padStart(2, "0");
@@ -3119,7 +3123,7 @@ class H {
3119
3123
  useGoogleOverride: p = !1,
3120
3124
  useAmazonOverride: u = !1,
3121
3125
  isSandboxAccount: V = !1,
3122
- isOptOutSearch: C = !1
3126
+ isOptOutSearch: M = !1
3123
3127
  } = t ?? {}, { tolken: f = null, ip: v = null } = await H.getHeaders(), h = [
3124
3128
  "query=" + encodeURIComponent(this.cleanupAddress(e)),
3125
3129
  "addressesOnly=" + a,
@@ -3131,11 +3135,11 @@ class H {
3131
3135
  "useGoogleOverride=" + p,
3132
3136
  "useAmazonOverride=" + u,
3133
3137
  "isSandboxAccount=" + V,
3134
- "isOptOutSearch=" + C
3138
+ "isOptOutSearch=" + M
3135
3139
  ];
3136
3140
  l && l !== "" && !s && h.push("state=" + l), f && f !== "" && h.push("tolken=" + f), v && v !== "" && h.push("ip=" + v);
3137
- const y = h.join("&"), M = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + y;
3138
- return await H.fetchData(M);
3141
+ const y = h.join("&"), C = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + y;
3142
+ return await H.fetchData(C);
3139
3143
  }
3140
3144
  static removeElements(e) {
3141
3145
  document.querySelectorAll(e).forEach((t) => t == null ? void 0 : t.remove());