@searchcraft/react-sdk 0.12.2 → 0.13.0

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,8 +1,8 @@
1
- var Sn = Object.defineProperty;
2
- var wn = (t, r, e) => r in t ? Sn(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
- var c = (t, r, e) => wn(t, typeof r != "symbol" ? r + "" : r, e);
4
- import { jsx as Le } from "react/jsx-runtime";
5
- import Fe from "react";
1
+ var wn = Object.defineProperty;
2
+ var Sn = (t, r, e) => r in t ? wn(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
+ var c = (t, r, e) => Sn(t, typeof r != "symbol" ? r + "" : r, e);
4
+ import { jsx as Fe } from "react/jsx-runtime";
5
+ import Le from "react";
6
6
  const Rn = "searchcraft-javascript-sdk", Et = (
7
7
  /* searchcraft-javascript-sdk */
8
8
  { experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", lazyLoad: !1, shadowDom: !1, slotRelocation: !0, updatable: !0 }
@@ -38,8 +38,8 @@ var En = Object.defineProperty, Tn = (t, r) => {
38
38
  e.$onReadyPromise$ = new Promise((a) => e.$onReadyResolve$ = a), t["s-p"] = [], t["s-rc"] = [];
39
39
  const s = as.set(t, e);
40
40
  return In(t, e), s;
41
- }, Ls = (t, r) => r in t, Sr = (t, r) => (0, console.error)(t, r), wr = typeof window < "u" ? window : {}, Rt = wr.document || { head: {} }, J = wr.HTMLElement || class {
42
- }, Se = {
41
+ }, Fs = (t, r) => r in t, wr = (t, r) => (0, console.error)(t, r), Sr = typeof window < "u" ? window : {}, Rt = Sr.document || { head: {} }, J = Sr.HTMLElement || class {
42
+ }, we = {
43
43
  $flags$: 0,
44
44
  $resourcesUrl$: "",
45
45
  jmp: (t) => t(),
@@ -47,19 +47,19 @@ var En = Object.defineProperty, Tn = (t, r) => {
47
47
  ael: (t, r, e, s) => t.addEventListener(r, e, s),
48
48
  rel: (t, r, e, s) => t.removeEventListener(r, e, s),
49
49
  ce: (t, r) => new CustomEvent(t, r)
50
- }, Mn = Et.shadowDom, On = (t) => Promise.resolve(t), Kr = !1, Fs = [], ia = [], Ln = (t, r) => (e) => {
51
- t.push(e), Kr || (Kr = !0, Se.$flags$ & 4 ? ns(Xr) : Se.raf(Xr));
50
+ }, Mn = Et.shadowDom, On = (t) => Promise.resolve(t), Kr = !1, Ls = [], ia = [], Fn = (t, r) => (e) => {
51
+ t.push(e), Kr || (Kr = !0, we.$flags$ & 4 ? ns(Xr) : we.raf(Xr));
52
52
  }, Ds = (t) => {
53
53
  for (let r = 0; r < t.length; r++)
54
54
  try {
55
55
  t[r](performance.now());
56
56
  } catch (e) {
57
- Sr(e);
57
+ wr(e);
58
58
  }
59
59
  t.length = 0;
60
60
  }, Xr = () => {
61
- Ds(Fs), Ds(ia), (Kr = Fs.length > 0) && Se.raf(Xr);
62
- }, ns = (t) => On().then(t), Fn = /* @__PURE__ */ Ln(ia), os = (t) => (t = typeof t, t === "object" || t === "function"), Dn = {};
61
+ Ds(Ls), Ds(ia), (Kr = Ls.length > 0) && we.raf(Xr);
62
+ }, ns = (t) => On().then(t), Ln = /* @__PURE__ */ Fn(ia), os = (t) => (t = typeof t, t === "object" || t === "function"), Dn = {};
63
63
  Tn(Dn, {
64
64
  err: () => ca,
65
65
  map: () => Nn,
@@ -99,7 +99,7 @@ var zn = (t) => {
99
99
  const r = t.__childNodes || t.childNodes;
100
100
  t.tagName && t.tagName.includes("-") && t["s-cr"] && t.tagName !== "SLOT-FB" && ua(r, t.tagName).forEach((e) => {
101
101
  var s;
102
- e.nodeType === 1 && e.tagName === "SLOT-FB" && ((s = Un(e, e["s-sn"], !1)) != null && s.length ? e.hidden = !0 : e.hidden = !1);
102
+ e.nodeType === 1 && e.tagName === "SLOT-FB" && ((s = Bn(e, e["s-sn"], !1)) != null && s.length ? e.hidden = !0 : e.hidden = !1);
103
103
  });
104
104
  for (const e of r)
105
105
  e.nodeType === 1 && (e.__childNodes || e.childNodes).length && la(e);
@@ -110,30 +110,30 @@ function ua(t, r, e) {
110
110
  o = t[s], o["s-sr"] && o["s-hn"] === r && e === void 0 && a.push(o), a = [...a, ...ua(o.childNodes, r, e)];
111
111
  return a;
112
112
  }
113
- var Un = (t, r, e = !0) => {
113
+ var Bn = (t, r, e = !0) => {
114
114
  const s = [];
115
115
  for ((e && t["s-sr"] || !t["s-sr"]) && s.push(t); (t = t.nextSibling) && t["s-sn"] === r; )
116
116
  s.push(t);
117
117
  return s;
118
- }, Ns = (t, r) => t.nodeType === 1 ? t.getAttribute("slot") === null && r === "" || t.getAttribute("slot") === r : t["s-sn"] === r ? !0 : r === "", Ut = (t, r = "") => () => {
118
+ }, Ns = (t, r) => t.nodeType === 1 ? t.getAttribute("slot") === null && r === "" || t.getAttribute("slot") === r : t["s-sn"] === r ? !0 : r === "", Bt = (t, r = "") => () => {
119
119
  }, m = (t, r, ...e) => {
120
120
  let s = null, a = null, o = null, n = !1, h = !1;
121
121
  const u = [], l = (C) => {
122
- for (let w = 0; w < C.length; w++)
123
- s = C[w], Array.isArray(s) ? l(s) : s != null && typeof s != "boolean" && ((n = typeof t != "function" && !os(s)) && (s = String(s)), n && h ? u[u.length - 1].$text$ += s : u.push(n ? yr(null, s) : s), h = n);
122
+ for (let S = 0; S < C.length; S++)
123
+ s = C[S], Array.isArray(s) ? l(s) : s != null && typeof s != "boolean" && ((n = typeof t != "function" && !os(s)) && (s = String(s)), n && h ? u[u.length - 1].$text$ += s : u.push(n ? yr(null, s) : s), h = n);
124
124
  };
125
125
  if (l(e), r) {
126
126
  r.key && (a = r.key), r.name && (o = r.name);
127
127
  {
128
128
  const C = r.className || r.class;
129
- C && (r.class = typeof C != "object" ? C : Object.keys(C).filter((w) => C[w]).join(" "));
129
+ C && (r.class = typeof C != "object" ? C : Object.keys(C).filter((S) => C[S]).join(" "));
130
130
  }
131
131
  }
132
132
  if (typeof t == "function")
133
133
  return t(
134
134
  r === null ? {} : r,
135
135
  u,
136
- Vn
136
+ qn
137
137
  );
138
138
  const p = yr(t, null);
139
139
  return p.$attrs$ = r, u.length > 0 && (p.$children$ = u), p.$key$ = a, p.$name$ = o, p;
@@ -146,7 +146,7 @@ var Un = (t, r, e = !0) => {
146
146
  $children$: null
147
147
  };
148
148
  return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
149
- }, Bn = {}, qn = (t) => t && t.$tag$ === Bn, Vn = {
149
+ }, Un = {}, Vn = (t) => t && t.$tag$ === Un, qn = {
150
150
  forEach: (t, r) => t.map(zs).forEach(r),
151
151
  map: (t, r) => t.map(zs).map(r).map(jn)
152
152
  }, zs = (t) => ({
@@ -174,14 +174,14 @@ var Un = (t, r, e = !0) => {
174
174
  })
175
175
  };
176
176
  }, da = (t, r, e) => {
177
- const s = Se.ce(r, e);
177
+ const s = we.ce(r, e);
178
178
  return t.dispatchEvent(s), s;
179
179
  }, dr = /* @__PURE__ */ new WeakMap(), Hs = (t, r, e, s, a, o) => {
180
180
  if (e !== s) {
181
- let n = Ls(t, r), h = r.toLowerCase();
181
+ let n = Fs(t, r), h = r.toLowerCase();
182
182
  if (r === "class") {
183
- const u = t.classList, l = Us(e);
184
- let p = Us(s);
183
+ const u = t.classList, l = Bs(e);
184
+ let p = Bs(s);
185
185
  t["s-si"] ? (p.push(t["s-si"]), l.forEach((C) => {
186
186
  C.startsWith(t["s-si"]) && p.push(C);
187
187
  }), p = [...new Set(p)], u.add(...p), delete t["s-si"]) : (u.remove(...l.filter((C) => C && !p.includes(C))), u.add(...p.filter((C) => C && !l.includes(C))));
@@ -191,9 +191,9 @@ var Un = (t, r, e = !0) => {
191
191
  for (const u in s)
192
192
  (!e || s[u] !== e[u]) && (u.includes("-") ? t.style.setProperty(u, s[u]) : t.style[u] = s[u]);
193
193
  } else if (r !== "key") if (!t.__lookupSetter__(r) && r[0] === "o" && r[1] === "n") {
194
- if (r[2] === "-" ? r = r.slice(3) : Ls(wr, h) ? r = h.slice(2) : r = h[2] + r.slice(3), e || s) {
194
+ if (r[2] === "-" ? r = r.slice(3) : Fs(Sr, h) ? r = h.slice(2) : r = h[2] + r.slice(3), e || s) {
195
195
  const u = r.endsWith(fa);
196
- r = r.replace(Zn, ""), e && Se.rel(t, r, e, u), s && Se.ael(t, r, s, u);
196
+ r = r.replace(Zn, ""), e && we.rel(t, r, e, u), s && we.ael(t, r, s, u);
197
197
  }
198
198
  } else {
199
199
  const u = os(s);
@@ -210,14 +210,14 @@ var Un = (t, r, e = !0) => {
210
210
  s == null || s === !1 ? (s !== !1 || t.getAttribute(r) === "") && t.removeAttribute(r) : (!n || o & 4 || a) && !u && (s = s === !0 ? "" : s, t.setAttribute(r, s));
211
211
  }
212
212
  }
213
- }, Gn = /\s/, Us = (t) => (typeof t == "object" && "baseVal" in t && (t = t.baseVal), t ? t.split(Gn) : []), fa = "Capture", Zn = new RegExp(fa + "$"), pa = (t, r, e) => {
213
+ }, Gn = /\s/, Bs = (t) => (typeof t == "object" && "baseVal" in t && (t = t.baseVal), t ? t.split(Gn) : []), fa = "Capture", Zn = new RegExp(fa + "$"), pa = (t, r, e) => {
214
214
  const s = r.$elm$.nodeType === 11 && r.$elm$.host ? r.$elm$.host : r.$elm$, a = t && t.$attrs$ || {}, o = r.$attrs$ || {};
215
- for (const n of Bs(Object.keys(a)))
215
+ for (const n of Us(Object.keys(a)))
216
216
  n in o || Hs(s, n, a[n], void 0, e, r.$flags$);
217
- for (const n of Bs(Object.keys(o)))
217
+ for (const n of Us(Object.keys(o)))
218
218
  Hs(s, n, a[n], o[n], e, r.$flags$);
219
219
  };
220
- function Bs(t) {
220
+ function Us(t) {
221
221
  return t.includes("ref") ? (
222
222
  // we need to sort these to ensure that `'ref'` is the last attr
223
223
  [...t.filter((r) => r !== "ref"), "ref"]
@@ -252,31 +252,31 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
252
252
  h = xr(t, a, o), h && n.appendChild(h);
253
253
  a.$tag$ === "svg" ? Re = !1 : n.tagName === "foreignObject" && (Re = !0);
254
254
  }
255
- return n["s-hn"] = is, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = es, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = t && t.$children$ && t.$children$[e], u && u.$tag$ === a.$tag$ && t.$elm$ && Bt(t.$elm$, !1)), n;
256
- }, Bt = (t, r) => {
257
- Se.$flags$ |= 1;
255
+ return n["s-hn"] = is, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = es, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = t && t.$children$ && t.$children$[e], u && u.$tag$ === a.$tag$ && t.$elm$ && Ut(t.$elm$, !1)), n;
256
+ }, Ut = (t, r) => {
257
+ we.$flags$ |= 1;
258
258
  const e = Array.from(t.__childNodes || t.childNodes);
259
259
  t["s-sr"] && Et.experimentalSlotFixes;
260
260
  for (let s = e.length - 1; s >= 0; s--) {
261
261
  const a = e[s];
262
- a["s-hn"] !== is && a["s-ol"] && (st(qt(a).parentNode, a, qt(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, cs = !0), r && Bt(a, r);
262
+ a["s-hn"] !== is && a["s-ol"] && (st(Vt(a).parentNode, a, Vt(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, cs = !0), r && Ut(a, r);
263
263
  }
264
- Se.$flags$ &= -2;
264
+ we.$flags$ &= -2;
265
265
  }, ma = (t, r, e, s, a, o) => {
266
266
  let n = t["s-cr"] && t["s-cr"].parentNode || t, h;
267
267
  for (; a <= o; ++a)
268
- s[a] && (h = xr(null, e, a), h && (s[a].$elm$ = h, st(n, h, qt(r))));
268
+ s[a] && (h = xr(null, e, a), h && (s[a].$elm$ = h, st(n, h, Vt(r))));
269
269
  }, ga = (t, r, e) => {
270
270
  for (let s = r; s <= e; ++s) {
271
271
  const a = t[s];
272
272
  if (a) {
273
273
  const o = a.$elm$;
274
- o && (Cr = !0, o["s-ol"] ? o["s-ol"].remove() : Bt(o, !0), o.remove());
274
+ o && (Cr = !0, o["s-ol"] ? o["s-ol"].remove() : Ut(o, !0), o.remove());
275
275
  }
276
276
  }
277
277
  }, Yn = (t, r, e, s, a = !1) => {
278
- let o = 0, n = 0, h = 0, u = 0, l = r.length - 1, p = r[0], C = r[l], w = s.length - 1, P = s[0], $ = s[w], z, D;
279
- for (; o <= l && n <= w; )
278
+ let o = 0, n = 0, h = 0, u = 0, l = r.length - 1, p = r[0], C = r[l], S = s.length - 1, P = s[0], $ = s[S], z, D;
279
+ for (; o <= l && n <= S; )
280
280
  if (p == null)
281
281
  p = r[++o];
282
282
  else if (C == null)
@@ -284,36 +284,36 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
284
284
  else if (P == null)
285
285
  P = s[++n];
286
286
  else if ($ == null)
287
- $ = s[--w];
287
+ $ = s[--S];
288
288
  else if (fr(p, P, a))
289
- St(p, P, a), p = r[++o], P = s[++n];
289
+ wt(p, P, a), p = r[++o], P = s[++n];
290
290
  else if (fr(C, $, a))
291
- St(C, $, a), C = r[--l], $ = s[--w];
291
+ wt(C, $, a), C = r[--l], $ = s[--S];
292
292
  else if (fr(p, $, a))
293
- (p.$tag$ === "slot" || $.$tag$ === "slot") && Bt(p.$elm$.parentNode, !1), St(p, $, a), st(t, p.$elm$, C.$elm$.nextSibling), p = r[++o], $ = s[--w];
293
+ (p.$tag$ === "slot" || $.$tag$ === "slot") && Ut(p.$elm$.parentNode, !1), wt(p, $, a), st(t, p.$elm$, C.$elm$.nextSibling), p = r[++o], $ = s[--S];
294
294
  else if (fr(C, P, a))
295
- (p.$tag$ === "slot" || $.$tag$ === "slot") && Bt(C.$elm$.parentNode, !1), St(C, P, a), st(t, C.$elm$, p.$elm$), C = r[--l], P = s[++n];
295
+ (p.$tag$ === "slot" || $.$tag$ === "slot") && Ut(C.$elm$.parentNode, !1), wt(C, P, a), st(t, C.$elm$, p.$elm$), C = r[--l], P = s[++n];
296
296
  else {
297
297
  for (h = -1, u = o; u <= l; ++u)
298
298
  if (r[u] && r[u].$key$ !== null && r[u].$key$ === P.$key$) {
299
299
  h = u;
300
300
  break;
301
301
  }
302
- h >= 0 ? (D = r[h], D.$tag$ !== P.$tag$ ? z = xr(r && r[n], e, h) : (St(D, P, a), r[h] = void 0, z = D.$elm$), P = s[++n]) : (z = xr(r && r[n], e, n), P = s[++n]), z && st(
303
- qt(p.$elm$).parentNode,
302
+ h >= 0 ? (D = r[h], D.$tag$ !== P.$tag$ ? z = xr(r && r[n], e, h) : (wt(D, P, a), r[h] = void 0, z = D.$elm$), P = s[++n]) : (z = xr(r && r[n], e, n), P = s[++n]), z && st(
303
+ Vt(p.$elm$).parentNode,
304
304
  z,
305
- qt(p.$elm$)
305
+ Vt(p.$elm$)
306
306
  );
307
307
  }
308
308
  o > l ? ma(
309
309
  t,
310
- s[w + 1] == null ? null : s[w + 1].$elm$,
310
+ s[S + 1] == null ? null : s[S + 1].$elm$,
311
311
  e,
312
312
  s,
313
313
  n,
314
- w
315
- ) : n > w && ga(r, o, l);
316
- }, fr = (t, r, e = !1) => t.$tag$ === r.$tag$ ? t.$tag$ === "slot" ? t.$name$ === r.$name$ : e ? (e && !t.$key$ && r.$key$ && (t.$key$ = r.$key$), !0) : t.$key$ === r.$key$ : !1, qt = (t) => t && t["s-ol"] || t, St = (t, r, e = !1) => {
314
+ S
315
+ ) : n > S && ga(r, o, l);
316
+ }, fr = (t, r, e = !1) => t.$tag$ === r.$tag$ ? t.$tag$ === "slot" ? t.$name$ === r.$name$ : e ? (e && !t.$key$ && r.$key$ && (t.$key$ = r.$key$), !0) : t.$key$ === r.$key$ : !1, Vt = (t) => t && t["s-ol"] || t, wt = (t, r, e = !1) => {
317
317
  const s = r.$elm$ = t.$elm$, a = t.$children$, o = r.$children$, n = r.$tag$, h = r.$text$;
318
318
  let u;
319
319
  h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !kr || pa(t, r, Re), a !== null && o !== null ? Yn(s, a, r, o, e) : o !== null ? (t.$text$ !== null && (s.textContent = ""), ma(s, null, r, o, 0, o.length - 1)) : (
@@ -345,26 +345,26 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
345
345
  }
346
346
  }, st = (t, r, e) => t == null ? void 0 : t.insertBefore(r, e), Qn = (t, r, e = !1) => {
347
347
  var s, a, o, n;
348
- const h = t.$hostElement$, u = t.$vnode$ || yr(null, null), l = qn(r) ? r : m(null, null, r);
348
+ const h = t.$hostElement$, u = t.$vnode$ || yr(null, null), l = Vn(r) ? r : m(null, null, r);
349
349
  if (is = h.tagName, e && l.$attrs$)
350
350
  for (const p of Object.keys(l.$attrs$))
351
351
  h.hasAttribute(p) && !["key", "ref", "style", "class"].includes(p) && (l.$attrs$[p] = h[p]);
352
- l.$tag$ = null, l.$flags$ |= 4, t.$vnode$ = l, l.$elm$ = u.$elm$ = h, kr = Mn, es = h["s-cr"], Cr = !1, St(u, l, e);
352
+ l.$tag$ = null, l.$flags$ |= 4, t.$vnode$ = l, l.$elm$ = u.$elm$ = h, kr = Mn, es = h["s-cr"], Cr = !1, wt(u, l, e);
353
353
  {
354
- if (Se.$flags$ |= 1, cs) {
354
+ if (we.$flags$ |= 1, cs) {
355
355
  ba(l.$elm$);
356
356
  for (const p of Ge) {
357
357
  const C = p.$nodeToRelocate$;
358
358
  if (!C["s-ol"]) {
359
- const w = Rt.createTextNode("");
360
- w["s-nr"] = C, st(C.parentNode, C["s-ol"] = w, C);
359
+ const S = Rt.createTextNode("");
360
+ S["s-nr"] = C, st(C.parentNode, C["s-ol"] = S, C);
361
361
  }
362
362
  }
363
363
  for (const p of Ge) {
364
- const C = p.$nodeToRelocate$, w = p.$slotRefNode$;
365
- if (w) {
366
- const P = w.parentNode;
367
- let $ = w.nextSibling;
364
+ const C = p.$nodeToRelocate$, S = p.$slotRefNode$;
365
+ if (S) {
366
+ const P = S.parentNode;
367
+ let $ = S.nextSibling;
368
368
  {
369
369
  let I = (s = C["s-ol"]) == null ? void 0 : s.previousSibling;
370
370
  for (; I; ) {
@@ -381,12 +381,12 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
381
381
  }
382
382
  }
383
383
  const z = C.__parentNode || C.parentNode, D = C.__nextSibling || C.nextSibling;
384
- (!$ && P !== z || D !== $) && C !== $ && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), st(P, C, $), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof w["s-rf"] == "function" && w["s-rf"](C);
384
+ (!$ && P !== z || D !== $) && C !== $ && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), st(P, C, $), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof S["s-rf"] == "function" && S["s-rf"](C);
385
385
  } else
386
386
  C.nodeType === 1 && (e && (C["s-ih"] = (n = C.hidden) != null ? n : !1), C.hidden = !0);
387
387
  }
388
388
  }
389
- Cr && la(l.$elm$), Se.$flags$ &= -2, Ge.length = 0;
389
+ Cr && la(l.$elm$), we.$flags$ &= -2, Ge.length = 0;
390
390
  }
391
391
  es = void 0;
392
392
  }, va = (t, r) => {
@@ -404,9 +404,9 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
404
404
  t.$flags$ |= 512;
405
405
  return;
406
406
  }
407
- return va(t, t.$ancestorComponent$), Fn(() => Kn(t, r));
407
+ return va(t, t.$ancestorComponent$), Ln(() => Kn(t, r));
408
408
  }, Kn = (t, r) => {
409
- const e = t.$hostElement$, s = Ut("scheduleUpdate", t.$cmpMeta$.$tagName$), a = e;
409
+ const e = t.$hostElement$, s = Bt("scheduleUpdate", t.$cmpMeta$.$tagName$), a = e;
410
410
  if (!a)
411
411
  throw new Error(
412
412
  `Can't render component <${e.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`
@@ -417,7 +417,7 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
417
417
  console.error(e), r();
418
418
  }) : r(), Jn = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", eo = async (t, r, e) => {
419
419
  var s;
420
- const a = t.$hostElement$, o = Ut("update", t.$cmpMeta$.$tagName$), n = a["s-rc"], h = Ut("render", t.$cmpMeta$.$tagName$);
420
+ const a = t.$hostElement$, o = Bt("update", t.$cmpMeta$.$tagName$), n = a["s-rc"], h = Bt("render", t.$cmpMeta$.$tagName$);
421
421
  to(t, r, a, e), n && (n.map((u) => u()), a["s-rc"] = void 0), h(), o();
422
422
  {
423
423
  const u = (s = a["s-p"]) != null ? s : [], l = () => ro(t);
@@ -427,25 +427,25 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
427
427
  try {
428
428
  r = r.render(), t.$flags$ &= -17, t.$flags$ |= 2, Qn(t, r, s);
429
429
  } catch (a) {
430
- Sr(a, t.$hostElement$);
430
+ wr(a, t.$hostElement$);
431
431
  }
432
432
  return null;
433
433
  }, ro = (t) => {
434
- const r = t.$cmpMeta$.$tagName$, e = t.$hostElement$, s = Ut("postUpdate", r), a = e, o = t.$ancestorComponent$;
434
+ const r = t.$cmpMeta$.$tagName$, e = t.$hostElement$, s = Bt("postUpdate", r), a = e, o = t.$ancestorComponent$;
435
435
  t.$flags$ & 64 ? s() : (t.$flags$ |= 64, ya(e), ao(a, "componentDidLoad", void 0, e), s(), t.$onReadyResolve$(e), o || so()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && ns(() => ls(t, !1)), t.$flags$ &= -517;
436
436
  }, so = (t) => {
437
- ya(Rt.documentElement), ns(() => da(wr, "appload", { detail: { namespace: Rn } }));
437
+ ya(Rt.documentElement), ns(() => da(Sr, "appload", { detail: { namespace: Rn } }));
438
438
  }, ao = (t, r, e, s) => {
439
439
  if (t && t[r])
440
440
  try {
441
441
  return t[r](e);
442
442
  } catch (a) {
443
- Sr(a, s);
443
+ wr(a, s);
444
444
  }
445
445
  }, ya = (t) => {
446
446
  var r;
447
447
  return t.classList.add((r = Et.hydratedSelectorName) != null ? r : "hydrated");
448
- }, no = (t, r) => at(t).$instanceValues$.get(r), qs = (t, r, e, s) => {
448
+ }, no = (t, r) => at(t).$instanceValues$.get(r), Vs = (t, r, e, s) => {
449
449
  const a = at(t), o = t, n = a.$instanceValues$.get(r), h = a.$flags$, u = o;
450
450
  e = ha(e, s.$members$[r][0]);
451
451
  const l = Number.isNaN(n) && Number.isNaN(e);
@@ -454,11 +454,11 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
454
454
  {
455
455
  if (s.$watchers$ && h & 128) {
456
456
  const C = s.$watchers$[r];
457
- C && C.map((w) => {
457
+ C && C.map((S) => {
458
458
  try {
459
- u[w](e, n, r);
459
+ u[S](e, n, r);
460
460
  } catch (P) {
461
- Sr(P, o);
461
+ wr(P, o);
462
462
  }
463
463
  });
464
464
  }
@@ -482,14 +482,14 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
482
482
  enumerable: !0
483
483
  }), Object.defineProperty(o, h, {
484
484
  set(C) {
485
- const w = at(this);
485
+ const S = at(this);
486
486
  if (p) {
487
- const P = u & 32 ? this[h] : w.$hostElement$[h];
488
- typeof P > "u" && w.$instanceValues$.get(h) ? C = w.$instanceValues$.get(h) : !w.$instanceValues$.get(h) && P && w.$instanceValues$.set(h, P), p.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : w.$hostElement$[h], qs(this, h, C, r);
487
+ const P = u & 32 ? this[h] : S.$hostElement$[h];
488
+ typeof P > "u" && S.$instanceValues$.get(h) ? C = S.$instanceValues$.get(h) : !S.$instanceValues$.get(h) && P && S.$instanceValues$.set(h, P), p.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : S.$hostElement$[h], Vs(this, h, C, r);
489
489
  return;
490
490
  }
491
491
  {
492
- qs(this, h, C, r);
492
+ Vs(this, h, C, r);
493
493
  return;
494
494
  }
495
495
  }
@@ -499,26 +499,26 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
499
499
  {
500
500
  const h = /* @__PURE__ */ new Map();
501
501
  o.attributeChangedCallback = function(u, l, p) {
502
- Se.jmp(() => {
502
+ we.jmp(() => {
503
503
  var C;
504
- const w = h.get(u);
505
- if (!(this.hasOwnProperty(w) && Et.lazyLoad)) {
506
- if (o.hasOwnProperty(w) && typeof this[w] == "number" && // cast type to number to avoid TS compiler issues
507
- this[w] == p)
504
+ const S = h.get(u);
505
+ if (!(this.hasOwnProperty(S) && Et.lazyLoad)) {
506
+ if (o.hasOwnProperty(S) && typeof this[S] == "number" && // cast type to number to avoid TS compiler issues
507
+ this[S] == p)
508
508
  return;
509
- if (w == null) {
509
+ if (S == null) {
510
510
  const $ = at(this), z = $ == null ? void 0 : $.$flags$;
511
511
  if (z && !(z & 8) && z & 128 && p !== l) {
512
512
  const I = this, M = (C = r.$watchers$) == null ? void 0 : C[u];
513
- M == null || M.forEach((q) => {
514
- I[q] != null && I[q].call(I, p, l, u);
513
+ M == null || M.forEach((V) => {
514
+ I[V] != null && I[V].call(I, p, l, u);
515
515
  });
516
516
  }
517
517
  return;
518
518
  }
519
519
  }
520
- const P = Object.getOwnPropertyDescriptor(o, w);
521
- p = p === null && typeof this[w] == "boolean" ? !1 : p, p !== this[w] && (!P.get || P.set) && (this[w] = p);
520
+ const P = Object.getOwnPropertyDescriptor(o, S);
521
+ p = p === null && typeof this[S] == "boolean" ? !1 : p, p !== this[S] && (!P.get || P.set) && (this[S] = p);
522
522
  });
523
523
  }, t.observedAttributes = Array.from(
524
524
  /* @__PURE__ */ new Set([
@@ -550,8 +550,8 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
550
550
  a && a["s-rc"] ? a["s-rc"].push(o) : o();
551
551
  }, co = (t, r) => {
552
552
  }, lo = (t) => {
553
- if (!(Se.$flags$ & 1)) {
554
- const r = at(t), e = r.$cmpMeta$, s = Ut("connectedCallback", e.$tagName$);
553
+ if (!(we.$flags$ & 1)) {
554
+ const r = at(t), e = r.$cmpMeta$, s = Bt("connectedCallback", e.$tagName$);
555
555
  if (r.$flags$ & 1)
556
556
  r != null && r.$lazyInstance$ || r != null && r.$onReadyPromise$ && r.$onReadyPromise$.then(() => co());
557
557
  else {
@@ -580,7 +580,7 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
580
580
  );
581
581
  r["s-cn"] = !0, st(t, r, t.firstChild);
582
582
  }, ho = async (t) => {
583
- Se.$flags$ & 1 || at(t), dr.has(t) && dr.delete(t), t.shadowRoot && dr.has(t.shadowRoot) && dr.delete(t.shadowRoot);
583
+ we.$flags$ & 1 || at(t), dr.has(t) && dr.delete(t), t.shadowRoot && dr.has(t.shadowRoot) && dr.delete(t.shadowRoot);
584
584
  }, ee = (t, r) => {
585
585
  const e = {
586
586
  $flags$: r[0],
@@ -597,7 +597,7 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
597
597
  this.__hasHostListenerAttached || (at(this), this.__hasHostListenerAttached = !0), lo(this), s && s.call(this);
598
598
  },
599
599
  disconnectedCallback() {
600
- ho(this), a && a.call(this), Se.raf(() => {
600
+ ho(this), a && a.call(this), we.raf(() => {
601
601
  var o;
602
602
  const n = at(this);
603
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 && _n(this);
@@ -669,66 +669,66 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
669
669
  return O;
670
670
  }), u || (u = function(O) {
671
671
  return O;
672
- }), p || (p = function(O, V, B) {
673
- return O.apply(V, B);
674
- }), C || (C = function(O, V) {
675
- return new O(...V);
672
+ }), p || (p = function(O, q, U) {
673
+ return O.apply(q, U);
674
+ }), C || (C = function(O, q) {
675
+ return new O(...q);
676
676
  });
677
- const w = oe(Array.prototype.forEach), P = oe(Array.prototype.lastIndexOf), $ = oe(Array.prototype.pop), z = oe(Array.prototype.push), D = oe(Array.prototype.splice), I = oe(String.prototype.toLowerCase), M = oe(String.prototype.toString), q = oe(String.prototype.match), Y = oe(String.prototype.replace), ge = oe(String.prototype.indexOf), we = oe(String.prototype.trim), ae = oe(Object.prototype.hasOwnProperty), Z = oe(RegExp.prototype.test), Ke = Pr(TypeError);
678
- function oe(U) {
677
+ const S = oe(Array.prototype.forEach), P = oe(Array.prototype.lastIndexOf), $ = oe(Array.prototype.pop), z = oe(Array.prototype.push), D = oe(Array.prototype.splice), I = oe(String.prototype.toLowerCase), M = oe(String.prototype.toString), V = oe(String.prototype.match), Y = oe(String.prototype.replace), ge = oe(String.prototype.indexOf), Se = oe(String.prototype.trim), ae = oe(Object.prototype.hasOwnProperty), Z = oe(RegExp.prototype.test), Ke = Pr(TypeError);
678
+ function oe(B) {
679
679
  return function(O) {
680
- for (var V = arguments.length, B = new Array(V > 1 ? V - 1 : 0), ie = 1; ie < V; ie++)
681
- B[ie - 1] = arguments[ie];
682
- return p(U, O, B);
680
+ for (var q = arguments.length, U = new Array(q > 1 ? q - 1 : 0), ie = 1; ie < q; ie++)
681
+ U[ie - 1] = arguments[ie];
682
+ return p(B, O, U);
683
683
  };
684
684
  }
685
- function Pr(U) {
685
+ function Pr(B) {
686
686
  return function() {
687
- for (var O = arguments.length, V = new Array(O), B = 0; B < O; B++)
688
- V[B] = arguments[B];
689
- return C(U, V);
687
+ for (var O = arguments.length, q = new Array(O), U = 0; U < O; U++)
688
+ q[U] = arguments[U];
689
+ return C(B, q);
690
690
  };
691
691
  }
692
- function N(U, O) {
693
- let V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : I;
694
- s && s(U, null);
695
- let B = O.length;
696
- for (; B--; ) {
697
- let ie = O[B];
692
+ function N(B, O) {
693
+ let q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : I;
694
+ s && s(B, null);
695
+ let U = O.length;
696
+ for (; U--; ) {
697
+ let ie = O[U];
698
698
  if (typeof ie == "string") {
699
- const ye = V(ie);
700
- ye !== ie && (a(O) || (O[B] = ye), ie = ye);
699
+ const ye = q(ie);
700
+ ye !== ie && (a(O) || (O[U] = ye), ie = ye);
701
701
  }
702
- U[ie] = !0;
702
+ B[ie] = !0;
703
703
  }
704
- return U;
704
+ return B;
705
705
  }
706
- function $r(U) {
707
- for (let O = 0; O < U.length; O++)
708
- ae(U, O) || (U[O] = null);
709
- return U;
706
+ function $r(B) {
707
+ for (let O = 0; O < B.length; O++)
708
+ ae(B, O) || (B[O] = null);
709
+ return B;
710
710
  }
711
- function $e(U) {
711
+ function $e(B) {
712
712
  const O = l(null);
713
- for (const [V, B] of e(U))
714
- ae(U, V) && (Array.isArray(B) ? O[V] = $r(B) : B && typeof B == "object" && B.constructor === Object ? O[V] = $e(B) : O[V] = B);
713
+ for (const [q, U] of e(B))
714
+ ae(B, q) && (Array.isArray(U) ? O[q] = $r(U) : U && typeof U == "object" && U.constructor === Object ? O[q] = $e(U) : O[q] = U);
715
715
  return O;
716
716
  }
717
- function nt(U, O) {
718
- for (; U !== null; ) {
719
- const B = n(U, O);
720
- if (B) {
721
- if (B.get)
722
- return oe(B.get);
723
- if (typeof B.value == "function")
724
- return oe(B.value);
717
+ function nt(B, O) {
718
+ for (; B !== null; ) {
719
+ const U = n(B, O);
720
+ if (U) {
721
+ if (U.get)
722
+ return oe(U.get);
723
+ if (typeof U.value == "function")
724
+ return oe(U.value);
725
725
  }
726
- U = o(U);
726
+ B = o(B);
727
727
  }
728
- function V() {
728
+ function q() {
729
729
  return null;
730
730
  }
731
- return V;
731
+ return q;
732
732
  }
733
733
  const Wt = h(["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"]), Xe = h(["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"]), ot = h(["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"]), Ir = h(["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"]), ft = h(["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"]), _r = h(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pt = h(["#text"]), Pt = h(["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"]), $t = h(["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"]), Gt = h(["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"]), mt = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ar = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Zt = u(/<%[\w\W]*|[\w\W]*%>/gm), Mr = u(/\$\{[\w\W]*/gm), gt = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), It = u(/^aria-[\-\w]+$/), _t = u(
734
734
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
@@ -736,12 +736,12 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
736
736
  ), Or = u(/^(?:\w+script|data):/i), Yt = u(
737
737
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
738
738
  // eslint-disable-line no-control-regex
739
- ), Qt = u(/^html$/i), Lr = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
739
+ ), Qt = u(/^html$/i), Fr = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
740
740
  var Kt = /* @__PURE__ */ Object.freeze({
741
741
  __proto__: null,
742
742
  ARIA_ATTR: It,
743
743
  ATTR_WHITESPACE: Yt,
744
- CUSTOM_ELEMENT: Lr,
744
+ CUSTOM_ELEMENT: Fr,
745
745
  DATA_ATTR: gt,
746
746
  DOCTYPE_NAME: Qt,
747
747
  ERB_EXPR: Zt,
@@ -757,15 +757,15 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
757
757
  progressingInstruction: 7,
758
758
  comment: 8,
759
759
  document: 9
760
- }, Fr = function() {
760
+ }, Lr = function() {
761
761
  return typeof window > "u" ? null : window;
762
- }, Dr = function(O, V) {
762
+ }, Dr = function(O, q) {
763
763
  if (typeof O != "object" || typeof O.createPolicy != "function")
764
764
  return null;
765
- let B = null;
765
+ let U = null;
766
766
  const ie = "data-tt-policy-suffix";
767
- V && V.hasAttribute(ie) && (B = V.getAttribute(ie));
768
- const ye = "dompurify" + (B ? "#" + B : "");
767
+ q && q.hasAttribute(ie) && (U = q.getAttribute(ie));
768
+ const ye = "dompurify" + (U ? "#" + U : "");
769
769
  try {
770
770
  return O.createPolicy(ye, {
771
771
  createHTML(et) {
@@ -792,39 +792,39 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
792
792
  };
793
793
  };
794
794
  function Xt() {
795
- let U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Fr();
796
- const O = (L) => Xt(L);
797
- if (O.version = "3.2.4", O.removed = [], !U || !U.document || U.document.nodeType !== Je.document || !U.Element)
795
+ let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Lr();
796
+ const O = (F) => Xt(F);
797
+ if (O.version = "3.2.4", O.removed = [], !B || !B.document || B.document.nodeType !== Je.document || !B.Element)
798
798
  return O.isSupported = !1, O;
799
799
  let {
800
- document: V
801
- } = U;
802
- const B = V, ie = B.currentScript, {
800
+ document: q
801
+ } = B;
802
+ const U = q, ie = U.currentScript, {
803
803
  DocumentFragment: ye,
804
804
  HTMLTemplateElement: et,
805
805
  Node: bt,
806
806
  Element: Mt,
807
807
  NodeFilter: it,
808
- NamedNodeMap: Ot = U.NamedNodeMap || U.MozNamedAttrMap,
808
+ NamedNodeMap: Ot = B.NamedNodeMap || B.MozNamedAttrMap,
809
809
  HTMLFormElement: zr,
810
- DOMParser: Lt,
810
+ DOMParser: Ft,
811
811
  trustedTypes: vt
812
- } = U, Ae = Mt.prototype, ct = nt(Ae, "cloneNode"), Hr = nt(Ae, "remove"), Jt = nt(Ae, "nextSibling"), Ee = nt(Ae, "childNodes"), lt = nt(Ae, "parentNode");
812
+ } = B, Ae = Mt.prototype, ct = nt(Ae, "cloneNode"), Hr = nt(Ae, "remove"), Jt = nt(Ae, "nextSibling"), Ee = nt(Ae, "childNodes"), lt = nt(Ae, "parentNode");
813
813
  if (typeof et == "function") {
814
- const L = V.createElement("template");
815
- L.content && L.content.ownerDocument && (V = L.content.ownerDocument);
814
+ const F = q.createElement("template");
815
+ F.content && F.content.ownerDocument && (q = F.content.ownerDocument);
816
816
  }
817
817
  let ce, Ie = "";
818
818
  const {
819
- implementation: Ft,
819
+ implementation: Lt,
820
820
  createNodeIterator: er,
821
- createDocumentFragment: Ur,
821
+ createDocumentFragment: Br,
822
822
  getElementsByTagName: ut
823
- } = V, {
823
+ } = q, {
824
824
  importNode: Te
825
- } = B;
825
+ } = U;
826
826
  let te = At();
827
- O.isSupported = typeof e == "function" && typeof lt == "function" && Ft && Ft.createHTMLDocument !== void 0;
827
+ O.isSupported = typeof e == "function" && typeof lt == "function" && Lt && Lt.createHTMLDocument !== void 0;
828
828
  const {
829
829
  MUSTACHE_EXPR: tt,
830
830
  ERB_EXPR: ke,
@@ -833,7 +833,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
833
833
  ARIA_ATTR: ze,
834
834
  IS_SCRIPT_OR_DATA: j,
835
835
  ATTR_WHITESPACE: rr,
836
- CUSTOM_ELEMENT: Br
836
+ CUSTOM_ELEMENT: Ur
837
837
  } = Kt;
838
838
  let {
839
839
  IS_ALLOWED_URI: sr
@@ -860,28 +860,28 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
860
860
  enumerable: !0,
861
861
  value: !1
862
862
  }
863
- })), He = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, R = !0, k = !1, T = !1, x = !1, S = !1, G = !1, _ = !1, se = !0, W = !1;
863
+ })), He = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, R = !0, k = !1, T = !1, x = !1, w = !1, G = !1, _ = !1, se = !0, W = !1;
864
864
  const fe = "user-content-";
865
- let yt = !0, Ue = !1, Be = {}, qe = null;
865
+ let yt = !0, Be = !1, Ue = {}, Ve = null;
866
866
  const Dt = N({}, ["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"]);
867
867
  let or = null;
868
868
  const kt = N({}, ["audio", "video", "img", "source", "image", "track"]);
869
- let Ve = null;
869
+ let qe = null;
870
870
  const xs = N({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ir = "http://www.w3.org/1998/Math/MathML", cr = "http://www.w3.org/2000/svg", je = "http://www.w3.org/1999/xhtml";
871
- let Ct = je, qr = !1, Vr = null;
871
+ let Ct = je, Vr = !1, qr = null;
872
872
  const gn = N({}, [ir, cr, je], M);
873
873
  let lr = N({}, ["mi", "mo", "mn", "ms", "mtext"]), ur = N({}, ["annotation-xml"]);
874
874
  const bn = N({}, ["title", "style", "font", "a", "script"]);
875
875
  let Nt = null;
876
876
  const vn = ["application/xhtml+xml", "text/html"], yn = "text/html";
877
877
  let le = null, xt = null;
878
- const kn = V.createElement("form"), Ss = function(b) {
878
+ const kn = q.createElement("form"), ws = function(b) {
879
879
  return b instanceof RegExp || b instanceof Function;
880
880
  }, jr = function() {
881
881
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
882
882
  if (!(xt && xt === b)) {
883
883
  if ((!b || typeof b != "object") && (b = {}), b = $e(b), Nt = // eslint-disable-next-line unicorn/prefer-includes
884
- vn.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? yn : b.PARSER_MEDIA_TYPE, le = Nt === "application/xhtml+xml" ? M : I, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : ar, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : nr, Vr = ae(b, "ALLOWED_NAMESPACES") ? N({}, b.ALLOWED_NAMESPACES, M) : gn, Ve = ae(b, "ADD_URI_SAFE_ATTR") ? N($e(xs), b.ADD_URI_SAFE_ATTR, le) : xs, or = ae(b, "ADD_DATA_URI_TAGS") ? N($e(kt), b.ADD_DATA_URI_TAGS, le) : kt, qe = ae(b, "FORBID_CONTENTS") ? N({}, b.FORBID_CONTENTS, le) : Dt, He = ae(b, "FORBID_TAGS") ? N({}, b.FORBID_TAGS, le) : {}, f = ae(b, "FORBID_ATTR") ? N({}, b.FORBID_ATTR, le) : {}, Be = ae(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, R = b.SAFE_FOR_XML !== !1, k = b.WHOLE_DOCUMENT || !1, S = b.RETURN_DOM || !1, G = b.RETURN_DOM_FRAGMENT || !1, _ = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, se = b.SANITIZE_DOM !== !1, W = b.SANITIZE_NAMED_PROPS || !1, yt = b.KEEP_CONTENT !== !1, Ue = b.IN_PLACE || !1, sr = b.ALLOWED_URI_REGEXP || _t, Ct = b.NAMESPACE || je, lr = b.MATHML_TEXT_INTEGRATION_POINTS || lr, ur = b.HTML_INTEGRATION_POINTS || ur, K = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Ss(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Ss(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), G && (S = !0), Be && (re = N({}, pt), ne = [], Be.html === !0 && (N(re, Wt), N(ne, Pt)), Be.svg === !0 && (N(re, Xe), N(ne, $t), N(ne, mt)), Be.svgFilters === !0 && (N(re, ot), N(ne, $t), N(ne, mt)), Be.mathMl === !0 && (N(re, ft), N(ne, Gt), N(ne, mt))), b.ADD_TAGS && (re === ar && (re = $e(re)), N(re, b.ADD_TAGS, le)), b.ADD_ATTR && (ne === nr && (ne = $e(ne)), N(ne, b.ADD_ATTR, le)), b.ADD_URI_SAFE_ATTR && N(Ve, b.ADD_URI_SAFE_ATTR, le), b.FORBID_CONTENTS && (qe === Dt && (qe = $e(qe)), N(qe, b.FORBID_CONTENTS, le)), yt && (re["#text"] = !0), k && N(re, ["html", "head", "body"]), re.table && (N(re, ["tbody"]), delete He.tbody), b.TRUSTED_TYPES_POLICY) {
884
+ vn.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? yn : b.PARSER_MEDIA_TYPE, le = Nt === "application/xhtml+xml" ? M : I, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : ar, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : nr, qr = ae(b, "ALLOWED_NAMESPACES") ? N({}, b.ALLOWED_NAMESPACES, M) : gn, qe = ae(b, "ADD_URI_SAFE_ATTR") ? N($e(xs), b.ADD_URI_SAFE_ATTR, le) : xs, or = ae(b, "ADD_DATA_URI_TAGS") ? N($e(kt), b.ADD_DATA_URI_TAGS, le) : kt, Ve = ae(b, "FORBID_CONTENTS") ? N({}, b.FORBID_CONTENTS, le) : Dt, He = ae(b, "FORBID_TAGS") ? N({}, b.FORBID_TAGS, le) : {}, f = ae(b, "FORBID_ATTR") ? N({}, b.FORBID_ATTR, le) : {}, Ue = ae(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, R = b.SAFE_FOR_XML !== !1, k = b.WHOLE_DOCUMENT || !1, w = b.RETURN_DOM || !1, G = b.RETURN_DOM_FRAGMENT || !1, _ = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, se = b.SANITIZE_DOM !== !1, W = b.SANITIZE_NAMED_PROPS || !1, yt = b.KEEP_CONTENT !== !1, Be = b.IN_PLACE || !1, sr = b.ALLOWED_URI_REGEXP || _t, Ct = b.NAMESPACE || je, lr = b.MATHML_TEXT_INTEGRATION_POINTS || lr, ur = b.HTML_INTEGRATION_POINTS || ur, K = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), G && (w = !0), Ue && (re = N({}, pt), ne = [], Ue.html === !0 && (N(re, Wt), N(ne, Pt)), Ue.svg === !0 && (N(re, Xe), N(ne, $t), N(ne, mt)), Ue.svgFilters === !0 && (N(re, ot), N(ne, $t), N(ne, mt)), Ue.mathMl === !0 && (N(re, ft), N(ne, Gt), N(ne, mt))), b.ADD_TAGS && (re === ar && (re = $e(re)), N(re, b.ADD_TAGS, le)), b.ADD_ATTR && (ne === nr && (ne = $e(ne)), N(ne, b.ADD_ATTR, le)), b.ADD_URI_SAFE_ATTR && N(qe, b.ADD_URI_SAFE_ATTR, le), b.FORBID_CONTENTS && (Ve === Dt && (Ve = $e(Ve)), N(Ve, b.FORBID_CONTENTS, le)), yt && (re["#text"] = !0), k && N(re, ["html", "head", "body"]), re.table && (N(re, ["tbody"]), delete He.tbody), b.TRUSTED_TYPES_POLICY) {
885
885
  if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
886
886
  throw Ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
887
887
  if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -891,14 +891,14 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
891
891
  ce === void 0 && (ce = Dr(vt, ie)), ce !== null && typeof Ie == "string" && (Ie = ce.createHTML(""));
892
892
  h && h(b), xt = b;
893
893
  }
894
- }, ws = N({}, [...Xe, ...ot, ...Ir]), Rs = N({}, [...ft, ..._r]), Cn = function(b) {
894
+ }, Ss = N({}, [...Xe, ...ot, ...Ir]), Rs = N({}, [...ft, ..._r]), Cn = function(b) {
895
895
  let E = lt(b);
896
896
  (!E || !E.tagName) && (E = {
897
897
  namespaceURI: Ct,
898
898
  tagName: "template"
899
899
  });
900
900
  const A = I(b.tagName), Q = I(E.tagName);
901
- return Vr[b.namespaceURI] ? b.namespaceURI === cr ? E.namespaceURI === je ? A === "svg" : E.namespaceURI === ir ? A === "svg" && (Q === "annotation-xml" || lr[Q]) : !!ws[A] : b.namespaceURI === ir ? E.namespaceURI === je ? A === "math" : E.namespaceURI === cr ? A === "math" && ur[Q] : !!Rs[A] : b.namespaceURI === je ? E.namespaceURI === cr && !ur[Q] || E.namespaceURI === ir && !lr[Q] ? !1 : !Rs[A] && (bn[A] || !ws[A]) : !!(Nt === "application/xhtml+xml" && Vr[b.namespaceURI]) : !1;
901
+ return qr[b.namespaceURI] ? b.namespaceURI === cr ? E.namespaceURI === je ? A === "svg" : E.namespaceURI === ir ? A === "svg" && (Q === "annotation-xml" || lr[Q]) : !!Ss[A] : b.namespaceURI === ir ? E.namespaceURI === je ? A === "math" : E.namespaceURI === cr ? A === "math" && ur[Q] : !!Rs[A] : b.namespaceURI === je ? E.namespaceURI === cr && !ur[Q] || E.namespaceURI === ir && !lr[Q] ? !1 : !Rs[A] && (bn[A] || !Ss[A]) : !!(Nt === "application/xhtml+xml" && qr[b.namespaceURI]) : !1;
902
902
  }, Me = function(b) {
903
903
  z(O.removed, {
904
904
  element: b
@@ -921,7 +921,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
921
921
  });
922
922
  }
923
923
  if (E.removeAttribute(b), b === "is")
924
- if (S || G)
924
+ if (w || G)
925
925
  try {
926
926
  Me(E);
927
927
  } catch {
@@ -936,25 +936,25 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
936
936
  if (x)
937
937
  b = "<remove></remove>" + b;
938
938
  else {
939
- const ue = q(b, /^[\r\n\t ]+/);
939
+ const ue = V(b, /^[\r\n\t ]+/);
940
940
  A = ue && ue[0];
941
941
  }
942
942
  Nt === "application/xhtml+xml" && Ct === je && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
943
943
  const Q = ce ? ce.createHTML(b) : b;
944
944
  if (Ct === je)
945
945
  try {
946
- E = new Lt().parseFromString(Q, Nt);
946
+ E = new Ft().parseFromString(Q, Nt);
947
947
  } catch {
948
948
  }
949
949
  if (!E || !E.documentElement) {
950
- E = Ft.createDocument(Ct, "template", null);
950
+ E = Lt.createDocument(Ct, "template", null);
951
951
  try {
952
- E.documentElement.innerHTML = qr ? Ie : Q;
952
+ E.documentElement.innerHTML = Vr ? Ie : Q;
953
953
  } catch {
954
954
  }
955
955
  }
956
956
  const pe = E.body || E.documentElement;
957
- return b && A && pe.insertBefore(V.createTextNode(A), pe.childNodes[0] || null), Ct === je ? ut.call(E, k ? "html" : "body")[0] : k ? E.documentElement : pe;
957
+ return b && A && pe.insertBefore(q.createTextNode(A), pe.childNodes[0] || null), Ct === je ? ut.call(E, k ? "html" : "body")[0] : k ? E.documentElement : pe;
958
958
  }, Ts = function(b) {
959
959
  return er.call(
960
960
  b.ownerDocument || b,
@@ -968,8 +968,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
968
968
  }, Ps = function(b) {
969
969
  return typeof bt == "function" && b instanceof bt;
970
970
  };
971
- function We(L, b, E) {
972
- w(L, (A) => {
971
+ function We(F, b, E) {
972
+ S(F, (A) => {
973
973
  A.call(O, b, E, xt);
974
974
  });
975
975
  }
@@ -986,7 +986,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
986
986
  if (!re[A] || He[A]) {
987
987
  if (!He[A] && _s(A) && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
988
988
  return !1;
989
- if (yt && !qe[A]) {
989
+ if (yt && !Ve[A]) {
990
990
  const Q = lt(b) || b.parentNode, pe = Ee(b) || b.childNodes;
991
991
  if (pe && Q) {
992
992
  const ue = pe.length;
@@ -998,13 +998,13 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
998
998
  }
999
999
  return Me(b), !0;
1000
1000
  }
1001
- return b instanceof Mt && !Cn(b) || (A === "noscript" || A === "noembed" || A === "noframes") && Z(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Me(b), !0) : (y && b.nodeType === Je.text && (E = b.textContent, w([tt, ke, Ne], (Q) => {
1001
+ return b instanceof Mt && !Cn(b) || (A === "noscript" || A === "noembed" || A === "noframes") && Z(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Me(b), !0) : (y && b.nodeType === Je.text && (E = b.textContent, S([tt, ke, Ne], (Q) => {
1002
1002
  E = Y(E, Q, " ");
1003
1003
  }), b.textContent !== E && (z(O.removed, {
1004
1004
  element: b.cloneNode()
1005
1005
  }), b.textContent = E)), We(te.afterSanitizeElements, b, null), !1);
1006
1006
  }, Is = function(b, E, A) {
1007
- if (se && (E === "id" || E === "name") && (A in V || A in kn))
1007
+ if (se && (E === "id" || E === "name") && (A in q || A in kn))
1008
1008
  return !1;
1009
1009
  if (!(d && !f[E] && Z(tr, E))) {
1010
1010
  if (!(i && Z(ze, E))) {
@@ -1017,7 +1017,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1017
1017
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1018
1018
  E === "is" && K.allowCustomizedBuiltInElements && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
1019
1019
  ) return !1;
1020
- } else if (!Ve[E]) {
1020
+ } else if (!qe[E]) {
1021
1021
  if (!Z(sr, Y(A, rr, ""))) {
1022
1022
  if (!((E === "src" || E === "xlink:href" || E === "href") && b !== "script" && ge(A, "data:") === 0 && or[b])) {
1023
1023
  if (!(g && !Z(j, Y(A, rr, "")))) {
@@ -1031,7 +1031,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1031
1031
  }
1032
1032
  return !0;
1033
1033
  }, _s = function(b) {
1034
- return b !== "annotation-xml" && q(b, Br);
1034
+ return b !== "annotation-xml" && V(b, Ur);
1035
1035
  }, As = function(b) {
1036
1036
  We(te.beforeSanitizeAttributes, b, null);
1037
1037
  const {
@@ -1053,7 +1053,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1053
1053
  namespaceURI: Ce,
1054
1054
  value: Oe
1055
1055
  } = pe, zt = le(ue);
1056
- let be = ue === "value" ? Oe : we(Oe);
1056
+ let be = ue === "value" ? Oe : Se(Oe);
1057
1057
  if (A.attrName = zt, A.attrValue = be, A.keepAttr = !0, A.forceKeepAttr = void 0, We(te.uponSanitizeAttribute, b, A), be = A.attrValue, W && (zt === "id" || zt === "name") && (hr(ue, b), be = fe + be), R && Z(/((--!?|])>)|<\/(style|title)/i, be)) {
1058
1058
  hr(ue, b);
1059
1059
  continue;
@@ -1064,7 +1064,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1064
1064
  hr(ue, b);
1065
1065
  continue;
1066
1066
  }
1067
- y && w([tt, ke, Ne], (Os) => {
1067
+ y && S([tt, ke, Ne], (Os) => {
1068
1068
  be = Y(be, Os, " ");
1069
1069
  });
1070
1070
  const Ms = le(b.nodeName);
@@ -1087,76 +1087,76 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1087
1087
  }
1088
1088
  }
1089
1089
  We(te.afterSanitizeAttributes, b, null);
1090
- }, xn = function L(b) {
1090
+ }, xn = function F(b) {
1091
1091
  let E = null;
1092
1092
  const A = Ts(b);
1093
1093
  for (We(te.beforeSanitizeShadowDOM, b, null); E = A.nextNode(); )
1094
- We(te.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ye && L(E.content);
1094
+ We(te.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ye && F(E.content);
1095
1095
  We(te.afterSanitizeShadowDOM, b, null);
1096
1096
  };
1097
- return O.sanitize = function(L) {
1097
+ return O.sanitize = function(F) {
1098
1098
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, A = null, Q = null, pe = null;
1099
- if (qr = !L, qr && (L = "<!-->"), typeof L != "string" && !Ps(L))
1100
- if (typeof L.toString == "function") {
1101
- if (L = L.toString(), typeof L != "string")
1099
+ if (Vr = !F, Vr && (F = "<!-->"), typeof F != "string" && !Ps(F))
1100
+ if (typeof F.toString == "function") {
1101
+ if (F = F.toString(), typeof F != "string")
1102
1102
  throw Ke("dirty is not a string, aborting");
1103
1103
  } else
1104
1104
  throw Ke("toString is not a function");
1105
1105
  if (!O.isSupported)
1106
- return L;
1107
- if (T || jr(b), O.removed = [], typeof L == "string" && (Ue = !1), Ue) {
1108
- if (L.nodeName) {
1109
- const Oe = le(L.nodeName);
1106
+ return F;
1107
+ if (T || jr(b), O.removed = [], typeof F == "string" && (Be = !1), Be) {
1108
+ if (F.nodeName) {
1109
+ const Oe = le(F.nodeName);
1110
1110
  if (!re[Oe] || He[Oe])
1111
1111
  throw Ke("root node is forbidden and cannot be sanitized in-place");
1112
1112
  }
1113
- } else if (L instanceof bt)
1114
- E = Es("<!---->"), A = E.ownerDocument.importNode(L, !0), A.nodeType === Je.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? E = A : E.appendChild(A);
1113
+ } else if (F instanceof bt)
1114
+ E = Es("<!---->"), A = E.ownerDocument.importNode(F, !0), A.nodeType === Je.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? E = A : E.appendChild(A);
1115
1115
  else {
1116
- if (!S && !y && !k && // eslint-disable-next-line unicorn/prefer-includes
1117
- L.indexOf("<") === -1)
1118
- return ce && _ ? ce.createHTML(L) : L;
1119
- if (E = Es(L), !E)
1120
- return S ? null : _ ? Ie : "";
1116
+ if (!w && !y && !k && // eslint-disable-next-line unicorn/prefer-includes
1117
+ F.indexOf("<") === -1)
1118
+ return ce && _ ? ce.createHTML(F) : F;
1119
+ if (E = Es(F), !E)
1120
+ return w ? null : _ ? Ie : "";
1121
1121
  }
1122
1122
  E && x && Me(E.firstChild);
1123
- const ue = Ts(Ue ? L : E);
1123
+ const ue = Ts(Be ? F : E);
1124
1124
  for (; Q = ue.nextNode(); )
1125
1125
  $s(Q), As(Q), Q.content instanceof ye && xn(Q.content);
1126
- if (Ue)
1127
- return L;
1128
- if (S) {
1126
+ if (Be)
1127
+ return F;
1128
+ if (w) {
1129
1129
  if (G)
1130
- for (pe = Ur.call(E.ownerDocument); E.firstChild; )
1130
+ for (pe = Br.call(E.ownerDocument); E.firstChild; )
1131
1131
  pe.appendChild(E.firstChild);
1132
1132
  else
1133
1133
  pe = E;
1134
- return (ne.shadowroot || ne.shadowrootmode) && (pe = Te.call(B, pe, !0)), pe;
1134
+ return (ne.shadowroot || ne.shadowrootmode) && (pe = Te.call(U, pe, !0)), pe;
1135
1135
  }
1136
1136
  let Ce = k ? E.outerHTML : E.innerHTML;
1137
1137
  return k && re["!doctype"] && E.ownerDocument && E.ownerDocument.doctype && E.ownerDocument.doctype.name && Z(Qt, E.ownerDocument.doctype.name) && (Ce = "<!DOCTYPE " + E.ownerDocument.doctype.name + `>
1138
- ` + Ce), y && w([tt, ke, Ne], (Oe) => {
1138
+ ` + Ce), y && S([tt, ke, Ne], (Oe) => {
1139
1139
  Ce = Y(Ce, Oe, " ");
1140
1140
  }), ce && _ ? ce.createHTML(Ce) : Ce;
1141
1141
  }, O.setConfig = function() {
1142
- let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1143
- jr(L), T = !0;
1142
+ let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1143
+ jr(F), T = !0;
1144
1144
  }, O.clearConfig = function() {
1145
1145
  xt = null, T = !1;
1146
- }, O.isValidAttribute = function(L, b, E) {
1146
+ }, O.isValidAttribute = function(F, b, E) {
1147
1147
  xt || jr({});
1148
- const A = le(L), Q = le(b);
1148
+ const A = le(F), Q = le(b);
1149
1149
  return Is(A, Q, E);
1150
- }, O.addHook = function(L, b) {
1151
- typeof b == "function" && z(te[L], b);
1152
- }, O.removeHook = function(L, b) {
1150
+ }, O.addHook = function(F, b) {
1151
+ typeof b == "function" && z(te[F], b);
1152
+ }, O.removeHook = function(F, b) {
1153
1153
  if (b !== void 0) {
1154
- const E = P(te[L], b);
1155
- return E === -1 ? void 0 : D(te[L], E, 1)[0];
1154
+ const E = P(te[F], b);
1155
+ return E === -1 ? void 0 : D(te[F], E, 1)[0];
1156
1156
  }
1157
- return $(te[L]);
1158
- }, O.removeHooks = function(L) {
1159
- te[L] = [];
1157
+ return $(te[F]);
1158
+ }, O.removeHooks = function(F) {
1159
+ te[F] = [];
1160
1160
  }, O.removeAllHooks = function() {
1161
1161
  te = At();
1162
1162
  }, O;
@@ -1165,10 +1165,10 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1165
1165
  return Nr;
1166
1166
  });
1167
1167
  })(xa);
1168
- const Sa = xa.exports, Vt = (t, ...r) => {
1168
+ const wa = xa.exports, qt = (t, ...r) => {
1169
1169
  let e = t[0];
1170
1170
  for (let s = 0; s < r.length; s++)
1171
- e += Sa.sanitize(r[s] ? String(r[s]) : "") + t[s + 1];
1171
+ e += wa.sanitize(r[s] ? String(r[s]) : "") + t[s + 1];
1172
1172
  return e || "";
1173
1173
  }, ts = "searchcraft";
1174
1174
  class po {
@@ -1303,7 +1303,7 @@ const go = /* @__PURE__ */ ee(class extends J {
1303
1303
  return;
1304
1304
  let s = "<p>Ad Marketplace Ad Placeholder</p>";
1305
1305
  return (n = (o = (a = this.core) == null ? void 0 : a.config) == null ? void 0 : o.admAdConfig) != null && n.template && (s = (u = (h = this.core) == null ? void 0 : h.config) == null ? void 0 : u.admAdConfig.template(e.admAd, {
1306
- html: Vt
1306
+ html: qt
1307
1307
  })), m("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
1308
1308
  }
1309
1309
  renderCustomAd() {
@@ -1313,7 +1313,7 @@ const go = /* @__PURE__ */ ee(class extends J {
1313
1313
  return e && (a = e({
1314
1314
  searchTerm: this.searchTerm || "",
1315
1315
  adContainerId: this.adContainerId
1316
- }, { html: Vt })), m("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
1316
+ }, { html: qt })), m("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
1317
1317
  }
1318
1318
  renderNativoAd() {
1319
1319
  var s, a;
@@ -1440,7 +1440,7 @@ function Tr() {
1440
1440
  }
1441
1441
  });
1442
1442
  }
1443
- const Co = Tr, wa = (t, r) => {
1443
+ const Co = Tr, Sa = (t, r) => {
1444
1444
  let e = t;
1445
1445
  for (const s of r)
1446
1446
  e = e == null ? void 0 : e.children[s];
@@ -1454,10 +1454,10 @@ const Co = Tr, wa = (t, r) => {
1454
1454
  function xo(t) {
1455
1455
  return t.filter((r, e, s) => !s.some((a, o) => o !== e && a.includes(r)));
1456
1456
  }
1457
- const Vs = (t, r) => {
1457
+ const qs = (t, r) => {
1458
1458
  const e = structuredClone(t), s = (a, o) => {
1459
1459
  var u;
1460
- const n = structuredClone(a), h = wa(r, o);
1460
+ const n = structuredClone(a), h = Sa(r, o);
1461
1461
  if (!h)
1462
1462
  return n;
1463
1463
  for (const l of Object.keys(a.children))
@@ -1508,7 +1508,7 @@ const Vs = (t, r) => {
1508
1508
  u.count = n;
1509
1509
  }
1510
1510
  return e;
1511
- }, So = /* @__PURE__ */ ee(class extends J {
1511
+ }, wo = /* @__PURE__ */ ee(class extends J {
1512
1512
  constructor() {
1513
1513
  super();
1514
1514
  /**
@@ -1594,19 +1594,19 @@ const Vs = (t, r) => {
1594
1594
  case "EXACT_MATCH_UPDATE":
1595
1595
  case "RANGE_VALUE_UPDATE": {
1596
1596
  if (e.supplementalFacetPrime) {
1597
- const C = (l = e.supplementalFacetPrime) == null ? void 0 : l.find(($) => this.fieldName === Object.keys($)[0]), w = C == null ? void 0 : C[this.fieldName], P = Gr({
1597
+ const C = (l = e.supplementalFacetPrime) == null ? void 0 : l.find(($) => this.fieldName === Object.keys($)[0]), S = C == null ? void 0 : C[this.fieldName], P = Gr({
1598
1598
  path: "/",
1599
1599
  count: 0,
1600
- children: w || []
1600
+ children: S || []
1601
1601
  }, this.exclude);
1602
- this.facetTreeCollectedFromSearchResponse = Vs(P, n);
1602
+ this.facetTreeCollectedFromSearchResponse = qs(P, n);
1603
1603
  } else
1604
1604
  this.facetTreeCollectedFromSearchResponse = n;
1605
1605
  break;
1606
1606
  }
1607
1607
  case "FACET_UPDATE":
1608
1608
  case "SORT_ORDER_UPDATE":
1609
- this.facetTreeCollectedFromSearchResponse = Vs(this.facetTreeCollectedFromSearchResponse, n);
1609
+ this.facetTreeCollectedFromSearchResponse = qs(this.facetTreeCollectedFromSearchResponse, n);
1610
1610
  break;
1611
1611
  default:
1612
1612
  return;
@@ -1621,8 +1621,8 @@ const Vs = (t, r) => {
1621
1621
  count: 0,
1622
1622
  children: []
1623
1623
  };
1624
- for (const C of Object.keys(this.selectedPaths).filter((w) => this.selectedPaths[w])) {
1625
- const w = C.startsWith("/") ? C.substring(1).split("/") : C.split("/"), P = !!wa(this.facetTreeCollectedFromSearchResponse, w), $ = w.at(-1);
1624
+ for (const C of Object.keys(this.selectedPaths).filter((S) => this.selectedPaths[S])) {
1625
+ const S = C.startsWith("/") ? C.substring(1).split("/") : C.split("/"), P = !!Sa(this.facetTreeCollectedFromSearchResponse, S), $ = S.at(-1);
1626
1626
  !P && $ && ((p = h.children) == null || p.push({
1627
1627
  children: [],
1628
1628
  count: 0,
@@ -1706,12 +1706,12 @@ function Ra() {
1706
1706
  ["searchcraft-facet-list"].forEach((r) => {
1707
1707
  switch (r) {
1708
1708
  case "searchcraft-facet-list":
1709
- customElements.get(r) || customElements.define(r, So);
1709
+ customElements.get(r) || customElements.define(r, wo);
1710
1710
  break;
1711
1711
  }
1712
1712
  });
1713
1713
  }
1714
- const wo = Ra;
1714
+ const So = Ra;
1715
1715
  function Ht(t, r) {
1716
1716
  if (t && r)
1717
1717
  return r.fieldNames.map((e) => {
@@ -1907,10 +1907,10 @@ const $o = /* @__PURE__ */ ee(class extends J {
1907
1907
  }
1908
1908
  render() {
1909
1909
  const e = (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);
1910
- return m("div", { key: "2c72254f52151edd2e2fa89c092fc788db0b5562", class: "searchcraft-slider" }, m("div", { key: "98c25badf2c9386d7173ea552e510dcc168e7fc7", class: "searchcraft-slider-range" }, m("div", { key: "50774db2253e34b1bce68acc0a40b2706cab542d", class: "searchcraft-slider-active-range", style: {
1910
+ return m("div", { key: "d5035ed8bcbf95c0ef5b2a7a9ef471e318a9dc30", class: "searchcraft-slider" }, m("div", { key: "f5f7bc48703250b4f6c75a1f07c921233bd957d5", class: "searchcraft-slider-range" }, m("div", { key: "fc2ec9f9786986a7306ffe43b54c47c35a1f086a", class: "searchcraft-slider-active-range", style: {
1911
1911
  left: `${e}%`,
1912
1912
  width: `${s - e}%`
1913
- } }), m("input", { key: "229afedc1318a63cbd75806805210cf4f5695e6e", class: xe("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 }), m("input", { key: "6aa038b01daaba86f501ebbbec30fc6720b549b3", class: xe("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 })), m("div", { key: "f70501538635c3b08ad1e6ac101d0b3192ef8e04", class: "searchcraft-slider-label" }, m("span", { key: "ddd539b86774f8900771d77d5ef7eb3a67c98d59", class: "searchcraft-slider-start-label" }, a), m("span", { key: "b754a9c8d284e0623032cee6b92f9df88873ec04", class: "searchcraft-slider-end-label" }, o)));
1913
+ } }), m("input", { key: "716316b5ce507c40db5b7bd408f47b3bece88494", class: xe("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 }), m("input", { key: "e2ad0d586136185faccb50d6d7fb113a64ddac42", class: xe("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 })), m("div", { key: "7e9ab9fa9563cac6a1dfdd11910e04084ae5348d", class: "searchcraft-slider-label" }, m("span", { key: "0909279f460c4be84c1088c5981a5f5299e8e2a0", class: "searchcraft-slider-start-label" }, a), m("span", { key: "4b610a68f97fcbc0aa1eda428dfa1e53b00efe43", class: "searchcraft-slider-end-label" }, o)));
1914
1914
  }
1915
1915
  }, [0, "searchcraft-slider", {
1916
1916
  max: [2],
@@ -1977,9 +1977,9 @@ const Io = /* @__PURE__ */ ee(class extends J {
1977
1977
  (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
1978
1978
  }
1979
1979
  render() {
1980
- return m("div", { key: "ab1d5ee21c7aaa28af1c405edc986556858366e8", class: xe("searchcraft-toggle-button", {
1980
+ return m("div", { key: "7dad6f4e4422a62f6403724ff16fe25e042ae2ac", class: xe("searchcraft-toggle-button", {
1981
1981
  "searchcraft-toggle-button-active": this.isActive
1982
- }) }, m("div", { key: "44f86a16d796d448bdb2fb3af72d4d8e1484364b" }, m("p", { key: "9fedb38795d6379cae56dc005ab8e4a944b4261b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && m("p", { key: "44f3d17175184032275fec89a4cfe7f8266b7014", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), m("button", { key: "15fc18906ff2fb21fe646a4e3a8a2ace4a37cae2", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, m("div", { key: "716d29c65a199f63f5fd294dc3e3ad2ea4d53aa3", class: "searchcraft-toggle-button-handle" })));
1982
+ }) }, m("div", { key: "2faa2ee1eb5cb78dc39f523415f2be96bc23fed1" }, m("p", { key: "29ea63c281b8f1ae041ba75a149ce1b60e936662", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && m("p", { key: "e51efaae5ca79eede71852e6dec8eff4575139fe", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), m("button", { key: "d590da981692db162df9b8086ba2444d6a56ef9d", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, m("div", { key: "5be6ee1dd7dc58bd67fff18923569caee37b4936", class: "searchcraft-toggle-button-handle" })));
1983
1983
  }
1984
1984
  }, [0, "searchcraft-toggle-button", {
1985
1985
  label: [1],
@@ -2010,23 +2010,113 @@ const $a = /* @__PURE__ */ ee(class extends J {
2010
2010
  * The items to filter.
2011
2011
  */
2012
2012
  c(this, "items", []);
2013
+ /**
2014
+ * The breakpoint (in pixels) below which the filter panel will be hidden.
2015
+ * Defaults to 768px (--sc-breakpoint-md).
2016
+ */
2017
+ c(this, "responsiveBreakpoint", 768);
2018
+ /**
2019
+ * Controls whether the filter panel automatically hides/shows based on window size.
2020
+ * - 'auto': Automatically hide/show based on window width
2021
+ * - 'manual': User controls visibility manually
2022
+ */
2023
+ c(this, "responsiveBehavior", "auto");
2013
2024
  c(this, "lastSearchTerm");
2025
+ c(this, "isFilterPanelVisible", !0);
2014
2026
  c(this, "core");
2015
2027
  c(this, "unsubscribe");
2016
2028
  c(this, "cleanupCore");
2029
+ c(this, "resizeObserver");
2030
+ c(this, "manuallyToggled", !1);
2031
+ // Track if user manually toggled visibility
2032
+ c(this, "toggleClickHandler");
2033
+ /**
2034
+ * Handles window resize events
2035
+ */
2036
+ c(this, "handleWindowResize", () => {
2037
+ this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
2038
+ });
2017
2039
  this.__registerHost();
2018
2040
  }
2041
+ get hostElement() {
2042
+ return this;
2043
+ }
2019
2044
  onCoreAvailable(e) {
2020
- this.core = e, this.setInitialDateRanges(), this.unsubscribe = e.store.subscribe((s) => {
2021
- this.lastSearchTerm = s.searchTerm || "";
2045
+ this.core = e, this.setInitialDateRanges(), this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize(), this.unsubscribe = e.store.subscribe((s, a) => {
2046
+ if (this.lastSearchTerm = s.searchTerm || "", a.isFilterPanelVisible !== s.isFilterPanelVisible) {
2047
+ const n = window.innerWidth >= (this.responsiveBreakpoint || 768);
2048
+ s.isFilterPanelVisible !== n && (this.manuallyToggled = !0), this.updateToggleElementAttributes(s.isFilterPanelVisible);
2049
+ }
2050
+ this.isFilterPanelVisible = s.isFilterPanelVisible;
2022
2051
  });
2023
2052
  }
2024
2053
  componentDidLoad() {
2025
- this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this));
2054
+ this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.responsiveBehavior === "auto" && typeof window < "u" && this.setupResizeObserver(), this.setupToggleClickHandlers(), setTimeout(() => {
2055
+ if (this.core) {
2056
+ const e = this.core.store.getState().isFilterPanelVisible;
2057
+ this.updateToggleElementAttributes(e);
2058
+ }
2059
+ }, 0);
2026
2060
  }
2027
2061
  disconnectedCallback() {
2028
- var e, s;
2029
- (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
2062
+ var e, s, a;
2063
+ (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this), (a = this.resizeObserver) == null || a.disconnect(), typeof window < "u" && window.removeEventListener("resize", this.handleWindowResize), this.cleanupToggleClickHandlers();
2064
+ }
2065
+ /**
2066
+ * Sets up a ResizeObserver to watch for window size changes
2067
+ */
2068
+ setupResizeObserver() {
2069
+ if (typeof ResizeObserver > "u") {
2070
+ window.addEventListener("resize", this.handleWindowResize);
2071
+ return;
2072
+ }
2073
+ this.resizeObserver = new ResizeObserver(() => {
2074
+ this.handleWindowResize();
2075
+ }), this.resizeObserver.observe(document.body);
2076
+ }
2077
+ /**
2078
+ * Updates filter panel visibility based on current window width
2079
+ */
2080
+ updateVisibilityBasedOnWindowSize() {
2081
+ if (typeof window > "u" || this.manuallyToggled)
2082
+ return;
2083
+ const s = window.innerWidth >= (this.responsiveBreakpoint || 768);
2084
+ this.core && this.isFilterPanelVisible !== s && this.core.store.getState().setFilterPanelVisibility(s);
2085
+ }
2086
+ /**
2087
+ * Sets up click handlers for elements with data-toggle-filter-panel attribute
2088
+ */
2089
+ setupToggleClickHandlers() {
2090
+ if (typeof document > "u")
2091
+ return;
2092
+ this.toggleClickHandler = (s) => {
2093
+ if (!(window.innerWidth >= (this.responsiveBreakpoint || 768)) && (s.preventDefault(), this.core)) {
2094
+ const o = this.core.store.getState().isFilterPanelVisible;
2095
+ this.core.store.getState().setFilterPanelVisibility(!o);
2096
+ }
2097
+ }, document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
2098
+ this.toggleClickHandler && s.addEventListener("click", this.toggleClickHandler);
2099
+ });
2100
+ }
2101
+ /**
2102
+ * Updates data attributes on toggle elements to reflect panel visibility state
2103
+ */
2104
+ updateToggleElementAttributes(e) {
2105
+ if (typeof document > "u")
2106
+ return;
2107
+ document.querySelectorAll("[data-toggle-filter-panel]").forEach((a) => {
2108
+ e ? (a.removeAttribute("data-filter-panel-collapsed"), a.setAttribute("data-filter-panel-expanded", "")) : (a.removeAttribute("data-filter-panel-expanded"), a.setAttribute("data-filter-panel-collapsed", ""));
2109
+ });
2110
+ }
2111
+ /**
2112
+ * Cleans up click handlers for toggle elements
2113
+ */
2114
+ cleanupToggleClickHandlers() {
2115
+ if (typeof document > "u" || !this.toggleClickHandler)
2116
+ return;
2117
+ document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
2118
+ this.toggleClickHandler && s.removeEventListener("click", this.toggleClickHandler);
2119
+ });
2030
2120
  }
2031
2121
  /**
2032
2122
  * Sets the initial min/max date range values for search queries based on the filter items provided.
@@ -2082,7 +2172,7 @@ const $a = /* @__PURE__ */ ee(class extends J {
2082
2172
  * Iterate through `items` and render them based on `type`
2083
2173
  */
2084
2174
  render() {
2085
- return m("div", { key: "ee8974e38b296a1ba27111bc2a4244d8915f5839", class: "searchcraft-filter-panel" }, this.items.map((e) => {
2175
+ return this.isFilterPanelVisible ? m("div", { class: "searchcraft-filter-panel" }, this.items.map((e) => {
2086
2176
  switch (e.type) {
2087
2177
  case "dateRange": {
2088
2178
  const s = e, a = s.options.maxDate || /* @__PURE__ */ new Date();
@@ -2115,12 +2205,15 @@ const $a = /* @__PURE__ */ ee(class extends J {
2115
2205
  } });
2116
2206
  }
2117
2207
  }
2118
- }));
2208
+ })) : null;
2119
2209
  }
2120
2210
  }, [0, "searchcraft-filter-panel", {
2121
2211
  searchcraftId: [1, "searchcraft-id"],
2122
2212
  items: [16],
2123
- lastSearchTerm: [32]
2213
+ responsiveBreakpoint: [2, "responsive-breakpoint"],
2214
+ responsiveBehavior: [1, "responsive-behavior"],
2215
+ lastSearchTerm: [32],
2216
+ isFilterPanelVisible: [32]
2124
2217
  }]);
2125
2218
  function _o() {
2126
2219
  if (typeof customElements > "u")
@@ -2153,7 +2246,7 @@ const Ao = $a, Ia = _o, Mo = /* @__PURE__ */ ee(class extends J {
2153
2246
  this.__registerHost();
2154
2247
  }
2155
2248
  render() {
2156
- return m("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: xe("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
2249
+ return m("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: xe("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
2157
2250
  }
2158
2251
  }, [0, "searchcraft-input-label", {
2159
2252
  inputLabelClassName: [1, "input-label-class-name"],
@@ -2279,7 +2372,7 @@ const _a = /* @__PURE__ */ ee(class extends J {
2279
2372
  }), o = {
2280
2373
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
2281
2374
  };
2282
- return m("form", { key: "d214ace44e9209154d215e803de088aefa58a285", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, m("div", { key: "5699f5dca28caf5e9584401f1883d2e08d26e3ec", class: s, style: o }, m("div", { key: "ef792a946414a680e9c99c145246d00b9b8f2ffb", class: "searchcraft-input-form-button" }, m("searchcraft-button", { key: "ba5a8cb98889bb486781af4915a21c94a0b1498a", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && m("div", { key: "a9e770ef967f7ab1c6ddf8f87f23cea509894536", class: "searchcraft-input-form-label" }, m("searchcraft-input-label", { key: "93b29e630e71a3c7724921aa9586aab76e592f4f", label: this.inputLabel })), this.error && m("div", { key: "641ef4f468d527c24a1635d49dcbbba03030686f", class: "searchcraft-input-form-error-message" }, m("searchcraft-error-message", { key: "2d839d17b702fe1b41d7e49aacfc52fb53315766" }, "Something went wrong.")), m("div", { key: "af0c73478de21447c992bd0037ba007d54f53a86", class: "searchcraft-input-form-input-wrapper" }, m("input", { key: "3de1be1aa71c143b58cd6080d422410bd400e4e5", autoComplete: "off", class: xe("searchcraft-input-form-input", {
2375
+ return m("form", { key: "8ba91615394f95c0d5bd26a3006d3e8b454f047e", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, m("div", { key: "d9025a1c041e3132280b22e5a1b039df0196cea5", class: s, style: o }, m("div", { key: "a8c3a80a0ccb718f974902fb1d163d5c3ee6194a", class: "searchcraft-input-form-button" }, m("searchcraft-button", { key: "a12ff9a8cdb9a4ce3c3fd54b1c2ae084edd37069", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && m("div", { key: "866e7162c402524eaca864bb6e950a244245dc48", class: "searchcraft-input-form-label" }, m("searchcraft-input-label", { key: "c57217cd5924c827df08e22a728067e3bfc63a26", label: this.inputLabel })), this.error && m("div", { key: "4a54728bf366db50de39470cf31860a6307dafea", class: "searchcraft-input-form-error-message" }, m("searchcraft-error-message", { key: "5fa5b5f5677350338d15c8e6614b0d9f584141b0" }, "Something went wrong.")), m("div", { key: "67be766103a3bca11cff6f83a2a6dea7c6c6f106", class: "searchcraft-input-form-input-wrapper" }, m("input", { key: "931609a4e8fc55d688077ec6cb04f2bb9b86b5fe", autoComplete: "off", class: xe("searchcraft-input-form-input", {
2283
2376
  "searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
2284
2377
  }), onFocus: () => {
2285
2378
  var n;
@@ -2289,7 +2382,7 @@ const _a = /* @__PURE__ */ ee(class extends J {
2289
2382
  return (n = this.inputBlur) == null ? void 0 : n.emit();
2290
2383
  }, onInput: (n) => {
2291
2384
  this.handleInput(n);
2292
- }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "fe9043c046e3b1b91129299f0860919ba8a8416b", class: "searchcraft-input-form-input-icon" }, m("svg", { key: "31ae1553cd214d5e2f97c9e3699862dff51a0916", 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" }, m("title", { key: "9db677da65283ff15b0d4e79b5d9daf89637b33f" }, "Search icon"), m("path", { key: "2a002eae6ed3725a432e7c3e4649c0bd2ffff7a0", 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" }))), e && m("button", { key: "b7e92b22c3234eb31d85b0aa98d7c682b2fc0021", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, m("svg", { key: "bfbeb742f197da0cac6dd5df2627db9df5349207", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, m("title", { key: "c62b9d237b3762609fed72e0520322fb5eabe979" }, "Clear icon"), m("path", { key: "198a13760ce8b076ef8e791dec933b210ff3017a", 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" }))))));
2385
+ }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "7feb32348b7faec4104137a142ba8150149498a5", class: "searchcraft-input-form-input-icon" }, m("svg", { key: "8b9abd236d4896b8dbd5c14e06019c116e3675be", 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" }, m("title", { key: "4d3b6724f6532920f5531d2e15b28a06f0770688" }, "Search icon"), m("path", { key: "65a46a1916c1f020c9bebffd42aa016b59177376", 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" }))), e && m("button", { key: "65278eb0ab49415dce79c874adf90adcb5854db5", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, m("svg", { key: "0016263afe32250ace58cc4b98ff6106d7d9d4a0", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, m("title", { key: "9b40d806455ab9c19c0cddb4c76101debdb0266c" }, "Clear icon"), m("path", { key: "2954ee1496d6736d6e780755034902c76adb81e9", 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" }))))));
2293
2386
  }
2294
2387
  static get watchers() {
2295
2388
  return {
@@ -2333,14 +2426,14 @@ function Aa() {
2333
2426
  }
2334
2427
  });
2335
2428
  }
2336
- const Oo = _a, Ma = Aa, Lo = hs, Fo = /* @__PURE__ */ ee(class extends J {
2429
+ const Oo = _a, Ma = Aa, Fo = hs, Lo = /* @__PURE__ */ ee(class extends J {
2337
2430
  constructor() {
2338
2431
  super();
2339
2432
  c(this, "label");
2340
2433
  this.__registerHost();
2341
2434
  }
2342
2435
  render() {
2343
- return m("div", { key: "507cde7e8f74682d0535a65fbc787b18fa4c49f7", class: "searchcraft-loading" }, m("div", { key: "de8d4db44bd0d54baa276403063327b040a39ee4", class: "searchcraft-loading-bars" }, m("div", { key: "3ef1ad066aef5582de0afe08c598747e48533f0a", class: "searchcraft-loading-bar-1" }), m("div", { key: "0e9b5bfb8c031b1d788b0f39a63b1b325f123aad", class: "searchcraft-loading-bar-2" }), m("div", { key: "b342f47a3869301d17e66f0ae79cbea6b2a7ed41", class: "searchcraft-loading-bar-3" }), m("div", { key: "c11c58254a005b80c54b98f6713acb4c7f376a58", class: "searchcraft-loading-bar-4" }), m("div", { key: "c53ff4d003ed8e1d17fdc2ab8d61b2d3313dd5ac", class: "searchcraft-loading-bar-5" }), m("div", { key: "3f517f20a24a844c04562cbb95b3a39502905405", class: "searchcraft-loading-bar-6" })), m("p", { key: "11a63145472d8ded9d28bf7e9cfde9097e6a02e2", class: "searchcraft-loading-label" }, this.label));
2436
+ return m("div", { key: "5bda164202246eeb2e56bb6a25bede9931898e7a", class: "searchcraft-loading" }, m("div", { key: "e33a5abc6686f9983c718a2532aa2d46902d98a2", class: "searchcraft-loading-bars" }, m("div", { key: "85ff7af527b8f419c9bfd6e84331dd68772e6fdd", class: "searchcraft-loading-bar-1" }), m("div", { key: "1485d17e9262dbec6d2e5976a63149878137821c", class: "searchcraft-loading-bar-2" }), m("div", { key: "d2939b9f7bc0599df7d96db91802ebfcbf232f3e", class: "searchcraft-loading-bar-3" }), m("div", { key: "7a73bd5baf25ec789c3170e066d1333b905bfe7b", class: "searchcraft-loading-bar-4" }), m("div", { key: "b644b618766727773b21d288945c21b6ef0be958", class: "searchcraft-loading-bar-5" }), m("div", { key: "4f5123a786fc40891ca54edc538dd56f683b26ce", class: "searchcraft-loading-bar-6" })), m("p", { key: "967c1a6fb41231c8d713b78facca98e7f5a80709", class: "searchcraft-loading-label" }, this.label));
2344
2437
  }
2345
2438
  }, [0, "searchcraft-loading", {
2346
2439
  label: [1]
@@ -2351,12 +2444,12 @@ function Oa() {
2351
2444
  ["searchcraft-loading"].forEach((r) => {
2352
2445
  switch (r) {
2353
2446
  case "searchcraft-loading":
2354
- customElements.get(r) || customElements.define(r, Fo);
2447
+ customElements.get(r) || customElements.define(r, Lo);
2355
2448
  break;
2356
2449
  }
2357
2450
  });
2358
2451
  }
2359
- const Do = Oa, La = /* @__PURE__ */ ee(class extends J {
2452
+ const Do = Oa, Fa = /* @__PURE__ */ ee(class extends J {
2360
2453
  constructor() {
2361
2454
  super();
2362
2455
  /**
@@ -2438,7 +2531,7 @@ function No() {
2438
2531
  ["searchcraft-pagination", "searchcraft-button"].forEach((r) => {
2439
2532
  switch (r) {
2440
2533
  case "searchcraft-pagination":
2441
- customElements.get(r) || customElements.define(r, La);
2534
+ customElements.get(r) || customElements.define(r, Fa);
2442
2535
  break;
2443
2536
  case "searchcraft-button":
2444
2537
  customElements.get(r) || Er();
@@ -2446,7 +2539,7 @@ function No() {
2446
2539
  }
2447
2540
  });
2448
2541
  }
2449
- const zo = La, Fa = No, Da = /* @__PURE__ */ ee(class extends J {
2542
+ const zo = Fa, La = No, Da = /* @__PURE__ */ ee(class extends J {
2450
2543
  constructor() {
2451
2544
  super();
2452
2545
  /**
@@ -2528,7 +2621,7 @@ const zo = La, Fa = No, Da = /* @__PURE__ */ ee(class extends J {
2528
2621
  }
2529
2622
  }
2530
2623
  render() {
2531
- return m("button", { key: "ef815c1ea4ecde68fe152f80b811a95ccb9a38be", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: Vt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
2624
+ return m("button", { key: "4f11d81bb189a929372d9e398a0913b3b626e42c", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: qt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
2532
2625
  }
2533
2626
  }, [4, "searchcraft-popover-button", {
2534
2627
  template: [16],
@@ -2551,7 +2644,7 @@ function Ho() {
2551
2644
  }
2552
2645
  });
2553
2646
  }
2554
- const Uo = Da, Na = Ho, Bo = /* @__PURE__ */ ee(class extends J {
2647
+ const Bo = Da, Na = Ho, Uo = /* @__PURE__ */ ee(class extends J {
2555
2648
  constructor() {
2556
2649
  super();
2557
2650
  /**
@@ -2577,7 +2670,7 @@ const Uo = Da, Na = Ho, Bo = /* @__PURE__ */ ee(class extends J {
2577
2670
  (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
2578
2671
  }
2579
2672
  render() {
2580
- return m("footer", { key: "e12fa32df3c1137e643af22323feb3dc33f7718f", class: "searchcraft-popover-footer" }, m("p", { key: "73a33859c1702d82625748f398d5402030cc71f4", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Ea(this.searchResultsCount)} Results Found` : " "), m("a", { key: "9d32f6b21b166fef3e17e5b2eb81bfafe32f8d1a", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, m("svg", { key: "e47249460b6e2b5bb2a25d37c33d8a85b8c6013e", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "438e675ff71edfc2176c08abe8efa34aaf7496ca" }, "Powered by Searchcraft"), m("path", { key: "484e8935fb1cb84a79b8402748bac1da8171e9de", 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" }))));
2673
+ return m("footer", { key: "5e3c0da21c63453ac705d0ea2dbb1ee5053bd527", class: "searchcraft-popover-footer" }, m("p", { key: "34332a6a54af63717a6f6c36c65a321b2d18c82c", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Ea(this.searchResultsCount)} Results Found` : " "), m("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, m("svg", { key: "4ebaa80bc3ee8cc2643368d84158cc46ac141376", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), m("path", { key: "43d4a2b110134036b8823e508f535c293fb2df0c", 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" }))));
2581
2674
  }
2582
2675
  }, [0, "searchcraft-popover-footer", {
2583
2676
  searchcraftId: [1, "searchcraft-id"],
@@ -2589,12 +2682,12 @@ function za() {
2589
2682
  ["searchcraft-popover-footer"].forEach((r) => {
2590
2683
  switch (r) {
2591
2684
  case "searchcraft-popover-footer":
2592
- customElements.get(r) || customElements.define(r, Bo);
2685
+ customElements.get(r) || customElements.define(r, Uo);
2593
2686
  break;
2594
2687
  }
2595
2688
  });
2596
2689
  }
2597
- const qo = za, Vo = /* @__PURE__ */ ee(class extends J {
2690
+ const Vo = za, qo = /* @__PURE__ */ ee(class extends J {
2598
2691
  constructor() {
2599
2692
  super();
2600
2693
  c(this, "item");
@@ -2640,7 +2733,7 @@ const qo = za, Vo = /* @__PURE__ */ ee(class extends J {
2640
2733
  (e = this.cleanupCore) == null || e.call(this);
2641
2734
  }
2642
2735
  render() {
2643
- return m("div", { key: "fe1f0a2803c05c7f7901a1e34e3751283683b841", class: "searchcraft-popover-list-item" }, m("a", { key: "b1765b28e4df4483554e4aa1e776f85817f45709", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && m("div", { key: "d47112466fe3414278f88db73294c829eceb63ba", class: "searchcraft-popover-list-item-image-wrapper" }, m("img", { key: "cf65d6520a2586f9b056775a0d1c3e85cb81cdd7", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), m("div", { key: "b6bdaf2e52e216d20c23790b4b53563be8709d40", class: "searchcraft-popover-list-item-content" }, this.title && m("p", { key: "21a6541924914c8ea2b798d0e910c6e4544b7e46", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && m("p", { key: "625a1d6b1a7e6bfb848fd49cb316968b396b0473", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
2736
+ return m("div", { key: "d1c9c310b8abc9d2370efb802eac1edf4189519d", class: "searchcraft-popover-list-item" }, m("a", { key: "30eb1a5076c5b4b95ae43147eaee0bb72ce46179", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && m("div", { key: "d18ff55823dc2c61f3786f423936af8b009aeeda", class: "searchcraft-popover-list-item-image-wrapper" }, m("img", { key: "56f4cc1d472f7da05e64fcf52c560a7ad0cdf7a6", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), m("div", { key: "78a0f0235d5e71d10076b70ccbaf4b58e0d6fea0", class: "searchcraft-popover-list-item-content" }, this.title && m("p", { key: "4489047af56e5aa295cb5f036e970dcad053d3b7", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && m("p", { key: "4d177c227a1dbf1233022d738403c8eb93ba328d", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
2644
2737
  }
2645
2738
  }, [0, "searchcraft-popover-list-item", {
2646
2739
  item: [16],
@@ -2659,7 +2752,7 @@ function ds() {
2659
2752
  ["searchcraft-popover-list-item"].forEach((r) => {
2660
2753
  switch (r) {
2661
2754
  case "searchcraft-popover-list-item":
2662
- customElements.get(r) || customElements.define(r, Vo);
2755
+ customElements.get(r) || customElements.define(r, qo);
2663
2756
  break;
2664
2757
  }
2665
2758
  });
@@ -2702,8 +2795,8 @@ const jo = /* @__PURE__ */ ee(class extends J {
2702
2795
  return m("div", { class: "searchcraft-popover-list-view" }, (e = this.adClientResponseItems) == null ? void 0 : e.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
2703
2796
  }
2704
2797
  renderWithCustomAds() {
2705
- var u, l, p, C, w, P, $, z;
2706
- const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((P = (w = this.config) == null ? void 0 : w.customAdConfig) == null ? void 0 : P.adStartQuantity) || 0, n = ((z = ($ = this.config) == null ? void 0 : $.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
2798
+ var u, l, p, C, S, P, $, z;
2799
+ const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((P = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : P.adStartQuantity) || 0, n = ((z = ($ = this.config) == null ? void 0 : $.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
2707
2800
  for (let D = 0; D < o; D++)
2708
2801
  e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
2709
2802
  h.forEach((D, I) => {
@@ -2717,18 +2810,18 @@ const jo = /* @__PURE__ */ ee(class extends J {
2717
2810
  return m("div", { class: "searchcraft-popover-list-view" }, e);
2718
2811
  }
2719
2812
  renderWithNativoAds() {
2720
- var l, p, C, w, P, $, z, D, I, M;
2721
- const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((w = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : w.adInterstitialInterval) || 0, o = (($ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : $.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
2722
- for (let q = 0; q < n; q++)
2723
- e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "top" }));
2724
- u.forEach((q, Y) => {
2813
+ var l, p, C, S, P, $, z, D, I, M;
2814
+ const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = (($ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : $.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
2815
+ for (let V = 0; V < n; V++)
2816
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
2817
+ u.forEach((V, Y) => {
2725
2818
  if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
2726
2819
  for (let ge = 0; ge < o; ge++)
2727
- e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q.id}-ad-${ge}`, renderPosition: "interstitial" }));
2728
- e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: q, key: q.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + Y }));
2820
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V.id}-ad-${ge}`, renderPosition: "interstitial" }));
2821
+ e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: V, key: V.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + Y }));
2729
2822
  });
2730
- for (let q = 0; q < h; q++)
2731
- e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "bottom" }));
2823
+ for (let V = 0; V < h; V++)
2824
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "bottom" }));
2732
2825
  return m("div", { class: "searchcraft-popover-list-view" }, e);
2733
2826
  }
2734
2827
  renderWithNoAds() {
@@ -2764,7 +2857,7 @@ function Ha() {
2764
2857
  }
2765
2858
  });
2766
2859
  }
2767
- const Ua = /* @__PURE__ */ ee(class extends J {
2860
+ const Ba = /* @__PURE__ */ ee(class extends J {
2768
2861
  constructor() {
2769
2862
  super();
2770
2863
  /**
@@ -2966,13 +3059,13 @@ const Ua = /* @__PURE__ */ ee(class extends J {
2966
3059
  searchResultsPerPage: [32],
2967
3060
  modalElement: [32]
2968
3061
  }]);
2969
- function Ba() {
3062
+ function Ua() {
2970
3063
  if (typeof customElements > "u")
2971
3064
  return;
2972
3065
  ["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((r) => {
2973
3066
  switch (r) {
2974
3067
  case "searchcraft-popover-form":
2975
- customElements.get(r) || customElements.define(r, Ua);
3068
+ customElements.get(r) || customElements.define(r, Ba);
2976
3069
  break;
2977
3070
  case "searchcraft-ad":
2978
3071
  customElements.get(r) || Rr();
@@ -2993,7 +3086,7 @@ function Ba() {
2993
3086
  customElements.get(r) || za();
2994
3087
  break;
2995
3088
  case "searchcraft-popover-form":
2996
- customElements.get(r) || Ba();
3089
+ customElements.get(r) || Ua();
2997
3090
  break;
2998
3091
  case "searchcraft-popover-list-item":
2999
3092
  customElements.get(r) || ds();
@@ -3004,7 +3097,7 @@ function Ba() {
3004
3097
  }
3005
3098
  });
3006
3099
  }
3007
- const Wo = Ua, qa = Ba, Go = ds, Zo = Ha, Va = /* @__PURE__ */ ee(class extends J {
3100
+ const Wo = Ba, Va = Ua, Go = ds, Zo = Ha, qa = /* @__PURE__ */ ee(class extends J {
3008
3101
  constructor() {
3009
3102
  super();
3010
3103
  /**
@@ -3048,7 +3141,7 @@ const Wo = Ua, qa = Ba, Go = ds, Zo = Ha, Va = /* @__PURE__ */ ee(class extends
3048
3141
  range: [Number(this.range[0]), Number(this.range[1])],
3049
3142
  count: this.count,
3050
3143
  responseTime: this.responseTime
3051
- }, { html: Vt }) : `${Ea(this.count)} results found in ${this.responseTime}ms`);
3144
+ }, { html: qt }) : `${Ea(this.count)} results found in ${this.responseTime}ms`);
3052
3145
  }
3053
3146
  }, [0, "searchcraft-results-info", {
3054
3147
  template: [16],
@@ -3068,12 +3161,12 @@ function Yo() {
3068
3161
  ["searchcraft-results-info"].forEach((r) => {
3069
3162
  switch (r) {
3070
3163
  case "searchcraft-results-info":
3071
- customElements.get(r) || customElements.define(r, Va);
3164
+ customElements.get(r) || customElements.define(r, qa);
3072
3165
  break;
3073
3166
  }
3074
3167
  });
3075
3168
  }
3076
- const Qo = Va, ja = Yo, Ko = /* @__PURE__ */ ee(class extends J {
3169
+ const Qo = qa, ja = Yo, Ko = /* @__PURE__ */ ee(class extends J {
3077
3170
  constructor() {
3078
3171
  super();
3079
3172
  c(this, "item");
@@ -3125,7 +3218,7 @@ const Qo = Va, ja = Yo, Ko = /* @__PURE__ */ ee(class extends J {
3125
3218
  if (this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.item)
3126
3219
  try {
3127
3220
  this.templateHtml = (e = this.template) == null ? void 0 : e.call(this, this.item.document, this.index, {
3128
- html: Vt,
3221
+ html: qt,
3129
3222
  source_index: this.item.source_index
3130
3223
  });
3131
3224
  } catch (s) {
@@ -3213,8 +3306,8 @@ const Xo = Wa, Ga = /* @__PURE__ */ ee(class extends J {
3213
3306
  return m("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), e.map((a, o) => m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, index: o, item: a, template: this.template })));
3214
3307
  }
3215
3308
  renderWithCustomAds() {
3216
- var u, l, p, C, w, P, $, z;
3217
- const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((P = (w = this.config) == null ? void 0 : w.customAdConfig) == null ? void 0 : P.adStartQuantity) || 0, n = ((z = ($ = this.config) == null ? void 0 : $.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3309
+ var u, l, p, C, S, P, $, z;
3310
+ const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((P = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : P.adStartQuantity) || 0, n = ((z = ($ = this.config) == null ? void 0 : $.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3218
3311
  for (let D = 0; D < o; D++)
3219
3312
  e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
3220
3313
  h.forEach((D, I) => {
@@ -3228,18 +3321,18 @@ const Xo = Wa, Ga = /* @__PURE__ */ ee(class extends J {
3228
3321
  return m("div", { class: "searchcraft-search-results" }, e);
3229
3322
  }
3230
3323
  renderWithNativoAds() {
3231
- var l, p, C, w, P, $, z, D, I, M;
3232
- const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((w = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : w.adInterstitialInterval) || 0, o = (($ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : $.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
3233
- for (let q = 0; q < n; q++)
3234
- e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "top" }));
3235
- u.forEach((q, Y) => {
3324
+ var l, p, C, S, P, $, z, D, I, M;
3325
+ const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = (($ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : $.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
3326
+ for (let V = 0; V < n; V++)
3327
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
3328
+ u.forEach((V, Y) => {
3236
3329
  if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
3237
3330
  for (let ge = 0; ge < o; ge++)
3238
- e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q.id}-ad-${ge}`, renderPosition: "interstitial" }));
3239
- e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: q.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + Y, index: Y, item: q, template: this.template }));
3331
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V.id}-ad-${ge}`, renderPosition: "interstitial" }));
3332
+ e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: V.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + Y, index: Y, item: V, template: this.template }));
3240
3333
  });
3241
- for (let q = 0; q < h; q++)
3242
- e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "bottom" }));
3334
+ for (let V = 0; V < h; V++)
3335
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "bottom" }));
3243
3336
  return m("div", { class: "searchcraft-search-results" }, e);
3244
3337
  }
3245
3338
  renderWithNoAds() {
@@ -3455,8 +3548,8 @@ var Xa = { exports: {} };
3455
3548
  for (let v of h(i))
3456
3549
  !u.call(f, v) && v !== d && o(f, v, { get: () => i[v], enumerable: !(g = n(i, v)) || g.enumerable });
3457
3550
  return f;
3458
- }, C = (f) => p(o({}, "__esModule", { value: !0 }), f), w = {};
3459
- l(w, {
3551
+ }, C = (f) => p(o({}, "__esModule", { value: !0 }), f), S = {};
3552
+ l(S, {
3460
3553
  Hooks: () => Ne,
3461
3554
  Lexer: () => Te,
3462
3555
  Marked: () => tr,
@@ -3472,10 +3565,10 @@ var Xa = { exports: {} };
3472
3565
  parse: () => ne,
3473
3566
  parseInline: () => ar,
3474
3567
  parser: () => nr,
3475
- setOptions: () => Br,
3568
+ setOptions: () => Ur,
3476
3569
  use: () => sr,
3477
3570
  walkTokens: () => re
3478
- }), a.exports = C(w);
3571
+ }), a.exports = C(S);
3479
3572
  function P() {
3480
3573
  return {
3481
3574
  async: !1,
@@ -3563,30 +3656,30 @@ var Xa = { exports: {} };
3563
3656
  fencesBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:\`\`\`|~~~)`),
3564
3657
  headingBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}#`),
3565
3658
  htmlBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}<(?:[a-z].*>|!--)`, "i")
3566
- }, q = /^(?:[ \t]*(?:\n|$))+/, Y = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ge = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, we = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ae = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Z = /(?:[*+-]|\d{1,9}[.)])/, Ke = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = I(Ke).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Pr = I(Ke).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), N = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, $r = /^[^\n]+/, $e = /(?!\s*\])(?:\\.|[^\[\]\\])+/, nt = I(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $e).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Wt = I(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Z).getRegex(), Xe = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", ot = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ir = I(
3659
+ }, V = /^(?:[ \t]*(?:\n|$))+/, Y = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ge = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Se = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ae = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Z = /(?:[*+-]|\d{1,9}[.)])/, Ke = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = I(Ke).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Pr = I(Ke).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), N = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, $r = /^[^\n]+/, $e = /(?!\s*\])(?:\\.|[^\[\]\\])+/, nt = I(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $e).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Wt = I(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Z).getRegex(), Xe = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", ot = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ir = I(
3567
3660
  "^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
3568
3661
  "i"
3569
- ).replace("comment", ot).replace("tag", Xe).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ft = I(N).replace("hr", we).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Xe).getRegex(), _r = I(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ft).getRegex(), pt = {
3662
+ ).replace("comment", ot).replace("tag", Xe).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ft = I(N).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Xe).getRegex(), _r = I(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ft).getRegex(), pt = {
3570
3663
  blockquote: _r,
3571
3664
  code: Y,
3572
3665
  def: nt,
3573
3666
  fences: ge,
3574
3667
  heading: ae,
3575
- hr: we,
3668
+ hr: Se,
3576
3669
  html: Ir,
3577
3670
  lheading: oe,
3578
3671
  list: Wt,
3579
- newline: q,
3672
+ newline: V,
3580
3673
  paragraph: ft,
3581
3674
  table: D,
3582
3675
  text: $r
3583
3676
  }, Pt = I(
3584
3677
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
3585
- ).replace("hr", we).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Xe).getRegex(), $t = {
3678
+ ).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Xe).getRegex(), $t = {
3586
3679
  ...pt,
3587
3680
  lheading: Pr,
3588
3681
  table: Pt,
3589
- paragraph: I(N).replace("hr", we).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Pt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Xe).getRegex()
3682
+ paragraph: I(N).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Pt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Xe).getRegex()
3590
3683
  }, Gt = {
3591
3684
  ...pt,
3592
3685
  html: I(
@@ -3597,25 +3690,25 @@ var Xa = { exports: {} };
3597
3690
  fences: D,
3598
3691
  // fences not supported
3599
3692
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3600
- paragraph: I(N).replace("hr", we).replace("heading", ` *#{1,6} *[^
3693
+ paragraph: I(N).replace("hr", Se).replace("heading", ` *#{1,6} *[^
3601
3694
  ]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3602
- }, mt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ar = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Zt = /^( {2,}|\\)\n(?!\s*$)/, Mr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, gt = /[\p{P}\p{S}]/u, It = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Or = I(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, It).getRegex(), Yt = /(?!~)[\p{P}\p{S}]/u, Qt = /(?!~)[\s\p{P}\p{S}]/u, Lr = /(?:[^\s\p{P}\p{S}]|~)/u, Kt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Je = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Fr = I(Je, "u").replace(/punct/g, gt).getRegex(), Dr = I(Je, "u").replace(/punct/g, Yt).getRegex(), At = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xt = I(At, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), Nr = I(At, "gu").replace(/notPunctSpace/g, Lr).replace(/punctSpace/g, Qt).replace(/punct/g, Yt).getRegex(), U = I(
3695
+ }, mt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ar = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Zt = /^( {2,}|\\)\n(?!\s*$)/, Mr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, gt = /[\p{P}\p{S}]/u, It = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Or = I(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, It).getRegex(), Yt = /(?!~)[\p{P}\p{S}]/u, Qt = /(?!~)[\s\p{P}\p{S}]/u, Fr = /(?:[^\s\p{P}\p{S}]|~)/u, Kt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Je = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = I(Je, "u").replace(/punct/g, gt).getRegex(), Dr = I(Je, "u").replace(/punct/g, Yt).getRegex(), At = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xt = I(At, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), Nr = I(At, "gu").replace(/notPunctSpace/g, Fr).replace(/punctSpace/g, Qt).replace(/punct/g, Yt).getRegex(), B = I(
3603
3696
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
3604
3697
  "gu"
3605
- ).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), O = I(/\\(punct)/, "gu").replace(/punct/g, gt).getRegex(), V = I(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), B = I(ot).replace("(?:-->|$)", "-->").getRegex(), ie = I(
3698
+ ).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), O = I(/\\(punct)/, "gu").replace(/punct/g, gt).getRegex(), q = I(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), U = I(ot).replace("(?:-->|$)", "-->").getRegex(), ie = I(
3606
3699
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
3607
- ).replace("comment", B).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ye = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, et = I(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ye).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), bt = I(/^!?\[(label)\]\[(ref)\]/).replace("label", ye).replace("ref", $e).getRegex(), Mt = I(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), it = I("reflink|nolink(?!\\()", "g").replace("reflink", bt).replace("nolink", Mt).getRegex(), Ot = {
3700
+ ).replace("comment", U).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ye = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, et = I(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ye).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), bt = I(/^!?\[(label)\]\[(ref)\]/).replace("label", ye).replace("ref", $e).getRegex(), Mt = I(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), it = I("reflink|nolink(?!\\()", "g").replace("reflink", bt).replace("nolink", Mt).getRegex(), Ot = {
3608
3701
  _backpedal: D,
3609
3702
  // only used for GFM url
3610
3703
  anyPunctuation: O,
3611
- autolink: V,
3704
+ autolink: q,
3612
3705
  blockSkip: Kt,
3613
3706
  br: Zt,
3614
3707
  code: Ar,
3615
3708
  del: D,
3616
- emStrongLDelim: Fr,
3709
+ emStrongLDelim: Lr,
3617
3710
  emStrongRDelimAst: Xt,
3618
- emStrongRDelimUnd: U,
3711
+ emStrongRDelimUnd: B,
3619
3712
  escape: mt,
3620
3713
  link: et,
3621
3714
  nolink: Mt,
@@ -3629,7 +3722,7 @@ var Xa = { exports: {} };
3629
3722
  ...Ot,
3630
3723
  link: I(/^!?\[(label)\]\((.*?)\)/).replace("label", ye).getRegex(),
3631
3724
  reflink: I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ye).getRegex()
3632
- }, Lt = {
3725
+ }, Ft = {
3633
3726
  ...Ot,
3634
3727
  emStrongRDelimAst: Nr,
3635
3728
  emStrongLDelim: Dr,
@@ -3638,16 +3731,16 @@ var Xa = { exports: {} };
3638
3731
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
3639
3732
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
3640
3733
  }, vt = {
3641
- ...Lt,
3734
+ ...Ft,
3642
3735
  br: I(Zt).replace("{2,}", "*").getRegex(),
3643
- text: I(Lt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3736
+ text: I(Ft.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3644
3737
  }, Ae = {
3645
3738
  normal: pt,
3646
3739
  gfm: $t,
3647
3740
  pedantic: Gt
3648
3741
  }, ct = {
3649
3742
  normal: Ot,
3650
- gfm: Lt,
3743
+ gfm: Ft,
3651
3744
  breaks: vt,
3652
3745
  pedantic: zr
3653
3746
  }, Hr = {
@@ -3676,8 +3769,8 @@ var Xa = { exports: {} };
3676
3769
  function ce(f, i) {
3677
3770
  var y;
3678
3771
  const d = f.replace(M.findPipe, (R, k, T) => {
3679
- let x = !1, S = k;
3680
- for (; --S >= 0 && T[S] === "\\"; ) x = !x;
3772
+ let x = !1, w = k;
3773
+ for (; --w >= 0 && T[w] === "\\"; ) x = !x;
3681
3774
  return x ? "|" : " |";
3682
3775
  }), g = d.split(M.splitPipe);
3683
3776
  let v = 0;
@@ -3699,7 +3792,7 @@ var Xa = { exports: {} };
3699
3792
  v++;
3700
3793
  return f.slice(0, g - v);
3701
3794
  }
3702
- function Ft(f, i) {
3795
+ function Lt(f, i) {
3703
3796
  if (f.indexOf(i[1]) === -1)
3704
3797
  return -1;
3705
3798
  let d = 0;
@@ -3725,7 +3818,7 @@ var Xa = { exports: {} };
3725
3818
  };
3726
3819
  return g.state.inLink = !1, T;
3727
3820
  }
3728
- function Ur(f, i, d) {
3821
+ function Br(f, i, d) {
3729
3822
  const g = f.match(d.other.indentCodeCompensation);
3730
3823
  if (g === null)
3731
3824
  return i;
@@ -3773,7 +3866,7 @@ var Xa = { exports: {} };
3773
3866
  fences(f) {
3774
3867
  const i = this.rules.block.fences.exec(f);
3775
3868
  if (i) {
3776
- const d = i[0], g = Ur(d, i[3] || "", this.rules);
3869
+ const d = i[0], g = Br(d, i[3] || "", this.rules);
3777
3870
  return {
3778
3871
  type: "code",
3779
3872
  raw: d,
@@ -3828,13 +3921,13 @@ var Xa = { exports: {} };
3828
3921
  break;
3829
3922
  d = d.slice(T);
3830
3923
  const x = k.join(`
3831
- `), S = x.replace(this.rules.other.blockquoteSetextReplace, `
3924
+ `), w = x.replace(this.rules.other.blockquoteSetextReplace, `
3832
3925
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
3833
3926
  g = g ? `${g}
3834
3927
  ${x}` : x, v = v ? `${v}
3835
- ${S}` : S;
3928
+ ${w}` : w;
3836
3929
  const G = this.lexer.state.top;
3837
- if (this.lexer.state.top = !0, this.lexer.blockTokens(S, y, !0), this.lexer.state.top = G, d.length === 0)
3930
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(w, y, !0), this.lexer.state.top = G, d.length === 0)
3838
3931
  break;
3839
3932
  const _ = y.at(-1);
3840
3933
  if ((_ == null ? void 0 : _.type) === "code")
@@ -3878,44 +3971,44 @@ ${S}` : S;
3878
3971
  const y = this.rules.other.listItemRegex(d);
3879
3972
  let R = !1;
3880
3973
  for (; f; ) {
3881
- let T = !1, x = "", S = "";
3974
+ let T = !1, x = "", w = "";
3882
3975
  if (!(i = y.exec(f)) || this.rules.block.hr.test(f))
3883
3976
  break;
3884
3977
  x = i[0], f = f.substring(x.length);
3885
3978
  let G = i[2].split(`
3886
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (Ue) => " ".repeat(3 * Ue.length)), _ = f.split(`
3979
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (Be) => " ".repeat(3 * Be.length)), _ = f.split(`
3887
3980
  `, 1)[0], se = !G.trim(), W = 0;
3888
- if (this.options.pedantic ? (W = 2, S = G.trimStart()) : se ? W = i[1].length + 1 : (W = i[2].search(this.rules.other.nonSpaceChar), W = W > 4 ? 1 : W, S = G.slice(W), W += i[1].length), se && this.rules.other.blankLine.test(_) && (x += _ + `
3981
+ if (this.options.pedantic ? (W = 2, w = G.trimStart()) : se ? W = i[1].length + 1 : (W = i[2].search(this.rules.other.nonSpaceChar), W = W > 4 ? 1 : W, w = G.slice(W), W += i[1].length), se && this.rules.other.blankLine.test(_) && (x += _ + `
3889
3982
  `, f = f.substring(_.length + 1), T = !0), !T) {
3890
- const Ue = this.rules.other.nextBulletRegex(W), Be = this.rules.other.hrRegex(W), qe = this.rules.other.fencesBeginRegex(W), Dt = this.rules.other.headingBeginRegex(W), or = this.rules.other.htmlBeginRegex(W);
3983
+ const Be = this.rules.other.nextBulletRegex(W), Ue = this.rules.other.hrRegex(W), Ve = this.rules.other.fencesBeginRegex(W), Dt = this.rules.other.headingBeginRegex(W), or = this.rules.other.htmlBeginRegex(W);
3891
3984
  for (; f; ) {
3892
3985
  const kt = f.split(`
3893
3986
  `, 1)[0];
3894
- let Ve;
3895
- if (_ = kt, this.options.pedantic ? (_ = _.replace(this.rules.other.listReplaceNesting, " "), Ve = _) : Ve = _.replace(this.rules.other.tabCharGlobal, " "), qe.test(_) || Dt.test(_) || or.test(_) || Ue.test(_) || Be.test(_))
3987
+ let qe;
3988
+ if (_ = kt, this.options.pedantic ? (_ = _.replace(this.rules.other.listReplaceNesting, " "), qe = _) : qe = _.replace(this.rules.other.tabCharGlobal, " "), Ve.test(_) || Dt.test(_) || or.test(_) || Be.test(_) || Ue.test(_))
3896
3989
  break;
3897
- if (Ve.search(this.rules.other.nonSpaceChar) >= W || !_.trim())
3898
- S += `
3899
- ` + Ve.slice(W);
3990
+ if (qe.search(this.rules.other.nonSpaceChar) >= W || !_.trim())
3991
+ w += `
3992
+ ` + qe.slice(W);
3900
3993
  else {
3901
- if (se || G.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || qe.test(G) || Dt.test(G) || Be.test(G))
3994
+ if (se || G.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Ve.test(G) || Dt.test(G) || Ue.test(G))
3902
3995
  break;
3903
- S += `
3996
+ w += `
3904
3997
  ` + _;
3905
3998
  }
3906
3999
  !se && !_.trim() && (se = !0), x += kt + `
3907
- `, f = f.substring(kt.length + 1), G = Ve.slice(W);
4000
+ `, f = f.substring(kt.length + 1), G = qe.slice(W);
3908
4001
  }
3909
4002
  }
3910
4003
  v.loose || (R ? v.loose = !0 : this.rules.other.doubleBlankLine.test(x) && (R = !0));
3911
4004
  let fe = null, yt;
3912
- this.options.gfm && (fe = this.rules.other.listIsTask.exec(S), fe && (yt = fe[0] !== "[ ] ", S = S.replace(this.rules.other.listReplaceTask, ""))), v.items.push({
4005
+ this.options.gfm && (fe = this.rules.other.listIsTask.exec(w), fe && (yt = fe[0] !== "[ ] ", w = w.replace(this.rules.other.listReplaceTask, ""))), v.items.push({
3913
4006
  type: "list_item",
3914
4007
  raw: x,
3915
4008
  task: !!fe,
3916
4009
  checked: yt,
3917
4010
  loose: !1,
3918
- text: S,
4011
+ text: w,
3919
4012
  tokens: []
3920
4013
  }), v.raw += x;
3921
4014
  }
@@ -3927,8 +4020,8 @@ ${S}` : S;
3927
4020
  v.raw = v.raw.trimEnd();
3928
4021
  for (let T = 0; T < v.items.length; T++)
3929
4022
  if (this.lexer.state.top = !1, v.items[T].tokens = this.lexer.blockTokens(v.items[T].text, []), !v.loose) {
3930
- const x = v.items[T].tokens.filter((G) => G.type === "space"), S = x.length > 0 && x.some((G) => this.rules.other.anyLine.test(G.raw));
3931
- v.loose = S;
4023
+ const x = v.items[T].tokens.filter((G) => G.type === "space"), w = x.length > 0 && x.some((G) => this.rules.other.anyLine.test(G.raw));
4024
+ v.loose = w;
3932
4025
  }
3933
4026
  if (v.loose)
3934
4027
  for (let T = 0; T < v.items.length; T++)
@@ -4059,7 +4152,7 @@ ${S}` : S;
4059
4152
  if ((d.length - y.length) % 2 === 0)
4060
4153
  return;
4061
4154
  } else {
4062
- const y = Ft(i[2], "()");
4155
+ const y = Lt(i[2], "()");
4063
4156
  if (y === -2)
4064
4157
  return;
4065
4158
  if (y > -1) {
@@ -4100,8 +4193,8 @@ ${S}` : S;
4100
4193
  if (!(g[1] || g[2] || "") || !d || this.rules.inline.punctuation.exec(d)) {
4101
4194
  const y = [...g[0]].length - 1;
4102
4195
  let R, k, T = y, x = 0;
4103
- const S = g[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
4104
- for (S.lastIndex = 0, i = i.slice(-1 * f.length + y); (g = S.exec(i)) != null; ) {
4196
+ const w = g[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
4197
+ for (w.lastIndex = 0, i = i.slice(-1 * f.length + y); (g = w.exec(i)) != null; ) {
4105
4198
  if (R = g[1] || g[2] || g[3] || g[4] || g[5] || g[6], !R) continue;
4106
4199
  if (k = [...R].length, g[3] || g[4]) {
4107
4200
  T += k;
@@ -4341,10 +4434,10 @@ ${S}` : S;
4341
4434
  let T = i;
4342
4435
  if ((R = this.options.extensions) != null && R.startBlock) {
4343
4436
  let x = 1 / 0;
4344
- const S = i.slice(1);
4437
+ const w = i.slice(1);
4345
4438
  let G;
4346
4439
  this.options.extensions.startBlock.forEach((_) => {
4347
- G = _.call({ lexer: this }, S), typeof G == "number" && G >= 0 && (x = Math.min(x, G));
4440
+ G = _.call({ lexer: this }, w), typeof G == "number" && G >= 0 && (x = Math.min(x, G));
4348
4441
  }), x < 1 / 0 && x >= 0 && (T = i.substring(0, x + 1));
4349
4442
  }
4350
4443
  if (this.state.top && (k = this.tokenizer.paragraph(T))) {
@@ -4383,10 +4476,10 @@ ${S}` : S;
4383
4476
  var k, T, x;
4384
4477
  let g = i, v = null;
4385
4478
  if (this.tokens.links) {
4386
- const S = Object.keys(this.tokens.links);
4387
- if (S.length > 0)
4479
+ const w = Object.keys(this.tokens.links);
4480
+ if (w.length > 0)
4388
4481
  for (; (v = this.tokenizer.rules.inline.reflinkSearch.exec(g)) != null; )
4389
- S.includes(v[0].slice(v[0].lastIndexOf("[") + 1, -1)) && (g = g.slice(0, v.index) + "[" + "a".repeat(v[0].length - 2) + "]" + g.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
4482
+ w.includes(v[0].slice(v[0].lastIndexOf("[") + 1, -1)) && (g = g.slice(0, v.index) + "[" + "a".repeat(v[0].length - 2) + "]" + g.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
4390
4483
  }
4391
4484
  for (; (v = this.tokenizer.rules.inline.anyPunctuation.exec(g)) != null; )
4392
4485
  g = g.slice(0, v.index) + "++" + g.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
@@ -4395,49 +4488,49 @@ ${S}` : S;
4395
4488
  let y = !1, R = "";
4396
4489
  for (; i; ) {
4397
4490
  y || (R = ""), y = !1;
4398
- let S;
4399
- if ((T = (k = this.options.extensions) == null ? void 0 : k.inline) != null && T.some((_) => (S = _.call({ lexer: this }, i, d)) ? (i = i.substring(S.raw.length), d.push(S), !0) : !1))
4491
+ let w;
4492
+ if ((T = (k = this.options.extensions) == null ? void 0 : k.inline) != null && T.some((_) => (w = _.call({ lexer: this }, i, d)) ? (i = i.substring(w.raw.length), d.push(w), !0) : !1))
4400
4493
  continue;
4401
- if (S = this.tokenizer.escape(i)) {
4402
- i = i.substring(S.raw.length), d.push(S);
4494
+ if (w = this.tokenizer.escape(i)) {
4495
+ i = i.substring(w.raw.length), d.push(w);
4403
4496
  continue;
4404
4497
  }
4405
- if (S = this.tokenizer.tag(i)) {
4406
- i = i.substring(S.raw.length), d.push(S);
4498
+ if (w = this.tokenizer.tag(i)) {
4499
+ i = i.substring(w.raw.length), d.push(w);
4407
4500
  continue;
4408
4501
  }
4409
- if (S = this.tokenizer.link(i)) {
4410
- i = i.substring(S.raw.length), d.push(S);
4502
+ if (w = this.tokenizer.link(i)) {
4503
+ i = i.substring(w.raw.length), d.push(w);
4411
4504
  continue;
4412
4505
  }
4413
- if (S = this.tokenizer.reflink(i, this.tokens.links)) {
4414
- i = i.substring(S.raw.length);
4506
+ if (w = this.tokenizer.reflink(i, this.tokens.links)) {
4507
+ i = i.substring(w.raw.length);
4415
4508
  const _ = d.at(-1);
4416
- S.type === "text" && (_ == null ? void 0 : _.type) === "text" ? (_.raw += S.raw, _.text += S.text) : d.push(S);
4509
+ w.type === "text" && (_ == null ? void 0 : _.type) === "text" ? (_.raw += w.raw, _.text += w.text) : d.push(w);
4417
4510
  continue;
4418
4511
  }
4419
- if (S = this.tokenizer.emStrong(i, g, R)) {
4420
- i = i.substring(S.raw.length), d.push(S);
4512
+ if (w = this.tokenizer.emStrong(i, g, R)) {
4513
+ i = i.substring(w.raw.length), d.push(w);
4421
4514
  continue;
4422
4515
  }
4423
- if (S = this.tokenizer.codespan(i)) {
4424
- i = i.substring(S.raw.length), d.push(S);
4516
+ if (w = this.tokenizer.codespan(i)) {
4517
+ i = i.substring(w.raw.length), d.push(w);
4425
4518
  continue;
4426
4519
  }
4427
- if (S = this.tokenizer.br(i)) {
4428
- i = i.substring(S.raw.length), d.push(S);
4520
+ if (w = this.tokenizer.br(i)) {
4521
+ i = i.substring(w.raw.length), d.push(w);
4429
4522
  continue;
4430
4523
  }
4431
- if (S = this.tokenizer.del(i)) {
4432
- i = i.substring(S.raw.length), d.push(S);
4524
+ if (w = this.tokenizer.del(i)) {
4525
+ i = i.substring(w.raw.length), d.push(w);
4433
4526
  continue;
4434
4527
  }
4435
- if (S = this.tokenizer.autolink(i)) {
4436
- i = i.substring(S.raw.length), d.push(S);
4528
+ if (w = this.tokenizer.autolink(i)) {
4529
+ i = i.substring(w.raw.length), d.push(w);
4437
4530
  continue;
4438
4531
  }
4439
- if (!this.state.inLink && (S = this.tokenizer.url(i))) {
4440
- i = i.substring(S.raw.length), d.push(S);
4532
+ if (!this.state.inLink && (w = this.tokenizer.url(i))) {
4533
+ i = i.substring(w.raw.length), d.push(w);
4441
4534
  continue;
4442
4535
  }
4443
4536
  let G = i;
@@ -4449,10 +4542,10 @@ ${S}` : S;
4449
4542
  W = fe.call({ lexer: this }, se), typeof W == "number" && W >= 0 && (_ = Math.min(_, W));
4450
4543
  }), _ < 1 / 0 && _ >= 0 && (G = i.substring(0, _ + 1));
4451
4544
  }
4452
- if (S = this.tokenizer.inlineText(G)) {
4453
- i = i.substring(S.raw.length), S.raw.slice(-1) !== "_" && (R = S.raw.slice(-1)), y = !0;
4545
+ if (w = this.tokenizer.inlineText(G)) {
4546
+ i = i.substring(w.raw.length), w.raw.slice(-1) !== "_" && (R = w.raw.slice(-1)), y = !0;
4454
4547
  const _ = d.at(-1);
4455
- (_ == null ? void 0 : _.type) === "text" ? (_.raw += S.raw, _.text += S.text) : d.push(S);
4548
+ (_ == null ? void 0 : _.type) === "text" ? (_.raw += w.raw, _.text += w.text) : d.push(w);
4456
4549
  continue;
4457
4550
  }
4458
4551
  if (i) {
@@ -4658,9 +4751,9 @@ ${f}</tr>
4658
4751
  for (let R = 0; R < i.length; R++) {
4659
4752
  const k = i[R];
4660
4753
  if ((y = (v = this.options.extensions) == null ? void 0 : v.renderers) != null && y[k.type]) {
4661
- const x = k, S = this.options.extensions.renderers[x.type].call({ parser: this }, x);
4662
- if (S !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(x.type)) {
4663
- g += S || "";
4754
+ const x = k, w = this.options.extensions.renderers[x.type].call({ parser: this }, x);
4755
+ if (w !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(x.type)) {
4756
+ g += w || "";
4664
4757
  continue;
4665
4758
  }
4666
4759
  }
@@ -4703,16 +4796,16 @@ ${f}</tr>
4703
4796
  continue;
4704
4797
  }
4705
4798
  case "text": {
4706
- let x = T, S = this.renderer.text(x);
4799
+ let x = T, w = this.renderer.text(x);
4707
4800
  for (; R + 1 < i.length && i[R + 1].type === "text"; )
4708
- x = i[++R], S += `
4801
+ x = i[++R], w += `
4709
4802
  ` + this.renderer.text(x);
4710
4803
  d ? g += this.renderer.paragraph({
4711
4804
  type: "paragraph",
4712
- raw: S,
4713
- text: S,
4714
- tokens: [{ type: "text", raw: S, text: S, escaped: !0 }]
4715
- }) : g += S;
4805
+ raw: w,
4806
+ text: w,
4807
+ tokens: [{ type: "text", raw: w, text: w, escaped: !0 }]
4808
+ }) : g += w;
4716
4809
  continue;
4717
4810
  }
4718
4811
  default: {
@@ -4908,8 +5001,8 @@ ${f}</tr>
4908
5001
  continue;
4909
5002
  const R = y, k = d.renderer[R], T = v[R];
4910
5003
  v[R] = (...x) => {
4911
- let S = k.apply(v, x);
4912
- return S === !1 && (S = T.apply(v, x)), S || "";
5004
+ let w = k.apply(v, x);
5005
+ return w === !1 && (w = T.apply(v, x)), w || "";
4913
5006
  };
4914
5007
  }
4915
5008
  g.renderer = v;
@@ -4923,8 +5016,8 @@ ${f}</tr>
4923
5016
  continue;
4924
5017
  const R = y, k = d.tokenizer[R], T = v[R];
4925
5018
  v[R] = (...x) => {
4926
- let S = k.apply(v, x);
4927
- return S === !1 && (S = T.apply(v, x)), S;
5019
+ let w = k.apply(v, x);
5020
+ return w === !1 && (w = T.apply(v, x)), w;
4928
5021
  };
4929
5022
  }
4930
5023
  g.tokenizer = v;
@@ -4940,11 +5033,11 @@ ${f}</tr>
4940
5033
  Ne.passThroughHooks.has(y) ? v[R] = (x) => {
4941
5034
  if (this.defaults.async)
4942
5035
  return Promise.resolve(k.call(v, x)).then((G) => T.call(v, G));
4943
- const S = k.call(v, x);
4944
- return T.call(v, S);
5036
+ const w = k.call(v, x);
5037
+ return T.call(v, w);
4945
5038
  } : v[R] = (...x) => {
4946
- let S = k.apply(v, x);
4947
- return S === !1 && (S = T.apply(v, x)), S;
5039
+ let w = k.apply(v, x);
5040
+ return w === !1 && (w = T.apply(v, x)), w;
4948
5041
  };
4949
5042
  }
4950
5043
  g.hooks = v;
@@ -4985,8 +5078,8 @@ ${f}</tr>
4985
5078
  y.hooks && (d = y.hooks.preprocess(d));
4986
5079
  let x = k(d, y);
4987
5080
  y.hooks && (x = y.hooks.processAllTokens(x)), y.walkTokens && this.walkTokens(x, y.walkTokens);
4988
- let S = T(x, y);
4989
- return y.hooks && (S = y.hooks.postprocess(S)), S;
5081
+ let w = T(x, y);
5082
+ return y.hooks && (w = y.hooks.postprocess(w)), w;
4990
5083
  } catch (x) {
4991
5084
  return R(x);
4992
5085
  }
@@ -5015,7 +5108,7 @@ Please report this to https://github.com/markedjs/marked.`, f) {
5015
5108
  }, j.walkTokens = function(f, i) {
5016
5109
  return ze.walkTokens(f, i);
5017
5110
  }, j.parseInline = ze.parseInline, j.Parser = ke, j.parser = ke.parse, j.Renderer = te, j.TextRenderer = tt, j.Lexer = Te, j.lexer = Te.lex, j.Tokenizer = ut, j.Hooks = Ne, j.parse = j;
5018
- var rr = j.options, Br = j.setOptions, sr = j.use, re = j.walkTokens, ar = j.parseInline, ne = j, nr = ke.parse, K = Te.lex;
5111
+ var rr = j.options, Ur = j.setOptions, sr = j.use, re = j.walkTokens, ar = j.parseInline, ne = j, nr = ke.parse, K = Te.lex;
5019
5112
  return s != e && (a.exports = e), a.exports;
5020
5113
  });
5021
5114
  })(Xa);
@@ -5056,7 +5149,7 @@ const Ja = /* @__PURE__ */ ee(class extends J {
5056
5149
  * Sanitizes and converts markdown to HTML.
5057
5150
  */
5058
5151
  sanitizeMarkdown(e) {
5059
- return Sa.sanitize(Xa.exports.marked.parse(e));
5152
+ return wa.sanitize(Xa.exports.marked.parse(e));
5060
5153
  }
5061
5154
  /**
5062
5155
  * Updates the content element directly without triggering a re-render.
@@ -5073,7 +5166,7 @@ const Ja = /* @__PURE__ */ ee(class extends J {
5073
5166
  return this.isLoading ? m("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? m("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : m("div", { class: "searchcraft-summary-box-content" }, this.summary);
5074
5167
  }
5075
5168
  render() {
5076
- return m("div", { key: "c88d0bf7e12ad0fa0c019d207854a6e92babc683", class: "searchcraft-summary-box" }, this.renderContent());
5169
+ return m("div", { key: "94033d861f93036430eca149b3c017fb6099fb17", class: "searchcraft-summary-box" }, this.renderContent());
5077
5170
  }
5078
5171
  }, [0, "searchcraft-summary-box", {
5079
5172
  searchcraftId: [1, "searchcraft-id"],
@@ -5095,13 +5188,13 @@ function oi() {
5095
5188
  }
5096
5189
  });
5097
5190
  }
5098
- const ii = Ja, en = oi, ci = `[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}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);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-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;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-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
5191
+ const ii = Ja, en = oi, ci = `\uFEFF[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)}@media(max-width: 767px){[data-toggle-filter-panel]{cursor:pointer;display:flex !important;align-items:center;justify-content:space-between;width:100%}[data-toggle-filter-panel]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-filter-panel][data-filter-panel-collapsed]::after{transform:rotate(90deg)}[data-toggle-filter-panel][data-filter-panel-expanded]::after{transform:rotate(-90deg)}}@media(min-width: 768px){[data-toggle-filter-panel]{cursor:default}[data-toggle-filter-panel]::after{display:none}}: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}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);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-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;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-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
5099
5192
  `, tn = /* @__PURE__ */ ee(class extends J {
5100
5193
  constructor() {
5101
5194
  super(), this.__registerHost();
5102
5195
  }
5103
5196
  render() {
5104
- return m("style", { key: "ef26626cdfa4fa98d516802d71443c49a9c6ecf9" }, ci);
5197
+ return m("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, ci);
5105
5198
  }
5106
5199
  }, [0, "searchcraft-theme"]);
5107
5200
  function li() {
@@ -5116,7 +5209,7 @@ function li() {
5116
5209
  });
5117
5210
  }
5118
5211
  const ui = tn, rn = li, hi = Pa, di = () => {
5119
- bo(), yo(), Co(), wo(), Ia(), Ma(), Lo(), Do(), Fa(), Na(), qo(), qa(), Go(), Zo(), ja(), Xo(), Ka(), Za(), ai(), ni(), en(), rn(), hi();
5212
+ bo(), yo(), Co(), So(), Ia(), Ma(), Fo(), Do(), La(), Na(), Vo(), Va(), Go(), Zo(), ja(), Xo(), Ka(), Za(), ai(), ni(), en(), rn(), hi();
5120
5213
  };
5121
5214
  globalThis.__scDefineCustomElements__ = di;
5122
5215
  var he;
@@ -5445,7 +5538,7 @@ jt().name != "Firefox" && _e("canvas", function() {
5445
5538
  t({ commonImageDataHash: fs(nn(r, Ws, Gs).data.toString()).toString() });
5446
5539
  });
5447
5540
  });
5448
- var Yr, Si = ["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"], wi = ["monospace", "sans-serif", "serif"];
5541
+ var Yr, wi = ["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"], Si = ["monospace", "sans-serif", "serif"];
5449
5542
  function Zs(t, r) {
5450
5543
  if (!t) throw new Error("Canvas context not supported");
5451
5544
  return t.font = "72px ".concat(r), t.measureText("WwMmLli0Oo").width;
@@ -5538,9 +5631,9 @@ jt().name != "Firefox" && _e("fonts", function() {
5538
5631
  return Ze(t, void 0, void 0, function() {
5539
5632
  var o, n, h, u;
5540
5633
  return Ye(this, function(l) {
5541
- return o = a.createElement("canvas"), n = o.getContext("2d"), h = wi.map(function(p) {
5634
+ return o = a.createElement("canvas"), n = o.getContext("2d"), h = Si.map(function(p) {
5542
5635
  return Zs(n, p);
5543
- }), u = {}, Si.forEach(function(p) {
5636
+ }), u = {}, wi.forEach(function(p) {
5544
5637
  var C = Zs(n, p);
5545
5638
  h.includes(C) || (u[p] = C);
5546
5639
  }), r(u), [2];
@@ -5613,18 +5706,18 @@ jt().name != "Firefox" && _e("fonts", function() {
5613
5706
  t({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: r.name, version: r.version }, applePayVersion: $i() });
5614
5707
  });
5615
5708
  });
5616
- var ve, Ii = jt().name !== "SamsungBrowser" ? 1 : 3, F = null;
5709
+ var ve, Ii = jt().name !== "SamsungBrowser" ? 1 : 3, L = null;
5617
5710
  _e("webgl", function() {
5618
5711
  return Ze(this, void 0, void 0, function() {
5619
5712
  var t;
5620
5713
  return Ye(this, function(r) {
5621
- typeof document < "u" && ((ve = document.createElement("canvas")).width = 200, ve.height = 100, F = ve.getContext("webgl"));
5714
+ typeof document < "u" && ((ve = document.createElement("canvas")).width = 200, ve.height = 100, L = ve.getContext("webgl"));
5622
5715
  try {
5623
- if (!F) throw new Error("WebGL not supported");
5716
+ if (!L) throw new Error("WebGL not supported");
5624
5717
  return t = Array.from({ length: Ii }, function() {
5625
5718
  return function() {
5626
5719
  try {
5627
- if (!F) throw new Error("WebGL not supported");
5720
+ if (!L) throw new Error("WebGL not supported");
5628
5721
  var e = `
5629
5722
  attribute vec2 position;
5630
5723
  void main() {
@@ -5635,28 +5728,28 @@ _e("webgl", function() {
5635
5728
  void main() {
5636
5729
  gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color
5637
5730
  }
5638
- `, a = F.createShader(F.VERTEX_SHADER), o = F.createShader(F.FRAGMENT_SHADER);
5731
+ `, a = L.createShader(L.VERTEX_SHADER), o = L.createShader(L.FRAGMENT_SHADER);
5639
5732
  if (!a || !o) throw new Error("Failed to create shaders");
5640
- if (F.shaderSource(a, e), F.shaderSource(o, s), F.compileShader(a), !F.getShaderParameter(a, F.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + F.getShaderInfoLog(a));
5641
- if (F.compileShader(o), !F.getShaderParameter(o, F.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + F.getShaderInfoLog(o));
5642
- var n = F.createProgram();
5733
+ if (L.shaderSource(a, e), L.shaderSource(o, s), L.compileShader(a), !L.getShaderParameter(a, L.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + L.getShaderInfoLog(a));
5734
+ if (L.compileShader(o), !L.getShaderParameter(o, L.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + L.getShaderInfoLog(o));
5735
+ var n = L.createProgram();
5643
5736
  if (!n) throw new Error("Failed to create shader program");
5644
- if (F.attachShader(n, a), F.attachShader(n, o), F.linkProgram(n), !F.getProgramParameter(n, F.LINK_STATUS)) throw new Error("Shader program linking failed: " + F.getProgramInfoLog(n));
5645
- F.useProgram(n);
5737
+ if (L.attachShader(n, a), L.attachShader(n, o), L.linkProgram(n), !L.getProgramParameter(n, L.LINK_STATUS)) throw new Error("Shader program linking failed: " + L.getProgramInfoLog(n));
5738
+ L.useProgram(n);
5646
5739
  for (var h = 137, u = new Float32Array(4 * h), l = 2 * Math.PI / h, p = 0; p < h; p++) {
5647
5740
  var C = p * l;
5648
5741
  u[4 * p] = 0, u[4 * p + 1] = 0, u[4 * p + 2] = Math.cos(C) * (ve.width / 2), u[4 * p + 3] = Math.sin(C) * (ve.height / 2);
5649
5742
  }
5650
- var w = F.createBuffer();
5651
- F.bindBuffer(F.ARRAY_BUFFER, w), F.bufferData(F.ARRAY_BUFFER, u, F.STATIC_DRAW);
5652
- var P = F.getAttribLocation(n, "position");
5653
- F.enableVertexAttribArray(P), F.vertexAttribPointer(P, 2, F.FLOAT, !1, 0, 0), F.viewport(0, 0, ve.width, ve.height), F.clearColor(0, 0, 0, 1), F.clear(F.COLOR_BUFFER_BIT), F.drawArrays(F.LINES, 0, 2 * h);
5743
+ var S = L.createBuffer();
5744
+ L.bindBuffer(L.ARRAY_BUFFER, S), L.bufferData(L.ARRAY_BUFFER, u, L.STATIC_DRAW);
5745
+ var P = L.getAttribLocation(n, "position");
5746
+ L.enableVertexAttribArray(P), L.vertexAttribPointer(P, 2, L.FLOAT, !1, 0, 0), L.viewport(0, 0, ve.width, ve.height), L.clearColor(0, 0, 0, 1), L.clear(L.COLOR_BUFFER_BIT), L.drawArrays(L.LINES, 0, 2 * h);
5654
5747
  var $ = new Uint8ClampedArray(ve.width * ve.height * 4);
5655
- return F.readPixels(0, 0, ve.width, ve.height, F.RGBA, F.UNSIGNED_BYTE, $), new ImageData($, ve.width, ve.height);
5748
+ return L.readPixels(0, 0, ve.width, ve.height, L.RGBA, L.UNSIGNED_BYTE, $), new ImageData($, ve.width, ve.height);
5656
5749
  } catch {
5657
5750
  return new ImageData(1, 1);
5658
5751
  } finally {
5659
- F && (F.bindBuffer(F.ARRAY_BUFFER, null), F.useProgram(null), F.viewport(0, 0, F.drawingBufferWidth, F.drawingBufferHeight), F.clearColor(0, 0, 0, 0));
5752
+ L && (L.bindBuffer(L.ARRAY_BUFFER, null), L.useProgram(null), L.viewport(0, 0, L.drawingBufferWidth, L.drawingBufferHeight), L.clearColor(0, 0, 0, 0));
5660
5753
  }
5661
5754
  }();
5662
5755
  }), [2, { commonImageHash: fs(nn(t, ve.width, ve.height).data.toString()).toString() }];
@@ -5783,8 +5876,8 @@ class Oi extends ps {
5783
5876
  e && document.head.removeChild(e);
5784
5877
  }
5785
5878
  }
5786
- const Li = 600;
5787
- class Fi {
5879
+ const Fi = 600;
5880
+ class Li {
5788
5881
  constructor(r, e, s) {
5789
5882
  c(this, "measureRequestTimeout");
5790
5883
  c(this, "measureRequestsBatched", []);
@@ -5853,7 +5946,7 @@ class Fi {
5853
5946
  } catch (h) {
5854
5947
  throw this.measureRequestsBatched = [], console.error("Error sending MeasureRequest:", h), h;
5855
5948
  }
5856
- }, Li);
5949
+ }, Fi);
5857
5950
  });
5858
5951
  this.config = r, this.sdkInfo = e, this.userId = s, this.sessionId = dt(), this.sendMeasureEvent("sdk_initialized");
5859
5952
  }
@@ -5911,7 +6004,7 @@ class zi {
5911
6004
  * @returns
5912
6005
  */
5913
6006
  c(this, "getSearchResponseItems", async (r, e = !1) => {
5914
- var n, h, u, l, p, C, w;
6007
+ var n, h, u, l, p, C, S;
5915
6008
  let s, a = "", o;
5916
6009
  return e ? ((n = this.supplementalAbortController) == null || n.abort("A newer search request has replaced this one."), o = new AbortController(), this.supplementalAbortController = o) : ((h = this.abortController) == null || h.abort("A newer search request has replaced this one."), o = new AbortController(), this.abortController = o), typeof r == "string" ? a = gr(r) : (r.searchTerm = gr(r.searchTerm), a = r.searchTerm), (u = this.parent.measureClient) == null || u.sendMeasureEvent("search_requested", {
5917
6010
  search_term: a
@@ -5936,7 +6029,7 @@ class zi {
5936
6029
  }
5937
6030
  }), (((C = s.data.hits) == null ? void 0 : C.length) || 0) === 0 && this.parent.emitEvent("no_results_returned", {
5938
6031
  name: "no_results_returned"
5939
- }), (w = this.parent.adClient) == null || w.onQueryFetched(typeof r == "string" ? { searchTerm: a, mode: "exact" } : r, s)), s;
6032
+ }), (S = this.parent.adClient) == null || S.onQueryFetched(typeof r == "string" ? { searchTerm: a, mode: "exact" } : r, s)), s;
5940
6033
  });
5941
6034
  c(this, "handleGetSearchResponseItemsWithString", async (r, e) => {
5942
6035
  var o;
@@ -6048,8 +6141,8 @@ const Ys = (t) => {
6048
6141
  const e = /* @__PURE__ */ new Set(), s = (l, p) => {
6049
6142
  const C = typeof l == "function" ? l(r) : l;
6050
6143
  if (!Object.is(C, r)) {
6051
- const w = r;
6052
- r = p ?? (typeof C != "object" || C === null) ? C : Object.assign({}, r, C), e.forEach((P) => P(r, w));
6144
+ const S = r;
6145
+ r = p ?? (typeof C != "object" || C === null) ? C : Object.assign({}, r, C), e.forEach((P) => P(r, S));
6053
6146
  }
6054
6147
  }, a = () => r, h = { setState: s, getState: a, getInitialState: () => u, subscribe: (l) => (e.add(l), () => e.delete(l)) }, u = r = t(s, a, h);
6055
6148
  return h;
@@ -6065,7 +6158,7 @@ var gs = {}, cn = { exports: {} }, H = {};
6065
6158
  * This source code is licensed under the MIT license found in the
6066
6159
  * LICENSE file in the root directory of this source tree.
6067
6160
  */
6068
- var bs = Symbol.for("react.transitional.element"), Ui = Symbol.for("react.portal"), Bi = Symbol.for("react.fragment"), qi = Symbol.for("react.strict_mode"), Vi = Symbol.for("react.profiler"), ji = Symbol.for("react.consumer"), Wi = Symbol.for("react.context"), Gi = Symbol.for("react.forward_ref"), Zi = Symbol.for("react.suspense"), Yi = Symbol.for("react.memo"), ln = Symbol.for("react.lazy"), Qs = Symbol.iterator;
6161
+ var bs = Symbol.for("react.transitional.element"), Bi = Symbol.for("react.portal"), Ui = Symbol.for("react.fragment"), Vi = Symbol.for("react.strict_mode"), qi = Symbol.for("react.profiler"), ji = Symbol.for("react.consumer"), Wi = Symbol.for("react.context"), Gi = Symbol.for("react.forward_ref"), Zi = Symbol.for("react.suspense"), Yi = Symbol.for("react.memo"), ln = Symbol.for("react.lazy"), Qs = Symbol.iterator;
6069
6162
  function Qi(t) {
6070
6163
  return t === null || typeof t != "object" ? null : (t = Qs && t[Qs] || t["@@iterator"], typeof t == "function" ? t : null);
6071
6164
  }
@@ -6162,7 +6255,7 @@ function Ji(t) {
6162
6255
  }
6163
6256
  throw t;
6164
6257
  }
6165
- function wt(t, r, e, s, a) {
6258
+ function St(t, r, e, s, a) {
6166
6259
  var o = typeof t;
6167
6260
  (o === "undefined" || o === "boolean") && (t = null);
6168
6261
  var n = !1;
@@ -6177,11 +6270,11 @@ function wt(t, r, e, s, a) {
6177
6270
  case "object":
6178
6271
  switch (t.$$typeof) {
6179
6272
  case bs:
6180
- case Ui:
6273
+ case Bi:
6181
6274
  n = !0;
6182
6275
  break;
6183
6276
  case ln:
6184
- return n = t._init, wt(
6277
+ return n = t._init, St(
6185
6278
  n(t._payload),
6186
6279
  r,
6187
6280
  e,
@@ -6191,7 +6284,7 @@ function wt(t, r, e, s, a) {
6191
6284
  }
6192
6285
  }
6193
6286
  if (n)
6194
- return a = a(t), n = s === "" ? "." + Qr(t, 0) : s, Ks(a) ? (e = "", n != null && (e = n.replace(Xs, "$&/") + "/"), wt(a, r, e, "", function(l) {
6287
+ return a = a(t), n = s === "" ? "." + Qr(t, 0) : s, Ks(a) ? (e = "", n != null && (e = n.replace(Xs, "$&/") + "/"), St(a, r, e, "", function(l) {
6195
6288
  return l;
6196
6289
  })) : a != null && (Cs(a) && (a = Ki(
6197
6290
  a,
@@ -6204,7 +6297,7 @@ function wt(t, r, e, s, a) {
6204
6297
  var h = s === "" ? "." : s + ":";
6205
6298
  if (Ks(t))
6206
6299
  for (var u = 0; u < t.length; u++)
6207
- s = t[u], o = h + Qr(s, u), n += wt(
6300
+ s = t[u], o = h + Qr(s, u), n += St(
6208
6301
  s,
6209
6302
  r,
6210
6303
  e,
@@ -6213,7 +6306,7 @@ function wt(t, r, e, s, a) {
6213
6306
  );
6214
6307
  else if (u = Qi(t), typeof u == "function")
6215
6308
  for (t = u.call(t), u = 0; !(s = t.next()).done; )
6216
- s = s.value, o = h + Qr(s, u++), n += wt(
6309
+ s = s.value, o = h + Qr(s, u++), n += St(
6217
6310
  s,
6218
6311
  r,
6219
6312
  e,
@@ -6222,7 +6315,7 @@ function wt(t, r, e, s, a) {
6222
6315
  );
6223
6316
  else if (o === "object") {
6224
6317
  if (typeof t.then == "function")
6225
- return wt(
6318
+ return St(
6226
6319
  Ji(t),
6227
6320
  r,
6228
6321
  e,
@@ -6238,7 +6331,7 @@ function wt(t, r, e, s, a) {
6238
6331
  function br(t, r, e) {
6239
6332
  if (t == null) return t;
6240
6333
  var s = [], a = 0;
6241
- return wt(t, s, "", "", function(o) {
6334
+ return St(t, s, "", "", function(o) {
6242
6335
  return r.call(e, o, a++);
6243
6336
  }), s;
6244
6337
  }
@@ -6305,10 +6398,10 @@ H.Children = {
6305
6398
  }
6306
6399
  };
6307
6400
  H.Component = Tt;
6308
- H.Fragment = Bi;
6309
- H.Profiler = Vi;
6401
+ H.Fragment = Ui;
6402
+ H.Profiler = qi;
6310
6403
  H.PureComponent = vs;
6311
- H.StrictMode = qi;
6404
+ H.StrictMode = Vi;
6312
6405
  H.Suspense = Zi;
6313
6406
  H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X;
6314
6407
  H.act = function() {
@@ -6508,7 +6601,7 @@ class oc {
6508
6601
  streamSummaryData() {
6509
6602
  var s;
6510
6603
  const r = async () => {
6511
- var u, l, p, C, w, P;
6604
+ var u, l, p, C, S, P;
6512
6605
  const a = this.get(), o = (u = a.core) == null ? void 0 : u.config;
6513
6606
  if (!o) {
6514
6607
  console.error("Could not stream summary data, no config found.");
@@ -6535,7 +6628,7 @@ class oc {
6535
6628
  },
6536
6629
  body: JSON.stringify({
6537
6630
  searchQuery: a.searchClientRequest,
6538
- summaryInstructionsPrompt: (w = a.core) == null ? void 0 : w.config.summaryInstructionsPrompt,
6631
+ summaryInstructionsPrompt: (S = a.core) == null ? void 0 : S.config.summaryInstructionsPrompt,
6539
6632
  indexName: n,
6540
6633
  endpointUrl: (P = a.core) == null ? void 0 : P.config.endpointURL
6541
6634
  }),
@@ -6558,9 +6651,9 @@ class oc {
6558
6651
  const z = $.body.getReader(), D = new TextDecoder();
6559
6652
  let I = !1;
6560
6653
  do {
6561
- const { done: M, value: q } = await z.read();
6654
+ const { done: M, value: V } = await z.read();
6562
6655
  I = M;
6563
- const Y = D.decode(q, { stream: !0 });
6656
+ const Y = D.decode(V, { stream: !0 });
6564
6657
  this.set((ge) => ({
6565
6658
  isSummaryLoading: !1,
6566
6659
  summary: `${ge.summary}${Y}`
@@ -6582,6 +6675,7 @@ const sa = {
6582
6675
  hotkey: "k",
6583
6676
  hotkeyModifier: "meta",
6584
6677
  facetPathsForIndexFields: {},
6678
+ isFilterPanelVisible: !0,
6585
6679
  isPopoverVisible: !1,
6586
6680
  isSearchInProgress: !1,
6587
6681
  rangeValueForIndexFields: {},
@@ -6671,24 +6765,24 @@ const sa = {
6671
6765
  if (!l.core)
6672
6766
  throw new Error("Searchcraft instance is not initialized.");
6673
6767
  l.core.config.cortexURL && !(u != null && u.skipSummary) && ((z = l.summaryClient) == null || z.streamSummaryData());
6674
- const p = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, w = l.searchResultsPage !== 1, P = l.searchMode !== "fuzzy";
6768
+ const p = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, S = l.searchResultsPage !== 1, P = l.searchMode !== "fuzzy";
6675
6769
  if (!l.searchTerm.trim()) {
6676
- if (p && (C || w || P)) {
6770
+ if (p && (C || S || P)) {
6677
6771
  const M = JSON.parse(l.cachedSearchClientRequestProperties);
6678
6772
  a({ isSearchInProgress: !0 });
6679
- const Y = [...Array.isArray(M.query) ? M.query.filter((we) => !we.occur) : [M.query]];
6680
- l.facetPathsForIndexFields && Object.keys(l.facetPathsForIndexFields).forEach((we) => {
6773
+ const Y = [...Array.isArray(M.query) ? M.query.filter((Se) => !Se.occur) : [M.query]];
6774
+ l.facetPathsForIndexFields && Object.keys(l.facetPathsForIndexFields).forEach((Se) => {
6681
6775
  var Z;
6682
- const ae = (Z = l.facetPathsForIndexFields) == null ? void 0 : Z[we];
6776
+ const ae = (Z = l.facetPathsForIndexFields) == null ? void 0 : Z[Se];
6683
6777
  ae && Y.push({
6684
6778
  occur: "must",
6685
6779
  exact: {
6686
6780
  ctx: ae.value
6687
6781
  }
6688
6782
  });
6689
- }), l.rangeValueForIndexFields && Object.keys(l.rangeValueForIndexFields).forEach((we) => {
6783
+ }), l.rangeValueForIndexFields && Object.keys(l.rangeValueForIndexFields).forEach((Se) => {
6690
6784
  var Z;
6691
- const ae = (Z = l.rangeValueForIndexFields) == null ? void 0 : Z[we];
6785
+ const ae = (Z = l.rangeValueForIndexFields) == null ? void 0 : Z[Se];
6692
6786
  ae && Y.push({
6693
6787
  occur: "must",
6694
6788
  exact: {
@@ -6739,6 +6833,9 @@ const sa = {
6739
6833
  shouldCacheResultsForEmptyState: !1
6740
6834
  });
6741
6835
  },
6836
+ setFilterPanelVisibility: (u) => a({
6837
+ isFilterPanelVisible: u
6838
+ }),
6742
6839
  setPopoverVisibility: (u) => a({
6743
6840
  isPopoverVisible: u
6744
6841
  }),
@@ -6844,14 +6941,14 @@ class cc {
6844
6941
  } else if (typeof r.requestProperties == "string") {
6845
6942
  const u = JSON.parse(r.requestProperties), l = Array.isArray(u.query) ? u.query : [u.query];
6846
6943
  if (l.length > 1) {
6847
- const p = l.filter((w) => w.occur !== "must"), C = {
6944
+ const p = l.filter((S) => S.occur !== "must"), C = {
6848
6945
  ...u,
6849
6946
  query: p.length > 0 ? p : l.slice(0, 1)
6850
6947
  };
6851
6948
  try {
6852
6949
  o = await ((h = this == null ? void 0 : this.searchClient) == null ? void 0 : h.getSearchResponseItems(JSON.stringify(C), !0));
6853
- } catch (w) {
6854
- pr.info(`Search request error: ${w}`);
6950
+ } catch (S) {
6951
+ pr.info(`Search request error: ${S}`);
6855
6952
  return;
6856
6953
  }
6857
6954
  }
@@ -6911,7 +7008,7 @@ class cc {
6911
7008
  }
6912
7009
  async initClients(r, e) {
6913
7010
  let s = this.config.measureUserIdentifier;
6914
- s || (s = await yi()), this.measureClient = new Fi(r, e, s), this.searchClient = new zi(this, r, s), r.customAdConfig ? this.adClient = new Ai(r) : r.nativoConfig ? this.adClient = new Oi(r) : r.admAdConfig && (this.adClient = new _i(r)), this.emitEvent("initialized", {
7011
+ s || (s = await yi()), this.measureClient = new Li(r, e, s), this.searchClient = new zi(this, r, s), r.customAdConfig ? this.adClient = new Ai(r) : r.nativoConfig ? this.adClient = new Oi(r) : r.admAdConfig && (this.adClient = new _i(r)), this.emitEvent("initialized", {
6915
7012
  name: "initialized"
6916
7013
  });
6917
7014
  }
@@ -6962,7 +7059,7 @@ class cc {
6962
7059
  }), (r = this.adClient) == null || r.onInputCleared();
6963
7060
  }
6964
7061
  }
6965
- const lc = "@searchcraft/react-sdk", uc = "0.12.2", aa = {
7062
+ const lc = "@searchcraft/react-sdk", uc = "0.13.0", aa = {
6966
7063
  name: lc,
6967
7064
  version: uc
6968
7065
  };
@@ -6981,12 +7078,12 @@ const hc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
6981
7078
  })(t, o, e);
6982
7079
  }, dc = ({ react: t, tagName: r, elementClass: e, events: s, displayName: a }) => {
6983
7080
  const o = new Set(Object.keys(s ?? {})), n = t.forwardRef((h, u) => {
6984
- const l = t.useRef(/* @__PURE__ */ new Map()), p = t.useRef(null), C = {}, w = {};
6985
- for (const [P, $] of Object.entries(h)) hc.has(P) ? C[P === "className" ? "class" : P] = $ : o.has(P) || P in e.prototype ? w[P] = $ : C[P] = $;
7081
+ const l = t.useRef(/* @__PURE__ */ new Map()), p = t.useRef(null), C = {}, S = {};
7082
+ for (const [P, $] of Object.entries(h)) hc.has(P) ? C[P === "className" ? "class" : P] = $ : o.has(P) || P in e.prototype ? S[P] = $ : C[P] = $;
6986
7083
  return t.useLayoutEffect(() => {
6987
7084
  if (p.current === null) return;
6988
7085
  const P = /* @__PURE__ */ new Map();
6989
- for (const $ in w) oa(p.current, $, h[$], l.current.get($), s), l.current.delete($), P.set($, h[$]);
7086
+ for (const $ in S) oa(p.current, $, h[$], l.current.get($), s), l.current.delete($), P.set($, h[$]);
6990
7087
  for (const [$, z] of l.current) oa(p.current, $, void 0, z, s);
6991
7088
  l.current = P;
6992
7089
  }), t.useLayoutEffect(() => {
@@ -7004,14 +7101,14 @@ const hc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
7004
7101
  tagName: "searchcraft-filter-panel",
7005
7102
  elementClass: Ao,
7006
7103
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7007
- react: Fe,
7104
+ react: Le,
7008
7105
  events: {},
7009
7106
  defineCustomElement: Ia
7010
7107
  }), pc = /* @__PURE__ */ De({
7011
7108
  tagName: "searchcraft-input-form",
7012
7109
  elementClass: Oo,
7013
7110
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7014
- react: Fe,
7111
+ react: Le,
7015
7112
  events: {
7016
7113
  onInputFocus: "inputFocus",
7017
7114
  onInputBlur: "inputBlur",
@@ -7022,59 +7119,59 @@ const hc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
7022
7119
  tagName: "searchcraft-pagination",
7023
7120
  elementClass: zo,
7024
7121
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7025
- react: Fe,
7122
+ react: Le,
7026
7123
  events: {},
7027
- defineCustomElement: Fa
7124
+ defineCustomElement: La
7028
7125
  }), gc = /* @__PURE__ */ De({
7029
7126
  tagName: "searchcraft-popover-button",
7030
- elementClass: Uo,
7127
+ elementClass: Bo,
7031
7128
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7032
- react: Fe,
7129
+ react: Le,
7033
7130
  events: {},
7034
7131
  defineCustomElement: Na
7035
7132
  }), bc = /* @__PURE__ */ De({
7036
7133
  tagName: "searchcraft-popover-form",
7037
7134
  elementClass: Wo,
7038
7135
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7039
- react: Fe,
7136
+ react: Le,
7040
7137
  events: {},
7041
- defineCustomElement: qa
7138
+ defineCustomElement: Va
7042
7139
  }), vc = /* @__PURE__ */ De({
7043
7140
  tagName: "searchcraft-results-info",
7044
7141
  elementClass: Qo,
7045
7142
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7046
- react: Fe,
7143
+ react: Le,
7047
7144
  events: {},
7048
7145
  defineCustomElement: ja
7049
7146
  }), yc = /* @__PURE__ */ De({
7050
7147
  tagName: "searchcraft-search-results",
7051
7148
  elementClass: ei,
7052
7149
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7053
- react: Fe,
7150
+ react: Le,
7054
7151
  events: {},
7055
7152
  defineCustomElement: Za
7056
7153
  }), kc = /* @__PURE__ */ De({
7057
7154
  tagName: "searchcraft-search-results-per-page",
7058
7155
  elementClass: si,
7059
7156
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7060
- react: Fe,
7157
+ react: Le,
7061
7158
  events: {},
7062
7159
  defineCustomElement: Ka
7063
7160
  }), Cc = /* @__PURE__ */ De({
7064
7161
  tagName: "searchcraft-summary-box",
7065
7162
  elementClass: ii,
7066
7163
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7067
- react: Fe,
7164
+ react: Le,
7068
7165
  events: {},
7069
7166
  defineCustomElement: en
7070
7167
  }), xc = /* @__PURE__ */ De({
7071
7168
  tagName: "searchcraft-theme",
7072
7169
  elementClass: ui,
7073
7170
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
7074
- react: Fe,
7171
+ react: Le,
7075
7172
  events: {},
7076
7173
  defineCustomElement: rn
7077
- }), Yc = (t) => /* @__PURE__ */ Le(fc, { ...t }), Qc = (t) => /* @__PURE__ */ Le(pc, { ...t }), Kc = (t) => /* @__PURE__ */ Le(gc, { ...t }), Xc = (t) => /* @__PURE__ */ Le(bc, { ...t }), Jc = (t) => /* @__PURE__ */ Le(vc, { ...t }), el = (t) => /* @__PURE__ */ Le(xc, { ...t }), tl = (t) => /* @__PURE__ */ Le(mc, { ...t }), rl = (t) => /* @__PURE__ */ Le(kc, { ...t }), sl = (t) => /* @__PURE__ */ Le(yc, { ...t }), al = (t) => /* @__PURE__ */ Le(Cc, { ...t });
7174
+ }), Yc = (t) => /* @__PURE__ */ Fe(fc, { ...t }), Qc = (t) => /* @__PURE__ */ Fe(pc, { ...t }), Kc = (t) => /* @__PURE__ */ Fe(gc, { ...t }), Xc = (t) => /* @__PURE__ */ Fe(bc, { ...t }), Jc = (t) => /* @__PURE__ */ Fe(vc, { ...t }), el = (t) => /* @__PURE__ */ Fe(xc, { ...t }), tl = (t) => /* @__PURE__ */ Fe(mc, { ...t }), rl = (t) => /* @__PURE__ */ Fe(kc, { ...t }), sl = (t) => /* @__PURE__ */ Fe(yc, { ...t }), al = (t) => /* @__PURE__ */ Fe(Cc, { ...t });
7078
7175
  class nl extends cc {
7079
7176
  constructor(r, e = void 0) {
7080
7177
  super(