@searchstax-inc/searchstudio-ux-react 4.1.0 → 4.1.5

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.
@@ -1,4 +1,4 @@
1
- import ti, { useState as Q, useEffect as ye, useRef as ai, createRef as Ts } from "react";
1
+ import ti, { useState as V, useEffect as ye, useRef as ai, createRef as Ts } from "react";
2
2
  var ga = { exports: {} }, rt = {};
3
3
  /**
4
4
  * @license React
@@ -412,7 +412,7 @@ var ie = {
412
412
  "gu"
413
413
  ).replace(/notPunctSpace/g, Ns).replace(/punctSpace/g, Na).replace(/punct/g, Yt).getRegex(), Ii = _(/\\(punct)/, "gu").replace(/punct/g, Yt).getRegex(), Ri = _(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Ni = _(Ia).replace("(?:-->|$)", "-->").getRegex(), Di = _(
414
414
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
415
- ).replace("comment", Ni).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Qt = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Oi = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Qt).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Fs = _(/^!?\[(label)\]\[(ref)\]/).replace("label", Qt).replace("ref", Ea).getRegex(), $s = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ea).getRegex(), Pi = _("reflink|nolink(?!\\()", "g").replace("reflink", Fs).replace("nolink", $s).getRegex(), Da = {
415
+ ).replace("comment", Ni).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Vt = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Oi = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Vt).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Fs = _(/^!?\[(label)\]\[(ref)\]/).replace("label", Vt).replace("ref", Ea).getRegex(), $s = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ea).getRegex(), Pi = _("reflink|nolink(?!\\()", "g").replace("reflink", Fs).replace("nolink", $s).getRegex(), Da = {
416
416
  _backpedal: Lt,
417
417
  // only used for GFM url
418
418
  anyPunctuation: Ii,
@@ -435,8 +435,8 @@ var ie = {
435
435
  url: Lt
436
436
  }, Fi = {
437
437
  ...Da,
438
- link: _(/^!?\[(label)\]\((.*?)\)/).replace("label", Qt).getRegex(),
439
- reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Qt).getRegex()
438
+ link: _(/^!?\[(label)\]\((.*?)\)/).replace("label", Vt).getRegex(),
439
+ reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Vt).getRegex()
440
440
  }, pa = {
441
441
  ...Da,
442
442
  emStrongRDelimAst: Ai,
@@ -1634,7 +1634,7 @@ ${i}</tr>
1634
1634
  "preprocess",
1635
1635
  "postprocess",
1636
1636
  "processAllTokens"
1637
- ])), ia), Vi = class {
1637
+ ])), ia), Qi = class {
1638
1638
  constructor(...i) {
1639
1639
  h(this, "defaults", Ta()), h(this, "options", this.setOptions), h(this, "parse", this.parseMarkdown(!0)), h(this, "parseInline", this.parseMarkdown(!1)), h(this, "Parser", Ie), h(this, "Renderer", qt), h(this, "TextRenderer", Oa), h(this, "Lexer", Ee), h(this, "Tokenizer", Ht), h(this, "Hooks", zt), this.use(...i);
1640
1640
  }
@@ -1796,7 +1796,7 @@ Please report this to https://github.com/markedjs/marked.`, i) {
1796
1796
  throw t;
1797
1797
  };
1798
1798
  }
1799
- }, $e = new Vi();
1799
+ }, $e = new Qi();
1800
1800
  function z(i, e) {
1801
1801
  return $e.parse(i, e);
1802
1802
  }
@@ -1832,7 +1832,7 @@ Ee.lex;
1832
1832
  const {
1833
1833
  entries: zs,
1834
1834
  setPrototypeOf: ls,
1835
- isFrozen: Qi,
1835
+ isFrozen: Vi,
1836
1836
  getPrototypeOf: Hi,
1837
1837
  getOwnPropertyDescriptor: qi
1838
1838
  } = Object;
@@ -1880,7 +1880,7 @@ function I(i, e) {
1880
1880
  let a = e[s];
1881
1881
  if (typeof a == "string") {
1882
1882
  const r = t(a);
1883
- r !== a && (Qi(e) || (e[s] = r), a = r);
1883
+ r !== a && (Vi(e) || (e[s] = r), a = r);
1884
1884
  }
1885
1885
  i[a] = !0;
1886
1886
  }
@@ -1919,14 +1919,14 @@ const us = re(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
1919
1919
  ), rr = ue(/^(?:\w+script|data):/i), nr = ue(
1920
1920
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
1921
1921
  // eslint-disable-line no-control-regex
1922
- ), Vs = ue(/^html$/i), or = ue(/^[a-z][.\w]*(-[.\w]+)+$/i);
1922
+ ), Qs = ue(/^html$/i), or = ue(/^[a-z][.\w]*(-[.\w]+)+$/i);
1923
1923
  var ms = /* @__PURE__ */ Object.freeze({
1924
1924
  __proto__: null,
1925
1925
  ARIA_ATTR: ir,
1926
1926
  ATTR_WHITESPACE: nr,
1927
1927
  CUSTOM_ELEMENT: or,
1928
1928
  DATA_ATTR: sr,
1929
- DOCTYPE_NAME: Vs,
1929
+ DOCTYPE_NAME: Qs,
1930
1930
  ERB_EXPR: tr,
1931
1931
  IS_ALLOWED_URI: Ws,
1932
1932
  IS_SCRIPT_OR_DATA: rr,
@@ -1983,9 +1983,9 @@ const gt = {
1983
1983
  uponSanitizeShadowNode: []
1984
1984
  };
1985
1985
  };
1986
- function Qs() {
1986
+ function Vs() {
1987
1987
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : lr();
1988
- const e = (d) => Qs(d);
1988
+ const e = (d) => Vs(d);
1989
1989
  if (e.version = "3.2.6", e.removed = [], !i || !i.document || i.document.nodeType !== gt.document || !i.Element)
1990
1990
  return e.isSupported = !1, e;
1991
1991
  let {
@@ -2052,14 +2052,14 @@ function Qs() {
2052
2052
  enumerable: !0,
2053
2053
  value: !1
2054
2054
  }
2055
- })), Ce = null, De = null, J = !0, ve = !0, _e = !1, Tt = !0, We = !1, jt = !0, Oe = !1, Jt = !1, Gt = !1, Ve = !1, At = !1, Et = !1, $a = !0, za = !1;
2055
+ })), Ce = null, De = null, J = !0, ve = !0, _e = !1, Tt = !0, We = !1, jt = !0, Oe = !1, Jt = !1, Gt = !1, Qe = !1, At = !1, Et = !1, $a = !0, za = !1;
2056
2056
  const Bs = "user-content-";
2057
- let Kt = !0, st = !1, Qe = {}, He = null;
2057
+ let Kt = !0, st = !1, Ve = {}, He = null;
2058
2058
  const _a = I({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
2059
2059
  let Wa = null;
2060
- const Va = I({}, ["audio", "video", "img", "source", "image", "track"]);
2060
+ const Qa = I({}, ["audio", "video", "img", "source", "image", "track"]);
2061
2061
  let Zt = null;
2062
- const Qa = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), It = "http://www.w3.org/1998/Math/MathML", Rt = "http://www.w3.org/2000/svg", Se = "http://www.w3.org/1999/xhtml";
2062
+ const Va = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), It = "http://www.w3.org/1998/Math/MathML", Rt = "http://www.w3.org/2000/svg", Se = "http://www.w3.org/1999/xhtml";
2063
2063
  let qe = Se, Xt = !1, ea = null;
2064
2064
  const Us = I({}, [It, Rt, Se], ra);
2065
2065
  let Nt = I({}, ["mi", "mo", "mn", "ms", "mtext"]), Dt = I({}, ["annotation-xml"]);
@@ -2073,7 +2073,7 @@ function Qs() {
2073
2073
  let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2074
2074
  if (!(Be && Be === d)) {
2075
2075
  if ((!d || typeof d != "object") && (d = {}), d = je(d), it = // eslint-disable-next-line unicorn/prefer-includes
2076
- Js.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Gs : d.PARSER_MEDIA_TYPE, X = it === "application/xhtml+xml" ? ra : _t, S = pe(d, "ALLOWED_TAGS") ? I({}, d.ALLOWED_TAGS, X) : H, D = pe(d, "ALLOWED_ATTR") ? I({}, d.ALLOWED_ATTR, X) : de, ea = pe(d, "ALLOWED_NAMESPACES") ? I({}, d.ALLOWED_NAMESPACES, ra) : Us, Zt = pe(d, "ADD_URI_SAFE_ATTR") ? I(je(Qa), d.ADD_URI_SAFE_ATTR, X) : Qa, Wa = pe(d, "ADD_DATA_URI_TAGS") ? I(je(Va), d.ADD_DATA_URI_TAGS, X) : Va, He = pe(d, "FORBID_CONTENTS") ? I({}, d.FORBID_CONTENTS, X) : _a, Ce = pe(d, "FORBID_TAGS") ? I({}, d.FORBID_TAGS, X) : je({}), De = pe(d, "FORBID_ATTR") ? I({}, d.FORBID_ATTR, X) : je({}), Qe = pe(d, "USE_PROFILES") ? d.USE_PROFILES : !1, J = d.ALLOW_ARIA_ATTR !== !1, ve = d.ALLOW_DATA_ATTR !== !1, _e = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Tt = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, We = d.SAFE_FOR_TEMPLATES || !1, jt = d.SAFE_FOR_XML !== !1, Oe = d.WHOLE_DOCUMENT || !1, Ve = d.RETURN_DOM || !1, At = d.RETURN_DOM_FRAGMENT || !1, Et = d.RETURN_TRUSTED_TYPE || !1, Gt = d.FORCE_BODY || !1, $a = d.SANITIZE_DOM !== !1, za = d.SANITIZE_NAMED_PROPS || !1, Kt = d.KEEP_CONTENT !== !1, st = d.IN_PLACE || !1, y = d.ALLOWED_URI_REGEXP || Ws, qe = d.NAMESPACE || Se, Nt = d.MATHML_TEXT_INTEGRATION_POINTS || Nt, Dt = d.HTML_INTEGRATION_POINTS || Dt, F = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Ha(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (F.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Ha(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (F.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (F.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), We && (ve = !1), At && (Ve = !0), Qe && (S = I({}, ds), D = [], Qe.html === !0 && (I(S, us), I(D, gs)), Qe.svg === !0 && (I(S, na), I(D, ca), I(D, Ft)), Qe.svgFilters === !0 && (I(S, oa), I(D, ca), I(D, Ft)), Qe.mathMl === !0 && (I(S, la), I(D, ps), I(D, Ft))), d.ADD_TAGS && (S === H && (S = je(S)), I(S, d.ADD_TAGS, X)), d.ADD_ATTR && (D === de && (D = je(D)), I(D, d.ADD_ATTR, X)), d.ADD_URI_SAFE_ATTR && I(Zt, d.ADD_URI_SAFE_ATTR, X), d.FORBID_CONTENTS && (He === _a && (He = je(He)), I(He, d.FORBID_CONTENTS, X)), Kt && (S["#text"] = !0), Oe && I(S, ["html", "head", "body"]), S.table && (I(S, ["tbody"]), delete Ce.tbody), d.TRUSTED_TYPES_POLICY) {
2076
+ Js.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Gs : d.PARSER_MEDIA_TYPE, X = it === "application/xhtml+xml" ? ra : _t, S = pe(d, "ALLOWED_TAGS") ? I({}, d.ALLOWED_TAGS, X) : H, D = pe(d, "ALLOWED_ATTR") ? I({}, d.ALLOWED_ATTR, X) : de, ea = pe(d, "ALLOWED_NAMESPACES") ? I({}, d.ALLOWED_NAMESPACES, ra) : Us, Zt = pe(d, "ADD_URI_SAFE_ATTR") ? I(je(Va), d.ADD_URI_SAFE_ATTR, X) : Va, Wa = pe(d, "ADD_DATA_URI_TAGS") ? I(je(Qa), d.ADD_DATA_URI_TAGS, X) : Qa, He = pe(d, "FORBID_CONTENTS") ? I({}, d.FORBID_CONTENTS, X) : _a, Ce = pe(d, "FORBID_TAGS") ? I({}, d.FORBID_TAGS, X) : je({}), De = pe(d, "FORBID_ATTR") ? I({}, d.FORBID_ATTR, X) : je({}), Ve = pe(d, "USE_PROFILES") ? d.USE_PROFILES : !1, J = d.ALLOW_ARIA_ATTR !== !1, ve = d.ALLOW_DATA_ATTR !== !1, _e = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Tt = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, We = d.SAFE_FOR_TEMPLATES || !1, jt = d.SAFE_FOR_XML !== !1, Oe = d.WHOLE_DOCUMENT || !1, Qe = d.RETURN_DOM || !1, At = d.RETURN_DOM_FRAGMENT || !1, Et = d.RETURN_TRUSTED_TYPE || !1, Gt = d.FORCE_BODY || !1, $a = d.SANITIZE_DOM !== !1, za = d.SANITIZE_NAMED_PROPS || !1, Kt = d.KEEP_CONTENT !== !1, st = d.IN_PLACE || !1, y = d.ALLOWED_URI_REGEXP || Ws, qe = d.NAMESPACE || Se, Nt = d.MATHML_TEXT_INTEGRATION_POINTS || Nt, Dt = d.HTML_INTEGRATION_POINTS || Dt, F = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Ha(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (F.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Ha(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (F.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (F.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), We && (ve = !1), At && (Qe = !0), Ve && (S = I({}, ds), D = [], Ve.html === !0 && (I(S, us), I(D, gs)), Ve.svg === !0 && (I(S, na), I(D, ca), I(D, Ft)), Ve.svgFilters === !0 && (I(S, oa), I(D, ca), I(D, Ft)), Ve.mathMl === !0 && (I(S, la), I(D, ps), I(D, Ft))), d.ADD_TAGS && (S === H && (S = je(S)), I(S, d.ADD_TAGS, X)), d.ADD_ATTR && (D === de && (D = je(D)), I(D, d.ADD_ATTR, X)), d.ADD_URI_SAFE_ATTR && I(Zt, d.ADD_URI_SAFE_ATTR, X), d.FORBID_CONTENTS && (He === _a && (He = je(He)), I(He, d.FORBID_CONTENTS, X)), Kt && (S["#text"] = !0), Oe && I(S, ["html", "head", "body"]), S.table && (I(S, ["tbody"]), delete Ce.tbody), d.TRUSTED_TYPES_POLICY) {
2077
2077
  if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
2078
2078
  throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2079
2079
  if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -2089,8 +2089,8 @@ function Qs() {
2089
2089
  namespaceURI: qe,
2090
2090
  tagName: "template"
2091
2091
  });
2092
- const v = _t(d.tagName), V = _t(M.tagName);
2093
- return ea[d.namespaceURI] ? d.namespaceURI === Rt ? M.namespaceURI === Se ? v === "svg" : M.namespaceURI === It ? v === "svg" && (V === "annotation-xml" || Nt[V]) : !!qa[v] : d.namespaceURI === It ? M.namespaceURI === Se ? v === "math" : M.namespaceURI === Rt ? v === "math" && Dt[V] : !!Ba[v] : d.namespaceURI === Se ? M.namespaceURI === Rt && !Dt[V] || M.namespaceURI === It && !Nt[V] ? !1 : !Ba[v] && (Ys[v] || !qa[v]) : !!(it === "application/xhtml+xml" && ea[d.namespaceURI]) : !1;
2092
+ const v = _t(d.tagName), Q = _t(M.tagName);
2093
+ return ea[d.namespaceURI] ? d.namespaceURI === Rt ? M.namespaceURI === Se ? v === "svg" : M.namespaceURI === It ? v === "svg" && (Q === "annotation-xml" || Nt[Q]) : !!qa[v] : d.namespaceURI === It ? M.namespaceURI === Se ? v === "math" : M.namespaceURI === Rt ? v === "math" && Dt[Q] : !!Ba[v] : d.namespaceURI === Se ? M.namespaceURI === Rt && !Dt[Q] || M.namespaceURI === It && !Nt[Q] ? !1 : !Ba[v] && (Ys[v] || !qa[v]) : !!(it === "application/xhtml+xml" && ea[d.namespaceURI]) : !1;
2094
2094
  }, Pe = function(d) {
2095
2095
  ct(e.removed, {
2096
2096
  element: d
@@ -2113,7 +2113,7 @@ function Qs() {
2113
2113
  });
2114
2114
  }
2115
2115
  if (M.removeAttribute(d), d === "is")
2116
- if (Ve || At)
2116
+ if (Qe || At)
2117
2117
  try {
2118
2118
  Pe(M);
2119
2119
  } catch {
@@ -2132,16 +2132,16 @@ function Qs() {
2132
2132
  v = B && B[0];
2133
2133
  }
2134
2134
  it === "application/xhtml+xml" && qe === Se && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
2135
- const V = A ? A.createHTML(d) : d;
2135
+ const Q = A ? A.createHTML(d) : d;
2136
2136
  if (qe === Se)
2137
2137
  try {
2138
- M = new p().parseFromString(V, it);
2138
+ M = new p().parseFromString(Q, it);
2139
2139
  } catch {
2140
2140
  }
2141
2141
  if (!M || !M.documentElement) {
2142
2142
  M = Y.createDocument(qe, "template", null);
2143
2143
  try {
2144
- M.documentElement.innerHTML = Xt ? N : V;
2144
+ M.documentElement.innerHTML = Xt ? N : Q;
2145
2145
  } catch {
2146
2146
  }
2147
2147
  }
@@ -2161,8 +2161,8 @@ function Qs() {
2161
2161
  return typeof n == "function" && d instanceof n;
2162
2162
  };
2163
2163
  function ke(d, M, v) {
2164
- Pt(d, (V) => {
2165
- V.call(e, M, v, Be);
2164
+ Pt(d, (Q) => {
2165
+ Q.call(e, M, v, Be);
2166
2166
  });
2167
2167
  }
2168
2168
  const Ga = function(d) {
@@ -2179,19 +2179,19 @@ function Qs() {
2179
2179
  if (!Ce[v] && Za(v) && (F.tagNameCheck instanceof RegExp && se(F.tagNameCheck, v) || F.tagNameCheck instanceof Function && F.tagNameCheck(v)))
2180
2180
  return !1;
2181
2181
  if (Kt && !He[v]) {
2182
- const V = P(d) || d.parentNode, ee = E(d) || d.childNodes;
2183
- if (ee && V) {
2182
+ const Q = P(d) || d.parentNode, ee = E(d) || d.childNodes;
2183
+ if (ee && Q) {
2184
2184
  const B = ee.length;
2185
2185
  for (let Te = B - 1; Te >= 0; --Te) {
2186
2186
  const ge = f(ee[Te], !0);
2187
- ge.__removalCount = (d.__removalCount || 0) + 1, V.insertBefore(ge, k(d));
2187
+ ge.__removalCount = (d.__removalCount || 0) + 1, Q.insertBefore(ge, k(d));
2188
2188
  }
2189
2189
  }
2190
2190
  }
2191
2191
  return Pe(d), !0;
2192
2192
  }
2193
- return d instanceof l && !Zs(d) || (v === "noscript" || v === "noembed" || v === "noframes") && se(/<\/no(script|embed|frames)/i, d.innerHTML) ? (Pe(d), !0) : (We && d.nodeType === gt.text && (M = d.textContent, Pt([le, Re, xe], (V) => {
2194
- M = ht(M, V, " ");
2193
+ return d instanceof l && !Zs(d) || (v === "noscript" || v === "noembed" || v === "noframes") && se(/<\/no(script|embed|frames)/i, d.innerHTML) ? (Pe(d), !0) : (We && d.nodeType === gt.text && (M = d.textContent, Pt([le, Re, xe], (Q) => {
2194
+ M = ht(M, Q, " ");
2195
2195
  }), d.textContent !== M && (ct(e.removed, {
2196
2196
  element: d.cloneNode()
2197
2197
  }), d.textContent = M)), ke(W.afterSanitizeElements, d, null), !1);
@@ -2229,9 +2229,9 @@ function Qs() {
2229
2229
  allowedAttributes: D,
2230
2230
  forceKeepAttr: void 0
2231
2231
  };
2232
- let V = M.length;
2233
- for (; V--; ) {
2234
- const ee = M[V], {
2232
+ let Q = M.length;
2233
+ for (; Q--; ) {
2234
+ const ee = M[Q], {
2235
2235
  name: B,
2236
2236
  namespaceURI: Te,
2237
2237
  value: ge
@@ -2280,13 +2280,13 @@ function Qs() {
2280
2280
  ke(W.afterSanitizeAttributes, d, null);
2281
2281
  }, Xs = function d(M) {
2282
2282
  let v = null;
2283
- const V = Ya(M);
2284
- for (ke(W.beforeSanitizeShadowDOM, M, null); v = V.nextNode(); )
2283
+ const Q = Ya(M);
2284
+ for (ke(W.beforeSanitizeShadowDOM, M, null); v = Q.nextNode(); )
2285
2285
  ke(W.uponSanitizeShadowNode, v, null), Ga(v), Xa(v), v.content instanceof r && d(v.content);
2286
2286
  ke(W.afterSanitizeShadowDOM, M, null);
2287
2287
  };
2288
2288
  return e.sanitize = function(d) {
2289
- let M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, v = null, V = null, ee = null, B = null;
2289
+ let M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, v = null, Q = null, ee = null, B = null;
2290
2290
  if (Xt = !d, Xt && (d = "<!-->"), typeof d != "string" && !Ja(d))
2291
2291
  if (typeof d.toString == "function") {
2292
2292
  if (d = d.toString(), typeof d != "string")
@@ -2302,13 +2302,13 @@ function Qs() {
2302
2302
  throw ut("root node is forbidden and cannot be sanitized in-place");
2303
2303
  }
2304
2304
  } else if (d instanceof n)
2305
- v = Ua("<!---->"), V = v.ownerDocument.importNode(d, !0), V.nodeType === gt.element && V.nodeName === "BODY" || V.nodeName === "HTML" ? v = V : v.appendChild(V);
2305
+ v = Ua("<!---->"), Q = v.ownerDocument.importNode(d, !0), Q.nodeType === gt.element && Q.nodeName === "BODY" || Q.nodeName === "HTML" ? v = Q : v.appendChild(Q);
2306
2306
  else {
2307
- if (!Ve && !We && !Oe && // eslint-disable-next-line unicorn/prefer-includes
2307
+ if (!Qe && !We && !Oe && // eslint-disable-next-line unicorn/prefer-includes
2308
2308
  d.indexOf("<") === -1)
2309
2309
  return A && Et ? A.createHTML(d) : d;
2310
2310
  if (v = Ua(d), !v)
2311
- return Ve ? null : Et ? N : "";
2311
+ return Qe ? null : Et ? N : "";
2312
2312
  }
2313
2313
  v && Gt && Pe(v.firstChild);
2314
2314
  const Te = Ya(st ? d : v);
@@ -2316,7 +2316,7 @@ function Qs() {
2316
2316
  Ga(ee), Xa(ee), ee.content instanceof r && Xs(ee.content);
2317
2317
  if (st)
2318
2318
  return d;
2319
- if (Ve) {
2319
+ if (Qe) {
2320
2320
  if (At)
2321
2321
  for (B = $.call(v.ownerDocument); v.firstChild; )
2322
2322
  B.appendChild(v.firstChild);
@@ -2325,7 +2325,7 @@ function Qs() {
2325
2325
  return (D.shadowroot || D.shadowrootmode) && (B = we.call(s, B, !0)), B;
2326
2326
  }
2327
2327
  let ge = Oe ? v.outerHTML : v.innerHTML;
2328
- return Oe && S["!doctype"] && v.ownerDocument && v.ownerDocument.doctype && v.ownerDocument.doctype.name && se(Vs, v.ownerDocument.doctype.name) && (ge = "<!DOCTYPE " + v.ownerDocument.doctype.name + `>
2328
+ return Oe && S["!doctype"] && v.ownerDocument && v.ownerDocument.doctype && v.ownerDocument.doctype.name && se(Qs, v.ownerDocument.doctype.name) && (ge = "<!DOCTYPE " + v.ownerDocument.doctype.name + `>
2329
2329
  ` + ge), We && Pt([le, Re, xe], (be) => {
2330
2330
  ge = ht(ge, be, " ");
2331
2331
  }), A && Et ? A.createHTML(ge) : ge;
@@ -2336,8 +2336,8 @@ function Qs() {
2336
2336
  Be = null, Jt = !1;
2337
2337
  }, e.isValidAttribute = function(d, M, v) {
2338
2338
  Be || ta({});
2339
- const V = X(d), ee = X(M);
2340
- return Ka(V, ee, v);
2339
+ const Q = X(d), ee = X(M);
2340
+ return Ka(Q, ee, v);
2341
2341
  }, e.addHook = function(d, M) {
2342
2342
  typeof M == "function" && ct(W[d], M);
2343
2343
  }, e.removeHook = function(d, M) {
@@ -2352,7 +2352,7 @@ function Qs() {
2352
2352
  W = fs();
2353
2353
  }, e;
2354
2354
  }
2355
- var Ls = Qs();
2355
+ var Ls = Vs();
2356
2356
  class hr {
2357
2357
  constructor(e) {
2358
2358
  h(this, "dataLayer"), this.dataLayer = e;
@@ -3439,7 +3439,7 @@ function vs(i) {
3439
3439
  var Hs = (i) => {
3440
3440
  throw TypeError(i);
3441
3441
  }, Pa = (i, e, t) => e.has(i) || Hs("Cannot " + t), R = (i, e, t) => (Pa(i, e, "read from private field"), t ? t.call(i) : e.get(i)), G = (i, e, t) => e.has(i) ? Hs("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), q = (i, e, t, s) => (Pa(i, e, "write to private field"), e.set(i, t), t), Ae = (i, e, t) => (Pa(i, e, "access private method"), t), he, Fe, Ye, Wt, Bt, yt, Ze, wt, Ne, Je, Xe, Ge, mt, me, xa, va, ba, bs, Ma, Ca, ft, Sa, ka;
3442
- class Vt extends EventTarget {
3442
+ class Qt extends EventTarget {
3443
3443
  constructor(e, t) {
3444
3444
  var s, a;
3445
3445
  super(), G(this, me), this.CONNECTING = 0, this.OPEN = 1, this.CLOSED = 2, G(this, he), G(this, Fe), G(this, Ye), G(this, Wt), G(this, Bt), G(this, yt), G(this, Ze), G(this, wt, null), G(this, Ne), G(this, Je), G(this, Xe, null), G(this, Ge, null), G(this, mt, null), G(this, va, async (r) => {
@@ -3629,17 +3629,17 @@ Sa = function(i, e) {
3629
3629
  *
3630
3630
  * @public
3631
3631
  */
3632
- Vt.CONNECTING = 0, /**
3632
+ Qt.CONNECTING = 0, /**
3633
3633
  * ReadyState representing an EventSource connection that is open (eg connected)
3634
3634
  *
3635
3635
  * @public
3636
3636
  */
3637
- Vt.OPEN = 1, /**
3637
+ Qt.OPEN = 1, /**
3638
3638
  * ReadyState representing an EventSource connection that is closed (eg disconnected)
3639
3639
  *
3640
3640
  * @public
3641
3641
  */
3642
- Vt.CLOSED = 2;
3642
+ Qt.CLOSED = 2;
3643
3643
  function fr() {
3644
3644
  const i = "document" in globalThis ? globalThis.document : void 0;
3645
3645
  return i && typeof i == "object" && "baseURI" in i && typeof i.baseURI == "string" ? i.baseURI : void 0;
@@ -3647,7 +3647,7 @@ function fr() {
3647
3647
  class Le {
3648
3648
  static attachAnalyticsScript(e) {
3649
3649
  window._msq = window._msq || [];
3650
- const t = "https://static.searchstax.com/studio-js/v3/js/studio-analytics.js";
3650
+ const t = "https://static.searchstax.com/studio-js/v4/js/studio-analytics.js";
3651
3651
  if (document.querySelector(`script[src="${t}"]`))
3652
3652
  return;
3653
3653
  const s = e || t;
@@ -3857,77 +3857,84 @@ class Lr {
3857
3857
  search(e, t, s = !1, a = !1) {
3858
3858
  if (e.query && e.query !== "undefined") {
3859
3859
  this.dataLayer.setSearchTerm(e.query), this.dataLayer.setLoading(!0), this.controllerSearch && this.controllerSearch.abort(), this.controllerSearch = new AbortController(), this.signalSearch = this.controllerSearch.signal;
3860
- const r = new Proxy(
3861
- new URLSearchParams((window == null ? void 0 : window.location.search) ?? ""),
3862
- {
3863
- get: (p, L) => p.get(L) ?? ""
3864
- }
3865
- ), o = r.languageVariant ? (
3866
- //@ts-expect-error - this is a hack to get around the fact that the urlQueryParams is a proxy
3867
- "&fq=_language:" + r.languageVariant
3868
- ) : "";
3869
- let n = e.itemsPerPage, l = (e.itemsPerPage ? e.itemsPerPage : 0) * (e.page - 1), c = e.order ? `&sort=${e.order}` : "";
3870
- const g = this.url + "?q=" + encodeURIComponent(e.query.trim()) + "&start=" + l + this.toQueryString(e.additionalProps ?? []) + this.generateFacetQuery(
3871
- e.facets.filter(
3872
- (p) => p.type === "or" || p.type === "showUnavailable"
3873
- ),
3874
- !0
3875
- ) + this.generateLocationQuery(e.location) + this.generateFacetQuery(
3876
- e.facets.filter(
3877
- (p) => p.type === "and" || p.type === "tabs"
3878
- ),
3879
- !1
3880
- ) + c + `&spellcheck.correct=${this.dataLayer.autoCorrect && !a}` + (n ? `&rows=${n}` : "") + (this.dataLayer.model ? `&model=${this.dataLayer.model}` : "") + "&language=" + this.dataLayer.language + o, m = {
3860
+ const r = this.url + this.generateQueryParams(e, a), o = {
3881
3861
  method: "GET",
3882
3862
  headers: this.authHeader,
3883
3863
  credentials: "same-origin",
3884
3864
  signal: this.signalSearch
3885
3865
  };
3886
- s && delete m.signal, fetch(g, m).then((p) => p.json()).then((p) => {
3887
- this.dataLayer.setLoading(!1), t(p);
3866
+ s && delete o.signal, fetch(r, o).then((n) => n.json()).then((n) => {
3867
+ this.dataLayer.setLoading(!1), t(n);
3888
3868
  }).catch(() => {
3889
3869
  this.dataLayer.setLoading(!1);
3890
3870
  });
3891
3871
  }
3892
3872
  }
3873
+ generateQueryParams(e, t) {
3874
+ let s = (e.itemsPerPage ? e.itemsPerPage : 0) * (e.page - 1), a = e.order ? `&sort=${e.order}` : "", r = e.itemsPerPage;
3875
+ const o = new Proxy(
3876
+ new URLSearchParams((window == null ? void 0 : window.location.search) ?? ""),
3877
+ {
3878
+ get: (l, c) => l.get(c) ?? ""
3879
+ }
3880
+ ), n = o.languageVariant ? (
3881
+ //@ts-expect-error - this is a hack to get around the fact that the urlQueryParams is a proxy
3882
+ "&fq=_language:" + o.languageVariant
3883
+ ) : "";
3884
+ return "?q=" + encodeURIComponent(e.query.trim()) + "&start=" + s + this.toQueryString(e.additionalProps ?? []) + this.generateFacetQuery(
3885
+ e.facets.filter(
3886
+ (l) => l.type === "or" || l.type === "showUnavailable"
3887
+ ),
3888
+ !0
3889
+ ) + this.generateLocationQuery(e.location) + this.generateFacetQuery(
3890
+ e.facets.filter(
3891
+ (l) => l.type === "and" || l.type === "tabs"
3892
+ ),
3893
+ !1
3894
+ ) + a + `&spellcheck.correct=${this.dataLayer.autoCorrect && !t}` + (r ? `&rows=${r}` : "") + (this.dataLayer.model ? `&model=${this.dataLayer.model}` : "") + "&language=" + this.dataLayer.language + n;
3895
+ }
3893
3896
  startSSE(e, t) {
3894
3897
  if (!this.dataLayer.turnAIAnswerGenerationOn || e === "*" || this.dataLayer.searchObject.page !== 1)
3895
3898
  return;
3896
- const s = this.dataLayer.model ? `&model=${this.dataLayer.model}` : "", a = new Vt(
3897
- this.dataLayer.questionURL + "?q=" + e + "&language=" + this.dataLayer.language + s + `&spellcheck.correct=${this.dataLayer.autoCorrect}`,
3899
+ const s = new Qt(
3900
+ this.dataLayer.questionURL + this.generateQueryParams(this.dataLayer.searchObject),
3898
3901
  {
3899
- fetch: (o, n) => fetch(o, {
3900
- ...n,
3902
+ fetch: (r, o) => fetch(r, {
3903
+ ...o,
3901
3904
  headers: {
3902
- ...n == null ? void 0 : n.headers,
3905
+ ...o == null ? void 0 : o.headers,
3903
3906
  Authorization: this._authToken
3904
3907
  }
3905
3908
  })
3906
3909
  }
3907
- ), r = this.dataLayer;
3908
- return a.onmessage = (o) => {
3909
- if (o.data === Ke.question || o.data === Ke.notQuestion) {
3910
- o.data === Ke.question ? (this.dataLayer.setAnswerLoading(!0), this.dataLayer.setIsQuestion(!0)) : (r.setAnswerLoading(!1), this.dataLayer.setIsQuestion(!1)), r.setAnswerData("");
3910
+ ), a = this.dataLayer;
3911
+ return s.onmessage = (r) => {
3912
+ if (r.data === Ke.question || r.data === Ke.notQuestion) {
3913
+ r.data === Ke.question ? (this.dataLayer.setAnswerLoading(!0), this.dataLayer.setIsQuestion(!0)) : (a.setAnswerLoading(!1), this.dataLayer.setIsQuestion(!1)), a.setAnswerData("");
3911
3914
  return;
3912
3915
  }
3913
- if (o.data === Ke.close) {
3916
+ if (r.data === Ke.close) {
3914
3917
  Le.trackAnswerData({
3915
- ...r.parsedData.trackingData,
3916
- answer: r.$answer.getValue(),
3918
+ ...a.parsedData.trackingData,
3919
+ answer: a.$answer.getValue(),
3917
3920
  isQuestion: this.dataLayer.isQuestion
3918
- }), r.setAnswerLoading(!1), a.close();
3921
+ }), a.setAnswerLoading(!1), s.close();
3919
3922
  return;
3920
3923
  }
3921
- if (o.data.indexOf("[!CAUTION]") !== -1) {
3922
- r.setAnswerError(!0), r.setAnswerErrorMessage("We're having trouble generating an answer. Please try again."), a.close();
3924
+ if (r.data.indexOf("[!CAUTION]") !== -1) {
3925
+ a.setAnswerError(!0), a.setAnswerErrorMessage(
3926
+ "We're having trouble generating an answer. Please try again."
3927
+ ), s.close();
3923
3928
  return;
3924
3929
  }
3925
- t(o.data);
3926
- }, a.addEventListener("error", (o) => {
3927
- (o.code === 401 || o.code === 500) && (r.setAnswerErrorMessage("We're having trouble generating an answer. Please try again."), r.setAnswerError(!0));
3928
- }), a.onerror = () => {
3929
- r.setAnswerLoading(!1), a.close();
3930
- }, a;
3930
+ t(r.data);
3931
+ }, s.addEventListener("error", (r) => {
3932
+ (r.code === 401 || r.code === 500) && (a.setAnswerErrorMessage(
3933
+ "We're having trouble generating an answer. Please try again."
3934
+ ), a.setAnswerError(!0));
3935
+ }), s.onerror = () => {
3936
+ a.setAnswerLoading(!1), s.close();
3937
+ }, s;
3931
3938
  }
3932
3939
  suggest(e, t, s) {
3933
3940
  this.controllerSuggest && this.controllerSuggest.abort(), this.controllerSuggest = new AbortController(), this.signalSuggest = this.controllerSuggest.signal;
@@ -4544,7 +4551,7 @@ const Dr = {
4544
4551
  radiusInputId: "searchstax-location-radius-select",
4545
4552
  currentLocationActionButtonId: "searchstax-location-get-current-location"
4546
4553
  }
4547
- }, Vr = {
4554
+ }, Qr = {
4548
4555
  mainTemplate: {
4549
4556
  template: `
4550
4557
  <section aria-label="search results container" tabindex="0">
@@ -4630,7 +4637,7 @@ const Dr = {
4630
4637
  {{/searchExecuted}}
4631
4638
  `
4632
4639
  }
4633
- }, Qr = {
4640
+ }, Vr = {
4634
4641
  main: {
4635
4642
  template: `
4636
4643
  {{#searchExecuted}}
@@ -4688,8 +4695,8 @@ const Dr = {
4688
4695
  </div>
4689
4696
  </div>
4690
4697
  <div class="sf-comments sf-form-group">
4691
- <label for="sf-comments">Comments <small> (<span class="searchstax-characters-remaining-container">2000</span> characters remaining)</small></label>
4692
- <textarea maxlength="{{maxLength}}" class="sf-form-control" id="sf-comments" placeholder="Enter any comments relating to your search experience">{{feedbackTextArea}}</textarea>
4698
+ <label>Comments <small> (<span class="searchstax-characters-remaining-container">2000</span> characters remaining)</small></label>
4699
+ <textarea aria-label="Comments" maxlength="{{maxLength}}" class="sf-form-control" id="sf-comments" placeholder="Enter any comments relating to your search experience">{{feedbackTextArea}}</textarea>
4693
4700
  </div>
4694
4701
  <div class="sf-email sf-form-group">
4695
4702
  <label for="sf-email">Email</label>
@@ -4746,7 +4753,7 @@ const Dr = {
4746
4753
  };
4747
4754
  class C {
4748
4755
  }
4749
- h(C, "answer", Dr), h(C, "externalPromotions", Or), h(C, "facets", Pr), h(C, "pagination", Fr), h(C, "relatedSearches", $r), h(C, "searchFeedback", zr), h(C, "searchInput", _r), h(C, "location", Wr), h(C, "searchResults", Vr), h(C, "sorting", Qr), h(C, "feedback", ce);
4756
+ h(C, "answer", Dr), h(C, "externalPromotions", Or), h(C, "facets", Pr), h(C, "pagination", Fr), h(C, "relatedSearches", $r), h(C, "searchFeedback", zr), h(C, "searchInput", _r), h(C, "location", Wr), h(C, "searchResults", Qr), h(C, "sorting", Vr), h(C, "feedback", ce);
4750
4757
  class Hr {
4751
4758
  constructor(e) {
4752
4759
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "externalPromotionsContainerId"), h(this, "searchExternalPromotionsMainContainer", null);
@@ -6414,11 +6421,11 @@ function qs(i, e, t, s, a, r, o, n) {
6414
6421
  }
6415
6422
  function tn(i) {
6416
6423
  let e = !1;
6417
- const [t, s] = Q(
6424
+ const [t, s] = V(
6418
6425
  null
6419
- ), [a, r] = Q(null), [o, n] = Q(!1), [l, c] = Q(
6426
+ ), [a, r] = V(null), [o, n] = V(!1), [l, c] = V(
6420
6427
  void 0
6421
- ), [g] = Q(Math.random());
6428
+ ), [g] = V(Math.random());
6422
6429
  ye(() => {
6423
6430
  if (m(), b.searchstax)
6424
6431
  b.searchstax.addSearchLocationWidget(
@@ -6608,7 +6615,7 @@ function an(i, e, t, s) {
6608
6615
  }
6609
6616
  function fn(i) {
6610
6617
  let e = !1;
6611
- const [t, s] = Q([]), [a, r] = Q(
6618
+ const [t, s] = V([]), [a, r] = V(
6612
6619
  null
6613
6620
  );
6614
6621
  ye(() => {
@@ -6674,7 +6681,7 @@ function fn(i) {
6674
6681
  ) }) });
6675
6682
  }
6676
6683
  function Ln(i) {
6677
- const [e, t] = Q(!1);
6684
+ const [e, t] = V(!1);
6678
6685
  return ye(() => {
6679
6686
  const s = {};
6680
6687
  i.beforeSearch && (s.beforeSearch = i.beforeSearch), i != null && i.afterSearch && (s.afterSearch = i.afterSearch), b.searchstax.initialize({
@@ -6838,11 +6845,11 @@ function rn(i, e) {
6838
6845
  }) }) });
6839
6846
  }
6840
6847
  function yn(i) {
6841
- const [e, t] = Q(
6848
+ const [e, t] = V(
6842
6849
  null
6843
6850
  ), s = ai();
6844
6851
  s.current = e;
6845
- const [a, r] = Q(""), [o, n] = Q(
6852
+ const [a, r] = V(""), [o, n] = V(
6846
6853
  null
6847
6854
  ), l = (m, p) => {
6848
6855
  p.preventDefault(), p.stopPropagation(), b.searchstax.executeLinkClick(m.uniqueId);
@@ -6950,9 +6957,9 @@ function on(i, e) {
6950
6957
  }
6951
6958
  function wn(i) {
6952
6959
  let e = !1;
6953
- const [t, s] = Q(!1), [a, r] = Q(
6960
+ const [t, s] = V(!1), [a, r] = V(
6954
6961
  null
6955
- ), [o] = Q(Math.random());
6962
+ ), [o] = V(Math.random());
6956
6963
  ye(() => {
6957
6964
  if (n(), b.searchstax)
6958
6965
  b.searchstax.addPaginationWidget(
@@ -7017,9 +7024,9 @@ function ln(i, e, t) {
7017
7024
  }
7018
7025
  function xn(i) {
7019
7026
  let e = !1;
7020
- const [t, s] = Q(
7027
+ const [t, s] = V(
7021
7028
  null
7022
- ), [a, r] = Q(""), [o] = Q(Math.random());
7029
+ ), [a, r] = V(""), [o] = V(Math.random());
7023
7030
  ye(() => {
7024
7031
  if (n(), b.searchstax)
7025
7032
  b.searchstax.addSearchSortingWidget(
@@ -7097,7 +7104,7 @@ function cn(i, e) {
7097
7104
  }
7098
7105
  function vn(i) {
7099
7106
  let e = !1;
7100
- const [t, s] = Q(null), [a] = Q(Math.random());
7107
+ const [t, s] = V(null), [a] = V(Math.random());
7101
7108
  ye(() => {
7102
7109
  if (r(), b.searchstax)
7103
7110
  b.searchstax.addSearchFeedbackWidget("search-feedback-container" + a, {});
@@ -7430,13 +7437,13 @@ function un(i, e, t, s, a, r, o, n, l, c, g, m) {
7430
7437
  ] }) }) : /* @__PURE__ */ u.jsx(u.Fragment, {});
7431
7438
  }
7432
7439
  function bn(i) {
7433
- const [e, t] = Q(
7440
+ const [e, t] = V(
7434
7441
  null
7435
- ), [s, a] = Q(
7442
+ ), [s, a] = V(
7436
7443
  null
7437
- ), [r, o] = Q(
7444
+ ), [r, o] = V(
7438
7445
  []
7439
- ), [n, l] = Q(
7446
+ ), [n, l] = V(
7440
7447
  {}
7441
7448
  ), c = {}, g = Math.random();
7442
7449
  let m = !1;
@@ -7581,7 +7588,7 @@ function dn(i, e) {
7581
7588
  }
7582
7589
  function Mn(i) {
7583
7590
  let e = !1;
7584
- const [t, s] = Q(null), [a] = Q(Math.random());
7591
+ const [t, s] = V(null), [a] = V(Math.random());
7585
7592
  ye(() => {
7586
7593
  if (r(), b.searchstax)
7587
7594
  b.searchstax.addRelatedSearchesWidget("searchstax-related-searches-container" + a, {
@@ -7642,9 +7649,9 @@ function gn(i, e) {
7642
7649
  }
7643
7650
  function Cn(i) {
7644
7651
  let e = !1;
7645
- const [t, s] = Q(
7652
+ const [t, s] = V(
7646
7653
  null
7647
- ), [a] = Q(Math.random());
7654
+ ), [a] = V(Math.random());
7648
7655
  ye(() => {
7649
7656
  if (r(), b.searchstax)
7650
7657
  b.searchstax.addExternalPromotionsWidget("searchstax-external-promotions-layout-container" + a, {});
@@ -7703,9 +7710,9 @@ function pn(i, e) {
7703
7710
  }
7704
7711
  function Sn(i) {
7705
7712
  let e = !1;
7706
- const [t, s] = Q(
7713
+ const [t, s] = V(
7707
7714
  null
7708
- ), [a] = Q(Math.random());
7715
+ ), [a] = V(Math.random());
7709
7716
  ye(() => {
7710
7717
  if (o(), b.searchstax) {
7711
7718
  const n = i.feedbackwidget ?? void 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@searchstax-inc/searchstudio-ux-react",
3
3
  "private": false,
4
- "version": "4.1.0",
4
+ "version": "4.1.5",
5
5
  "type": "module",
6
6
  "main": "./dist/@searchstax-inc/searchstudio-ux-react.cjs",
7
7
  "module": "./dist/@searchstax-inc/searchstudio-ux-react.mjs",
@@ -25,7 +25,7 @@
25
25
  "create:release": "node createRelease.cjs"
26
26
  },
27
27
  "dependencies": {
28
- "@searchstax-inc/searchstudio-ux-js": "npm:@searchstax-inc/searchstudio-ux-js@^4.1.0"
28
+ "@searchstax-inc/searchstudio-ux-js": "npm:@searchstax-inc/searchstudio-ux-js@^4.1.5"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": "^18.0.0 || ^19.0.0",