@searchcraft/react-sdk 0.9.0 → 0.9.2

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.js CHANGED
@@ -1,9 +1,9 @@
1
- var dn = Object.defineProperty;
2
- var pn = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var h = (e, t, r) => pn(e, typeof t != "symbol" ? t + "" : t, r);
1
+ var $n = Object.defineProperty;
2
+ var _n = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var h = (e, t, r) => _n(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { jsx as Se } from "react/jsx-runtime";
5
5
  import we from "react";
6
- var mn = Object.defineProperty, gn = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, O = (e, t, r) => gn(e, typeof t != "symbol" ? t + "" : t, r);
6
+ var An = Object.defineProperty, In = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, O = (e, t, r) => In(e, typeof t != "symbol" ? t + "" : t, r);
7
7
  function be(e, t, r, a) {
8
8
  return new (r || (r = Promise))(function(n, o) {
9
9
  function s(l) {
@@ -88,10 +88,10 @@ function ve(e, t) {
88
88
  };
89
89
  }
90
90
  }
91
- var ye = { exclude: [] }, Oa = {}, bn = { timeout: "true" }, ce = function(e, t) {
92
- typeof window < "u" && (Oa[e] = t);
93
- }, vn = function() {
94
- return Object.fromEntries(Object.entries(Oa).filter(function(e) {
91
+ var ye = { exclude: [] }, Da = {}, Mn = { timeout: "true" }, ce = function(e, t) {
92
+ typeof window < "u" && (Da[e] = t);
93
+ }, Ln = function() {
94
+ return Object.fromEntries(Object.entries(Da).filter(function(e) {
95
95
  var t, r = e[0];
96
96
  return !(!((t = ye == null ? void 0 : ye.exclude) === null || t === void 0) && t.includes(r));
97
97
  }).map(function(e) {
@@ -105,7 +105,7 @@ var W = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
105
105
  function se(e, t) {
106
106
  return e << t | e >>> 32 - t;
107
107
  }
108
- function or(e, t) {
108
+ function lr(e, t) {
109
109
  var r;
110
110
  if (t === void 0 && (t = 0), t = t ? 0 | t : 0, typeof e == "string" && (r = e, e = new TextEncoder().encode(r).buffer), !(e instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
111
111
  var a = new Uint32Array([t, t, t, t]);
@@ -156,31 +156,31 @@ function or(e, t) {
156
156
  return o.toString(16).padStart(2, "0");
157
157
  }).join("");
158
158
  }
159
- function yn(e, t) {
159
+ function On(e, t) {
160
160
  return new Promise(function(r) {
161
161
  setTimeout(function() {
162
162
  return r(t);
163
163
  }, e);
164
164
  });
165
165
  }
166
- function Sn(e, t, r) {
166
+ function Fn(e, t, r) {
167
167
  return Promise.all(e.map(function(a) {
168
- return Promise.race([a, yn(t, r)]);
168
+ return Promise.race([a, On(t, r)]);
169
169
  }));
170
170
  }
171
- function wn() {
171
+ function Dn() {
172
172
  return be(this, void 0, void 0, function() {
173
173
  var e, t, r, a, n;
174
174
  return ve(this, function(o) {
175
175
  switch (o.label) {
176
176
  case 0:
177
- return o.trys.push([0, 2, , 3]), e = vn(), t = Object.keys(e), [4, Sn(Object.values(e), (ye == null ? void 0 : ye.timeout) || 1e3, bn)];
177
+ return o.trys.push([0, 2, , 3]), e = Ln(), t = Object.keys(e), [4, Fn(Object.values(e), (ye == null ? void 0 : ye.timeout) || 1e3, Mn)];
178
178
  case 1:
179
179
  return r = o.sent(), a = r.filter(function(s) {
180
180
  return s !== void 0;
181
181
  }), n = {}, a.forEach(function(s, c) {
182
182
  n[t[c]] = s;
183
- }), [2, Fa(n, ye.exclude || [])];
183
+ }), [2, Na(n, ye.exclude || [])];
184
184
  case 2:
185
185
  throw o.sent();
186
186
  case 3:
@@ -189,13 +189,13 @@ function wn() {
189
189
  });
190
190
  });
191
191
  }
192
- function Fa(e, t) {
192
+ function Na(e, t) {
193
193
  var r = {}, a = function(o) {
194
194
  if (e.hasOwnProperty(o)) {
195
195
  var s = e[o];
196
196
  if (typeof s != "object" || Array.isArray(s)) t.includes(o) || (r[o] = s);
197
197
  else {
198
- var c = Fa(s, t.map(function(u) {
198
+ var c = Na(s, t.map(function(u) {
199
199
  return u.startsWith(o + ".") ? u.slice(o.length + 1) : u;
200
200
  }));
201
201
  Object.keys(c).length > 0 && (r[o] = c);
@@ -205,15 +205,15 @@ function Fa(e, t) {
205
205
  for (var n in e) a(n);
206
206
  return r;
207
207
  }
208
- function En(e) {
208
+ function Nn(e) {
209
209
  return be(this, void 0, void 0, function() {
210
210
  var t, r;
211
211
  return ve(this, function(a) {
212
212
  switch (a.label) {
213
213
  case 0:
214
- return a.trys.push([0, 2, , 3]), [4, wn()];
214
+ return a.trys.push([0, 2, , 3]), [4, Dn()];
215
215
  case 1:
216
- return t = a.sent(), r = or(JSON.stringify(t)), [2, r.toString()];
216
+ return t = a.sent(), r = lr(JSON.stringify(t)), [2, r.toString()];
217
217
  case 2:
218
218
  throw a.sent();
219
219
  case 3:
@@ -222,19 +222,19 @@ function En(e) {
222
222
  });
223
223
  });
224
224
  }
225
- function Rn(e) {
225
+ function Un(e) {
226
226
  for (var t = 0, r = 0; r < e.length; ++r) t += Math.abs(e[r]);
227
227
  return t;
228
228
  }
229
- function Da(e, t, r) {
229
+ function Ua(e, t, r) {
230
230
  for (var a = [], n = 0; n < e[0].data.length; n++) {
231
231
  for (var o = [], s = 0; s < e.length; s++) o.push(e[s].data[n]);
232
- a.push(kn(o));
232
+ a.push(zn(o));
233
233
  }
234
234
  var c = new Uint8ClampedArray(a);
235
235
  return new ImageData(c, t, r);
236
236
  }
237
- function kn(e) {
237
+ function zn(e) {
238
238
  if (e.length === 0) return 0;
239
239
  for (var t = {}, r = 0, a = e; r < a.length; r++)
240
240
  t[o = a[r]] = (t[o] || 0) + 1;
@@ -259,7 +259,7 @@ ce("audio", function() {
259
259
  o.frequency.value = 1e3;
260
260
  var s, c = a.createDynamicsCompressor();
261
261
  c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(a.destination), o.start(), a.oncomplete = function(u) {
262
- s = u.renderedBuffer.getChannelData(0), t({ sampleHash: Rn(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
262
+ s = u.renderedBuffer.getChannelData(0), t({ sampleHash: Un(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
263
263
  }, a.startRendering();
264
264
  } catch (u) {
265
265
  console.error("Error creating audio fingerprint:", u), r(u);
@@ -268,14 +268,14 @@ ce("audio", function() {
268
268
  });
269
269
  });
270
270
  });
271
- var Pn = at().name !== "SamsungBrowser" ? 1 : 3, oa = 280, ia = 20;
271
+ var Hn = at().name !== "SamsungBrowser" ? 1 : 3, ca = 280, la = 20;
272
272
  at().name != "Firefox" && ce("canvas", function() {
273
273
  return document.createElement("canvas").getContext("2d"), new Promise(function(e) {
274
- var t = Array.from({ length: Pn }, function() {
274
+ var t = Array.from({ length: Hn }, function() {
275
275
  return function() {
276
276
  var r = document.createElement("canvas"), a = r.getContext("2d");
277
277
  if (!a) return new ImageData(1, 1);
278
- r.width = oa, r.height = ia;
278
+ r.width = ca, r.height = la;
279
279
  var n = a.createLinearGradient(0, 0, r.width, r.height);
280
280
  n.addColorStop(0, "red"), n.addColorStop(0.16666666666666666, "orange"), n.addColorStop(0.3333333333333333, "yellow"), n.addColorStop(0.5, "green"), n.addColorStop(0.6666666666666666, "blue"), n.addColorStop(0.8333333333333334, "indigo"), n.addColorStop(1, "violet"), a.fillStyle = n, a.fillRect(0, 0, r.width, r.height);
281
281
  var o = "Random Text WMwmil10Oo";
@@ -284,15 +284,15 @@ at().name != "Firefox" && ce("canvas", function() {
284
284
  return s;
285
285
  }();
286
286
  });
287
- e({ commonImageDataHash: or(Da(t, oa, ia).data.toString()).toString() });
287
+ e({ commonImageDataHash: lr(Ua(t, ca, la).data.toString()).toString() });
288
288
  });
289
289
  });
290
- var Jt, Cn = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], xn = ["monospace", "sans-serif", "serif"];
291
- function ca(e, t) {
290
+ var tr, Bn = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], jn = ["monospace", "sans-serif", "serif"];
291
+ function ua(e, t) {
292
292
  if (!e) throw new Error("Canvas context not supported");
293
293
  return e.font, e.font = "72px ".concat(t), e.measureText("WwMmLli0Oo").width;
294
294
  }
295
- function Tn() {
295
+ function Gn() {
296
296
  var e, t = document.createElement("canvas"), r = (e = t.getContext("webgl")) !== null && e !== void 0 ? e : t.getContext("experimental-webgl");
297
297
  if (r && "getParameter" in r) try {
298
298
  var a = (r.getParameter(r.VENDOR) || "").toString(), n = (r.getParameter(r.RENDERER) || "").toString(), o = { vendor: a, renderer: n, version: (r.getParameter(r.VERSION) || "").toString(), shadingLanguageVersion: (r.getParameter(r.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -308,11 +308,11 @@ function Tn() {
308
308
  }
309
309
  return "undefined";
310
310
  }
311
- function $n() {
311
+ function Wn() {
312
312
  var e = new Float32Array(1), t = new Uint8Array(e.buffer);
313
313
  return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
314
314
  }
315
- function _n(e, t) {
315
+ function Vn(e, t) {
316
316
  var r = {};
317
317
  return t.forEach(function(a) {
318
318
  var n = function(o) {
@@ -334,7 +334,7 @@ function _n(e, t) {
334
334
  n && (r[a] = n);
335
335
  }), r;
336
336
  }
337
- function An() {
337
+ function qn() {
338
338
  var e = [], t = { "prefers-contrast": ["high", "more", "low", "less", "forced", "no-preference"], "any-hover": ["hover", "none"], "any-pointer": ["none", "coarse", "fine"], pointer: ["none", "coarse", "fine"], hover: ["hover", "none"], update: ["fast", "slow"], "inverted-colors": ["inverted", "none"], "prefers-reduced-motion": ["reduce", "no-preference"], "prefers-reduced-transparency": ["reduce", "no-preference"], scripting: ["none", "initial-only", "enabled"], "forced-colors": ["active", "none"] };
339
339
  return Object.keys(t).forEach(function(r) {
340
340
  t[r].forEach(function(a) {
@@ -342,7 +342,7 @@ function An() {
342
342
  });
343
343
  }), e;
344
344
  }
345
- function In() {
345
+ function Yn() {
346
346
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
347
347
  for (var e = window.ApplePaySession.supportsVersion, t = 15; t > 0; t--) if (e(t)) return t;
348
348
  } catch {
@@ -380,10 +380,10 @@ at().name != "Firefox" && ce("fonts", function() {
380
380
  return be(e, void 0, void 0, function() {
381
381
  var o, s, c, u;
382
382
  return ve(this, function(l) {
383
- return o = n.createElement("canvas"), s = o.getContext("2d"), c = xn.map(function(i) {
384
- return ca(s, i);
385
- }), u = {}, Cn.forEach(function(i) {
386
- var p = ca(s, i);
383
+ return o = n.createElement("canvas"), s = o.getContext("2d"), c = jn.map(function(i) {
384
+ return ua(s, i);
385
+ }), u = {}, Bn.forEach(function(i) {
386
+ var p = ua(s, i);
387
387
  c.includes(p) || (u[i] = p);
388
388
  }), t(u), [2];
389
389
  });
@@ -396,7 +396,7 @@ at().name != "Firefox" && ce("fonts", function() {
396
396
  }), ce("hardware", function() {
397
397
  return new Promise(function(e, t) {
398
398
  var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, a = window.performance && window.performance.memory ? window.performance.memory : 0;
399
- e({ videocard: Tn(), architecture: $n(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
399
+ e({ videocard: Gn(), architecture: Wn(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
400
400
  });
401
401
  }), ce("locales", function() {
402
402
  return new Promise(function(e) {
@@ -406,14 +406,14 @@ at().name != "Firefox" && ce("fonts", function() {
406
406
  return be(this, void 0, void 0, function() {
407
407
  var e;
408
408
  return ve(this, function(t) {
409
- return Jt = (ye == null ? void 0 : ye.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], e = Array.from({ length: (ye == null ? void 0 : ye.retries) || 3 }, function() {
409
+ return tr = (ye == null ? void 0 : ye.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], e = Array.from({ length: (ye == null ? void 0 : ye.retries) || 3 }, function() {
410
410
  return function() {
411
411
  return be(this, void 0, void 0, function() {
412
412
  var r, a, n, o, s;
413
413
  return ve(this, function(c) {
414
414
  switch (c.label) {
415
415
  case 0:
416
- r = {}, a = 0, n = Jt, c.label = 1;
416
+ r = {}, a = 0, n = tr, c.label = 1;
417
417
  case 1:
418
418
  if (!(a < n.length)) return [3, 6];
419
419
  o = n[a], c.label = 2;
@@ -432,7 +432,7 @@ at().name != "Firefox" && ce("fonts", function() {
432
432
  });
433
433
  }();
434
434
  }), [2, Promise.all(e).then(function(r) {
435
- return _n(r, Jt);
435
+ return Vn(r, tr);
436
436
  })];
437
437
  });
438
438
  });
@@ -447,15 +447,15 @@ at().name != "Firefox" && ce("fonts", function() {
447
447
  });
448
448
  }), ce("screen", function() {
449
449
  return new Promise(function(e) {
450
- e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: An() });
450
+ e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: qn() });
451
451
  });
452
452
  }), ce("system", function() {
453
453
  return new Promise(function(e) {
454
454
  var t = at();
455
- e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: In() });
455
+ e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: Yn() });
456
456
  });
457
457
  });
458
- var J, Mn = at().name !== "SamsungBrowser" ? 1 : 3, E = null;
458
+ var J, Kn = at().name !== "SamsungBrowser" ? 1 : 3, E = null;
459
459
  ce("webgl", function() {
460
460
  return be(this, void 0, void 0, function() {
461
461
  var e;
@@ -463,7 +463,7 @@ ce("webgl", function() {
463
463
  typeof document < "u" && ((J = document.createElement("canvas")).width = 200, J.height = 100, E = J.getContext("webgl"));
464
464
  try {
465
465
  if (!E) throw new Error("WebGL not supported");
466
- return e = Array.from({ length: Mn }, function() {
466
+ return e = Array.from({ length: Kn }, function() {
467
467
  return function() {
468
468
  try {
469
469
  if (!E) throw new Error("WebGL not supported");
@@ -501,7 +501,7 @@ ce("webgl", function() {
501
501
  E && (E.bindBuffer(E.ARRAY_BUFFER, null), E.useProgram(null), E.viewport(0, 0, E.drawingBufferWidth, E.drawingBufferHeight), E.clearColor(0, 0, 0, 0));
502
502
  }
503
503
  }();
504
- }), [2, { commonImageHash: or(Da(e, J.width, J.height).data.toString()).toString() }];
504
+ }), [2, { commonImageHash: lr(Ua(e, J.width, J.height).data.toString()).toString() }];
505
505
  } catch {
506
506
  return [2, { webgl: "unsupported" }];
507
507
  }
@@ -521,14 +521,14 @@ ce("math", function() {
521
521
  });
522
522
  });
523
523
  });
524
- const Ln = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
524
+ const Xn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
525
525
  let Pt = (e = 21) => {
526
526
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
527
527
  for (; e--; )
528
- t += Ln[r[e] & 63];
528
+ t += Xn[r[e] & 63];
529
529
  return t;
530
530
  };
531
- class ir {
531
+ class ur {
532
532
  constructor(t) {
533
533
  O(this, "config"), this.config = t;
534
534
  }
@@ -536,7 +536,7 @@ class ir {
536
536
  return [];
537
537
  }
538
538
  }
539
- class On extends ir {
539
+ class Qn extends ur {
540
540
  /**
541
541
  * Gets ads from the adMarketplace API based on the search term.
542
542
  */
@@ -567,18 +567,18 @@ class On extends ir {
567
567
  return n.concat(o);
568
568
  }
569
569
  }
570
- class Fn extends ir {
570
+ class Jn extends ur {
571
571
  async getAdsForSearchParams(t) {
572
572
  return [];
573
573
  }
574
574
  }
575
- class Dn extends ir {
575
+ class Zn extends ur {
576
576
  async getAdsForSearchParams(t) {
577
577
  return [];
578
578
  }
579
579
  }
580
- const Nn = 500;
581
- class Un {
580
+ const eo = 500;
581
+ class to {
582
582
  constructor(t, r, a) {
583
583
  O(this, "measureRequestTimeout"), O(this, "measureRequestsBatched", []), O(this, "config"), O(this, "sdkInfo"), O(this, "userId"), O(this, "sessionId"), O(this, "sendMeasureEvent", (n, o = {}, s = {}) => {
584
584
  const c = {
@@ -615,7 +615,7 @@ class Un {
615
615
  } catch (i) {
616
616
  throw console.error("Error sending MeasureRequest:", i), i;
617
617
  }
618
- }, Nn);
618
+ }, eo);
619
619
  }), this.config = t, this.sdkInfo = r, this.userId = a, this.sessionId = Pt(), this.sendMeasureEvent("sdk_initialized");
620
620
  }
621
621
  /**
@@ -639,7 +639,7 @@ class Un {
639
639
  };
640
640
  }
641
641
  }
642
- function zn(e) {
642
+ function ro(e) {
643
643
  const t = [];
644
644
  let r = "should";
645
645
  return e.facetPathsForIndexFields && Object.keys(e.facetPathsForIndexFields).forEach((a) => {
@@ -667,7 +667,7 @@ function zn(e) {
667
667
  // Ensure dynamic mode is inside queryType
668
668
  }), t;
669
669
  }
670
- const Hn = (e) => e.endsWith("/") ? e.slice(0, -1) : e, Bn = (e) => {
670
+ const ao = (e) => e.endsWith("/") ? e.slice(0, -1) : e, so = (e) => {
671
671
  let t = "";
672
672
  if (t = e.trim(), t = t.replace(/[‘’“”]/g, (r) => ({
673
673
  "‘": "'",
@@ -680,11 +680,11 @@ const Hn = (e) => e.endsWith("/") ? e.slice(0, -1) : e, Bn = (e) => {
680
680
  );
681
681
  return t;
682
682
  };
683
- class jn {
683
+ class no {
684
684
  constructor(t, r, a) {
685
685
  O(this, "config"), O(this, "userId"), O(this, "parent"), O(this, "getSearchResponse", async (n) => {
686
686
  var o, s;
687
- const c = Bn(n.searchTerm);
687
+ const c = so(n.searchTerm);
688
688
  (o = this.parent.measureClient) == null || o.sendMeasureEvent("search_requested", {
689
689
  search_term: c
690
690
  }), this.parent.emitEvent("query_submitted", {
@@ -695,7 +695,7 @@ class jn {
695
695
  });
696
696
  try {
697
697
  const u = {
698
- query: zn(n),
698
+ query: ro(n),
699
699
  offset: n.offset || 0,
700
700
  // Default to 0 (first page) if not provided
701
701
  limit: n.limit || this.config.searchResultsPerPage || 20
@@ -732,7 +732,7 @@ class jn {
732
732
  return `${this.config.endpointURL}/index/${this.config.index.join(",")}/search`;
733
733
  }
734
734
  }
735
- class Gn {
735
+ class oo {
736
736
  constructor(t, r) {
737
737
  if (O(this, "config"), O(this, "measureClient"), O(this, "searchClient"), O(this, "adClient"), O(this, "userId"), O(this, "requestTimeout"), O(this, "subscriptionEvents", {}), O(this, "getItems", (a, n, o) => {
738
738
  const s = async () => {
@@ -767,7 +767,7 @@ class Gn {
767
767
  this.config = {
768
768
  ...t,
769
769
  // Strips off the trailing '/' from an endpointURL if one is accidentally added
770
- endpointURL: Hn(t.endpointURL)
770
+ endpointURL: ao(t.endpointURL)
771
771
  }, this.userId = "", this.initClients(this.config, r), this.initInputForms(), this.startObservingMutations();
772
772
  }
773
773
  initInputForms() {
@@ -796,15 +796,15 @@ class Gn {
796
796
  initClients(t, r) {
797
797
  setTimeout(async () => {
798
798
  let a = this.config.userId;
799
- switch (a || (a = await En()), this.measureClient = new Un(t, r, a), this.searchClient = new jn(this, t, a), t.adSource) {
799
+ switch (a || (a = await Nn()), this.measureClient = new to(t, r, a), this.searchClient = new no(this, t, a), t.adSource) {
800
800
  case "adMarketplace":
801
- this.adClient = new On(t);
801
+ this.adClient = new Qn(t);
802
802
  break;
803
803
  case "Nativo":
804
- this.adClient = new Dn(t);
804
+ this.adClient = new Zn(t);
805
805
  break;
806
806
  case "Custom":
807
- this.adClient = new Fn(t);
807
+ this.adClient = new Jn(t);
808
808
  break;
809
809
  }
810
810
  }, 300);
@@ -823,34 +823,14 @@ class Gn {
823
823
  };
824
824
  }
825
825
  }
826
- const Wn = "@searchcraft/react-sdk", Vn = "Searchcraft", qn = "0.9.0", Yn = "Searchcraft React SDK.", Kn = "module", Xn = "Apache-2.0", Qn = ["searchcraft"], Jn = { build: "tsc && vite build && yarn docs", docs: "typedoc --options typedoc.json", lint: "biome format lint ./src", test: "vitest --watch=false", "test:watch": "vitest" }, Zn = { type: "git", url: "https://bitbucket.org/madebychalk/searchcraft-javascript-sdks/" }, eo = { node: ">=18.0.0", npm: ">=10.0.0" }, to = "dist/index.js", ro = "dist/index.js", ao = "dist/index.d.ts", so = ["dist/**/*"], no = { ".": { import: "./dist/index.js", types: "./dist/index.d.ts" } }, oo = { classnames: "^2.3.2" }, io = { react: "^18.3.1", "react-dom": "^18.3.1" }, co = { "@biomejs/biome": "^1.8.1", "@searchcraft/core": "^0.9.0", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.1", "@types/node": "^20.11.25", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", jsdom: "^24.0.0", react: "^18.3.1", "react-dom": "^18.3.1", sass: "^1.56.1" }, la = {
827
- name: Wn,
828
- private: !1,
829
- author: Vn,
830
- version: qn,
831
- description: Yn,
832
- type: Kn,
833
- license: Xn,
834
- keywords: Qn,
835
- scripts: Jn,
836
- repository: Zn,
837
- engines: eo,
838
- main: to,
839
- module: ro,
840
- types: ao,
841
- files: so,
842
- exports: no,
843
- dependencies: oo,
844
- peerDependencies: io,
845
- devDependencies: co
846
- }, lo = "searchcraft-javascript-sdk", je = (
826
+ const io = "searchcraft-javascript-sdk", je = (
847
827
  /* searchcraft-javascript-sdk */
848
828
  { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !1, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !0, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !1, svg: !0, taskQueue: !0, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !1, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
849
829
  );
850
- var uo = Object.defineProperty, ho = (e, t) => {
830
+ var co = Object.defineProperty, lo = (e, t) => {
851
831
  for (var r in t)
852
- uo(e, r, { get: t[r], enumerable: !0 });
853
- }, fo = "http://www.w3.org/2000/svg", po = "http://www.w3.org/1999/xhtml", mo = (e, t) => {
832
+ co(e, r, { get: t[r], enumerable: !0 });
833
+ }, uo = "http://www.w3.org/2000/svg", ho = "http://www.w3.org/1999/xhtml", fo = (e, t) => {
854
834
  var r;
855
835
  const a = t.$cmpMeta$;
856
836
  Object.entries((r = a.$members$) != null ? r : {}).map(([o, [s]]) => {
@@ -868,7 +848,7 @@ var uo = Object.defineProperty, ho = (e, t) => {
868
848
  }), e[o] = t.$instanceValues$.has(o) ? t.$instanceValues$.get(o) : c;
869
849
  }
870
850
  });
871
- }, cr = /* @__PURE__ */ new WeakMap(), go = (e) => cr.delete(e), Pe = (e) => cr.get(e), bo = (e, t) => {
851
+ }, hr = /* @__PURE__ */ new WeakMap(), po = (e) => hr.delete(e), Pe = (e) => hr.get(e), mo = (e, t) => {
872
852
  const r = {
873
853
  $flags$: 0,
874
854
  $hostElement$: e,
@@ -876,9 +856,9 @@ var uo = Object.defineProperty, ho = (e, t) => {
876
856
  $instanceValues$: /* @__PURE__ */ new Map()
877
857
  };
878
858
  r.$onReadyPromise$ = new Promise((n) => r.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [];
879
- const a = cr.set(e, r);
880
- return mo(e, r), a;
881
- }, ua = (e, t) => t in e, _t = (e, t) => (0, console.error)(e, t), At = typeof window < "u" ? window : {}, Be = At.document || { head: {} }, F = At.HTMLElement || class {
859
+ const a = hr.set(e, r);
860
+ return fo(e, r), a;
861
+ }, ha = (e, t) => t in e, _t = (e, t) => (0, console.error)(e, t), At = typeof window < "u" ? window : {}, Be = At.document || { head: {} }, F = At.HTMLElement || class {
882
862
  }, te = {
883
863
  $flags$: 0,
884
864
  $resourcesUrl$: "",
@@ -887,9 +867,9 @@ var uo = Object.defineProperty, ho = (e, t) => {
887
867
  ael: (e, t, r, a) => e.addEventListener(t, r, a),
888
868
  rel: (e, t, r, a) => e.removeEventListener(t, r, a),
889
869
  ce: (e, t) => new CustomEvent(e, t)
890
- }, vo = je.shadowDom, yo = (e) => Promise.resolve(e), rr = !1, ha = [], Na = [], So = (e, t) => (r) => {
891
- e.push(r), rr || (rr = !0, te.$flags$ & 4 ? lr(ar) : te.raf(ar));
892
- }, fa = (e) => {
870
+ }, go = je.shadowDom, bo = (e) => Promise.resolve(e), nr = !1, fa = [], za = [], vo = (e, t) => (r) => {
871
+ e.push(r), nr || (nr = !0, te.$flags$ & 4 ? fr(or) : te.raf(or));
872
+ }, da = (e) => {
893
873
  for (let t = 0; t < e.length; t++)
894
874
  try {
895
875
  e[t](performance.now());
@@ -897,70 +877,70 @@ var uo = Object.defineProperty, ho = (e, t) => {
897
877
  _t(r);
898
878
  }
899
879
  e.length = 0;
900
- }, ar = () => {
901
- fa(ha), fa(Na), (rr = ha.length > 0) && te.raf(ar);
902
- }, lr = (e) => yo().then(e), wo = /* @__PURE__ */ So(Na), ur = (e) => (e = typeof e, e === "object" || e === "function"), Eo = {};
903
- ho(Eo, {
904
- err: () => Ua,
905
- map: () => Ro,
906
- ok: () => sr,
907
- unwrap: () => ko,
908
- unwrapErr: () => Po
880
+ }, or = () => {
881
+ da(fa), da(za), (nr = fa.length > 0) && te.raf(or);
882
+ }, fr = (e) => bo().then(e), yo = /* @__PURE__ */ vo(za), dr = (e) => (e = typeof e, e === "object" || e === "function"), So = {};
883
+ lo(So, {
884
+ err: () => Ha,
885
+ map: () => wo,
886
+ ok: () => ir,
887
+ unwrap: () => Eo,
888
+ unwrapErr: () => Ro
909
889
  });
910
- var sr = (e) => ({
890
+ var ir = (e) => ({
911
891
  isOk: !0,
912
892
  isErr: !1,
913
893
  value: e
914
- }), Ua = (e) => ({
894
+ }), Ha = (e) => ({
915
895
  isOk: !1,
916
896
  isErr: !0,
917
897
  value: e
918
898
  });
919
- function Ro(e, t) {
899
+ function wo(e, t) {
920
900
  if (e.isOk) {
921
901
  const r = t(e.value);
922
- return r instanceof Promise ? r.then((a) => sr(a)) : sr(r);
902
+ return r instanceof Promise ? r.then((a) => ir(a)) : ir(r);
923
903
  }
924
904
  if (e.isErr) {
925
905
  const r = e.value;
926
- return Ua(r);
906
+ return Ha(r);
927
907
  }
928
908
  throw "should never get here";
929
909
  }
930
- var ko = (e) => {
910
+ var Eo = (e) => {
931
911
  if (e.isOk)
932
912
  return e.value;
933
913
  throw e.value;
934
- }, Po = (e) => {
914
+ }, Ro = (e) => {
935
915
  if (e.isErr)
936
916
  return e.value;
937
917
  throw e.value;
938
- }, za = (e) => {
918
+ }, Ba = (e) => {
939
919
  const t = e.__childNodes || e.childNodes;
940
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Ha(t, e.tagName).forEach((r) => {
920
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && ja(t, e.tagName).forEach((r) => {
941
921
  var a;
942
- r.nodeType === 1 && r.tagName === "SLOT-FB" && ((a = Co(r, r["s-sn"], !1)) != null && a.length ? r.hidden = !0 : r.hidden = !1);
922
+ r.nodeType === 1 && r.tagName === "SLOT-FB" && ((a = ko(r, r["s-sn"], !1)) != null && a.length ? r.hidden = !0 : r.hidden = !1);
943
923
  });
944
924
  for (const r of t)
945
- r.nodeType === 1 && (r.__childNodes || r.childNodes).length && za(r);
925
+ r.nodeType === 1 && (r.__childNodes || r.childNodes).length && Ba(r);
946
926
  };
947
- function Ha(e, t, r) {
927
+ function ja(e, t, r) {
948
928
  let a = 0, n = [], o;
949
929
  for (; a < e.length; a++)
950
- o = e[a], o["s-sr"] && o["s-hn"] === t && r === void 0 && n.push(o), n = [...n, ...Ha(o.childNodes, t, r)];
930
+ o = e[a], o["s-sr"] && o["s-hn"] === t && r === void 0 && n.push(o), n = [...n, ...ja(o.childNodes, t, r)];
951
931
  return n;
952
932
  }
953
- var Co = (e, t, r = !0) => {
933
+ var ko = (e, t, r = !0) => {
954
934
  const a = [];
955
935
  for ((r && e["s-sr"] || !e["s-sr"]) && a.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
956
936
  a.push(e);
957
937
  return a;
958
- }, da = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", st = (e, t = "") => () => {
938
+ }, pa = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", st = (e, t = "") => () => {
959
939
  }, d = (e, t, ...r) => {
960
940
  let a = null, n = null, o = null, s = !1, c = !1;
961
941
  const u = [], l = (p) => {
962
942
  for (let g = 0; g < p.length; g++)
963
- a = p[g], Array.isArray(a) ? l(a) : a != null && typeof a != "boolean" && ((s = typeof e != "function" && !ur(a)) && (a = String(a)), s && c ? u[u.length - 1].$text$ += a : u.push(s ? Ct(null, a) : a), c = s);
943
+ a = p[g], Array.isArray(a) ? l(a) : a != null && typeof a != "boolean" && ((s = typeof e != "function" && !dr(a)) && (a = String(a)), s && c ? u[u.length - 1].$text$ += a : u.push(s ? Ct(null, a) : a), c = s);
964
944
  };
965
945
  if (l(r), t) {
966
946
  t.key && (n = t.key), t.name && (o = t.name);
@@ -973,7 +953,7 @@ var Co = (e, t, r = !0) => {
973
953
  return e(
974
954
  t === null ? {} : t,
975
955
  u,
976
- $o
956
+ xo
977
957
  );
978
958
  const i = Ct(e, null);
979
959
  return i.$attrs$ = t, u.length > 0 && (i.$children$ = u), i.$key$ = n, i.$name$ = o, i;
@@ -986,42 +966,42 @@ var Co = (e, t, r = !0) => {
986
966
  $children$: null
987
967
  };
988
968
  return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
989
- }, xo = {}, To = (e) => e && e.$tag$ === xo, $o = {
990
- forEach: (e, t) => e.map(pa).forEach(t),
991
- map: (e, t) => e.map(pa).map(t).map(_o)
992
- }, pa = (e) => ({
969
+ }, Po = {}, Co = (e) => e && e.$tag$ === Po, xo = {
970
+ forEach: (e, t) => e.map(ma).forEach(t),
971
+ map: (e, t) => e.map(ma).map(t).map(To)
972
+ }, ma = (e) => ({
993
973
  vattrs: e.$attrs$,
994
974
  vchildren: e.$children$,
995
975
  vkey: e.$key$,
996
976
  vname: e.$name$,
997
977
  vtag: e.$tag$,
998
978
  vtext: e.$text$
999
- }), _o = (e) => {
979
+ }), To = (e) => {
1000
980
  if (typeof e.vtag == "function") {
1001
981
  const r = { ...e.vattrs };
1002
982
  return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), d(e.vtag, r, ...e.vchildren || []);
1003
983
  }
1004
984
  const t = Ct(e.vtag, e.vtext);
1005
985
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
1006
- }, Ba = (e, t) => e != null && !ur(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ao = (e) => e, Re = (e, t, r) => {
1007
- const a = Ao(e);
986
+ }, Ga = (e, t) => e != null && !dr(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, $o = (e) => e, Re = (e, t, r) => {
987
+ const a = $o(e);
1008
988
  return {
1009
- emit: (n) => ja(a, t, {
989
+ emit: (n) => Wa(a, t, {
1010
990
  bubbles: !0,
1011
991
  composed: !0,
1012
992
  cancelable: !0,
1013
993
  detail: n
1014
994
  })
1015
995
  };
1016
- }, ja = (e, t, r) => {
996
+ }, Wa = (e, t, r) => {
1017
997
  const a = te.ce(t, r);
1018
998
  return e.dispatchEvent(a), a;
1019
- }, St = /* @__PURE__ */ new WeakMap(), ma = (e, t, r, a, n, o) => {
999
+ }, St = /* @__PURE__ */ new WeakMap(), ga = (e, t, r, a, n, o) => {
1020
1000
  if (r !== a) {
1021
- let s = ua(e, t), c = t.toLowerCase();
1001
+ let s = ha(e, t), c = t.toLowerCase();
1022
1002
  if (t === "class") {
1023
- const u = e.classList, l = ga(r);
1024
- let i = ga(a);
1003
+ const u = e.classList, l = ba(r);
1004
+ let i = ba(a);
1025
1005
  e["s-si"] ? (i.push(e["s-si"]), l.forEach((p) => {
1026
1006
  p.startsWith(e["s-si"]) && i.push(p);
1027
1007
  }), i = [...new Set(i)], u.add(...i), delete e["s-si"]) : (u.remove(...l.filter((p) => p && !i.includes(p))), u.add(...i.filter((p) => p && !l.includes(p))));
@@ -1031,12 +1011,12 @@ var Co = (e, t, r = !0) => {
1031
1011
  for (const u in a)
1032
1012
  (!r || a[u] !== r[u]) && (u.includes("-") ? e.style.setProperty(u, a[u]) : e.style[u] = a[u]);
1033
1013
  } else if (t !== "key") if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
1034
- if (t[2] === "-" ? t = t.slice(3) : ua(At, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || a) {
1035
- const u = t.endsWith(Ga);
1036
- t = t.replace(Mo, ""), r && te.rel(e, t, r, u), a && te.ael(e, t, a, u);
1014
+ if (t[2] === "-" ? t = t.slice(3) : ha(At, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || a) {
1015
+ const u = t.endsWith(Va);
1016
+ t = t.replace(Ao, ""), r && te.rel(e, t, r, u), a && te.ael(e, t, a, u);
1037
1017
  }
1038
1018
  } else {
1039
- const u = ur(a);
1019
+ const u = dr(a);
1040
1020
  if ((s || u && a !== null) && !n)
1041
1021
  try {
1042
1022
  if (e.tagName.includes("-"))
@@ -1050,14 +1030,14 @@ var Co = (e, t, r = !0) => {
1050
1030
  a == null || a === !1 ? (a !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!s || o & 4 || n) && !u && (a = a === !0 ? "" : a, e.setAttribute(t, a));
1051
1031
  }
1052
1032
  }
1053
- }, Io = /\s/, ga = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(Io) : []), Ga = "Capture", Mo = new RegExp(Ga + "$"), Wa = (e, t, r) => {
1033
+ }, _o = /\s/, ba = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(_o) : []), Va = "Capture", Ao = new RegExp(Va + "$"), qa = (e, t, r) => {
1054
1034
  const a = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || {}, o = t.$attrs$ || {};
1055
- for (const s of ba(Object.keys(n)))
1056
- s in o || ma(a, s, n[s], void 0, r, t.$flags$);
1057
- for (const s of ba(Object.keys(o)))
1058
- ma(a, s, n[s], o[s], r, t.$flags$);
1035
+ for (const s of va(Object.keys(n)))
1036
+ s in o || ga(a, s, n[s], void 0, r, t.$flags$);
1037
+ for (const s of va(Object.keys(o)))
1038
+ ga(a, s, n[s], o[s], r, t.$flags$);
1059
1039
  };
1060
- function ba(e) {
1040
+ function va(e) {
1061
1041
  return e.includes("ref") ? (
1062
1042
  // we need to sort these to ensure that `'ref'` is the last attr
1063
1043
  [...e.filter((t) => t !== "ref"), "ref"]
@@ -1066,11 +1046,11 @@ function ba(e) {
1066
1046
  e
1067
1047
  );
1068
1048
  }
1069
- var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1049
+ var cr, pr, xt = !1, Tt = !1, mr = !1, ae = !1, $t = (e, t, r) => {
1070
1050
  var a;
1071
1051
  const n = t.$children$[r];
1072
1052
  let o = 0, s, c, u;
1073
- if (xt || (fr = !0, n.$tag$ === "slot" && (n.$flags$ |= n.$children$ ? (
1053
+ if (xt || (mr = !0, n.$tag$ === "slot" && (n.$flags$ |= n.$children$ ? (
1074
1054
  // slot element has fallback content
1075
1055
  // still create an element that "mocks" the slot element
1076
1056
  2
@@ -1085,28 +1065,28 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1085
1065
  s = n.$elm$ = Be.createTextNode("");
1086
1066
  else {
1087
1067
  if (ae || (ae = n.$tag$ === "svg"), s = n.$elm$ = Be.createElementNS(
1088
- ae ? fo : po,
1068
+ ae ? uo : ho,
1089
1069
  !xt && je.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
1090
- ), ae && n.$tag$ === "foreignObject" && (ae = !1), Wa(null, n, ae), n.$children$)
1070
+ ), ae && n.$tag$ === "foreignObject" && (ae = !1), qa(null, n, ae), n.$children$)
1091
1071
  for (o = 0; o < n.$children$.length; ++o)
1092
1072
  c = $t(e, n, o), c && s.appendChild(c);
1093
1073
  n.$tag$ === "svg" ? ae = !1 : s.tagName === "foreignObject" && (ae = !0);
1094
1074
  }
1095
- return s["s-hn"] = hr, n.$flags$ & 3 && (s["s-sr"] = !0, s["s-cr"] = nr, s["s-sn"] = n.$name$ || "", s["s-rf"] = (a = n.$attrs$) == null ? void 0 : a.ref, u = e && e.$children$ && e.$children$[r], u && u.$tag$ === n.$tag$ && e.$elm$ && nt(e.$elm$, !1)), s;
1075
+ return s["s-hn"] = pr, n.$flags$ & 3 && (s["s-sr"] = !0, s["s-cr"] = cr, s["s-sn"] = n.$name$ || "", s["s-rf"] = (a = n.$attrs$) == null ? void 0 : a.ref, u = e && e.$children$ && e.$children$[r], u && u.$tag$ === n.$tag$ && e.$elm$ && nt(e.$elm$, !1)), s;
1096
1076
  }, nt = (e, t) => {
1097
1077
  te.$flags$ |= 1;
1098
1078
  const r = Array.from(e.__childNodes || e.childNodes);
1099
1079
  e["s-sr"] && je.experimentalSlotFixes;
1100
1080
  for (let a = r.length - 1; a >= 0; a--) {
1101
1081
  const n = r[a];
1102
- n["s-hn"] !== hr && n["s-ol"] && (ke(ot(n).parentNode, n, ot(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, fr = !0), t && nt(n, t);
1082
+ n["s-hn"] !== pr && n["s-ol"] && (ke(ot(n).parentNode, n, ot(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, mr = !0), t && nt(n, t);
1103
1083
  }
1104
1084
  te.$flags$ &= -2;
1105
- }, Va = (e, t, r, a, n, o) => {
1085
+ }, Ya = (e, t, r, a, n, o) => {
1106
1086
  let s = e["s-cr"] && e["s-cr"].parentNode || e, c;
1107
1087
  for (; n <= o; ++n)
1108
1088
  a[n] && (c = $t(null, r, n), c && (a[n].$elm$ = c, ke(s, c, ot(t))));
1109
- }, qa = (e, t, r) => {
1089
+ }, Ka = (e, t, r) => {
1110
1090
  for (let a = t; a <= r; ++a) {
1111
1091
  const n = e[a];
1112
1092
  if (n) {
@@ -1114,7 +1094,7 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1114
1094
  o && (Tt = !0, o["s-ol"] ? o["s-ol"].remove() : nt(o, !0), o.remove());
1115
1095
  }
1116
1096
  }
1117
- }, Lo = (e, t, r, a, n = !1) => {
1097
+ }, Io = (e, t, r, a, n = !1) => {
1118
1098
  let o = 0, s = 0, c = 0, u = 0, l = t.length - 1, i = t[0], p = t[l], g = a.length - 1, b = a[0], w = a[g], N, fe;
1119
1099
  for (; o <= l && s <= g; )
1120
1100
  if (i == null)
@@ -1145,22 +1125,22 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1145
1125
  ot(i.$elm$)
1146
1126
  );
1147
1127
  }
1148
- o > l ? Va(
1128
+ o > l ? Ya(
1149
1129
  e,
1150
1130
  a[g + 1] == null ? null : a[g + 1].$elm$,
1151
1131
  r,
1152
1132
  a,
1153
1133
  s,
1154
1134
  g
1155
- ) : s > g && qa(t, o, l);
1135
+ ) : s > g && Ka(t, o, l);
1156
1136
  }, wt = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, ot = (e) => e && e["s-ol"] || e, ze = (e, t, r = !1) => {
1157
1137
  const a = t.$elm$ = e.$elm$, n = e.$children$, o = t.$children$, s = t.$tag$, c = t.$text$;
1158
1138
  let u;
1159
- c === null ? (ae = s === "svg" ? !0 : s === "foreignObject" ? !1 : ae, s === "slot" && !xt || Wa(e, t, ae), n !== null && o !== null ? Lo(a, n, t, o, r) : o !== null ? (e.$text$ !== null && (a.textContent = ""), Va(a, null, t, o, 0, o.length - 1)) : (
1139
+ c === null ? (ae = s === "svg" ? !0 : s === "foreignObject" ? !1 : ae, s === "slot" && !xt || qa(e, t, ae), n !== null && o !== null ? Io(a, n, t, o, r) : o !== null ? (e.$text$ !== null && (a.textContent = ""), Ya(a, null, t, o, 0, o.length - 1)) : (
1160
1140
  // don't do this on initial render as it can cause non-hydrated content to be removed
1161
- !r && je.updatable && n !== null && qa(n, 0, n.length - 1)
1141
+ !r && je.updatable && n !== null && Ka(n, 0, n.length - 1)
1162
1142
  ), ae && s === "svg" && (ae = !1)) : (u = a["s-cr"]) ? u.parentNode.textContent = c : e.$text$ !== c && (a.data = c);
1163
- }, ge = [], Ya = (e) => {
1143
+ }, ge = [], Xa = (e) => {
1164
1144
  let t, r, a;
1165
1145
  const n = e.__childNodes || e.childNodes;
1166
1146
  for (const o of n) {
@@ -1169,30 +1149,30 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1169
1149
  const s = o["s-sn"];
1170
1150
  for (a = r.length - 1; a >= 0; a--)
1171
1151
  if (t = r[a], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== o["s-hn"])
1172
- if (da(t, s)) {
1152
+ if (pa(t, s)) {
1173
1153
  let c = ge.find((u) => u.$nodeToRelocate$ === t);
1174
1154
  Tt = !0, t["s-sn"] = t["s-sn"] || s, c ? (c.$nodeToRelocate$["s-sh"] = o["s-hn"], c.$slotRefNode$ = o) : (t["s-sh"] = o["s-hn"], ge.push({
1175
1155
  $slotRefNode$: o,
1176
1156
  $nodeToRelocate$: t
1177
1157
  })), t["s-sr"] && ge.map((u) => {
1178
- da(u.$nodeToRelocate$, t["s-sn"]) && (c = ge.find((l) => l.$nodeToRelocate$ === t), c && !u.$slotRefNode$ && (u.$slotRefNode$ = c.$slotRefNode$));
1158
+ pa(u.$nodeToRelocate$, t["s-sn"]) && (c = ge.find((l) => l.$nodeToRelocate$ === t), c && !u.$slotRefNode$ && (u.$slotRefNode$ = c.$slotRefNode$));
1179
1159
  });
1180
1160
  } else ge.some((c) => c.$nodeToRelocate$ === t) || ge.push({
1181
1161
  $nodeToRelocate$: t
1182
1162
  });
1183
1163
  }
1184
- o.nodeType === 1 && Ya(o);
1164
+ o.nodeType === 1 && Xa(o);
1185
1165
  }
1186
- }, ke = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Oo = (e, t, r = !1) => {
1166
+ }, ke = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Mo = (e, t, r = !1) => {
1187
1167
  var a, n, o, s;
1188
- const c = e.$hostElement$, u = e.$vnode$ || Ct(null, null), l = To(t) ? t : d(null, null, t);
1189
- if (hr = c.tagName, r && l.$attrs$)
1168
+ const c = e.$hostElement$, u = e.$vnode$ || Ct(null, null), l = Co(t) ? t : d(null, null, t);
1169
+ if (pr = c.tagName, r && l.$attrs$)
1190
1170
  for (const i of Object.keys(l.$attrs$))
1191
1171
  c.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = c[i]);
1192
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = u.$elm$ = c, xt = vo, nr = c["s-cr"], Tt = !1, ze(u, l, r);
1172
+ l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = u.$elm$ = c, xt = go, cr = c["s-cr"], Tt = !1, ze(u, l, r);
1193
1173
  {
1194
- if (te.$flags$ |= 1, fr) {
1195
- Ya(l.$elm$);
1174
+ if (te.$flags$ |= 1, mr) {
1175
+ Xa(l.$elm$);
1196
1176
  for (const i of ge) {
1197
1177
  const p = i.$nodeToRelocate$;
1198
1178
  if (!p["s-ol"]) {
@@ -1226,10 +1206,10 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1226
1206
  p.nodeType === 1 && (r && (p["s-ih"] = (s = p.hidden) != null ? s : !1), p.hidden = !0);
1227
1207
  }
1228
1208
  }
1229
- Tt && za(l.$elm$), te.$flags$ &= -2, ge.length = 0;
1209
+ Tt && Ba(l.$elm$), te.$flags$ &= -2, ge.length = 0;
1230
1210
  }
1231
- nr = void 0;
1232
- }, Ka = (e, t) => {
1211
+ cr = void 0;
1212
+ }, Qa = (e, t) => {
1233
1213
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
1234
1214
  const r = t["s-p"].push(
1235
1215
  new Promise(
@@ -1239,55 +1219,55 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1239
1219
  )
1240
1220
  );
1241
1221
  }
1242
- }, dr = (e, t) => {
1222
+ }, gr = (e, t) => {
1243
1223
  if (e.$flags$ |= 16, e.$flags$ & 4) {
1244
1224
  e.$flags$ |= 512;
1245
1225
  return;
1246
1226
  }
1247
- return Ka(e, e.$ancestorComponent$), wo(() => Fo(e, t));
1248
- }, Fo = (e, t) => {
1227
+ return Qa(e, e.$ancestorComponent$), yo(() => Lo(e, t));
1228
+ }, Lo = (e, t) => {
1249
1229
  const r = e.$hostElement$, a = st("scheduleUpdate", e.$cmpMeta$.$tagName$), n = r;
1250
1230
  if (!n)
1251
1231
  throw new Error(
1252
1232
  `Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
1253
1233
  );
1254
1234
  let o;
1255
- return a(), Do(o, () => Uo(e, n, t));
1256
- }, Do = (e, t) => No(e) ? e.then(t).catch((r) => {
1235
+ return a(), Oo(o, () => Do(e, n, t));
1236
+ }, Oo = (e, t) => Fo(e) ? e.then(t).catch((r) => {
1257
1237
  console.error(r), t();
1258
- }) : t(), No = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Uo = async (e, t, r) => {
1238
+ }) : t(), Fo = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Do = async (e, t, r) => {
1259
1239
  var a;
1260
1240
  const n = e.$hostElement$, o = st("update", e.$cmpMeta$.$tagName$), s = n["s-rc"], c = st("render", e.$cmpMeta$.$tagName$);
1261
- zo(e, t, n, r), s && (s.map((u) => u()), n["s-rc"] = void 0), c(), o();
1241
+ No(e, t, n, r), s && (s.map((u) => u()), n["s-rc"] = void 0), c(), o();
1262
1242
  {
1263
- const u = (a = n["s-p"]) != null ? a : [], l = () => Ho(e);
1243
+ const u = (a = n["s-p"]) != null ? a : [], l = () => Uo(e);
1264
1244
  u.length === 0 ? l() : (Promise.all(u).then(l), e.$flags$ |= 4, u.length = 0);
1265
1245
  }
1266
- }, zo = (e, t, r, a) => {
1246
+ }, No = (e, t, r, a) => {
1267
1247
  try {
1268
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Oo(e, t, a);
1248
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Mo(e, t, a);
1269
1249
  } catch (n) {
1270
1250
  _t(n, e.$hostElement$);
1271
1251
  }
1272
1252
  return null;
1273
- }, Ho = (e) => {
1253
+ }, Uo = (e) => {
1274
1254
  const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, a = st("postUpdate", t), n = r, o = e.$ancestorComponent$;
1275
- e.$flags$ & 64 ? a() : (e.$flags$ |= 64, Xa(r), jo(n, "componentDidLoad", void 0, r), a(), e.$onReadyResolve$(r), o || Bo()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && lr(() => dr(e, !1)), e.$flags$ &= -517;
1276
- }, Bo = (e) => {
1277
- Xa(Be.documentElement), lr(() => ja(At, "appload", { detail: { namespace: lo } }));
1278
- }, jo = (e, t, r, a) => {
1255
+ e.$flags$ & 64 ? a() : (e.$flags$ |= 64, Ja(r), Ho(n, "componentDidLoad", void 0, r), a(), e.$onReadyResolve$(r), o || zo()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && fr(() => gr(e, !1)), e.$flags$ &= -517;
1256
+ }, zo = (e) => {
1257
+ Ja(Be.documentElement), fr(() => Wa(At, "appload", { detail: { namespace: io } }));
1258
+ }, Ho = (e, t, r, a) => {
1279
1259
  if (e && e[t])
1280
1260
  try {
1281
1261
  return e[t](r);
1282
1262
  } catch (n) {
1283
1263
  _t(n, a);
1284
1264
  }
1285
- }, Xa = (e) => {
1265
+ }, Ja = (e) => {
1286
1266
  var t;
1287
1267
  return e.classList.add((t = je.hydratedSelectorName) != null ? t : "hydrated");
1288
- }, Go = (e, t) => Pe(e).$instanceValues$.get(t), va = (e, t, r, a) => {
1268
+ }, Bo = (e, t) => Pe(e).$instanceValues$.get(t), ya = (e, t, r, a) => {
1289
1269
  const n = Pe(e), o = e, s = n.$instanceValues$.get(t), c = n.$flags$, u = o;
1290
- r = Ba(r, a.$members$[t][0]);
1270
+ r = Ga(r, a.$members$[t][0]);
1291
1271
  const l = Number.isNaN(s) && Number.isNaN(r);
1292
1272
  if (r !== s && !l) {
1293
1273
  n.$instanceValues$.set(t, r);
@@ -1302,10 +1282,10 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1302
1282
  }
1303
1283
  });
1304
1284
  }
1305
- (c & 18) === 2 && dr(n, !1);
1285
+ (c & 18) === 2 && gr(n, !1);
1306
1286
  }
1307
1287
  }
1308
- }, Wo = (e, t, r) => {
1288
+ }, jo = (e, t, r) => {
1309
1289
  var a, n;
1310
1290
  const o = e.prototype;
1311
1291
  if (t.$members$ || t.$watchers$ || e.watchers) {
@@ -1316,7 +1296,7 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1316
1296
  const { get: l, set: i } = Object.getOwnPropertyDescriptor(o, c) || {};
1317
1297
  l && (t.$members$[c][0] |= 2048), i && (t.$members$[c][0] |= 4096), Object.defineProperty(o, c, {
1318
1298
  get() {
1319
- return l ? l.apply(this) : Go(this, c);
1299
+ return l ? l.apply(this) : Bo(this, c);
1320
1300
  },
1321
1301
  configurable: !0,
1322
1302
  enumerable: !0
@@ -1325,11 +1305,11 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1325
1305
  const g = Pe(this);
1326
1306
  if (i) {
1327
1307
  const b = u & 32 ? this[c] : g.$hostElement$[c];
1328
- typeof b > "u" && g.$instanceValues$.get(c) ? p = g.$instanceValues$.get(c) : !g.$instanceValues$.get(c) && b && g.$instanceValues$.set(c, b), i.apply(this, [Ba(p, u)]), p = u & 32 ? this[c] : g.$hostElement$[c], va(this, c, p, t);
1308
+ typeof b > "u" && g.$instanceValues$.get(c) ? p = g.$instanceValues$.get(c) : !g.$instanceValues$.get(c) && b && g.$instanceValues$.set(c, b), i.apply(this, [Ga(p, u)]), p = u & 32 ? this[c] : g.$hostElement$[c], ya(this, c, p, t);
1329
1309
  return;
1330
1310
  }
1331
1311
  {
1332
- va(this, c, p, t);
1312
+ ya(this, c, p, t);
1333
1313
  return;
1334
1314
  }
1335
1315
  }
@@ -1375,7 +1355,7 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1375
1355
  }
1376
1356
  }
1377
1357
  return e;
1378
- }, Vo = async (e, t, r, a) => {
1358
+ }, Go = async (e, t, r, a) => {
1379
1359
  if (!(t.$flags$ & 32)) {
1380
1360
  t.$flags$ |= 32;
1381
1361
  {
@@ -1386,22 +1366,22 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1386
1366
  );
1387
1367
  }
1388
1368
  }
1389
- const n = t.$ancestorComponent$, o = () => dr(t, !0);
1369
+ const n = t.$ancestorComponent$, o = () => gr(t, !0);
1390
1370
  n && n["s-rc"] ? n["s-rc"].push(o) : o();
1391
- }, qo = (e, t) => {
1392
- }, Yo = (e) => {
1371
+ }, Wo = (e, t) => {
1372
+ }, Vo = (e) => {
1393
1373
  if (!(te.$flags$ & 1)) {
1394
1374
  const t = Pe(e), r = t.$cmpMeta$, a = st("connectedCallback", r.$tagName$);
1395
1375
  if (t.$flags$ & 1)
1396
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => qo());
1376
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Wo());
1397
1377
  else {
1398
1378
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1399
- r.$flags$ & 12 && Ko(e);
1379
+ r.$flags$ & 12 && qo(e);
1400
1380
  {
1401
1381
  let n = e;
1402
1382
  for (; n = n.parentNode || n.host; )
1403
1383
  if (n["s-p"]) {
1404
- Ka(t, t.$ancestorComponent$ = n);
1384
+ Qa(t, t.$ancestorComponent$ = n);
1405
1385
  break;
1406
1386
  }
1407
1387
  }
@@ -1410,16 +1390,16 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1410
1390
  const s = e[n];
1411
1391
  delete e[n], e[n] = s;
1412
1392
  }
1413
- }), Vo(e, t);
1393
+ }), Go(e, t);
1414
1394
  }
1415
1395
  a();
1416
1396
  }
1417
- }, Ko = (e) => {
1397
+ }, qo = (e) => {
1418
1398
  const t = e["s-cr"] = Be.createComment(
1419
1399
  ""
1420
1400
  );
1421
1401
  t["s-cn"] = !0, ke(e, t, e.firstChild);
1422
- }, Xo = async (e) => {
1402
+ }, Yo = async (e) => {
1423
1403
  te.$flags$ & 1 || Pe(e), St.has(e) && St.delete(e), e.shadowRoot && St.has(e.shadowRoot) && St.delete(e.shadowRoot);
1424
1404
  }, D = (e, t) => {
1425
1405
  const r = {
@@ -1431,26 +1411,26 @@ var nr, hr, xt = !1, Tt = !1, fr = !1, ae = !1, $t = (e, t, r) => {
1431
1411
  return Object.assign(e.prototype, {
1432
1412
  __hasHostListenerAttached: !1,
1433
1413
  __registerHost() {
1434
- bo(this, r);
1414
+ mo(this, r);
1435
1415
  },
1436
1416
  connectedCallback() {
1437
- this.__hasHostListenerAttached || (Pe(this), this.__hasHostListenerAttached = !0), Yo(this), a && a.call(this);
1417
+ this.__hasHostListenerAttached || (Pe(this), this.__hasHostListenerAttached = !0), Vo(this), a && a.call(this);
1438
1418
  },
1439
1419
  disconnectedCallback() {
1440
- Xo(this), n && n.call(this), te.raf(() => {
1420
+ Yo(this), n && n.call(this), te.raf(() => {
1441
1421
  var o;
1442
1422
  const s = Pe(this);
1443
- ((o = s == null ? void 0 : s.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !s.$vnode$.$elm$.isConnected && delete s.$vnode$, this instanceof Node && !this.isConnected && go(this);
1423
+ ((o = s == null ? void 0 : s.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !s.$vnode$.$elm$.isConnected && delete s.$vnode$, this instanceof Node && !this.isConnected && po(this);
1444
1424
  });
1445
1425
  },
1446
1426
  __attachShadow() {
1447
1427
  this.shadowRoot = this;
1448
1428
  }
1449
- }), e.is = r.$tagName$, Wo(e, r);
1450
- }, pr = (e, t) => t, Qo = Object.defineProperty, Jo = (e, t, r) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ya = (e, t, r) => Jo(e, typeof t != "symbol" ? t + "" : t, r), _e = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(_e || {});
1451
- class Zo {
1429
+ }), e.is = r.$tagName$, jo(e, r);
1430
+ }, br = (e, t) => t, Ko = Object.defineProperty, Xo = (e, t, r) => t in e ? Ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sa = (e, t, r) => Xo(e, typeof t != "symbol" ? t + "" : t, r), _e = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(_e || {});
1431
+ class Qo {
1452
1432
  constructor(t) {
1453
- ya(this, "logLevel"), ya(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
1433
+ Sa(this, "logLevel"), Sa(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
1454
1434
  }
1455
1435
  defaultFormatter(t, r) {
1456
1436
  return `[${_e[t]}] ${(/* @__PURE__ */ new Date()).toISOString()}: ${r}`;
@@ -1568,8 +1548,8 @@ function Ie(e, t) {
1568
1548
  };
1569
1549
  }
1570
1550
  }
1571
- var Et = { exclude: [] }, ei = {}, le = function(e, t) {
1572
- typeof window < "u" && (ei[e] = t);
1551
+ var Et = { exclude: [] }, Jo = {}, le = function(e, t) {
1552
+ typeof window < "u" && (Jo[e] = t);
1573
1553
  };
1574
1554
  function Rt(e) {
1575
1555
  return e ^= e >>> 16, e = Math.imul(e, 2246822507), e ^= e >>> 13, e = Math.imul(e, 3266489909), (e ^= e >>> 16) >>> 0;
@@ -1578,7 +1558,7 @@ var V = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
1578
1558
  function ne(e, t) {
1579
1559
  return e << t | e >>> 32 - t;
1580
1560
  }
1581
- function Qa(e, t) {
1561
+ function Za(e, t) {
1582
1562
  var r;
1583
1563
  if (t === void 0 && (t = 0), t = t ? 0 | t : 0, typeof e == "string" && (r = e, e = new TextEncoder().encode(r).buffer), !(e instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
1584
1564
  var a = new Uint32Array([t, t, t, t]);
@@ -1629,19 +1609,19 @@ function Qa(e, t) {
1629
1609
  return o.toString(16).padStart(2, "0");
1630
1610
  }).join("");
1631
1611
  }
1632
- function ti(e) {
1612
+ function Zo(e) {
1633
1613
  for (var t = 0, r = 0; r < e.length; ++r) t += Math.abs(e[r]);
1634
1614
  return t;
1635
1615
  }
1636
- function Ja(e, t, r) {
1616
+ function es(e, t, r) {
1637
1617
  for (var a = [], n = 0; n < e[0].data.length; n++) {
1638
1618
  for (var o = [], s = 0; s < e.length; s++) o.push(e[s].data[n]);
1639
- a.push(ri(o));
1619
+ a.push(ei(o));
1640
1620
  }
1641
1621
  var c = new Uint8ClampedArray(a);
1642
1622
  return new ImageData(c, t, r);
1643
1623
  }
1644
- function ri(e) {
1624
+ function ei(e) {
1645
1625
  if (e.length === 0) return 0;
1646
1626
  for (var t = {}, r = 0, a = e; r < a.length; r++)
1647
1627
  t[o = a[r]] = (t[o] || 0) + 1;
@@ -1666,7 +1646,7 @@ le("audio", function() {
1666
1646
  o.frequency.value = 1e3;
1667
1647
  var s, c = a.createDynamicsCompressor();
1668
1648
  c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(a.destination), o.start(), a.oncomplete = function(u) {
1669
- s = u.renderedBuffer.getChannelData(0), t({ sampleHash: ti(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
1649
+ s = u.renderedBuffer.getChannelData(0), t({ sampleHash: Zo(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
1670
1650
  }, a.startRendering();
1671
1651
  } catch (u) {
1672
1652
  console.error("Error creating audio fingerprint:", u), r(u);
@@ -1675,14 +1655,14 @@ le("audio", function() {
1675
1655
  });
1676
1656
  });
1677
1657
  });
1678
- var ai = it().name !== "SamsungBrowser" ? 1 : 3, Sa = 280, wa = 20;
1658
+ var ti = it().name !== "SamsungBrowser" ? 1 : 3, wa = 280, Ea = 20;
1679
1659
  it().name != "Firefox" && le("canvas", function() {
1680
1660
  return document.createElement("canvas").getContext("2d"), new Promise(function(e) {
1681
- var t = Array.from({ length: ai }, function() {
1661
+ var t = Array.from({ length: ti }, function() {
1682
1662
  return function() {
1683
1663
  var r = document.createElement("canvas"), a = r.getContext("2d");
1684
1664
  if (!a) return new ImageData(1, 1);
1685
- r.width = Sa, r.height = wa;
1665
+ r.width = wa, r.height = Ea;
1686
1666
  var n = a.createLinearGradient(0, 0, r.width, r.height);
1687
1667
  n.addColorStop(0, "red"), n.addColorStop(0.16666666666666666, "orange"), n.addColorStop(0.3333333333333333, "yellow"), n.addColorStop(0.5, "green"), n.addColorStop(0.6666666666666666, "blue"), n.addColorStop(0.8333333333333334, "indigo"), n.addColorStop(1, "violet"), a.fillStyle = n, a.fillRect(0, 0, r.width, r.height);
1688
1668
  var o = "Random Text WMwmil10Oo";
@@ -1691,15 +1671,15 @@ it().name != "Firefox" && le("canvas", function() {
1691
1671
  return s;
1692
1672
  }();
1693
1673
  });
1694
- e({ commonImageDataHash: Qa(Ja(t, Sa, wa).data.toString()).toString() });
1674
+ e({ commonImageDataHash: Za(es(t, wa, Ea).data.toString()).toString() });
1695
1675
  });
1696
1676
  });
1697
- var Zt, si = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], ni = ["monospace", "sans-serif", "serif"];
1698
- function Ea(e, t) {
1677
+ var rr, ri = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], ai = ["monospace", "sans-serif", "serif"];
1678
+ function Ra(e, t) {
1699
1679
  if (!e) throw new Error("Canvas context not supported");
1700
1680
  return e.font = "72px ".concat(t), e.measureText("WwMmLli0Oo").width;
1701
1681
  }
1702
- function oi() {
1682
+ function si() {
1703
1683
  var e, t = document.createElement("canvas"), r = (e = t.getContext("webgl")) !== null && e !== void 0 ? e : t.getContext("experimental-webgl");
1704
1684
  if (r && "getParameter" in r) try {
1705
1685
  var a = (r.getParameter(r.VENDOR) || "").toString(), n = (r.getParameter(r.RENDERER) || "").toString(), o = { vendor: a, renderer: n, version: (r.getParameter(r.VERSION) || "").toString(), shadingLanguageVersion: (r.getParameter(r.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -1715,11 +1695,11 @@ function oi() {
1715
1695
  }
1716
1696
  return "undefined";
1717
1697
  }
1718
- function ii() {
1698
+ function ni() {
1719
1699
  var e = new Float32Array(1), t = new Uint8Array(e.buffer);
1720
1700
  return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
1721
1701
  }
1722
- function ci(e, t) {
1702
+ function oi(e, t) {
1723
1703
  var r = {};
1724
1704
  return t.forEach(function(a) {
1725
1705
  var n = function(o) {
@@ -1741,7 +1721,7 @@ function ci(e, t) {
1741
1721
  n && (r[a] = n);
1742
1722
  }), r;
1743
1723
  }
1744
- function li() {
1724
+ function ii() {
1745
1725
  var e = [], t = { "prefers-contrast": ["high", "more", "low", "less", "forced", "no-preference"], "any-hover": ["hover", "none"], "any-pointer": ["none", "coarse", "fine"], pointer: ["none", "coarse", "fine"], hover: ["hover", "none"], update: ["fast", "slow"], "inverted-colors": ["inverted", "none"], "prefers-reduced-motion": ["reduce", "no-preference"], "prefers-reduced-transparency": ["reduce", "no-preference"], scripting: ["none", "initial-only", "enabled"], "forced-colors": ["active", "none"] };
1746
1726
  return Object.keys(t).forEach(function(r) {
1747
1727
  t[r].forEach(function(a) {
@@ -1749,7 +1729,7 @@ function li() {
1749
1729
  });
1750
1730
  }), e;
1751
1731
  }
1752
- function ui() {
1732
+ function ci() {
1753
1733
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
1754
1734
  for (var e = window.ApplePaySession.supportsVersion, t = 15; t > 0; t--) if (e(t)) return t;
1755
1735
  } catch {
@@ -1787,10 +1767,10 @@ it().name != "Firefox" && le("fonts", function() {
1787
1767
  return Ae(e, void 0, void 0, function() {
1788
1768
  var o, s, c, u;
1789
1769
  return Ie(this, function(l) {
1790
- return o = n.createElement("canvas"), s = o.getContext("2d"), c = ni.map(function(i) {
1791
- return Ea(s, i);
1792
- }), u = {}, si.forEach(function(i) {
1793
- var p = Ea(s, i);
1770
+ return o = n.createElement("canvas"), s = o.getContext("2d"), c = ai.map(function(i) {
1771
+ return Ra(s, i);
1772
+ }), u = {}, ri.forEach(function(i) {
1773
+ var p = Ra(s, i);
1794
1774
  c.includes(p) || (u[i] = p);
1795
1775
  }), t(u), [2];
1796
1776
  });
@@ -1803,7 +1783,7 @@ it().name != "Firefox" && le("fonts", function() {
1803
1783
  }), le("hardware", function() {
1804
1784
  return new Promise(function(e, t) {
1805
1785
  var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, a = window.performance && window.performance.memory ? window.performance.memory : 0;
1806
- e({ videocard: oi(), architecture: ii(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
1786
+ e({ videocard: si(), architecture: ni(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
1807
1787
  });
1808
1788
  }), le("locales", function() {
1809
1789
  return new Promise(function(e) {
@@ -1813,14 +1793,14 @@ it().name != "Firefox" && le("fonts", function() {
1813
1793
  return Ae(this, void 0, void 0, function() {
1814
1794
  var e;
1815
1795
  return Ie(this, function(t) {
1816
- return Zt = (Et == null ? void 0 : Et.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], e = Array.from({ length: (Et == null ? void 0 : Et.retries) || 3 }, function() {
1796
+ return rr = (Et == null ? void 0 : Et.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], e = Array.from({ length: (Et == null ? void 0 : Et.retries) || 3 }, function() {
1817
1797
  return function() {
1818
1798
  return Ae(this, void 0, void 0, function() {
1819
1799
  var r, a, n, o, s;
1820
1800
  return Ie(this, function(c) {
1821
1801
  switch (c.label) {
1822
1802
  case 0:
1823
- r = {}, a = 0, n = Zt, c.label = 1;
1803
+ r = {}, a = 0, n = rr, c.label = 1;
1824
1804
  case 1:
1825
1805
  if (!(a < n.length)) return [3, 6];
1826
1806
  o = n[a], c.label = 2;
@@ -1839,7 +1819,7 @@ it().name != "Firefox" && le("fonts", function() {
1839
1819
  });
1840
1820
  }();
1841
1821
  }), [2, Promise.all(e).then(function(r) {
1842
- return ci(r, Zt);
1822
+ return oi(r, rr);
1843
1823
  })];
1844
1824
  });
1845
1825
  });
@@ -1854,15 +1834,15 @@ it().name != "Firefox" && le("fonts", function() {
1854
1834
  });
1855
1835
  }), le("screen", function() {
1856
1836
  return new Promise(function(e) {
1857
- e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: li() });
1837
+ e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: ii() });
1858
1838
  });
1859
1839
  }), le("system", function() {
1860
1840
  return new Promise(function(e) {
1861
1841
  var t = it();
1862
- e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: ui() });
1842
+ e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: ci() });
1863
1843
  });
1864
1844
  });
1865
- var Z, hi = it().name !== "SamsungBrowser" ? 1 : 3, R = null;
1845
+ var Z, li = it().name !== "SamsungBrowser" ? 1 : 3, R = null;
1866
1846
  le("webgl", function() {
1867
1847
  return Ae(this, void 0, void 0, function() {
1868
1848
  var e;
@@ -1870,7 +1850,7 @@ le("webgl", function() {
1870
1850
  typeof document < "u" && ((Z = document.createElement("canvas")).width = 200, Z.height = 100, R = Z.getContext("webgl"));
1871
1851
  try {
1872
1852
  if (!R) throw new Error("WebGL not supported");
1873
- return e = Array.from({ length: hi }, function() {
1853
+ return e = Array.from({ length: li }, function() {
1874
1854
  return function() {
1875
1855
  try {
1876
1856
  if (!R) throw new Error("WebGL not supported");
@@ -1908,7 +1888,7 @@ le("webgl", function() {
1908
1888
  R && (R.bindBuffer(R.ARRAY_BUFFER, null), R.useProgram(null), R.viewport(0, 0, R.drawingBufferWidth, R.drawingBufferHeight), R.clearColor(0, 0, 0, 0));
1909
1889
  }
1910
1890
  }();
1911
- }), [2, { commonImageHash: Qa(Ja(e, Z.width, Z.height).data.toString()).toString() }];
1891
+ }), [2, { commonImageHash: Za(es(e, Z.width, Z.height).data.toString()).toString() }];
1912
1892
  } catch {
1913
1893
  return [2, { webgl: "unsupported" }];
1914
1894
  }
@@ -1928,8 +1908,8 @@ le("math", function() {
1928
1908
  });
1929
1909
  });
1930
1910
  });
1931
- var Za = {}, mr = {};
1932
- const Ra = (e) => {
1911
+ var ts = {}, vr = {};
1912
+ const ka = (e) => {
1933
1913
  let t;
1934
1914
  const r = /* @__PURE__ */ new Set(), a = (l, i) => {
1935
1915
  const p = typeof l == "function" ? l(t) : l;
@@ -1939,9 +1919,9 @@ const Ra = (e) => {
1939
1919
  }
1940
1920
  }, n = () => t, c = { setState: a, getState: n, getInitialState: () => u, subscribe: (l) => (r.add(l), () => r.delete(l)) }, u = t = e(a, n, c);
1941
1921
  return c;
1942
- }, fi = (e) => e ? Ra(e) : Ra;
1943
- mr.createStore = fi;
1944
- var gr = {}, es = { exports: {} }, k = {};
1922
+ }, ui = (e) => e ? ka(e) : ka;
1923
+ vr.createStore = ui;
1924
+ var yr = {}, rs = { exports: {} }, k = {};
1945
1925
  /**
1946
1926
  * @license React
1947
1927
  * react.production.js
@@ -1951,11 +1931,11 @@ var gr = {}, es = { exports: {} }, k = {};
1951
1931
  * This source code is licensed under the MIT license found in the
1952
1932
  * LICENSE file in the root directory of this source tree.
1953
1933
  */
1954
- var br = Symbol.for("react.transitional.element"), di = Symbol.for("react.portal"), pi = Symbol.for("react.fragment"), mi = Symbol.for("react.strict_mode"), gi = Symbol.for("react.profiler"), bi = Symbol.for("react.consumer"), vi = Symbol.for("react.context"), yi = Symbol.for("react.forward_ref"), Si = Symbol.for("react.suspense"), wi = Symbol.for("react.memo"), ts = Symbol.for("react.lazy"), ka = Symbol.iterator;
1955
- function Ei(e) {
1956
- return e === null || typeof e != "object" ? null : (e = ka && e[ka] || e["@@iterator"], typeof e == "function" ? e : null);
1934
+ var Sr = Symbol.for("react.transitional.element"), hi = Symbol.for("react.portal"), fi = Symbol.for("react.fragment"), di = Symbol.for("react.strict_mode"), pi = Symbol.for("react.profiler"), mi = Symbol.for("react.consumer"), gi = Symbol.for("react.context"), bi = Symbol.for("react.forward_ref"), vi = Symbol.for("react.suspense"), yi = Symbol.for("react.memo"), as = Symbol.for("react.lazy"), Pa = Symbol.iterator;
1935
+ function Si(e) {
1936
+ return e === null || typeof e != "object" ? null : (e = Pa && e[Pa] || e["@@iterator"], typeof e == "function" ? e : null);
1957
1937
  }
1958
- var rs = {
1938
+ var ss = {
1959
1939
  isMounted: function() {
1960
1940
  return !1;
1961
1941
  },
@@ -1965,9 +1945,9 @@ var rs = {
1965
1945
  },
1966
1946
  enqueueSetState: function() {
1967
1947
  }
1968
- }, as = Object.assign, ss = {};
1948
+ }, ns = Object.assign, os = {};
1969
1949
  function Ge(e, t, r) {
1970
- this.props = e, this.context = t, this.refs = ss, this.updater = r || rs;
1950
+ this.props = e, this.context = t, this.refs = os, this.updater = r || ss;
1971
1951
  }
1972
1952
  Ge.prototype.isReactComponent = {};
1973
1953
  Ge.prototype.setState = function(e, t) {
@@ -1980,28 +1960,28 @@ Ge.prototype.setState = function(e, t) {
1980
1960
  Ge.prototype.forceUpdate = function(e) {
1981
1961
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
1982
1962
  };
1983
- function ns() {
1963
+ function is() {
1984
1964
  }
1985
- ns.prototype = Ge.prototype;
1986
- function vr(e, t, r) {
1987
- this.props = e, this.context = t, this.refs = ss, this.updater = r || rs;
1965
+ is.prototype = Ge.prototype;
1966
+ function wr(e, t, r) {
1967
+ this.props = e, this.context = t, this.refs = os, this.updater = r || ss;
1988
1968
  }
1989
- var yr = vr.prototype = new ns();
1990
- yr.constructor = vr;
1991
- as(yr, Ge.prototype);
1992
- yr.isPureReactComponent = !0;
1993
- var Pa = Array.isArray, I = { H: null, A: null, T: null, S: null }, os = Object.prototype.hasOwnProperty;
1994
- function Sr(e, t, r, a, n, o) {
1969
+ var Er = wr.prototype = new is();
1970
+ Er.constructor = wr;
1971
+ ns(Er, Ge.prototype);
1972
+ Er.isPureReactComponent = !0;
1973
+ var Ca = Array.isArray, I = { H: null, A: null, T: null, S: null }, cs = Object.prototype.hasOwnProperty;
1974
+ function Rr(e, t, r, a, n, o) {
1995
1975
  return r = o.ref, {
1996
- $$typeof: br,
1976
+ $$typeof: Sr,
1997
1977
  type: e,
1998
1978
  key: t,
1999
1979
  ref: r !== void 0 ? r : null,
2000
1980
  props: o
2001
1981
  };
2002
1982
  }
2003
- function Ri(e, t) {
2004
- return Sr(
1983
+ function wi(e, t) {
1984
+ return Rr(
2005
1985
  e.type,
2006
1986
  t,
2007
1987
  void 0,
@@ -2010,29 +1990,29 @@ function Ri(e, t) {
2010
1990
  e.props
2011
1991
  );
2012
1992
  }
2013
- function wr(e) {
2014
- return typeof e == "object" && e !== null && e.$$typeof === br;
1993
+ function kr(e) {
1994
+ return typeof e == "object" && e !== null && e.$$typeof === Sr;
2015
1995
  }
2016
- function ki(e) {
1996
+ function Ei(e) {
2017
1997
  var t = { "=": "=0", ":": "=2" };
2018
1998
  return "$" + e.replace(/[=:]/g, function(r) {
2019
1999
  return t[r];
2020
2000
  });
2021
2001
  }
2022
- var Ca = /\/+/g;
2023
- function er(e, t) {
2024
- return typeof e == "object" && e !== null && e.key != null ? ki("" + e.key) : t.toString(36);
2002
+ var xa = /\/+/g;
2003
+ function ar(e, t) {
2004
+ return typeof e == "object" && e !== null && e.key != null ? Ei("" + e.key) : t.toString(36);
2025
2005
  }
2026
- function xa() {
2006
+ function Ta() {
2027
2007
  }
2028
- function Pi(e) {
2008
+ function Ri(e) {
2029
2009
  switch (e.status) {
2030
2010
  case "fulfilled":
2031
2011
  return e.value;
2032
2012
  case "rejected":
2033
2013
  throw e.reason;
2034
2014
  default:
2035
- switch (typeof e.status == "string" ? e.then(xa, xa) : (e.status = "pending", e.then(
2015
+ switch (typeof e.status == "string" ? e.then(Ta, Ta) : (e.status = "pending", e.then(
2036
2016
  function(t) {
2037
2017
  e.status === "pending" && (e.status = "fulfilled", e.value = t);
2038
2018
  },
@@ -2062,11 +2042,11 @@ function He(e, t, r, a, n) {
2062
2042
  break;
2063
2043
  case "object":
2064
2044
  switch (e.$$typeof) {
2065
- case br:
2066
- case di:
2045
+ case Sr:
2046
+ case hi:
2067
2047
  s = !0;
2068
2048
  break;
2069
- case ts:
2049
+ case as:
2070
2050
  return s = e._init, He(
2071
2051
  s(e._payload),
2072
2052
  t,
@@ -2077,29 +2057,29 @@ function He(e, t, r, a, n) {
2077
2057
  }
2078
2058
  }
2079
2059
  if (s)
2080
- return n = n(e), s = a === "" ? "." + er(e, 0) : a, Pa(n) ? (r = "", s != null && (r = s.replace(Ca, "$&/") + "/"), He(n, t, r, "", function(l) {
2060
+ return n = n(e), s = a === "" ? "." + ar(e, 0) : a, Ca(n) ? (r = "", s != null && (r = s.replace(xa, "$&/") + "/"), He(n, t, r, "", function(l) {
2081
2061
  return l;
2082
- })) : n != null && (wr(n) && (n = Ri(
2062
+ })) : n != null && (kr(n) && (n = wi(
2083
2063
  n,
2084
2064
  r + (n.key == null || e && e.key === n.key ? "" : ("" + n.key).replace(
2085
- Ca,
2065
+ xa,
2086
2066
  "$&/"
2087
2067
  ) + "/") + s
2088
2068
  )), t.push(n)), 1;
2089
2069
  s = 0;
2090
2070
  var c = a === "" ? "." : a + ":";
2091
- if (Pa(e))
2071
+ if (Ca(e))
2092
2072
  for (var u = 0; u < e.length; u++)
2093
- a = e[u], o = c + er(a, u), s += He(
2073
+ a = e[u], o = c + ar(a, u), s += He(
2094
2074
  a,
2095
2075
  t,
2096
2076
  r,
2097
2077
  o,
2098
2078
  n
2099
2079
  );
2100
- else if (u = Ei(e), typeof u == "function")
2080
+ else if (u = Si(e), typeof u == "function")
2101
2081
  for (e = u.call(e), u = 0; !(a = e.next()).done; )
2102
- a = a.value, o = c + er(a, u++), s += He(
2082
+ a = a.value, o = c + ar(a, u++), s += He(
2103
2083
  a,
2104
2084
  t,
2105
2085
  r,
@@ -2109,7 +2089,7 @@ function He(e, t, r, a, n) {
2109
2089
  else if (o === "object") {
2110
2090
  if (typeof e.then == "function")
2111
2091
  return He(
2112
- Pi(e),
2092
+ Ri(e),
2113
2093
  t,
2114
2094
  r,
2115
2095
  a,
@@ -2128,7 +2108,7 @@ function kt(e, t, r) {
2128
2108
  return t.call(r, o, n++);
2129
2109
  }), a;
2130
2110
  }
2131
- function Ci(e) {
2111
+ function ki(e) {
2132
2112
  if (e._status === -1) {
2133
2113
  var t = e._result;
2134
2114
  t = t(), t.then(
@@ -2143,7 +2123,7 @@ function Ci(e) {
2143
2123
  if (e._status === 1) return e._result.default;
2144
2124
  throw e._result;
2145
2125
  }
2146
- var Ta = typeof reportError == "function" ? reportError : function(e) {
2126
+ var $a = typeof reportError == "function" ? reportError : function(e) {
2147
2127
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
2148
2128
  var t = new window.ErrorEvent("error", {
2149
2129
  bubbles: !0,
@@ -2158,7 +2138,7 @@ var Ta = typeof reportError == "function" ? reportError : function(e) {
2158
2138
  }
2159
2139
  console.error(e);
2160
2140
  };
2161
- function xi() {
2141
+ function Pi() {
2162
2142
  }
2163
2143
  k.Children = {
2164
2144
  map: kt,
@@ -2183,7 +2163,7 @@ k.Children = {
2183
2163
  }) || [];
2184
2164
  },
2185
2165
  only: function(e) {
2186
- if (!wr(e))
2166
+ if (!kr(e))
2187
2167
  throw Error(
2188
2168
  "React.Children.only expected to receive a single React element child."
2189
2169
  );
@@ -2191,11 +2171,11 @@ k.Children = {
2191
2171
  }
2192
2172
  };
2193
2173
  k.Component = Ge;
2194
- k.Fragment = pi;
2195
- k.Profiler = gi;
2196
- k.PureComponent = vr;
2197
- k.StrictMode = mi;
2198
- k.Suspense = Si;
2174
+ k.Fragment = fi;
2175
+ k.Profiler = pi;
2176
+ k.PureComponent = wr;
2177
+ k.StrictMode = di;
2178
+ k.Suspense = vi;
2199
2179
  k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = I;
2200
2180
  k.act = function() {
2201
2181
  throw Error("act(...) is not supported in production builds of React.");
@@ -2210,10 +2190,10 @@ k.cloneElement = function(e, t, r) {
2210
2190
  throw Error(
2211
2191
  "The argument must be a React element, but you passed " + e + "."
2212
2192
  );
2213
- var a = as({}, e.props), n = e.key, o = void 0;
2193
+ var a = ns({}, e.props), n = e.key, o = void 0;
2214
2194
  if (t != null)
2215
2195
  for (s in t.ref !== void 0 && (o = void 0), t.key !== void 0 && (n = "" + t.key), t)
2216
- !os.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (a[s] = t[s]);
2196
+ !cs.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (a[s] = t[s]);
2217
2197
  var s = arguments.length - 2;
2218
2198
  if (s === 1) a.children = r;
2219
2199
  else if (1 < s) {
@@ -2221,18 +2201,18 @@ k.cloneElement = function(e, t, r) {
2221
2201
  c[u] = arguments[u + 2];
2222
2202
  a.children = c;
2223
2203
  }
2224
- return Sr(e.type, n, void 0, void 0, o, a);
2204
+ return Rr(e.type, n, void 0, void 0, o, a);
2225
2205
  };
2226
2206
  k.createContext = function(e) {
2227
2207
  return e = {
2228
- $$typeof: vi,
2208
+ $$typeof: gi,
2229
2209
  _currentValue: e,
2230
2210
  _currentValue2: e,
2231
2211
  _threadCount: 0,
2232
2212
  Provider: null,
2233
2213
  Consumer: null
2234
2214
  }, e.Provider = e, e.Consumer = {
2235
- $$typeof: bi,
2215
+ $$typeof: mi,
2236
2216
  _context: e
2237
2217
  }, e;
2238
2218
  };
@@ -2240,7 +2220,7 @@ k.createElement = function(e, t, r) {
2240
2220
  var a, n = {}, o = null;
2241
2221
  if (t != null)
2242
2222
  for (a in t.key !== void 0 && (o = "" + t.key), t)
2243
- os.call(t, a) && a !== "key" && a !== "__self" && a !== "__source" && (n[a] = t[a]);
2223
+ cs.call(t, a) && a !== "key" && a !== "__self" && a !== "__source" && (n[a] = t[a]);
2244
2224
  var s = arguments.length - 2;
2245
2225
  if (s === 1) n.children = r;
2246
2226
  else if (1 < s) {
@@ -2251,25 +2231,25 @@ k.createElement = function(e, t, r) {
2251
2231
  if (e && e.defaultProps)
2252
2232
  for (a in s = e.defaultProps, s)
2253
2233
  n[a] === void 0 && (n[a] = s[a]);
2254
- return Sr(e, o, void 0, void 0, null, n);
2234
+ return Rr(e, o, void 0, void 0, null, n);
2255
2235
  };
2256
2236
  k.createRef = function() {
2257
2237
  return { current: null };
2258
2238
  };
2259
2239
  k.forwardRef = function(e) {
2260
- return { $$typeof: yi, render: e };
2240
+ return { $$typeof: bi, render: e };
2261
2241
  };
2262
- k.isValidElement = wr;
2242
+ k.isValidElement = kr;
2263
2243
  k.lazy = function(e) {
2264
2244
  return {
2265
- $$typeof: ts,
2245
+ $$typeof: as,
2266
2246
  _payload: { _status: -1, _result: e },
2267
- _init: Ci
2247
+ _init: ki
2268
2248
  };
2269
2249
  };
2270
2250
  k.memo = function(e, t) {
2271
2251
  return {
2272
- $$typeof: wi,
2252
+ $$typeof: yi,
2273
2253
  type: e,
2274
2254
  compare: t === void 0 ? null : t
2275
2255
  };
@@ -2279,9 +2259,9 @@ k.startTransition = function(e) {
2279
2259
  I.T = r;
2280
2260
  try {
2281
2261
  var a = e(), n = I.S;
2282
- n !== null && n(r, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(xi, Ta);
2262
+ n !== null && n(r, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(Pi, $a);
2283
2263
  } catch (o) {
2284
- Ta(o);
2264
+ $a(o);
2285
2265
  } finally {
2286
2266
  I.T = t;
2287
2267
  }
@@ -2347,25 +2327,25 @@ k.useTransition = function() {
2347
2327
  return I.H.useTransition();
2348
2328
  };
2349
2329
  k.version = "19.0.0";
2350
- es.exports = k;
2351
- var $a = es.exports, Ti = mr;
2352
- const $i = (e) => e;
2353
- function is(e, t = $i) {
2354
- const r = $a.useSyncExternalStore(
2330
+ rs.exports = k;
2331
+ var _a = rs.exports, Ci = vr;
2332
+ const xi = (e) => e;
2333
+ function ls(e, t = xi) {
2334
+ const r = _a.useSyncExternalStore(
2355
2335
  e.subscribe,
2356
2336
  () => t(e.getState()),
2357
2337
  () => t(e.getInitialState())
2358
2338
  );
2359
- return $a.useDebugValue(r), r;
2339
+ return _a.useDebugValue(r), r;
2360
2340
  }
2361
- const _a = (e) => {
2362
- const t = Ti.createStore(e), r = (a) => is(t, a);
2341
+ const Aa = (e) => {
2342
+ const t = Ci.createStore(e), r = (a) => ls(t, a);
2363
2343
  return Object.assign(r, t), r;
2364
- }, _i = (e) => e ? _a(e) : _a;
2365
- gr.create = _i;
2366
- gr.useStore = is;
2344
+ }, Ti = (e) => e ? Aa(e) : Aa;
2345
+ yr.create = Ti;
2346
+ yr.useStore = ls;
2367
2347
  (function(e) {
2368
- var t = mr, r = gr;
2348
+ var t = vr, r = yr;
2369
2349
  Object.keys(t).forEach(function(a) {
2370
2350
  a !== "default" && !Object.prototype.hasOwnProperty.call(e, a) && Object.defineProperty(e, a, {
2371
2351
  enumerable: !0,
@@ -2381,8 +2361,8 @@ gr.useStore = is;
2381
2361
  }
2382
2362
  });
2383
2363
  });
2384
- })(Za);
2385
- const Ai = {
2364
+ })(ts);
2365
+ const $i = {
2386
2366
  adClientResponseItems: [],
2387
2367
  core: void 0,
2388
2368
  logger: void 0,
@@ -2399,7 +2379,7 @@ const Ai = {
2399
2379
  searchResultsPerPage: 20,
2400
2380
  searchResultsPage: 1,
2401
2381
  sortType: "asc"
2402
- }, $ = Za.createStore((e, t) => {
2382
+ }, $ = ts.createStore((e, t) => {
2403
2383
  const r = {
2404
2384
  addFacetPathsForIndexField: (n) => e((o) => ({
2405
2385
  facetPathsForIndexFields: {
@@ -2418,7 +2398,7 @@ const Ai = {
2418
2398
  return n;
2419
2399
  },
2420
2400
  initialize: (n, o = !1) => {
2421
- const s = n, c = o ? new Zo({ logLevel: _e.DEBUG }) : void 0;
2401
+ const s = n, c = o ? new Qo({ logLevel: _e.DEBUG }) : void 0;
2422
2402
  e({
2423
2403
  core: s,
2424
2404
  logger: c,
@@ -2516,16 +2496,16 @@ const Ai = {
2516
2496
  }
2517
2497
  };
2518
2498
  return {
2519
- ...Ai,
2499
+ ...$i,
2520
2500
  ...r
2521
2501
  };
2522
2502
  });
2523
- var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, cs = { exports: {} };
2503
+ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, us = { exports: {} };
2524
2504
  /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
2525
2505
  (function(e, t) {
2526
2506
  (function(r, a) {
2527
2507
  e.exports = a();
2528
- })(Ii, function() {
2508
+ })(_i, function() {
2529
2509
  const {
2530
2510
  entries: r,
2531
2511
  setPrototypeOf: a,
@@ -2550,7 +2530,7 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2550
2530
  }), p || (p = function(y, T) {
2551
2531
  return new y(...T);
2552
2532
  });
2553
- const g = Y(Array.prototype.forEach), b = Y(Array.prototype.lastIndexOf), w = Y(Array.prototype.pop), N = Y(Array.prototype.push), fe = Y(Array.prototype.splice), re = Y(String.prototype.toLowerCase), M = Y(String.prototype.toString), We = Y(String.prototype.match), Ve = Y(String.prototype.replace), Cs = Y(String.prototype.indexOf), xs = Y(String.prototype.trim), ie = Y(Object.prototype.hasOwnProperty), q = Y(RegExp.prototype.test), qe = Ts(TypeError);
2533
+ const g = Y(Array.prototype.forEach), b = Y(Array.prototype.lastIndexOf), w = Y(Array.prototype.pop), N = Y(Array.prototype.push), fe = Y(Array.prototype.splice), re = Y(String.prototype.toLowerCase), M = Y(String.prototype.toString), We = Y(String.prototype.match), Ve = Y(String.prototype.replace), Bs = Y(String.prototype.indexOf), js = Y(String.prototype.trim), ie = Y(Object.prototype.hasOwnProperty), q = Y(RegExp.prototype.test), qe = Gs(TypeError);
2554
2534
  function Y(C) {
2555
2535
  return function(y) {
2556
2536
  for (var T = arguments.length, x = new Array(T > 1 ? T - 1 : 0), j = 1; j < T; j++)
@@ -2558,7 +2538,7 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2558
2538
  return i(C, y, x);
2559
2539
  };
2560
2540
  }
2561
- function Ts(C) {
2541
+ function Gs(C) {
2562
2542
  return function() {
2563
2543
  for (var y = arguments.length, T = new Array(y), x = 0; x < y; x++)
2564
2544
  T[x] = arguments[x];
@@ -2579,7 +2559,7 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2579
2559
  }
2580
2560
  return C;
2581
2561
  }
2582
- function $s(C) {
2562
+ function Ws(C) {
2583
2563
  for (let y = 0; y < C.length; y++)
2584
2564
  ie(C, y) || (C[y] = null);
2585
2565
  return C;
@@ -2587,7 +2567,7 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2587
2567
  function Ce(C) {
2588
2568
  const y = l(null);
2589
2569
  for (const [T, x] of r(C))
2590
- ie(C, T) && (Array.isArray(x) ? y[T] = $s(x) : x && typeof x == "object" && x.constructor === Object ? y[T] = Ce(x) : y[T] = x);
2570
+ ie(C, T) && (Array.isArray(x) ? y[T] = Ws(x) : x && typeof x == "object" && x.constructor === Object ? y[T] = Ce(x) : y[T] = x);
2591
2571
  return y;
2592
2572
  }
2593
2573
  function Ye(C, y) {
@@ -2606,25 +2586,25 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2606
2586
  }
2607
2587
  return T;
2608
2588
  }
2609
- const Pr = c(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), It = c(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Mt = c(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _s = c(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Lt = c(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), As = c(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Cr = c(["#text"]), xr = c(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ot = c(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Tr = c(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), lt = c(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Is = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ms = u(/<%[\w\W]*|[\w\W]*%>/gm), Ls = u(/\$\{[\w\W]*/gm), Os = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), Fs = u(/^aria-[\-\w]+$/), $r = u(
2589
+ const xr = c(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ot = c(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ft = c(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vs = c(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Dt = c(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), qs = c(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Tr = c(["#text"]), $r = c(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Nt = c(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), _r = c(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), lt = c(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ys = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ks = u(/<%[\w\W]*|[\w\W]*%>/gm), Xs = u(/\$\{[\w\W]*/gm), Qs = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), Js = u(/^aria-[\-\w]+$/), Ar = u(
2610
2590
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2611
2591
  // eslint-disable-line no-useless-escape
2612
- ), Ds = u(/^(?:\w+script|data):/i), Ns = u(
2592
+ ), Zs = u(/^(?:\w+script|data):/i), en = u(
2613
2593
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2614
2594
  // eslint-disable-line no-control-regex
2615
- ), _r = u(/^html$/i), Us = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
2616
- var Ar = /* @__PURE__ */ Object.freeze({
2595
+ ), Ir = u(/^html$/i), tn = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
2596
+ var Mr = /* @__PURE__ */ Object.freeze({
2617
2597
  __proto__: null,
2618
- ARIA_ATTR: Fs,
2619
- ATTR_WHITESPACE: Ns,
2620
- CUSTOM_ELEMENT: Us,
2621
- DATA_ATTR: Os,
2622
- DOCTYPE_NAME: _r,
2623
- ERB_EXPR: Ms,
2624
- IS_ALLOWED_URI: $r,
2625
- IS_SCRIPT_OR_DATA: Ds,
2626
- MUSTACHE_EXPR: Is,
2627
- TMPLIT_EXPR: Ls
2598
+ ARIA_ATTR: Js,
2599
+ ATTR_WHITESPACE: en,
2600
+ CUSTOM_ELEMENT: tn,
2601
+ DATA_ATTR: Qs,
2602
+ DOCTYPE_NAME: Ir,
2603
+ ERB_EXPR: Ks,
2604
+ IS_ALLOWED_URI: Ar,
2605
+ IS_SCRIPT_OR_DATA: Zs,
2606
+ MUSTACHE_EXPR: Ys,
2607
+ TMPLIT_EXPR: Xs
2628
2608
  });
2629
2609
  const Ke = {
2630
2610
  element: 1,
@@ -2642,9 +2622,9 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2642
2622
  documentFragment: 11,
2643
2623
  notation: 12
2644
2624
  // Deprecated
2645
- }, zs = function() {
2625
+ }, rn = function() {
2646
2626
  return typeof window > "u" ? null : window;
2647
- }, Hs = function(y, T) {
2627
+ }, an = function(y, T) {
2648
2628
  if (typeof y != "object" || typeof y.createPolicy != "function")
2649
2629
  return null;
2650
2630
  let x = null;
@@ -2663,7 +2643,7 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2663
2643
  } catch {
2664
2644
  return console.warn("TrustedTypes policy " + de + " could not be created."), null;
2665
2645
  }
2666
- }, Ir = function() {
2646
+ }, Lr = function() {
2667
2647
  return {
2668
2648
  afterSanitizeAttributes: [],
2669
2649
  afterSanitizeElements: [],
@@ -2676,9 +2656,9 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2676
2656
  uponSanitizeShadowNode: []
2677
2657
  };
2678
2658
  };
2679
- function Mr() {
2680
- let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : zs();
2681
- const y = (S) => Mr(S);
2659
+ function Or() {
2660
+ let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rn();
2661
+ const y = (S) => Or(S);
2682
2662
  if (y.version = "3.2.4", y.removed = [], !C || !C.document || C.document.nodeType !== Ke.document || !C.Element)
2683
2663
  return y.isSupported = !1, y;
2684
2664
  let {
@@ -2687,45 +2667,45 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2687
2667
  const x = T, j = x.currentScript, {
2688
2668
  DocumentFragment: de,
2689
2669
  HTMLTemplateElement: Me,
2690
- Node: Ft,
2691
- Element: Lr,
2670
+ Node: Ut,
2671
+ Element: Fr,
2692
2672
  NodeFilter: Xe,
2693
- NamedNodeMap: js = C.NamedNodeMap || C.MozNamedAttrMap,
2694
- HTMLFormElement: Gs,
2695
- DOMParser: Ws,
2673
+ NamedNodeMap: nn = C.NamedNodeMap || C.MozNamedAttrMap,
2674
+ HTMLFormElement: on,
2675
+ DOMParser: cn,
2696
2676
  trustedTypes: ut
2697
- } = C, Qe = Lr.prototype, Vs = Ye(Qe, "cloneNode"), qs = Ye(Qe, "remove"), Ys = Ye(Qe, "nextSibling"), Ks = Ye(Qe, "childNodes"), ht = Ye(Qe, "parentNode");
2677
+ } = C, Qe = Fr.prototype, ln = Ye(Qe, "cloneNode"), un = Ye(Qe, "remove"), hn = Ye(Qe, "nextSibling"), fn = Ye(Qe, "childNodes"), ht = Ye(Qe, "parentNode");
2698
2678
  if (typeof Me == "function") {
2699
2679
  const S = T.createElement("template");
2700
2680
  S.content && S.content.ownerDocument && (T = S.content.ownerDocument);
2701
2681
  }
2702
2682
  let K, Je = "";
2703
2683
  const {
2704
- implementation: Dt,
2705
- createNodeIterator: Xs,
2706
- createDocumentFragment: Qs,
2707
- getElementsByTagName: Js
2684
+ implementation: zt,
2685
+ createNodeIterator: dn,
2686
+ createDocumentFragment: pn,
2687
+ getElementsByTagName: mn
2708
2688
  } = T, {
2709
- importNode: Zs
2689
+ importNode: gn
2710
2690
  } = x;
2711
- let X = Ir();
2712
- y.isSupported = typeof r == "function" && typeof ht == "function" && Dt && Dt.createHTMLDocument !== void 0;
2691
+ let X = Lr();
2692
+ y.isSupported = typeof r == "function" && typeof ht == "function" && zt && zt.createHTMLDocument !== void 0;
2713
2693
  const {
2714
- MUSTACHE_EXPR: Nt,
2715
- ERB_EXPR: Ut,
2716
- TMPLIT_EXPR: zt,
2717
- DATA_ATTR: en,
2718
- ARIA_ATTR: tn,
2719
- IS_SCRIPT_OR_DATA: rn,
2720
- ATTR_WHITESPACE: Or,
2721
- CUSTOM_ELEMENT: an
2722
- } = Ar;
2694
+ MUSTACHE_EXPR: Ht,
2695
+ ERB_EXPR: Bt,
2696
+ TMPLIT_EXPR: jt,
2697
+ DATA_ATTR: bn,
2698
+ ARIA_ATTR: vn,
2699
+ IS_SCRIPT_OR_DATA: yn,
2700
+ ATTR_WHITESPACE: Dr,
2701
+ CUSTOM_ELEMENT: Sn
2702
+ } = Mr;
2723
2703
  let {
2724
- IS_ALLOWED_URI: Fr
2725
- } = Ar, U = null;
2726
- const Dr = P({}, [...Pr, ...It, ...Mt, ...Lt, ...Cr]);
2704
+ IS_ALLOWED_URI: Nr
2705
+ } = Mr, U = null;
2706
+ const Ur = P({}, [...xr, ...Ot, ...Ft, ...Dt, ...Tr]);
2727
2707
  let H = null;
2728
- const Nr = P({}, [...xr, ...Ot, ...Tr, ...lt]);
2708
+ const zr = P({}, [...$r, ...Nt, ..._r, ...lt]);
2729
2709
  let L = Object.seal(l(null, {
2730
2710
  tagNameCheck: {
2731
2711
  writable: !0,
@@ -2745,45 +2725,45 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2745
2725
  enumerable: !0,
2746
2726
  value: !1
2747
2727
  }
2748
- })), Ze = null, Ht = null, Ur = !0, Bt = !0, zr = !1, Hr = !0, Le = !1, jt = !0, xe = !1, Gt = !1, Wt = !1, Oe = !1, ft = !1, dt = !1, Br = !0, jr = !1;
2749
- const sn = "user-content-";
2750
- let Vt = !0, et = !1, Fe = {}, De = null;
2751
- const Gr = P({}, ["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"]);
2752
- let Wr = null;
2753
- const Vr = P({}, ["audio", "video", "img", "source", "image", "track"]);
2754
- let qt = null;
2755
- const qr = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), pt = "http://www.w3.org/1998/Math/MathML", mt = "http://www.w3.org/2000/svg", pe = "http://www.w3.org/1999/xhtml";
2756
- let Ne = pe, Yt = !1, Kt = null;
2757
- const nn = P({}, [pt, mt, pe], M);
2728
+ })), Ze = null, Gt = null, Hr = !0, Wt = !0, Br = !1, jr = !0, Le = !1, Vt = !0, xe = !1, qt = !1, Yt = !1, Oe = !1, ft = !1, dt = !1, Gr = !0, Wr = !1;
2729
+ const wn = "user-content-";
2730
+ let Kt = !0, et = !1, Fe = {}, De = null;
2731
+ const Vr = P({}, ["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"]);
2732
+ let qr = null;
2733
+ const Yr = P({}, ["audio", "video", "img", "source", "image", "track"]);
2734
+ let Xt = null;
2735
+ const Kr = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), pt = "http://www.w3.org/1998/Math/MathML", mt = "http://www.w3.org/2000/svg", pe = "http://www.w3.org/1999/xhtml";
2736
+ let Ne = pe, Qt = !1, Jt = null;
2737
+ const En = P({}, [pt, mt, pe], M);
2758
2738
  let gt = P({}, ["mi", "mo", "mn", "ms", "mtext"]), bt = P({}, ["annotation-xml"]);
2759
- const on = P({}, ["title", "style", "font", "a", "script"]);
2739
+ const Rn = P({}, ["title", "style", "font", "a", "script"]);
2760
2740
  let tt = null;
2761
- const cn = ["application/xhtml+xml", "text/html"], ln = "text/html";
2741
+ const kn = ["application/xhtml+xml", "text/html"], Pn = "text/html";
2762
2742
  let z = null, Ue = null;
2763
- const un = T.createElement("form"), Yr = function(f) {
2743
+ const Cn = T.createElement("form"), Xr = function(f) {
2764
2744
  return f instanceof RegExp || f instanceof Function;
2765
- }, Xt = function() {
2745
+ }, Zt = function() {
2766
2746
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2767
2747
  if (!(Ue && Ue === f)) {
2768
2748
  if ((!f || typeof f != "object") && (f = {}), f = Ce(f), tt = // eslint-disable-next-line unicorn/prefer-includes
2769
- cn.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? ln : f.PARSER_MEDIA_TYPE, z = tt === "application/xhtml+xml" ? M : re, U = ie(f, "ALLOWED_TAGS") ? P({}, f.ALLOWED_TAGS, z) : Dr, H = ie(f, "ALLOWED_ATTR") ? P({}, f.ALLOWED_ATTR, z) : Nr, Kt = ie(f, "ALLOWED_NAMESPACES") ? P({}, f.ALLOWED_NAMESPACES, M) : nn, qt = ie(f, "ADD_URI_SAFE_ATTR") ? P(Ce(qr), f.ADD_URI_SAFE_ATTR, z) : qr, Wr = ie(f, "ADD_DATA_URI_TAGS") ? P(Ce(Vr), f.ADD_DATA_URI_TAGS, z) : Vr, De = ie(f, "FORBID_CONTENTS") ? P({}, f.FORBID_CONTENTS, z) : Gr, Ze = ie(f, "FORBID_TAGS") ? P({}, f.FORBID_TAGS, z) : {}, Ht = ie(f, "FORBID_ATTR") ? P({}, f.FORBID_ATTR, z) : {}, Fe = ie(f, "USE_PROFILES") ? f.USE_PROFILES : !1, Ur = f.ALLOW_ARIA_ATTR !== !1, Bt = f.ALLOW_DATA_ATTR !== !1, zr = f.ALLOW_UNKNOWN_PROTOCOLS || !1, Hr = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Le = f.SAFE_FOR_TEMPLATES || !1, jt = f.SAFE_FOR_XML !== !1, xe = f.WHOLE_DOCUMENT || !1, Oe = f.RETURN_DOM || !1, ft = f.RETURN_DOM_FRAGMENT || !1, dt = f.RETURN_TRUSTED_TYPE || !1, Wt = f.FORCE_BODY || !1, Br = f.SANITIZE_DOM !== !1, jr = f.SANITIZE_NAMED_PROPS || !1, Vt = f.KEEP_CONTENT !== !1, et = f.IN_PLACE || !1, Fr = f.ALLOWED_URI_REGEXP || $r, Ne = f.NAMESPACE || pe, gt = f.MATHML_TEXT_INTEGRATION_POINTS || gt, bt = f.HTML_INTEGRATION_POINTS || bt, L = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && Yr(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && Yr(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Le && (Bt = !1), ft && (Oe = !0), Fe && (U = P({}, Cr), H = [], Fe.html === !0 && (P(U, Pr), P(H, xr)), Fe.svg === !0 && (P(U, It), P(H, Ot), P(H, lt)), Fe.svgFilters === !0 && (P(U, Mt), P(H, Ot), P(H, lt)), Fe.mathMl === !0 && (P(U, Lt), P(H, Tr), P(H, lt))), f.ADD_TAGS && (U === Dr && (U = Ce(U)), P(U, f.ADD_TAGS, z)), f.ADD_ATTR && (H === Nr && (H = Ce(H)), P(H, f.ADD_ATTR, z)), f.ADD_URI_SAFE_ATTR && P(qt, f.ADD_URI_SAFE_ATTR, z), f.FORBID_CONTENTS && (De === Gr && (De = Ce(De)), P(De, f.FORBID_CONTENTS, z)), Vt && (U["#text"] = !0), xe && P(U, ["html", "head", "body"]), U.table && (P(U, ["tbody"]), delete Ze.tbody), f.TRUSTED_TYPES_POLICY) {
2749
+ kn.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Pn : f.PARSER_MEDIA_TYPE, z = tt === "application/xhtml+xml" ? M : re, U = ie(f, "ALLOWED_TAGS") ? P({}, f.ALLOWED_TAGS, z) : Ur, H = ie(f, "ALLOWED_ATTR") ? P({}, f.ALLOWED_ATTR, z) : zr, Jt = ie(f, "ALLOWED_NAMESPACES") ? P({}, f.ALLOWED_NAMESPACES, M) : En, Xt = ie(f, "ADD_URI_SAFE_ATTR") ? P(Ce(Kr), f.ADD_URI_SAFE_ATTR, z) : Kr, qr = ie(f, "ADD_DATA_URI_TAGS") ? P(Ce(Yr), f.ADD_DATA_URI_TAGS, z) : Yr, De = ie(f, "FORBID_CONTENTS") ? P({}, f.FORBID_CONTENTS, z) : Vr, Ze = ie(f, "FORBID_TAGS") ? P({}, f.FORBID_TAGS, z) : {}, Gt = ie(f, "FORBID_ATTR") ? P({}, f.FORBID_ATTR, z) : {}, Fe = ie(f, "USE_PROFILES") ? f.USE_PROFILES : !1, Hr = f.ALLOW_ARIA_ATTR !== !1, Wt = f.ALLOW_DATA_ATTR !== !1, Br = f.ALLOW_UNKNOWN_PROTOCOLS || !1, jr = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Le = f.SAFE_FOR_TEMPLATES || !1, Vt = f.SAFE_FOR_XML !== !1, xe = f.WHOLE_DOCUMENT || !1, Oe = f.RETURN_DOM || !1, ft = f.RETURN_DOM_FRAGMENT || !1, dt = f.RETURN_TRUSTED_TYPE || !1, Yt = f.FORCE_BODY || !1, Gr = f.SANITIZE_DOM !== !1, Wr = f.SANITIZE_NAMED_PROPS || !1, Kt = f.KEEP_CONTENT !== !1, et = f.IN_PLACE || !1, Nr = f.ALLOWED_URI_REGEXP || Ar, Ne = f.NAMESPACE || pe, gt = f.MATHML_TEXT_INTEGRATION_POINTS || gt, bt = f.HTML_INTEGRATION_POINTS || bt, L = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && Xr(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && Xr(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Le && (Wt = !1), ft && (Oe = !0), Fe && (U = P({}, Tr), H = [], Fe.html === !0 && (P(U, xr), P(H, $r)), Fe.svg === !0 && (P(U, Ot), P(H, Nt), P(H, lt)), Fe.svgFilters === !0 && (P(U, Ft), P(H, Nt), P(H, lt)), Fe.mathMl === !0 && (P(U, Dt), P(H, _r), P(H, lt))), f.ADD_TAGS && (U === Ur && (U = Ce(U)), P(U, f.ADD_TAGS, z)), f.ADD_ATTR && (H === zr && (H = Ce(H)), P(H, f.ADD_ATTR, z)), f.ADD_URI_SAFE_ATTR && P(Xt, f.ADD_URI_SAFE_ATTR, z), f.FORBID_CONTENTS && (De === Vr && (De = Ce(De)), P(De, f.FORBID_CONTENTS, z)), Kt && (U["#text"] = !0), xe && P(U, ["html", "head", "body"]), U.table && (P(U, ["tbody"]), delete Ze.tbody), f.TRUSTED_TYPES_POLICY) {
2770
2750
  if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
2771
2751
  throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2772
2752
  if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
2773
2753
  throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2774
2754
  K = f.TRUSTED_TYPES_POLICY, Je = K.createHTML("");
2775
2755
  } else
2776
- K === void 0 && (K = Hs(ut, j)), K !== null && typeof Je == "string" && (Je = K.createHTML(""));
2756
+ K === void 0 && (K = an(ut, j)), K !== null && typeof Je == "string" && (Je = K.createHTML(""));
2777
2757
  c && c(f), Ue = f;
2778
2758
  }
2779
- }, Kr = P({}, [...It, ...Mt, ..._s]), Xr = P({}, [...Lt, ...As]), hn = function(f) {
2759
+ }, Qr = P({}, [...Ot, ...Ft, ...Vs]), Jr = P({}, [...Dt, ...qs]), xn = function(f) {
2780
2760
  let m = ht(f);
2781
2761
  (!m || !m.tagName) && (m = {
2782
2762
  namespaceURI: Ne,
2783
2763
  tagName: "template"
2784
2764
  });
2785
2765
  const v = re(f.tagName), _ = re(m.tagName);
2786
- return Kt[f.namespaceURI] ? f.namespaceURI === mt ? m.namespaceURI === pe ? v === "svg" : m.namespaceURI === pt ? v === "svg" && (_ === "annotation-xml" || gt[_]) : !!Kr[v] : f.namespaceURI === pt ? m.namespaceURI === pe ? v === "math" : m.namespaceURI === mt ? v === "math" && bt[_] : !!Xr[v] : f.namespaceURI === pe ? m.namespaceURI === mt && !bt[_] || m.namespaceURI === pt && !gt[_] ? !1 : !Xr[v] && (on[v] || !Kr[v]) : !!(tt === "application/xhtml+xml" && Kt[f.namespaceURI]) : !1;
2766
+ return Jt[f.namespaceURI] ? f.namespaceURI === mt ? m.namespaceURI === pe ? v === "svg" : m.namespaceURI === pt ? v === "svg" && (_ === "annotation-xml" || gt[_]) : !!Qr[v] : f.namespaceURI === pt ? m.namespaceURI === pe ? v === "math" : m.namespaceURI === mt ? v === "math" && bt[_] : !!Jr[v] : f.namespaceURI === pe ? m.namespaceURI === mt && !bt[_] || m.namespaceURI === pt && !gt[_] ? !1 : !Jr[v] && (Rn[v] || !Qr[v]) : !!(tt === "application/xhtml+xml" && Jt[f.namespaceURI]) : !1;
2787
2767
  }, ue = function(f) {
2788
2768
  N(y.removed, {
2789
2769
  element: f
@@ -2791,7 +2771,7 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2791
2771
  try {
2792
2772
  ht(f).removeChild(f);
2793
2773
  } catch {
2794
- qs(f);
2774
+ un(f);
2795
2775
  }
2796
2776
  }, vt = function(f, m) {
2797
2777
  try {
@@ -2816,9 +2796,9 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2816
2796
  m.setAttribute(f, "");
2817
2797
  } catch {
2818
2798
  }
2819
- }, Qr = function(f) {
2799
+ }, Zr = function(f) {
2820
2800
  let m = null, v = null;
2821
- if (Wt)
2801
+ if (Yt)
2822
2802
  f = "<remove></remove>" + f;
2823
2803
  else {
2824
2804
  const B = We(f, /^[\r\n\t ]+/);
@@ -2828,84 +2808,84 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2828
2808
  const _ = K ? K.createHTML(f) : f;
2829
2809
  if (Ne === pe)
2830
2810
  try {
2831
- m = new Ws().parseFromString(_, tt);
2811
+ m = new cn().parseFromString(_, tt);
2832
2812
  } catch {
2833
2813
  }
2834
2814
  if (!m || !m.documentElement) {
2835
- m = Dt.createDocument(Ne, "template", null);
2815
+ m = zt.createDocument(Ne, "template", null);
2836
2816
  try {
2837
- m.documentElement.innerHTML = Yt ? Je : _;
2817
+ m.documentElement.innerHTML = Qt ? Je : _;
2838
2818
  } catch {
2839
2819
  }
2840
2820
  }
2841
2821
  const G = m.body || m.documentElement;
2842
- return f && v && G.insertBefore(T.createTextNode(v), G.childNodes[0] || null), Ne === pe ? Js.call(m, xe ? "html" : "body")[0] : xe ? m.documentElement : G;
2843
- }, Jr = function(f) {
2844
- return Xs.call(
2822
+ return f && v && G.insertBefore(T.createTextNode(v), G.childNodes[0] || null), Ne === pe ? mn.call(m, xe ? "html" : "body")[0] : xe ? m.documentElement : G;
2823
+ }, ea = function(f) {
2824
+ return dn.call(
2845
2825
  f.ownerDocument || f,
2846
2826
  f,
2847
2827
  // eslint-disable-next-line no-bitwise
2848
2828
  Xe.SHOW_ELEMENT | Xe.SHOW_COMMENT | Xe.SHOW_TEXT | Xe.SHOW_PROCESSING_INSTRUCTION | Xe.SHOW_CDATA_SECTION,
2849
2829
  null
2850
2830
  );
2851
- }, Qt = function(f) {
2852
- return f instanceof Gs && (typeof f.nodeName != "string" || typeof f.textContent != "string" || typeof f.removeChild != "function" || !(f.attributes instanceof js) || typeof f.removeAttribute != "function" || typeof f.setAttribute != "function" || typeof f.namespaceURI != "string" || typeof f.insertBefore != "function" || typeof f.hasChildNodes != "function");
2853
- }, Zr = function(f) {
2854
- return typeof Ft == "function" && f instanceof Ft;
2831
+ }, er = function(f) {
2832
+ return f instanceof on && (typeof f.nodeName != "string" || typeof f.textContent != "string" || typeof f.removeChild != "function" || !(f.attributes instanceof nn) || typeof f.removeAttribute != "function" || typeof f.setAttribute != "function" || typeof f.namespaceURI != "string" || typeof f.insertBefore != "function" || typeof f.hasChildNodes != "function");
2833
+ }, ta = function(f) {
2834
+ return typeof Ut == "function" && f instanceof Ut;
2855
2835
  };
2856
2836
  function me(S, f, m) {
2857
2837
  g(S, (v) => {
2858
2838
  v.call(y, f, m, Ue);
2859
2839
  });
2860
2840
  }
2861
- const ea = function(f) {
2841
+ const ra = function(f) {
2862
2842
  let m = null;
2863
- if (me(X.beforeSanitizeElements, f, null), Qt(f))
2843
+ if (me(X.beforeSanitizeElements, f, null), er(f))
2864
2844
  return ue(f), !0;
2865
2845
  const v = z(f.nodeName);
2866
2846
  if (me(X.uponSanitizeElement, f, {
2867
2847
  tagName: v,
2868
2848
  allowedTags: U
2869
- }), f.hasChildNodes() && !Zr(f.firstElementChild) && q(/<[/\w]/g, f.innerHTML) && q(/<[/\w]/g, f.textContent) || f.nodeType === Ke.progressingInstruction || jt && f.nodeType === Ke.comment && q(/<[/\w]/g, f.data))
2849
+ }), f.hasChildNodes() && !ta(f.firstElementChild) && q(/<[/\w]/g, f.innerHTML) && q(/<[/\w]/g, f.textContent) || f.nodeType === Ke.progressingInstruction || Vt && f.nodeType === Ke.comment && q(/<[/\w]/g, f.data))
2870
2850
  return ue(f), !0;
2871
2851
  if (!U[v] || Ze[v]) {
2872
- if (!Ze[v] && ra(v) && (L.tagNameCheck instanceof RegExp && q(L.tagNameCheck, v) || L.tagNameCheck instanceof Function && L.tagNameCheck(v)))
2852
+ if (!Ze[v] && sa(v) && (L.tagNameCheck instanceof RegExp && q(L.tagNameCheck, v) || L.tagNameCheck instanceof Function && L.tagNameCheck(v)))
2873
2853
  return !1;
2874
- if (Vt && !De[v]) {
2875
- const _ = ht(f) || f.parentNode, G = Ks(f) || f.childNodes;
2854
+ if (Kt && !De[v]) {
2855
+ const _ = ht(f) || f.parentNode, G = fn(f) || f.childNodes;
2876
2856
  if (G && _) {
2877
2857
  const B = G.length;
2878
2858
  for (let ee = B - 1; ee >= 0; --ee) {
2879
- const he = Vs(G[ee], !0);
2880
- he.__removalCount = (f.__removalCount || 0) + 1, _.insertBefore(he, Ys(f));
2859
+ const he = ln(G[ee], !0);
2860
+ he.__removalCount = (f.__removalCount || 0) + 1, _.insertBefore(he, hn(f));
2881
2861
  }
2882
2862
  }
2883
2863
  }
2884
2864
  return ue(f), !0;
2885
2865
  }
2886
- return f instanceof Lr && !hn(f) || (v === "noscript" || v === "noembed" || v === "noframes") && q(/<\/no(script|embed|frames)/i, f.innerHTML) ? (ue(f), !0) : (Le && f.nodeType === Ke.text && (m = f.textContent, g([Nt, Ut, zt], (_) => {
2866
+ return f instanceof Fr && !xn(f) || (v === "noscript" || v === "noembed" || v === "noframes") && q(/<\/no(script|embed|frames)/i, f.innerHTML) ? (ue(f), !0) : (Le && f.nodeType === Ke.text && (m = f.textContent, g([Ht, Bt, jt], (_) => {
2887
2867
  m = Ve(m, _, " ");
2888
2868
  }), f.textContent !== m && (N(y.removed, {
2889
2869
  element: f.cloneNode()
2890
2870
  }), f.textContent = m)), me(X.afterSanitizeElements, f, null), !1);
2891
- }, ta = function(f, m, v) {
2892
- if (Br && (m === "id" || m === "name") && (v in T || v in un))
2871
+ }, aa = function(f, m, v) {
2872
+ if (Gr && (m === "id" || m === "name") && (v in T || v in Cn))
2893
2873
  return !1;
2894
- if (!(Bt && !Ht[m] && q(en, m))) {
2895
- if (!(Ur && q(tn, m))) {
2896
- if (!H[m] || Ht[m]) {
2874
+ if (!(Wt && !Gt[m] && q(bn, m))) {
2875
+ if (!(Hr && q(vn, m))) {
2876
+ if (!H[m] || Gt[m]) {
2897
2877
  if (
2898
2878
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
2899
2879
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2900
2880
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
2901
- !(ra(f) && (L.tagNameCheck instanceof RegExp && q(L.tagNameCheck, f) || L.tagNameCheck instanceof Function && L.tagNameCheck(f)) && (L.attributeNameCheck instanceof RegExp && q(L.attributeNameCheck, m) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(m)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2881
+ !(sa(f) && (L.tagNameCheck instanceof RegExp && q(L.tagNameCheck, f) || L.tagNameCheck instanceof Function && L.tagNameCheck(f)) && (L.attributeNameCheck instanceof RegExp && q(L.attributeNameCheck, m) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(m)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2902
2882
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2903
2883
  m === "is" && L.allowCustomizedBuiltInElements && (L.tagNameCheck instanceof RegExp && q(L.tagNameCheck, v) || L.tagNameCheck instanceof Function && L.tagNameCheck(v)))
2904
2884
  ) return !1;
2905
- } else if (!qt[m]) {
2906
- if (!q(Fr, Ve(v, Or, ""))) {
2907
- if (!((m === "src" || m === "xlink:href" || m === "href") && f !== "script" && Cs(v, "data:") === 0 && Wr[f])) {
2908
- if (!(zr && !q(rn, Ve(v, Or, "")))) {
2885
+ } else if (!Xt[m]) {
2886
+ if (!q(Nr, Ve(v, Dr, ""))) {
2887
+ if (!((m === "src" || m === "xlink:href" || m === "href") && f !== "script" && Bs(v, "data:") === 0 && qr[f])) {
2888
+ if (!(Br && !q(yn, Ve(v, Dr, "")))) {
2909
2889
  if (v)
2910
2890
  return !1;
2911
2891
  }
@@ -2915,14 +2895,14 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2915
2895
  }
2916
2896
  }
2917
2897
  return !0;
2918
- }, ra = function(f) {
2919
- return f !== "annotation-xml" && We(f, an);
2920
- }, aa = function(f) {
2898
+ }, sa = function(f) {
2899
+ return f !== "annotation-xml" && We(f, Sn);
2900
+ }, na = function(f) {
2921
2901
  me(X.beforeSanitizeAttributes, f, null);
2922
2902
  const {
2923
2903
  attributes: m
2924
2904
  } = f;
2925
- if (!m || Qt(f))
2905
+ if (!m || er(f))
2926
2906
  return;
2927
2907
  const v = {
2928
2908
  attrName: "",
@@ -2938,24 +2918,24 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2938
2918
  namespaceURI: ee,
2939
2919
  value: he
2940
2920
  } = G, rt = z(B);
2941
- let Q = B === "value" ? he : xs(he);
2942
- if (v.attrName = rt, v.attrValue = Q, v.keepAttr = !0, v.forceKeepAttr = void 0, me(X.uponSanitizeAttribute, f, v), Q = v.attrValue, jr && (rt === "id" || rt === "name") && (vt(B, f), Q = sn + Q), jt && q(/((--!?|])>)|<\/(style|title)/i, Q)) {
2921
+ let Q = B === "value" ? he : js(he);
2922
+ if (v.attrName = rt, v.attrValue = Q, v.keepAttr = !0, v.forceKeepAttr = void 0, me(X.uponSanitizeAttribute, f, v), Q = v.attrValue, Wr && (rt === "id" || rt === "name") && (vt(B, f), Q = wn + Q), Vt && q(/((--!?|])>)|<\/(style|title)/i, Q)) {
2943
2923
  vt(B, f);
2944
2924
  continue;
2945
2925
  }
2946
2926
  if (v.forceKeepAttr || (vt(B, f), !v.keepAttr))
2947
2927
  continue;
2948
- if (!Hr && q(/\/>/i, Q)) {
2928
+ if (!jr && q(/\/>/i, Q)) {
2949
2929
  vt(B, f);
2950
2930
  continue;
2951
2931
  }
2952
- Le && g([Nt, Ut, zt], (na) => {
2953
- Q = Ve(Q, na, " ");
2932
+ Le && g([Ht, Bt, jt], (ia) => {
2933
+ Q = Ve(Q, ia, " ");
2954
2934
  });
2955
- const sa = z(f.nodeName);
2956
- if (ta(sa, rt, Q)) {
2935
+ const oa = z(f.nodeName);
2936
+ if (aa(oa, rt, Q)) {
2957
2937
  if (K && typeof ut == "object" && typeof ut.getAttributeType == "function" && !ee)
2958
- switch (ut.getAttributeType(sa, rt)) {
2938
+ switch (ut.getAttributeType(oa, rt)) {
2959
2939
  case "TrustedHTML": {
2960
2940
  Q = K.createHTML(Q);
2961
2941
  break;
@@ -2966,22 +2946,22 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2966
2946
  }
2967
2947
  }
2968
2948
  try {
2969
- ee ? f.setAttributeNS(ee, B, Q) : f.setAttribute(B, Q), Qt(f) ? ue(f) : w(y.removed);
2949
+ ee ? f.setAttributeNS(ee, B, Q) : f.setAttribute(B, Q), er(f) ? ue(f) : w(y.removed);
2970
2950
  } catch {
2971
2951
  }
2972
2952
  }
2973
2953
  }
2974
2954
  me(X.afterSanitizeAttributes, f, null);
2975
- }, fn = function S(f) {
2955
+ }, Tn = function S(f) {
2976
2956
  let m = null;
2977
- const v = Jr(f);
2957
+ const v = ea(f);
2978
2958
  for (me(X.beforeSanitizeShadowDOM, f, null); m = v.nextNode(); )
2979
- me(X.uponSanitizeShadowNode, m, null), ea(m), aa(m), m.content instanceof de && S(m.content);
2959
+ me(X.uponSanitizeShadowNode, m, null), ra(m), na(m), m.content instanceof de && S(m.content);
2980
2960
  me(X.afterSanitizeShadowDOM, f, null);
2981
2961
  };
2982
2962
  return y.sanitize = function(S) {
2983
2963
  let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, v = null, _ = null, G = null;
2984
- if (Yt = !S, Yt && (S = "<!-->"), typeof S != "string" && !Zr(S))
2964
+ if (Qt = !S, Qt && (S = "<!-->"), typeof S != "string" && !ta(S))
2985
2965
  if (typeof S.toString == "function") {
2986
2966
  if (S = S.toString(), typeof S != "string")
2987
2967
  throw qe("dirty is not a string, aborting");
@@ -2989,49 +2969,49 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2989
2969
  throw qe("toString is not a function");
2990
2970
  if (!y.isSupported)
2991
2971
  return S;
2992
- if (Gt || Xt(f), y.removed = [], typeof S == "string" && (et = !1), et) {
2972
+ if (qt || Zt(f), y.removed = [], typeof S == "string" && (et = !1), et) {
2993
2973
  if (S.nodeName) {
2994
2974
  const he = z(S.nodeName);
2995
2975
  if (!U[he] || Ze[he])
2996
2976
  throw qe("root node is forbidden and cannot be sanitized in-place");
2997
2977
  }
2998
- } else if (S instanceof Ft)
2999
- m = Qr("<!---->"), v = m.ownerDocument.importNode(S, !0), v.nodeType === Ke.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? m = v : m.appendChild(v);
2978
+ } else if (S instanceof Ut)
2979
+ m = Zr("<!---->"), v = m.ownerDocument.importNode(S, !0), v.nodeType === Ke.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? m = v : m.appendChild(v);
3000
2980
  else {
3001
2981
  if (!Oe && !Le && !xe && // eslint-disable-next-line unicorn/prefer-includes
3002
2982
  S.indexOf("<") === -1)
3003
2983
  return K && dt ? K.createHTML(S) : S;
3004
- if (m = Qr(S), !m)
2984
+ if (m = Zr(S), !m)
3005
2985
  return Oe ? null : dt ? Je : "";
3006
2986
  }
3007
- m && Wt && ue(m.firstChild);
3008
- const B = Jr(et ? S : m);
2987
+ m && Yt && ue(m.firstChild);
2988
+ const B = ea(et ? S : m);
3009
2989
  for (; _ = B.nextNode(); )
3010
- ea(_), aa(_), _.content instanceof de && fn(_.content);
2990
+ ra(_), na(_), _.content instanceof de && Tn(_.content);
3011
2991
  if (et)
3012
2992
  return S;
3013
2993
  if (Oe) {
3014
2994
  if (ft)
3015
- for (G = Qs.call(m.ownerDocument); m.firstChild; )
2995
+ for (G = pn.call(m.ownerDocument); m.firstChild; )
3016
2996
  G.appendChild(m.firstChild);
3017
2997
  else
3018
2998
  G = m;
3019
- return (H.shadowroot || H.shadowrootmode) && (G = Zs.call(x, G, !0)), G;
2999
+ return (H.shadowroot || H.shadowrootmode) && (G = gn.call(x, G, !0)), G;
3020
3000
  }
3021
3001
  let ee = xe ? m.outerHTML : m.innerHTML;
3022
- return xe && U["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && q(_r, m.ownerDocument.doctype.name) && (ee = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
3023
- ` + ee), Le && g([Nt, Ut, zt], (he) => {
3002
+ return xe && U["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && q(Ir, m.ownerDocument.doctype.name) && (ee = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
3003
+ ` + ee), Le && g([Ht, Bt, jt], (he) => {
3024
3004
  ee = Ve(ee, he, " ");
3025
3005
  }), K && dt ? K.createHTML(ee) : ee;
3026
3006
  }, y.setConfig = function() {
3027
3007
  let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3028
- Xt(S), Gt = !0;
3008
+ Zt(S), qt = !0;
3029
3009
  }, y.clearConfig = function() {
3030
- Ue = null, Gt = !1;
3010
+ Ue = null, qt = !1;
3031
3011
  }, y.isValidAttribute = function(S, f, m) {
3032
- Ue || Xt({});
3012
+ Ue || Zt({});
3033
3013
  const v = z(S), _ = z(f);
3034
- return ta(v, _, m);
3014
+ return aa(v, _, m);
3035
3015
  }, y.addHook = function(S, f) {
3036
3016
  typeof f == "function" && N(X[S], f);
3037
3017
  }, y.removeHook = function(S, f) {
@@ -3043,21 +3023,21 @@ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3043
3023
  }, y.removeHooks = function(S) {
3044
3024
  X[S] = [];
3045
3025
  }, y.removeAllHooks = function() {
3046
- X = Ir();
3026
+ X = Lr();
3047
3027
  }, y;
3048
3028
  }
3049
- var Bs = Mr();
3050
- return Bs;
3029
+ var sn = Or();
3030
+ return sn;
3051
3031
  });
3052
- })(cs);
3053
- const Mi = cs.exports, Li = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
3054
- let Oi = (e = 21) => {
3032
+ })(us);
3033
+ const Ai = us.exports, Ii = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
3034
+ let Mi = (e = 21) => {
3055
3035
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
3056
3036
  for (; e--; )
3057
- t += Li[r[e] & 63];
3037
+ t += Ii[r[e] & 63];
3058
3038
  return t;
3059
3039
  };
3060
- const Fi = /* @__PURE__ */ D(class extends F {
3040
+ const Li = /* @__PURE__ */ D(class extends F {
3061
3041
  constructor() {
3062
3042
  super();
3063
3043
  h(this, "adSource", "Custom");
@@ -3066,7 +3046,7 @@ const Fi = /* @__PURE__ */ D(class extends F {
3066
3046
  h(this, "unsubscribe", () => {
3067
3047
  });
3068
3048
  h(this, "core");
3069
- h(this, "adContainerId", Oi());
3049
+ h(this, "adContainerId", Mi());
3070
3050
  this.__registerHost();
3071
3051
  }
3072
3052
  connectedCallback() {
@@ -3102,7 +3082,7 @@ const Fi = /* @__PURE__ */ D(class extends F {
3102
3082
  return r && (n = r({
3103
3083
  searchTerm: this.searchTerm,
3104
3084
  adContainerId: this.adContainerId
3105
- })), d("div", { class: "searchcraft-custom-ad", id: a, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: Mi.sanitize(n) });
3085
+ })), d("div", { class: "searchcraft-custom-ad", id: a, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: Ai.sanitize(n) });
3106
3086
  }
3107
3087
  renderNativoAd() {
3108
3088
  return d("div", { class: "searchcraft-nativo-ad" });
@@ -3124,17 +3104,18 @@ const Fi = /* @__PURE__ */ D(class extends F {
3124
3104
  adClientResponseItem: [16],
3125
3105
  searchTerm: [32]
3126
3106
  }]);
3127
- function Er() {
3107
+ function It() {
3128
3108
  if (typeof customElements > "u")
3129
3109
  return;
3130
3110
  ["searchcraft-ad"].forEach((t) => {
3131
3111
  switch (t) {
3132
3112
  case "searchcraft-ad":
3133
- customElements.get(t) || customElements.define(t, Fi);
3113
+ customElements.get(t) || customElements.define(t, Li);
3134
3114
  break;
3135
3115
  }
3136
3116
  });
3137
3117
  }
3118
+ const Oi = It;
3138
3119
  function oe(e, t) {
3139
3120
  if (e && t)
3140
3121
  return t.fieldNames.map((r) => {
@@ -3142,7 +3123,7 @@ function oe(e, t) {
3142
3123
  if (a)
3143
3124
  switch (r.dataType) {
3144
3125
  case "date": {
3145
- a = Di(a);
3126
+ a = Fi(a);
3146
3127
  break;
3147
3128
  }
3148
3129
  case "number": {
@@ -3153,7 +3134,7 @@ function oe(e, t) {
3153
3134
  return a;
3154
3135
  }).filter((r) => !!r).join(t.delimiter || " ");
3155
3136
  }
3156
- function ls(e) {
3137
+ function hs(e) {
3157
3138
  switch (e) {
3158
3139
  case "hour":
3159
3140
  return 36e5;
@@ -3167,14 +3148,14 @@ function ls(e) {
3167
3148
  return 36e5;
3168
3149
  }
3169
3150
  }
3170
- function tr(e) {
3151
+ function sr(e) {
3171
3152
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
3172
3153
  }
3173
- function Di(e) {
3154
+ function Fi(e) {
3174
3155
  const t = /* @__PURE__ */ new Date(), r = new Date(e), a = Math.floor((t.getTime() - r.getTime()) / 1e3), n = Math.floor(a / 60), o = Math.floor(n / 60), s = Math.floor(o / 24), c = Math.floor(s / 365);
3175
3156
  return n < 60 ? `${n}m ago` : o < 24 ? `${o}h ago` : s < 365 ? `${s}d ago` : `${c}y ago`;
3176
3157
  }
3177
- const Ni = /* @__PURE__ */ D(class extends F {
3158
+ const Di = /* @__PURE__ */ D(class extends F {
3178
3159
  constructor() {
3179
3160
  super();
3180
3161
  h(this, "item");
@@ -3248,7 +3229,7 @@ const Ni = /* @__PURE__ */ D(class extends F {
3248
3229
  this.titleContent = oe(r, (a = this.searchResultMappings) == null ? void 0 : a.title), this.subtitleContent = oe(r, (n = this.searchResultMappings) == null ? void 0 : n.subtitle), this.bodyContent = oe(r, (o = this.searchResultMappings) == null ? void 0 : o.body), this.containerHref = oe(r, (s = this.searchResultMappings) == null ? void 0 : s.containerHref), this.buttonHref = oe(r, (c = this.searchResultMappings) == null ? void 0 : c.buttonHref), this.imageSrc = oe(r, (u = this.searchResultMappings) == null ? void 0 : u.imageSource), this.footerContent = oe(r, (l = this.searchResultMappings) == null ? void 0 : l.footer);
3249
3230
  }
3250
3231
  render() {
3251
- const r = this.parseStyles(), a = this.imageSrc && d("img", { alt: this.imageAlt, class: "searchcraft-search-result-image", src: this.imageSrc, style: r.image || {} }), n = d(pr, null, this.imageSrc && this.imagePlacement === "left" && a, d("div", { class: "searchcraft-base-search-result-content-container" }, this.titleContent && d("h2", { class: "searchcraft-base-search-result-title", style: r.title || {} }, this.titleContent), this.subtitleContent && d("h3", { class: "searchcraft-base-search-result-subtitle", style: r.subtitle || {} }, this.subtitleContent), this.bodyContent && d("p", { class: "searchcraft-base-search-result-body-content", style: r.primaryContent || {} }, this.bodyContent), this.footerContent && d("p", { class: "searchcraft-base-search-result-footer-content", style: r.secondaryContent || {} }, this.footerContent), this.buttonHref && !this.containerHref && this.buttonLabel && d("a", { class: "searchcraft-search-result-button", href: this.buttonHref, style: r.button || {}, target: this.buttonTarget, rel: this.buttonRel }, this.buttonLabel)), this.imageSrc && this.imagePlacement === "right" && a);
3232
+ const r = this.parseStyles(), a = this.imageSrc && d("img", { alt: this.imageAlt, class: "searchcraft-search-result-image", src: this.imageSrc, style: r.image || {} }), n = d(br, null, this.imageSrc && this.imagePlacement === "left" && a, d("div", { class: "searchcraft-base-search-result-content-container" }, this.titleContent && d("h2", { class: "searchcraft-base-search-result-title", style: r.title || {} }, this.titleContent), this.subtitleContent && d("h3", { class: "searchcraft-base-search-result-subtitle", style: r.subtitle || {} }, this.subtitleContent), this.bodyContent && d("p", { class: "searchcraft-base-search-result-body-content", style: r.primaryContent || {} }, this.bodyContent), this.footerContent && d("p", { class: "searchcraft-base-search-result-footer-content", style: r.secondaryContent || {} }, this.footerContent), this.buttonHref && !this.containerHref && this.buttonLabel && d("a", { class: "searchcraft-search-result-button", href: this.buttonHref, style: r.button || {}, target: this.buttonTarget, rel: this.buttonRel }, this.buttonLabel)), this.imageSrc && this.imagePlacement === "right" && a);
3252
3233
  return this.containerHref ? d("a", { class: "searchcraft-search-result-container", onClick: this.handleLinkClick, href: this.containerHref, rel: this.containerRel, style: r.container || {}, tabindex: "0", target: this.containerTarget }, n) : d("div", { class: "searchcraft-search-result-container", style: r.container || {} }, n);
3253
3234
  }
3254
3235
  }, [0, "searchcraft-base-search-result", {
@@ -3271,17 +3252,18 @@ const Ni = /* @__PURE__ */ D(class extends F {
3271
3252
  imageSrc: [32],
3272
3253
  imageAlt: [32]
3273
3254
  }]);
3274
- function Ui() {
3255
+ function fs() {
3275
3256
  if (typeof customElements > "u")
3276
3257
  return;
3277
3258
  ["searchcraft-base-search-result"].forEach((t) => {
3278
3259
  switch (t) {
3279
3260
  case "searchcraft-base-search-result":
3280
- customElements.get(t) || customElements.define(t, Ni);
3261
+ customElements.get(t) || customElements.define(t, Di);
3281
3262
  break;
3282
3263
  }
3283
3264
  });
3284
3265
  }
3266
+ const Ni = fs;
3285
3267
  function ct(e) {
3286
3268
  if (typeof e == "string")
3287
3269
  try {
@@ -3291,14 +3273,14 @@ function ct(e) {
3291
3273
  }
3292
3274
  return e || {};
3293
3275
  }
3294
- function zi(e) {
3276
+ function Ui(e) {
3295
3277
  try {
3296
3278
  return JSON.stringify(e);
3297
3279
  } catch (t) {
3298
3280
  return console.error("Error serializing styles:", t), "{}";
3299
3281
  }
3300
3282
  }
3301
- const Hi = /* @__PURE__ */ D(class extends F {
3283
+ const zi = /* @__PURE__ */ D(class extends F {
3302
3284
  constructor() {
3303
3285
  super();
3304
3286
  /**
@@ -3313,18 +3295,18 @@ const Hi = /* @__PURE__ */ D(class extends F {
3313
3295
  }, [0, "searchcraft-error-message", {
3314
3296
  errorMessage: [1, "error-message"]
3315
3297
  }]);
3316
- function Rr() {
3298
+ function Mt() {
3317
3299
  if (typeof customElements > "u")
3318
3300
  return;
3319
3301
  ["searchcraft-error-message"].forEach((t) => {
3320
3302
  switch (t) {
3321
3303
  case "searchcraft-error-message":
3322
- customElements.get(t) || customElements.define(t, Hi);
3304
+ customElements.get(t) || customElements.define(t, zi);
3323
3305
  break;
3324
3306
  }
3325
3307
  });
3326
3308
  }
3327
- const us = /* @__PURE__ */ D(class extends F {
3309
+ const ds = /* @__PURE__ */ D(class extends F {
3328
3310
  constructor() {
3329
3311
  super();
3330
3312
  /**
@@ -3372,7 +3354,7 @@ const us = /* @__PURE__ */ D(class extends F {
3372
3354
  }
3373
3355
  get serializedStyles() {
3374
3356
  let r = "";
3375
- return this.customStylesForResults && (r = typeof this.customStylesForResults == "string" ? this.customStylesForResults : zi(this.customStylesForResults)), r;
3357
+ return this.customStylesForResults && (r = typeof this.customStylesForResults == "string" ? this.customStylesForResults : Ui(this.customStylesForResults)), r;
3376
3358
  }
3377
3359
  componentDidLoad() {
3378
3360
  var a;
@@ -3449,28 +3431,28 @@ const us = /* @__PURE__ */ D(class extends F {
3449
3431
  isSearchInProgress: [32],
3450
3432
  config: [32]
3451
3433
  }]);
3452
- function Bi() {
3434
+ function Hi() {
3453
3435
  if (typeof customElements > "u")
3454
3436
  return;
3455
3437
  ["searchcraft-base-search-results", "searchcraft-ad", "searchcraft-base-search-result", "searchcraft-error-message"].forEach((t) => {
3456
3438
  switch (t) {
3457
3439
  case "searchcraft-base-search-results":
3458
- customElements.get(t) || customElements.define(t, us);
3440
+ customElements.get(t) || customElements.define(t, ds);
3459
3441
  break;
3460
3442
  case "searchcraft-ad":
3461
- customElements.get(t) || Er();
3443
+ customElements.get(t) || It();
3462
3444
  break;
3463
3445
  case "searchcraft-base-search-result":
3464
- customElements.get(t) || Ui();
3446
+ customElements.get(t) || fs();
3465
3447
  break;
3466
3448
  case "searchcraft-error-message":
3467
- customElements.get(t) || Rr();
3449
+ customElements.get(t) || Mt();
3468
3450
  break;
3469
3451
  }
3470
3452
  });
3471
3453
  }
3472
- const ji = us, Gi = Bi;
3473
- var hs = { exports: {} };
3454
+ const Bi = ds, ps = Hi;
3455
+ var ms = { exports: {} };
3474
3456
  /*!
3475
3457
  Copyright (c) 2018 Jed Watson.
3476
3458
  Licensed under the MIT License (MIT), see
@@ -3505,8 +3487,8 @@ var hs = { exports: {} };
3505
3487
  }
3506
3488
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
3507
3489
  })();
3508
- })(hs);
3509
- const A = hs.exports, Wi = /* @__PURE__ */ D(class extends F {
3490
+ })(ms);
3491
+ const A = ms.exports, ji = /* @__PURE__ */ D(class extends F {
3510
3492
  constructor() {
3511
3493
  super();
3512
3494
  /**
@@ -3551,7 +3533,7 @@ const A = hs.exports, Wi = /* @__PURE__ */ D(class extends F {
3551
3533
  "searchcraft-button-primary": this.hierarchy === "primary",
3552
3534
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
3553
3535
  "searchcraft-button-disabled": this.disabled
3554
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : d(pr, null, this.iconPosition === "left" && this.icon, d("span", null, this.label), this.iconPosition === "right" && this.icon));
3536
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : d(br, null, this.iconPosition === "left" && this.icon, d("span", null, this.label), this.iconPosition === "right" && this.icon));
3555
3537
  }
3556
3538
  }, [0, "searchcraft-button", {
3557
3539
  hierarchy: [1],
@@ -3562,27 +3544,28 @@ const A = hs.exports, Wi = /* @__PURE__ */ D(class extends F {
3562
3544
  label: [1],
3563
3545
  type: [1]
3564
3546
  }]);
3565
- function kr() {
3547
+ function Lt() {
3566
3548
  if (typeof customElements > "u")
3567
3549
  return;
3568
3550
  ["searchcraft-button"].forEach((t) => {
3569
3551
  switch (t) {
3570
3552
  case "searchcraft-button":
3571
- customElements.get(t) || customElements.define(t, Wi);
3553
+ customElements.get(t) || customElements.define(t, ji);
3572
3554
  break;
3573
3555
  }
3574
3556
  });
3575
3557
  }
3576
- function fs(e, t) {
3558
+ const Gi = Lt, Wi = Mt;
3559
+ function gs(e, t) {
3577
3560
  const r = { ...e };
3578
3561
  for (const a in t)
3579
- t.hasOwnProperty(a) && (t[a] instanceof Object && e[a] instanceof Object ? r[a] = fs(e[a], t[a]) : r[a] = t[a]);
3562
+ t.hasOwnProperty(a) && (t[a] instanceof Object && e[a] instanceof Object ? r[a] = gs(e[a], t[a]) : r[a] = t[a]);
3580
3563
  return r;
3581
3564
  }
3582
3565
  function Vi(e) {
3583
3566
  return e.filter((t, r, a) => !a.some((n, o) => o !== r && n.includes(t)));
3584
3567
  }
3585
- function Aa(e) {
3568
+ function Ia(e) {
3586
3569
  const t = {}, r = (a) => {
3587
3570
  var n;
3588
3571
  t[a.path] = {
@@ -3616,13 +3599,13 @@ function qi(e) {
3616
3599
  });
3617
3600
  }), t;
3618
3601
  }
3619
- function ds(e) {
3602
+ function bs(e) {
3620
3603
  const t = {
3621
3604
  count: e.count,
3622
3605
  path: e.path,
3623
3606
  children: []
3624
3607
  };
3625
- return Object.keys(e.children).length > 0 && (t.children = Object.values(e.children).map((r) => ds(r))), t;
3608
+ return Object.keys(e.children).length > 0 && (t.children = Object.values(e.children).map((r) => bs(r))), t;
3626
3609
  }
3627
3610
  function Yi(e, t) {
3628
3611
  const r = Object.keys(e), a = Object.keys(t), n = new Set(a.filter((s) => s.split("/").length > 2).map((s) => s.substring(0, s.lastIndexOf("/"))));
@@ -3637,7 +3620,7 @@ function Ki(e, t, r) {
3637
3620
  count: 0,
3638
3621
  path: "/",
3639
3622
  children: n
3640
- }, c = Aa(o), u = Aa(s), l = Yi(c, u), i = fs(l, u), p = qi(i), g = ds(p);
3623
+ }, c = Ia(o), u = Ia(s), l = Yi(c, u), i = gs(l, u), p = qi(i), g = bs(p);
3641
3624
  return {
3642
3625
  [e]: g.children
3643
3626
  };
@@ -3715,7 +3698,7 @@ const Xi = /* @__PURE__ */ D(class extends F {
3715
3698
  return d("div", { class: A("filtersListContainer", "searchcraft-filters-list-container") }, !r && d("p", { class: "searchcraft-facet-message" }, "Enter a search to view facets."), r == null ? void 0 : r.map((n) => {
3716
3699
  var s;
3717
3700
  const o = n.children ? (s = n.children) == null ? void 0 : s.some((c) => this.selectedPaths[c.path]) : !1;
3718
- return d("div", { key: n.path, class: A("searchcraft-filters-list-item") }, d("label", { class: A("filterCheckboxLabel", "searchcraft-filters-list-checkbox-label") }, d("input", { checked: this.selectedPaths[n.path], onChange: (c) => this.handleCheckboxChange(n.path), type: "checkbox" }), o ? d("div", { class: A("dashContainer", "searchcraft-filter-list-dash-container") }, d("svg", { width: "14", height: "3", viewBox: "0 0 14 3", fill: "none" }, d("title", null, "Checkbox Dash"), d("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : d("div", { class: A("checkContainer", "searchcraft-filter-list-check-container") }, d("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, d("title", null, "Checkbox Check"), d("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.formatLabel(n)), n.children && n.children.length > 0 && d(pr, null, n.children.map((c) => d("label", { key: c.path, class: A("childFilterCheckboxLabel", "searchcraft-child-filter-checkbox-label"), style: {
3701
+ return d("div", { key: n.path, class: A("searchcraft-filters-list-item") }, d("label", { class: A("filterCheckboxLabel", "searchcraft-filters-list-checkbox-label") }, d("input", { checked: this.selectedPaths[n.path], onChange: (c) => this.handleCheckboxChange(n.path), type: "checkbox" }), o ? d("div", { class: A("dashContainer", "searchcraft-filter-list-dash-container") }, d("svg", { width: "14", height: "3", viewBox: "0 0 14 3", fill: "none" }, d("title", null, "Checkbox Dash"), d("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : d("div", { class: A("checkContainer", "searchcraft-filter-list-check-container") }, d("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, d("title", null, "Checkbox Check"), d("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.formatLabel(n)), n.children && n.children.length > 0 && d(br, null, n.children.map((c) => d("label", { key: c.path, class: A("childFilterCheckboxLabel", "searchcraft-child-filter-checkbox-label"), style: {
3719
3702
  display: this.selectedPaths[n.path] ? "flex" : "none"
3720
3703
  } }, d("input", { checked: this.selectedPaths[c.path], onChange: (u) => {
3721
3704
  this.handleCheckboxChange(c.path);
@@ -3734,7 +3717,7 @@ const Xi = /* @__PURE__ */ D(class extends F {
3734
3717
  lastSortType: [32],
3735
3718
  unsubscribe: [32]
3736
3719
  }]);
3737
- function Qi() {
3720
+ function vs() {
3738
3721
  if (typeof customElements > "u")
3739
3722
  return;
3740
3723
  ["searchcraft-facet-list"].forEach((t) => {
@@ -3745,7 +3728,7 @@ function Qi() {
3745
3728
  }
3746
3729
  });
3747
3730
  }
3748
- const Ji = /* @__PURE__ */ D(class extends F {
3731
+ const Qi = vs, Ji = /* @__PURE__ */ D(class extends F {
3749
3732
  constructor() {
3750
3733
  super();
3751
3734
  /**
@@ -3759,7 +3742,7 @@ const Ji = /* @__PURE__ */ D(class extends F {
3759
3742
  /**
3760
3743
  * The granularity that the value must adhere to.
3761
3744
  */
3762
- h(this, "granularity", ls("month"));
3745
+ h(this, "granularity", hs("month"));
3763
3746
  /** The type of data allowed. */
3764
3747
  h(this, "dataType", "number");
3765
3748
  h(this, "endValue", this.max);
@@ -3805,7 +3788,7 @@ const Ji = /* @__PURE__ */ D(class extends F {
3805
3788
  startValue: [32],
3806
3789
  lastFocusedHandle: [32]
3807
3790
  }]);
3808
- function Zi() {
3791
+ function ys() {
3809
3792
  if (typeof customElements > "u")
3810
3793
  return;
3811
3794
  ["searchcraft-slider"].forEach((t) => {
@@ -3816,7 +3799,7 @@ function Zi() {
3816
3799
  }
3817
3800
  });
3818
3801
  }
3819
- const ec = /* @__PURE__ */ D(class extends F {
3802
+ const Zi = /* @__PURE__ */ D(class extends F {
3820
3803
  constructor() {
3821
3804
  super();
3822
3805
  /**
@@ -3863,18 +3846,18 @@ const ec = /* @__PURE__ */ D(class extends F {
3863
3846
  unsubscribe: [32],
3864
3847
  lastSearchTerm: [32]
3865
3848
  }]);
3866
- function tc() {
3849
+ function Ss() {
3867
3850
  if (typeof customElements > "u")
3868
3851
  return;
3869
3852
  ["searchcraft-toggle-button"].forEach((t) => {
3870
3853
  switch (t) {
3871
3854
  case "searchcraft-toggle-button":
3872
- customElements.get(t) || customElements.define(t, ec);
3855
+ customElements.get(t) || customElements.define(t, Zi);
3873
3856
  break;
3874
3857
  }
3875
3858
  });
3876
3859
  }
3877
- const ps = /* @__PURE__ */ D(class extends F {
3860
+ const ws = /* @__PURE__ */ D(class extends F {
3878
3861
  constructor() {
3879
3862
  super();
3880
3863
  /**
@@ -3896,7 +3879,7 @@ const ps = /* @__PURE__ */ D(class extends F {
3896
3879
  (r = this.unsubscribe) == null || r.call(this);
3897
3880
  }
3898
3881
  handleDateRangeChanged(r, a, n) {
3899
- const o = new Date(a), s = new Date(n);
3882
+ const o = new Date(new Date(a).getFullYear(), 0, 1), s = new Date(new Date(n).getFullYear() + 1, 0, 0);
3900
3883
  this.searchStore.addRangeValueForIndexField({
3901
3884
  fieldName: r,
3902
3885
  value: `${r}:[${o.toISOString()} TO ${s.toISOString()}]`
@@ -3924,10 +3907,10 @@ const ps = /* @__PURE__ */ D(class extends F {
3924
3907
  * Iterate through `items` and render them based on `type`
3925
3908
  */
3926
3909
  render() {
3927
- return d("div", { key: "a2860cc8afa3f1c3e8af38a6d040b75b2e414554", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3910
+ return d("div", { key: "73ca2e0efab911c5095c23ba33e85a26cc440b4a", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3928
3911
  switch (r.type) {
3929
3912
  case "dateRange": {
3930
- const a = r, n = new Date(a.options.minDate).getTime(), o = new Date(a.options.maxDate).getTime(), s = ls(a.options.granularity);
3913
+ const a = r, n = new Date(a.options.minDate).getTime(), o = new Date(a.options.maxDate).getTime(), s = hs(a.options.granularity);
3931
3914
  return d("div", { class: "searchcraft-filter-panel-section" }, d("p", { class: "searchcraft-filter-panel-label" }, r.label), d("searchcraft-slider", { min: n, max: o, granularity: s, dataType: "date", onRangeChanged: (c) => {
3932
3915
  this.handleDateRangeChanged(a.fieldName, c.detail.startValue, c.detail.endValue);
3933
3916
  } }));
@@ -3964,27 +3947,27 @@ const ps = /* @__PURE__ */ D(class extends F {
3964
3947
  unsubscribe: [32],
3965
3948
  lastSearchTerm: [32]
3966
3949
  }]);
3967
- function rc() {
3950
+ function ec() {
3968
3951
  if (typeof customElements > "u")
3969
3952
  return;
3970
3953
  ["searchcraft-filter-panel", "searchcraft-facet-list", "searchcraft-slider", "searchcraft-toggle-button"].forEach((t) => {
3971
3954
  switch (t) {
3972
3955
  case "searchcraft-filter-panel":
3973
- customElements.get(t) || customElements.define(t, ps);
3956
+ customElements.get(t) || customElements.define(t, ws);
3974
3957
  break;
3975
3958
  case "searchcraft-facet-list":
3976
- customElements.get(t) || Qi();
3959
+ customElements.get(t) || vs();
3977
3960
  break;
3978
3961
  case "searchcraft-slider":
3979
- customElements.get(t) || Zi();
3962
+ customElements.get(t) || ys();
3980
3963
  break;
3981
3964
  case "searchcraft-toggle-button":
3982
- customElements.get(t) || tc();
3965
+ customElements.get(t) || Ss();
3983
3966
  break;
3984
3967
  }
3985
3968
  });
3986
3969
  }
3987
- const ac = ps, sc = rc, nc = /* @__PURE__ */ D(class extends F {
3970
+ const tc = ws, Es = ec, rc = /* @__PURE__ */ D(class extends F {
3988
3971
  constructor() {
3989
3972
  super();
3990
3973
  /**
@@ -4001,18 +3984,18 @@ const ac = ps, sc = rc, nc = /* @__PURE__ */ D(class extends F {
4001
3984
  inputLabelClassName: [1, "input-label-class-name"],
4002
3985
  label: [1]
4003
3986
  }]);
4004
- function ms() {
3987
+ function Pr() {
4005
3988
  if (typeof customElements > "u")
4006
3989
  return;
4007
3990
  ["searchcraft-input-label"].forEach((t) => {
4008
3991
  switch (t) {
4009
3992
  case "searchcraft-input-label":
4010
- customElements.get(t) || customElements.define(t, nc);
3993
+ customElements.get(t) || customElements.define(t, rc);
4011
3994
  break;
4012
3995
  }
4013
3996
  });
4014
3997
  }
4015
- const gs = /* @__PURE__ */ D(class extends F {
3998
+ const Rs = /* @__PURE__ */ D(class extends F {
4016
3999
  constructor() {
4017
4000
  super();
4018
4001
  /**
@@ -4099,7 +4082,7 @@ const gs = /* @__PURE__ */ D(class extends F {
4099
4082
  }), s = {
4100
4083
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
4101
4084
  };
4102
- return d("form", { key: "2c14849e36610a8da9c24004dfcbbd53b5e9f068", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, d("div", { key: "9fbc29171b5764b36f0efb24bc1f90b149ce7a0a", class: n, style: s }, d("div", { key: "a4126032544a6b56869f9654060b2baee686df55", class: "searchcraft-input-button-wrapper" }, d("searchcraft-button", { key: "605f079014b82c4ff3f1f1114cba420004244750", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && d("div", { key: "6d6d275c7a6f3c82a6e94d1978516ef1ba2901dd", class: "searchcraft-input-label-wrapper" }, d("searchcraft-input-label", { key: "fa3c06bb3f873af486d65408e98e78ecdaa4ed9d", label: this.inputLabel })), this.error && d("div", { key: "bf57d444c5de3b8f225cd3eeff93679f4152d7cb", class: "searchcraft-input-error-wrapper" }, d("searchcraft-error-message", { key: "7fcf3e079853c8d53451e91fae619b99aa77afad", errorMessage: "Something went wrong." })), d("div", { key: "6cdecf2241a2874e97c3ce25c92cd10aca7945ae", class: "searchcraft-input-wrapper" }, d("input", { key: "2953736cd91b6d4c59cf74ea4889a0502e58f160", autoComplete: "off", class: "searchcraft-input", onFocus: () => {
4085
+ return d("form", { key: "52760b113a209c51638bcb005e0b6c3d5bf9741d", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, d("div", { key: "6b20020b8a67c9d860fca7da67150a8d75bd3313", class: n, style: s }, d("div", { key: "67bba2889e6fde70c4f349dfbd61d9a632c08301", class: "searchcraft-input-button-wrapper" }, d("searchcraft-button", { key: "a839e1a67d238bfbe6d47857f6339e49d14f9560", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && d("div", { key: "a2a69b7dbdf1142459d6ffad90dc26a38a76276d", class: "searchcraft-input-label-wrapper" }, d("searchcraft-input-label", { key: "621a4903821ba8c1854e3ff89d30a24dba3ed0fb", label: this.inputLabel })), this.error && d("div", { key: "b4cd633a139488cac185c38123b138fc5d51cd20", class: "searchcraft-input-error-wrapper" }, d("searchcraft-error-message", { key: "ccadaf96ac8317b6415a83e6523816328e83eb3e", errorMessage: "Something went wrong." })), d("div", { key: "0f13777c2e5f806ce12fff9680d7862a27b2e260", class: "searchcraft-input-wrapper" }, d("input", { key: "a9b58a486dfaadaedf3eeb9aec5e4c3c3548536b", autoComplete: "off", class: "searchcraft-input", onFocus: () => {
4103
4086
  var c;
4104
4087
  return (c = this.inputFocus) == null ? void 0 : c.emit();
4105
4088
  }, onBlur: () => {
@@ -4107,7 +4090,7 @@ const gs = /* @__PURE__ */ D(class extends F {
4107
4090
  return (c = this.inputBlur) == null ? void 0 : c.emit();
4108
4091
  }, onInput: (c) => {
4109
4092
  this.handleOnInput(c);
4110
- }, placeholder: this.placeholderValue, style: r, type: "text", value: this.inputValue }), d("div", { key: "b2c51a1c05f58c7918f80aef10c457b9d488d10d", class: "searchcraft-input-search-icon-wrapper" }, d("svg", { key: "66a5a1eb63565ff51e11b6c8728a1d2ca7e8dece", class: "searchcraft-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, d("title", { key: "bc6ba43a25df7b51eec1a32daa7872e02886449a", id: "searchcraft-title" }, "Searchcraft Search Icon Light"), d("path", { key: "97e536d07c9e32cd0a82a852b00c0b40bfb1820a", 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" }))), a && d("button", { key: "2a87b3403fdb997bebb4e7407bbbd8dcffa5afca", type: "button", class: "searchcraft-input-clear-button", onClick: this.handleClearInput }, d("svg", { key: "4b8319269c80d3f12b46b1c20db12b8f0929937c", class: "searchcraft-input-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, d("title", { key: "81ba07486777af6ceedc92429bb6a88624b777c3", id: "icon-title" }, "Searchcraft Clear Input Icon Light"), d("path", { key: "065f1f9a2b10532bc1495bacd7c4ef3de3867c1b", 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" }))))));
4093
+ }, placeholder: this.placeholderValue, style: r, type: "text", value: this.inputValue }), d("div", { key: "a57e4f72ee1383e42158bbc9e35d47d2c468acf5", class: "searchcraft-input-search-icon-wrapper" }, d("svg", { key: "c7bda92af1488981d5de08af0f9ae3064c76c354", class: "searchcraft-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, d("title", { key: "f4dc47ae6c88517eeaea574fe819423b3d6e6cb5", id: "searchcraft-title" }, "Searchcraft Search Icon Light"), d("path", { key: "c77497591b4f31de0f3e008baa79c006fd0a2eb9", 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" }))), a && d("button", { key: "e125b759eaa21dfdd4058bf36f3c10233f067835", type: "button", class: "searchcraft-input-clear-button", onClick: this.handleClearInput }, d("svg", { key: "b2767658bb9edbc51efd6430e051127b08c9ab83", class: "searchcraft-input-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, d("title", { key: "990ff3c8f207d09192e954b0f5d059e0683db2d4", id: "icon-title" }, "Searchcraft Clear Input Icon Light"), d("path", { key: "5322d9abb4d60a75869ca943a17157a32c502035", 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" }))))));
4111
4094
  }
4112
4095
  static get watchers() {
4113
4096
  return {
@@ -4128,27 +4111,27 @@ const gs = /* @__PURE__ */ D(class extends F {
4128
4111
  }, void 0, {
4129
4112
  core: ["onCoreChange"]
4130
4113
  }]);
4131
- function bs() {
4114
+ function ks() {
4132
4115
  if (typeof customElements > "u")
4133
4116
  return;
4134
4117
  ["searchcraft-input-form", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-label"].forEach((t) => {
4135
4118
  switch (t) {
4136
4119
  case "searchcraft-input-form":
4137
- customElements.get(t) || customElements.define(t, gs);
4120
+ customElements.get(t) || customElements.define(t, Rs);
4138
4121
  break;
4139
4122
  case "searchcraft-button":
4140
- customElements.get(t) || kr();
4123
+ customElements.get(t) || Lt();
4141
4124
  break;
4142
4125
  case "searchcraft-error-message":
4143
- customElements.get(t) || Rr();
4126
+ customElements.get(t) || Mt();
4144
4127
  break;
4145
4128
  case "searchcraft-input-label":
4146
- customElements.get(t) || ms();
4129
+ customElements.get(t) || Pr();
4147
4130
  break;
4148
4131
  }
4149
4132
  });
4150
4133
  }
4151
- const oc = gs, ic = bs, vs = /* @__PURE__ */ D(class extends F {
4134
+ const ac = Rs, Ps = ks, sc = Pr, Cs = /* @__PURE__ */ D(class extends F {
4152
4135
  constructor() {
4153
4136
  super();
4154
4137
  /**
@@ -4217,21 +4200,21 @@ const oc = gs, ic = bs, vs = /* @__PURE__ */ D(class extends F {
4217
4200
  searchResultsRangeMax: [32],
4218
4201
  setSearchResultsPage: [32]
4219
4202
  }]);
4220
- function cc() {
4203
+ function nc() {
4221
4204
  if (typeof customElements > "u")
4222
4205
  return;
4223
4206
  ["searchcraft-pagination", "searchcraft-button"].forEach((t) => {
4224
4207
  switch (t) {
4225
4208
  case "searchcraft-pagination":
4226
- customElements.get(t) || customElements.define(t, vs);
4209
+ customElements.get(t) || customElements.define(t, Cs);
4227
4210
  break;
4228
4211
  case "searchcraft-button":
4229
- customElements.get(t) || kr();
4212
+ customElements.get(t) || Lt();
4230
4213
  break;
4231
4214
  }
4232
4215
  });
4233
4216
  }
4234
- const lc = vs, uc = cc, ys = /* @__PURE__ */ D(class extends F {
4217
+ const oc = Cs, xs = nc, Ts = /* @__PURE__ */ D(class extends F {
4235
4218
  constructor() {
4236
4219
  super(), this.__registerHost();
4237
4220
  }
@@ -4242,18 +4225,18 @@ const lc = vs, uc = cc, ys = /* @__PURE__ */ D(class extends F {
4242
4225
  return d("button", { key: "a8ee70b49a5309cfb1363a272ea0870c48c59688", type: "button", onClick: this.handleOnClick.bind(this) }, d("slot", { key: "9ac712ed1f6e69d73e7ade3d42501fb67a02c7ff" }));
4243
4226
  }
4244
4227
  }, [4, "searchcraft-popover-button"]);
4245
- function hc() {
4228
+ function ic() {
4246
4229
  if (typeof customElements > "u")
4247
4230
  return;
4248
4231
  ["searchcraft-popover-button"].forEach((t) => {
4249
4232
  switch (t) {
4250
4233
  case "searchcraft-popover-button":
4251
- customElements.get(t) || customElements.define(t, ys);
4234
+ customElements.get(t) || customElements.define(t, Ts);
4252
4235
  break;
4253
4236
  }
4254
4237
  });
4255
4238
  }
4256
- const fc = ys, dc = hc, pc = /* @__PURE__ */ D(class extends F {
4239
+ const cc = Ts, $s = ic, lc = /* @__PURE__ */ D(class extends F {
4257
4240
  constructor() {
4258
4241
  super();
4259
4242
  h(this, "item");
@@ -4301,19 +4284,19 @@ const fc = ys, dc = hc, pc = /* @__PURE__ */ D(class extends F {
4301
4284
  titleContent: [32],
4302
4285
  subtitleContent: [32]
4303
4286
  }]);
4304
- function Ss() {
4287
+ function Cr() {
4305
4288
  if (typeof customElements > "u")
4306
4289
  return;
4307
4290
  ["searchcraft-popover-list-item"].forEach((t) => {
4308
4291
  switch (t) {
4309
4292
  case "searchcraft-popover-list-item":
4310
- customElements.get(t) || customElements.define(t, pc);
4293
+ customElements.get(t) || customElements.define(t, lc);
4311
4294
  break;
4312
4295
  }
4313
4296
  });
4314
4297
  }
4315
- var La;
4316
- const mc = /* @__PURE__ */ D(class extends F {
4298
+ var Fa;
4299
+ const uc = /* @__PURE__ */ D(class extends F {
4317
4300
  constructor() {
4318
4301
  super();
4319
4302
  /**
@@ -4328,7 +4311,7 @@ const mc = /* @__PURE__ */ D(class extends F {
4328
4311
  h(this, "adClientResponseItems");
4329
4312
  h(this, "searchResultsPage");
4330
4313
  h(this, "searchResultsPerPage");
4331
- h(this, "config", (La = $.getState().core) == null ? void 0 : La.config);
4314
+ h(this, "config", (Fa = $.getState().core) == null ? void 0 : Fa.config);
4332
4315
  this.__registerHost();
4333
4316
  }
4334
4317
  renderWithADMAds() {
@@ -4372,24 +4355,24 @@ const mc = /* @__PURE__ */ D(class extends F {
4372
4355
  searchResultsPage: [2, "search-results-page"],
4373
4356
  searchResultsPerPage: [2, "search-results-per-page"]
4374
4357
  }]);
4375
- function gc() {
4358
+ function _s() {
4376
4359
  if (typeof customElements > "u")
4377
4360
  return;
4378
4361
  ["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((t) => {
4379
4362
  switch (t) {
4380
4363
  case "searchcraft-popover-list-view":
4381
- customElements.get(t) || customElements.define(t, mc);
4364
+ customElements.get(t) || customElements.define(t, uc);
4382
4365
  break;
4383
4366
  case "searchcraft-ad":
4384
- customElements.get(t) || Er();
4367
+ customElements.get(t) || It();
4385
4368
  break;
4386
4369
  case "searchcraft-popover-list-item":
4387
- customElements.get(t) || Ss();
4370
+ customElements.get(t) || Cr();
4388
4371
  break;
4389
4372
  }
4390
4373
  });
4391
4374
  }
4392
- const ws = /* @__PURE__ */ D(class extends F {
4375
+ const As = /* @__PURE__ */ D(class extends F {
4393
4376
  constructor() {
4394
4377
  super();
4395
4378
  /**
@@ -4565,42 +4548,42 @@ const ws = /* @__PURE__ */ D(class extends F {
4565
4548
  searchResultsPerPage: [32],
4566
4549
  modalElement: [32]
4567
4550
  }]);
4568
- function Es() {
4551
+ function Is() {
4569
4552
  if (typeof customElements > "u")
4570
4553
  return;
4571
4554
  ["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((t) => {
4572
4555
  switch (t) {
4573
4556
  case "searchcraft-popover-form":
4574
- customElements.get(t) || customElements.define(t, ws);
4557
+ customElements.get(t) || customElements.define(t, As);
4575
4558
  break;
4576
4559
  case "searchcraft-ad":
4577
- customElements.get(t) || Er();
4560
+ customElements.get(t) || It();
4578
4561
  break;
4579
4562
  case "searchcraft-button":
4580
- customElements.get(t) || kr();
4563
+ customElements.get(t) || Lt();
4581
4564
  break;
4582
4565
  case "searchcraft-error-message":
4583
- customElements.get(t) || Rr();
4566
+ customElements.get(t) || Mt();
4584
4567
  break;
4585
4568
  case "searchcraft-input-form":
4586
- customElements.get(t) || bs();
4569
+ customElements.get(t) || ks();
4587
4570
  break;
4588
4571
  case "searchcraft-input-label":
4589
- customElements.get(t) || ms();
4572
+ customElements.get(t) || Pr();
4590
4573
  break;
4591
4574
  case "searchcraft-popover-form":
4592
- customElements.get(t) || Es();
4575
+ customElements.get(t) || Is();
4593
4576
  break;
4594
4577
  case "searchcraft-popover-list-item":
4595
- customElements.get(t) || Ss();
4578
+ customElements.get(t) || Cr();
4596
4579
  break;
4597
4580
  case "searchcraft-popover-list-view":
4598
- customElements.get(t) || gc();
4581
+ customElements.get(t) || _s();
4599
4582
  break;
4600
4583
  }
4601
4584
  });
4602
4585
  }
4603
- const bc = ws, vc = Es, Rs = /* @__PURE__ */ D(class extends F {
4586
+ const hc = As, Ms = Is, fc = Cr, dc = _s, Ls = /* @__PURE__ */ D(class extends F {
4604
4587
  constructor() {
4605
4588
  super();
4606
4589
  /**
@@ -4640,9 +4623,9 @@ const bc = ws, vc = Es, Rs = /* @__PURE__ */ D(class extends F {
4640
4623
  }
4641
4624
  render() {
4642
4625
  return !this.searchTerm || this.searchResultsCount === 0 ? null : d("p", { class: A("searchcraft-results-info", ct(this.customStyles || {})) }, this.customFormatter ? this.customFormatter([
4643
- tr(this.range[0]),
4644
- tr(this.range[1])
4645
- ], tr(this.count), this.responseTime) : `${this.count} results found in ${this.responseTime}ms`);
4626
+ sr(this.range[0]),
4627
+ sr(this.range[1])
4628
+ ], sr(this.count), this.responseTime) : `${this.count} results found in ${this.responseTime}ms`);
4646
4629
  }
4647
4630
  }, [0, "searchcraft-results-info", {
4648
4631
  customFormatter: [16],
@@ -4655,18 +4638,18 @@ const bc = ws, vc = Es, Rs = /* @__PURE__ */ D(class extends F {
4655
4638
  range: [32],
4656
4639
  responseTime: [32]
4657
4640
  }]);
4658
- function yc() {
4641
+ function pc() {
4659
4642
  if (typeof customElements > "u")
4660
4643
  return;
4661
4644
  ["searchcraft-results-info"].forEach((t) => {
4662
4645
  switch (t) {
4663
4646
  case "searchcraft-results-info":
4664
- customElements.get(t) || customElements.define(t, Rs);
4647
+ customElements.get(t) || customElements.define(t, Ls);
4665
4648
  break;
4666
4649
  }
4667
4650
  });
4668
4651
  }
4669
- const Sc = Rs, wc = yc, Ec = /* @__PURE__ */ D(class extends F {
4652
+ const mc = Ls, Os = pc, gc = /* @__PURE__ */ D(class extends F {
4670
4653
  constructor() {
4671
4654
  super();
4672
4655
  /**
@@ -4734,18 +4717,18 @@ const Sc = Rs, wc = yc, Ec = /* @__PURE__ */ D(class extends F {
4734
4717
  setSearchResultsPage: [32],
4735
4718
  setSearchResultsPerPage: [32]
4736
4719
  }]);
4737
- function Rc() {
4720
+ function Fs() {
4738
4721
  if (typeof customElements > "u")
4739
4722
  return;
4740
4723
  ["searchcraft-select"].forEach((t) => {
4741
4724
  switch (t) {
4742
4725
  case "searchcraft-select":
4743
- customElements.get(t) || customElements.define(t, Ec);
4726
+ customElements.get(t) || customElements.define(t, gc);
4744
4727
  break;
4745
4728
  }
4746
4729
  });
4747
4730
  }
4748
- const ks = /* @__PURE__ */ D(class extends F {
4731
+ const Ds = /* @__PURE__ */ D(class extends F {
4749
4732
  constructor() {
4750
4733
  super();
4751
4734
  /**
@@ -4807,40 +4790,40 @@ const ks = /* @__PURE__ */ D(class extends F {
4807
4790
  setSearchResultsPerPage: [32],
4808
4791
  setSearchResultsPage: [32]
4809
4792
  }]);
4810
- function kc() {
4793
+ function bc() {
4811
4794
  if (typeof customElements > "u")
4812
4795
  return;
4813
4796
  ["searchcraft-search-results-per-page", "searchcraft-select"].forEach((t) => {
4814
4797
  switch (t) {
4815
4798
  case "searchcraft-search-results-per-page":
4816
- customElements.get(t) || customElements.define(t, ks);
4799
+ customElements.get(t) || customElements.define(t, Ds);
4817
4800
  break;
4818
4801
  case "searchcraft-select":
4819
- customElements.get(t) || Rc();
4802
+ customElements.get(t) || Fs();
4820
4803
  break;
4821
4804
  }
4822
4805
  });
4823
4806
  }
4824
- const Pc = ks, Cc = kc, xc = `: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)}: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: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var(--sc-color-background-hover, #fafafa);--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, #f7f7f7 );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-secondary-hover, var(--sc-color-background-hover, #e6e6e6) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var(--sc-color-foreground-secondary, #404040);--sc-border-neutral: rgba(0, 0, 0, 0.1);--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var(--sc-color-brand-hover, #2e2e2e);--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var(--sc-color-brand-active, #292929);--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-surface-brand-secondary-hover: var( --sc-color-brand-secondary-hover, var(--sc-color-brand-hover, #ebebeb) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active, #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: hsl(from var(--sc-color-success) h s 30);--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, #009900 );--sc-color-success-primary-active: hsl(from var(--sc-color-success) h s 20);--sc-surface-success-primary-active: var( --sc-color-success-primary-active, #006600 );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90);--sc-surface-success-secondary: var(--sc-color-success-secondary, #ccffcc);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, #e6ffe6 );--sc-color-success-secondary-active: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, #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: hsl(from var(--sc-color-caution) h s 30);--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, #e57300 );--sc-color-caution-primary-active: hsl(from var(--sc-color-caution) h s 20);--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, #b25a00 );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90);--sc-surface-caution-secondary: var(--sc-color-caution-secondary, #ffd9b3);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, #ffe5cc );--sc-color-caution-secondary-active: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, #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: hsl(from var(--sc-color-danger) h s 30);--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, #e50000 );--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20);--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, #b30000 );--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var(--sc-color-danger-secondary, #ffcccc);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, #ffe7e7 );--sc-color-danger-secondary-active: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, #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: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover: hsl(from var(--sc-color-success) h s 30%);--sc-color-success-primary-active: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90%);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active: 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: hsl(from var(--sc-color-caution) h s 30%);--sc-color-caution-primary-active: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90%);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active: 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: hsl(from var(--sc-color-danger) h s 30%);--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20%);--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90%);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active: 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-custom-ad{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-adm-ad{all:unset;display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical);border:1px solid blue}.searchcraft-adm-ad:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-adm-ad-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-adm-ad-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-adm-ad-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-adm-ad-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-search-result-container{all:unset;align-items:flex-start;border-radius:var(--sc-border-radius-lg);display:flex;flex-direction:column;gap:16px;padding:8px;color:inherit;background-color:var(--sc-surface-neutral-primary)}@media(min-width: 768px){.searchcraft-search-result-container{flex-direction:row}}a.searchcraft-search-result-container{cursor:pointer;transition:background-color 100ms}.searchcraft-base-search-result-content-container{flex:1;display:flex;flex-direction:column;gap:8px}.searchcraft-search-result-image{border-radius:calc(--sc-border-radius-lg - 8px);border-radius:calc(var(--sc-border-radius-lg) - 8px);width:100%}@media(min-width: 768px){.searchcraft-search-result-image{width:200px}}.searchcraft-base-search-result-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin:0}.searchcraft-base-search-result-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-base-search-result-body-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-base-search-result-footer-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-search-results-container{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state-container{text-align:center}.searchcraft-search-results-error-message-container{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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-error-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-danger);margin:0}.filtersListContainer{width:100%}.filterCheckboxLabel{align-items:center;color:var(--sc-content-brand);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:14px;position:relative;-webkit-font-smoothing:antialiased}.filterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;width:24px}.filterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.filterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.filterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.filterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.childFilterCheckboxLabel{align-items:center;color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:12px;margin-left:24px;position:relative}.childFilterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary-hover);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;position:relative;width:24px;-webkit-font-smoothing:antialiased}.childFilterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.childFilterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.childFilterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.childFilterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.checkContainer{display:none;height:16px;width:16px;position:absolute;top:9px;left:8px}.dashContainer{display:none;height:3px;width:14px;position:absolute;top:3px;left:9px}.searchcraft-facet-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}:root{--sc-input-border-radius: var(--sc-border-radius);--sc-input-search-icon-size: 20px;--sc-input-clear-icon-size: 20px;--sc-input-padding-left: 44px;--sc-input-padding-right: 44px}.searchcraft-input-grid{display:grid;gap:4px 8px}.searchcraft-input-grid-buttonLeft{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-grid-buttonLeft .searchcraft-input-button-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-label-wrapper{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-error-wrapper{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-grid-buttonRight .searchcraft-input-button-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonNone{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-grid-buttonNone .searchcraft-input-button-wrapper{display:none}.searchcraft-input-grid-buttonNone .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-wrapper{position:relative;display:flex}.searchcraft-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-border-radius);border:none;color:var(--sc-content-neutral-primary);outline:none;padding-left:var(--sc-input-padding-left);padding-right:var(--sc-input-padding-right);padding-top:12px;padding-bottom:12px;flex:1}.searchcraft-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input:focus{outline:var(--sc-border-brand) solid 2px}.searchcraft-input:focus::placeholder{opacity:0}.searchcraft-input.error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input.error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-search-icon-wrapper{align-items:center;justify-content:center;display:flex;position:absolute;pointer-events:none;bottom:0;left:0;top:0;width:var(--sc-input-padding-left)}.searchcraft-input-search-icon{pointer-events:none;width:var(--sc-input-search-icon-size);height:var(--sc-input-search-icon-size);color:var(--sc-content-neutral-secondary)}.searchcraft-input-clear-button{all:unset;align-items:center;justify-content:center;cursor:pointer;display:flex;position:absolute;border:none;outline:none;bottom:0;right:0;top:0;width:var(--sc-input-padding-right)}.searchcraft-input-clear-icon{width:var(--sc-input-clear-icon-size);height:var(--sc-input-clear-icon-size);color:var(--sc-content-brand)}.searchcraft-input-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-form-border-radius: var(--sc-border-radius);--sc-popover-list-view-height: 400px;--sc-popover-list-item-image-size: 60px;--sc-popover-list-item-padding-horizontal: 8px;--sc-popover-list-item-padding-vertical: 8px;--sc-popover-modal-max-width: 570px}.searchcraft-popover-form{display:flex;flex-direction:column;flex:1}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper{padding:12px;background-color:var(--sc-surface-neutral-secondary);display:flex;flex-direction:row;gap:4px}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper>searchcraft-input-form{flex:1}.searchcraft-popover-form .searchcraft-popover-form-cancel-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);border:0;outline:0;padding:0;flex-shrink:0;background:none;cursor:pointer;padding-left:12px;padding-right:12px}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:focus{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-popover-form-inline .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);border:none;outline:none}.searchcraft-popover-form-inline.searchcraft-popover-form-active .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-outer{position:relative}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-inner{position:absolute;height:var(--sc-popover-list-view-height);z-index:1000;width:100%}.searchcraft-popover-form-inline .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);max-height:var(--sc-popover-list-view-height)}.searchcraft-popover-form-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:0;background-color:var(--sc-surface-neutral-secondary)}@media(min-width: 576px){.searchcraft-popover-form-modal{padding:16px;background-color:rgba(0,0,0,0)}}.searchcraft-popover-form-modal .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{position:absolute;inset:0;background-color:rgba(0,0,0,.5);display:none}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{position:absolute;inset:0;z-index:1002;margin-top:0px;display:flex;border-radius:var(--sc-popover-form-border-radius);overflow:hidden}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{inset:auto;position:relative;width:100%;margin-top:100px;max-width:var(--sc-popover-modal-max-width)}}.searchcraft-popover-form-modal .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:0;border-bottom-right-radius:0}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-list-view{max-height:var(--sc-popover-list-view-height)}}.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:scroll}@media(min-width: 576px){.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:auto}}.searchcraft-popover-form-fullscreen{position:fixed;inset:0;z-index:1000;background-color:var(--sc-surface-neutral-secondary)}.searchcraft-popover-form-fullscreen .searchcraft-popover-form{position:absolute;inset:0}.searchcraft-popover-form-fullscreen .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-fullscreen searchcraft-popover-list-view{overflow:scroll}.searchcraft-popover-list-item{all:unset;color:var(--sc-content-neutral-secondary);display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical)}.searchcraft-popover-list-item:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-popover-list-item-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-popover-list-item-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-results-info{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-primary);margin:0}.searchcraft-slider-container{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%}.searchcraft-slider-range-container{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range-container::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px;-webkit-appearance:none}.searchcraft-slider-range-container .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px}.searchcraft-slider-label-container{color:var(--sc-content-primary);display:flex;font-family:"Source Sans Pro",sans-serif;font-size:15px;font-weight:600;justify-content:space-between;margin-top:10px;width:100%}.searchcraft-slider-label{min-width:30px;text-align:center}.searchcraft-toggle-button-container{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:var(--sc-content-neutral-primary)}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:var(--sc-content-neutral-secondary)}.searchcraft-toggle-button-background{transition:background-color .2s;background:var(--sc-surface-disabled);border:none;border-radius:16px;cursor:pointer;height:26px;position:relative;width:44px;flex-shrink:0}.searchcraft-toggle-button-background.active{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.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-handle.active{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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size)}.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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4825
- `, Ps = /* @__PURE__ */ D(class extends F {
4807
+ const vc = Ds, Ns = bc, yc = Fs, Sc = ys, wc = `: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)}: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: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var(--sc-color-background-hover, #fafafa);--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, #f7f7f7 );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-secondary-hover, var(--sc-color-background-hover, #e6e6e6) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var(--sc-color-foreground-secondary, #404040);--sc-border-neutral: rgba(0, 0, 0, 0.1);--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var(--sc-color-brand-hover, #2e2e2e);--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var(--sc-color-brand-active, #292929);--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-surface-brand-secondary-hover: var( --sc-color-brand-secondary-hover, var(--sc-color-brand-hover, #ebebeb) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active, #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: hsl(from var(--sc-color-success) h s 30);--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, #009900 );--sc-color-success-primary-active: hsl(from var(--sc-color-success) h s 20);--sc-surface-success-primary-active: var( --sc-color-success-primary-active, #006600 );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90);--sc-surface-success-secondary: var(--sc-color-success-secondary, #ccffcc);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, #e6ffe6 );--sc-color-success-secondary-active: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, #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: hsl(from var(--sc-color-caution) h s 30);--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, #e57300 );--sc-color-caution-primary-active: hsl(from var(--sc-color-caution) h s 20);--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, #b25a00 );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90);--sc-surface-caution-secondary: var(--sc-color-caution-secondary, #ffd9b3);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, #ffe5cc );--sc-color-caution-secondary-active: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, #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: hsl(from var(--sc-color-danger) h s 30);--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, #e50000 );--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20);--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, #b30000 );--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var(--sc-color-danger-secondary, #ffcccc);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, #ffe7e7 );--sc-color-danger-secondary-active: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, #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: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover: hsl(from var(--sc-color-success) h s 30%);--sc-color-success-primary-active: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90%);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active: 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: hsl(from var(--sc-color-caution) h s 30%);--sc-color-caution-primary-active: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90%);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active: 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: hsl(from var(--sc-color-danger) h s 30%);--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20%);--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90%);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active: 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-custom-ad{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-adm-ad{all:unset;display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical);border:1px solid blue}.searchcraft-adm-ad:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-adm-ad-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-adm-ad-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-adm-ad-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-adm-ad-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-search-result-container{all:unset;align-items:flex-start;border-radius:var(--sc-border-radius-lg);display:flex;flex-direction:column;gap:16px;padding:8px;color:inherit;background-color:var(--sc-surface-neutral-primary)}@media(min-width: 768px){.searchcraft-search-result-container{flex-direction:row}}a.searchcraft-search-result-container{cursor:pointer;transition:background-color 100ms}.searchcraft-base-search-result-content-container{flex:1;display:flex;flex-direction:column;gap:8px}.searchcraft-search-result-image{border-radius:calc(--sc-border-radius-lg - 8px);border-radius:calc(var(--sc-border-radius-lg) - 8px);width:100%}@media(min-width: 768px){.searchcraft-search-result-image{width:200px}}.searchcraft-base-search-result-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin:0}.searchcraft-base-search-result-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-base-search-result-body-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-base-search-result-footer-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-search-results-container{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state-container{text-align:center}.searchcraft-search-results-error-message-container{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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-error-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-danger);margin:0}.filtersListContainer{width:100%}.filterCheckboxLabel{align-items:center;color:var(--sc-content-brand);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:14px;position:relative;-webkit-font-smoothing:antialiased}.filterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;width:24px}.filterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.filterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.filterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.filterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.childFilterCheckboxLabel{align-items:center;color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:12px;margin-left:24px;position:relative}.childFilterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary-hover);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;position:relative;width:24px;-webkit-font-smoothing:antialiased}.childFilterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.childFilterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.childFilterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.childFilterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.checkContainer{display:none;height:16px;width:16px;position:absolute;top:9px;left:8px}.dashContainer{display:none;height:3px;width:14px;position:absolute;top:3px;left:9px}.searchcraft-facet-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}:root{--sc-input-border-radius: var(--sc-border-radius);--sc-input-search-icon-size: 20px;--sc-input-clear-icon-size: 20px;--sc-input-padding-left: 44px;--sc-input-padding-right: 44px}.searchcraft-input-grid{display:grid;gap:4px 8px}.searchcraft-input-grid-buttonLeft{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-grid-buttonLeft .searchcraft-input-button-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-label-wrapper{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-error-wrapper{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-grid-buttonRight .searchcraft-input-button-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonNone{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-grid-buttonNone .searchcraft-input-button-wrapper{display:none}.searchcraft-input-grid-buttonNone .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-wrapper{position:relative;display:flex}.searchcraft-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-border-radius);border:none;color:var(--sc-content-neutral-primary);outline:none;padding-left:var(--sc-input-padding-left);padding-right:var(--sc-input-padding-right);padding-top:12px;padding-bottom:12px;flex:1}.searchcraft-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input:focus{outline:var(--sc-border-brand) solid 2px}.searchcraft-input:focus::placeholder{opacity:0}.searchcraft-input.error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input.error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-search-icon-wrapper{align-items:center;justify-content:center;display:flex;position:absolute;pointer-events:none;bottom:0;left:0;top:0;width:var(--sc-input-padding-left)}.searchcraft-input-search-icon{pointer-events:none;width:var(--sc-input-search-icon-size);height:var(--sc-input-search-icon-size);color:var(--sc-content-neutral-secondary)}.searchcraft-input-clear-button{all:unset;align-items:center;justify-content:center;cursor:pointer;display:flex;position:absolute;border:none;outline:none;bottom:0;right:0;top:0;width:var(--sc-input-padding-right)}.searchcraft-input-clear-icon{width:var(--sc-input-clear-icon-size);height:var(--sc-input-clear-icon-size);color:var(--sc-content-brand)}.searchcraft-input-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-form-border-radius: var(--sc-border-radius);--sc-popover-list-view-height: 400px;--sc-popover-list-item-image-size: 60px;--sc-popover-list-item-padding-horizontal: 8px;--sc-popover-list-item-padding-vertical: 8px;--sc-popover-modal-max-width: 570px}.searchcraft-popover-form{display:flex;flex-direction:column;flex:1}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper{padding:12px;background-color:var(--sc-surface-neutral-secondary);display:flex;flex-direction:row;gap:4px}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper>searchcraft-input-form{flex:1}.searchcraft-popover-form .searchcraft-popover-form-cancel-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);border:0;outline:0;padding:0;flex-shrink:0;background:none;cursor:pointer;padding-left:12px;padding-right:12px}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:focus{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-popover-form-inline .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);border:none;outline:none}.searchcraft-popover-form-inline.searchcraft-popover-form-active .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-outer{position:relative}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-inner{position:absolute;height:var(--sc-popover-list-view-height);z-index:1000;width:100%}.searchcraft-popover-form-inline .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);max-height:var(--sc-popover-list-view-height)}.searchcraft-popover-form-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:0;background-color:var(--sc-surface-neutral-secondary)}@media(min-width: 576px){.searchcraft-popover-form-modal{padding:16px;background-color:rgba(0,0,0,0)}}.searchcraft-popover-form-modal .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{position:absolute;inset:0;background-color:rgba(0,0,0,.5);display:none}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{position:absolute;inset:0;z-index:1002;margin-top:0px;display:flex;border-radius:var(--sc-popover-form-border-radius);overflow:hidden}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{inset:auto;position:relative;width:100%;margin-top:100px;max-width:var(--sc-popover-modal-max-width)}}.searchcraft-popover-form-modal .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:0;border-bottom-right-radius:0}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-list-view{max-height:var(--sc-popover-list-view-height)}}.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:scroll}@media(min-width: 576px){.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:auto}}.searchcraft-popover-form-fullscreen{position:fixed;inset:0;z-index:1000;background-color:var(--sc-surface-neutral-secondary)}.searchcraft-popover-form-fullscreen .searchcraft-popover-form{position:absolute;inset:0}.searchcraft-popover-form-fullscreen .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-fullscreen searchcraft-popover-list-view{overflow:scroll}.searchcraft-popover-list-item{all:unset;color:var(--sc-content-neutral-secondary);display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical)}.searchcraft-popover-list-item:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-popover-list-item-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-popover-list-item-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-results-info{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-primary);margin:0}.searchcraft-slider-container{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%}.searchcraft-slider-range-container{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range-container::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px;-webkit-appearance:none}.searchcraft-slider-range-container .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px}.searchcraft-slider-label-container{color:var(--sc-content-primary);display:flex;font-family:"Source Sans Pro",sans-serif;font-size:15px;font-weight:600;justify-content:space-between;margin-top:10px;width:100%}.searchcraft-slider-label{min-width:30px;text-align:center}.searchcraft-toggle-button-container{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:var(--sc-content-neutral-primary)}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:var(--sc-content-neutral-secondary)}.searchcraft-toggle-button-background{transition:background-color .2s;background:var(--sc-surface-disabled);border:none;border-radius:16px;cursor:pointer;height:26px;position:relative;width:44px;flex-shrink:0}.searchcraft-toggle-button-background.active{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.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-handle.active{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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size)}.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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4808
+ `, Us = /* @__PURE__ */ D(class extends F {
4826
4809
  constructor() {
4827
4810
  super();
4828
4811
  /**
4829
4812
  * The name of the theme.
4830
4813
  */
4831
- h(this, "theme", "light");
4814
+ h(this, "theme");
4832
4815
  /**
4833
4816
  * The custom theme configuration object.
4834
4817
  */
4835
- h(this, "customTheme", "[]");
4818
+ h(this, "customTheme");
4836
4819
  h(this, "camelToKebab", (r) => r.replace(/[A-Z]/g, (a) => `-${a.toLowerCase()}`).toLowerCase());
4837
4820
  this.__registerHost();
4838
4821
  }
4839
4822
  componentDidLoad() {
4840
4823
  const r = document.querySelector("#searchcraft-theme") || document.createElement("style");
4841
- r.innerHTML = xc, r.id = "searchcraft-theme";
4824
+ r.innerHTML = wc, r.id = "searchcraft-theme";
4842
4825
  const a = document.head || document.getElementsByTagName("head")[0];
4843
- a.contains(r) || (a.firstChild ? a.insertBefore(r, a.firstChild) : a.appendChild(r)), document.body.dataset.theme = this.theme, Object.entries(JSON.parse(this.customTheme)).map(([n, o]) => {
4826
+ a.contains(r) || (a.firstChild ? a.insertBefore(r, a.firstChild) : a.appendChild(r)), document.body.dataset.theme = this.theme || "light", Object.entries(JSON.parse(this.customTheme || "[]")).map(([n, o]) => {
4844
4827
  document.documentElement.style.setProperty(`--${this.camelToKebab(n)}`, `${o}`);
4845
4828
  });
4846
4829
  }
@@ -4850,40 +4833,64 @@ const Pc = ks, Cc = kc, xc = `:root{--sc-text-base-size: 1em;--sc-text-scale-rat
4850
4833
  theme: [1],
4851
4834
  customTheme: [1, "custom-theme"]
4852
4835
  }]);
4853
- function Tc() {
4836
+ function Ec() {
4854
4837
  if (typeof customElements > "u")
4855
4838
  return;
4856
4839
  ["searchcraft-theme"].forEach((t) => {
4857
4840
  switch (t) {
4858
4841
  case "searchcraft-theme":
4859
- customElements.get(t) || customElements.define(t, Ps);
4842
+ customElements.get(t) || customElements.define(t, Us);
4860
4843
  break;
4861
4844
  }
4862
4845
  });
4863
4846
  }
4864
- const $c = Ps, _c = Tc;
4847
+ const Rc = Us, zs = Ec, kc = Ss, Hs = () => {
4848
+ Oi(), Ni(), ps(), Gi(), Wi(), Qi(), Es(), Ps(), sc(), xs(), $s(), Ms(), fc(), dc(), Os(), Ns(), yc(), Sc(), zs(), kc();
4849
+ };
4850
+ Hs();
4851
+ const Pc = "@searchcraft/react-sdk", Cc = "Searchcraft", xc = "0.9.2", Tc = "Searchcraft React SDK.", $c = "module", _c = "Apache-2.0", Ac = ["searchcraft"], Ic = { build: "tsc && vite build && yarn docs", docs: "typedoc --options typedoc.json", lint: "biome format lint ./src", test: "vitest --watch=false", "test:watch": "vitest" }, Mc = { type: "git", url: "https://bitbucket.org/madebychalk/searchcraft-javascript-sdks/" }, Lc = { node: ">=18.0.0", npm: ">=10.0.0" }, Oc = "dist/index.js", Fc = "dist/index.js", Dc = "dist/index.d.ts", Nc = ["dist/**/*"], Uc = { ".": { import: "./dist/index.js", types: "./dist/index.d.ts" } }, zc = { classnames: "^2.3.2" }, Hc = { react: "^18.3.1", "react-dom": "^18.3.1" }, Bc = { "@biomejs/biome": "^1.8.1", "@searchcraft/core": "^0.9.2", "@searchcraft/javascript-sdk": "^0.9.2", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.1", "@types/node": "^20.11.25", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", jsdom: "^24.0.0", react: "^18.3.1", "react-dom": "^18.3.1", sass: "^1.56.1" }, Ma = {
4852
+ name: Pc,
4853
+ private: !1,
4854
+ author: Cc,
4855
+ version: xc,
4856
+ description: Tc,
4857
+ type: $c,
4858
+ license: _c,
4859
+ keywords: Ac,
4860
+ scripts: Ic,
4861
+ repository: Mc,
4862
+ engines: Lc,
4863
+ main: Oc,
4864
+ module: Fc,
4865
+ types: Dc,
4866
+ files: Nc,
4867
+ exports: Uc,
4868
+ dependencies: zc,
4869
+ peerDependencies: Hc,
4870
+ devDependencies: Bc
4871
+ };
4865
4872
  /**
4866
4873
  * @license
4867
4874
  * Copyright 2018 Google LLC
4868
4875
  * SPDX-License-Identifier: BSD-3-Clause
4869
4876
  */
4870
- const Ac = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Ia = /* @__PURE__ */ new WeakMap(), Ma = (e, t, r, a, n) => {
4877
+ const jc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), La = /* @__PURE__ */ new WeakMap(), Oa = (e, t, r, a, n) => {
4871
4878
  const o = n == null ? void 0 : n[t];
4872
4879
  o === void 0 ? (e[t] = r, r == null && t in HTMLElement.prototype && e.removeAttribute(t)) : r !== a && ((s, c, u) => {
4873
- let l = Ia.get(s);
4874
- l === void 0 && Ia.set(s, l = /* @__PURE__ */ new Map());
4880
+ let l = La.get(s);
4881
+ l === void 0 && La.set(s, l = /* @__PURE__ */ new Map());
4875
4882
  let i = l.get(c);
4876
4883
  u !== void 0 ? i === void 0 ? (l.set(c, i = { handleEvent: u }), s.addEventListener(c, i)) : i.handleEvent = u : i !== void 0 && (l.delete(c), s.removeEventListener(c, i));
4877
4884
  })(e, o, r);
4878
- }, Ic = ({ react: e, tagName: t, elementClass: r, events: a, displayName: n }) => {
4885
+ }, Gc = ({ react: e, tagName: t, elementClass: r, events: a, displayName: n }) => {
4879
4886
  const o = new Set(Object.keys(a ?? {})), s = e.forwardRef((c, u) => {
4880
4887
  const l = e.useRef(/* @__PURE__ */ new Map()), i = e.useRef(null), p = {}, g = {};
4881
- for (const [b, w] of Object.entries(c)) Ac.has(b) ? p[b === "className" ? "class" : b] = w : o.has(b) || b in r.prototype ? g[b] = w : p[b] = w;
4888
+ for (const [b, w] of Object.entries(c)) jc.has(b) ? p[b === "className" ? "class" : b] = w : o.has(b) || b in r.prototype ? g[b] = w : p[b] = w;
4882
4889
  return e.useLayoutEffect(() => {
4883
4890
  if (i.current === null) return;
4884
4891
  const b = /* @__PURE__ */ new Map();
4885
- for (const w in g) Ma(i.current, w, c[w], l.current.get(w), a), l.current.delete(w), b.set(w, c[w]);
4886
- for (const [w, N] of l.current) Ma(i.current, w, void 0, N, a);
4892
+ for (const w in g) Oa(i.current, w, c[w], l.current.get(w), a), l.current.delete(w), b.set(w, c[w]);
4893
+ for (const [w, N] of l.current) Oa(i.current, w, void 0, N, a);
4887
4894
  l.current = b;
4888
4895
  }), e.useLayoutEffect(() => {
4889
4896
  var b;
@@ -4896,23 +4903,23 @@ const Ac = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
4896
4903
  }, Ee = ({
4897
4904
  defineCustomElement: e,
4898
4905
  ...t
4899
- }) => (typeof e < "u" && e(), Ic(t)), Mc = /* @__PURE__ */ Ee({
4906
+ }) => (typeof e < "u" && e(), Gc(t)), Wc = /* @__PURE__ */ Ee({
4900
4907
  tagName: "searchcraft-base-search-results",
4901
- elementClass: ji,
4908
+ elementClass: Bi,
4902
4909
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4903
4910
  react: we,
4904
4911
  events: {},
4905
- defineCustomElement: Gi
4906
- }), Lc = /* @__PURE__ */ Ee({
4912
+ defineCustomElement: ps
4913
+ }), Vc = /* @__PURE__ */ Ee({
4907
4914
  tagName: "searchcraft-filter-panel",
4908
- elementClass: ac,
4915
+ elementClass: tc,
4909
4916
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4910
4917
  react: we,
4911
4918
  events: {},
4912
- defineCustomElement: sc
4913
- }), Oc = /* @__PURE__ */ Ee({
4919
+ defineCustomElement: Es
4920
+ }), qc = /* @__PURE__ */ Ee({
4914
4921
  tagName: "searchcraft-input-form",
4915
- elementClass: oc,
4922
+ elementClass: ac,
4916
4923
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4917
4924
  react: we,
4918
4925
  events: {
@@ -4920,68 +4927,69 @@ const Ac = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
4920
4927
  onInputBlur: "inputBlur",
4921
4928
  onInputInit: "inputInit"
4922
4929
  },
4923
- defineCustomElement: ic
4924
- }), Fc = /* @__PURE__ */ Ee({
4930
+ defineCustomElement: Ps
4931
+ }), Yc = /* @__PURE__ */ Ee({
4925
4932
  tagName: "searchcraft-pagination",
4926
- elementClass: lc,
4933
+ elementClass: oc,
4927
4934
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4928
4935
  react: we,
4929
4936
  events: {},
4930
- defineCustomElement: uc
4931
- }), Dc = /* @__PURE__ */ Ee({
4937
+ defineCustomElement: xs
4938
+ }), Kc = /* @__PURE__ */ Ee({
4932
4939
  tagName: "searchcraft-popover-button",
4933
- elementClass: fc,
4940
+ elementClass: cc,
4934
4941
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4935
4942
  react: we,
4936
4943
  events: {},
4937
- defineCustomElement: dc
4938
- }), Nc = /* @__PURE__ */ Ee({
4944
+ defineCustomElement: $s
4945
+ }), Xc = /* @__PURE__ */ Ee({
4939
4946
  tagName: "searchcraft-popover-form",
4940
- elementClass: bc,
4947
+ elementClass: hc,
4941
4948
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4942
4949
  react: we,
4943
4950
  events: {},
4944
- defineCustomElement: vc
4945
- }), Uc = /* @__PURE__ */ Ee({
4951
+ defineCustomElement: Ms
4952
+ }), Qc = /* @__PURE__ */ Ee({
4946
4953
  tagName: "searchcraft-results-info",
4947
- elementClass: Sc,
4954
+ elementClass: mc,
4948
4955
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4949
4956
  react: we,
4950
4957
  events: {},
4951
- defineCustomElement: wc
4952
- }), zc = /* @__PURE__ */ Ee({
4958
+ defineCustomElement: Os
4959
+ }), Jc = /* @__PURE__ */ Ee({
4953
4960
  tagName: "searchcraft-search-results-per-page",
4954
- elementClass: Pc,
4961
+ elementClass: vc,
4955
4962
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4956
4963
  react: we,
4957
4964
  events: {},
4958
- defineCustomElement: Cc
4959
- }), Hc = /* @__PURE__ */ Ee({
4965
+ defineCustomElement: Ns
4966
+ }), Zc = /* @__PURE__ */ Ee({
4960
4967
  tagName: "searchcraft-theme",
4961
- elementClass: $c,
4968
+ elementClass: Rc,
4962
4969
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
4963
4970
  react: we,
4964
4971
  events: {},
4965
- defineCustomElement: _c
4966
- }), hl = (e) => /* @__PURE__ */ Se(Mc, { ...e }), fl = (e) => /* @__PURE__ */ Se(Lc, { ...e }), dl = (e) => /* @__PURE__ */ Se(Oc, { ...e }), pl = (e) => /* @__PURE__ */ Se(Dc, { ...e }), ml = (e) => /* @__PURE__ */ Se(Nc, { ...e }), gl = (e) => /* @__PURE__ */ Se(Uc, { ...e }), bl = (e) => /* @__PURE__ */ Se(Hc, { ...e }), vl = (e) => /* @__PURE__ */ Se(Fc, { ...e }), yl = (e) => /* @__PURE__ */ Se(zc, { ...e });
4967
- class Sl extends Gn {
4972
+ defineCustomElement: zs
4973
+ }), Rl = (e) => /* @__PURE__ */ Se(Wc, { ...e }), kl = (e) => /* @__PURE__ */ Se(Vc, { ...e }), Pl = (e) => /* @__PURE__ */ Se(qc, { ...e }), Cl = (e) => /* @__PURE__ */ Se(Kc, { ...e }), xl = (e) => /* @__PURE__ */ Se(Xc, { ...e }), Tl = (e) => /* @__PURE__ */ Se(Qc, { ...e }), $l = (e) => /* @__PURE__ */ Se(Zc, { ...e }), _l = (e) => /* @__PURE__ */ Se(Yc, { ...e }), Al = (e) => /* @__PURE__ */ Se(Jc, { ...e });
4974
+ class Il extends oo {
4968
4975
  constructor(t) {
4969
4976
  super(t, {
4970
- sdkName: la.name,
4971
- sdkVersion: la.version
4977
+ sdkName: Ma.name,
4978
+ sdkVersion: Ma.version
4972
4979
  });
4973
4980
  }
4974
4981
  }
4982
+ Hs();
4975
4983
  export {
4976
- Sl as Searchcraft,
4977
- hl as SearchcraftBaseSearchResults,
4978
- fl as SearchcraftFilterPanel,
4979
- dl as SearchcraftInputForm,
4980
- vl as SearchcraftPagination,
4981
- pl as SearchcraftPopoverButton,
4982
- ml as SearchcraftPopoverForm,
4983
- gl as SearchcraftResultsInfo,
4984
- yl as SearchcraftSearchResultsPerPage,
4985
- bl as SearchcraftTheme
4984
+ Il as Searchcraft,
4985
+ Rl as SearchcraftBaseSearchResults,
4986
+ kl as SearchcraftFilterPanel,
4987
+ Pl as SearchcraftInputForm,
4988
+ _l as SearchcraftPagination,
4989
+ Cl as SearchcraftPopoverButton,
4990
+ xl as SearchcraftPopoverForm,
4991
+ Tl as SearchcraftResultsInfo,
4992
+ Al as SearchcraftSearchResultsPerPage,
4993
+ $l as SearchcraftTheme
4986
4994
  };
4987
4995
  //# sourceMappingURL=index.js.map