@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.
@@ -18102,6 +18102,10 @@ var __async = (__this, __arguments, generator) => {
18102
18102
  return (_b25 = (_a25 = currentResolutionPageSizes.value) == null ? void 0 : _a25[0]) != null ? _b25 : DEFAULT_PAGE_SIZE;
18103
18103
  }
18104
18104
  );
18105
+ const ariaLabels = computed(() => {
18106
+ var _a25, _b25;
18107
+ return (_b25 = (_a25 = searchResultOptions.value.labels) == null ? void 0 : _a25.aria) != null ? _b25 : {};
18108
+ });
18105
18109
  const currentResolutionPageSizes = computed(() => {
18106
18110
  var _a25, _b25, _c, _d;
18107
18111
  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;
@@ -18157,6 +18161,7 @@ var __async = (__this, __arguments, generator) => {
18157
18161
  defaultSearchResultPageSize,
18158
18162
  currentResolutionPageSizes,
18159
18163
  productRecommendationOptions,
18164
+ ariaLabels,
18160
18165
  setSearchBoxOptions,
18161
18166
  setTrackingOptions,
18162
18167
  setSearchResultOptions,
@@ -19549,7 +19554,7 @@ var __async = (__this, __arguments, generator) => {
19549
19554
  }
19550
19555
  return Env[environment] || Env["production"];
19551
19556
  };
19552
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
19557
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
19553
19558
  __name: "VoiceSearchProgressCircle",
19554
19559
  props: {
19555
19560
  isRecording: { type: Boolean },
@@ -19762,14 +19767,15 @@ var __async = (__this, __arguments, generator) => {
19762
19767
  closeSocket
19763
19768
  };
19764
19769
  }
19765
- const _hoisted_1$1k = {
19770
+ const _hoisted_1$1l = {
19766
19771
  key: 0,
19767
19772
  class: "lupa-dialog-overlay"
19768
19773
  };
19769
- const _hoisted_2$V = { class: "lupa-dialog-content" };
19774
+ const _hoisted_2$W = { class: "lupa-dialog-content" };
19770
19775
  const _hoisted_3$E = { class: "lupa-listening-text" };
19771
19776
  const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
19772
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19777
+ const _hoisted_5$l = ["aria-label"];
19778
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
19773
19779
  __name: "VoiceSearchDialog",
19774
19780
  props: {
19775
19781
  isOpen: { type: Boolean },
@@ -19872,20 +19878,23 @@ var __async = (__this, __arguments, generator) => {
19872
19878
  reset: dialogReset
19873
19879
  });
19874
19880
  return (_ctx, _cache) => {
19881
+ var _a25, _b25;
19875
19882
  return openBlock(), createElementBlock("div", null, [
19876
- props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1k, [
19883
+ props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
19877
19884
  createBaseVNode("button", {
19878
19885
  class: "lupa-dialog-box-close-button",
19879
19886
  onClick: _cache[0] || (_cache[0] = () => emit2("close"))
19880
19887
  }),
19881
- createBaseVNode("div", _hoisted_2$V, [
19888
+ createBaseVNode("div", _hoisted_2$W, [
19882
19889
  createBaseVNode("p", _hoisted_3$E, toDisplayString(description.value), 1),
19883
19890
  createBaseVNode("div", _hoisted_4$u, [
19884
19891
  createBaseVNode("button", {
19885
19892
  class: normalizeClass(["lupa-mic-button", { recording: unref(isRecording) }]),
19886
- onClick: handleRecordingButtonClick
19887
- }, null, 2),
19888
- createVNode(_sfc_main$1z, {
19893
+ onClick: handleRecordingButtonClick,
19894
+ "aria-controls": "voice-search-microphone",
19895
+ "aria-label": ((_b25 = (_a25 = labels.value) == null ? void 0 : _a25.aria) == null ? void 0 : _b25.microphone) || "Toggle microphone"
19896
+ }, null, 10, _hoisted_5$l),
19897
+ createVNode(_sfc_main$1A, {
19889
19898
  ref_key: "voiceSearchProgressBar",
19890
19899
  ref: voiceSearchProgressBar,
19891
19900
  class: "lupa-progress-circle",
@@ -19900,8 +19909,8 @@ var __async = (__this, __arguments, generator) => {
19900
19909
  };
19901
19910
  }
19902
19911
  });
19903
- const _hoisted_1$1j = { id: "lupa-search-box-input-container" };
19904
- const _hoisted_2$U = { class: "lupa-input-clear" };
19912
+ const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
19913
+ const _hoisted_2$V = { class: "lupa-input-clear" };
19905
19914
  const _hoisted_3$D = { id: "lupa-search-box-input" };
19906
19915
  const _hoisted_4$t = ["value"];
19907
19916
  const _hoisted_5$k = ["aria-label", "placeholder"];
@@ -19910,7 +19919,8 @@ var __async = (__this, __arguments, generator) => {
19910
19919
  class: "lupa-close-label"
19911
19920
  };
19912
19921
  const _hoisted_7$5 = { key: 1 };
19913
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
19922
+ const _hoisted_8$3 = ["aria-label"];
19923
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19914
19924
  __name: "SearchBoxInput",
19915
19925
  props: {
19916
19926
  options: {},
@@ -19965,6 +19975,10 @@ var __async = (__this, __arguments, generator) => {
19965
19975
  var _a25;
19966
19976
  return (_a25 = labels.value.searchInputAriaLabel) != null ? _a25 : "Search input";
19967
19977
  });
19978
+ const voiceSearchAriaLabel = computed(() => {
19979
+ var _a25, _b25, _c, _d;
19980
+ 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";
19981
+ });
19968
19982
  onMounted(() => {
19969
19983
  document.addEventListener("click", handleClickOutsideVoiceDialogOverlay);
19970
19984
  });
@@ -20038,8 +20052,8 @@ var __async = (__this, __arguments, generator) => {
20038
20052
  };
20039
20053
  __expose({ focus });
20040
20054
  return (_ctx, _cache) => {
20041
- return openBlock(), createElementBlock("div", _hoisted_1$1j, [
20042
- createBaseVNode("div", _hoisted_2$U, [
20055
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, [
20056
+ createBaseVNode("div", _hoisted_2$V, [
20043
20057
  createBaseVNode("div", {
20044
20058
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
20045
20059
  onClick: clear
@@ -20085,10 +20099,13 @@ var __async = (__this, __arguments, generator) => {
20085
20099
  isVoiceSearchEnabled.value ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
20086
20100
  createBaseVNode("button", {
20087
20101
  onClick: openVoiceSearchDialog,
20088
- class: "lupa-voice-search-button"
20089
- })
20102
+ class: "lupa-voice-search-button",
20103
+ "aria-haspopup": "dialog",
20104
+ "aria-controls": "voice-search-dialog",
20105
+ "aria-label": voiceSearchAriaLabel.value
20106
+ }, null, 8, _hoisted_8$3)
20090
20107
  ])) : createCommentVNode("", true),
20091
- isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1y, {
20108
+ isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1z, {
20092
20109
  key: 2,
20093
20110
  ref_key: "voiceDialogOverlay",
20094
20111
  ref: voiceDialogOverlay,
@@ -20102,7 +20119,7 @@ var __async = (__this, __arguments, generator) => {
20102
20119
  };
20103
20120
  }
20104
20121
  });
20105
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20122
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20106
20123
  __name: "SearchBoxMoreResults",
20107
20124
  props: {
20108
20125
  labels: {},
@@ -20140,9 +20157,9 @@ var __async = (__this, __arguments, generator) => {
20140
20157
  };
20141
20158
  }
20142
20159
  });
20143
- const _hoisted_1$1i = { class: "lupa-search-box-history-item" };
20144
- const _hoisted_2$T = { class: "lupa-search-box-history-item-content" };
20145
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20160
+ const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
20161
+ const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
20162
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20146
20163
  __name: "SearchBoxHistoryItem",
20147
20164
  props: {
20148
20165
  item: {},
@@ -20159,8 +20176,8 @@ var __async = (__this, __arguments, generator) => {
20159
20176
  emit2("click", { query: props.item });
20160
20177
  };
20161
20178
  return (_ctx, _cache) => {
20162
- return openBlock(), createElementBlock("div", _hoisted_1$1i, [
20163
- createBaseVNode("div", _hoisted_2$T, [
20179
+ return openBlock(), createElementBlock("div", _hoisted_1$1j, [
20180
+ createBaseVNode("div", _hoisted_2$U, [
20164
20181
  createBaseVNode("div", {
20165
20182
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
20166
20183
  onClick: click2
@@ -20174,11 +20191,11 @@ var __async = (__this, __arguments, generator) => {
20174
20191
  };
20175
20192
  }
20176
20193
  });
20177
- const _hoisted_1$1h = {
20194
+ const _hoisted_1$1i = {
20178
20195
  key: 0,
20179
20196
  class: "lupa-search-box-history-panel"
20180
20197
  };
20181
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20198
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20182
20199
  __name: "SearchBoxHistoryPanel",
20183
20200
  props: {
20184
20201
  options: {}
@@ -20229,9 +20246,9 @@ var __async = (__this, __arguments, generator) => {
20229
20246
  }
20230
20247
  };
20231
20248
  return (_ctx, _cache) => {
20232
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1h, [
20249
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
20233
20250
  (openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
20234
- return openBlock(), createBlock(_sfc_main$1v, {
20251
+ return openBlock(), createBlock(_sfc_main$1w, {
20235
20252
  key: item,
20236
20253
  item,
20237
20254
  highlighted: index === highlightIndex.value,
@@ -20247,15 +20264,15 @@ var __async = (__this, __arguments, generator) => {
20247
20264
  };
20248
20265
  }
20249
20266
  });
20250
- const _hoisted_1$1g = { class: "lupa-search-box-no-results" };
20251
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
20267
+ const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
20268
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20252
20269
  __name: "SearchBoxNoResults",
20253
20270
  props: {
20254
20271
  labels: {}
20255
20272
  },
20256
20273
  setup(__props) {
20257
20274
  return (_ctx, _cache) => {
20258
- return openBlock(), createElementBlock("p", _hoisted_1$1g, toDisplayString(_ctx.labels.noResults), 1);
20275
+ return openBlock(), createElementBlock("p", _hoisted_1$1h, toDisplayString(_ctx.labels.noResults), 1);
20259
20276
  };
20260
20277
  }
20261
20278
  });
@@ -20287,8 +20304,8 @@ var __async = (__this, __arguments, generator) => {
20287
20304
  }
20288
20305
  return gridTemplate.join(" ");
20289
20306
  };
20290
- const _hoisted_1$1f = ["innerHTML"];
20291
- const _hoisted_2$S = {
20307
+ const _hoisted_1$1g = ["innerHTML"];
20308
+ const _hoisted_2$T = {
20292
20309
  key: 1,
20293
20310
  "data-cy": "lupa-suggestion-value",
20294
20311
  class: "lupa-suggestion-value"
@@ -20306,7 +20323,7 @@ var __async = (__this, __arguments, generator) => {
20306
20323
  class: "lupa-suggestion-facet-value",
20307
20324
  "data-cy": "lupa-suggestion-facet-value"
20308
20325
  };
20309
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20326
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
20310
20327
  __name: "SearchBoxSuggestion",
20311
20328
  props: {
20312
20329
  suggestion: {},
@@ -20343,7 +20360,7 @@ var __async = (__this, __arguments, generator) => {
20343
20360
  class: "lupa-suggestion-value",
20344
20361
  "data-cy": "lupa-suggestion-value",
20345
20362
  innerHTML: _ctx.suggestion.displayHighlight
20346
- }, null, 8, _hoisted_1$1f)) : (openBlock(), createElementBlock("div", _hoisted_2$S, toDisplayString(_ctx.suggestion.display), 1)),
20363
+ }, null, 8, _hoisted_1$1g)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(_ctx.suggestion.display), 1)),
20347
20364
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
20348
20365
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
20349
20366
  createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
@@ -20352,11 +20369,11 @@ var __async = (__this, __arguments, generator) => {
20352
20369
  };
20353
20370
  }
20354
20371
  });
20355
- const _hoisted_1$1e = {
20372
+ const _hoisted_1$1f = {
20356
20373
  id: "lupa-search-box-suggestions",
20357
20374
  "data-cy": "lupa-search-box-suggestions"
20358
20375
  };
20359
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20376
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20360
20377
  __name: "SearchBoxSuggestions",
20361
20378
  props: {
20362
20379
  items: {},
@@ -20423,9 +20440,9 @@ var __async = (__this, __arguments, generator) => {
20423
20440
  });
20424
20441
  });
20425
20442
  return (_ctx, _cache) => {
20426
- return openBlock(), createElementBlock("div", _hoisted_1$1e, [
20443
+ return openBlock(), createElementBlock("div", _hoisted_1$1f, [
20427
20444
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
20428
- return openBlock(), createBlock(_sfc_main$1s, {
20445
+ return openBlock(), createBlock(_sfc_main$1t, {
20429
20446
  key: getSuggestionKey(item),
20430
20447
  class: normalizeClass([
20431
20448
  "lupa-suggestion",
@@ -20457,7 +20474,7 @@ var __async = (__this, __arguments, generator) => {
20457
20474
  }, timeout);
20458
20475
  };
20459
20476
  };
20460
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
20477
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20461
20478
  __name: "SearchBoxSuggestionsWrapper",
20462
20479
  props: {
20463
20480
  panel: {},
@@ -20500,7 +20517,7 @@ var __async = (__this, __arguments, generator) => {
20500
20517
  const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
20501
20518
  watch(() => props.panel.limit, getSuggestionsDebounced);
20502
20519
  return (_ctx, _cache) => {
20503
- return openBlock(), createBlock(_sfc_main$1r, {
20520
+ return openBlock(), createBlock(_sfc_main$1s, {
20504
20521
  items: searchResult.value,
20505
20522
  highlight: _ctx.panel.highlight,
20506
20523
  queryKey: _ctx.panel.queryKey,
@@ -29782,9 +29799,9 @@ and ensure you are accounting for this risk.
29782
29799
  targetImage.src = placeholder;
29783
29800
  }
29784
29801
  };
29785
- const _hoisted_1$1d = ["src"];
29786
- const _hoisted_2$R = ["src"];
29787
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29802
+ const _hoisted_1$1e = ["src"];
29803
+ const _hoisted_2$S = ["src"];
29804
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
29788
29805
  __name: "ProductImage",
29789
29806
  props: {
29790
29807
  item: {},
@@ -29926,7 +29943,7 @@ and ensure you are accounting for this risk.
29926
29943
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
29927
29944
  onError: replaceWithPlaceholder,
29928
29945
  key: finalUrl.value
29929
- }), null, 16, _hoisted_1$1d))
29946
+ }), null, 16, _hoisted_1$1e))
29930
29947
  ]),
29931
29948
  _: 1
29932
29949
  })) : (openBlock(), createElementBlock("img", mergeProps({
@@ -29934,12 +29951,12 @@ and ensure you are accounting for this risk.
29934
29951
  class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
29935
29952
  style: styleOverride.value,
29936
29953
  src: finalMainImageUrl.value
29937
- }, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$R))
29954
+ }, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
29938
29955
  ], 38);
29939
29956
  };
29940
29957
  }
29941
29958
  });
29942
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29959
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29943
29960
  __name: "SearchBoxProductImage",
29944
29961
  props: {
29945
29962
  item: {},
@@ -29947,7 +29964,7 @@ and ensure you are accounting for this risk.
29947
29964
  },
29948
29965
  setup(__props) {
29949
29966
  return (_ctx, _cache) => {
29950
- return openBlock(), createBlock(_sfc_main$1p, {
29967
+ return openBlock(), createBlock(_sfc_main$1q, {
29951
29968
  item: _ctx.item,
29952
29969
  options: _ctx.options,
29953
29970
  "wrapper-class": "lupa-search-box-image-wrapper",
@@ -29956,12 +29973,12 @@ and ensure you are accounting for this risk.
29956
29973
  };
29957
29974
  }
29958
29975
  });
29959
- const _hoisted_1$1c = ["innerHTML"];
29960
- const _hoisted_2$Q = {
29976
+ const _hoisted_1$1d = ["innerHTML"];
29977
+ const _hoisted_2$R = {
29961
29978
  key: 1,
29962
29979
  class: "lupa-search-box-product-title"
29963
29980
  };
29964
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29981
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29965
29982
  __name: "SearchBoxProductTitle",
29966
29983
  props: {
29967
29984
  item: {},
@@ -29984,18 +30001,18 @@ and ensure you are accounting for this risk.
29984
30001
  key: 0,
29985
30002
  class: "lupa-search-box-product-title",
29986
30003
  innerHTML: sanitizedTitle.value
29987
- }, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, [
30004
+ }, null, 8, _hoisted_1$1d)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
29988
30005
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
29989
30006
  ]));
29990
30007
  };
29991
30008
  }
29992
30009
  });
29993
- const _hoisted_1$1b = ["innerHTML"];
29994
- const _hoisted_2$P = {
30010
+ const _hoisted_1$1c = ["innerHTML"];
30011
+ const _hoisted_2$Q = {
29995
30012
  key: 1,
29996
30013
  class: "lupa-search-box-product-description"
29997
30014
  };
29998
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30015
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29999
30016
  __name: "SearchBoxProductDescription",
30000
30017
  props: {
30001
30018
  item: {},
@@ -30018,12 +30035,12 @@ and ensure you are accounting for this risk.
30018
30035
  key: 0,
30019
30036
  class: "lupa-search-box-product-description",
30020
30037
  innerHTML: sanitizedDescription.value
30021
- }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(description.value), 1));
30038
+ }, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(description.value), 1));
30022
30039
  };
30023
30040
  }
30024
30041
  });
30025
- const _hoisted_1$1a = { class: "lupa-search-box-product-price" };
30026
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30042
+ const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
30043
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30027
30044
  __name: "SearchBoxProductPrice",
30028
30045
  props: {
30029
30046
  item: {},
@@ -30045,13 +30062,13 @@ and ensure you are accounting for this risk.
30045
30062
  );
30046
30063
  });
30047
30064
  return (_ctx, _cache) => {
30048
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
30065
+ return openBlock(), createElementBlock("div", _hoisted_1$1b, [
30049
30066
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
30050
30067
  ]);
30051
30068
  };
30052
30069
  }
30053
30070
  });
30054
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30071
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30055
30072
  __name: "SearchBoxProductRegularPrice",
30056
30073
  props: {
30057
30074
  item: {},
@@ -30082,12 +30099,12 @@ and ensure you are accounting for this risk.
30082
30099
  };
30083
30100
  }
30084
30101
  });
30085
- const _hoisted_1$19 = ["innerHTML"];
30086
- const _hoisted_2$O = { key: 0 };
30102
+ const _hoisted_1$1a = ["innerHTML"];
30103
+ const _hoisted_2$P = { key: 0 };
30087
30104
  const _hoisted_3$B = { key: 1 };
30088
30105
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
30089
30106
  const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
30090
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30107
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30091
30108
  __name: "SearchBoxProductCustom",
30092
30109
  props: {
30093
30110
  item: {},
@@ -30113,11 +30130,11 @@ and ensure you are accounting for this risk.
30113
30130
  key: 0,
30114
30131
  class: [className.value, "lupa-search-box-product-custom"],
30115
30132
  innerHTML: text.value
30116
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19)) : (openBlock(), createElementBlock("div", mergeProps({
30133
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", mergeProps({
30117
30134
  key: 1,
30118
30135
  class: [className.value, "lupa-search-box-product-custom"]
30119
30136
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
30120
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$O, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
30137
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
30121
30138
  createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
30122
30139
  createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
30123
30140
  ]))
@@ -30125,8 +30142,8 @@ and ensure you are accounting for this risk.
30125
30142
  };
30126
30143
  }
30127
30144
  });
30128
- const _hoisted_1$18 = ["innerHTML"];
30129
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30145
+ const _hoisted_1$19 = ["innerHTML"];
30146
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30130
30147
  __name: "SearchBoxProductCustomHtml",
30131
30148
  props: {
30132
30149
  item: {},
@@ -30151,7 +30168,7 @@ and ensure you are accounting for this risk.
30151
30168
  return openBlock(), createElementBlock("div", mergeProps({
30152
30169
  class: className.value,
30153
30170
  innerHTML: text.value
30154
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$18);
30171
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19);
30155
30172
  };
30156
30173
  }
30157
30174
  });
@@ -30466,12 +30483,12 @@ and ensure you are accounting for this risk.
30466
30483
  setRelatedQueriesApiEnabled
30467
30484
  };
30468
30485
  });
30469
- const _hoisted_1$17 = { class: "lupa-search-box-add-to-cart-wrapper" };
30470
- const _hoisted_2$N = { class: "lupa-search-box-product-addtocart" };
30486
+ const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
30487
+ const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
30471
30488
  const _hoisted_3$A = ["disabled"];
30472
30489
  const _hoisted_4$q = ["href"];
30473
30490
  const _hoisted_5$h = ["disabled"];
30474
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30491
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30475
30492
  __name: "SearchBoxProductAddToCart",
30476
30493
  props: {
30477
30494
  item: {},
@@ -30510,8 +30527,8 @@ and ensure you are accounting for this risk.
30510
30527
  return Boolean(props.link && props.options.link);
30511
30528
  });
30512
30529
  return (_ctx, _cache) => {
30513
- return openBlock(), createElementBlock("div", _hoisted_1$17, [
30514
- createBaseVNode("div", _hoisted_2$N, [
30530
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
30531
+ createBaseVNode("div", _hoisted_2$O, [
30515
30532
  hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
30516
30533
  key: 0,
30517
30534
  class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
@@ -30532,23 +30549,23 @@ and ensure you are accounting for this risk.
30532
30549
  };
30533
30550
  }
30534
30551
  });
30535
- const _hoisted_1$16 = {
30552
+ const _hoisted_1$17 = {
30536
30553
  key: 1,
30537
30554
  class: "lupa-search-box-element-badge-wrapper"
30538
30555
  };
30539
30556
  const __default__$4 = {
30540
30557
  components: {
30541
- SearchBoxProductImage: _sfc_main$1o,
30542
- SearchBoxProductTitle: _sfc_main$1n,
30543
- SearchBoxProductDescription: _sfc_main$1m,
30544
- SearchBoxProductPrice: _sfc_main$1l,
30545
- SearchBoxProductRegularPrice: _sfc_main$1k,
30546
- SearchBoxProductCustom: _sfc_main$1j,
30547
- SearchBoxProductCustomHtml: _sfc_main$1i,
30548
- SearchBoxProductAddToCart: _sfc_main$1h
30558
+ SearchBoxProductImage: _sfc_main$1p,
30559
+ SearchBoxProductTitle: _sfc_main$1o,
30560
+ SearchBoxProductDescription: _sfc_main$1n,
30561
+ SearchBoxProductPrice: _sfc_main$1m,
30562
+ SearchBoxProductRegularPrice: _sfc_main$1l,
30563
+ SearchBoxProductCustom: _sfc_main$1k,
30564
+ SearchBoxProductCustomHtml: _sfc_main$1j,
30565
+ SearchBoxProductAddToCart: _sfc_main$1i
30549
30566
  }
30550
30567
  };
30551
- const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
30568
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
30552
30569
  __name: "SearchBoxProductElement",
30553
30570
  props: {
30554
30571
  item: {},
@@ -30620,7 +30637,7 @@ and ensure you are accounting for this risk.
30620
30637
  "dynamic-attributes": dynamicAttributes.value,
30621
30638
  link: _ctx.link
30622
30639
  }, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
30623
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$16, [
30640
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
30624
30641
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
30625
30642
  key: 0,
30626
30643
  item: enhancedItem.value,
@@ -30635,14 +30652,14 @@ and ensure you are accounting for this risk.
30635
30652
  };
30636
30653
  }
30637
30654
  }));
30638
- const _hoisted_1$15 = { class: "lupa-badge-title" };
30639
- const _hoisted_2$M = ["src"];
30655
+ const _hoisted_1$16 = { class: "lupa-badge-title" };
30656
+ const _hoisted_2$N = ["src"];
30640
30657
  const _hoisted_3$z = { key: 1 };
30641
30658
  const _hoisted_4$p = {
30642
30659
  key: 0,
30643
30660
  class: "lupa-badge-full-text"
30644
30661
  };
30645
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30662
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
30646
30663
  __name: "SearchResultGeneratedBadge",
30647
30664
  props: {
30648
30665
  options: {},
@@ -30675,11 +30692,11 @@ and ensure you are accounting for this risk.
30675
30692
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
30676
30693
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
30677
30694
  }, [
30678
- createBaseVNode("span", _hoisted_1$15, [
30695
+ createBaseVNode("span", _hoisted_1$16, [
30679
30696
  image.value ? (openBlock(), createElementBlock("img", {
30680
30697
  key: 0,
30681
30698
  src: image.value
30682
- }, null, 8, _hoisted_2$M)) : createCommentVNode("", true),
30699
+ }, null, 8, _hoisted_2$N)) : createCommentVNode("", true),
30683
30700
  hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
30684
30701
  ]),
30685
30702
  hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
@@ -30687,8 +30704,8 @@ and ensure you are accounting for this risk.
30687
30704
  };
30688
30705
  }
30689
30706
  });
30690
- const _hoisted_1$14 = { class: "lupa-generated-badges" };
30691
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30707
+ const _hoisted_1$15 = { class: "lupa-generated-badges" };
30708
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30692
30709
  __name: "SearchResultGeneratedBadges",
30693
30710
  props: {
30694
30711
  options: {}
@@ -30714,9 +30731,9 @@ and ensure you are accounting for this risk.
30714
30731
  })).filter((b) => Boolean(b.id));
30715
30732
  });
30716
30733
  return (_ctx, _cache) => {
30717
- return openBlock(), createElementBlock("div", _hoisted_1$14, [
30734
+ return openBlock(), createElementBlock("div", _hoisted_1$15, [
30718
30735
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
30719
- return openBlock(), createBlock(_sfc_main$1f, {
30736
+ return openBlock(), createBlock(_sfc_main$1g, {
30720
30737
  key: badge.id,
30721
30738
  badge,
30722
30739
  options: _ctx.options
@@ -30726,8 +30743,8 @@ and ensure you are accounting for this risk.
30726
30743
  };
30727
30744
  }
30728
30745
  });
30729
- const _hoisted_1$13 = ["innerHTML"];
30730
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30746
+ const _hoisted_1$14 = ["innerHTML"];
30747
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30731
30748
  __name: "CustomBadge",
30732
30749
  props: {
30733
30750
  badge: {}
@@ -30748,12 +30765,12 @@ and ensure you are accounting for this risk.
30748
30765
  return openBlock(), createElementBlock("div", {
30749
30766
  class: normalizeClass(className.value),
30750
30767
  innerHTML: text.value
30751
- }, null, 10, _hoisted_1$13);
30768
+ }, null, 10, _hoisted_1$14);
30752
30769
  };
30753
30770
  }
30754
30771
  });
30755
- const _hoisted_1$12 = { class: "lupa-text-badges" };
30756
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30772
+ const _hoisted_1$13 = { class: "lupa-text-badges" };
30773
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30757
30774
  __name: "TextBadge",
30758
30775
  props: {
30759
30776
  badge: {}
@@ -30767,7 +30784,7 @@ and ensure you are accounting for this risk.
30767
30784
  return badges.value.slice(0, props.badge.maxItems);
30768
30785
  });
30769
30786
  return (_ctx, _cache) => {
30770
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
30787
+ return openBlock(), createElementBlock("div", _hoisted_1$13, [
30771
30788
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
30772
30789
  return openBlock(), createElementBlock("div", {
30773
30790
  class: "lupa-badge lupa-text-badge",
@@ -30778,9 +30795,9 @@ and ensure you are accounting for this risk.
30778
30795
  };
30779
30796
  }
30780
30797
  });
30781
- const _hoisted_1$11 = { class: "lupa-image-badges" };
30782
- const _hoisted_2$L = ["src"];
30783
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30798
+ const _hoisted_1$12 = { class: "lupa-image-badges" };
30799
+ const _hoisted_2$M = ["src"];
30800
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30784
30801
  __name: "ImageBadge",
30785
30802
  props: {
30786
30803
  badge: {}
@@ -30800,7 +30817,7 @@ and ensure you are accounting for this risk.
30800
30817
  return `${props.badge.rootImageUrl}${src}`;
30801
30818
  };
30802
30819
  return (_ctx, _cache) => {
30803
- return openBlock(), createElementBlock("div", _hoisted_1$11, [
30820
+ return openBlock(), createElementBlock("div", _hoisted_1$12, [
30804
30821
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
30805
30822
  return openBlock(), createElementBlock("div", {
30806
30823
  class: "lupa-badge lupa-image-badge",
@@ -30808,14 +30825,14 @@ and ensure you are accounting for this risk.
30808
30825
  }, [
30809
30826
  createBaseVNode("img", {
30810
30827
  src: getImageUrl(item)
30811
- }, null, 8, _hoisted_2$L)
30828
+ }, null, 8, _hoisted_2$M)
30812
30829
  ]);
30813
30830
  }), 128))
30814
30831
  ]);
30815
30832
  };
30816
30833
  }
30817
30834
  });
30818
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
30835
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30819
30836
  __name: "DiscountBadge",
30820
30837
  props: {
30821
30838
  badge: {}
@@ -30877,16 +30894,16 @@ and ensure you are accounting for this risk.
30877
30894
  };
30878
30895
  }
30879
30896
  });
30880
- const _hoisted_1$10 = { id: "lupa-search-results-badges" };
30897
+ const _hoisted_1$11 = { id: "lupa-search-results-badges" };
30881
30898
  const __default__$3 = {
30882
30899
  components: {
30883
- CustomBadge: _sfc_main$1d,
30884
- TextBadge: _sfc_main$1c,
30885
- ImageBadge: _sfc_main$1b,
30886
- DiscountBadge: _sfc_main$1a
30900
+ CustomBadge: _sfc_main$1e,
30901
+ TextBadge: _sfc_main$1d,
30902
+ ImageBadge: _sfc_main$1c,
30903
+ DiscountBadge: _sfc_main$1b
30887
30904
  }
30888
30905
  };
30889
- const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
30906
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
30890
30907
  __name: "SearchResultsBadgeWrapper",
30891
30908
  props: {
30892
30909
  position: {},
@@ -30949,7 +30966,7 @@ and ensure you are accounting for this risk.
30949
30966
  }
30950
30967
  };
30951
30968
  return (_ctx, _cache) => {
30952
- return openBlock(), createElementBlock("div", _hoisted_1$10, [
30969
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
30953
30970
  createBaseVNode("div", {
30954
30971
  id: "lupa-badges",
30955
30972
  class: normalizeClass(anchorPosition.value)
@@ -30960,7 +30977,7 @@ and ensure you are accounting for this risk.
30960
30977
  badge
30961
30978
  }, null, 8, ["badge"]);
30962
30979
  }), 128)),
30963
- positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1e, {
30980
+ positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1f, {
30964
30981
  key: 0,
30965
30982
  options: _ctx.options
30966
30983
  }, null, 8, ["options"])) : createCommentVNode("", true)
@@ -30969,13 +30986,13 @@ and ensure you are accounting for this risk.
30969
30986
  };
30970
30987
  }
30971
30988
  }));
30972
- const _hoisted_1$$ = ["href"];
30973
- const _hoisted_2$K = { class: "lupa-search-box-product-details-section" };
30989
+ const _hoisted_1$10 = ["href"];
30990
+ const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
30974
30991
  const _hoisted_3$y = {
30975
30992
  key: 0,
30976
30993
  class: "lupa-search-box-product-add-to-cart-section"
30977
30994
  };
30978
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
30995
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
30979
30996
  __name: "SearchBoxProduct",
30980
30997
  props: {
30981
30998
  item: {},
@@ -31081,7 +31098,7 @@ and ensure you are accounting for this risk.
31081
31098
  style: normalizeStyle(imageStyleOverride.value)
31082
31099
  }, [
31083
31100
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
31084
- return openBlock(), createBlock(_sfc_main$1g, {
31101
+ return openBlock(), createBlock(_sfc_main$1h, {
31085
31102
  class: "lupa-search-box-product-element",
31086
31103
  key: element.key,
31087
31104
  item: _ctx.item,
@@ -31091,10 +31108,10 @@ and ensure you are accounting for this risk.
31091
31108
  }, null, 8, ["item", "element", "labels", "link"]);
31092
31109
  }), 128))
31093
31110
  ], 4),
31094
- createBaseVNode("div", _hoisted_2$K, [
31111
+ createBaseVNode("div", _hoisted_2$L, [
31095
31112
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
31096
31113
  var _a25;
31097
- return openBlock(), createBlock(_sfc_main$1g, {
31114
+ return openBlock(), createBlock(_sfc_main$1h, {
31098
31115
  class: "lupa-search-box-product-element",
31099
31116
  key: element.key,
31100
31117
  item: _ctx.item,
@@ -31105,7 +31122,7 @@ and ensure you are accounting for this risk.
31105
31122
  ((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
31106
31123
  name: "badges",
31107
31124
  fn: withCtx(() => [
31108
- createVNode(_sfc_main$19, {
31125
+ createVNode(_sfc_main$1a, {
31109
31126
  options: badgeOptions.value,
31110
31127
  position: "card"
31111
31128
  }, null, 8, ["options"])
@@ -31121,7 +31138,7 @@ and ensure you are accounting for this risk.
31121
31138
  class: normalizeClass(`lupa-search-box-group-${group}`)
31122
31139
  }, [
31123
31140
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
31124
- return openBlock(), createBlock(_sfc_main$1g, {
31141
+ return openBlock(), createBlock(_sfc_main$1h, {
31125
31142
  class: "lupa-search-box-product-element",
31126
31143
  key: element.key,
31127
31144
  item: _ctx.item,
@@ -31134,7 +31151,7 @@ and ensure you are accounting for this risk.
31134
31151
  ], 2);
31135
31152
  }), 128)),
31136
31153
  addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
31137
- createVNode(_sfc_main$1g, {
31154
+ createVNode(_sfc_main$1h, {
31138
31155
  class: "lupa-search-box-product-element",
31139
31156
  item: _ctx.item,
31140
31157
  element: addToCartElement.value,
@@ -31143,7 +31160,7 @@ and ensure you are accounting for this risk.
31143
31160
  isInStock: isInStock.value
31144
31161
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
31145
31162
  ])) : createCommentVNode("", true)
31146
- ], 16, _hoisted_1$$);
31163
+ ], 16, _hoisted_1$10);
31147
31164
  };
31148
31165
  }
31149
31166
  });
@@ -31215,8 +31232,8 @@ and ensure you are accounting for this risk.
31215
31232
  };
31216
31233
  return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
31217
31234
  });
31218
- const _hoisted_1$_ = { id: "lupa-search-box-products" };
31219
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31235
+ const _hoisted_1$$ = { id: "lupa-search-box-products" };
31236
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31220
31237
  __name: "SearchBoxProducts",
31221
31238
  props: {
31222
31239
  items: {},
@@ -31288,7 +31305,7 @@ and ensure you are accounting for this risk.
31288
31305
  }
31289
31306
  };
31290
31307
  return (_ctx, _cache) => {
31291
- return openBlock(), createElementBlock("div", _hoisted_1$_, [
31308
+ return openBlock(), createElementBlock("div", _hoisted_1$$, [
31292
31309
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
31293
31310
  return renderSlot(_ctx.$slots, "productCard", {
31294
31311
  key: index,
@@ -31300,7 +31317,7 @@ and ensure you are accounting for this risk.
31300
31317
  itemClicked: handleProductClick
31301
31318
  });
31302
31319
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
31303
- return openBlock(), createBlock(_sfc_main$18, {
31320
+ return openBlock(), createBlock(_sfc_main$19, {
31304
31321
  key: index,
31305
31322
  item,
31306
31323
  panelOptions: _ctx.panelOptions,
@@ -31315,9 +31332,9 @@ and ensure you are accounting for this risk.
31315
31332
  };
31316
31333
  }
31317
31334
  });
31318
- const _hoisted_1$Z = { class: "lupa-search-box-documents-go-to-results-wrapper" };
31319
- const _hoisted_2$J = { key: 0 };
31320
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31335
+ const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
31336
+ const _hoisted_2$K = { key: 0 };
31337
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31321
31338
  __name: "SearchBoxProductsGoToResultsButton",
31322
31339
  props: {
31323
31340
  options: {},
@@ -31348,13 +31365,13 @@ and ensure you are accounting for this risk.
31348
31365
  emit2("goToResults");
31349
31366
  };
31350
31367
  return (_ctx, _cache) => {
31351
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
31368
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
31352
31369
  createBaseVNode("button", {
31353
31370
  class: "lupa-search-box-documents-go-to-results-button",
31354
31371
  onClick: goToResults
31355
31372
  }, [
31356
31373
  createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
31357
- totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$J, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
31374
+ totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
31358
31375
  ])
31359
31376
  ]);
31360
31377
  };
@@ -31441,7 +31458,7 @@ and ensure you are accounting for this risk.
31441
31458
  }
31442
31459
  return parsedObject;
31443
31460
  };
31444
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31461
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31445
31462
  __name: "SearchBoxProductsWrapper",
31446
31463
  props: {
31447
31464
  panel: {},
@@ -31511,7 +31528,7 @@ and ensure you are accounting for this risk.
31511
31528
  watch(() => props.panel.limit, getItemsDebounced);
31512
31529
  return (_ctx, _cache) => {
31513
31530
  var _a25, _b25;
31514
- return openBlock(), createBlock(_sfc_main$17, {
31531
+ return openBlock(), createBlock(_sfc_main$18, {
31515
31532
  items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
31516
31533
  panelOptions: _ctx.panel,
31517
31534
  labels: _ctx.labels,
@@ -31521,7 +31538,7 @@ and ensure you are accounting for this risk.
31521
31538
  default: withCtx(() => {
31522
31539
  var _a26;
31523
31540
  return [
31524
- showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$16, {
31541
+ showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$17, {
31525
31542
  key: 0,
31526
31543
  options: _ctx.searchBoxOptions,
31527
31544
  panel: _ctx.panel,
@@ -31542,7 +31559,7 @@ and ensure you are accounting for this risk.
31542
31559
  };
31543
31560
  }
31544
31561
  });
31545
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31562
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31546
31563
  __name: "SearchBoxRelatedSourceWrapper",
31547
31564
  props: {
31548
31565
  panel: {},
@@ -31614,7 +31631,7 @@ and ensure you are accounting for this risk.
31614
31631
  });
31615
31632
  return (_ctx, _cache) => {
31616
31633
  var _a25, _b25;
31617
- return openBlock(), createBlock(_sfc_main$17, {
31634
+ return openBlock(), createBlock(_sfc_main$18, {
31618
31635
  items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
31619
31636
  panelOptions: documentPanelOptions.value,
31620
31637
  labels: _ctx.labels,
@@ -31632,11 +31649,11 @@ and ensure you are accounting for this risk.
31632
31649
  };
31633
31650
  }
31634
31651
  });
31635
- const _hoisted_1$Y = {
31652
+ const _hoisted_1$Z = {
31636
31653
  key: 0,
31637
31654
  id: "lupa-search-box-panel"
31638
31655
  };
31639
- const _hoisted_2$I = ["data-cy"];
31656
+ const _hoisted_2$J = ["data-cy"];
31640
31657
  const _hoisted_3$x = {
31641
31658
  key: 0,
31642
31659
  class: "lupa-panel-title lupa-panel-title-top-results"
@@ -31651,12 +31668,12 @@ and ensure you are accounting for this risk.
31651
31668
  };
31652
31669
  const __default__$2 = {
31653
31670
  components: {
31654
- SearchBoxSuggestionsWrapper: _sfc_main$1q,
31655
- SearchBoxProductsWrapper: _sfc_main$15,
31656
- SearchBoxRelatedSourceWrapper: _sfc_main$14
31671
+ SearchBoxSuggestionsWrapper: _sfc_main$1r,
31672
+ SearchBoxProductsWrapper: _sfc_main$16,
31673
+ SearchBoxRelatedSourceWrapper: _sfc_main$15
31657
31674
  }
31658
31675
  };
31659
- const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
31676
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
31660
31677
  __name: "SearchBoxMainPanel",
31661
31678
  props: {
31662
31679
  options: {},
@@ -31814,7 +31831,7 @@ and ensure you are accounting for this risk.
31814
31831
  ref_key: "panelContainer",
31815
31832
  ref: panelContainer
31816
31833
  }, [
31817
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
31834
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Z, [
31818
31835
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
31819
31836
  key: 0,
31820
31837
  class: "lupa-search-box-close-panel",
@@ -31859,21 +31876,21 @@ and ensure you are accounting for this risk.
31859
31876
  key: "0"
31860
31877
  } : void 0
31861
31878
  ]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
31862
- ], 14, _hoisted_2$I);
31879
+ ], 14, _hoisted_2$J);
31863
31880
  }), 128))
31864
31881
  ], 4),
31865
- !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1t, {
31882
+ !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1u, {
31866
31883
  key: 1,
31867
31884
  labels: labels.value
31868
31885
  }, null, 8, ["labels"])) : createCommentVNode("", true),
31869
- unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1w, {
31886
+ unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1x, {
31870
31887
  key: 2,
31871
31888
  labels: labels.value,
31872
31889
  options: _ctx.options,
31873
31890
  onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
31874
31891
  }, null, 8, ["labels", "options"])) : createCommentVNode("", true)
31875
31892
  ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
31876
- createVNode(_sfc_main$1u, {
31893
+ createVNode(_sfc_main$1v, {
31877
31894
  options: _ctx.options.history,
31878
31895
  history: history.value,
31879
31896
  onGoToResults: handleGoToResults,
@@ -31898,8 +31915,8 @@ and ensure you are accounting for this risk.
31898
31915
  const elements = getElements(triggers);
31899
31916
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
31900
31917
  };
31901
- const _hoisted_1$X = { class: "lupa-search-box-wrapper" };
31902
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
31918
+ const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
31919
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
31903
31920
  __name: "SearchBox",
31904
31921
  props: {
31905
31922
  options: {},
@@ -32221,8 +32238,8 @@ and ensure you are accounting for this risk.
32221
32238
  id: "lupa-search-box",
32222
32239
  class: normalizeClass({ "lupa-search-box-opened": opened.value })
32223
32240
  }, [
32224
- createBaseVNode("div", _hoisted_1$X, [
32225
- createVNode(_sfc_main$1x, {
32241
+ createBaseVNode("div", _hoisted_1$Y, [
32242
+ createVNode(_sfc_main$1y, {
32226
32243
  options: inputOptions.value,
32227
32244
  suggestedValue: suggestedValue.value,
32228
32245
  "can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
@@ -32235,7 +32252,7 @@ and ensure you are accounting for this risk.
32235
32252
  onSearch: handleSearch,
32236
32253
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
32237
32254
  }, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
32238
- opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$13, {
32255
+ opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$14, {
32239
32256
  key: 0,
32240
32257
  options: panelOptions.value,
32241
32258
  inputValue: inputValue.value,
@@ -32323,11 +32340,11 @@ and ensure you are accounting for this risk.
32323
32340
  }
32324
32341
  return searchParams;
32325
32342
  };
32326
- const _hoisted_1$W = {
32343
+ const _hoisted_1$X = {
32327
32344
  key: 0,
32328
32345
  id: "lupa-search-results-did-you-mean"
32329
32346
  };
32330
- const _hoisted_2$H = {
32347
+ const _hoisted_2$I = {
32331
32348
  key: 0,
32332
32349
  "data-cy": "suggested-search-text-label"
32333
32350
  };
@@ -32336,7 +32353,7 @@ and ensure you are accounting for this risk.
32336
32353
  "data-cy": "did-you-mean-label"
32337
32354
  };
32338
32355
  const _hoisted_4$n = { key: 1 };
32339
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32356
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32340
32357
  __name: "SearchResultsDidYouMean",
32341
32358
  props: {
32342
32359
  labels: {}
@@ -32368,8 +32385,8 @@ and ensure you are accounting for this risk.
32368
32385
  paramStore.goToResults({ searchText, facet });
32369
32386
  };
32370
32387
  return (_ctx, _cache) => {
32371
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
32372
- unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
32388
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
32389
+ unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
32373
32390
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
32374
32391
  return openBlock(), createElementBlock("span", { key: index }, [
32375
32392
  createBaseVNode("span", {
@@ -32394,12 +32411,12 @@ and ensure you are accounting for this risk.
32394
32411
  };
32395
32412
  }
32396
32413
  });
32397
- const _hoisted_1$V = {
32414
+ const _hoisted_1$W = {
32398
32415
  key: 0,
32399
32416
  class: "lupa-search-results-summary"
32400
32417
  };
32401
- const _hoisted_2$G = ["innerHTML"];
32402
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32418
+ const _hoisted_2$H = ["innerHTML"];
32419
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32403
32420
  __name: "SearchResultsSummary",
32404
32421
  props: {
32405
32422
  label: {},
@@ -32414,8 +32431,8 @@ and ensure you are accounting for this risk.
32414
32431
  return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
32415
32432
  });
32416
32433
  return (_ctx, _cache) => {
32417
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
32418
- createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$G),
32434
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
32435
+ createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
32419
32436
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
32420
32437
  key: 0,
32421
32438
  class: "lupa-filter-clear",
@@ -32426,19 +32443,19 @@ and ensure you are accounting for this risk.
32426
32443
  };
32427
32444
  }
32428
32445
  });
32429
- const _hoisted_1$U = {
32446
+ const _hoisted_1$V = {
32430
32447
  key: 0,
32431
32448
  class: "lupa-result-page-title",
32432
32449
  "data-cy": "lupa-result-page-title"
32433
32450
  };
32434
- const _hoisted_2$F = { key: 0 };
32451
+ const _hoisted_2$G = { key: 0 };
32435
32452
  const _hoisted_3$v = {
32436
32453
  key: 1,
32437
32454
  class: "lupa-results-total-count"
32438
32455
  };
32439
32456
  const _hoisted_4$m = { class: "lupa-results-total-count-number" };
32440
32457
  const _hoisted_5$f = ["innerHTML"];
32441
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32458
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32442
32459
  __name: "SearchResultsTitle",
32443
32460
  props: {
32444
32461
  options: {},
@@ -32481,16 +32498,16 @@ and ensure you are accounting for this risk.
32481
32498
  });
32482
32499
  return (_ctx, _cache) => {
32483
32500
  return openBlock(), createElementBlock("div", null, [
32484
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$U, [
32501
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$V, [
32485
32502
  createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
32486
- queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$F, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
32503
+ queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$G, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
32487
32504
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$v, [
32488
32505
  createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
32489
32506
  createBaseVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
32490
32507
  _cache[0] || (_cache[0] = createTextVNode(")"))
32491
32508
  ])) : createCommentVNode("", true)
32492
32509
  ])) : createCommentVNode("", true),
32493
- _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$10, {
32510
+ _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$11, {
32494
32511
  key: 1,
32495
32512
  label: summaryLabel.value
32496
32513
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -32503,15 +32520,15 @@ and ensure you are accounting for this risk.
32503
32520
  };
32504
32521
  }
32505
32522
  });
32506
- const _hoisted_1$T = {
32523
+ const _hoisted_1$U = {
32507
32524
  class: "lupa-current-filter-label",
32508
32525
  "data-cy": "lupa-current-filter-label"
32509
32526
  };
32510
- const _hoisted_2$E = {
32527
+ const _hoisted_2$F = {
32511
32528
  class: "lupa-current-filter-value",
32512
32529
  "data-cy": "lupa-current-filter-value"
32513
32530
  };
32514
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32531
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32515
32532
  __name: "CurrentFilterDisplay",
32516
32533
  props: {
32517
32534
  filter: {}
@@ -32553,14 +32570,14 @@ and ensure you are accounting for this risk.
32553
32570
  onClick: handleClick,
32554
32571
  "aria-label": "Remove filter"
32555
32572
  }, "⨉"),
32556
- createBaseVNode("div", _hoisted_1$T, toDisplayString(_ctx.filter.label) + ": ", 1),
32557
- createBaseVNode("div", _hoisted_2$E, toDisplayString(formatFilterValue(props.filter)), 1)
32573
+ createBaseVNode("div", _hoisted_1$U, toDisplayString(_ctx.filter.label) + ": ", 1),
32574
+ createBaseVNode("div", _hoisted_2$F, toDisplayString(formatFilterValue(props.filter)), 1)
32558
32575
  ], 2);
32559
32576
  };
32560
32577
  }
32561
32578
  });
32562
- const _hoisted_1$S = { class: "lupa-filter-title-text" };
32563
- const _hoisted_2$D = {
32579
+ const _hoisted_1$T = { class: "lupa-filter-title-text" };
32580
+ const _hoisted_2$E = {
32564
32581
  key: 0,
32565
32582
  class: "lupa-filter-count"
32566
32583
  };
@@ -32569,7 +32586,7 @@ and ensure you are accounting for this risk.
32569
32586
  class: "filter-values"
32570
32587
  };
32571
32588
  const _hoisted_4$l = { class: "lupa-current-filter-list" };
32572
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32589
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32573
32590
  __name: "CurrentFilters",
32574
32591
  props: {
32575
32592
  options: {},
@@ -32650,9 +32667,9 @@ and ensure you are accounting for this risk.
32650
32667
  class: "lupa-current-filter-title",
32651
32668
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
32652
32669
  }, [
32653
- createBaseVNode("div", _hoisted_1$S, [
32670
+ createBaseVNode("div", _hoisted_1$T, [
32654
32671
  createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
32655
- _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$D, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
32672
+ _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$E, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
32656
32673
  ]),
32657
32674
  _ctx.expandable ? (openBlock(), createElementBlock("div", {
32658
32675
  key: 0,
@@ -32662,7 +32679,7 @@ and ensure you are accounting for this risk.
32662
32679
  !_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
32663
32680
  createBaseVNode("div", _hoisted_4$l, [
32664
32681
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
32665
- return openBlock(), createBlock(_sfc_main$_, {
32682
+ return openBlock(), createBlock(_sfc_main$$, {
32666
32683
  key: filter.key + "_" + filter.value,
32667
32684
  filter,
32668
32685
  units: units.value,
@@ -32680,8 +32697,8 @@ and ensure you are accounting for this risk.
32680
32697
  };
32681
32698
  }
32682
32699
  });
32683
- const _hoisted_1$R = ["href"];
32684
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32700
+ const _hoisted_1$S = ["href"];
32701
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32685
32702
  __name: "CategoryFilterItem",
32686
32703
  props: {
32687
32704
  options: {},
@@ -32718,20 +32735,20 @@ and ensure you are accounting for this risk.
32718
32735
  "data-cy": "lupa-child-category-item",
32719
32736
  href: urlLink.value,
32720
32737
  onClick: handleNavigation
32721
- }, toDisplayString(title.value), 9, _hoisted_1$R)
32738
+ }, toDisplayString(title.value), 9, _hoisted_1$S)
32722
32739
  ], 2);
32723
32740
  };
32724
32741
  }
32725
32742
  });
32726
- const _hoisted_1$Q = {
32743
+ const _hoisted_1$R = {
32727
32744
  class: "lupa-category-filter",
32728
32745
  "data-cy": "lupa-category-filter"
32729
32746
  };
32730
- const _hoisted_2$C = { class: "lupa-category-back" };
32747
+ const _hoisted_2$D = { class: "lupa-category-back" };
32731
32748
  const _hoisted_3$t = ["href"];
32732
32749
  const _hoisted_4$k = ["href"];
32733
32750
  const _hoisted_5$e = { class: "lupa-child-category-list" };
32734
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
32751
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32735
32752
  __name: "CategoryFilter",
32736
32753
  props: {
32737
32754
  options: {}
@@ -32819,8 +32836,8 @@ and ensure you are accounting for this risk.
32819
32836
  };
32820
32837
  __expose({ fetch: fetch2 });
32821
32838
  return (_ctx, _cache) => {
32822
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32823
- createBaseVNode("div", _hoisted_2$C, [
32839
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
32840
+ createBaseVNode("div", _hoisted_2$D, [
32824
32841
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
32825
32842
  key: 0,
32826
32843
  "data-cy": "lupa-category-back",
@@ -32840,7 +32857,7 @@ and ensure you are accounting for this risk.
32840
32857
  ], 2),
32841
32858
  createBaseVNode("div", _hoisted_5$e, [
32842
32859
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
32843
- return openBlock(), createBlock(_sfc_main$Y, {
32860
+ return openBlock(), createBlock(_sfc_main$Z, {
32844
32861
  key: getCategoryKey(child),
32845
32862
  item: child,
32846
32863
  options: _ctx.options
@@ -32851,11 +32868,11 @@ and ensure you are accounting for this risk.
32851
32868
  };
32852
32869
  }
32853
32870
  });
32854
- const _hoisted_1$P = {
32871
+ const _hoisted_1$Q = {
32855
32872
  class: "lupa-search-result-facet-term-values",
32856
32873
  "data-cy": "lupa-search-result-facet-term-values"
32857
32874
  };
32858
- const _hoisted_2$B = ["placeholder"];
32875
+ const _hoisted_2$C = ["placeholder"];
32859
32876
  const _hoisted_3$s = { class: "lupa-terms-list" };
32860
32877
  const _hoisted_4$j = ["onClick"];
32861
32878
  const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
@@ -32866,7 +32883,7 @@ and ensure you are accounting for this risk.
32866
32883
  };
32867
32884
  const _hoisted_8$2 = { key: 0 };
32868
32885
  const _hoisted_9$2 = { key: 1 };
32869
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
32886
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32870
32887
  __name: "TermFacet",
32871
32888
  props: {
32872
32889
  options: {},
@@ -32956,14 +32973,14 @@ and ensure you are accounting for this risk.
32956
32973
  }
32957
32974
  };
32958
32975
  return (_ctx, _cache) => {
32959
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
32976
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32960
32977
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
32961
32978
  key: 0,
32962
32979
  class: "lupa-term-filter",
32963
32980
  "data-cy": "lupa-term-filter",
32964
32981
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
32965
32982
  placeholder: _ctx.options.labels.facetFilter
32966
- }, null, 8, _hoisted_2$B)), [
32983
+ }, null, 8, _hoisted_2$C)), [
32967
32984
  [vModelText, termFilter.value]
32968
32985
  ]) : createCommentVNode("", true),
32969
32986
  createBaseVNode("div", _hoisted_3$s, [
@@ -33893,8 +33910,8 @@ and ensure you are accounting for this risk.
33893
33910
  m.render = function(e2, t, r, i, n, o) {
33894
33911
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
33895
33912
  }, m.__file = "src/Slider.vue";
33896
- const _hoisted_1$O = { class: "lupa-search-result-facet-stats-values" };
33897
- const _hoisted_2$A = {
33913
+ const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
33914
+ const _hoisted_2$B = {
33898
33915
  key: 0,
33899
33916
  class: "lupa-stats-facet-summary"
33900
33917
  };
@@ -33922,7 +33939,7 @@ and ensure you are accounting for this risk.
33922
33939
  key: 2,
33923
33940
  class: "lupa-stats-slider-wrapper"
33924
33941
  };
33925
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
33942
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
33926
33943
  __name: "StatsFacet",
33927
33944
  props: {
33928
33945
  options: {},
@@ -34138,8 +34155,8 @@ and ensure you are accounting for this risk.
34138
34155
  }
34139
34156
  );
34140
34157
  return (_ctx, _cache) => {
34141
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
34142
- !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$A, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
34158
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
34159
+ !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
34143
34160
  createBaseVNode("div", _hoisted_4$i, [
34144
34161
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
34145
34162
  withDirectives(createBaseVNode("input", {
@@ -34203,8 +34220,8 @@ and ensure you are accounting for this risk.
34203
34220
  };
34204
34221
  }
34205
34222
  });
34206
- const _hoisted_1$N = { class: "lupa-term-checkbox-wrapper" };
34207
- const _hoisted_2$z = { class: "lupa-term-label" };
34223
+ const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
34224
+ const _hoisted_2$A = { class: "lupa-term-label" };
34208
34225
  const _hoisted_3$q = {
34209
34226
  key: 0,
34210
34227
  class: "lupa-term-count"
@@ -34213,7 +34230,7 @@ and ensure you are accounting for this risk.
34213
34230
  key: 0,
34214
34231
  class: "lupa-facet-level"
34215
34232
  };
34216
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
34233
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34217
34234
  __name: "HierarchyFacetLevel",
34218
34235
  props: {
34219
34236
  options: {},
@@ -34267,7 +34284,7 @@ and ensure you are accounting for this risk.
34267
34284
  "data-cy": "lupa-facet-term",
34268
34285
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
34269
34286
  }, [
34270
- createBaseVNode("div", _hoisted_1$N, [
34287
+ createBaseVNode("div", _hoisted_1$O, [
34271
34288
  createBaseVNode("span", {
34272
34289
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
34273
34290
  }, null, 2)
@@ -34275,7 +34292,7 @@ and ensure you are accounting for this risk.
34275
34292
  createBaseVNode("div", {
34276
34293
  class: normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
34277
34294
  }, [
34278
- createBaseVNode("span", _hoisted_2$z, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
34295
+ createBaseVNode("span", _hoisted_2$A, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
34279
34296
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_3$q, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
34280
34297
  ], 2)
34281
34298
  ]),
@@ -34295,13 +34312,13 @@ and ensure you are accounting for this risk.
34295
34312
  };
34296
34313
  }
34297
34314
  });
34298
- const _hoisted_1$M = {
34315
+ const _hoisted_1$N = {
34299
34316
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
34300
34317
  "data-cy": "lupa-search-result-facet-term-values"
34301
34318
  };
34302
- const _hoisted_2$y = { key: 0 };
34319
+ const _hoisted_2$z = { key: 0 };
34303
34320
  const _hoisted_3$p = ["placeholder"];
34304
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
34321
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34305
34322
  __name: "HierarchyFacet",
34306
34323
  props: {
34307
34324
  options: {},
@@ -34357,8 +34374,8 @@ and ensure you are accounting for this risk.
34357
34374
  showAll.value = false;
34358
34375
  };
34359
34376
  return (_ctx, _cache) => {
34360
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
34361
- isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
34377
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
34378
+ isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
34362
34379
  withDirectives(createBaseVNode("input", {
34363
34380
  class: "lupa-term-filter",
34364
34381
  "data-cy": "lupa-term-filter",
@@ -34369,7 +34386,7 @@ and ensure you are accounting for this risk.
34369
34386
  ])
34370
34387
  ])) : createCommentVNode("", true),
34371
34388
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
34372
- return openBlock(), createBlock(_sfc_main$U, {
34389
+ return openBlock(), createBlock(_sfc_main$V, {
34373
34390
  key: item.title,
34374
34391
  options: _ctx.options,
34375
34392
  item,
@@ -34381,32 +34398,32 @@ and ensure you are accounting for this risk.
34381
34398
  }), 128)),
34382
34399
  itemLimit.value < filteredValues.value.length ? (openBlock(), createElementBlock("div", {
34383
34400
  key: 1,
34384
- class: normalizeClass(["lupa-facet-term lupa-show-more-facet-results", { "lupa-show-less-facet-results": showAll.value }]),
34401
+ class: "lupa-facet-term lupa-show-more-facet-results",
34385
34402
  "data-cy": "lupa-facet-term",
34386
34403
  onClick: handleShowAll
34387
- }, toDisplayString(_ctx.options.labels.showAll), 3)) : showAll.value ? (openBlock(), createElementBlock("div", {
34404
+ }, toDisplayString(_ctx.options.labels.showAll), 1)) : showAll.value ? (openBlock(), createElementBlock("div", {
34388
34405
  key: 2,
34389
- class: "lupa-facet-term lupa-show-more-facet-results",
34406
+ class: "lupa-facet-term lupa-show-more-facet-results lupa-show-less-facet-results",
34390
34407
  onClick: handleCancelShowAll
34391
34408
  }, toDisplayString(_ctx.options.labels.showLess), 1)) : createCommentVNode("", true)
34392
34409
  ]);
34393
34410
  };
34394
34411
  }
34395
34412
  });
34396
- const _hoisted_1$L = { class: "lupa-facet-label-text" };
34397
- const _hoisted_2$x = {
34413
+ const _hoisted_1$M = { class: "lupa-facet-label-text" };
34414
+ const _hoisted_2$y = {
34398
34415
  key: 0,
34399
34416
  class: "lupa-facet-content",
34400
34417
  "data-cy": "lupa-facet-content"
34401
34418
  };
34402
34419
  const __default__$1 = {
34403
34420
  components: {
34404
- TermFacet: _sfc_main$W,
34405
- StatsFacet: _sfc_main$V,
34406
- HierarchyFacet: _sfc_main$T
34421
+ TermFacet: _sfc_main$X,
34422
+ StatsFacet: _sfc_main$W,
34423
+ HierarchyFacet: _sfc_main$U
34407
34424
  }
34408
34425
  };
34409
- const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
34426
+ const _sfc_main$T = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
34410
34427
  __name: "FacetDisplay",
34411
34428
  props: {
34412
34429
  options: {},
@@ -34528,12 +34545,12 @@ and ensure you are accounting for this risk.
34528
34545
  "data-cy": "lupa-search-result-facet-label",
34529
34546
  onClick: toggleFacet
34530
34547
  }, [
34531
- createBaseVNode("div", _hoisted_1$L, toDisplayString(facetLabel.value), 1),
34548
+ createBaseVNode("div", _hoisted_1$M, toDisplayString(facetLabel.value), 1),
34532
34549
  createBaseVNode("div", {
34533
34550
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
34534
34551
  }, null, 2)
34535
34552
  ], 2),
34536
- isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
34553
+ isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
34537
34554
  (openBlock(), createBlock(resolveDynamicComponent(facetType.value), {
34538
34555
  facet: facet.value,
34539
34556
  currentFilters: currentFilters.value[facet.value.key],
@@ -34551,12 +34568,12 @@ and ensure you are accounting for this risk.
34551
34568
  };
34552
34569
  }
34553
34570
  }));
34554
- const _hoisted_1$K = { class: "lupa-search-result-facet-section" };
34555
- const _hoisted_2$w = {
34571
+ const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
34572
+ const _hoisted_2$x = {
34556
34573
  key: 0,
34557
34574
  class: "lupa-facets-title"
34558
34575
  };
34559
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
34576
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
34560
34577
  __name: "FacetList",
34561
34578
  props: {
34562
34579
  options: {},
@@ -34591,14 +34608,14 @@ and ensure you are accounting for this risk.
34591
34608
  };
34592
34609
  return (_ctx, _cache) => {
34593
34610
  var _a25;
34594
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
34595
- _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$w, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
34611
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
34612
+ _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
34596
34613
  createBaseVNode("div", {
34597
34614
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
34598
34615
  }, [
34599
34616
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
34600
34617
  var _a26;
34601
- return openBlock(), createBlock(_sfc_main$S, {
34618
+ return openBlock(), createBlock(_sfc_main$T, {
34602
34619
  key: facet.key,
34603
34620
  facet,
34604
34621
  currentFilters: currentFiltersValue.value,
@@ -34613,7 +34630,7 @@ and ensure you are accounting for this risk.
34613
34630
  };
34614
34631
  }
34615
34632
  });
34616
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34633
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34617
34634
  __name: "FacetsButton",
34618
34635
  props: {
34619
34636
  options: {}
@@ -34638,8 +34655,8 @@ and ensure you are accounting for this risk.
34638
34655
  };
34639
34656
  }
34640
34657
  });
34641
- const _hoisted_1$J = { class: "lupa-facets-filter-button-wrapper" };
34642
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
34658
+ const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
34659
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34643
34660
  __name: "Facets",
34644
34661
  props: {
34645
34662
  options: {},
@@ -34726,7 +34743,7 @@ and ensure you are accounting for this risk.
34726
34743
  return openBlock(), createElementBlock("div", {
34727
34744
  class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
34728
34745
  }, [
34729
- regularFacets.value ? (openBlock(), createBlock(_sfc_main$R, {
34746
+ regularFacets.value ? (openBlock(), createBlock(_sfc_main$S, {
34730
34747
  key: 0,
34731
34748
  options: _ctx.options,
34732
34749
  facets: regularFacets.value,
@@ -34736,8 +34753,8 @@ and ensure you are accounting for this risk.
34736
34753
  onSelect: handleFacetSelect,
34737
34754
  onClear: clear
34738
34755
  }, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
34739
- createBaseVNode("div", _hoisted_1$J, [
34740
- showFilterButton.value ? (openBlock(), createBlock(_sfc_main$Q, {
34756
+ createBaseVNode("div", _hoisted_1$K, [
34757
+ showFilterButton.value ? (openBlock(), createBlock(_sfc_main$R, {
34741
34758
  key: 0,
34742
34759
  options: _ctx.options,
34743
34760
  onFilter: filter
@@ -34747,12 +34764,12 @@ and ensure you are accounting for this risk.
34747
34764
  };
34748
34765
  }
34749
34766
  });
34750
- const _hoisted_1$I = {
34767
+ const _hoisted_1$J = {
34751
34768
  key: 0,
34752
34769
  id: "lupa-search-result-filters",
34753
34770
  class: "lupa-search-result-filters"
34754
34771
  };
34755
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
34772
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34756
34773
  __name: "SearchResultsFilters",
34757
34774
  props: {
34758
34775
  options: {},
@@ -34790,19 +34807,19 @@ and ensure you are accounting for this risk.
34790
34807
  __expose({ fetch: fetch2 });
34791
34808
  return (_ctx, _cache) => {
34792
34809
  var _a25;
34793
- return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
34794
- showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Z, {
34810
+ return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
34811
+ showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$_, {
34795
34812
  key: 0,
34796
34813
  options: _ctx.options.currentFilters,
34797
34814
  expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
34798
34815
  }, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
34799
- _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$X, {
34816
+ _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Y, {
34800
34817
  key: 1,
34801
34818
  options: _ctx.options.categories,
34802
34819
  ref_key: "categoryFilters",
34803
34820
  ref: categoryFilters
34804
34821
  }, null, 8, ["options"])) : createCommentVNode("", true),
34805
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$P, {
34822
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
34806
34823
  key: 2,
34807
34824
  options: _ctx.options.facets,
34808
34825
  onFilter: filter
@@ -34811,11 +34828,11 @@ and ensure you are accounting for this risk.
34811
34828
  };
34812
34829
  }
34813
34830
  });
34814
- const _hoisted_1$H = {
34831
+ const _hoisted_1$I = {
34815
34832
  key: 0,
34816
34833
  class: "lupa-mobile-filter-sidebar"
34817
34834
  };
34818
- const _hoisted_2$v = { class: "lupa-mobile-sidebar-content" };
34835
+ const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
34819
34836
  const _hoisted_3$o = { class: "lupa-sidebar-top" };
34820
34837
  const _hoisted_4$g = { class: "lupa-sidebar-title" };
34821
34838
  const _hoisted_5$b = {
@@ -34823,7 +34840,7 @@ and ensure you are accounting for this risk.
34823
34840
  class: "lupa-sidebar-filter-count"
34824
34841
  };
34825
34842
  const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
34826
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
34843
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34827
34844
  __name: "MobileFilterSidebar",
34828
34845
  props: {
34829
34846
  options: {}
@@ -34855,12 +34872,12 @@ and ensure you are accounting for this risk.
34855
34872
  handleMobileToggle();
34856
34873
  };
34857
34874
  return (_ctx, _cache) => {
34858
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
34875
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
34859
34876
  createBaseVNode("div", {
34860
34877
  class: "lupa-sidebar-close",
34861
34878
  onClick: withModifiers(handleMobileToggle, ["stop"])
34862
34879
  }),
34863
- createBaseVNode("div", _hoisted_2$v, [
34880
+ createBaseVNode("div", _hoisted_2$w, [
34864
34881
  createBaseVNode("div", _hoisted_3$o, [
34865
34882
  createBaseVNode("div", _hoisted_4$g, [
34866
34883
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
@@ -34872,7 +34889,7 @@ and ensure you are accounting for this risk.
34872
34889
  })
34873
34890
  ]),
34874
34891
  createBaseVNode("div", _hoisted_6$5, [
34875
- createVNode(_sfc_main$O, {
34892
+ createVNode(_sfc_main$P, {
34876
34893
  options: _ctx.options,
34877
34894
  expandable: isActiveFiltersExpanded.value,
34878
34895
  onFilter: filter
@@ -34883,14 +34900,14 @@ and ensure you are accounting for this risk.
34883
34900
  };
34884
34901
  }
34885
34902
  });
34886
- const _hoisted_1$G = { id: "lupa-search-results-breadcrumbs" };
34887
- const _hoisted_2$u = ["href", "onClick"];
34903
+ const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
34904
+ const _hoisted_2$v = ["href", "onClick"];
34888
34905
  const _hoisted_3$n = {
34889
34906
  key: 1,
34890
34907
  class: "lupa-search-results-breadcrumb-text"
34891
34908
  };
34892
34909
  const _hoisted_4$f = { key: 2 };
34893
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
34910
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34894
34911
  __name: "SearchResultsBreadcrumbs",
34895
34912
  props: {
34896
34913
  breadcrumbs: {}
@@ -34915,7 +34932,7 @@ and ensure you are accounting for this risk.
34915
34932
  handleRoutingEvent(link, event, hasEventRouting.value);
34916
34933
  };
34917
34934
  return (_ctx, _cache) => {
34918
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
34935
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
34919
34936
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
34920
34937
  var _a25;
34921
34938
  return openBlock(), createElementBlock("span", {
@@ -34930,7 +34947,7 @@ and ensure you are accounting for this risk.
34930
34947
  var _a26;
34931
34948
  return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
34932
34949
  }
34933
- }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$u)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
34950
+ }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
34934
34951
  index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
34935
34952
  ]);
34936
34953
  }), 128))
@@ -34938,12 +34955,12 @@ and ensure you are accounting for this risk.
34938
34955
  };
34939
34956
  }
34940
34957
  });
34941
- const _hoisted_1$F = {
34958
+ const _hoisted_1$G = {
34942
34959
  key: 0,
34943
34960
  id: "lupa-search-result-filters",
34944
34961
  class: "lupa-search-result-filters lupa-search-result-top-filters"
34945
34962
  };
34946
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
34963
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34947
34964
  __name: "FiltersTopDropdown",
34948
34965
  props: {
34949
34966
  options: {}
@@ -34961,8 +34978,8 @@ and ensure you are accounting for this risk.
34961
34978
  });
34962
34979
  return (_ctx, _cache) => {
34963
34980
  var _a25;
34964
- return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
34965
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$P, {
34981
+ return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
34982
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
34966
34983
  key: 0,
34967
34984
  options: _ctx.options.facets,
34968
34985
  "facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
@@ -34973,8 +34990,8 @@ and ensure you are accounting for this risk.
34973
34990
  };
34974
34991
  }
34975
34992
  });
34976
- const _hoisted_1$E = { id: "lupa-search-results-layout-selection" };
34977
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
34993
+ const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
34994
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34978
34995
  __name: "SearchResultsLayoutSelection",
34979
34996
  setup(__props) {
34980
34997
  const searchResultStore = useSearchResultStore();
@@ -34985,7 +35002,7 @@ and ensure you are accounting for this risk.
34985
35002
  searchResultStore.setLayout(layout2);
34986
35003
  };
34987
35004
  return (_ctx, _cache) => {
34988
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
35005
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
34989
35006
  createBaseVNode("div", {
34990
35007
  class: normalizeClass([
34991
35008
  "lupa-layout-selection-grid",
@@ -35007,11 +35024,11 @@ and ensure you are accounting for this risk.
35007
35024
  };
35008
35025
  }
35009
35026
  });
35010
- const _hoisted_1$D = {
35027
+ const _hoisted_1$E = {
35011
35028
  key: 0,
35012
35029
  class: "lupa-mobile-toggle-filter-count"
35013
35030
  };
35014
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
35031
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35015
35032
  __name: "SearchResultsMobileToggle",
35016
35033
  props: {
35017
35034
  labels: {},
@@ -35059,12 +35076,12 @@ and ensure you are accounting for this risk.
35059
35076
  onClick: handleMobileToggle
35060
35077
  }, [
35061
35078
  createTextVNode(toDisplayString(label.value) + " ", 1),
35062
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
35079
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
35063
35080
  ], 2);
35064
35081
  };
35065
35082
  }
35066
35083
  });
35067
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
35084
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35068
35085
  __name: "SearchResultsMobileFilterClose",
35069
35086
  props: {
35070
35087
  label: {}
@@ -35084,12 +35101,12 @@ and ensure you are accounting for this risk.
35084
35101
  };
35085
35102
  }
35086
35103
  });
35087
- const _hoisted_1$C = {
35104
+ const _hoisted_1$D = {
35088
35105
  key: 0,
35089
35106
  id: "lupa-search-results-page-select",
35090
35107
  "data-cy": "lupa-search-results-page-select"
35091
35108
  };
35092
- const _hoisted_2$t = {
35109
+ const _hoisted_2$u = {
35093
35110
  key: 0,
35094
35111
  class: "lupa-page-number-separator"
35095
35112
  };
@@ -35098,7 +35115,7 @@ and ensure you are accounting for this risk.
35098
35115
  key: 0,
35099
35116
  class: "lupa-page-number-separator"
35100
35117
  };
35101
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
35118
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
35102
35119
  __name: "SearchResultsPageSelect",
35103
35120
  props: {
35104
35121
  lastPageLabel: {},
@@ -35175,7 +35192,7 @@ and ensure you are accounting for this risk.
35175
35192
  }
35176
35193
  };
35177
35194
  return (_ctx, _cache) => {
35178
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
35195
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
35179
35196
  showBack.value ? (openBlock(), createElementBlock("div", {
35180
35197
  key: 0,
35181
35198
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -35186,7 +35203,7 @@ and ensure you are accounting for this risk.
35186
35203
  class: "lupa-page-number lupa-page-number-first",
35187
35204
  onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
35188
35205
  }, " 1 "),
35189
- showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$t, "...")) : createCommentVNode("", true)
35206
+ showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$u, "...")) : createCommentVNode("", true)
35190
35207
  ], 64)) : createCommentVNode("", true),
35191
35208
  (openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
35192
35209
  return openBlock(), createElementBlock("div", {
@@ -35219,15 +35236,18 @@ and ensure you are accounting for this risk.
35219
35236
  };
35220
35237
  }
35221
35238
  });
35222
- const _hoisted_1$B = {
35239
+ const _hoisted_1$C = {
35223
35240
  id: "lupa-search-results-page-size",
35224
35241
  "data-cy": "lupa-search-results-page-size"
35225
35242
  };
35226
- const _hoisted_2$s = { id: "lupa-select" };
35227
- const _hoisted_3$l = { class: "lupa-select-label" };
35243
+ const _hoisted_2$t = { id: "lupa-select" };
35244
+ const _hoisted_3$l = {
35245
+ class: "lupa-select-label",
35246
+ for: "lupa-page-size-select-dropdown"
35247
+ };
35228
35248
  const _hoisted_4$d = ["aria-label"];
35229
35249
  const _hoisted_5$a = ["value"];
35230
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
35250
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35231
35251
  __name: "SearchResultsPageSize",
35232
35252
  props: {
35233
35253
  labels: {},
@@ -35237,6 +35257,7 @@ and ensure you are accounting for this risk.
35237
35257
  const props = __props;
35238
35258
  const paramsStore = useParamsStore();
35239
35259
  const optionsStore = useOptionsStore();
35260
+ const { ariaLabels } = storeToRefs(optionsStore);
35240
35261
  const select = ref(null);
35241
35262
  const prefixLabel = computed(() => {
35242
35263
  var _a25, _b25;
@@ -35255,12 +35276,14 @@ and ensure you are accounting for this risk.
35255
35276
  });
35256
35277
  };
35257
35278
  return (_ctx, _cache) => {
35258
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
35259
- createBaseVNode("div", _hoisted_2$s, [
35279
+ var _a25, _b25, _c;
35280
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
35281
+ createBaseVNode("div", _hoisted_2$t, [
35260
35282
  createBaseVNode("label", _hoisted_3$l, toDisplayString(label.value), 1),
35261
35283
  createBaseVNode("select", {
35284
+ id: "lupa-page-size-select-dropdown",
35262
35285
  class: "lupa-select-dropdown",
35263
- "aria-label": label.value,
35286
+ "aria-label": (_c = (_b25 = (_a25 = unref(ariaLabels)) == null ? void 0 : _a25.pageSizeSelect) != null ? _b25 : label.value) != null ? _c : "Select page size",
35264
35287
  "data-cy": "lupa-page-size-select-dropdown",
35265
35288
  onChange: handleSelect,
35266
35289
  ref_key: "select",
@@ -35278,15 +35301,18 @@ and ensure you are accounting for this risk.
35278
35301
  };
35279
35302
  }
35280
35303
  });
35281
- const _hoisted_1$A = {
35304
+ const _hoisted_1$B = {
35282
35305
  id: "lupa-search-results-sort",
35283
35306
  class: "lupa-search-results-sort"
35284
35307
  };
35285
- const _hoisted_2$r = { id: "lupa-select" };
35286
- const _hoisted_3$k = { class: "lupa-select-label" };
35308
+ const _hoisted_2$s = { id: "lupa-select" };
35309
+ const _hoisted_3$k = {
35310
+ class: "lupa-select-label",
35311
+ for: "lupa-sort-select-dropdown"
35312
+ };
35287
35313
  const _hoisted_4$c = ["aria-label"];
35288
35314
  const _hoisted_5$9 = ["value"];
35289
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
35315
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35290
35316
  __name: "SearchResultsSort",
35291
35317
  props: {
35292
35318
  options: {},
@@ -35297,6 +35323,7 @@ and ensure you are accounting for this risk.
35297
35323
  const paramStore = useParamsStore();
35298
35324
  const optionStore = useOptionsStore();
35299
35325
  const { sort } = storeToRefs(paramStore);
35326
+ const { ariaLabels } = storeToRefs(optionStore);
35300
35327
  const selectedKey = ref("");
35301
35328
  const previousKey = ref("");
35302
35329
  const sortItems = computed(() => {
@@ -35335,12 +35362,14 @@ and ensure you are accounting for this risk.
35335
35362
  previousKey.value = selectedKey.value;
35336
35363
  };
35337
35364
  return (_ctx, _cache) => {
35338
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
35339
- createBaseVNode("div", _hoisted_2$r, [
35365
+ var _a25, _b25;
35366
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
35367
+ createBaseVNode("div", _hoisted_2$s, [
35340
35368
  createBaseVNode("label", _hoisted_3$k, toDisplayString(_ctx.options.label), 1),
35341
35369
  withDirectives(createBaseVNode("select", {
35370
+ id: "lupa-sort-select-dropdown",
35342
35371
  class: "lupa-select-dropdown",
35343
- "aria-label": _ctx.options.label,
35372
+ "aria-label": (_b25 = (_a25 = unref(ariaLabels)) == null ? void 0 : _a25.sortBySelect) != null ? _b25 : _ctx.options.label,
35344
35373
  "data-cy": "lupa-sort-select-dropdown",
35345
35374
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedKey.value = $event),
35346
35375
  onChange: handleSelect,
@@ -35360,8 +35389,8 @@ and ensure you are accounting for this risk.
35360
35389
  };
35361
35390
  }
35362
35391
  });
35363
- const _hoisted_1$z = { class: "lupa-toolbar-left" };
35364
- const _hoisted_2$q = {
35392
+ const _hoisted_1$A = { class: "lupa-toolbar-left" };
35393
+ const _hoisted_2$r = {
35365
35394
  key: 0,
35366
35395
  class: "lupa-toolbar-right-title"
35367
35396
  };
@@ -35375,7 +35404,7 @@ and ensure you are accounting for this risk.
35375
35404
  };
35376
35405
  const _hoisted_8 = { key: 2 };
35377
35406
  const _hoisted_9 = { key: 4 };
35378
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
35407
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35379
35408
  __name: "SearchResultsToolbar",
35380
35409
  props: {
35381
35410
  options: {},
@@ -35486,16 +35515,16 @@ and ensure you are accounting for this risk.
35486
35515
  id: "lupa-search-results-toolbar",
35487
35516
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
35488
35517
  }, [
35489
- createBaseVNode("div", _hoisted_1$z, [
35490
- toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$q, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
35491
- showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$K, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
35492
- showItemSummary.value ? (openBlock(), createBlock(_sfc_main$10, {
35518
+ createBaseVNode("div", _hoisted_1$A, [
35519
+ toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
35520
+ showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$L, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
35521
+ showItemSummary.value ? (openBlock(), createBlock(_sfc_main$11, {
35493
35522
  key: 3,
35494
35523
  label: searchSummaryLabel.value,
35495
35524
  clearable: unref(hasAnyFilter) && showFilterClear.value,
35496
35525
  onClear: handleClearAll
35497
35526
  }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
35498
- displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$H, {
35527
+ displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$I, {
35499
35528
  key: 5,
35500
35529
  options: paginationOptions.value.pageSelect,
35501
35530
  "last-page-label": paginationOptions.value.labels.showMore,
@@ -35504,21 +35533,21 @@ and ensure you are accounting for this risk.
35504
35533
  ]),
35505
35534
  createBaseVNode("div", _hoisted_6$4, [
35506
35535
  toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
35507
- createVNode(_sfc_main$J, {
35536
+ createVNode(_sfc_main$K, {
35508
35537
  labels: optionsValue.value.labels,
35509
35538
  "show-filter-count": showMobileFilterCount.value
35510
35539
  }, null, 8, ["labels", "show-filter-count"]),
35511
- paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$G, {
35540
+ paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$H, {
35512
35541
  key: 1,
35513
35542
  options: paginationOptions.value.pageSize,
35514
35543
  labels: paginationOptions.value.labels
35515
35544
  }, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
35516
- sortOptions.value ? (openBlock(), createBlock(_sfc_main$F, {
35545
+ sortOptions.value ? (openBlock(), createBlock(_sfc_main$G, {
35517
35546
  key: 3,
35518
35547
  options: sortOptions.value,
35519
35548
  callbacks: callbacks.value
35520
35549
  }, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
35521
- showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$I, {
35550
+ showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$J, {
35522
35551
  key: 5,
35523
35552
  label: optionsValue.value.labels.mobileFilterCloseButton
35524
35553
  }, null, 8, ["label"])) : createCommentVNode("", true)
@@ -35527,7 +35556,7 @@ and ensure you are accounting for this risk.
35527
35556
  };
35528
35557
  }
35529
35558
  });
35530
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
35559
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35531
35560
  __name: "SearchResultsProductImage",
35532
35561
  props: {
35533
35562
  item: {},
@@ -35535,7 +35564,7 @@ and ensure you are accounting for this risk.
35535
35564
  },
35536
35565
  setup(__props) {
35537
35566
  return (_ctx, _cache) => {
35538
- return openBlock(), createBlock(_sfc_main$1p, {
35567
+ return openBlock(), createBlock(_sfc_main$1q, {
35539
35568
  item: _ctx.item,
35540
35569
  options: _ctx.options,
35541
35570
  "wrapper-class": "lupa-search-results-image-wrapper",
@@ -35544,8 +35573,8 @@ and ensure you are accounting for this risk.
35544
35573
  };
35545
35574
  }
35546
35575
  });
35547
- const _hoisted_1$y = ["title", "innerHTML"];
35548
- const _hoisted_2$p = ["title"];
35576
+ const _hoisted_1$z = ["title", "innerHTML"];
35577
+ const _hoisted_2$q = ["title"];
35549
35578
  const _hoisted_3$i = ["href", "innerHTML"];
35550
35579
  const _hoisted_4$a = ["title"];
35551
35580
  const _hoisted_5$7 = {
@@ -35553,7 +35582,7 @@ and ensure you are accounting for this risk.
35553
35582
  class: "lupa-search-results-product-title-text"
35554
35583
  };
35555
35584
  const _hoisted_6$3 = ["href"];
35556
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
35585
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35557
35586
  __name: "SearchResultsProductTitle",
35558
35587
  props: {
35559
35588
  item: {},
@@ -35590,7 +35619,7 @@ and ensure you are accounting for this risk.
35590
35619
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
35591
35620
  title: sanitizedTitle.value,
35592
35621
  innerHTML: sanitizedTitle.value
35593
- }, null, 12, _hoisted_1$y)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
35622
+ }, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
35594
35623
  key: 1,
35595
35624
  class: "lupa-search-results-product-title",
35596
35625
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -35602,7 +35631,7 @@ and ensure you are accounting for this risk.
35602
35631
  innerHTML: sanitizedTitle.value,
35603
35632
  onClick: handleNavigation
35604
35633
  }, null, 8, _hoisted_3$i)
35605
- ], 12, _hoisted_2$p)) : (openBlock(), createElementBlock("div", {
35634
+ ], 12, _hoisted_2$q)) : (openBlock(), createElementBlock("div", {
35606
35635
  key: 2,
35607
35636
  class: "lupa-search-results-product-title",
35608
35637
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -35619,8 +35648,8 @@ and ensure you are accounting for this risk.
35619
35648
  };
35620
35649
  }
35621
35650
  });
35622
- const _hoisted_1$x = ["innerHTML"];
35623
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
35651
+ const _hoisted_1$y = ["innerHTML"];
35652
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35624
35653
  __name: "SearchResultsProductDescription",
35625
35654
  props: {
35626
35655
  item: {},
@@ -35647,7 +35676,7 @@ and ensure you are accounting for this risk.
35647
35676
  class: "lupa-search-results-product-description",
35648
35677
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
35649
35678
  innerHTML: sanitizedDescription.value
35650
- }, null, 12, _hoisted_1$x)) : (openBlock(), createElementBlock("div", {
35679
+ }, null, 12, _hoisted_1$y)) : (openBlock(), createElementBlock("div", {
35651
35680
  key: 1,
35652
35681
  class: "lupa-search-results-product-description",
35653
35682
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -35655,15 +35684,15 @@ and ensure you are accounting for this risk.
35655
35684
  };
35656
35685
  }
35657
35686
  });
35658
- const _hoisted_1$w = { id: "lupa-search-results-rating" };
35659
- const _hoisted_2$o = { class: "lupa-ratings" };
35687
+ const _hoisted_1$x = { id: "lupa-search-results-rating" };
35688
+ const _hoisted_2$p = { class: "lupa-ratings" };
35660
35689
  const _hoisted_3$h = { class: "lupa-ratings-base" };
35661
35690
  const _hoisted_4$9 = ["innerHTML"];
35662
35691
  const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
35663
35692
  const _hoisted_6$2 = ["innerHTML"];
35664
35693
  const _hoisted_7$1 = ["href"];
35665
35694
  const STAR_COUNT = 5;
35666
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
35695
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35667
35696
  __name: "SearchResultsProductRating",
35668
35697
  props: {
35669
35698
  item: {},
@@ -35700,8 +35729,8 @@ and ensure you are accounting for this risk.
35700
35729
  return generateLink(props.options.links.ratingDetails, props.item);
35701
35730
  });
35702
35731
  return (_ctx, _cache) => {
35703
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
35704
- createBaseVNode("div", _hoisted_2$o, [
35732
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
35733
+ createBaseVNode("div", _hoisted_2$p, [
35705
35734
  createBaseVNode("div", _hoisted_3$h, [
35706
35735
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
35707
35736
  return openBlock(), createElementBlock("div", {
@@ -35734,11 +35763,11 @@ and ensure you are accounting for this risk.
35734
35763
  };
35735
35764
  }
35736
35765
  });
35737
- const _hoisted_1$v = {
35766
+ const _hoisted_1$w = {
35738
35767
  class: "lupa-search-results-product-regular-price",
35739
35768
  "data-cy": "lupa-search-results-product-regular-price"
35740
35769
  };
35741
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
35770
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35742
35771
  __name: "SearchResultsProductRegularPrice",
35743
35772
  props: {
35744
35773
  item: {},
@@ -35760,11 +35789,11 @@ and ensure you are accounting for this risk.
35760
35789
  );
35761
35790
  });
35762
35791
  return (_ctx, _cache) => {
35763
- return openBlock(), createElementBlock("div", _hoisted_1$v, toDisplayString(price.value), 1);
35792
+ return openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString(price.value), 1);
35764
35793
  };
35765
35794
  }
35766
35795
  });
35767
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
35796
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
35768
35797
  __name: "SearchResultsProductPrice",
35769
35798
  props: {
35770
35799
  item: {},
@@ -35798,12 +35827,12 @@ and ensure you are accounting for this risk.
35798
35827
  };
35799
35828
  }
35800
35829
  });
35801
- const _hoisted_1$u = { class: "lupa-search-results-add-to-cart-wrapper" };
35802
- const _hoisted_2$n = { class: "lupa-search-results-product-addtocart" };
35830
+ const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
35831
+ const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
35803
35832
  const _hoisted_3$g = ["disabled"];
35804
35833
  const _hoisted_4$8 = ["href"];
35805
35834
  const _hoisted_5$5 = ["id", "disabled"];
35806
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
35835
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35807
35836
  __name: "SearchResultsProductAddToCart",
35808
35837
  props: {
35809
35838
  item: {},
@@ -35855,8 +35884,8 @@ and ensure you are accounting for this risk.
35855
35884
  loading.value = false;
35856
35885
  });
35857
35886
  return (_ctx, _cache) => {
35858
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
35859
- createBaseVNode("div", _hoisted_2$n, [
35887
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
35888
+ createBaseVNode("div", _hoisted_2$o, [
35860
35889
  hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
35861
35890
  key: 0,
35862
35891
  class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
@@ -35878,12 +35907,12 @@ and ensure you are accounting for this risk.
35878
35907
  };
35879
35908
  }
35880
35909
  });
35881
- const _hoisted_1$t = ["innerHTML"];
35882
- const _hoisted_2$m = { key: 0 };
35910
+ const _hoisted_1$u = ["innerHTML"];
35911
+ const _hoisted_2$n = { key: 0 };
35883
35912
  const _hoisted_3$f = { key: 1 };
35884
35913
  const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
35885
35914
  const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
35886
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
35915
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35887
35916
  __name: "SearchResultsProductCustom",
35888
35917
  props: {
35889
35918
  item: {},
@@ -35921,11 +35950,11 @@ and ensure you are accounting for this risk.
35921
35950
  key: 0,
35922
35951
  class: className.value,
35923
35952
  innerHTML: text.value
35924
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t)) : (openBlock(), createElementBlock("div", mergeProps({
35953
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$u)) : (openBlock(), createElementBlock("div", mergeProps({
35925
35954
  key: 1,
35926
35955
  class: className.value
35927
35956
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
35928
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
35957
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
35929
35958
  createBaseVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
35930
35959
  createBaseVNode("div", _hoisted_5$4, toDisplayString(text.value), 1)
35931
35960
  ]))
@@ -35933,8 +35962,8 @@ and ensure you are accounting for this risk.
35933
35962
  };
35934
35963
  }
35935
35964
  });
35936
- const _hoisted_1$s = ["innerHTML"];
35937
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
35965
+ const _hoisted_1$t = ["innerHTML"];
35966
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35938
35967
  __name: "SearchResultsProductCustomHtmlElement",
35939
35968
  props: {
35940
35969
  item: {},
@@ -35966,15 +35995,15 @@ and ensure you are accounting for this risk.
35966
35995
  return openBlock(), createElementBlock("div", mergeProps({
35967
35996
  class: className.value,
35968
35997
  innerHTML: text.value
35969
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$s);
35998
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t);
35970
35999
  };
35971
36000
  }
35972
36001
  });
35973
- const _hoisted_1$r = { id: "lupa-search-results-rating" };
35974
- const _hoisted_2$l = ["innerHTML"];
36002
+ const _hoisted_1$s = { id: "lupa-search-results-rating" };
36003
+ const _hoisted_2$m = ["innerHTML"];
35975
36004
  const _hoisted_3$e = { class: "lupa-ratings" };
35976
36005
  const _hoisted_4$6 = ["href"];
35977
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
36006
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35978
36007
  __name: "SearchResultsProductSingleStarRating",
35979
36008
  props: {
35980
36009
  item: {},
@@ -36002,11 +36031,11 @@ and ensure you are accounting for this risk.
36002
36031
  return RATING_STAR_HTML;
36003
36032
  });
36004
36033
  return (_ctx, _cache) => {
36005
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
36034
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
36006
36035
  createBaseVNode("div", {
36007
36036
  innerHTML: star.value,
36008
36037
  class: "lupa-rating lupa-rating-highlighted"
36009
- }, null, 8, _hoisted_2$l),
36038
+ }, null, 8, _hoisted_2$m),
36010
36039
  createBaseVNode("div", _hoisted_3$e, toDisplayString(rating.value), 1),
36011
36040
  createBaseVNode("a", {
36012
36041
  href: ratingLink.value,
@@ -36018,19 +36047,19 @@ and ensure you are accounting for this risk.
36018
36047
  });
36019
36048
  const __default__ = {
36020
36049
  components: {
36021
- SearchResultsProductImage: _sfc_main$D,
36022
- SearchResultsProductTitle: _sfc_main$C,
36023
- SearchResultsProductDescription: _sfc_main$B,
36024
- SearchResultsProductRating: _sfc_main$A,
36025
- SearchResultsProductRegularPrice: _sfc_main$z,
36026
- SearchResultsProductPrice: _sfc_main$y,
36027
- SearchResultsProductAddToCart: _sfc_main$x,
36028
- SearchResultsProductCustom: _sfc_main$w,
36029
- SearchResultsProductCustomHtmlElement: _sfc_main$v,
36030
- SearchResultsProductSingleStarRating: _sfc_main$u
36031
- }
36032
- };
36033
- const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
36050
+ SearchResultsProductImage: _sfc_main$E,
36051
+ SearchResultsProductTitle: _sfc_main$D,
36052
+ SearchResultsProductDescription: _sfc_main$C,
36053
+ SearchResultsProductRating: _sfc_main$B,
36054
+ SearchResultsProductRegularPrice: _sfc_main$A,
36055
+ SearchResultsProductPrice: _sfc_main$z,
36056
+ SearchResultsProductAddToCart: _sfc_main$y,
36057
+ SearchResultsProductCustom: _sfc_main$x,
36058
+ SearchResultsProductCustomHtmlElement: _sfc_main$w,
36059
+ SearchResultsProductSingleStarRating: _sfc_main$v
36060
+ }
36061
+ };
36062
+ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
36034
36063
  __name: "SearchResultsProductCardElement",
36035
36064
  props: {
36036
36065
  item: {},
@@ -36108,13 +36137,13 @@ and ensure you are accounting for this risk.
36108
36137
  };
36109
36138
  }
36110
36139
  }));
36111
- const _hoisted_1$q = ["href"];
36112
- const _hoisted_2$k = {
36140
+ const _hoisted_1$r = ["href"];
36141
+ const _hoisted_2$l = {
36113
36142
  key: 0,
36114
36143
  class: "lupa-out-of-stock"
36115
36144
  };
36116
36145
  const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
36117
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
36146
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
36118
36147
  __name: "SearchResultsProductCard",
36119
36148
  props: {
36120
36149
  product: {},
@@ -36290,7 +36319,7 @@ and ensure you are accounting for this risk.
36290
36319
  default: withCtx(() => {
36291
36320
  var _a25;
36292
36321
  return [
36293
- createVNode(_sfc_main$19, { options: badgesOptions.value }, null, 8, ["options"]),
36322
+ createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
36294
36323
  createBaseVNode("div", {
36295
36324
  class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
36296
36325
  }, [
@@ -36300,7 +36329,7 @@ and ensure you are accounting for this risk.
36300
36329
  onClick: handleNavigation
36301
36330
  }, [
36302
36331
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
36303
- return openBlock(), createBlock(_sfc_main$t, {
36332
+ return openBlock(), createBlock(_sfc_main$u, {
36304
36333
  class: "lupa-search-results-product-element",
36305
36334
  item: _ctx.product,
36306
36335
  element,
@@ -36311,16 +36340,16 @@ and ensure you are accounting for this risk.
36311
36340
  onProductEvent: handleProductEvent
36312
36341
  }, null, 8, ["item", "element", "labels", "inStock", "link"]);
36313
36342
  }), 128)),
36314
- createVNode(_sfc_main$19, {
36343
+ createVNode(_sfc_main$1a, {
36315
36344
  options: badgesOptions.value,
36316
36345
  position: "image",
36317
36346
  class: "lupa-image-badges"
36318
36347
  }, null, 8, ["options"]),
36319
- ((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$k, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
36320
- ], 8, _hoisted_1$q),
36348
+ ((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$l, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
36349
+ ], 8, _hoisted_1$r),
36321
36350
  createBaseVNode("div", _hoisted_3$d, [
36322
36351
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
36323
- return openBlock(), createBlock(_sfc_main$t, {
36352
+ return openBlock(), createBlock(_sfc_main$u, {
36324
36353
  class: "lupa-search-results-product-element",
36325
36354
  item: _ctx.product,
36326
36355
  element,
@@ -36338,7 +36367,7 @@ and ensure you are accounting for this risk.
36338
36367
  class: normalizeClass("lupa-element-group-" + group)
36339
36368
  }, [
36340
36369
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
36341
- return openBlock(), createBlock(_sfc_main$t, {
36370
+ return openBlock(), createBlock(_sfc_main$u, {
36342
36371
  class: "lupa-search-results-product-element",
36343
36372
  item: _ctx.product,
36344
36373
  element,
@@ -36359,11 +36388,11 @@ and ensure you are accounting for this risk.
36359
36388
  };
36360
36389
  }
36361
36390
  });
36362
- const _hoisted_1$p = {
36391
+ const _hoisted_1$q = {
36363
36392
  id: "lupa-search-results-similar-queries",
36364
36393
  "data-cy": "lupa-search-results-similar-queries"
36365
36394
  };
36366
- const _hoisted_2$j = { class: "lupa-similar-queries-label" };
36395
+ const _hoisted_2$k = { class: "lupa-similar-queries-label" };
36367
36396
  const _hoisted_3$c = {
36368
36397
  class: "lupa-similar-query-label",
36369
36398
  "data-cy": "lupa-similar-query-label"
@@ -36375,7 +36404,7 @@ and ensure you are accounting for this risk.
36375
36404
  class: "lupa-products",
36376
36405
  "data-cy": "lupa-products"
36377
36406
  };
36378
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
36407
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36379
36408
  __name: "SearchResultsSimilarQueries",
36380
36409
  props: {
36381
36410
  labels: {},
@@ -36413,8 +36442,8 @@ and ensure you are accounting for this risk.
36413
36442
  };
36414
36443
  };
36415
36444
  return (_ctx, _cache) => {
36416
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
36417
- createBaseVNode("div", _hoisted_2$j, toDisplayString(_ctx.labels.similarQueries), 1),
36445
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
36446
+ createBaseVNode("div", _hoisted_2$k, toDisplayString(_ctx.labels.similarQueries), 1),
36418
36447
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
36419
36448
  return openBlock(), createElementBlock("div", { key: index }, [
36420
36449
  createBaseVNode("div", _hoisted_3$c, [
@@ -36433,7 +36462,7 @@ and ensure you are accounting for this risk.
36433
36462
  ]),
36434
36463
  createBaseVNode("div", _hoisted_7, [
36435
36464
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
36436
- return openBlock(), createBlock(_sfc_main$s, {
36465
+ return openBlock(), createBlock(_sfc_main$t, {
36437
36466
  style: normalizeStyle(_ctx.columnSize),
36438
36467
  key: getDocumentKey(index2, product),
36439
36468
  product,
@@ -36448,15 +36477,15 @@ and ensure you are accounting for this risk.
36448
36477
  };
36449
36478
  }
36450
36479
  });
36451
- const _hoisted_1$o = {
36480
+ const _hoisted_1$p = {
36452
36481
  key: 0,
36453
36482
  class: "lupa-results-additional-panel"
36454
36483
  };
36455
- const _hoisted_2$i = {
36484
+ const _hoisted_2$j = {
36456
36485
  class: "lupa-results-additional-panel-items",
36457
36486
  "data-cy": "lupa-results-additional-panel-items"
36458
36487
  };
36459
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
36488
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36460
36489
  __name: "AdditionalPanel",
36461
36490
  props: {
36462
36491
  panel: {},
@@ -36529,10 +36558,10 @@ and ensure you are accounting for this risk.
36529
36558
  handleQueryChange();
36530
36559
  });
36531
36560
  return (_ctx, _cache) => {
36532
- return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
36533
- createBaseVNode("div", _hoisted_2$i, [
36561
+ return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
36562
+ createBaseVNode("div", _hoisted_2$j, [
36534
36563
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
36535
- return openBlock(), createBlock(_sfc_main$s, {
36564
+ return openBlock(), createBlock(_sfc_main$t, {
36536
36565
  key: index,
36537
36566
  product: item,
36538
36567
  options: _ctx.panel,
@@ -36550,11 +36579,11 @@ and ensure you are accounting for this risk.
36550
36579
  };
36551
36580
  }
36552
36581
  });
36553
- const _hoisted_1$n = {
36582
+ const _hoisted_1$o = {
36554
36583
  key: 0,
36555
36584
  class: "lupa-results-additional-panels"
36556
36585
  };
36557
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
36586
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36558
36587
  __name: "AdditionalPanels",
36559
36588
  props: {
36560
36589
  options: {},
@@ -36571,9 +36600,9 @@ and ensure you are accounting for this risk.
36571
36600
  return locationPanels.value.length > 0;
36572
36601
  });
36573
36602
  return (_ctx, _cache) => {
36574
- return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
36603
+ return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
36575
36604
  (openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
36576
- return openBlock(), createBlock(_sfc_main$q, {
36605
+ return openBlock(), createBlock(_sfc_main$r, {
36577
36606
  key: panel.queryKey,
36578
36607
  panel,
36579
36608
  options: _ctx.sdkOptions
@@ -36590,29 +36619,29 @@ and ensure you are accounting for this risk.
36590
36619
  }
36591
36620
  return target2;
36592
36621
  };
36593
- const _sfc_main$o = {};
36594
- const _hoisted_1$m = { class: "lupa-spinner-wrapper" };
36595
- const _hoisted_2$h = { class: "lupa-spinner" };
36622
+ const _sfc_main$p = {};
36623
+ const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
36624
+ const _hoisted_2$i = { class: "lupa-spinner" };
36596
36625
  function _sfc_render(_ctx, _cache) {
36597
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
36598
- createBaseVNode("div", _hoisted_2$h, [
36626
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
36627
+ createBaseVNode("div", _hoisted_2$i, [
36599
36628
  (openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
36600
36629
  return createBaseVNode("div", { key: x });
36601
36630
  }), 64))
36602
36631
  ])
36603
36632
  ]);
36604
36633
  }
36605
- const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
36606
- const _hoisted_1$l = {
36634
+ const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
36635
+ const _hoisted_1$m = {
36607
36636
  id: "lupa-search-results-similar-results",
36608
36637
  "data-cy": "lupa-search-results-similar-results"
36609
36638
  };
36610
- const _hoisted_2$g = { class: "lupa-similar-results-label" };
36639
+ const _hoisted_2$h = { class: "lupa-similar-results-label" };
36611
36640
  const _hoisted_3$b = {
36612
36641
  class: "lupa-products",
36613
36642
  "data-cy": "lupa-products"
36614
36643
  };
36615
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
36644
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
36616
36645
  __name: "SearchResultsSimilarResults",
36617
36646
  props: {
36618
36647
  columnSize: {},
@@ -36633,11 +36662,11 @@ and ensure you are accounting for this risk.
36633
36662
  };
36634
36663
  });
36635
36664
  return (_ctx, _cache) => {
36636
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
36637
- createBaseVNode("div", _hoisted_2$g, toDisplayString(_ctx.labels.similarResultsLabel), 1),
36665
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
36666
+ createBaseVNode("div", _hoisted_2$h, toDisplayString(_ctx.labels.similarResultsLabel), 1),
36638
36667
  createBaseVNode("div", _hoisted_3$b, [
36639
36668
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
36640
- return openBlock(), createBlock(_sfc_main$s, {
36669
+ return openBlock(), createBlock(_sfc_main$t, {
36641
36670
  style: normalizeStyle(_ctx.columnSize),
36642
36671
  key: getDocumentKey(index, product),
36643
36672
  product,
@@ -36758,15 +36787,15 @@ and ensure you are accounting for this risk.
36758
36787
  return extractFacetsRelatedSource(source, searchResults2, options, activeFilters);
36759
36788
  }
36760
36789
  });
36761
- const _hoisted_1$k = { class: "lupa-related-query-item" };
36762
- const _hoisted_2$f = { class: "lupa-related-query-image" };
36790
+ const _hoisted_1$l = { class: "lupa-related-query-item" };
36791
+ const _hoisted_2$g = { class: "lupa-related-query-image" };
36763
36792
  const _hoisted_3$a = { class: "lupa-related-query-label" };
36764
36793
  const _hoisted_4$4 = { class: "lupa-related-query-title" };
36765
36794
  const _hoisted_5$2 = {
36766
36795
  key: 0,
36767
36796
  class: "lupa-related-query-count"
36768
36797
  };
36769
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
36798
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
36770
36799
  __name: "RelatedQueryPanel",
36771
36800
  props: {
36772
36801
  query: {},
@@ -36862,9 +36891,9 @@ and ensure you are accounting for this risk.
36862
36891
  });
36863
36892
  return (_ctx, _cache) => {
36864
36893
  var _a25;
36865
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
36866
- createBaseVNode("div", _hoisted_2$f, [
36867
- itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1p, {
36894
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
36895
+ createBaseVNode("div", _hoisted_2$g, [
36896
+ itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
36868
36897
  key: 0,
36869
36898
  "wrapper-class": "lupa-related-query-image-wrapper",
36870
36899
  "image-class": "lupa-related-query-image",
@@ -36880,16 +36909,16 @@ and ensure you are accounting for this risk.
36880
36909
  };
36881
36910
  }
36882
36911
  });
36883
- const _hoisted_1$j = {
36912
+ const _hoisted_1$k = {
36884
36913
  key: 0,
36885
36914
  class: "lupa-related-queries"
36886
36915
  };
36887
- const _hoisted_2$e = {
36916
+ const _hoisted_2$f = {
36888
36917
  key: 0,
36889
36918
  class: "lupa-related-queries-title"
36890
36919
  };
36891
36920
  const _hoisted_3$9 = ["onClick"];
36892
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
36921
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36893
36922
  __name: "RelatedQueries",
36894
36923
  props: {
36895
36924
  options: {}
@@ -36983,8 +37012,8 @@ and ensure you are accounting for this risk.
36983
37012
  };
36984
37013
  return (_ctx, _cache) => {
36985
37014
  var _a25, _b25, _c, _d;
36986
- return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
36987
- ((_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),
37015
+ return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
37016
+ ((_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),
36988
37017
  createBaseVNode("ul", null, [
36989
37018
  (openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
36990
37019
  return withDirectives((openBlock(), createElementBlock("li", {
@@ -36994,7 +37023,7 @@ and ensure you are accounting for this risk.
36994
37023
  createBaseVNode("a", {
36995
37024
  onClick: ($event) => handleRelatedQueryClick(query)
36996
37025
  }, [
36997
- createVNode(_sfc_main$m, {
37026
+ createVNode(_sfc_main$n, {
36998
37027
  "source-key": query.key,
36999
37028
  options: _ctx.options,
37000
37029
  query: query.value,
@@ -37038,13 +37067,13 @@ and ensure you are accounting for this risk.
37038
37067
  }
37039
37068
  return null;
37040
37069
  };
37041
- const _hoisted_1$i = {
37070
+ const _hoisted_1$j = {
37042
37071
  key: 0,
37043
37072
  class: "lupa-redirection-suggestion"
37044
37073
  };
37045
- const _hoisted_2$d = { class: "lupa-redirections-suggestion-label" };
37074
+ const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
37046
37075
  const _hoisted_3$8 = ["href"];
37047
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
37076
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
37048
37077
  __name: "RedirectionSuggestions",
37049
37078
  props: {
37050
37079
  options: {}
@@ -37067,19 +37096,19 @@ and ensure you are accounting for this risk.
37067
37096
  )
37068
37097
  );
37069
37098
  return (_ctx, _cache) => {
37070
- return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
37071
- createBaseVNode("h4", _hoisted_2$d, [
37099
+ return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
37100
+ createBaseVNode("h4", _hoisted_2$e, [
37072
37101
  createBaseVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$8)
37073
37102
  ])
37074
37103
  ])) : createCommentVNode("", true);
37075
37104
  };
37076
37105
  }
37077
37106
  });
37078
- const _hoisted_1$h = {
37107
+ const _hoisted_1$i = {
37079
37108
  key: 0,
37080
37109
  class: "lupa-refiners-loading-notice"
37081
37110
  };
37082
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
37111
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37083
37112
  __name: "RefinersLoadingNotice",
37084
37113
  props: {
37085
37114
  labels: {}
@@ -37090,22 +37119,22 @@ and ensure you are accounting for this risk.
37090
37119
  const props = __props;
37091
37120
  const label = computed(() => props.labels.refinersLoadingNotice);
37092
37121
  return (_ctx, _cache) => {
37093
- return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
37122
+ return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
37094
37123
  createBaseVNode("p", null, toDisplayString(label.value), 1),
37095
37124
  createVNode(Spinner)
37096
37125
  ])) : createCommentVNode("", true);
37097
37126
  };
37098
37127
  }
37099
37128
  });
37100
- const _hoisted_1$g = { class: "lupa-related-query-item" };
37101
- const _hoisted_2$c = { class: "lupa-related-query-image" };
37129
+ const _hoisted_1$h = { class: "lupa-related-query-item" };
37130
+ const _hoisted_2$d = { class: "lupa-related-query-image" };
37102
37131
  const _hoisted_3$7 = { class: "lupa-related-query-label" };
37103
37132
  const _hoisted_4$3 = { class: "lupa-related-query-title" };
37104
37133
  const _hoisted_5$1 = {
37105
37134
  key: 0,
37106
37135
  class: "lupa-related-query-count"
37107
37136
  };
37108
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
37137
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37109
37138
  __name: "RelatedQueryPanelApi",
37110
37139
  props: {
37111
37140
  relatedQuery: {},
@@ -37137,9 +37166,9 @@ and ensure you are accounting for this risk.
37137
37166
  });
37138
37167
  return (_ctx, _cache) => {
37139
37168
  var _a25;
37140
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
37141
- createBaseVNode("div", _hoisted_2$c, [
37142
- itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1p, {
37169
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
37170
+ createBaseVNode("div", _hoisted_2$d, [
37171
+ itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
37143
37172
  key: 0,
37144
37173
  "wrapper-class": "lupa-related-query-image-wrapper",
37145
37174
  "image-class": "lupa-related-query-image",
@@ -37155,16 +37184,16 @@ and ensure you are accounting for this risk.
37155
37184
  };
37156
37185
  }
37157
37186
  });
37158
- const _hoisted_1$f = {
37187
+ const _hoisted_1$g = {
37159
37188
  key: 0,
37160
37189
  class: "lupa-related-queries"
37161
37190
  };
37162
- const _hoisted_2$b = {
37191
+ const _hoisted_2$c = {
37163
37192
  key: 0,
37164
37193
  class: "lupa-related-queries-title"
37165
37194
  };
37166
37195
  const _hoisted_3$6 = ["onClick"];
37167
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
37196
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37168
37197
  __name: "RelatedQueriesApi",
37169
37198
  props: {
37170
37199
  options: {}
@@ -37216,8 +37245,8 @@ and ensure you are accounting for this risk.
37216
37245
  };
37217
37246
  return (_ctx, _cache) => {
37218
37247
  var _a25, _b25, _c, _d;
37219
- return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
37220
- ((_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),
37248
+ return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
37249
+ ((_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),
37221
37250
  createBaseVNode("ul", null, [
37222
37251
  (openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
37223
37252
  return openBlock(), createElementBlock("li", {
@@ -37227,7 +37256,7 @@ and ensure you are accounting for this risk.
37227
37256
  createBaseVNode("a", {
37228
37257
  onClick: ($event) => handleRelatedQueryClick(query)
37229
37258
  }, [
37230
- createVNode(_sfc_main$i, {
37259
+ createVNode(_sfc_main$j, {
37231
37260
  relatedQuery: query,
37232
37261
  options: _ctx.options
37233
37262
  }, null, 8, ["relatedQuery", "options"])
@@ -37239,6 +37268,49 @@ and ensure you are accounting for this risk.
37239
37268
  };
37240
37269
  }
37241
37270
  });
37271
+ const _hoisted_1$f = { key: 0 };
37272
+ const _hoisted_2$b = ["innerHTML"];
37273
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37274
+ __name: "ZeroResults",
37275
+ props: {
37276
+ emptyResultsLabel: {},
37277
+ currentQueryText: {},
37278
+ hasSimilarQueries: { type: Boolean },
37279
+ zeroResults: {}
37280
+ },
37281
+ setup(__props) {
37282
+ const props = __props;
37283
+ const searchResultStore = useSearchResultStore();
37284
+ const { searchResult } = storeToRefs(searchResultStore);
37285
+ const showDefaultZeroResultsTemplate = computed(() => {
37286
+ var _a25, _b25;
37287
+ return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
37288
+ });
37289
+ const showCustomZeroResultsTemplate = computed(() => {
37290
+ var _a25, _b25;
37291
+ return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
37292
+ });
37293
+ const htmlTemplate = computed(() => {
37294
+ var _a25;
37295
+ if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
37296
+ return props.zeroResults.customHtml(searchResult.value);
37297
+ }
37298
+ return "";
37299
+ });
37300
+ return (_ctx, _cache) => {
37301
+ return openBlock(), createElementBlock(Fragment, null, [
37302
+ showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
37303
+ createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
37304
+ createBaseVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
37305
+ ])) : createCommentVNode("", true),
37306
+ showCustomZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", {
37307
+ key: 1,
37308
+ innerHTML: htmlTemplate.value
37309
+ }, null, 8, _hoisted_2$b)) : createCommentVNode("", true)
37310
+ ], 64);
37311
+ };
37312
+ }
37313
+ });
37242
37314
  const _hoisted_1$e = { id: "lupa-search-results-products" };
37243
37315
  const _hoisted_2$a = {
37244
37316
  class: "lupa-products",
@@ -37379,41 +37451,41 @@ and ensure you are accounting for this risk.
37379
37451
  emit2("filter");
37380
37452
  };
37381
37453
  return (_ctx, _cache) => {
37382
- var _a25;
37454
+ var _a25, _b25, _c;
37383
37455
  return openBlock(), createElementBlock("div", _hoisted_1$e, [
37384
37456
  unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
37385
37457
  key: 0,
37386
37458
  class: "lupa-loader"
37387
37459
  })) : createCommentVNode("", true),
37388
- createVNode(_sfc_main$k, {
37460
+ createVNode(_sfc_main$l, {
37389
37461
  options: _ctx.options.redirectionSuggestions
37390
37462
  }, null, 8, ["options"]),
37391
- createVNode(_sfc_main$p, {
37463
+ createVNode(_sfc_main$q, {
37392
37464
  options: _ctx.options,
37393
37465
  location: "top",
37394
37466
  sdkOptions: _ctx.options.options
37395
37467
  }, null, 8, ["options", "sdkOptions"]),
37396
- showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$l, {
37468
+ showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$m, {
37397
37469
  key: 1,
37398
37470
  options: _ctx.options.relatedQueries
37399
37471
  }, null, 8, ["options"])) : createCommentVNode("", true),
37400
- showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$h, {
37472
+ showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$i, {
37401
37473
  key: 2,
37402
37474
  options: _ctx.options.relatedQueries
37403
37475
  }, null, 8, ["options"])) : createCommentVNode("", true),
37404
37476
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
37405
- showTopFilters.value ? (openBlock(), createBlock(_sfc_main$L, {
37477
+ showTopFilters.value ? (openBlock(), createBlock(_sfc_main$M, {
37406
37478
  key: 0,
37407
37479
  options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
37408
37480
  }, null, 8, ["options"])) : createCommentVNode("", true),
37409
- showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$E, {
37481
+ showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$F, {
37410
37482
  key: 1,
37411
37483
  class: "lupa-toolbar-mobile",
37412
37484
  options: _ctx.options,
37413
37485
  "pagination-location": "top",
37414
37486
  onFilter: filter
37415
37487
  }, null, 8, ["options"])) : createCommentVNode("", true),
37416
- currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$Z, {
37488
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$_, {
37417
37489
  key: 2,
37418
37490
  class: normalizeClass(currentFiltersClass.value),
37419
37491
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -37422,12 +37494,12 @@ and ensure you are accounting for this risk.
37422
37494
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
37423
37495
  ], 64)) : createCommentVNode("", true),
37424
37496
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
37425
- createVNode(_sfc_main$E, {
37497
+ createVNode(_sfc_main$F, {
37426
37498
  class: "lupa-toolbar-top",
37427
37499
  options: _ctx.options,
37428
37500
  "pagination-location": "top"
37429
37501
  }, null, 8, ["options"]),
37430
- currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$Z, {
37502
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$_, {
37431
37503
  key: 0,
37432
37504
  class: normalizeClass(currentFiltersClass.value),
37433
37505
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -37443,7 +37515,7 @@ and ensure you are accounting for this risk.
37443
37515
  options: productCardOptions.value
37444
37516
  });
37445
37517
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
37446
- return openBlock(), createBlock(_sfc_main$s, {
37518
+ return openBlock(), createBlock(_sfc_main$t, {
37447
37519
  style: normalizeStyle(columnSize.value),
37448
37520
  key: getProductKeyAction(index, product),
37449
37521
  product,
@@ -37460,32 +37532,36 @@ and ensure you are accounting for this risk.
37460
37532
  onClick: goToFirstPage
37461
37533
  }, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
37462
37534
  ])) : createCommentVNode("", true),
37463
- createVNode(_sfc_main$E, {
37535
+ createVNode(_sfc_main$F, {
37464
37536
  class: "lupa-toolbar-bottom",
37465
37537
  options: _ctx.options,
37466
37538
  "pagination-location": "bottom"
37467
37539
  }, null, 8, ["options"]),
37468
- createVNode(_sfc_main$p, {
37540
+ createVNode(_sfc_main$q, {
37469
37541
  options: _ctx.options,
37470
37542
  location: "bottom",
37471
37543
  sdkOptions: _ctx.options.options
37472
37544
  }, null, 8, ["options", "sdkOptions"])
37473
37545
  ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
37474
- createTextVNode(toDisplayString(_ctx.options.labels.emptyResults) + " ", 1),
37475
- createBaseVNode("span", null, toDisplayString(unref(currentQueryText)), 1)
37546
+ createVNode(_sfc_main$h, {
37547
+ emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
37548
+ currentQueryText: unref(currentQueryText),
37549
+ hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
37550
+ zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
37551
+ }, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
37476
37552
  ])) : createCommentVNode("", true),
37477
- createVNode(_sfc_main$j, {
37553
+ createVNode(_sfc_main$k, {
37478
37554
  labels: _ctx.options.labels
37479
37555
  }, null, 8, ["labels"]),
37480
37556
  hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
37481
- createVNode(_sfc_main$r, {
37557
+ createVNode(_sfc_main$s, {
37482
37558
  labels: similarQueriesLabels.value,
37483
37559
  columnSize: columnSize.value,
37484
37560
  productCardOptions: productCardOptions.value
37485
37561
  }, null, 8, ["labels", "columnSize", "productCardOptions"])
37486
37562
  ])) : createCommentVNode("", true),
37487
37563
  hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
37488
- createVNode(_sfc_main$n, {
37564
+ createVNode(_sfc_main$o, {
37489
37565
  labels: similarResultsLabels.value,
37490
37566
  columnSize: columnSize.value,
37491
37567
  productCardOptions: productCardOptions.value
@@ -37564,14 +37640,14 @@ and ensure you are accounting for this risk.
37564
37640
  ])) : createCommentVNode("", true),
37565
37641
  hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
37566
37642
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
37567
- return openBlock(), createBlock(_sfc_main$Y, {
37643
+ return openBlock(), createBlock(_sfc_main$Z, {
37568
37644
  key: getCategoryKey(child),
37569
37645
  item: child,
37570
37646
  options: categoryOptions.value
37571
37647
  }, null, 8, ["item", "options"]);
37572
37648
  }), 128))
37573
37649
  ])) : createCommentVNode("", true),
37574
- createVNode(_sfc_main$E, {
37650
+ createVNode(_sfc_main$F, {
37575
37651
  class: "lupa-toolbar-mobile",
37576
37652
  "pagination-location": "top",
37577
37653
  options: _ctx.options
@@ -37879,8 +37955,8 @@ and ensure you are accounting for this risk.
37879
37955
  class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
37880
37956
  }, [
37881
37957
  _ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
37882
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37883
- createVNode(_sfc_main$$, {
37958
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37959
+ createVNode(_sfc_main$10, {
37884
37960
  "show-summary": true,
37885
37961
  options: _ctx.options,
37886
37962
  "is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
@@ -37890,12 +37966,12 @@ and ensure you are accounting for this risk.
37890
37966
  key: 1,
37891
37967
  options: _ctx.options
37892
37968
  }, null, 8, ["options"])) : createCommentVNode("", true),
37893
- _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$N, {
37969
+ _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$O, {
37894
37970
  key: 2,
37895
37971
  options: _ctx.options.filters,
37896
37972
  onFilter: handleParamsChange
37897
37973
  }, null, 8, ["options"])) : createCommentVNode("", true),
37898
- unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$M, {
37974
+ unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$N, {
37899
37975
  key: 3,
37900
37976
  breadcrumbs: _ctx.options.breadcrumbs
37901
37977
  }, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
@@ -37904,7 +37980,7 @@ and ensure you are accounting for this risk.
37904
37980
  id: "lupa-search-results",
37905
37981
  class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
37906
37982
  }, [
37907
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$O, {
37983
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
37908
37984
  key: 0,
37909
37985
  options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
37910
37986
  ref_key: "searchResultsFilters",
@@ -37912,8 +37988,8 @@ and ensure you are accounting for this risk.
37912
37988
  onFilter: handleParamsChange
37913
37989
  }, null, 8, ["options"])) : createCommentVNode("", true),
37914
37990
  createBaseVNode("div", _hoisted_2$8, [
37915
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37916
- createVNode(_sfc_main$$, {
37991
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37992
+ createVNode(_sfc_main$10, {
37917
37993
  options: _ctx.options,
37918
37994
  "is-product-list": (_c = _ctx.isProductList) != null ? _c : false
37919
37995
  }, null, 8, ["options", "is-product-list"]),
@@ -37929,8 +38005,8 @@ and ensure you are accounting for this risk.
37929
38005
  }, 8, ["options", "ssr"])
37930
38006
  ])
37931
38007
  ], 2)) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
37932
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37933
- createVNode(_sfc_main$$, {
38008
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
38009
+ createVNode(_sfc_main$10, {
37934
38010
  options: _ctx.options,
37935
38011
  "is-product-list": (_d = _ctx.isProductList) != null ? _d : false
37936
38012
  }, null, 8, ["options", "is-product-list"]),
@@ -37938,7 +38014,7 @@ and ensure you are accounting for this risk.
37938
38014
  id: "lupa-search-results",
37939
38015
  class: normalizeClass(indicatorClasses.value)
37940
38016
  }, [
37941
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$O, {
38017
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
37942
38018
  key: 0,
37943
38019
  options: (_e = _ctx.options.filters) != null ? _e : {},
37944
38020
  ref_key: "searchResultsFilters",
@@ -38089,7 +38165,7 @@ and ensure you are accounting for this risk.
38089
38165
  onClick: withModifiers(innerClick, ["stop"])
38090
38166
  }, [
38091
38167
  createBaseVNode("div", _hoisted_1$a, [
38092
- createVNode(_sfc_main$12, {
38168
+ createVNode(_sfc_main$13, {
38093
38169
  options: fullSearchBoxOptions.value,
38094
38170
  "is-search-container": true,
38095
38171
  ref_key: "searchBox",
@@ -39613,6 +39689,10 @@ and ensure you are accounting for this risk.
39613
39689
  const itemId = computed(() => {
39614
39690
  return typeof props.options.itemId === "string" || typeof props.options.itemId === "number" || Array.isArray(props.options.itemId) ? props.options.itemId : extractValue(props.options.itemId);
39615
39691
  });
39692
+ const wrapAround = computed(() => {
39693
+ var _a25, _b25;
39694
+ return (_b25 = (_a25 = carouselOptions.value) == null ? void 0 : _a25.wrapAround) != null ? _b25 : true;
39695
+ });
39616
39696
  const loadLupaRecommendations = () => __async2(null, null, function* () {
39617
39697
  var _a25, _b25;
39618
39698
  recommendationsType.value = "recommendations_lupasearch";
@@ -39647,7 +39727,7 @@ and ensure you are accounting for this risk.
39647
39727
  hasRecommendations.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
39648
39728
  title.value ? (openBlock(), createElementBlock("h2", _hoisted_1$9, toDisplayString(title.value), 1)) : createCommentVNode("", true),
39649
39729
  !loading.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
39650
- layoutType.value === "carousel" ? (openBlock(), createBlock(unref(Carousel), mergeProps({ key: 0 }, carouselOptions.value, { "wrap-around": true }), {
39730
+ layoutType.value === "carousel" ? (openBlock(), createBlock(unref(Carousel), mergeProps({ key: 0 }, carouselOptions.value, { "wrap-around": wrapAround.value }), {
39651
39731
  addons: withCtx(() => [
39652
39732
  createVNode(unref(Navigation))
39653
39733
  ]),
@@ -39657,7 +39737,7 @@ and ensure you are accounting for this risk.
39657
39737
  key: getProductKeyAction(index, product)
39658
39738
  }, {
39659
39739
  default: withCtx(() => [
39660
- createVNode(_sfc_main$s, {
39740
+ createVNode(_sfc_main$t, {
39661
39741
  product,
39662
39742
  options: _ctx.options,
39663
39743
  "click-tracking-settings": clickTrackingSettings.value,
@@ -39670,9 +39750,9 @@ and ensure you are accounting for this risk.
39670
39750
  }), 128))
39671
39751
  ]),
39672
39752
  _: 1
39673
- }, 16)) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
39753
+ }, 16, ["wrap-around"])) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
39674
39754
  (openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
39675
- return openBlock(), createBlock(_sfc_main$s, {
39755
+ return openBlock(), createBlock(_sfc_main$t, {
39676
39756
  style: normalizeStyle(columnSize.value),
39677
39757
  key: getProductKeyAction(index, product),
39678
39758
  product,
@@ -39918,7 +39998,7 @@ and ensure you are accounting for this risk.
39918
39998
  createBaseVNode("a", {
39919
39999
  href: getLink(product)
39920
40000
  }, [
39921
- createVNode(_sfc_main$D, {
40001
+ createVNode(_sfc_main$E, {
39922
40002
  item: product,
39923
40003
  options: image.value
39924
40004
  }, null, 8, ["item", "options"])
@@ -40083,7 +40163,7 @@ and ensure you are accounting for this risk.
40083
40163
  return (_ctx, _cache) => {
40084
40164
  return openBlock(), createElementBlock("section", _hoisted_1$3, [
40085
40165
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
40086
- return openBlock(), createBlock(_sfc_main$s, {
40166
+ return openBlock(), createBlock(_sfc_main$t, {
40087
40167
  class: "lupa-chat-product-card",
40088
40168
  key: getProductKeyAction(index, product),
40089
40169
  product,
@@ -40279,7 +40359,7 @@ and ensure you are accounting for this risk.
40279
40359
  key: 0,
40280
40360
  class: "lupasearch-chat-content"
40281
40361
  };
40282
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
40362
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
40283
40363
  __name: "ChatContainer",
40284
40364
  props: {
40285
40365
  options: {}
@@ -46303,7 +46383,7 @@ and ensure you are accounting for this risk.
46303
46383
  };
46304
46384
  __expose({ fetch: fetch2 });
46305
46385
  return (_ctx, _cache) => {
46306
- return openBlock(), createBlock(unref(_sfc_main$12), {
46386
+ return openBlock(), createBlock(unref(_sfc_main$13), {
46307
46387
  ref_key: "searchBox",
46308
46388
  ref: searchBox2,
46309
46389
  options: fullSearchBoxOptions.value
@@ -46964,7 +47044,7 @@ and ensure you are accounting for this risk.
46964
47044
  const instance = createVue(
46965
47045
  options.displayOptions.containerSelector,
46966
47046
  mountOptions == null ? void 0 : mountOptions.mountingBehavior,
46967
- _sfc_main$1A,
47047
+ _sfc_main$1B,
46968
47048
  {
46969
47049
  options
46970
47050
  }