@getlupa/vue 0.1.7 → 0.1.9

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.
@@ -2998,16 +2998,16 @@ const useSearchBoxStore = defineStore("searchBox", () => {
2998
2998
  resetHighlightIndex
2999
2999
  };
3000
3000
  });
3001
- const _hoisted_1$12 = { id: "lupa-search-box-input-container" };
3002
- const _hoisted_2$I = { class: "lupa-input-clear" };
3003
- const _hoisted_3$u = { id: "lupa-search-box-input" };
3004
- const _hoisted_4$n = ["value"];
3001
+ const _hoisted_1$13 = { id: "lupa-search-box-input-container" };
3002
+ const _hoisted_2$J = { class: "lupa-input-clear" };
3003
+ const _hoisted_3$v = { id: "lupa-search-box-input" };
3004
+ const _hoisted_4$o = ["value"];
3005
3005
  const _hoisted_5$c = ["placeholder"];
3006
3006
  const _hoisted_6$6 = {
3007
3007
  key: 0,
3008
3008
  class: "lupa-close-label"
3009
3009
  };
3010
- const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
3010
+ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
3011
3011
  __name: "SearchBoxInput",
3012
3012
  props: {
3013
3013
  options: {},
@@ -3084,19 +3084,19 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
3084
3084
  };
3085
3085
  __expose({ focus });
3086
3086
  return (_ctx, _cache) => {
3087
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
3088
- vue.createElementVNode("div", _hoisted_2$I, [
3087
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$13, [
3088
+ vue.createElementVNode("div", _hoisted_2$J, [
3089
3089
  vue.createElementVNode("div", {
3090
3090
  class: vue.normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
3091
3091
  onClick: clear
3092
3092
  }, null, 2)
3093
3093
  ]),
3094
- vue.createElementVNode("div", _hoisted_3$u, [
3094
+ vue.createElementVNode("div", _hoisted_3$v, [
3095
3095
  vue.createElementVNode("input", {
3096
3096
  class: "lupa-hint",
3097
3097
  value: showHint.value ? suggestedValue.value.item.suggestion : "",
3098
3098
  disabled: ""
3099
- }, null, 8, _hoisted_4$n),
3099
+ }, null, 8, _hoisted_4$o),
3100
3100
  vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
3101
3101
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event)
3102
3102
  }, inputAttributes.value, {
@@ -3124,7 +3124,7 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
3124
3124
  };
3125
3125
  }
3126
3126
  });
3127
- const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
3127
+ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
3128
3128
  __name: "SearchBoxMoreResults",
3129
3129
  props: {
3130
3130
  labels: {},
@@ -3156,9 +3156,9 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
3156
3156
  };
3157
3157
  }
3158
3158
  });
3159
- const _hoisted_1$11 = { class: "lupa-search-box-history-item" };
3160
- const _hoisted_2$H = { class: "lupa-search-box-history-item-content" };
3161
- const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
3159
+ const _hoisted_1$12 = { class: "lupa-search-box-history-item" };
3160
+ const _hoisted_2$I = { class: "lupa-search-box-history-item-content" };
3161
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
3162
3162
  __name: "SearchBoxHistoryItem",
3163
3163
  props: {
3164
3164
  item: {},
@@ -3174,8 +3174,8 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
3174
3174
  emit("click", { query: props.item });
3175
3175
  };
3176
3176
  return (_ctx, _cache) => {
3177
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
3178
- vue.createElementVNode("div", _hoisted_2$H, [
3177
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
3178
+ vue.createElementVNode("div", _hoisted_2$I, [
3179
3179
  vue.createElementVNode("div", {
3180
3180
  class: vue.normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
3181
3181
  onClick: click2
@@ -3189,11 +3189,11 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
3189
3189
  };
3190
3190
  }
3191
3191
  });
3192
- const _hoisted_1$10 = {
3192
+ const _hoisted_1$11 = {
3193
3193
  key: 0,
3194
3194
  class: "lupa-search-box-history-panel"
3195
3195
  };
3196
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
3196
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
3197
3197
  __name: "SearchBoxHistoryPanel",
3198
3198
  props: {
3199
3199
  options: {}
@@ -3234,9 +3234,9 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
3234
3234
  }
3235
3235
  };
3236
3236
  return (_ctx, _cache) => {
3237
- return hasHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10, [
3237
+ return hasHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
3238
3238
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(history), (item, index) => {
3239
- return vue.openBlock(), vue.createBlock(_sfc_main$18, {
3239
+ return vue.openBlock(), vue.createBlock(_sfc_main$19, {
3240
3240
  key: item,
3241
3241
  item,
3242
3242
  highlighted: index === highlightIndex.value,
@@ -3252,18 +3252,18 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
3252
3252
  };
3253
3253
  }
3254
3254
  });
3255
- const _hoisted_1$$ = ["innerHTML"];
3256
- const _hoisted_2$G = {
3255
+ const _hoisted_1$10 = ["innerHTML"];
3256
+ const _hoisted_2$H = {
3257
3257
  key: 1,
3258
3258
  "data-cy": "lupa-suggestion-value",
3259
3259
  class: "lupa-suggestion-value"
3260
3260
  };
3261
- const _hoisted_3$t = {
3261
+ const _hoisted_3$u = {
3262
3262
  key: 2,
3263
3263
  class: "lupa-suggestion-facet",
3264
3264
  "data-cy": "lupa-suggestion-facet"
3265
3265
  };
3266
- const _hoisted_4$m = {
3266
+ const _hoisted_4$n = {
3267
3267
  class: "lupa-suggestion-facet-label",
3268
3268
  "data-cy": "lupa-suggestion-facet-label"
3269
3269
  };
@@ -3271,7 +3271,7 @@ const _hoisted_5$b = {
3271
3271
  class: "lupa-suggestion-facet-value",
3272
3272
  "data-cy": "lupa-suggestion-facet-value"
3273
3273
  };
3274
- const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
3274
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
3275
3275
  __name: "SearchBoxSuggestion",
3276
3276
  props: {
3277
3277
  suggestion: {},
@@ -3307,20 +3307,20 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
3307
3307
  class: "lupa-suggestion-value",
3308
3308
  "data-cy": "lupa-suggestion-value",
3309
3309
  innerHTML: _ctx.suggestion.displayHighlight
3310
- }, null, 8, _hoisted_1$$)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$G, vue.toDisplayString(_ctx.suggestion.display), 1)),
3311
- _ctx.suggestion.facet ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$t, [
3312
- vue.createElementVNode("span", _hoisted_4$m, vue.toDisplayString(facetLabel.value), 1),
3310
+ }, null, 8, _hoisted_1$10)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$H, vue.toDisplayString(_ctx.suggestion.display), 1)),
3311
+ _ctx.suggestion.facet ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$u, [
3312
+ vue.createElementVNode("span", _hoisted_4$n, vue.toDisplayString(facetLabel.value), 1),
3313
3313
  vue.createElementVNode("span", _hoisted_5$b, vue.toDisplayString(_ctx.suggestion.facet.title), 1)
3314
3314
  ])) : vue.createCommentVNode("", true)
3315
3315
  ]);
3316
3316
  };
3317
3317
  }
3318
3318
  });
3319
- const _hoisted_1$_ = {
3319
+ const _hoisted_1$$ = {
3320
3320
  id: "lupa-search-box-suggestions",
3321
3321
  "data-cy": "lupa-search-box-suggestions"
3322
3322
  };
3323
- const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
3323
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
3324
3324
  __name: "SearchBoxSuggestions",
3325
3325
  props: {
3326
3326
  items: {},
@@ -3380,9 +3380,9 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
3380
3380
  });
3381
3381
  });
3382
3382
  return (_ctx, _cache) => {
3383
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
3383
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, [
3384
3384
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item, index) => {
3385
- return vue.openBlock(), vue.createBlock(_sfc_main$16, {
3385
+ return vue.openBlock(), vue.createBlock(_sfc_main$17, {
3386
3386
  key: getSuggestionKey(item),
3387
3387
  class: vue.normalizeClass(["lupa-suggestion", index === highlightedIndex.value ? "lupa-suggestion-highlighted" : ""]),
3388
3388
  suggestion: item,
@@ -3410,7 +3410,7 @@ const debounce$1 = (func, timeout) => {
3410
3410
  }, timeout);
3411
3411
  };
3412
3412
  };
3413
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3413
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
3414
3414
  __name: "SearchBoxSuggestionsWrapper",
3415
3415
  props: {
3416
3416
  panel: {},
@@ -3451,7 +3451,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3451
3451
  };
3452
3452
  const getSuggestionsDebounced = debounce$1(getSuggestions, props.debounce);
3453
3453
  return (_ctx, _cache) => {
3454
- return vue.openBlock(), vue.createBlock(_sfc_main$15, {
3454
+ return vue.openBlock(), vue.createBlock(_sfc_main$16, {
3455
3455
  items: searchResult.value,
3456
3456
  highlight: _ctx.panel.highlight,
3457
3457
  queryKey: _ctx.panel.queryKey,
@@ -3529,8 +3529,8 @@ const useDynamicDataStore = defineStore("dynamicData", () => {
3529
3529
  });
3530
3530
  return { dynamicDataIdMap, loading, enhanceSearchResultsWithDynamicData };
3531
3531
  });
3532
- const _hoisted_1$Z = ["src"];
3533
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
3532
+ const _hoisted_1$_ = ["src"];
3533
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3534
3534
  __name: "ProductImage",
3535
3535
  props: {
3536
3536
  item: {},
@@ -3578,12 +3578,12 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
3578
3578
  class: vue.normalizeClass((_b = _ctx.imageClass) != null ? _b : ""),
3579
3579
  src: finalUrl.value,
3580
3580
  onError: replaceWithPlaceholder
3581
- }, null, 42, _hoisted_1$Z)
3581
+ }, null, 42, _hoisted_1$_)
3582
3582
  ], 2);
3583
3583
  };
3584
3584
  }
3585
3585
  });
3586
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
3586
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
3587
3587
  __name: "SearchBoxProductImage",
3588
3588
  props: {
3589
3589
  item: {},
@@ -3591,7 +3591,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
3591
3591
  },
3592
3592
  setup(__props) {
3593
3593
  return (_ctx, _cache) => {
3594
- return vue.openBlock(), vue.createBlock(_sfc_main$13, {
3594
+ return vue.openBlock(), vue.createBlock(_sfc_main$14, {
3595
3595
  item: _ctx.item,
3596
3596
  options: _ctx.options,
3597
3597
  "wrapper-class": "lupa-search-box-image-wrapper",
@@ -3600,12 +3600,12 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
3600
3600
  };
3601
3601
  }
3602
3602
  });
3603
- const _hoisted_1$Y = ["innerHTML"];
3604
- const _hoisted_2$F = {
3603
+ const _hoisted_1$Z = ["innerHTML"];
3604
+ const _hoisted_2$G = {
3605
3605
  key: 1,
3606
3606
  class: "lupa-search-box-product-title"
3607
3607
  };
3608
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
3608
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
3609
3609
  __name: "SearchBoxProductTitle",
3610
3610
  props: {
3611
3611
  item: {},
@@ -3625,18 +3625,18 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
3625
3625
  key: 0,
3626
3626
  class: "lupa-search-box-product-title",
3627
3627
  innerHTML: title.value
3628
- }, null, 8, _hoisted_1$Y)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$F, [
3628
+ }, null, 8, _hoisted_1$Z)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$G, [
3629
3629
  vue.createElementVNode("strong", null, vue.toDisplayString(title.value), 1)
3630
3630
  ]));
3631
3631
  };
3632
3632
  }
3633
3633
  });
3634
- const _hoisted_1$X = ["innerHTML"];
3635
- const _hoisted_2$E = {
3634
+ const _hoisted_1$Y = ["innerHTML"];
3635
+ const _hoisted_2$F = {
3636
3636
  key: 1,
3637
3637
  class: "lupa-search-box-product-description"
3638
3638
  };
3639
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
3639
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
3640
3640
  __name: "SearchBoxProductDescription",
3641
3641
  props: {
3642
3642
  item: {},
@@ -3656,12 +3656,12 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
3656
3656
  key: 0,
3657
3657
  class: "lupa-search-box-product-description",
3658
3658
  innerHTML: description.value
3659
- }, null, 8, _hoisted_1$X)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, vue.toDisplayString(description.value), 1));
3659
+ }, null, 8, _hoisted_1$Y)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$F, vue.toDisplayString(description.value), 1));
3660
3660
  };
3661
3661
  }
3662
3662
  });
3663
- const _hoisted_1$W = { class: "lupa-search-box-product-price" };
3664
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
3663
+ const _hoisted_1$X = { class: "lupa-search-box-product-price" };
3664
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
3665
3665
  __name: "SearchBoxProductPrice",
3666
3666
  props: {
3667
3667
  item: {},
@@ -3679,14 +3679,14 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
3679
3679
  );
3680
3680
  });
3681
3681
  return (_ctx, _cache) => {
3682
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
3682
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
3683
3683
  vue.createElementVNode("strong", null, vue.toDisplayString(price.value), 1)
3684
3684
  ]);
3685
3685
  };
3686
3686
  }
3687
3687
  });
3688
- const _hoisted_1$V = { class: "lupa-search-box-product-regular-price" };
3689
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
3688
+ const _hoisted_1$W = { class: "lupa-search-box-product-regular-price" };
3689
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
3690
3690
  __name: "SearchBoxProductRegularPrice",
3691
3691
  props: {
3692
3692
  item: {},
@@ -3704,16 +3704,16 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
3704
3704
  );
3705
3705
  });
3706
3706
  return (_ctx, _cache) => {
3707
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, vue.toDisplayString(price.value), 1);
3707
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, vue.toDisplayString(price.value), 1);
3708
3708
  };
3709
3709
  }
3710
3710
  });
3711
- const _hoisted_1$U = ["innerHTML"];
3712
- const _hoisted_2$D = { key: 0 };
3713
- const _hoisted_3$s = { key: 1 };
3714
- const _hoisted_4$l = { class: "lupa-search-box-custom-label" };
3711
+ const _hoisted_1$V = ["innerHTML"];
3712
+ const _hoisted_2$E = { key: 0 };
3713
+ const _hoisted_3$t = { key: 1 };
3714
+ const _hoisted_4$m = { class: "lupa-search-box-custom-label" };
3715
3715
  const _hoisted_5$a = { class: "lupa-search-box-custom-text" };
3716
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
3716
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
3717
3717
  __name: "SearchBoxProductCustom",
3718
3718
  props: {
3719
3719
  item: {},
@@ -3739,20 +3739,20 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
3739
3739
  key: 0,
3740
3740
  class: [className.value, "lupa-search-box-product-custom"],
3741
3741
  innerHTML: text.value
3742
- }, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$U)) : (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
3742
+ }, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$V)) : (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
3743
3743
  key: 1,
3744
3744
  class: [className.value, "lupa-search-box-product-custom"]
3745
3745
  }, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
3746
- !label.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, vue.toDisplayString(text.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$s, [
3747
- vue.createElementVNode("div", _hoisted_4$l, vue.toDisplayString(label.value), 1),
3746
+ !label.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, vue.toDisplayString(text.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$t, [
3747
+ vue.createElementVNode("div", _hoisted_4$m, vue.toDisplayString(label.value), 1),
3748
3748
  vue.createElementVNode("div", _hoisted_5$a, vue.toDisplayString(text.value), 1)
3749
3749
  ]))
3750
3750
  ], 16));
3751
3751
  };
3752
3752
  }
3753
3753
  });
3754
- const _hoisted_1$T = ["innerHTML"];
3755
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
3754
+ const _hoisted_1$U = ["innerHTML"];
3755
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
3756
3756
  __name: "SearchBoxProductCustomHtml",
3757
3757
  props: {
3758
3758
  item: {},
@@ -3772,7 +3772,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
3772
3772
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
3773
3773
  class: className.value,
3774
3774
  innerHTML: text.value
3775
- }, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$T);
3775
+ }, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$U);
3776
3776
  };
3777
3777
  }
3778
3778
  });
@@ -3967,10 +3967,10 @@ const useSearchResultStore = defineStore("searchResult", () => {
3967
3967
  setLoading
3968
3968
  };
3969
3969
  });
3970
- const _hoisted_1$S = { class: "lupa-search-box-add-to-cart-wrapper" };
3971
- const _hoisted_2$C = { class: "lupa-search-box-product-addtocart" };
3972
- const _hoisted_3$r = ["onClick", "disabled"];
3973
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
3970
+ const _hoisted_1$T = { class: "lupa-search-box-add-to-cart-wrapper" };
3971
+ const _hoisted_2$D = { class: "lupa-search-box-product-addtocart" };
3972
+ const _hoisted_3$s = ["onClick", "disabled"];
3973
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
3974
3974
  __name: "SearchBoxProductAddToCart",
3975
3975
  props: {
3976
3976
  item: {},
@@ -3997,15 +3997,15 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
3997
3997
  loading.value = false;
3998
3998
  });
3999
3999
  return (_ctx, _cache) => {
4000
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
4001
- vue.createElementVNode("div", _hoisted_2$C, [
4000
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
4001
+ vue.createElementVNode("div", _hoisted_2$D, [
4002
4002
  vue.createElementVNode("button", {
4003
4003
  onClick: vue.withModifiers(handleClick, ["stop", "prevent"]),
4004
4004
  class: vue.normalizeClass(loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart"),
4005
4005
  "data-cy": "lupa-add-to-cart",
4006
4006
  type: "button",
4007
4007
  disabled: !inStockValue.value || loading.value
4008
- }, vue.toDisplayString(label.value), 11, _hoisted_3$r)
4008
+ }, vue.toDisplayString(label.value), 11, _hoisted_3$s)
4009
4009
  ])
4010
4010
  ]);
4011
4011
  };
@@ -4013,17 +4013,17 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
4013
4013
  });
4014
4014
  const __default__$4 = {
4015
4015
  components: {
4016
- SearchBoxProductImage: _sfc_main$12,
4017
- SearchBoxProductTitle: _sfc_main$11,
4018
- SearchBoxProductDescription: _sfc_main$10,
4019
- SearchBoxProductPrice: _sfc_main$$,
4020
- SearchBoxProductRegularPrice: _sfc_main$_,
4021
- SearchBoxProductCustom: _sfc_main$Z,
4022
- SearchBoxProductCustomHtml: _sfc_main$Y,
4023
- SearchBoxProductAddToCart: _sfc_main$X
4016
+ SearchBoxProductImage: _sfc_main$13,
4017
+ SearchBoxProductTitle: _sfc_main$12,
4018
+ SearchBoxProductDescription: _sfc_main$11,
4019
+ SearchBoxProductPrice: _sfc_main$10,
4020
+ SearchBoxProductRegularPrice: _sfc_main$$,
4021
+ SearchBoxProductCustom: _sfc_main$_,
4022
+ SearchBoxProductCustomHtml: _sfc_main$Z,
4023
+ SearchBoxProductAddToCart: _sfc_main$Y
4024
4024
  }
4025
4025
  };
4026
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
4026
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
4027
4027
  __name: "SearchBoxProductElement",
4028
4028
  props: {
4029
4029
  item: {},
@@ -4137,14 +4137,14 @@ const useTrackingStore = defineStore("tracking", () => {
4137
4137
  };
4138
4138
  return { trackSearch, trackResults, trackEvent };
4139
4139
  });
4140
- const _hoisted_1$R = ["href"];
4141
- const _hoisted_2$B = { class: "lupa-search-box-product-image-section" };
4142
- const _hoisted_3$q = { class: "lupa-search-box-product-details-section" };
4143
- const _hoisted_4$k = {
4140
+ const _hoisted_1$S = ["href"];
4141
+ const _hoisted_2$C = { class: "lupa-search-box-product-image-section" };
4142
+ const _hoisted_3$r = { class: "lupa-search-box-product-details-section" };
4143
+ const _hoisted_4$l = {
4144
4144
  key: 0,
4145
4145
  class: "lupa-search-box-product-add-to-cart-section"
4146
4146
  };
4147
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
4147
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
4148
4148
  __name: "SearchBoxProduct",
4149
4149
  props: {
4150
4150
  item: {},
@@ -4237,9 +4237,9 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
4237
4237
  href: link.value,
4238
4238
  onClick: handleClick
4239
4239
  }, [
4240
- vue.createElementVNode("div", _hoisted_2$B, [
4240
+ vue.createElementVNode("div", _hoisted_2$C, [
4241
4241
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(imageElements.value, (element) => {
4242
- return vue.openBlock(), vue.createBlock(_sfc_main$W, {
4242
+ return vue.openBlock(), vue.createBlock(_sfc_main$X, {
4243
4243
  class: "lupa-search-box-product-element",
4244
4244
  item: _ctx.item,
4245
4245
  element,
@@ -4249,9 +4249,9 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
4249
4249
  }, null, 8, ["item", "element", "labels", "link"]);
4250
4250
  }), 128))
4251
4251
  ]),
4252
- vue.createElementVNode("div", _hoisted_3$q, [
4252
+ vue.createElementVNode("div", _hoisted_3$r, [
4253
4253
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(detailElements.value, (element) => {
4254
- return vue.openBlock(), vue.createBlock(_sfc_main$W, {
4254
+ return vue.openBlock(), vue.createBlock(_sfc_main$X, {
4255
4255
  class: "lupa-search-box-product-element",
4256
4256
  item: _ctx.item,
4257
4257
  element,
@@ -4261,8 +4261,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
4261
4261
  }, null, 8, ["item", "element", "labels", "link"]);
4262
4262
  }), 128))
4263
4263
  ]),
4264
- addToCartElement.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$k, [
4265
- vue.createVNode(_sfc_main$W, {
4264
+ addToCartElement.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$l, [
4265
+ vue.createVNode(_sfc_main$X, {
4266
4266
  class: "lupa-search-box-product-element",
4267
4267
  item: _ctx.item,
4268
4268
  element: addToCartElement.value,
@@ -4271,12 +4271,12 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
4271
4271
  isInStock: isInStock.value
4272
4272
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
4273
4273
  ])) : vue.createCommentVNode("", true)
4274
- ], 10, _hoisted_1$R);
4274
+ ], 10, _hoisted_1$S);
4275
4275
  };
4276
4276
  }
4277
4277
  });
4278
- const _hoisted_1$Q = { id: "lupa-search-box-products" };
4279
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
4278
+ const _hoisted_1$R = { id: "lupa-search-box-products" };
4279
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
4280
4280
  __name: "SearchBoxProducts",
4281
4281
  props: {
4282
4282
  items: {},
@@ -4296,7 +4296,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
4296
4296
  return (_c = (_b = highlightedItem.value) == null ? void 0 : _b.index) != null ? _c : -1;
4297
4297
  });
4298
4298
  return (_ctx, _cache) => {
4299
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
4299
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
4300
4300
  _ctx.$slots.productCard ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.items, (item, index) => {
4301
4301
  return vue.renderSlot(_ctx.$slots, "productCard", {
4302
4302
  key: index,
@@ -4308,7 +4308,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
4308
4308
  onProductClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("product-click"))
4309
4309
  });
4310
4310
  }), 128)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(_ctx.items, (item, index) => {
4311
- return vue.openBlock(), vue.createBlock(_sfc_main$V, {
4311
+ return vue.openBlock(), vue.createBlock(_sfc_main$W, {
4312
4312
  key: index,
4313
4313
  item,
4314
4314
  panelOptions: _ctx.panelOptions,
@@ -4322,7 +4322,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
4322
4322
  };
4323
4323
  }
4324
4324
  });
4325
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
4325
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
4326
4326
  __name: "SearchBoxProductsWrapper",
4327
4327
  props: {
4328
4328
  panel: {},
@@ -4374,7 +4374,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
4374
4374
  const getItemsDebounced = debounce$1(getItems, props.debounce);
4375
4375
  return (_ctx, _cache) => {
4376
4376
  var _a, _b;
4377
- return vue.openBlock(), vue.createBlock(_sfc_main$U, {
4377
+ return vue.openBlock(), vue.createBlock(_sfc_main$V, {
4378
4378
  items: (_b = (_a = searchResult.value) == null ? void 0 : _a.items) != null ? _b : [],
4379
4379
  panelOptions: _ctx.panel,
4380
4380
  labels: _ctx.labels,
@@ -4392,26 +4392,26 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
4392
4392
  };
4393
4393
  }
4394
4394
  });
4395
- const _hoisted_1$P = {
4395
+ const _hoisted_1$Q = {
4396
4396
  key: 0,
4397
4397
  id: "lupa-search-box-panel"
4398
4398
  };
4399
- const _hoisted_2$A = {
4399
+ const _hoisted_2$B = {
4400
4400
  class: "lupa-main-panel",
4401
4401
  "data-cy": "lupa-main-panel"
4402
4402
  };
4403
- const _hoisted_3$p = ["data-cy"];
4404
- const _hoisted_4$j = {
4403
+ const _hoisted_3$q = ["data-cy"];
4404
+ const _hoisted_4$k = {
4405
4405
  key: 1,
4406
4406
  id: "lupa-search-box-panel"
4407
4407
  };
4408
4408
  const __default__$3 = {
4409
4409
  components: {
4410
- SearchBoxSuggestionsWrapper: _sfc_main$14,
4411
- SearchBoxProductsWrapper: _sfc_main$T
4410
+ SearchBoxSuggestionsWrapper: _sfc_main$15,
4411
+ SearchBoxProductsWrapper: _sfc_main$U
4412
4412
  }
4413
4413
  };
4414
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
4414
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
4415
4415
  __name: "SearchBoxMainPanel",
4416
4416
  props: {
4417
4417
  options: {},
@@ -4525,8 +4525,8 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
4525
4525
  ref_key: "panelContainer",
4526
4526
  ref: panelContainer
4527
4527
  }, [
4528
- displayResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
4529
- vue.createElementVNode("div", _hoisted_2$A, [
4528
+ displayResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
4529
+ vue.createElementVNode("div", _hoisted_2$B, [
4530
4530
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayPanels.value, (panel, index) => {
4531
4531
  return vue.openBlock(), vue.createElementBlock("div", {
4532
4532
  key: index,
@@ -4555,16 +4555,16 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
4555
4555
  key: "0"
4556
4556
  } : void 0
4557
4557
  ]), 1064, ["panel", "options", "debounce", "inputValue", "labels"])) : vue.createCommentVNode("", true)
4558
- ], 10, _hoisted_3$p);
4558
+ ], 10, _hoisted_3$q);
4559
4559
  }), 128))
4560
4560
  ]),
4561
- vue.createVNode(_sfc_main$19, {
4561
+ vue.createVNode(_sfc_main$1a, {
4562
4562
  labels: labels.value,
4563
4563
  showTotalCount: (_a = _ctx.options.showTotalCount) != null ? _a : false,
4564
4564
  onGoToResults: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("go-to-results"))
4565
4565
  }, null, 8, ["labels", "showTotalCount"])
4566
- ])) : displayHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$j, [
4567
- vue.createVNode(_sfc_main$17, {
4566
+ ])) : displayHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$k, [
4567
+ vue.createVNode(_sfc_main$18, {
4568
4568
  options: _ctx.options.history,
4569
4569
  history: history.value,
4570
4570
  onGoToResults: handleGoToResults,
@@ -4589,9 +4589,9 @@ const unbindSearchTriggers = (triggers = [], event) => {
4589
4589
  const elements = getElements(triggers);
4590
4590
  elements.forEach((e) => e == null ? void 0 : e.removeEventListener(BIND_EVENT, event));
4591
4591
  };
4592
- const _hoisted_1$O = { id: "lupa-search-box" };
4593
- const _hoisted_2$z = { class: "lupa-search-box-wrapper" };
4594
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
4592
+ const _hoisted_1$P = { id: "lupa-search-box" };
4593
+ const _hoisted_2$A = { class: "lupa-search-box-wrapper" };
4594
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
4595
4595
  __name: "SearchBox",
4596
4596
  props: {
4597
4597
  options: {},
@@ -4823,9 +4823,9 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
4823
4823
  };
4824
4824
  return (_ctx, _cache) => {
4825
4825
  var _a2;
4826
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
4827
- vue.createElementVNode("div", _hoisted_2$z, [
4828
- vue.createVNode(_sfc_main$1a, {
4826
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
4827
+ vue.createElementVNode("div", _hoisted_2$A, [
4828
+ vue.createVNode(_sfc_main$1b, {
4829
4829
  options: inputOptions.value,
4830
4830
  suggestedValue: suggestedValue.value,
4831
4831
  "can-close": (_a2 = _ctx.isSearchContainer) != null ? _a2 : false,
@@ -4836,7 +4836,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
4836
4836
  onFocus: _cache[0] || (_cache[0] = ($event) => opened.value = true),
4837
4837
  onClose: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("close"))
4838
4838
  }, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
4839
- opened.value || _ctx.isSearchContainer ? (vue.openBlock(), vue.createBlock(_sfc_main$S, {
4839
+ opened.value || _ctx.isSearchContainer ? (vue.openBlock(), vue.createBlock(_sfc_main$T, {
4840
4840
  key: 0,
4841
4841
  options: panelOptions.value,
4842
4842
  inputValue: inputValue.value,
@@ -4939,20 +4939,20 @@ const getInitialSearchResults = (options, defaultData) => __async(exports, null,
4939
4939
  options.options.onError(e);
4940
4940
  }
4941
4941
  });
4942
- const _hoisted_1$N = {
4942
+ const _hoisted_1$O = {
4943
4943
  key: 0,
4944
4944
  id: "lupa-search-results-did-you-mean"
4945
4945
  };
4946
- const _hoisted_2$y = {
4946
+ const _hoisted_2$z = {
4947
4947
  key: 0,
4948
4948
  "data-cy": "suggested-search-text-label"
4949
4949
  };
4950
- const _hoisted_3$o = {
4950
+ const _hoisted_3$p = {
4951
4951
  key: 1,
4952
4952
  "data-cy": "did-you-mean-label"
4953
4953
  };
4954
- const _hoisted_4$i = { key: 1 };
4955
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
4954
+ const _hoisted_4$j = { key: 1 };
4955
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
4956
4956
  __name: "SearchResultsDidYouMean",
4957
4957
  props: {
4958
4958
  labels: {}
@@ -4984,8 +4984,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
4984
4984
  paramStore.goToResults({ searchText, facet });
4985
4985
  };
4986
4986
  return (_ctx, _cache) => {
4987
- return vue.unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
4988
- vue.unref(searchResult).suggestedSearchText ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
4987
+ return vue.unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
4988
+ vue.unref(searchResult).suggestedSearchText ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
4989
4989
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
4990
4990
  return vue.openBlock(), vue.createElementBlock("span", { key: index }, [
4991
4991
  vue.createElementVNode("span", {
@@ -4994,7 +4994,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
4994
4994
  ]);
4995
4995
  }), 128))
4996
4996
  ])) : vue.createCommentVNode("", true),
4997
- didYouMeanValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$o, [
4997
+ didYouMeanValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$p, [
4998
4998
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.labels.didYouMean.split(" "), (label, index) => {
4999
4999
  return vue.openBlock(), vue.createElementBlock("span", { key: index }, [
5000
5000
  label.includes("{1}") ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -5002,7 +5002,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5002
5002
  class: "lupa-did-you-mean lupa-highlighted-search-text",
5003
5003
  "data-cy": "did-you-mean-value",
5004
5004
  onClick: _cache[0] || (_cache[0] = ($event) => goToResults({ searchText: didYouMeanValue.value }))
5005
- }, vue.toDisplayString(didYouMeanValue.value) + " ", 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$i, vue.toDisplayString(label) + " ", 1))
5005
+ }, vue.toDisplayString(didYouMeanValue.value) + " ", 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$j, vue.toDisplayString(label) + " ", 1))
5006
5006
  ]);
5007
5007
  }), 128))
5008
5008
  ])) : vue.createCommentVNode("", true)
@@ -5010,12 +5010,12 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5010
5010
  };
5011
5011
  }
5012
5012
  });
5013
- const _hoisted_1$M = {
5013
+ const _hoisted_1$N = {
5014
5014
  key: 0,
5015
5015
  class: "lupa-search-results-summary"
5016
5016
  };
5017
- const _hoisted_2$x = ["innerHTML"];
5018
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5017
+ const _hoisted_2$y = ["innerHTML"];
5018
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5019
5019
  __name: "SearchResultsSummary",
5020
5020
  props: {
5021
5021
  label: {},
@@ -5030,8 +5030,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5030
5030
  return addParamsToLabel(props.label, range, `<span>${totalItems.value}</span>`);
5031
5031
  });
5032
5032
  return (_ctx, _cache) => {
5033
- return vue.unref(totalItems) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
5034
- vue.createElementVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$x),
5033
+ return vue.unref(totalItems) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
5034
+ vue.createElementVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$y),
5035
5035
  _ctx.clearable ? (vue.openBlock(), vue.createElementBlock("span", {
5036
5036
  key: 0,
5037
5037
  class: "lupa-filter-clear",
@@ -5042,18 +5042,18 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5042
5042
  };
5043
5043
  }
5044
5044
  });
5045
- const _hoisted_1$L = {
5045
+ const _hoisted_1$M = {
5046
5046
  key: 0,
5047
5047
  class: "lupa-result-page-title",
5048
5048
  "data-cy": "lupa-result-page-title"
5049
5049
  };
5050
- const _hoisted_2$w = { key: 0 };
5051
- const _hoisted_3$n = {
5050
+ const _hoisted_2$x = { key: 0 };
5051
+ const _hoisted_3$o = {
5052
5052
  key: 1,
5053
5053
  class: "lupa-results-total-count"
5054
5054
  };
5055
- const _hoisted_4$h = ["innerHTML"];
5056
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
5055
+ const _hoisted_4$i = ["innerHTML"];
5056
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5057
5057
  __name: "SearchResultsTitle",
5058
5058
  props: {
5059
5059
  options: {},
@@ -5088,12 +5088,12 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
5088
5088
  });
5089
5089
  return (_ctx, _cache) => {
5090
5090
  return vue.openBlock(), vue.createElementBlock("div", null, [
5091
- showSearchTitle.value ? (vue.openBlock(), vue.createElementBlock("h1", _hoisted_1$L, [
5091
+ showSearchTitle.value ? (vue.openBlock(), vue.createElementBlock("h1", _hoisted_1$M, [
5092
5092
  vue.createTextVNode(vue.toDisplayString(_ctx.options.labels.searchResults), 1),
5093
- queryText.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$w, "'" + vue.toDisplayString(queryText.value) + "'", 1)) : vue.createCommentVNode("", true),
5094
- showProductCount.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$n, "(" + vue.toDisplayString(vue.unref(totalItems)) + ")", 1)) : vue.createCommentVNode("", true)
5093
+ queryText.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$x, "'" + vue.toDisplayString(queryText.value) + "'", 1)) : vue.createCommentVNode("", true),
5094
+ showProductCount.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$o, "(" + vue.toDisplayString(vue.unref(totalItems)) + ")", 1)) : vue.createCommentVNode("", true)
5095
5095
  ])) : vue.createCommentVNode("", true),
5096
- _ctx.showSummary ? (vue.openBlock(), vue.createBlock(_sfc_main$P, {
5096
+ _ctx.showSummary ? (vue.openBlock(), vue.createBlock(_sfc_main$Q, {
5097
5097
  key: 1,
5098
5098
  label: summaryLabel.value
5099
5099
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
@@ -5101,21 +5101,21 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
5101
5101
  key: 2,
5102
5102
  class: "lupa-result-page-description-top",
5103
5103
  innerHTML: descriptionTop.value
5104
- }, null, 8, _hoisted_4$h)) : vue.createCommentVNode("", true)
5104
+ }, null, 8, _hoisted_4$i)) : vue.createCommentVNode("", true)
5105
5105
  ]);
5106
5106
  };
5107
5107
  }
5108
5108
  });
5109
- const _hoisted_1$K = { class: "lupa-search-result-filter-value" };
5110
- const _hoisted_2$v = {
5109
+ const _hoisted_1$L = { class: "lupa-search-result-filter-value" };
5110
+ const _hoisted_2$w = {
5111
5111
  class: "lupa-current-filter-label",
5112
5112
  "data-cy": "lupa-current-filter-label"
5113
5113
  };
5114
- const _hoisted_3$m = {
5114
+ const _hoisted_3$n = {
5115
5115
  class: "lupa-current-filter-value",
5116
5116
  "data-cy": "lupa-current-filter-value"
5117
5117
  };
5118
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
5118
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
5119
5119
  __name: "CurrentFilterDisplay",
5120
5120
  props: {
5121
5121
  filter: {}
@@ -5127,28 +5127,28 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
5127
5127
  emit("remove", { filter: props.filter });
5128
5128
  };
5129
5129
  return (_ctx, _cache) => {
5130
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
5130
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
5131
5131
  vue.createElementVNode("div", {
5132
5132
  class: "lupa-current-filter-action",
5133
5133
  onClick: handleClick
5134
5134
  }, "⨉"),
5135
- vue.createElementVNode("div", _hoisted_2$v, vue.toDisplayString(_ctx.filter.label) + ": ", 1),
5136
- vue.createElementVNode("div", _hoisted_3$m, vue.toDisplayString(_ctx.filter.value), 1)
5135
+ vue.createElementVNode("div", _hoisted_2$w, vue.toDisplayString(_ctx.filter.label) + ": ", 1),
5136
+ vue.createElementVNode("div", _hoisted_3$n, vue.toDisplayString(_ctx.filter.value), 1)
5137
5137
  ]);
5138
5138
  };
5139
5139
  }
5140
5140
  });
5141
- const _hoisted_1$J = { class: "lupa-filter-title-text" };
5142
- const _hoisted_2$u = {
5141
+ const _hoisted_1$K = { class: "lupa-filter-title-text" };
5142
+ const _hoisted_2$v = {
5143
5143
  key: 0,
5144
5144
  class: "lupa-filter-count"
5145
5145
  };
5146
- const _hoisted_3$l = {
5146
+ const _hoisted_3$m = {
5147
5147
  key: 0,
5148
5148
  class: "filter-values"
5149
5149
  };
5150
- const _hoisted_4$g = { class: "lupa-current-filter-list" };
5151
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5150
+ const _hoisted_4$h = { class: "lupa-current-filter-list" };
5151
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
5152
5152
  __name: "CurrentFilters",
5153
5153
  props: {
5154
5154
  options: {},
@@ -5203,19 +5203,19 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5203
5203
  class: "lupa-current-filter-title",
5204
5204
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
5205
5205
  }, [
5206
- vue.createElementVNode("div", _hoisted_1$J, [
5206
+ vue.createElementVNode("div", _hoisted_1$K, [
5207
5207
  vue.createTextVNode(vue.toDisplayString((_c = (_b = (_a = _ctx.options) == null ? void 0 : _a.labels) == null ? void 0 : _b.title) != null ? _c : "") + " ", 1),
5208
- _ctx.expandable ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$u, " (" + vue.toDisplayString(vue.unref(currentFilterCount)) + ") ", 1)) : vue.createCommentVNode("", true)
5208
+ _ctx.expandable ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$v, " (" + vue.toDisplayString(vue.unref(currentFilterCount)) + ") ", 1)) : vue.createCommentVNode("", true)
5209
5209
  ]),
5210
5210
  _ctx.expandable ? (vue.openBlock(), vue.createElementBlock("div", {
5211
5211
  key: 0,
5212
5212
  class: vue.normalizeClass(["lupa-filter-title-caret", isOpen.value && "open"])
5213
5213
  }, null, 2)) : vue.createCommentVNode("", true)
5214
5214
  ]),
5215
- !_ctx.expandable || isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
5216
- vue.createElementVNode("div", _hoisted_4$g, [
5215
+ !_ctx.expandable || isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
5216
+ vue.createElementVNode("div", _hoisted_4$h, [
5217
5217
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(displayFilters), (filter) => {
5218
- return vue.openBlock(), vue.createBlock(_sfc_main$N, {
5218
+ return vue.openBlock(), vue.createBlock(_sfc_main$O, {
5219
5219
  key: filter.key + "_" + filter.value,
5220
5220
  filter,
5221
5221
  onRemove: handleRemove
@@ -5232,8 +5232,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5232
5232
  };
5233
5233
  }
5234
5234
  });
5235
- const _hoisted_1$I = ["href"];
5236
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5235
+ const _hoisted_1$J = ["href"];
5236
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5237
5237
  __name: "CategoryFilterItem",
5238
5238
  props: {
5239
5239
  options: {},
@@ -5270,20 +5270,20 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5270
5270
  "data-cy": "lupa-child-category-item",
5271
5271
  href: urlLink.value,
5272
5272
  onClick: handleNavigation
5273
- }, vue.toDisplayString(title.value), 9, _hoisted_1$I)
5273
+ }, vue.toDisplayString(title.value), 9, _hoisted_1$J)
5274
5274
  ], 2);
5275
5275
  };
5276
5276
  }
5277
5277
  });
5278
- const _hoisted_1$H = {
5278
+ const _hoisted_1$I = {
5279
5279
  class: "lupa-category-filter",
5280
5280
  "data-cy": "lupa-category-filter"
5281
5281
  };
5282
- const _hoisted_2$t = { class: "lupa-category-back" };
5283
- const _hoisted_3$k = ["href"];
5284
- const _hoisted_4$f = ["href"];
5282
+ const _hoisted_2$u = { class: "lupa-category-back" };
5283
+ const _hoisted_3$l = ["href"];
5284
+ const _hoisted_4$g = ["href"];
5285
5285
  const _hoisted_5$9 = { class: "lupa-child-category-list" };
5286
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5286
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5287
5287
  __name: "CategoryFilter",
5288
5288
  props: {
5289
5289
  options: {}
@@ -5369,14 +5369,14 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5369
5369
  };
5370
5370
  __expose({ fetch: fetch2 });
5371
5371
  return (_ctx, _cache) => {
5372
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
5373
- vue.createElementVNode("div", _hoisted_2$t, [
5372
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
5373
+ vue.createElementVNode("div", _hoisted_2$u, [
5374
5374
  hasBackButton.value ? (vue.openBlock(), vue.createElementBlock("a", {
5375
5375
  key: 0,
5376
5376
  "data-cy": "lupa-category-back",
5377
5377
  href: backUrlLink.value,
5378
5378
  onClick: handleNavigationBack
5379
- }, vue.toDisplayString(backTitle.value), 9, _hoisted_3$k)) : vue.createCommentVNode("", true)
5379
+ }, vue.toDisplayString(backTitle.value), 9, _hoisted_3$l)) : vue.createCommentVNode("", true)
5380
5380
  ]),
5381
5381
  vue.createElementVNode("div", {
5382
5382
  class: vue.normalizeClass(["lupa-current-category", { "lupa-current-category-active": isActive }])
@@ -5386,11 +5386,11 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5386
5386
  href: parentUrlLink.value,
5387
5387
  class: vue.normalizeClass({ "lupa-title-category": !hasBackButton.value }),
5388
5388
  onClick: handleNavigationParent
5389
- }, vue.toDisplayString(parentTitle.value), 11, _hoisted_4$f)
5389
+ }, vue.toDisplayString(parentTitle.value), 11, _hoisted_4$g)
5390
5390
  ], 2),
5391
5391
  vue.createElementVNode("div", _hoisted_5$9, [
5392
5392
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(categoryChildren.value, (child) => {
5393
- return vue.openBlock(), vue.createBlock(_sfc_main$L, {
5393
+ return vue.openBlock(), vue.createBlock(_sfc_main$M, {
5394
5394
  key: getCategoryKey(child),
5395
5395
  item: child,
5396
5396
  options: _ctx.options
@@ -5401,13 +5401,13 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5401
5401
  };
5402
5402
  }
5403
5403
  });
5404
- const _hoisted_1$G = {
5404
+ const _hoisted_1$H = {
5405
5405
  class: "lupa-search-result-facet-term-values",
5406
5406
  "data-cy": "lupa-search-result-facet-term-values"
5407
5407
  };
5408
- const _hoisted_2$s = ["placeholder"];
5409
- const _hoisted_3$j = { class: "lupa-terms-list" };
5410
- const _hoisted_4$e = ["onClick"];
5408
+ const _hoisted_2$t = ["placeholder"];
5409
+ const _hoisted_3$k = { class: "lupa-terms-list" };
5410
+ const _hoisted_4$f = ["onClick"];
5411
5411
  const _hoisted_5$8 = { class: "lupa-term-checkbox-wrapper" };
5412
5412
  const _hoisted_6$5 = { class: "lupa-term-checkbox-label" };
5413
5413
  const _hoisted_7$5 = { class: "lupa-term-label" };
@@ -5417,7 +5417,7 @@ const _hoisted_8$2 = {
5417
5417
  };
5418
5418
  const _hoisted_9$1 = { key: 0 };
5419
5419
  const _hoisted_10$1 = { key: 1 };
5420
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5420
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5421
5421
  __name: "TermFacet",
5422
5422
  props: {
5423
5423
  options: {},
@@ -5486,17 +5486,17 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5486
5486
  return selectedItems == null ? void 0 : selectedItems.includes((_b = item.title) == null ? void 0 : _b.toString());
5487
5487
  };
5488
5488
  return (_ctx, _cache) => {
5489
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
5489
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
5490
5490
  isFilterable.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
5491
5491
  key: 0,
5492
5492
  class: "lupa-term-filter",
5493
5493
  "data-cy": "lupa-term-filter",
5494
5494
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
5495
5495
  placeholder: _ctx.options.labels.facetFilter
5496
- }, null, 8, _hoisted_2$s)), [
5496
+ }, null, 8, _hoisted_2$t)), [
5497
5497
  [vue.vModelText, termFilter.value]
5498
5498
  ]) : vue.createCommentVNode("", true),
5499
- vue.createElementVNode("div", _hoisted_3$j, [
5499
+ vue.createElementVNode("div", _hoisted_3$k, [
5500
5500
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayValues.value, (item) => {
5501
5501
  return vue.openBlock(), vue.createElementBlock("div", {
5502
5502
  class: vue.normalizeClass(["lupa-facet-term", { checked: isChecked(item) }]),
@@ -5513,7 +5513,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5513
5513
  vue.createElementVNode("span", _hoisted_7$5, vue.toDisplayString(item.title), 1),
5514
5514
  _ctx.options.showDocumentCount ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$2, "(" + vue.toDisplayString(item.count) + ")", 1)) : vue.createCommentVNode("", true)
5515
5515
  ])
5516
- ], 10, _hoisted_4$e);
5516
+ ], 10, _hoisted_4$f);
5517
5517
  }), 128))
5518
5518
  ]),
5519
5519
  displayShowMore.value ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -6504,16 +6504,16 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
6504
6504
  m.render = function(e, t, r, i, n, o) {
6505
6505
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps(e.sliderProps, { ref: "slider" }), null, 16);
6506
6506
  }, m.__file = "src/Slider.vue";
6507
- const _hoisted_1$F = { class: "lupa-search-result-facet-stats-values" };
6508
- const _hoisted_2$r = {
6507
+ const _hoisted_1$G = { class: "lupa-search-result-facet-stats-values" };
6508
+ const _hoisted_2$s = {
6509
6509
  key: 0,
6510
6510
  class: "lupa-stats-facet-summary"
6511
6511
  };
6512
- const _hoisted_3$i = {
6512
+ const _hoisted_3$j = {
6513
6513
  key: 1,
6514
6514
  class: "lupa-stats-facet-summary-input"
6515
6515
  };
6516
- const _hoisted_4$d = {
6516
+ const _hoisted_4$e = {
6517
6517
  key: 0,
6518
6518
  class: "lupa-stats-range-label"
6519
6519
  };
@@ -6532,7 +6532,7 @@ const _hoisted_13 = {
6532
6532
  key: 2,
6533
6533
  class: "lupa-stats-slider-wrapper"
6534
6534
  };
6535
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6535
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6536
6536
  __name: "StatsFacet",
6537
6537
  props: {
6538
6538
  options: {},
@@ -6680,10 +6680,10 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6680
6680
  innerSliderRange.value = value;
6681
6681
  };
6682
6682
  return (_ctx, _cache) => {
6683
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
6684
- !isInputVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, vue.toDisplayString(statsSummary.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$i, [
6683
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
6684
+ !isInputVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s, vue.toDisplayString(statsSummary.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$j, [
6685
6685
  vue.createElementVNode("div", null, [
6686
- rangeLabelFrom.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, vue.toDisplayString(rangeLabelFrom.value), 1)) : vue.createCommentVNode("", true),
6686
+ rangeLabelFrom.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$e, vue.toDisplayString(rangeLabelFrom.value), 1)) : vue.createCommentVNode("", true),
6687
6687
  vue.createElementVNode("div", _hoisted_5$7, [
6688
6688
  vue.withDirectives(vue.createElementVNode("input", {
6689
6689
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
@@ -6744,10 +6744,10 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6744
6744
  };
6745
6745
  }
6746
6746
  });
6747
- const _hoisted_1$E = { class: "lupa-term-checkbox-wrapper" };
6748
- const _hoisted_2$q = { class: "lupa-term-checkbox-label" };
6749
- const _hoisted_3$h = { class: "lupa-term-label" };
6750
- const _hoisted_4$c = {
6747
+ const _hoisted_1$F = { class: "lupa-term-checkbox-wrapper" };
6748
+ const _hoisted_2$r = { class: "lupa-term-checkbox-label" };
6749
+ const _hoisted_3$i = { class: "lupa-term-label" };
6750
+ const _hoisted_4$d = {
6751
6751
  key: 0,
6752
6752
  class: "lupa-term-count"
6753
6753
  };
@@ -6755,7 +6755,7 @@ const _hoisted_5$6 = {
6755
6755
  key: 0,
6756
6756
  class: "lupa-facet-level"
6757
6757
  };
6758
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
6758
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6759
6759
  __name: "HierarchyFacetLevel",
6760
6760
  props: {
6761
6761
  options: {},
@@ -6801,14 +6801,14 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
6801
6801
  "data-cy": "lupa-facet-term",
6802
6802
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
6803
6803
  }, [
6804
- vue.createElementVNode("div", _hoisted_1$E, [
6804
+ vue.createElementVNode("div", _hoisted_1$F, [
6805
6805
  vue.createElementVNode("span", {
6806
6806
  class: vue.normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
6807
6807
  }, null, 2)
6808
6808
  ]),
6809
- vue.createElementVNode("div", _hoisted_2$q, [
6810
- vue.createElementVNode("span", _hoisted_3$h, vue.toDisplayString(_ctx.item.title) + vue.toDisplayString(" "), 1),
6811
- _ctx.options.showDocumentCount ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$c, "(" + vue.toDisplayString(_ctx.item.count) + ")", 1)) : vue.createCommentVNode("", true)
6809
+ vue.createElementVNode("div", _hoisted_2$r, [
6810
+ vue.createElementVNode("span", _hoisted_3$i, vue.toDisplayString(_ctx.item.title) + vue.toDisplayString(" "), 1),
6811
+ _ctx.options.showDocumentCount ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$d, "(" + vue.toDisplayString(_ctx.item.count) + ")", 1)) : vue.createCommentVNode("", true)
6812
6812
  ])
6813
6813
  ]),
6814
6814
  showChildren.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$6, [
@@ -6827,13 +6827,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
6827
6827
  };
6828
6828
  }
6829
6829
  });
6830
- const _hoisted_1$D = {
6830
+ const _hoisted_1$E = {
6831
6831
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
6832
6832
  "data-cy": "lupa-search-result-facet-term-values"
6833
6833
  };
6834
- const _hoisted_2$p = { key: 0 };
6835
- const _hoisted_3$g = ["placeholder"];
6836
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6834
+ const _hoisted_2$q = { key: 0 };
6835
+ const _hoisted_3$h = ["placeholder"];
6836
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
6837
6837
  __name: "HierarchyFacet",
6838
6838
  props: {
6839
6839
  options: {},
@@ -6883,19 +6883,19 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6883
6883
  showAll.value = true;
6884
6884
  };
6885
6885
  return (_ctx, _cache) => {
6886
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
6887
- isFilterable.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$p, [
6886
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
6887
+ isFilterable.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$q, [
6888
6888
  vue.withDirectives(vue.createElementVNode("input", {
6889
6889
  class: "lupa-term-filter",
6890
6890
  "data-cy": "lupa-term-filter",
6891
6891
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
6892
6892
  placeholder: _ctx.options.labels.facetFilter
6893
- }, null, 8, _hoisted_3$g), [
6893
+ }, null, 8, _hoisted_3$h), [
6894
6894
  [vue.vModelText, termFilter.value]
6895
6895
  ])
6896
6896
  ])) : vue.createCommentVNode("", true),
6897
6897
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayValues.value, (item) => {
6898
- return vue.openBlock(), vue.createBlock(_sfc_main$H, {
6898
+ return vue.openBlock(), vue.createBlock(_sfc_main$I, {
6899
6899
  key: item.title,
6900
6900
  options: _ctx.options,
6901
6901
  item,
@@ -6915,20 +6915,20 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6915
6915
  };
6916
6916
  }
6917
6917
  });
6918
- const _hoisted_1$C = { class: "lupa-facet-label-text" };
6919
- const _hoisted_2$o = {
6918
+ const _hoisted_1$D = { class: "lupa-facet-label-text" };
6919
+ const _hoisted_2$p = {
6920
6920
  key: 0,
6921
6921
  class: "lupa-facet-content",
6922
6922
  "data-cy": "lupa-facet-content"
6923
6923
  };
6924
6924
  const __default__$2 = {
6925
6925
  components: {
6926
- TermFacet: _sfc_main$J,
6927
- StatsFacet: _sfc_main$I,
6928
- HierarchyFacet: _sfc_main$G
6926
+ TermFacet: _sfc_main$K,
6927
+ StatsFacet: _sfc_main$J,
6928
+ HierarchyFacet: _sfc_main$H
6929
6929
  }
6930
6930
  };
6931
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
6931
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
6932
6932
  __name: "FacetDisplay",
6933
6933
  props: {
6934
6934
  options: {},
@@ -7039,12 +7039,12 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
7039
7039
  "data-cy": "lupa-search-result-facet-label",
7040
7040
  onClick: toggleFacet
7041
7041
  }, [
7042
- vue.createElementVNode("div", _hoisted_1$C, vue.toDisplayString(facet.value.label), 1),
7042
+ vue.createElementVNode("div", _hoisted_1$D, vue.toDisplayString(facet.value.label), 1),
7043
7043
  vue.createElementVNode("div", {
7044
7044
  class: vue.normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
7045
7045
  }, null, 2)
7046
7046
  ], 2),
7047
- isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
7047
+ isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$p, [
7048
7048
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(facetType.value), {
7049
7049
  facet: facet.value,
7050
7050
  currentFilters: currentFilters.value[facet.value.key],
@@ -7062,12 +7062,12 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
7062
7062
  };
7063
7063
  }
7064
7064
  }));
7065
- const _hoisted_1$B = { class: "lupa-search-result-facet-section" };
7066
- const _hoisted_2$n = {
7065
+ const _hoisted_1$C = { class: "lupa-search-result-facet-section" };
7066
+ const _hoisted_2$o = {
7067
7067
  key: 0,
7068
7068
  class: "lupa-facets-title"
7069
7069
  };
7070
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7070
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7071
7071
  __name: "FacetList",
7072
7072
  props: {
7073
7073
  options: {},
@@ -7101,14 +7101,14 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7101
7101
  };
7102
7102
  return (_ctx, _cache) => {
7103
7103
  var _a;
7104
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
7105
- _ctx.options.labels.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, vue.toDisplayString(_ctx.options.labels.title), 1)) : vue.createCommentVNode("", true),
7104
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
7105
+ _ctx.options.labels.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, vue.toDisplayString(_ctx.options.labels.title), 1)) : vue.createCommentVNode("", true),
7106
7106
  vue.createElementVNode("div", {
7107
7107
  class: vue.normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a = _ctx.facetStyle) != null ? _a : "")])
7108
7108
  }, [
7109
7109
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayFacets.value, (facet) => {
7110
7110
  var _a2;
7111
- return vue.openBlock(), vue.createBlock(_sfc_main$F, {
7111
+ return vue.openBlock(), vue.createBlock(_sfc_main$G, {
7112
7112
  key: facet.key,
7113
7113
  facet,
7114
7114
  currentFilters: currentFiltersValue.value,
@@ -7123,8 +7123,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7123
7123
  };
7124
7124
  }
7125
7125
  });
7126
- const _hoisted_1$A = { class: "lupa-search-result-facets" };
7127
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7126
+ const _hoisted_1$B = { class: "lupa-search-result-facets" };
7127
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7128
7128
  __name: "Facets",
7129
7129
  props: {
7130
7130
  options: {},
@@ -7170,8 +7170,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7170
7170
  paramStore.removeParameters({ paramsToRemove: [param] });
7171
7171
  };
7172
7172
  return (_ctx, _cache) => {
7173
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
7174
- regularFacets.value ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
7173
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
7174
+ regularFacets.value ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
7175
7175
  key: 0,
7176
7176
  options: _ctx.options,
7177
7177
  facets: regularFacets.value,
@@ -7185,11 +7185,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7185
7185
  };
7186
7186
  }
7187
7187
  });
7188
- const _hoisted_1$z = {
7188
+ const _hoisted_1$A = {
7189
7189
  id: "lupa-search-result-filters",
7190
7190
  class: "lupa-search-result-filters"
7191
7191
  };
7192
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7192
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7193
7193
  __name: "SearchResultsFilters",
7194
7194
  props: {
7195
7195
  options: {},
@@ -7218,19 +7218,19 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7218
7218
  __expose({ fetch: fetch2 });
7219
7219
  return (_ctx, _cache) => {
7220
7220
  var _a;
7221
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
7222
- showCurrentFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
7221
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
7222
+ showCurrentFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$N, {
7223
7223
  key: 0,
7224
7224
  options: _ctx.options.currentFilters,
7225
7225
  expandable: (_a = _ctx.expandable) != null ? _a : false
7226
7226
  }, null, 8, ["options", "expandable"])) : vue.createCommentVNode("", true),
7227
- _ctx.options.categories ? (vue.openBlock(), vue.createBlock(_sfc_main$K, {
7227
+ _ctx.options.categories ? (vue.openBlock(), vue.createBlock(_sfc_main$L, {
7228
7228
  key: 1,
7229
7229
  options: _ctx.options.categories,
7230
7230
  ref_key: "categoryFilters",
7231
7231
  ref: categoryFilters
7232
7232
  }, null, 8, ["options"])) : vue.createCommentVNode("", true),
7233
- _ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
7233
+ _ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
7234
7234
  key: 2,
7235
7235
  options: _ctx.options.facets
7236
7236
  }, null, 8, ["options"])) : vue.createCommentVNode("", true)
@@ -7238,20 +7238,20 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7238
7238
  };
7239
7239
  }
7240
7240
  });
7241
- const _hoisted_1$y = {
7241
+ const _hoisted_1$z = {
7242
7242
  key: 0,
7243
7243
  class: "lupa-mobile-filter-sidebar"
7244
7244
  };
7245
- const _hoisted_2$m = ["onClick"];
7246
- const _hoisted_3$f = { class: "lupa-mobile-sidebar-content" };
7247
- const _hoisted_4$b = { class: "lupa-sidebar-top" };
7245
+ const _hoisted_2$n = ["onClick"];
7246
+ const _hoisted_3$g = { class: "lupa-mobile-sidebar-content" };
7247
+ const _hoisted_4$c = { class: "lupa-sidebar-top" };
7248
7248
  const _hoisted_5$5 = { class: "lupa-sidebar-title" };
7249
7249
  const _hoisted_6$3 = {
7250
7250
  key: 0,
7251
7251
  class: "lupa-sidebar-filter-count"
7252
7252
  };
7253
7253
  const _hoisted_7$3 = { class: "lupa-sidebar-filter-options" };
7254
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7254
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7255
7255
  __name: "MobileFilterSidebar",
7256
7256
  props: {
7257
7257
  options: {}
@@ -7277,13 +7277,13 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7277
7277
  searchResultStore.setSidebarState({ visible: false });
7278
7278
  };
7279
7279
  return (_ctx, _cache) => {
7280
- return isMobileSidebarVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
7280
+ return isMobileSidebarVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
7281
7281
  vue.createElementVNode("div", {
7282
7282
  class: "lupa-sidebar-close",
7283
7283
  onClick: vue.withModifiers(handleMobileToggle, ["stop"])
7284
- }, null, 8, _hoisted_2$m),
7285
- vue.createElementVNode("div", _hoisted_3$f, [
7286
- vue.createElementVNode("div", _hoisted_4$b, [
7284
+ }, null, 8, _hoisted_2$n),
7285
+ vue.createElementVNode("div", _hoisted_3$g, [
7286
+ vue.createElementVNode("div", _hoisted_4$c, [
7287
7287
  vue.createElementVNode("div", _hoisted_5$5, [
7288
7288
  vue.createTextVNode(vue.toDisplayString(sidebarTitle.value) + " ", 1),
7289
7289
  isFilterCountVisible.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$3, vue.toDisplayString(vue.unref(currentFilterCount)), 1)) : vue.createCommentVNode("", true)
@@ -7294,7 +7294,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7294
7294
  })
7295
7295
  ]),
7296
7296
  vue.createElementVNode("div", _hoisted_7$3, [
7297
- vue.createVNode(_sfc_main$C, {
7297
+ vue.createVNode(_sfc_main$D, {
7298
7298
  options: _ctx.options,
7299
7299
  expandable: isActiveFiltersExpanded.value
7300
7300
  }, null, 8, ["options", "expandable"])
@@ -7304,14 +7304,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7304
7304
  };
7305
7305
  }
7306
7306
  });
7307
- const _hoisted_1$x = { id: "lupa-search-results-breadcrumbs" };
7308
- const _hoisted_2$l = ["href", "onClick"];
7309
- const _hoisted_3$e = {
7307
+ const _hoisted_1$y = { id: "lupa-search-results-breadcrumbs" };
7308
+ const _hoisted_2$m = ["href", "onClick"];
7309
+ const _hoisted_3$f = {
7310
7310
  key: 1,
7311
7311
  class: "lupa-search-results-breadcrumb-text"
7312
7312
  };
7313
- const _hoisted_4$a = { key: 2 };
7314
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7313
+ const _hoisted_4$b = { key: 2 };
7314
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7315
7315
  __name: "SearchResultsBreadcrumbs",
7316
7316
  props: {
7317
7317
  breadcrumbs: {}
@@ -7336,7 +7336,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7336
7336
  handleRoutingEvent(link, event, hasEventRouting.value);
7337
7337
  };
7338
7338
  return (_ctx, _cache) => {
7339
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
7339
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
7340
7340
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(breadcrumbsValue.value, (breadcrumb, index) => {
7341
7341
  return vue.openBlock(), vue.createElementBlock("span", {
7342
7342
  class: "lupa-search-results-breadcrumb",
@@ -7350,19 +7350,19 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7350
7350
  var _a;
7351
7351
  return handleNavigation(e, (_a = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a : "");
7352
7352
  }
7353
- }, vue.toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$l)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, vue.toDisplayString(getLabel(breadcrumb.label)), 1)),
7354
- index < breadcrumbsValue.value.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$a, " / ")) : vue.createCommentVNode("", true)
7353
+ }, vue.toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$m)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$f, vue.toDisplayString(getLabel(breadcrumb.label)), 1)),
7354
+ index < breadcrumbsValue.value.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$b, " / ")) : vue.createCommentVNode("", true)
7355
7355
  ]);
7356
7356
  }), 128))
7357
7357
  ]);
7358
7358
  };
7359
7359
  }
7360
7360
  });
7361
- const _hoisted_1$w = {
7361
+ const _hoisted_1$x = {
7362
7362
  id: "lupa-search-result-filters",
7363
7363
  class: "lupa-search-result-filters"
7364
7364
  };
7365
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7365
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7366
7366
  __name: "FiltersTopDropdown",
7367
7367
  props: {
7368
7368
  options: {}
@@ -7370,8 +7370,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7370
7370
  setup(__props) {
7371
7371
  return (_ctx, _cache) => {
7372
7372
  var _a;
7373
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
7374
- _ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
7373
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
7374
+ _ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
7375
7375
  key: 0,
7376
7376
  options: _ctx.options.facets,
7377
7377
  "facet-style": (_a = _ctx.options.facets.style) == null ? void 0 : _a.type,
@@ -7381,8 +7381,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7381
7381
  };
7382
7382
  }
7383
7383
  });
7384
- const _hoisted_1$v = { id: "lupa-search-results-layout-selection" };
7385
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7384
+ const _hoisted_1$w = { id: "lupa-search-results-layout-selection" };
7385
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7386
7386
  __name: "SearchResultsLayoutSelection",
7387
7387
  setup(__props) {
7388
7388
  const searchResultStore = useSearchResultStore();
@@ -7393,7 +7393,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7393
7393
  searchResultStore.setLayout(layout2);
7394
7394
  };
7395
7395
  return (_ctx, _cache) => {
7396
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
7396
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
7397
7397
  vue.createElementVNode("div", {
7398
7398
  class: vue.normalizeClass([
7399
7399
  "lupa-layout-selection-grid",
@@ -7415,11 +7415,11 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7415
7415
  };
7416
7416
  }
7417
7417
  });
7418
- const _hoisted_1$u = {
7418
+ const _hoisted_1$v = {
7419
7419
  key: 0,
7420
7420
  class: "lupa-mobile-toggle-filter-count"
7421
7421
  };
7422
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7422
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7423
7423
  __name: "SearchResultsMobileToggle",
7424
7424
  props: {
7425
7425
  label: {},
@@ -7437,26 +7437,26 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7437
7437
  onClick: handleMobileToggle
7438
7438
  }, [
7439
7439
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
7440
- _ctx.showFilterCount && vue.unref(currentFilterCount) > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$u, vue.toDisplayString(vue.unref(currentFilterCount)), 1)) : vue.createCommentVNode("", true)
7440
+ _ctx.showFilterCount && vue.unref(currentFilterCount) > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$v, vue.toDisplayString(vue.unref(currentFilterCount)), 1)) : vue.createCommentVNode("", true)
7441
7441
  ], 2);
7442
7442
  };
7443
7443
  }
7444
7444
  });
7445
- const _hoisted_1$t = {
7445
+ const _hoisted_1$u = {
7446
7446
  key: 0,
7447
7447
  id: "lupa-search-results-page-select",
7448
7448
  "data-cy": "lupa-search-results-page-select"
7449
7449
  };
7450
- const _hoisted_2$k = {
7450
+ const _hoisted_2$l = {
7451
7451
  key: 0,
7452
7452
  class: "lupa-page-number-separator"
7453
7453
  };
7454
- const _hoisted_3$d = ["onClick"];
7455
- const _hoisted_4$9 = {
7454
+ const _hoisted_3$e = ["onClick"];
7455
+ const _hoisted_4$a = {
7456
7456
  key: 0,
7457
7457
  class: "lupa-page-number-separator"
7458
7458
  };
7459
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7459
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7460
7460
  __name: "SearchResultsPageSelect",
7461
7461
  props: {
7462
7462
  lastPageLabel: {},
@@ -7518,7 +7518,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7518
7518
  }
7519
7519
  };
7520
7520
  return (_ctx, _cache) => {
7521
- return showPagination.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
7521
+ return showPagination.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
7522
7522
  showBack.value ? (vue.openBlock(), vue.createElementBlock("div", {
7523
7523
  key: 0,
7524
7524
  class: vue.normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -7529,7 +7529,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7529
7529
  class: "lupa-page-number lupa-page-number-first",
7530
7530
  onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
7531
7531
  }, " 1 "),
7532
- showFirstPageSeparator.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$k, "...")) : vue.createCommentVNode("", true)
7532
+ showFirstPageSeparator.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$l, "...")) : vue.createCommentVNode("", true)
7533
7533
  ], 64)) : vue.createCommentVNode("", true),
7534
7534
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pages.value, (page) => {
7535
7535
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -7540,10 +7540,10 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7540
7540
  page === _ctx.options.selectedPage ? "lupa-page-number-selected" : ""
7541
7541
  ]),
7542
7542
  "data-cy": "lupa-page-number"
7543
- }, vue.toDisplayString(page), 11, _hoisted_3$d);
7543
+ }, vue.toDisplayString(page), 11, _hoisted_3$e);
7544
7544
  }), 128)),
7545
7545
  showLastPage.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
7546
- showLastPageSeparator.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, "...")) : vue.createCommentVNode("", true),
7546
+ showLastPageSeparator.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, "...")) : vue.createCommentVNode("", true),
7547
7547
  vue.createElementVNode("div", {
7548
7548
  class: "lupa-page-number lupa-page-number-last",
7549
7549
  onClick: _cache[2] || (_cache[2] = () => {
@@ -7562,13 +7562,13 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7562
7562
  };
7563
7563
  }
7564
7564
  });
7565
- const _hoisted_1$s = {
7565
+ const _hoisted_1$t = {
7566
7566
  id: "lupa-search-results-page-size",
7567
7567
  "data-cy": "lupa-search-results-page-size"
7568
7568
  };
7569
- const _hoisted_2$j = { id: "lupa-select" };
7570
- const _hoisted_3$c = { class: "lupa-select-label" };
7571
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
7569
+ const _hoisted_2$k = { id: "lupa-select" };
7570
+ const _hoisted_3$d = { class: "lupa-select-label" };
7571
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7572
7572
  __name: "SearchResultsPageSize",
7573
7573
  props: {
7574
7574
  label: {},
@@ -7585,9 +7585,9 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
7585
7585
  });
7586
7586
  };
7587
7587
  return (_ctx, _cache) => {
7588
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
7589
- vue.createElementVNode("div", _hoisted_2$j, [
7590
- vue.createElementVNode("label", _hoisted_3$c, vue.toDisplayString(_ctx.label), 1),
7588
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
7589
+ vue.createElementVNode("div", _hoisted_2$k, [
7590
+ vue.createElementVNode("label", _hoisted_3$d, vue.toDisplayString(_ctx.label), 1),
7591
7591
  vue.createElementVNode("select", {
7592
7592
  class: "lupa-select-dropdown",
7593
7593
  "data-cy": "lupa-page-size-select-dropdown",
@@ -7604,14 +7604,14 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
7604
7604
  };
7605
7605
  }
7606
7606
  });
7607
- const _hoisted_1$r = {
7607
+ const _hoisted_1$s = {
7608
7608
  id: "lupa-search-results-sort",
7609
7609
  class: "lupa-search-results-sort"
7610
7610
  };
7611
- const _hoisted_2$i = { id: "lupa-select" };
7612
- const _hoisted_3$b = { class: "lupa-select-label" };
7613
- const _hoisted_4$8 = ["value"];
7614
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7611
+ const _hoisted_2$j = { id: "lupa-select" };
7612
+ const _hoisted_3$c = { class: "lupa-select-label" };
7613
+ const _hoisted_4$9 = ["value"];
7614
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
7615
7615
  __name: "SearchResultsSort",
7616
7616
  props: {
7617
7617
  options: {}
@@ -7653,9 +7653,9 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7653
7653
  });
7654
7654
  };
7655
7655
  return (_ctx, _cache) => {
7656
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
7657
- vue.createElementVNode("div", _hoisted_2$i, [
7658
- vue.createElementVNode("label", _hoisted_3$b, vue.toDisplayString(_ctx.options.label), 1),
7656
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
7657
+ vue.createElementVNode("div", _hoisted_2$j, [
7658
+ vue.createElementVNode("label", _hoisted_3$c, vue.toDisplayString(_ctx.options.label), 1),
7659
7659
  vue.withDirectives(vue.createElementVNode("select", {
7660
7660
  class: "lupa-select-dropdown",
7661
7661
  "data-cy": "lupa-sort-select-dropdown",
@@ -7667,7 +7667,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7667
7667
  return vue.openBlock(), vue.createElementBlock("option", {
7668
7668
  key: option.key,
7669
7669
  value: option.key
7670
- }, vue.toDisplayString(option.label), 9, _hoisted_4$8);
7670
+ }, vue.toDisplayString(option.label), 9, _hoisted_4$9);
7671
7671
  }), 128))
7672
7672
  ], 544), [
7673
7673
  [vue.vModelSelect, selectedKey.value]
@@ -7677,14 +7677,14 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7677
7677
  };
7678
7678
  }
7679
7679
  });
7680
- const _hoisted_1$q = { class: "lupa-toolbar-left" };
7681
- const _hoisted_2$h = { key: 1 };
7682
- const _hoisted_3$a = { key: 3 };
7683
- const _hoisted_4$7 = { key: 5 };
7680
+ const _hoisted_1$r = { class: "lupa-toolbar-left" };
7681
+ const _hoisted_2$i = { key: 1 };
7682
+ const _hoisted_3$b = { key: 3 };
7683
+ const _hoisted_4$8 = { key: 5 };
7684
7684
  const _hoisted_5$4 = { class: "lupa-toolbar-right" };
7685
7685
  const _hoisted_6$2 = { key: 1 };
7686
7686
  const _hoisted_7$2 = { key: 3 };
7687
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7687
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7688
7688
  __name: "SearchResultsToolbar",
7689
7689
  props: {
7690
7690
  options: {},
@@ -7781,32 +7781,32 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7781
7781
  id: "lupa-search-results-toolbar",
7782
7782
  class: vue.normalizeClass({ "lupa-filter-no-results": !hasResults.value })
7783
7783
  }, [
7784
- vue.createElementVNode("div", _hoisted_1$q, [
7785
- showLayoutSelection.value ? (vue.openBlock(), vue.createBlock(_sfc_main$y, { key: 0 })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$h)),
7786
- showItemSummary.value ? (vue.openBlock(), vue.createBlock(_sfc_main$P, {
7784
+ vue.createElementVNode("div", _hoisted_1$r, [
7785
+ showLayoutSelection.value ? (vue.openBlock(), vue.createBlock(_sfc_main$z, { key: 0 })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$i)),
7786
+ showItemSummary.value ? (vue.openBlock(), vue.createBlock(_sfc_main$Q, {
7787
7787
  key: 2,
7788
7788
  label: searchSummaryLabel.value,
7789
7789
  clearable: vue.unref(hasAnyFilter) && showFilterClear.value,
7790
7790
  onClear: handleClearAll
7791
- }, null, 8, ["label", "clearable"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$a)),
7792
- displayPageSelect.value ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
7791
+ }, null, 8, ["label", "clearable"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b)),
7792
+ displayPageSelect.value ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
7793
7793
  key: 4,
7794
7794
  options: paginationOptions.value.pageSelect,
7795
7795
  "last-page-label": paginationOptions.value.labels.showMore,
7796
7796
  "first-page-label": paginationOptions.value.labels.showLess
7797
- }, null, 8, ["options", "last-page-label", "first-page-label"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7))
7797
+ }, null, 8, ["options", "last-page-label", "first-page-label"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8))
7798
7798
  ]),
7799
7799
  vue.createElementVNode("div", _hoisted_5$4, [
7800
- vue.createVNode(_sfc_main$x, {
7800
+ vue.createVNode(_sfc_main$y, {
7801
7801
  label: optionsValue.value.labels.mobileFilterButton,
7802
7802
  "show-filter-count": showMobileFilterCount.value
7803
7803
  }, null, 8, ["label", "show-filter-count"]),
7804
- paginationDisplay.value.pageSize ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
7804
+ paginationDisplay.value.pageSize ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
7805
7805
  key: 0,
7806
7806
  options: paginationOptions.value.pageSize,
7807
7807
  label: paginationOptions.value.labels.pageSize
7808
7808
  }, null, 8, ["options", "label"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2)),
7809
- sortOptions.value ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
7809
+ sortOptions.value ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
7810
7810
  key: 2,
7811
7811
  options: sortOptions.value
7812
7812
  }, null, 8, ["options"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2))
@@ -7815,6 +7815,58 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7815
7815
  };
7816
7816
  }
7817
7817
  });
7818
+ const _hoisted_1$q = { class: "lupa-badge-title" };
7819
+ const _hoisted_2$h = ["src"];
7820
+ const _hoisted_3$a = { key: 1 };
7821
+ const _hoisted_4$7 = {
7822
+ key: 0,
7823
+ class: "lupa-badge-full-text"
7824
+ };
7825
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7826
+ __name: "SearchResultGeneratedBadge",
7827
+ props: {
7828
+ options: {},
7829
+ badge: {}
7830
+ },
7831
+ setup(__props) {
7832
+ const props = __props;
7833
+ const image = vue.computed(() => {
7834
+ var _a, _b, _c;
7835
+ return (_c = (_b = (_a = props.options.generate) == null ? void 0 : _a.image) == null ? void 0 : _b.call(_a, props.badge)) != null ? _c : "";
7836
+ });
7837
+ const showTitle = vue.computed(() => {
7838
+ var _a, _b, _c;
7839
+ return (_c = (_b = (_a = props.options.generate) == null ? void 0 : _a.showTitle) == null ? void 0 : _b.call(_a, props.badge)) != null ? _c : true;
7840
+ });
7841
+ const hasAdditionalText = vue.computed(() => {
7842
+ var _a, _b;
7843
+ return Boolean((_a = props.badge) == null ? void 0 : _a.additionalText) && typeof ((_b = props.badge) == null ? void 0 : _b.additionalText) === "string";
7844
+ });
7845
+ const hasTitleText = vue.computed(() => {
7846
+ var _a, _b;
7847
+ return Boolean((_a = props.badge) == null ? void 0 : _a.titleText) && typeof ((_b = props.badge) == null ? void 0 : _b.titleText) === "string";
7848
+ });
7849
+ const customClassName = vue.computed(() => {
7850
+ var _a, _b, _c;
7851
+ return (_c = (_b = (_a = props.options.generate) == null ? void 0 : _a.customClass) == null ? void 0 : _b.call(_a, props.badge)) != null ? _c : "";
7852
+ });
7853
+ return (_ctx, _cache) => {
7854
+ return vue.openBlock(), vue.createElementBlock("div", {
7855
+ class: vue.normalizeClass(["lupa-dynamic-badge", customClassName.value]),
7856
+ style: vue.normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
7857
+ }, [
7858
+ vue.createElementVNode("span", _hoisted_1$q, [
7859
+ image.value ? (vue.openBlock(), vue.createElementBlock("img", {
7860
+ key: 0,
7861
+ src: image.value
7862
+ }, null, 8, _hoisted_2$h)) : vue.createCommentVNode("", true),
7863
+ hasTitleText.value && showTitle.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$a, vue.toDisplayString(_ctx.badge.titleText), 1)) : vue.createCommentVNode("", true)
7864
+ ]),
7865
+ hasAdditionalText.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$7, vue.toDisplayString(_ctx.badge.additionalText), 1)) : vue.createCommentVNode("", true)
7866
+ ], 6);
7867
+ };
7868
+ }
7869
+ });
7818
7870
  const _hoisted_1$p = { class: "lupa-generated-badges" };
7819
7871
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
7820
7872
  __name: "SearchResultGeneratedBadges",
@@ -7842,10 +7894,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
7842
7894
  })).filter((b) => Boolean(b.id));
7843
7895
  });
7844
7896
  return (_ctx, _cache) => {
7845
- const _component_SearchResultGeneratedBadge = vue.resolveComponent("SearchResultGeneratedBadge");
7846
7897
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
7847
7898
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(badges.value, (badge) => {
7848
- return vue.openBlock(), vue.createBlock(_component_SearchResultGeneratedBadge, {
7899
+ return vue.openBlock(), vue.createBlock(_sfc_main$t, {
7849
7900
  key: badge.id,
7850
7901
  badge,
7851
7902
  options: _ctx.options
@@ -8008,7 +8059,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
8008
8059
  badge
8009
8060
  }, null, 8, ["badge"]);
8010
8061
  }), 128)),
8011
- _ctx.position === "card" ? (vue.openBlock(), vue.createBlock(_sfc_main$s, {
8062
+ positionValue.value === "card" ? (vue.openBlock(), vue.createBlock(_sfc_main$s, {
8012
8063
  key: 0,
8013
8064
  options: _ctx.options
8014
8065
  }, null, 8, ["options"])) : vue.createCommentVNode("", true)
@@ -8025,7 +8076,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
8025
8076
  },
8026
8077
  setup(__props) {
8027
8078
  return (_ctx, _cache) => {
8028
- return vue.openBlock(), vue.createBlock(_sfc_main$13, {
8079
+ return vue.openBlock(), vue.createBlock(_sfc_main$14, {
8029
8080
  item: _ctx.item,
8030
8081
  options: _ctx.options,
8031
8082
  "wrapper-class": "lupa-search-results-image-wrapper",
@@ -9106,17 +9157,17 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
9106
9157
  class: "lupa-loader"
9107
9158
  })) : vue.createCommentVNode("", true),
9108
9159
  vue.unref(hasResults) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
9109
- showTopFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
9160
+ showTopFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
9110
9161
  key: 0,
9111
9162
  options: (_a = _ctx.options.filters) != null ? _a : {}
9112
9163
  }, null, 8, ["options"])) : vue.createCommentVNode("", true),
9113
- showMobileFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
9164
+ showMobileFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
9114
9165
  key: 1,
9115
9166
  class: "lupa-toolbar-mobile",
9116
9167
  options: _ctx.options,
9117
9168
  "pagination-location": "top"
9118
9169
  }, null, 8, ["options"])) : vue.createCommentVNode("", true),
9119
- currentFilterOptions.value ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
9170
+ currentFilterOptions.value ? (vue.openBlock(), vue.createBlock(_sfc_main$N, {
9120
9171
  key: 2,
9121
9172
  class: vue.normalizeClass(currentFiltersClass.value),
9122
9173
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -9130,7 +9181,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
9130
9181
  sdkOptions: _ctx.options.options
9131
9182
  }, null, 8, ["options", "sdkOptions"]),
9132
9183
  vue.unref(hasResults) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
9133
- vue.createVNode(_sfc_main$t, {
9184
+ vue.createVNode(_sfc_main$u, {
9134
9185
  class: "lupa-toolbar-top",
9135
9186
  options: _ctx.options,
9136
9187
  "pagination-location": "top"
@@ -9160,7 +9211,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
9160
9211
  onClick: goToFirstPage
9161
9212
  }, vue.toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : vue.createCommentVNode("", true)
9162
9213
  ])) : vue.createCommentVNode("", true),
9163
- vue.createVNode(_sfc_main$t, {
9214
+ vue.createVNode(_sfc_main$u, {
9164
9215
  class: "lupa-toolbar-bottom",
9165
9216
  options: _ctx.options,
9166
9217
  "pagination-location": "bottom"
@@ -9232,7 +9283,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
9232
9283
  onClick: handleNavigationBack
9233
9284
  }, vue.toDisplayString(backTitle.value), 9, _hoisted_3$1)
9234
9285
  ])) : vue.createCommentVNode("", true),
9235
- vue.createVNode(_sfc_main$t, {
9286
+ vue.createVNode(_sfc_main$u, {
9236
9287
  class: "lupa-toolbar-mobile",
9237
9288
  "pagination-location": "top",
9238
9289
  options: _ctx.options
@@ -9402,7 +9453,6 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
9402
9453
  vue.watch(searchString, () => handleParamsChange());
9403
9454
  const handleParamsChange = () => {
9404
9455
  var _a, _b;
9405
- console.log("search", searchString.value, mounted.value);
9406
9456
  if (props.initialData && !mounted.value) {
9407
9457
  return;
9408
9458
  }
@@ -9444,8 +9494,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
9444
9494
  class: vue.normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !vue.unref(hasResults) }])
9445
9495
  }, [
9446
9496
  _ctx.isContainer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
9447
- vue.createVNode(_sfc_main$Q, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
9448
- vue.createVNode(_sfc_main$O, {
9497
+ vue.createVNode(_sfc_main$R, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
9498
+ vue.createVNode(_sfc_main$P, {
9449
9499
  "show-summary": true,
9450
9500
  options: _ctx.options,
9451
9501
  "is-product-list": (_a = _ctx.isProductList) != null ? _a : false
@@ -9455,24 +9505,24 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
9455
9505
  key: 1,
9456
9506
  options: _ctx.options
9457
9507
  }, null, 8, ["options"])) : vue.createCommentVNode("", true),
9458
- _ctx.options.filters ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
9508
+ _ctx.options.filters ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
9459
9509
  key: 2,
9460
9510
  options: _ctx.options.filters
9461
9511
  }, null, 8, ["options"])) : vue.createCommentVNode("", true),
9462
- vue.unref(currentQueryText) || _ctx.isProductList ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
9512
+ vue.unref(currentQueryText) || _ctx.isProductList ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
9463
9513
  key: 3,
9464
9514
  breadcrumbs: _ctx.options.breadcrumbs
9465
9515
  }, null, 8, ["breadcrumbs"])) : vue.createCommentVNode("", true),
9466
9516
  isTitleResultTopPosition.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$3, [
9467
- showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
9517
+ showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
9468
9518
  key: 0,
9469
9519
  options: (_b = _ctx.options.filters) != null ? _b : {},
9470
9520
  ref_key: "searchResultsFilters",
9471
9521
  ref: searchResultsFilters
9472
9522
  }, null, 8, ["options"])) : vue.createCommentVNode("", true),
9473
9523
  vue.createElementVNode("div", _hoisted_3, [
9474
- vue.createVNode(_sfc_main$Q, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
9475
- vue.createVNode(_sfc_main$O, {
9524
+ vue.createVNode(_sfc_main$R, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
9525
+ vue.createVNode(_sfc_main$P, {
9476
9526
  options: _ctx.options,
9477
9527
  "is-product-list": (_c = _ctx.isProductList) != null ? _c : false
9478
9528
  }, null, 8, ["options", "is-product-list"]),
@@ -9487,13 +9537,13 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
9487
9537
  }, 8, ["options", "ssr"])
9488
9538
  ])
9489
9539
  ])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 5 }, [
9490
- vue.createVNode(_sfc_main$Q, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
9491
- vue.createVNode(_sfc_main$O, {
9540
+ vue.createVNode(_sfc_main$R, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
9541
+ vue.createVNode(_sfc_main$P, {
9492
9542
  options: _ctx.options,
9493
9543
  "is-product-list": (_d = _ctx.isProductList) != null ? _d : false
9494
9544
  }, null, 8, ["options", "is-product-list"]),
9495
9545
  vue.createElementVNode("div", _hoisted_4, [
9496
- showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
9546
+ showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
9497
9547
  key: 0,
9498
9548
  options: (_e = _ctx.options.filters) != null ? _e : {},
9499
9549
  ref_key: "searchResultsFilters",
@@ -15121,7 +15171,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
15121
15171
  onClick: vue.withModifiers(innerClick, ["stop"])
15122
15172
  }, [
15123
15173
  vue.createElementVNode("div", _hoisted_2$1, [
15124
- vue.createVNode(_sfc_main$R, {
15174
+ vue.createVNode(_sfc_main$S, {
15125
15175
  options: fullSearchBoxOptions.value,
15126
15176
  "is-search-container": true,
15127
15177
  ref_key: "searchBox",
@@ -15986,7 +16036,7 @@ exports.DocumentElementType = DocumentElementType;
15986
16036
  exports.LupaSearch = LupaSearch;
15987
16037
  exports.ProductList = _sfc_main$2;
15988
16038
  exports.Recommendations = _sfc_main;
15989
- exports.SearchBox = _sfc_main$R;
16039
+ exports.SearchBox = _sfc_main$S;
15990
16040
  exports.SearchBoxPanelType = SearchBoxPanelType;
15991
16041
  exports.SearchContainer = _sfc_main$1;
15992
16042
  exports.SearchResults = _sfc_main$4;