@getlupa/client 1.20.6 → 1.21.1

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.
@@ -18098,6 +18098,10 @@ const useOptionsStore = /* @__PURE__ */ defineStore("options", () => {
18098
18098
  return (_b25 = (_a25 = currentResolutionPageSizes.value) == null ? void 0 : _a25[0]) != null ? _b25 : DEFAULT_PAGE_SIZE;
18099
18099
  }
18100
18100
  );
18101
+ const ariaLabels = computed(() => {
18102
+ var _a25, _b25;
18103
+ return (_b25 = (_a25 = searchResultOptions.value.labels) == null ? void 0 : _a25.aria) != null ? _b25 : {};
18104
+ });
18101
18105
  const currentResolutionPageSizes = computed(() => {
18102
18106
  var _a25, _b25, _c, _d;
18103
18107
  const pageSizes = (_d = (_c = (_b25 = (_a25 = searchResultOptions.value) == null ? void 0 : _a25.pagination) == null ? void 0 : _b25.sizeSelection) == null ? void 0 : _c.sizes) != null ? _d : DEFAULT_PAGE_SIZE_SELECTION;
@@ -18153,6 +18157,7 @@ const useOptionsStore = /* @__PURE__ */ defineStore("options", () => {
18153
18157
  defaultSearchResultPageSize,
18154
18158
  currentResolutionPageSizes,
18155
18159
  productRecommendationOptions,
18160
+ ariaLabels,
18156
18161
  setSearchBoxOptions,
18157
18162
  setTrackingOptions,
18158
18163
  setSearchResultOptions,
@@ -19545,7 +19550,7 @@ const getApiUrl = (environment, customBaseUrl) => {
19545
19550
  }
19546
19551
  return Env[environment] || Env["production"];
19547
19552
  };
19548
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
19553
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
19549
19554
  __name: "VoiceSearchProgressCircle",
19550
19555
  props: {
19551
19556
  isRecording: { type: Boolean },
@@ -19758,14 +19763,15 @@ function useVoiceRecorder(options) {
19758
19763
  closeSocket
19759
19764
  };
19760
19765
  }
19761
- const _hoisted_1$1k = {
19766
+ const _hoisted_1$1l = {
19762
19767
  key: 0,
19763
19768
  class: "lupa-dialog-overlay"
19764
19769
  };
19765
- const _hoisted_2$V = { class: "lupa-dialog-content" };
19770
+ const _hoisted_2$W = { class: "lupa-dialog-content" };
19766
19771
  const _hoisted_3$E = { class: "lupa-listening-text" };
19767
19772
  const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
19768
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19773
+ const _hoisted_5$l = ["aria-label"];
19774
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
19769
19775
  __name: "VoiceSearchDialog",
19770
19776
  props: {
19771
19777
  isOpen: { type: Boolean },
@@ -19868,20 +19874,23 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19868
19874
  reset: dialogReset
19869
19875
  });
19870
19876
  return (_ctx, _cache) => {
19877
+ var _a25, _b25;
19871
19878
  return openBlock(), createElementBlock("div", null, [
19872
- props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1k, [
19879
+ props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
19873
19880
  createBaseVNode("button", {
19874
19881
  class: "lupa-dialog-box-close-button",
19875
19882
  onClick: _cache[0] || (_cache[0] = () => emit2("close"))
19876
19883
  }),
19877
- createBaseVNode("div", _hoisted_2$V, [
19884
+ createBaseVNode("div", _hoisted_2$W, [
19878
19885
  createBaseVNode("p", _hoisted_3$E, toDisplayString(description.value), 1),
19879
19886
  createBaseVNode("div", _hoisted_4$u, [
19880
19887
  createBaseVNode("button", {
19881
19888
  class: normalizeClass(["lupa-mic-button", { recording: unref(isRecording) }]),
19882
- onClick: handleRecordingButtonClick
19883
- }, null, 2),
19884
- createVNode(_sfc_main$1z, {
19889
+ onClick: handleRecordingButtonClick,
19890
+ "aria-controls": "voice-search-microphone",
19891
+ "aria-label": ((_b25 = (_a25 = labels.value) == null ? void 0 : _a25.aria) == null ? void 0 : _b25.microphone) || "Toggle microphone"
19892
+ }, null, 10, _hoisted_5$l),
19893
+ createVNode(_sfc_main$1A, {
19885
19894
  ref_key: "voiceSearchProgressBar",
19886
19895
  ref: voiceSearchProgressBar,
19887
19896
  class: "lupa-progress-circle",
@@ -19896,8 +19905,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19896
19905
  };
19897
19906
  }
19898
19907
  });
19899
- const _hoisted_1$1j = { id: "lupa-search-box-input-container" };
19900
- const _hoisted_2$U = { class: "lupa-input-clear" };
19908
+ const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
19909
+ const _hoisted_2$V = { class: "lupa-input-clear" };
19901
19910
  const _hoisted_3$D = { id: "lupa-search-box-input" };
19902
19911
  const _hoisted_4$t = ["value"];
19903
19912
  const _hoisted_5$k = ["aria-label", "placeholder"];
@@ -19906,7 +19915,8 @@ const _hoisted_6$8 = {
19906
19915
  class: "lupa-close-label"
19907
19916
  };
19908
19917
  const _hoisted_7$5 = { key: 1 };
19909
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
19918
+ const _hoisted_8$3 = ["aria-label"];
19919
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19910
19920
  __name: "SearchBoxInput",
19911
19921
  props: {
19912
19922
  options: {},
@@ -19961,6 +19971,10 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
19961
19971
  var _a25;
19962
19972
  return (_a25 = labels.value.searchInputAriaLabel) != null ? _a25 : "Search input";
19963
19973
  });
19974
+ const voiceSearchAriaLabel = computed(() => {
19975
+ var _a25, _b25, _c, _d;
19976
+ return (_d = (_c = (_b25 = (_a25 = props.options.voiceSearch) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.aria) == null ? void 0 : _c.openDialog) != null ? _d : "Open voice search dialog";
19977
+ });
19964
19978
  onMounted(() => {
19965
19979
  document.addEventListener("click", handleClickOutsideVoiceDialogOverlay);
19966
19980
  });
@@ -20034,8 +20048,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20034
20048
  };
20035
20049
  __expose({ focus });
20036
20050
  return (_ctx, _cache) => {
20037
- return openBlock(), createElementBlock("div", _hoisted_1$1j, [
20038
- createBaseVNode("div", _hoisted_2$U, [
20051
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, [
20052
+ createBaseVNode("div", _hoisted_2$V, [
20039
20053
  createBaseVNode("div", {
20040
20054
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
20041
20055
  onClick: clear
@@ -20081,10 +20095,13 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20081
20095
  isVoiceSearchEnabled.value ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
20082
20096
  createBaseVNode("button", {
20083
20097
  onClick: openVoiceSearchDialog,
20084
- class: "lupa-voice-search-button"
20085
- })
20098
+ class: "lupa-voice-search-button",
20099
+ "aria-haspopup": "dialog",
20100
+ "aria-controls": "voice-search-dialog",
20101
+ "aria-label": voiceSearchAriaLabel.value
20102
+ }, null, 8, _hoisted_8$3)
20086
20103
  ])) : createCommentVNode("", true),
20087
- isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1y, {
20104
+ isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1z, {
20088
20105
  key: 2,
20089
20106
  ref_key: "voiceDialogOverlay",
20090
20107
  ref: voiceDialogOverlay,
@@ -20098,7 +20115,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20098
20115
  };
20099
20116
  }
20100
20117
  });
20101
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20118
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20102
20119
  __name: "SearchBoxMoreResults",
20103
20120
  props: {
20104
20121
  labels: {},
@@ -20136,9 +20153,9 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20136
20153
  };
20137
20154
  }
20138
20155
  });
20139
- const _hoisted_1$1i = { class: "lupa-search-box-history-item" };
20140
- const _hoisted_2$T = { class: "lupa-search-box-history-item-content" };
20141
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20156
+ const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
20157
+ const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
20158
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20142
20159
  __name: "SearchBoxHistoryItem",
20143
20160
  props: {
20144
20161
  item: {},
@@ -20155,8 +20172,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20155
20172
  emit2("click", { query: props.item });
20156
20173
  };
20157
20174
  return (_ctx, _cache) => {
20158
- return openBlock(), createElementBlock("div", _hoisted_1$1i, [
20159
- createBaseVNode("div", _hoisted_2$T, [
20175
+ return openBlock(), createElementBlock("div", _hoisted_1$1j, [
20176
+ createBaseVNode("div", _hoisted_2$U, [
20160
20177
  createBaseVNode("div", {
20161
20178
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
20162
20179
  onClick: click2
@@ -20170,11 +20187,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20170
20187
  };
20171
20188
  }
20172
20189
  });
20173
- const _hoisted_1$1h = {
20190
+ const _hoisted_1$1i = {
20174
20191
  key: 0,
20175
20192
  class: "lupa-search-box-history-panel"
20176
20193
  };
20177
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20194
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20178
20195
  __name: "SearchBoxHistoryPanel",
20179
20196
  props: {
20180
20197
  options: {}
@@ -20225,9 +20242,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20225
20242
  }
20226
20243
  };
20227
20244
  return (_ctx, _cache) => {
20228
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1h, [
20245
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
20229
20246
  (openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
20230
- return openBlock(), createBlock(_sfc_main$1v, {
20247
+ return openBlock(), createBlock(_sfc_main$1w, {
20231
20248
  key: item,
20232
20249
  item,
20233
20250
  highlighted: index === highlightIndex.value,
@@ -20243,15 +20260,15 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20243
20260
  };
20244
20261
  }
20245
20262
  });
20246
- const _hoisted_1$1g = { class: "lupa-search-box-no-results" };
20247
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
20263
+ const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
20264
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20248
20265
  __name: "SearchBoxNoResults",
20249
20266
  props: {
20250
20267
  labels: {}
20251
20268
  },
20252
20269
  setup(__props) {
20253
20270
  return (_ctx, _cache) => {
20254
- return openBlock(), createElementBlock("p", _hoisted_1$1g, toDisplayString(_ctx.labels.noResults), 1);
20271
+ return openBlock(), createElementBlock("p", _hoisted_1$1h, toDisplayString(_ctx.labels.noResults), 1);
20255
20272
  };
20256
20273
  }
20257
20274
  });
@@ -20283,8 +20300,8 @@ const generateGridTemplate = (elements) => {
20283
20300
  }
20284
20301
  return gridTemplate.join(" ");
20285
20302
  };
20286
- const _hoisted_1$1f = ["innerHTML"];
20287
- const _hoisted_2$S = {
20303
+ const _hoisted_1$1g = ["innerHTML"];
20304
+ const _hoisted_2$T = {
20288
20305
  key: 1,
20289
20306
  "data-cy": "lupa-suggestion-value",
20290
20307
  class: "lupa-suggestion-value"
@@ -20302,7 +20319,7 @@ const _hoisted_5$j = {
20302
20319
  class: "lupa-suggestion-facet-value",
20303
20320
  "data-cy": "lupa-suggestion-facet-value"
20304
20321
  };
20305
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20322
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
20306
20323
  __name: "SearchBoxSuggestion",
20307
20324
  props: {
20308
20325
  suggestion: {},
@@ -20339,7 +20356,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20339
20356
  class: "lupa-suggestion-value",
20340
20357
  "data-cy": "lupa-suggestion-value",
20341
20358
  innerHTML: _ctx.suggestion.displayHighlight
20342
- }, null, 8, _hoisted_1$1f)) : (openBlock(), createElementBlock("div", _hoisted_2$S, toDisplayString(_ctx.suggestion.display), 1)),
20359
+ }, null, 8, _hoisted_1$1g)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(_ctx.suggestion.display), 1)),
20343
20360
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
20344
20361
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
20345
20362
  createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
@@ -20348,11 +20365,11 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20348
20365
  };
20349
20366
  }
20350
20367
  });
20351
- const _hoisted_1$1e = {
20368
+ const _hoisted_1$1f = {
20352
20369
  id: "lupa-search-box-suggestions",
20353
20370
  "data-cy": "lupa-search-box-suggestions"
20354
20371
  };
20355
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20372
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20356
20373
  __name: "SearchBoxSuggestions",
20357
20374
  props: {
20358
20375
  items: {},
@@ -20419,9 +20436,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20419
20436
  });
20420
20437
  });
20421
20438
  return (_ctx, _cache) => {
20422
- return openBlock(), createElementBlock("div", _hoisted_1$1e, [
20439
+ return openBlock(), createElementBlock("div", _hoisted_1$1f, [
20423
20440
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
20424
- return openBlock(), createBlock(_sfc_main$1s, {
20441
+ return openBlock(), createBlock(_sfc_main$1t, {
20425
20442
  key: getSuggestionKey(item),
20426
20443
  class: normalizeClass([
20427
20444
  "lupa-suggestion",
@@ -20453,7 +20470,7 @@ const debounce = (func, timeout) => {
20453
20470
  }, timeout);
20454
20471
  };
20455
20472
  };
20456
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
20473
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20457
20474
  __name: "SearchBoxSuggestionsWrapper",
20458
20475
  props: {
20459
20476
  panel: {},
@@ -20496,7 +20513,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
20496
20513
  const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
20497
20514
  watch(() => props.panel.limit, getSuggestionsDebounced);
20498
20515
  return (_ctx, _cache) => {
20499
- return openBlock(), createBlock(_sfc_main$1r, {
20516
+ return openBlock(), createBlock(_sfc_main$1s, {
20500
20517
  items: searchResult.value,
20501
20518
  highlight: _ctx.panel.highlight,
20502
20519
  queryKey: _ctx.panel.queryKey,
@@ -29778,9 +29795,9 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
29778
29795
  targetImage.src = placeholder;
29779
29796
  }
29780
29797
  };
29781
- const _hoisted_1$1d = ["src"];
29782
- const _hoisted_2$R = ["src"];
29783
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29798
+ const _hoisted_1$1e = ["src"];
29799
+ const _hoisted_2$S = ["src"];
29800
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
29784
29801
  __name: "ProductImage",
29785
29802
  props: {
29786
29803
  item: {},
@@ -29922,7 +29939,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29922
29939
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
29923
29940
  onError: replaceWithPlaceholder,
29924
29941
  key: finalUrl.value
29925
- }), null, 16, _hoisted_1$1d))
29942
+ }), null, 16, _hoisted_1$1e))
29926
29943
  ]),
29927
29944
  _: 1
29928
29945
  })) : (openBlock(), createElementBlock("img", mergeProps({
@@ -29930,12 +29947,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29930
29947
  class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
29931
29948
  style: styleOverride.value,
29932
29949
  src: finalMainImageUrl.value
29933
- }, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$R))
29950
+ }, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
29934
29951
  ], 38);
29935
29952
  };
29936
29953
  }
29937
29954
  });
29938
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29955
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29939
29956
  __name: "SearchBoxProductImage",
29940
29957
  props: {
29941
29958
  item: {},
@@ -29943,7 +29960,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29943
29960
  },
29944
29961
  setup(__props) {
29945
29962
  return (_ctx, _cache) => {
29946
- return openBlock(), createBlock(_sfc_main$1p, {
29963
+ return openBlock(), createBlock(_sfc_main$1q, {
29947
29964
  item: _ctx.item,
29948
29965
  options: _ctx.options,
29949
29966
  "wrapper-class": "lupa-search-box-image-wrapper",
@@ -29952,12 +29969,12 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29952
29969
  };
29953
29970
  }
29954
29971
  });
29955
- const _hoisted_1$1c = ["innerHTML"];
29956
- const _hoisted_2$Q = {
29972
+ const _hoisted_1$1d = ["innerHTML"];
29973
+ const _hoisted_2$R = {
29957
29974
  key: 1,
29958
29975
  class: "lupa-search-box-product-title"
29959
29976
  };
29960
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29977
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29961
29978
  __name: "SearchBoxProductTitle",
29962
29979
  props: {
29963
29980
  item: {},
@@ -29980,18 +29997,18 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29980
29997
  key: 0,
29981
29998
  class: "lupa-search-box-product-title",
29982
29999
  innerHTML: sanitizedTitle.value
29983
- }, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, [
30000
+ }, null, 8, _hoisted_1$1d)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
29984
30001
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
29985
30002
  ]));
29986
30003
  };
29987
30004
  }
29988
30005
  });
29989
- const _hoisted_1$1b = ["innerHTML"];
29990
- const _hoisted_2$P = {
30006
+ const _hoisted_1$1c = ["innerHTML"];
30007
+ const _hoisted_2$Q = {
29991
30008
  key: 1,
29992
30009
  class: "lupa-search-box-product-description"
29993
30010
  };
29994
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30011
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29995
30012
  __name: "SearchBoxProductDescription",
29996
30013
  props: {
29997
30014
  item: {},
@@ -30014,12 +30031,12 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30014
30031
  key: 0,
30015
30032
  class: "lupa-search-box-product-description",
30016
30033
  innerHTML: sanitizedDescription.value
30017
- }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(description.value), 1));
30034
+ }, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(description.value), 1));
30018
30035
  };
30019
30036
  }
30020
30037
  });
30021
- const _hoisted_1$1a = { class: "lupa-search-box-product-price" };
30022
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30038
+ const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
30039
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30023
30040
  __name: "SearchBoxProductPrice",
30024
30041
  props: {
30025
30042
  item: {},
@@ -30041,13 +30058,13 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30041
30058
  );
30042
30059
  });
30043
30060
  return (_ctx, _cache) => {
30044
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
30061
+ return openBlock(), createElementBlock("div", _hoisted_1$1b, [
30045
30062
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
30046
30063
  ]);
30047
30064
  };
30048
30065
  }
30049
30066
  });
30050
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30067
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30051
30068
  __name: "SearchBoxProductRegularPrice",
30052
30069
  props: {
30053
30070
  item: {},
@@ -30078,12 +30095,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30078
30095
  };
30079
30096
  }
30080
30097
  });
30081
- const _hoisted_1$19 = ["innerHTML"];
30082
- const _hoisted_2$O = { key: 0 };
30098
+ const _hoisted_1$1a = ["innerHTML"];
30099
+ const _hoisted_2$P = { key: 0 };
30083
30100
  const _hoisted_3$B = { key: 1 };
30084
30101
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
30085
30102
  const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
30086
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30103
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30087
30104
  __name: "SearchBoxProductCustom",
30088
30105
  props: {
30089
30106
  item: {},
@@ -30109,11 +30126,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30109
30126
  key: 0,
30110
30127
  class: [className.value, "lupa-search-box-product-custom"],
30111
30128
  innerHTML: text.value
30112
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19)) : (openBlock(), createElementBlock("div", mergeProps({
30129
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", mergeProps({
30113
30130
  key: 1,
30114
30131
  class: [className.value, "lupa-search-box-product-custom"]
30115
30132
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
30116
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$O, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
30133
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
30117
30134
  createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
30118
30135
  createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
30119
30136
  ]))
@@ -30121,8 +30138,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30121
30138
  };
30122
30139
  }
30123
30140
  });
30124
- const _hoisted_1$18 = ["innerHTML"];
30125
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30141
+ const _hoisted_1$19 = ["innerHTML"];
30142
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30126
30143
  __name: "SearchBoxProductCustomHtml",
30127
30144
  props: {
30128
30145
  item: {},
@@ -30147,7 +30164,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30147
30164
  return openBlock(), createElementBlock("div", mergeProps({
30148
30165
  class: className.value,
30149
30166
  innerHTML: text.value
30150
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$18);
30167
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19);
30151
30168
  };
30152
30169
  }
30153
30170
  });
@@ -30462,12 +30479,12 @@ const useSearchResultStore = /* @__PURE__ */ defineStore("searchResult", () => {
30462
30479
  setRelatedQueriesApiEnabled
30463
30480
  };
30464
30481
  });
30465
- const _hoisted_1$17 = { class: "lupa-search-box-add-to-cart-wrapper" };
30466
- const _hoisted_2$N = { class: "lupa-search-box-product-addtocart" };
30482
+ const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
30483
+ const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
30467
30484
  const _hoisted_3$A = ["disabled"];
30468
30485
  const _hoisted_4$q = ["href"];
30469
30486
  const _hoisted_5$h = ["disabled"];
30470
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30487
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30471
30488
  __name: "SearchBoxProductAddToCart",
30472
30489
  props: {
30473
30490
  item: {},
@@ -30506,8 +30523,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30506
30523
  return Boolean(props.link && props.options.link);
30507
30524
  });
30508
30525
  return (_ctx, _cache) => {
30509
- return openBlock(), createElementBlock("div", _hoisted_1$17, [
30510
- createBaseVNode("div", _hoisted_2$N, [
30526
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
30527
+ createBaseVNode("div", _hoisted_2$O, [
30511
30528
  hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
30512
30529
  key: 0,
30513
30530
  class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
@@ -30528,23 +30545,23 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30528
30545
  };
30529
30546
  }
30530
30547
  });
30531
- const _hoisted_1$16 = {
30548
+ const _hoisted_1$17 = {
30532
30549
  key: 1,
30533
30550
  class: "lupa-search-box-element-badge-wrapper"
30534
30551
  };
30535
30552
  const __default__$4 = {
30536
30553
  components: {
30537
- SearchBoxProductImage: _sfc_main$1o,
30538
- SearchBoxProductTitle: _sfc_main$1n,
30539
- SearchBoxProductDescription: _sfc_main$1m,
30540
- SearchBoxProductPrice: _sfc_main$1l,
30541
- SearchBoxProductRegularPrice: _sfc_main$1k,
30542
- SearchBoxProductCustom: _sfc_main$1j,
30543
- SearchBoxProductCustomHtml: _sfc_main$1i,
30544
- SearchBoxProductAddToCart: _sfc_main$1h
30554
+ SearchBoxProductImage: _sfc_main$1p,
30555
+ SearchBoxProductTitle: _sfc_main$1o,
30556
+ SearchBoxProductDescription: _sfc_main$1n,
30557
+ SearchBoxProductPrice: _sfc_main$1m,
30558
+ SearchBoxProductRegularPrice: _sfc_main$1l,
30559
+ SearchBoxProductCustom: _sfc_main$1k,
30560
+ SearchBoxProductCustomHtml: _sfc_main$1j,
30561
+ SearchBoxProductAddToCart: _sfc_main$1i
30545
30562
  }
30546
30563
  };
30547
- const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
30564
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
30548
30565
  __name: "SearchBoxProductElement",
30549
30566
  props: {
30550
30567
  item: {},
@@ -30616,7 +30633,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30616
30633
  "dynamic-attributes": dynamicAttributes.value,
30617
30634
  link: _ctx.link
30618
30635
  }, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
30619
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$16, [
30636
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
30620
30637
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
30621
30638
  key: 0,
30622
30639
  item: enhancedItem.value,
@@ -30631,14 +30648,14 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30631
30648
  };
30632
30649
  }
30633
30650
  }));
30634
- const _hoisted_1$15 = { class: "lupa-badge-title" };
30635
- const _hoisted_2$M = ["src"];
30651
+ const _hoisted_1$16 = { class: "lupa-badge-title" };
30652
+ const _hoisted_2$N = ["src"];
30636
30653
  const _hoisted_3$z = { key: 1 };
30637
30654
  const _hoisted_4$p = {
30638
30655
  key: 0,
30639
30656
  class: "lupa-badge-full-text"
30640
30657
  };
30641
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30658
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
30642
30659
  __name: "SearchResultGeneratedBadge",
30643
30660
  props: {
30644
30661
  options: {},
@@ -30671,11 +30688,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30671
30688
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
30672
30689
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
30673
30690
  }, [
30674
- createBaseVNode("span", _hoisted_1$15, [
30691
+ createBaseVNode("span", _hoisted_1$16, [
30675
30692
  image.value ? (openBlock(), createElementBlock("img", {
30676
30693
  key: 0,
30677
30694
  src: image.value
30678
- }, null, 8, _hoisted_2$M)) : createCommentVNode("", true),
30695
+ }, null, 8, _hoisted_2$N)) : createCommentVNode("", true),
30679
30696
  hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
30680
30697
  ]),
30681
30698
  hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
@@ -30683,8 +30700,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30683
30700
  };
30684
30701
  }
30685
30702
  });
30686
- const _hoisted_1$14 = { class: "lupa-generated-badges" };
30687
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30703
+ const _hoisted_1$15 = { class: "lupa-generated-badges" };
30704
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30688
30705
  __name: "SearchResultGeneratedBadges",
30689
30706
  props: {
30690
30707
  options: {}
@@ -30710,9 +30727,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30710
30727
  })).filter((b) => Boolean(b.id));
30711
30728
  });
30712
30729
  return (_ctx, _cache) => {
30713
- return openBlock(), createElementBlock("div", _hoisted_1$14, [
30730
+ return openBlock(), createElementBlock("div", _hoisted_1$15, [
30714
30731
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
30715
- return openBlock(), createBlock(_sfc_main$1f, {
30732
+ return openBlock(), createBlock(_sfc_main$1g, {
30716
30733
  key: badge.id,
30717
30734
  badge,
30718
30735
  options: _ctx.options
@@ -30722,8 +30739,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30722
30739
  };
30723
30740
  }
30724
30741
  });
30725
- const _hoisted_1$13 = ["innerHTML"];
30726
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30742
+ const _hoisted_1$14 = ["innerHTML"];
30743
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30727
30744
  __name: "CustomBadge",
30728
30745
  props: {
30729
30746
  badge: {}
@@ -30744,12 +30761,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30744
30761
  return openBlock(), createElementBlock("div", {
30745
30762
  class: normalizeClass(className.value),
30746
30763
  innerHTML: text.value
30747
- }, null, 10, _hoisted_1$13);
30764
+ }, null, 10, _hoisted_1$14);
30748
30765
  };
30749
30766
  }
30750
30767
  });
30751
- const _hoisted_1$12 = { class: "lupa-text-badges" };
30752
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30768
+ const _hoisted_1$13 = { class: "lupa-text-badges" };
30769
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30753
30770
  __name: "TextBadge",
30754
30771
  props: {
30755
30772
  badge: {}
@@ -30763,7 +30780,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30763
30780
  return badges.value.slice(0, props.badge.maxItems);
30764
30781
  });
30765
30782
  return (_ctx, _cache) => {
30766
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
30783
+ return openBlock(), createElementBlock("div", _hoisted_1$13, [
30767
30784
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
30768
30785
  return openBlock(), createElementBlock("div", {
30769
30786
  class: "lupa-badge lupa-text-badge",
@@ -30774,9 +30791,9 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30774
30791
  };
30775
30792
  }
30776
30793
  });
30777
- const _hoisted_1$11 = { class: "lupa-image-badges" };
30778
- const _hoisted_2$L = ["src"];
30779
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30794
+ const _hoisted_1$12 = { class: "lupa-image-badges" };
30795
+ const _hoisted_2$M = ["src"];
30796
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30780
30797
  __name: "ImageBadge",
30781
30798
  props: {
30782
30799
  badge: {}
@@ -30796,7 +30813,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30796
30813
  return `${props.badge.rootImageUrl}${src}`;
30797
30814
  };
30798
30815
  return (_ctx, _cache) => {
30799
- return openBlock(), createElementBlock("div", _hoisted_1$11, [
30816
+ return openBlock(), createElementBlock("div", _hoisted_1$12, [
30800
30817
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
30801
30818
  return openBlock(), createElementBlock("div", {
30802
30819
  class: "lupa-badge lupa-image-badge",
@@ -30804,14 +30821,14 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30804
30821
  }, [
30805
30822
  createBaseVNode("img", {
30806
30823
  src: getImageUrl(item)
30807
- }, null, 8, _hoisted_2$L)
30824
+ }, null, 8, _hoisted_2$M)
30808
30825
  ]);
30809
30826
  }), 128))
30810
30827
  ]);
30811
30828
  };
30812
30829
  }
30813
30830
  });
30814
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
30831
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30815
30832
  __name: "DiscountBadge",
30816
30833
  props: {
30817
30834
  badge: {}
@@ -30873,16 +30890,16 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
30873
30890
  };
30874
30891
  }
30875
30892
  });
30876
- const _hoisted_1$10 = { id: "lupa-search-results-badges" };
30893
+ const _hoisted_1$11 = { id: "lupa-search-results-badges" };
30877
30894
  const __default__$3 = {
30878
30895
  components: {
30879
- CustomBadge: _sfc_main$1d,
30880
- TextBadge: _sfc_main$1c,
30881
- ImageBadge: _sfc_main$1b,
30882
- DiscountBadge: _sfc_main$1a
30896
+ CustomBadge: _sfc_main$1e,
30897
+ TextBadge: _sfc_main$1d,
30898
+ ImageBadge: _sfc_main$1c,
30899
+ DiscountBadge: _sfc_main$1b
30883
30900
  }
30884
30901
  };
30885
- const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
30902
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
30886
30903
  __name: "SearchResultsBadgeWrapper",
30887
30904
  props: {
30888
30905
  position: {},
@@ -30945,7 +30962,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30945
30962
  }
30946
30963
  };
30947
30964
  return (_ctx, _cache) => {
30948
- return openBlock(), createElementBlock("div", _hoisted_1$10, [
30965
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
30949
30966
  createBaseVNode("div", {
30950
30967
  id: "lupa-badges",
30951
30968
  class: normalizeClass(anchorPosition.value)
@@ -30956,7 +30973,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30956
30973
  badge
30957
30974
  }, null, 8, ["badge"]);
30958
30975
  }), 128)),
30959
- positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1e, {
30976
+ positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1f, {
30960
30977
  key: 0,
30961
30978
  options: _ctx.options
30962
30979
  }, null, 8, ["options"])) : createCommentVNode("", true)
@@ -30965,13 +30982,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30965
30982
  };
30966
30983
  }
30967
30984
  }));
30968
- const _hoisted_1$$ = ["href"];
30969
- const _hoisted_2$K = { class: "lupa-search-box-product-details-section" };
30985
+ const _hoisted_1$10 = ["href"];
30986
+ const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
30970
30987
  const _hoisted_3$y = {
30971
30988
  key: 0,
30972
30989
  class: "lupa-search-box-product-add-to-cart-section"
30973
30990
  };
30974
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
30991
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
30975
30992
  __name: "SearchBoxProduct",
30976
30993
  props: {
30977
30994
  item: {},
@@ -31077,7 +31094,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31077
31094
  style: normalizeStyle(imageStyleOverride.value)
31078
31095
  }, [
31079
31096
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
31080
- return openBlock(), createBlock(_sfc_main$1g, {
31097
+ return openBlock(), createBlock(_sfc_main$1h, {
31081
31098
  class: "lupa-search-box-product-element",
31082
31099
  key: element.key,
31083
31100
  item: _ctx.item,
@@ -31087,10 +31104,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31087
31104
  }, null, 8, ["item", "element", "labels", "link"]);
31088
31105
  }), 128))
31089
31106
  ], 4),
31090
- createBaseVNode("div", _hoisted_2$K, [
31107
+ createBaseVNode("div", _hoisted_2$L, [
31091
31108
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
31092
31109
  var _a25;
31093
- return openBlock(), createBlock(_sfc_main$1g, {
31110
+ return openBlock(), createBlock(_sfc_main$1h, {
31094
31111
  class: "lupa-search-box-product-element",
31095
31112
  key: element.key,
31096
31113
  item: _ctx.item,
@@ -31101,7 +31118,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31101
31118
  ((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
31102
31119
  name: "badges",
31103
31120
  fn: withCtx(() => [
31104
- createVNode(_sfc_main$19, {
31121
+ createVNode(_sfc_main$1a, {
31105
31122
  options: badgeOptions.value,
31106
31123
  position: "card"
31107
31124
  }, null, 8, ["options"])
@@ -31117,7 +31134,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31117
31134
  class: normalizeClass(`lupa-search-box-group-${group}`)
31118
31135
  }, [
31119
31136
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
31120
- return openBlock(), createBlock(_sfc_main$1g, {
31137
+ return openBlock(), createBlock(_sfc_main$1h, {
31121
31138
  class: "lupa-search-box-product-element",
31122
31139
  key: element.key,
31123
31140
  item: _ctx.item,
@@ -31130,7 +31147,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31130
31147
  ], 2);
31131
31148
  }), 128)),
31132
31149
  addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
31133
- createVNode(_sfc_main$1g, {
31150
+ createVNode(_sfc_main$1h, {
31134
31151
  class: "lupa-search-box-product-element",
31135
31152
  item: _ctx.item,
31136
31153
  element: addToCartElement.value,
@@ -31139,7 +31156,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31139
31156
  isInStock: isInStock.value
31140
31157
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
31141
31158
  ])) : createCommentVNode("", true)
31142
- ], 16, _hoisted_1$$);
31159
+ ], 16, _hoisted_1$10);
31143
31160
  };
31144
31161
  }
31145
31162
  });
@@ -31211,8 +31228,8 @@ const useTrackingStore = /* @__PURE__ */ defineStore("tracking", () => {
31211
31228
  };
31212
31229
  return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
31213
31230
  });
31214
- const _hoisted_1$_ = { id: "lupa-search-box-products" };
31215
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31231
+ const _hoisted_1$$ = { id: "lupa-search-box-products" };
31232
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31216
31233
  __name: "SearchBoxProducts",
31217
31234
  props: {
31218
31235
  items: {},
@@ -31284,7 +31301,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31284
31301
  }
31285
31302
  };
31286
31303
  return (_ctx, _cache) => {
31287
- return openBlock(), createElementBlock("div", _hoisted_1$_, [
31304
+ return openBlock(), createElementBlock("div", _hoisted_1$$, [
31288
31305
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
31289
31306
  return renderSlot(_ctx.$slots, "productCard", {
31290
31307
  key: index,
@@ -31296,7 +31313,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31296
31313
  itemClicked: handleProductClick
31297
31314
  });
31298
31315
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
31299
- return openBlock(), createBlock(_sfc_main$18, {
31316
+ return openBlock(), createBlock(_sfc_main$19, {
31300
31317
  key: index,
31301
31318
  item,
31302
31319
  panelOptions: _ctx.panelOptions,
@@ -31311,9 +31328,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31311
31328
  };
31312
31329
  }
31313
31330
  });
31314
- const _hoisted_1$Z = { class: "lupa-search-box-documents-go-to-results-wrapper" };
31315
- const _hoisted_2$J = { key: 0 };
31316
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31331
+ const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
31332
+ const _hoisted_2$K = { key: 0 };
31333
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31317
31334
  __name: "SearchBoxProductsGoToResultsButton",
31318
31335
  props: {
31319
31336
  options: {},
@@ -31344,13 +31361,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31344
31361
  emit2("goToResults");
31345
31362
  };
31346
31363
  return (_ctx, _cache) => {
31347
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
31364
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
31348
31365
  createBaseVNode("button", {
31349
31366
  class: "lupa-search-box-documents-go-to-results-button",
31350
31367
  onClick: goToResults
31351
31368
  }, [
31352
31369
  createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
31353
- totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$J, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
31370
+ totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
31354
31371
  ])
31355
31372
  ]);
31356
31373
  };
@@ -31437,7 +31454,7 @@ const processExtractionObject = (value = {}) => {
31437
31454
  }
31438
31455
  return parsedObject;
31439
31456
  };
31440
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31457
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31441
31458
  __name: "SearchBoxProductsWrapper",
31442
31459
  props: {
31443
31460
  panel: {},
@@ -31507,7 +31524,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31507
31524
  watch(() => props.panel.limit, getItemsDebounced);
31508
31525
  return (_ctx, _cache) => {
31509
31526
  var _a25, _b25;
31510
- return openBlock(), createBlock(_sfc_main$17, {
31527
+ return openBlock(), createBlock(_sfc_main$18, {
31511
31528
  items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
31512
31529
  panelOptions: _ctx.panel,
31513
31530
  labels: _ctx.labels,
@@ -31517,7 +31534,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31517
31534
  default: withCtx(() => {
31518
31535
  var _a26;
31519
31536
  return [
31520
- showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$16, {
31537
+ showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$17, {
31521
31538
  key: 0,
31522
31539
  options: _ctx.searchBoxOptions,
31523
31540
  panel: _ctx.panel,
@@ -31538,7 +31555,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31538
31555
  };
31539
31556
  }
31540
31557
  });
31541
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31558
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31542
31559
  __name: "SearchBoxRelatedSourceWrapper",
31543
31560
  props: {
31544
31561
  panel: {},
@@ -31610,7 +31627,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31610
31627
  });
31611
31628
  return (_ctx, _cache) => {
31612
31629
  var _a25, _b25;
31613
- return openBlock(), createBlock(_sfc_main$17, {
31630
+ return openBlock(), createBlock(_sfc_main$18, {
31614
31631
  items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
31615
31632
  panelOptions: documentPanelOptions.value,
31616
31633
  labels: _ctx.labels,
@@ -31628,11 +31645,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31628
31645
  };
31629
31646
  }
31630
31647
  });
31631
- const _hoisted_1$Y = {
31648
+ const _hoisted_1$Z = {
31632
31649
  key: 0,
31633
31650
  id: "lupa-search-box-panel"
31634
31651
  };
31635
- const _hoisted_2$I = ["data-cy"];
31652
+ const _hoisted_2$J = ["data-cy"];
31636
31653
  const _hoisted_3$x = {
31637
31654
  key: 0,
31638
31655
  class: "lupa-panel-title lupa-panel-title-top-results"
@@ -31647,12 +31664,12 @@ const _hoisted_5$g = {
31647
31664
  };
31648
31665
  const __default__$2 = {
31649
31666
  components: {
31650
- SearchBoxSuggestionsWrapper: _sfc_main$1q,
31651
- SearchBoxProductsWrapper: _sfc_main$15,
31652
- SearchBoxRelatedSourceWrapper: _sfc_main$14
31667
+ SearchBoxSuggestionsWrapper: _sfc_main$1r,
31668
+ SearchBoxProductsWrapper: _sfc_main$16,
31669
+ SearchBoxRelatedSourceWrapper: _sfc_main$15
31653
31670
  }
31654
31671
  };
31655
- const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
31672
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
31656
31673
  __name: "SearchBoxMainPanel",
31657
31674
  props: {
31658
31675
  options: {},
@@ -31810,7 +31827,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
31810
31827
  ref_key: "panelContainer",
31811
31828
  ref: panelContainer
31812
31829
  }, [
31813
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
31830
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Z, [
31814
31831
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
31815
31832
  key: 0,
31816
31833
  class: "lupa-search-box-close-panel",
@@ -31855,21 +31872,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
31855
31872
  key: "0"
31856
31873
  } : void 0
31857
31874
  ]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
31858
- ], 14, _hoisted_2$I);
31875
+ ], 14, _hoisted_2$J);
31859
31876
  }), 128))
31860
31877
  ], 4),
31861
- !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1t, {
31878
+ !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1u, {
31862
31879
  key: 1,
31863
31880
  labels: labels.value
31864
31881
  }, null, 8, ["labels"])) : createCommentVNode("", true),
31865
- unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1w, {
31882
+ unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1x, {
31866
31883
  key: 2,
31867
31884
  labels: labels.value,
31868
31885
  options: _ctx.options,
31869
31886
  onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
31870
31887
  }, null, 8, ["labels", "options"])) : createCommentVNode("", true)
31871
31888
  ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
31872
- createVNode(_sfc_main$1u, {
31889
+ createVNode(_sfc_main$1v, {
31873
31890
  options: _ctx.options.history,
31874
31891
  history: history.value,
31875
31892
  onGoToResults: handleGoToResults,
@@ -31894,8 +31911,8 @@ const unbindSearchTriggers = (triggers = [], event) => {
31894
31911
  const elements = getElements(triggers);
31895
31912
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
31896
31913
  };
31897
- const _hoisted_1$X = { class: "lupa-search-box-wrapper" };
31898
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
31914
+ const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
31915
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
31899
31916
  __name: "SearchBox",
31900
31917
  props: {
31901
31918
  options: {},
@@ -32217,8 +32234,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32217
32234
  id: "lupa-search-box",
32218
32235
  class: normalizeClass({ "lupa-search-box-opened": opened.value })
32219
32236
  }, [
32220
- createBaseVNode("div", _hoisted_1$X, [
32221
- createVNode(_sfc_main$1x, {
32237
+ createBaseVNode("div", _hoisted_1$Y, [
32238
+ createVNode(_sfc_main$1y, {
32222
32239
  options: inputOptions.value,
32223
32240
  suggestedValue: suggestedValue.value,
32224
32241
  "can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
@@ -32231,7 +32248,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32231
32248
  onSearch: handleSearch,
32232
32249
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
32233
32250
  }, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
32234
- opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$13, {
32251
+ opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$14, {
32235
32252
  key: 0,
32236
32253
  options: panelOptions.value,
32237
32254
  inputValue: inputValue.value,
@@ -32319,11 +32336,11 @@ const getSearchParams = (url, params, baseUrl) => {
32319
32336
  }
32320
32337
  return searchParams;
32321
32338
  };
32322
- const _hoisted_1$W = {
32339
+ const _hoisted_1$X = {
32323
32340
  key: 0,
32324
32341
  id: "lupa-search-results-did-you-mean"
32325
32342
  };
32326
- const _hoisted_2$H = {
32343
+ const _hoisted_2$I = {
32327
32344
  key: 0,
32328
32345
  "data-cy": "suggested-search-text-label"
32329
32346
  };
@@ -32332,7 +32349,7 @@ const _hoisted_3$w = {
32332
32349
  "data-cy": "did-you-mean-label"
32333
32350
  };
32334
32351
  const _hoisted_4$n = { key: 1 };
32335
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32352
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32336
32353
  __name: "SearchResultsDidYouMean",
32337
32354
  props: {
32338
32355
  labels: {}
@@ -32364,8 +32381,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32364
32381
  paramStore.goToResults({ searchText, facet });
32365
32382
  };
32366
32383
  return (_ctx, _cache) => {
32367
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
32368
- unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
32384
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
32385
+ unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
32369
32386
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
32370
32387
  return openBlock(), createElementBlock("span", { key: index }, [
32371
32388
  createBaseVNode("span", {
@@ -32390,12 +32407,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32390
32407
  };
32391
32408
  }
32392
32409
  });
32393
- const _hoisted_1$V = {
32410
+ const _hoisted_1$W = {
32394
32411
  key: 0,
32395
32412
  class: "lupa-search-results-summary"
32396
32413
  };
32397
- const _hoisted_2$G = ["innerHTML"];
32398
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32414
+ const _hoisted_2$H = ["innerHTML"];
32415
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32399
32416
  __name: "SearchResultsSummary",
32400
32417
  props: {
32401
32418
  label: {},
@@ -32410,8 +32427,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32410
32427
  return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
32411
32428
  });
32412
32429
  return (_ctx, _cache) => {
32413
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
32414
- createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$G),
32430
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
32431
+ createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
32415
32432
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
32416
32433
  key: 0,
32417
32434
  class: "lupa-filter-clear",
@@ -32422,19 +32439,19 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32422
32439
  };
32423
32440
  }
32424
32441
  });
32425
- const _hoisted_1$U = {
32442
+ const _hoisted_1$V = {
32426
32443
  key: 0,
32427
32444
  class: "lupa-result-page-title",
32428
32445
  "data-cy": "lupa-result-page-title"
32429
32446
  };
32430
- const _hoisted_2$F = { key: 0 };
32447
+ const _hoisted_2$G = { key: 0 };
32431
32448
  const _hoisted_3$v = {
32432
32449
  key: 1,
32433
32450
  class: "lupa-results-total-count"
32434
32451
  };
32435
32452
  const _hoisted_4$m = { class: "lupa-results-total-count-number" };
32436
32453
  const _hoisted_5$f = ["innerHTML"];
32437
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32454
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32438
32455
  __name: "SearchResultsTitle",
32439
32456
  props: {
32440
32457
  options: {},
@@ -32477,16 +32494,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32477
32494
  });
32478
32495
  return (_ctx, _cache) => {
32479
32496
  return openBlock(), createElementBlock("div", null, [
32480
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$U, [
32497
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$V, [
32481
32498
  createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
32482
- queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$F, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
32499
+ queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$G, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
32483
32500
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$v, [
32484
32501
  createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
32485
32502
  createBaseVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
32486
32503
  _cache[0] || (_cache[0] = createTextVNode(")"))
32487
32504
  ])) : createCommentVNode("", true)
32488
32505
  ])) : createCommentVNode("", true),
32489
- _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$10, {
32506
+ _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$11, {
32490
32507
  key: 1,
32491
32508
  label: summaryLabel.value
32492
32509
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -32499,15 +32516,15 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32499
32516
  };
32500
32517
  }
32501
32518
  });
32502
- const _hoisted_1$T = {
32519
+ const _hoisted_1$U = {
32503
32520
  class: "lupa-current-filter-label",
32504
32521
  "data-cy": "lupa-current-filter-label"
32505
32522
  };
32506
- const _hoisted_2$E = {
32523
+ const _hoisted_2$F = {
32507
32524
  class: "lupa-current-filter-value",
32508
32525
  "data-cy": "lupa-current-filter-value"
32509
32526
  };
32510
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32527
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32511
32528
  __name: "CurrentFilterDisplay",
32512
32529
  props: {
32513
32530
  filter: {}
@@ -32549,14 +32566,14 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32549
32566
  onClick: handleClick,
32550
32567
  "aria-label": "Remove filter"
32551
32568
  }, "⨉"),
32552
- createBaseVNode("div", _hoisted_1$T, toDisplayString(_ctx.filter.label) + ": ", 1),
32553
- createBaseVNode("div", _hoisted_2$E, toDisplayString(formatFilterValue(props.filter)), 1)
32569
+ createBaseVNode("div", _hoisted_1$U, toDisplayString(_ctx.filter.label) + ": ", 1),
32570
+ createBaseVNode("div", _hoisted_2$F, toDisplayString(formatFilterValue(props.filter)), 1)
32554
32571
  ], 2);
32555
32572
  };
32556
32573
  }
32557
32574
  });
32558
- const _hoisted_1$S = { class: "lupa-filter-title-text" };
32559
- const _hoisted_2$D = {
32575
+ const _hoisted_1$T = { class: "lupa-filter-title-text" };
32576
+ const _hoisted_2$E = {
32560
32577
  key: 0,
32561
32578
  class: "lupa-filter-count"
32562
32579
  };
@@ -32565,7 +32582,7 @@ const _hoisted_3$u = {
32565
32582
  class: "filter-values"
32566
32583
  };
32567
32584
  const _hoisted_4$l = { class: "lupa-current-filter-list" };
32568
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32585
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32569
32586
  __name: "CurrentFilters",
32570
32587
  props: {
32571
32588
  options: {},
@@ -32646,9 +32663,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32646
32663
  class: "lupa-current-filter-title",
32647
32664
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
32648
32665
  }, [
32649
- createBaseVNode("div", _hoisted_1$S, [
32666
+ createBaseVNode("div", _hoisted_1$T, [
32650
32667
  createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
32651
- _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$D, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
32668
+ _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$E, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
32652
32669
  ]),
32653
32670
  _ctx.expandable ? (openBlock(), createElementBlock("div", {
32654
32671
  key: 0,
@@ -32658,7 +32675,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32658
32675
  !_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
32659
32676
  createBaseVNode("div", _hoisted_4$l, [
32660
32677
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
32661
- return openBlock(), createBlock(_sfc_main$_, {
32678
+ return openBlock(), createBlock(_sfc_main$$, {
32662
32679
  key: filter.key + "_" + filter.value,
32663
32680
  filter,
32664
32681
  units: units.value,
@@ -32676,8 +32693,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32676
32693
  };
32677
32694
  }
32678
32695
  });
32679
- const _hoisted_1$R = ["href"];
32680
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32696
+ const _hoisted_1$S = ["href"];
32697
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32681
32698
  __name: "CategoryFilterItem",
32682
32699
  props: {
32683
32700
  options: {},
@@ -32714,20 +32731,20 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32714
32731
  "data-cy": "lupa-child-category-item",
32715
32732
  href: urlLink.value,
32716
32733
  onClick: handleNavigation
32717
- }, toDisplayString(title.value), 9, _hoisted_1$R)
32734
+ }, toDisplayString(title.value), 9, _hoisted_1$S)
32718
32735
  ], 2);
32719
32736
  };
32720
32737
  }
32721
32738
  });
32722
- const _hoisted_1$Q = {
32739
+ const _hoisted_1$R = {
32723
32740
  class: "lupa-category-filter",
32724
32741
  "data-cy": "lupa-category-filter"
32725
32742
  };
32726
- const _hoisted_2$C = { class: "lupa-category-back" };
32743
+ const _hoisted_2$D = { class: "lupa-category-back" };
32727
32744
  const _hoisted_3$t = ["href"];
32728
32745
  const _hoisted_4$k = ["href"];
32729
32746
  const _hoisted_5$e = { class: "lupa-child-category-list" };
32730
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
32747
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32731
32748
  __name: "CategoryFilter",
32732
32749
  props: {
32733
32750
  options: {}
@@ -32815,8 +32832,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32815
32832
  };
32816
32833
  __expose({ fetch: fetch2 });
32817
32834
  return (_ctx, _cache) => {
32818
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32819
- createBaseVNode("div", _hoisted_2$C, [
32835
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
32836
+ createBaseVNode("div", _hoisted_2$D, [
32820
32837
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
32821
32838
  key: 0,
32822
32839
  "data-cy": "lupa-category-back",
@@ -32836,7 +32853,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32836
32853
  ], 2),
32837
32854
  createBaseVNode("div", _hoisted_5$e, [
32838
32855
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
32839
- return openBlock(), createBlock(_sfc_main$Y, {
32856
+ return openBlock(), createBlock(_sfc_main$Z, {
32840
32857
  key: getCategoryKey(child),
32841
32858
  item: child,
32842
32859
  options: _ctx.options
@@ -32847,11 +32864,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32847
32864
  };
32848
32865
  }
32849
32866
  });
32850
- const _hoisted_1$P = {
32867
+ const _hoisted_1$Q = {
32851
32868
  class: "lupa-search-result-facet-term-values",
32852
32869
  "data-cy": "lupa-search-result-facet-term-values"
32853
32870
  };
32854
- const _hoisted_2$B = ["placeholder"];
32871
+ const _hoisted_2$C = ["placeholder"];
32855
32872
  const _hoisted_3$s = { class: "lupa-terms-list" };
32856
32873
  const _hoisted_4$j = ["onClick"];
32857
32874
  const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
@@ -32862,7 +32879,7 @@ const _hoisted_7$4 = {
32862
32879
  };
32863
32880
  const _hoisted_8$2 = { key: 0 };
32864
32881
  const _hoisted_9$2 = { key: 1 };
32865
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
32882
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32866
32883
  __name: "TermFacet",
32867
32884
  props: {
32868
32885
  options: {},
@@ -32952,14 +32969,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
32952
32969
  }
32953
32970
  };
32954
32971
  return (_ctx, _cache) => {
32955
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
32972
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32956
32973
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
32957
32974
  key: 0,
32958
32975
  class: "lupa-term-filter",
32959
32976
  "data-cy": "lupa-term-filter",
32960
32977
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
32961
32978
  placeholder: _ctx.options.labels.facetFilter
32962
- }, null, 8, _hoisted_2$B)), [
32979
+ }, null, 8, _hoisted_2$C)), [
32963
32980
  [vModelText, termFilter.value]
32964
32981
  ]) : createCommentVNode("", true),
32965
32982
  createBaseVNode("div", _hoisted_3$s, [
@@ -33889,8 +33906,8 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
33889
33906
  m.render = function(e2, t, r, i, n, o) {
33890
33907
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
33891
33908
  }, m.__file = "src/Slider.vue";
33892
- const _hoisted_1$O = { class: "lupa-search-result-facet-stats-values" };
33893
- const _hoisted_2$A = {
33909
+ const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
33910
+ const _hoisted_2$B = {
33894
33911
  key: 0,
33895
33912
  class: "lupa-stats-facet-summary"
33896
33913
  };
@@ -33918,7 +33935,7 @@ const _hoisted_14 = {
33918
33935
  key: 2,
33919
33936
  class: "lupa-stats-slider-wrapper"
33920
33937
  };
33921
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
33938
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
33922
33939
  __name: "StatsFacet",
33923
33940
  props: {
33924
33941
  options: {},
@@ -34134,8 +34151,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34134
34151
  }
34135
34152
  );
34136
34153
  return (_ctx, _cache) => {
34137
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
34138
- !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$A, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
34154
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
34155
+ !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
34139
34156
  createBaseVNode("div", _hoisted_4$i, [
34140
34157
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
34141
34158
  withDirectives(createBaseVNode("input", {
@@ -34199,8 +34216,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34199
34216
  };
34200
34217
  }
34201
34218
  });
34202
- const _hoisted_1$N = { class: "lupa-term-checkbox-wrapper" };
34203
- const _hoisted_2$z = { class: "lupa-term-label" };
34219
+ const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
34220
+ const _hoisted_2$A = { class: "lupa-term-label" };
34204
34221
  const _hoisted_3$q = {
34205
34222
  key: 0,
34206
34223
  class: "lupa-term-count"
@@ -34209,7 +34226,7 @@ const _hoisted_4$h = {
34209
34226
  key: 0,
34210
34227
  class: "lupa-facet-level"
34211
34228
  };
34212
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
34229
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34213
34230
  __name: "HierarchyFacetLevel",
34214
34231
  props: {
34215
34232
  options: {},
@@ -34263,7 +34280,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34263
34280
  "data-cy": "lupa-facet-term",
34264
34281
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
34265
34282
  }, [
34266
- createBaseVNode("div", _hoisted_1$N, [
34283
+ createBaseVNode("div", _hoisted_1$O, [
34267
34284
  createBaseVNode("span", {
34268
34285
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
34269
34286
  }, null, 2)
@@ -34271,7 +34288,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34271
34288
  createBaseVNode("div", {
34272
34289
  class: normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
34273
34290
  }, [
34274
- createBaseVNode("span", _hoisted_2$z, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
34291
+ createBaseVNode("span", _hoisted_2$A, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
34275
34292
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_3$q, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
34276
34293
  ], 2)
34277
34294
  ]),
@@ -34291,13 +34308,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34291
34308
  };
34292
34309
  }
34293
34310
  });
34294
- const _hoisted_1$M = {
34311
+ const _hoisted_1$N = {
34295
34312
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
34296
34313
  "data-cy": "lupa-search-result-facet-term-values"
34297
34314
  };
34298
- const _hoisted_2$y = { key: 0 };
34315
+ const _hoisted_2$z = { key: 0 };
34299
34316
  const _hoisted_3$p = ["placeholder"];
34300
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
34317
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34301
34318
  __name: "HierarchyFacet",
34302
34319
  props: {
34303
34320
  options: {},
@@ -34353,8 +34370,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
34353
34370
  showAll.value = false;
34354
34371
  };
34355
34372
  return (_ctx, _cache) => {
34356
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
34357
- isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
34373
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
34374
+ isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
34358
34375
  withDirectives(createBaseVNode("input", {
34359
34376
  class: "lupa-term-filter",
34360
34377
  "data-cy": "lupa-term-filter",
@@ -34365,7 +34382,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
34365
34382
  ])
34366
34383
  ])) : createCommentVNode("", true),
34367
34384
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
34368
- return openBlock(), createBlock(_sfc_main$U, {
34385
+ return openBlock(), createBlock(_sfc_main$V, {
34369
34386
  key: item.title,
34370
34387
  options: _ctx.options,
34371
34388
  item,
@@ -34377,32 +34394,32 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
34377
34394
  }), 128)),
34378
34395
  itemLimit.value < filteredValues.value.length ? (openBlock(), createElementBlock("div", {
34379
34396
  key: 1,
34380
- class: normalizeClass(["lupa-facet-term lupa-show-more-facet-results", { "lupa-show-less-facet-results": showAll.value }]),
34397
+ class: "lupa-facet-term lupa-show-more-facet-results",
34381
34398
  "data-cy": "lupa-facet-term",
34382
34399
  onClick: handleShowAll
34383
- }, toDisplayString(_ctx.options.labels.showAll), 3)) : showAll.value ? (openBlock(), createElementBlock("div", {
34400
+ }, toDisplayString(_ctx.options.labels.showAll), 1)) : showAll.value ? (openBlock(), createElementBlock("div", {
34384
34401
  key: 2,
34385
- class: "lupa-facet-term lupa-show-more-facet-results",
34402
+ class: "lupa-facet-term lupa-show-more-facet-results lupa-show-less-facet-results",
34386
34403
  onClick: handleCancelShowAll
34387
34404
  }, toDisplayString(_ctx.options.labels.showLess), 1)) : createCommentVNode("", true)
34388
34405
  ]);
34389
34406
  };
34390
34407
  }
34391
34408
  });
34392
- const _hoisted_1$L = { class: "lupa-facet-label-text" };
34393
- const _hoisted_2$x = {
34409
+ const _hoisted_1$M = { class: "lupa-facet-label-text" };
34410
+ const _hoisted_2$y = {
34394
34411
  key: 0,
34395
34412
  class: "lupa-facet-content",
34396
34413
  "data-cy": "lupa-facet-content"
34397
34414
  };
34398
34415
  const __default__$1 = {
34399
34416
  components: {
34400
- TermFacet: _sfc_main$W,
34401
- StatsFacet: _sfc_main$V,
34402
- HierarchyFacet: _sfc_main$T
34417
+ TermFacet: _sfc_main$X,
34418
+ StatsFacet: _sfc_main$W,
34419
+ HierarchyFacet: _sfc_main$U
34403
34420
  }
34404
34421
  };
34405
- const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
34422
+ const _sfc_main$T = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
34406
34423
  __name: "FacetDisplay",
34407
34424
  props: {
34408
34425
  options: {},
@@ -34524,12 +34541,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34524
34541
  "data-cy": "lupa-search-result-facet-label",
34525
34542
  onClick: toggleFacet
34526
34543
  }, [
34527
- createBaseVNode("div", _hoisted_1$L, toDisplayString(facetLabel.value), 1),
34544
+ createBaseVNode("div", _hoisted_1$M, toDisplayString(facetLabel.value), 1),
34528
34545
  createBaseVNode("div", {
34529
34546
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
34530
34547
  }, null, 2)
34531
34548
  ], 2),
34532
- isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
34549
+ isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
34533
34550
  (openBlock(), createBlock(resolveDynamicComponent(facetType.value), {
34534
34551
  facet: facet.value,
34535
34552
  currentFilters: currentFilters.value[facet.value.key],
@@ -34547,12 +34564,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34547
34564
  };
34548
34565
  }
34549
34566
  }));
34550
- const _hoisted_1$K = { class: "lupa-search-result-facet-section" };
34551
- const _hoisted_2$w = {
34567
+ const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
34568
+ const _hoisted_2$x = {
34552
34569
  key: 0,
34553
34570
  class: "lupa-facets-title"
34554
34571
  };
34555
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
34572
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
34556
34573
  __name: "FacetList",
34557
34574
  props: {
34558
34575
  options: {},
@@ -34587,14 +34604,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34587
34604
  };
34588
34605
  return (_ctx, _cache) => {
34589
34606
  var _a25;
34590
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
34591
- _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$w, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
34607
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
34608
+ _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
34592
34609
  createBaseVNode("div", {
34593
34610
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
34594
34611
  }, [
34595
34612
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
34596
34613
  var _a26;
34597
- return openBlock(), createBlock(_sfc_main$S, {
34614
+ return openBlock(), createBlock(_sfc_main$T, {
34598
34615
  key: facet.key,
34599
34616
  facet,
34600
34617
  currentFilters: currentFiltersValue.value,
@@ -34609,7 +34626,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34609
34626
  };
34610
34627
  }
34611
34628
  });
34612
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34629
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34613
34630
  __name: "FacetsButton",
34614
34631
  props: {
34615
34632
  options: {}
@@ -34634,8 +34651,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34634
34651
  };
34635
34652
  }
34636
34653
  });
34637
- const _hoisted_1$J = { class: "lupa-facets-filter-button-wrapper" };
34638
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
34654
+ const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
34655
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34639
34656
  __name: "Facets",
34640
34657
  props: {
34641
34658
  options: {},
@@ -34722,7 +34739,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34722
34739
  return openBlock(), createElementBlock("div", {
34723
34740
  class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
34724
34741
  }, [
34725
- regularFacets.value ? (openBlock(), createBlock(_sfc_main$R, {
34742
+ regularFacets.value ? (openBlock(), createBlock(_sfc_main$S, {
34726
34743
  key: 0,
34727
34744
  options: _ctx.options,
34728
34745
  facets: regularFacets.value,
@@ -34732,8 +34749,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34732
34749
  onSelect: handleFacetSelect,
34733
34750
  onClear: clear
34734
34751
  }, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
34735
- createBaseVNode("div", _hoisted_1$J, [
34736
- showFilterButton.value ? (openBlock(), createBlock(_sfc_main$Q, {
34752
+ createBaseVNode("div", _hoisted_1$K, [
34753
+ showFilterButton.value ? (openBlock(), createBlock(_sfc_main$R, {
34737
34754
  key: 0,
34738
34755
  options: _ctx.options,
34739
34756
  onFilter: filter
@@ -34743,12 +34760,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34743
34760
  };
34744
34761
  }
34745
34762
  });
34746
- const _hoisted_1$I = {
34763
+ const _hoisted_1$J = {
34747
34764
  key: 0,
34748
34765
  id: "lupa-search-result-filters",
34749
34766
  class: "lupa-search-result-filters"
34750
34767
  };
34751
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
34768
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34752
34769
  __name: "SearchResultsFilters",
34753
34770
  props: {
34754
34771
  options: {},
@@ -34786,19 +34803,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34786
34803
  __expose({ fetch: fetch2 });
34787
34804
  return (_ctx, _cache) => {
34788
34805
  var _a25;
34789
- return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
34790
- showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Z, {
34806
+ return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
34807
+ showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$_, {
34791
34808
  key: 0,
34792
34809
  options: _ctx.options.currentFilters,
34793
34810
  expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
34794
34811
  }, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
34795
- _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$X, {
34812
+ _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Y, {
34796
34813
  key: 1,
34797
34814
  options: _ctx.options.categories,
34798
34815
  ref_key: "categoryFilters",
34799
34816
  ref: categoryFilters
34800
34817
  }, null, 8, ["options"])) : createCommentVNode("", true),
34801
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$P, {
34818
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
34802
34819
  key: 2,
34803
34820
  options: _ctx.options.facets,
34804
34821
  onFilter: filter
@@ -34807,11 +34824,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34807
34824
  };
34808
34825
  }
34809
34826
  });
34810
- const _hoisted_1$H = {
34827
+ const _hoisted_1$I = {
34811
34828
  key: 0,
34812
34829
  class: "lupa-mobile-filter-sidebar"
34813
34830
  };
34814
- const _hoisted_2$v = { class: "lupa-mobile-sidebar-content" };
34831
+ const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
34815
34832
  const _hoisted_3$o = { class: "lupa-sidebar-top" };
34816
34833
  const _hoisted_4$g = { class: "lupa-sidebar-title" };
34817
34834
  const _hoisted_5$b = {
@@ -34819,7 +34836,7 @@ const _hoisted_5$b = {
34819
34836
  class: "lupa-sidebar-filter-count"
34820
34837
  };
34821
34838
  const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
34822
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
34839
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34823
34840
  __name: "MobileFilterSidebar",
34824
34841
  props: {
34825
34842
  options: {}
@@ -34851,12 +34868,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34851
34868
  handleMobileToggle();
34852
34869
  };
34853
34870
  return (_ctx, _cache) => {
34854
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
34871
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
34855
34872
  createBaseVNode("div", {
34856
34873
  class: "lupa-sidebar-close",
34857
34874
  onClick: withModifiers(handleMobileToggle, ["stop"])
34858
34875
  }),
34859
- createBaseVNode("div", _hoisted_2$v, [
34876
+ createBaseVNode("div", _hoisted_2$w, [
34860
34877
  createBaseVNode("div", _hoisted_3$o, [
34861
34878
  createBaseVNode("div", _hoisted_4$g, [
34862
34879
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
@@ -34868,7 +34885,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34868
34885
  })
34869
34886
  ]),
34870
34887
  createBaseVNode("div", _hoisted_6$5, [
34871
- createVNode(_sfc_main$O, {
34888
+ createVNode(_sfc_main$P, {
34872
34889
  options: _ctx.options,
34873
34890
  expandable: isActiveFiltersExpanded.value,
34874
34891
  onFilter: filter
@@ -34879,14 +34896,14 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34879
34896
  };
34880
34897
  }
34881
34898
  });
34882
- const _hoisted_1$G = { id: "lupa-search-results-breadcrumbs" };
34883
- const _hoisted_2$u = ["href", "onClick"];
34899
+ const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
34900
+ const _hoisted_2$v = ["href", "onClick"];
34884
34901
  const _hoisted_3$n = {
34885
34902
  key: 1,
34886
34903
  class: "lupa-search-results-breadcrumb-text"
34887
34904
  };
34888
34905
  const _hoisted_4$f = { key: 2 };
34889
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
34906
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34890
34907
  __name: "SearchResultsBreadcrumbs",
34891
34908
  props: {
34892
34909
  breadcrumbs: {}
@@ -34911,7 +34928,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34911
34928
  handleRoutingEvent(link, event, hasEventRouting.value);
34912
34929
  };
34913
34930
  return (_ctx, _cache) => {
34914
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
34931
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
34915
34932
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
34916
34933
  var _a25;
34917
34934
  return openBlock(), createElementBlock("span", {
@@ -34926,7 +34943,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34926
34943
  var _a26;
34927
34944
  return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
34928
34945
  }
34929
- }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$u)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
34946
+ }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
34930
34947
  index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
34931
34948
  ]);
34932
34949
  }), 128))
@@ -34934,12 +34951,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34934
34951
  };
34935
34952
  }
34936
34953
  });
34937
- const _hoisted_1$F = {
34954
+ const _hoisted_1$G = {
34938
34955
  key: 0,
34939
34956
  id: "lupa-search-result-filters",
34940
34957
  class: "lupa-search-result-filters lupa-search-result-top-filters"
34941
34958
  };
34942
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
34959
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34943
34960
  __name: "FiltersTopDropdown",
34944
34961
  props: {
34945
34962
  options: {}
@@ -34957,8 +34974,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34957
34974
  });
34958
34975
  return (_ctx, _cache) => {
34959
34976
  var _a25;
34960
- return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
34961
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$P, {
34977
+ return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
34978
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
34962
34979
  key: 0,
34963
34980
  options: _ctx.options.facets,
34964
34981
  "facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
@@ -34969,8 +34986,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34969
34986
  };
34970
34987
  }
34971
34988
  });
34972
- const _hoisted_1$E = { id: "lupa-search-results-layout-selection" };
34973
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
34989
+ const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
34990
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34974
34991
  __name: "SearchResultsLayoutSelection",
34975
34992
  setup(__props) {
34976
34993
  const searchResultStore = useSearchResultStore();
@@ -34981,7 +34998,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
34981
34998
  searchResultStore.setLayout(layout2);
34982
34999
  };
34983
35000
  return (_ctx, _cache) => {
34984
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
35001
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
34985
35002
  createBaseVNode("div", {
34986
35003
  class: normalizeClass([
34987
35004
  "lupa-layout-selection-grid",
@@ -35003,11 +35020,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35003
35020
  };
35004
35021
  }
35005
35022
  });
35006
- const _hoisted_1$D = {
35023
+ const _hoisted_1$E = {
35007
35024
  key: 0,
35008
35025
  class: "lupa-mobile-toggle-filter-count"
35009
35026
  };
35010
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
35027
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35011
35028
  __name: "SearchResultsMobileToggle",
35012
35029
  props: {
35013
35030
  labels: {},
@@ -35055,12 +35072,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35055
35072
  onClick: handleMobileToggle
35056
35073
  }, [
35057
35074
  createTextVNode(toDisplayString(label.value) + " ", 1),
35058
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
35075
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
35059
35076
  ], 2);
35060
35077
  };
35061
35078
  }
35062
35079
  });
35063
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
35080
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35064
35081
  __name: "SearchResultsMobileFilterClose",
35065
35082
  props: {
35066
35083
  label: {}
@@ -35080,12 +35097,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
35080
35097
  };
35081
35098
  }
35082
35099
  });
35083
- const _hoisted_1$C = {
35100
+ const _hoisted_1$D = {
35084
35101
  key: 0,
35085
35102
  id: "lupa-search-results-page-select",
35086
35103
  "data-cy": "lupa-search-results-page-select"
35087
35104
  };
35088
- const _hoisted_2$t = {
35105
+ const _hoisted_2$u = {
35089
35106
  key: 0,
35090
35107
  class: "lupa-page-number-separator"
35091
35108
  };
@@ -35094,7 +35111,7 @@ const _hoisted_4$e = {
35094
35111
  key: 0,
35095
35112
  class: "lupa-page-number-separator"
35096
35113
  };
35097
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
35114
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
35098
35115
  __name: "SearchResultsPageSelect",
35099
35116
  props: {
35100
35117
  lastPageLabel: {},
@@ -35171,7 +35188,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35171
35188
  }
35172
35189
  };
35173
35190
  return (_ctx, _cache) => {
35174
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
35191
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
35175
35192
  showBack.value ? (openBlock(), createElementBlock("div", {
35176
35193
  key: 0,
35177
35194
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -35182,7 +35199,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35182
35199
  class: "lupa-page-number lupa-page-number-first",
35183
35200
  onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
35184
35201
  }, " 1 "),
35185
- showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$t, "...")) : createCommentVNode("", true)
35202
+ showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$u, "...")) : createCommentVNode("", true)
35186
35203
  ], 64)) : createCommentVNode("", true),
35187
35204
  (openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
35188
35205
  return openBlock(), createElementBlock("div", {
@@ -35215,15 +35232,18 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35215
35232
  };
35216
35233
  }
35217
35234
  });
35218
- const _hoisted_1$B = {
35235
+ const _hoisted_1$C = {
35219
35236
  id: "lupa-search-results-page-size",
35220
35237
  "data-cy": "lupa-search-results-page-size"
35221
35238
  };
35222
- const _hoisted_2$s = { id: "lupa-select" };
35223
- const _hoisted_3$l = { class: "lupa-select-label" };
35239
+ const _hoisted_2$t = { id: "lupa-select" };
35240
+ const _hoisted_3$l = {
35241
+ class: "lupa-select-label",
35242
+ for: "lupa-page-size-select-dropdown"
35243
+ };
35224
35244
  const _hoisted_4$d = ["aria-label"];
35225
35245
  const _hoisted_5$a = ["value"];
35226
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
35246
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35227
35247
  __name: "SearchResultsPageSize",
35228
35248
  props: {
35229
35249
  labels: {},
@@ -35233,6 +35253,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35233
35253
  const props = __props;
35234
35254
  const paramsStore = useParamsStore();
35235
35255
  const optionsStore = useOptionsStore();
35256
+ const { ariaLabels } = storeToRefs(optionsStore);
35236
35257
  const select = ref(null);
35237
35258
  const prefixLabel = computed(() => {
35238
35259
  var _a25, _b25;
@@ -35251,12 +35272,14 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35251
35272
  });
35252
35273
  };
35253
35274
  return (_ctx, _cache) => {
35254
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
35255
- createBaseVNode("div", _hoisted_2$s, [
35275
+ var _a25, _b25, _c;
35276
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
35277
+ createBaseVNode("div", _hoisted_2$t, [
35256
35278
  createBaseVNode("label", _hoisted_3$l, toDisplayString(label.value), 1),
35257
35279
  createBaseVNode("select", {
35280
+ id: "lupa-page-size-select-dropdown",
35258
35281
  class: "lupa-select-dropdown",
35259
- "aria-label": label.value,
35282
+ "aria-label": (_c = (_b25 = (_a25 = unref(ariaLabels)) == null ? void 0 : _a25.pageSizeSelect) != null ? _b25 : label.value) != null ? _c : "Select page size",
35260
35283
  "data-cy": "lupa-page-size-select-dropdown",
35261
35284
  onChange: handleSelect,
35262
35285
  ref_key: "select",
@@ -35274,15 +35297,18 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35274
35297
  };
35275
35298
  }
35276
35299
  });
35277
- const _hoisted_1$A = {
35300
+ const _hoisted_1$B = {
35278
35301
  id: "lupa-search-results-sort",
35279
35302
  class: "lupa-search-results-sort"
35280
35303
  };
35281
- const _hoisted_2$r = { id: "lupa-select" };
35282
- const _hoisted_3$k = { class: "lupa-select-label" };
35304
+ const _hoisted_2$s = { id: "lupa-select" };
35305
+ const _hoisted_3$k = {
35306
+ class: "lupa-select-label",
35307
+ for: "lupa-sort-select-dropdown"
35308
+ };
35283
35309
  const _hoisted_4$c = ["aria-label"];
35284
35310
  const _hoisted_5$9 = ["value"];
35285
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
35311
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35286
35312
  __name: "SearchResultsSort",
35287
35313
  props: {
35288
35314
  options: {},
@@ -35293,6 +35319,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35293
35319
  const paramStore = useParamsStore();
35294
35320
  const optionStore = useOptionsStore();
35295
35321
  const { sort } = storeToRefs(paramStore);
35322
+ const { ariaLabels } = storeToRefs(optionStore);
35296
35323
  const selectedKey = ref("");
35297
35324
  const previousKey = ref("");
35298
35325
  const sortItems = computed(() => {
@@ -35331,12 +35358,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35331
35358
  previousKey.value = selectedKey.value;
35332
35359
  };
35333
35360
  return (_ctx, _cache) => {
35334
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
35335
- createBaseVNode("div", _hoisted_2$r, [
35361
+ var _a25, _b25;
35362
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
35363
+ createBaseVNode("div", _hoisted_2$s, [
35336
35364
  createBaseVNode("label", _hoisted_3$k, toDisplayString(_ctx.options.label), 1),
35337
35365
  withDirectives(createBaseVNode("select", {
35366
+ id: "lupa-sort-select-dropdown",
35338
35367
  class: "lupa-select-dropdown",
35339
- "aria-label": _ctx.options.label,
35368
+ "aria-label": (_b25 = (_a25 = unref(ariaLabels)) == null ? void 0 : _a25.sortBySelect) != null ? _b25 : _ctx.options.label,
35340
35369
  "data-cy": "lupa-sort-select-dropdown",
35341
35370
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedKey.value = $event),
35342
35371
  onChange: handleSelect,
@@ -35356,8 +35385,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35356
35385
  };
35357
35386
  }
35358
35387
  });
35359
- const _hoisted_1$z = { class: "lupa-toolbar-left" };
35360
- const _hoisted_2$q = {
35388
+ const _hoisted_1$A = { class: "lupa-toolbar-left" };
35389
+ const _hoisted_2$r = {
35361
35390
  key: 0,
35362
35391
  class: "lupa-toolbar-right-title"
35363
35392
  };
@@ -35371,7 +35400,7 @@ const _hoisted_7$2 = {
35371
35400
  };
35372
35401
  const _hoisted_8 = { key: 2 };
35373
35402
  const _hoisted_9 = { key: 4 };
35374
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
35403
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35375
35404
  __name: "SearchResultsToolbar",
35376
35405
  props: {
35377
35406
  options: {},
@@ -35482,16 +35511,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35482
35511
  id: "lupa-search-results-toolbar",
35483
35512
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
35484
35513
  }, [
35485
- createBaseVNode("div", _hoisted_1$z, [
35486
- toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$q, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
35487
- showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$K, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
35488
- showItemSummary.value ? (openBlock(), createBlock(_sfc_main$10, {
35514
+ createBaseVNode("div", _hoisted_1$A, [
35515
+ toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
35516
+ showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$L, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
35517
+ showItemSummary.value ? (openBlock(), createBlock(_sfc_main$11, {
35489
35518
  key: 3,
35490
35519
  label: searchSummaryLabel.value,
35491
35520
  clearable: unref(hasAnyFilter) && showFilterClear.value,
35492
35521
  onClear: handleClearAll
35493
35522
  }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
35494
- displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$H, {
35523
+ displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$I, {
35495
35524
  key: 5,
35496
35525
  options: paginationOptions.value.pageSelect,
35497
35526
  "last-page-label": paginationOptions.value.labels.showMore,
@@ -35500,21 +35529,21 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35500
35529
  ]),
35501
35530
  createBaseVNode("div", _hoisted_6$4, [
35502
35531
  toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
35503
- createVNode(_sfc_main$J, {
35532
+ createVNode(_sfc_main$K, {
35504
35533
  labels: optionsValue.value.labels,
35505
35534
  "show-filter-count": showMobileFilterCount.value
35506
35535
  }, null, 8, ["labels", "show-filter-count"]),
35507
- paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$G, {
35536
+ paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$H, {
35508
35537
  key: 1,
35509
35538
  options: paginationOptions.value.pageSize,
35510
35539
  labels: paginationOptions.value.labels
35511
35540
  }, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
35512
- sortOptions.value ? (openBlock(), createBlock(_sfc_main$F, {
35541
+ sortOptions.value ? (openBlock(), createBlock(_sfc_main$G, {
35513
35542
  key: 3,
35514
35543
  options: sortOptions.value,
35515
35544
  callbacks: callbacks.value
35516
35545
  }, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
35517
- showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$I, {
35546
+ showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$J, {
35518
35547
  key: 5,
35519
35548
  label: optionsValue.value.labels.mobileFilterCloseButton
35520
35549
  }, null, 8, ["label"])) : createCommentVNode("", true)
@@ -35523,7 +35552,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35523
35552
  };
35524
35553
  }
35525
35554
  });
35526
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
35555
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35527
35556
  __name: "SearchResultsProductImage",
35528
35557
  props: {
35529
35558
  item: {},
@@ -35531,7 +35560,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35531
35560
  },
35532
35561
  setup(__props) {
35533
35562
  return (_ctx, _cache) => {
35534
- return openBlock(), createBlock(_sfc_main$1p, {
35563
+ return openBlock(), createBlock(_sfc_main$1q, {
35535
35564
  item: _ctx.item,
35536
35565
  options: _ctx.options,
35537
35566
  "wrapper-class": "lupa-search-results-image-wrapper",
@@ -35540,8 +35569,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35540
35569
  };
35541
35570
  }
35542
35571
  });
35543
- const _hoisted_1$y = ["title", "innerHTML"];
35544
- const _hoisted_2$p = ["title"];
35572
+ const _hoisted_1$z = ["title", "innerHTML"];
35573
+ const _hoisted_2$q = ["title"];
35545
35574
  const _hoisted_3$i = ["href", "innerHTML"];
35546
35575
  const _hoisted_4$a = ["title"];
35547
35576
  const _hoisted_5$7 = {
@@ -35549,7 +35578,7 @@ const _hoisted_5$7 = {
35549
35578
  class: "lupa-search-results-product-title-text"
35550
35579
  };
35551
35580
  const _hoisted_6$3 = ["href"];
35552
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
35581
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35553
35582
  __name: "SearchResultsProductTitle",
35554
35583
  props: {
35555
35584
  item: {},
@@ -35586,7 +35615,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35586
35615
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
35587
35616
  title: sanitizedTitle.value,
35588
35617
  innerHTML: sanitizedTitle.value
35589
- }, null, 12, _hoisted_1$y)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
35618
+ }, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
35590
35619
  key: 1,
35591
35620
  class: "lupa-search-results-product-title",
35592
35621
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -35598,7 +35627,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35598
35627
  innerHTML: sanitizedTitle.value,
35599
35628
  onClick: handleNavigation
35600
35629
  }, null, 8, _hoisted_3$i)
35601
- ], 12, _hoisted_2$p)) : (openBlock(), createElementBlock("div", {
35630
+ ], 12, _hoisted_2$q)) : (openBlock(), createElementBlock("div", {
35602
35631
  key: 2,
35603
35632
  class: "lupa-search-results-product-title",
35604
35633
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -35615,8 +35644,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35615
35644
  };
35616
35645
  }
35617
35646
  });
35618
- const _hoisted_1$x = ["innerHTML"];
35619
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
35647
+ const _hoisted_1$y = ["innerHTML"];
35648
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35620
35649
  __name: "SearchResultsProductDescription",
35621
35650
  props: {
35622
35651
  item: {},
@@ -35643,7 +35672,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35643
35672
  class: "lupa-search-results-product-description",
35644
35673
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
35645
35674
  innerHTML: sanitizedDescription.value
35646
- }, null, 12, _hoisted_1$x)) : (openBlock(), createElementBlock("div", {
35675
+ }, null, 12, _hoisted_1$y)) : (openBlock(), createElementBlock("div", {
35647
35676
  key: 1,
35648
35677
  class: "lupa-search-results-product-description",
35649
35678
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -35651,15 +35680,15 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35651
35680
  };
35652
35681
  }
35653
35682
  });
35654
- const _hoisted_1$w = { id: "lupa-search-results-rating" };
35655
- const _hoisted_2$o = { class: "lupa-ratings" };
35683
+ const _hoisted_1$x = { id: "lupa-search-results-rating" };
35684
+ const _hoisted_2$p = { class: "lupa-ratings" };
35656
35685
  const _hoisted_3$h = { class: "lupa-ratings-base" };
35657
35686
  const _hoisted_4$9 = ["innerHTML"];
35658
35687
  const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
35659
35688
  const _hoisted_6$2 = ["innerHTML"];
35660
35689
  const _hoisted_7$1 = ["href"];
35661
35690
  const STAR_COUNT = 5;
35662
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
35691
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35663
35692
  __name: "SearchResultsProductRating",
35664
35693
  props: {
35665
35694
  item: {},
@@ -35696,8 +35725,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35696
35725
  return generateLink(props.options.links.ratingDetails, props.item);
35697
35726
  });
35698
35727
  return (_ctx, _cache) => {
35699
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
35700
- createBaseVNode("div", _hoisted_2$o, [
35728
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
35729
+ createBaseVNode("div", _hoisted_2$p, [
35701
35730
  createBaseVNode("div", _hoisted_3$h, [
35702
35731
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
35703
35732
  return openBlock(), createElementBlock("div", {
@@ -35730,11 +35759,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35730
35759
  };
35731
35760
  }
35732
35761
  });
35733
- const _hoisted_1$v = {
35762
+ const _hoisted_1$w = {
35734
35763
  class: "lupa-search-results-product-regular-price",
35735
35764
  "data-cy": "lupa-search-results-product-regular-price"
35736
35765
  };
35737
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
35766
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35738
35767
  __name: "SearchResultsProductRegularPrice",
35739
35768
  props: {
35740
35769
  item: {},
@@ -35756,11 +35785,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
35756
35785
  );
35757
35786
  });
35758
35787
  return (_ctx, _cache) => {
35759
- return openBlock(), createElementBlock("div", _hoisted_1$v, toDisplayString(price.value), 1);
35788
+ return openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString(price.value), 1);
35760
35789
  };
35761
35790
  }
35762
35791
  });
35763
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
35792
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
35764
35793
  __name: "SearchResultsProductPrice",
35765
35794
  props: {
35766
35795
  item: {},
@@ -35794,12 +35823,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35794
35823
  };
35795
35824
  }
35796
35825
  });
35797
- const _hoisted_1$u = { class: "lupa-search-results-add-to-cart-wrapper" };
35798
- const _hoisted_2$n = { class: "lupa-search-results-product-addtocart" };
35826
+ const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
35827
+ const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
35799
35828
  const _hoisted_3$g = ["disabled"];
35800
35829
  const _hoisted_4$8 = ["href"];
35801
35830
  const _hoisted_5$5 = ["id", "disabled"];
35802
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
35831
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35803
35832
  __name: "SearchResultsProductAddToCart",
35804
35833
  props: {
35805
35834
  item: {},
@@ -35851,8 +35880,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35851
35880
  loading.value = false;
35852
35881
  });
35853
35882
  return (_ctx, _cache) => {
35854
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
35855
- createBaseVNode("div", _hoisted_2$n, [
35883
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
35884
+ createBaseVNode("div", _hoisted_2$o, [
35856
35885
  hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
35857
35886
  key: 0,
35858
35887
  class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
@@ -35874,12 +35903,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35874
35903
  };
35875
35904
  }
35876
35905
  });
35877
- const _hoisted_1$t = ["innerHTML"];
35878
- const _hoisted_2$m = { key: 0 };
35906
+ const _hoisted_1$u = ["innerHTML"];
35907
+ const _hoisted_2$n = { key: 0 };
35879
35908
  const _hoisted_3$f = { key: 1 };
35880
35909
  const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
35881
35910
  const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
35882
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
35911
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35883
35912
  __name: "SearchResultsProductCustom",
35884
35913
  props: {
35885
35914
  item: {},
@@ -35917,11 +35946,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35917
35946
  key: 0,
35918
35947
  class: className.value,
35919
35948
  innerHTML: text.value
35920
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t)) : (openBlock(), createElementBlock("div", mergeProps({
35949
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$u)) : (openBlock(), createElementBlock("div", mergeProps({
35921
35950
  key: 1,
35922
35951
  class: className.value
35923
35952
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
35924
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
35953
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
35925
35954
  createBaseVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
35926
35955
  createBaseVNode("div", _hoisted_5$4, toDisplayString(text.value), 1)
35927
35956
  ]))
@@ -35929,8 +35958,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35929
35958
  };
35930
35959
  }
35931
35960
  });
35932
- const _hoisted_1$s = ["innerHTML"];
35933
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
35961
+ const _hoisted_1$t = ["innerHTML"];
35962
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35934
35963
  __name: "SearchResultsProductCustomHtmlElement",
35935
35964
  props: {
35936
35965
  item: {},
@@ -35962,15 +35991,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35962
35991
  return openBlock(), createElementBlock("div", mergeProps({
35963
35992
  class: className.value,
35964
35993
  innerHTML: text.value
35965
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$s);
35994
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t);
35966
35995
  };
35967
35996
  }
35968
35997
  });
35969
- const _hoisted_1$r = { id: "lupa-search-results-rating" };
35970
- const _hoisted_2$l = ["innerHTML"];
35998
+ const _hoisted_1$s = { id: "lupa-search-results-rating" };
35999
+ const _hoisted_2$m = ["innerHTML"];
35971
36000
  const _hoisted_3$e = { class: "lupa-ratings" };
35972
36001
  const _hoisted_4$6 = ["href"];
35973
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
36002
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35974
36003
  __name: "SearchResultsProductSingleStarRating",
35975
36004
  props: {
35976
36005
  item: {},
@@ -35998,11 +36027,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
35998
36027
  return RATING_STAR_HTML;
35999
36028
  });
36000
36029
  return (_ctx, _cache) => {
36001
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
36030
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
36002
36031
  createBaseVNode("div", {
36003
36032
  innerHTML: star.value,
36004
36033
  class: "lupa-rating lupa-rating-highlighted"
36005
- }, null, 8, _hoisted_2$l),
36034
+ }, null, 8, _hoisted_2$m),
36006
36035
  createBaseVNode("div", _hoisted_3$e, toDisplayString(rating.value), 1),
36007
36036
  createBaseVNode("a", {
36008
36037
  href: ratingLink.value,
@@ -36014,19 +36043,19 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
36014
36043
  });
36015
36044
  const __default__ = {
36016
36045
  components: {
36017
- SearchResultsProductImage: _sfc_main$D,
36018
- SearchResultsProductTitle: _sfc_main$C,
36019
- SearchResultsProductDescription: _sfc_main$B,
36020
- SearchResultsProductRating: _sfc_main$A,
36021
- SearchResultsProductRegularPrice: _sfc_main$z,
36022
- SearchResultsProductPrice: _sfc_main$y,
36023
- SearchResultsProductAddToCart: _sfc_main$x,
36024
- SearchResultsProductCustom: _sfc_main$w,
36025
- SearchResultsProductCustomHtmlElement: _sfc_main$v,
36026
- SearchResultsProductSingleStarRating: _sfc_main$u
36027
- }
36028
- };
36029
- const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
36046
+ SearchResultsProductImage: _sfc_main$E,
36047
+ SearchResultsProductTitle: _sfc_main$D,
36048
+ SearchResultsProductDescription: _sfc_main$C,
36049
+ SearchResultsProductRating: _sfc_main$B,
36050
+ SearchResultsProductRegularPrice: _sfc_main$A,
36051
+ SearchResultsProductPrice: _sfc_main$z,
36052
+ SearchResultsProductAddToCart: _sfc_main$y,
36053
+ SearchResultsProductCustom: _sfc_main$x,
36054
+ SearchResultsProductCustomHtmlElement: _sfc_main$w,
36055
+ SearchResultsProductSingleStarRating: _sfc_main$v
36056
+ }
36057
+ };
36058
+ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
36030
36059
  __name: "SearchResultsProductCardElement",
36031
36060
  props: {
36032
36061
  item: {},
@@ -36104,13 +36133,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
36104
36133
  };
36105
36134
  }
36106
36135
  }));
36107
- const _hoisted_1$q = ["href"];
36108
- const _hoisted_2$k = {
36136
+ const _hoisted_1$r = ["href"];
36137
+ const _hoisted_2$l = {
36109
36138
  key: 0,
36110
36139
  class: "lupa-out-of-stock"
36111
36140
  };
36112
36141
  const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
36113
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
36142
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
36114
36143
  __name: "SearchResultsProductCard",
36115
36144
  props: {
36116
36145
  product: {},
@@ -36286,7 +36315,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36286
36315
  default: withCtx(() => {
36287
36316
  var _a25;
36288
36317
  return [
36289
- createVNode(_sfc_main$19, { options: badgesOptions.value }, null, 8, ["options"]),
36318
+ createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
36290
36319
  createBaseVNode("div", {
36291
36320
  class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
36292
36321
  }, [
@@ -36296,7 +36325,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36296
36325
  onClick: handleNavigation
36297
36326
  }, [
36298
36327
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
36299
- return openBlock(), createBlock(_sfc_main$t, {
36328
+ return openBlock(), createBlock(_sfc_main$u, {
36300
36329
  class: "lupa-search-results-product-element",
36301
36330
  item: _ctx.product,
36302
36331
  element,
@@ -36307,16 +36336,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36307
36336
  onProductEvent: handleProductEvent
36308
36337
  }, null, 8, ["item", "element", "labels", "inStock", "link"]);
36309
36338
  }), 128)),
36310
- createVNode(_sfc_main$19, {
36339
+ createVNode(_sfc_main$1a, {
36311
36340
  options: badgesOptions.value,
36312
36341
  position: "image",
36313
36342
  class: "lupa-image-badges"
36314
36343
  }, null, 8, ["options"]),
36315
- ((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$k, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
36316
- ], 8, _hoisted_1$q),
36344
+ ((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$l, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
36345
+ ], 8, _hoisted_1$r),
36317
36346
  createBaseVNode("div", _hoisted_3$d, [
36318
36347
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
36319
- return openBlock(), createBlock(_sfc_main$t, {
36348
+ return openBlock(), createBlock(_sfc_main$u, {
36320
36349
  class: "lupa-search-results-product-element",
36321
36350
  item: _ctx.product,
36322
36351
  element,
@@ -36334,7 +36363,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36334
36363
  class: normalizeClass("lupa-element-group-" + group)
36335
36364
  }, [
36336
36365
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
36337
- return openBlock(), createBlock(_sfc_main$t, {
36366
+ return openBlock(), createBlock(_sfc_main$u, {
36338
36367
  class: "lupa-search-results-product-element",
36339
36368
  item: _ctx.product,
36340
36369
  element,
@@ -36355,11 +36384,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36355
36384
  };
36356
36385
  }
36357
36386
  });
36358
- const _hoisted_1$p = {
36387
+ const _hoisted_1$q = {
36359
36388
  id: "lupa-search-results-similar-queries",
36360
36389
  "data-cy": "lupa-search-results-similar-queries"
36361
36390
  };
36362
- const _hoisted_2$j = { class: "lupa-similar-queries-label" };
36391
+ const _hoisted_2$k = { class: "lupa-similar-queries-label" };
36363
36392
  const _hoisted_3$c = {
36364
36393
  class: "lupa-similar-query-label",
36365
36394
  "data-cy": "lupa-similar-query-label"
@@ -36371,7 +36400,7 @@ const _hoisted_7 = {
36371
36400
  class: "lupa-products",
36372
36401
  "data-cy": "lupa-products"
36373
36402
  };
36374
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
36403
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36375
36404
  __name: "SearchResultsSimilarQueries",
36376
36405
  props: {
36377
36406
  labels: {},
@@ -36409,8 +36438,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36409
36438
  };
36410
36439
  };
36411
36440
  return (_ctx, _cache) => {
36412
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
36413
- createBaseVNode("div", _hoisted_2$j, toDisplayString(_ctx.labels.similarQueries), 1),
36441
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
36442
+ createBaseVNode("div", _hoisted_2$k, toDisplayString(_ctx.labels.similarQueries), 1),
36414
36443
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
36415
36444
  return openBlock(), createElementBlock("div", { key: index }, [
36416
36445
  createBaseVNode("div", _hoisted_3$c, [
@@ -36429,7 +36458,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36429
36458
  ]),
36430
36459
  createBaseVNode("div", _hoisted_7, [
36431
36460
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
36432
- return openBlock(), createBlock(_sfc_main$s, {
36461
+ return openBlock(), createBlock(_sfc_main$t, {
36433
36462
  style: normalizeStyle(_ctx.columnSize),
36434
36463
  key: getDocumentKey(index2, product),
36435
36464
  product,
@@ -36444,15 +36473,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36444
36473
  };
36445
36474
  }
36446
36475
  });
36447
- const _hoisted_1$o = {
36476
+ const _hoisted_1$p = {
36448
36477
  key: 0,
36449
36478
  class: "lupa-results-additional-panel"
36450
36479
  };
36451
- const _hoisted_2$i = {
36480
+ const _hoisted_2$j = {
36452
36481
  class: "lupa-results-additional-panel-items",
36453
36482
  "data-cy": "lupa-results-additional-panel-items"
36454
36483
  };
36455
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
36484
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36456
36485
  __name: "AdditionalPanel",
36457
36486
  props: {
36458
36487
  panel: {},
@@ -36525,10 +36554,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36525
36554
  handleQueryChange();
36526
36555
  });
36527
36556
  return (_ctx, _cache) => {
36528
- return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
36529
- createBaseVNode("div", _hoisted_2$i, [
36557
+ return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
36558
+ createBaseVNode("div", _hoisted_2$j, [
36530
36559
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
36531
- return openBlock(), createBlock(_sfc_main$s, {
36560
+ return openBlock(), createBlock(_sfc_main$t, {
36532
36561
  key: index,
36533
36562
  product: item,
36534
36563
  options: _ctx.panel,
@@ -36546,11 +36575,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36546
36575
  };
36547
36576
  }
36548
36577
  });
36549
- const _hoisted_1$n = {
36578
+ const _hoisted_1$o = {
36550
36579
  key: 0,
36551
36580
  class: "lupa-results-additional-panels"
36552
36581
  };
36553
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
36582
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36554
36583
  __name: "AdditionalPanels",
36555
36584
  props: {
36556
36585
  options: {},
@@ -36567,9 +36596,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
36567
36596
  return locationPanels.value.length > 0;
36568
36597
  });
36569
36598
  return (_ctx, _cache) => {
36570
- return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
36599
+ return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
36571
36600
  (openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
36572
- return openBlock(), createBlock(_sfc_main$q, {
36601
+ return openBlock(), createBlock(_sfc_main$r, {
36573
36602
  key: panel.queryKey,
36574
36603
  panel,
36575
36604
  options: _ctx.sdkOptions
@@ -36586,29 +36615,29 @@ const _export_sfc = (sfc, props) => {
36586
36615
  }
36587
36616
  return target2;
36588
36617
  };
36589
- const _sfc_main$o = {};
36590
- const _hoisted_1$m = { class: "lupa-spinner-wrapper" };
36591
- const _hoisted_2$h = { class: "lupa-spinner" };
36618
+ const _sfc_main$p = {};
36619
+ const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
36620
+ const _hoisted_2$i = { class: "lupa-spinner" };
36592
36621
  function _sfc_render(_ctx, _cache) {
36593
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
36594
- createBaseVNode("div", _hoisted_2$h, [
36622
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
36623
+ createBaseVNode("div", _hoisted_2$i, [
36595
36624
  (openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
36596
36625
  return createBaseVNode("div", { key: x });
36597
36626
  }), 64))
36598
36627
  ])
36599
36628
  ]);
36600
36629
  }
36601
- const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
36602
- const _hoisted_1$l = {
36630
+ const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
36631
+ const _hoisted_1$m = {
36603
36632
  id: "lupa-search-results-similar-results",
36604
36633
  "data-cy": "lupa-search-results-similar-results"
36605
36634
  };
36606
- const _hoisted_2$g = { class: "lupa-similar-results-label" };
36635
+ const _hoisted_2$h = { class: "lupa-similar-results-label" };
36607
36636
  const _hoisted_3$b = {
36608
36637
  class: "lupa-products",
36609
36638
  "data-cy": "lupa-products"
36610
36639
  };
36611
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
36640
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
36612
36641
  __name: "SearchResultsSimilarResults",
36613
36642
  props: {
36614
36643
  columnSize: {},
@@ -36629,11 +36658,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
36629
36658
  };
36630
36659
  });
36631
36660
  return (_ctx, _cache) => {
36632
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
36633
- createBaseVNode("div", _hoisted_2$g, toDisplayString(_ctx.labels.similarResultsLabel), 1),
36661
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
36662
+ createBaseVNode("div", _hoisted_2$h, toDisplayString(_ctx.labels.similarResultsLabel), 1),
36634
36663
  createBaseVNode("div", _hoisted_3$b, [
36635
36664
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
36636
- return openBlock(), createBlock(_sfc_main$s, {
36665
+ return openBlock(), createBlock(_sfc_main$t, {
36637
36666
  style: normalizeStyle(_ctx.columnSize),
36638
36667
  key: getDocumentKey(index, product),
36639
36668
  product,
@@ -36754,15 +36783,15 @@ const extractRelatedSource = (source, searchResults2, options, activeFilters) =>
36754
36783
  return extractFacetsRelatedSource(source, searchResults2, options, activeFilters);
36755
36784
  }
36756
36785
  });
36757
- const _hoisted_1$k = { class: "lupa-related-query-item" };
36758
- const _hoisted_2$f = { class: "lupa-related-query-image" };
36786
+ const _hoisted_1$l = { class: "lupa-related-query-item" };
36787
+ const _hoisted_2$g = { class: "lupa-related-query-image" };
36759
36788
  const _hoisted_3$a = { class: "lupa-related-query-label" };
36760
36789
  const _hoisted_4$4 = { class: "lupa-related-query-title" };
36761
36790
  const _hoisted_5$2 = {
36762
36791
  key: 0,
36763
36792
  class: "lupa-related-query-count"
36764
36793
  };
36765
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
36794
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
36766
36795
  __name: "RelatedQueryPanel",
36767
36796
  props: {
36768
36797
  query: {},
@@ -36858,9 +36887,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36858
36887
  });
36859
36888
  return (_ctx, _cache) => {
36860
36889
  var _a25;
36861
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
36862
- createBaseVNode("div", _hoisted_2$f, [
36863
- itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1p, {
36890
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
36891
+ createBaseVNode("div", _hoisted_2$g, [
36892
+ itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
36864
36893
  key: 0,
36865
36894
  "wrapper-class": "lupa-related-query-image-wrapper",
36866
36895
  "image-class": "lupa-related-query-image",
@@ -36876,16 +36905,16 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36876
36905
  };
36877
36906
  }
36878
36907
  });
36879
- const _hoisted_1$j = {
36908
+ const _hoisted_1$k = {
36880
36909
  key: 0,
36881
36910
  class: "lupa-related-queries"
36882
36911
  };
36883
- const _hoisted_2$e = {
36912
+ const _hoisted_2$f = {
36884
36913
  key: 0,
36885
36914
  class: "lupa-related-queries-title"
36886
36915
  };
36887
36916
  const _hoisted_3$9 = ["onClick"];
36888
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
36917
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36889
36918
  __name: "RelatedQueries",
36890
36919
  props: {
36891
36920
  options: {}
@@ -36979,8 +37008,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
36979
37008
  };
36980
37009
  return (_ctx, _cache) => {
36981
37010
  var _a25, _b25, _c, _d;
36982
- return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
36983
- ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$e, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
37011
+ return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
37012
+ ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$f, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
36984
37013
  createBaseVNode("ul", null, [
36985
37014
  (openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
36986
37015
  return withDirectives((openBlock(), createElementBlock("li", {
@@ -36990,7 +37019,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
36990
37019
  createBaseVNode("a", {
36991
37020
  onClick: ($event) => handleRelatedQueryClick(query)
36992
37021
  }, [
36993
- createVNode(_sfc_main$m, {
37022
+ createVNode(_sfc_main$n, {
36994
37023
  "source-key": query.key,
36995
37024
  options: _ctx.options,
36996
37025
  query: query.value,
@@ -37034,13 +37063,13 @@ const extractRedirectionSuggestion = (searchText = "", options) => {
37034
37063
  }
37035
37064
  return null;
37036
37065
  };
37037
- const _hoisted_1$i = {
37066
+ const _hoisted_1$j = {
37038
37067
  key: 0,
37039
37068
  class: "lupa-redirection-suggestion"
37040
37069
  };
37041
- const _hoisted_2$d = { class: "lupa-redirections-suggestion-label" };
37070
+ const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
37042
37071
  const _hoisted_3$8 = ["href"];
37043
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
37072
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
37044
37073
  __name: "RedirectionSuggestions",
37045
37074
  props: {
37046
37075
  options: {}
@@ -37063,19 +37092,19 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37063
37092
  )
37064
37093
  );
37065
37094
  return (_ctx, _cache) => {
37066
- return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
37067
- createBaseVNode("h4", _hoisted_2$d, [
37095
+ return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
37096
+ createBaseVNode("h4", _hoisted_2$e, [
37068
37097
  createBaseVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$8)
37069
37098
  ])
37070
37099
  ])) : createCommentVNode("", true);
37071
37100
  };
37072
37101
  }
37073
37102
  });
37074
- const _hoisted_1$h = {
37103
+ const _hoisted_1$i = {
37075
37104
  key: 0,
37076
37105
  class: "lupa-refiners-loading-notice"
37077
37106
  };
37078
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
37107
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37079
37108
  __name: "RefinersLoadingNotice",
37080
37109
  props: {
37081
37110
  labels: {}
@@ -37086,22 +37115,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37086
37115
  const props = __props;
37087
37116
  const label = computed(() => props.labels.refinersLoadingNotice);
37088
37117
  return (_ctx, _cache) => {
37089
- return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
37118
+ return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
37090
37119
  createBaseVNode("p", null, toDisplayString(label.value), 1),
37091
37120
  createVNode(Spinner)
37092
37121
  ])) : createCommentVNode("", true);
37093
37122
  };
37094
37123
  }
37095
37124
  });
37096
- const _hoisted_1$g = { class: "lupa-related-query-item" };
37097
- const _hoisted_2$c = { class: "lupa-related-query-image" };
37125
+ const _hoisted_1$h = { class: "lupa-related-query-item" };
37126
+ const _hoisted_2$d = { class: "lupa-related-query-image" };
37098
37127
  const _hoisted_3$7 = { class: "lupa-related-query-label" };
37099
37128
  const _hoisted_4$3 = { class: "lupa-related-query-title" };
37100
37129
  const _hoisted_5$1 = {
37101
37130
  key: 0,
37102
37131
  class: "lupa-related-query-count"
37103
37132
  };
37104
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
37133
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37105
37134
  __name: "RelatedQueryPanelApi",
37106
37135
  props: {
37107
37136
  relatedQuery: {},
@@ -37133,9 +37162,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37133
37162
  });
37134
37163
  return (_ctx, _cache) => {
37135
37164
  var _a25;
37136
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
37137
- createBaseVNode("div", _hoisted_2$c, [
37138
- itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1p, {
37165
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
37166
+ createBaseVNode("div", _hoisted_2$d, [
37167
+ itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
37139
37168
  key: 0,
37140
37169
  "wrapper-class": "lupa-related-query-image-wrapper",
37141
37170
  "image-class": "lupa-related-query-image",
@@ -37151,16 +37180,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37151
37180
  };
37152
37181
  }
37153
37182
  });
37154
- const _hoisted_1$f = {
37183
+ const _hoisted_1$g = {
37155
37184
  key: 0,
37156
37185
  class: "lupa-related-queries"
37157
37186
  };
37158
- const _hoisted_2$b = {
37187
+ const _hoisted_2$c = {
37159
37188
  key: 0,
37160
37189
  class: "lupa-related-queries-title"
37161
37190
  };
37162
37191
  const _hoisted_3$6 = ["onClick"];
37163
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
37192
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37164
37193
  __name: "RelatedQueriesApi",
37165
37194
  props: {
37166
37195
  options: {}
@@ -37212,8 +37241,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37212
37241
  };
37213
37242
  return (_ctx, _cache) => {
37214
37243
  var _a25, _b25, _c, _d;
37215
- return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
37216
- ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$b, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
37244
+ return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
37245
+ ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$c, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
37217
37246
  createBaseVNode("ul", null, [
37218
37247
  (openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
37219
37248
  return openBlock(), createElementBlock("li", {
@@ -37223,7 +37252,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37223
37252
  createBaseVNode("a", {
37224
37253
  onClick: ($event) => handleRelatedQueryClick(query)
37225
37254
  }, [
37226
- createVNode(_sfc_main$i, {
37255
+ createVNode(_sfc_main$j, {
37227
37256
  relatedQuery: query,
37228
37257
  options: _ctx.options
37229
37258
  }, null, 8, ["relatedQuery", "options"])
@@ -37235,6 +37264,49 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37235
37264
  };
37236
37265
  }
37237
37266
  });
37267
+ const _hoisted_1$f = { key: 0 };
37268
+ const _hoisted_2$b = ["innerHTML"];
37269
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37270
+ __name: "ZeroResults",
37271
+ props: {
37272
+ emptyResultsLabel: {},
37273
+ currentQueryText: {},
37274
+ hasSimilarQueries: { type: Boolean },
37275
+ zeroResults: {}
37276
+ },
37277
+ setup(__props) {
37278
+ const props = __props;
37279
+ const searchResultStore = useSearchResultStore();
37280
+ const { searchResult } = storeToRefs(searchResultStore);
37281
+ const showDefaultZeroResultsTemplate = computed(() => {
37282
+ var _a25, _b25;
37283
+ return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
37284
+ });
37285
+ const showCustomZeroResultsTemplate = computed(() => {
37286
+ var _a25, _b25;
37287
+ return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
37288
+ });
37289
+ const htmlTemplate = computed(() => {
37290
+ var _a25;
37291
+ if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
37292
+ return props.zeroResults.customHtml(searchResult.value);
37293
+ }
37294
+ return "";
37295
+ });
37296
+ return (_ctx, _cache) => {
37297
+ return openBlock(), createElementBlock(Fragment, null, [
37298
+ showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
37299
+ createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
37300
+ createBaseVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
37301
+ ])) : createCommentVNode("", true),
37302
+ showCustomZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", {
37303
+ key: 1,
37304
+ innerHTML: htmlTemplate.value
37305
+ }, null, 8, _hoisted_2$b)) : createCommentVNode("", true)
37306
+ ], 64);
37307
+ };
37308
+ }
37309
+ });
37238
37310
  const _hoisted_1$e = { id: "lupa-search-results-products" };
37239
37311
  const _hoisted_2$a = {
37240
37312
  class: "lupa-products",
@@ -37375,41 +37447,41 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37375
37447
  emit2("filter");
37376
37448
  };
37377
37449
  return (_ctx, _cache) => {
37378
- var _a25;
37450
+ var _a25, _b25, _c;
37379
37451
  return openBlock(), createElementBlock("div", _hoisted_1$e, [
37380
37452
  unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
37381
37453
  key: 0,
37382
37454
  class: "lupa-loader"
37383
37455
  })) : createCommentVNode("", true),
37384
- createVNode(_sfc_main$k, {
37456
+ createVNode(_sfc_main$l, {
37385
37457
  options: _ctx.options.redirectionSuggestions
37386
37458
  }, null, 8, ["options"]),
37387
- createVNode(_sfc_main$p, {
37459
+ createVNode(_sfc_main$q, {
37388
37460
  options: _ctx.options,
37389
37461
  location: "top",
37390
37462
  sdkOptions: _ctx.options.options
37391
37463
  }, null, 8, ["options", "sdkOptions"]),
37392
- showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$l, {
37464
+ showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$m, {
37393
37465
  key: 1,
37394
37466
  options: _ctx.options.relatedQueries
37395
37467
  }, null, 8, ["options"])) : createCommentVNode("", true),
37396
- showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$h, {
37468
+ showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$i, {
37397
37469
  key: 2,
37398
37470
  options: _ctx.options.relatedQueries
37399
37471
  }, null, 8, ["options"])) : createCommentVNode("", true),
37400
37472
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
37401
- showTopFilters.value ? (openBlock(), createBlock(_sfc_main$L, {
37473
+ showTopFilters.value ? (openBlock(), createBlock(_sfc_main$M, {
37402
37474
  key: 0,
37403
37475
  options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
37404
37476
  }, null, 8, ["options"])) : createCommentVNode("", true),
37405
- showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$E, {
37477
+ showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$F, {
37406
37478
  key: 1,
37407
37479
  class: "lupa-toolbar-mobile",
37408
37480
  options: _ctx.options,
37409
37481
  "pagination-location": "top",
37410
37482
  onFilter: filter
37411
37483
  }, null, 8, ["options"])) : createCommentVNode("", true),
37412
- currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$Z, {
37484
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$_, {
37413
37485
  key: 2,
37414
37486
  class: normalizeClass(currentFiltersClass.value),
37415
37487
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -37418,12 +37490,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37418
37490
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
37419
37491
  ], 64)) : createCommentVNode("", true),
37420
37492
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
37421
- createVNode(_sfc_main$E, {
37493
+ createVNode(_sfc_main$F, {
37422
37494
  class: "lupa-toolbar-top",
37423
37495
  options: _ctx.options,
37424
37496
  "pagination-location": "top"
37425
37497
  }, null, 8, ["options"]),
37426
- currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$Z, {
37498
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$_, {
37427
37499
  key: 0,
37428
37500
  class: normalizeClass(currentFiltersClass.value),
37429
37501
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -37439,7 +37511,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37439
37511
  options: productCardOptions.value
37440
37512
  });
37441
37513
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
37442
- return openBlock(), createBlock(_sfc_main$s, {
37514
+ return openBlock(), createBlock(_sfc_main$t, {
37443
37515
  style: normalizeStyle(columnSize.value),
37444
37516
  key: getProductKeyAction(index, product),
37445
37517
  product,
@@ -37456,32 +37528,36 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37456
37528
  onClick: goToFirstPage
37457
37529
  }, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
37458
37530
  ])) : createCommentVNode("", true),
37459
- createVNode(_sfc_main$E, {
37531
+ createVNode(_sfc_main$F, {
37460
37532
  class: "lupa-toolbar-bottom",
37461
37533
  options: _ctx.options,
37462
37534
  "pagination-location": "bottom"
37463
37535
  }, null, 8, ["options"]),
37464
- createVNode(_sfc_main$p, {
37536
+ createVNode(_sfc_main$q, {
37465
37537
  options: _ctx.options,
37466
37538
  location: "bottom",
37467
37539
  sdkOptions: _ctx.options.options
37468
37540
  }, null, 8, ["options", "sdkOptions"])
37469
37541
  ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
37470
- createTextVNode(toDisplayString(_ctx.options.labels.emptyResults) + " ", 1),
37471
- createBaseVNode("span", null, toDisplayString(unref(currentQueryText)), 1)
37542
+ createVNode(_sfc_main$h, {
37543
+ emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
37544
+ currentQueryText: unref(currentQueryText),
37545
+ hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
37546
+ zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
37547
+ }, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
37472
37548
  ])) : createCommentVNode("", true),
37473
- createVNode(_sfc_main$j, {
37549
+ createVNode(_sfc_main$k, {
37474
37550
  labels: _ctx.options.labels
37475
37551
  }, null, 8, ["labels"]),
37476
37552
  hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
37477
- createVNode(_sfc_main$r, {
37553
+ createVNode(_sfc_main$s, {
37478
37554
  labels: similarQueriesLabels.value,
37479
37555
  columnSize: columnSize.value,
37480
37556
  productCardOptions: productCardOptions.value
37481
37557
  }, null, 8, ["labels", "columnSize", "productCardOptions"])
37482
37558
  ])) : createCommentVNode("", true),
37483
37559
  hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
37484
- createVNode(_sfc_main$n, {
37560
+ createVNode(_sfc_main$o, {
37485
37561
  labels: similarResultsLabels.value,
37486
37562
  columnSize: columnSize.value,
37487
37563
  productCardOptions: productCardOptions.value
@@ -37560,14 +37636,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
37560
37636
  ])) : createCommentVNode("", true),
37561
37637
  hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
37562
37638
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
37563
- return openBlock(), createBlock(_sfc_main$Y, {
37639
+ return openBlock(), createBlock(_sfc_main$Z, {
37564
37640
  key: getCategoryKey(child),
37565
37641
  item: child,
37566
37642
  options: categoryOptions.value
37567
37643
  }, null, 8, ["item", "options"]);
37568
37644
  }), 128))
37569
37645
  ])) : createCommentVNode("", true),
37570
- createVNode(_sfc_main$E, {
37646
+ createVNode(_sfc_main$F, {
37571
37647
  class: "lupa-toolbar-mobile",
37572
37648
  "pagination-location": "top",
37573
37649
  options: _ctx.options
@@ -37875,8 +37951,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37875
37951
  class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
37876
37952
  }, [
37877
37953
  _ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
37878
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37879
- createVNode(_sfc_main$$, {
37954
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37955
+ createVNode(_sfc_main$10, {
37880
37956
  "show-summary": true,
37881
37957
  options: _ctx.options,
37882
37958
  "is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
@@ -37886,12 +37962,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37886
37962
  key: 1,
37887
37963
  options: _ctx.options
37888
37964
  }, null, 8, ["options"])) : createCommentVNode("", true),
37889
- _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$N, {
37965
+ _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$O, {
37890
37966
  key: 2,
37891
37967
  options: _ctx.options.filters,
37892
37968
  onFilter: handleParamsChange
37893
37969
  }, null, 8, ["options"])) : createCommentVNode("", true),
37894
- unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$M, {
37970
+ unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$N, {
37895
37971
  key: 3,
37896
37972
  breadcrumbs: _ctx.options.breadcrumbs
37897
37973
  }, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
@@ -37900,7 +37976,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37900
37976
  id: "lupa-search-results",
37901
37977
  class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
37902
37978
  }, [
37903
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$O, {
37979
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
37904
37980
  key: 0,
37905
37981
  options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
37906
37982
  ref_key: "searchResultsFilters",
@@ -37908,8 +37984,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37908
37984
  onFilter: handleParamsChange
37909
37985
  }, null, 8, ["options"])) : createCommentVNode("", true),
37910
37986
  createBaseVNode("div", _hoisted_2$8, [
37911
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37912
- createVNode(_sfc_main$$, {
37987
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37988
+ createVNode(_sfc_main$10, {
37913
37989
  options: _ctx.options,
37914
37990
  "is-product-list": (_c = _ctx.isProductList) != null ? _c : false
37915
37991
  }, null, 8, ["options", "is-product-list"]),
@@ -37925,8 +38001,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37925
38001
  }, 8, ["options", "ssr"])
37926
38002
  ])
37927
38003
  ], 2)) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
37928
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37929
- createVNode(_sfc_main$$, {
38004
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
38005
+ createVNode(_sfc_main$10, {
37930
38006
  options: _ctx.options,
37931
38007
  "is-product-list": (_d = _ctx.isProductList) != null ? _d : false
37932
38008
  }, null, 8, ["options", "is-product-list"]),
@@ -37934,7 +38010,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37934
38010
  id: "lupa-search-results",
37935
38011
  class: normalizeClass(indicatorClasses.value)
37936
38012
  }, [
37937
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$O, {
38013
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
37938
38014
  key: 0,
37939
38015
  options: (_e = _ctx.options.filters) != null ? _e : {},
37940
38016
  ref_key: "searchResultsFilters",
@@ -38085,7 +38161,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
38085
38161
  onClick: withModifiers(innerClick, ["stop"])
38086
38162
  }, [
38087
38163
  createBaseVNode("div", _hoisted_1$a, [
38088
- createVNode(_sfc_main$12, {
38164
+ createVNode(_sfc_main$13, {
38089
38165
  options: fullSearchBoxOptions.value,
38090
38166
  "is-search-container": true,
38091
38167
  ref_key: "searchBox",
@@ -39609,6 +39685,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
39609
39685
  const itemId = computed(() => {
39610
39686
  return typeof props.options.itemId === "string" || typeof props.options.itemId === "number" || Array.isArray(props.options.itemId) ? props.options.itemId : extractValue(props.options.itemId);
39611
39687
  });
39688
+ const wrapAround = computed(() => {
39689
+ var _a25, _b25;
39690
+ return (_b25 = (_a25 = carouselOptions.value) == null ? void 0 : _a25.wrapAround) != null ? _b25 : true;
39691
+ });
39612
39692
  const loadLupaRecommendations = () => __async2(null, null, function* () {
39613
39693
  var _a25, _b25;
39614
39694
  recommendationsType.value = "recommendations_lupasearch";
@@ -39643,7 +39723,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
39643
39723
  hasRecommendations.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
39644
39724
  title.value ? (openBlock(), createElementBlock("h2", _hoisted_1$9, toDisplayString(title.value), 1)) : createCommentVNode("", true),
39645
39725
  !loading.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
39646
- layoutType.value === "carousel" ? (openBlock(), createBlock(unref(Carousel), mergeProps({ key: 0 }, carouselOptions.value, { "wrap-around": true }), {
39726
+ layoutType.value === "carousel" ? (openBlock(), createBlock(unref(Carousel), mergeProps({ key: 0 }, carouselOptions.value, { "wrap-around": wrapAround.value }), {
39647
39727
  addons: withCtx(() => [
39648
39728
  createVNode(unref(Navigation))
39649
39729
  ]),
@@ -39653,7 +39733,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
39653
39733
  key: getProductKeyAction(index, product)
39654
39734
  }, {
39655
39735
  default: withCtx(() => [
39656
- createVNode(_sfc_main$s, {
39736
+ createVNode(_sfc_main$t, {
39657
39737
  product,
39658
39738
  options: _ctx.options,
39659
39739
  "click-tracking-settings": clickTrackingSettings.value,
@@ -39666,9 +39746,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
39666
39746
  }), 128))
39667
39747
  ]),
39668
39748
  _: 1
39669
- }, 16)) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
39749
+ }, 16, ["wrap-around"])) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
39670
39750
  (openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
39671
- return openBlock(), createBlock(_sfc_main$s, {
39751
+ return openBlock(), createBlock(_sfc_main$t, {
39672
39752
  style: normalizeStyle(columnSize.value),
39673
39753
  key: getProductKeyAction(index, product),
39674
39754
  product,
@@ -39914,7 +39994,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
39914
39994
  createBaseVNode("a", {
39915
39995
  href: getLink(product)
39916
39996
  }, [
39917
- createVNode(_sfc_main$D, {
39997
+ createVNode(_sfc_main$E, {
39918
39998
  item: product,
39919
39999
  options: image.value
39920
40000
  }, null, 8, ["item", "options"])
@@ -40079,7 +40159,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
40079
40159
  return (_ctx, _cache) => {
40080
40160
  return openBlock(), createElementBlock("section", _hoisted_1$3, [
40081
40161
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
40082
- return openBlock(), createBlock(_sfc_main$s, {
40162
+ return openBlock(), createBlock(_sfc_main$t, {
40083
40163
  class: "lupa-chat-product-card",
40084
40164
  key: getProductKeyAction(index, product),
40085
40165
  product,
@@ -40275,7 +40355,7 @@ const _hoisted_4 = {
40275
40355
  key: 0,
40276
40356
  class: "lupasearch-chat-content"
40277
40357
  };
40278
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
40358
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
40279
40359
  __name: "ChatContainer",
40280
40360
  props: {
40281
40361
  options: {}
@@ -46299,7 +46379,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
46299
46379
  };
46300
46380
  __expose({ fetch: fetch2 });
46301
46381
  return (_ctx, _cache) => {
46302
- return openBlock(), createBlock(unref(_sfc_main$12), {
46382
+ return openBlock(), createBlock(unref(_sfc_main$13), {
46303
46383
  ref_key: "searchBox",
46304
46384
  ref: searchBox2,
46305
46385
  options: fullSearchBoxOptions.value
@@ -46960,7 +47040,7 @@ const chat = (options, mountOptions) => {
46960
47040
  const instance = createVue(
46961
47041
  options.displayOptions.containerSelector,
46962
47042
  mountOptions == null ? void 0 : mountOptions.mountingBehavior,
46963
- _sfc_main$1A,
47043
+ _sfc_main$1B,
46964
47044
  {
46965
47045
  options
46966
47046
  }