@searchcraft/react-sdk 0.10.5 → 0.10.6

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,34 +1,34 @@
1
- var qa = Object.defineProperty;
2
- var Ya = (e, t, r) => t in e ? qa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var f = (e, t, r) => Ya(e, typeof t != "symbol" ? t + "" : t, r);
1
+ var Ya = Object.defineProperty;
2
+ var Za = (e, t, r) => t in e ? Ya(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var f = (e, t, r) => Za(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { jsx as ge } from "react/jsx-runtime";
5
- import { renderToString as Za } from "@searchcraft/javascript-sdk/hydrate";
6
- const Qa = "searchcraft-javascript-sdk", Le = (
5
+ import { renderToString as Qa } from "@searchcraft/javascript-sdk/hydrate";
6
+ const Ka = "searchcraft-javascript-sdk", Le = (
7
7
  /* searchcraft-javascript-sdk */
8
8
  { experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", lazyLoad: !1, shadowDom: !1, slotRelocation: !0, updatable: !0 }
9
9
  );
10
- var Ka = Object.defineProperty, Xa = (e, t) => {
10
+ var Xa = Object.defineProperty, Ja = (e, t) => {
11
11
  for (var r in t)
12
- Ka(e, r, { get: t[r], enumerable: !0 });
13
- }, Ja = "http://www.w3.org/2000/svg", en = "http://www.w3.org/1999/xhtml", tn = (e, t) => {
12
+ Xa(e, r, { get: t[r], enumerable: !0 });
13
+ }, en = "http://www.w3.org/2000/svg", tn = "http://www.w3.org/1999/xhtml", rn = (e, t) => {
14
14
  var r;
15
15
  const s = t.$cmpMeta$;
16
16
  Object.entries((r = s.$members$) != null ? r : {}).map(([o, [n]]) => {
17
17
  if (n & 31 || n & 32) {
18
- const c = e[o], l = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), o);
18
+ const c = e[o], i = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), o);
19
19
  Object.defineProperty(e, o, {
20
20
  get() {
21
- return l.get.call(this);
21
+ return i.get.call(this);
22
22
  },
23
23
  set(h) {
24
- l.set.call(this, h);
24
+ i.set.call(this, h);
25
25
  },
26
26
  configurable: !0,
27
27
  enumerable: !0
28
28
  }), e[o] = t.$instanceValues$.has(o) ? t.$instanceValues$.get(o) : c;
29
29
  }
30
30
  });
31
- }, Jt = /* @__PURE__ */ new WeakMap(), rn = (e) => Jt.delete(e), Ce = (e) => Jt.get(e), sn = (e, t) => {
31
+ }, Jt = /* @__PURE__ */ new WeakMap(), sn = (e) => Jt.delete(e), Ce = (e) => Jt.get(e), an = (e, t) => {
32
32
  const r = {
33
33
  $flags$: 0,
34
34
  $hostElement$: e,
@@ -37,8 +37,8 @@ var Ka = Object.defineProperty, Xa = (e, t) => {
37
37
  };
38
38
  r.$onReadyPromise$ = new Promise((a) => r.$onReadyResolve$ = a), e["s-p"] = [], e["s-rc"] = [];
39
39
  const s = Jt.set(e, r);
40
- return tn(e, r), s;
41
- }, Kr = (e, t) => t in e, Ct = (e, t) => (0, console.error)(e, t), St = typeof window < "u" ? window : {}, Me = St.document || { head: {} }, F = St.HTMLElement || class {
40
+ return rn(e, r), s;
41
+ }, Xr = (e, t) => t in e, Ct = (e, t) => (0, console.error)(e, t), St = typeof window < "u" ? window : {}, Me = St.document || { head: {} }, F = St.HTMLElement || class {
42
42
  }, te = {
43
43
  $flags$: 0,
44
44
  $resourcesUrl$: "",
@@ -47,9 +47,9 @@ var Ka = Object.defineProperty, Xa = (e, t) => {
47
47
  ael: (e, t, r, s) => e.addEventListener(t, r, s),
48
48
  rel: (e, t, r, s) => e.removeEventListener(t, r, s),
49
49
  ce: (e, t) => new CustomEvent(e, t)
50
- }, an = Le.shadowDom, nn = (e) => Promise.resolve(e), Zt = !1, Xr = [], ws = [], on = (e, t) => (r) => {
50
+ }, nn = Le.shadowDom, on = (e) => Promise.resolve(e), Zt = !1, Jr = [], ks = [], cn = (e, t) => (r) => {
51
51
  e.push(r), Zt || (Zt = !0, te.$flags$ & 4 ? er(Qt) : te.raf(Qt));
52
- }, Jr = (e) => {
52
+ }, es = (e) => {
53
53
  for (let t = 0; t < e.length; t++)
54
54
  try {
55
55
  e[t](performance.now());
@@ -58,69 +58,69 @@ var Ka = Object.defineProperty, Xa = (e, t) => {
58
58
  }
59
59
  e.length = 0;
60
60
  }, Qt = () => {
61
- Jr(Xr), Jr(ws), (Zt = Xr.length > 0) && te.raf(Qt);
62
- }, er = (e) => nn().then(e), cn = /* @__PURE__ */ on(ws), tr = (e) => (e = typeof e, e === "object" || e === "function"), ln = {};
63
- Xa(ln, {
64
- err: () => ks,
65
- map: () => un,
61
+ es(Jr), es(ks), (Zt = Jr.length > 0) && te.raf(Qt);
62
+ }, er = (e) => on().then(e), ln = /* @__PURE__ */ cn(ks), tr = (e) => (e = typeof e, e === "object" || e === "function"), un = {};
63
+ Ja(un, {
64
+ err: () => xs,
65
+ map: () => hn,
66
66
  ok: () => Kt,
67
- unwrap: () => hn,
68
- unwrapErr: () => dn
67
+ unwrap: () => dn,
68
+ unwrapErr: () => fn
69
69
  });
70
70
  var Kt = (e) => ({
71
71
  isOk: !0,
72
72
  isErr: !1,
73
73
  value: e
74
- }), ks = (e) => ({
74
+ }), xs = (e) => ({
75
75
  isOk: !1,
76
76
  isErr: !0,
77
77
  value: e
78
78
  });
79
- function un(e, t) {
79
+ function hn(e, t) {
80
80
  if (e.isOk) {
81
81
  const r = t(e.value);
82
82
  return r instanceof Promise ? r.then((s) => Kt(s)) : Kt(r);
83
83
  }
84
84
  if (e.isErr) {
85
85
  const r = e.value;
86
- return ks(r);
86
+ return xs(r);
87
87
  }
88
88
  throw "should never get here";
89
89
  }
90
- var hn = (e) => {
90
+ var dn = (e) => {
91
91
  if (e.isOk)
92
92
  return e.value;
93
93
  throw e.value;
94
- }, dn = (e) => {
94
+ }, fn = (e) => {
95
95
  if (e.isErr)
96
96
  return e.value;
97
97
  throw e.value;
98
- }, xs = (e) => {
98
+ }, Es = (e) => {
99
99
  const t = e.__childNodes || e.childNodes;
100
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Es(t, e.tagName).forEach((r) => {
100
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Rs(t, e.tagName).forEach((r) => {
101
101
  var s;
102
- r.nodeType === 1 && r.tagName === "SLOT-FB" && ((s = fn(r, r["s-sn"], !1)) != null && s.length ? r.hidden = !0 : r.hidden = !1);
102
+ r.nodeType === 1 && r.tagName === "SLOT-FB" && ((s = pn(r, r["s-sn"], !1)) != null && s.length ? r.hidden = !0 : r.hidden = !1);
103
103
  });
104
104
  for (const r of t)
105
- r.nodeType === 1 && (r.__childNodes || r.childNodes).length && xs(r);
105
+ r.nodeType === 1 && (r.__childNodes || r.childNodes).length && Es(r);
106
106
  };
107
- function Es(e, t, r) {
107
+ function Rs(e, t, r) {
108
108
  let s = 0, a = [], o;
109
109
  for (; s < e.length; s++)
110
- o = e[s], o["s-sr"] && o["s-hn"] === t && r === void 0 && a.push(o), a = [...a, ...Es(o.childNodes, t, r)];
110
+ o = e[s], o["s-sr"] && o["s-hn"] === t && r === void 0 && a.push(o), a = [...a, ...Rs(o.childNodes, t, r)];
111
111
  return a;
112
112
  }
113
- var fn = (e, t, r = !0) => {
113
+ var pn = (e, t, r = !0) => {
114
114
  const s = [];
115
115
  for ((r && e["s-sr"] || !e["s-sr"]) && s.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
116
116
  s.push(e);
117
117
  return s;
118
- }, es = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Qe = (e, t = "") => () => {
119
- }, i = (e, t, ...r) => {
118
+ }, ts = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Qe = (e, t = "") => () => {
119
+ }, l = (e, t, ...r) => {
120
120
  let s = null, a = null, o = null, n = !1, c = !1;
121
- const l = [], h = (p) => {
121
+ const i = [], h = (p) => {
122
122
  for (let m = 0; m < p.length; m++)
123
- s = p[m], Array.isArray(s) ? h(s) : s != null && typeof s != "boolean" && ((n = typeof e != "function" && !tr(s)) && (s = String(s)), n && c ? l[l.length - 1].$text$ += s : l.push(n ? gt(null, s) : s), c = n);
123
+ s = p[m], Array.isArray(s) ? h(s) : s != null && typeof s != "boolean" && ((n = typeof e != "function" && !tr(s)) && (s = String(s)), n && c ? i[i.length - 1].$text$ += s : i.push(n ? gt(null, s) : s), c = n);
124
124
  };
125
125
  if (h(r), t) {
126
126
  t.key && (a = t.key), t.name && (o = t.name);
@@ -132,11 +132,11 @@ var fn = (e, t, r = !0) => {
132
132
  if (typeof e == "function")
133
133
  return e(
134
134
  t === null ? {} : t,
135
- l,
136
- gn
135
+ i,
136
+ vn
137
137
  );
138
138
  const u = gt(e, null);
139
- return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = a, u.$name$ = o, u;
139
+ return u.$attrs$ = t, i.length > 0 && (u.$children$ = i), u.$key$ = a, u.$name$ = o, u;
140
140
  }, gt = (e, t) => {
141
141
  const r = {
142
142
  $flags$: 0,
@@ -146,58 +146,58 @@ var fn = (e, t, r = !0) => {
146
146
  $children$: null
147
147
  };
148
148
  return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
149
- }, pn = {}, mn = (e) => e && e.$tag$ === pn, gn = {
150
- forEach: (e, t) => e.map(ts).forEach(t),
151
- map: (e, t) => e.map(ts).map(t).map(vn)
152
- }, ts = (e) => ({
149
+ }, mn = {}, gn = (e) => e && e.$tag$ === mn, vn = {
150
+ forEach: (e, t) => e.map(rs).forEach(t),
151
+ map: (e, t) => e.map(rs).map(t).map(bn)
152
+ }, rs = (e) => ({
153
153
  vattrs: e.$attrs$,
154
154
  vchildren: e.$children$,
155
155
  vkey: e.$key$,
156
156
  vname: e.$name$,
157
157
  vtag: e.$tag$,
158
158
  vtext: e.$text$
159
- }), vn = (e) => {
159
+ }), bn = (e) => {
160
160
  if (typeof e.vtag == "function") {
161
161
  const r = { ...e.vattrs };
162
- return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), i(e.vtag, r, ...e.vchildren || []);
162
+ return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), l(e.vtag, r, ...e.vchildren || []);
163
163
  }
164
164
  const t = gt(e.vtag, e.vtext);
165
165
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
166
- }, Rs = (e, t) => e != null && !tr(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, bn = (e) => e, be = (e, t, r) => {
167
- const s = bn(e);
166
+ }, Ts = (e, t) => e != null && !tr(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, yn = (e) => e, be = (e, t, r) => {
167
+ const s = yn(e);
168
168
  return {
169
- emit: (a) => Ts(s, t, {
169
+ emit: (a) => Ps(s, t, {
170
170
  bubbles: !0,
171
171
  composed: !0,
172
172
  cancelable: !0,
173
173
  detail: a
174
174
  })
175
175
  };
176
- }, Ts = (e, t, r) => {
176
+ }, Ps = (e, t, r) => {
177
177
  const s = te.ce(t, r);
178
178
  return e.dispatchEvent(s), s;
179
- }, ht = /* @__PURE__ */ new WeakMap(), rs = (e, t, r, s, a, o) => {
179
+ }, ht = /* @__PURE__ */ new WeakMap(), ss = (e, t, r, s, a, o) => {
180
180
  if (r !== s) {
181
- let n = Kr(e, t), c = t.toLowerCase();
181
+ let n = Xr(e, t), c = t.toLowerCase();
182
182
  if (t === "class") {
183
- const l = e.classList, h = ss(r);
184
- let u = ss(s);
183
+ const i = e.classList, h = as(r);
184
+ let u = as(s);
185
185
  e["s-si"] ? (u.push(e["s-si"]), h.forEach((p) => {
186
186
  p.startsWith(e["s-si"]) && u.push(p);
187
- }), u = [...new Set(u)], l.add(...u), delete e["s-si"]) : (l.remove(...h.filter((p) => p && !u.includes(p))), l.add(...u.filter((p) => p && !h.includes(p))));
187
+ }), u = [...new Set(u)], i.add(...u), delete e["s-si"]) : (i.remove(...h.filter((p) => p && !u.includes(p))), i.add(...u.filter((p) => p && !h.includes(p))));
188
188
  } else if (t === "style") {
189
- for (const l in r)
190
- (!s || s[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
191
- for (const l in s)
192
- (!r || s[l] !== r[l]) && (l.includes("-") ? e.style.setProperty(l, s[l]) : e.style[l] = s[l]);
189
+ for (const i in r)
190
+ (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
191
+ for (const i in s)
192
+ (!r || s[i] !== r[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
193
193
  } else if (t !== "key") if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
194
- if (t[2] === "-" ? t = t.slice(3) : Kr(St, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || s) {
195
- const l = t.endsWith(Ps);
196
- t = t.replace(Cn, ""), r && te.rel(e, t, r, l), s && te.ael(e, t, s, l);
194
+ if (t[2] === "-" ? t = t.slice(3) : Xr(St, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || s) {
195
+ const i = t.endsWith($s);
196
+ t = t.replace(Sn, ""), r && te.rel(e, t, r, i), s && te.ael(e, t, s, i);
197
197
  }
198
198
  } else {
199
- const l = tr(s);
200
- if ((n || l && s !== null) && !a)
199
+ const i = tr(s);
200
+ if ((n || i && s !== null) && !a)
201
201
  try {
202
202
  if (e.tagName.includes("-"))
203
203
  e[t] !== s && (e[t] = s);
@@ -207,17 +207,17 @@ var fn = (e, t, r = !0) => {
207
207
  }
208
208
  } catch {
209
209
  }
210
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!n || o & 4 || a) && !l && (s = s === !0 ? "" : s, e.setAttribute(t, s));
210
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!n || o & 4 || a) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
211
211
  }
212
212
  }
213
- }, yn = /\s/, ss = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(yn) : []), Ps = "Capture", Cn = new RegExp(Ps + "$"), $s = (e, t, r) => {
213
+ }, Cn = /\s/, as = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(Cn) : []), $s = "Capture", Sn = new RegExp($s + "$"), _s = (e, t, r) => {
214
214
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = e && e.$attrs$ || {}, o = t.$attrs$ || {};
215
- for (const n of as(Object.keys(a)))
216
- n in o || rs(s, n, a[n], void 0, r, t.$flags$);
217
- for (const n of as(Object.keys(o)))
218
- rs(s, n, a[n], o[n], r, t.$flags$);
215
+ for (const n of ns(Object.keys(a)))
216
+ n in o || ss(s, n, a[n], void 0, r, t.$flags$);
217
+ for (const n of ns(Object.keys(o)))
218
+ ss(s, n, a[n], o[n], r, t.$flags$);
219
219
  };
220
- function as(e) {
220
+ function ns(e) {
221
221
  return e.includes("ref") ? (
222
222
  // we need to sort these to ensure that `'ref'` is the last attr
223
223
  [...e.filter((t) => t !== "ref"), "ref"]
@@ -229,7 +229,7 @@ function as(e) {
229
229
  var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
230
230
  var s;
231
231
  const a = t.$children$[r];
232
- let o = 0, n, c, l;
232
+ let o = 0, n, c, i;
233
233
  if (vt || (sr = !0, a.$tag$ === "slot" && (a.$flags$ |= a.$children$ ? (
234
234
  // slot element has fallback content
235
235
  // still create an element that "mocks" the slot element
@@ -245,14 +245,14 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
245
245
  n = a.$elm$ = Me.createTextNode("");
246
246
  else {
247
247
  if (re || (re = a.$tag$ === "svg"), n = a.$elm$ = Me.createElementNS(
248
- re ? Ja : en,
248
+ re ? en : tn,
249
249
  !vt && Le.slotRelocation && a.$flags$ & 2 ? "slot-fb" : a.$tag$
250
- ), re && a.$tag$ === "foreignObject" && (re = !1), $s(null, a, re), a.$children$)
250
+ ), re && a.$tag$ === "foreignObject" && (re = !1), _s(null, a, re), a.$children$)
251
251
  for (o = 0; o < a.$children$.length; ++o)
252
252
  c = yt(e, a, o), c && n.appendChild(c);
253
253
  a.$tag$ === "svg" ? re = !1 : n.tagName === "foreignObject" && (re = !0);
254
254
  }
255
- return n["s-hn"] = rr, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = Xt, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, l = e && e.$children$ && e.$children$[r], l && l.$tag$ === a.$tag$ && e.$elm$ && Ke(e.$elm$, !1)), n;
255
+ return n["s-hn"] = rr, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = Xt, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, i = e && e.$children$ && e.$children$[r], i && i.$tag$ === a.$tag$ && e.$elm$ && Ke(e.$elm$, !1)), n;
256
256
  }, Ke = (e, t) => {
257
257
  te.$flags$ |= 1;
258
258
  const r = Array.from(e.__childNodes || e.childNodes);
@@ -262,11 +262,11 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
262
262
  a["s-hn"] !== rr && a["s-ol"] && (ye(Xe(a).parentNode, a, Xe(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, sr = !0), t && Ke(a, t);
263
263
  }
264
264
  te.$flags$ &= -2;
265
- }, _s = (e, t, r, s, a, o) => {
265
+ }, Is = (e, t, r, s, a, o) => {
266
266
  let n = e["s-cr"] && e["s-cr"].parentNode || e, c;
267
267
  for (; a <= o; ++a)
268
268
  s[a] && (c = yt(null, r, a), c && (s[a].$elm$ = c, ye(n, c, Xe(t))));
269
- }, Is = (e, t, r) => {
269
+ }, As = (e, t, r) => {
270
270
  for (let s = t; s <= r; ++s) {
271
271
  const a = e[s];
272
272
  if (a) {
@@ -274,53 +274,53 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
274
274
  o && (bt = !0, o["s-ol"] ? o["s-ol"].remove() : Ke(o, !0), o.remove());
275
275
  }
276
276
  }
277
- }, Sn = (e, t, r, s, a = !1) => {
278
- let o = 0, n = 0, c = 0, l = 0, h = t.length - 1, u = t[0], p = t[h], m = s.length - 1, S = s[0], b = s[m], P, _;
277
+ }, wn = (e, t, r, s, a = !1) => {
278
+ let o = 0, n = 0, c = 0, i = 0, h = t.length - 1, u = t[0], p = t[h], m = s.length - 1, b = s[0], v = s[m], P, _;
279
279
  for (; o <= h && n <= m; )
280
280
  if (u == null)
281
281
  u = t[++o];
282
282
  else if (p == null)
283
283
  p = t[--h];
284
- else if (S == null)
285
- S = s[++n];
286
284
  else if (b == null)
287
- b = s[--m];
288
- else if (dt(u, S, a))
289
- Ie(u, S, a), u = t[++o], S = s[++n];
290
- else if (dt(p, b, a))
291
- Ie(p, b, a), p = t[--h], b = s[--m];
285
+ b = s[++n];
286
+ else if (v == null)
287
+ v = s[--m];
292
288
  else if (dt(u, b, a))
293
- (u.$tag$ === "slot" || b.$tag$ === "slot") && Ke(u.$elm$.parentNode, !1), Ie(u, b, a), ye(e, u.$elm$, p.$elm$.nextSibling), u = t[++o], b = s[--m];
294
- else if (dt(p, S, a))
295
- (u.$tag$ === "slot" || b.$tag$ === "slot") && Ke(p.$elm$.parentNode, !1), Ie(p, S, a), ye(e, p.$elm$, u.$elm$), p = t[--h], S = s[++n];
289
+ Ie(u, b, a), u = t[++o], b = s[++n];
290
+ else if (dt(p, v, a))
291
+ Ie(p, v, a), p = t[--h], v = s[--m];
292
+ else if (dt(u, v, a))
293
+ (u.$tag$ === "slot" || v.$tag$ === "slot") && Ke(u.$elm$.parentNode, !1), Ie(u, v, a), ye(e, u.$elm$, p.$elm$.nextSibling), u = t[++o], v = s[--m];
294
+ else if (dt(p, b, a))
295
+ (u.$tag$ === "slot" || v.$tag$ === "slot") && Ke(p.$elm$.parentNode, !1), Ie(p, b, a), ye(e, p.$elm$, u.$elm$), p = t[--h], b = s[++n];
296
296
  else {
297
- for (c = -1, l = o; l <= h; ++l)
298
- if (t[l] && t[l].$key$ !== null && t[l].$key$ === S.$key$) {
299
- c = l;
297
+ for (c = -1, i = o; i <= h; ++i)
298
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === b.$key$) {
299
+ c = i;
300
300
  break;
301
301
  }
302
- c >= 0 ? (_ = t[c], _.$tag$ !== S.$tag$ ? P = yt(t && t[n], r, c) : (Ie(_, S, a), t[c] = void 0, P = _.$elm$), S = s[++n]) : (P = yt(t && t[n], r, n), S = s[++n]), P && ye(
302
+ c >= 0 ? (_ = t[c], _.$tag$ !== b.$tag$ ? P = yt(t && t[n], r, c) : (Ie(_, b, a), t[c] = void 0, P = _.$elm$), b = s[++n]) : (P = yt(t && t[n], r, n), b = s[++n]), P && ye(
303
303
  Xe(u.$elm$).parentNode,
304
304
  P,
305
305
  Xe(u.$elm$)
306
306
  );
307
307
  }
308
- o > h ? _s(
308
+ o > h ? Is(
309
309
  e,
310
310
  s[m + 1] == null ? null : s[m + 1].$elm$,
311
311
  r,
312
312
  s,
313
313
  n,
314
314
  m
315
- ) : n > m && Is(t, o, h);
315
+ ) : n > m && As(t, o, h);
316
316
  }, dt = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, Xe = (e) => e && e["s-ol"] || e, Ie = (e, t, r = !1) => {
317
317
  const s = t.$elm$ = e.$elm$, a = e.$children$, o = t.$children$, n = t.$tag$, c = t.$text$;
318
- let l;
319
- c === null ? (re = n === "svg" ? !0 : n === "foreignObject" ? !1 : re, n === "slot" && !vt || $s(e, t, re), a !== null && o !== null ? Sn(s, a, t, o, r) : o !== null ? (e.$text$ !== null && (s.textContent = ""), _s(s, null, t, o, 0, o.length - 1)) : (
318
+ let i;
319
+ c === null ? (re = n === "svg" ? !0 : n === "foreignObject" ? !1 : re, n === "slot" && !vt || _s(e, t, re), a !== null && o !== null ? wn(s, a, t, o, r) : o !== null ? (e.$text$ !== null && (s.textContent = ""), Is(s, null, t, o, 0, o.length - 1)) : (
320
320
  // don't do this on initial render as it can cause non-hydrated content to be removed
321
- !r && Le.updatable && a !== null && Is(a, 0, a.length - 1)
322
- ), re && n === "svg" && (re = !1)) : (l = s["s-cr"]) ? l.parentNode.textContent = c : e.$text$ !== c && (s.data = c);
323
- }, de = [], As = (e) => {
321
+ !r && Le.updatable && a !== null && As(a, 0, a.length - 1)
322
+ ), re && n === "svg" && (re = !1)) : (i = s["s-cr"]) ? i.parentNode.textContent = c : e.$text$ !== c && (s.data = c);
323
+ }, de = [], Ms = (e) => {
324
324
  let t, r, s;
325
325
  const a = e.__childNodes || e.childNodes;
326
326
  for (const o of a) {
@@ -329,30 +329,30 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
329
329
  const n = o["s-sn"];
330
330
  for (s = r.length - 1; s >= 0; s--)
331
331
  if (t = r[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== o["s-hn"])
332
- if (es(t, n)) {
333
- let c = de.find((l) => l.$nodeToRelocate$ === t);
332
+ if (ts(t, n)) {
333
+ let c = de.find((i) => i.$nodeToRelocate$ === t);
334
334
  bt = !0, t["s-sn"] = t["s-sn"] || n, c ? (c.$nodeToRelocate$["s-sh"] = o["s-hn"], c.$slotRefNode$ = o) : (t["s-sh"] = o["s-hn"], de.push({
335
335
  $slotRefNode$: o,
336
336
  $nodeToRelocate$: t
337
- })), t["s-sr"] && de.map((l) => {
338
- es(l.$nodeToRelocate$, t["s-sn"]) && (c = de.find((h) => h.$nodeToRelocate$ === t), c && !l.$slotRefNode$ && (l.$slotRefNode$ = c.$slotRefNode$));
337
+ })), t["s-sr"] && de.map((i) => {
338
+ ts(i.$nodeToRelocate$, t["s-sn"]) && (c = de.find((h) => h.$nodeToRelocate$ === t), c && !i.$slotRefNode$ && (i.$slotRefNode$ = c.$slotRefNode$));
339
339
  });
340
340
  } else de.some((c) => c.$nodeToRelocate$ === t) || de.push({
341
341
  $nodeToRelocate$: t
342
342
  });
343
343
  }
344
- o.nodeType === 1 && As(o);
344
+ o.nodeType === 1 && Ms(o);
345
345
  }
346
- }, ye = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), wn = (e, t, r = !1) => {
346
+ }, ye = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), kn = (e, t, r = !1) => {
347
347
  var s, a, o, n;
348
- const c = e.$hostElement$, l = e.$vnode$ || gt(null, null), h = mn(t) ? t : i(null, null, t);
348
+ const c = e.$hostElement$, i = e.$vnode$ || gt(null, null), h = gn(t) ? t : l(null, null, t);
349
349
  if (rr = c.tagName, r && h.$attrs$)
350
350
  for (const u of Object.keys(h.$attrs$))
351
351
  c.hasAttribute(u) && !["key", "ref", "style", "class"].includes(u) && (h.$attrs$[u] = c[u]);
352
- h.$tag$ = null, h.$flags$ |= 4, e.$vnode$ = h, h.$elm$ = l.$elm$ = c, vt = an, Xt = c["s-cr"], bt = !1, Ie(l, h, r);
352
+ h.$tag$ = null, h.$flags$ |= 4, e.$vnode$ = h, h.$elm$ = i.$elm$ = c, vt = nn, Xt = c["s-cr"], bt = !1, Ie(i, h, r);
353
353
  {
354
354
  if (te.$flags$ |= 1, sr) {
355
- As(h.$elm$);
355
+ Ms(h.$elm$);
356
356
  for (const u of de) {
357
357
  const p = u.$nodeToRelocate$;
358
358
  if (!p["s-ol"]) {
@@ -363,17 +363,17 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
363
363
  for (const u of de) {
364
364
  const p = u.$nodeToRelocate$, m = u.$slotRefNode$;
365
365
  if (m) {
366
- const S = m.parentNode;
367
- let b = m.nextSibling;
366
+ const b = m.parentNode;
367
+ let v = m.nextSibling;
368
368
  {
369
369
  let H = (s = p["s-ol"]) == null ? void 0 : s.previousSibling;
370
370
  for (; H; ) {
371
- let I = (a = H["s-nr"]) != null ? a : null;
372
- if (I && I["s-sn"] === p["s-sn"] && S === (I.__parentNode || I.parentNode)) {
373
- for (I = I.nextSibling; I === p || I != null && I["s-sr"]; )
374
- I = I == null ? void 0 : I.nextSibling;
375
- if (!I || !I["s-nr"]) {
376
- b = I;
371
+ let A = (a = H["s-nr"]) != null ? a : null;
372
+ if (A && A["s-sn"] === p["s-sn"] && b === (A.__parentNode || A.parentNode)) {
373
+ for (A = A.nextSibling; A === p || A != null && A["s-sr"]; )
374
+ A = A == null ? void 0 : A.nextSibling;
375
+ if (!A || !A["s-nr"]) {
376
+ v = A;
377
377
  break;
378
378
  }
379
379
  }
@@ -381,15 +381,15 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
381
381
  }
382
382
  }
383
383
  const P = p.__parentNode || p.parentNode, _ = p.__nextSibling || p.nextSibling;
384
- (!b && S !== P || _ !== b) && p !== b && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), ye(S, p, b), p.nodeType === 1 && p.tagName !== "SLOT-FB" && (p.hidden = (o = p["s-ih"]) != null ? o : !1)), p && typeof m["s-rf"] == "function" && m["s-rf"](p);
384
+ (!v && b !== P || _ !== v) && p !== v && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), ye(b, p, v), p.nodeType === 1 && p.tagName !== "SLOT-FB" && (p.hidden = (o = p["s-ih"]) != null ? o : !1)), p && typeof m["s-rf"] == "function" && m["s-rf"](p);
385
385
  } else
386
386
  p.nodeType === 1 && (r && (p["s-ih"] = (n = p.hidden) != null ? n : !1), p.hidden = !0);
387
387
  }
388
388
  }
389
- bt && xs(h.$elm$), te.$flags$ &= -2, de.length = 0;
389
+ bt && Es(h.$elm$), te.$flags$ &= -2, de.length = 0;
390
390
  }
391
391
  Xt = void 0;
392
- }, Ms = (e, t) => {
392
+ }, Os = (e, t) => {
393
393
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
394
394
  const r = t["s-p"].push(
395
395
  new Promise(
@@ -404,50 +404,50 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
404
404
  e.$flags$ |= 512;
405
405
  return;
406
406
  }
407
- return Ms(e, e.$ancestorComponent$), cn(() => kn(e, t));
408
- }, kn = (e, t) => {
407
+ return Os(e, e.$ancestorComponent$), ln(() => xn(e, t));
408
+ }, xn = (e, t) => {
409
409
  const r = e.$hostElement$, s = Qe("scheduleUpdate", e.$cmpMeta$.$tagName$), a = r;
410
410
  if (!a)
411
411
  throw new Error(
412
412
  `Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
413
413
  );
414
414
  let o;
415
- return s(), xn(o, () => Rn(e, a, t));
416
- }, xn = (e, t) => En(e) ? e.then(t).catch((r) => {
415
+ return s(), En(o, () => Tn(e, a, t));
416
+ }, En = (e, t) => Rn(e) ? e.then(t).catch((r) => {
417
417
  console.error(r), t();
418
- }) : t(), En = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Rn = async (e, t, r) => {
418
+ }) : t(), Rn = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Tn = async (e, t, r) => {
419
419
  var s;
420
420
  const a = e.$hostElement$, o = Qe("update", e.$cmpMeta$.$tagName$), n = a["s-rc"], c = Qe("render", e.$cmpMeta$.$tagName$);
421
- Tn(e, t, a, r), n && (n.map((l) => l()), a["s-rc"] = void 0), c(), o();
421
+ Pn(e, t, a, r), n && (n.map((i) => i()), a["s-rc"] = void 0), c(), o();
422
422
  {
423
- const l = (s = a["s-p"]) != null ? s : [], h = () => Pn(e);
424
- l.length === 0 ? h() : (Promise.all(l).then(h), e.$flags$ |= 4, l.length = 0);
423
+ const i = (s = a["s-p"]) != null ? s : [], h = () => $n(e);
424
+ i.length === 0 ? h() : (Promise.all(i).then(h), e.$flags$ |= 4, i.length = 0);
425
425
  }
426
- }, Tn = (e, t, r, s) => {
426
+ }, Pn = (e, t, r, s) => {
427
427
  try {
428
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, wn(e, t, s);
428
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, kn(e, t, s);
429
429
  } catch (a) {
430
430
  Ct(a, e.$hostElement$);
431
431
  }
432
432
  return null;
433
- }, Pn = (e) => {
434
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = Qe("postUpdate", t), a = r, o = e.$ancestorComponent$;
435
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, Os(r), _n(a, "componentDidLoad", void 0, r), s(), e.$onReadyResolve$(r), o || $n()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && er(() => ar(e, !1)), e.$flags$ &= -517;
436
433
  }, $n = (e) => {
437
- Os(Me.documentElement), er(() => Ts(St, "appload", { detail: { namespace: Qa } }));
438
- }, _n = (e, t, r, s) => {
434
+ const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = Qe("postUpdate", t), a = r, o = e.$ancestorComponent$;
435
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, Ls(r), In(a, "componentDidLoad", void 0, r), s(), e.$onReadyResolve$(r), o || _n()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && er(() => ar(e, !1)), e.$flags$ &= -517;
436
+ }, _n = (e) => {
437
+ Ls(Me.documentElement), er(() => Ps(St, "appload", { detail: { namespace: Ka } }));
438
+ }, In = (e, t, r, s) => {
439
439
  if (e && e[t])
440
440
  try {
441
441
  return e[t](r);
442
442
  } catch (a) {
443
443
  Ct(a, s);
444
444
  }
445
- }, Os = (e) => {
445
+ }, Ls = (e) => {
446
446
  var t;
447
447
  return e.classList.add((t = Le.hydratedSelectorName) != null ? t : "hydrated");
448
- }, In = (e, t) => Ce(e).$instanceValues$.get(t), ns = (e, t, r, s) => {
449
- const a = Ce(e), o = e, n = a.$instanceValues$.get(t), c = a.$flags$, l = o;
450
- r = Rs(r, s.$members$[t][0]);
448
+ }, An = (e, t) => Ce(e).$instanceValues$.get(t), os = (e, t, r, s) => {
449
+ const a = Ce(e), o = e, n = a.$instanceValues$.get(t), c = a.$flags$, i = o;
450
+ r = Ts(r, s.$members$[t][0]);
451
451
  const h = Number.isNaN(n) && Number.isNaN(r);
452
452
  if (r !== n && !h) {
453
453
  a.$instanceValues$.set(t, r);
@@ -456,27 +456,27 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
456
456
  const p = s.$watchers$[t];
457
457
  p && p.map((m) => {
458
458
  try {
459
- l[m](r, n, t);
460
- } catch (S) {
461
- Ct(S, o);
459
+ i[m](r, n, t);
460
+ } catch (b) {
461
+ Ct(b, o);
462
462
  }
463
463
  });
464
464
  }
465
465
  (c & 18) === 2 && ar(a, !1);
466
466
  }
467
467
  }
468
- }, An = (e, t, r) => {
468
+ }, Mn = (e, t, r) => {
469
469
  var s, a;
470
470
  const o = e.prototype;
471
471
  if (t.$members$ || t.$watchers$ || e.watchers) {
472
472
  e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
473
473
  const n = Object.entries((s = t.$members$) != null ? s : {});
474
- n.map(([c, [l]]) => {
475
- if (l & 31 || l & 32) {
474
+ n.map(([c, [i]]) => {
475
+ if (i & 31 || i & 32) {
476
476
  const { get: h, set: u } = Object.getOwnPropertyDescriptor(o, c) || {};
477
477
  h && (t.$members$[c][0] |= 2048), u && (t.$members$[c][0] |= 4096), Object.defineProperty(o, c, {
478
478
  get() {
479
- return h ? h.apply(this) : In(this, c);
479
+ return h ? h.apply(this) : An(this, c);
480
480
  },
481
481
  configurable: !0,
482
482
  enumerable: !0
@@ -484,12 +484,12 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
484
484
  set(p) {
485
485
  const m = Ce(this);
486
486
  if (u) {
487
- const S = l & 32 ? this[c] : m.$hostElement$[c];
488
- typeof S > "u" && m.$instanceValues$.get(c) ? p = m.$instanceValues$.get(c) : !m.$instanceValues$.get(c) && S && m.$instanceValues$.set(c, S), u.apply(this, [Rs(p, l)]), p = l & 32 ? this[c] : m.$hostElement$[c], ns(this, c, p, t);
487
+ const b = i & 32 ? this[c] : m.$hostElement$[c];
488
+ typeof b > "u" && m.$instanceValues$.get(c) ? p = m.$instanceValues$.get(c) : !m.$instanceValues$.get(c) && b && m.$instanceValues$.set(c, b), u.apply(this, [Ts(p, i)]), p = i & 32 ? this[c] : m.$hostElement$[c], os(this, c, p, t);
489
489
  return;
490
490
  }
491
491
  {
492
- ns(this, c, p, t);
492
+ os(this, c, p, t);
493
493
  return;
494
494
  }
495
495
  }
@@ -498,44 +498,44 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
498
498
  });
499
499
  {
500
500
  const c = /* @__PURE__ */ new Map();
501
- o.attributeChangedCallback = function(l, h, u) {
501
+ o.attributeChangedCallback = function(i, h, u) {
502
502
  te.jmp(() => {
503
503
  var p;
504
- const m = c.get(l);
504
+ const m = c.get(i);
505
505
  if (!(this.hasOwnProperty(m) && Le.lazyLoad)) {
506
506
  if (o.hasOwnProperty(m) && typeof this[m] == "number" && // cast type to number to avoid TS compiler issues
507
507
  this[m] == u)
508
508
  return;
509
509
  if (m == null) {
510
- const b = Ce(this), P = b == null ? void 0 : b.$flags$;
510
+ const v = Ce(this), P = v == null ? void 0 : v.$flags$;
511
511
  if (P && !(P & 8) && P & 128 && u !== h) {
512
- const H = this, I = (p = t.$watchers$) == null ? void 0 : p[l];
513
- I == null || I.forEach((De) => {
514
- H[De] != null && H[De].call(H, u, h, l);
512
+ const H = this, A = (p = t.$watchers$) == null ? void 0 : p[i];
513
+ A == null || A.forEach((De) => {
514
+ H[De] != null && H[De].call(H, u, h, i);
515
515
  });
516
516
  }
517
517
  return;
518
518
  }
519
519
  }
520
- const S = Object.getOwnPropertyDescriptor(o, m);
521
- u = u === null && typeof this[m] == "boolean" ? !1 : u, u !== this[m] && (!S.get || S.set) && (this[m] = u);
520
+ const b = Object.getOwnPropertyDescriptor(o, m);
521
+ u = u === null && typeof this[m] == "boolean" ? !1 : u, u !== this[m] && (!b.get || b.set) && (this[m] = u);
522
522
  });
523
523
  }, e.observedAttributes = Array.from(
524
524
  /* @__PURE__ */ new Set([
525
525
  ...Object.keys((a = t.$watchers$) != null ? a : {}),
526
526
  ...n.filter(
527
- ([l, h]) => h[0] & 15
527
+ ([i, h]) => h[0] & 15
528
528
  /* HasAttribute */
529
- ).map(([l, h]) => {
530
- const u = h[1] || l;
531
- return c.set(u, l), u;
529
+ ).map(([i, h]) => {
530
+ const u = h[1] || i;
531
+ return c.set(u, i), u;
532
532
  })
533
533
  ])
534
534
  );
535
535
  }
536
536
  }
537
537
  return e;
538
- }, Mn = async (e, t, r, s) => {
538
+ }, On = async (e, t, r, s) => {
539
539
  if (!(t.$flags$ & 32)) {
540
540
  t.$flags$ |= 32;
541
541
  {
@@ -548,20 +548,20 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
548
548
  }
549
549
  const a = t.$ancestorComponent$, o = () => ar(t, !0);
550
550
  a && a["s-rc"] ? a["s-rc"].push(o) : o();
551
- }, On = (e, t) => {
552
- }, Ln = (e) => {
551
+ }, Ln = (e, t) => {
552
+ }, Fn = (e) => {
553
553
  if (!(te.$flags$ & 1)) {
554
554
  const t = Ce(e), r = t.$cmpMeta$, s = Qe("connectedCallback", r.$tagName$);
555
555
  if (t.$flags$ & 1)
556
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => On());
556
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ln());
557
557
  else {
558
558
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
559
- r.$flags$ & 12 && Fn(e);
559
+ r.$flags$ & 12 && Dn(e);
560
560
  {
561
561
  let a = e;
562
562
  for (; a = a.parentNode || a.host; )
563
563
  if (a["s-p"]) {
564
- Ms(t, t.$ancestorComponent$ = a);
564
+ Os(t, t.$ancestorComponent$ = a);
565
565
  break;
566
566
  }
567
567
  }
@@ -570,16 +570,16 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
570
570
  const n = e[a];
571
571
  delete e[a], e[a] = n;
572
572
  }
573
- }), Mn(e, t);
573
+ }), On(e, t);
574
574
  }
575
575
  s();
576
576
  }
577
- }, Fn = (e) => {
577
+ }, Dn = (e) => {
578
578
  const t = e["s-cr"] = Me.createComment(
579
579
  ""
580
580
  );
581
581
  t["s-cn"] = !0, ye(e, t, e.firstChild);
582
- }, Dn = async (e) => {
582
+ }, Hn = async (e) => {
583
583
  te.$flags$ & 1 || Ce(e), ht.has(e) && ht.delete(e), e.shadowRoot && ht.has(e.shadowRoot) && ht.delete(e.shadowRoot);
584
584
  }, D = (e, t) => {
585
585
  const r = {
@@ -591,26 +591,26 @@ var Xt, rr, vt = !1, bt = !1, sr = !1, re = !1, yt = (e, t, r) => {
591
591
  return Object.assign(e.prototype, {
592
592
  __hasHostListenerAttached: !1,
593
593
  __registerHost() {
594
- sn(this, r);
594
+ an(this, r);
595
595
  },
596
596
  connectedCallback() {
597
- this.__hasHostListenerAttached || (Ce(this), this.__hasHostListenerAttached = !0), Ln(this), s && s.call(this);
597
+ this.__hasHostListenerAttached || (Ce(this), this.__hasHostListenerAttached = !0), Fn(this), s && s.call(this);
598
598
  },
599
599
  disconnectedCallback() {
600
- Dn(this), a && a.call(this), te.raf(() => {
600
+ Hn(this), a && a.call(this), te.raf(() => {
601
601
  var o;
602
602
  const n = Ce(this);
603
- ((o = n == null ? void 0 : n.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !n.$vnode$.$elm$.isConnected && delete n.$vnode$, this instanceof Node && !this.isConnected && rn(this);
603
+ ((o = n == null ? void 0 : n.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !n.$vnode$.$elm$.isConnected && delete n.$vnode$, this instanceof Node && !this.isConnected && sn(this);
604
604
  });
605
605
  },
606
606
  __attachShadow() {
607
607
  this.shadowRoot = this;
608
608
  }
609
- }), e.is = r.$tagName$, An(e, r);
610
- }, Hn = (e, t) => t, Nn = Object.defineProperty, Un = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, A = (e, t, r) => Un(e, typeof t != "symbol" ? t + "" : t, r), he = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(he || {});
611
- class zn {
609
+ }), e.is = r.$tagName$, Mn(e, r);
610
+ }, Nn = (e, t) => t, Un = Object.defineProperty, zn = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, I = (e, t, r) => zn(e, typeof t != "symbol" ? t + "" : t, r), he = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(he || {});
611
+ class Bn {
612
612
  constructor(t) {
613
- A(this, "logLevel"), A(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
613
+ I(this, "logLevel"), I(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
614
614
  }
615
615
  defaultFormatter(t, r) {
616
616
  return `[${he[t]}] ${(/* @__PURE__ */ new Date()).toISOString()}: ${r}`;
@@ -648,25 +648,25 @@ function fe(e, t, r, s) {
648
648
  return new (r || (r = Promise))(function(a, o) {
649
649
  function n(h) {
650
650
  try {
651
- l(s.next(h));
651
+ i(s.next(h));
652
652
  } catch (u) {
653
653
  o(u);
654
654
  }
655
655
  }
656
656
  function c(h) {
657
657
  try {
658
- l(s.throw(h));
658
+ i(s.throw(h));
659
659
  } catch (u) {
660
660
  o(u);
661
661
  }
662
662
  }
663
- function l(h) {
663
+ function i(h) {
664
664
  var u;
665
665
  h.done ? a(h.value) : (u = h.value, u instanceof r ? u : new r(function(p) {
666
666
  p(u);
667
667
  })).then(n, c);
668
668
  }
669
- l((s = s.apply(e, [])).next());
669
+ i((s = s.apply(e, [])).next());
670
670
  });
671
671
  }
672
672
  function pe(e, t) {
@@ -677,7 +677,7 @@ function pe(e, t) {
677
677
  return o = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
678
678
  return this;
679
679
  }), o;
680
- function c(l) {
680
+ function c(i) {
681
681
  return function(h) {
682
682
  return function(u) {
683
683
  if (r) throw new TypeError("Generator is already executing.");
@@ -724,14 +724,14 @@ function pe(e, t) {
724
724
  }
725
725
  if (5 & u[0]) throw u[1];
726
726
  return { value: u[0] ? u[1] : void 0, done: !0 };
727
- }([l, h]);
727
+ }([i, h]);
728
728
  };
729
729
  }
730
730
  }
731
- var me = { exclude: [] }, Ls = {}, Bn = { timeout: "true" }, ne = function(e, t) {
732
- typeof window < "u" && (Ls[e] = t);
733
- }, Vn = function() {
734
- return Object.fromEntries(Object.entries(Ls).filter(function(e) {
731
+ var me = { exclude: [] }, Fs = {}, Vn = { timeout: "true" }, ne = function(e, t) {
732
+ typeof window < "u" && (Fs[e] = t);
733
+ }, jn = function() {
734
+ return Object.fromEntries(Object.entries(Fs).filter(function(e) {
735
735
  var t, r = e[0];
736
736
  return !(!((t = me == null ? void 0 : me.exclude) === null || t === void 0) && t.includes(r));
737
737
  }).map(function(e) {
@@ -750,13 +750,13 @@ function nr(e, t) {
750
750
  if (t === void 0 && (t = 0), t = t ? 0 | t : 0, typeof e == "string" && (r = e, e = new TextEncoder().encode(r).buffer), !(e instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
751
751
  var s = new Uint32Array([t, t, t, t]);
752
752
  (function(o, n) {
753
- for (var c = o.byteLength / 16 | 0, l = new Uint32Array(o, 0, 4 * c), h = 0; h < c; h++) {
754
- var u = l.subarray(4 * h, 4 * (h + 1));
753
+ for (var c = o.byteLength / 16 | 0, i = new Uint32Array(o, 0, 4 * c), h = 0; h < c; h++) {
754
+ var u = i.subarray(4 * h, 4 * (h + 1));
755
755
  u[0] = Math.imul(u[0], W[0]), u[0] = se(u[0], 15), u[0] = Math.imul(u[0], W[1]), n[0] = n[0] ^ u[0], n[0] = se(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, u[1] = Math.imul(u[1], W[1]), u[1] = se(u[1], 16), u[1] = Math.imul(u[1], W[2]), n[1] = n[1] ^ u[1], n[1] = se(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, u[2] = Math.imul(u[2], W[2]), u[2] = se(u[2], 17), u[2] = Math.imul(u[2], W[3]), n[2] = n[2] ^ u[2], n[2] = se(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, u[3] = Math.imul(u[3], W[3]), u[3] = se(u[3], 18), u[3] = Math.imul(u[3], W[0]), n[3] = n[3] ^ u[3], n[3] = se(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
756
756
  }
757
757
  })(e, s), function(o, n) {
758
- var c = o.byteLength / 16 | 0, l = o.byteLength % 16, h = new Uint32Array(4), u = new Uint8Array(o, 16 * c, l);
759
- switch (l) {
758
+ var c = o.byteLength / 16 | 0, i = o.byteLength % 16, h = new Uint32Array(4), u = new Uint8Array(o, 16 * c, i);
759
+ switch (i) {
760
760
  case 15:
761
761
  h[3] = h[3] ^ u[14] << 16;
762
762
  case 14:
@@ -796,31 +796,31 @@ function nr(e, t) {
796
796
  return o.toString(16).padStart(2, "0");
797
797
  }).join("");
798
798
  }
799
- function jn(e, t) {
799
+ function Wn(e, t) {
800
800
  return new Promise(function(r) {
801
801
  setTimeout(function() {
802
802
  return r(t);
803
803
  }, e);
804
804
  });
805
805
  }
806
- function Wn(e, t, r) {
806
+ function Gn(e, t, r) {
807
807
  return Promise.all(e.map(function(s) {
808
- return Promise.race([s, jn(t, r)]);
808
+ return Promise.race([s, Wn(t, r)]);
809
809
  }));
810
810
  }
811
- function Gn() {
811
+ function qn() {
812
812
  return fe(this, void 0, void 0, function() {
813
813
  var e, t, r, s, a;
814
814
  return pe(this, function(o) {
815
815
  switch (o.label) {
816
816
  case 0:
817
- return o.trys.push([0, 2, , 3]), e = Vn(), t = Object.keys(e), [4, Wn(Object.values(e), (me == null ? void 0 : me.timeout) || 1e3, Bn)];
817
+ return o.trys.push([0, 2, , 3]), e = jn(), t = Object.keys(e), [4, Gn(Object.values(e), (me == null ? void 0 : me.timeout) || 1e3, Vn)];
818
818
  case 1:
819
819
  return r = o.sent(), s = r.filter(function(n) {
820
820
  return n !== void 0;
821
821
  }), a = {}, s.forEach(function(n, c) {
822
822
  a[t[c]] = n;
823
- }), [2, Fs(a, me.exclude || [])];
823
+ }), [2, Ds(a, me.exclude || [])];
824
824
  case 2:
825
825
  throw o.sent();
826
826
  case 3:
@@ -829,14 +829,14 @@ function Gn() {
829
829
  });
830
830
  });
831
831
  }
832
- function Fs(e, t) {
832
+ function Ds(e, t) {
833
833
  var r = {}, s = function(o) {
834
834
  if (e.hasOwnProperty(o)) {
835
835
  var n = e[o];
836
836
  if (typeof n != "object" || Array.isArray(n)) t.includes(o) || (r[o] = n);
837
837
  else {
838
- var c = Fs(n, t.map(function(l) {
839
- return l.startsWith(o + ".") ? l.slice(o.length + 1) : l;
838
+ var c = Ds(n, t.map(function(i) {
839
+ return i.startsWith(o + ".") ? i.slice(o.length + 1) : i;
840
840
  }));
841
841
  Object.keys(c).length > 0 && (r[o] = c);
842
842
  }
@@ -845,13 +845,13 @@ function Fs(e, t) {
845
845
  for (var a in e) s(a);
846
846
  return r;
847
847
  }
848
- function qn(e) {
848
+ function Yn(e) {
849
849
  return fe(this, void 0, void 0, function() {
850
850
  var t, r;
851
851
  return pe(this, function(s) {
852
852
  switch (s.label) {
853
853
  case 0:
854
- return s.trys.push([0, 2, , 3]), [4, Gn()];
854
+ return s.trys.push([0, 2, , 3]), [4, qn()];
855
855
  case 1:
856
856
  return t = s.sent(), r = nr(JSON.stringify(t)), [2, r.toString()];
857
857
  case 2:
@@ -862,19 +862,19 @@ function qn(e) {
862
862
  });
863
863
  });
864
864
  }
865
- function Yn(e) {
865
+ function Zn(e) {
866
866
  for (var t = 0, r = 0; r < e.length; ++r) t += Math.abs(e[r]);
867
867
  return t;
868
868
  }
869
- function Ds(e, t, r) {
869
+ function Hs(e, t, r) {
870
870
  for (var s = [], a = 0; a < e[0].data.length; a++) {
871
871
  for (var o = [], n = 0; n < e.length; n++) o.push(e[n].data[a]);
872
- s.push(Zn(o));
872
+ s.push(Qn(o));
873
873
  }
874
874
  var c = new Uint8ClampedArray(s);
875
875
  return new ImageData(c, t, r);
876
876
  }
877
- function Zn(e) {
877
+ function Qn(e) {
878
878
  if (e.length === 0) return 0;
879
879
  for (var t = {}, r = 0, s = e; r < s.length; r++)
880
880
  t[o = s[r]] = (t[o] || 0) + 1;
@@ -898,24 +898,24 @@ ne("audio", function() {
898
898
  var s = new (window.OfflineAudioContext || window.webkitOfflineAudioContext)(1, 5e3, 44100), a = s.createBufferSource(), o = s.createOscillator();
899
899
  o.frequency.value = 1e3;
900
900
  var n, c = s.createDynamicsCompressor();
901
- c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(s.destination), o.start(), s.oncomplete = function(l) {
902
- n = l.renderedBuffer.getChannelData(0), t({ sampleHash: Yn(n), oscillator: o.type, maxChannels: s.destination.maxChannelCount, channelCountMode: a.channelCountMode });
901
+ c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(s.destination), o.start(), s.oncomplete = function(i) {
902
+ n = i.renderedBuffer.getChannelData(0), t({ sampleHash: Zn(n), oscillator: o.type, maxChannels: s.destination.maxChannelCount, channelCountMode: a.channelCountMode });
903
903
  }, s.startRendering();
904
- } catch (l) {
905
- console.error("Error creating audio fingerprint:", l), r(l);
904
+ } catch (i) {
905
+ console.error("Error creating audio fingerprint:", i), r(i);
906
906
  }
907
907
  })];
908
908
  });
909
909
  });
910
910
  });
911
- var Qn = Je().name !== "SamsungBrowser" ? 1 : 3, os = 280, cs = 20;
911
+ var Kn = Je().name !== "SamsungBrowser" ? 1 : 3, cs = 280, is = 20;
912
912
  Je().name != "Firefox" && ne("canvas", function() {
913
913
  return document.createElement("canvas").getContext("2d"), new Promise(function(e) {
914
- var t = Array.from({ length: Qn }, function() {
914
+ var t = Array.from({ length: Kn }, function() {
915
915
  return function() {
916
916
  var r = document.createElement("canvas"), s = r.getContext("2d");
917
917
  if (!s) return new ImageData(1, 1);
918
- r.width = os, r.height = cs;
918
+ r.width = cs, r.height = is;
919
919
  var a = s.createLinearGradient(0, 0, r.width, r.height);
920
920
  a.addColorStop(0, "red"), a.addColorStop(0.16666666666666666, "orange"), a.addColorStop(0.3333333333333333, "yellow"), a.addColorStop(0.5, "green"), a.addColorStop(0.6666666666666666, "blue"), a.addColorStop(0.8333333333333334, "indigo"), a.addColorStop(1, "violet"), s.fillStyle = a, s.fillRect(0, 0, r.width, r.height);
921
921
  var o = "Random Text WMwmil10Oo";
@@ -924,23 +924,23 @@ Je().name != "Firefox" && ne("canvas", function() {
924
924
  return n;
925
925
  }();
926
926
  });
927
- e({ commonImageDataHash: nr(Ds(t, os, cs).data.toString()).toString() });
927
+ e({ commonImageDataHash: nr(Hs(t, cs, is).data.toString()).toString() });
928
928
  });
929
929
  });
930
- var Wt, Kn = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], Xn = ["monospace", "sans-serif", "serif"];
931
- function is(e, t) {
930
+ var Wt, Xn = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], Jn = ["monospace", "sans-serif", "serif"];
931
+ function ls(e, t) {
932
932
  if (!e) throw new Error("Canvas context not supported");
933
933
  return e.font = "72px ".concat(t), e.measureText("WwMmLli0Oo").width;
934
934
  }
935
- function Jn() {
935
+ function eo() {
936
936
  var e, t = document.createElement("canvas"), r = (e = t.getContext("webgl")) !== null && e !== void 0 ? e : t.getContext("experimental-webgl");
937
937
  if (r && "getParameter" in r) try {
938
938
  var s = (r.getParameter(r.VENDOR) || "").toString(), a = (r.getParameter(r.RENDERER) || "").toString(), o = { vendor: s, renderer: a, version: (r.getParameter(r.VERSION) || "").toString(), shadingLanguageVersion: (r.getParameter(r.SHADING_LANGUAGE_VERSION) || "").toString() };
939
939
  if (!a.length || !s.length) {
940
940
  var n = r.getExtension("WEBGL_debug_renderer_info");
941
941
  if (n) {
942
- var c = (r.getParameter(n.UNMASKED_VENDOR_WEBGL) || "").toString(), l = (r.getParameter(n.UNMASKED_RENDERER_WEBGL) || "").toString();
943
- c && (o.vendorUnmasked = c), l && (o.rendererUnmasked = l);
942
+ var c = (r.getParameter(n.UNMASKED_VENDOR_WEBGL) || "").toString(), i = (r.getParameter(n.UNMASKED_RENDERER_WEBGL) || "").toString();
943
+ c && (o.vendorUnmasked = c), i && (o.rendererUnmasked = i);
944
944
  }
945
945
  }
946
946
  return o;
@@ -948,11 +948,11 @@ function Jn() {
948
948
  }
949
949
  return "undefined";
950
950
  }
951
- function eo() {
951
+ function to() {
952
952
  var e = new Float32Array(1), t = new Uint8Array(e.buffer);
953
953
  return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
954
954
  }
955
- function to(e, t) {
955
+ function ro(e, t) {
956
956
  var r = {};
957
957
  return t.forEach(function(s) {
958
958
  var a = function(o) {
@@ -962,9 +962,9 @@ function to(e, t) {
962
962
  var u = String(h);
963
963
  n[u] = (n[u] || 0) + 1;
964
964
  });
965
- var c = o[0], l = 1;
965
+ var c = o[0], i = 1;
966
966
  return Object.keys(n).forEach(function(h) {
967
- n[h] > l && (c = h, l = n[h]);
967
+ n[h] > i && (c = h, i = n[h]);
968
968
  }), c;
969
969
  }(e.map(function(o) {
970
970
  return s in o ? o[s] : void 0;
@@ -974,7 +974,7 @@ function to(e, t) {
974
974
  a && (r[s] = a);
975
975
  }), r;
976
976
  }
977
- function ro() {
977
+ function so() {
978
978
  var e = [], t = { "prefers-contrast": ["high", "more", "low", "less", "forced", "no-preference"], "any-hover": ["hover", "none"], "any-pointer": ["none", "coarse", "fine"], pointer: ["none", "coarse", "fine"], hover: ["hover", "none"], update: ["fast", "slow"], "inverted-colors": ["inverted", "none"], "prefers-reduced-motion": ["reduce", "no-preference"], "prefers-reduced-transparency": ["reduce", "no-preference"], scripting: ["none", "initial-only", "enabled"], "forced-colors": ["active", "none"] };
979
979
  return Object.keys(t).forEach(function(r) {
980
980
  t[r].forEach(function(s) {
@@ -982,7 +982,7 @@ function ro() {
982
982
  });
983
983
  }), e;
984
984
  }
985
- function so() {
985
+ function ao() {
986
986
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
987
987
  for (var e = window.ApplePaySession.supportsVersion, t = 15; t > 0; t--) if (e(t)) return t;
988
988
  } catch {
@@ -998,14 +998,14 @@ Je().name != "Firefox" && ne("fonts", function() {
998
998
  var a;
999
999
  fe(this, void 0, void 0, function() {
1000
1000
  var o, n, c;
1001
- return pe(this, function(l) {
1002
- switch (l.label) {
1001
+ return pe(this, function(i) {
1002
+ switch (i.label) {
1003
1003
  case 0:
1004
1004
  return document.body ? [3, 2] : [4, (h = 50, new Promise(function(p) {
1005
1005
  return setTimeout(p, h, u);
1006
1006
  }))];
1007
1007
  case 1:
1008
- return l.sent(), [3, 0];
1008
+ return i.sent(), [3, 0];
1009
1009
  case 2:
1010
1010
  if ((o = document.createElement("iframe")).setAttribute("frameBorder", "0"), (n = o.style).setProperty("position", "fixed"), n.setProperty("display", "block", "important"), n.setProperty("visibility", "visible"), n.setProperty("border", "0"), n.setProperty("opacity", "0"), o.src = "about:blank", document.body.appendChild(o), !(c = o.contentDocument || ((a = o.contentWindow) === null || a === void 0 ? void 0 : a.document))) throw new Error("Iframe document is not accessible");
1011
1011
  return s({ iframe: c }), setTimeout(function() {
@@ -1018,14 +1018,14 @@ Je().name != "Firefox" && ne("fonts", function() {
1018
1018
  })(function(s) {
1019
1019
  var a = s.iframe;
1020
1020
  return fe(e, void 0, void 0, function() {
1021
- var o, n, c, l;
1021
+ var o, n, c, i;
1022
1022
  return pe(this, function(h) {
1023
- return o = a.createElement("canvas"), n = o.getContext("2d"), c = Xn.map(function(u) {
1024
- return is(n, u);
1025
- }), l = {}, Kn.forEach(function(u) {
1026
- var p = is(n, u);
1027
- c.includes(p) || (l[u] = p);
1028
- }), t(l), [2];
1023
+ return o = a.createElement("canvas"), n = o.getContext("2d"), c = Jn.map(function(u) {
1024
+ return ls(n, u);
1025
+ }), i = {}, Xn.forEach(function(u) {
1026
+ var p = ls(n, u);
1027
+ c.includes(p) || (i[u] = p);
1028
+ }), t(i), [2];
1029
1029
  });
1030
1030
  });
1031
1031
  });
@@ -1036,7 +1036,7 @@ Je().name != "Firefox" && ne("fonts", function() {
1036
1036
  }), ne("hardware", function() {
1037
1037
  return new Promise(function(e, t) {
1038
1038
  var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, s = window.performance && window.performance.memory ? window.performance.memory : 0;
1039
- e({ videocard: Jn(), architecture: eo(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: s.jsHeapSizeLimit || 0 });
1039
+ e({ videocard: eo(), architecture: to(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: s.jsHeapSizeLimit || 0 });
1040
1040
  });
1041
1041
  }), ne("locales", function() {
1042
1042
  return new Promise(function(e) {
@@ -1072,7 +1072,7 @@ Je().name != "Firefox" && ne("fonts", function() {
1072
1072
  });
1073
1073
  }();
1074
1074
  }), [2, Promise.all(e).then(function(r) {
1075
- return to(r, Wt);
1075
+ return ro(r, Wt);
1076
1076
  })];
1077
1077
  });
1078
1078
  });
@@ -1087,15 +1087,15 @@ Je().name != "Firefox" && ne("fonts", function() {
1087
1087
  });
1088
1088
  }), ne("screen", function() {
1089
1089
  return new Promise(function(e) {
1090
- e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: ro() });
1090
+ e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: so() });
1091
1091
  });
1092
1092
  }), ne("system", function() {
1093
1093
  return new Promise(function(e) {
1094
1094
  var t = Je();
1095
- e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: so() });
1095
+ e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: ao() });
1096
1096
  });
1097
1097
  });
1098
- var K, ao = Je().name !== "SamsungBrowser" ? 1 : 3, w = null;
1098
+ var K, no = Je().name !== "SamsungBrowser" ? 1 : 3, w = null;
1099
1099
  ne("webgl", function() {
1100
1100
  return fe(this, void 0, void 0, function() {
1101
1101
  var e;
@@ -1103,7 +1103,7 @@ ne("webgl", function() {
1103
1103
  typeof document < "u" && ((K = document.createElement("canvas")).width = 200, K.height = 100, w = K.getContext("webgl"));
1104
1104
  try {
1105
1105
  if (!w) throw new Error("WebGL not supported");
1106
- return e = Array.from({ length: ao }, function() {
1106
+ return e = Array.from({ length: no }, function() {
1107
1107
  return function() {
1108
1108
  try {
1109
1109
  if (!w) throw new Error("WebGL not supported");
@@ -1125,23 +1125,23 @@ ne("webgl", function() {
1125
1125
  if (!n) throw new Error("Failed to create shader program");
1126
1126
  if (w.attachShader(n, a), w.attachShader(n, o), w.linkProgram(n), !w.getProgramParameter(n, w.LINK_STATUS)) throw new Error("Shader program linking failed: " + w.getProgramInfoLog(n));
1127
1127
  w.useProgram(n);
1128
- for (var c = 137, l = new Float32Array(4 * c), h = 2 * Math.PI / c, u = 0; u < c; u++) {
1128
+ for (var c = 137, i = new Float32Array(4 * c), h = 2 * Math.PI / c, u = 0; u < c; u++) {
1129
1129
  var p = u * h;
1130
- l[4 * u] = 0, l[4 * u + 1] = 0, l[4 * u + 2] = Math.cos(p) * (K.width / 2), l[4 * u + 3] = Math.sin(p) * (K.height / 2);
1130
+ i[4 * u] = 0, i[4 * u + 1] = 0, i[4 * u + 2] = Math.cos(p) * (K.width / 2), i[4 * u + 3] = Math.sin(p) * (K.height / 2);
1131
1131
  }
1132
1132
  var m = w.createBuffer();
1133
- w.bindBuffer(w.ARRAY_BUFFER, m), w.bufferData(w.ARRAY_BUFFER, l, w.STATIC_DRAW);
1134
- var S = w.getAttribLocation(n, "position");
1135
- w.enableVertexAttribArray(S), w.vertexAttribPointer(S, 2, w.FLOAT, !1, 0, 0), w.viewport(0, 0, K.width, K.height), w.clearColor(0, 0, 0, 1), w.clear(w.COLOR_BUFFER_BIT), w.drawArrays(w.LINES, 0, 2 * c);
1136
- var b = new Uint8ClampedArray(K.width * K.height * 4);
1137
- return w.readPixels(0, 0, K.width, K.height, w.RGBA, w.UNSIGNED_BYTE, b), new ImageData(b, K.width, K.height);
1133
+ w.bindBuffer(w.ARRAY_BUFFER, m), w.bufferData(w.ARRAY_BUFFER, i, w.STATIC_DRAW);
1134
+ var b = w.getAttribLocation(n, "position");
1135
+ w.enableVertexAttribArray(b), w.vertexAttribPointer(b, 2, w.FLOAT, !1, 0, 0), w.viewport(0, 0, K.width, K.height), w.clearColor(0, 0, 0, 1), w.clear(w.COLOR_BUFFER_BIT), w.drawArrays(w.LINES, 0, 2 * c);
1136
+ var v = new Uint8ClampedArray(K.width * K.height * 4);
1137
+ return w.readPixels(0, 0, K.width, K.height, w.RGBA, w.UNSIGNED_BYTE, v), new ImageData(v, K.width, K.height);
1138
1138
  } catch {
1139
1139
  return new ImageData(1, 1);
1140
1140
  } finally {
1141
1141
  w && (w.bindBuffer(w.ARRAY_BUFFER, null), w.useProgram(null), w.viewport(0, 0, w.drawingBufferWidth, w.drawingBufferHeight), w.clearColor(0, 0, 0, 0));
1142
1142
  }
1143
1143
  }();
1144
- }), [2, { commonImageHash: nr(Ds(e, K.width, K.height).data.toString()).toString() }];
1144
+ }), [2, { commonImageHash: nr(Hs(e, K.width, K.height).data.toString()).toString() }];
1145
1145
  } catch {
1146
1146
  return [2, { webgl: "unsupported" }];
1147
1147
  }
@@ -1161,16 +1161,16 @@ ne("math", function() {
1161
1161
  });
1162
1162
  });
1163
1163
  });
1164
- const no = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1164
+ const oo = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1165
1165
  let Oe = (e = 21) => {
1166
1166
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
1167
1167
  for (; e--; )
1168
- t += no[r[e] & 63];
1168
+ t += oo[r[e] & 63];
1169
1169
  return t;
1170
1170
  };
1171
1171
  class or {
1172
1172
  constructor(t) {
1173
- A(this, "config"), this.config = t;
1173
+ I(this, "config"), this.config = t;
1174
1174
  }
1175
1175
  async getAds(t) {
1176
1176
  return [];
@@ -1186,7 +1186,7 @@ class or {
1186
1186
  async onAdContainerViewed(t) {
1187
1187
  }
1188
1188
  }
1189
- class oo extends or {
1189
+ class co extends or {
1190
1190
  /**
1191
1191
  * Gets ads from the adMarketplace API based on the search term.
1192
1192
  */
@@ -1222,15 +1222,15 @@ class oo extends or {
1222
1222
  (r = s.admAd) != null && r.impression_url && fetch(s.admAd.impression_url);
1223
1223
  }
1224
1224
  }
1225
- class co extends or {
1225
+ class io extends or {
1226
1226
  async getAds(t) {
1227
1227
  return [];
1228
1228
  }
1229
1229
  }
1230
- const io = 1e3;
1231
- class lo extends or {
1230
+ const lo = 1e3;
1231
+ class uo extends or {
1232
1232
  constructor(t) {
1233
- super(t), A(this, "adCallTimeout"), this.addScriptTagToDocument();
1233
+ super(t), I(this, "adCallTimeout"), this.addScriptTagToDocument();
1234
1234
  }
1235
1235
  async onQuerySubmitted(t) {
1236
1236
  this.addScriptTagToDocument();
@@ -1241,7 +1241,7 @@ class lo extends or {
1241
1241
  this.removeScriptTagFromDocument();
1242
1242
  return;
1243
1243
  }
1244
- this.performAdCall(io);
1244
+ this.performAdCall(lo);
1245
1245
  }
1246
1246
  async onInputCleared() {
1247
1247
  this.removeScriptTagFromDocument();
@@ -1270,10 +1270,10 @@ class lo extends or {
1270
1270
  t && document.head.removeChild(t);
1271
1271
  }
1272
1272
  }
1273
- const uo = 600;
1274
- class ho {
1273
+ const ho = 600;
1274
+ class fo {
1275
1275
  constructor(t, r, s) {
1276
- A(this, "measureRequestTimeout"), A(this, "measureRequestsBatched", []), A(this, "config"), A(this, "sdkInfo"), A(this, "userId"), A(this, "sessionId"), A(this, "sendMeasureEvent", async (a, o = {}, n = {}) => {
1276
+ I(this, "measureRequestTimeout"), I(this, "measureRequestsBatched", []), I(this, "config"), I(this, "sdkInfo"), I(this, "userId"), I(this, "sessionId"), I(this, "sendMeasureEvent", async (a, o = {}, n = {}) => {
1277
1277
  const c = {
1278
1278
  event_name: a,
1279
1279
  properties: {
@@ -1287,7 +1287,7 @@ class ho {
1287
1287
  }
1288
1288
  };
1289
1289
  if (a === "document_clicked") {
1290
- const l = JSON.stringify(c), h = `${this.baseMeasureUrl}/event`;
1290
+ const i = JSON.stringify(c), h = `${this.baseMeasureUrl}/event`;
1291
1291
  try {
1292
1292
  const u = await fetch(h, {
1293
1293
  method: "POST",
@@ -1297,7 +1297,7 @@ class ho {
1297
1297
  "X-Sc-User-Id": this.userId,
1298
1298
  "X-Sc-Session-Id": this.sessionId
1299
1299
  },
1300
- body: l,
1300
+ body: i,
1301
1301
  keepalive: !0
1302
1302
  });
1303
1303
  if (!u.ok)
@@ -1309,7 +1309,7 @@ class ho {
1309
1309
  }
1310
1310
  } else
1311
1311
  this.measureRequestsBatched.push(c), clearTimeout(this.measureRequestTimeout), this.measureRequestTimeout = setTimeout(async () => {
1312
- const l = JSON.stringify({ items: this.measureRequestsBatched }), h = `${this.baseMeasureUrl}/batch`;
1312
+ const i = JSON.stringify({ items: this.measureRequestsBatched }), h = `${this.baseMeasureUrl}/batch`;
1313
1313
  try {
1314
1314
  const u = await fetch(h, {
1315
1315
  method: "POST",
@@ -1319,7 +1319,7 @@ class ho {
1319
1319
  "X-Sc-User-Id": this.userId,
1320
1320
  "X-Sc-Session-Id": this.sessionId
1321
1321
  },
1322
- body: l,
1322
+ body: i,
1323
1323
  keepalive: !0
1324
1324
  });
1325
1325
  if (this.measureRequestsBatched = [], !u.ok)
@@ -1330,7 +1330,7 @@ class ho {
1330
1330
  } catch (u) {
1331
1331
  throw this.measureRequestsBatched = [], console.error("Error sending MeasureRequest:", u), u;
1332
1332
  }
1333
- }, uo);
1333
+ }, ho);
1334
1334
  }), this.config = t, this.sdkInfo = r, this.userId = s, this.sessionId = Oe(), this.sendMeasureEvent("sdk_initialized");
1335
1335
  }
1336
1336
  /**
@@ -1354,7 +1354,7 @@ class ho {
1354
1354
  };
1355
1355
  }
1356
1356
  }
1357
- const fo = (e) => e.endsWith("/") ? e.slice(0, -1) : e, pt = (e) => {
1357
+ const po = (e) => e.endsWith("/") ? e.slice(0, -1) : e, pt = (e) => {
1358
1358
  let t = "";
1359
1359
  if (t = e.trim(), t = t.replace(/[‘’“”]/g, (r) => ({
1360
1360
  "‘": "'",
@@ -1366,59 +1366,73 @@ const fo = (e) => e.endsWith("/") ? e.slice(0, -1) : e, pt = (e) => {
1366
1366
  "The search term contains an uneven number of quote characters."
1367
1367
  );
1368
1368
  return t;
1369
- }, po = 500;
1370
- class mo {
1369
+ }, mo = 500;
1370
+ class go {
1371
1371
  constructor(t, r, s) {
1372
- A(this, "config"), A(this, "userId"), A(this, "parent"), A(this, "searchCompletedEventTimeout"), A(this, "getSearchResponseItems", async (a, o = !0) => {
1373
- var n, c, l, h, u;
1374
- try {
1375
- let p, m = "";
1376
- return typeof a == "string" ? m = pt(a) : (a.searchTerm = pt(a.searchTerm), m = a.searchTerm), (n = this.parent.measureClient) == null || n.sendMeasureEvent("search_requested", {
1377
- search_term: m
1378
- }), this.parent.emitEvent("query_submitted", {
1379
- name: "query_submitted",
1380
- data: {
1381
- searchTerm: m
1382
- }
1383
- }), (c = this.parent.adClient) == null || c.onQuerySubmitted(
1384
- typeof a == "string" ? { searchTerm: m, mode: "exact" } : a
1385
- ), typeof a == "string" ? p = await this.handleGetSearchResponseItemsWithString(m) : p = await this.handleGetSearchResponseItemsWithObject(a), o && ((l = this.parent.measureClient) == null || l.sendMeasureEvent(
1386
- "search_response_received",
1387
- {
1388
- search_term: m,
1389
- number_of_documents: p.data.count
1390
- }
1391
- ), clearTimeout(this.searchCompletedEventTimeout), this.searchCompletedEventTimeout = setTimeout(() => {
1392
- var S;
1393
- (S = this.parent.measureClient) == null || S.sendMeasureEvent("search_completed", {
1394
- search_term: m,
1395
- number_of_documents: p.data.count
1396
- });
1397
- }, po), this.parent.emitEvent("query_fetched", {
1398
- name: "query_fetched",
1399
- data: {
1400
- searchTerm: m
1401
- }
1402
- }), (((h = p.data.hits) == null ? void 0 : h.length) || 0) === 0 && this.parent.emitEvent("no_results_returned", {
1403
- name: "no_results_returned"
1404
- }), (u = this.parent.adClient) == null || u.onQueryFetched(
1405
- typeof a == "string" ? { searchTerm: m, mode: "exact" } : a,
1406
- p
1407
- )), p;
1408
- } catch (p) {
1409
- throw console.error("Error parsing response:", p), p;
1410
- }
1411
- }), A(this, "handleGetSearchResponseItemsWithString", async (a) => {
1412
- var o;
1413
- let n;
1372
+ I(this, "config"), I(this, "userId"), I(this, "parent"), I(this, "searchCompletedEventTimeout"), I(this, "abortController"), I(this, "getSearchResponseItems", async (a, o = !0) => {
1373
+ var n, c, i, h, u, p;
1374
+ (n = this.abortController) == null || n.abort(
1375
+ "A newer search request has replaced this one."
1376
+ ), this.abortController = new AbortController();
1377
+ let m, b = "";
1378
+ return typeof a == "string" ? b = pt(a) : (a.searchTerm = pt(a.searchTerm), b = a.searchTerm), (c = this.parent.measureClient) == null || c.sendMeasureEvent("search_requested", {
1379
+ search_term: b
1380
+ }), this.parent.emitEvent("query_submitted", {
1381
+ name: "query_submitted",
1382
+ data: {
1383
+ searchTerm: b
1384
+ }
1385
+ }), (i = this.parent.adClient) == null || i.onQuerySubmitted(
1386
+ typeof a == "string" ? { searchTerm: b, mode: "exact" } : a
1387
+ ), typeof a == "string" ? m = await this.handleGetSearchResponseItemsWithString(b) : m = await this.handleGetSearchResponseItemsWithObject(a), o && ((h = this.parent.measureClient) == null || h.sendMeasureEvent("search_response_received", {
1388
+ search_term: b,
1389
+ number_of_documents: m.data.count
1390
+ }), clearTimeout(this.searchCompletedEventTimeout), this.searchCompletedEventTimeout = setTimeout(() => {
1391
+ var v;
1392
+ (v = this.parent.measureClient) == null || v.sendMeasureEvent("search_completed", {
1393
+ search_term: b,
1394
+ number_of_documents: m.data.count
1395
+ });
1396
+ }, mo), this.parent.emitEvent("query_fetched", {
1397
+ name: "query_fetched",
1398
+ data: {
1399
+ searchTerm: b
1400
+ }
1401
+ }), (((u = m.data.hits) == null ? void 0 : u.length) || 0) === 0 && this.parent.emitEvent("no_results_returned", {
1402
+ name: "no_results_returned"
1403
+ }), (p = this.parent.adClient) == null || p.onQueryFetched(
1404
+ typeof a == "string" ? { searchTerm: b, mode: "exact" } : a,
1405
+ m
1406
+ )), m;
1407
+ }), I(this, "handleGetSearchResponseItemsWithString", async (a) => {
1408
+ var o, n;
1409
+ let c;
1414
1410
  try {
1415
- n = JSON.parse(a), n = {
1411
+ c = JSON.parse(a), c = {
1416
1412
  limit: this.config.searchResultsPerPage,
1417
- ...n
1413
+ ...c
1418
1414
  };
1419
1415
  } catch {
1420
1416
  throw new Error("Error: Query string is not valid json.");
1421
1417
  }
1418
+ const i = await fetch(this.baseSearchUrl, {
1419
+ method: "POST",
1420
+ headers: {
1421
+ Authorization: this.config.readKey,
1422
+ "Content-Type": "application/json",
1423
+ "X-Sc-User-Id": this.userId,
1424
+ "X-Sc-Session-Id": ((o = this.parent.measureClient) == null ? void 0 : o.sessionId) || Oe()
1425
+ },
1426
+ body: JSON.stringify(c),
1427
+ signal: (n = this.abortController) == null ? void 0 : n.signal
1428
+ });
1429
+ if (!i.ok)
1430
+ throw new Error(
1431
+ `Error: ${i.statusText} (Status: ${i.status})`
1432
+ );
1433
+ return await i.json();
1434
+ }), I(this, "handleGetSearchResponseItemsWithObject", async (a) => {
1435
+ var o, n;
1422
1436
  const c = await fetch(this.baseSearchUrl, {
1423
1437
  method: "POST",
1424
1438
  headers: {
@@ -1427,44 +1441,24 @@ class mo {
1427
1441
  "X-Sc-User-Id": this.userId,
1428
1442
  "X-Sc-Session-Id": ((o = this.parent.measureClient) == null ? void 0 : o.sessionId) || Oe()
1429
1443
  },
1430
- body: JSON.stringify(n)
1444
+ body: JSON.stringify({
1445
+ query: this.formatParamsForRequest(a),
1446
+ offset: a.offset || 0,
1447
+ limit: a.limit || this.config.searchResultsPerPage || 20,
1448
+ ...a.order_by && {
1449
+ order_by: a.order_by
1450
+ },
1451
+ ...a.sort && {
1452
+ sort: a.sort
1453
+ }
1454
+ }),
1455
+ signal: (n = this.abortController) == null ? void 0 : n.signal
1431
1456
  });
1432
1457
  if (!c.ok)
1433
1458
  throw new Error(
1434
1459
  `Error: ${c.statusText} (Status: ${c.status})`
1435
1460
  );
1436
1461
  return await c.json();
1437
- }), A(this, "handleGetSearchResponseItemsWithObject", async (a) => {
1438
- var o;
1439
- try {
1440
- const n = await fetch(this.baseSearchUrl, {
1441
- method: "POST",
1442
- headers: {
1443
- Authorization: this.config.readKey,
1444
- "Content-Type": "application/json",
1445
- "X-Sc-User-Id": this.userId,
1446
- "X-Sc-Session-Id": ((o = this.parent.measureClient) == null ? void 0 : o.sessionId) || Oe()
1447
- },
1448
- body: JSON.stringify({
1449
- query: this.formatParamsForRequest(a),
1450
- offset: a.offset || 0,
1451
- limit: a.limit || this.config.searchResultsPerPage || 20,
1452
- ...a.order_by && {
1453
- order_by: a.order_by
1454
- },
1455
- ...a.sort && {
1456
- sort: a.sort
1457
- }
1458
- })
1459
- });
1460
- if (!n.ok)
1461
- throw new Error(
1462
- `Error: ${n.statusText} (Status: ${n.status})`
1463
- );
1464
- return await n.json();
1465
- } catch (n) {
1466
- throw console.error("Error parsing response:", n), n;
1467
- }
1468
1462
  }), this.parent = t, this.config = r, this.userId = s;
1469
1463
  }
1470
1464
  /**
@@ -1483,20 +1477,20 @@ class mo {
1483
1477
  let s = "should";
1484
1478
  t.facetPathsForIndexFields && Object.keys(t.facetPathsForIndexFields).forEach((n) => {
1485
1479
  var c;
1486
- const l = (c = t.facetPathsForIndexFields) == null ? void 0 : c[n];
1487
- l && (s = "must", r.push({
1480
+ const i = (c = t.facetPathsForIndexFields) == null ? void 0 : c[n];
1481
+ i && (s = "must", r.push({
1488
1482
  occur: "must",
1489
1483
  exact: {
1490
- ctx: pt(l.value)
1484
+ ctx: pt(i.value)
1491
1485
  }
1492
1486
  }));
1493
1487
  }), t.rangeValueForIndexFields && Object.keys(t.rangeValueForIndexFields).forEach((n) => {
1494
1488
  var c;
1495
- const l = (c = t.rangeValueForIndexFields) == null ? void 0 : c[n];
1496
- l && (s = "must", r.push({
1489
+ const i = (c = t.rangeValueForIndexFields) == null ? void 0 : c[n];
1490
+ i && (s = "must", r.push({
1497
1491
  occur: "must",
1498
1492
  exact: {
1499
- ctx: pt(l.value)
1493
+ ctx: pt(i.value)
1500
1494
  }
1501
1495
  }));
1502
1496
  });
@@ -1512,29 +1506,48 @@ class mo {
1512
1506
  }), r;
1513
1507
  }
1514
1508
  }
1515
- class go {
1509
+ class vo {
1516
1510
  constructor(t, r) {
1517
- if (A(this, "config"), A(this, "measureClient"), A(this, "searchClient"), A(this, "adClient"), A(this, "userId"), A(this, "requestTimeout"), A(this, "subscriptionEvents", {}), A(this, "getResponseItems", (s, a, o) => {
1511
+ if (I(this, "config"), I(this, "measureClient"), I(this, "searchClient"), I(this, "adClient"), I(this, "userId"), I(this, "requestTimeout"), I(this, "subscriptionEvents", {}), I(this, "getResponseItems", (s, a, o) => {
1518
1512
  const n = async () => {
1519
1513
  (async () => {
1520
- var c, l;
1521
- const h = await ((c = this == null ? void 0 : this.searchClient) == null ? void 0 : c.getSearchResponseItems(s));
1522
- if (!h)
1523
- throw new Error("Search client was not initialized.");
1524
- const u = (h.data.hits || []).filter((m) => !!m.doc).map((m) => ({
1514
+ var c;
1515
+ if (!this.searchClient) {
1516
+ console.error("Search client was not initialized.");
1517
+ return;
1518
+ }
1519
+ let i;
1520
+ try {
1521
+ i = await this.searchClient.getSearchResponseItems(s);
1522
+ } catch (p) {
1523
+ console.info(`Search request error: ${p}`);
1524
+ return;
1525
+ }
1526
+ if (!i) {
1527
+ console.error("Search request error: Search response was undefined");
1528
+ return;
1529
+ }
1530
+ const h = (i.data.hits || []).filter((p) => !!p.doc).map((p) => ({
1525
1531
  id: Oe(),
1526
- document: m.doc || { id: -1 },
1527
- source_index: m.source_index,
1532
+ document: p.doc || { id: -1 },
1533
+ source_index: p.source_index,
1528
1534
  type: "SearchDocument"
1529
1535
  }));
1530
- let p;
1536
+ let u;
1531
1537
  if (typeof s == "object") {
1532
- const m = structuredClone(
1538
+ const p = structuredClone(
1533
1539
  s
1534
1540
  );
1535
- m.facetPathsForIndexFields && Object.keys(m.facetPathsForIndexFields).length > 0 && m.rangeValueForIndexFields && Object.keys(m.rangeValueForIndexFields).length > 0 && (m.facetPathsForIndexFields = void 0, p = await ((l = this == null ? void 0 : this.searchClient) == null ? void 0 : l.getSearchResponseItems(m, !1)), h && console.log("Supplemental response:", p));
1541
+ if (p.facetPathsForIndexFields && Object.keys(p.facetPathsForIndexFields).length > 0) {
1542
+ p.facetPathsForIndexFields = void 0;
1543
+ try {
1544
+ u = await ((c = this == null ? void 0 : this.searchClient) == null ? void 0 : c.getSearchResponseItems(p, !1));
1545
+ } catch (m) {
1546
+ console.info(`Search request error: ${m}`);
1547
+ }
1548
+ }
1536
1549
  }
1537
- a(h, u, p);
1550
+ a(s, i, h, u);
1538
1551
  })(), (async () => {
1539
1552
  if (this.adClient && typeof s != "string") {
1540
1553
  const c = await this.adClient.getAds(s);
@@ -1553,7 +1566,7 @@ class go {
1553
1566
  this.config = {
1554
1567
  ...t,
1555
1568
  // Strips off the trailing '/' from an endpointURL if one is accidentally added
1556
- endpointURL: fo(t.endpointURL)
1569
+ endpointURL: po(t.endpointURL)
1557
1570
  }, this.userId = "", typeof window < "u" && typeof customElements < "u" && r.sdkName === "@searchcraft/javascript-sdk" && globalThis.__scDefineCustomElements__ && globalThis.__scDefineCustomElements__(), typeof window < "u" && (this.initClients(this.config, r), this.initInputForms(), this.startObservingMutations());
1558
1571
  }
1559
1572
  initInputForms() {
@@ -1582,15 +1595,15 @@ class go {
1582
1595
  initClients(t, r) {
1583
1596
  setTimeout(async () => {
1584
1597
  let s = this.config.userId;
1585
- switch (s || (s = await qn()), this.measureClient = new ho(t, r, s), this.searchClient = new mo(this, t, s), t.adSource) {
1598
+ switch (s || (s = await Yn()), this.measureClient = new fo(t, r, s), this.searchClient = new go(this, t, s), t.adSource) {
1586
1599
  case "adMarketplace":
1587
- this.adClient = new oo(t);
1600
+ this.adClient = new co(t);
1588
1601
  break;
1589
1602
  case "Nativo":
1590
- this.adClient = new lo(t);
1603
+ this.adClient = new uo(t);
1591
1604
  break;
1592
1605
  case "Custom":
1593
- this.adClient = new co(t);
1606
+ this.adClient = new io(t);
1594
1607
  break;
1595
1608
  }
1596
1609
  this.emitEvent("initialized", {
@@ -1649,20 +1662,20 @@ class go {
1649
1662
  }), (t = this.adClient) == null || t.onInputCleared();
1650
1663
  }
1651
1664
  }
1652
- var Hs = {}, cr = {};
1653
- const ls = (e) => {
1665
+ var Ns = {}, cr = {};
1666
+ const us = (e) => {
1654
1667
  let t;
1655
1668
  const r = /* @__PURE__ */ new Set(), s = (h, u) => {
1656
1669
  const p = typeof h == "function" ? h(t) : h;
1657
1670
  if (!Object.is(p, t)) {
1658
1671
  const m = t;
1659
- t = u ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), r.forEach((S) => S(t, m));
1672
+ t = u ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), r.forEach((b) => b(t, m));
1660
1673
  }
1661
- }, a = () => t, c = { setState: s, getState: a, getInitialState: () => l, subscribe: (h) => (r.add(h), () => r.delete(h)) }, l = t = e(s, a, c);
1674
+ }, a = () => t, c = { setState: s, getState: a, getInitialState: () => i, subscribe: (h) => (r.add(h), () => r.delete(h)) }, i = t = e(s, a, c);
1662
1675
  return c;
1663
- }, vo = (e) => e ? ls(e) : ls;
1664
- cr.createStore = vo;
1665
- var ir = {}, Ns = { exports: {} }, k = {};
1676
+ }, bo = (e) => e ? us(e) : us;
1677
+ cr.createStore = bo;
1678
+ var ir = {}, Us = { exports: {} }, k = {};
1666
1679
  /**
1667
1680
  * @license React
1668
1681
  * react.production.js
@@ -1672,11 +1685,11 @@ var ir = {}, Ns = { exports: {} }, k = {};
1672
1685
  * This source code is licensed under the MIT license found in the
1673
1686
  * LICENSE file in the root directory of this source tree.
1674
1687
  */
1675
- var lr = Symbol.for("react.transitional.element"), bo = Symbol.for("react.portal"), yo = Symbol.for("react.fragment"), Co = Symbol.for("react.strict_mode"), So = Symbol.for("react.profiler"), wo = Symbol.for("react.consumer"), ko = Symbol.for("react.context"), xo = Symbol.for("react.forward_ref"), Eo = Symbol.for("react.suspense"), Ro = Symbol.for("react.memo"), Us = Symbol.for("react.lazy"), us = Symbol.iterator;
1676
- function To(e) {
1677
- return e === null || typeof e != "object" ? null : (e = us && e[us] || e["@@iterator"], typeof e == "function" ? e : null);
1688
+ var lr = Symbol.for("react.transitional.element"), yo = Symbol.for("react.portal"), Co = Symbol.for("react.fragment"), So = Symbol.for("react.strict_mode"), wo = Symbol.for("react.profiler"), ko = Symbol.for("react.consumer"), xo = Symbol.for("react.context"), Eo = Symbol.for("react.forward_ref"), Ro = Symbol.for("react.suspense"), To = Symbol.for("react.memo"), zs = Symbol.for("react.lazy"), hs = Symbol.iterator;
1689
+ function Po(e) {
1690
+ return e === null || typeof e != "object" ? null : (e = hs && e[hs] || e["@@iterator"], typeof e == "function" ? e : null);
1678
1691
  }
1679
- var zs = {
1692
+ var Bs = {
1680
1693
  isMounted: function() {
1681
1694
  return !1;
1682
1695
  },
@@ -1686,9 +1699,9 @@ var zs = {
1686
1699
  },
1687
1700
  enqueueSetState: function() {
1688
1701
  }
1689
- }, Bs = Object.assign, Vs = {};
1702
+ }, Vs = Object.assign, js = {};
1690
1703
  function Fe(e, t, r) {
1691
- this.props = e, this.context = t, this.refs = Vs, this.updater = r || zs;
1704
+ this.props = e, this.context = t, this.refs = js, this.updater = r || Bs;
1692
1705
  }
1693
1706
  Fe.prototype.isReactComponent = {};
1694
1707
  Fe.prototype.setState = function(e, t) {
@@ -1701,17 +1714,17 @@ Fe.prototype.setState = function(e, t) {
1701
1714
  Fe.prototype.forceUpdate = function(e) {
1702
1715
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
1703
1716
  };
1704
- function js() {
1717
+ function Ws() {
1705
1718
  }
1706
- js.prototype = Fe.prototype;
1719
+ Ws.prototype = Fe.prototype;
1707
1720
  function ur(e, t, r) {
1708
- this.props = e, this.context = t, this.refs = Vs, this.updater = r || zs;
1721
+ this.props = e, this.context = t, this.refs = js, this.updater = r || Bs;
1709
1722
  }
1710
- var hr = ur.prototype = new js();
1723
+ var hr = ur.prototype = new Ws();
1711
1724
  hr.constructor = ur;
1712
- Bs(hr, Fe.prototype);
1725
+ Vs(hr, Fe.prototype);
1713
1726
  hr.isPureReactComponent = !0;
1714
- var hs = Array.isArray, O = { H: null, A: null, T: null, S: null }, Ws = Object.prototype.hasOwnProperty;
1727
+ var ds = Array.isArray, O = { H: null, A: null, T: null, S: null }, Gs = Object.prototype.hasOwnProperty;
1715
1728
  function dr(e, t, r, s, a, o) {
1716
1729
  return r = o.ref, {
1717
1730
  $$typeof: lr,
@@ -1721,7 +1734,7 @@ function dr(e, t, r, s, a, o) {
1721
1734
  props: o
1722
1735
  };
1723
1736
  }
1724
- function Po(e, t) {
1737
+ function $o(e, t) {
1725
1738
  return dr(
1726
1739
  e.type,
1727
1740
  t,
@@ -1734,26 +1747,26 @@ function Po(e, t) {
1734
1747
  function fr(e) {
1735
1748
  return typeof e == "object" && e !== null && e.$$typeof === lr;
1736
1749
  }
1737
- function $o(e) {
1750
+ function _o(e) {
1738
1751
  var t = { "=": "=0", ":": "=2" };
1739
1752
  return "$" + e.replace(/[=:]/g, function(r) {
1740
1753
  return t[r];
1741
1754
  });
1742
1755
  }
1743
- var ds = /\/+/g;
1756
+ var fs = /\/+/g;
1744
1757
  function Gt(e, t) {
1745
- return typeof e == "object" && e !== null && e.key != null ? $o("" + e.key) : t.toString(36);
1758
+ return typeof e == "object" && e !== null && e.key != null ? _o("" + e.key) : t.toString(36);
1746
1759
  }
1747
- function fs() {
1760
+ function ps() {
1748
1761
  }
1749
- function _o(e) {
1762
+ function Io(e) {
1750
1763
  switch (e.status) {
1751
1764
  case "fulfilled":
1752
1765
  return e.value;
1753
1766
  case "rejected":
1754
1767
  throw e.reason;
1755
1768
  default:
1756
- switch (typeof e.status == "string" ? e.then(fs, fs) : (e.status = "pending", e.then(
1769
+ switch (typeof e.status == "string" ? e.then(ps, ps) : (e.status = "pending", e.then(
1757
1770
  function(t) {
1758
1771
  e.status === "pending" && (e.status = "fulfilled", e.value = t);
1759
1772
  },
@@ -1784,10 +1797,10 @@ function Ae(e, t, r, s, a) {
1784
1797
  case "object":
1785
1798
  switch (e.$$typeof) {
1786
1799
  case lr:
1787
- case bo:
1800
+ case yo:
1788
1801
  n = !0;
1789
1802
  break;
1790
- case Us:
1803
+ case zs:
1791
1804
  return n = e._init, Ae(
1792
1805
  n(e._payload),
1793
1806
  t,
@@ -1798,29 +1811,29 @@ function Ae(e, t, r, s, a) {
1798
1811
  }
1799
1812
  }
1800
1813
  if (n)
1801
- return a = a(e), n = s === "" ? "." + Gt(e, 0) : s, hs(a) ? (r = "", n != null && (r = n.replace(ds, "$&/") + "/"), Ae(a, t, r, "", function(h) {
1814
+ return a = a(e), n = s === "" ? "." + Gt(e, 0) : s, ds(a) ? (r = "", n != null && (r = n.replace(fs, "$&/") + "/"), Ae(a, t, r, "", function(h) {
1802
1815
  return h;
1803
- })) : a != null && (fr(a) && (a = Po(
1816
+ })) : a != null && (fr(a) && (a = $o(
1804
1817
  a,
1805
1818
  r + (a.key == null || e && e.key === a.key ? "" : ("" + a.key).replace(
1806
- ds,
1819
+ fs,
1807
1820
  "$&/"
1808
1821
  ) + "/") + n
1809
1822
  )), t.push(a)), 1;
1810
1823
  n = 0;
1811
1824
  var c = s === "" ? "." : s + ":";
1812
- if (hs(e))
1813
- for (var l = 0; l < e.length; l++)
1814
- s = e[l], o = c + Gt(s, l), n += Ae(
1825
+ if (ds(e))
1826
+ for (var i = 0; i < e.length; i++)
1827
+ s = e[i], o = c + Gt(s, i), n += Ae(
1815
1828
  s,
1816
1829
  t,
1817
1830
  r,
1818
1831
  o,
1819
1832
  a
1820
1833
  );
1821
- else if (l = To(e), typeof l == "function")
1822
- for (e = l.call(e), l = 0; !(s = e.next()).done; )
1823
- s = s.value, o = c + Gt(s, l++), n += Ae(
1834
+ else if (i = Po(e), typeof i == "function")
1835
+ for (e = i.call(e), i = 0; !(s = e.next()).done; )
1836
+ s = s.value, o = c + Gt(s, i++), n += Ae(
1824
1837
  s,
1825
1838
  t,
1826
1839
  r,
@@ -1830,7 +1843,7 @@ function Ae(e, t, r, s, a) {
1830
1843
  else if (o === "object") {
1831
1844
  if (typeof e.then == "function")
1832
1845
  return Ae(
1833
- _o(e),
1846
+ Io(e),
1834
1847
  t,
1835
1848
  r,
1836
1849
  s,
@@ -1849,7 +1862,7 @@ function mt(e, t, r) {
1849
1862
  return t.call(r, o, a++);
1850
1863
  }), s;
1851
1864
  }
1852
- function Io(e) {
1865
+ function Ao(e) {
1853
1866
  if (e._status === -1) {
1854
1867
  var t = e._result;
1855
1868
  t = t(), t.then(
@@ -1864,7 +1877,7 @@ function Io(e) {
1864
1877
  if (e._status === 1) return e._result.default;
1865
1878
  throw e._result;
1866
1879
  }
1867
- var ps = typeof reportError == "function" ? reportError : function(e) {
1880
+ var ms = typeof reportError == "function" ? reportError : function(e) {
1868
1881
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
1869
1882
  var t = new window.ErrorEvent("error", {
1870
1883
  bubbles: !0,
@@ -1879,7 +1892,7 @@ var ps = typeof reportError == "function" ? reportError : function(e) {
1879
1892
  }
1880
1893
  console.error(e);
1881
1894
  };
1882
- function Ao() {
1895
+ function Mo() {
1883
1896
  }
1884
1897
  k.Children = {
1885
1898
  map: mt,
@@ -1912,11 +1925,11 @@ k.Children = {
1912
1925
  }
1913
1926
  };
1914
1927
  k.Component = Fe;
1915
- k.Fragment = yo;
1916
- k.Profiler = So;
1928
+ k.Fragment = Co;
1929
+ k.Profiler = wo;
1917
1930
  k.PureComponent = ur;
1918
- k.StrictMode = Co;
1919
- k.Suspense = Eo;
1931
+ k.StrictMode = So;
1932
+ k.Suspense = Ro;
1920
1933
  k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = O;
1921
1934
  k.act = function() {
1922
1935
  throw Error("act(...) is not supported in production builds of React.");
@@ -1931,29 +1944,29 @@ k.cloneElement = function(e, t, r) {
1931
1944
  throw Error(
1932
1945
  "The argument must be a React element, but you passed " + e + "."
1933
1946
  );
1934
- var s = Bs({}, e.props), a = e.key, o = void 0;
1947
+ var s = Vs({}, e.props), a = e.key, o = void 0;
1935
1948
  if (t != null)
1936
1949
  for (n in t.ref !== void 0 && (o = void 0), t.key !== void 0 && (a = "" + t.key), t)
1937
- !Ws.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
1950
+ !Gs.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
1938
1951
  var n = arguments.length - 2;
1939
1952
  if (n === 1) s.children = r;
1940
1953
  else if (1 < n) {
1941
- for (var c = Array(n), l = 0; l < n; l++)
1942
- c[l] = arguments[l + 2];
1954
+ for (var c = Array(n), i = 0; i < n; i++)
1955
+ c[i] = arguments[i + 2];
1943
1956
  s.children = c;
1944
1957
  }
1945
1958
  return dr(e.type, a, void 0, void 0, o, s);
1946
1959
  };
1947
1960
  k.createContext = function(e) {
1948
1961
  return e = {
1949
- $$typeof: ko,
1962
+ $$typeof: xo,
1950
1963
  _currentValue: e,
1951
1964
  _currentValue2: e,
1952
1965
  _threadCount: 0,
1953
1966
  Provider: null,
1954
1967
  Consumer: null
1955
1968
  }, e.Provider = e, e.Consumer = {
1956
- $$typeof: wo,
1969
+ $$typeof: ko,
1957
1970
  _context: e
1958
1971
  }, e;
1959
1972
  };
@@ -1961,12 +1974,12 @@ k.createElement = function(e, t, r) {
1961
1974
  var s, a = {}, o = null;
1962
1975
  if (t != null)
1963
1976
  for (s in t.key !== void 0 && (o = "" + t.key), t)
1964
- Ws.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
1977
+ Gs.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
1965
1978
  var n = arguments.length - 2;
1966
1979
  if (n === 1) a.children = r;
1967
1980
  else if (1 < n) {
1968
- for (var c = Array(n), l = 0; l < n; l++)
1969
- c[l] = arguments[l + 2];
1981
+ for (var c = Array(n), i = 0; i < n; i++)
1982
+ c[i] = arguments[i + 2];
1970
1983
  a.children = c;
1971
1984
  }
1972
1985
  if (e && e.defaultProps)
@@ -1978,19 +1991,19 @@ k.createRef = function() {
1978
1991
  return { current: null };
1979
1992
  };
1980
1993
  k.forwardRef = function(e) {
1981
- return { $$typeof: xo, render: e };
1994
+ return { $$typeof: Eo, render: e };
1982
1995
  };
1983
1996
  k.isValidElement = fr;
1984
1997
  k.lazy = function(e) {
1985
1998
  return {
1986
- $$typeof: Us,
1999
+ $$typeof: zs,
1987
2000
  _payload: { _status: -1, _result: e },
1988
- _init: Io
2001
+ _init: Ao
1989
2002
  };
1990
2003
  };
1991
2004
  k.memo = function(e, t) {
1992
2005
  return {
1993
- $$typeof: Ro,
2006
+ $$typeof: To,
1994
2007
  type: e,
1995
2008
  compare: t === void 0 ? null : t
1996
2009
  };
@@ -2000,9 +2013,9 @@ k.startTransition = function(e) {
2000
2013
  O.T = r;
2001
2014
  try {
2002
2015
  var s = e(), a = O.S;
2003
- a !== null && a(r, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(Ao, ps);
2016
+ a !== null && a(r, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(Mo, ms);
2004
2017
  } catch (o) {
2005
- ps(o);
2018
+ ms(o);
2006
2019
  } finally {
2007
2020
  O.T = t;
2008
2021
  }
@@ -2068,23 +2081,23 @@ k.useTransition = function() {
2068
2081
  return O.H.useTransition();
2069
2082
  };
2070
2083
  k.version = "19.0.0";
2071
- Ns.exports = k;
2072
- var ms = Ns.exports, Mo = cr;
2073
- const Oo = (e) => e;
2074
- function Gs(e, t = Oo) {
2075
- const r = ms.useSyncExternalStore(
2084
+ Us.exports = k;
2085
+ var gs = Us.exports, Oo = cr;
2086
+ const Lo = (e) => e;
2087
+ function qs(e, t = Lo) {
2088
+ const r = gs.useSyncExternalStore(
2076
2089
  e.subscribe,
2077
2090
  () => t(e.getState()),
2078
2091
  () => t(e.getInitialState())
2079
2092
  );
2080
- return ms.useDebugValue(r), r;
2093
+ return gs.useDebugValue(r), r;
2081
2094
  }
2082
- const gs = (e) => {
2083
- const t = Mo.createStore(e), r = (s) => Gs(t, s);
2095
+ const vs = (e) => {
2096
+ const t = Oo.createStore(e), r = (s) => qs(t, s);
2084
2097
  return Object.assign(r, t), r;
2085
- }, Lo = (e) => e ? gs(e) : gs;
2086
- ir.create = Lo;
2087
- ir.useStore = Gs;
2098
+ }, Fo = (e) => e ? vs(e) : vs;
2099
+ ir.create = Fo;
2100
+ ir.useStore = qs;
2088
2101
  (function(e) {
2089
2102
  var t = cr, r = ir;
2090
2103
  Object.keys(t).forEach(function(s) {
@@ -2102,8 +2115,8 @@ ir.useStore = Gs;
2102
2115
  }
2103
2116
  });
2104
2117
  });
2105
- })(Hs);
2106
- const vs = {
2118
+ })(Ns);
2119
+ const bs = {
2107
2120
  adClientResponseItems: [],
2108
2121
  core: void 0,
2109
2122
  hotkey: "k",
@@ -2117,6 +2130,7 @@ const vs = {
2117
2130
  rangeValueForIndexFields: {},
2118
2131
  searchTerm: "",
2119
2132
  searchMode: "fuzzy",
2133
+ searchClientRequest: void 0,
2120
2134
  searchClientResponseItems: [],
2121
2135
  searchResponseTimeTaken: void 0,
2122
2136
  searchResponseFacetPrime: void 0,
@@ -2129,7 +2143,7 @@ const vs = {
2129
2143
  // Callbacks
2130
2144
  afterInit: () => {
2131
2145
  }
2132
- }, $ = Hs.createStore((e, t) => {
2146
+ }, $ = Ns.createStore((e, t) => {
2133
2147
  const r = {
2134
2148
  set: (a) => (e(a), t()),
2135
2149
  addFacetPathsForIndexField: (a) => r.set((o) => ({
@@ -2149,7 +2163,7 @@ const vs = {
2149
2163
  return a;
2150
2164
  },
2151
2165
  init: (a, o = !1) => {
2152
- const n = o ? new zn({ logLevel: he.DEBUG }) : void 0, c = r.set({
2166
+ const n = o ? new Bn({ logLevel: he.DEBUG }) : void 0, c = r.set({
2153
2167
  core: a,
2154
2168
  logger: n,
2155
2169
  searchResultsPerPage: (a == null ? void 0 : a.config.searchResultsPerPage) || 20
@@ -2205,35 +2219,37 @@ const vs = {
2205
2219
  }, r.setSearchClientResponseItemsFromResponse, r.setAdClientResponseItems);
2206
2220
  },
2207
2221
  setAdClientResponseItems: (a) => r.set({ adClientResponseItems: a }),
2208
- setSearchClientResponseItemsFromResponse: (a, o, n) => {
2209
- var p, m;
2210
- const { facets: c, count: l = 0, time_taken: h = 0 } = a.data, u = r.set((S) => ({
2222
+ setSearchClientResponseItemsFromResponse: (a, o, n, c) => {
2223
+ var m, b;
2224
+ const { facets: i, count: h = 0, time_taken: u = 0 } = o.data, p = r.set((v) => ({
2211
2225
  isSearchInProgress: !1,
2212
- searchClientResponseItems: o,
2213
- searchResponseTimeTaken: h,
2226
+ searchClientResponseItems: n,
2227
+ searchResponseTimeTaken: u,
2214
2228
  searchResultsPage: (
2215
2229
  // Reset to first page when response count changes
2216
- l === S.searchResultsCount ? S.searchResultsPage : 1
2230
+ h === v.searchResultsCount ? v.searchResultsPage : 1
2217
2231
  ),
2218
- searchResultsCount: l,
2219
- searchResponseFacetPrime: c,
2220
- supplementalFacetPrime: n == null ? void 0 : n.data.facets
2232
+ searchResultsCount: h,
2233
+ searchResponseFacetPrime: i,
2234
+ supplementalFacetPrime: c == null ? void 0 : c.data.facets,
2235
+ searchClientRequest: a
2221
2236
  }));
2222
- (p = u.logger) == null || p.log(he.DEBUG, `Search results: ${JSON.stringify(o)}`), (m = u.logger) == null || m.log(he.DEBUG, `Facets from response: ${JSON.stringify(c)}`);
2237
+ (m = p.logger) == null || m.log(he.DEBUG, `Search results: ${JSON.stringify(n)}`), (b = p.logger) == null || b.log(he.DEBUG, `Facets from response: ${JSON.stringify(i)}`);
2223
2238
  },
2224
- setInitialSearchClientResponseItemsFromResponse: (a, o) => {
2225
- var h;
2226
- const n = t(), { count: c = 0, time_taken: l = 0 } = a.data;
2227
- r.set((u) => ({
2239
+ setInitialSearchClientResponseItemsFromResponse: (a, o, n) => {
2240
+ var u;
2241
+ const c = t(), { count: i = 0, time_taken: h = 0 } = o.data;
2242
+ r.set((p) => ({
2228
2243
  isSearchInProgress: !1,
2229
- initialSearchClientResponseItems: o,
2230
- searchResponseTimeTaken: l,
2244
+ initialSearchClientResponseItems: n,
2245
+ searchResponseTimeTaken: h,
2231
2246
  searchResultsPage: (
2232
2247
  // Reset to first page when response count changes
2233
- c === u.searchResultsCount ? u.searchResultsPage : 1
2248
+ i === p.searchResultsCount ? p.searchResultsPage : 1
2234
2249
  ),
2235
- searchResultsCount: c
2236
- })), (h = n.logger) == null || h.log(he.DEBUG, `Search results: ${JSON.stringify(o)}`);
2250
+ searchResultsCount: i,
2251
+ searchClientRequest: a
2252
+ })), (u = c.logger) == null || u.log(he.DEBUG, `Search results: ${JSON.stringify(n)}`);
2237
2253
  },
2238
2254
  setInitialQuery: async (a) => {
2239
2255
  var n;
@@ -2250,13 +2266,7 @@ const vs = {
2250
2266
  setSearchTerm: (a) => {
2251
2267
  const { core: o } = t();
2252
2268
  a.length === 0 && (o == null || o.handleInputCleared()), r.set({
2253
- searchTerm: a,
2254
- facetPathsForIndexFields: {},
2255
- ...a.trim().length === 0 && {
2256
- searchMode: "fuzzy",
2257
- sortType: null,
2258
- orderByField: null
2259
- }
2269
+ searchTerm: a
2260
2270
  });
2261
2271
  },
2262
2272
  setSearchClientResponseItems: (a) => r.set({ searchClientResponseItems: a }),
@@ -2268,7 +2278,7 @@ const vs = {
2268
2278
  r.set({ searchResultsPerPage: a }), await r.search();
2269
2279
  },
2270
2280
  setHotKeyAndHotKeyModifier: (a, o) => {
2271
- const { hotkey: n, hotkeyModifier: c } = vs;
2281
+ const { hotkey: n, hotkeyModifier: c } = bs;
2272
2282
  r.set({
2273
2283
  hotkey: a || n,
2274
2284
  hotkeyModifier: o || c
@@ -2276,11 +2286,11 @@ const vs = {
2276
2286
  }
2277
2287
  };
2278
2288
  return {
2279
- ...vs,
2289
+ ...bs,
2280
2290
  ...r
2281
2291
  };
2282
2292
  });
2283
- var qs = { exports: {} };
2293
+ var Ys = { exports: {} };
2284
2294
  /*!
2285
2295
  Copyright (c) 2018 Jed Watson.
2286
2296
  Licensed under the MIT License (MIT), see
@@ -2315,14 +2325,14 @@ var qs = { exports: {} };
2315
2325
  }
2316
2326
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
2317
2327
  })();
2318
- })(qs);
2319
- const ee = qs.exports;
2320
- var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ys = { exports: {} };
2328
+ })(Ys);
2329
+ const ee = Ys.exports;
2330
+ var Do = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Zs = { exports: {} };
2321
2331
  /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
2322
2332
  (function(e, t) {
2323
2333
  (function(r, s) {
2324
2334
  e.exports = s();
2325
- })(Fo, function() {
2335
+ })(Do, function() {
2326
2336
  const {
2327
2337
  entries: r,
2328
2338
  setPrototypeOf: s,
@@ -2332,64 +2342,64 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2332
2342
  } = Object;
2333
2343
  let {
2334
2344
  freeze: c,
2335
- seal: l,
2345
+ seal: i,
2336
2346
  create: h
2337
2347
  } = Object, {
2338
2348
  apply: u,
2339
2349
  construct: p
2340
2350
  } = typeof Reflect < "u" && Reflect;
2341
- c || (c = function(y) {
2342
- return y;
2343
- }), l || (l = function(y) {
2344
- return y;
2345
- }), u || (u = function(y, T, R) {
2346
- return y.apply(T, R);
2347
- }), p || (p = function(y, T) {
2348
- return new y(...T);
2351
+ c || (c = function(C) {
2352
+ return C;
2353
+ }), i || (i = function(C) {
2354
+ return C;
2355
+ }), u || (u = function(C, T, R) {
2356
+ return C.apply(T, R);
2357
+ }), p || (p = function(C, T) {
2358
+ return new C(...T);
2349
2359
  });
2350
- const m = q(Array.prototype.forEach), S = q(Array.prototype.lastIndexOf), b = q(Array.prototype.pop), P = q(Array.prototype.push), _ = q(Array.prototype.splice), H = q(String.prototype.toLowerCase), I = q(String.prototype.toString), De = q(String.prototype.match), He = q(String.prototype.replace), ca = q(String.prototype.indexOf), ia = q(String.prototype.trim), ae = q(Object.prototype.hasOwnProperty), G = q(RegExp.prototype.test), Ne = la(TypeError);
2360
+ const m = q(Array.prototype.forEach), b = q(Array.prototype.lastIndexOf), v = q(Array.prototype.pop), P = q(Array.prototype.push), _ = q(Array.prototype.splice), H = q(String.prototype.toLowerCase), A = q(String.prototype.toString), De = q(String.prototype.match), He = q(String.prototype.replace), ia = q(String.prototype.indexOf), la = q(String.prototype.trim), ae = q(Object.prototype.hasOwnProperty), G = q(RegExp.prototype.test), Ne = ua(TypeError);
2351
2361
  function q(E) {
2352
- return function(y) {
2362
+ return function(C) {
2353
2363
  for (var T = arguments.length, R = new Array(T > 1 ? T - 1 : 0), V = 1; V < T; V++)
2354
2364
  R[V - 1] = arguments[V];
2355
- return u(E, y, R);
2365
+ return u(E, C, R);
2356
2366
  };
2357
2367
  }
2358
- function la(E) {
2368
+ function ua(E) {
2359
2369
  return function() {
2360
- for (var y = arguments.length, T = new Array(y), R = 0; R < y; R++)
2370
+ for (var C = arguments.length, T = new Array(C), R = 0; R < C; R++)
2361
2371
  T[R] = arguments[R];
2362
2372
  return p(E, T);
2363
2373
  };
2364
2374
  }
2365
- function x(E, y) {
2375
+ function x(E, C) {
2366
2376
  let T = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : H;
2367
2377
  s && s(E, null);
2368
- let R = y.length;
2378
+ let R = C.length;
2369
2379
  for (; R--; ) {
2370
- let V = y[R];
2380
+ let V = C[R];
2371
2381
  if (typeof V == "string") {
2372
2382
  const ie = T(V);
2373
- ie !== V && (a(y) || (y[R] = ie), V = ie);
2383
+ ie !== V && (a(C) || (C[R] = ie), V = ie);
2374
2384
  }
2375
2385
  E[V] = !0;
2376
2386
  }
2377
2387
  return E;
2378
2388
  }
2379
- function ua(E) {
2380
- for (let y = 0; y < E.length; y++)
2381
- ae(E, y) || (E[y] = null);
2389
+ function ha(E) {
2390
+ for (let C = 0; C < E.length; C++)
2391
+ ae(E, C) || (E[C] = null);
2382
2392
  return E;
2383
2393
  }
2384
2394
  function Se(E) {
2385
- const y = h(null);
2395
+ const C = h(null);
2386
2396
  for (const [T, R] of r(E))
2387
- ae(E, T) && (Array.isArray(R) ? y[T] = ua(R) : R && typeof R == "object" && R.constructor === Object ? y[T] = Se(R) : y[T] = R);
2388
- return y;
2397
+ ae(E, T) && (Array.isArray(R) ? C[T] = ha(R) : R && typeof R == "object" && R.constructor === Object ? C[T] = Se(R) : C[T] = R);
2398
+ return C;
2389
2399
  }
2390
- function Ue(E, y) {
2400
+ function Ue(E, C) {
2391
2401
  for (; E !== null; ) {
2392
- const R = n(E, y);
2402
+ const R = n(E, C);
2393
2403
  if (R) {
2394
2404
  if (R.get)
2395
2405
  return q(R.get);
@@ -2403,25 +2413,25 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2403
2413
  }
2404
2414
  return T;
2405
2415
  }
2406
- const gr = c(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Et = c(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Rt = c(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ha = c(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Tt = c(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), da = c(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), vr = c(["#text"]), br = c(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Pt = c(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), yr = c(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tt = c(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), fa = l(/\{\{[\w\W]*|[\w\W]*\}\}/gm), pa = l(/<%[\w\W]*|[\w\W]*%>/gm), ma = l(/\$\{[\w\W]*/gm), ga = l(/^data-[\-\w.\u00B7-\uFFFF]+$/), va = l(/^aria-[\-\w]+$/), Cr = l(
2416
+ const vr = c(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Et = c(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Rt = c(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), da = c(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Tt = c(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), fa = c(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), br = c(["#text"]), yr = c(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Pt = c(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Cr = c(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tt = c(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), pa = i(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ma = i(/<%[\w\W]*|[\w\W]*%>/gm), ga = i(/\$\{[\w\W]*/gm), va = i(/^data-[\-\w.\u00B7-\uFFFF]+$/), ba = i(/^aria-[\-\w]+$/), Sr = i(
2407
2417
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2408
2418
  // eslint-disable-line no-useless-escape
2409
- ), ba = l(/^(?:\w+script|data):/i), ya = l(
2419
+ ), ya = i(/^(?:\w+script|data):/i), Ca = i(
2410
2420
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2411
2421
  // eslint-disable-line no-control-regex
2412
- ), Sr = l(/^html$/i), Ca = l(/^[a-z][.\w]*(-[.\w]+)+$/i);
2413
- var wr = /* @__PURE__ */ Object.freeze({
2422
+ ), wr = i(/^html$/i), Sa = i(/^[a-z][.\w]*(-[.\w]+)+$/i);
2423
+ var kr = /* @__PURE__ */ Object.freeze({
2414
2424
  __proto__: null,
2415
- ARIA_ATTR: va,
2416
- ATTR_WHITESPACE: ya,
2417
- CUSTOM_ELEMENT: Ca,
2418
- DATA_ATTR: ga,
2419
- DOCTYPE_NAME: Sr,
2420
- ERB_EXPR: pa,
2421
- IS_ALLOWED_URI: Cr,
2422
- IS_SCRIPT_OR_DATA: ba,
2423
- MUSTACHE_EXPR: fa,
2424
- TMPLIT_EXPR: ma
2425
+ ARIA_ATTR: ba,
2426
+ ATTR_WHITESPACE: Ca,
2427
+ CUSTOM_ELEMENT: Sa,
2428
+ DATA_ATTR: va,
2429
+ DOCTYPE_NAME: wr,
2430
+ ERB_EXPR: ma,
2431
+ IS_ALLOWED_URI: Sr,
2432
+ IS_SCRIPT_OR_DATA: ya,
2433
+ MUSTACHE_EXPR: pa,
2434
+ TMPLIT_EXPR: ga
2425
2435
  });
2426
2436
  const ze = {
2427
2437
  element: 1,
@@ -2430,17 +2440,17 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2430
2440
  progressingInstruction: 7,
2431
2441
  comment: 8,
2432
2442
  document: 9
2433
- }, Sa = function() {
2443
+ }, wa = function() {
2434
2444
  return typeof window > "u" ? null : window;
2435
- }, wa = function(y, T) {
2436
- if (typeof y != "object" || typeof y.createPolicy != "function")
2445
+ }, ka = function(C, T) {
2446
+ if (typeof C != "object" || typeof C.createPolicy != "function")
2437
2447
  return null;
2438
2448
  let R = null;
2439
2449
  const V = "data-tt-policy-suffix";
2440
2450
  T && T.hasAttribute(V) && (R = T.getAttribute(V));
2441
2451
  const ie = "dompurify" + (R ? "#" + R : "");
2442
2452
  try {
2443
- return y.createPolicy(ie, {
2453
+ return C.createPolicy(ie, {
2444
2454
  createHTML(xe) {
2445
2455
  return xe;
2446
2456
  },
@@ -2451,7 +2461,7 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2451
2461
  } catch {
2452
2462
  return console.warn("TrustedTypes policy " + ie + " could not be created."), null;
2453
2463
  }
2454
- }, kr = function() {
2464
+ }, xr = function() {
2455
2465
  return {
2456
2466
  afterSanitizeAttributes: [],
2457
2467
  afterSanitizeElements: [],
@@ -2464,11 +2474,11 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2464
2474
  uponSanitizeShadowNode: []
2465
2475
  };
2466
2476
  };
2467
- function xr() {
2468
- let E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Sa();
2469
- const y = (C) => xr(C);
2470
- if (y.version = "3.2.4", y.removed = [], !E || !E.document || E.document.nodeType !== ze.document || !E.Element)
2471
- return y.isSupported = !1, y;
2477
+ function Er() {
2478
+ let E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : wa();
2479
+ const C = (S) => Er(S);
2480
+ if (C.version = "3.2.4", C.removed = [], !E || !E.document || E.document.nodeType !== ze.document || !E.Element)
2481
+ return C.isSupported = !1, C;
2472
2482
  let {
2473
2483
  document: T
2474
2484
  } = E;
@@ -2476,44 +2486,44 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2476
2486
  DocumentFragment: ie,
2477
2487
  HTMLTemplateElement: xe,
2478
2488
  Node: $t,
2479
- Element: Er,
2489
+ Element: Rr,
2480
2490
  NodeFilter: Be,
2481
- NamedNodeMap: xa = E.NamedNodeMap || E.MozNamedAttrMap,
2482
- HTMLFormElement: Ea,
2483
- DOMParser: Ra,
2491
+ NamedNodeMap: Ea = E.NamedNodeMap || E.MozNamedAttrMap,
2492
+ HTMLFormElement: Ra,
2493
+ DOMParser: Ta,
2484
2494
  trustedTypes: rt
2485
- } = E, Ve = Er.prototype, Ta = Ue(Ve, "cloneNode"), Pa = Ue(Ve, "remove"), $a = Ue(Ve, "nextSibling"), _a = Ue(Ve, "childNodes"), st = Ue(Ve, "parentNode");
2495
+ } = E, Ve = Rr.prototype, Pa = Ue(Ve, "cloneNode"), $a = Ue(Ve, "remove"), _a = Ue(Ve, "nextSibling"), Ia = Ue(Ve, "childNodes"), st = Ue(Ve, "parentNode");
2486
2496
  if (typeof xe == "function") {
2487
- const C = T.createElement("template");
2488
- C.content && C.content.ownerDocument && (T = C.content.ownerDocument);
2497
+ const S = T.createElement("template");
2498
+ S.content && S.content.ownerDocument && (T = S.content.ownerDocument);
2489
2499
  }
2490
2500
  let Y, je = "";
2491
2501
  const {
2492
2502
  implementation: _t,
2493
- createNodeIterator: Ia,
2494
- createDocumentFragment: Aa,
2495
- getElementsByTagName: Ma
2503
+ createNodeIterator: Aa,
2504
+ createDocumentFragment: Ma,
2505
+ getElementsByTagName: Oa
2496
2506
  } = T, {
2497
- importNode: Oa
2507
+ importNode: La
2498
2508
  } = R;
2499
- let Z = kr();
2500
- y.isSupported = typeof r == "function" && typeof st == "function" && _t && _t.createHTMLDocument !== void 0;
2509
+ let Z = xr();
2510
+ C.isSupported = typeof r == "function" && typeof st == "function" && _t && _t.createHTMLDocument !== void 0;
2501
2511
  const {
2502
2512
  MUSTACHE_EXPR: It,
2503
2513
  ERB_EXPR: At,
2504
2514
  TMPLIT_EXPR: Mt,
2505
- DATA_ATTR: La,
2506
- ARIA_ATTR: Fa,
2507
- IS_SCRIPT_OR_DATA: Da,
2508
- ATTR_WHITESPACE: Rr,
2509
- CUSTOM_ELEMENT: Ha
2510
- } = wr;
2515
+ DATA_ATTR: Fa,
2516
+ ARIA_ATTR: Da,
2517
+ IS_SCRIPT_OR_DATA: Ha,
2518
+ ATTR_WHITESPACE: Tr,
2519
+ CUSTOM_ELEMENT: Na
2520
+ } = kr;
2511
2521
  let {
2512
- IS_ALLOWED_URI: Tr
2513
- } = wr, N = null;
2514
- const Pr = x({}, [...gr, ...Et, ...Rt, ...Tt, ...vr]);
2522
+ IS_ALLOWED_URI: Pr
2523
+ } = kr, N = null;
2524
+ const $r = x({}, [...vr, ...Et, ...Rt, ...Tt, ...br]);
2515
2525
  let z = null;
2516
- const $r = x({}, [...br, ...Pt, ...yr, ...tt]);
2526
+ const _r = x({}, [...yr, ...Pt, ...Cr, ...tt]);
2517
2527
  let L = Object.seal(h(null, {
2518
2528
  tagNameCheck: {
2519
2529
  writable: !0,
@@ -2533,62 +2543,62 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2533
2543
  enumerable: !0,
2534
2544
  value: !1
2535
2545
  }
2536
- })), We = null, Ot = null, _r = !0, Lt = !0, Ir = !1, Ar = !0, Ee = !1, Ft = !0, we = !1, Dt = !1, Ht = !1, Re = !1, at = !1, nt = !1, Mr = !0, Or = !1;
2537
- const Na = "user-content-";
2546
+ })), We = null, Ot = null, Ir = !0, Lt = !0, Ar = !1, Mr = !0, Ee = !1, Ft = !0, we = !1, Dt = !1, Ht = !1, Re = !1, at = !1, nt = !1, Or = !0, Lr = !1;
2547
+ const Ua = "user-content-";
2538
2548
  let Nt = !0, Ge = !1, Te = {}, Pe = null;
2539
- const Lr = x({}, ["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"]);
2540
- let Fr = null;
2541
- const Dr = x({}, ["audio", "video", "img", "source", "image", "track"]);
2549
+ const Fr = x({}, ["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"]);
2550
+ let Dr = null;
2551
+ const Hr = x({}, ["audio", "video", "img", "source", "image", "track"]);
2542
2552
  let Ut = null;
2543
- const Hr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ot = "http://www.w3.org/1998/Math/MathML", ct = "http://www.w3.org/2000/svg", le = "http://www.w3.org/1999/xhtml";
2553
+ const Nr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ot = "http://www.w3.org/1998/Math/MathML", ct = "http://www.w3.org/2000/svg", le = "http://www.w3.org/1999/xhtml";
2544
2554
  let $e = le, zt = !1, Bt = null;
2545
- const Ua = x({}, [ot, ct, le], I);
2555
+ const za = x({}, [ot, ct, le], A);
2546
2556
  let it = x({}, ["mi", "mo", "mn", "ms", "mtext"]), lt = x({}, ["annotation-xml"]);
2547
- const za = x({}, ["title", "style", "font", "a", "script"]);
2557
+ const Ba = x({}, ["title", "style", "font", "a", "script"]);
2548
2558
  let qe = null;
2549
- const Ba = ["application/xhtml+xml", "text/html"], Va = "text/html";
2559
+ const Va = ["application/xhtml+xml", "text/html"], ja = "text/html";
2550
2560
  let U = null, _e = null;
2551
- const ja = T.createElement("form"), Nr = function(d) {
2561
+ const Wa = T.createElement("form"), Ur = function(d) {
2552
2562
  return d instanceof RegExp || d instanceof Function;
2553
2563
  }, Vt = function() {
2554
2564
  let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2555
2565
  if (!(_e && _e === d)) {
2556
2566
  if ((!d || typeof d != "object") && (d = {}), d = Se(d), qe = // eslint-disable-next-line unicorn/prefer-includes
2557
- Ba.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Va : d.PARSER_MEDIA_TYPE, U = qe === "application/xhtml+xml" ? I : H, N = ae(d, "ALLOWED_TAGS") ? x({}, d.ALLOWED_TAGS, U) : Pr, z = ae(d, "ALLOWED_ATTR") ? x({}, d.ALLOWED_ATTR, U) : $r, Bt = ae(d, "ALLOWED_NAMESPACES") ? x({}, d.ALLOWED_NAMESPACES, I) : Ua, Ut = ae(d, "ADD_URI_SAFE_ATTR") ? x(Se(Hr), d.ADD_URI_SAFE_ATTR, U) : Hr, Fr = ae(d, "ADD_DATA_URI_TAGS") ? x(Se(Dr), d.ADD_DATA_URI_TAGS, U) : Dr, Pe = ae(d, "FORBID_CONTENTS") ? x({}, d.FORBID_CONTENTS, U) : Lr, We = ae(d, "FORBID_TAGS") ? x({}, d.FORBID_TAGS, U) : {}, Ot = ae(d, "FORBID_ATTR") ? x({}, d.FORBID_ATTR, U) : {}, Te = ae(d, "USE_PROFILES") ? d.USE_PROFILES : !1, _r = d.ALLOW_ARIA_ATTR !== !1, Lt = d.ALLOW_DATA_ATTR !== !1, Ir = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Ar = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = d.SAFE_FOR_TEMPLATES || !1, Ft = d.SAFE_FOR_XML !== !1, we = d.WHOLE_DOCUMENT || !1, Re = d.RETURN_DOM || !1, at = d.RETURN_DOM_FRAGMENT || !1, nt = d.RETURN_TRUSTED_TYPE || !1, Ht = d.FORCE_BODY || !1, Mr = d.SANITIZE_DOM !== !1, Or = d.SANITIZE_NAMED_PROPS || !1, Nt = d.KEEP_CONTENT !== !1, Ge = d.IN_PLACE || !1, Tr = d.ALLOWED_URI_REGEXP || Cr, $e = d.NAMESPACE || le, it = d.MATHML_TEXT_INTEGRATION_POINTS || it, lt = d.HTML_INTEGRATION_POINTS || lt, L = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Nr(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Nr(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (Lt = !1), at && (Re = !0), Te && (N = x({}, vr), z = [], Te.html === !0 && (x(N, gr), x(z, br)), Te.svg === !0 && (x(N, Et), x(z, Pt), x(z, tt)), Te.svgFilters === !0 && (x(N, Rt), x(z, Pt), x(z, tt)), Te.mathMl === !0 && (x(N, Tt), x(z, yr), x(z, tt))), d.ADD_TAGS && (N === Pr && (N = Se(N)), x(N, d.ADD_TAGS, U)), d.ADD_ATTR && (z === $r && (z = Se(z)), x(z, d.ADD_ATTR, U)), d.ADD_URI_SAFE_ATTR && x(Ut, d.ADD_URI_SAFE_ATTR, U), d.FORBID_CONTENTS && (Pe === Lr && (Pe = Se(Pe)), x(Pe, d.FORBID_CONTENTS, U)), Nt && (N["#text"] = !0), we && x(N, ["html", "head", "body"]), N.table && (x(N, ["tbody"]), delete We.tbody), d.TRUSTED_TYPES_POLICY) {
2567
+ Va.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? ja : d.PARSER_MEDIA_TYPE, U = qe === "application/xhtml+xml" ? A : H, N = ae(d, "ALLOWED_TAGS") ? x({}, d.ALLOWED_TAGS, U) : $r, z = ae(d, "ALLOWED_ATTR") ? x({}, d.ALLOWED_ATTR, U) : _r, Bt = ae(d, "ALLOWED_NAMESPACES") ? x({}, d.ALLOWED_NAMESPACES, A) : za, Ut = ae(d, "ADD_URI_SAFE_ATTR") ? x(Se(Nr), d.ADD_URI_SAFE_ATTR, U) : Nr, Dr = ae(d, "ADD_DATA_URI_TAGS") ? x(Se(Hr), d.ADD_DATA_URI_TAGS, U) : Hr, Pe = ae(d, "FORBID_CONTENTS") ? x({}, d.FORBID_CONTENTS, U) : Fr, We = ae(d, "FORBID_TAGS") ? x({}, d.FORBID_TAGS, U) : {}, Ot = ae(d, "FORBID_ATTR") ? x({}, d.FORBID_ATTR, U) : {}, Te = ae(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Ir = d.ALLOW_ARIA_ATTR !== !1, Lt = d.ALLOW_DATA_ATTR !== !1, Ar = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Mr = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = d.SAFE_FOR_TEMPLATES || !1, Ft = d.SAFE_FOR_XML !== !1, we = d.WHOLE_DOCUMENT || !1, Re = d.RETURN_DOM || !1, at = d.RETURN_DOM_FRAGMENT || !1, nt = d.RETURN_TRUSTED_TYPE || !1, Ht = d.FORCE_BODY || !1, Or = d.SANITIZE_DOM !== !1, Lr = d.SANITIZE_NAMED_PROPS || !1, Nt = d.KEEP_CONTENT !== !1, Ge = d.IN_PLACE || !1, Pr = d.ALLOWED_URI_REGEXP || Sr, $e = d.NAMESPACE || le, it = d.MATHML_TEXT_INTEGRATION_POINTS || it, lt = d.HTML_INTEGRATION_POINTS || lt, L = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Ur(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Ur(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (Lt = !1), at && (Re = !0), Te && (N = x({}, br), z = [], Te.html === !0 && (x(N, vr), x(z, yr)), Te.svg === !0 && (x(N, Et), x(z, Pt), x(z, tt)), Te.svgFilters === !0 && (x(N, Rt), x(z, Pt), x(z, tt)), Te.mathMl === !0 && (x(N, Tt), x(z, Cr), x(z, tt))), d.ADD_TAGS && (N === $r && (N = Se(N)), x(N, d.ADD_TAGS, U)), d.ADD_ATTR && (z === _r && (z = Se(z)), x(z, d.ADD_ATTR, U)), d.ADD_URI_SAFE_ATTR && x(Ut, d.ADD_URI_SAFE_ATTR, U), d.FORBID_CONTENTS && (Pe === Fr && (Pe = Se(Pe)), x(Pe, d.FORBID_CONTENTS, U)), Nt && (N["#text"] = !0), we && x(N, ["html", "head", "body"]), N.table && (x(N, ["tbody"]), delete We.tbody), d.TRUSTED_TYPES_POLICY) {
2558
2568
  if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
2559
2569
  throw Ne('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2560
2570
  if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
2561
2571
  throw Ne('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2562
2572
  Y = d.TRUSTED_TYPES_POLICY, je = Y.createHTML("");
2563
2573
  } else
2564
- Y === void 0 && (Y = wa(rt, V)), Y !== null && typeof je == "string" && (je = Y.createHTML(""));
2574
+ Y === void 0 && (Y = ka(rt, V)), Y !== null && typeof je == "string" && (je = Y.createHTML(""));
2565
2575
  c && c(d), _e = d;
2566
2576
  }
2567
- }, Ur = x({}, [...Et, ...Rt, ...ha]), zr = x({}, [...Tt, ...da]), Wa = function(d) {
2577
+ }, zr = x({}, [...Et, ...Rt, ...da]), Br = x({}, [...Tt, ...fa]), Ga = function(d) {
2568
2578
  let g = st(d);
2569
2579
  (!g || !g.tagName) && (g = {
2570
2580
  namespaceURI: $e,
2571
2581
  tagName: "template"
2572
2582
  });
2573
- const v = H(d.tagName), M = H(g.tagName);
2574
- return Bt[d.namespaceURI] ? d.namespaceURI === ct ? g.namespaceURI === le ? v === "svg" : g.namespaceURI === ot ? v === "svg" && (M === "annotation-xml" || it[M]) : !!Ur[v] : d.namespaceURI === ot ? g.namespaceURI === le ? v === "math" : g.namespaceURI === ct ? v === "math" && lt[M] : !!zr[v] : d.namespaceURI === le ? g.namespaceURI === ct && !lt[M] || g.namespaceURI === ot && !it[M] ? !1 : !zr[v] && (za[v] || !Ur[v]) : !!(qe === "application/xhtml+xml" && Bt[d.namespaceURI]) : !1;
2583
+ const y = H(d.tagName), M = H(g.tagName);
2584
+ return Bt[d.namespaceURI] ? d.namespaceURI === ct ? g.namespaceURI === le ? y === "svg" : g.namespaceURI === ot ? y === "svg" && (M === "annotation-xml" || it[M]) : !!zr[y] : d.namespaceURI === ot ? g.namespaceURI === le ? y === "math" : g.namespaceURI === ct ? y === "math" && lt[M] : !!Br[y] : d.namespaceURI === le ? g.namespaceURI === ct && !lt[M] || g.namespaceURI === ot && !it[M] ? !1 : !Br[y] && (Ba[y] || !zr[y]) : !!(qe === "application/xhtml+xml" && Bt[d.namespaceURI]) : !1;
2575
2585
  }, oe = function(d) {
2576
- P(y.removed, {
2586
+ P(C.removed, {
2577
2587
  element: d
2578
2588
  });
2579
2589
  try {
2580
2590
  st(d).removeChild(d);
2581
2591
  } catch {
2582
- Pa(d);
2592
+ $a(d);
2583
2593
  }
2584
2594
  }, ut = function(d, g) {
2585
2595
  try {
2586
- P(y.removed, {
2596
+ P(C.removed, {
2587
2597
  attribute: g.getAttributeNode(d),
2588
2598
  from: g
2589
2599
  });
2590
2600
  } catch {
2591
- P(y.removed, {
2601
+ P(C.removed, {
2592
2602
  attribute: null,
2593
2603
  from: g
2594
2604
  });
@@ -2604,19 +2614,19 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2604
2614
  g.setAttribute(d, "");
2605
2615
  } catch {
2606
2616
  }
2607
- }, Br = function(d) {
2608
- let g = null, v = null;
2617
+ }, Vr = function(d) {
2618
+ let g = null, y = null;
2609
2619
  if (Ht)
2610
2620
  d = "<remove></remove>" + d;
2611
2621
  else {
2612
2622
  const B = De(d, /^[\r\n\t ]+/);
2613
- v = B && B[0];
2623
+ y = B && B[0];
2614
2624
  }
2615
2625
  qe === "application/xhtml+xml" && $e === le && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
2616
2626
  const M = Y ? Y.createHTML(d) : d;
2617
2627
  if ($e === le)
2618
2628
  try {
2619
- g = new Ra().parseFromString(M, qe);
2629
+ g = new Ta().parseFromString(M, qe);
2620
2630
  } catch {
2621
2631
  }
2622
2632
  if (!g || !g.documentElement) {
@@ -2627,9 +2637,9 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2627
2637
  }
2628
2638
  }
2629
2639
  const j = g.body || g.documentElement;
2630
- return d && v && j.insertBefore(T.createTextNode(v), j.childNodes[0] || null), $e === le ? Ma.call(g, we ? "html" : "body")[0] : we ? g.documentElement : j;
2631
- }, Vr = function(d) {
2632
- return Ia.call(
2640
+ return d && y && j.insertBefore(T.createTextNode(y), j.childNodes[0] || null), $e === le ? Oa.call(g, we ? "html" : "body")[0] : we ? g.documentElement : j;
2641
+ }, jr = function(d) {
2642
+ return Aa.call(
2633
2643
  d.ownerDocument || d,
2634
2644
  d,
2635
2645
  // eslint-disable-next-line no-bitwise
@@ -2637,64 +2647,64 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2637
2647
  null
2638
2648
  );
2639
2649
  }, jt = function(d) {
2640
- return d instanceof Ea && (typeof d.nodeName != "string" || typeof d.textContent != "string" || typeof d.removeChild != "function" || !(d.attributes instanceof xa) || typeof d.removeAttribute != "function" || typeof d.setAttribute != "function" || typeof d.namespaceURI != "string" || typeof d.insertBefore != "function" || typeof d.hasChildNodes != "function");
2641
- }, jr = function(d) {
2650
+ return d instanceof Ra && (typeof d.nodeName != "string" || typeof d.textContent != "string" || typeof d.removeChild != "function" || !(d.attributes instanceof Ea) || typeof d.removeAttribute != "function" || typeof d.setAttribute != "function" || typeof d.namespaceURI != "string" || typeof d.insertBefore != "function" || typeof d.hasChildNodes != "function");
2651
+ }, Wr = function(d) {
2642
2652
  return typeof $t == "function" && d instanceof $t;
2643
2653
  };
2644
- function ue(C, d, g) {
2645
- m(C, (v) => {
2646
- v.call(y, d, g, _e);
2654
+ function ue(S, d, g) {
2655
+ m(S, (y) => {
2656
+ y.call(C, d, g, _e);
2647
2657
  });
2648
2658
  }
2649
- const Wr = function(d) {
2659
+ const Gr = function(d) {
2650
2660
  let g = null;
2651
2661
  if (ue(Z.beforeSanitizeElements, d, null), jt(d))
2652
2662
  return oe(d), !0;
2653
- const v = U(d.nodeName);
2663
+ const y = U(d.nodeName);
2654
2664
  if (ue(Z.uponSanitizeElement, d, {
2655
- tagName: v,
2665
+ tagName: y,
2656
2666
  allowedTags: N
2657
- }), d.hasChildNodes() && !jr(d.firstElementChild) && G(/<[/\w]/g, d.innerHTML) && G(/<[/\w]/g, d.textContent) || d.nodeType === ze.progressingInstruction || Ft && d.nodeType === ze.comment && G(/<[/\w]/g, d.data))
2667
+ }), d.hasChildNodes() && !Wr(d.firstElementChild) && G(/<[/\w]/g, d.innerHTML) && G(/<[/\w]/g, d.textContent) || d.nodeType === ze.progressingInstruction || Ft && d.nodeType === ze.comment && G(/<[/\w]/g, d.data))
2658
2668
  return oe(d), !0;
2659
- if (!N[v] || We[v]) {
2660
- if (!We[v] && qr(v) && (L.tagNameCheck instanceof RegExp && G(L.tagNameCheck, v) || L.tagNameCheck instanceof Function && L.tagNameCheck(v)))
2669
+ if (!N[y] || We[y]) {
2670
+ if (!We[y] && Yr(y) && (L.tagNameCheck instanceof RegExp && G(L.tagNameCheck, y) || L.tagNameCheck instanceof Function && L.tagNameCheck(y)))
2661
2671
  return !1;
2662
- if (Nt && !Pe[v]) {
2663
- const M = st(d) || d.parentNode, j = _a(d) || d.childNodes;
2672
+ if (Nt && !Pe[y]) {
2673
+ const M = st(d) || d.parentNode, j = Ia(d) || d.childNodes;
2664
2674
  if (j && M) {
2665
2675
  const B = j.length;
2666
2676
  for (let J = B - 1; J >= 0; --J) {
2667
- const ce = Ta(j[J], !0);
2668
- ce.__removalCount = (d.__removalCount || 0) + 1, M.insertBefore(ce, $a(d));
2677
+ const ce = Pa(j[J], !0);
2678
+ ce.__removalCount = (d.__removalCount || 0) + 1, M.insertBefore(ce, _a(d));
2669
2679
  }
2670
2680
  }
2671
2681
  }
2672
2682
  return oe(d), !0;
2673
2683
  }
2674
- return d instanceof Er && !Wa(d) || (v === "noscript" || v === "noembed" || v === "noframes") && G(/<\/no(script|embed|frames)/i, d.innerHTML) ? (oe(d), !0) : (Ee && d.nodeType === ze.text && (g = d.textContent, m([It, At, Mt], (M) => {
2684
+ return d instanceof Rr && !Ga(d) || (y === "noscript" || y === "noembed" || y === "noframes") && G(/<\/no(script|embed|frames)/i, d.innerHTML) ? (oe(d), !0) : (Ee && d.nodeType === ze.text && (g = d.textContent, m([It, At, Mt], (M) => {
2675
2685
  g = He(g, M, " ");
2676
- }), d.textContent !== g && (P(y.removed, {
2686
+ }), d.textContent !== g && (P(C.removed, {
2677
2687
  element: d.cloneNode()
2678
2688
  }), d.textContent = g)), ue(Z.afterSanitizeElements, d, null), !1);
2679
- }, Gr = function(d, g, v) {
2680
- if (Mr && (g === "id" || g === "name") && (v in T || v in ja))
2689
+ }, qr = function(d, g, y) {
2690
+ if (Or && (g === "id" || g === "name") && (y in T || y in Wa))
2681
2691
  return !1;
2682
- if (!(Lt && !Ot[g] && G(La, g))) {
2683
- if (!(_r && G(Fa, g))) {
2692
+ if (!(Lt && !Ot[g] && G(Fa, g))) {
2693
+ if (!(Ir && G(Da, g))) {
2684
2694
  if (!z[g] || Ot[g]) {
2685
2695
  if (
2686
2696
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
2687
2697
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2688
2698
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
2689
- !(qr(d) && (L.tagNameCheck instanceof RegExp && G(L.tagNameCheck, d) || L.tagNameCheck instanceof Function && L.tagNameCheck(d)) && (L.attributeNameCheck instanceof RegExp && G(L.attributeNameCheck, g) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2699
+ !(Yr(d) && (L.tagNameCheck instanceof RegExp && G(L.tagNameCheck, d) || L.tagNameCheck instanceof Function && L.tagNameCheck(d)) && (L.attributeNameCheck instanceof RegExp && G(L.attributeNameCheck, g) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2690
2700
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2691
- g === "is" && L.allowCustomizedBuiltInElements && (L.tagNameCheck instanceof RegExp && G(L.tagNameCheck, v) || L.tagNameCheck instanceof Function && L.tagNameCheck(v)))
2701
+ g === "is" && L.allowCustomizedBuiltInElements && (L.tagNameCheck instanceof RegExp && G(L.tagNameCheck, y) || L.tagNameCheck instanceof Function && L.tagNameCheck(y)))
2692
2702
  ) return !1;
2693
2703
  } else if (!Ut[g]) {
2694
- if (!G(Tr, He(v, Rr, ""))) {
2695
- if (!((g === "src" || g === "xlink:href" || g === "href") && d !== "script" && ca(v, "data:") === 0 && Fr[d])) {
2696
- if (!(Ir && !G(Da, He(v, Rr, "")))) {
2697
- if (v)
2704
+ if (!G(Pr, He(y, Tr, ""))) {
2705
+ if (!((g === "src" || g === "xlink:href" || g === "href") && d !== "script" && ia(y, "data:") === 0 && Dr[d])) {
2706
+ if (!(Ar && !G(Ha, He(y, Tr, "")))) {
2707
+ if (y)
2698
2708
  return !1;
2699
2709
  }
2700
2710
  }
@@ -2703,16 +2713,16 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2703
2713
  }
2704
2714
  }
2705
2715
  return !0;
2706
- }, qr = function(d) {
2707
- return d !== "annotation-xml" && De(d, Ha);
2708
2716
  }, Yr = function(d) {
2717
+ return d !== "annotation-xml" && De(d, Na);
2718
+ }, Zr = function(d) {
2709
2719
  ue(Z.beforeSanitizeAttributes, d, null);
2710
2720
  const {
2711
2721
  attributes: g
2712
2722
  } = d;
2713
2723
  if (!g || jt(d))
2714
2724
  return;
2715
- const v = {
2725
+ const y = {
2716
2726
  attrName: "",
2717
2727
  attrValue: "",
2718
2728
  keepAttr: !0,
@@ -2726,24 +2736,24 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2726
2736
  namespaceURI: J,
2727
2737
  value: ce
2728
2738
  } = j, Ye = U(B);
2729
- let Q = B === "value" ? ce : ia(ce);
2730
- if (v.attrName = Ye, v.attrValue = Q, v.keepAttr = !0, v.forceKeepAttr = void 0, ue(Z.uponSanitizeAttribute, d, v), Q = v.attrValue, Or && (Ye === "id" || Ye === "name") && (ut(B, d), Q = Na + Q), Ft && G(/((--!?|])>)|<\/(style|title)/i, Q)) {
2739
+ let Q = B === "value" ? ce : la(ce);
2740
+ if (y.attrName = Ye, y.attrValue = Q, y.keepAttr = !0, y.forceKeepAttr = void 0, ue(Z.uponSanitizeAttribute, d, y), Q = y.attrValue, Lr && (Ye === "id" || Ye === "name") && (ut(B, d), Q = Ua + Q), Ft && G(/((--!?|])>)|<\/(style|title)/i, Q)) {
2731
2741
  ut(B, d);
2732
2742
  continue;
2733
2743
  }
2734
- if (v.forceKeepAttr || (ut(B, d), !v.keepAttr))
2744
+ if (y.forceKeepAttr || (ut(B, d), !y.keepAttr))
2735
2745
  continue;
2736
- if (!Ar && G(/\/>/i, Q)) {
2746
+ if (!Mr && G(/\/>/i, Q)) {
2737
2747
  ut(B, d);
2738
2748
  continue;
2739
2749
  }
2740
- Ee && m([It, At, Mt], (Qr) => {
2741
- Q = He(Q, Qr, " ");
2750
+ Ee && m([It, At, Mt], (Kr) => {
2751
+ Q = He(Q, Kr, " ");
2742
2752
  });
2743
- const Zr = U(d.nodeName);
2744
- if (Gr(Zr, Ye, Q)) {
2753
+ const Qr = U(d.nodeName);
2754
+ if (qr(Qr, Ye, Q)) {
2745
2755
  if (Y && typeof rt == "object" && typeof rt.getAttributeType == "function" && !J)
2746
- switch (rt.getAttributeType(Zr, Ye)) {
2756
+ switch (rt.getAttributeType(Qr, Ye)) {
2747
2757
  case "TrustedHTML": {
2748
2758
  Q = Y.createHTML(Q);
2749
2759
  break;
@@ -2754,103 +2764,103 @@ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2754
2764
  }
2755
2765
  }
2756
2766
  try {
2757
- J ? d.setAttributeNS(J, B, Q) : d.setAttribute(B, Q), jt(d) ? oe(d) : b(y.removed);
2767
+ J ? d.setAttributeNS(J, B, Q) : d.setAttribute(B, Q), jt(d) ? oe(d) : v(C.removed);
2758
2768
  } catch {
2759
2769
  }
2760
2770
  }
2761
2771
  }
2762
2772
  ue(Z.afterSanitizeAttributes, d, null);
2763
- }, Ga = function C(d) {
2773
+ }, qa = function S(d) {
2764
2774
  let g = null;
2765
- const v = Vr(d);
2766
- for (ue(Z.beforeSanitizeShadowDOM, d, null); g = v.nextNode(); )
2767
- ue(Z.uponSanitizeShadowNode, g, null), Wr(g), Yr(g), g.content instanceof ie && C(g.content);
2775
+ const y = jr(d);
2776
+ for (ue(Z.beforeSanitizeShadowDOM, d, null); g = y.nextNode(); )
2777
+ ue(Z.uponSanitizeShadowNode, g, null), Gr(g), Zr(g), g.content instanceof ie && S(g.content);
2768
2778
  ue(Z.afterSanitizeShadowDOM, d, null);
2769
2779
  };
2770
- return y.sanitize = function(C) {
2771
- let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, v = null, M = null, j = null;
2772
- if (zt = !C, zt && (C = "<!-->"), typeof C != "string" && !jr(C))
2773
- if (typeof C.toString == "function") {
2774
- if (C = C.toString(), typeof C != "string")
2780
+ return C.sanitize = function(S) {
2781
+ let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, y = null, M = null, j = null;
2782
+ if (zt = !S, zt && (S = "<!-->"), typeof S != "string" && !Wr(S))
2783
+ if (typeof S.toString == "function") {
2784
+ if (S = S.toString(), typeof S != "string")
2775
2785
  throw Ne("dirty is not a string, aborting");
2776
2786
  } else
2777
2787
  throw Ne("toString is not a function");
2778
- if (!y.isSupported)
2779
- return C;
2780
- if (Dt || Vt(d), y.removed = [], typeof C == "string" && (Ge = !1), Ge) {
2781
- if (C.nodeName) {
2782
- const ce = U(C.nodeName);
2788
+ if (!C.isSupported)
2789
+ return S;
2790
+ if (Dt || Vt(d), C.removed = [], typeof S == "string" && (Ge = !1), Ge) {
2791
+ if (S.nodeName) {
2792
+ const ce = U(S.nodeName);
2783
2793
  if (!N[ce] || We[ce])
2784
2794
  throw Ne("root node is forbidden and cannot be sanitized in-place");
2785
2795
  }
2786
- } else if (C instanceof $t)
2787
- g = Br("<!---->"), v = g.ownerDocument.importNode(C, !0), v.nodeType === ze.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? g = v : g.appendChild(v);
2796
+ } else if (S instanceof $t)
2797
+ g = Vr("<!---->"), y = g.ownerDocument.importNode(S, !0), y.nodeType === ze.element && y.nodeName === "BODY" || y.nodeName === "HTML" ? g = y : g.appendChild(y);
2788
2798
  else {
2789
2799
  if (!Re && !Ee && !we && // eslint-disable-next-line unicorn/prefer-includes
2790
- C.indexOf("<") === -1)
2791
- return Y && nt ? Y.createHTML(C) : C;
2792
- if (g = Br(C), !g)
2800
+ S.indexOf("<") === -1)
2801
+ return Y && nt ? Y.createHTML(S) : S;
2802
+ if (g = Vr(S), !g)
2793
2803
  return Re ? null : nt ? je : "";
2794
2804
  }
2795
2805
  g && Ht && oe(g.firstChild);
2796
- const B = Vr(Ge ? C : g);
2806
+ const B = jr(Ge ? S : g);
2797
2807
  for (; M = B.nextNode(); )
2798
- Wr(M), Yr(M), M.content instanceof ie && Ga(M.content);
2808
+ Gr(M), Zr(M), M.content instanceof ie && qa(M.content);
2799
2809
  if (Ge)
2800
- return C;
2810
+ return S;
2801
2811
  if (Re) {
2802
2812
  if (at)
2803
- for (j = Aa.call(g.ownerDocument); g.firstChild; )
2813
+ for (j = Ma.call(g.ownerDocument); g.firstChild; )
2804
2814
  j.appendChild(g.firstChild);
2805
2815
  else
2806
2816
  j = g;
2807
- return (z.shadowroot || z.shadowrootmode) && (j = Oa.call(R, j, !0)), j;
2817
+ return (z.shadowroot || z.shadowrootmode) && (j = La.call(R, j, !0)), j;
2808
2818
  }
2809
2819
  let J = we ? g.outerHTML : g.innerHTML;
2810
- return we && N["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && G(Sr, g.ownerDocument.doctype.name) && (J = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
2820
+ return we && N["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && G(wr, g.ownerDocument.doctype.name) && (J = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
2811
2821
  ` + J), Ee && m([It, At, Mt], (ce) => {
2812
2822
  J = He(J, ce, " ");
2813
2823
  }), Y && nt ? Y.createHTML(J) : J;
2814
- }, y.setConfig = function() {
2815
- let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2816
- Vt(C), Dt = !0;
2817
- }, y.clearConfig = function() {
2824
+ }, C.setConfig = function() {
2825
+ let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2826
+ Vt(S), Dt = !0;
2827
+ }, C.clearConfig = function() {
2818
2828
  _e = null, Dt = !1;
2819
- }, y.isValidAttribute = function(C, d, g) {
2829
+ }, C.isValidAttribute = function(S, d, g) {
2820
2830
  _e || Vt({});
2821
- const v = U(C), M = U(d);
2822
- return Gr(v, M, g);
2823
- }, y.addHook = function(C, d) {
2824
- typeof d == "function" && P(Z[C], d);
2825
- }, y.removeHook = function(C, d) {
2831
+ const y = U(S), M = U(d);
2832
+ return qr(y, M, g);
2833
+ }, C.addHook = function(S, d) {
2834
+ typeof d == "function" && P(Z[S], d);
2835
+ }, C.removeHook = function(S, d) {
2826
2836
  if (d !== void 0) {
2827
- const g = S(Z[C], d);
2828
- return g === -1 ? void 0 : _(Z[C], g, 1)[0];
2837
+ const g = b(Z[S], d);
2838
+ return g === -1 ? void 0 : _(Z[S], g, 1)[0];
2829
2839
  }
2830
- return b(Z[C]);
2831
- }, y.removeHooks = function(C) {
2832
- Z[C] = [];
2833
- }, y.removeAllHooks = function() {
2834
- Z = kr();
2835
- }, y;
2840
+ return v(Z[S]);
2841
+ }, C.removeHooks = function(S) {
2842
+ Z[S] = [];
2843
+ }, C.removeAllHooks = function() {
2844
+ Z = xr();
2845
+ }, C;
2836
2846
  }
2837
- var ka = xr();
2838
- return ka;
2847
+ var xa = Er();
2848
+ return xa;
2839
2849
  });
2840
- })(Ys);
2841
- const Do = Ys.exports, et = (e, ...t) => {
2850
+ })(Zs);
2851
+ const Ho = Zs.exports, et = (e, ...t) => {
2842
2852
  let r = e[0];
2843
2853
  for (let s = 0; s < t.length; s++)
2844
- r += Do.sanitize(t[s] ? String(t[s]) : "") + e[s + 1];
2854
+ r += Ho.sanitize(t[s] ? String(t[s]) : "") + e[s + 1];
2845
2855
  return r || "";
2846
- }, Ho = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2856
+ }, No = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2847
2857
  let X = (e = 21) => {
2848
2858
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
2849
2859
  for (; e--; )
2850
- t += Ho[r[e] & 63];
2860
+ t += No[r[e] & 63];
2851
2861
  return t;
2852
2862
  };
2853
- const No = /* @__PURE__ */ D(class extends F {
2863
+ const Uo = /* @__PURE__ */ D(class extends F {
2854
2864
  constructor() {
2855
2865
  super();
2856
2866
  f(this, "adSource", "Custom");
@@ -2895,7 +2905,7 @@ const No = /* @__PURE__ */ D(class extends F {
2895
2905
  if (!r.admAd)
2896
2906
  return;
2897
2907
  let s = "<p>Ad Marketplace Ad Placeholder</p>";
2898
- return (o = (a = this.core) == null ? void 0 : a.config) != null && o.admAdTemplate && (s = (c = (n = this.core) == null ? void 0 : n.config) == null ? void 0 : c.admAdTemplate(r.admAd, { html: et })), i("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
2908
+ return (o = (a = this.core) == null ? void 0 : a.config) != null && o.admAdTemplate && (s = (c = (n = this.core) == null ? void 0 : n.config) == null ? void 0 : c.admAdTemplate(r.admAd, { html: et })), l("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
2899
2909
  }
2900
2910
  renderCustomAd() {
2901
2911
  var o, n;
@@ -2904,12 +2914,12 @@ const No = /* @__PURE__ */ D(class extends F {
2904
2914
  return r && (a = r({
2905
2915
  searchTerm: this.searchTerm || "",
2906
2916
  adContainerId: this.adContainerId
2907
- }, { html: et })), i("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
2917
+ }, { html: et })), l("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
2908
2918
  }
2909
2919
  renderNativoAd() {
2910
2920
  var s;
2911
2921
  const r = ((s = this.core) == null ? void 0 : s.config.nativoAdClassName) || "ntv-item";
2912
- return i("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: ee("searchcraft-ad", r), "data-searchcraft-ad-container-id": this.adContainerId });
2922
+ return l("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: ee("searchcraft-ad", r), "data-searchcraft-ad-container-id": this.adContainerId });
2913
2923
  }
2914
2924
  render() {
2915
2925
  var r, s;
@@ -2946,12 +2956,12 @@ function wt() {
2946
2956
  ["searchcraft-ad"].forEach((t) => {
2947
2957
  switch (t) {
2948
2958
  case "searchcraft-ad":
2949
- customElements.get(t) || customElements.define(t, No);
2959
+ customElements.get(t) || customElements.define(t, Uo);
2950
2960
  break;
2951
2961
  }
2952
2962
  });
2953
2963
  }
2954
- const Uo = wt, zo = /* @__PURE__ */ D(class extends F {
2964
+ const zo = wt, Bo = /* @__PURE__ */ D(class extends F {
2955
2965
  constructor() {
2956
2966
  super();
2957
2967
  /**
@@ -2992,11 +3002,11 @@ const Uo = wt, zo = /* @__PURE__ */ D(class extends F {
2992
3002
  this.__registerHost(), this.buttonClick = be(this, "buttonClick");
2993
3003
  }
2994
3004
  render() {
2995
- return i("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: ee("searchcraft-button", {
3005
+ return l("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: ee("searchcraft-button", {
2996
3006
  "searchcraft-button-primary": this.hierarchy === "primary",
2997
3007
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
2998
3008
  "searchcraft-button-disabled": this.disabled
2999
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : i(Hn, null, this.iconPosition === "left" && this.icon, i("span", null, this.label), this.iconPosition === "right" && this.icon));
3009
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : l(Nn, null, this.iconPosition === "left" && this.icon, l("span", null, this.label), this.iconPosition === "right" && this.icon));
3000
3010
  }
3001
3011
  }, [0, "searchcraft-button", {
3002
3012
  hierarchy: [1],
@@ -3013,17 +3023,17 @@ function kt() {
3013
3023
  ["searchcraft-button"].forEach((t) => {
3014
3024
  switch (t) {
3015
3025
  case "searchcraft-button":
3016
- customElements.get(t) || customElements.define(t, zo);
3026
+ customElements.get(t) || customElements.define(t, Bo);
3017
3027
  break;
3018
3028
  }
3019
3029
  });
3020
3030
  }
3021
- const Bo = kt, Vo = /* @__PURE__ */ D(class extends F {
3031
+ const Vo = kt, jo = /* @__PURE__ */ D(class extends F {
3022
3032
  constructor() {
3023
3033
  super(), this.__registerHost();
3024
3034
  }
3025
3035
  render() {
3026
- return i("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, i("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
3036
+ return l("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, l("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
3027
3037
  }
3028
3038
  }, [4, "searchcraft-error-message"]);
3029
3039
  function xt() {
@@ -3032,40 +3042,40 @@ function xt() {
3032
3042
  ["searchcraft-error-message"].forEach((t) => {
3033
3043
  switch (t) {
3034
3044
  case "searchcraft-error-message":
3035
- customElements.get(t) || customElements.define(t, Vo);
3045
+ customElements.get(t) || customElements.define(t, jo);
3036
3046
  break;
3037
3047
  }
3038
3048
  });
3039
3049
  }
3040
- const jo = xt, Wo = (e, t) => {
3050
+ const Wo = xt, Qs = (e, t) => {
3041
3051
  let r = e;
3042
3052
  for (const s of t)
3043
3053
  r = r == null ? void 0 : r.children[s];
3044
3054
  return r;
3045
- }, Zs = (e, t) => {
3055
+ }, pr = (e, t) => {
3046
3056
  const r = { ...e };
3047
3057
  for (const s in t)
3048
- t.hasOwnProperty(s) && (t[s] instanceof Object && e[s] instanceof Object ? r[s] = Zs(e[s], t[s]) : r[s] = t[s]);
3058
+ t.hasOwnProperty(s) && (t[s] instanceof Object && e[s] instanceof Object ? r[s] = pr(e[s], t[s]) : r[s] = t[s]);
3049
3059
  return r;
3050
3060
  };
3051
3061
  function Go(e) {
3052
3062
  return e.filter((t, r, s) => !s.some((a, o) => o !== r && a.includes(t)));
3053
3063
  }
3054
- const qt = (e, t) => {
3064
+ const ys = (e, t) => {
3055
3065
  const r = structuredClone(e), s = (a, o) => {
3056
- var l;
3057
- const n = structuredClone(a), c = Wo(t, o);
3066
+ var i;
3067
+ const n = structuredClone(a), c = Qs(t, o);
3058
3068
  if (!c)
3059
3069
  return n;
3060
3070
  for (const h of Object.keys(a.children))
3061
3071
  c.children[h] ? n.children[h] = {
3062
- ...Zs(a.children[h], c.children[h]),
3063
- count: ((l = n.children[h]) == null ? void 0 : l.count) || 0
3072
+ ...pr(a.children[h], c.children[h]),
3073
+ count: ((i = n.children[h]) == null ? void 0 : i.count) || 0
3064
3074
  } : n.children[h] && (n.children[h] = s(n.children[h], [...o, h]));
3065
3075
  return n;
3066
3076
  };
3067
3077
  return s(r, []);
3068
- }, bs = (e) => {
3078
+ }, qt = (e) => {
3069
3079
  const t = {
3070
3080
  path: "/",
3071
3081
  count: 0,
@@ -3079,13 +3089,13 @@ const qt = (e, t) => {
3079
3089
  for (const { path: a, count: o } of r) {
3080
3090
  const n = a.split("/").filter(Boolean);
3081
3091
  let c = t;
3082
- for (const l of n) {
3083
- const h = c.path === "/" ? `/${l}` : `${c.path}/${l}`;
3084
- c.children[l] || (c.children[l] = {
3092
+ for (const i of n) {
3093
+ const h = c.path === "/" ? `/${i}` : `${c.path}/${i}`;
3094
+ c.children[i] || (c.children[i] = {
3085
3095
  path: h,
3086
3096
  count: o,
3087
3097
  children: {}
3088
- }), c = c.children[l];
3098
+ }), c = c.children[i];
3089
3099
  }
3090
3100
  c.count = o;
3091
3101
  }
@@ -3102,17 +3112,35 @@ const qt = (e, t) => {
3102
3112
  */
3103
3113
  f(this, "facetSelectionUpdated");
3104
3114
  /**
3105
- * A Tree Representing all of the facets we know about to be rendered.
3115
+ * The currently selected facet paths.
3116
+ */
3117
+ f(this, "selectedPaths", {});
3118
+ /**
3119
+ * A Tree representing all of the facets collected from search responses.
3106
3120
  */
3107
- f(this, "facetTree", {
3121
+ f(this, "facetTreeCollectedFromSearchResponse", {
3108
3122
  path: "/",
3109
3123
  count: 0,
3110
3124
  children: {}
3111
3125
  });
3112
3126
  /**
3113
- * The currently selected facet paths.
3127
+ * A Tree representing the facet paths that are selected, but were not included
3128
+ * in any search response.
3114
3129
  */
3115
- f(this, "selectedPaths", {});
3130
+ f(this, "facetTreeFromFacetPathsNotInSearchResponse", {
3131
+ path: "/",
3132
+ count: 0,
3133
+ children: {}
3134
+ });
3135
+ /**
3136
+ * The facet tree that ultimately gets rendered.
3137
+ * This is a mergin of the facetTreeCollectedFromSearchResponse and the facetTreeFromFacetPathsNotInSearchResponse tree
3138
+ */
3139
+ f(this, "renderedFacetTree", {
3140
+ path: "/",
3141
+ count: 0,
3142
+ children: {}
3143
+ });
3116
3144
  // Internal vars used to track when to perform various facet actions.
3117
3145
  f(this, "lastTimeTaken");
3118
3146
  f(this, "lastSearchTerm");
@@ -3124,53 +3152,77 @@ const qt = (e, t) => {
3124
3152
  f(this, "formatFacetName", (r) => `${r.replace(/^\//, "").replace(/-/g, " ").replace(/\b\w/g, (a) => a.toUpperCase())}`);
3125
3153
  this.__registerHost(), this.facetSelectionUpdated = be(this, "facetSelectionUpdated");
3126
3154
  }
3155
+ get areAnyFacetPathsSelected() {
3156
+ return Object.keys(this.selectedPaths).some((r) => this.selectedPaths[r]);
3157
+ }
3127
3158
  handleIncomingSearchResponse(r, s) {
3128
- var c, l;
3129
- const a = (c = r.searchResponseFacetPrime) == null ? void 0 : c.find((h) => this.fieldName === Object.keys(h)[0]), o = a == null ? void 0 : a[this.fieldName], n = bs({
3159
+ var i, h, u;
3160
+ const a = (i = r.searchResponseFacetPrime) == null ? void 0 : i.find((p) => this.fieldName === Object.keys(p)[0]), o = a == null ? void 0 : a[this.fieldName], n = qt({
3130
3161
  path: "/",
3131
3162
  count: 0,
3132
3163
  children: o || []
3133
3164
  });
3134
3165
  switch (s) {
3135
3166
  case "SEARCH_TERM_EMPTY":
3136
- this.facetTree = {
3167
+ this.facetTreeCollectedFromSearchResponse = {
3137
3168
  path: "/",
3138
3169
  count: 0,
3139
3170
  children: {}
3140
3171
  };
3141
3172
  break;
3142
3173
  case "NEW_SEARCH_TERM":
3143
- this.facetTree = n;
3174
+ this.facetTreeCollectedFromSearchResponse = n;
3144
3175
  break;
3176
+ case "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE":
3145
3177
  case "EXACT_MATCH_UPDATE":
3146
3178
  case "RANGE_VALUE_UPDATE": {
3147
3179
  if (r.supplementalFacetPrime) {
3148
- const h = (l = r.supplementalFacetPrime) == null ? void 0 : l.find((m) => this.fieldName === Object.keys(m)[0]), u = h == null ? void 0 : h[this.fieldName], p = bs({
3180
+ const p = (h = r.supplementalFacetPrime) == null ? void 0 : h.find((v) => this.fieldName === Object.keys(v)[0]), m = p == null ? void 0 : p[this.fieldName], b = qt({
3149
3181
  path: "/",
3150
3182
  count: 0,
3151
- children: u || []
3183
+ children: m || []
3152
3184
  });
3153
- this.facetTree = qt(p, n);
3185
+ this.facetTreeCollectedFromSearchResponse = ys(b, n);
3154
3186
  } else
3155
- this.facetTree = n;
3187
+ this.facetTreeCollectedFromSearchResponse = n;
3156
3188
  break;
3157
3189
  }
3158
3190
  case "FACET_UPDATE":
3159
3191
  case "SORT_ORDER_UPDATE":
3160
- this.facetTree = qt(this.facetTree, n);
3192
+ this.facetTreeCollectedFromSearchResponse = ys(this.facetTreeCollectedFromSearchResponse, n);
3161
3193
  break;
3162
3194
  default:
3163
- this.facetTree = qt(this.facetTree, n);
3195
+ return;
3196
+ }
3197
+ this.facetTreeFromFacetPathsNotInSearchResponse = {
3198
+ path: "/",
3199
+ count: 0,
3200
+ children: {}
3201
+ };
3202
+ const c = {
3203
+ path: "/",
3204
+ count: 0,
3205
+ children: []
3206
+ };
3207
+ for (const p of Object.keys(this.selectedPaths).filter((m) => this.selectedPaths[m])) {
3208
+ const m = p.startsWith("/") ? p.substring(1).split("/") : p.split("/"), b = !!Qs(this.facetTreeCollectedFromSearchResponse, m), v = m.at(-1);
3209
+ !b && v && ((u = c.children) == null || u.push({
3210
+ children: [],
3211
+ count: 0,
3212
+ path: p
3213
+ }));
3164
3214
  }
3215
+ this.facetTreeFromFacetPathsNotInSearchResponse = qt(c), this.renderedFacetTree = pr(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
3165
3216
  }
3166
3217
  handleStateUpdate(r) {
3167
- if (this.lastSearchTerm !== r.searchTerm && r.searchTerm.trim() === "")
3168
- this.handleIncomingSearchResponse(r, "SEARCH_TERM_EMPTY");
3169
- else if (this.lastTimeTaken !== r.searchResponseTimeTaken) {
3170
- let s = "UNKNOWN";
3171
- this.lastSearchTerm !== r.searchTerm ? s = "NEW_SEARCH_TERM" : this.lastRangeValues !== JSON.stringify(r.rangeValueForIndexFields) ? s = "RANGE_VALUE_UPDATE" : this.lastFacetValues !== JSON.stringify(r.facetPathsForIndexFields) ? s = "FACET_UPDATE" : this.lastSortType !== r.sortType ? s = "SORT_ORDER_UPDATE" : this.lastSearchMode !== r.searchMode && (s = "EXACT_MATCH_UPDATE"), this.handleIncomingSearchResponse(r, s), this.lastSearchTerm = r.searchTerm, this.lastRangeValues = JSON.stringify(r.rangeValueForIndexFields), this.lastFacetValues = JSON.stringify(r.facetPathsForIndexFields), this.lastSortType = r.sortType, this.lastSearchMode = r.searchMode;
3218
+ const s = { ...r };
3219
+ if (s.searchTerm.trim() === "")
3220
+ this.handleIncomingSearchResponse(s, "SEARCH_TERM_EMPTY"), this.lastSearchTerm = "";
3221
+ else if (this.lastTimeTaken !== s.searchResponseTimeTaken && s.searchClientRequest && typeof s.searchClientRequest == "object") {
3222
+ const a = s.searchClientRequest;
3223
+ let o = "UNKNOWN";
3224
+ this.lastSearchTerm !== a.searchTerm ? this.areAnyFacetPathsSelected ? o = "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE" : o = "NEW_SEARCH_TERM" : this.lastRangeValues !== JSON.stringify(a.rangeValueForIndexFields) ? o = "RANGE_VALUE_UPDATE" : this.lastFacetValues !== JSON.stringify(a.facetPathsForIndexFields) ? o = "FACET_UPDATE" : this.lastSortType !== a.order_by ? o = "SORT_ORDER_UPDATE" : this.lastSearchMode !== a.mode && (o = "EXACT_MATCH_UPDATE"), this.lastRangeValues = JSON.stringify(a.rangeValueForIndexFields), this.lastFacetValues = JSON.stringify(a.facetPathsForIndexFields), this.lastSortType = a.order_by, this.lastSearchMode = a.mode, this.lastSearchTerm = a.searchTerm, this.lastTimeTaken = s.searchResponseTimeTaken, this.handleIncomingSearchResponse(s, o);
3172
3225
  }
3173
- this.lastTimeTaken = r.searchResponseTimeTaken;
3174
3226
  }
3175
3227
  connectedCallback() {
3176
3228
  this.handleStateUpdate($.getState()), this.unsubscribe = $.subscribe((r) => {
@@ -3189,8 +3241,8 @@ const qt = (e, t) => {
3189
3241
  [r]: !0
3190
3242
  };
3191
3243
  else {
3192
- const c = Object.keys(this.selectedPaths).filter((l) => !l.includes(r));
3193
- this.selectedPaths = c.reduce((l, h) => (l[h] = !0, l), {});
3244
+ const c = Object.keys(this.selectedPaths).filter((i) => !i.includes(r));
3245
+ this.selectedPaths = c.reduce((i, h) => (i[h] = !0, i), {});
3194
3246
  }
3195
3247
  const a = Object.keys(this.selectedPaths).filter((c) => this.selectedPaths[c]), o = Go(a);
3196
3248
  (n = this.facetSelectionUpdated) == null || n.emit({ paths: o });
@@ -3200,9 +3252,9 @@ const qt = (e, t) => {
3200
3252
  for (const c of Object.keys(this.selectedPaths))
3201
3253
  this.selectedPaths[c] && c.startsWith(s.path) && c.length > s.path.length && (a = !0);
3202
3254
  const o = Object.keys(this.selectedPaths).includes(s.path), n = Object.keys(s.children).length > 0 && (o || a) || r === "@@root";
3203
- return i("div", { class: "searchcraft-facet-list-item" }, r !== "@@root" && i("label", { class: "searchcraft-facet-list-checkbox-label" }, i("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, i("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (c) => {
3255
+ return l("div", { class: "searchcraft-facet-list-item" }, r !== "@@root" && l("label", { class: "searchcraft-facet-list-checkbox-label" }, l("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, l("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (c) => {
3204
3256
  this.handleCheckboxChange(s.path);
3205
- }, type: "checkbox" }), a ? i("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, i("svg", { viewBox: "0 0 14 3", fill: "none" }, i("title", null, "Checkbox dash"), i("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : i("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, i("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, i("title", null, "Checkbox check"), i("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), i("span", null, this.formatFacetName(r), " (", s.count, ")")), n && i("div", { class: "searchcraft-facet-list", style: {
3257
+ }, type: "checkbox" }), a ? l("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, l("svg", { viewBox: "0 0 14 3", fill: "none" }, l("title", null, "Checkbox dash"), l("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : l("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, l("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, l("title", null, "Checkbox check"), l("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), l("span", null, this.formatFacetName(r), " (", s.count, ")")), n && l("div", { class: "searchcraft-facet-list", style: {
3206
3258
  paddingLeft: r !== "@@root" ? "24px" : "0px",
3207
3259
  paddingTop: r !== "@@root" ? "6px" : "0px"
3208
3260
  } }, Object.keys(s.children).map((c) => {
@@ -3211,15 +3263,16 @@ const qt = (e, t) => {
3211
3263
  })));
3212
3264
  }
3213
3265
  render() {
3214
- if (this.fieldName && !(Object.keys(this.facetTree.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
3215
- return Object.keys(this.facetTree.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? i("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : i("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.facetTree));
3266
+ if (this.fieldName && !(Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
3267
+ return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? l("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : l("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
3216
3268
  }
3217
3269
  }, [0, "searchcraft-facet-list", {
3218
3270
  fieldName: [1, "field-name"],
3219
- facetTree: [32],
3220
- selectedPaths: [32]
3271
+ selectedPaths: [32],
3272
+ facetTreeCollectedFromSearchResponse: [32],
3273
+ renderedFacetTree: [32]
3221
3274
  }]);
3222
- function Qs() {
3275
+ function Ks() {
3223
3276
  if (typeof customElements > "u")
3224
3277
  return;
3225
3278
  ["searchcraft-facet-list"].forEach((t) => {
@@ -3230,7 +3283,7 @@ function Qs() {
3230
3283
  }
3231
3284
  });
3232
3285
  }
3233
- const Yo = Qs;
3286
+ const Yo = Ks;
3234
3287
  function Ze(e, t) {
3235
3288
  if (e && t)
3236
3289
  return t.fieldNames.map((r) => {
@@ -3249,7 +3302,7 @@ function Ze(e, t) {
3249
3302
  return s;
3250
3303
  }).filter((r) => !!r).join(t.delimiter || " ");
3251
3304
  }
3252
- function Ks(e) {
3305
+ function Xs(e) {
3253
3306
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
3254
3307
  }
3255
3308
  function Zo(e, t = "en-US", r = {
@@ -3259,8 +3312,8 @@ function Zo(e, t = "en-US", r = {
3259
3312
  }) {
3260
3313
  const s = new Date(e), o = (/* @__PURE__ */ new Date()).getTime() - s.getTime(), n = 30 * 24 * 60 * 60 * 1e3;
3261
3314
  if (o < n) {
3262
- const c = Math.trunc(o / 1e3), l = Math.trunc(c / 60), h = Math.trunc(l / 60), u = Math.trunc(h / 24), p = new Intl.RelativeTimeFormat(t, r);
3263
- return u >= 1 ? p.format(-u, "day") : h >= 1 ? p.format(-h, "hour") : l >= 1 ? p.format(-l, "minute") : p.format(0, "second");
3315
+ const c = Math.trunc(o / 1e3), i = Math.trunc(c / 60), h = Math.trunc(i / 60), u = Math.trunc(h / 24), p = new Intl.RelativeTimeFormat(t, r);
3316
+ return u >= 1 ? p.format(-u, "day") : h >= 1 ? p.format(-h, "hour") : i >= 1 ? p.format(-i, "minute") : p.format(0, "second");
3264
3317
  }
3265
3318
  return new Intl.DateTimeFormat(t, r).format(s);
3266
3319
  }
@@ -3294,7 +3347,7 @@ function Qo(e, t, r) {
3294
3347
  throw new Error(`Unsupported unit: ${e}`);
3295
3348
  }
3296
3349
  }
3297
- const ys = (e) => {
3350
+ const Cs = (e) => {
3298
3351
  if (e >= 11 && e <= 13)
3299
3352
  return `${e}th`;
3300
3353
  switch (e % 10) {
@@ -3316,14 +3369,14 @@ function Ko(e, t) {
3316
3369
  case "month":
3317
3370
  return `${r.format(t)} ${t.getFullYear()}`;
3318
3371
  case "day":
3319
- return `${r.format(t)} ${ys(t.getDate())}, ${t.getFullYear()}`;
3372
+ return `${r.format(t)} ${Cs(t.getDate())}, ${t.getFullYear()}`;
3320
3373
  case "hour": {
3321
3374
  const s = new Intl.DateTimeFormat("en-US", {
3322
3375
  hour: "numeric",
3323
3376
  minute: "2-digit",
3324
3377
  hour12: !0
3325
3378
  });
3326
- return `${r.format(t)} ${ys(t.getDate())}, ${s.format(t)}`;
3379
+ return `${r.format(t)} ${Cs(t.getDate())}, ${s.format(t)}`;
3327
3380
  }
3328
3381
  default:
3329
3382
  throw new Error(`Unsupported granularity: ${e}`);
@@ -3426,10 +3479,10 @@ const Jo = /* @__PURE__ */ D(class extends F {
3426
3479
  }
3427
3480
  render() {
3428
3481
  const r = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), o = this.getLabel(this.endValue);
3429
- return i("div", { key: "3b2e8576d64826f123d40deff3b0df9316649a03", class: "searchcraft-slider" }, i("div", { key: "ecaa546b96855aad4e839c5e34e995da0925e0b6", class: "searchcraft-slider-range" }, i("div", { key: "f37fc0329249857a29f77d9e3739d10f05f6bf62", class: "searchcraft-slider-active-range", style: {
3482
+ return l("div", { key: "3b2e8576d64826f123d40deff3b0df9316649a03", class: "searchcraft-slider" }, l("div", { key: "ecaa546b96855aad4e839c5e34e995da0925e0b6", class: "searchcraft-slider-range" }, l("div", { key: "f37fc0329249857a29f77d9e3739d10f05f6bf62", class: "searchcraft-slider-active-range", style: {
3430
3483
  left: `${r}%`,
3431
3484
  width: `${s - r}%`
3432
- } }), i("input", { key: "7b5e6f3983b7c109ea0a3f2b248c35d0e225400b", class: ee("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), i("input", { key: "b5bb628b73c8b582a31453e73cb3ef38579eeea5", class: ee("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), i("div", { key: "ecb379babd244e3205f30d45628506566fbeff3c", class: "searchcraft-slider-label" }, i("span", { key: "2be886d05c323f7da1059be88c0cb8ede2e1e98b", class: "searchcraft-slider-start-label" }, a), i("span", { key: "bf66fcab3fae565980a4637cb13b14589ffcb5ba", class: "searchcraft-slider-end-label" }, o)));
3485
+ } }), l("input", { key: "7b5e6f3983b7c109ea0a3f2b248c35d0e225400b", class: ee("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), l("input", { key: "b5bb628b73c8b582a31453e73cb3ef38579eeea5", class: ee("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), l("div", { key: "ecb379babd244e3205f30d45628506566fbeff3c", class: "searchcraft-slider-label" }, l("span", { key: "2be886d05c323f7da1059be88c0cb8ede2e1e98b", class: "searchcraft-slider-start-label" }, a), l("span", { key: "bf66fcab3fae565980a4637cb13b14589ffcb5ba", class: "searchcraft-slider-end-label" }, o)));
3433
3486
  }
3434
3487
  }, [0, "searchcraft-slider", {
3435
3488
  max: [2],
@@ -3443,7 +3496,7 @@ const Jo = /* @__PURE__ */ D(class extends F {
3443
3496
  startValue: [32],
3444
3497
  lastFocusedHandle: [32]
3445
3498
  }]);
3446
- function Xs() {
3499
+ function Js() {
3447
3500
  if (typeof customElements > "u")
3448
3501
  return;
3449
3502
  ["searchcraft-slider"].forEach((t) => {
@@ -3488,9 +3541,9 @@ const ec = /* @__PURE__ */ D(class extends F {
3488
3541
  (r = this.unsubscribe) == null || r.call(this);
3489
3542
  }
3490
3543
  render() {
3491
- return i("div", { key: "f8a751315daf6bcdc0d47bc4fc802bc4615e565f", class: ee("searchcraft-toggle-button", {
3544
+ return l("div", { key: "f8a751315daf6bcdc0d47bc4fc802bc4615e565f", class: ee("searchcraft-toggle-button", {
3492
3545
  "searchcraft-toggle-button-active": this.isActive
3493
- }) }, i("div", { key: "aaa92d7c1aebe241a163a1fba7cd1f8d3804286d" }, i("p", { key: "068b82b17a99bf55ad17818d0dd4c7e95858317b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && i("p", { key: "39e43e3fad6a2ab09d20f37c6d6865cede3701d9", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), i("button", { key: "5ae352870d4a01c430389e75b967b2eb9d3fa5f7", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, i("div", { key: "0574ade4e1681ce8e122039c40e761cb68555621", class: "searchcraft-toggle-button-handle" })));
3546
+ }) }, l("div", { key: "aaa92d7c1aebe241a163a1fba7cd1f8d3804286d" }, l("p", { key: "068b82b17a99bf55ad17818d0dd4c7e95858317b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && l("p", { key: "39e43e3fad6a2ab09d20f37c6d6865cede3701d9", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), l("button", { key: "5ae352870d4a01c430389e75b967b2eb9d3fa5f7", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, l("div", { key: "0574ade4e1681ce8e122039c40e761cb68555621", class: "searchcraft-toggle-button-handle" })));
3494
3547
  }
3495
3548
  }, [0, "searchcraft-toggle-button", {
3496
3549
  label: [1],
@@ -3499,7 +3552,7 @@ const ec = /* @__PURE__ */ D(class extends F {
3499
3552
  unsubscribe: [32],
3500
3553
  lastSearchTerm: [32]
3501
3554
  }]);
3502
- function Js() {
3555
+ function ea() {
3503
3556
  if (typeof customElements > "u")
3504
3557
  return;
3505
3558
  ["searchcraft-toggle-button"].forEach((t) => {
@@ -3566,35 +3619,35 @@ const tc = /* @__PURE__ */ D(class extends F {
3566
3619
  * Iterate through `items` and render them based on `type`
3567
3620
  */
3568
3621
  render() {
3569
- return i("div", { key: "fb5fce357783f39b0a2846a0bd99994faa5e742d", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3622
+ return l("div", { key: "fb5fce357783f39b0a2846a0bd99994faa5e742d", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3570
3623
  switch (r.type) {
3571
3624
  case "dateRange": {
3572
3625
  const s = r;
3573
- return i("div", { class: "searchcraft-filter-panel-section" }, i("p", { class: "searchcraft-filter-panel-label" }, r.label), i("searchcraft-slider", { min: s.options.minDate.getTime(), max: s.options.maxDate.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (a) => {
3626
+ return l("div", { class: "searchcraft-filter-panel-section" }, l("p", { class: "searchcraft-filter-panel-label" }, r.label), l("searchcraft-slider", { min: s.options.minDate.getTime(), max: s.options.maxDate.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (a) => {
3574
3627
  this.handleDateRangeChanged(s, a.detail.startValue, a.detail.endValue);
3575
3628
  } }));
3576
3629
  }
3577
3630
  case "numericRange": {
3578
3631
  const s = r;
3579
- return i("div", { class: "searchcraft-filter-panel-section" }, i("p", { class: "searchcraft-filter-panel-label" }, r.label), i("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
3632
+ return l("div", { class: "searchcraft-filter-panel-section" }, l("p", { class: "searchcraft-filter-panel-label" }, r.label), l("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
3580
3633
  this.handleNumericRangeChanged(s.fieldName, a.detail.startValue, a.detail.endValue);
3581
3634
  } }));
3582
3635
  }
3583
3636
  case "facets": {
3584
3637
  const s = r;
3585
- return i("div", { class: "searchcraft-filter-panel-section" }, i("p", { class: "searchcraft-filter-panel-label" }, r.label), i("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
3638
+ return l("div", { class: "searchcraft-filter-panel-section" }, l("p", { class: "searchcraft-filter-panel-label" }, r.label), l("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
3586
3639
  this.handleFacetSelectionUpdated(s.fieldName, a.detail.paths);
3587
3640
  } }));
3588
3641
  }
3589
3642
  case "exactMatchToggle": {
3590
3643
  const s = r;
3591
- return i("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3644
+ return l("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3592
3645
  this.handleExactMatchToggleUpdated(a.detail);
3593
3646
  } });
3594
3647
  }
3595
3648
  case "mostRecentToggle": {
3596
3649
  const s = r;
3597
- return i("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3650
+ return l("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3598
3651
  this.handleMostRecentToggleUpdated(s.fieldName, a.detail);
3599
3652
  } });
3600
3653
  }
@@ -3615,13 +3668,13 @@ function rc() {
3615
3668
  customElements.get(t) || customElements.define(t, tc);
3616
3669
  break;
3617
3670
  case "searchcraft-facet-list":
3618
- customElements.get(t) || Qs();
3671
+ customElements.get(t) || Ks();
3619
3672
  break;
3620
3673
  case "searchcraft-slider":
3621
- customElements.get(t) || Xs();
3674
+ customElements.get(t) || Js();
3622
3675
  break;
3623
3676
  case "searchcraft-toggle-button":
3624
- customElements.get(t) || Js();
3677
+ customElements.get(t) || ea();
3625
3678
  break;
3626
3679
  }
3627
3680
  });
@@ -3637,13 +3690,13 @@ const sc = rc, ac = /* @__PURE__ */ D(class extends F {
3637
3690
  this.__registerHost();
3638
3691
  }
3639
3692
  render() {
3640
- return i("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: ee("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
3693
+ return l("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: ee("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
3641
3694
  }
3642
3695
  }, [0, "searchcraft-input-label", {
3643
3696
  inputLabelClassName: [1, "input-label-class-name"],
3644
3697
  label: [1]
3645
3698
  }]);
3646
- function pr() {
3699
+ function mr() {
3647
3700
  if (typeof customElements > "u")
3648
3701
  return;
3649
3702
  ["searchcraft-input-label"].forEach((t) => {
@@ -3704,16 +3757,14 @@ const nc = /* @__PURE__ */ D(class extends F {
3704
3757
  });
3705
3758
  f(this, "handleInput", (r) => {
3706
3759
  const s = r.target;
3707
- this.inputValue = s.value, this.autoSearch && this.performSearch(s.value);
3760
+ this.inputValue = s.value, this.searchcraftStore.setSearchTerm(s.value), this.autoSearch && this.performSearch();
3708
3761
  });
3709
- f(this, "performSearch", async (r) => {
3710
- if (r !== this.searchTerm) {
3711
- this.searchcraftStore.setSearchTerm(r.trim()), this.error = !1;
3712
- try {
3713
- await this.searchcraftStore.search();
3714
- } catch (s) {
3715
- console.error(`Search for ${r} failed:`, s), this.error = !0;
3716
- }
3762
+ f(this, "performSearch", async () => {
3763
+ this.error = !1;
3764
+ try {
3765
+ await this.searchcraftStore.search();
3766
+ } catch {
3767
+ this.error = !0;
3717
3768
  }
3718
3769
  });
3719
3770
  f(this, "handleReset", () => {
@@ -3723,7 +3774,7 @@ const nc = /* @__PURE__ */ D(class extends F {
3723
3774
  this.handleReset();
3724
3775
  });
3725
3776
  f(this, "handleFormSubmit", async (r) => {
3726
- r.preventDefault(), await this.performSearch(this.inputValue);
3777
+ r.preventDefault(), await this.performSearch();
3727
3778
  });
3728
3779
  this.__registerHost(), this.inputFocus = be(this, "inputFocus"), this.inputBlur = be(this, "inputBlur"), this.inputInit = be(this, "inputInit");
3729
3780
  }
@@ -3754,7 +3805,7 @@ const nc = /* @__PURE__ */ D(class extends F {
3754
3805
  }), o = {
3755
3806
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
3756
3807
  };
3757
- return i("form", { key: "7f3fe524949a5940d2852ef8fe510ab0c0b910f1", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, i("div", { key: "12a137ff4ecaab2a047cb787c878ddf0ed973d3f", class: s, style: o }, i("div", { key: "12c7dadcc6fa22467a5165c10e12a0e343ea2ed3", class: "searchcraft-input-form-button" }, i("searchcraft-button", { key: "477fe1299556e5c5bc6b902de65c71f11aad97ac", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && i("div", { key: "cf04132b3a95943fe8371f64778130c3f8bbc379", class: "searchcraft-input-form-label" }, i("searchcraft-input-label", { key: "b840d1b65c1fc11879cf25bcc88022eafa583109", label: this.inputLabel })), this.error && i("div", { key: "ed9a441bfd57cab076f8218e1f7d4baecf5e9ce2", class: "searchcraft-input-form-error-message" }, i("searchcraft-error-message", { key: "9624592768ab3cc0c683f5636b83022349af66cd" }, "Something went wrong.")), i("div", { key: "99f06b4c38b4cc26f534a3f3be6a7c23b5946c62", class: "searchcraft-input-form-input-wrapper" }, i("input", { key: "90fe4eca0771ca15378685861ae0bd700110ac15", autoComplete: "off", class: ee("searchcraft-input-form-input", {
3808
+ return l("form", { key: "d0654def009278279b7edeeccc6044d999c0d5b0", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, l("div", { key: "27978b08e46e0f8ecdf6dc95a74c962d85f5e9ff", class: s, style: o }, l("div", { key: "1f7cecc80a84bfc46c994971cd751d2b65af6d83", class: "searchcraft-input-form-button" }, l("searchcraft-button", { key: "b3f2078604c380eef895be103b2bdf5cef6bca84", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && l("div", { key: "b33c0d3cbb3512964c3a47a2c354a610fa6faa09", class: "searchcraft-input-form-label" }, l("searchcraft-input-label", { key: "e620088318c82e2e70d885bd3ee2c88ef8118e7c", label: this.inputLabel })), this.error && l("div", { key: "c3a20576917aaa33cc12df5ee5b479f87d628de7", class: "searchcraft-input-form-error-message" }, l("searchcraft-error-message", { key: "f48e54a236b7a33fa55bab7f29d3b321be0bbb77" }, "Something went wrong.")), l("div", { key: "ebda089a3b8698892fd6cebcbaf89582a1bb21a2", class: "searchcraft-input-form-input-wrapper" }, l("input", { key: "d7ea7b49f7d65067924168fc281033841a71d419", autoComplete: "off", class: ee("searchcraft-input-form-input", {
3758
3809
  "searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
3759
3810
  }), onFocus: () => {
3760
3811
  var n;
@@ -3764,7 +3815,7 @@ const nc = /* @__PURE__ */ D(class extends F {
3764
3815
  return (n = this.inputBlur) == null ? void 0 : n.emit();
3765
3816
  }, onInput: (n) => {
3766
3817
  this.handleInput(n);
3767
- }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), i("div", { key: "81a377845c20ba1ea8ed2ff73469026c7b2dc16a", class: "searchcraft-input-form-input-icon" }, i("svg", { key: "06e127c9878b65c17a72ae75841c9b5a1eec6197", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, i("title", { key: "37ebce26440a6e3fcdad1b342412b0aaec5e690c" }, "Search icon"), i("path", { key: "3c5bcab0759d52e05a5f07ef27396461cf3b626c", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), r && i("button", { key: "bbca17429ef3de340d7ee064e71c3858abc1022a", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, i("svg", { key: "94eee54f0735020bf77f56607bb870888d5a23e9", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, i("title", { key: "5f7e9beb4f2c4c394f19cc2c312be59de166a0c8" }, "Clear icon"), i("path", { key: "138c29ea054bd535d0a8b5cb708bbea31d21c40a", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
3818
+ }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), l("div", { key: "6dd4a02322072467a104938a47626592658eaa1e", class: "searchcraft-input-form-input-icon" }, l("svg", { key: "26a4deabe9149db6db219e49fcccbbe7688e9f0a", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, l("title", { key: "eff07788d2edaead45a60d8ac20e5d1d694c5165" }, "Search icon"), l("path", { key: "9083cf32c8f749210232b51b1f5934a3c32b109f", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), r && l("button", { key: "0b2117ae2510fe743b11d8e638e981ee0f7e4760", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, l("svg", { key: "3fbb57c1b6486638286e1010639751a83a75f489", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, l("title", { key: "84ce771c55c072b4339babb136639469b68a1f9b" }, "Clear icon"), l("path", { key: "811f5fc9cc708f80004f1cf50ddcd85de05f3b6b", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
3768
3819
  }
3769
3820
  static get watchers() {
3770
3821
  return {
@@ -3785,7 +3836,7 @@ const nc = /* @__PURE__ */ D(class extends F {
3785
3836
  }, void 0, {
3786
3837
  core: ["onCoreChange"]
3787
3838
  }]);
3788
- function ea() {
3839
+ function ta() {
3789
3840
  if (typeof customElements > "u")
3790
3841
  return;
3791
3842
  ["searchcraft-input-form", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-label"].forEach((t) => {
@@ -3800,12 +3851,12 @@ function ea() {
3800
3851
  customElements.get(t) || xt();
3801
3852
  break;
3802
3853
  case "searchcraft-input-label":
3803
- customElements.get(t) || pr();
3854
+ customElements.get(t) || mr();
3804
3855
  break;
3805
3856
  }
3806
3857
  });
3807
3858
  }
3808
- const oc = ea, cc = pr, ic = /* @__PURE__ */ D(class extends F {
3859
+ const oc = ta, cc = mr, ic = /* @__PURE__ */ D(class extends F {
3809
3860
  constructor() {
3810
3861
  super();
3811
3862
  // store vars
@@ -3837,27 +3888,27 @@ const oc = ea, cc = pr, ic = /* @__PURE__ */ D(class extends F {
3837
3888
  this.setSearchResultsPage(r);
3838
3889
  }
3839
3890
  renderOddPaginationItem(r) {
3840
- return i("li", null, i("button", { class: ee("searchcraft-pagination-item", {
3891
+ return l("li", null, l("button", { class: ee("searchcraft-pagination-item", {
3841
3892
  "searchcraft-pagination-item-active": this.searchResultsPage === r
3842
3893
  }), onClick: () => this.handleGoToPage(r), type: "button" }, r));
3843
3894
  }
3844
3895
  renderEvenPaginationItem(r) {
3845
3896
  if (!(this.searchResultsPagesCount <= r))
3846
- return (this.searchResultsPagesCount <= 5 || r < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= r + 1 : this.searchResultsPage >= r - 1) ? i("li", null, i("button", { class: ee("searchcraft-pagination-item", {
3897
+ return (this.searchResultsPagesCount <= 5 || r < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= r + 1 : this.searchResultsPage >= r - 1) ? l("li", null, l("button", { class: ee("searchcraft-pagination-item", {
3847
3898
  "searchcraft-pagination-item-active": this.searchResultsPage === r
3848
- }), onClick: () => this.handleGoToPage(r), type: "button" }, r)) : i("li", null, i("span", { class: "searchcraft-pagination-item" }, "..."));
3899
+ }), onClick: () => this.handleGoToPage(r), type: "button" }, r)) : l("li", null, l("span", { class: "searchcraft-pagination-item" }, "..."));
3849
3900
  }
3850
3901
  renderMiddlePaginationItem() {
3851
3902
  if (!(this.searchResultsPagesCount <= 3))
3852
- return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? i("li", null, i("button", { class: ee("searchcraft-pagination-item", {
3903
+ return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? l("li", null, l("button", { class: ee("searchcraft-pagination-item", {
3853
3904
  "searchcraft-pagination-item-active": this.searchResultsPage === 3 || this.searchResultsPage === this.searchResultsPagesCount - 2
3854
- }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : i("li", null, i("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
3905
+ }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : l("li", null, l("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
3855
3906
  }
3856
3907
  render() {
3857
3908
  if (!(!this.searchTerm || this.searchResultsPagesCount <= 1))
3858
- return i("div", { class: "searchcraft-pagination" }, i("div", { class: "searchcraft-pagination-control" }, i("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: i("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("title", null, "Previous page icon"), i("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), i("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), i("div", { class: "searchcraft-pagination-control" }, i("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
3909
+ return l("div", { class: "searchcraft-pagination" }, l("div", { class: "searchcraft-pagination-control" }, l("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: l("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", null, "Previous page icon"), l("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), l("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), l("div", { class: "searchcraft-pagination-control" }, l("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
3859
3910
  this.handleGoToPage(Math.min(this.searchResultsPagesCount, this.searchResultsPage + 1));
3860
- }, label: "Next", iconPosition: "right", icon: i("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("title", null, "Next page icon"), i("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
3911
+ }, label: "Next", iconPosition: "right", icon: l("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", null, "Next page icon"), l("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
3861
3912
  }
3862
3913
  }, [0, "searchcraft-pagination", {
3863
3914
  searchTerm: [32],
@@ -3901,10 +3952,10 @@ const uc = lc, hc = /* @__PURE__ */ D(class extends F {
3901
3952
  f(this, "userAgent");
3902
3953
  f(this, "unsubscribe", () => {
3903
3954
  });
3904
- f(this, "renderOptionSymbol", () => i("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, i("title", null, "Option key"), i("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), i("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
3905
- f(this, "renderCtrlSymbol", () => i("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, i("title", null, "Ctrl key"), i("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
3906
- f(this, "renderWindowsMetaSymbol", () => i("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, i("title", null, "Windows meta key"), i("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
3907
- f(this, "renderMacMetaSymbol", () => i("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, i("title", null, "Mac meta key"), i("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
3955
+ f(this, "renderOptionSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Option key"), l("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), l("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
3956
+ f(this, "renderCtrlSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Ctrl key"), l("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
3957
+ f(this, "renderWindowsMetaSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Windows meta key"), l("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
3958
+ f(this, "renderMacMetaSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Mac meta key"), l("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
3908
3959
  this.__registerHost();
3909
3960
  }
3910
3961
  handleOnClick() {
@@ -3943,18 +3994,18 @@ const uc = lc, hc = /* @__PURE__ */ D(class extends F {
3943
3994
  }
3944
3995
  }
3945
3996
  renderSkeuomorphicSlot() {
3946
- return i("div", { class: "searchcraft-popover-button-wrapper" }, i("div", { class: "searchcraft-popover-button-input" }, i("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, i("title", null, "Search icon"), i("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), i("span", null, "Search")), i("div", { class: "searchcraft-popover-button-keycaps" }, i("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, i("span", null, this.hotkeyModifierSymbol)), i("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, i("span", null, this.hotkey))));
3997
+ return l("div", { class: "searchcraft-popover-button-wrapper" }, l("div", { class: "searchcraft-popover-button-input" }, l("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, l("title", null, "Search icon"), l("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), l("span", null, "Search")), l("div", { class: "searchcraft-popover-button-keycaps" }, l("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, l("span", null, this.hotkeyModifierSymbol)), l("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, l("span", null, this.hotkey))));
3947
3998
  }
3948
3999
  renderSlot() {
3949
4000
  switch (this.type) {
3950
4001
  case "skeuomorphic":
3951
4002
  return this.renderSkeuomorphicSlot();
3952
4003
  default:
3953
- return i("div", null, i("slot", null));
4004
+ return l("div", null, l("slot", null));
3954
4005
  }
3955
4006
  }
3956
4007
  render() {
3957
- return i("button", { key: "74e36b0593ba2cbb03f5ecff1434bc7056bf0db0", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: et }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
4008
+ return l("button", { key: "74e36b0593ba2cbb03f5ecff1434bc7056bf0db0", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: et }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
3958
4009
  }
3959
4010
  }, [4, "searchcraft-popover-button", {
3960
4011
  template: [16],
@@ -3994,12 +4045,12 @@ const fc = dc, pc = /* @__PURE__ */ D(class extends F {
3994
4045
  (r = this.unsubscribe) == null || r.call(this);
3995
4046
  }
3996
4047
  render() {
3997
- return i("footer", { key: "e1344ae185ef1b8a83bb69ba88e2952ab1c75e70", class: "searchcraft-popover-footer" }, i("p", { key: "51874f4ce490e4f164b999e8c6f89710702e73bd", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Ks(this.searchResultsCount)} Results Found` : " "), i("a", { key: "5476e24cc3fa7fa265bd2b5cba43c8a70d8609ca", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, i("svg", { key: "0a4edf94e9e40a96a93a4e7ba1ffbd081e51b585", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("title", { key: "67813a626922d709a4409028cb0f3f1ce3e2cfe8" }, "Powered by Searchcraft"), i("path", { key: "bf9e46a5f9783edd7167c1c5c1256d0200053969", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
4048
+ return l("footer", { key: "e1344ae185ef1b8a83bb69ba88e2952ab1c75e70", class: "searchcraft-popover-footer" }, l("p", { key: "51874f4ce490e4f164b999e8c6f89710702e73bd", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Xs(this.searchResultsCount)} Results Found` : " "), l("a", { key: "5476e24cc3fa7fa265bd2b5cba43c8a70d8609ca", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, l("svg", { key: "0a4edf94e9e40a96a93a4e7ba1ffbd081e51b585", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", { key: "67813a626922d709a4409028cb0f3f1ce3e2cfe8" }, "Powered by Searchcraft"), l("path", { key: "bf9e46a5f9783edd7167c1c5c1256d0200053969", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
3998
4049
  }
3999
4050
  }, [0, "searchcraft-popover-footer", {
4000
4051
  searchResultsCount: [32]
4001
4052
  }]);
4002
- function ta() {
4053
+ function ra() {
4003
4054
  if (typeof customElements > "u")
4004
4055
  return;
4005
4056
  ["searchcraft-popover-footer"].forEach((t) => {
@@ -4010,7 +4061,7 @@ function ta() {
4010
4061
  }
4011
4062
  });
4012
4063
  }
4013
- const mc = ta, gc = /* @__PURE__ */ D(class extends F {
4064
+ const mc = ra, gc = /* @__PURE__ */ D(class extends F {
4014
4065
  constructor() {
4015
4066
  super();
4016
4067
  f(this, "item");
@@ -4046,7 +4097,7 @@ const mc = ta, gc = /* @__PURE__ */ D(class extends F {
4046
4097
  disconnectedCallback() {
4047
4098
  }
4048
4099
  render() {
4049
- return i("div", { key: "63a2f070ce71cd1330105c03985e32cd1f228b29", class: "searchcraft-popover-list-item" }, i("a", { key: "d9bb09248be9be235147acdfeed1a9f29cd123a2", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && i("div", { key: "6af7c3e754885730d8651a593f13b7b5b704a26d", class: "searchcraft-popover-list-item-image-wrapper" }, i("img", { key: "74c7e53467efd83ae95439a7065c1de2748113f5", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), i("div", { key: "25a12e5cf582b248773005f5fb58f7a15304d2d1", class: "searchcraft-popover-list-item-content" }, this.title && i("p", { key: "8169f7730feb832178adbc9bdb14a089e955a2ad", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && i("p", { key: "96812df1bab635e3865bdfdb31f133ca629d800e", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
4100
+ return l("div", { key: "63a2f070ce71cd1330105c03985e32cd1f228b29", class: "searchcraft-popover-list-item" }, l("a", { key: "d9bb09248be9be235147acdfeed1a9f29cd123a2", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && l("div", { key: "6af7c3e754885730d8651a593f13b7b5b704a26d", class: "searchcraft-popover-list-item-image-wrapper" }, l("img", { key: "74c7e53467efd83ae95439a7065c1de2748113f5", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), l("div", { key: "25a12e5cf582b248773005f5fb58f7a15304d2d1", class: "searchcraft-popover-list-item-content" }, this.title && l("p", { key: "8169f7730feb832178adbc9bdb14a089e955a2ad", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && l("p", { key: "96812df1bab635e3865bdfdb31f133ca629d800e", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
4050
4101
  }
4051
4102
  }, [0, "searchcraft-popover-list-item", {
4052
4103
  item: [16],
@@ -4058,7 +4109,7 @@ const mc = ta, gc = /* @__PURE__ */ D(class extends F {
4058
4109
  imageSource: [32],
4059
4110
  imageAlt: [32]
4060
4111
  }]);
4061
- function mr() {
4112
+ function gr() {
4062
4113
  if (typeof customElements > "u")
4063
4114
  return;
4064
4115
  ["searchcraft-popover-list-item"].forEach((t) => {
@@ -4069,7 +4120,7 @@ function mr() {
4069
4120
  }
4070
4121
  });
4071
4122
  }
4072
- var Ss;
4123
+ var ws;
4073
4124
  const vc = /* @__PURE__ */ D(class extends F {
4074
4125
  constructor() {
4075
4126
  super();
@@ -4085,46 +4136,46 @@ const vc = /* @__PURE__ */ D(class extends F {
4085
4136
  f(this, "adClientResponseItems");
4086
4137
  f(this, "searchResultsPage");
4087
4138
  f(this, "searchResultsPerPage");
4088
- f(this, "config", (Ss = $.getState().core) == null ? void 0 : Ss.config);
4139
+ f(this, "config", (ws = $.getState().core) == null ? void 0 : ws.config);
4089
4140
  this.__registerHost();
4090
4141
  }
4091
4142
  renderWithADMAds() {
4092
4143
  var r, s;
4093
- return i("div", { class: "searchcraft-popover-list-view" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((a) => i("searchcraft-ad", { adClientResponseItem: a, adContainerId: X(), adSource: "adMarketplace", key: a.id })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => i("searchcraft-popover-list-item", { item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
4144
+ return l("div", { class: "searchcraft-popover-list-view" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((a) => l("searchcraft-ad", { adClientResponseItem: a, adContainerId: X(), adSource: "adMarketplace", key: a.id })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => l("searchcraft-popover-list-item", { item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
4094
4145
  }
4095
4146
  renderWithCustomAds() {
4096
- var l, h, u, p;
4097
- const r = [], s = ((l = this.config) == null ? void 0 : l.customAdInterstitialInterval) || 0, a = ((h = this.config) == null ? void 0 : h.customAdInterstitialQuantity) || 1, o = ((u = this.config) == null ? void 0 : u.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = this.searchClientResponseItems || [];
4147
+ var i, h, u, p;
4148
+ const r = [], s = ((i = this.config) == null ? void 0 : i.customAdInterstitialInterval) || 0, a = ((h = this.config) == null ? void 0 : h.customAdInterstitialQuantity) || 1, o = ((u = this.config) == null ? void 0 : u.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = this.searchClientResponseItems || [];
4098
4149
  for (let m = 0; m < o; m++)
4099
- r.push(i("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${m}-ad` }));
4100
- c.forEach((m, S) => {
4101
- if (s && S % s === 0 && S + s < c.length && S >= s)
4102
- for (let b = 0; b < a; b++)
4103
- r.push(i("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${m.id}-ad-${b}` }));
4104
- r.push(i("searchcraft-popover-list-item", { item: m, key: m.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + S }));
4150
+ r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${m}-ad` }));
4151
+ c.forEach((m, b) => {
4152
+ if (s && b % s === 0 && b + s < c.length && b >= s)
4153
+ for (let v = 0; v < a; v++)
4154
+ r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${m.id}-ad-${v}` }));
4155
+ r.push(l("searchcraft-popover-list-item", { item: m, key: m.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + b }));
4105
4156
  });
4106
4157
  for (let m = 0; m < n; m++)
4107
- r.push(i("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${m}-ad` }));
4108
- return i("div", { class: "searchcraft-popover-list-view" }, r);
4158
+ r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${m}-ad` }));
4159
+ return l("div", { class: "searchcraft-popover-list-view" }, r);
4109
4160
  }
4110
4161
  renderWithNativoAds() {
4111
- var h, u, p, m, S;
4112
- const r = [], s = ((h = this.config) == null ? void 0 : h.nativoAdInterstialStartIndex) || 0, a = ((u = this.config) == null ? void 0 : u.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((S = this.config) == null ? void 0 : S.nativoAdEndQuantity) || 0, l = this.searchClientResponseItems || [];
4113
- for (let b = 0; b < n; b++)
4114
- r.push(i("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${b}-ad` }));
4115
- l.forEach((b, P) => {
4116
- if (a && (P + s) % a === 0 && P + a < l.length && P >= a)
4162
+ var h, u, p, m, b;
4163
+ const r = [], s = ((h = this.config) == null ? void 0 : h.nativoAdInterstialStartIndex) || 0, a = ((u = this.config) == null ? void 0 : u.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((b = this.config) == null ? void 0 : b.nativoAdEndQuantity) || 0, i = this.searchClientResponseItems || [];
4164
+ for (let v = 0; v < n; v++)
4165
+ r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${v}-ad` }));
4166
+ i.forEach((v, P) => {
4167
+ if (a && (P + s) % a === 0 && P + a < i.length && P >= a)
4117
4168
  for (let _ = 0; _ < o; _++)
4118
- r.push(i("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${b.id}-ad-${_}` }));
4119
- r.push(i("searchcraft-popover-list-item", { item: b, key: b.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
4169
+ r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${v.id}-ad-${_}` }));
4170
+ r.push(l("searchcraft-popover-list-item", { item: v, key: v.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
4120
4171
  });
4121
- for (let b = 0; b < c; b++)
4122
- r.push(i("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${b}-ad` }));
4123
- return i("div", { class: "searchcraft-popover-list-view" }, r);
4172
+ for (let v = 0; v < c; v++)
4173
+ r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${v}-ad` }));
4174
+ return l("div", { class: "searchcraft-popover-list-view" }, r);
4124
4175
  }
4125
4176
  renderWithNoAds() {
4126
4177
  var r;
4127
- return i("div", { class: "searchcraft-popover-list-view" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((s, a) => i("searchcraft-popover-list-item", { item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
4178
+ return l("div", { class: "searchcraft-popover-list-view" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((s, a) => l("searchcraft-popover-list-item", { item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
4128
4179
  }
4129
4180
  render() {
4130
4181
  var r;
@@ -4146,7 +4197,7 @@ const vc = /* @__PURE__ */ D(class extends F {
4146
4197
  searchResultsPage: [2, "search-results-page"],
4147
4198
  searchResultsPerPage: [2, "search-results-per-page"]
4148
4199
  }]);
4149
- function ra() {
4200
+ function sa() {
4150
4201
  if (typeof customElements > "u")
4151
4202
  return;
4152
4203
  ["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((t) => {
@@ -4158,7 +4209,7 @@ function ra() {
4158
4209
  customElements.get(t) || wt();
4159
4210
  break;
4160
4211
  case "searchcraft-popover-list-item":
4161
- customElements.get(t) || mr();
4212
+ customElements.get(t) || gr();
4162
4213
  break;
4163
4214
  }
4164
4215
  });
@@ -4294,21 +4345,21 @@ const bc = /* @__PURE__ */ D(class extends F {
4294
4345
  }
4295
4346
  renderInlinePopover() {
4296
4347
  const r = this.hasResultsToShow && this.isFocused;
4297
- return i("div", { class: ee("searchcraft-popover-form searchcraft-popover-form-inline", {
4348
+ return l("div", { class: ee("searchcraft-popover-form searchcraft-popover-form-inline", {
4298
4349
  "searchcraft-popover-form-active": r
4299
- }) }, i("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, i("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this) })), r && i("div", { class: "searchcraft-popover-form-inline-wrapper" }, i("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }), i("searchcraft-popover-footer", null)));
4350
+ }) }, l("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, l("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this) })), r && l("div", { class: "searchcraft-popover-form-inline-wrapper" }, l("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }), l("searchcraft-popover-footer", null)));
4300
4351
  }
4301
4352
  renderModalPopover() {
4302
4353
  if (this.isPopoverVisibleInState)
4303
- return i("div", { class: ee("searchcraft-popover-form searchcraft-popover-form-modal", {
4354
+ return l("div", { class: ee("searchcraft-popover-form searchcraft-popover-form-modal", {
4304
4355
  "searchcraft-popover-form-active": this.hasResultsToShow
4305
- }) }, i("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), i("div", { class: "searchcraft-popover-form-modal-wrapper" }, i("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, i("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), i("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), i("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && i("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), i("searchcraft-popover-footer", null)));
4356
+ }) }, l("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), l("div", { class: "searchcraft-popover-form-modal-wrapper" }, l("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, l("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), l("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), l("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && l("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), l("searchcraft-popover-footer", null)));
4306
4357
  }
4307
4358
  renderFullscreenPopover() {
4308
4359
  if (this.isPopoverVisibleInState)
4309
- return i("div", { class: ee("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
4360
+ return l("div", { class: ee("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
4310
4361
  "searchcraft-popover-form-active": this.hasResultsToShow
4311
- }) }, i("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, i("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), i("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), i("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && i("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), i("searchcraft-popover-footer", null));
4362
+ }) }, l("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, l("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), l("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), l("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && l("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), l("searchcraft-popover-footer", null));
4312
4363
  }
4313
4364
  render() {
4314
4365
  switch (this.type) {
@@ -4338,7 +4389,7 @@ const bc = /* @__PURE__ */ D(class extends F {
4338
4389
  searchResultsPerPage: [32],
4339
4390
  modalElement: [32]
4340
4391
  }]);
4341
- function sa() {
4392
+ function aa() {
4342
4393
  if (typeof customElements > "u")
4343
4394
  return;
4344
4395
  ["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-footer", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((t) => {
@@ -4356,27 +4407,27 @@ function sa() {
4356
4407
  customElements.get(t) || xt();
4357
4408
  break;
4358
4409
  case "searchcraft-input-form":
4359
- customElements.get(t) || ea();
4410
+ customElements.get(t) || ta();
4360
4411
  break;
4361
4412
  case "searchcraft-input-label":
4362
- customElements.get(t) || pr();
4413
+ customElements.get(t) || mr();
4363
4414
  break;
4364
4415
  case "searchcraft-popover-footer":
4365
- customElements.get(t) || ta();
4416
+ customElements.get(t) || ra();
4366
4417
  break;
4367
4418
  case "searchcraft-popover-form":
4368
- customElements.get(t) || sa();
4419
+ customElements.get(t) || aa();
4369
4420
  break;
4370
4421
  case "searchcraft-popover-list-item":
4371
- customElements.get(t) || mr();
4422
+ customElements.get(t) || gr();
4372
4423
  break;
4373
4424
  case "searchcraft-popover-list-view":
4374
- customElements.get(t) || ra();
4425
+ customElements.get(t) || sa();
4375
4426
  break;
4376
4427
  }
4377
4428
  });
4378
4429
  }
4379
- const yc = sa, Cc = mr, Sc = ra, wc = /* @__PURE__ */ D(class extends F {
4430
+ const yc = aa, Cc = gr, Sc = sa, wc = /* @__PURE__ */ D(class extends F {
4380
4431
  constructor() {
4381
4432
  super();
4382
4433
  /**
@@ -4405,11 +4456,11 @@ const yc = sa, Cc = mr, Sc = ra, wc = /* @__PURE__ */ D(class extends F {
4405
4456
  this.unsubscribe && this.unsubscribe();
4406
4457
  }
4407
4458
  render() {
4408
- return !this.searchTerm || this.searchResultsCount === 0 ? null : i("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
4459
+ return !this.searchTerm || this.searchResultsCount === 0 ? null : l("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
4409
4460
  range: [Number(this.range[0]), Number(this.range[1])],
4410
4461
  count: this.count,
4411
4462
  responseTime: this.responseTime
4412
- }, { html: et }) : `${Ks(this.count)} results found in ${this.responseTime}ms`);
4463
+ }, { html: et }) : `${Xs(this.count)} results found in ${this.responseTime}ms`);
4413
4464
  }
4414
4465
  }, [0, "searchcraft-results-info", {
4415
4466
  template: [16],
@@ -4457,11 +4508,11 @@ const xc = kc, Ec = /* @__PURE__ */ D(class extends F {
4457
4508
  const n = r.target.closest("a");
4458
4509
  if (!n || !((u = this.hostElement) != null && u.contains(n)) || !a || !a.measureClient)
4459
4510
  return;
4460
- const c = this.documentPosition, l = s.searchTerm, h = s.searchClientResponseItems.length || 0;
4511
+ const c = this.documentPosition, i = s.searchTerm, h = s.searchClientResponseItems.length || 0;
4461
4512
  a.measureClient.sendMeasureEvent("document_clicked", {
4462
4513
  document_position: c,
4463
4514
  number_of_documents: h,
4464
- search_term: l
4515
+ search_term: i
4465
4516
  });
4466
4517
  });
4467
4518
  f(this, "handleKeyDown", () => {
@@ -4485,7 +4536,7 @@ const xc = kc, Ec = /* @__PURE__ */ D(class extends F {
4485
4536
  }
4486
4537
  render() {
4487
4538
  if (this.item)
4488
- return typeof this.template > "u" ? i("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([r, s]) => i("p", { key: r }, i("strong", null, r), ": ", s))) : i("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
4539
+ return typeof this.template > "u" ? l("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([r, s]) => l("p", { key: r }, l("strong", null, r), ": ", s))) : l("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
4489
4540
  }
4490
4541
  }, [0, "searchcraft-search-result", {
4491
4542
  item: [16],
@@ -4494,7 +4545,7 @@ const xc = kc, Ec = /* @__PURE__ */ D(class extends F {
4494
4545
  template: [16],
4495
4546
  templateHtml: [32]
4496
4547
  }]);
4497
- function aa() {
4548
+ function na() {
4498
4549
  if (typeof customElements > "u")
4499
4550
  return;
4500
4551
  ["searchcraft-search-result"].forEach((t) => {
@@ -4505,7 +4556,7 @@ function aa() {
4505
4556
  }
4506
4557
  });
4507
4558
  }
4508
- const Rc = aa, Tc = /* @__PURE__ */ D(class extends F {
4559
+ const Rc = na, Tc = /* @__PURE__ */ D(class extends F {
4509
4560
  constructor() {
4510
4561
  super();
4511
4562
  /**
@@ -4546,50 +4597,50 @@ const Rc = aa, Tc = /* @__PURE__ */ D(class extends F {
4546
4597
  ], this.isSearchInProgress = r.isSearchInProgress, this.searchClientResponseItems = [...r.searchClientResponseItems], this.searchResultsPage = r.searchResultsPage, this.searchResultsPerPage = r.searchResultsPerPage, this.searchTerm = r.searchTerm;
4547
4598
  }
4548
4599
  renderEmptyState() {
4549
- return i("div", { class: "searchcraft-search-results-empty-state" }, i("slot", { name: "empty-search" }));
4600
+ return l("div", { class: "searchcraft-search-results-empty-state" }, l("slot", { name: "empty-search" }));
4550
4601
  }
4551
4602
  renderNoResultsFoundState() {
4552
- return i("div", { class: "searchcraft-search-results" }, i("div", { class: "searchcraft-search-results-error-message" }, i("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
4603
+ return l("div", { class: "searchcraft-search-results" }, l("div", { class: "searchcraft-search-results-error-message" }, l("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
4553
4604
  }
4554
4605
  renderWithADMAds() {
4555
4606
  var s, a, o;
4556
4607
  const r = (s = this.searchClientResponseItems) != null && s.length ? this.searchClientResponseItems : (a = this.initialSearchClientResponseItems) != null && a.length ? this.initialSearchClientResponseItems : [];
4557
- return i("div", { class: "searchcraft-search-results" }, (o = this.adClientResponseItems) == null ? void 0 : o.map((n) => i("searchcraft-ad", { adSource: "adMarketplace", adClientResponseItem: n, adContainerId: X(), key: n.id })), r.map((n, c) => i("searchcraft-search-result", { key: n.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + c, index: c, item: n, template: this.template })));
4608
+ return l("div", { class: "searchcraft-search-results" }, (o = this.adClientResponseItems) == null ? void 0 : o.map((n) => l("searchcraft-ad", { adSource: "adMarketplace", adClientResponseItem: n, adContainerId: X(), key: n.id })), r.map((n, c) => l("searchcraft-search-result", { key: n.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + c, index: c, item: n, template: this.template })));
4558
4609
  }
4559
4610
  renderWithCustomAds() {
4560
- var l, h, u, p, m, S;
4561
- const r = [], s = ((l = this.config) == null ? void 0 : l.customAdInterstitialInterval) || 0, a = ((h = this.config) == null ? void 0 : h.customAdInterstitialQuantity) || 1, o = ((u = this.config) == null ? void 0 : u.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = (m = this.searchClientResponseItems) != null && m.length ? this.searchClientResponseItems : (S = this.initialSearchClientResponseItems) != null && S.length ? this.initialSearchClientResponseItems : [];
4562
- for (let b = 0; b < o; b++)
4563
- r.push(i("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${b}-ad` }));
4564
- c.forEach((b, P) => {
4611
+ var i, h, u, p, m, b;
4612
+ const r = [], s = ((i = this.config) == null ? void 0 : i.customAdInterstitialInterval) || 0, a = ((h = this.config) == null ? void 0 : h.customAdInterstitialQuantity) || 1, o = ((u = this.config) == null ? void 0 : u.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = (m = this.searchClientResponseItems) != null && m.length ? this.searchClientResponseItems : (b = this.initialSearchClientResponseItems) != null && b.length ? this.initialSearchClientResponseItems : [];
4613
+ for (let v = 0; v < o; v++)
4614
+ r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${v}-ad` }));
4615
+ c.forEach((v, P) => {
4565
4616
  if (s && P % s === 0 && P + s < c.length && P >= s)
4566
4617
  for (let _ = 0; _ < a; _++)
4567
- r.push(i("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${b.id}-ad-${_}` }));
4568
- r.push(i("searchcraft-search-result", { key: b.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: b, template: this.template }));
4618
+ r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${v.id}-ad-${_}` }));
4619
+ r.push(l("searchcraft-search-result", { key: v.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: v, template: this.template }));
4569
4620
  });
4570
- for (let b = 0; b < n; b++)
4571
- r.push(i("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${b}-ad` }));
4572
- return i("div", { class: "searchcraft-search-results" }, r);
4621
+ for (let v = 0; v < n; v++)
4622
+ r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: X(), key: `${v}-ad` }));
4623
+ return l("div", { class: "searchcraft-search-results" }, r);
4573
4624
  }
4574
4625
  renderWithNativoAds() {
4575
- var h, u, p, m, S, b, P;
4576
- const r = [], s = ((h = this.config) == null ? void 0 : h.nativoAdInterstialStartIndex) || 0, a = ((u = this.config) == null ? void 0 : u.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((S = this.config) == null ? void 0 : S.nativoAdEndQuantity) || 0, l = (b = this.searchClientResponseItems) != null && b.length ? this.searchClientResponseItems : (P = this.initialSearchClientResponseItems) != null && P.length ? this.initialSearchClientResponseItems : [];
4626
+ var h, u, p, m, b, v, P;
4627
+ const r = [], s = ((h = this.config) == null ? void 0 : h.nativoAdInterstialStartIndex) || 0, a = ((u = this.config) == null ? void 0 : u.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((b = this.config) == null ? void 0 : b.nativoAdEndQuantity) || 0, i = (v = this.searchClientResponseItems) != null && v.length ? this.searchClientResponseItems : (P = this.initialSearchClientResponseItems) != null && P.length ? this.initialSearchClientResponseItems : [];
4577
4628
  for (let _ = 0; _ < n; _++)
4578
- r.push(i("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${_}-ad` }));
4579
- l.forEach((_, H) => {
4580
- if (a && (H + s) % a === 0 && H + a < l.length && H >= a)
4581
- for (let I = 0; I < o; I++)
4582
- r.push(i("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${_.id}-ad-${I}` }));
4583
- r.push(i("searchcraft-search-result", { key: _.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + H, index: H, item: _, template: this.template }));
4629
+ r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${_}-ad` }));
4630
+ i.forEach((_, H) => {
4631
+ if (a && (H + s) % a === 0 && H + a < i.length && H >= a)
4632
+ for (let A = 0; A < o; A++)
4633
+ r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${_.id}-ad-${A}` }));
4634
+ r.push(l("searchcraft-search-result", { key: _.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + H, index: H, item: _, template: this.template }));
4584
4635
  });
4585
4636
  for (let _ = 0; _ < c; _++)
4586
- r.push(i("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${_}-ad` }));
4587
- return i("div", { class: "searchcraft-search-results" }, r);
4637
+ r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: X(), key: `${_}-ad` }));
4638
+ return l("div", { class: "searchcraft-search-results" }, r);
4588
4639
  }
4589
4640
  renderWithNoAds() {
4590
4641
  var s, a;
4591
4642
  const r = (s = this.searchClientResponseItems) != null && s.length ? this.searchClientResponseItems : (a = this.initialSearchClientResponseItems) != null && a.length ? this.initialSearchClientResponseItems : [];
4592
- return i("div", { class: "searchcraft-search-results" }, r.map((o, n) => i("searchcraft-search-result", { key: o.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, index: n, item: o, template: this.template })));
4643
+ return l("div", { class: "searchcraft-search-results" }, r.map((o, n) => l("searchcraft-search-result", { key: o.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, index: n, item: o, template: this.template })));
4593
4644
  }
4594
4645
  render() {
4595
4646
  var a;
@@ -4636,7 +4687,7 @@ function Pc() {
4636
4687
  customElements.get(t) || xt();
4637
4688
  break;
4638
4689
  case "searchcraft-search-result":
4639
- customElements.get(t) || aa();
4690
+ customElements.get(t) || na();
4640
4691
  break;
4641
4692
  }
4642
4693
  });
@@ -4690,7 +4741,7 @@ const $c = Pc, _c = /* @__PURE__ */ D(class extends F {
4690
4741
  this.setSearchResultsPage(r);
4691
4742
  }
4692
4743
  render() {
4693
- return i("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && i("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), i("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, i("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: r, value: s, selected: a }) => i("option", { key: s, value: s, selected: a }, r))), i("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), i("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && i("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
4744
+ return l("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && l("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), l("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, l("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: r, value: s, selected: a }) => l("option", { key: s, value: s, selected: a }, r))), l("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), l("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && l("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
4694
4745
  }
4695
4746
  }, [0, "searchcraft-select", {
4696
4747
  caption: [1],
@@ -4704,7 +4755,7 @@ const $c = Pc, _c = /* @__PURE__ */ D(class extends F {
4704
4755
  setSearchResultsPage: [32],
4705
4756
  setSearchResultsPerPage: [32]
4706
4757
  }]);
4707
- function na() {
4758
+ function oa() {
4708
4759
  if (typeof customElements > "u")
4709
4760
  return;
4710
4761
  ["searchcraft-select"].forEach((t) => {
@@ -4751,7 +4802,7 @@ const Ic = /* @__PURE__ */ D(class extends F {
4751
4802
  }
4752
4803
  render() {
4753
4804
  if (!(!this.searchTerm || this.searchResultsPagesCount <= 1))
4754
- return i("div", { class: "searchcraft-search-results-per-page" }, i("div", { class: "searchcraft-search-results-per-page-select" }, i("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), i("div", { class: "searchcraft-search-results-per-page-select-input" }, i("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, s) => {
4805
+ return l("div", { class: "searchcraft-search-results-per-page" }, l("div", { class: "searchcraft-search-results-per-page-select" }, l("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), l("div", { class: "searchcraft-search-results-per-page-select-input" }, l("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, s) => {
4755
4806
  const a = this.initialSearchResultsPerPage + Number(this.increment) * s;
4756
4807
  return {
4757
4808
  label: `${a}`,
@@ -4781,18 +4832,18 @@ function Ac() {
4781
4832
  customElements.get(t) || customElements.define(t, Ic);
4782
4833
  break;
4783
4834
  case "searchcraft-select":
4784
- customElements.get(t) || na();
4835
+ customElements.get(t) || oa();
4785
4836
  break;
4786
4837
  }
4787
4838
  });
4788
4839
  }
4789
- const Mc = Ac, Oc = na, Lc = Xs, Fc = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4840
+ const Mc = Ac, Oc = oa, Lc = Js, Fc = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4790
4841
  `, Dc = /* @__PURE__ */ D(class extends F {
4791
4842
  constructor() {
4792
4843
  super(), this.__registerHost();
4793
4844
  }
4794
4845
  render() {
4795
- return i("style", { key: "912dbad4e0aa5be21ed638cd20c276b530991454" }, Fc);
4846
+ return l("style", { key: "912dbad4e0aa5be21ed638cd20c276b530991454" }, Fc);
4796
4847
  }
4797
4848
  }, [0, "searchcraft-theme"]);
4798
4849
  function Hc() {
@@ -4806,16 +4857,16 @@ function Hc() {
4806
4857
  }
4807
4858
  });
4808
4859
  }
4809
- const Nc = Hc, Uc = Js, oa = () => {
4810
- Uo(), Bo(), jo(), Yo(), sc(), oc(), cc(), uc(), fc(), mc(), yc(), Cc(), Sc(), xc(), Rc(), Mc(), $c(), Oc(), Lc(), Nc(), Uc();
4860
+ const Nc = Hc, Uc = ea, ca = () => {
4861
+ zo(), Vo(), Wo(), Yo(), sc(), oc(), cc(), uc(), fc(), mc(), yc(), Cc(), Sc(), xc(), Rc(), Mc(), $c(), Oc(), Lc(), Nc(), Uc();
4811
4862
  };
4812
- globalThis.__scDefineCustomElements__ = oa;
4813
- const zc = "@searchcraft/react-sdk", Bc = "0.10.5", Cs = {
4863
+ globalThis.__scDefineCustomElements__ = ca;
4864
+ const zc = "@searchcraft/react-sdk", Bc = "0.10.6", Ss = {
4814
4865
  name: zc,
4815
4866
  version: Bc
4816
4867
  };
4817
4868
  async function ve(e, t) {
4818
- const r = Object.entries(t).map(([o, n]) => typeof n == "boolean" ? n ? o : "" : `${o}="${String(n)}"`).filter(Boolean).join(" "), s = `<${e} ${r}></${e}>`, a = await Za(s, {
4869
+ const r = Object.entries(t).map(([o, n]) => typeof n == "boolean" ? n ? o : "" : `${o}="${String(n)}"`).filter(Boolean).join(" "), s = `<${e} ${r}></${e}>`, a = await Qa(s, {
4819
4870
  fullDocument: !1,
4820
4871
  clientHydrateAnnotations: !0
4821
4872
  });
@@ -4956,11 +5007,11 @@ async function Si(e) {
4956
5007
  }
4957
5008
  );
4958
5009
  }
4959
- class wi extends go {
5010
+ class wi extends vo {
4960
5011
  constructor(t) {
4961
5012
  super(t, {
4962
- sdkName: Cs.name,
4963
- sdkVersion: Cs.version
5013
+ sdkName: Ss.name,
5014
+ sdkVersion: Ss.version
4964
5015
  });
4965
5016
  }
4966
5017
  }
@@ -4968,7 +5019,7 @@ const ki = () => {
4968
5019
  const e = document.querySelectorAll("[data-sc-component]");
4969
5020
  for (const t of e)
4970
5021
  t.innerHTML = t.getAttribute("data-sc-tag") || "";
4971
- oa();
5022
+ ca();
4972
5023
  };
4973
5024
  export {
4974
5025
  wi as Searchcraft,
@@ -4981,7 +5032,7 @@ export {
4981
5032
  fi as SearchcraftSearchResults,
4982
5033
  Si as SearchcraftSearchResultsPerPage,
4983
5034
  yi as SearchcraftTheme,
4984
- oa as defineCustomElements,
5035
+ ca as defineCustomElements,
4985
5036
  ki as hydrateSearchcraftComponents
4986
5037
  };
4987
5038
  //# sourceMappingURL=index.js.map