@getlupa/client 1.13.0 → 1.13.4

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.
@@ -8543,7 +8543,7 @@ const useSearchBoxStore = defineStore("searchBox", () => {
8543
8543
  resetHighlightIndex
8544
8544
  };
8545
8545
  });
8546
- const _hoisted_1$1f = { id: "lupa-search-box-input-container" };
8546
+ const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
8547
8547
  const _hoisted_2$R = { class: "lupa-input-clear" };
8548
8548
  const _hoisted_3$B = { id: "lupa-search-box-input" };
8549
8549
  const _hoisted_4$t = ["value"];
@@ -8640,7 +8640,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
8640
8640
  };
8641
8641
  __expose({ focus });
8642
8642
  return (_ctx, _cache) => {
8643
- return openBlock(), createElementBlock("div", _hoisted_1$1f, [
8643
+ return openBlock(), createElementBlock("div", _hoisted_1$1d, [
8644
8644
  createBaseVNode("div", _hoisted_2$R, [
8645
8645
  createBaseVNode("div", {
8646
8646
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
@@ -8718,7 +8718,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
8718
8718
  };
8719
8719
  }
8720
8720
  });
8721
- const _hoisted_1$1e = { class: "lupa-search-box-history-item" };
8721
+ const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
8722
8722
  const _hoisted_2$Q = { class: "lupa-search-box-history-item-content" };
8723
8723
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8724
8724
  __name: "SearchBoxHistoryItem",
@@ -8736,7 +8736,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8736
8736
  emit2("click", { query: props.item });
8737
8737
  };
8738
8738
  return (_ctx, _cache) => {
8739
- return openBlock(), createElementBlock("div", _hoisted_1$1e, [
8739
+ return openBlock(), createElementBlock("div", _hoisted_1$1c, [
8740
8740
  createBaseVNode("div", _hoisted_2$Q, [
8741
8741
  createBaseVNode("div", {
8742
8742
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
@@ -8751,7 +8751,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8751
8751
  };
8752
8752
  }
8753
8753
  });
8754
- const _hoisted_1$1d = {
8754
+ const _hoisted_1$1b = {
8755
8755
  key: 0,
8756
8756
  class: "lupa-search-box-history-panel"
8757
8757
  };
@@ -8796,7 +8796,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
8796
8796
  }
8797
8797
  };
8798
8798
  return (_ctx, _cache) => {
8799
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
8799
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
8800
8800
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(history), (item, index) => {
8801
8801
  return openBlock(), createBlock(_sfc_main$1l, {
8802
8802
  key: item,
@@ -8814,7 +8814,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
8814
8814
  };
8815
8815
  }
8816
8816
  });
8817
- const _hoisted_1$1c = { class: "lupa-search-box-no-results" };
8817
+ const _hoisted_1$1a = { class: "lupa-search-box-no-results" };
8818
8818
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8819
8819
  __name: "SearchBoxNoResults",
8820
8820
  props: {
@@ -8822,11 +8822,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8822
8822
  },
8823
8823
  setup(__props) {
8824
8824
  return (_ctx, _cache) => {
8825
- return openBlock(), createElementBlock("p", _hoisted_1$1c, toDisplayString(_ctx.labels.noResults), 1);
8825
+ return openBlock(), createElementBlock("p", _hoisted_1$1a, toDisplayString(_ctx.labels.noResults), 1);
8826
8826
  };
8827
8827
  }
8828
8828
  });
8829
- const _hoisted_1$1b = ["innerHTML"];
8829
+ const _hoisted_1$19 = ["innerHTML"];
8830
8830
  const _hoisted_2$P = {
8831
8831
  key: 1,
8832
8832
  "data-cy": "lupa-suggestion-value",
@@ -8881,7 +8881,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
8881
8881
  class: "lupa-suggestion-value",
8882
8882
  "data-cy": "lupa-suggestion-value",
8883
8883
  innerHTML: _ctx.suggestion.displayHighlight
8884
- }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
8884
+ }, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
8885
8885
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
8886
8886
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
8887
8887
  createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
@@ -8890,7 +8890,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
8890
8890
  };
8891
8891
  }
8892
8892
  });
8893
- const _hoisted_1$1a = {
8893
+ const _hoisted_1$18 = {
8894
8894
  id: "lupa-search-box-suggestions",
8895
8895
  "data-cy": "lupa-search-box-suggestions"
8896
8896
  };
@@ -8954,7 +8954,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
8954
8954
  });
8955
8955
  });
8956
8956
  return (_ctx, _cache) => {
8957
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
8957
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
8958
8958
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
8959
8959
  return openBlock(), createBlock(_sfc_main$1i, {
8960
8960
  key: getSuggestionKey(item),
@@ -9129,7 +9129,7 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
9129
9129
  targetImage.src = placeholder;
9130
9130
  }
9131
9131
  };
9132
- const _hoisted_1$19 = ["src"];
9132
+ const _hoisted_1$17 = ["src"];
9133
9133
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
9134
9134
  __name: "ProductImage",
9135
9135
  props: {
@@ -9248,7 +9248,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
9248
9248
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
9249
9249
  onError: replaceWithPlaceholder,
9250
9250
  key: finalUrl.value
9251
- }), null, 16, _hoisted_1$19))
9251
+ }), null, 16, _hoisted_1$17))
9252
9252
  ]),
9253
9253
  _: 1
9254
9254
  })
@@ -9273,7 +9273,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
9273
9273
  };
9274
9274
  }
9275
9275
  });
9276
- const _hoisted_1$18 = ["innerHTML"];
9276
+ const _hoisted_1$16 = ["innerHTML"];
9277
9277
  const _hoisted_2$O = {
9278
9278
  key: 1,
9279
9279
  class: "lupa-search-box-product-title"
@@ -9298,13 +9298,13 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
9298
9298
  key: 0,
9299
9299
  class: "lupa-search-box-product-title",
9300
9300
  innerHTML: title.value
9301
- }, null, 8, _hoisted_1$18)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
9301
+ }, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
9302
9302
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
9303
9303
  ]));
9304
9304
  };
9305
9305
  }
9306
9306
  });
9307
- const _hoisted_1$17 = ["innerHTML"];
9307
+ const _hoisted_1$15 = ["innerHTML"];
9308
9308
  const _hoisted_2$N = {
9309
9309
  key: 1,
9310
9310
  class: "lupa-search-box-product-description"
@@ -9329,11 +9329,11 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
9329
9329
  key: 0,
9330
9330
  class: "lupa-search-box-product-description",
9331
9331
  innerHTML: description.value
9332
- }, null, 8, _hoisted_1$17)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
9332
+ }, null, 8, _hoisted_1$15)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
9333
9333
  };
9334
9334
  }
9335
9335
  });
9336
- const _hoisted_1$16 = { class: "lupa-search-box-product-price" };
9336
+ const _hoisted_1$14 = { class: "lupa-search-box-product-price" };
9337
9337
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
9338
9338
  __name: "SearchBoxProductPrice",
9339
9339
  props: {
@@ -9352,13 +9352,12 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
9352
9352
  );
9353
9353
  });
9354
9354
  return (_ctx, _cache) => {
9355
- return openBlock(), createElementBlock("div", _hoisted_1$16, [
9355
+ return openBlock(), createElementBlock("div", _hoisted_1$14, [
9356
9356
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
9357
9357
  ]);
9358
9358
  };
9359
9359
  }
9360
9360
  });
9361
- const _hoisted_1$15 = { class: "lupa-search-box-product-regular-price" };
9362
9361
  const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9363
9362
  __name: "SearchBoxProductRegularPrice",
9364
9363
  props: {
@@ -9368,6 +9367,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9368
9367
  },
9369
9368
  setup(__props) {
9370
9369
  const props = __props;
9370
+ const className = computed(() => {
9371
+ return props.options.className;
9372
+ });
9371
9373
  const price = computed(() => {
9372
9374
  var _a, _b;
9373
9375
  return formatPrice(
@@ -9377,11 +9379,13 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9377
9379
  );
9378
9380
  });
9379
9381
  return (_ctx, _cache) => {
9380
- return openBlock(), createElementBlock("div", _hoisted_1$15, toDisplayString(price.value), 1);
9382
+ return openBlock(), createElementBlock("div", {
9383
+ class: normalizeClass([className.value, "lupa-search-box-product-regular-price"])
9384
+ }, toDisplayString(price.value), 3);
9381
9385
  };
9382
9386
  }
9383
9387
  });
9384
- const _hoisted_1$14 = ["innerHTML"];
9388
+ const _hoisted_1$13 = ["innerHTML"];
9385
9389
  const _hoisted_2$M = { key: 0 };
9386
9390
  const _hoisted_3$z = { key: 1 };
9387
9391
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
@@ -9412,7 +9416,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
9412
9416
  key: 0,
9413
9417
  class: [className.value, "lupa-search-box-product-custom"],
9414
9418
  innerHTML: text.value
9415
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$14)) : (openBlock(), createElementBlock("div", mergeProps({
9419
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13)) : (openBlock(), createElementBlock("div", mergeProps({
9416
9420
  key: 1,
9417
9421
  class: [className.value, "lupa-search-box-product-custom"]
9418
9422
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
@@ -9424,7 +9428,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
9424
9428
  };
9425
9429
  }
9426
9430
  });
9427
- const _hoisted_1$13 = ["innerHTML"];
9431
+ const _hoisted_1$12 = ["innerHTML"];
9428
9432
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
9429
9433
  __name: "SearchBoxProductCustomHtml",
9430
9434
  props: {
@@ -9445,7 +9449,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
9445
9449
  return openBlock(), createElementBlock("div", mergeProps({
9446
9450
  class: className.value,
9447
9451
  innerHTML: text.value
9448
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13);
9452
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$12);
9449
9453
  };
9450
9454
  }
9451
9455
  });
@@ -9673,7 +9677,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
9673
9677
  filterVisibleFilterValues
9674
9678
  };
9675
9679
  });
9676
- const _hoisted_1$12 = { class: "lupa-search-box-add-to-cart-wrapper" };
9680
+ const _hoisted_1$11 = { class: "lupa-search-box-add-to-cart-wrapper" };
9677
9681
  const _hoisted_2$L = { class: "lupa-search-box-product-addtocart" };
9678
9682
  const _hoisted_3$y = ["onClick", "disabled"];
9679
9683
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
@@ -9703,7 +9707,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
9703
9707
  loading.value = false;
9704
9708
  });
9705
9709
  return (_ctx, _cache) => {
9706
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
9710
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
9707
9711
  createBaseVNode("div", _hoisted_2$L, [
9708
9712
  createBaseVNode("button", {
9709
9713
  onClick: withModifiers(handleClick, ["stop", "prevent"]),
@@ -9717,7 +9721,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
9717
9721
  };
9718
9722
  }
9719
9723
  });
9720
- const _hoisted_1$11 = {
9724
+ const _hoisted_1$10 = {
9721
9725
  key: 1,
9722
9726
  class: "lupa-search-box-element-badge-wrapper"
9723
9727
  };
@@ -9791,7 +9795,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
9791
9795
  class: normalizeClass({ "lupa-loading-dynamic-data": isLoadingDynamicData((_a = _ctx.item) == null ? void 0 : _a.id) }),
9792
9796
  inStock: _ctx.isInStock
9793
9797
  }, null, 8, ["item", "options", "labels", "class", "inStock"])) : createCommentVNode("", true)
9794
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$11, [
9798
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$10, [
9795
9799
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
9796
9800
  key: 0,
9797
9801
  item: enhancedItem.value,
@@ -9805,7 +9809,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
9805
9809
  };
9806
9810
  }
9807
9811
  }));
9808
- const _hoisted_1$10 = { class: "lupa-badge-title" };
9812
+ const _hoisted_1$$ = { class: "lupa-badge-title" };
9809
9813
  const _hoisted_2$K = ["src"];
9810
9814
  const _hoisted_3$x = { key: 1 };
9811
9815
  const _hoisted_4$q = {
@@ -9845,7 +9849,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
9845
9849
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
9846
9850
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
9847
9851
  }, [
9848
- createBaseVNode("span", _hoisted_1$10, [
9852
+ createBaseVNode("span", _hoisted_1$$, [
9849
9853
  image.value ? (openBlock(), createElementBlock("img", {
9850
9854
  key: 0,
9851
9855
  src: image.value
@@ -9857,7 +9861,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
9857
9861
  };
9858
9862
  }
9859
9863
  });
9860
- const _hoisted_1$$ = { class: "lupa-generated-badges" };
9864
+ const _hoisted_1$_ = { class: "lupa-generated-badges" };
9861
9865
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9862
9866
  __name: "SearchResultGeneratedBadges",
9863
9867
  props: {
@@ -9884,7 +9888,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9884
9888
  })).filter((b) => Boolean(b.id));
9885
9889
  });
9886
9890
  return (_ctx, _cache) => {
9887
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
9891
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
9888
9892
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
9889
9893
  return openBlock(), createBlock(_sfc_main$15, {
9890
9894
  key: badge.id,
@@ -9896,7 +9900,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9896
9900
  };
9897
9901
  }
9898
9902
  });
9899
- const _hoisted_1$_ = ["innerHTML"];
9903
+ const _hoisted_1$Z = ["innerHTML"];
9900
9904
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9901
9905
  __name: "CustomBadge",
9902
9906
  props: {
@@ -9916,11 +9920,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9916
9920
  return openBlock(), createElementBlock("div", {
9917
9921
  class: normalizeClass(className.value),
9918
9922
  innerHTML: text.value
9919
- }, null, 10, _hoisted_1$_);
9923
+ }, null, 10, _hoisted_1$Z);
9920
9924
  };
9921
9925
  }
9922
9926
  });
9923
- const _hoisted_1$Z = { class: "lupa-text-badges" };
9927
+ const _hoisted_1$Y = { class: "lupa-text-badges" };
9924
9928
  const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9925
9929
  __name: "TextBadge",
9926
9930
  props: {
@@ -9936,7 +9940,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9936
9940
  return badges.value.slice(0, props.badge.maxItems);
9937
9941
  });
9938
9942
  return (_ctx, _cache) => {
9939
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
9943
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
9940
9944
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
9941
9945
  return openBlock(), createElementBlock("div", {
9942
9946
  class: "lupa-badge lupa-text-badge",
@@ -9947,7 +9951,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9947
9951
  };
9948
9952
  }
9949
9953
  });
9950
- const _hoisted_1$Y = { class: "lupa-image-badges" };
9954
+ const _hoisted_1$X = { class: "lupa-image-badges" };
9951
9955
  const _hoisted_2$J = ["src"];
9952
9956
  const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9953
9957
  __name: "ImageBadge",
@@ -9969,7 +9973,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9969
9973
  return `${props.badge.rootImageUrl}${src}`;
9970
9974
  };
9971
9975
  return (_ctx, _cache) => {
9972
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
9976
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
9973
9977
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
9974
9978
  return openBlock(), createElementBlock("div", {
9975
9979
  class: "lupa-badge lupa-image-badge",
@@ -9984,7 +9988,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9984
9988
  };
9985
9989
  }
9986
9990
  });
9987
- const _hoisted_1$X = { id: "lupa-search-results-badges" };
9991
+ const _hoisted_1$W = { id: "lupa-search-results-badges" };
9988
9992
  const __default__$3 = {
9989
9993
  components: {
9990
9994
  CustomBadge: _sfc_main$13,
@@ -10048,7 +10052,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
10048
10052
  }
10049
10053
  };
10050
10054
  return (_ctx, _cache) => {
10051
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
10055
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
10052
10056
  createBaseVNode("div", {
10053
10057
  id: "lupa-badges",
10054
10058
  class: normalizeClass(anchorPosition.value)
@@ -10068,7 +10072,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
10068
10072
  };
10069
10073
  }
10070
10074
  }));
10071
- const _hoisted_1$W = ["href"];
10075
+ const _hoisted_1$V = ["href"];
10072
10076
  const _hoisted_2$I = { class: "lupa-search-box-product-image-section" };
10073
10077
  const _hoisted_3$w = { class: "lupa-search-box-product-details-section" };
10074
10078
  const _hoisted_4$p = {
@@ -10180,7 +10184,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
10180
10184
  isInStock: isInStock.value
10181
10185
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
10182
10186
  ])) : createCommentVNode("", true)
10183
- ], 16, _hoisted_1$W);
10187
+ ], 16, _hoisted_1$V);
10184
10188
  };
10185
10189
  }
10186
10190
  });
@@ -10241,7 +10245,7 @@ const useTrackingStore = defineStore("tracking", () => {
10241
10245
  };
10242
10246
  return { trackSearch, trackResults, trackEvent };
10243
10247
  });
10244
- const _hoisted_1$V = { id: "lupa-search-box-products" };
10248
+ const _hoisted_1$U = { id: "lupa-search-box-products" };
10245
10249
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10246
10250
  __name: "SearchBoxProducts",
10247
10251
  props: {
@@ -10303,7 +10307,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10303
10307
  handleRoutingEvent(link, event, boxRoutingBehavior.value === "event");
10304
10308
  };
10305
10309
  return (_ctx, _cache) => {
10306
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
10310
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
10307
10311
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
10308
10312
  return renderSlot(_ctx.$slots, "productCard", {
10309
10313
  key: index,
@@ -10330,7 +10334,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10330
10334
  };
10331
10335
  }
10332
10336
  });
10333
- const _hoisted_1$U = { class: "lupa-search-box-documents-go-to-results-wrapper" };
10337
+ const _hoisted_1$T = { class: "lupa-search-box-documents-go-to-results-wrapper" };
10334
10338
  const _hoisted_2$H = { key: 0 };
10335
10339
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10336
10340
  __name: "SearchBoxProductsGoToResultsButton",
@@ -10362,7 +10366,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10362
10366
  emit2("goToResults");
10363
10367
  };
10364
10368
  return (_ctx, _cache) => {
10365
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
10369
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
10366
10370
  createBaseVNode("button", {
10367
10371
  class: "lupa-search-box-documents-go-to-results-button",
10368
10372
  onClick: goToResults
@@ -10551,7 +10555,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
10551
10555
  };
10552
10556
  }
10553
10557
  });
10554
- const _hoisted_1$T = {
10558
+ const _hoisted_1$S = {
10555
10559
  key: 0,
10556
10560
  id: "lupa-search-box-panel"
10557
10561
  };
@@ -10721,7 +10725,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
10721
10725
  ref_key: "panelContainer",
10722
10726
  ref: panelContainer
10723
10727
  }, [
10724
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$T, [
10728
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$S, [
10725
10729
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
10726
10730
  key: 0,
10727
10731
  class: "lupa-search-box-close-panel",
@@ -10804,7 +10808,7 @@ const unbindSearchTriggers = (triggers = [], event) => {
10804
10808
  const elements = getElements(triggers);
10805
10809
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
10806
10810
  };
10807
- const _hoisted_1$S = { id: "lupa-search-box" };
10811
+ const _hoisted_1$R = { id: "lupa-search-box" };
10808
10812
  const _hoisted_2$F = { class: "lupa-search-box-wrapper" };
10809
10813
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
10810
10814
  __name: "SearchBox",
@@ -10921,6 +10925,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
10921
10925
  opened.value = true;
10922
10926
  inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
10923
10927
  suggestedValue.value = defaultSuggestedValue;
10928
+ searchBoxStore.resetHighlightIndex();
10924
10929
  trackSearchQuery(value);
10925
10930
  if (props.isSearchContainer) {
10926
10931
  goToResultsDebounced({
@@ -11057,7 +11062,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
11057
11062
  };
11058
11063
  return (_ctx, _cache) => {
11059
11064
  var _a2;
11060
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
11065
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
11061
11066
  createBaseVNode("div", _hoisted_2$F, [
11062
11067
  createVNode(_sfc_main$1n, {
11063
11068
  options: inputOptions.value,
@@ -11159,7 +11164,7 @@ const getSearchParams = (url, params, baseUrl) => {
11159
11164
  }
11160
11165
  return searchParams;
11161
11166
  };
11162
- const _hoisted_1$R = {
11167
+ const _hoisted_1$Q = {
11163
11168
  key: 0,
11164
11169
  id: "lupa-search-results-did-you-mean"
11165
11170
  };
@@ -11204,7 +11209,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
11204
11209
  paramStore.goToResults({ searchText, facet });
11205
11210
  };
11206
11211
  return (_ctx, _cache) => {
11207
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
11212
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
11208
11213
  unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
11209
11214
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
11210
11215
  return openBlock(), createElementBlock("span", { key: index }, [
@@ -11230,7 +11235,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
11230
11235
  };
11231
11236
  }
11232
11237
  });
11233
- const _hoisted_1$Q = {
11238
+ const _hoisted_1$P = {
11234
11239
  key: 0,
11235
11240
  class: "lupa-search-results-summary"
11236
11241
  };
@@ -11250,7 +11255,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11250
11255
  return addParamsToLabel(props.label, range, `<span>${totalItems.value}</span>`);
11251
11256
  });
11252
11257
  return (_ctx, _cache) => {
11253
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
11258
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
11254
11259
  createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$D),
11255
11260
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
11256
11261
  key: 0,
@@ -11262,7 +11267,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11262
11267
  };
11263
11268
  }
11264
11269
  });
11265
- const _hoisted_1$P = {
11270
+ const _hoisted_1$O = {
11266
11271
  key: 0,
11267
11272
  class: "lupa-result-page-title",
11268
11273
  "data-cy": "lupa-result-page-title"
@@ -11313,7 +11318,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
11313
11318
  });
11314
11319
  return (_ctx, _cache) => {
11315
11320
  return openBlock(), createElementBlock("div", null, [
11316
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$P, [
11321
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$O, [
11317
11322
  createTextVNode(toDisplayString(_ctx.options.labels.searchResults), 1),
11318
11323
  queryText.value ? (openBlock(), createElementBlock("span", _hoisted_2$C, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
11319
11324
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$t, [
@@ -11335,7 +11340,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
11335
11340
  };
11336
11341
  }
11337
11342
  });
11338
- const _hoisted_1$O = { class: "lupa-search-result-filter-value" };
11343
+ const _hoisted_1$N = { class: "lupa-search-result-filter-value" };
11339
11344
  const _hoisted_2$B = {
11340
11345
  class: "lupa-current-filter-label",
11341
11346
  "data-cy": "lupa-current-filter-label"
@@ -11356,7 +11361,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11356
11361
  emit2("remove", { filter: props.filter });
11357
11362
  };
11358
11363
  return (_ctx, _cache) => {
11359
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
11364
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
11360
11365
  createBaseVNode("div", {
11361
11366
  class: "lupa-current-filter-action",
11362
11367
  onClick: handleClick
@@ -11367,7 +11372,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11367
11372
  };
11368
11373
  }
11369
11374
  });
11370
- const _hoisted_1$N = { class: "lupa-filter-title-text" };
11375
+ const _hoisted_1$M = { class: "lupa-filter-title-text" };
11371
11376
  const _hoisted_2$A = {
11372
11377
  key: 0,
11373
11378
  class: "lupa-filter-count"
@@ -11450,7 +11455,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11450
11455
  class: "lupa-current-filter-title",
11451
11456
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
11452
11457
  }, [
11453
- createBaseVNode("div", _hoisted_1$N, [
11458
+ createBaseVNode("div", _hoisted_1$M, [
11454
11459
  createTextVNode(toDisplayString((_c = (_b = (_a = _ctx.options) == null ? void 0 : _a.labels) == null ? void 0 : _b.title) != null ? _c : "") + " ", 1),
11455
11460
  _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$A, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
11456
11461
  ]),
@@ -11479,7 +11484,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11479
11484
  };
11480
11485
  }
11481
11486
  });
11482
- const _hoisted_1$M = ["href"];
11487
+ const _hoisted_1$L = ["href"];
11483
11488
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
11484
11489
  __name: "CategoryFilterItem",
11485
11490
  props: {
@@ -11517,12 +11522,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11517
11522
  "data-cy": "lupa-child-category-item",
11518
11523
  href: urlLink.value,
11519
11524
  onClick: handleNavigation
11520
- }, toDisplayString(title.value), 9, _hoisted_1$M)
11525
+ }, toDisplayString(title.value), 9, _hoisted_1$L)
11521
11526
  ], 2);
11522
11527
  };
11523
11528
  }
11524
11529
  });
11525
- const _hoisted_1$L = {
11530
+ const _hoisted_1$K = {
11526
11531
  class: "lupa-category-filter",
11527
11532
  "data-cy": "lupa-category-filter"
11528
11533
  };
@@ -11616,7 +11621,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11616
11621
  };
11617
11622
  __expose({ fetch: fetch2 });
11618
11623
  return (_ctx, _cache) => {
11619
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
11624
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
11620
11625
  createBaseVNode("div", _hoisted_2$z, [
11621
11626
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
11622
11627
  key: 0,
@@ -11648,7 +11653,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11648
11653
  };
11649
11654
  }
11650
11655
  });
11651
- const _hoisted_1$K = {
11656
+ const _hoisted_1$J = {
11652
11657
  class: "lupa-search-result-facet-term-values",
11653
11658
  "data-cy": "lupa-search-result-facet-term-values"
11654
11659
  };
@@ -11735,7 +11740,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11735
11740
  return selectedItems == null ? void 0 : selectedItems.includes((_b = item.title) == null ? void 0 : _b.toString());
11736
11741
  };
11737
11742
  return (_ctx, _cache) => {
11738
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
11743
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
11739
11744
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
11740
11745
  key: 0,
11741
11746
  class: "lupa-term-filter",
@@ -12753,7 +12758,7 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
12753
12758
  m.render = function(e2, t, r, i, n, o) {
12754
12759
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
12755
12760
  }, m.__file = "src/Slider.vue";
12756
- const _hoisted_1$J = { class: "lupa-search-result-facet-stats-values" };
12761
+ const _hoisted_1$I = { class: "lupa-search-result-facet-stats-values" };
12757
12762
  const _hoisted_2$x = {
12758
12763
  key: 0,
12759
12764
  class: "lupa-stats-facet-summary"
@@ -12954,7 +12959,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
12954
12959
  innerSliderRange.value = value;
12955
12960
  };
12956
12961
  return (_ctx, _cache) => {
12957
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
12962
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
12958
12963
  !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
12959
12964
  createBaseVNode("div", null, [
12960
12965
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
@@ -13021,7 +13026,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
13021
13026
  };
13022
13027
  }
13023
13028
  });
13024
- const _hoisted_1$I = { class: "lupa-term-checkbox-wrapper" };
13029
+ const _hoisted_1$H = { class: "lupa-term-checkbox-wrapper" };
13025
13030
  const _hoisted_2$w = { class: "lupa-term-checkbox-label" };
13026
13031
  const _hoisted_3$n = { class: "lupa-term-label" };
13027
13032
  const _hoisted_4$h = {
@@ -13078,7 +13083,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
13078
13083
  "data-cy": "lupa-facet-term",
13079
13084
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
13080
13085
  }, [
13081
- createBaseVNode("div", _hoisted_1$I, [
13086
+ createBaseVNode("div", _hoisted_1$H, [
13082
13087
  createBaseVNode("span", {
13083
13088
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
13084
13089
  }, null, 2)
@@ -13104,7 +13109,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
13104
13109
  };
13105
13110
  }
13106
13111
  });
13107
- const _hoisted_1$H = {
13112
+ const _hoisted_1$G = {
13108
13113
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
13109
13114
  "data-cy": "lupa-search-result-facet-term-values"
13110
13115
  };
@@ -13160,7 +13165,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13160
13165
  showAll.value = true;
13161
13166
  };
13162
13167
  return (_ctx, _cache) => {
13163
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
13168
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
13164
13169
  isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
13165
13170
  withDirectives(createBaseVNode("input", {
13166
13171
  class: "lupa-term-filter",
@@ -13192,7 +13197,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13192
13197
  };
13193
13198
  }
13194
13199
  });
13195
- const _hoisted_1$G = { class: "lupa-facet-label-text" };
13200
+ const _hoisted_1$F = { class: "lupa-facet-label-text" };
13196
13201
  const _hoisted_2$u = {
13197
13202
  key: 0,
13198
13203
  class: "lupa-facet-content",
@@ -13317,7 +13322,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
13317
13322
  "data-cy": "lupa-search-result-facet-label",
13318
13323
  onClick: toggleFacet
13319
13324
  }, [
13320
- createBaseVNode("div", _hoisted_1$G, toDisplayString(facet.value.label), 1),
13325
+ createBaseVNode("div", _hoisted_1$F, toDisplayString(facet.value.label), 1),
13321
13326
  createBaseVNode("div", {
13322
13327
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
13323
13328
  }, null, 2)
@@ -13340,7 +13345,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
13340
13345
  };
13341
13346
  }
13342
13347
  }));
13343
- const _hoisted_1$F = { class: "lupa-search-result-facet-section" };
13348
+ const _hoisted_1$E = { class: "lupa-search-result-facet-section" };
13344
13349
  const _hoisted_2$t = {
13345
13350
  key: 0,
13346
13351
  class: "lupa-facets-title"
@@ -13379,7 +13384,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13379
13384
  };
13380
13385
  return (_ctx, _cache) => {
13381
13386
  var _a;
13382
- return openBlock(), createElementBlock("div", _hoisted_1$F, [
13387
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
13383
13388
  _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
13384
13389
  createBaseVNode("div", {
13385
13390
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a = _ctx.facetStyle) != null ? _a : "")])
@@ -13401,7 +13406,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13401
13406
  };
13402
13407
  }
13403
13408
  });
13404
- const _hoisted_1$E = ["onClick"];
13409
+ const _hoisted_1$D = ["onClick"];
13405
13410
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
13406
13411
  __name: "FacetsButton",
13407
13412
  props: {
@@ -13422,11 +13427,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
13422
13427
  key: 0,
13423
13428
  class: "lupa-facets-button-filter",
13424
13429
  onClick: withModifiers(handleClick, ["stop"])
13425
- }, toDisplayString(label.value), 9, _hoisted_1$E)) : createCommentVNode("", true);
13430
+ }, toDisplayString(label.value), 9, _hoisted_1$D)) : createCommentVNode("", true);
13426
13431
  };
13427
13432
  }
13428
13433
  });
13429
- const _hoisted_1$D = { class: "lupa-search-result-facets" };
13434
+ const _hoisted_1$C = { class: "lupa-search-result-facets" };
13430
13435
  const _hoisted_2$s = { class: "lupa-facets-filter-button-wrapper" };
13431
13436
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
13432
13437
  __name: "Facets",
@@ -13511,7 +13516,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
13511
13516
  emit2("filter");
13512
13517
  };
13513
13518
  return (_ctx, _cache) => {
13514
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
13519
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
13515
13520
  regularFacets.value ? (openBlock(), createBlock(_sfc_main$I, {
13516
13521
  key: 0,
13517
13522
  options: _ctx.options,
@@ -13533,7 +13538,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
13533
13538
  };
13534
13539
  }
13535
13540
  });
13536
- const _hoisted_1$C = {
13541
+ const _hoisted_1$B = {
13537
13542
  id: "lupa-search-result-filters",
13538
13543
  class: "lupa-search-result-filters"
13539
13544
  };
@@ -13570,7 +13575,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
13570
13575
  __expose({ fetch: fetch2 });
13571
13576
  return (_ctx, _cache) => {
13572
13577
  var _a;
13573
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
13578
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
13574
13579
  showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Q, {
13575
13580
  key: 0,
13576
13581
  options: _ctx.options.currentFilters,
@@ -13591,7 +13596,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
13591
13596
  };
13592
13597
  }
13593
13598
  });
13594
- const _hoisted_1$B = {
13599
+ const _hoisted_1$A = {
13595
13600
  key: 0,
13596
13601
  class: "lupa-mobile-filter-sidebar"
13597
13602
  };
@@ -13635,7 +13640,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
13635
13640
  handleMobileToggle();
13636
13641
  };
13637
13642
  return (_ctx, _cache) => {
13638
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
13643
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
13639
13644
  createBaseVNode("div", {
13640
13645
  class: "lupa-sidebar-close",
13641
13646
  onClick: withModifiers(handleMobileToggle, ["stop"])
@@ -13663,7 +13668,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
13663
13668
  };
13664
13669
  }
13665
13670
  });
13666
- const _hoisted_1$A = { id: "lupa-search-results-breadcrumbs" };
13671
+ const _hoisted_1$z = { id: "lupa-search-results-breadcrumbs" };
13667
13672
  const _hoisted_2$q = ["href", "onClick"];
13668
13673
  const _hoisted_3$k = {
13669
13674
  key: 1,
@@ -13695,7 +13700,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
13695
13700
  handleRoutingEvent(link, event, hasEventRouting.value);
13696
13701
  };
13697
13702
  return (_ctx, _cache) => {
13698
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
13703
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
13699
13704
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
13700
13705
  return openBlock(), createElementBlock("span", {
13701
13706
  class: "lupa-search-results-breadcrumb",
@@ -13717,9 +13722,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
13717
13722
  };
13718
13723
  }
13719
13724
  });
13720
- const _hoisted_1$z = {
13725
+ const _hoisted_1$y = {
13721
13726
  id: "lupa-search-result-filters",
13722
- class: "lupa-search-result-filters"
13727
+ class: "lupa-search-result-filters lupa-search-result-top-filters"
13723
13728
  };
13724
13729
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
13725
13730
  __name: "FiltersTopDropdown",
@@ -13733,7 +13738,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
13733
13738
  };
13734
13739
  return (_ctx, _cache) => {
13735
13740
  var _a;
13736
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
13741
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
13737
13742
  _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$G, {
13738
13743
  key: 0,
13739
13744
  options: _ctx.options.facets,
@@ -13745,7 +13750,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
13745
13750
  };
13746
13751
  }
13747
13752
  });
13748
- const _hoisted_1$y = { id: "lupa-search-results-layout-selection" };
13753
+ const _hoisted_1$x = { id: "lupa-search-results-layout-selection" };
13749
13754
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
13750
13755
  __name: "SearchResultsLayoutSelection",
13751
13756
  setup(__props) {
@@ -13757,7 +13762,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
13757
13762
  searchResultStore.setLayout(layout2);
13758
13763
  };
13759
13764
  return (_ctx, _cache) => {
13760
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
13765
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
13761
13766
  createBaseVNode("div", {
13762
13767
  class: normalizeClass([
13763
13768
  "lupa-layout-selection-grid",
@@ -13779,7 +13784,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
13779
13784
  };
13780
13785
  }
13781
13786
  });
13782
- const _hoisted_1$x = {
13787
+ const _hoisted_1$w = {
13783
13788
  key: 0,
13784
13789
  class: "lupa-mobile-toggle-filter-count"
13785
13790
  };
@@ -13801,12 +13806,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
13801
13806
  onClick: handleMobileToggle
13802
13807
  }, [
13803
13808
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
13804
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$x, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
13809
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$w, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
13805
13810
  ], 2);
13806
13811
  };
13807
13812
  }
13808
13813
  });
13809
- const _hoisted_1$w = {
13814
+ const _hoisted_1$v = {
13810
13815
  key: 0,
13811
13816
  id: "lupa-search-results-page-select",
13812
13817
  "data-cy": "lupa-search-results-page-select"
@@ -13897,7 +13902,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
13897
13902
  }
13898
13903
  };
13899
13904
  return (_ctx, _cache) => {
13900
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
13905
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
13901
13906
  showBack.value ? (openBlock(), createElementBlock("div", {
13902
13907
  key: 0,
13903
13908
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -13941,7 +13946,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
13941
13946
  };
13942
13947
  }
13943
13948
  });
13944
- const _hoisted_1$v = {
13949
+ const _hoisted_1$u = {
13945
13950
  id: "lupa-search-results-page-size",
13946
13951
  "data-cy": "lupa-search-results-page-size"
13947
13952
  };
@@ -13977,7 +13982,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
13977
13982
  });
13978
13983
  };
13979
13984
  return (_ctx, _cache) => {
13980
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
13985
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
13981
13986
  createBaseVNode("div", _hoisted_2$o, [
13982
13987
  createBaseVNode("label", _hoisted_3$i, toDisplayString(label.value), 1),
13983
13988
  createBaseVNode("select", {
@@ -14000,7 +14005,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
14000
14005
  };
14001
14006
  }
14002
14007
  });
14003
- const _hoisted_1$u = {
14008
+ const _hoisted_1$t = {
14004
14009
  id: "lupa-search-results-sort",
14005
14010
  class: "lupa-search-results-sort"
14006
14011
  };
@@ -14057,7 +14062,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14057
14062
  previousKey.value = selectedKey.value;
14058
14063
  };
14059
14064
  return (_ctx, _cache) => {
14060
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
14065
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
14061
14066
  createBaseVNode("div", _hoisted_2$n, [
14062
14067
  createBaseVNode("label", _hoisted_3$h, toDisplayString(_ctx.options.label), 1),
14063
14068
  withDirectives(createBaseVNode("select", {
@@ -14082,7 +14087,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14082
14087
  };
14083
14088
  }
14084
14089
  });
14085
- const _hoisted_1$t = { class: "lupa-toolbar-left" };
14090
+ const _hoisted_1$s = { class: "lupa-toolbar-left" };
14086
14091
  const _hoisted_2$m = {
14087
14092
  key: 0,
14088
14093
  class: "lupa-toolbar-right-title"
@@ -14204,7 +14209,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
14204
14209
  id: "lupa-search-results-toolbar",
14205
14210
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
14206
14211
  }, [
14207
- createBaseVNode("div", _hoisted_1$t, [
14212
+ createBaseVNode("div", _hoisted_1$s, [
14208
14213
  toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
14209
14214
  showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$B, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$g)),
14210
14215
  showItemSummary.value ? (openBlock(), createBlock(_sfc_main$T, {
@@ -14258,7 +14263,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
14258
14263
  };
14259
14264
  }
14260
14265
  });
14261
- const _hoisted_1$s = ["innerHTML"];
14266
+ const _hoisted_1$r = ["innerHTML"];
14262
14267
  const _hoisted_2$l = ["title"];
14263
14268
  const _hoisted_3$f = {
14264
14269
  key: 0,
@@ -14298,7 +14303,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
14298
14303
  class: "lupa-search-results-product-title",
14299
14304
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
14300
14305
  innerHTML: title.value
14301
- }, null, 12, _hoisted_1$s)) : (openBlock(), createElementBlock("div", {
14306
+ }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
14302
14307
  key: 1,
14303
14308
  class: "lupa-search-results-product-title",
14304
14309
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -14315,7 +14320,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
14315
14320
  };
14316
14321
  }
14317
14322
  });
14318
- const _hoisted_1$r = ["innerHTML"];
14323
+ const _hoisted_1$q = ["innerHTML"];
14319
14324
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
14320
14325
  __name: "SearchResultsProductDescription",
14321
14326
  props: {
@@ -14340,7 +14345,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
14340
14345
  class: "lupa-search-results-product-description",
14341
14346
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
14342
14347
  innerHTML: description.value
14343
- }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
14348
+ }, null, 12, _hoisted_1$q)) : (openBlock(), createElementBlock("div", {
14344
14349
  key: 1,
14345
14350
  class: "lupa-search-results-product-description",
14346
14351
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -14348,7 +14353,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
14348
14353
  };
14349
14354
  }
14350
14355
  });
14351
- const _hoisted_1$q = { id: "lupa-search-results-rating" };
14356
+ const _hoisted_1$p = { id: "lupa-search-results-rating" };
14352
14357
  const _hoisted_2$k = { class: "lupa-ratings" };
14353
14358
  const _hoisted_3$e = { class: "lupa-ratings-base" };
14354
14359
  const _hoisted_4$9 = ["innerHTML"];
@@ -14387,7 +14392,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
14387
14392
  return generateLink(props.options.links.ratingDetails, props.item);
14388
14393
  });
14389
14394
  return (_ctx, _cache) => {
14390
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
14395
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
14391
14396
  createBaseVNode("div", _hoisted_2$k, [
14392
14397
  createBaseVNode("div", _hoisted_3$e, [
14393
14398
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
@@ -14421,7 +14426,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
14421
14426
  };
14422
14427
  }
14423
14428
  });
14424
- const _hoisted_1$p = {
14429
+ const _hoisted_1$o = {
14425
14430
  class: "lupa-search-results-product-regular-price",
14426
14431
  "data-cy": "lupa-search-results-product-regular-price"
14427
14432
  };
@@ -14443,14 +14448,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
14443
14448
  );
14444
14449
  });
14445
14450
  return (_ctx, _cache) => {
14446
- return openBlock(), createElementBlock("div", _hoisted_1$p, toDisplayString(price.value), 1);
14451
+ return openBlock(), createElementBlock("div", _hoisted_1$o, toDisplayString(price.value), 1);
14447
14452
  };
14448
14453
  }
14449
14454
  });
14450
- const _hoisted_1$o = {
14451
- class: "lupa-search-results-product-price",
14452
- "data-cy": "lupa-search-results-product-price"
14453
- };
14454
14455
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
14455
14456
  __name: "SearchResultsProductPrice",
14456
14457
  props: {
@@ -14460,6 +14461,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14460
14461
  },
14461
14462
  setup(__props) {
14462
14463
  const props = __props;
14464
+ const className = computed(() => {
14465
+ return props.options.className;
14466
+ });
14463
14467
  const price = computed(() => {
14464
14468
  var _a, _b;
14465
14469
  return formatPrice(
@@ -14469,9 +14473,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14469
14473
  );
14470
14474
  });
14471
14475
  return (_ctx, _cache) => {
14472
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
14476
+ return openBlock(), createElementBlock("div", {
14477
+ class: normalizeClass([className.value, "lupa-search-results-product-price"]),
14478
+ "data-cy": "lupa-search-results-product-price"
14479
+ }, [
14473
14480
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
14474
- ]);
14481
+ ], 2);
14475
14482
  };
14476
14483
  }
14477
14484
  });
@@ -29588,7 +29595,8 @@ const applyStyles = (configuration2) => __async2(exports, null, function* () {
29588
29595
  styleElement.innerHTML = `
29589
29596
  @import url('${baseStyleLink}');
29590
29597
  @import url('https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css')
29591
- ${(_a = configuration2.customStyles) != null ? _a : ""}`;
29598
+ ${(_a = configuration2.customStyles) != null ? _a : ""}
29599
+ `;
29592
29600
  }
29593
29601
  document.head.appendChild(styleElement);
29594
29602
  });