@searchcraft/vue-sdk 0.12.1 → 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.
package/dist/index.es.js CHANGED
@@ -37,7 +37,7 @@ var dn = Object.defineProperty, fn = (r, t) => {
37
37
  e.$onReadyPromise$ = new Promise((a) => e.$onReadyResolve$ = a), r["s-p"] = [], r["s-rc"] = [];
38
38
  const s = as.set(r, e);
39
39
  return gn(r, e), s;
40
- }, Ls = (r, t) => t in r, xr = (r, t) => (0, console.error)(r, t), wr = typeof window < "u" ? window : {}, wt = wr.document || { head: {} }, ee = wr.HTMLElement || class {
40
+ }, Fs = (r, t) => t in r, xr = (r, t) => (0, console.error)(r, t), wr = typeof window < "u" ? window : {}, wt = wr.document || { head: {} }, ee = wr.HTMLElement || class {
41
41
  }, Se = {
42
42
  $flags$: 0,
43
43
  $resourcesUrl$: "",
@@ -46,7 +46,7 @@ var dn = Object.defineProperty, fn = (r, t) => {
46
46
  ael: (r, t, e, s) => r.addEventListener(t, e, s),
47
47
  rel: (r, t, e, s) => r.removeEventListener(t, e, s),
48
48
  ce: (r, t) => new CustomEvent(r, t)
49
- }, yn = St.shadowDom, kn = (r) => Promise.resolve(r), Kr = !1, Fs = [], ia = [], Cn = (r, t) => (e) => {
49
+ }, yn = St.shadowDom, kn = (r) => Promise.resolve(r), Kr = !1, Ls = [], ia = [], Cn = (r, t) => (e) => {
50
50
  r.push(e), Kr || (Kr = !0, Se.$flags$ & 4 ? ns(Xr) : Se.raf(Xr));
51
51
  }, Ds = (r) => {
52
52
  for (let t = 0; t < r.length; t++)
@@ -57,7 +57,7 @@ var dn = Object.defineProperty, fn = (r, t) => {
57
57
  }
58
58
  r.length = 0;
59
59
  }, Xr = () => {
60
- Ds(Fs), Ds(ia), (Kr = Fs.length > 0) && Se.raf(Xr);
60
+ Ds(Ls), Ds(ia), (Kr = Ls.length > 0) && Se.raf(Xr);
61
61
  }, ns = (r) => kn().then(r), xn = /* @__PURE__ */ Cn(ia), os = (r) => (r = typeof r, r === "object" || r === "function"), wn = {};
62
62
  fn(wn, {
63
63
  err: () => ca,
@@ -115,7 +115,7 @@ var Tn = (r, t, e = !0) => {
115
115
  s.push(r);
116
116
  return s;
117
117
  }, Ns = (r, t) => r.nodeType === 1 ? r.getAttribute("slot") === null && t === "" || r.getAttribute("slot") === t : r["s-sn"] === t ? !0 : t === "", Ht = (r, t = "") => () => {
118
- }, p = (r, t, ...e) => {
118
+ }, m = (r, t, ...e) => {
119
119
  let s = null, a = null, o = null, n = !1, h = !1;
120
120
  const u = [], l = (C) => {
121
121
  for (let S = 0; S < C.length; S++)
@@ -134,8 +134,8 @@ var Tn = (r, t, e = !0) => {
134
134
  u,
135
135
  _n
136
136
  );
137
- const m = vr(r, null);
138
- return m.$attrs$ = t, u.length > 0 && (m.$children$ = u), m.$key$ = a, m.$name$ = o, m;
137
+ const p = vr(r, null);
138
+ return p.$attrs$ = t, u.length > 0 && (p.$children$ = u), p.$key$ = a, p.$name$ = o, p;
139
139
  }, vr = (r, t) => {
140
140
  const e = {
141
141
  $flags$: 0,
@@ -158,7 +158,7 @@ var Tn = (r, t, e = !0) => {
158
158
  }), In = (r) => {
159
159
  if (typeof r.vtag == "function") {
160
160
  const e = { ...r.vattrs };
161
- return r.vkey && (e.key = r.vkey), r.vname && (e.name = r.vname), p(r.vtag, e, ...r.vchildren || []);
161
+ return r.vkey && (e.key = r.vkey), r.vname && (e.name = r.vname), m(r.vtag, e, ...r.vchildren || []);
162
162
  }
163
163
  const t = vr(r.vtag, r.vtext);
164
164
  return t.$attrs$ = r.vattrs, t.$children$ = r.vchildren, t.$key$ = r.vkey, t.$name$ = r.vname, t;
@@ -177,20 +177,20 @@ var Tn = (r, t, e = !0) => {
177
177
  return r.dispatchEvent(s), s;
178
178
  }, hr = /* @__PURE__ */ new WeakMap(), Hs = (r, t, e, s, a, o) => {
179
179
  if (e !== s) {
180
- let n = Ls(r, t), h = t.toLowerCase();
180
+ let n = Fs(r, t), h = t.toLowerCase();
181
181
  if (t === "class") {
182
182
  const u = r.classList, l = Us(e);
183
- let m = Us(s);
184
- r["s-si"] ? (m.push(r["s-si"]), l.forEach((C) => {
185
- C.startsWith(r["s-si"]) && m.push(C);
186
- }), m = [...new Set(m)], u.add(...m), delete r["s-si"]) : (u.remove(...l.filter((C) => C && !m.includes(C))), u.add(...m.filter((C) => C && !l.includes(C))));
183
+ let p = Us(s);
184
+ r["s-si"] ? (p.push(r["s-si"]), l.forEach((C) => {
185
+ C.startsWith(r["s-si"]) && p.push(C);
186
+ }), p = [...new Set(p)], u.add(...p), delete r["s-si"]) : (u.remove(...l.filter((C) => C && !p.includes(C))), u.add(...p.filter((C) => C && !l.includes(C))));
187
187
  } else if (t === "style") {
188
188
  for (const u in e)
189
189
  (!s || s[u] == null) && (u.includes("-") ? r.style.removeProperty(u) : r.style[u] = "");
190
190
  for (const u in s)
191
191
  (!e || s[u] !== e[u]) && (u.includes("-") ? r.style.setProperty(u, s[u]) : r.style[u] = s[u]);
192
192
  } else if (t !== "key") if (!r.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
193
- if (t[2] === "-" ? t = t.slice(3) : Ls(wr, h) ? t = h.slice(2) : t = h[2] + t.slice(3), e || s) {
193
+ if (t[2] === "-" ? t = t.slice(3) : Fs(wr, h) ? t = h.slice(2) : t = h[2] + t.slice(3), e || s) {
194
194
  const u = t.endsWith(fa);
195
195
  t = t.replace(On, ""), e && Se.rel(r, t, e, u), s && Se.ael(r, t, s, u);
196
196
  }
@@ -273,35 +273,35 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
273
273
  o && (kr = !0, o["s-ol"] ? o["s-ol"].remove() : Ut(o, !0), o.remove());
274
274
  }
275
275
  }
276
- }, Ln = (r, t, e, s, a = !1) => {
277
- let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, m = t[0], C = t[l], S = s.length - 1, $ = s[0], A = s[S], N, F;
276
+ }, Fn = (r, t, e, s, a = !1) => {
277
+ let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, p = t[0], C = t[l], S = s.length - 1, $ = s[0], A = s[S], N, L;
278
278
  for (; o <= l && n <= S; )
279
- if (m == null)
280
- m = t[++o];
279
+ if (p == null)
280
+ p = t[++o];
281
281
  else if (C == null)
282
282
  C = t[--l];
283
283
  else if ($ == null)
284
284
  $ = s[++n];
285
285
  else if (A == null)
286
286
  A = s[--S];
287
- else if (dr(m, $, a))
288
- Ct(m, $, a), m = t[++o], $ = s[++n];
287
+ else if (dr(p, $, a))
288
+ Ct(p, $, a), p = t[++o], $ = s[++n];
289
289
  else if (dr(C, A, a))
290
290
  Ct(C, A, a), C = t[--l], A = s[--S];
291
- else if (dr(m, A, a))
292
- (m.$tag$ === "slot" || A.$tag$ === "slot") && Ut(m.$elm$.parentNode, !1), Ct(m, A, a), tt(r, m.$elm$, C.$elm$.nextSibling), m = t[++o], A = s[--S];
291
+ else if (dr(p, A, a))
292
+ (p.$tag$ === "slot" || A.$tag$ === "slot") && Ut(p.$elm$.parentNode, !1), Ct(p, A, a), tt(r, p.$elm$, C.$elm$.nextSibling), p = t[++o], A = s[--S];
293
293
  else if (dr(C, $, a))
294
- (m.$tag$ === "slot" || A.$tag$ === "slot") && Ut(C.$elm$.parentNode, !1), Ct(C, $, a), tt(r, C.$elm$, m.$elm$), C = t[--l], $ = s[++n];
294
+ (p.$tag$ === "slot" || A.$tag$ === "slot") && Ut(C.$elm$.parentNode, !1), Ct(C, $, a), tt(r, C.$elm$, p.$elm$), C = t[--l], $ = s[++n];
295
295
  else {
296
296
  for (h = -1, u = o; u <= l; ++u)
297
297
  if (t[u] && t[u].$key$ !== null && t[u].$key$ === $.$key$) {
298
298
  h = u;
299
299
  break;
300
300
  }
301
- h >= 0 ? (F = t[h], F.$tag$ !== $.$tag$ ? N = Cr(t && t[n], e, h) : (Ct(F, $, a), t[h] = void 0, N = F.$elm$), $ = s[++n]) : (N = Cr(t && t[n], e, n), $ = s[++n]), N && tt(
302
- Bt(m.$elm$).parentNode,
301
+ h >= 0 ? (L = t[h], L.$tag$ !== $.$tag$ ? N = Cr(t && t[n], e, h) : (Ct(L, $, a), t[h] = void 0, N = L.$elm$), $ = s[++n]) : (N = Cr(t && t[n], e, n), $ = s[++n]), N && tt(
302
+ Bt(p.$elm$).parentNode,
303
303
  N,
304
- Bt(m.$elm$)
304
+ Bt(p.$elm$)
305
305
  );
306
306
  }
307
307
  o > l ? ma(
@@ -315,7 +315,7 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
315
315
  }, dr = (r, t, e = !1) => r.$tag$ === t.$tag$ ? r.$tag$ === "slot" ? r.$name$ === t.$name$ : e ? (e && !r.$key$ && t.$key$ && (r.$key$ = t.$key$), !0) : r.$key$ === t.$key$ : !1, Bt = (r) => r && r["s-ol"] || r, Ct = (r, t, e = !1) => {
316
316
  const s = t.$elm$ = r.$elm$, a = r.$children$, o = t.$children$, n = t.$tag$, h = t.$text$;
317
317
  let u;
318
- h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !yr || pa(r, t, Re), a !== null && o !== null ? Ln(s, a, t, o, e) : o !== null ? (r.$text$ !== null && (s.textContent = ""), ma(s, null, t, o, 0, o.length - 1)) : (
318
+ h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !yr || pa(r, t, Re), a !== null && o !== null ? Fn(s, a, t, o, e) : o !== null ? (r.$text$ !== null && (s.textContent = ""), ma(s, null, t, o, 0, o.length - 1)) : (
319
319
  // don't do this on initial render as it can cause non-hydrated content to be removed
320
320
  !e && St.updatable && a !== null && ga(a, 0, a.length - 1)
321
321
  ), Re && n === "svg" && (Re = !1)) : (u = s["s-cr"]) ? u.parentNode.textContent = h : r.$text$ !== h && (s.data = h);
@@ -342,25 +342,25 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
342
342
  }
343
343
  o.nodeType === 1 && ba(o);
344
344
  }
345
- }, tt = (r, t, e) => r == null ? void 0 : r.insertBefore(t, e), Fn = (r, t, e = !1) => {
345
+ }, tt = (r, t, e) => r == null ? void 0 : r.insertBefore(t, e), Ln = (r, t, e = !1) => {
346
346
  var s, a, o, n;
347
- const h = r.$hostElement$, u = r.$vnode$ || vr(null, null), l = $n(t) ? t : p(null, null, t);
347
+ const h = r.$hostElement$, u = r.$vnode$ || vr(null, null), l = $n(t) ? t : m(null, null, t);
348
348
  if (is = h.tagName, e && l.$attrs$)
349
- for (const m of Object.keys(l.$attrs$))
350
- h.hasAttribute(m) && !["key", "ref", "style", "class"].includes(m) && (l.$attrs$[m] = h[m]);
349
+ for (const p of Object.keys(l.$attrs$))
350
+ h.hasAttribute(p) && !["key", "ref", "style", "class"].includes(p) && (l.$attrs$[p] = h[p]);
351
351
  l.$tag$ = null, l.$flags$ |= 4, r.$vnode$ = l, l.$elm$ = u.$elm$ = h, yr = yn, es = h["s-cr"], kr = !1, Ct(u, l, e);
352
352
  {
353
353
  if (Se.$flags$ |= 1, cs) {
354
354
  ba(l.$elm$);
355
- for (const m of We) {
356
- const C = m.$nodeToRelocate$;
355
+ for (const p of We) {
356
+ const C = p.$nodeToRelocate$;
357
357
  if (!C["s-ol"]) {
358
358
  const S = wt.createTextNode("");
359
359
  S["s-nr"] = C, tt(C.parentNode, C["s-ol"] = S, C);
360
360
  }
361
361
  }
362
- for (const m of We) {
363
- const C = m.$nodeToRelocate$, S = m.$slotRefNode$;
362
+ for (const p of We) {
363
+ const C = p.$nodeToRelocate$, S = p.$slotRefNode$;
364
364
  if (S) {
365
365
  const $ = S.parentNode;
366
366
  let A = S.nextSibling;
@@ -379,8 +379,8 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
379
379
  P = P.previousSibling;
380
380
  }
381
381
  }
382
- const N = C.__parentNode || C.parentNode, F = C.__nextSibling || C.nextSibling;
383
- (!A && $ !== N || F !== A) && C !== A && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), tt($, C, A), 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);
382
+ const N = C.__parentNode || C.parentNode, L = C.__nextSibling || C.nextSibling;
383
+ (!A && $ !== N || L !== A) && C !== A && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), tt($, C, A), 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);
384
384
  } else
385
385
  C.nodeType === 1 && (e && (C["s-ih"] = (n = C.hidden) != null ? n : !1), C.hidden = !0);
386
386
  }
@@ -424,17 +424,17 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
424
424
  }
425
425
  }, Un = (r, t, e, s) => {
426
426
  try {
427
- t = t.render(), r.$flags$ &= -17, r.$flags$ |= 2, Fn(r, t, s);
427
+ t = t.render(), r.$flags$ &= -17, r.$flags$ |= 2, Ln(r, t, s);
428
428
  } catch (a) {
429
429
  xr(a, r.$hostElement$);
430
430
  }
431
431
  return null;
432
432
  }, Bn = (r) => {
433
433
  const t = r.$cmpMeta$.$tagName$, e = r.$hostElement$, s = Ht("postUpdate", t), a = e, o = r.$ancestorComponent$;
434
- r.$flags$ & 64 ? s() : (r.$flags$ |= 64, ya(e), Vn(a, "componentDidLoad", void 0, e), s(), r.$onReadyResolve$(e), o || qn()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && ns(() => ls(r, !1)), r.$flags$ &= -517;
435
- }, qn = (r) => {
434
+ r.$flags$ & 64 ? s() : (r.$flags$ |= 64, ya(e), qn(a, "componentDidLoad", void 0, e), s(), r.$onReadyResolve$(e), o || Vn()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && ns(() => ls(r, !1)), r.$flags$ &= -517;
435
+ }, Vn = (r) => {
436
436
  ya(wt.documentElement), ns(() => da(wr, "appload", { detail: { namespace: hn } }));
437
- }, Vn = (r, t, e, s) => {
437
+ }, qn = (r, t, e, s) => {
438
438
  if (r && r[t])
439
439
  try {
440
440
  return r[t](e);
@@ -444,7 +444,7 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
444
444
  }, ya = (r) => {
445
445
  var t;
446
446
  return r.classList.add((t = St.hydratedSelectorName) != null ? t : "hydrated");
447
- }, jn = (r, t) => rt(r).$instanceValues$.get(t), qs = (r, t, e, s) => {
447
+ }, jn = (r, t) => rt(r).$instanceValues$.get(t), Vs = (r, t, e, s) => {
448
448
  const a = rt(r), o = r, n = a.$instanceValues$.get(t), h = a.$flags$, u = o;
449
449
  e = ha(e, s.$members$[t][0]);
450
450
  const l = Number.isNaN(n) && Number.isNaN(e);
@@ -472,8 +472,8 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
472
472
  const n = Object.entries((s = t.$members$) != null ? s : {});
473
473
  n.map(([h, [u]]) => {
474
474
  if (u & 31 || u & 32) {
475
- const { get: l, set: m } = Object.getOwnPropertyDescriptor(o, h) || {};
476
- l && (t.$members$[h][0] |= 2048), m && (t.$members$[h][0] |= 4096), Object.defineProperty(o, h, {
475
+ const { get: l, set: p } = Object.getOwnPropertyDescriptor(o, h) || {};
476
+ l && (t.$members$[h][0] |= 2048), p && (t.$members$[h][0] |= 4096), Object.defineProperty(o, h, {
477
477
  get() {
478
478
  return l ? l.apply(this) : jn(this, h);
479
479
  },
@@ -482,13 +482,13 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
482
482
  }), Object.defineProperty(o, h, {
483
483
  set(C) {
484
484
  const S = rt(this);
485
- if (m) {
485
+ if (p) {
486
486
  const $ = u & 32 ? this[h] : S.$hostElement$[h];
487
- typeof $ > "u" && S.$instanceValues$.get(h) ? C = S.$instanceValues$.get(h) : !S.$instanceValues$.get(h) && $ && S.$instanceValues$.set(h, $), m.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : S.$hostElement$[h], qs(this, h, C, t);
487
+ typeof $ > "u" && S.$instanceValues$.get(h) ? C = S.$instanceValues$.get(h) : !S.$instanceValues$.get(h) && $ && S.$instanceValues$.set(h, $), p.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : S.$hostElement$[h], Vs(this, h, C, t);
488
488
  return;
489
489
  }
490
490
  {
491
- qs(this, h, C, t);
491
+ Vs(this, h, C, t);
492
492
  return;
493
493
  }
494
494
  }
@@ -497,27 +497,27 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
497
497
  });
498
498
  {
499
499
  const h = /* @__PURE__ */ new Map();
500
- o.attributeChangedCallback = function(u, l, m) {
500
+ o.attributeChangedCallback = function(u, l, p) {
501
501
  Se.jmp(() => {
502
502
  var C;
503
503
  const S = h.get(u);
504
504
  if (!(this.hasOwnProperty(S) && St.lazyLoad)) {
505
505
  if (o.hasOwnProperty(S) && typeof this[S] == "number" && // cast type to number to avoid TS compiler issues
506
- this[S] == m)
506
+ this[S] == p)
507
507
  return;
508
508
  if (S == null) {
509
509
  const A = rt(this), N = A == null ? void 0 : A.$flags$;
510
- if (N && !(N & 8) && N & 128 && m !== l) {
510
+ if (N && !(N & 8) && N & 128 && p !== l) {
511
511
  const P = this, _ = (C = t.$watchers$) == null ? void 0 : C[u];
512
512
  _ == null || _.forEach((U) => {
513
- P[U] != null && P[U].call(P, m, l, u);
513
+ P[U] != null && P[U].call(P, p, l, u);
514
514
  });
515
515
  }
516
516
  return;
517
517
  }
518
518
  }
519
519
  const $ = Object.getOwnPropertyDescriptor(o, S);
520
- m = m === null && typeof this[S] == "boolean" ? !1 : m, m !== this[S] && (!$.get || $.set) && (this[S] = m);
520
+ p = p === null && typeof this[S] == "boolean" ? !1 : p, p !== this[S] && (!$.get || $.set) && (this[S] = p);
521
521
  });
522
522
  }, r.observedAttributes = Array.from(
523
523
  /* @__PURE__ */ new Set([
@@ -526,8 +526,8 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
526
526
  ([u, l]) => l[0] & 15
527
527
  /* HasAttribute */
528
528
  ).map(([u, l]) => {
529
- const m = l[1] || u;
530
- return h.set(m, u), m;
529
+ const p = l[1] || u;
530
+ return h.set(p, u), p;
531
531
  })
532
532
  ])
533
533
  );
@@ -661,42 +661,42 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
661
661
  seal: u,
662
662
  create: l
663
663
  } = Object, {
664
- apply: m,
664
+ apply: p,
665
665
  construct: C
666
666
  } = typeof Reflect < "u" && Reflect;
667
667
  h || (h = function(O) {
668
668
  return O;
669
669
  }), u || (u = function(O) {
670
670
  return O;
671
- }), m || (m = function(O, V, q) {
672
- return O.apply(V, q);
673
- }), C || (C = function(O, V) {
674
- return new O(...V);
671
+ }), p || (p = function(O, q, V) {
672
+ return O.apply(q, V);
673
+ }), C || (C = function(O, q) {
674
+ return new O(...q);
675
675
  });
676
- const S = ce(Array.prototype.forEach), $ = ce(Array.prototype.lastIndexOf), A = ce(Array.prototype.pop), N = ce(Array.prototype.push), F = ce(Array.prototype.splice), P = ce(String.prototype.toLowerCase), _ = ce(String.prototype.toString), U = ce(String.prototype.match), j = ce(String.prototype.replace), se = ce(String.prototype.indexOf), Y = ce(String.prototype.trim), re = ce(Object.prototype.hasOwnProperty), Q = ce(RegExp.prototype.test), Ae = Tr(TypeError);
676
+ const S = ce(Array.prototype.forEach), $ = ce(Array.prototype.lastIndexOf), A = ce(Array.prototype.pop), N = ce(Array.prototype.push), L = ce(Array.prototype.splice), P = ce(String.prototype.toLowerCase), _ = ce(String.prototype.toString), U = ce(String.prototype.match), j = ce(String.prototype.replace), se = ce(String.prototype.indexOf), Y = ce(String.prototype.trim), re = ce(Object.prototype.hasOwnProperty), Q = ce(RegExp.prototype.test), Ae = Tr(TypeError);
677
677
  function ce(B) {
678
678
  return function(O) {
679
- for (var V = arguments.length, q = new Array(V > 1 ? V - 1 : 0), le = 1; le < V; le++)
680
- q[le - 1] = arguments[le];
681
- return m(B, O, q);
679
+ for (var q = arguments.length, V = new Array(q > 1 ? q - 1 : 0), le = 1; le < q; le++)
680
+ V[le - 1] = arguments[le];
681
+ return p(B, O, V);
682
682
  };
683
683
  }
684
684
  function Tr(B) {
685
685
  return function() {
686
- for (var O = arguments.length, V = new Array(O), q = 0; q < O; q++)
687
- V[q] = arguments[q];
688
- return C(B, V);
686
+ for (var O = arguments.length, q = new Array(O), V = 0; V < O; V++)
687
+ q[V] = arguments[V];
688
+ return C(B, q);
689
689
  };
690
690
  }
691
691
  function z(B, O) {
692
- let V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : P;
692
+ let q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : P;
693
693
  s && s(B, null);
694
- let q = O.length;
695
- for (; q--; ) {
696
- let le = O[q];
694
+ let V = O.length;
695
+ for (; V--; ) {
696
+ let le = O[V];
697
697
  if (typeof le == "string") {
698
- const ke = V(le);
699
- ke !== le && (a(O) || (O[q] = ke), le = ke);
698
+ const ke = q(le);
699
+ ke !== le && (a(O) || (O[V] = ke), le = ke);
700
700
  }
701
701
  B[le] = !0;
702
702
  }
@@ -709,25 +709,25 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
709
709
  }
710
710
  function $e(B) {
711
711
  const O = l(null);
712
- for (const [V, q] of e(B))
713
- re(B, V) && (Array.isArray(q) ? O[V] = Pr(q) : q && typeof q == "object" && q.constructor === Object ? O[V] = $e(q) : O[V] = q);
712
+ for (const [q, V] of e(B))
713
+ re(B, q) && (Array.isArray(V) ? O[q] = Pr(V) : V && typeof V == "object" && V.constructor === Object ? O[q] = $e(V) : O[q] = V);
714
714
  return O;
715
715
  }
716
716
  function st(B, O) {
717
717
  for (; B !== null; ) {
718
- const q = n(B, O);
719
- if (q) {
720
- if (q.get)
721
- return ce(q.get);
722
- if (typeof q.value == "function")
723
- return ce(q.value);
718
+ const V = n(B, O);
719
+ if (V) {
720
+ if (V.get)
721
+ return ce(V.get);
722
+ if (typeof V.value == "function")
723
+ return ce(V.value);
724
724
  }
725
725
  B = o(B);
726
726
  }
727
- function V() {
727
+ function q() {
728
728
  return null;
729
729
  }
730
- return V;
730
+ return q;
731
731
  }
732
732
  const jt = 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"]), Qe = 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"]), at = 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"]), $r = 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"]), ht = 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"]), dt = h(["#text"]), Et = 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"]), Tt = 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"]), Wt = 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"]), ft = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ir = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Gt = u(/<%[\w\W]*|[\w\W]*%>/gm), Ar = u(/\$\{[\w\W]*/gm), pt = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), Pt = u(/^aria-[\-\w]+$/), $t = u(
733
733
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
@@ -756,15 +756,15 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
756
756
  progressingInstruction: 7,
757
757
  comment: 8,
758
758
  document: 9
759
- }, Lr = function() {
759
+ }, Fr = function() {
760
760
  return typeof window > "u" ? null : window;
761
- }, Fr = function(O, V) {
761
+ }, Lr = function(O, q) {
762
762
  if (typeof O != "object" || typeof O.createPolicy != "function")
763
763
  return null;
764
- let q = null;
764
+ let V = null;
765
765
  const le = "data-tt-policy-suffix";
766
- V && V.hasAttribute(le) && (q = V.getAttribute(le));
767
- const ke = "dompurify" + (q ? "#" + q : "");
766
+ q && q.hasAttribute(le) && (V = q.getAttribute(le));
767
+ const ke = "dompurify" + (V ? "#" + V : "");
768
768
  try {
769
769
  return O.createPolicy(ke, {
770
770
  createHTML(Xe) {
@@ -791,14 +791,14 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
791
791
  };
792
792
  };
793
793
  function Kt() {
794
- let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Lr();
795
- const O = (L) => Kt(L);
794
+ let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Fr();
795
+ const O = (F) => Kt(F);
796
796
  if (O.version = "3.2.4", O.removed = [], !B || !B.document || B.document.nodeType !== Ke.document || !B.Element)
797
797
  return O.isSupported = !1, O;
798
798
  let {
799
- document: V
799
+ document: q
800
800
  } = B;
801
- const q = V, le = q.currentScript, {
801
+ const V = q, le = V.currentScript, {
802
802
  DocumentFragment: ke,
803
803
  HTMLTemplateElement: Xe,
804
804
  Node: mt,
@@ -810,8 +810,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
810
810
  trustedTypes: gt
811
811
  } = B, Me = It.prototype, ot = st(Me, "cloneNode"), zr = st(Me, "remove"), Xt = st(Me, "nextSibling"), Ee = st(Me, "childNodes"), it = st(Me, "parentNode");
812
812
  if (typeof Xe == "function") {
813
- const L = V.createElement("template");
814
- L.content && L.content.ownerDocument && (V = L.content.ownerDocument);
813
+ const F = q.createElement("template");
814
+ F.content && F.content.ownerDocument && (q = F.content.ownerDocument);
815
815
  }
816
816
  let ue, _e = "";
817
817
  const {
@@ -819,9 +819,9 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
819
819
  createNodeIterator: Jt,
820
820
  createDocumentFragment: Hr,
821
821
  getElementsByTagName: ct
822
- } = V, {
822
+ } = q, {
823
823
  importNode: Te
824
- } = q;
824
+ } = V;
825
825
  let ae = _t();
826
826
  O.isSupported = typeof e == "function" && typeof it == "function" && Ot && Ot.createHTMLDocument !== void 0;
827
827
  const {
@@ -862,32 +862,32 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
862
862
  })), ze = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, R = !0, k = !1, T = !1, x = !1, w = !1, Z = !1, I = !1, oe = !0, G = !1;
863
863
  const me = "user-content-";
864
864
  let bt = !0, He = !1, Ue = {}, Be = null;
865
- const Lt = z({}, ["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"]);
865
+ const Ft = z({}, ["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"]);
866
866
  let nr = null;
867
867
  const vt = z({}, ["audio", "video", "img", "source", "image", "track"]);
868
- let qe = null;
869
- const xs = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg", Ve = "http://www.w3.org/1999/xhtml";
870
- let yt = Ve, Br = !1, qr = null;
871
- const Qa = z({}, [or, ir, Ve], _);
868
+ let Ve = null;
869
+ const xs = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml";
870
+ let yt = qe, Br = !1, Vr = null;
871
+ const Qa = z({}, [or, ir, qe], _);
872
872
  let cr = z({}, ["mi", "mo", "mn", "ms", "mtext"]), lr = z({}, ["annotation-xml"]);
873
873
  const Ka = z({}, ["title", "style", "font", "a", "script"]);
874
- let Ft = null;
874
+ let Lt = null;
875
875
  const Xa = ["application/xhtml+xml", "text/html"], Ja = "text/html";
876
876
  let he = null, kt = null;
877
- const en = V.createElement("form"), ws = function(b) {
877
+ const en = q.createElement("form"), ws = function(b) {
878
878
  return b instanceof RegExp || b instanceof Function;
879
- }, Vr = function() {
879
+ }, qr = function() {
880
880
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
881
881
  if (!(kt && kt === b)) {
882
- if ((!b || typeof b != "object") && (b = {}), b = $e(b), Ft = // eslint-disable-next-line unicorn/prefer-includes
883
- Xa.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ja : b.PARSER_MEDIA_TYPE, he = Ft === "application/xhtml+xml" ? _ : P, ne = re(b, "ALLOWED_TAGS") ? z({}, b.ALLOWED_TAGS, he) : sr, ie = re(b, "ALLOWED_ATTR") ? z({}, b.ALLOWED_ATTR, he) : ar, qr = re(b, "ALLOWED_NAMESPACES") ? z({}, b.ALLOWED_NAMESPACES, _) : Qa, qe = re(b, "ADD_URI_SAFE_ATTR") ? z($e(xs), b.ADD_URI_SAFE_ATTR, he) : xs, nr = re(b, "ADD_DATA_URI_TAGS") ? z($e(vt), b.ADD_DATA_URI_TAGS, he) : vt, Be = re(b, "FORBID_CONTENTS") ? z({}, b.FORBID_CONTENTS, he) : Lt, ze = re(b, "FORBID_TAGS") ? z({}, b.FORBID_TAGS, he) : {}, f = re(b, "FORBID_ATTR") ? z({}, b.FORBID_ATTR, he) : {}, Ue = re(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, Z = b.RETURN_DOM_FRAGMENT || !1, I = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, oe = b.SANITIZE_DOM !== !1, G = b.SANITIZE_NAMED_PROPS || !1, bt = b.KEEP_CONTENT !== !1, He = b.IN_PLACE || !1, rr = b.ALLOWED_URI_REGEXP || $t, yt = b.NAMESPACE || Ve, cr = b.MATHML_TEXT_INTEGRATION_POINTS || cr, lr = b.HTML_INTEGRATION_POINTS || lr, X = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (X.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (X.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (X.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), Z && (w = !0), Ue && (ne = z({}, dt), ie = [], Ue.html === !0 && (z(ne, jt), z(ie, Et)), Ue.svg === !0 && (z(ne, Qe), z(ie, Tt), z(ie, ft)), Ue.svgFilters === !0 && (z(ne, at), z(ie, Tt), z(ie, ft)), Ue.mathMl === !0 && (z(ne, ht), z(ie, Wt), z(ie, ft))), b.ADD_TAGS && (ne === sr && (ne = $e(ne)), z(ne, b.ADD_TAGS, he)), b.ADD_ATTR && (ie === ar && (ie = $e(ie)), z(ie, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && z(qe, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Be === Lt && (Be = $e(Be)), z(Be, b.FORBID_CONTENTS, he)), bt && (ne["#text"] = !0), k && z(ne, ["html", "head", "body"]), ne.table && (z(ne, ["tbody"]), delete ze.tbody), b.TRUSTED_TYPES_POLICY) {
882
+ if ((!b || typeof b != "object") && (b = {}), b = $e(b), Lt = // eslint-disable-next-line unicorn/prefer-includes
883
+ Xa.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ja : b.PARSER_MEDIA_TYPE, he = Lt === "application/xhtml+xml" ? _ : P, ne = re(b, "ALLOWED_TAGS") ? z({}, b.ALLOWED_TAGS, he) : sr, ie = re(b, "ALLOWED_ATTR") ? z({}, b.ALLOWED_ATTR, he) : ar, Vr = re(b, "ALLOWED_NAMESPACES") ? z({}, b.ALLOWED_NAMESPACES, _) : Qa, Ve = re(b, "ADD_URI_SAFE_ATTR") ? z($e(xs), b.ADD_URI_SAFE_ATTR, he) : xs, nr = re(b, "ADD_DATA_URI_TAGS") ? z($e(vt), b.ADD_DATA_URI_TAGS, he) : vt, Be = re(b, "FORBID_CONTENTS") ? z({}, b.FORBID_CONTENTS, he) : Ft, ze = re(b, "FORBID_TAGS") ? z({}, b.FORBID_TAGS, he) : {}, f = re(b, "FORBID_ATTR") ? z({}, b.FORBID_ATTR, he) : {}, Ue = re(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, Z = b.RETURN_DOM_FRAGMENT || !1, I = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, oe = b.SANITIZE_DOM !== !1, G = b.SANITIZE_NAMED_PROPS || !1, bt = b.KEEP_CONTENT !== !1, He = b.IN_PLACE || !1, rr = b.ALLOWED_URI_REGEXP || $t, yt = b.NAMESPACE || qe, cr = b.MATHML_TEXT_INTEGRATION_POINTS || cr, lr = b.HTML_INTEGRATION_POINTS || lr, X = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (X.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (X.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (X.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), Z && (w = !0), Ue && (ne = z({}, dt), ie = [], Ue.html === !0 && (z(ne, jt), z(ie, Et)), Ue.svg === !0 && (z(ne, Qe), z(ie, Tt), z(ie, ft)), Ue.svgFilters === !0 && (z(ne, at), z(ie, Tt), z(ie, ft)), Ue.mathMl === !0 && (z(ne, ht), z(ie, Wt), z(ie, ft))), b.ADD_TAGS && (ne === sr && (ne = $e(ne)), z(ne, b.ADD_TAGS, he)), b.ADD_ATTR && (ie === ar && (ie = $e(ie)), z(ie, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && z(Ve, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Be === Ft && (Be = $e(Be)), z(Be, b.FORBID_CONTENTS, he)), bt && (ne["#text"] = !0), k && z(ne, ["html", "head", "body"]), ne.table && (z(ne, ["tbody"]), delete ze.tbody), b.TRUSTED_TYPES_POLICY) {
884
884
  if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
885
885
  throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
886
886
  if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
887
887
  throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
888
888
  ue = b.TRUSTED_TYPES_POLICY, _e = ue.createHTML("");
889
889
  } else
890
- ue === void 0 && (ue = Fr(gt, le)), ue !== null && typeof _e == "string" && (_e = ue.createHTML(""));
890
+ ue === void 0 && (ue = Lr(gt, le)), ue !== null && typeof _e == "string" && (_e = ue.createHTML(""));
891
891
  h && h(b), kt = b;
892
892
  }
893
893
  }, Ss = z({}, [...Qe, ...at, ...$r]), Rs = z({}, [...ht, ..._r]), tn = function(b) {
@@ -897,7 +897,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
897
897
  tagName: "template"
898
898
  });
899
899
  const M = P(b.tagName), K = P(E.tagName);
900
- return qr[b.namespaceURI] ? b.namespaceURI === ir ? E.namespaceURI === Ve ? M === "svg" : E.namespaceURI === or ? M === "svg" && (K === "annotation-xml" || cr[K]) : !!Ss[M] : b.namespaceURI === or ? E.namespaceURI === Ve ? M === "math" : E.namespaceURI === ir ? M === "math" && lr[K] : !!Rs[M] : b.namespaceURI === Ve ? E.namespaceURI === ir && !lr[K] || E.namespaceURI === or && !cr[K] ? !1 : !Rs[M] && (Ka[M] || !Ss[M]) : !!(Ft === "application/xhtml+xml" && qr[b.namespaceURI]) : !1;
900
+ return Vr[b.namespaceURI] ? b.namespaceURI === ir ? E.namespaceURI === qe ? M === "svg" : E.namespaceURI === or ? M === "svg" && (K === "annotation-xml" || cr[K]) : !!Ss[M] : b.namespaceURI === or ? E.namespaceURI === qe ? M === "math" : E.namespaceURI === ir ? M === "math" && lr[K] : !!Rs[M] : b.namespaceURI === qe ? E.namespaceURI === ir && !lr[K] || E.namespaceURI === or && !cr[K] ? !1 : !Rs[M] && (Ka[M] || !Ss[M]) : !!(Lt === "application/xhtml+xml" && Vr[b.namespaceURI]) : !1;
901
901
  }, Oe = function(b) {
902
902
  N(O.removed, {
903
903
  element: b
@@ -938,11 +938,11 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
938
938
  const de = U(b, /^[\r\n\t ]+/);
939
939
  M = de && de[0];
940
940
  }
941
- Ft === "application/xhtml+xml" && yt === Ve && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
941
+ Lt === "application/xhtml+xml" && yt === qe && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
942
942
  const K = ue ? ue.createHTML(b) : b;
943
- if (yt === Ve)
943
+ if (yt === qe)
944
944
  try {
945
- E = new Mt().parseFromString(K, Ft);
945
+ E = new Mt().parseFromString(K, Lt);
946
946
  } catch {
947
947
  }
948
948
  if (!E || !E.documentElement) {
@@ -953,7 +953,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
953
953
  }
954
954
  }
955
955
  const ge = E.body || E.documentElement;
956
- return b && M && ge.insertBefore(V.createTextNode(M), ge.childNodes[0] || null), yt === Ve ? ct.call(E, k ? "html" : "body")[0] : k ? E.documentElement : ge;
956
+ return b && M && ge.insertBefore(q.createTextNode(M), ge.childNodes[0] || null), yt === qe ? ct.call(E, k ? "html" : "body")[0] : k ? E.documentElement : ge;
957
957
  }, Ts = function(b) {
958
958
  return Jt.call(
959
959
  b.ownerDocument || b,
@@ -967,8 +967,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
967
967
  }, Ps = function(b) {
968
968
  return typeof mt == "function" && b instanceof mt;
969
969
  };
970
- function je(L, b, E) {
971
- S(L, (M) => {
970
+ function je(F, b, E) {
971
+ S(F, (M) => {
972
972
  M.call(O, b, E, kt);
973
973
  });
974
974
  }
@@ -990,8 +990,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
990
990
  if (ge && K) {
991
991
  const de = ge.length;
992
992
  for (let xe = de - 1; xe >= 0; --xe) {
993
- const Le = ot(ge[xe], !0);
994
- Le.__removalCount = (b.__removalCount || 0) + 1, K.insertBefore(Le, Xt(b));
993
+ const Fe = ot(ge[xe], !0);
994
+ Fe.__removalCount = (b.__removalCount || 0) + 1, K.insertBefore(Fe, Xt(b));
995
995
  }
996
996
  }
997
997
  }
@@ -1003,7 +1003,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1003
1003
  element: b.cloneNode()
1004
1004
  }), b.textContent = E)), je(ae.afterSanitizeElements, b, null), !1);
1005
1005
  }, _s = function(b, E, M) {
1006
- if (oe && (E === "id" || E === "name") && (M in V || M in en))
1006
+ if (oe && (E === "id" || E === "name") && (M in q || M in en))
1007
1007
  return !1;
1008
1008
  if (!(d && !f[E] && Q(er, E))) {
1009
1009
  if (!(i && Q(Ne, E))) {
@@ -1016,7 +1016,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1016
1016
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1017
1017
  E === "is" && X.allowCustomizedBuiltInElements && (X.tagNameCheck instanceof RegExp && Q(X.tagNameCheck, M) || X.tagNameCheck instanceof Function && X.tagNameCheck(M)))
1018
1018
  ) return !1;
1019
- } else if (!qe[E]) {
1019
+ } else if (!Ve[E]) {
1020
1020
  if (!Q(rr, j(M, tr, ""))) {
1021
1021
  if (!((E === "src" || E === "xlink:href" || E === "href") && b !== "script" && se(M, "data:") === 0 && nr[b])) {
1022
1022
  if (!(g && !Q(W, j(M, tr, "")))) {
@@ -1050,9 +1050,9 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1050
1050
  const ge = E[K], {
1051
1051
  name: de,
1052
1052
  namespaceURI: xe,
1053
- value: Le
1053
+ value: Fe
1054
1054
  } = ge, Dt = he(de);
1055
- let ve = de === "value" ? Le : Y(Le);
1055
+ let ve = de === "value" ? Fe : Y(Fe);
1056
1056
  if (M.attrName = Dt, M.attrValue = ve, M.keepAttr = !0, M.forceKeepAttr = void 0, je(ae.uponSanitizeAttribute, b, M), ve = M.attrValue, G && (Dt === "id" || Dt === "name") && (ur(de, b), ve = me + ve), R && Q(/((--!?|])>)|<\/(style|title)/i, ve)) {
1057
1057
  ur(de, b);
1058
1058
  continue;
@@ -1086,76 +1086,76 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1086
1086
  }
1087
1087
  }
1088
1088
  je(ae.afterSanitizeAttributes, b, null);
1089
- }, rn = function L(b) {
1089
+ }, rn = function F(b) {
1090
1090
  let E = null;
1091
1091
  const M = Ts(b);
1092
1092
  for (je(ae.beforeSanitizeShadowDOM, b, null); E = M.nextNode(); )
1093
- je(ae.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ke && L(E.content);
1093
+ je(ae.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ke && F(E.content);
1094
1094
  je(ae.afterSanitizeShadowDOM, b, null);
1095
1095
  };
1096
- return O.sanitize = function(L) {
1096
+ return O.sanitize = function(F) {
1097
1097
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, M = null, K = null, ge = null;
1098
- if (Br = !L, Br && (L = "<!-->"), typeof L != "string" && !Ps(L))
1099
- if (typeof L.toString == "function") {
1100
- if (L = L.toString(), typeof L != "string")
1098
+ if (Br = !F, Br && (F = "<!-->"), typeof F != "string" && !Ps(F))
1099
+ if (typeof F.toString == "function") {
1100
+ if (F = F.toString(), typeof F != "string")
1101
1101
  throw Ae("dirty is not a string, aborting");
1102
1102
  } else
1103
1103
  throw Ae("toString is not a function");
1104
1104
  if (!O.isSupported)
1105
- return L;
1106
- if (T || Vr(b), O.removed = [], typeof L == "string" && (He = !1), He) {
1107
- if (L.nodeName) {
1108
- const Le = he(L.nodeName);
1109
- if (!ne[Le] || ze[Le])
1105
+ return F;
1106
+ if (T || qr(b), O.removed = [], typeof F == "string" && (He = !1), He) {
1107
+ if (F.nodeName) {
1108
+ const Fe = he(F.nodeName);
1109
+ if (!ne[Fe] || ze[Fe])
1110
1110
  throw Ae("root node is forbidden and cannot be sanitized in-place");
1111
1111
  }
1112
- } else if (L instanceof mt)
1113
- E = Es("<!---->"), M = E.ownerDocument.importNode(L, !0), M.nodeType === Ke.element && M.nodeName === "BODY" || M.nodeName === "HTML" ? E = M : E.appendChild(M);
1112
+ } else if (F instanceof mt)
1113
+ E = Es("<!---->"), M = E.ownerDocument.importNode(F, !0), M.nodeType === Ke.element && M.nodeName === "BODY" || M.nodeName === "HTML" ? E = M : E.appendChild(M);
1114
1114
  else {
1115
1115
  if (!w && !y && !k && // eslint-disable-next-line unicorn/prefer-includes
1116
- L.indexOf("<") === -1)
1117
- return ue && I ? ue.createHTML(L) : L;
1118
- if (E = Es(L), !E)
1116
+ F.indexOf("<") === -1)
1117
+ return ue && I ? ue.createHTML(F) : F;
1118
+ if (E = Es(F), !E)
1119
1119
  return w ? null : I ? _e : "";
1120
1120
  }
1121
1121
  E && x && Oe(E.firstChild);
1122
- const de = Ts(He ? L : E);
1122
+ const de = Ts(He ? F : E);
1123
1123
  for (; K = de.nextNode(); )
1124
1124
  $s(K), As(K), K.content instanceof ke && rn(K.content);
1125
1125
  if (He)
1126
- return L;
1126
+ return F;
1127
1127
  if (w) {
1128
1128
  if (Z)
1129
1129
  for (ge = Hr.call(E.ownerDocument); E.firstChild; )
1130
1130
  ge.appendChild(E.firstChild);
1131
1131
  else
1132
1132
  ge = E;
1133
- return (ie.shadowroot || ie.shadowrootmode) && (ge = Te.call(q, ge, !0)), ge;
1133
+ return (ie.shadowroot || ie.shadowrootmode) && (ge = Te.call(V, ge, !0)), ge;
1134
1134
  }
1135
1135
  let xe = k ? E.outerHTML : E.innerHTML;
1136
1136
  return k && ne["!doctype"] && E.ownerDocument && E.ownerDocument.doctype && E.ownerDocument.doctype.name && Q(Yt, E.ownerDocument.doctype.name) && (xe = "<!DOCTYPE " + E.ownerDocument.doctype.name + `>
1137
- ` + xe), y && S([Je, Ce, De], (Le) => {
1138
- xe = j(xe, Le, " ");
1137
+ ` + xe), y && S([Je, Ce, De], (Fe) => {
1138
+ xe = j(xe, Fe, " ");
1139
1139
  }), ue && I ? ue.createHTML(xe) : xe;
1140
1140
  }, O.setConfig = function() {
1141
- let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1142
- Vr(L), T = !0;
1141
+ let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1142
+ qr(F), T = !0;
1143
1143
  }, O.clearConfig = function() {
1144
1144
  kt = null, T = !1;
1145
- }, O.isValidAttribute = function(L, b, E) {
1146
- kt || Vr({});
1147
- const M = he(L), K = he(b);
1145
+ }, O.isValidAttribute = function(F, b, E) {
1146
+ kt || qr({});
1147
+ const M = he(F), K = he(b);
1148
1148
  return _s(M, K, E);
1149
- }, O.addHook = function(L, b) {
1150
- typeof b == "function" && N(ae[L], b);
1151
- }, O.removeHook = function(L, b) {
1149
+ }, O.addHook = function(F, b) {
1150
+ typeof b == "function" && N(ae[F], b);
1151
+ }, O.removeHook = function(F, b) {
1152
1152
  if (b !== void 0) {
1153
- const E = $(ae[L], b);
1154
- return E === -1 ? void 0 : F(ae[L], E, 1)[0];
1153
+ const E = $(ae[F], b);
1154
+ return E === -1 ? void 0 : L(ae[F], E, 1)[0];
1155
1155
  }
1156
- return A(ae[L]);
1157
- }, O.removeHooks = function(L) {
1158
- ae[L] = [];
1156
+ return A(ae[F]);
1157
+ }, O.removeHooks = function(F) {
1158
+ ae[F] = [];
1159
1159
  }, O.removeAllHooks = function() {
1160
1160
  ae = _t();
1161
1161
  }, O;
@@ -1164,7 +1164,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1164
1164
  return Dr;
1165
1165
  });
1166
1166
  })(xa);
1167
- const wa = xa.exports, qt = (r, ...t) => {
1167
+ const wa = xa.exports, Vt = (r, ...t) => {
1168
1168
  let e = r[0];
1169
1169
  for (let s = 0; s < t.length; s++)
1170
1170
  e += wa.sanitize(t[s] ? String(t[s]) : "") + r[s + 1];
@@ -1302,8 +1302,8 @@ const to = /* @__PURE__ */ te(class extends ee {
1302
1302
  return;
1303
1303
  let s = "<p>Ad Marketplace Ad Placeholder</p>";
1304
1304
  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, {
1305
- html: qt
1306
- })), p("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
1305
+ html: Vt
1306
+ })), m("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
1307
1307
  }
1308
1308
  renderCustomAd() {
1309
1309
  var o, n, h;
@@ -1312,12 +1312,12 @@ const to = /* @__PURE__ */ te(class extends ee {
1312
1312
  return e && (a = e({
1313
1313
  searchTerm: this.searchTerm || "",
1314
1314
  adContainerId: this.adContainerId
1315
- }, { html: qt })), p("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
1315
+ }, { html: Vt })), m("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
1316
1316
  }
1317
1317
  renderNativoAd() {
1318
1318
  var s, a;
1319
1319
  const e = ((a = (s = this.core) == null ? void 0 : s.config.nativoConfig) == null ? void 0 : a.adClassName) || "ntv-item";
1320
- return p("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: we("searchcraft-ad", e), "data-searchcraft-ad-container-id": this.adContainerId });
1320
+ return m("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: we("searchcraft-ad", e), "data-searchcraft-ad-container-id": this.adContainerId });
1321
1321
  }
1322
1322
  render() {
1323
1323
  if (this.searchResultCount !== 0)
@@ -1394,11 +1394,11 @@ const ro = Sr, so = /* @__PURE__ */ te(class extends ee {
1394
1394
  this.__registerHost(), this.buttonClick = et(this, "buttonClick");
1395
1395
  }
1396
1396
  render() {
1397
- return p("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: we("searchcraft-button", {
1397
+ return m("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: we("searchcraft-button", {
1398
1398
  "searchcraft-button-primary": this.hierarchy === "primary",
1399
1399
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
1400
1400
  "searchcraft-button-disabled": this.disabled
1401
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : p(Xn, null, this.iconPosition === "left" && this.icon, p("span", null, this.label), this.iconPosition === "right" && this.icon));
1401
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : m(Xn, null, this.iconPosition === "left" && this.icon, m("span", null, this.label), this.iconPosition === "right" && this.icon));
1402
1402
  }
1403
1403
  }, [0, "searchcraft-button", {
1404
1404
  hierarchy: [1],
@@ -1425,7 +1425,7 @@ const ao = Rr, no = /* @__PURE__ */ te(class extends ee {
1425
1425
  super(), this.__registerHost();
1426
1426
  }
1427
1427
  render() {
1428
- return p("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, p("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
1428
+ return m("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, m("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
1429
1429
  }
1430
1430
  }, [4, "searchcraft-error-message"]);
1431
1431
  function Er() {
@@ -1453,7 +1453,7 @@ const oo = Er, Sa = (r, t) => {
1453
1453
  function io(r) {
1454
1454
  return r.filter((t, e, s) => !s.some((a, o) => o !== e && a.includes(t)));
1455
1455
  }
1456
- const Vs = (r, t) => {
1456
+ const qs = (r, t) => {
1457
1457
  const e = structuredClone(r), s = (a, o) => {
1458
1458
  var u;
1459
1459
  const n = structuredClone(a), h = Sa(t, o);
@@ -1467,31 +1467,46 @@ const Vs = (r, t) => {
1467
1467
  return n;
1468
1468
  };
1469
1469
  return s(e, []);
1470
- }, Wr = (r) => {
1471
- const t = {
1470
+ }, Wr = (r, t) => {
1471
+ const e = {
1472
1472
  path: "/",
1473
1473
  count: 0,
1474
1474
  children: {}
1475
- }, e = [], s = (a) => {
1476
- if (a.path !== "/" && e.push({ path: a.path, count: a.count }), a.children)
1477
- for (const o of a.children)
1478
- s(o);
1475
+ }, s = [], a = (o) => {
1476
+ if (o.path !== "/" && s.push({ path: o.path, count: o.count }), o.children)
1477
+ for (const n of o.children)
1478
+ a(n);
1479
1479
  };
1480
- s(r);
1481
- for (const { path: a, count: o } of e) {
1482
- const n = a.split("/").filter(Boolean);
1483
- let h = t;
1484
- for (const u of n) {
1485
- const l = h.path === "/" ? `/${u}` : `${h.path}/${u}`;
1486
- h.children[u] || (h.children[u] = {
1487
- path: l,
1488
- count: o,
1480
+ a(r);
1481
+ for (const { path: o, count: n } of s) {
1482
+ const h = o.split("/").filter(Boolean);
1483
+ if (t && t.length > 0) {
1484
+ let l = !1;
1485
+ for (const p of t)
1486
+ if (p.startsWith("/")) {
1487
+ if (o === p || o.startsWith(`${p}/`)) {
1488
+ l = !0;
1489
+ break;
1490
+ }
1491
+ } else if (h.includes(p)) {
1492
+ l = !0;
1493
+ break;
1494
+ }
1495
+ if (l)
1496
+ continue;
1497
+ }
1498
+ let u = e;
1499
+ for (const l of h) {
1500
+ const p = u.path === "/" ? `/${l}` : `${u.path}/${l}`;
1501
+ u.children[l] || (u.children[l] = {
1502
+ path: p,
1503
+ count: n,
1489
1504
  children: {}
1490
- }), h = h.children[u];
1505
+ }), u = u.children[l];
1491
1506
  }
1492
- h.count = o;
1507
+ u.count = n;
1493
1508
  }
1494
- return t;
1509
+ return e;
1495
1510
  }, co = /* @__PURE__ */ te(class extends ee {
1496
1511
  constructor() {
1497
1512
  super();
@@ -1503,6 +1518,10 @@ const Vs = (r, t) => {
1503
1518
  * The name of the field where facets are applied.
1504
1519
  */
1505
1520
  c(this, "fieldName", "");
1521
+ /**
1522
+ * Array of facet values to exclude from rendering.
1523
+ */
1524
+ c(this, "exclude");
1506
1525
  /**
1507
1526
  * Emitted when the facets are updated.
1508
1527
  */
@@ -1553,12 +1572,12 @@ const Vs = (r, t) => {
1553
1572
  return Object.keys(this.selectedPaths).some((e) => this.selectedPaths[e]);
1554
1573
  }
1555
1574
  handleIncomingSearchResponse(e, s) {
1556
- var u, l, m;
1575
+ var u, l, p;
1557
1576
  const a = (u = e.searchResponseFacetPrime) == null ? void 0 : u.find((C) => this.fieldName === Object.keys(C)[0]), o = a == null ? void 0 : a[this.fieldName], n = Wr({
1558
1577
  path: "/",
1559
1578
  count: 0,
1560
1579
  children: o || []
1561
- });
1580
+ }, this.exclude);
1562
1581
  switch (s) {
1563
1582
  case "SEARCH_TERM_EMPTY":
1564
1583
  this.facetTreeCollectedFromSearchResponse = {
@@ -1578,15 +1597,15 @@ const Vs = (r, t) => {
1578
1597
  path: "/",
1579
1598
  count: 0,
1580
1599
  children: S || []
1581
- });
1582
- this.facetTreeCollectedFromSearchResponse = Vs($, n);
1600
+ }, this.exclude);
1601
+ this.facetTreeCollectedFromSearchResponse = qs($, n);
1583
1602
  } else
1584
1603
  this.facetTreeCollectedFromSearchResponse = n;
1585
1604
  break;
1586
1605
  }
1587
1606
  case "FACET_UPDATE":
1588
1607
  case "SORT_ORDER_UPDATE":
1589
- this.facetTreeCollectedFromSearchResponse = Vs(this.facetTreeCollectedFromSearchResponse, n);
1608
+ this.facetTreeCollectedFromSearchResponse = qs(this.facetTreeCollectedFromSearchResponse, n);
1590
1609
  break;
1591
1610
  default:
1592
1611
  return;
@@ -1603,13 +1622,13 @@ const Vs = (r, t) => {
1603
1622
  };
1604
1623
  for (const C of Object.keys(this.selectedPaths).filter((S) => this.selectedPaths[S])) {
1605
1624
  const S = C.startsWith("/") ? C.substring(1).split("/") : C.split("/"), $ = !!Sa(this.facetTreeCollectedFromSearchResponse, S), A = S.at(-1);
1606
- !$ && A && ((m = h.children) == null || m.push({
1625
+ !$ && A && ((p = h.children) == null || p.push({
1607
1626
  children: [],
1608
1627
  count: 0,
1609
1628
  path: C
1610
1629
  }));
1611
1630
  }
1612
- this.facetTreeFromFacetPathsNotInSearchResponse = Wr(h), this.renderedFacetTree = us(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
1631
+ this.facetTreeFromFacetPathsNotInSearchResponse = Wr(h, this.exclude), this.renderedFacetTree = us(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
1613
1632
  }
1614
1633
  handleStateUpdate(e) {
1615
1634
  const s = { ...e }, a = typeof s.searchClientRequestProperties == "string" && s.searchTerm.trim() === "";
@@ -1622,7 +1641,7 @@ const Vs = (r, t) => {
1622
1641
  this.lastSearchTerm !== o.searchTerm ? this.areAnyFacetPathsSelected ? n = "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE" : n = "NEW_SEARCH_TERM" : this.lastRangeValues !== JSON.stringify(o.rangeValueForIndexFields) ? n = "RANGE_VALUE_UPDATE" : this.lastFacetValues !== JSON.stringify(o.facetPathsForIndexFields) ? n = "FACET_UPDATE" : this.lastSortType !== o.order_by ? n = "SORT_ORDER_UPDATE" : this.lastSearchMode !== o.mode && (n = "EXACT_MATCH_UPDATE"), this.lastRangeValues = JSON.stringify(o.rangeValueForIndexFields), this.lastFacetValues = JSON.stringify(o.facetPathsForIndexFields), this.lastSortType = o.order_by, this.lastSearchMode = o.mode, this.lastSearchTerm = o.searchTerm, this.lastTimeTaken = s.searchResponseTimeTaken, this.handleIncomingSearchResponse(s, n);
1623
1642
  } else if (typeof s.searchClientRequestProperties == "string") {
1624
1643
  let o = "NEW_SEARCH_TERM";
1625
- const n = JSON.parse(s.searchClientRequestProperties), u = (Array.isArray(n.query) ? n.query : [n.query]).filter((m) => m.occur === "must"), l = JSON.stringify(u);
1644
+ const n = JSON.parse(s.searchClientRequestProperties), u = (Array.isArray(n.query) ? n.query : [n.query]).filter((p) => p.occur === "must"), l = JSON.stringify(u);
1626
1645
  this.lastFacetValues !== void 0 && this.lastFacetValues !== l ? o = "FACET_UPDATE" : s.searchTerm.trim() === "" && this.lastSearchTerm === "" ? o = "NEW_SEARCH_TERM" : this.lastSearchTerm !== s.searchTerm && (this.areAnyFacetPathsSelected ? o = "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE" : o = "NEW_SEARCH_TERM"), this.lastFacetValues = l, this.lastSearchTerm = s.searchTerm, this.lastTimeTaken = s.searchResponseTimeTaken, this.handleIncomingSearchResponse(s, o);
1627
1646
  }
1628
1647
  }
@@ -1658,9 +1677,9 @@ const Vs = (r, t) => {
1658
1677
  for (const h of Object.keys(this.selectedPaths))
1659
1678
  this.selectedPaths[h] && h.startsWith(s.path) && h.length > s.path.length && (a = !0);
1660
1679
  const o = Object.keys(this.selectedPaths).includes(s.path), n = Object.keys(s.children).length > 0 && (o || a) || e === "@@root";
1661
- return p("div", { class: "searchcraft-facet-list-item" }, e !== "@@root" && p("label", { class: "searchcraft-facet-list-checkbox-label" }, p("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, p("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (h) => {
1680
+ return m("div", { class: "searchcraft-facet-list-item" }, e !== "@@root" && m("label", { class: "searchcraft-facet-list-checkbox-label" }, m("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, m("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (h) => {
1662
1681
  this.handleCheckboxChange(s.path);
1663
- }, type: "checkbox" }), a ? p("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, p("svg", { viewBox: "0 0 14 3", fill: "none" }, p("title", null, "Checkbox dash"), p("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : p("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, p("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, p("title", null, "Checkbox check"), p("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), p("span", null, this.formatFacetName(e), " (", s.count, ")")), n && p("div", { class: "searchcraft-facet-list", style: {
1682
+ }, type: "checkbox" }), a ? m("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, m("svg", { viewBox: "0 0 14 3", fill: "none" }, m("title", null, "Checkbox dash"), m("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : m("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, m("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, m("title", null, "Checkbox check"), m("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), m("span", null, this.formatFacetName(e), " (", s.count, ")")), n && m("div", { class: "searchcraft-facet-list", style: {
1664
1683
  paddingLeft: e !== "@@root" ? "24px" : "0px",
1665
1684
  paddingTop: e !== "@@root" ? "6px" : "0px"
1666
1685
  } }, Object.keys(s.children).map((h) => {
@@ -1670,11 +1689,12 @@ const Vs = (r, t) => {
1670
1689
  }
1671
1690
  render() {
1672
1691
  if (this.fieldName && !(Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
1673
- return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? p("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : p("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
1692
+ return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? m("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : m("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
1674
1693
  }
1675
1694
  }, [0, "searchcraft-facet-list", {
1676
1695
  searchcraftId: [1, "searchcraft-id"],
1677
1696
  fieldName: [1, "field-name"],
1697
+ exclude: [16],
1678
1698
  selectedPaths: [32],
1679
1699
  facetTreeCollectedFromSearchResponse: [32],
1680
1700
  renderedFacetTree: [32]
@@ -1719,8 +1739,8 @@ function uo(r, t = "en-US", e = {
1719
1739
  }) {
1720
1740
  const s = new Date(r), o = (/* @__PURE__ */ new Date()).getTime() - s.getTime(), n = 30 * 24 * 60 * 60 * 1e3;
1721
1741
  if (o < n) {
1722
- const h = Math.trunc(o / 1e3), u = Math.trunc(h / 60), l = Math.trunc(u / 60), m = Math.trunc(l / 24), C = new Intl.RelativeTimeFormat(t, e);
1723
- return m >= 1 ? C.format(-m, "day") : l >= 1 ? C.format(-l, "hour") : u >= 1 ? C.format(-u, "minute") : C.format(0, "second");
1742
+ const h = Math.trunc(o / 1e3), u = Math.trunc(h / 60), l = Math.trunc(u / 60), p = Math.trunc(l / 24), C = new Intl.RelativeTimeFormat(t, e);
1743
+ return p >= 1 ? C.format(-p, "day") : l >= 1 ? C.format(-l, "hour") : u >= 1 ? C.format(-u, "minute") : C.format(0, "second");
1724
1744
  }
1725
1745
  return new Intl.DateTimeFormat(t, e).format(s);
1726
1746
  }
@@ -1886,10 +1906,10 @@ const mo = /* @__PURE__ */ te(class extends ee {
1886
1906
  }
1887
1907
  render() {
1888
1908
  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);
1889
- return p("div", { key: "2c72254f52151edd2e2fa89c092fc788db0b5562", class: "searchcraft-slider" }, p("div", { key: "98c25badf2c9386d7173ea552e510dcc168e7fc7", class: "searchcraft-slider-range" }, p("div", { key: "50774db2253e34b1bce68acc0a40b2706cab542d", class: "searchcraft-slider-active-range", style: {
1909
+ 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: {
1890
1910
  left: `${e}%`,
1891
1911
  width: `${s - e}%`
1892
- } }), p("input", { key: "229afedc1318a63cbd75806805210cf4f5695e6e", class: we("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 }), p("input", { key: "6aa038b01daaba86f501ebbbec30fc6720b549b3", class: we("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 })), p("div", { key: "f70501538635c3b08ad1e6ac101d0b3192ef8e04", class: "searchcraft-slider-label" }, p("span", { key: "ddd539b86774f8900771d77d5ef7eb3a67c98d59", class: "searchcraft-slider-start-label" }, a), p("span", { key: "b754a9c8d284e0623032cee6b92f9df88873ec04", class: "searchcraft-slider-end-label" }, o)));
1912
+ } }), m("input", { key: "716316b5ce507c40db5b7bd408f47b3bece88494", class: we("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: we("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)));
1893
1913
  }
1894
1914
  }, [0, "searchcraft-slider", {
1895
1915
  max: [2],
@@ -1956,9 +1976,9 @@ const go = /* @__PURE__ */ te(class extends ee {
1956
1976
  (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
1957
1977
  }
1958
1978
  render() {
1959
- return p("div", { key: "ab1d5ee21c7aaa28af1c405edc986556858366e8", class: we("searchcraft-toggle-button", {
1979
+ return m("div", { key: "7dad6f4e4422a62f6403724ff16fe25e042ae2ac", class: we("searchcraft-toggle-button", {
1960
1980
  "searchcraft-toggle-button-active": this.isActive
1961
- }) }, p("div", { key: "44f86a16d796d448bdb2fb3af72d4d8e1484364b" }, p("p", { key: "9fedb38795d6379cae56dc005ab8e4a944b4261b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && p("p", { key: "44f3d17175184032275fec89a4cfe7f8266b7014", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), p("button", { key: "15fc18906ff2fb21fe646a4e3a8a2ace4a37cae2", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, p("div", { key: "716d29c65a199f63f5fd294dc3e3ad2ea4d53aa3", class: "searchcraft-toggle-button-handle" })));
1981
+ }) }, 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" })));
1962
1982
  }
1963
1983
  }, [0, "searchcraft-toggle-button", {
1964
1984
  label: [1],
@@ -1989,23 +2009,113 @@ const bo = /* @__PURE__ */ te(class extends ee {
1989
2009
  * The items to filter.
1990
2010
  */
1991
2011
  c(this, "items", []);
2012
+ /**
2013
+ * The breakpoint (in pixels) below which the filter panel will be hidden.
2014
+ * Defaults to 768px (--sc-breakpoint-md).
2015
+ */
2016
+ c(this, "responsiveBreakpoint", 768);
2017
+ /**
2018
+ * Controls whether the filter panel automatically hides/shows based on window size.
2019
+ * - 'auto': Automatically hide/show based on window width
2020
+ * - 'manual': User controls visibility manually
2021
+ */
2022
+ c(this, "responsiveBehavior", "auto");
1992
2023
  c(this, "lastSearchTerm");
2024
+ c(this, "isFilterPanelVisible", !0);
1993
2025
  c(this, "core");
1994
2026
  c(this, "unsubscribe");
1995
2027
  c(this, "cleanupCore");
2028
+ c(this, "resizeObserver");
2029
+ c(this, "manuallyToggled", !1);
2030
+ // Track if user manually toggled visibility
2031
+ c(this, "toggleClickHandler");
2032
+ /**
2033
+ * Handles window resize events
2034
+ */
2035
+ c(this, "handleWindowResize", () => {
2036
+ this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
2037
+ });
1996
2038
  this.__registerHost();
1997
2039
  }
2040
+ get hostElement() {
2041
+ return this;
2042
+ }
1998
2043
  onCoreAvailable(e) {
1999
- this.core = e, this.setInitialDateRanges(), this.unsubscribe = e.store.subscribe((s) => {
2000
- this.lastSearchTerm = s.searchTerm || "";
2044
+ this.core = e, this.setInitialDateRanges(), this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize(), this.unsubscribe = e.store.subscribe((s, a) => {
2045
+ if (this.lastSearchTerm = s.searchTerm || "", a.isFilterPanelVisible !== s.isFilterPanelVisible) {
2046
+ const n = window.innerWidth >= (this.responsiveBreakpoint || 768);
2047
+ s.isFilterPanelVisible !== n && (this.manuallyToggled = !0), this.updateToggleElementAttributes(s.isFilterPanelVisible);
2048
+ }
2049
+ this.isFilterPanelVisible = s.isFilterPanelVisible;
2001
2050
  });
2002
2051
  }
2003
2052
  componentDidLoad() {
2004
- this.cleanupCore = pe.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this));
2053
+ this.cleanupCore = pe.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.responsiveBehavior === "auto" && typeof window < "u" && this.setupResizeObserver(), this.setupToggleClickHandlers(), setTimeout(() => {
2054
+ if (this.core) {
2055
+ const e = this.core.store.getState().isFilterPanelVisible;
2056
+ this.updateToggleElementAttributes(e);
2057
+ }
2058
+ }, 0);
2005
2059
  }
2006
2060
  disconnectedCallback() {
2007
- var e, s;
2008
- (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
2061
+ var e, s, a;
2062
+ (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();
2063
+ }
2064
+ /**
2065
+ * Sets up a ResizeObserver to watch for window size changes
2066
+ */
2067
+ setupResizeObserver() {
2068
+ if (typeof ResizeObserver > "u") {
2069
+ window.addEventListener("resize", this.handleWindowResize);
2070
+ return;
2071
+ }
2072
+ this.resizeObserver = new ResizeObserver(() => {
2073
+ this.handleWindowResize();
2074
+ }), this.resizeObserver.observe(document.body);
2075
+ }
2076
+ /**
2077
+ * Updates filter panel visibility based on current window width
2078
+ */
2079
+ updateVisibilityBasedOnWindowSize() {
2080
+ if (typeof window > "u" || this.manuallyToggled)
2081
+ return;
2082
+ const s = window.innerWidth >= (this.responsiveBreakpoint || 768);
2083
+ this.core && this.isFilterPanelVisible !== s && this.core.store.getState().setFilterPanelVisibility(s);
2084
+ }
2085
+ /**
2086
+ * Sets up click handlers for elements with data-toggle-filter-panel attribute
2087
+ */
2088
+ setupToggleClickHandlers() {
2089
+ if (typeof document > "u")
2090
+ return;
2091
+ this.toggleClickHandler = (s) => {
2092
+ if (!(window.innerWidth >= (this.responsiveBreakpoint || 768)) && (s.preventDefault(), this.core)) {
2093
+ const o = this.core.store.getState().isFilterPanelVisible;
2094
+ this.core.store.getState().setFilterPanelVisibility(!o);
2095
+ }
2096
+ }, document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
2097
+ this.toggleClickHandler && s.addEventListener("click", this.toggleClickHandler);
2098
+ });
2099
+ }
2100
+ /**
2101
+ * Updates data attributes on toggle elements to reflect panel visibility state
2102
+ */
2103
+ updateToggleElementAttributes(e) {
2104
+ if (typeof document > "u")
2105
+ return;
2106
+ document.querySelectorAll("[data-toggle-filter-panel]").forEach((a) => {
2107
+ 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", ""));
2108
+ });
2109
+ }
2110
+ /**
2111
+ * Cleans up click handlers for toggle elements
2112
+ */
2113
+ cleanupToggleClickHandlers() {
2114
+ if (typeof document > "u" || !this.toggleClickHandler)
2115
+ return;
2116
+ document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
2117
+ this.toggleClickHandler && s.removeEventListener("click", this.toggleClickHandler);
2118
+ });
2009
2119
  }
2010
2120
  /**
2011
2121
  * Sets the initial min/max date range values for search queries based on the filter items provided.
@@ -2022,12 +2132,12 @@ const bo = /* @__PURE__ */ te(class extends ee {
2022
2132
  }
2023
2133
  }
2024
2134
  handleDateRangeChanged(e, s, a) {
2025
- var h, u, l, m;
2135
+ var h, u, l, p;
2026
2136
  const o = new Date(s), n = new Date(a);
2027
2137
  (u = (h = this.core) == null ? void 0 : h.store.getState()) == null || u.addRangeValueForIndexField({
2028
2138
  fieldName: e.fieldName,
2029
2139
  value: `${e.fieldName}:[${o.toISOString()} TO ${n.toISOString()}]`
2030
- }), (m = (l = this.core) == null ? void 0 : l.store.getState()) == null || m.search();
2140
+ }), (p = (l = this.core) == null ? void 0 : l.store.getState()) == null || p.search();
2031
2141
  }
2032
2142
  handleNumericRangeChanged(e, s, a) {
2033
2143
  var o, n, h, u;
@@ -2061,45 +2171,48 @@ const bo = /* @__PURE__ */ te(class extends ee {
2061
2171
  * Iterate through `items` and render them based on `type`
2062
2172
  */
2063
2173
  render() {
2064
- return p("div", { key: "ee8974e38b296a1ba27111bc2a4244d8915f5839", class: "searchcraft-filter-panel" }, this.items.map((e) => {
2174
+ return this.isFilterPanelVisible ? m("div", { class: "searchcraft-filter-panel" }, this.items.map((e) => {
2065
2175
  switch (e.type) {
2066
2176
  case "dateRange": {
2067
2177
  const s = e, a = s.options.maxDate || /* @__PURE__ */ new Date();
2068
- return p("div", { class: "searchcraft-filter-panel-section" }, p("p", { class: "searchcraft-filter-panel-label" }, e.label), p("searchcraft-slider", { min: s.options.minDate.getTime(), max: a.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (o) => {
2178
+ return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-slider", { min: s.options.minDate.getTime(), max: a.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (o) => {
2069
2179
  this.handleDateRangeChanged(s, o.detail.startValue, o.detail.endValue);
2070
2180
  } }));
2071
2181
  }
2072
2182
  case "numericRange": {
2073
2183
  const s = e;
2074
- return p("div", { class: "searchcraft-filter-panel-section" }, p("p", { class: "searchcraft-filter-panel-label" }, e.label), p("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
2184
+ return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
2075
2185
  this.handleNumericRangeChanged(s.fieldName, a.detail.startValue, a.detail.endValue);
2076
2186
  } }));
2077
2187
  }
2078
2188
  case "facets": {
2079
2189
  const s = e;
2080
- return p("div", { class: "searchcraft-filter-panel-section" }, p("p", { class: "searchcraft-filter-panel-label" }, e.label), p("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
2190
+ return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-facet-list", { fieldName: s.fieldName, exclude: s.options.exclude, onFacetSelectionUpdated: (a) => {
2081
2191
  this.handleFacetSelectionUpdated(s.fieldName, a.detail.paths);
2082
2192
  } }));
2083
2193
  }
2084
2194
  case "exactMatchToggle": {
2085
2195
  const s = e;
2086
- return p("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2196
+ return m("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2087
2197
  this.handleExactMatchToggleUpdated(a.detail);
2088
2198
  } });
2089
2199
  }
2090
2200
  case "mostRecentToggle": {
2091
2201
  const s = e;
2092
- return p("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2202
+ return m("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2093
2203
  this.handleMostRecentToggleUpdated(s.fieldName, a.detail);
2094
2204
  } });
2095
2205
  }
2096
2206
  }
2097
- }));
2207
+ })) : null;
2098
2208
  }
2099
2209
  }, [0, "searchcraft-filter-panel", {
2100
2210
  searchcraftId: [1, "searchcraft-id"],
2101
2211
  items: [16],
2102
- lastSearchTerm: [32]
2212
+ responsiveBreakpoint: [2, "responsive-breakpoint"],
2213
+ responsiveBehavior: [1, "responsive-behavior"],
2214
+ lastSearchTerm: [32],
2215
+ isFilterPanelVisible: [32]
2103
2216
  }]);
2104
2217
  function vo() {
2105
2218
  if (typeof customElements > "u")
@@ -2132,7 +2245,7 @@ const yo = vo, ko = /* @__PURE__ */ te(class extends ee {
2132
2245
  this.__registerHost();
2133
2246
  }
2134
2247
  render() {
2135
- return p("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: we("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
2248
+ return m("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: we("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
2136
2249
  }
2137
2250
  }, [0, "searchcraft-input-label", {
2138
2251
  inputLabelClassName: [1, "input-label-class-name"],
@@ -2258,7 +2371,7 @@ const Co = /* @__PURE__ */ te(class extends ee {
2258
2371
  }), o = {
2259
2372
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
2260
2373
  };
2261
- return p("form", { key: "d214ace44e9209154d215e803de088aefa58a285", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, p("div", { key: "5699f5dca28caf5e9584401f1883d2e08d26e3ec", class: s, style: o }, p("div", { key: "ef792a946414a680e9c99c145246d00b9b8f2ffb", class: "searchcraft-input-form-button" }, p("searchcraft-button", { key: "ba5a8cb98889bb486781af4915a21c94a0b1498a", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && p("div", { key: "a9e770ef967f7ab1c6ddf8f87f23cea509894536", class: "searchcraft-input-form-label" }, p("searchcraft-input-label", { key: "93b29e630e71a3c7724921aa9586aab76e592f4f", label: this.inputLabel })), this.error && p("div", { key: "641ef4f468d527c24a1635d49dcbbba03030686f", class: "searchcraft-input-form-error-message" }, p("searchcraft-error-message", { key: "2d839d17b702fe1b41d7e49aacfc52fb53315766" }, "Something went wrong.")), p("div", { key: "af0c73478de21447c992bd0037ba007d54f53a86", class: "searchcraft-input-form-input-wrapper" }, p("input", { key: "3de1be1aa71c143b58cd6080d422410bd400e4e5", autoComplete: "off", class: we("searchcraft-input-form-input", {
2374
+ 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: we("searchcraft-input-form-input", {
2262
2375
  "searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
2263
2376
  }), onFocus: () => {
2264
2377
  var n;
@@ -2268,7 +2381,7 @@ const Co = /* @__PURE__ */ te(class extends ee {
2268
2381
  return (n = this.inputBlur) == null ? void 0 : n.emit();
2269
2382
  }, onInput: (n) => {
2270
2383
  this.handleInput(n);
2271
- }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), p("div", { key: "fe9043c046e3b1b91129299f0860919ba8a8416b", class: "searchcraft-input-form-input-icon" }, p("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" }, p("title", { key: "9db677da65283ff15b0d4e79b5d9daf89637b33f" }, "Search icon"), p("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 && p("button", { key: "b7e92b22c3234eb31d85b0aa98d7c682b2fc0021", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, p("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" }, p("title", { key: "c62b9d237b3762609fed72e0520322fb5eabe979" }, "Clear icon"), p("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" }))))));
2384
+ }, 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" }))))));
2272
2385
  }
2273
2386
  static get watchers() {
2274
2387
  return {
@@ -2319,7 +2432,7 @@ const xo = $a, wo = hs, So = /* @__PURE__ */ te(class extends ee {
2319
2432
  this.__registerHost();
2320
2433
  }
2321
2434
  render() {
2322
- return p("div", { key: "507cde7e8f74682d0535a65fbc787b18fa4c49f7", class: "searchcraft-loading" }, p("div", { key: "de8d4db44bd0d54baa276403063327b040a39ee4", class: "searchcraft-loading-bars" }, p("div", { key: "3ef1ad066aef5582de0afe08c598747e48533f0a", class: "searchcraft-loading-bar-1" }), p("div", { key: "0e9b5bfb8c031b1d788b0f39a63b1b325f123aad", class: "searchcraft-loading-bar-2" }), p("div", { key: "b342f47a3869301d17e66f0ae79cbea6b2a7ed41", class: "searchcraft-loading-bar-3" }), p("div", { key: "c11c58254a005b80c54b98f6713acb4c7f376a58", class: "searchcraft-loading-bar-4" }), p("div", { key: "c53ff4d003ed8e1d17fdc2ab8d61b2d3313dd5ac", class: "searchcraft-loading-bar-5" }), p("div", { key: "3f517f20a24a844c04562cbb95b3a39502905405", class: "searchcraft-loading-bar-6" })), p("p", { key: "11a63145472d8ded9d28bf7e9cfde9097e6a02e2", class: "searchcraft-loading-label" }, this.label));
2435
+ 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));
2323
2436
  }
2324
2437
  }, [0, "searchcraft-loading", {
2325
2438
  label: [1]
@@ -2376,28 +2489,28 @@ const Ro = _a, Eo = /* @__PURE__ */ te(class extends ee {
2376
2489
  this.setSearchResultsPage(e);
2377
2490
  }
2378
2491
  renderOddPaginationItem(e) {
2379
- return p("li", null, p("button", { class: we("searchcraft-pagination-item", {
2492
+ return m("li", null, m("button", { class: we("searchcraft-pagination-item", {
2380
2493
  "searchcraft-pagination-item-active": this.searchResultsPage === e
2381
2494
  }), onClick: () => this.handleGoToPage(e), type: "button" }, e));
2382
2495
  }
2383
2496
  renderEvenPaginationItem(e) {
2384
2497
  if (!(this.searchResultsPagesCount <= e))
2385
- return (this.searchResultsPagesCount <= 5 || e < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= e + 1 : this.searchResultsPage >= e - 1) ? p("li", null, p("button", { class: we("searchcraft-pagination-item", {
2498
+ return (this.searchResultsPagesCount <= 5 || e < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= e + 1 : this.searchResultsPage >= e - 1) ? m("li", null, m("button", { class: we("searchcraft-pagination-item", {
2386
2499
  "searchcraft-pagination-item-active": this.searchResultsPage === e
2387
- }), onClick: () => this.handleGoToPage(e), type: "button" }, e)) : p("li", null, p("span", { class: "searchcraft-pagination-item" }, "..."));
2500
+ }), onClick: () => this.handleGoToPage(e), type: "button" }, e)) : m("li", null, m("span", { class: "searchcraft-pagination-item" }, "..."));
2388
2501
  }
2389
2502
  renderMiddlePaginationItem() {
2390
2503
  if (!(this.searchResultsPagesCount <= 3))
2391
- return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? p("li", null, p("button", { class: we("searchcraft-pagination-item", {
2504
+ return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? m("li", null, m("button", { class: we("searchcraft-pagination-item", {
2392
2505
  "searchcraft-pagination-item-active": this.searchResultsPage === 3 || this.searchResultsPage === this.searchResultsPagesCount - 2
2393
- }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : p("li", null, p("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
2506
+ }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : m("li", null, m("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
2394
2507
  }
2395
2508
  render() {
2396
2509
  const e = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
2397
2510
  if (!(!this.searchTerm && !e || this.searchResultsPagesCount <= 1))
2398
- return p("div", { class: "searchcraft-pagination" }, p("div", { class: "searchcraft-pagination-control" }, p("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: p("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", null, "Previous page icon"), p("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), p("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), p("div", { class: "searchcraft-pagination-control" }, p("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
2511
+ return m("div", { class: "searchcraft-pagination" }, m("div", { class: "searchcraft-pagination-control" }, m("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: m("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", null, "Previous page icon"), m("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), m("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), m("div", { class: "searchcraft-pagination-control" }, m("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
2399
2512
  this.handleGoToPage(Math.min(this.searchResultsPagesCount, this.searchResultsPage + 1));
2400
- }, label: "Next", iconPosition: "right", icon: p("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", null, "Next page icon"), p("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
2513
+ }, label: "Next", iconPosition: "right", icon: m("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", null, "Next page icon"), m("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
2401
2514
  }
2402
2515
  }, [0, "searchcraft-pagination", {
2403
2516
  searchcraftId: [1, "searchcraft-id"],
@@ -2449,10 +2562,10 @@ const Po = To, $o = /* @__PURE__ */ te(class extends ee {
2449
2562
  });
2450
2563
  c(this, "cleanupCore");
2451
2564
  c(this, "core");
2452
- c(this, "renderOptionSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Option key"), p("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), p("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
2453
- c(this, "renderCtrlSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Ctrl key"), p("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
2454
- c(this, "renderWindowsMetaSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Windows meta key"), p("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
2455
- c(this, "renderMacMetaSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Mac meta key"), p("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
2565
+ c(this, "renderOptionSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Option key"), m("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), m("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
2566
+ c(this, "renderCtrlSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Ctrl key"), m("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
2567
+ c(this, "renderWindowsMetaSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Windows meta key"), m("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
2568
+ c(this, "renderMacMetaSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Mac meta key"), m("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
2456
2569
  this.__registerHost();
2457
2570
  }
2458
2571
  onCoreAvailable(e) {
@@ -2496,18 +2609,18 @@ const Po = To, $o = /* @__PURE__ */ te(class extends ee {
2496
2609
  }
2497
2610
  }
2498
2611
  renderSkeuomorphicSlot() {
2499
- return p("div", { class: "searchcraft-popover-button-wrapper" }, p("div", { class: "searchcraft-popover-button-input" }, p("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, p("title", null, "Search icon"), p("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), p("span", null, "Search")), p("div", { class: "searchcraft-popover-button-keycaps" }, p("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, p("span", null, this.hotkeyModifierSymbol)), p("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, p("span", null, this.hotkey))));
2612
+ return m("div", { class: "searchcraft-popover-button-wrapper" }, m("div", { class: "searchcraft-popover-button-input" }, m("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, m("title", null, "Search icon"), m("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), m("span", null, "Search")), m("div", { class: "searchcraft-popover-button-keycaps" }, m("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, m("span", null, this.hotkeyModifierSymbol)), m("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, m("span", null, this.hotkey))));
2500
2613
  }
2501
2614
  renderSlot() {
2502
2615
  switch (this.type) {
2503
2616
  case "skeuomorphic":
2504
2617
  return this.renderSkeuomorphicSlot();
2505
2618
  default:
2506
- return p("div", null, p("slot", null));
2619
+ return m("div", null, m("slot", null));
2507
2620
  }
2508
2621
  }
2509
2622
  render() {
2510
- return p("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: qt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
2623
+ 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: Vt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
2511
2624
  }
2512
2625
  }, [4, "searchcraft-popover-button", {
2513
2626
  template: [16],
@@ -2556,7 +2669,7 @@ const Io = _o, Ao = /* @__PURE__ */ te(class extends ee {
2556
2669
  (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
2557
2670
  }
2558
2671
  render() {
2559
- return p("footer", { key: "e12fa32df3c1137e643af22323feb3dc33f7718f", class: "searchcraft-popover-footer" }, p("p", { key: "73a33859c1702d82625748f398d5402030cc71f4", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Ea(this.searchResultsCount)} Results Found` : " "), p("a", { key: "9d32f6b21b166fef3e17e5b2eb81bfafe32f8d1a", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, p("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" }, p("title", { key: "438e675ff71edfc2176c08abe8efa34aaf7496ca" }, "Powered by Searchcraft"), p("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" }))));
2672
+ 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" }))));
2560
2673
  }
2561
2674
  }, [0, "searchcraft-popover-footer", {
2562
2675
  searchcraftId: [1, "searchcraft-id"],
@@ -2619,7 +2732,7 @@ const Mo = Ia, Oo = /* @__PURE__ */ te(class extends ee {
2619
2732
  (e = this.cleanupCore) == null || e.call(this);
2620
2733
  }
2621
2734
  render() {
2622
- return p("div", { key: "fe1f0a2803c05c7f7901a1e34e3751283683b841", class: "searchcraft-popover-list-item" }, p("a", { key: "b1765b28e4df4483554e4aa1e776f85817f45709", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && p("div", { key: "d47112466fe3414278f88db73294c829eceb63ba", class: "searchcraft-popover-list-item-image-wrapper" }, p("img", { key: "cf65d6520a2586f9b056775a0d1c3e85cb81cdd7", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), p("div", { key: "b6bdaf2e52e216d20c23790b4b53563be8709d40", class: "searchcraft-popover-list-item-content" }, this.title && p("p", { key: "21a6541924914c8ea2b798d0e910c6e4544b7e46", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && p("p", { key: "625a1d6b1a7e6bfb848fd49cb316968b396b0473", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
2735
+ 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))));
2623
2736
  }
2624
2737
  }, [0, "searchcraft-popover-list-item", {
2625
2738
  item: [16],
@@ -2643,7 +2756,7 @@ function ds() {
2643
2756
  }
2644
2757
  });
2645
2758
  }
2646
- const Lo = /* @__PURE__ */ te(class extends ee {
2759
+ const Fo = /* @__PURE__ */ te(class extends ee {
2647
2760
  constructor() {
2648
2761
  super();
2649
2762
  /**
@@ -2678,41 +2791,41 @@ const Lo = /* @__PURE__ */ te(class extends ee {
2678
2791
  }
2679
2792
  renderWithADMAds() {
2680
2793
  var e, s;
2681
- return p("div", { class: "searchcraft-popover-list-view" }, (e = this.adClientResponseItems) == null ? void 0 : e.map((a) => p("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) => p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
2794
+ 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 })));
2682
2795
  }
2683
2796
  renderWithCustomAds() {
2684
- var u, l, m, C, S, $, A, N;
2685
- const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (m = this.config) == null ? void 0 : m.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = (($ = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : $.adStartQuantity) || 0, n = ((N = (A = this.config) == null ? void 0 : A.customAdConfig) == null ? void 0 : N.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
2686
- for (let F = 0; F < o; F++)
2687
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${F}-ad`, renderPosition: "top" }));
2688
- h.forEach((F, P) => {
2797
+ var u, l, p, C, S, $, A, N;
2798
+ 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 = (($ = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : $.adStartQuantity) || 0, n = ((N = (A = this.config) == null ? void 0 : A.customAdConfig) == null ? void 0 : N.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
2799
+ for (let L = 0; L < o; L++)
2800
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "top" }));
2801
+ h.forEach((L, P) => {
2689
2802
  if (s && P % s === 0 && P + s < h.length && P >= s)
2690
2803
  for (let _ = 0; _ < a; _++)
2691
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${F.id}-ad-${_}`, renderPosition: "interstitial" }));
2692
- e.push(p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: F, key: F.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
2804
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L.id}-ad-${_}`, renderPosition: "interstitial" }));
2805
+ e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: L, key: L.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
2693
2806
  });
2694
- for (let F = 0; F < n; F++)
2695
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${F}-ad`, renderPosition: "bottom" }));
2696
- return p("div", { class: "searchcraft-popover-list-view" }, e);
2807
+ for (let L = 0; L < n; L++)
2808
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "bottom" }));
2809
+ return m("div", { class: "searchcraft-popover-list-view" }, e);
2697
2810
  }
2698
2811
  renderWithNativoAds() {
2699
- var l, m, C, S, $, A, N, F, P, _;
2700
- const e = [], s = ((m = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : m.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((F = (N = this.config) == null ? void 0 : N.nativoConfig) == null ? void 0 : F.adStartQuantity) || 0, h = ((_ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : _.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
2812
+ var l, p, C, S, $, A, N, L, P, _;
2813
+ 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 = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((L = (N = this.config) == null ? void 0 : N.nativoConfig) == null ? void 0 : L.adStartQuantity) || 0, h = ((_ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : _.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
2701
2814
  for (let U = 0; U < n; U++)
2702
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "top" }));
2815
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "top" }));
2703
2816
  u.forEach((U, j) => {
2704
2817
  if (a && (j + s) % a === 0 && j + a < u.length && j >= a)
2705
2818
  for (let se = 0; se < o; se++)
2706
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U.id}-ad-${se}`, renderPosition: "interstitial" }));
2707
- e.push(p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: U, key: U.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + j }));
2819
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U.id}-ad-${se}`, renderPosition: "interstitial" }));
2820
+ e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: U, key: U.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + j }));
2708
2821
  });
2709
2822
  for (let U = 0; U < h; U++)
2710
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "bottom" }));
2711
- return p("div", { class: "searchcraft-popover-list-view" }, e);
2823
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "bottom" }));
2824
+ return m("div", { class: "searchcraft-popover-list-view" }, e);
2712
2825
  }
2713
2826
  renderWithNoAds() {
2714
2827
  var e;
2715
- return p("div", { class: "searchcraft-popover-list-view" }, (e = this.searchClientResponseItems) == null ? void 0 : e.map((s, a) => p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
2828
+ return m("div", { class: "searchcraft-popover-list-view" }, (e = this.searchClientResponseItems) == null ? void 0 : e.map((s, a) => m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
2716
2829
  }
2717
2830
  render() {
2718
2831
  var e, s, a;
@@ -2732,7 +2845,7 @@ function Aa() {
2732
2845
  ["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((t) => {
2733
2846
  switch (t) {
2734
2847
  case "searchcraft-popover-list-view":
2735
- customElements.get(t) || customElements.define(t, Lo);
2848
+ customElements.get(t) || customElements.define(t, Fo);
2736
2849
  break;
2737
2850
  case "searchcraft-ad":
2738
2851
  customElements.get(t) || Sr();
@@ -2743,7 +2856,7 @@ function Aa() {
2743
2856
  }
2744
2857
  });
2745
2858
  }
2746
- const Fo = /* @__PURE__ */ te(class extends ee {
2859
+ const Lo = /* @__PURE__ */ te(class extends ee {
2747
2860
  constructor() {
2748
2861
  super();
2749
2862
  /**
@@ -2899,21 +3012,21 @@ const Fo = /* @__PURE__ */ te(class extends ee {
2899
3012
  }
2900
3013
  renderInlinePopover() {
2901
3014
  const e = this.hasResultsToShow && this.isFocused;
2902
- return p("div", { class: we("searchcraft-popover-form searchcraft-popover-form-inline", {
3015
+ return m("div", { class: we("searchcraft-popover-form searchcraft-popover-form-inline", {
2903
3016
  "searchcraft-popover-form-active": e
2904
- }) }, p("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, p("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior })), e && p("div", { class: "searchcraft-popover-form-inline-wrapper" }, p("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId }), p("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
3017
+ }) }, m("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, m("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior })), e && m("div", { class: "searchcraft-popover-form-inline-wrapper" }, m("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId }), m("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
2905
3018
  }
2906
3019
  renderModalPopover() {
2907
3020
  if (this.isPopoverVisibleInState)
2908
- return p("div", { class: we("searchcraft-popover-form searchcraft-popover-form-modal", {
3021
+ return m("div", { class: we("searchcraft-popover-form searchcraft-popover-form-modal", {
2909
3022
  "searchcraft-popover-form-active": this.hasResultsToShow
2910
- }) }, p("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), p("div", { class: "searchcraft-popover-form-modal-wrapper" }, p("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, p("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), p("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), p("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && p("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), p("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
3023
+ }) }, m("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), m("div", { class: "searchcraft-popover-form-modal-wrapper" }, m("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, m("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), m("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), m("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && m("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), m("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
2911
3024
  }
2912
3025
  renderFullscreenPopover() {
2913
3026
  if (this.isPopoverVisibleInState)
2914
- return p("div", { class: we("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
3027
+ return m("div", { class: we("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
2915
3028
  "searchcraft-popover-form-active": this.hasResultsToShow
2916
- }) }, p("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, p("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), p("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), p("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && p("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), p("searchcraft-popover-footer", { searchcraftId: this.searchcraftId }));
3029
+ }) }, m("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, m("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), m("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), m("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && m("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), m("searchcraft-popover-footer", { searchcraftId: this.searchcraftId }));
2917
3030
  }
2918
3031
  render() {
2919
3032
  switch (this.type) {
@@ -2951,7 +3064,7 @@ function Ma() {
2951
3064
  ["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-footer", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((t) => {
2952
3065
  switch (t) {
2953
3066
  case "searchcraft-popover-form":
2954
- customElements.get(t) || customElements.define(t, Fo);
3067
+ customElements.get(t) || customElements.define(t, Lo);
2955
3068
  break;
2956
3069
  case "searchcraft-ad":
2957
3070
  customElements.get(t) || Sr();
@@ -3023,11 +3136,11 @@ const Do = Ma, No = ds, zo = Aa, Ho = /* @__PURE__ */ te(class extends ee {
3023
3136
  }
3024
3137
  render() {
3025
3138
  const e = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
3026
- return !this.searchTerm && !e || this.searchResultsCount === 0 ? null : p("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
3139
+ return !this.searchTerm && !e || this.searchResultsCount === 0 ? null : m("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
3027
3140
  range: [Number(this.range[0]), Number(this.range[1])],
3028
3141
  count: this.count,
3029
3142
  responseTime: this.responseTime
3030
- }, { html: qt }) : `${Ea(this.count)} results found in ${this.responseTime}ms`);
3143
+ }, { html: Vt }) : `${Ea(this.count)} results found in ${this.responseTime}ms`);
3031
3144
  }
3032
3145
  }, [0, "searchcraft-results-info", {
3033
3146
  template: [16],
@@ -3052,7 +3165,7 @@ function Uo() {
3052
3165
  }
3053
3166
  });
3054
3167
  }
3055
- const Bo = Uo, qo = /* @__PURE__ */ te(class extends ee {
3168
+ const Bo = Uo, Vo = /* @__PURE__ */ te(class extends ee {
3056
3169
  constructor() {
3057
3170
  super();
3058
3171
  c(this, "item");
@@ -3104,7 +3217,7 @@ const Bo = Uo, qo = /* @__PURE__ */ te(class extends ee {
3104
3217
  if (this.cleanupCore = pe.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.item)
3105
3218
  try {
3106
3219
  this.templateHtml = (e = this.template) == null ? void 0 : e.call(this, this.item.document, this.index, {
3107
- html: qt,
3220
+ html: Vt,
3108
3221
  source_index: this.item.source_index
3109
3222
  });
3110
3223
  } catch (s) {
@@ -3117,7 +3230,7 @@ const Bo = Uo, qo = /* @__PURE__ */ te(class extends ee {
3117
3230
  }
3118
3231
  render() {
3119
3232
  if (this.item)
3120
- return typeof this.template > "u" ? p("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([e, s]) => p("p", { key: e }, p("strong", null, e), ": ", s))) : p("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
3233
+ return typeof this.template > "u" ? m("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([e, s]) => m("p", { key: e }, m("strong", null, e), ": ", s))) : m("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
3121
3234
  }
3122
3235
  }, [0, "searchcraft-search-result", {
3123
3236
  item: [16],
@@ -3133,12 +3246,12 @@ function Oa() {
3133
3246
  ["searchcraft-search-result"].forEach((t) => {
3134
3247
  switch (t) {
3135
3248
  case "searchcraft-search-result":
3136
- customElements.get(t) || customElements.define(t, qo);
3249
+ customElements.get(t) || customElements.define(t, Vo);
3137
3250
  break;
3138
3251
  }
3139
3252
  });
3140
3253
  }
3141
- const Vo = Oa, jo = /* @__PURE__ */ te(class extends ee {
3254
+ const qo = Oa, jo = /* @__PURE__ */ te(class extends ee {
3142
3255
  constructor() {
3143
3256
  super();
3144
3257
  /**
@@ -3181,49 +3294,49 @@ const Vo = Oa, jo = /* @__PURE__ */ te(class extends ee {
3181
3294
  this.adClientResponseItems = [...e.adClientResponseItems], this.config = (s = e.core) == null ? void 0 : s.config, this.isSearchInProgress = e.isSearchInProgress, this.searchClientResponseItems = [...e.searchClientResponseItems], this.searchResultsPage = e.searchResultsPage, this.searchResultsPerPage = e.searchResultsPerPage, this.searchTerm = e.searchTerm;
3182
3295
  }
3183
3296
  renderEmptyState() {
3184
- return p("div", { class: "searchcraft-search-results-empty-state" }, p("slot", { name: "empty-search" }));
3297
+ return m("div", { class: "searchcraft-search-results-empty-state" }, m("slot", { name: "empty-search" }));
3185
3298
  }
3186
3299
  renderNoResultsFoundState() {
3187
- return p("div", { class: "searchcraft-search-results" }, p("div", { class: "searchcraft-search-results-error-message" }, p("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
3300
+ return m("div", { class: "searchcraft-search-results" }, m("div", { class: "searchcraft-search-results-error-message" }, m("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
3188
3301
  }
3189
3302
  renderWithADMAds() {
3190
3303
  var s;
3191
3304
  const e = this.searchClientResponseItems || [];
3192
- return p("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), e.map((a, o) => p("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 })));
3305
+ 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 })));
3193
3306
  }
3194
3307
  renderWithCustomAds() {
3195
- var u, l, m, C, S, $, A, N;
3196
- const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (m = this.config) == null ? void 0 : m.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = (($ = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : $.adStartQuantity) || 0, n = ((N = (A = this.config) == null ? void 0 : A.customAdConfig) == null ? void 0 : N.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3197
- for (let F = 0; F < o; F++)
3198
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${F}-ad`, renderPosition: "top" }));
3199
- h.forEach((F, P) => {
3308
+ var u, l, p, C, S, $, A, N;
3309
+ 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 = (($ = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : $.adStartQuantity) || 0, n = ((N = (A = this.config) == null ? void 0 : A.customAdConfig) == null ? void 0 : N.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3310
+ for (let L = 0; L < o; L++)
3311
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "top" }));
3312
+ h.forEach((L, P) => {
3200
3313
  if (s && P % s === 0 && P + s < h.length && P >= s)
3201
3314
  for (let _ = 0; _ < a; _++)
3202
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${F.id}-ad-${_}`, renderPosition: "interstitial" }));
3203
- e.push(p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: F.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: F, template: this.template }));
3315
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L.id}-ad-${_}`, renderPosition: "interstitial" }));
3316
+ e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: L.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: L, template: this.template }));
3204
3317
  });
3205
- for (let F = 0; F < n; F++)
3206
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${F}-ad`, renderPosition: "bottom" }));
3207
- return p("div", { class: "searchcraft-search-results" }, e);
3318
+ for (let L = 0; L < n; L++)
3319
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "bottom" }));
3320
+ return m("div", { class: "searchcraft-search-results" }, e);
3208
3321
  }
3209
3322
  renderWithNativoAds() {
3210
- var l, m, C, S, $, A, N, F, P, _;
3211
- const e = [], s = ((m = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : m.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((F = (N = this.config) == null ? void 0 : N.nativoConfig) == null ? void 0 : F.adStartQuantity) || 0, h = ((_ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : _.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
3323
+ var l, p, C, S, $, A, N, L, P, _;
3324
+ 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 = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((L = (N = this.config) == null ? void 0 : N.nativoConfig) == null ? void 0 : L.adStartQuantity) || 0, h = ((_ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : _.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
3212
3325
  for (let U = 0; U < n; U++)
3213
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "top" }));
3326
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "top" }));
3214
3327
  u.forEach((U, j) => {
3215
3328
  if (a && (j + s) % a === 0 && j + a < u.length && j >= a)
3216
3329
  for (let se = 0; se < o; se++)
3217
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U.id}-ad-${se}`, renderPosition: "interstitial" }));
3218
- e.push(p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: U.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + j, index: j, item: U, template: this.template }));
3330
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U.id}-ad-${se}`, renderPosition: "interstitial" }));
3331
+ e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: U.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + j, index: j, item: U, template: this.template }));
3219
3332
  });
3220
3333
  for (let U = 0; U < h; U++)
3221
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "bottom" }));
3222
- return p("div", { class: "searchcraft-search-results" }, e);
3334
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "bottom" }));
3335
+ return m("div", { class: "searchcraft-search-results" }, e);
3223
3336
  }
3224
3337
  renderWithNoAds() {
3225
3338
  const e = this.searchClientResponseItems || [];
3226
- return p("div", { class: "searchcraft-search-results" }, e.map((s, a) => p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: s.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + a, index: a, item: s, template: this.template })));
3339
+ return m("div", { class: "searchcraft-search-results" }, e.map((s, a) => m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: s.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + a, index: a, item: s, template: this.template })));
3227
3340
  }
3228
3341
  render() {
3229
3342
  var s, a, o;
@@ -3311,7 +3424,7 @@ const Go = Wo, Zo = /* @__PURE__ */ te(class extends ee {
3311
3424
  this.setSearchResultsPage(e);
3312
3425
  }
3313
3426
  render() {
3314
- return p("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && p("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), p("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, p("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: e, value: s, selected: a }) => p("option", { key: s, value: s, selected: a }, e))), p("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), p("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && p("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
3427
+ return m("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && m("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), m("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, m("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: e, value: s, selected: a }) => m("option", { key: s, value: s, selected: a }, e))), m("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), m("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && m("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
3315
3428
  }
3316
3429
  }, [0, "searchcraft-select", {
3317
3430
  caption: [1],
@@ -3325,7 +3438,7 @@ const Go = Wo, Zo = /* @__PURE__ */ te(class extends ee {
3325
3438
  setSearchResultsPage: [32],
3326
3439
  setSearchResultsPerPage: [32]
3327
3440
  }]);
3328
- function La() {
3441
+ function Fa() {
3329
3442
  if (typeof customElements > "u")
3330
3443
  return;
3331
3444
  ["searchcraft-select"].forEach((t) => {
@@ -3382,7 +3495,7 @@ const Yo = /* @__PURE__ */ te(class extends ee {
3382
3495
  render() {
3383
3496
  const e = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
3384
3497
  if (!(!this.searchTerm && !e || this.searchResultsPagesCount <= 1))
3385
- return p("div", { class: "searchcraft-search-results-per-page" }, p("div", { class: "searchcraft-search-results-per-page-select" }, p("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), p("div", { class: "searchcraft-search-results-per-page-select-input" }, p("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((s, a) => {
3498
+ return m("div", { class: "searchcraft-search-results-per-page" }, m("div", { class: "searchcraft-search-results-per-page-select" }, m("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), m("div", { class: "searchcraft-search-results-per-page-select-input" }, m("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((s, a) => {
3386
3499
  const o = this.initialSearchResultsPerPage + Number(this.increment) * a;
3387
3500
  return {
3388
3501
  label: `${o}`,
@@ -3414,13 +3527,13 @@ function Qo() {
3414
3527
  customElements.get(t) || customElements.define(t, Yo);
3415
3528
  break;
3416
3529
  case "searchcraft-select":
3417
- customElements.get(t) || La();
3530
+ customElements.get(t) || Fa();
3418
3531
  break;
3419
3532
  }
3420
3533
  });
3421
3534
  }
3422
- const Ko = Qo, Xo = La, Jo = Ta;
3423
- var Fa = { exports: {} };
3535
+ const Ko = Qo, Xo = Fa, Jo = Ta;
3536
+ var La = { exports: {} };
3424
3537
  (function(r, t) {
3425
3538
  (function(e, s) {
3426
3539
  r.exports = s();
@@ -3429,12 +3542,12 @@ var Fa = { exports: {} };
3429
3542
  var e = {}, s = e, a = { exports: e }, o = Object.defineProperty, n = Object.getOwnPropertyDescriptor, h = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, l = (f, i) => {
3430
3543
  for (var d in i)
3431
3544
  o(f, d, { get: i[d], enumerable: !0 });
3432
- }, m = (f, i, d, g) => {
3545
+ }, p = (f, i, d, g) => {
3433
3546
  if (i && typeof i == "object" || typeof i == "function")
3434
3547
  for (let v of h(i))
3435
3548
  !u.call(f, v) && v !== d && o(f, v, { get: () => i[v], enumerable: !(g = n(i, v)) || g.enumerable });
3436
3549
  return f;
3437
- }, C = (f) => m(o({}, "__esModule", { value: !0 }), f), S = {};
3550
+ }, C = (f) => p(o({}, "__esModule", { value: !0 }), f), S = {};
3438
3551
  l(S, {
3439
3552
  Hooks: () => De,
3440
3553
  Lexer: () => Te,
@@ -3473,7 +3586,7 @@ var Fa = { exports: {} };
3473
3586
  function N(f) {
3474
3587
  A = f;
3475
3588
  }
3476
- var F = { exec: () => null };
3589
+ var L = { exec: () => null };
3477
3590
  function P(f, i = "") {
3478
3591
  let d = typeof f == "string" ? f : f.source;
3479
3592
  const g = {
@@ -3557,7 +3670,7 @@ var Fa = { exports: {} };
3557
3670
  list: jt,
3558
3671
  newline: U,
3559
3672
  paragraph: ht,
3560
- table: F,
3673
+ table: L,
3561
3674
  text: Pr
3562
3675
  }, Et = P(
3563
3676
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
@@ -3573,26 +3686,26 @@ var Fa = { exports: {} };
3573
3686
  ).replace("comment", at).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
3574
3687
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
3575
3688
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
3576
- fences: F,
3689
+ fences: L,
3577
3690
  // fences not supported
3578
3691
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3579
3692
  paragraph: P(z).replace("hr", Y).replace("heading", ` *#{1,6} *[^
3580
3693
  ]`).replace("lheading", ce).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3581
- }, ft = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, pt = /[\p{P}\p{S}]/u, Pt = /[\s\p{P}\p{S}]/u, $t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Pt).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ke = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = P(Ke, "u").replace(/punct/g, pt).getRegex(), Fr = P(Ke, "u").replace(/punct/g, Zt).getRegex(), _t = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(_t, "gu").replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), Dr = P(_t, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(), B = P(
3694
+ }, ft = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, pt = /[\p{P}\p{S}]/u, Pt = /[\s\p{P}\p{S}]/u, $t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Pt).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ke = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Fr = P(Ke, "u").replace(/punct/g, pt).getRegex(), Lr = P(Ke, "u").replace(/punct/g, Zt).getRegex(), _t = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(_t, "gu").replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), Dr = P(_t, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(), B = P(
3582
3695
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
3583
3696
  "gu"
3584
- ).replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, pt).getRegex(), V = P(/^<(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(), q = P(at).replace("(?:-->|$)", "-->").getRegex(), le = P(
3697
+ ).replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, pt).getRegex(), q = P(/^<(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(), V = P(at).replace("(?:-->|$)", "-->").getRegex(), le = P(
3585
3698
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
3586
- ).replace("comment", q).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ke = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Xe = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ke).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), mt = P(/^!?\[(label)\]\[(ref)\]/).replace("label", ke).replace("ref", $e).getRegex(), It = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), nt = P("reflink|nolink(?!\\()", "g").replace("reflink", mt).replace("nolink", It).getRegex(), At = {
3587
- _backpedal: F,
3699
+ ).replace("comment", V).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ke = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Xe = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ke).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), mt = P(/^!?\[(label)\]\[(ref)\]/).replace("label", ke).replace("ref", $e).getRegex(), It = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), nt = P("reflink|nolink(?!\\()", "g").replace("reflink", mt).replace("nolink", It).getRegex(), At = {
3700
+ _backpedal: L,
3588
3701
  // only used for GFM url
3589
3702
  anyPunctuation: O,
3590
- autolink: V,
3703
+ autolink: q,
3591
3704
  blockSkip: Qt,
3592
3705
  br: Gt,
3593
3706
  code: Ir,
3594
- del: F,
3595
- emStrongLDelim: Lr,
3707
+ del: L,
3708
+ emStrongLDelim: Fr,
3596
3709
  emStrongRDelimAst: Kt,
3597
3710
  emStrongRDelimUnd: B,
3598
3711
  escape: ft,
@@ -3603,7 +3716,7 @@ var Fa = { exports: {} };
3603
3716
  reflinkSearch: nt,
3604
3717
  tag: le,
3605
3718
  text: Ar,
3606
- url: F
3719
+ url: L
3607
3720
  }, Nr = {
3608
3721
  ...At,
3609
3722
  link: P(/^!?\[(label)\]\((.*?)\)/).replace("label", ke).getRegex(),
@@ -3611,7 +3724,7 @@ var Fa = { exports: {} };
3611
3724
  }, Mt = {
3612
3725
  ...At,
3613
3726
  emStrongRDelimAst: Dr,
3614
- emStrongLDelim: Fr,
3727
+ emStrongLDelim: Lr,
3615
3728
  url: P(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3616
3729
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
3617
3730
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
@@ -3866,24 +3979,24 @@ ${w}` : w;
3866
3979
  `, 1)[0], oe = !Z.trim(), G = 0;
3867
3980
  if (this.options.pedantic ? (G = 2, w = Z.trimStart()) : oe ? G = i[1].length + 1 : (G = i[2].search(this.rules.other.nonSpaceChar), G = G > 4 ? 1 : G, w = Z.slice(G), G += i[1].length), oe && this.rules.other.blankLine.test(I) && (x += I + `
3868
3981
  `, f = f.substring(I.length + 1), T = !0), !T) {
3869
- const He = this.rules.other.nextBulletRegex(G), Ue = this.rules.other.hrRegex(G), Be = this.rules.other.fencesBeginRegex(G), Lt = this.rules.other.headingBeginRegex(G), nr = this.rules.other.htmlBeginRegex(G);
3982
+ const He = this.rules.other.nextBulletRegex(G), Ue = this.rules.other.hrRegex(G), Be = this.rules.other.fencesBeginRegex(G), Ft = this.rules.other.headingBeginRegex(G), nr = this.rules.other.htmlBeginRegex(G);
3870
3983
  for (; f; ) {
3871
3984
  const vt = f.split(`
3872
3985
  `, 1)[0];
3873
- let qe;
3874
- if (I = vt, this.options.pedantic ? (I = I.replace(this.rules.other.listReplaceNesting, " "), qe = I) : qe = I.replace(this.rules.other.tabCharGlobal, " "), Be.test(I) || Lt.test(I) || nr.test(I) || He.test(I) || Ue.test(I))
3986
+ let Ve;
3987
+ if (I = vt, this.options.pedantic ? (I = I.replace(this.rules.other.listReplaceNesting, " "), Ve = I) : Ve = I.replace(this.rules.other.tabCharGlobal, " "), Be.test(I) || Ft.test(I) || nr.test(I) || He.test(I) || Ue.test(I))
3875
3988
  break;
3876
- if (qe.search(this.rules.other.nonSpaceChar) >= G || !I.trim())
3989
+ if (Ve.search(this.rules.other.nonSpaceChar) >= G || !I.trim())
3877
3990
  w += `
3878
- ` + qe.slice(G);
3991
+ ` + Ve.slice(G);
3879
3992
  else {
3880
- if (oe || Z.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Be.test(Z) || Lt.test(Z) || Ue.test(Z))
3993
+ if (oe || Z.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Be.test(Z) || Ft.test(Z) || Ue.test(Z))
3881
3994
  break;
3882
3995
  w += `
3883
3996
  ` + I;
3884
3997
  }
3885
3998
  !oe && !I.trim() && (oe = !0), x += vt + `
3886
- `, f = f.substring(vt.length + 1), Z = qe.slice(G);
3999
+ `, f = f.substring(vt.length + 1), Z = Ve.slice(G);
3887
4000
  }
3888
4001
  }
3889
4002
  v.loose || (R ? v.loose = !0 : this.rules.other.doubleBlankLine.test(x) && (R = !0));
@@ -4997,7 +5110,7 @@ Please report this to https://github.com/markedjs/marked.`, f) {
4997
5110
  var tr = W.options, Ur = W.setOptions, rr = W.use, ne = W.walkTokens, sr = W.parseInline, ie = W, ar = Ce.parse, X = Te.lex;
4998
5111
  return s != e && (a.exports = e), a.exports;
4999
5112
  });
5000
- })(Fa);
5113
+ })(La);
5001
5114
  const ei = /* @__PURE__ */ te(class extends ee {
5002
5115
  constructor() {
5003
5116
  super();
@@ -5035,7 +5148,7 @@ const ei = /* @__PURE__ */ te(class extends ee {
5035
5148
  * Sanitizes and converts markdown to HTML.
5036
5149
  */
5037
5150
  sanitizeMarkdown(e) {
5038
- return wa.sanitize(Fa.exports.marked.parse(e));
5151
+ return wa.sanitize(La.exports.marked.parse(e));
5039
5152
  }
5040
5153
  /**
5041
5154
  * Updates the content element directly without triggering a re-render.
@@ -5049,10 +5162,10 @@ const ei = /* @__PURE__ */ te(class extends ee {
5049
5162
  * Renders the appropriate content based on current state.
5050
5163
  */
5051
5164
  renderContent() {
5052
- return this.isLoading ? p("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? p("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : p("div", { class: "searchcraft-summary-box-content" }, this.summary);
5165
+ 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);
5053
5166
  }
5054
5167
  render() {
5055
- return p("div", { key: "c88d0bf7e12ad0fa0c019d207854a6e92babc683", class: "searchcraft-summary-box" }, this.renderContent());
5168
+ return m("div", { key: "94033d861f93036430eca149b3c017fb6099fb17", class: "searchcraft-summary-box" }, this.renderContent());
5056
5169
  }
5057
5170
  }, [0, "searchcraft-summary-box", {
5058
5171
  searchcraftId: [1, "searchcraft-id"],
@@ -5074,13 +5187,13 @@ function ti() {
5074
5187
  }
5075
5188
  });
5076
5189
  }
5077
- const ri = ti, si = `[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 */
5190
+ const ri = ti, si = `\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 */
5078
5191
  `, ai = /* @__PURE__ */ te(class extends ee {
5079
5192
  constructor() {
5080
5193
  super(), this.__registerHost();
5081
5194
  }
5082
5195
  render() {
5083
- return p("style", { key: "ef26626cdfa4fa98d516802d71443c49a9c6ecf9" }, si);
5196
+ return m("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, si);
5084
5197
  }
5085
5198
  }, [0, "searchcraft-theme"]);
5086
5199
  function ni() {
@@ -5095,7 +5208,7 @@ function ni() {
5095
5208
  });
5096
5209
  }
5097
5210
  const oi = ni, ii = Pa, Da = () => {
5098
- ro(), ao(), oo(), lo(), yo(), xo(), wo(), Ro(), Po(), Io(), Mo(), Do(), No(), zo(), Bo(), Vo(), Ko(), Go(), Xo(), Jo(), ri(), oi(), ii();
5211
+ ro(), ao(), oo(), lo(), yo(), xo(), wo(), Ro(), Po(), Io(), Mo(), Do(), No(), zo(), Bo(), qo(), Ko(), Go(), Xo(), Jo(), ri(), oi(), ii();
5099
5212
  };
5100
5213
  globalThis.__scDefineCustomElements__ = Da;
5101
5214
  var fe;
@@ -5146,21 +5259,21 @@ function Ge(r, t, e, s) {
5146
5259
  function n(l) {
5147
5260
  try {
5148
5261
  u(s.next(l));
5149
- } catch (m) {
5150
- o(m);
5262
+ } catch (p) {
5263
+ o(p);
5151
5264
  }
5152
5265
  }
5153
5266
  function h(l) {
5154
5267
  try {
5155
5268
  u(s.throw(l));
5156
- } catch (m) {
5157
- o(m);
5269
+ } catch (p) {
5270
+ o(p);
5158
5271
  }
5159
5272
  }
5160
5273
  function u(l) {
5161
- var m;
5162
- l.done ? a(l.value) : (m = l.value, m instanceof e ? m : new e(function(C) {
5163
- C(m);
5274
+ var p;
5275
+ l.done ? a(l.value) : (p = l.value, p instanceof e ? p : new e(function(C) {
5276
+ C(p);
5164
5277
  })).then(n, h);
5165
5278
  }
5166
5279
  u((s = s.apply(r, [])).next());
@@ -5176,51 +5289,51 @@ function Ze(r, t) {
5176
5289
  }), o;
5177
5290
  function h(u) {
5178
5291
  return function(l) {
5179
- return function(m) {
5292
+ return function(p) {
5180
5293
  if (e) throw new TypeError("Generator is already executing.");
5181
- for (; o && (o = 0, m[0] && (n = 0)), n; ) try {
5182
- if (e = 1, s && (a = 2 & m[0] ? s.return : m[0] ? s.throw || ((a = s.return) && a.call(s), 0) : s.next) && !(a = a.call(s, m[1])).done) return a;
5183
- switch (s = 0, a && (m = [2 & m[0], a.value]), m[0]) {
5294
+ for (; o && (o = 0, p[0] && (n = 0)), n; ) try {
5295
+ if (e = 1, s && (a = 2 & p[0] ? s.return : p[0] ? s.throw || ((a = s.return) && a.call(s), 0) : s.next) && !(a = a.call(s, p[1])).done) return a;
5296
+ switch (s = 0, a && (p = [2 & p[0], a.value]), p[0]) {
5184
5297
  case 0:
5185
5298
  case 1:
5186
- a = m;
5299
+ a = p;
5187
5300
  break;
5188
5301
  case 4:
5189
- return n.label++, { value: m[1], done: !1 };
5302
+ return n.label++, { value: p[1], done: !1 };
5190
5303
  case 5:
5191
- n.label++, s = m[1], m = [0];
5304
+ n.label++, s = p[1], p = [0];
5192
5305
  continue;
5193
5306
  case 7:
5194
- m = n.ops.pop(), n.trys.pop();
5307
+ p = n.ops.pop(), n.trys.pop();
5195
5308
  continue;
5196
5309
  default:
5197
- if (a = n.trys, !((a = a.length > 0 && a[a.length - 1]) || m[0] !== 6 && m[0] !== 2)) {
5310
+ if (a = n.trys, !((a = a.length > 0 && a[a.length - 1]) || p[0] !== 6 && p[0] !== 2)) {
5198
5311
  n = 0;
5199
5312
  continue;
5200
5313
  }
5201
- if (m[0] === 3 && (!a || m[1] > a[0] && m[1] < a[3])) {
5202
- n.label = m[1];
5314
+ if (p[0] === 3 && (!a || p[1] > a[0] && p[1] < a[3])) {
5315
+ n.label = p[1];
5203
5316
  break;
5204
5317
  }
5205
- if (m[0] === 6 && n.label < a[1]) {
5206
- n.label = a[1], a = m;
5318
+ if (p[0] === 6 && n.label < a[1]) {
5319
+ n.label = a[1], a = p;
5207
5320
  break;
5208
5321
  }
5209
5322
  if (a && n.label < a[2]) {
5210
- n.label = a[2], n.ops.push(m);
5323
+ n.label = a[2], n.ops.push(p);
5211
5324
  break;
5212
5325
  }
5213
5326
  a[2] && n.ops.pop(), n.trys.pop();
5214
5327
  continue;
5215
5328
  }
5216
- m = t.call(r, n);
5329
+ p = t.call(r, n);
5217
5330
  } catch (C) {
5218
- m = [6, C], s = 0;
5331
+ p = [6, C], s = 0;
5219
5332
  } finally {
5220
5333
  e = a = 0;
5221
5334
  }
5222
- if (5 & m[0]) throw m[1];
5223
- return { value: m[0] ? m[1] : void 0, done: !0 };
5335
+ if (5 & p[0]) throw p[1];
5336
+ return { value: p[0] ? p[1] : void 0, done: !0 };
5224
5337
  }([u, l]);
5225
5338
  };
5226
5339
  }
@@ -5248,42 +5361,42 @@ function fs(r, t) {
5248
5361
  var s = new Uint32Array([t, t, t, t]);
5249
5362
  (function(o, n) {
5250
5363
  for (var h = o.byteLength / 16 | 0, u = new Uint32Array(o, 0, 4 * h), l = 0; l < h; l++) {
5251
- var m = u.subarray(4 * l, 4 * (l + 1));
5252
- m[0] = Math.imul(m[0], be[0]), m[0] = Pe(m[0], 15), m[0] = Math.imul(m[0], be[1]), n[0] = n[0] ^ m[0], n[0] = Pe(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, m[1] = Math.imul(m[1], be[1]), m[1] = Pe(m[1], 16), m[1] = Math.imul(m[1], be[2]), n[1] = n[1] ^ m[1], n[1] = Pe(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, m[2] = Math.imul(m[2], be[2]), m[2] = Pe(m[2], 17), m[2] = Math.imul(m[2], be[3]), n[2] = n[2] ^ m[2], n[2] = Pe(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, m[3] = Math.imul(m[3], be[3]), m[3] = Pe(m[3], 18), m[3] = Math.imul(m[3], be[0]), n[3] = n[3] ^ m[3], n[3] = Pe(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
5364
+ var p = u.subarray(4 * l, 4 * (l + 1));
5365
+ p[0] = Math.imul(p[0], be[0]), p[0] = Pe(p[0], 15), p[0] = Math.imul(p[0], be[1]), n[0] = n[0] ^ p[0], n[0] = Pe(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, p[1] = Math.imul(p[1], be[1]), p[1] = Pe(p[1], 16), p[1] = Math.imul(p[1], be[2]), n[1] = n[1] ^ p[1], n[1] = Pe(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, p[2] = Math.imul(p[2], be[2]), p[2] = Pe(p[2], 17), p[2] = Math.imul(p[2], be[3]), n[2] = n[2] ^ p[2], n[2] = Pe(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, p[3] = Math.imul(p[3], be[3]), p[3] = Pe(p[3], 18), p[3] = Math.imul(p[3], be[0]), n[3] = n[3] ^ p[3], n[3] = Pe(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
5253
5366
  }
5254
5367
  })(r, s), function(o, n) {
5255
- var h = o.byteLength / 16 | 0, u = o.byteLength % 16, l = new Uint32Array(4), m = new Uint8Array(o, 16 * h, u);
5368
+ var h = o.byteLength / 16 | 0, u = o.byteLength % 16, l = new Uint32Array(4), p = new Uint8Array(o, 16 * h, u);
5256
5369
  switch (u) {
5257
5370
  case 15:
5258
- l[3] = l[3] ^ m[14] << 16;
5371
+ l[3] = l[3] ^ p[14] << 16;
5259
5372
  case 14:
5260
- l[3] = l[3] ^ m[13] << 8;
5373
+ l[3] = l[3] ^ p[13] << 8;
5261
5374
  case 13:
5262
- l[3] = l[3] ^ m[12] << 0, l[3] = Math.imul(l[3], be[3]), l[3] = Pe(l[3], 18), l[3] = Math.imul(l[3], be[0]), n[3] = n[3] ^ l[3];
5375
+ l[3] = l[3] ^ p[12] << 0, l[3] = Math.imul(l[3], be[3]), l[3] = Pe(l[3], 18), l[3] = Math.imul(l[3], be[0]), n[3] = n[3] ^ l[3];
5263
5376
  case 12:
5264
- l[2] = l[2] ^ m[11] << 24;
5377
+ l[2] = l[2] ^ p[11] << 24;
5265
5378
  case 11:
5266
- l[2] = l[2] ^ m[10] << 16;
5379
+ l[2] = l[2] ^ p[10] << 16;
5267
5380
  case 10:
5268
- l[2] = l[2] ^ m[9] << 8;
5381
+ l[2] = l[2] ^ p[9] << 8;
5269
5382
  case 9:
5270
- l[2] = l[2] ^ m[8] << 0, l[2] = Math.imul(l[2], be[2]), l[2] = Pe(l[2], 17), l[2] = Math.imul(l[2], be[3]), n[2] = n[2] ^ l[2];
5383
+ l[2] = l[2] ^ p[8] << 0, l[2] = Math.imul(l[2], be[2]), l[2] = Pe(l[2], 17), l[2] = Math.imul(l[2], be[3]), n[2] = n[2] ^ l[2];
5271
5384
  case 8:
5272
- l[1] = l[1] ^ m[7] << 24;
5385
+ l[1] = l[1] ^ p[7] << 24;
5273
5386
  case 7:
5274
- l[1] = l[1] ^ m[6] << 16;
5387
+ l[1] = l[1] ^ p[6] << 16;
5275
5388
  case 6:
5276
- l[1] = l[1] ^ m[5] << 8;
5389
+ l[1] = l[1] ^ p[5] << 8;
5277
5390
  case 5:
5278
- l[1] = l[1] ^ m[4] << 0, l[1] = Math.imul(l[1], be[1]), l[1] = Pe(l[1], 16), l[1] = Math.imul(l[1], be[2]), n[1] = n[1] ^ l[1];
5391
+ l[1] = l[1] ^ p[4] << 0, l[1] = Math.imul(l[1], be[1]), l[1] = Pe(l[1], 16), l[1] = Math.imul(l[1], be[2]), n[1] = n[1] ^ l[1];
5279
5392
  case 4:
5280
- l[0] = l[0] ^ m[3] << 24;
5393
+ l[0] = l[0] ^ p[3] << 24;
5281
5394
  case 3:
5282
- l[0] = l[0] ^ m[2] << 16;
5395
+ l[0] = l[0] ^ p[2] << 16;
5283
5396
  case 2:
5284
- l[0] = l[0] ^ m[1] << 8;
5397
+ l[0] = l[0] ^ p[1] << 8;
5285
5398
  case 1:
5286
- l[0] = l[0] ^ m[0] << 0, l[0] = Math.imul(l[0], be[0]), l[0] = Pe(l[0], 15), l[0] = Math.imul(l[0], be[1]), n[0] = n[0] ^ l[0];
5399
+ l[0] = l[0] ^ p[0] << 0, l[0] = Math.imul(l[0], be[0]), l[0] = Pe(l[0], 15), l[0] = Math.imul(l[0], be[1]), n[0] = n[0] ^ l[0];
5287
5400
  }
5288
5401
  }(r, s), function(o, n) {
5289
5402
  n[0] = n[0] ^ o.byteLength, n[1] = n[1] ^ o.byteLength, n[2] = n[2] ^ o.byteLength, n[3] = n[3] ^ o.byteLength, n[0] = n[0] + n[1] | 0, n[0] = n[0] + n[2] | 0, n[0] = n[0] + n[3] | 0, n[1] = n[1] + n[0] | 0, n[2] = n[2] + n[0] | 0, n[3] = n[3] + n[0] | 0, n[0] = pr(n[0]), n[1] = pr(n[1]), n[2] = pr(n[2]), n[3] = pr(n[3]), n[0] = n[0] + n[1] | 0, n[0] = n[0] + n[2] | 0, n[0] = n[0] + n[3] | 0, n[1] = n[1] + n[0] | 0, n[2] = n[2] + n[0] | 0, n[3] = n[3] + n[0] | 0;
@@ -5379,7 +5492,7 @@ function gi(r) {
5379
5492
  for (var o in t) t[o] > t[a] && (a = parseInt(o, 10));
5380
5493
  return a;
5381
5494
  }
5382
- function Vt() {
5495
+ function qt() {
5383
5496
  if (typeof navigator > "u") return { name: "unknown", version: "unknown" };
5384
5497
  for (var r = navigator.userAgent, t = { Edg: "Edge", OPR: "Opera" }, e = 0, s = [/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/, /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/]; e < s.length; e++) {
5385
5498
  var a = s[e], o = r.match(a);
@@ -5405,8 +5518,8 @@ Ie("audio", function() {
5405
5518
  });
5406
5519
  });
5407
5520
  });
5408
- var bi = Vt().name !== "SamsungBrowser" ? 1 : 3, Ws = 280, Gs = 20;
5409
- Vt().name != "Firefox" && Ie("canvas", function() {
5521
+ var bi = qt().name !== "SamsungBrowser" ? 1 : 3, Ws = 280, Gs = 20;
5522
+ qt().name != "Firefox" && Ie("canvas", function() {
5410
5523
  return document.createElement("canvas").getContext("2d"), new Promise(function(r) {
5411
5524
  var t = Array.from({ length: bi }, function() {
5412
5525
  return function() {
@@ -5456,8 +5569,8 @@ function xi(r, t) {
5456
5569
  if (o.length === 0) return null;
5457
5570
  var n = {};
5458
5571
  o.forEach(function(l) {
5459
- var m = String(l);
5460
- n[m] = (n[m] || 0) + 1;
5572
+ var p = String(l);
5573
+ n[p] = (n[p] || 0) + 1;
5461
5574
  });
5462
5575
  var h = o[0], u = 1;
5463
5576
  return Object.keys(n).forEach(function(l) {
@@ -5487,7 +5600,7 @@ function Si() {
5487
5600
  }
5488
5601
  return 0;
5489
5602
  }
5490
- Vt().name != "Firefox" && Ie("fonts", function() {
5603
+ qt().name != "Firefox" && Ie("fonts", function() {
5491
5604
  var r = this;
5492
5605
  return new Promise(function(t, e) {
5493
5606
  try {
@@ -5499,7 +5612,7 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5499
5612
  switch (u.label) {
5500
5613
  case 0:
5501
5614
  return document.body ? [3, 2] : [4, (l = 50, new Promise(function(C) {
5502
- return setTimeout(C, l, m);
5615
+ return setTimeout(C, l, p);
5503
5616
  }))];
5504
5617
  case 1:
5505
5618
  return u.sent(), [3, 0];
@@ -5509,7 +5622,7 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5509
5622
  document.body.removeChild(o);
5510
5623
  }, 0), [2];
5511
5624
  }
5512
- var l, m;
5625
+ var l, p;
5513
5626
  });
5514
5627
  });
5515
5628
  })(function(s) {
@@ -5517,11 +5630,11 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5517
5630
  return Ge(r, void 0, void 0, function() {
5518
5631
  var o, n, h, u;
5519
5632
  return Ze(this, function(l) {
5520
- return o = a.createElement("canvas"), n = o.getContext("2d"), h = yi.map(function(m) {
5521
- return Zs(n, m);
5522
- }), u = {}, vi.forEach(function(m) {
5523
- var C = Zs(n, m);
5524
- h.includes(C) || (u[m] = C);
5633
+ return o = a.createElement("canvas"), n = o.getContext("2d"), h = yi.map(function(p) {
5634
+ return Zs(n, p);
5635
+ }), u = {}, vi.forEach(function(p) {
5636
+ var C = Zs(n, p);
5637
+ h.includes(C) || (u[p] = C);
5525
5638
  }), t(u), [2];
5526
5639
  });
5527
5640
  });
@@ -5588,11 +5701,11 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5588
5701
  });
5589
5702
  }), Ie("system", function() {
5590
5703
  return new Promise(function(r) {
5591
- var t = Vt();
5704
+ var t = qt();
5592
5705
  r({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: Si() });
5593
5706
  });
5594
5707
  });
5595
- var ye, Ri = Vt().name !== "SamsungBrowser" ? 1 : 3, D = null;
5708
+ var ye, Ri = qt().name !== "SamsungBrowser" ? 1 : 3, D = null;
5596
5709
  Ie("webgl", function() {
5597
5710
  return Ge(this, void 0, void 0, function() {
5598
5711
  var r;
@@ -5622,9 +5735,9 @@ Ie("webgl", function() {
5622
5735
  if (!n) throw new Error("Failed to create shader program");
5623
5736
  if (D.attachShader(n, a), D.attachShader(n, o), D.linkProgram(n), !D.getProgramParameter(n, D.LINK_STATUS)) throw new Error("Shader program linking failed: " + D.getProgramInfoLog(n));
5624
5737
  D.useProgram(n);
5625
- for (var h = 137, u = new Float32Array(4 * h), l = 2 * Math.PI / h, m = 0; m < h; m++) {
5626
- var C = m * l;
5627
- u[4 * m] = 0, u[4 * m + 1] = 0, u[4 * m + 2] = Math.cos(C) * (ye.width / 2), u[4 * m + 3] = Math.sin(C) * (ye.height / 2);
5738
+ for (var h = 137, u = new Float32Array(4 * h), l = 2 * Math.PI / h, p = 0; p < h; p++) {
5739
+ var C = p * l;
5740
+ u[4 * p] = 0, u[4 * p + 1] = 0, u[4 * p + 2] = Math.cos(C) * (ye.width / 2), u[4 * p + 3] = Math.sin(C) * (ye.height / 2);
5628
5741
  }
5629
5742
  var S = D.createBuffer();
5630
5743
  D.bindBuffer(D.ARRAY_BUFFER, S), D.bufferData(D.ARRAY_BUFFER, u, D.STATIC_DRAW);
@@ -5693,16 +5806,16 @@ class Ei extends ps {
5693
5806
  rfr: "searchcraft.io",
5694
5807
  "results-ta": `${e.textAdQuantity || 0}`,
5695
5808
  "results-pa": `${e.productAdQuantity || 0}`
5696
- }).toString()}`, n = await (await fetch(a, { method: "GET" })).json(), h = n.product_ads.map((m) => ({
5809
+ }).toString()}`, n = await (await fetch(a, { method: "GET" })).json(), h = n.product_ads.map((p) => ({
5697
5810
  id: ut(),
5698
5811
  adSource: "adMarketplace",
5699
5812
  admAdType: "adm-product-ad",
5700
- admAd: m
5701
- })), u = n.text_ads.map((m) => ({
5813
+ admAd: p
5814
+ })), u = n.text_ads.map((p) => ({
5702
5815
  id: ut(),
5703
5816
  adSource: "adMarketplace",
5704
5817
  admAdType: "adm-text-ad",
5705
- admAd: m
5818
+ admAd: p
5706
5819
  }));
5707
5820
  return h.concat(u);
5708
5821
  }
@@ -5890,7 +6003,7 @@ class Oi {
5890
6003
  * @returns
5891
6004
  */
5892
6005
  c(this, "getSearchResponseItems", async (t, e = !1) => {
5893
- var n, h, u, l, m, C, S;
6006
+ var n, h, u, l, p, C, S;
5894
6007
  let s, a = "", o;
5895
6008
  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 t == "string" ? a = mr(t) : (t.searchTerm = mr(t.searchTerm), a = t.searchTerm), (u = this.parent.measureClient) == null || u.sendMeasureEvent("search_requested", {
5896
6009
  search_term: a
@@ -5899,7 +6012,7 @@ class Oi {
5899
6012
  data: {
5900
6013
  searchTerm: a
5901
6014
  }
5902
- }), (l = this.parent.adClient) == null || l.onQuerySubmitted(typeof t == "string" ? { searchTerm: a, mode: "exact" } : t), typeof t == "string" ? s = await this.handleGetSearchResponseItemsWithString(a, o) : s = await this.handleGetSearchResponseItemsWithObject(t, o), e || ((m = this.parent.measureClient) == null || m.sendMeasureEvent("search_response_received", {
6015
+ }), (l = this.parent.adClient) == null || l.onQuerySubmitted(typeof t == "string" ? { searchTerm: a, mode: "exact" } : t), typeof t == "string" ? s = await this.handleGetSearchResponseItemsWithString(a, o) : s = await this.handleGetSearchResponseItemsWithObject(t, o), e || ((p = this.parent.measureClient) == null || p.sendMeasureEvent("search_response_received", {
5903
6016
  search_term: a,
5904
6017
  number_of_documents: s.data.count
5905
6018
  }), clearTimeout(this.searchCompletedEventTimeout), this.searchCompletedEventTimeout = setTimeout(() => {
@@ -6024,16 +6137,16 @@ class Oi {
6024
6137
  var Ua = {}, ms = {};
6025
6138
  const Ys = (r) => {
6026
6139
  let t;
6027
- const e = /* @__PURE__ */ new Set(), s = (l, m) => {
6140
+ const e = /* @__PURE__ */ new Set(), s = (l, p) => {
6028
6141
  const C = typeof l == "function" ? l(t) : l;
6029
6142
  if (!Object.is(C, t)) {
6030
6143
  const S = t;
6031
- t = m ?? (typeof C != "object" || C === null) ? C : Object.assign({}, t, C), e.forEach(($) => $(t, S));
6144
+ t = p ?? (typeof C != "object" || C === null) ? C : Object.assign({}, t, C), e.forEach(($) => $(t, S));
6032
6145
  }
6033
6146
  }, a = () => t, h = { setState: s, getState: a, getInitialState: () => u, subscribe: (l) => (e.add(l), () => e.delete(l)) }, u = t = r(s, a, h);
6034
6147
  return h;
6035
- }, Li = (r) => r ? Ys(r) : Ys;
6036
- ms.createStore = Li;
6148
+ }, Fi = (r) => r ? Ys(r) : Ys;
6149
+ ms.createStore = Fi;
6037
6150
  var gs = {}, Ba = { exports: {} }, H = {};
6038
6151
  /**
6039
6152
  * @license React
@@ -6044,11 +6157,11 @@ var gs = {}, Ba = { exports: {} }, H = {};
6044
6157
  * This source code is licensed under the MIT license found in the
6045
6158
  * LICENSE file in the root directory of this source tree.
6046
6159
  */
6047
- var bs = Symbol.for("react.transitional.element"), Fi = Symbol.for("react.portal"), Di = Symbol.for("react.fragment"), Ni = Symbol.for("react.strict_mode"), zi = Symbol.for("react.profiler"), Hi = Symbol.for("react.consumer"), Ui = Symbol.for("react.context"), Bi = Symbol.for("react.forward_ref"), qi = Symbol.for("react.suspense"), Vi = Symbol.for("react.memo"), qa = Symbol.for("react.lazy"), Qs = Symbol.iterator;
6160
+ var bs = Symbol.for("react.transitional.element"), Li = Symbol.for("react.portal"), Di = Symbol.for("react.fragment"), Ni = Symbol.for("react.strict_mode"), zi = Symbol.for("react.profiler"), Hi = Symbol.for("react.consumer"), Ui = Symbol.for("react.context"), Bi = Symbol.for("react.forward_ref"), Vi = Symbol.for("react.suspense"), qi = Symbol.for("react.memo"), Va = Symbol.for("react.lazy"), Qs = Symbol.iterator;
6048
6161
  function ji(r) {
6049
6162
  return r === null || typeof r != "object" ? null : (r = Qs && r[Qs] || r["@@iterator"], typeof r == "function" ? r : null);
6050
6163
  }
6051
- var Va = {
6164
+ var qa = {
6052
6165
  isMounted: function() {
6053
6166
  return !1;
6054
6167
  },
@@ -6060,7 +6173,7 @@ var Va = {
6060
6173
  }
6061
6174
  }, ja = Object.assign, Wa = {};
6062
6175
  function Rt(r, t, e) {
6063
- this.props = r, this.context = t, this.refs = Wa, this.updater = e || Va;
6176
+ this.props = r, this.context = t, this.refs = Wa, this.updater = e || qa;
6064
6177
  }
6065
6178
  Rt.prototype.isReactComponent = {};
6066
6179
  Rt.prototype.setState = function(r, t) {
@@ -6077,7 +6190,7 @@ function Ga() {
6077
6190
  }
6078
6191
  Ga.prototype = Rt.prototype;
6079
6192
  function vs(r, t, e) {
6080
- this.props = r, this.context = t, this.refs = Wa, this.updater = e || Va;
6193
+ this.props = r, this.context = t, this.refs = Wa, this.updater = e || qa;
6081
6194
  }
6082
6195
  var ys = vs.prototype = new Ga();
6083
6196
  ys.constructor = vs;
@@ -6156,10 +6269,10 @@ function xt(r, t, e, s, a) {
6156
6269
  case "object":
6157
6270
  switch (r.$$typeof) {
6158
6271
  case bs:
6159
- case Fi:
6272
+ case Li:
6160
6273
  n = !0;
6161
6274
  break;
6162
- case qa:
6275
+ case Va:
6163
6276
  return n = r._init, xt(
6164
6277
  n(r._payload),
6165
6278
  t,
@@ -6288,7 +6401,7 @@ H.Fragment = Di;
6288
6401
  H.Profiler = zi;
6289
6402
  H.PureComponent = vs;
6290
6403
  H.StrictMode = Ni;
6291
- H.Suspense = qi;
6404
+ H.Suspense = Vi;
6292
6405
  H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = J;
6293
6406
  H.act = function() {
6294
6407
  throw Error("act(...) is not supported in production builds of React.");
@@ -6355,14 +6468,14 @@ H.forwardRef = function(r) {
6355
6468
  H.isValidElement = Cs;
6356
6469
  H.lazy = function(r) {
6357
6470
  return {
6358
- $$typeof: qa,
6471
+ $$typeof: Va,
6359
6472
  _payload: { _status: -1, _result: r },
6360
6473
  _init: Yi
6361
6474
  };
6362
6475
  };
6363
6476
  H.memo = function(r, t) {
6364
6477
  return {
6365
- $$typeof: Vi,
6478
+ $$typeof: qi,
6366
6479
  type: r,
6367
6480
  compare: t === void 0 ? null : t
6368
6481
  };
@@ -6487,7 +6600,7 @@ class tc {
6487
6600
  streamSummaryData() {
6488
6601
  var s;
6489
6602
  const t = async () => {
6490
- var u, l, m, C, S, $;
6603
+ var u, l, p, C, S, $;
6491
6604
  const a = this.get(), o = (u = a.core) == null ? void 0 : u.config;
6492
6605
  if (!o) {
6493
6606
  console.error("Could not stream summary data, no config found.");
@@ -6500,7 +6613,7 @@ class tc {
6500
6613
  const n = (l = a.core) == null ? void 0 : l.config.indexName;
6501
6614
  if (!a.hasSummaryBox || !n)
6502
6615
  return;
6503
- (m = this.abortController) == null || m.abort("A newer request has replaced this one."), this.abortController = new AbortController(), this.set({
6616
+ (p = this.abortController) == null || p.abort("A newer request has replaced this one."), this.abortController = new AbortController(), this.set({
6504
6617
  isSummaryLoading: !0,
6505
6618
  summary: ""
6506
6619
  });
@@ -6534,12 +6647,12 @@ class tc {
6534
6647
  }
6535
6648
  throw new Error(`HTTP ${A.status}`);
6536
6649
  }
6537
- const N = A.body.getReader(), F = new TextDecoder();
6650
+ const N = A.body.getReader(), L = new TextDecoder();
6538
6651
  let P = !1;
6539
6652
  do {
6540
6653
  const { done: _, value: U } = await N.read();
6541
6654
  P = _;
6542
- const j = F.decode(U, { stream: !0 });
6655
+ const j = L.decode(U, { stream: !0 });
6543
6656
  this.set((se) => ({
6544
6657
  isSummaryLoading: !1,
6545
6658
  summary: `${se.summary}${j}`
@@ -6561,6 +6674,7 @@ const sa = {
6561
6674
  hotkey: "k",
6562
6675
  hotkeyModifier: "meta",
6563
6676
  facetPathsForIndexFields: {},
6677
+ isFilterPanelVisible: !0,
6564
6678
  isPopoverVisible: !1,
6565
6679
  isSearchInProgress: !1,
6566
6680
  rangeValueForIndexFields: {},
@@ -6616,10 +6730,10 @@ const sa = {
6616
6730
  currentPage: o().searchResultsPage,
6617
6731
  stackTrace: new Error().stack
6618
6732
  }), a((l) => {
6619
- const m = l.facetPathsForIndexFields;
6620
- return delete m[u], {
6733
+ const p = l.facetPathsForIndexFields;
6734
+ return delete p[u], {
6621
6735
  facetPathsForIndexFields: {
6622
- ...m
6736
+ ...p
6623
6737
  },
6624
6738
  searchResultsPage: 1
6625
6739
  // Reset to page 1 when filters change
@@ -6627,17 +6741,17 @@ const sa = {
6627
6741
  });
6628
6742
  },
6629
6743
  removeRangeValueForIndexField: (u) => a((l) => {
6630
- const m = l.rangeValueForIndexFields;
6631
- return delete m[u], {
6744
+ const p = l.rangeValueForIndexFields;
6745
+ return delete p[u], {
6632
6746
  rangeValueForIndexFields: {
6633
- ...m
6747
+ ...p
6634
6748
  }
6635
6749
  };
6636
6750
  }),
6637
6751
  resetSearchValues: () => {
6638
- var l, m;
6752
+ var l, p;
6639
6753
  const u = o();
6640
- (m = (l = u.core) == null ? void 0 : l.searchClient) == null || m.abortRequests(), a({
6754
+ (p = (l = u.core) == null ? void 0 : l.searchClient) == null || p.abortRequests(), a({
6641
6755
  searchTerm: "",
6642
6756
  searchResultsPage: 1,
6643
6757
  searchClientResponseItems: [...u.cachedSearchClientResponseItems],
@@ -6645,14 +6759,14 @@ const sa = {
6645
6759
  });
6646
6760
  },
6647
6761
  search: async (u) => {
6648
- var N, F, P;
6762
+ var N, L, P;
6649
6763
  const l = o();
6650
6764
  if (!l.core)
6651
6765
  throw new Error("Searchcraft instance is not initialized.");
6652
6766
  l.core.config.cortexURL && !(u != null && u.skipSummary) && ((N = l.summaryClient) == null || N.streamSummaryData());
6653
- const m = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, S = l.searchResultsPage !== 1, $ = l.searchMode !== "fuzzy";
6767
+ 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, $ = l.searchMode !== "fuzzy";
6654
6768
  if (!l.searchTerm.trim()) {
6655
- if (m && (C || S || $)) {
6769
+ if (p && (C || S || $)) {
6656
6770
  const _ = JSON.parse(l.cachedSearchClientRequestProperties);
6657
6771
  a({ isSearchInProgress: !0 });
6658
6772
  const j = [...Array.isArray(_.query) ? _.query.filter((Y) => !Y.occur) : [_.query]];
@@ -6687,7 +6801,7 @@ const sa = {
6687
6801
  });
6688
6802
  return;
6689
6803
  }
6690
- (P = (F = l.core) == null ? void 0 : F.searchClient) == null || P.abortRequests(), a({
6804
+ (P = (L = l.core) == null ? void 0 : L.searchClient) == null || P.abortRequests(), a({
6691
6805
  searchClientResponseItems: [
6692
6806
  ...l.cachedSearchClientResponseItems
6693
6807
  ],
@@ -6718,15 +6832,18 @@ const sa = {
6718
6832
  shouldCacheResultsForEmptyState: !1
6719
6833
  });
6720
6834
  },
6835
+ setFilterPanelVisibility: (u) => a({
6836
+ isFilterPanelVisible: u
6837
+ }),
6721
6838
  setPopoverVisibility: (u) => a({
6722
6839
  isPopoverVisible: u
6723
6840
  }),
6724
6841
  setSearchMode: (u) => a({ searchMode: u }),
6725
6842
  setSortOrder: ({ orderByField: u, sortType: l }) => a({ sortType: l, orderByField: u }),
6726
6843
  setSearchTerm: (u) => {
6727
- var m;
6844
+ var p;
6728
6845
  const l = o();
6729
- u.length === 0 && ((m = l.core) == null || m.handleInputCleared()), a({
6846
+ u.length === 0 && ((p = l.core) == null || p.handleInputCleared()), a({
6730
6847
  searchTerm: u,
6731
6848
  searchResultsPage: 1,
6732
6849
  ...u.trim().length === 0 && {
@@ -6753,9 +6870,9 @@ const sa = {
6753
6870
  a({ searchResultsPerPage: u }), await n.search({ skipSummary: !0 });
6754
6871
  },
6755
6872
  setHotKeyAndHotKeyModifier: (u, l) => {
6756
- const { hotkey: m, hotkeyModifier: C } = sa;
6873
+ const { hotkey: p, hotkeyModifier: C } = sa;
6757
6874
  a({
6758
- hotkey: u || m,
6875
+ hotkey: u || p,
6759
6876
  hotkeyModifier: l || C
6760
6877
  });
6761
6878
  }
@@ -6815,17 +6932,17 @@ class sc {
6815
6932
  const { facetPathsForIndexFields: u, ...l } = t.requestProperties;
6816
6933
  try {
6817
6934
  o = await ((n = this == null ? void 0 : this.searchClient) == null ? void 0 : n.getSearchResponseItems(l, !0));
6818
- } catch (m) {
6819
- fr.info(`Search request error: ${m}`);
6935
+ } catch (p) {
6936
+ fr.info(`Search request error: ${p}`);
6820
6937
  return;
6821
6938
  }
6822
6939
  }
6823
6940
  } else if (typeof t.requestProperties == "string") {
6824
6941
  const u = JSON.parse(t.requestProperties), l = Array.isArray(u.query) ? u.query : [u.query];
6825
6942
  if (l.length > 1) {
6826
- const m = l.filter((S) => S.occur !== "must"), C = {
6943
+ const p = l.filter((S) => S.occur !== "must"), C = {
6827
6944
  ...u,
6828
- query: m.length > 0 ? m : l.slice(0, 1)
6945
+ query: p.length > 0 ? p : l.slice(0, 1)
6829
6946
  };
6830
6947
  try {
6831
6948
  o = await ((h = this == null ? void 0 : this.searchClient) == null ? void 0 : h.getSearchResponseItems(JSON.stringify(C), !0));
@@ -6941,14 +7058,14 @@ class sc {
6941
7058
  }), (t = this.adClient) == null || t.onInputCleared();
6942
7059
  }
6943
7060
  }
6944
- const ac = "@searchcraft/vue-sdk", nc = "0.12.1", Qr = "routerLink", aa = "navManager", oc = "router", ic = "aria", zt = Symbol(), na = { default: zt }, oa = (r) => (r == null ? void 0 : r.split(" ")) || [], cc = (r, t, e = []) => {
7061
+ const ac = "@searchcraft/vue-sdk", nc = "0.13.0", Qr = "routerLink", aa = "navManager", oc = "router", ic = "aria", zt = Symbol(), na = { default: zt }, oa = (r) => (r == null ? void 0 : r.split(" ")) || [], cc = (r, t, e = []) => {
6945
7062
  var s;
6946
7063
  return [...Array.from(((s = r.value) == null ? void 0 : s.classList) || []), ...e].filter((a, o, n) => !t.has(a) && n.indexOf(a) === o);
6947
- }, Fe = (r, t, e = [], s = [], a, o) => {
7064
+ }, Le = (r, t, e = [], s = [], a, o) => {
6948
7065
  t !== void 0 && t();
6949
- const n = nn((h, { attrs: u, slots: l, emit: m }) => {
7066
+ const n = nn((h, { attrs: u, slots: l, emit: p }) => {
6950
7067
  var P;
6951
- const C = on(), S = new Set(oa(u.class)), $ = cn(), N = ((P = $ == null ? void 0 : $.appContext) == null ? void 0 : P.provides[aa]) ? ln(aa) : void 0, F = (_) => {
7068
+ const C = on(), S = new Set(oa(u.class)), $ = cn(), N = ((P = $ == null ? void 0 : $.appContext) == null ? void 0 : P.provides[aa]) ? ln(aa) : void 0, L = (_) => {
6952
7069
  const { routerLink: U } = h;
6953
7070
  if (U !== zt)
6954
7071
  if (N !== void 0) {
@@ -6967,7 +7084,7 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.1", Qr = "routerLink", aa = "navMa
6967
7084
  S.add(Y);
6968
7085
  });
6969
7086
  const _ = h.onClick, U = (Y) => {
6970
- _ !== void 0 && _(Y), Y.defaultPrevented || F(Y);
7087
+ _ !== void 0 && _(Y), Y.defaultPrevented || L(Y);
6971
7088
  };
6972
7089
  let j = {
6973
7090
  ref: C,
@@ -6991,11 +7108,13 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.1", Qr = "routerLink", aa = "navMa
6991
7108
  u.ROUTER_LINK_VALUE = na, e.forEach((l) => u[l] = na), h = s, n.name = r, n.emits = h, n.props = u;
6992
7109
  }
6993
7110
  return n;
6994
- }, lc = /* @__PURE__ */ Fe("searchcraft-filter-panel", () => {
7111
+ }, lc = /* @__PURE__ */ Le("searchcraft-filter-panel", () => {
6995
7112
  }, [
6996
7113
  "searchcraftId",
6997
- "items"
6998
- ]), uc = /* @__PURE__ */ Fe("searchcraft-input-form", () => {
7114
+ "items",
7115
+ "responsiveBreakpoint",
7116
+ "responsiveBehavior"
7117
+ ]), uc = /* @__PURE__ */ Le("searchcraft-input-form", () => {
6999
7118
  }, [
7000
7119
  "searchcraftId",
7001
7120
  "autoSearch",
@@ -7012,15 +7131,15 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.1", Qr = "routerLink", aa = "navMa
7012
7131
  "inputFocus",
7013
7132
  "inputBlur",
7014
7133
  "inputInit"
7015
- ]), hc = /* @__PURE__ */ Fe("searchcraft-pagination", () => {
7134
+ ]), hc = /* @__PURE__ */ Le("searchcraft-pagination", () => {
7016
7135
  }, [
7017
7136
  "searchcraftId"
7018
- ]), dc = /* @__PURE__ */ Fe("searchcraft-popover-button", () => {
7137
+ ]), dc = /* @__PURE__ */ Le("searchcraft-popover-button", () => {
7019
7138
  }, [
7020
7139
  "template",
7021
7140
  "type",
7022
7141
  "searchcraftId"
7023
- ]), fc = /* @__PURE__ */ Fe("searchcraft-popover-form", () => {
7142
+ ]), fc = /* @__PURE__ */ Le("searchcraft-popover-form", () => {
7024
7143
  }, [
7025
7144
  "type",
7026
7145
  "popoverResultMappings",
@@ -7029,24 +7148,24 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.1", Qr = "routerLink", aa = "navMa
7029
7148
  "searchcraftId",
7030
7149
  "placeholderValue",
7031
7150
  "placeholderBehavior"
7032
- ]), pc = /* @__PURE__ */ Fe("searchcraft-results-info", () => {
7151
+ ]), pc = /* @__PURE__ */ Le("searchcraft-results-info", () => {
7033
7152
  }, [
7034
7153
  "template",
7035
7154
  "searchcraftId"
7036
- ]), mc = /* @__PURE__ */ Fe("searchcraft-search-results", () => {
7155
+ ]), mc = /* @__PURE__ */ Le("searchcraft-search-results", () => {
7037
7156
  }, [
7038
7157
  "searchcraftId",
7039
7158
  "initialQuery",
7040
7159
  "template"
7041
- ]), gc = /* @__PURE__ */ Fe("searchcraft-search-results-per-page", () => {
7160
+ ]), gc = /* @__PURE__ */ Le("searchcraft-search-results-per-page", () => {
7042
7161
  }, [
7043
7162
  "increment",
7044
7163
  "searchcraftId"
7045
- ]), bc = /* @__PURE__ */ Fe("searchcraft-summary-box", () => {
7164
+ ]), bc = /* @__PURE__ */ Le("searchcraft-summary-box", () => {
7046
7165
  }, [
7047
7166
  "searchcraftId"
7048
- ]), vc = /* @__PURE__ */ Fe("searchcraft-theme", () => {
7049
- }), Vc = mc, jc = lc, Wc = uc, Gc = dc, Zc = fc, Yc = pc, Qc = vc, Kc = hc, Xc = gc, Jc = bc;
7167
+ ]), vc = /* @__PURE__ */ Le("searchcraft-theme", () => {
7168
+ }), qc = mc, jc = lc, Wc = uc, Gc = dc, Zc = fc, Yc = pc, Qc = vc, Kc = hc, Xc = gc, Jc = bc;
7050
7169
  class el extends sc {
7051
7170
  constructor(t, e = void 0) {
7052
7171
  super(
@@ -7068,7 +7187,7 @@ export {
7068
7187
  Gc as SearchcraftPopoverButton,
7069
7188
  Zc as SearchcraftPopoverForm,
7070
7189
  Yc as SearchcraftResultsInfo,
7071
- Vc as SearchcraftSearchResults,
7190
+ qc as SearchcraftSearchResults,
7072
7191
  Xc as SearchcraftSearchResultsPerPage,
7073
7192
  Jc as SearchcraftSummaryBox,
7074
7193
  Qc as SearchcraftTheme