@getlupa/client 0.7.0 → 0.8.0-alpha-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/cjs/ProductListEntry.vue.d.ts +1 -0
  2. package/dist/cjs/SearchBoxEntry.vue.d.ts +1 -0
  3. package/dist/cjs/SearchResultsEntry.vue.d.ts +1 -0
  4. package/dist/cjs/components/product-list/ProductList.vue.d.ts +1 -0
  5. package/dist/cjs/components/search-results/SearchResultsTitle.vue.d.ts +1 -0
  6. package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +2 -0
  7. package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -1
  8. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +9 -0
  9. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +9 -0
  10. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +2 -0
  11. package/dist/cjs/index.d.ts +12 -9
  12. package/dist/cjs/index.min.js +1092 -728
  13. package/dist/cjs/types/DocumentElement.d.ts +16 -15
  14. package/dist/cjs/types/product-list/ProductListOptions.d.ts +5 -4
  15. package/dist/cjs/types/search-results/BadgeOptions.d.ts +29 -12
  16. package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +6 -1
  17. package/dist/cjs/types/search-results/SearchResultsProductCardOptions.d.ts +2 -1
  18. package/dist/es/ProductListEntry.vue.d.ts +1 -0
  19. package/dist/es/SearchBoxEntry.vue.d.ts +1 -0
  20. package/dist/es/SearchResultsEntry.vue.d.ts +1 -0
  21. package/dist/es/components/product-list/ProductList.vue.d.ts +1 -0
  22. package/dist/es/components/search-results/SearchResultsTitle.vue.d.ts +1 -0
  23. package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +2 -0
  24. package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -1
  25. package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +9 -0
  26. package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +9 -0
  27. package/dist/es/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +2 -0
  28. package/dist/es/index.d.ts +12 -9
  29. package/dist/es/index.min.js +1092 -728
  30. package/dist/es/types/DocumentElement.d.ts +16 -15
  31. package/dist/es/types/product-list/ProductListOptions.d.ts +5 -4
  32. package/dist/es/types/search-results/BadgeOptions.d.ts +29 -12
  33. package/dist/es/types/search-results/SearchResultsOptions.d.ts +6 -1
  34. package/dist/es/types/search-results/SearchResultsProductCardOptions.d.ts +2 -1
  35. package/dist/iife/ProductListEntry.vue.d.ts +1 -0
  36. package/dist/iife/SearchBoxEntry.vue.d.ts +1 -0
  37. package/dist/iife/SearchResultsEntry.vue.d.ts +1 -0
  38. package/dist/iife/components/product-list/ProductList.vue.d.ts +1 -0
  39. package/dist/iife/components/search-results/SearchResultsTitle.vue.d.ts +1 -0
  40. package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +2 -0
  41. package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -1
  42. package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +9 -0
  43. package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +9 -0
  44. package/dist/iife/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +2 -0
  45. package/dist/iife/index.d.ts +12 -9
  46. package/dist/iife/index.min.js +1 -1
  47. package/dist/iife/types/DocumentElement.d.ts +16 -15
  48. package/dist/iife/types/product-list/ProductListOptions.d.ts +5 -4
  49. package/dist/iife/types/search-results/BadgeOptions.d.ts +29 -12
  50. package/dist/iife/types/search-results/SearchResultsOptions.d.ts +6 -1
  51. package/dist/iife/types/search-results/SearchResultsProductCardOptions.d.ts +2 -1
  52. package/dist/style.css +1 -1
  53. package/package.json +1 -1
@@ -11003,7 +11003,7 @@ SearchBoxInput = __decorate([
11003
11003
  name: "searchBoxInput",
11004
11004
  })
11005
11005
  ], SearchBoxInput);
11006
- var script$16 = SearchBoxInput;
11006
+ var script$18 = SearchBoxInput;
11007
11007
 
11008
11008
  function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
11009
11009
  if (typeof shadowMode !== 'boolean') {
@@ -11134,10 +11134,10 @@ function addStyle(id, css) {
11134
11134
  }
11135
11135
 
11136
11136
  /* script */
11137
- const __vue_script__$17 = script$16;
11137
+ const __vue_script__$19 = script$18;
11138
11138
 
11139
11139
  /* template */
11140
- var __vue_render__$17 = function () {
11140
+ var __vue_render__$19 = function () {
11141
11141
  var _vm = this;
11142
11142
  var _h = _vm.$createElement;
11143
11143
  var _c = _vm._self._c || _h;
@@ -11190,34 +11190,34 @@ var __vue_render__$17 = function () {
11190
11190
  ),
11191
11191
  ])
11192
11192
  };
11193
- var __vue_staticRenderFns__$17 = [];
11194
- __vue_render__$17._withStripped = true;
11193
+ var __vue_staticRenderFns__$19 = [];
11194
+ __vue_render__$19._withStripped = true;
11195
11195
 
11196
11196
  /* style */
11197
- const __vue_inject_styles__$17 = function (inject) {
11197
+ const __vue_inject_styles__$19 = function (inject) {
11198
11198
  if (!inject) return
11199
11199
  inject("data-v-7759bf15_0", { source: "\n.lupa-search-box-input-field,\n.lupa-hint {\n width: 100%;\n}\n.lupa-search-box-input-field {\n position: relative !important;\n background: transparent !important;\n}\n.lupa-hint {\n opacity: 0.5;\n position: absolute !important;\n pointer-events: none;\n}\n", map: undefined, media: undefined });
11200
11200
 
11201
11201
  };
11202
11202
  /* scoped */
11203
- const __vue_scope_id__$17 = undefined;
11203
+ const __vue_scope_id__$19 = undefined;
11204
11204
  /* module identifier */
11205
- const __vue_module_identifier__$17 = undefined;
11205
+ const __vue_module_identifier__$19 = undefined;
11206
11206
  /* functional template */
11207
- const __vue_is_functional_template__$17 = false;
11207
+ const __vue_is_functional_template__$19 = false;
11208
11208
  /* style inject SSR */
11209
11209
 
11210
11210
  /* style inject shadow dom */
11211
11211
 
11212
11212
 
11213
11213
 
11214
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
11215
- { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
11216
- __vue_inject_styles__$17,
11217
- __vue_script__$17,
11218
- __vue_scope_id__$17,
11219
- __vue_is_functional_template__$17,
11220
- __vue_module_identifier__$17,
11214
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
11215
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
11216
+ __vue_inject_styles__$19,
11217
+ __vue_script__$19,
11218
+ __vue_scope_id__$19,
11219
+ __vue_is_functional_template__$19,
11220
+ __vue_module_identifier__$19,
11221
11221
  false,
11222
11222
  createInjector,
11223
11223
  undefined,
@@ -11282,13 +11282,13 @@ __decorate([
11282
11282
  SearchBoxProductImage = __decorate([
11283
11283
  Component
11284
11284
  ], SearchBoxProductImage);
11285
- var script$15 = SearchBoxProductImage;
11285
+ var script$17 = SearchBoxProductImage;
11286
11286
 
11287
11287
  /* script */
11288
- const __vue_script__$16 = script$15;
11288
+ const __vue_script__$18 = script$17;
11289
11289
 
11290
11290
  /* template */
11291
- var __vue_render__$16 = function () {
11291
+ var __vue_render__$18 = function () {
11292
11292
  var _vm = this;
11293
11293
  var _h = _vm.$createElement;
11294
11294
  var _c = _vm._self._c || _h;
@@ -11300,17 +11300,17 @@ var __vue_render__$16 = function () {
11300
11300
  }),
11301
11301
  ])
11302
11302
  };
11303
- var __vue_staticRenderFns__$16 = [];
11304
- __vue_render__$16._withStripped = true;
11303
+ var __vue_staticRenderFns__$18 = [];
11304
+ __vue_render__$18._withStripped = true;
11305
11305
 
11306
11306
  /* style */
11307
- const __vue_inject_styles__$16 = undefined;
11307
+ const __vue_inject_styles__$18 = undefined;
11308
11308
  /* scoped */
11309
- const __vue_scope_id__$16 = undefined;
11309
+ const __vue_scope_id__$18 = undefined;
11310
11310
  /* module identifier */
11311
- const __vue_module_identifier__$16 = undefined;
11311
+ const __vue_module_identifier__$18 = undefined;
11312
11312
  /* functional template */
11313
- const __vue_is_functional_template__$16 = false;
11313
+ const __vue_is_functional_template__$18 = false;
11314
11314
  /* style inject */
11315
11315
 
11316
11316
  /* style inject SSR */
@@ -11319,13 +11319,13 @@ __vue_render__$16._withStripped = true;
11319
11319
 
11320
11320
 
11321
11321
 
11322
- const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
11323
- { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
11324
- __vue_inject_styles__$16,
11325
- __vue_script__$16,
11326
- __vue_scope_id__$16,
11327
- __vue_is_functional_template__$16,
11328
- __vue_module_identifier__$16,
11322
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
11323
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
11324
+ __vue_inject_styles__$18,
11325
+ __vue_script__$18,
11326
+ __vue_scope_id__$18,
11327
+ __vue_is_functional_template__$18,
11328
+ __vue_module_identifier__$18,
11329
11329
  false,
11330
11330
  undefined,
11331
11331
  undefined,
@@ -11350,13 +11350,13 @@ __decorate([
11350
11350
  SearchBoxProductTitle = __decorate([
11351
11351
  Component
11352
11352
  ], SearchBoxProductTitle);
11353
- var script$14 = SearchBoxProductTitle;
11353
+ var script$16 = SearchBoxProductTitle;
11354
11354
 
11355
11355
  /* script */
11356
- const __vue_script__$15 = script$14;
11356
+ const __vue_script__$17 = script$16;
11357
11357
 
11358
11358
  /* template */
11359
- var __vue_render__$15 = function () {
11359
+ var __vue_render__$17 = function () {
11360
11360
  var _vm = this;
11361
11361
  var _h = _vm.$createElement;
11362
11362
  var _c = _vm._self._c || _h;
@@ -11369,17 +11369,17 @@ var __vue_render__$15 = function () {
11369
11369
  _c("strong", [_vm._v(_vm._s(_vm.title))]),
11370
11370
  ])
11371
11371
  };
11372
- var __vue_staticRenderFns__$15 = [];
11373
- __vue_render__$15._withStripped = true;
11372
+ var __vue_staticRenderFns__$17 = [];
11373
+ __vue_render__$17._withStripped = true;
11374
11374
 
11375
11375
  /* style */
11376
- const __vue_inject_styles__$15 = undefined;
11376
+ const __vue_inject_styles__$17 = undefined;
11377
11377
  /* scoped */
11378
- const __vue_scope_id__$15 = undefined;
11378
+ const __vue_scope_id__$17 = undefined;
11379
11379
  /* module identifier */
11380
- const __vue_module_identifier__$15 = undefined;
11380
+ const __vue_module_identifier__$17 = undefined;
11381
11381
  /* functional template */
11382
- const __vue_is_functional_template__$15 = false;
11382
+ const __vue_is_functional_template__$17 = false;
11383
11383
  /* style inject */
11384
11384
 
11385
11385
  /* style inject SSR */
@@ -11388,13 +11388,13 @@ __vue_render__$15._withStripped = true;
11388
11388
 
11389
11389
 
11390
11390
 
11391
- const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
11392
- { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
11393
- __vue_inject_styles__$15,
11394
- __vue_script__$15,
11395
- __vue_scope_id__$15,
11396
- __vue_is_functional_template__$15,
11397
- __vue_module_identifier__$15,
11391
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
11392
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
11393
+ __vue_inject_styles__$17,
11394
+ __vue_script__$17,
11395
+ __vue_scope_id__$17,
11396
+ __vue_is_functional_template__$17,
11397
+ __vue_module_identifier__$17,
11398
11398
  false,
11399
11399
  undefined,
11400
11400
  undefined,
@@ -11419,13 +11419,13 @@ __decorate([
11419
11419
  SearchBoxProductDescription = __decorate([
11420
11420
  Component
11421
11421
  ], SearchBoxProductDescription);
11422
- var script$13 = SearchBoxProductDescription;
11422
+ var script$15 = SearchBoxProductDescription;
11423
11423
 
11424
11424
  /* script */
11425
- const __vue_script__$14 = script$13;
11425
+ const __vue_script__$16 = script$15;
11426
11426
 
11427
11427
  /* template */
11428
- var __vue_render__$14 = function () {
11428
+ var __vue_render__$16 = function () {
11429
11429
  var _vm = this;
11430
11430
  var _h = _vm.$createElement;
11431
11431
  var _c = _vm._self._c || _h;
@@ -11438,17 +11438,17 @@ var __vue_render__$14 = function () {
11438
11438
  _vm._v("\n " + _vm._s(_vm.description) + "\n"),
11439
11439
  ])
11440
11440
  };
11441
- var __vue_staticRenderFns__$14 = [];
11442
- __vue_render__$14._withStripped = true;
11441
+ var __vue_staticRenderFns__$16 = [];
11442
+ __vue_render__$16._withStripped = true;
11443
11443
 
11444
11444
  /* style */
11445
- const __vue_inject_styles__$14 = undefined;
11445
+ const __vue_inject_styles__$16 = undefined;
11446
11446
  /* scoped */
11447
- const __vue_scope_id__$14 = undefined;
11447
+ const __vue_scope_id__$16 = undefined;
11448
11448
  /* module identifier */
11449
- const __vue_module_identifier__$14 = undefined;
11449
+ const __vue_module_identifier__$16 = undefined;
11450
11450
  /* functional template */
11451
- const __vue_is_functional_template__$14 = false;
11451
+ const __vue_is_functional_template__$16 = false;
11452
11452
  /* style inject */
11453
11453
 
11454
11454
  /* style inject SSR */
@@ -11457,13 +11457,13 @@ __vue_render__$14._withStripped = true;
11457
11457
 
11458
11458
 
11459
11459
 
11460
- const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
11461
- { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
11462
- __vue_inject_styles__$14,
11463
- __vue_script__$14,
11464
- __vue_scope_id__$14,
11465
- __vue_is_functional_template__$14,
11466
- __vue_module_identifier__$14,
11460
+ const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
11461
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
11462
+ __vue_inject_styles__$16,
11463
+ __vue_script__$16,
11464
+ __vue_scope_id__$16,
11465
+ __vue_is_functional_template__$16,
11466
+ __vue_module_identifier__$16,
11467
11467
  false,
11468
11468
  undefined,
11469
11469
  undefined,
@@ -11519,13 +11519,13 @@ __decorate([
11519
11519
  SearchBoxProductPrice = __decorate([
11520
11520
  Component
11521
11521
  ], SearchBoxProductPrice);
11522
- var script$12 = SearchBoxProductPrice;
11522
+ var script$14 = SearchBoxProductPrice;
11523
11523
 
11524
11524
  /* script */
11525
- const __vue_script__$13 = script$12;
11525
+ const __vue_script__$15 = script$14;
11526
11526
 
11527
11527
  /* template */
11528
- var __vue_render__$13 = function () {
11528
+ var __vue_render__$15 = function () {
11529
11529
  var _vm = this;
11530
11530
  var _h = _vm.$createElement;
11531
11531
  var _c = _vm._self._c || _h;
@@ -11533,17 +11533,17 @@ var __vue_render__$13 = function () {
11533
11533
  _c("strong", [_vm._v(_vm._s(_vm.price))]),
11534
11534
  ])
11535
11535
  };
11536
- var __vue_staticRenderFns__$13 = [];
11537
- __vue_render__$13._withStripped = true;
11536
+ var __vue_staticRenderFns__$15 = [];
11537
+ __vue_render__$15._withStripped = true;
11538
11538
 
11539
11539
  /* style */
11540
- const __vue_inject_styles__$13 = undefined;
11540
+ const __vue_inject_styles__$15 = undefined;
11541
11541
  /* scoped */
11542
- const __vue_scope_id__$13 = undefined;
11542
+ const __vue_scope_id__$15 = undefined;
11543
11543
  /* module identifier */
11544
- const __vue_module_identifier__$13 = undefined;
11544
+ const __vue_module_identifier__$15 = undefined;
11545
11545
  /* functional template */
11546
- const __vue_is_functional_template__$13 = false;
11546
+ const __vue_is_functional_template__$15 = false;
11547
11547
  /* style inject */
11548
11548
 
11549
11549
  /* style inject SSR */
@@ -11552,13 +11552,13 @@ __vue_render__$13._withStripped = true;
11552
11552
 
11553
11553
 
11554
11554
 
11555
- const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
11556
- { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
11557
- __vue_inject_styles__$13,
11558
- __vue_script__$13,
11559
- __vue_scope_id__$13,
11560
- __vue_is_functional_template__$13,
11561
- __vue_module_identifier__$13,
11555
+ const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
11556
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
11557
+ __vue_inject_styles__$15,
11558
+ __vue_script__$15,
11559
+ __vue_scope_id__$15,
11560
+ __vue_is_functional_template__$15,
11561
+ __vue_module_identifier__$15,
11562
11562
  false,
11563
11563
  undefined,
11564
11564
  undefined,
@@ -11583,13 +11583,13 @@ __decorate([
11583
11583
  SearchBoxProductRegularPrice = __decorate([
11584
11584
  Component
11585
11585
  ], SearchBoxProductRegularPrice);
11586
- var script$11 = SearchBoxProductRegularPrice;
11586
+ var script$13 = SearchBoxProductRegularPrice;
11587
11587
 
11588
11588
  /* script */
11589
- const __vue_script__$12 = script$11;
11589
+ const __vue_script__$14 = script$13;
11590
11590
 
11591
11591
  /* template */
11592
- var __vue_render__$12 = function () {
11592
+ var __vue_render__$14 = function () {
11593
11593
  var _vm = this;
11594
11594
  var _h = _vm.$createElement;
11595
11595
  var _c = _vm._self._c || _h;
@@ -11597,17 +11597,17 @@ var __vue_render__$12 = function () {
11597
11597
  _vm._v(_vm._s(_vm.price)),
11598
11598
  ])
11599
11599
  };
11600
- var __vue_staticRenderFns__$12 = [];
11601
- __vue_render__$12._withStripped = true;
11600
+ var __vue_staticRenderFns__$14 = [];
11601
+ __vue_render__$14._withStripped = true;
11602
11602
 
11603
11603
  /* style */
11604
- const __vue_inject_styles__$12 = undefined;
11604
+ const __vue_inject_styles__$14 = undefined;
11605
11605
  /* scoped */
11606
- const __vue_scope_id__$12 = undefined;
11606
+ const __vue_scope_id__$14 = undefined;
11607
11607
  /* module identifier */
11608
- const __vue_module_identifier__$12 = undefined;
11608
+ const __vue_module_identifier__$14 = undefined;
11609
11609
  /* functional template */
11610
- const __vue_is_functional_template__$12 = false;
11610
+ const __vue_is_functional_template__$14 = false;
11611
11611
  /* style inject */
11612
11612
 
11613
11613
  /* style inject SSR */
@@ -11616,13 +11616,13 @@ __vue_render__$12._withStripped = true;
11616
11616
 
11617
11617
 
11618
11618
 
11619
- const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
11620
- { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
11621
- __vue_inject_styles__$12,
11622
- __vue_script__$12,
11623
- __vue_scope_id__$12,
11624
- __vue_is_functional_template__$12,
11625
- __vue_module_identifier__$12,
11619
+ const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
11620
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
11621
+ __vue_inject_styles__$14,
11622
+ __vue_script__$14,
11623
+ __vue_scope_id__$14,
11624
+ __vue_is_functional_template__$14,
11625
+ __vue_module_identifier__$14,
11626
11626
  false,
11627
11627
  undefined,
11628
11628
  undefined,
@@ -11650,13 +11650,13 @@ __decorate([
11650
11650
  SearchBoxProductCustom = __decorate([
11651
11651
  Component
11652
11652
  ], SearchBoxProductCustom);
11653
- var script$10 = SearchBoxProductCustom;
11653
+ var script$12 = SearchBoxProductCustom;
11654
11654
 
11655
11655
  /* script */
11656
- const __vue_script__$11 = script$10;
11656
+ const __vue_script__$13 = script$12;
11657
11657
 
11658
11658
  /* template */
11659
- var __vue_render__$11 = function () {
11659
+ var __vue_render__$13 = function () {
11660
11660
  var _vm = this;
11661
11661
  var _h = _vm.$createElement;
11662
11662
  var _c = _vm._self._c || _h;
@@ -11669,17 +11669,17 @@ var __vue_render__$11 = function () {
11669
11669
  _vm._v("\n " + _vm._s(_vm.text) + "\n"),
11670
11670
  ])
11671
11671
  };
11672
- var __vue_staticRenderFns__$11 = [];
11673
- __vue_render__$11._withStripped = true;
11672
+ var __vue_staticRenderFns__$13 = [];
11673
+ __vue_render__$13._withStripped = true;
11674
11674
 
11675
11675
  /* style */
11676
- const __vue_inject_styles__$11 = undefined;
11676
+ const __vue_inject_styles__$13 = undefined;
11677
11677
  /* scoped */
11678
- const __vue_scope_id__$11 = undefined;
11678
+ const __vue_scope_id__$13 = undefined;
11679
11679
  /* module identifier */
11680
- const __vue_module_identifier__$11 = undefined;
11680
+ const __vue_module_identifier__$13 = undefined;
11681
11681
  /* functional template */
11682
- const __vue_is_functional_template__$11 = false;
11682
+ const __vue_is_functional_template__$13 = false;
11683
11683
  /* style inject */
11684
11684
 
11685
11685
  /* style inject SSR */
@@ -11688,13 +11688,13 @@ __vue_render__$11._withStripped = true;
11688
11688
 
11689
11689
 
11690
11690
 
11691
- const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
11692
- { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
11693
- __vue_inject_styles__$11,
11694
- __vue_script__$11,
11695
- __vue_scope_id__$11,
11696
- __vue_is_functional_template__$11,
11697
- __vue_module_identifier__$11,
11691
+ const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
11692
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
11693
+ __vue_inject_styles__$13,
11694
+ __vue_script__$13,
11695
+ __vue_scope_id__$13,
11696
+ __vue_is_functional_template__$13,
11697
+ __vue_module_identifier__$13,
11698
11698
  false,
11699
11699
  undefined,
11700
11700
  undefined,
@@ -11720,13 +11720,13 @@ SearchBoxProductCustomHtml = __decorate([
11720
11720
  name: "SearchBoxProductCustomHtml",
11721
11721
  })
11722
11722
  ], SearchBoxProductCustomHtml);
11723
- var script$$ = SearchBoxProductCustomHtml;
11723
+ var script$11 = SearchBoxProductCustomHtml;
11724
11724
 
11725
11725
  /* script */
11726
- const __vue_script__$10 = script$$;
11726
+ const __vue_script__$12 = script$11;
11727
11727
 
11728
11728
  /* template */
11729
- var __vue_render__$10 = function () {
11729
+ var __vue_render__$12 = function () {
11730
11730
  var _vm = this;
11731
11731
  var _h = _vm.$createElement;
11732
11732
  var _c = _vm._self._c || _h;
@@ -11735,17 +11735,17 @@ var __vue_render__$10 = function () {
11735
11735
  domProps: { innerHTML: _vm._s(_vm.text) },
11736
11736
  })
11737
11737
  };
11738
- var __vue_staticRenderFns__$10 = [];
11739
- __vue_render__$10._withStripped = true;
11738
+ var __vue_staticRenderFns__$12 = [];
11739
+ __vue_render__$12._withStripped = true;
11740
11740
 
11741
11741
  /* style */
11742
- const __vue_inject_styles__$10 = undefined;
11742
+ const __vue_inject_styles__$12 = undefined;
11743
11743
  /* scoped */
11744
- const __vue_scope_id__$10 = undefined;
11744
+ const __vue_scope_id__$12 = undefined;
11745
11745
  /* module identifier */
11746
- const __vue_module_identifier__$10 = undefined;
11746
+ const __vue_module_identifier__$12 = undefined;
11747
11747
  /* functional template */
11748
- const __vue_is_functional_template__$10 = false;
11748
+ const __vue_is_functional_template__$12 = false;
11749
11749
  /* style inject */
11750
11750
 
11751
11751
  /* style inject SSR */
@@ -11754,19 +11754,20 @@ __vue_render__$10._withStripped = true;
11754
11754
 
11755
11755
 
11756
11756
 
11757
- const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
11758
- { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
11759
- __vue_inject_styles__$10,
11760
- __vue_script__$10,
11761
- __vue_scope_id__$10,
11762
- __vue_is_functional_template__$10,
11763
- __vue_module_identifier__$10,
11757
+ const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
11758
+ { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
11759
+ __vue_inject_styles__$12,
11760
+ __vue_script__$12,
11761
+ __vue_scope_id__$12,
11762
+ __vue_is_functional_template__$12,
11763
+ __vue_module_identifier__$12,
11764
11764
  false,
11765
11765
  undefined,
11766
11766
  undefined,
11767
11767
  undefined
11768
11768
  );
11769
11769
 
11770
+ /* eslint-disable @typescript-eslint/no-explicit-any */
11770
11771
  var DocumentElementType;
11771
11772
  (function (DocumentElementType) {
11772
11773
  DocumentElementType["IMAGE"] = "image";
@@ -11816,23 +11817,23 @@ __decorate([
11816
11817
  SearchBoxProductElement = __decorate([
11817
11818
  Component({
11818
11819
  components: {
11819
- SearchBoxProductImage: __vue_component__$16,
11820
- SearchBoxProductTitle: __vue_component__$15,
11821
- SearchBoxProductDescription: __vue_component__$14,
11822
- SearchBoxProductPrice: __vue_component__$13,
11823
- SearchBoxProductRegularPrice: __vue_component__$12,
11824
- SearchBoxProductCustom: __vue_component__$11,
11825
- SearchBoxProductCustomHtml: __vue_component__$10,
11820
+ SearchBoxProductImage: __vue_component__$18,
11821
+ SearchBoxProductTitle: __vue_component__$17,
11822
+ SearchBoxProductDescription: __vue_component__$16,
11823
+ SearchBoxProductPrice: __vue_component__$15,
11824
+ SearchBoxProductRegularPrice: __vue_component__$14,
11825
+ SearchBoxProductCustom: __vue_component__$13,
11826
+ SearchBoxProductCustomHtml: __vue_component__$12,
11826
11827
  },
11827
11828
  })
11828
11829
  ], SearchBoxProductElement);
11829
- var script$_ = SearchBoxProductElement;
11830
+ var script$10 = SearchBoxProductElement;
11830
11831
 
11831
11832
  /* script */
11832
- const __vue_script__$$ = script$_;
11833
+ const __vue_script__$11 = script$10;
11833
11834
 
11834
11835
  /* template */
11835
- var __vue_render__$$ = function () {
11836
+ var __vue_render__$11 = function () {
11836
11837
  var _vm = this;
11837
11838
  var _h = _vm.$createElement;
11838
11839
  var _c = _vm._self._c || _h;
@@ -11843,17 +11844,17 @@ var __vue_render__$$ = function () {
11843
11844
  })
11844
11845
  : _vm._e()
11845
11846
  };
11846
- var __vue_staticRenderFns__$$ = [];
11847
- __vue_render__$$._withStripped = true;
11847
+ var __vue_staticRenderFns__$11 = [];
11848
+ __vue_render__$11._withStripped = true;
11848
11849
 
11849
11850
  /* style */
11850
- const __vue_inject_styles__$$ = undefined;
11851
+ const __vue_inject_styles__$11 = undefined;
11851
11852
  /* scoped */
11852
- const __vue_scope_id__$$ = undefined;
11853
+ const __vue_scope_id__$11 = undefined;
11853
11854
  /* module identifier */
11854
- const __vue_module_identifier__$$ = undefined;
11855
+ const __vue_module_identifier__$11 = undefined;
11855
11856
  /* functional template */
11856
- const __vue_is_functional_template__$$ = false;
11857
+ const __vue_is_functional_template__$11 = false;
11857
11858
  /* style inject */
11858
11859
 
11859
11860
  /* style inject SSR */
@@ -11862,13 +11863,13 @@ __vue_render__$$._withStripped = true;
11862
11863
 
11863
11864
 
11864
11865
 
11865
- const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
11866
- { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
11867
- __vue_inject_styles__$$,
11868
- __vue_script__$$,
11869
- __vue_scope_id__$$,
11870
- __vue_is_functional_template__$$,
11871
- __vue_module_identifier__$$,
11866
+ const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
11867
+ { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
11868
+ __vue_inject_styles__$11,
11869
+ __vue_script__$11,
11870
+ __vue_scope_id__$11,
11871
+ __vue_is_functional_template__$11,
11872
+ __vue_module_identifier__$11,
11872
11873
  false,
11873
11874
  undefined,
11874
11875
  undefined,
@@ -12021,7 +12022,13 @@ const parseParam = (key, params) => {
12021
12022
  if (!value) {
12022
12023
  return undefined;
12023
12024
  }
12024
- return decodeURIComponent(value);
12025
+ try {
12026
+ return decodeURIComponent(value);
12027
+ }
12028
+ catch (_a) {
12029
+ // Invalid parameter, possibly out of LupaSearch plugin scope, return undefined
12030
+ return undefined;
12031
+ }
12025
12032
  };
12026
12033
  const parseRegularKeys = (regularKeys, searchParams) => {
12027
12034
  const params = Object.create({});
@@ -12151,7 +12158,10 @@ const generateResultLink = (link, searchText, facet) => {
12151
12158
  const getRelativePath = (link) => {
12152
12159
  try {
12153
12160
  const url = new URL(link);
12154
- return url.toString().substring(url.origin.length);
12161
+ const partialUrl = url.toString().substring(url.origin.length);
12162
+ return partialUrl.endsWith("/")
12163
+ ? partialUrl.slice(0, partialUrl.length - 1)
12164
+ : partialUrl;
12155
12165
  }
12156
12166
  catch (_a) {
12157
12167
  // Invalid url, let's return original string
@@ -12267,17 +12277,17 @@ __decorate([
12267
12277
  SearchBoxProduct = __decorate([
12268
12278
  Component({
12269
12279
  components: {
12270
- SearchBoxProductElement: __vue_component__$$,
12280
+ SearchBoxProductElement: __vue_component__$11,
12271
12281
  },
12272
12282
  })
12273
12283
  ], SearchBoxProduct);
12274
- var script$Z = SearchBoxProduct;
12284
+ var script$$ = SearchBoxProduct;
12275
12285
 
12276
12286
  /* script */
12277
- const __vue_script__$_ = script$Z;
12287
+ const __vue_script__$10 = script$$;
12278
12288
 
12279
12289
  /* template */
12280
- var __vue_render__$_ = function () {
12290
+ var __vue_render__$10 = function () {
12281
12291
  var _vm = this;
12282
12292
  var _h = _vm.$createElement;
12283
12293
  var _c = _vm._self._c || _h;
@@ -12328,17 +12338,17 @@ var __vue_render__$_ = function () {
12328
12338
  ]
12329
12339
  )
12330
12340
  };
12331
- var __vue_staticRenderFns__$_ = [];
12332
- __vue_render__$_._withStripped = true;
12341
+ var __vue_staticRenderFns__$10 = [];
12342
+ __vue_render__$10._withStripped = true;
12333
12343
 
12334
12344
  /* style */
12335
- const __vue_inject_styles__$_ = undefined;
12345
+ const __vue_inject_styles__$10 = undefined;
12336
12346
  /* scoped */
12337
- const __vue_scope_id__$_ = undefined;
12347
+ const __vue_scope_id__$10 = undefined;
12338
12348
  /* module identifier */
12339
- const __vue_module_identifier__$_ = undefined;
12349
+ const __vue_module_identifier__$10 = undefined;
12340
12350
  /* functional template */
12341
- const __vue_is_functional_template__$_ = false;
12351
+ const __vue_is_functional_template__$10 = false;
12342
12352
  /* style inject */
12343
12353
 
12344
12354
  /* style inject SSR */
@@ -12347,13 +12357,13 @@ __vue_render__$_._withStripped = true;
12347
12357
 
12348
12358
 
12349
12359
 
12350
- const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
12351
- { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
12352
- __vue_inject_styles__$_,
12353
- __vue_script__$_,
12354
- __vue_scope_id__$_,
12355
- __vue_is_functional_template__$_,
12356
- __vue_module_identifier__$_,
12360
+ const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
12361
+ { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
12362
+ __vue_inject_styles__$10,
12363
+ __vue_script__$10,
12364
+ __vue_scope_id__$10,
12365
+ __vue_is_functional_template__$10,
12366
+ __vue_module_identifier__$10,
12357
12367
  false,
12358
12368
  undefined,
12359
12369
  undefined,
@@ -12387,16 +12397,16 @@ __decorate([
12387
12397
  ], SearchBoxProducts.prototype, "highlightedItem", void 0);
12388
12398
  SearchBoxProducts = __decorate([
12389
12399
  Component({
12390
- components: { SearchBoxProduct: __vue_component__$_ },
12400
+ components: { SearchBoxProduct: __vue_component__$10 },
12391
12401
  })
12392
12402
  ], SearchBoxProducts);
12393
- var script$Y = SearchBoxProducts;
12403
+ var script$_ = SearchBoxProducts;
12394
12404
 
12395
12405
  /* script */
12396
- const __vue_script__$Z = script$Y;
12406
+ const __vue_script__$$ = script$_;
12397
12407
 
12398
12408
  /* template */
12399
- var __vue_render__$Z = function () {
12409
+ var __vue_render__$$ = function () {
12400
12410
  var _vm = this;
12401
12411
  var _h = _vm.$createElement;
12402
12412
  var _c = _vm._self._c || _h;
@@ -12418,17 +12428,17 @@ var __vue_render__$Z = function () {
12418
12428
  1
12419
12429
  )
12420
12430
  };
12421
- var __vue_staticRenderFns__$Z = [];
12422
- __vue_render__$Z._withStripped = true;
12431
+ var __vue_staticRenderFns__$$ = [];
12432
+ __vue_render__$$._withStripped = true;
12423
12433
 
12424
12434
  /* style */
12425
- const __vue_inject_styles__$Z = undefined;
12435
+ const __vue_inject_styles__$$ = undefined;
12426
12436
  /* scoped */
12427
- const __vue_scope_id__$Z = undefined;
12437
+ const __vue_scope_id__$$ = undefined;
12428
12438
  /* module identifier */
12429
- const __vue_module_identifier__$Z = undefined;
12439
+ const __vue_module_identifier__$$ = undefined;
12430
12440
  /* functional template */
12431
- const __vue_is_functional_template__$Z = false;
12441
+ const __vue_is_functional_template__$$ = false;
12432
12442
  /* style inject */
12433
12443
 
12434
12444
  /* style inject SSR */
@@ -12437,13 +12447,13 @@ __vue_render__$Z._withStripped = true;
12437
12447
 
12438
12448
 
12439
12449
 
12440
- const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
12441
- { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
12442
- __vue_inject_styles__$Z,
12443
- __vue_script__$Z,
12444
- __vue_scope_id__$Z,
12445
- __vue_is_functional_template__$Z,
12446
- __vue_module_identifier__$Z,
12450
+ const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
12451
+ { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
12452
+ __vue_inject_styles__$$,
12453
+ __vue_script__$$,
12454
+ __vue_scope_id__$$,
12455
+ __vue_is_functional_template__$$,
12456
+ __vue_module_identifier__$$,
12447
12457
  false,
12448
12458
  undefined,
12449
12459
  undefined,
@@ -12510,17 +12520,17 @@ SearchBoxProductsWrapper = __decorate([
12510
12520
  Component({
12511
12521
  name: "searchBoxProductsWrapper",
12512
12522
  components: {
12513
- SearchBoxProducts: __vue_component__$Z,
12523
+ SearchBoxProducts: __vue_component__$$,
12514
12524
  },
12515
12525
  })
12516
12526
  ], SearchBoxProductsWrapper);
12517
- var script$X = SearchBoxProductsWrapper;
12527
+ var script$Z = SearchBoxProductsWrapper;
12518
12528
 
12519
12529
  /* script */
12520
- const __vue_script__$Y = script$X;
12530
+ const __vue_script__$_ = script$Z;
12521
12531
 
12522
12532
  /* template */
12523
- var __vue_render__$Y = function () {
12533
+ var __vue_render__$_ = function () {
12524
12534
  var _vm = this;
12525
12535
  var _h = _vm.$createElement;
12526
12536
  var _c = _vm._self._c || _h;
@@ -12533,34 +12543,34 @@ var __vue_render__$Y = function () {
12533
12543
  },
12534
12544
  })
12535
12545
  };
12536
- var __vue_staticRenderFns__$Y = [];
12537
- __vue_render__$Y._withStripped = true;
12546
+ var __vue_staticRenderFns__$_ = [];
12547
+ __vue_render__$_._withStripped = true;
12538
12548
 
12539
12549
  /* style */
12540
- const __vue_inject_styles__$Y = function (inject) {
12550
+ const __vue_inject_styles__$_ = function (inject) {
12541
12551
  if (!inject) return
12542
12552
  inject("data-v-45bb68b4_0", { source: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", map: undefined, media: undefined });
12543
12553
 
12544
12554
  };
12545
12555
  /* scoped */
12546
- const __vue_scope_id__$Y = undefined;
12556
+ const __vue_scope_id__$_ = undefined;
12547
12557
  /* module identifier */
12548
- const __vue_module_identifier__$Y = undefined;
12558
+ const __vue_module_identifier__$_ = undefined;
12549
12559
  /* functional template */
12550
- const __vue_is_functional_template__$Y = false;
12560
+ const __vue_is_functional_template__$_ = false;
12551
12561
  /* style inject SSR */
12552
12562
 
12553
12563
  /* style inject shadow dom */
12554
12564
 
12555
12565
 
12556
12566
 
12557
- const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
12558
- { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
12559
- __vue_inject_styles__$Y,
12560
- __vue_script__$Y,
12561
- __vue_scope_id__$Y,
12562
- __vue_is_functional_template__$Y,
12563
- __vue_module_identifier__$Y,
12567
+ const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
12568
+ { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
12569
+ __vue_inject_styles__$_,
12570
+ __vue_script__$_,
12571
+ __vue_scope_id__$_,
12572
+ __vue_is_functional_template__$_,
12573
+ __vue_module_identifier__$_,
12564
12574
  false,
12565
12575
  createInjector,
12566
12576
  undefined,
@@ -12595,13 +12605,13 @@ SearchBoxSuggestion = __decorate([
12595
12605
  name: "searchBoxSuggestion",
12596
12606
  })
12597
12607
  ], SearchBoxSuggestion);
12598
- var script$W = SearchBoxSuggestion;
12608
+ var script$Y = SearchBoxSuggestion;
12599
12609
 
12600
12610
  /* script */
12601
- const __vue_script__$X = script$W;
12611
+ const __vue_script__$Z = script$Y;
12602
12612
 
12603
12613
  /* template */
12604
- var __vue_render__$X = function () {
12614
+ var __vue_render__$Z = function () {
12605
12615
  var _vm = this;
12606
12616
  var _h = _vm.$createElement;
12607
12617
  var _c = _vm._self._c || _h;
@@ -12670,17 +12680,17 @@ var __vue_render__$X = function () {
12670
12680
  ]
12671
12681
  )
12672
12682
  };
12673
- var __vue_staticRenderFns__$X = [];
12674
- __vue_render__$X._withStripped = true;
12683
+ var __vue_staticRenderFns__$Z = [];
12684
+ __vue_render__$Z._withStripped = true;
12675
12685
 
12676
12686
  /* style */
12677
- const __vue_inject_styles__$X = undefined;
12687
+ const __vue_inject_styles__$Z = undefined;
12678
12688
  /* scoped */
12679
- const __vue_scope_id__$X = undefined;
12689
+ const __vue_scope_id__$Z = undefined;
12680
12690
  /* module identifier */
12681
- const __vue_module_identifier__$X = undefined;
12691
+ const __vue_module_identifier__$Z = undefined;
12682
12692
  /* functional template */
12683
- const __vue_is_functional_template__$X = false;
12693
+ const __vue_is_functional_template__$Z = false;
12684
12694
  /* style inject */
12685
12695
 
12686
12696
  /* style inject SSR */
@@ -12689,13 +12699,13 @@ __vue_render__$X._withStripped = true;
12689
12699
 
12690
12700
 
12691
12701
 
12692
- const __vue_component__$X = /*#__PURE__*/normalizeComponent(
12693
- { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
12694
- __vue_inject_styles__$X,
12695
- __vue_script__$X,
12696
- __vue_scope_id__$X,
12697
- __vue_is_functional_template__$X,
12698
- __vue_module_identifier__$X,
12702
+ const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
12703
+ { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
12704
+ __vue_inject_styles__$Z,
12705
+ __vue_script__$Z,
12706
+ __vue_scope_id__$Z,
12707
+ __vue_is_functional_template__$Z,
12708
+ __vue_module_identifier__$Z,
12699
12709
  false,
12700
12710
  undefined,
12701
12711
  undefined,
@@ -12760,17 +12770,17 @@ SearchBoxSuggestions = __decorate([
12760
12770
  Component({
12761
12771
  name: "searchBoxSuggestions",
12762
12772
  components: {
12763
- SearchBoxSuggestion: __vue_component__$X,
12773
+ SearchBoxSuggestion: __vue_component__$Z,
12764
12774
  },
12765
12775
  })
12766
12776
  ], SearchBoxSuggestions);
12767
- var script$V = SearchBoxSuggestions;
12777
+ var script$X = SearchBoxSuggestions;
12768
12778
 
12769
12779
  /* script */
12770
- const __vue_script__$W = script$V;
12780
+ const __vue_script__$Y = script$X;
12771
12781
 
12772
12782
  /* template */
12773
- var __vue_render__$W = function () {
12783
+ var __vue_render__$Y = function () {
12774
12784
  var _vm = this;
12775
12785
  var _h = _vm.$createElement;
12776
12786
  var _c = _vm._self._c || _h;
@@ -12801,17 +12811,17 @@ var __vue_render__$W = function () {
12801
12811
  1
12802
12812
  )
12803
12813
  };
12804
- var __vue_staticRenderFns__$W = [];
12805
- __vue_render__$W._withStripped = true;
12814
+ var __vue_staticRenderFns__$Y = [];
12815
+ __vue_render__$Y._withStripped = true;
12806
12816
 
12807
12817
  /* style */
12808
- const __vue_inject_styles__$W = undefined;
12818
+ const __vue_inject_styles__$Y = undefined;
12809
12819
  /* scoped */
12810
- const __vue_scope_id__$W = undefined;
12820
+ const __vue_scope_id__$Y = undefined;
12811
12821
  /* module identifier */
12812
- const __vue_module_identifier__$W = undefined;
12822
+ const __vue_module_identifier__$Y = undefined;
12813
12823
  /* functional template */
12814
- const __vue_is_functional_template__$W = false;
12824
+ const __vue_is_functional_template__$Y = false;
12815
12825
  /* style inject */
12816
12826
 
12817
12827
  /* style inject SSR */
@@ -12820,13 +12830,13 @@ __vue_render__$W._withStripped = true;
12820
12830
 
12821
12831
 
12822
12832
 
12823
- const __vue_component__$W = /*#__PURE__*/normalizeComponent(
12824
- { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
12825
- __vue_inject_styles__$W,
12826
- __vue_script__$W,
12827
- __vue_scope_id__$W,
12828
- __vue_is_functional_template__$W,
12829
- __vue_module_identifier__$W,
12833
+ const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
12834
+ { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
12835
+ __vue_inject_styles__$Y,
12836
+ __vue_script__$Y,
12837
+ __vue_scope_id__$Y,
12838
+ __vue_is_functional_template__$Y,
12839
+ __vue_module_identifier__$Y,
12830
12840
  false,
12831
12841
  undefined,
12832
12842
  undefined,
@@ -12895,17 +12905,17 @@ SearchBoxSuggestionsWrapper = __decorate([
12895
12905
  Component({
12896
12906
  name: "searchBoxSuggestionsWrapper",
12897
12907
  components: {
12898
- SearchBoxSuggestions: __vue_component__$W,
12908
+ SearchBoxSuggestions: __vue_component__$Y,
12899
12909
  },
12900
12910
  })
12901
12911
  ], SearchBoxSuggestionsWrapper);
12902
- var script$U = SearchBoxSuggestionsWrapper;
12912
+ var script$W = SearchBoxSuggestionsWrapper;
12903
12913
 
12904
12914
  /* script */
12905
- const __vue_script__$V = script$U;
12915
+ const __vue_script__$X = script$W;
12906
12916
 
12907
12917
  /* template */
12908
- var __vue_render__$V = function () {
12918
+ var __vue_render__$X = function () {
12909
12919
  var _vm = this;
12910
12920
  var _h = _vm.$createElement;
12911
12921
  var _c = _vm._self._c || _h;
@@ -12923,34 +12933,34 @@ var __vue_render__$V = function () {
12923
12933
  },
12924
12934
  })
12925
12935
  };
12926
- var __vue_staticRenderFns__$V = [];
12927
- __vue_render__$V._withStripped = true;
12936
+ var __vue_staticRenderFns__$X = [];
12937
+ __vue_render__$X._withStripped = true;
12928
12938
 
12929
12939
  /* style */
12930
- const __vue_inject_styles__$V = function (inject) {
12940
+ const __vue_inject_styles__$X = function (inject) {
12931
12941
  if (!inject) return
12932
12942
  inject("data-v-e3079fb6_0", { source: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", map: undefined, media: undefined });
12933
12943
 
12934
12944
  };
12935
12945
  /* scoped */
12936
- const __vue_scope_id__$V = undefined;
12946
+ const __vue_scope_id__$X = undefined;
12937
12947
  /* module identifier */
12938
- const __vue_module_identifier__$V = undefined;
12948
+ const __vue_module_identifier__$X = undefined;
12939
12949
  /* functional template */
12940
- const __vue_is_functional_template__$V = false;
12950
+ const __vue_is_functional_template__$X = false;
12941
12951
  /* style inject SSR */
12942
12952
 
12943
12953
  /* style inject shadow dom */
12944
12954
 
12945
12955
 
12946
12956
 
12947
- const __vue_component__$V = /*#__PURE__*/normalizeComponent(
12948
- { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
12949
- __vue_inject_styles__$V,
12950
- __vue_script__$V,
12951
- __vue_scope_id__$V,
12952
- __vue_is_functional_template__$V,
12953
- __vue_module_identifier__$V,
12957
+ const __vue_component__$X = /*#__PURE__*/normalizeComponent(
12958
+ { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
12959
+ __vue_inject_styles__$X,
12960
+ __vue_script__$X,
12961
+ __vue_scope_id__$X,
12962
+ __vue_is_functional_template__$X,
12963
+ __vue_module_identifier__$X,
12954
12964
  false,
12955
12965
  createInjector,
12956
12966
  undefined,
@@ -12989,13 +12999,13 @@ SearchBoxMoreResults = __decorate([
12989
12999
  name: "searchBoxMoreResults",
12990
13000
  })
12991
13001
  ], SearchBoxMoreResults);
12992
- var script$T = SearchBoxMoreResults;
13002
+ var script$V = SearchBoxMoreResults;
12993
13003
 
12994
13004
  /* script */
12995
- const __vue_script__$U = script$T;
13005
+ const __vue_script__$W = script$V;
12996
13006
 
12997
13007
  /* template */
12998
- var __vue_render__$U = function () {
13008
+ var __vue_render__$W = function () {
12999
13009
  var _vm = this;
13000
13010
  var _h = _vm.$createElement;
13001
13011
  var _c = _vm._self._c || _h;
@@ -13009,17 +13019,17 @@ var __vue_render__$U = function () {
13009
13019
  [_vm._v(_vm._s(_vm.labels.moreResults) + " " + _vm._s(_vm.totalCount))]
13010
13020
  )
13011
13021
  };
13012
- var __vue_staticRenderFns__$U = [];
13013
- __vue_render__$U._withStripped = true;
13022
+ var __vue_staticRenderFns__$W = [];
13023
+ __vue_render__$W._withStripped = true;
13014
13024
 
13015
13025
  /* style */
13016
- const __vue_inject_styles__$U = undefined;
13026
+ const __vue_inject_styles__$W = undefined;
13017
13027
  /* scoped */
13018
- const __vue_scope_id__$U = undefined;
13028
+ const __vue_scope_id__$W = undefined;
13019
13029
  /* module identifier */
13020
- const __vue_module_identifier__$U = undefined;
13030
+ const __vue_module_identifier__$W = undefined;
13021
13031
  /* functional template */
13022
- const __vue_is_functional_template__$U = false;
13032
+ const __vue_is_functional_template__$W = false;
13023
13033
  /* style inject */
13024
13034
 
13025
13035
  /* style inject SSR */
@@ -13028,13 +13038,13 @@ __vue_render__$U._withStripped = true;
13028
13038
 
13029
13039
 
13030
13040
 
13031
- const __vue_component__$U = /*#__PURE__*/normalizeComponent(
13032
- { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
13033
- __vue_inject_styles__$U,
13034
- __vue_script__$U,
13035
- __vue_scope_id__$U,
13036
- __vue_is_functional_template__$U,
13037
- __vue_module_identifier__$U,
13041
+ const __vue_component__$W = /*#__PURE__*/normalizeComponent(
13042
+ { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
13043
+ __vue_inject_styles__$W,
13044
+ __vue_script__$W,
13045
+ __vue_scope_id__$W,
13046
+ __vue_is_functional_template__$W,
13047
+ __vue_module_identifier__$W,
13038
13048
  false,
13039
13049
  undefined,
13040
13050
  undefined,
@@ -13060,13 +13070,13 @@ SearchBoxHistoryItem = __decorate([
13060
13070
  name: "SearchBoxHistoryItem",
13061
13071
  })
13062
13072
  ], SearchBoxHistoryItem);
13063
- var script$S = SearchBoxHistoryItem;
13073
+ var script$U = SearchBoxHistoryItem;
13064
13074
 
13065
13075
  /* script */
13066
- const __vue_script__$T = script$S;
13076
+ const __vue_script__$V = script$U;
13067
13077
 
13068
13078
  /* template */
13069
- var __vue_render__$T = function () {
13079
+ var __vue_render__$V = function () {
13070
13080
  var _vm = this;
13071
13081
  var _h = _vm.$createElement;
13072
13082
  var _c = _vm._self._c || _h;
@@ -13095,17 +13105,17 @@ var __vue_render__$T = function () {
13095
13105
  ]),
13096
13106
  ])
13097
13107
  };
13098
- var __vue_staticRenderFns__$T = [];
13099
- __vue_render__$T._withStripped = true;
13108
+ var __vue_staticRenderFns__$V = [];
13109
+ __vue_render__$V._withStripped = true;
13100
13110
 
13101
13111
  /* style */
13102
- const __vue_inject_styles__$T = undefined;
13112
+ const __vue_inject_styles__$V = undefined;
13103
13113
  /* scoped */
13104
- const __vue_scope_id__$T = undefined;
13114
+ const __vue_scope_id__$V = undefined;
13105
13115
  /* module identifier */
13106
- const __vue_module_identifier__$T = undefined;
13116
+ const __vue_module_identifier__$V = undefined;
13107
13117
  /* functional template */
13108
- const __vue_is_functional_template__$T = false;
13118
+ const __vue_is_functional_template__$V = false;
13109
13119
  /* style inject */
13110
13120
 
13111
13121
  /* style inject SSR */
@@ -13114,13 +13124,13 @@ __vue_render__$T._withStripped = true;
13114
13124
 
13115
13125
 
13116
13126
 
13117
- const __vue_component__$T = /*#__PURE__*/normalizeComponent(
13118
- { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
13119
- __vue_inject_styles__$T,
13120
- __vue_script__$T,
13121
- __vue_scope_id__$T,
13122
- __vue_is_functional_template__$T,
13123
- __vue_module_identifier__$T,
13127
+ const __vue_component__$V = /*#__PURE__*/normalizeComponent(
13128
+ { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
13129
+ __vue_inject_styles__$V,
13130
+ __vue_script__$V,
13131
+ __vue_scope_id__$V,
13132
+ __vue_is_functional_template__$V,
13133
+ __vue_module_identifier__$V,
13124
13134
  false,
13125
13135
  undefined,
13126
13136
  undefined,
@@ -13181,17 +13191,17 @@ SearchBoxHistoryPanel = __decorate([
13181
13191
  Component({
13182
13192
  name: "searchBoxHistoryPanel",
13183
13193
  components: {
13184
- SearchBoxHistoryItem: __vue_component__$T,
13194
+ SearchBoxHistoryItem: __vue_component__$V,
13185
13195
  },
13186
13196
  })
13187
13197
  ], SearchBoxHistoryPanel);
13188
- var script$R = SearchBoxHistoryPanel;
13198
+ var script$T = SearchBoxHistoryPanel;
13189
13199
 
13190
13200
  /* script */
13191
- const __vue_script__$S = script$R;
13201
+ const __vue_script__$U = script$T;
13192
13202
 
13193
13203
  /* template */
13194
- var __vue_render__$S = function () {
13204
+ var __vue_render__$U = function () {
13195
13205
  var _vm = this;
13196
13206
  var _h = _vm.$createElement;
13197
13207
  var _c = _vm._self._c || _h;
@@ -13221,17 +13231,17 @@ var __vue_render__$S = function () {
13221
13231
  )
13222
13232
  : _vm._e()
13223
13233
  };
13224
- var __vue_staticRenderFns__$S = [];
13225
- __vue_render__$S._withStripped = true;
13234
+ var __vue_staticRenderFns__$U = [];
13235
+ __vue_render__$U._withStripped = true;
13226
13236
 
13227
13237
  /* style */
13228
- const __vue_inject_styles__$S = undefined;
13238
+ const __vue_inject_styles__$U = undefined;
13229
13239
  /* scoped */
13230
- const __vue_scope_id__$S = undefined;
13240
+ const __vue_scope_id__$U = undefined;
13231
13241
  /* module identifier */
13232
- const __vue_module_identifier__$S = undefined;
13242
+ const __vue_module_identifier__$U = undefined;
13233
13243
  /* functional template */
13234
- const __vue_is_functional_template__$S = false;
13244
+ const __vue_is_functional_template__$U = false;
13235
13245
  /* style inject */
13236
13246
 
13237
13247
  /* style inject SSR */
@@ -13240,13 +13250,13 @@ __vue_render__$S._withStripped = true;
13240
13250
 
13241
13251
 
13242
13252
 
13243
- const __vue_component__$S = /*#__PURE__*/normalizeComponent(
13244
- { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
13245
- __vue_inject_styles__$S,
13246
- __vue_script__$S,
13247
- __vue_scope_id__$S,
13248
- __vue_is_functional_template__$S,
13249
- __vue_module_identifier__$S,
13253
+ const __vue_component__$U = /*#__PURE__*/normalizeComponent(
13254
+ { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
13255
+ __vue_inject_styles__$U,
13256
+ __vue_script__$U,
13257
+ __vue_scope_id__$U,
13258
+ __vue_is_functional_template__$U,
13259
+ __vue_module_identifier__$U,
13250
13260
  false,
13251
13261
  undefined,
13252
13262
  undefined,
@@ -13353,20 +13363,20 @@ SearchBoxMainPanel = __decorate([
13353
13363
  Component({
13354
13364
  name: "searchBoxMainPanel",
13355
13365
  components: {
13356
- SearchBoxSuggestionsWrapper: __vue_component__$V,
13357
- SearchBoxProductsWrapper: __vue_component__$Y,
13358
- SearchBoxMoreResults: __vue_component__$U,
13359
- SearchBoxHistoryPanel: __vue_component__$S,
13366
+ SearchBoxSuggestionsWrapper: __vue_component__$X,
13367
+ SearchBoxProductsWrapper: __vue_component__$_,
13368
+ SearchBoxMoreResults: __vue_component__$W,
13369
+ SearchBoxHistoryPanel: __vue_component__$U,
13360
13370
  },
13361
13371
  })
13362
13372
  ], SearchBoxMainPanel);
13363
- var script$Q = SearchBoxMainPanel;
13373
+ var script$S = SearchBoxMainPanel;
13364
13374
 
13365
13375
  /* script */
13366
- const __vue_script__$R = script$Q;
13376
+ const __vue_script__$T = script$S;
13367
13377
 
13368
13378
  /* template */
13369
- var __vue_render__$R = function () {
13379
+ var __vue_render__$T = function () {
13370
13380
  var _vm = this;
13371
13381
  var _h = _vm.$createElement;
13372
13382
  var _c = _vm._self._c || _h;
@@ -13453,34 +13463,34 @@ var __vue_render__$R = function () {
13453
13463
  )
13454
13464
  : _vm._e()
13455
13465
  };
13456
- var __vue_staticRenderFns__$R = [];
13457
- __vue_render__$R._withStripped = true;
13466
+ var __vue_staticRenderFns__$T = [];
13467
+ __vue_render__$T._withStripped = true;
13458
13468
 
13459
13469
  /* style */
13460
- const __vue_inject_styles__$R = function (inject) {
13470
+ const __vue_inject_styles__$T = function (inject) {
13461
13471
  if (!inject) return
13462
13472
  inject("data-v-0b92689b_0", { source: "#lupa-search-box-panel {\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n}\n.lupa-more-results {\n text-align: center;\n}", map: undefined, media: undefined });
13463
13473
 
13464
13474
  };
13465
13475
  /* scoped */
13466
- const __vue_scope_id__$R = undefined;
13476
+ const __vue_scope_id__$T = undefined;
13467
13477
  /* module identifier */
13468
- const __vue_module_identifier__$R = undefined;
13478
+ const __vue_module_identifier__$T = undefined;
13469
13479
  /* functional template */
13470
- const __vue_is_functional_template__$R = false;
13480
+ const __vue_is_functional_template__$T = false;
13471
13481
  /* style inject SSR */
13472
13482
 
13473
13483
  /* style inject shadow dom */
13474
13484
 
13475
13485
 
13476
13486
 
13477
- const __vue_component__$R = /*#__PURE__*/normalizeComponent(
13478
- { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
13479
- __vue_inject_styles__$R,
13480
- __vue_script__$R,
13481
- __vue_scope_id__$R,
13482
- __vue_is_functional_template__$R,
13483
- __vue_module_identifier__$R,
13487
+ const __vue_component__$T = /*#__PURE__*/normalizeComponent(
13488
+ { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
13489
+ __vue_inject_styles__$T,
13490
+ __vue_script__$T,
13491
+ __vue_scope_id__$T,
13492
+ __vue_is_functional_template__$T,
13493
+ __vue_module_identifier__$T,
13484
13494
  false,
13485
13495
  createInjector,
13486
13496
  undefined,
@@ -13736,18 +13746,18 @@ SearchBox = __decorate([
13736
13746
  Component({
13737
13747
  name: "searchBox",
13738
13748
  components: {
13739
- SearchBoxInput: __vue_component__$17,
13740
- SearchBoxMainPanel: __vue_component__$R,
13749
+ SearchBoxInput: __vue_component__$19,
13750
+ SearchBoxMainPanel: __vue_component__$T,
13741
13751
  },
13742
13752
  })
13743
13753
  ], SearchBox);
13744
- var script$P = SearchBox;
13754
+ var script$R = SearchBox;
13745
13755
 
13746
13756
  /* script */
13747
- const __vue_script__$Q = script$P;
13757
+ const __vue_script__$S = script$R;
13748
13758
 
13749
13759
  /* template */
13750
- var __vue_render__$Q = function () {
13760
+ var __vue_render__$S = function () {
13751
13761
  var _vm = this;
13752
13762
  var _h = _vm.$createElement;
13753
13763
  var _c = _vm._self._c || _h;
@@ -13784,34 +13794,34 @@ var __vue_render__$Q = function () {
13784
13794
  ),
13785
13795
  ])
13786
13796
  };
13787
- var __vue_staticRenderFns__$Q = [];
13788
- __vue_render__$Q._withStripped = true;
13797
+ var __vue_staticRenderFns__$S = [];
13798
+ __vue_render__$S._withStripped = true;
13789
13799
 
13790
13800
  /* style */
13791
- const __vue_inject_styles__$Q = function (inject) {
13801
+ const __vue_inject_styles__$S = function (inject) {
13792
13802
  if (!inject) return
13793
13803
  inject("data-v-73ed57d5_0", { source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n", map: undefined, media: undefined });
13794
13804
 
13795
13805
  };
13796
13806
  /* scoped */
13797
- const __vue_scope_id__$Q = undefined;
13807
+ const __vue_scope_id__$S = undefined;
13798
13808
  /* module identifier */
13799
- const __vue_module_identifier__$Q = undefined;
13809
+ const __vue_module_identifier__$S = undefined;
13800
13810
  /* functional template */
13801
- const __vue_is_functional_template__$Q = false;
13811
+ const __vue_is_functional_template__$S = false;
13802
13812
  /* style inject SSR */
13803
13813
 
13804
13814
  /* style inject shadow dom */
13805
13815
 
13806
13816
 
13807
13817
 
13808
- const __vue_component__$Q = /*#__PURE__*/normalizeComponent(
13809
- { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
13810
- __vue_inject_styles__$Q,
13811
- __vue_script__$Q,
13812
- __vue_scope_id__$Q,
13813
- __vue_is_functional_template__$Q,
13814
- __vue_module_identifier__$Q,
13818
+ const __vue_component__$S = /*#__PURE__*/normalizeComponent(
13819
+ { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
13820
+ __vue_inject_styles__$S,
13821
+ __vue_script__$S,
13822
+ __vue_scope_id__$S,
13823
+ __vue_is_functional_template__$S,
13824
+ __vue_module_identifier__$S,
13815
13825
  false,
13816
13826
  createInjector,
13817
13827
  undefined,
@@ -13885,6 +13895,11 @@ let SearchBoxEntry = class SearchBoxEntry extends Vue$1 {
13885
13895
  const options = cloneDeep(this.searchBoxOptions);
13886
13896
  return merge(DEFAULT_SEARCH_BOX_OPTIONS, options);
13887
13897
  }
13898
+ fetch() {
13899
+ var _a;
13900
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13901
+ (_a = this.$refs.searchBox) === null || _a === void 0 ? void 0 : _a.handleCurrentValueSearch();
13902
+ }
13888
13903
  };
13889
13904
  __decorate([
13890
13905
  Prop()
@@ -13893,33 +13908,36 @@ SearchBoxEntry = __decorate([
13893
13908
  Component({
13894
13909
  name: "searchBox",
13895
13910
  components: {
13896
- SearchBox: __vue_component__$Q,
13911
+ SearchBox: __vue_component__$S,
13897
13912
  },
13898
13913
  })
13899
13914
  ], SearchBoxEntry);
13900
- var script$O = SearchBoxEntry;
13915
+ var script$Q = SearchBoxEntry;
13901
13916
 
13902
13917
  /* script */
13903
- const __vue_script__$P = script$O;
13918
+ const __vue_script__$R = script$Q;
13904
13919
 
13905
13920
  /* template */
13906
- var __vue_render__$P = function () {
13921
+ var __vue_render__$R = function () {
13907
13922
  var _vm = this;
13908
13923
  var _h = _vm.$createElement;
13909
13924
  var _c = _vm._self._c || _h;
13910
- return _c("SearchBox", { attrs: { options: _vm.fullSearchBoxOptions } })
13925
+ return _c("SearchBox", {
13926
+ ref: "searchBox",
13927
+ attrs: { options: _vm.fullSearchBoxOptions },
13928
+ })
13911
13929
  };
13912
- var __vue_staticRenderFns__$P = [];
13913
- __vue_render__$P._withStripped = true;
13930
+ var __vue_staticRenderFns__$R = [];
13931
+ __vue_render__$R._withStripped = true;
13914
13932
 
13915
13933
  /* style */
13916
- const __vue_inject_styles__$P = undefined;
13934
+ const __vue_inject_styles__$R = undefined;
13917
13935
  /* scoped */
13918
- const __vue_scope_id__$P = undefined;
13936
+ const __vue_scope_id__$R = undefined;
13919
13937
  /* module identifier */
13920
- const __vue_module_identifier__$P = undefined;
13938
+ const __vue_module_identifier__$R = undefined;
13921
13939
  /* functional template */
13922
- const __vue_is_functional_template__$P = false;
13940
+ const __vue_is_functional_template__$R = false;
13923
13941
  /* style inject */
13924
13942
 
13925
13943
  /* style inject SSR */
@@ -13928,13 +13946,13 @@ __vue_render__$P._withStripped = true;
13928
13946
 
13929
13947
 
13930
13948
 
13931
- const __vue_component__$P = /*#__PURE__*/normalizeComponent(
13932
- { render: __vue_render__$P, staticRenderFns: __vue_staticRenderFns__$P },
13933
- __vue_inject_styles__$P,
13934
- __vue_script__$P,
13935
- __vue_scope_id__$P,
13936
- __vue_is_functional_template__$P,
13937
- __vue_module_identifier__$P,
13949
+ const __vue_component__$R = /*#__PURE__*/normalizeComponent(
13950
+ { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
13951
+ __vue_inject_styles__$R,
13952
+ __vue_script__$R,
13953
+ __vue_scope_id__$R,
13954
+ __vue_is_functional_template__$R,
13955
+ __vue_module_identifier__$R,
13938
13956
  false,
13939
13957
  undefined,
13940
13958
  undefined,
@@ -14199,13 +14217,13 @@ CurrentFilterDisplay = __decorate([
14199
14217
  name: "currentFilterDisplay",
14200
14218
  })
14201
14219
  ], CurrentFilterDisplay);
14202
- var script$N = CurrentFilterDisplay;
14220
+ var script$P = CurrentFilterDisplay;
14203
14221
 
14204
14222
  /* script */
14205
- const __vue_script__$O = script$N;
14223
+ const __vue_script__$Q = script$P;
14206
14224
 
14207
14225
  /* template */
14208
- var __vue_render__$O = function () {
14226
+ var __vue_render__$Q = function () {
14209
14227
  var _vm = this;
14210
14228
  var _h = _vm.$createElement;
14211
14229
  var _c = _vm._self._c || _h;
@@ -14238,17 +14256,17 @@ var __vue_render__$O = function () {
14238
14256
  ),
14239
14257
  ])
14240
14258
  };
14241
- var __vue_staticRenderFns__$O = [];
14242
- __vue_render__$O._withStripped = true;
14259
+ var __vue_staticRenderFns__$Q = [];
14260
+ __vue_render__$Q._withStripped = true;
14243
14261
 
14244
14262
  /* style */
14245
- const __vue_inject_styles__$O = undefined;
14263
+ const __vue_inject_styles__$Q = undefined;
14246
14264
  /* scoped */
14247
- const __vue_scope_id__$O = undefined;
14265
+ const __vue_scope_id__$Q = undefined;
14248
14266
  /* module identifier */
14249
- const __vue_module_identifier__$O = undefined;
14267
+ const __vue_module_identifier__$Q = undefined;
14250
14268
  /* functional template */
14251
- const __vue_is_functional_template__$O = false;
14269
+ const __vue_is_functional_template__$Q = false;
14252
14270
  /* style inject */
14253
14271
 
14254
14272
  /* style inject SSR */
@@ -14257,13 +14275,13 @@ __vue_render__$O._withStripped = true;
14257
14275
 
14258
14276
 
14259
14277
 
14260
- const __vue_component__$O = /*#__PURE__*/normalizeComponent(
14261
- { render: __vue_render__$O, staticRenderFns: __vue_staticRenderFns__$O },
14262
- __vue_inject_styles__$O,
14263
- __vue_script__$O,
14264
- __vue_scope_id__$O,
14265
- __vue_is_functional_template__$O,
14266
- __vue_module_identifier__$O,
14278
+ const __vue_component__$Q = /*#__PURE__*/normalizeComponent(
14279
+ { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
14280
+ __vue_inject_styles__$Q,
14281
+ __vue_script__$Q,
14282
+ __vue_scope_id__$Q,
14283
+ __vue_is_functional_template__$Q,
14284
+ __vue_module_identifier__$Q,
14267
14285
  false,
14268
14286
  undefined,
14269
14287
  undefined,
@@ -14405,17 +14423,17 @@ CurrentFilters = __decorate([
14405
14423
  Component({
14406
14424
  name: "currentFilters",
14407
14425
  components: {
14408
- CurrentFilterDisplay: __vue_component__$O,
14426
+ CurrentFilterDisplay: __vue_component__$Q,
14409
14427
  },
14410
14428
  })
14411
14429
  ], CurrentFilters);
14412
- var script$M = CurrentFilters;
14430
+ var script$O = CurrentFilters;
14413
14431
 
14414
14432
  /* script */
14415
- const __vue_script__$N = script$M;
14433
+ const __vue_script__$P = script$O;
14416
14434
 
14417
14435
  /* template */
14418
- var __vue_render__$N = function () {
14436
+ var __vue_render__$P = function () {
14419
14437
  var _vm = this;
14420
14438
  var _h = _vm.$createElement;
14421
14439
  var _c = _vm._self._c || _h;
@@ -14499,17 +14517,17 @@ var __vue_render__$N = function () {
14499
14517
  )
14500
14518
  : _vm._e()
14501
14519
  };
14502
- var __vue_staticRenderFns__$N = [];
14503
- __vue_render__$N._withStripped = true;
14520
+ var __vue_staticRenderFns__$P = [];
14521
+ __vue_render__$P._withStripped = true;
14504
14522
 
14505
14523
  /* style */
14506
- const __vue_inject_styles__$N = undefined;
14524
+ const __vue_inject_styles__$P = undefined;
14507
14525
  /* scoped */
14508
- const __vue_scope_id__$N = undefined;
14526
+ const __vue_scope_id__$P = undefined;
14509
14527
  /* module identifier */
14510
- const __vue_module_identifier__$N = undefined;
14528
+ const __vue_module_identifier__$P = undefined;
14511
14529
  /* functional template */
14512
- const __vue_is_functional_template__$N = false;
14530
+ const __vue_is_functional_template__$P = false;
14513
14531
  /* style inject */
14514
14532
 
14515
14533
  /* style inject SSR */
@@ -14518,13 +14536,13 @@ __vue_render__$N._withStripped = true;
14518
14536
 
14519
14537
 
14520
14538
 
14521
- const __vue_component__$N = /*#__PURE__*/normalizeComponent(
14522
- { render: __vue_render__$N, staticRenderFns: __vue_staticRenderFns__$N },
14523
- __vue_inject_styles__$N,
14524
- __vue_script__$N,
14525
- __vue_scope_id__$N,
14526
- __vue_is_functional_template__$N,
14527
- __vue_module_identifier__$N,
14539
+ const __vue_component__$P = /*#__PURE__*/normalizeComponent(
14540
+ { render: __vue_render__$P, staticRenderFns: __vue_staticRenderFns__$P },
14541
+ __vue_inject_styles__$P,
14542
+ __vue_script__$P,
14543
+ __vue_scope_id__$P,
14544
+ __vue_is_functional_template__$P,
14545
+ __vue_module_identifier__$P,
14528
14546
  false,
14529
14547
  undefined,
14530
14548
  undefined,
@@ -14609,13 +14627,13 @@ TermFacet$1 = __decorate([
14609
14627
  name: "termFacet",
14610
14628
  })
14611
14629
  ], TermFacet$1);
14612
- var script$L = TermFacet$1;
14630
+ var script$N = TermFacet$1;
14613
14631
 
14614
14632
  /* script */
14615
- const __vue_script__$M = script$L;
14633
+ const __vue_script__$O = script$N;
14616
14634
 
14617
14635
  /* template */
14618
- var __vue_render__$M = function () {
14636
+ var __vue_render__$O = function () {
14619
14637
  var _vm = this;
14620
14638
  var _h = _vm.$createElement;
14621
14639
  var _c = _vm._self._c || _h;
@@ -14717,17 +14735,17 @@ var __vue_render__$M = function () {
14717
14735
  ]
14718
14736
  )
14719
14737
  };
14720
- var __vue_staticRenderFns__$M = [];
14721
- __vue_render__$M._withStripped = true;
14738
+ var __vue_staticRenderFns__$O = [];
14739
+ __vue_render__$O._withStripped = true;
14722
14740
 
14723
14741
  /* style */
14724
- const __vue_inject_styles__$M = undefined;
14742
+ const __vue_inject_styles__$O = undefined;
14725
14743
  /* scoped */
14726
- const __vue_scope_id__$M = undefined;
14744
+ const __vue_scope_id__$O = undefined;
14727
14745
  /* module identifier */
14728
- const __vue_module_identifier__$M = undefined;
14746
+ const __vue_module_identifier__$O = undefined;
14729
14747
  /* functional template */
14730
- const __vue_is_functional_template__$M = false;
14748
+ const __vue_is_functional_template__$O = false;
14731
14749
  /* style inject */
14732
14750
 
14733
14751
  /* style inject SSR */
@@ -14736,13 +14754,13 @@ __vue_render__$M._withStripped = true;
14736
14754
 
14737
14755
 
14738
14756
 
14739
- const __vue_component__$M = /*#__PURE__*/normalizeComponent(
14740
- { render: __vue_render__$M, staticRenderFns: __vue_staticRenderFns__$M },
14741
- __vue_inject_styles__$M,
14742
- __vue_script__$M,
14743
- __vue_scope_id__$M,
14744
- __vue_is_functional_template__$M,
14745
- __vue_module_identifier__$M,
14757
+ const __vue_component__$O = /*#__PURE__*/normalizeComponent(
14758
+ { render: __vue_render__$O, staticRenderFns: __vue_staticRenderFns__$O },
14759
+ __vue_inject_styles__$O,
14760
+ __vue_script__$O,
14761
+ __vue_scope_id__$O,
14762
+ __vue_is_functional_template__$O,
14763
+ __vue_module_identifier__$O,
14746
14764
  false,
14747
14765
  undefined,
14748
14766
  undefined,
@@ -14792,7 +14810,7 @@ let TermFacet = class TermFacet extends Vue$1 {
14792
14810
  }
14793
14811
  get fromValue() {
14794
14812
  return this.isPrice
14795
- ? this.sliderRange[0].toFixed(2)
14813
+ ? this.sliderRange[0].toFixed(2).replace(".", this.separator)
14796
14814
  : `${this.sliderRange[0]}`;
14797
14815
  }
14798
14816
  set fromValue(stringValue) {
@@ -14808,7 +14826,7 @@ let TermFacet = class TermFacet extends Vue$1 {
14808
14826
  }
14809
14827
  get toValue() {
14810
14828
  return this.isPrice
14811
- ? this.sliderRange[1].toFixed(2)
14829
+ ? this.sliderRange[1].toFixed(2).replace(".", this.separator)
14812
14830
  : `${this.sliderRange[1]}`;
14813
14831
  }
14814
14832
  set toValue(stringValue) {
@@ -14867,9 +14885,16 @@ let TermFacet = class TermFacet extends Vue$1 {
14867
14885
  get statsSummary() {
14868
14886
  const [min, max] = this.sliderRange;
14869
14887
  return this.isPrice
14870
- ? formatPriceSummary([min, max], this.currency, this.searchResultOptions.labels.priceSeparator)
14888
+ ? formatPriceSummary([min, max], this.currency, this.separator)
14871
14889
  : formatRange({ gte: min, lte: max });
14872
14890
  }
14891
+ get separator() {
14892
+ var _a, _b, _c;
14893
+ return (_c = (_b = (_a = this.searchResultOptions) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b.priceSeparator) !== null && _c !== void 0 ? _c : ",";
14894
+ }
14895
+ get sliderInputFormat() {
14896
+ return this.isPrice ? `[0-9]+([${this.separator}][0-9]{1,2})?` : undefined;
14897
+ }
14873
14898
  onMinValueChange() {
14874
14899
  this.innerSliderRange = [];
14875
14900
  }
@@ -14923,13 +14948,13 @@ TermFacet = __decorate([
14923
14948
  },
14924
14949
  })
14925
14950
  ], TermFacet);
14926
- var script$K = TermFacet;
14951
+ var script$M = TermFacet;
14927
14952
 
14928
14953
  /* script */
14929
- const __vue_script__$L = script$K;
14954
+ const __vue_script__$N = script$M;
14930
14955
 
14931
14956
  /* template */
14932
- var __vue_render__$L = function () {
14957
+ var __vue_render__$N = function () {
14933
14958
  var _vm = this;
14934
14959
  var _h = _vm.$createElement;
14935
14960
  var _c = _vm._self._c || _h;
@@ -14960,10 +14985,10 @@ var __vue_render__$L = function () {
14960
14985
  },
14961
14986
  ],
14962
14987
  attrs: {
14963
- type: "number",
14988
+ type: "text",
14964
14989
  max: _vm.facetMax,
14965
14990
  min: _vm.facetMin,
14966
- step: _vm.isPrice ? "0.01" : "1",
14991
+ pattern: _vm.sliderInputFormat,
14967
14992
  },
14968
14993
  domProps: { value: _vm.fromValue },
14969
14994
  on: {
@@ -15000,10 +15025,10 @@ var __vue_render__$L = function () {
15000
15025
  },
15001
15026
  ],
15002
15027
  attrs: {
15003
- type: "number",
15028
+ type: "text",
15004
15029
  max: _vm.facetMax,
15005
15030
  min: _vm.facetMin,
15006
- step: _vm.isPrice ? "0.01" : "1",
15031
+ pattern: _vm.sliderInputFormat,
15007
15032
  },
15008
15033
  domProps: { value: _vm.toValue },
15009
15034
  on: {
@@ -15054,17 +15079,17 @@ var __vue_render__$L = function () {
15054
15079
  : _vm._e(),
15055
15080
  ])
15056
15081
  };
15057
- var __vue_staticRenderFns__$L = [];
15058
- __vue_render__$L._withStripped = true;
15082
+ var __vue_staticRenderFns__$N = [];
15083
+ __vue_render__$N._withStripped = true;
15059
15084
 
15060
15085
  /* style */
15061
- const __vue_inject_styles__$L = undefined;
15086
+ const __vue_inject_styles__$N = undefined;
15062
15087
  /* scoped */
15063
- const __vue_scope_id__$L = undefined;
15088
+ const __vue_scope_id__$N = undefined;
15064
15089
  /* module identifier */
15065
- const __vue_module_identifier__$L = undefined;
15090
+ const __vue_module_identifier__$N = undefined;
15066
15091
  /* functional template */
15067
- const __vue_is_functional_template__$L = false;
15092
+ const __vue_is_functional_template__$N = false;
15068
15093
  /* style inject */
15069
15094
 
15070
15095
  /* style inject SSR */
@@ -15073,13 +15098,13 @@ __vue_render__$L._withStripped = true;
15073
15098
 
15074
15099
 
15075
15100
 
15076
- const __vue_component__$L = /*#__PURE__*/normalizeComponent(
15077
- { render: __vue_render__$L, staticRenderFns: __vue_staticRenderFns__$L },
15078
- __vue_inject_styles__$L,
15079
- __vue_script__$L,
15080
- __vue_scope_id__$L,
15081
- __vue_is_functional_template__$L,
15082
- __vue_module_identifier__$L,
15101
+ const __vue_component__$N = /*#__PURE__*/normalizeComponent(
15102
+ { render: __vue_render__$N, staticRenderFns: __vue_staticRenderFns__$N },
15103
+ __vue_inject_styles__$N,
15104
+ __vue_script__$N,
15105
+ __vue_scope_id__$N,
15106
+ __vue_is_functional_template__$N,
15107
+ __vue_module_identifier__$N,
15083
15108
  false,
15084
15109
  undefined,
15085
15110
  undefined,
@@ -15119,13 +15144,13 @@ HierarchyFacetLevel = __decorate([
15119
15144
  name: "HierarchyFacetLevel",
15120
15145
  })
15121
15146
  ], HierarchyFacetLevel);
15122
- var script$J = HierarchyFacetLevel;
15147
+ var script$L = HierarchyFacetLevel;
15123
15148
 
15124
15149
  /* script */
15125
- const __vue_script__$K = script$J;
15150
+ const __vue_script__$M = script$L;
15126
15151
 
15127
15152
  /* template */
15128
- var __vue_render__$K = function () {
15153
+ var __vue_render__$M = function () {
15129
15154
  var _vm = this;
15130
15155
  var _h = _vm.$createElement;
15131
15156
  var _c = _vm._self._c || _h;
@@ -15195,34 +15220,34 @@ var __vue_render__$K = function () {
15195
15220
  ]
15196
15221
  )
15197
15222
  };
15198
- var __vue_staticRenderFns__$K = [];
15199
- __vue_render__$K._withStripped = true;
15223
+ var __vue_staticRenderFns__$M = [];
15224
+ __vue_render__$M._withStripped = true;
15200
15225
 
15201
15226
  /* style */
15202
- const __vue_inject_styles__$K = function (inject) {
15227
+ const __vue_inject_styles__$M = function (inject) {
15203
15228
  if (!inject) return
15204
15229
  inject("data-v-1cc23c16_0", { source: ".lupa-facet-level {\n margin-left: 25px;\n}", map: undefined, media: undefined });
15205
15230
 
15206
15231
  };
15207
15232
  /* scoped */
15208
- const __vue_scope_id__$K = undefined;
15233
+ const __vue_scope_id__$M = undefined;
15209
15234
  /* module identifier */
15210
- const __vue_module_identifier__$K = undefined;
15235
+ const __vue_module_identifier__$M = undefined;
15211
15236
  /* functional template */
15212
- const __vue_is_functional_template__$K = false;
15237
+ const __vue_is_functional_template__$M = false;
15213
15238
  /* style inject SSR */
15214
15239
 
15215
15240
  /* style inject shadow dom */
15216
15241
 
15217
15242
 
15218
15243
 
15219
- const __vue_component__$K = /*#__PURE__*/normalizeComponent(
15220
- { render: __vue_render__$K, staticRenderFns: __vue_staticRenderFns__$K },
15221
- __vue_inject_styles__$K,
15222
- __vue_script__$K,
15223
- __vue_scope_id__$K,
15224
- __vue_is_functional_template__$K,
15225
- __vue_module_identifier__$K,
15244
+ const __vue_component__$M = /*#__PURE__*/normalizeComponent(
15245
+ { render: __vue_render__$M, staticRenderFns: __vue_staticRenderFns__$M },
15246
+ __vue_inject_styles__$M,
15247
+ __vue_script__$M,
15248
+ __vue_scope_id__$M,
15249
+ __vue_is_functional_template__$M,
15250
+ __vue_module_identifier__$M,
15226
15251
  false,
15227
15252
  createInjector,
15228
15253
  undefined,
@@ -15289,17 +15314,17 @@ HierarchyFacet = __decorate([
15289
15314
  Component({
15290
15315
  name: "hierarchyFacet",
15291
15316
  components: {
15292
- HierarchyFacetLevel: __vue_component__$K,
15317
+ HierarchyFacetLevel: __vue_component__$M,
15293
15318
  },
15294
15319
  })
15295
15320
  ], HierarchyFacet);
15296
- var script$I = HierarchyFacet;
15321
+ var script$K = HierarchyFacet;
15297
15322
 
15298
15323
  /* script */
15299
- const __vue_script__$J = script$I;
15324
+ const __vue_script__$L = script$K;
15300
15325
 
15301
15326
  /* template */
15302
- var __vue_render__$J = function () {
15327
+ var __vue_render__$L = function () {
15303
15328
  var _vm = this;
15304
15329
  var _h = _vm.$createElement;
15305
15330
  var _c = _vm._self._c || _h;
@@ -15369,17 +15394,17 @@ var __vue_render__$J = function () {
15369
15394
  2
15370
15395
  )
15371
15396
  };
15372
- var __vue_staticRenderFns__$J = [];
15373
- __vue_render__$J._withStripped = true;
15397
+ var __vue_staticRenderFns__$L = [];
15398
+ __vue_render__$L._withStripped = true;
15374
15399
 
15375
15400
  /* style */
15376
- const __vue_inject_styles__$J = undefined;
15401
+ const __vue_inject_styles__$L = undefined;
15377
15402
  /* scoped */
15378
- const __vue_scope_id__$J = undefined;
15403
+ const __vue_scope_id__$L = undefined;
15379
15404
  /* module identifier */
15380
- const __vue_module_identifier__$J = undefined;
15405
+ const __vue_module_identifier__$L = undefined;
15381
15406
  /* functional template */
15382
- const __vue_is_functional_template__$J = false;
15407
+ const __vue_is_functional_template__$L = false;
15383
15408
  /* style inject */
15384
15409
 
15385
15410
  /* style inject SSR */
@@ -15388,17 +15413,17 @@ __vue_render__$J._withStripped = true;
15388
15413
 
15389
15414
 
15390
15415
 
15391
- const __vue_component__$J = /*#__PURE__*/normalizeComponent(
15392
- { render: __vue_render__$J, staticRenderFns: __vue_staticRenderFns__$J },
15393
- __vue_inject_styles__$J,
15394
- __vue_script__$J,
15395
- __vue_scope_id__$J,
15396
- __vue_is_functional_template__$J,
15397
- __vue_module_identifier__$J,
15398
- false,
15399
- undefined,
15400
- undefined,
15401
- undefined
15416
+ const __vue_component__$L = /*#__PURE__*/normalizeComponent(
15417
+ { render: __vue_render__$L, staticRenderFns: __vue_staticRenderFns__$L },
15418
+ __vue_inject_styles__$L,
15419
+ __vue_script__$L,
15420
+ __vue_scope_id__$L,
15421
+ __vue_is_functional_template__$L,
15422
+ __vue_module_identifier__$L,
15423
+ false,
15424
+ undefined,
15425
+ undefined,
15426
+ undefined
15402
15427
  );
15403
15428
 
15404
15429
  const searchResult$h = namespace("searchResult");
@@ -15511,19 +15536,19 @@ FacetDisplay = __decorate([
15511
15536
  Component({
15512
15537
  name: "facetDisplay",
15513
15538
  components: {
15514
- TermFacet: __vue_component__$M,
15515
- StatsFacet: __vue_component__$L,
15516
- HierarchyFacet: __vue_component__$J,
15539
+ TermFacet: __vue_component__$O,
15540
+ StatsFacet: __vue_component__$N,
15541
+ HierarchyFacet: __vue_component__$L,
15517
15542
  },
15518
15543
  })
15519
15544
  ], FacetDisplay);
15520
- var script$H = FacetDisplay;
15545
+ var script$J = FacetDisplay;
15521
15546
 
15522
15547
  /* script */
15523
- const __vue_script__$I = script$H;
15548
+ const __vue_script__$K = script$J;
15524
15549
 
15525
15550
  /* template */
15526
- var __vue_render__$I = function () {
15551
+ var __vue_render__$K = function () {
15527
15552
  var _vm = this;
15528
15553
  var _h = _vm.$createElement;
15529
15554
  var _c = _vm._self._c || _h;
@@ -15599,17 +15624,17 @@ var __vue_render__$I = function () {
15599
15624
  )
15600
15625
  : _vm._e()
15601
15626
  };
15602
- var __vue_staticRenderFns__$I = [];
15603
- __vue_render__$I._withStripped = true;
15627
+ var __vue_staticRenderFns__$K = [];
15628
+ __vue_render__$K._withStripped = true;
15604
15629
 
15605
15630
  /* style */
15606
- const __vue_inject_styles__$I = undefined;
15631
+ const __vue_inject_styles__$K = undefined;
15607
15632
  /* scoped */
15608
- const __vue_scope_id__$I = undefined;
15633
+ const __vue_scope_id__$K = undefined;
15609
15634
  /* module identifier */
15610
- const __vue_module_identifier__$I = undefined;
15635
+ const __vue_module_identifier__$K = undefined;
15611
15636
  /* functional template */
15612
- const __vue_is_functional_template__$I = false;
15637
+ const __vue_is_functional_template__$K = false;
15613
15638
  /* style inject */
15614
15639
 
15615
15640
  /* style inject SSR */
@@ -15618,13 +15643,13 @@ __vue_render__$I._withStripped = true;
15618
15643
 
15619
15644
 
15620
15645
 
15621
- const __vue_component__$I = /*#__PURE__*/normalizeComponent(
15622
- { render: __vue_render__$I, staticRenderFns: __vue_staticRenderFns__$I },
15623
- __vue_inject_styles__$I,
15624
- __vue_script__$I,
15625
- __vue_scope_id__$I,
15626
- __vue_is_functional_template__$I,
15627
- __vue_module_identifier__$I,
15646
+ const __vue_component__$K = /*#__PURE__*/normalizeComponent(
15647
+ { render: __vue_render__$K, staticRenderFns: __vue_staticRenderFns__$K },
15648
+ __vue_inject_styles__$K,
15649
+ __vue_script__$K,
15650
+ __vue_scope_id__$K,
15651
+ __vue_is_functional_template__$K,
15652
+ __vue_module_identifier__$K,
15628
15653
  false,
15629
15654
  undefined,
15630
15655
  undefined,
@@ -15663,17 +15688,17 @@ FacetList = __decorate([
15663
15688
  Component({
15664
15689
  name: "facetList",
15665
15690
  components: {
15666
- FacetDisplay: __vue_component__$I,
15691
+ FacetDisplay: __vue_component__$K,
15667
15692
  },
15668
15693
  })
15669
15694
  ], FacetList);
15670
- var script$G = FacetList;
15695
+ var script$I = FacetList;
15671
15696
 
15672
15697
  /* script */
15673
- const __vue_script__$H = script$G;
15698
+ const __vue_script__$J = script$I;
15674
15699
 
15675
15700
  /* template */
15676
- var __vue_render__$H = function () {
15701
+ var __vue_render__$J = function () {
15677
15702
  var _vm = this;
15678
15703
  var _h = _vm.$createElement;
15679
15704
  var _c = _vm._self._c || _h;
@@ -15706,17 +15731,17 @@ var __vue_render__$H = function () {
15706
15731
  ),
15707
15732
  ])
15708
15733
  };
15709
- var __vue_staticRenderFns__$H = [];
15710
- __vue_render__$H._withStripped = true;
15734
+ var __vue_staticRenderFns__$J = [];
15735
+ __vue_render__$J._withStripped = true;
15711
15736
 
15712
15737
  /* style */
15713
- const __vue_inject_styles__$H = undefined;
15738
+ const __vue_inject_styles__$J = undefined;
15714
15739
  /* scoped */
15715
- const __vue_scope_id__$H = undefined;
15740
+ const __vue_scope_id__$J = undefined;
15716
15741
  /* module identifier */
15717
- const __vue_module_identifier__$H = undefined;
15742
+ const __vue_module_identifier__$J = undefined;
15718
15743
  /* functional template */
15719
- const __vue_is_functional_template__$H = false;
15744
+ const __vue_is_functional_template__$J = false;
15720
15745
  /* style inject */
15721
15746
 
15722
15747
  /* style inject SSR */
@@ -15725,13 +15750,13 @@ __vue_render__$H._withStripped = true;
15725
15750
 
15726
15751
 
15727
15752
 
15728
- const __vue_component__$H = /*#__PURE__*/normalizeComponent(
15729
- { render: __vue_render__$H, staticRenderFns: __vue_staticRenderFns__$H },
15730
- __vue_inject_styles__$H,
15731
- __vue_script__$H,
15732
- __vue_scope_id__$H,
15733
- __vue_is_functional_template__$H,
15734
- __vue_module_identifier__$H,
15753
+ const __vue_component__$J = /*#__PURE__*/normalizeComponent(
15754
+ { render: __vue_render__$J, staticRenderFns: __vue_staticRenderFns__$J },
15755
+ __vue_inject_styles__$J,
15756
+ __vue_script__$J,
15757
+ __vue_scope_id__$J,
15758
+ __vue_is_functional_template__$J,
15759
+ __vue_module_identifier__$J,
15735
15760
  false,
15736
15761
  undefined,
15737
15762
  undefined,
@@ -15824,17 +15849,17 @@ Facets = __decorate([
15824
15849
  Component({
15825
15850
  name: "facets",
15826
15851
  components: {
15827
- FacetList: __vue_component__$H,
15852
+ FacetList: __vue_component__$J,
15828
15853
  },
15829
15854
  })
15830
15855
  ], Facets);
15831
- var script$F = Facets;
15856
+ var script$H = Facets;
15832
15857
 
15833
15858
  /* script */
15834
- const __vue_script__$G = script$F;
15859
+ const __vue_script__$I = script$H;
15835
15860
 
15836
15861
  /* template */
15837
- var __vue_render__$G = function () {
15862
+ var __vue_render__$I = function () {
15838
15863
  var _vm = this;
15839
15864
  var _h = _vm.$createElement;
15840
15865
  var _c = _vm._self._c || _h;
@@ -15858,17 +15883,17 @@ var __vue_render__$G = function () {
15858
15883
  1
15859
15884
  )
15860
15885
  };
15861
- var __vue_staticRenderFns__$G = [];
15862
- __vue_render__$G._withStripped = true;
15886
+ var __vue_staticRenderFns__$I = [];
15887
+ __vue_render__$I._withStripped = true;
15863
15888
 
15864
15889
  /* style */
15865
- const __vue_inject_styles__$G = undefined;
15890
+ const __vue_inject_styles__$I = undefined;
15866
15891
  /* scoped */
15867
- const __vue_scope_id__$G = undefined;
15892
+ const __vue_scope_id__$I = undefined;
15868
15893
  /* module identifier */
15869
- const __vue_module_identifier__$G = undefined;
15894
+ const __vue_module_identifier__$I = undefined;
15870
15895
  /* functional template */
15871
- const __vue_is_functional_template__$G = false;
15896
+ const __vue_is_functional_template__$I = false;
15872
15897
  /* style inject */
15873
15898
 
15874
15899
  /* style inject SSR */
@@ -15877,13 +15902,13 @@ __vue_render__$G._withStripped = true;
15877
15902
 
15878
15903
 
15879
15904
 
15880
- const __vue_component__$G = /*#__PURE__*/normalizeComponent(
15881
- { render: __vue_render__$G, staticRenderFns: __vue_staticRenderFns__$G },
15882
- __vue_inject_styles__$G,
15883
- __vue_script__$G,
15884
- __vue_scope_id__$G,
15885
- __vue_is_functional_template__$G,
15886
- __vue_module_identifier__$G,
15905
+ const __vue_component__$I = /*#__PURE__*/normalizeComponent(
15906
+ { render: __vue_render__$I, staticRenderFns: __vue_staticRenderFns__$I },
15907
+ __vue_inject_styles__$I,
15908
+ __vue_script__$I,
15909
+ __vue_scope_id__$I,
15910
+ __vue_is_functional_template__$I,
15911
+ __vue_module_identifier__$I,
15887
15912
  false,
15888
15913
  undefined,
15889
15914
  undefined,
@@ -15924,13 +15949,13 @@ CategoryFilterItem = __decorate([
15924
15949
  name: "categoryFilterItem",
15925
15950
  })
15926
15951
  ], CategoryFilterItem);
15927
- var script$E = CategoryFilterItem;
15952
+ var script$G = CategoryFilterItem;
15928
15953
 
15929
15954
  /* script */
15930
- const __vue_script__$F = script$E;
15955
+ const __vue_script__$H = script$G;
15931
15956
 
15932
15957
  /* template */
15933
- var __vue_render__$F = function () {
15958
+ var __vue_render__$H = function () {
15934
15959
  var _vm = this;
15935
15960
  var _h = _vm.$createElement;
15936
15961
  var _c = _vm._self._c || _h;
@@ -15952,17 +15977,17 @@ var __vue_render__$F = function () {
15952
15977
  ]
15953
15978
  )
15954
15979
  };
15955
- var __vue_staticRenderFns__$F = [];
15956
- __vue_render__$F._withStripped = true;
15980
+ var __vue_staticRenderFns__$H = [];
15981
+ __vue_render__$H._withStripped = true;
15957
15982
 
15958
15983
  /* style */
15959
- const __vue_inject_styles__$F = undefined;
15984
+ const __vue_inject_styles__$H = undefined;
15960
15985
  /* scoped */
15961
- const __vue_scope_id__$F = undefined;
15986
+ const __vue_scope_id__$H = undefined;
15962
15987
  /* module identifier */
15963
- const __vue_module_identifier__$F = undefined;
15988
+ const __vue_module_identifier__$H = undefined;
15964
15989
  /* functional template */
15965
- const __vue_is_functional_template__$F = false;
15990
+ const __vue_is_functional_template__$H = false;
15966
15991
  /* style inject */
15967
15992
 
15968
15993
  /* style inject SSR */
@@ -15971,13 +15996,13 @@ __vue_render__$F._withStripped = true;
15971
15996
 
15972
15997
 
15973
15998
 
15974
- const __vue_component__$F = /*#__PURE__*/normalizeComponent(
15975
- { render: __vue_render__$F, staticRenderFns: __vue_staticRenderFns__$F },
15976
- __vue_inject_styles__$F,
15977
- __vue_script__$F,
15978
- __vue_scope_id__$F,
15979
- __vue_is_functional_template__$F,
15980
- __vue_module_identifier__$F,
15999
+ const __vue_component__$H = /*#__PURE__*/normalizeComponent(
16000
+ { render: __vue_render__$H, staticRenderFns: __vue_staticRenderFns__$H },
16001
+ __vue_inject_styles__$H,
16002
+ __vue_script__$H,
16003
+ __vue_scope_id__$H,
16004
+ __vue_is_functional_template__$H,
16005
+ __vue_module_identifier__$H,
15981
16006
  false,
15982
16007
  undefined,
15983
16008
  undefined,
@@ -16071,17 +16096,17 @@ CategoryFilter = __decorate([
16071
16096
  Component({
16072
16097
  name: "categoryFilter",
16073
16098
  components: {
16074
- CategoryFilterItem: __vue_component__$F,
16099
+ CategoryFilterItem: __vue_component__$H,
16075
16100
  },
16076
16101
  })
16077
16102
  ], CategoryFilter);
16078
- var script$D = CategoryFilter;
16103
+ var script$F = CategoryFilter;
16079
16104
 
16080
16105
  /* script */
16081
- const __vue_script__$E = script$D;
16106
+ const __vue_script__$G = script$F;
16082
16107
 
16083
16108
  /* template */
16084
- var __vue_render__$E = function () {
16109
+ var __vue_render__$G = function () {
16085
16110
  var _vm = this;
16086
16111
  var _h = _vm.$createElement;
16087
16112
  var _c = _vm._self._c || _h;
@@ -16144,17 +16169,17 @@ var __vue_render__$E = function () {
16144
16169
  ]
16145
16170
  )
16146
16171
  };
16147
- var __vue_staticRenderFns__$E = [];
16148
- __vue_render__$E._withStripped = true;
16172
+ var __vue_staticRenderFns__$G = [];
16173
+ __vue_render__$G._withStripped = true;
16149
16174
 
16150
16175
  /* style */
16151
- const __vue_inject_styles__$E = undefined;
16176
+ const __vue_inject_styles__$G = undefined;
16152
16177
  /* scoped */
16153
- const __vue_scope_id__$E = undefined;
16178
+ const __vue_scope_id__$G = undefined;
16154
16179
  /* module identifier */
16155
- const __vue_module_identifier__$E = undefined;
16180
+ const __vue_module_identifier__$G = undefined;
16156
16181
  /* functional template */
16157
- const __vue_is_functional_template__$E = false;
16182
+ const __vue_is_functional_template__$G = false;
16158
16183
  /* style inject */
16159
16184
 
16160
16185
  /* style inject SSR */
@@ -16163,13 +16188,13 @@ __vue_render__$E._withStripped = true;
16163
16188
 
16164
16189
 
16165
16190
 
16166
- const __vue_component__$E = /*#__PURE__*/normalizeComponent(
16167
- { render: __vue_render__$E, staticRenderFns: __vue_staticRenderFns__$E },
16168
- __vue_inject_styles__$E,
16169
- __vue_script__$E,
16170
- __vue_scope_id__$E,
16171
- __vue_is_functional_template__$E,
16172
- __vue_module_identifier__$E,
16191
+ const __vue_component__$G = /*#__PURE__*/normalizeComponent(
16192
+ { render: __vue_render__$G, staticRenderFns: __vue_staticRenderFns__$G },
16193
+ __vue_inject_styles__$G,
16194
+ __vue_script__$G,
16195
+ __vue_scope_id__$G,
16196
+ __vue_is_functional_template__$G,
16197
+ __vue_module_identifier__$G,
16173
16198
  false,
16174
16199
  undefined,
16175
16200
  undefined,
@@ -16194,19 +16219,19 @@ SearchResultsFilters = __decorate([
16194
16219
  Component({
16195
16220
  name: "searchResultsFilters",
16196
16221
  components: {
16197
- CurrentFilters: __vue_component__$N,
16198
- Facets: __vue_component__$G,
16199
- CategoryFilter: __vue_component__$E,
16222
+ CurrentFilters: __vue_component__$P,
16223
+ Facets: __vue_component__$I,
16224
+ CategoryFilter: __vue_component__$G,
16200
16225
  },
16201
16226
  })
16202
16227
  ], SearchResultsFilters);
16203
- var script$C = SearchResultsFilters;
16228
+ var script$E = SearchResultsFilters;
16204
16229
 
16205
16230
  /* script */
16206
- const __vue_script__$D = script$C;
16231
+ const __vue_script__$F = script$E;
16207
16232
 
16208
16233
  /* template */
16209
- var __vue_render__$D = function () {
16234
+ var __vue_render__$F = function () {
16210
16235
  var _vm = this;
16211
16236
  var _h = _vm.$createElement;
16212
16237
  var _c = _vm._self._c || _h;
@@ -16237,17 +16262,17 @@ var __vue_render__$D = function () {
16237
16262
  1
16238
16263
  )
16239
16264
  };
16240
- var __vue_staticRenderFns__$D = [];
16241
- __vue_render__$D._withStripped = true;
16265
+ var __vue_staticRenderFns__$F = [];
16266
+ __vue_render__$F._withStripped = true;
16242
16267
 
16243
16268
  /* style */
16244
- const __vue_inject_styles__$D = undefined;
16269
+ const __vue_inject_styles__$F = undefined;
16245
16270
  /* scoped */
16246
- const __vue_scope_id__$D = undefined;
16271
+ const __vue_scope_id__$F = undefined;
16247
16272
  /* module identifier */
16248
- const __vue_module_identifier__$D = undefined;
16273
+ const __vue_module_identifier__$F = undefined;
16249
16274
  /* functional template */
16250
- const __vue_is_functional_template__$D = false;
16275
+ const __vue_is_functional_template__$F = false;
16251
16276
  /* style inject */
16252
16277
 
16253
16278
  /* style inject SSR */
@@ -16256,13 +16281,13 @@ __vue_render__$D._withStripped = true;
16256
16281
 
16257
16282
 
16258
16283
 
16259
- const __vue_component__$D = /*#__PURE__*/normalizeComponent(
16260
- { render: __vue_render__$D, staticRenderFns: __vue_staticRenderFns__$D },
16261
- __vue_inject_styles__$D,
16262
- __vue_script__$D,
16263
- __vue_scope_id__$D,
16264
- __vue_is_functional_template__$D,
16265
- __vue_module_identifier__$D,
16284
+ const __vue_component__$F = /*#__PURE__*/normalizeComponent(
16285
+ { render: __vue_render__$F, staticRenderFns: __vue_staticRenderFns__$F },
16286
+ __vue_inject_styles__$F,
16287
+ __vue_script__$F,
16288
+ __vue_scope_id__$F,
16289
+ __vue_is_functional_template__$F,
16290
+ __vue_module_identifier__$F,
16266
16291
  false,
16267
16292
  undefined,
16268
16293
  undefined,
@@ -16304,17 +16329,17 @@ MobileFilterSidebar = __decorate([
16304
16329
  Component({
16305
16330
  name: "mobileFilerSidebar",
16306
16331
  components: {
16307
- SearchResultsFilters: __vue_component__$D,
16332
+ SearchResultsFilters: __vue_component__$F,
16308
16333
  },
16309
16334
  })
16310
16335
  ], MobileFilterSidebar);
16311
- var script$B = MobileFilterSidebar;
16336
+ var script$D = MobileFilterSidebar;
16312
16337
 
16313
16338
  /* script */
16314
- const __vue_script__$C = script$B;
16339
+ const __vue_script__$E = script$D;
16315
16340
 
16316
16341
  /* template */
16317
- var __vue_render__$C = function () {
16342
+ var __vue_render__$E = function () {
16318
16343
  var _vm = this;
16319
16344
  var _h = _vm.$createElement;
16320
16345
  var _c = _vm._self._c || _h;
@@ -16364,17 +16389,17 @@ var __vue_render__$C = function () {
16364
16389
  ])
16365
16390
  : _vm._e()
16366
16391
  };
16367
- var __vue_staticRenderFns__$C = [];
16368
- __vue_render__$C._withStripped = true;
16392
+ var __vue_staticRenderFns__$E = [];
16393
+ __vue_render__$E._withStripped = true;
16369
16394
 
16370
16395
  /* style */
16371
- const __vue_inject_styles__$C = undefined;
16396
+ const __vue_inject_styles__$E = undefined;
16372
16397
  /* scoped */
16373
- const __vue_scope_id__$C = undefined;
16398
+ const __vue_scope_id__$E = undefined;
16374
16399
  /* module identifier */
16375
- const __vue_module_identifier__$C = undefined;
16400
+ const __vue_module_identifier__$E = undefined;
16376
16401
  /* functional template */
16377
- const __vue_is_functional_template__$C = false;
16402
+ const __vue_is_functional_template__$E = false;
16378
16403
  /* style inject */
16379
16404
 
16380
16405
  /* style inject SSR */
@@ -16383,13 +16408,13 @@ __vue_render__$C._withStripped = true;
16383
16408
 
16384
16409
 
16385
16410
 
16386
- const __vue_component__$C = /*#__PURE__*/normalizeComponent(
16387
- { render: __vue_render__$C, staticRenderFns: __vue_staticRenderFns__$C },
16388
- __vue_inject_styles__$C,
16389
- __vue_script__$C,
16390
- __vue_scope_id__$C,
16391
- __vue_is_functional_template__$C,
16392
- __vue_module_identifier__$C,
16411
+ const __vue_component__$E = /*#__PURE__*/normalizeComponent(
16412
+ { render: __vue_render__$E, staticRenderFns: __vue_staticRenderFns__$E },
16413
+ __vue_inject_styles__$E,
16414
+ __vue_script__$E,
16415
+ __vue_scope_id__$E,
16416
+ __vue_is_functional_template__$E,
16417
+ __vue_module_identifier__$E,
16393
16418
  false,
16394
16419
  undefined,
16395
16420
  undefined,
@@ -16433,13 +16458,13 @@ SearchResultsDidYouMean = __decorate([
16433
16458
  name: "searchResultsDidYouMean",
16434
16459
  })
16435
16460
  ], SearchResultsDidYouMean);
16436
- var script$A = SearchResultsDidYouMean;
16461
+ var script$C = SearchResultsDidYouMean;
16437
16462
 
16438
16463
  /* script */
16439
- const __vue_script__$B = script$A;
16464
+ const __vue_script__$D = script$C;
16440
16465
 
16441
16466
  /* template */
16442
- var __vue_render__$B = function () {
16467
+ var __vue_render__$D = function () {
16443
16468
  var _vm = this;
16444
16469
  var _h = _vm.$createElement;
16445
16470
  var _c = _vm._self._c || _h;
@@ -16495,6 +16520,159 @@ var __vue_render__$B = function () {
16495
16520
  ])
16496
16521
  : _vm._e()
16497
16522
  };
16523
+ var __vue_staticRenderFns__$D = [];
16524
+ __vue_render__$D._withStripped = true;
16525
+
16526
+ /* style */
16527
+ const __vue_inject_styles__$D = undefined;
16528
+ /* scoped */
16529
+ const __vue_scope_id__$D = undefined;
16530
+ /* module identifier */
16531
+ const __vue_module_identifier__$D = undefined;
16532
+ /* functional template */
16533
+ const __vue_is_functional_template__$D = false;
16534
+ /* style inject */
16535
+
16536
+ /* style inject SSR */
16537
+
16538
+ /* style inject shadow dom */
16539
+
16540
+
16541
+
16542
+ const __vue_component__$D = /*#__PURE__*/normalizeComponent(
16543
+ { render: __vue_render__$D, staticRenderFns: __vue_staticRenderFns__$D },
16544
+ __vue_inject_styles__$D,
16545
+ __vue_script__$D,
16546
+ __vue_scope_id__$D,
16547
+ __vue_is_functional_template__$D,
16548
+ __vue_module_identifier__$D,
16549
+ false,
16550
+ undefined,
16551
+ undefined,
16552
+ undefined
16553
+ );
16554
+
16555
+ var ResultsLayoutEnum;
16556
+ (function (ResultsLayoutEnum) {
16557
+ ResultsLayoutEnum["GRID"] = "Grid";
16558
+ ResultsLayoutEnum["LIST"] = "List";
16559
+ })(ResultsLayoutEnum || (ResultsLayoutEnum = {}));
16560
+
16561
+ var BadgeType;
16562
+ (function (BadgeType) {
16563
+ BadgeType["DISCOUNTPERCENTAGE"] = "discountPercentage";
16564
+ BadgeType["DISCOUNTAMOUNT"] = "discountAmount";
16565
+ BadgeType["NEWITEM"] = "newItem";
16566
+ BadgeType["TEXT"] = "text";
16567
+ BadgeType["IMAGE"] = "image";
16568
+ BadgeType["CUSTOM_HTML"] = "customHtml";
16569
+ })(BadgeType || (BadgeType = {}));
16570
+
16571
+ let CustomBadge = class CustomBadge extends Vue$1 {
16572
+ get text() {
16573
+ var _a, _b, _c;
16574
+ return (_b = (_a = this.badge).html) === null || _b === void 0 ? void 0 : _b.call(_a, (_c = this.badge.product) !== null && _c !== void 0 ? _c : {});
16575
+ }
16576
+ get className() {
16577
+ var _a;
16578
+ return (_a = this.badge.className) !== null && _a !== void 0 ? _a : "";
16579
+ }
16580
+ };
16581
+ __decorate([
16582
+ Prop({ default: {} })
16583
+ ], CustomBadge.prototype, "badge", void 0);
16584
+ CustomBadge = __decorate([
16585
+ Component({
16586
+ name: "customBadge",
16587
+ })
16588
+ ], CustomBadge);
16589
+ var script$B = CustomBadge;
16590
+
16591
+ /* script */
16592
+ const __vue_script__$C = script$B;
16593
+
16594
+ /* template */
16595
+ var __vue_render__$C = function () {
16596
+ var _vm = this;
16597
+ var _h = _vm.$createElement;
16598
+ var _c = _vm._self._c || _h;
16599
+ return _c("div", {
16600
+ class: _vm.className,
16601
+ domProps: { innerHTML: _vm._s(_vm.text) },
16602
+ })
16603
+ };
16604
+ var __vue_staticRenderFns__$C = [];
16605
+ __vue_render__$C._withStripped = true;
16606
+
16607
+ /* style */
16608
+ const __vue_inject_styles__$C = undefined;
16609
+ /* scoped */
16610
+ const __vue_scope_id__$C = undefined;
16611
+ /* module identifier */
16612
+ const __vue_module_identifier__$C = undefined;
16613
+ /* functional template */
16614
+ const __vue_is_functional_template__$C = false;
16615
+ /* style inject */
16616
+
16617
+ /* style inject SSR */
16618
+
16619
+ /* style inject shadow dom */
16620
+
16621
+
16622
+
16623
+ const __vue_component__$C = /*#__PURE__*/normalizeComponent(
16624
+ { render: __vue_render__$C, staticRenderFns: __vue_staticRenderFns__$C },
16625
+ __vue_inject_styles__$C,
16626
+ __vue_script__$C,
16627
+ __vue_scope_id__$C,
16628
+ __vue_is_functional_template__$C,
16629
+ __vue_module_identifier__$C,
16630
+ false,
16631
+ undefined,
16632
+ undefined,
16633
+ undefined
16634
+ );
16635
+
16636
+ let TextBadge = class TextBadge extends Vue$1 {
16637
+ get badges() {
16638
+ var _a, _b;
16639
+ return (_b = (_a = this.badge) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : [];
16640
+ }
16641
+ get displayBadges() {
16642
+ return this.badges.slice(0, this.badge.maxItems);
16643
+ }
16644
+ };
16645
+ __decorate([
16646
+ Prop({ default: {} })
16647
+ ], TextBadge.prototype, "badge", void 0);
16648
+ TextBadge = __decorate([
16649
+ Component({
16650
+ name: "TextBadge",
16651
+ })
16652
+ ], TextBadge);
16653
+ var script$A = TextBadge;
16654
+
16655
+ /* script */
16656
+ const __vue_script__$B = script$A;
16657
+
16658
+ /* template */
16659
+ var __vue_render__$B = function () {
16660
+ var _vm = this;
16661
+ var _h = _vm.$createElement;
16662
+ var _c = _vm._self._c || _h;
16663
+ return _c(
16664
+ "div",
16665
+ { staticClass: "lupa-text-badges" },
16666
+ _vm._l(_vm.displayBadges, function (item) {
16667
+ return _c(
16668
+ "div",
16669
+ { key: item, staticClass: "lupa-badge lupa-text-badge" },
16670
+ [_vm._v("\n " + _vm._s(_vm.badge.prefix) + _vm._s(item) + "\n ")]
16671
+ )
16672
+ }),
16673
+ 0
16674
+ )
16675
+ };
16498
16676
  var __vue_staticRenderFns__$B = [];
16499
16677
  __vue_render__$B._withStripped = true;
16500
16678
 
@@ -16527,39 +16705,29 @@ __vue_render__$B._withStripped = true;
16527
16705
  undefined
16528
16706
  );
16529
16707
 
16530
- var ResultsLayoutEnum;
16531
- (function (ResultsLayoutEnum) {
16532
- ResultsLayoutEnum["GRID"] = "Grid";
16533
- ResultsLayoutEnum["LIST"] = "List";
16534
- })(ResultsLayoutEnum || (ResultsLayoutEnum = {}));
16535
-
16536
- var BadgeType;
16537
- (function (BadgeType) {
16538
- BadgeType["DISCOUNTPERCENTAGE"] = "discountPercentage";
16539
- BadgeType["DISCOUNTAMOUNT"] = "discountAmount";
16540
- BadgeType["NEWITEM"] = "newItem";
16541
- BadgeType["TEXT"] = "text";
16542
- BadgeType["IMAGE"] = "image";
16543
- BadgeType["CUSTOM_HTML"] = "customHtml";
16544
- })(BadgeType || (BadgeType = {}));
16545
-
16546
- let CustomBadge = class CustomBadge extends Vue$1 {
16547
- get text() {
16548
- return this.badge.html(this.badge.product);
16708
+ let ImageBadge = class ImageBadge extends Vue$1 {
16709
+ get badges() {
16710
+ return this.badge.value;
16549
16711
  }
16550
- get className() {
16551
- return this.badge.className;
16712
+ getImageUrl(src) {
16713
+ if (!this.badge.rootImageUrl) {
16714
+ return src;
16715
+ }
16716
+ return `${this.badge.rootImageUrl}${src}`;
16717
+ }
16718
+ get displayBadges() {
16719
+ return this.badges.slice(0, this.badge.maxItems);
16552
16720
  }
16553
16721
  };
16554
16722
  __decorate([
16555
16723
  Prop({ default: {} })
16556
- ], CustomBadge.prototype, "badge", void 0);
16557
- CustomBadge = __decorate([
16724
+ ], ImageBadge.prototype, "badge", void 0);
16725
+ ImageBadge = __decorate([
16558
16726
  Component({
16559
- name: "customBadge",
16727
+ name: "ImageBadge",
16560
16728
  })
16561
- ], CustomBadge);
16562
- var script$z = CustomBadge;
16729
+ ], ImageBadge);
16730
+ var script$z = ImageBadge;
16563
16731
 
16564
16732
  /* script */
16565
16733
  const __vue_script__$A = script$z;
@@ -16569,10 +16737,18 @@ var __vue_render__$A = function () {
16569
16737
  var _vm = this;
16570
16738
  var _h = _vm.$createElement;
16571
16739
  var _c = _vm._self._c || _h;
16572
- return _c("div", {
16573
- class: _vm.className,
16574
- domProps: { innerHTML: _vm._s(_vm.text) },
16575
- })
16740
+ return _c(
16741
+ "div",
16742
+ { staticClass: "lupa-image-badges" },
16743
+ _vm._l(_vm.displayBadges, function (item) {
16744
+ return _c(
16745
+ "div",
16746
+ { key: item, staticClass: "lupa-badge lupa-image-badge" },
16747
+ [_c("img", { attrs: { src: _vm.getImageUrl(item) } })]
16748
+ )
16749
+ }),
16750
+ 0
16751
+ )
16576
16752
  };
16577
16753
  var __vue_staticRenderFns__$A = [];
16578
16754
  __vue_render__$A._withStripped = true;
@@ -16606,24 +16782,34 @@ __vue_render__$A._withStripped = true;
16606
16782
  undefined
16607
16783
  );
16608
16784
 
16609
- let TextBadge = class TextBadge extends Vue$1 {
16610
- get badges() {
16785
+ let SearchResultGeneratedBadge = class SearchResultGeneratedBadge extends Vue$1 {
16786
+ get image() {
16787
+ var _a, _b, _c;
16788
+ return (_c = (_b = (_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.image) === null || _b === void 0 ? void 0 : _b.call(_a, this.badge)) !== null && _c !== void 0 ? _c : "";
16789
+ }
16790
+ get hasAdditionalText() {
16611
16791
  var _a, _b;
16612
- return (_b = (_a = this.badge) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : [];
16792
+ return (Boolean((_a = this.badge) === null || _a === void 0 ? void 0 : _a.additionalText) &&
16793
+ typeof ((_b = this.badge) === null || _b === void 0 ? void 0 : _b.additionalText) === "string");
16613
16794
  }
16614
- get displayBadges() {
16615
- return this.badges.slice(0, this.badge.maxItems);
16795
+ get hasTitleText() {
16796
+ var _a, _b;
16797
+ return (Boolean((_a = this.badge) === null || _a === void 0 ? void 0 : _a.titleText) &&
16798
+ typeof ((_b = this.badge) === null || _b === void 0 ? void 0 : _b.titleText) === "string");
16616
16799
  }
16617
16800
  };
16618
16801
  __decorate([
16619
- Prop({ default: {} })
16620
- ], TextBadge.prototype, "badge", void 0);
16621
- TextBadge = __decorate([
16802
+ Prop({ default: () => ({}) })
16803
+ ], SearchResultGeneratedBadge.prototype, "options", void 0);
16804
+ __decorate([
16805
+ Prop({ default: () => ({}) })
16806
+ ], SearchResultGeneratedBadge.prototype, "badge", void 0);
16807
+ SearchResultGeneratedBadge = __decorate([
16622
16808
  Component({
16623
- name: "TextBadge",
16809
+ name: "searchResultsBadgeWrapper",
16624
16810
  })
16625
- ], TextBadge);
16626
- var script$y = TextBadge;
16811
+ ], SearchResultGeneratedBadge);
16812
+ var script$y = SearchResultGeneratedBadge;
16627
16813
 
16628
16814
  /* script */
16629
16815
  const __vue_script__$z = script$y;
@@ -16635,15 +16821,23 @@ var __vue_render__$z = function () {
16635
16821
  var _c = _vm._self._c || _h;
16636
16822
  return _c(
16637
16823
  "div",
16638
- { staticClass: "lupa-text-badges" },
16639
- _vm._l(_vm.displayBadges, function (item) {
16640
- return _c(
16641
- "div",
16642
- { key: item, staticClass: "lupa-badge lupa-text-badge" },
16643
- [_vm._v("\n " + _vm._s(_vm.badge.prefix) + _vm._s(item) + "\n ")]
16644
- )
16645
- }),
16646
- 0
16824
+ {
16825
+ staticClass: "lupa-dynamic-badge",
16826
+ style: { background: _vm.badge.backgroundColor, color: _vm.badge.color },
16827
+ },
16828
+ [
16829
+ _c("span", { staticClass: "lupa-badge-title" }, [
16830
+ _vm.image ? _c("img", { attrs: { src: _vm.image } }) : _vm._e(),
16831
+ _vm.hasTitleText
16832
+ ? _c("span", [_vm._v("\n " + _vm._s(_vm.badge.titleText))])
16833
+ : _vm._e(),
16834
+ ]),
16835
+ _vm.hasAdditionalText
16836
+ ? _c("span", { staticClass: "lupa-badge-full-text" }, [
16837
+ _vm._v(_vm._s(_vm.badge.additionalText)),
16838
+ ])
16839
+ : _vm._e(),
16840
+ ]
16647
16841
  )
16648
16842
  };
16649
16843
  var __vue_staticRenderFns__$z = [];
@@ -16678,29 +16872,56 @@ __vue_render__$z._withStripped = true;
16678
16872
  undefined
16679
16873
  );
16680
16874
 
16681
- let ImageBadge = class ImageBadge extends Vue$1 {
16682
- get badges() {
16683
- return this.badge.value;
16875
+ let SearchResultGeneratedBadges = class SearchResultGeneratedBadges extends Vue$1 {
16876
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16877
+ get badgeField() {
16878
+ var _a, _b, _c, _d, _e, _f, _g;
16879
+ const fieldHasBadges = ((_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.key) &&
16880
+ this.options.product[(_c = (_b = this.options.generate) === null || _b === void 0 ? void 0 : _b.key) !== null && _c !== void 0 ? _c : ""] &&
16881
+ Array.isArray(this.options.product[(_e = (_d = this.options.generate) === null || _d === void 0 ? void 0 : _d.key) !== null && _e !== void 0 ? _e : ""]);
16882
+ return fieldHasBadges
16883
+ ? this.options.product[(_g = (_f = this.options.generate) === null || _f === void 0 ? void 0 : _f.key) !== null && _g !== void 0 ? _g : ""]
16884
+ : [];
16885
+ }
16886
+ get keyMap() {
16887
+ var _a, _b;
16888
+ return (_b = (_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.keyMap) !== null && _b !== void 0 ? _b : {};
16684
16889
  }
16685
- getImageUrl(src) {
16686
- if (!this.badge.rootImageUrl) {
16687
- return src;
16688
- }
16689
- return `${this.badge.rootImageUrl}${src}`;
16890
+ get hasBadges() {
16891
+ var _a;
16892
+ return Boolean(((_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.key) &&
16893
+ this.options.generate.keyMap &&
16894
+ this.badgeField.length > 0);
16690
16895
  }
16691
- get displayBadges() {
16692
- return this.badges.slice(0, this.badge.maxItems);
16896
+ get badges() {
16897
+ return this.badgeField
16898
+ .filter((f) => Boolean(f))
16899
+ .map((f) => ({
16900
+ backgroundColor: this.keyMap.backgroundColor
16901
+ ? f[this.keyMap.backgroundColor]
16902
+ : undefined,
16903
+ color: this.keyMap.color ? f[this.keyMap.color] : undefined,
16904
+ titleText: this.keyMap.titleText ? f[this.keyMap.titleText] : undefined,
16905
+ additionalText: this.keyMap.additionalText
16906
+ ? f[this.keyMap.additionalText]
16907
+ : undefined,
16908
+ id: this.keyMap.id ? f[this.keyMap.id] : undefined,
16909
+ }))
16910
+ .filter((b) => Boolean(b.id));
16693
16911
  }
16694
16912
  };
16695
16913
  __decorate([
16696
16914
  Prop({ default: {} })
16697
- ], ImageBadge.prototype, "badge", void 0);
16698
- ImageBadge = __decorate([
16915
+ ], SearchResultGeneratedBadges.prototype, "options", void 0);
16916
+ SearchResultGeneratedBadges = __decorate([
16699
16917
  Component({
16700
- name: "ImageBadge",
16918
+ name: "searchResultsBadgeWrapper",
16919
+ components: {
16920
+ SearchResultGeneratedBadge: __vue_component__$z,
16921
+ },
16701
16922
  })
16702
- ], ImageBadge);
16703
- var script$x = ImageBadge;
16923
+ ], SearchResultGeneratedBadges);
16924
+ var script$x = SearchResultGeneratedBadges;
16704
16925
 
16705
16926
  /* script */
16706
16927
  const __vue_script__$y = script$x;
@@ -16712,15 +16933,14 @@ var __vue_render__$y = function () {
16712
16933
  var _c = _vm._self._c || _h;
16713
16934
  return _c(
16714
16935
  "div",
16715
- { staticClass: "lupa-image-badges" },
16716
- _vm._l(_vm.displayBadges, function (item) {
16717
- return _c(
16718
- "div",
16719
- { key: item, staticClass: "lupa-badge lupa-image-badge" },
16720
- [_c("img", { attrs: { src: _vm.getImageUrl(item) } })]
16721
- )
16936
+ { staticClass: "lupa-generated-badges" },
16937
+ _vm._l(_vm.badges, function (badge) {
16938
+ return _c("SearchResultGeneratedBadge", {
16939
+ key: badge.id,
16940
+ attrs: { badge: badge, options: _vm.options },
16941
+ })
16722
16942
  }),
16723
- 0
16943
+ 1
16724
16944
  )
16725
16945
  };
16726
16946
  var __vue_staticRenderFns__$y = [];
@@ -16764,11 +16984,17 @@ let SearchResultsBadgeWrapper = class SearchResultsBadgeWrapper extends Vue$1 {
16764
16984
  return [];
16765
16985
  }
16766
16986
  return this.options.elements
16767
- .filter((e) => !e.display || e.display(this.options.product))
16987
+ .filter((e) => { var _a; return !e.display || e.display((_a = this.options.product) !== null && _a !== void 0 ? _a : {}); })
16768
16988
  .map((x) => {
16769
- return Object.assign(Object.assign({}, x), { value: this.options.product[x.key] || "badge", product: this.options.product });
16989
+ var _a;
16990
+ return Object.assign(Object.assign({}, x), { value: ((_a = this.options.product) === null || _a === void 0 ? void 0 : _a[x.key]) || "badge", product: this.options.product });
16770
16991
  });
16771
16992
  }
16993
+ get displayBadges() {
16994
+ return this.position === "card"
16995
+ ? this.badges.filter((b) => !b.position || b.position === "card")
16996
+ : this.badges.filter((b) => b.position === "image");
16997
+ }
16772
16998
  getBadgeComponent(type) {
16773
16999
  switch (type) {
16774
17000
  case BadgeType.TEXT:
@@ -16782,6 +17008,9 @@ let SearchResultsBadgeWrapper = class SearchResultsBadgeWrapper extends Vue$1 {
16782
17008
  }
16783
17009
  }
16784
17010
  };
17011
+ __decorate([
17012
+ Prop({ default: "card" })
17013
+ ], SearchResultsBadgeWrapper.prototype, "position", void 0);
16785
17014
  __decorate([
16786
17015
  Prop({ default: {} })
16787
17016
  ], SearchResultsBadgeWrapper.prototype, "options", void 0);
@@ -16789,9 +17018,10 @@ SearchResultsBadgeWrapper = __decorate([
16789
17018
  Component({
16790
17019
  name: "searchResultsBadgeWrapper",
16791
17020
  components: {
16792
- CustomBadge: __vue_component__$A,
16793
- TextBadge: __vue_component__$z,
16794
- ImageBadge: __vue_component__$y,
17021
+ CustomBadge: __vue_component__$C,
17022
+ TextBadge: __vue_component__$B,
17023
+ ImageBadge: __vue_component__$A,
17024
+ SearchResultGeneratedBadges: __vue_component__$y,
16795
17025
  },
16796
17026
  })
16797
17027
  ], SearchResultsBadgeWrapper);
@@ -16809,14 +17039,22 @@ var __vue_render__$x = function () {
16809
17039
  _c(
16810
17040
  "div",
16811
17041
  { class: _vm.anchorPosition, attrs: { id: "lupa-badges" } },
16812
- _vm._l(_vm.badges, function (badge, index) {
16813
- return _c(_vm.getBadgeComponent(badge.type), {
16814
- key: index,
16815
- tag: "search-results-badge",
16816
- attrs: { badge: badge },
16817
- })
16818
- }),
16819
- 1
17042
+ [
17043
+ _vm._l(_vm.displayBadges, function (badge, index) {
17044
+ return _c(_vm.getBadgeComponent(badge.type), {
17045
+ key: index,
17046
+ tag: "search-results-badge",
17047
+ attrs: { badge: badge },
17048
+ })
17049
+ }),
17050
+ _vm._v(" "),
17051
+ _vm.position === "card"
17052
+ ? _c("SearchResultGeneratedBadges", {
17053
+ attrs: { options: _vm.options },
17054
+ })
17055
+ : _vm._e(),
17056
+ ],
17057
+ 2
16820
17058
  ),
16821
17059
  ])
16822
17060
  };
@@ -17819,6 +18057,7 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
17819
18057
  return "";
17820
18058
  }
17821
18059
  handleClick() {
18060
+ var _a, _b;
17822
18061
  this.trackClick({
17823
18062
  queryKey: this.options.queryKey,
17824
18063
  data: {
@@ -17827,6 +18066,10 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
17827
18066
  type: "itemClick",
17828
18067
  },
17829
18068
  });
18069
+ (_b = (_a = this.searchResultOptions.callbacks) === null || _a === void 0 ? void 0 : _a.onProductClick) === null || _b === void 0 ? void 0 : _b.call(_a, {
18070
+ queryKey: this.query,
18071
+ hasResults: true,
18072
+ });
17830
18073
  }
17831
18074
  handleProductEvent(item) {
17832
18075
  this.trackClick({
@@ -17863,6 +18106,9 @@ __decorate([
17863
18106
  __decorate([
17864
18107
  options$6.Getter("searchResultsRoutingBehavior")
17865
18108
  ], SearchResultsProductCard.prototype, "searchResultsRoutingBehavior", void 0);
18109
+ __decorate([
18110
+ options$6.State((o) => o.searchResultOptions)
18111
+ ], SearchResultsProductCard.prototype, "searchResultOptions", void 0);
17866
18112
  __decorate([
17867
18113
  params$9.Getter("query")
17868
18114
  ], SearchResultsProductCard.prototype, "query", void 0);
@@ -17930,6 +18176,11 @@ var __vue_render__$m = function () {
17930
18176
  })
17931
18177
  }),
17932
18178
  _vm._v(" "),
18179
+ _c("SearchResultsBadgeWrapper", {
18180
+ staticClass: "lupa-image-badges",
18181
+ attrs: { options: _vm.badgesOptions, position: "image" },
18182
+ }),
18183
+ _vm._v(" "),
17933
18184
  _vm.labels.outOfStock && !_vm.isInStock
17934
18185
  ? _c("div", { staticClass: "lupa-out-of-stock" }, [
17935
18186
  _vm._v(
@@ -19751,8 +20002,8 @@ FiltersTopDropdown = __decorate([
19751
20002
  Component({
19752
20003
  name: "filtersTopDropdown",
19753
20004
  components: {
19754
- CurrentFilters: __vue_component__$N,
19755
- Facets: __vue_component__$G,
20005
+ CurrentFilters: __vue_component__$P,
20006
+ Facets: __vue_component__$I,
19756
20007
  },
19757
20008
  })
19758
20009
  ], FiltersTopDropdown);
@@ -19904,7 +20155,7 @@ SearchResultsProducts = __decorate([
19904
20155
  Component({
19905
20156
  name: "searchResultsProducts",
19906
20157
  components: {
19907
- CurrentFilters: __vue_component__$N,
20158
+ CurrentFilters: __vue_component__$P,
19908
20159
  SearchResultsProductCard: __vue_component__$m,
19909
20160
  SearchResultsToolbar: __vue_component__$d,
19910
20161
  AdditionalPanels: __vue_component__$k,
@@ -20226,6 +20477,10 @@ let SearchResultsTitle = class SearchResultsTitle extends Vue$1 {
20226
20477
  return Boolean(((_a = this.options.labels) === null || _a === void 0 ? void 0 : _a.searchResults) &&
20227
20478
  (this.currentQueryText || this.isProductList));
20228
20479
  }
20480
+ get descriptionTop() {
20481
+ var _a, _b;
20482
+ return (_b = (_a = this.options.categories) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.descriptionTop;
20483
+ }
20229
20484
  getLabel(label) {
20230
20485
  return addParamsToLabel(label, `'${this.currentQueryText}'`);
20231
20486
  }
@@ -20260,27 +20515,36 @@ var __vue_render__$6 = function () {
20260
20515
  var _vm = this;
20261
20516
  var _h = _vm.$createElement;
20262
20517
  var _c = _vm._self._c || _h;
20263
- return _vm.showSearchTitle
20264
- ? _c(
20265
- "h1",
20266
- {
20267
- staticClass: "lupa-result-page-title",
20268
- attrs: { "data-cy": "lupa-result-page-title" },
20269
- },
20270
- [
20271
- _vm._v("\n " + _vm._s(_vm.options.labels.searchResults)),
20272
- _vm.queryText
20273
- ? _c("span", [_vm._v("'" + _vm._s(_vm.queryText) + "'")])
20274
- : _vm._e(),
20275
- _vm._v(" "),
20276
- _vm.showProductCount
20277
- ? _c("span", { staticClass: "lupa-results-total-count" }, [
20278
- _vm._v("(" + _vm._s(_vm.totalItems) + ")"),
20279
- ])
20280
- : _vm._e(),
20281
- ]
20282
- )
20283
- : _vm._e()
20518
+ return _c("div", [
20519
+ _vm.showSearchTitle
20520
+ ? _c(
20521
+ "h1",
20522
+ {
20523
+ staticClass: "lupa-result-page-title",
20524
+ attrs: { "data-cy": "lupa-result-page-title" },
20525
+ },
20526
+ [
20527
+ _vm._v("\n " + _vm._s(_vm.options.labels.searchResults)),
20528
+ _vm.queryText
20529
+ ? _c("span", [_vm._v("'" + _vm._s(_vm.queryText) + "'")])
20530
+ : _vm._e(),
20531
+ _vm._v(" "),
20532
+ _vm.showProductCount
20533
+ ? _c("span", { staticClass: "lupa-results-total-count" }, [
20534
+ _vm._v("(" + _vm._s(_vm.totalItems) + ")"),
20535
+ ])
20536
+ : _vm._e(),
20537
+ ]
20538
+ )
20539
+ : _vm._e(),
20540
+ _vm._v(" "),
20541
+ _vm.descriptionTop
20542
+ ? _c("div", {
20543
+ staticClass: "lupa-result-page-description-top",
20544
+ domProps: { innerHTML: _vm._s(_vm.descriptionTop) },
20545
+ })
20546
+ : _vm._e(),
20547
+ ])
20284
20548
  };
20285
20549
  var __vue_staticRenderFns__$6 = [];
20286
20550
  __vue_render__$6._withStripped = true;
@@ -20480,7 +20744,12 @@ let SearchResults = class SearchResults extends Vue$1 {
20480
20744
  this.setDefaultLimit(this.defaultSearchResultPageSize);
20481
20745
  }
20482
20746
  handleParamsChange() {
20747
+ var _a, _b;
20483
20748
  this.handleUrlChange();
20749
+ (_b = (_a = this.options.callbacks) === null || _a === void 0 ? void 0 : _a.onUrlQueryChange) === null || _b === void 0 ? void 0 : _b.call(_a, {
20750
+ queryKey: this.options.queryKey,
20751
+ urlQueryString: this.searchString,
20752
+ });
20484
20753
  }
20485
20754
  handleUrlChange(params) {
20486
20755
  const searchParams = params || new URLSearchParams(window.location.search);
@@ -20601,11 +20870,11 @@ SearchResults = __decorate([
20601
20870
  Component({
20602
20871
  name: "searchResults",
20603
20872
  components: {
20604
- SearchResultsFilters: __vue_component__$D,
20873
+ SearchResultsFilters: __vue_component__$F,
20605
20874
  SearchResultsProducts: __vue_component__$8,
20606
- MobileFilterSidebar: __vue_component__$C,
20875
+ MobileFilterSidebar: __vue_component__$E,
20607
20876
  SearchResultsBreadcrumbs: __vue_component__$7,
20608
- SearchResultsDidYouMean: __vue_component__$B,
20877
+ SearchResultsDidYouMean: __vue_component__$D,
20609
20878
  SearchResultsTitle: __vue_component__$6,
20610
20879
  SearchResultsToolbar: __vue_component__$d,
20611
20880
  CategoryTopFilters: __vue_component__$5,
@@ -20776,6 +21045,11 @@ let SearchResultsEntry = class SearchResultsEntry extends Vue$1 {
20776
21045
  const options = cloneDeep(this.searchResultsOptions);
20777
21046
  return merge(DEFAULT_OPTIONS_RESULTS, options);
20778
21047
  }
21048
+ fetch() {
21049
+ var _a;
21050
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21051
+ (_a = this.$refs.searchResults) === null || _a === void 0 ? void 0 : _a.handleMounted();
21052
+ }
20779
21053
  };
20780
21054
  __decorate([
20781
21055
  Prop()
@@ -20799,6 +21073,7 @@ var __vue_render__$3 = function () {
20799
21073
  var _h = _vm.$createElement;
20800
21074
  var _c = _vm._self._c || _h;
20801
21075
  return _c("SearchResults", {
21076
+ ref: "searchResults",
20802
21077
  attrs: { options: _vm.fullSearchResultsOptions },
20803
21078
  })
20804
21079
  };
@@ -20910,6 +21185,11 @@ let ProductList = class ProductList extends Vue$1 {
20910
21185
  get componentOptions() {
20911
21186
  return Object.assign(Object.assign({}, this.options), { filters: Object.assign(Object.assign({}, this.options.filters), { categories: this.options.categories }) });
20912
21187
  }
21188
+ fetch() {
21189
+ var _a;
21190
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21191
+ (_a = this.$refs.searchResults) === null || _a === void 0 ? void 0 : _a.handleMounted();
21192
+ }
20913
21193
  };
20914
21194
  __decorate([
20915
21195
  Prop()
@@ -20939,6 +21219,7 @@ var __vue_render__$1 = function () {
20939
21219
  _c(
20940
21220
  "SearchResults",
20941
21221
  {
21222
+ ref: "searchResults",
20942
21223
  attrs: {
20943
21224
  options: _vm.componentOptions,
20944
21225
  "initial-filters": _vm.options.initialFilters,
@@ -20988,6 +21269,11 @@ let ProductListEntry = class ProductListEntry extends Vue$1 {
20988
21269
  get fullProductListOptions() {
20989
21270
  return cloneDeep(this.productListOptions);
20990
21271
  }
21272
+ fetch() {
21273
+ var _a;
21274
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21275
+ (_a = this.$refs.productList) === null || _a === void 0 ? void 0 : _a.fetch();
21276
+ }
20991
21277
  };
20992
21278
  __decorate([
20993
21279
  Prop()
@@ -21010,7 +21296,10 @@ var __vue_render__ = function () {
21010
21296
  var _vm = this;
21011
21297
  var _h = _vm.$createElement;
21012
21298
  var _c = _vm._self._c || _h;
21013
- return _c("ProductList", { attrs: { options: _vm.productListOptions } })
21299
+ return _c("ProductList", {
21300
+ ref: "productList",
21301
+ attrs: { options: _vm.productListOptions },
21302
+ })
21014
21303
  };
21015
21304
  var __vue_staticRenderFns__ = [];
21016
21305
  __vue_render__._withStripped = true;
@@ -22179,44 +22468,119 @@ const app = {
22179
22468
  const tracking = (options) => {
22180
22469
  initTracking(options);
22181
22470
  };
22182
- const searchBox = (options) => {
22471
+ const searchBox = (options, mountOptions) => {
22472
+ const existingInstance = app.box[options.inputSelector];
22473
+ if (existingInstance) {
22474
+ existingInstance.searchBoxOptions = options;
22475
+ if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
22476
+ setTimeout(() => {
22477
+ var _a;
22478
+ (_a = existingInstance.fetch) === null || _a === void 0 ? void 0 : _a.call(existingInstance);
22479
+ });
22480
+ }
22481
+ return;
22482
+ }
22183
22483
  Vue$1.use(Vuex);
22184
- app.box = new Vue$1({
22484
+ const SearchBoxEntryComponent = Vue$1.component("SearchBoxEntry", __vue_component__$R);
22485
+ const instance = new SearchBoxEntryComponent({
22185
22486
  el: options.inputSelector,
22186
- components: { SearchBoxEntry: __vue_component__$P },
22187
- render: (h) => h(__vue_component__$P, { props: { searchBoxOptions: options } }),
22487
+ propsData: { searchBoxOptions: options },
22188
22488
  store,
22189
22489
  });
22490
+ app.box[options.inputSelector] = instance;
22190
22491
  };
22191
- const searchResults = (options) => {
22492
+ const searchResults = (options, mountOptions) => {
22493
+ const existingInstance = app.results[options.containerSelector];
22494
+ if (existingInstance) {
22495
+ existingInstance.searchResultsOptions = options;
22496
+ if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
22497
+ setTimeout(() => {
22498
+ var _a;
22499
+ (_a = existingInstance.fetch) === null || _a === void 0 ? void 0 : _a.call(existingInstance);
22500
+ });
22501
+ }
22502
+ return;
22503
+ }
22192
22504
  Vue$1.use(Vuex);
22193
- app.results = new Vue$1({
22505
+ const SearchResultsEntryComponent = Vue$1.component("SearchResultsEntry", __vue_component__$3);
22506
+ const instance = new SearchResultsEntryComponent({
22194
22507
  el: options.containerSelector,
22195
- components: { SearchResultsEntry: __vue_component__$3 },
22196
- render: (h) => h(__vue_component__$3, { props: { searchResultsOptions: options } }),
22508
+ propsData: { searchResultsOptions: options },
22197
22509
  store,
22198
22510
  });
22511
+ app.results[options.containerSelector] = instance;
22199
22512
  };
22200
- const productList = (options) => {
22513
+ const productList = (options, mountOptions) => {
22514
+ const existingInstance = app.productList[options.containerSelector];
22515
+ if (existingInstance) {
22516
+ existingInstance.productListOptions = options;
22517
+ if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
22518
+ setTimeout(() => {
22519
+ var _a;
22520
+ (_a = existingInstance.fetch) === null || _a === void 0 ? void 0 : _a.call(existingInstance);
22521
+ });
22522
+ }
22523
+ return;
22524
+ }
22201
22525
  Vue$1.use(Vuex);
22202
- app.productList = new Vue$1({
22526
+ const ProductListEntryComponent = Vue$1.component("ProductListEntry", __vue_component__);
22527
+ const instance = new ProductListEntryComponent({
22203
22528
  el: options.containerSelector,
22204
- components: { ProductListEntry: __vue_component__ },
22205
- render: (h) => h(__vue_component__, { props: { productListOptions: options } }),
22529
+ propsData: { productListOptions: options },
22206
22530
  store,
22207
22531
  });
22532
+ app.productList[options.containerSelector] = instance;
22208
22533
  };
22209
- const clearSearchBox = () => {
22210
- var _a;
22211
- (_a = app.box) === null || _a === void 0 ? void 0 : _a.$destroy();
22534
+ const clearSearchBox = (selector) => {
22535
+ try {
22536
+ if (selector) {
22537
+ const instance = app.box[selector];
22538
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22539
+ return;
22540
+ }
22541
+ for (const key in app.box) {
22542
+ const instance = app.box[key];
22543
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22544
+ }
22545
+ app.box = {};
22546
+ }
22547
+ catch (_a) {
22548
+ // do nothing, already destroyed;
22549
+ }
22212
22550
  };
22213
- const clearSearchResults = () => {
22214
- var _a;
22215
- (_a = app.results) === null || _a === void 0 ? void 0 : _a.$destroy();
22551
+ const clearSearchResults = (selector) => {
22552
+ try {
22553
+ if (selector) {
22554
+ const instance = app.box[selector];
22555
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22556
+ return;
22557
+ }
22558
+ for (const key in app.results) {
22559
+ const instance = app.results[key];
22560
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22561
+ }
22562
+ app.results = {};
22563
+ }
22564
+ catch (_a) {
22565
+ // do nothing, already destroyed;
22566
+ }
22216
22567
  };
22217
- const clearProductList = () => {
22218
- var _a;
22219
- (_a = app.productList) === null || _a === void 0 ? void 0 : _a.$destroy();
22568
+ const clearProductList = (selector) => {
22569
+ try {
22570
+ if (selector) {
22571
+ const instance = app.box[selector];
22572
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22573
+ return;
22574
+ }
22575
+ for (const key in app.productList) {
22576
+ const instance = app.productList[key];
22577
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22578
+ }
22579
+ app.productList = {};
22580
+ }
22581
+ catch (_a) {
22582
+ // do nothing, already destroyed;
22583
+ }
22220
22584
  };
22221
22585
  const lupaSearch = {
22222
22586
  searchBox,