vviinn-widgets 2.204.0 → 2.206.0

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 (79) hide show
  1. package/dist/cjs/{Rectangle-HHzovsJi.js → Rectangle-7dF6_xf3.js} +5 -0
  2. package/dist/cjs/{index-C4yTr10x.js → index-BUgslslf.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{package-C0edizYZ.js → package-D-xjGv2R.js} +1 -1
  5. package/dist/cjs/{search.store-BkzR38tx.js → search.store-D8olpx19.js} +23 -8
  6. package/dist/cjs/vviinn-button_6.cjs.entry.js +3 -3
  7. package/dist/cjs/vviinn-camera_12.cjs.entry.js +41 -38
  8. package/dist/cjs/vviinn-carousel_10.cjs.entry.js +11 -8
  9. package/dist/cjs/vviinn-detected-object_2.cjs.entry.js +1 -1
  10. package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +2 -2
  11. package/dist/cjs/vviinn-text-search.cjs.entry.js +35 -6
  12. package/dist/cjs/vviinn-vps-button.cjs.entry.js +4 -4
  13. package/dist/cjs/vviinn-widgets.cjs.js +1 -1
  14. package/dist/collection/components/vviinn-image/vviinn-image.js +7 -4
  15. package/dist/collection/components/vviinn-results/vviinn-results.js +3 -38
  16. package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +53 -4
  17. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +8 -11
  18. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +60 -39
  19. package/dist/collection/searchSession/searchSession.js +4 -0
  20. package/dist/collection/store/search.store.js +22 -8
  21. package/dist/esm/{Rectangle-BUYl6X-H.js → Rectangle-dmgo4KMB.js} +5 -1
  22. package/dist/esm/{index-C8O1z-Y5.js → index-BdHREhiY.js} +1 -1
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/esm/{package-C_BOTOAw.js → package-Cjph3QuR.js} +1 -1
  25. package/dist/esm/{search.store-Dj0c_fNn.js → search.store-C02srsML.js} +23 -9
  26. package/dist/esm/vviinn-button_6.entry.js +3 -3
  27. package/dist/esm/vviinn-camera_12.entry.js +41 -38
  28. package/dist/esm/vviinn-carousel_10.entry.js +11 -8
  29. package/dist/esm/vviinn-detected-object_2.entry.js +1 -1
  30. package/dist/esm/vviinn-shop-the-look.entry.js +2 -2
  31. package/dist/esm/vviinn-text-search.entry.js +35 -6
  32. package/dist/esm/vviinn-vps-button.entry.js +4 -4
  33. package/dist/esm/vviinn-widgets.js +1 -1
  34. package/dist/types/components/vviinn-results/vviinn-results.d.ts +1 -4
  35. package/dist/types/components/vviinn-text-search/vviinn-text-search.d.ts +6 -1
  36. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +2 -2
  37. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +5 -2
  38. package/dist/types/components.d.ts +21 -7
  39. package/dist/types/interfaces/search.d.ts +3 -0
  40. package/dist/types/recommendation/events.d.ts +1 -0
  41. package/dist/types/searchSession/searchSession.d.ts +2 -1
  42. package/dist/types/store/search.store.d.ts +9 -1
  43. package/dist/vviinn-widgets/p-5e688792.entry.js +1 -0
  44. package/dist/vviinn-widgets/{p-5a5b6598.entry.js → p-6f9e56cc.entry.js} +1 -1
  45. package/dist/vviinn-widgets/p-74135006.entry.js +1 -0
  46. package/dist/vviinn-widgets/{p-b43f8e05.entry.js → p-9a80d2e9.entry.js} +1 -1
  47. package/dist/vviinn-widgets/p-C_VapLtA.js +1 -0
  48. package/dist/vviinn-widgets/{p-C_BOTOAw.js → p-Cjph3QuR.js} +1 -1
  49. package/{www/build/p-CPqnqPHW.js → dist/vviinn-widgets/p-CrEgr0jU.js} +1 -1
  50. package/dist/vviinn-widgets/p-a49c99b3.entry.js +1 -0
  51. package/dist/vviinn-widgets/{p-28b38be6.entry.js → p-d16ea58a.entry.js} +1 -1
  52. package/{www/build/p-97304539.entry.js → dist/vviinn-widgets/p-da0467a5.entry.js} +1 -1
  53. package/dist/vviinn-widgets/p-lxnysYxI.js +1 -0
  54. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  55. package/package.json +1 -1
  56. package/www/build/p-5e688792.entry.js +1 -0
  57. package/www/build/{p-5a5b6598.entry.js → p-6f9e56cc.entry.js} +1 -1
  58. package/www/build/p-74135006.entry.js +1 -0
  59. package/www/build/{p-39f831ea.js → p-82c37a27.js} +1 -1
  60. package/www/build/{p-b43f8e05.entry.js → p-9a80d2e9.entry.js} +1 -1
  61. package/www/build/p-C_VapLtA.js +1 -0
  62. package/www/build/{p-C_BOTOAw.js → p-Cjph3QuR.js} +1 -1
  63. package/{dist/vviinn-widgets/p-CPqnqPHW.js → www/build/p-CrEgr0jU.js} +1 -1
  64. package/www/build/p-a49c99b3.entry.js +1 -0
  65. package/www/build/{p-28b38be6.entry.js → p-d16ea58a.entry.js} +1 -1
  66. package/{dist/vviinn-widgets/p-97304539.entry.js → www/build/p-da0467a5.entry.js} +1 -1
  67. package/www/build/p-lxnysYxI.js +1 -0
  68. package/www/build/vviinn-widgets.esm.js +1 -1
  69. package/www/index.html +2 -2
  70. package/dist/vviinn-widgets/p-558fd9c6.entry.js +0 -1
  71. package/dist/vviinn-widgets/p-6219d381.entry.js +0 -1
  72. package/dist/vviinn-widgets/p-BGq8sNFC.js +0 -1
  73. package/dist/vviinn-widgets/p-CsD9w3Cb.js +0 -1
  74. package/dist/vviinn-widgets/p-e6276781.entry.js +0 -1
  75. package/www/build/p-558fd9c6.entry.js +0 -1
  76. package/www/build/p-6219d381.entry.js +0 -1
  77. package/www/build/p-BGq8sNFC.js +0 -1
  78. package/www/build/p-CsD9w3Cb.js +0 -1
  79. package/www/build/p-e6276781.entry.js +0 -1
@@ -8925,6 +8925,10 @@ const productListingPageSessionClient = (initialData, apiPath) => {
8925
8925
  const requestUrl = "product-listing-page";
8926
8926
  return _functionExports.pipe(sequenceToEither(resolveApiPath(apiPath), createInitPostRequest), fromEither, chainW(makeRequest(requestUrl, initialData)));
8927
8927
  };
8928
+ const autoSuggestClient = (initialData, apiPath) => {
8929
+ const requestUrl = "auto-suggest";
8930
+ return _functionExports.pipe(sequenceToEither(resolveApiPath(apiPath), createInitPostRequest), fromEither, chainW(makeRequest(requestUrl, initialData)));
8931
+ };
8928
8932
 
8929
8933
  var OptionExports = /*@__PURE__*/ requireOption();
8930
8934
 
@@ -8972,6 +8976,7 @@ exports.EitherExports = EitherExports;
8972
8976
  exports.OptionExports = OptionExports;
8973
8977
  exports.TaskEitherExports = TaskEitherExports;
8974
8978
  exports._functionExports = _functionExports;
8979
+ exports.autoSuggestClient = autoSuggestClient;
8975
8980
  exports.center = center;
8976
8981
  exports.chain = chain$1;
8977
8982
  exports.chain$1 = chain;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
- var search_store = require('./search.store-BkzR38tx.js');
4
+ var search_store = require('./search.store-D8olpx19.js');
5
5
  var store = require('./store-jPZ4ROqV.js');
6
6
 
7
7
  const PlusIcon = () => (index.h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "plus-icon", "aria-hidden": "true" },
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-DK9R4CCS.js');
6
6
  const defineCustomElements = async (win, options) => {
7
7
  if (typeof window === 'undefined') return undefined;
8
8
  await appGlobals.globalScripts();
9
- return index.bootstrapLazy(JSON.parse("[[\"vviinn-detected-object_2.cjs\",[[1,\"vviinn-detected-object\",{\"detectedObject\":[16,\"detected-object\"],\"selectedDetectedObject\":[16,\"selected-detected-object\"],\"basicEventData\":[16,\"basic-event-data\"],\"imageBounds\":[16,\"image-bounds\"],\"showInWidget\":[4,\"show-in-widget\"],\"position\":[32]}],[1,\"vviinn-preloader\"]]],[\"vviinn-carousel_10.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"isAppended\":[4,\"is-appended\"],\"showInWidget\":[4,\"show-in-widget\"],\"recommendationsLoading\":[1028,\"recommendations-loading\"],\"setRecommendationsLoading\":[16,\"set-recommendations-loading\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToWishlist\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]],{\"productId\":[\"handleProductIdChange\"],\"campaignType\":[\"handleCampaignTypeChange\"],\"campaigns\":[\"handleCampaignsChange\"],\"opened\":[\"trackWidgetOpen\"],\"closed\":[\"trackWidgetClose\"]}],[0,\"vviinn-carousel\",{\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"sourceProduct\":[16,\"source-product\"],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16,\"replace-slots-content\"],\"setModeDiscountsArray\":[16,\"set-mode-discounts-array\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"isAppended\":[4,\"is-appended\"],\"loading\":[4],\"hasErrorOnLoad\":[4,\"has-error-on-load\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"currentScrollIndex\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32],\"columns\":[32],\"showContent\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"setModeAddToBasketHandler\"]],{\"recommendations\":[\"recommendationsWatcher\"],\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"loading\":[\"onLoadingChange\"]}],[1,\"vviinn-extended-filters\",{\"mode\":[513],\"showHeader\":[4,\"show-header\"],\"searchThreshold\":[2,\"search-threshold\"],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"showingInButton\":[4,\"showing-in-button\"],\"widgetElement\":[8,\"widget-element\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32],\"searchTerm\":[32]},[[17,\"mousedown\",\"bodyMouseDownListener\"]],{\"showMore\":[\"showMoreWatcher\"],\"selectedMoreOptions\":[\"selectedMoreOptionsWatcher\"],\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-filters\",{\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"innerFilters\":[32],\"selectedFilterColumn\":[32],\"requestFilters\":[32]},null,{\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16,\"handle-click\"],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"images\":[16],\"showMultipleImages\":[4,\"show-multiple-images\"],\"imageWidth\":[2,\"image-width\"],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"entityType\":[1,\"entity-type\"],\"isSetMode\":[4,\"is-set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040,\"energy-certifications\"],\"deeplink\":[1],\"cssUrl\":[1,\"css-url\"],\"productId\":[1,\"product-id\"],\"product\":[16],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"showFooterArrow\":[4,\"show-footer-arrow\"],\"imageResolutionWidth\":[1026,\"image-resolution-width\"],\"loading\":[1028],\"disableMobileSwiper\":[4,\"disable-mobile-swiper\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32],\"imageLoaded\":[32],\"showSecondImage\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]],{\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"productId\":[\"productIdWatcher\"],\"showSecondImage\":[\"showSecondImageWatcher\"]}],[1,\"vviinn-range-filter\",{\"histogram\":[16],\"intervalChangeHandler\":[16,\"interval-change-handler\"],\"selectedInterval\":[16,\"selected-interval\"],\"showCurrency\":[4,\"show-currency\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"currencySign\":[1,\"currency-sign\"],\"scalingFactor\":[32],\"minValue\":[32],\"maxValue\":[32],\"fromValue\":[32],\"toValue\":[32]},null,{\"selectedInterval\":[\"initializeValues\"],\"histogram\":[\"initializeValues\"]}],[1,\"vviinn-image\",{\"src\":[1],\"width\":[2],\"alt\":[1],\"imageTitle\":[1,\"image-title\"],\"responsive\":[4],\"entityType\":[1,\"entity-type\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"objectFit\":[1,\"object-fit\"],\"showSkeleton\":[4,\"show-skeleton\"],\"isSetMode\":[4,\"is-set-mode\"],\"customClass\":[1,\"custom-class\"],\"borderRadius\":[1,\"border-radius\"],\"border\":[1],\"backgroundColor\":[1,\"background-color\"],\"imageRef\":[16,\"image-ref\"],\"loadEndCallback\":[16,\"load-end-callback\"],\"imageLoaded\":[32],\"imageError\":[32]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16,\"class-icon-urls\"],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"],\"certificationClass\":[1,\"certification-class\"],\"classRange\":[16,\"class-range\"]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"],\"aspectRatio\":[2,\"aspect-ratio\"]}]]],[\"vviinn-shop-the-look.cjs\",[[1,\"vviinn-shop-the-look\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"imageUrls\":[1,\"image-urls\"],\"height\":[2],\"currencySign\":[1,\"currency-sign\"],\"campaignId\":[1,\"campaign-id\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"widgetStyle\":[1,\"widget-style\"],\"showCropper\":[4,\"show-cropper\"],\"uploadMode\":[4,\"upload-mode\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"cssUrl\":[1,\"css-url\"],\"selectedDetectedObject\":[32],\"showModal\":[32],\"modalPosition\":[32],\"showDetailedView\":[32],\"selectedProductIndex\":[32],\"modalImageIndex\":[32],\"swiperActiveIndex\":[32],\"totalImages\":[32],\"imageUrlsList\":[32],\"swiperKey\":[32],\"needNavigation\":[32],\"showLoadingSpinner\":[32],\"isSearchInProgress\":[32],\"currentViewMode\":[32],\"isWidgetVisible\":[32],\"uploadedImageUrls\":[32]},null,{\"currentViewMode\":[\"onViewModeChange\"],\"showModal\":[\"onShowModalChange\"]}]]],[\"vviinn-button_6.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16,\"append-sidebar-to-element\"],\"appendSidebarToId\":[1,\"append-sidebar-to-id\"],\"isStandalone\":[4,\"is-standalone\"],\"showInWidget\":[4,\"show-in-widget\"],\"uiSessionId\":[1,\"ui-session-id\"],\"targetAppendSidebarTo\":[32]},null,{\"appendSidebarToElement\":[\"appendSidebarToElementWatcher\"]}],[1,\"vviinn-error\",{\"hasBackground\":[4,\"has-background\"],\"errorType\":[1,\"error-type\"],\"handler\":[16],\"searchType\":[1,\"search-type\"]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]},null,{\"active\":[\"handleActiveChange\"]}],[1,\"vviinn-overlay\"],[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"useCarousel\":[4,\"use-carousel\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"apiPath\":[1,\"api-path\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16,\"button-children\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"showInModal\":[4,\"show-in-modal\"],\"isAppended\":[4,\"is-appended\"],\"uiSessionId\":[1,\"ui-session-id\"],\"triggerElement\":[16,\"trigger-element\"],\"sidebarState\":[32],\"sourceProduct\":[32],\"showLoadingClass\":[32],\"recommendationsLoading\":[32],\"hidden\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"],[8,\"keydown\",\"handleEscape\"]],{\"recommendationsLoading\":[\"handleLoadingChange\"],\"sidebarState\":[\"handleSidebarStateChange\"]}],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"pricePrefix\":[1,\"price-prefix\"],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"cssUrl\":[1,\"css-url\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]],{\"buttonPressed\":[\"buttonPressedWatcher\"]}]]],[\"vviinn-text-search.cjs\",[[1,\"vviinn-text-search\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"showOnFirstScreen\":[4,\"show-on-first-screen\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16,\"basic-event-data\"],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-camera_12.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"cssUrl\":[1,\"css-url\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"showInWidget\":[4,\"show-in-widget\"],\"slidePosition\":[32],\"uploadSource\":[32],\"stream\":[32],\"products\":[32],\"modalBody\":[32],\"isCameraInitializing\":[32],\"isCameraEnabled\":[32],\"isCameraButtonClicked\":[32],\"showAspectRatioError\":[32],\"wrongImageFormat\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"cropAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackImageSearchFilterSelected\"]],{\"active\":[\"activeWatcher\"],\"slidePosition\":[\"slidePositionWatcher\"]}],[1,\"vviinn-results\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"numberLocale\":[1,\"number-locale\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"pricePrefix\":[1,\"price-prefix\"],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"cssUrl\":[1,\"css-url\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1025,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"resetWidgetState\":[16,\"reset-widget-state\"],\"replaceSlotsContentInWidget\":[16,\"replace-slots-content-in-widget\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"useInnerState\":[4,\"use-inner-state\"],\"scrollableModalBody\":[16,\"scrollable-modal-body\"],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"innerResults\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToFavorite\"]],{\"textSearchQuery\":[\"watchTextSearchQuery\"],\"searchId\":[\"watchSearchId\"]}],[1,\"vviinn-cropper\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"saveImageMode\":[1,\"save-image-mode\"],\"width\":[1026],\"cssUrl\":[1,\"css-url\"],\"height\":[1026],\"basicEventData\":[1040,\"basic-event-data\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"cropper\":[32],\"selectedDetectedObject\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"],[0,\"vviinnImageCrop\",\"imageCropHandler\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16,\"basic-event-data\"],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16]},null,{\"startUpload\":[\"startUploadWatcher\"]}],[1,\"vviinn-camera\",{\"token\":[1],\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16,\"basic-event-data\"],\"srcObject\":[16,\"src-object\"],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16],\"apiPath\":[1,\"api-path\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]},null,{\"srcObject\":[\"handleSrcObjectChange\"]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-selected-filters\",{\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"imageSrc\":[32],\"intervalCustomFilters\":[32]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]},null,{\"position\":[\"positionWatchHandler\"]}],[1,\"vviinn-suggestions\",{\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"token\":[1],\"stream\":[32],\"appliedSuggestionFilters\":[32]}],[1,\"vviinn-teaser\"]]]]"), options);
9
+ return index.bootstrapLazy(JSON.parse("[[\"vviinn-detected-object_2.cjs\",[[1,\"vviinn-detected-object\",{\"detectedObject\":[16,\"detected-object\"],\"selectedDetectedObject\":[16,\"selected-detected-object\"],\"basicEventData\":[16,\"basic-event-data\"],\"imageBounds\":[16,\"image-bounds\"],\"showInWidget\":[4,\"show-in-widget\"],\"position\":[32]}],[1,\"vviinn-preloader\"]]],[\"vviinn-carousel_10.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"isAppended\":[4,\"is-appended\"],\"showInWidget\":[4,\"show-in-widget\"],\"recommendationsLoading\":[1028,\"recommendations-loading\"],\"setRecommendationsLoading\":[16,\"set-recommendations-loading\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToWishlist\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]],{\"productId\":[\"handleProductIdChange\"],\"campaignType\":[\"handleCampaignTypeChange\"],\"campaigns\":[\"handleCampaignsChange\"],\"opened\":[\"trackWidgetOpen\"],\"closed\":[\"trackWidgetClose\"]}],[0,\"vviinn-carousel\",{\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"sourceProduct\":[16,\"source-product\"],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16,\"replace-slots-content\"],\"setModeDiscountsArray\":[16,\"set-mode-discounts-array\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"isAppended\":[4,\"is-appended\"],\"loading\":[4],\"hasErrorOnLoad\":[4,\"has-error-on-load\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"currentScrollIndex\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32],\"columns\":[32],\"showContent\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"setModeAddToBasketHandler\"]],{\"recommendations\":[\"recommendationsWatcher\"],\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"loading\":[\"onLoadingChange\"]}],[1,\"vviinn-extended-filters\",{\"mode\":[513],\"showHeader\":[4,\"show-header\"],\"searchThreshold\":[2,\"search-threshold\"],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"showingInButton\":[4,\"showing-in-button\"],\"widgetElement\":[8,\"widget-element\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32],\"searchTerm\":[32]},[[17,\"mousedown\",\"bodyMouseDownListener\"]],{\"showMore\":[\"showMoreWatcher\"],\"selectedMoreOptions\":[\"selectedMoreOptionsWatcher\"],\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-filters\",{\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"innerFilters\":[32],\"selectedFilterColumn\":[32],\"requestFilters\":[32]},null,{\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16,\"handle-click\"],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"images\":[16],\"showMultipleImages\":[4,\"show-multiple-images\"],\"imageWidth\":[2,\"image-width\"],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"entityType\":[1,\"entity-type\"],\"isSetMode\":[4,\"is-set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040,\"energy-certifications\"],\"deeplink\":[1],\"cssUrl\":[1,\"css-url\"],\"productId\":[1,\"product-id\"],\"product\":[16],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"showFooterArrow\":[4,\"show-footer-arrow\"],\"imageResolutionWidth\":[1026,\"image-resolution-width\"],\"loading\":[1028],\"disableMobileSwiper\":[4,\"disable-mobile-swiper\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32],\"imageLoaded\":[32],\"showSecondImage\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]],{\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"productId\":[\"productIdWatcher\"],\"showSecondImage\":[\"showSecondImageWatcher\"]}],[1,\"vviinn-range-filter\",{\"histogram\":[16],\"intervalChangeHandler\":[16,\"interval-change-handler\"],\"selectedInterval\":[16,\"selected-interval\"],\"showCurrency\":[4,\"show-currency\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"currencySign\":[1,\"currency-sign\"],\"scalingFactor\":[32],\"minValue\":[32],\"maxValue\":[32],\"fromValue\":[32],\"toValue\":[32]},null,{\"selectedInterval\":[\"initializeValues\"],\"histogram\":[\"initializeValues\"]}],[1,\"vviinn-image\",{\"src\":[1],\"width\":[2],\"alt\":[1],\"imageTitle\":[1,\"image-title\"],\"responsive\":[4],\"entityType\":[1,\"entity-type\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"objectFit\":[1,\"object-fit\"],\"showSkeleton\":[4,\"show-skeleton\"],\"isSetMode\":[4,\"is-set-mode\"],\"customClass\":[1,\"custom-class\"],\"borderRadius\":[1,\"border-radius\"],\"border\":[1],\"backgroundColor\":[1,\"background-color\"],\"imageRef\":[16,\"image-ref\"],\"loadEndCallback\":[16,\"load-end-callback\"],\"imageLoaded\":[32],\"imageError\":[32]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16,\"class-icon-urls\"],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"],\"certificationClass\":[1,\"certification-class\"],\"classRange\":[16,\"class-range\"]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"],\"aspectRatio\":[2,\"aspect-ratio\"]}]]],[\"vviinn-shop-the-look.cjs\",[[1,\"vviinn-shop-the-look\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"imageUrls\":[1,\"image-urls\"],\"height\":[2],\"currencySign\":[1,\"currency-sign\"],\"campaignId\":[1,\"campaign-id\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"widgetStyle\":[1,\"widget-style\"],\"showCropper\":[4,\"show-cropper\"],\"uploadMode\":[4,\"upload-mode\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"cssUrl\":[1,\"css-url\"],\"selectedDetectedObject\":[32],\"showModal\":[32],\"modalPosition\":[32],\"showDetailedView\":[32],\"selectedProductIndex\":[32],\"modalImageIndex\":[32],\"swiperActiveIndex\":[32],\"totalImages\":[32],\"imageUrlsList\":[32],\"swiperKey\":[32],\"needNavigation\":[32],\"showLoadingSpinner\":[32],\"isSearchInProgress\":[32],\"currentViewMode\":[32],\"isWidgetVisible\":[32],\"uploadedImageUrls\":[32]},null,{\"currentViewMode\":[\"onViewModeChange\"],\"showModal\":[\"onShowModalChange\"]}]]],[\"vviinn-button_6.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16,\"append-sidebar-to-element\"],\"appendSidebarToId\":[1,\"append-sidebar-to-id\"],\"isStandalone\":[4,\"is-standalone\"],\"showInWidget\":[4,\"show-in-widget\"],\"uiSessionId\":[1,\"ui-session-id\"],\"targetAppendSidebarTo\":[32]},null,{\"appendSidebarToElement\":[\"appendSidebarToElementWatcher\"]}],[1,\"vviinn-error\",{\"hasBackground\":[4,\"has-background\"],\"errorType\":[1,\"error-type\"],\"handler\":[16],\"searchType\":[1,\"search-type\"]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]},null,{\"active\":[\"handleActiveChange\"]}],[1,\"vviinn-overlay\"],[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"useCarousel\":[4,\"use-carousel\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"apiPath\":[1,\"api-path\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16,\"button-children\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"showInModal\":[4,\"show-in-modal\"],\"isAppended\":[4,\"is-appended\"],\"uiSessionId\":[1,\"ui-session-id\"],\"triggerElement\":[16,\"trigger-element\"],\"sidebarState\":[32],\"sourceProduct\":[32],\"showLoadingClass\":[32],\"recommendationsLoading\":[32],\"hidden\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"],[8,\"keydown\",\"handleEscape\"]],{\"recommendationsLoading\":[\"handleLoadingChange\"],\"sidebarState\":[\"handleSidebarStateChange\"]}],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"pricePrefix\":[1,\"price-prefix\"],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"cssUrl\":[1,\"css-url\"],\"apiPath\":[1,\"api-path\"],\"showResultsInModal\":[4,\"show-results-in-modal\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]],{\"buttonPressed\":[\"buttonPressedWatcher\"]}]]],[\"vviinn-text-search.cjs\",[[1,\"vviinn-text-search\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"showOnFirstScreen\":[4,\"show-on-first-screen\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16,\"basic-event-data\"],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-camera_12.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"numberLocale\":[1,\"number-locale\"],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showIntervalInputs\":[4,\"show-interval-inputs\"],\"cssUrl\":[1,\"css-url\"],\"showResultsInModal\":[4,\"show-results-in-modal\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"slidePosition\":[32],\"uploadSource\":[32],\"stream\":[32],\"products\":[32],\"modalBody\":[32],\"isCameraInitializing\":[32],\"isCameraEnabled\":[32],\"isCameraButtonClicked\":[32],\"showAspectRatioError\":[32],\"wrongImageFormat\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnTextSearchStarted\",\"textSearchStartedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"cropAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackImageSearchFilterSelected\"]],{\"active\":[\"activeWatcher\"],\"slidePosition\":[\"slidePositionWatcher\"]}],[1,\"vviinn-results\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"numberLocale\":[1,\"number-locale\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"pricePrefix\":[1,\"price-prefix\"],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"showMultipleImages\":[4,\"show-multiple-images\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"cssUrl\":[1,\"css-url\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1025,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"resetWidgetState\":[16,\"reset-widget-state\"],\"replaceSlotsContentInWidget\":[16,\"replace-slots-content-in-widget\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"useInnerState\":[4,\"use-inner-state\"],\"scrollableModalBody\":[16,\"scrollable-modal-body\"],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"innerResults\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToFavorite\"]],{\"textSearchQuery\":[\"watchTextSearchQuery\"],\"searchId\":[\"watchSearchId\"]}],[1,\"vviinn-cropper\",{\"token\":[1],\"apiPath\":[1,\"api-path\"],\"saveImageMode\":[1,\"save-image-mode\"],\"width\":[1026],\"cssUrl\":[1,\"css-url\"],\"height\":[1026],\"basicEventData\":[1040,\"basic-event-data\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"cropper\":[32],\"selectedDetectedObject\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"],[0,\"vviinnImageCrop\",\"imageCropHandler\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16,\"basic-event-data\"],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16]},null,{\"startUpload\":[\"startUploadWatcher\"]}],[1,\"vviinn-camera\",{\"token\":[1],\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16,\"basic-event-data\"],\"srcObject\":[16,\"src-object\"],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16],\"apiPath\":[1,\"api-path\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]},null,{\"srcObject\":[\"handleSrcObjectChange\"]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-selected-filters\",{\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"imageSrc\":[32],\"intervalCustomFilters\":[32]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]},null,{\"position\":[\"positionWatchHandler\"]}],[1,\"vviinn-suggestions\",{\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"token\":[1],\"stream\":[32],\"appliedSuggestionFilters\":[32]}],[1,\"vviinn-teaser\"]]]]"), options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
@@ -197,7 +197,7 @@ const modalParts = makeExportPartsString([
197
197
  ]);
198
198
  const suggestionsParts = makeExportPartsString(suggestionsPartsList);
199
199
 
200
- const version = "2.204.0";
200
+ const version = "2.206.0";
201
201
 
202
202
  exports.campaignTypeNames = campaignTypeNames;
203
203
  exports.carouselParts = carouselParts;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
- var Rectangle = require('./Rectangle-HHzovsJi.js');
4
+ var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
5
 
6
6
  var _Array = {};
7
7
 
@@ -8653,7 +8653,6 @@ const resetStore = (store, mode = "appStateAndReceivedData", excludedFields = []
8653
8653
  Object.assign(state, resetPayload);
8654
8654
  };
8655
8655
  const updateVisualSearchState = (store) => async (response) => {
8656
- var _a;
8657
8656
  const state = useStore(store);
8658
8657
  if (store === "shopTheLook") {
8659
8658
  state.visualSearchId = response.requestId;
@@ -8665,7 +8664,6 @@ const updateVisualSearchState = (store) => async (response) => {
8665
8664
  state.visualSearchId = response.requestId;
8666
8665
  state.results = response.data.products;
8667
8666
  state.dynamicFilters = response.interactions.dynamicFilters;
8668
- state.redirect = (_a = response.interactions.redirect) !== null && _a !== void 0 ? _a : null;
8669
8667
  state.searchStatus = "success";
8670
8668
  };
8671
8669
  const updateImageState = (store) => (file) => Rectangle.pipe(Rectangle.fromTask(imageFromFileTask(file)), Rectangle.map((image) => {
@@ -8763,7 +8761,7 @@ const makeTextSearchRequest = async (store, query, token, apiPath, requestId, re
8763
8761
  state.searchStatus = "loading";
8764
8762
  const body = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ query }, addIfDefined("requestId", requestId)), addIfDefined("resultsCount", resultsCount)), addIfNotEmpty("dynamicFilters", state.requestFilters)), addIfNotEmpty("campaign", state.campaignIdTextSearch)), addNestedIfNotEmpty("staticFilters", Object.assign({}, addIfNotEmpty("excluded", state.excluded))));
8765
8763
  return Rectangle.pipe(getTokenWithBody(token, body), Rectangle.setBodyAndHeaders, Rectangle.fromEither, Rectangle.chain$1((request) => Rectangle.textSearchSessionClient(request, apiPath)), Rectangle.map((sessionResponse) => {
8766
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
8764
+ var _a, _b, _c, _d, _e, _f, _g;
8767
8765
  state.results = (_b = (_a = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.data) === null || _a === void 0 ? void 0 : _a.products) !== null && _b !== void 0 ? _b : [];
8768
8766
  state.textSearchId = sessionResponse.requestId;
8769
8767
  state.dynamicFilters =
@@ -8772,8 +8770,7 @@ const makeTextSearchRequest = async (store, query, token, apiPath, requestId, re
8772
8770
  if (state.requestFilters.length === 0 && extractedFilters.length > 0) {
8773
8771
  state.requestFilters = extractedFilters;
8774
8772
  }
8775
- state.redirect = (_h = (_g = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.interactions) === null || _g === void 0 ? void 0 : _g.redirect) !== null && _h !== void 0 ? _h : null;
8776
- state.stream = (_j = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.stream) !== null && _j !== void 0 ? _j : null;
8773
+ state.stream = (_g = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.stream) !== null && _g !== void 0 ? _g : null;
8777
8774
  state.searchStatus = "success";
8778
8775
  return sessionResponse;
8779
8776
  }), Rectangle.mapLeft(handleSearchError(store)))();
@@ -8793,13 +8790,12 @@ const makeProductListingPageRequest = async (column, value, token, apiPath, resu
8793
8790
  ],
8794
8791
  } }, addIfDefined("resultsCount", resultsCount)), addIfDefined("dynamicFilters", dynamicFilters));
8795
8792
  return await Rectangle.pipe(getTokenWithBody(token, body), Rectangle.setBodyAndHeaders, Rectangle.fromEither, Rectangle.chainW((request) => Rectangle.productListingPageSessionClient(request, apiPath)), Rectangle.map((sessionResponse) => {
8796
- var _a, _b, _c, _d, _e, _f;
8793
+ var _a, _b, _c, _d;
8797
8794
  if (skipStateUpdate)
8798
8795
  return sessionResponse;
8799
8796
  state.results = (_b = (_a = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.data) === null || _a === void 0 ? void 0 : _a.products) !== null && _b !== void 0 ? _b : [];
8800
8797
  state.dynamicFilters =
8801
8798
  (_d = (_c = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.interactions) === null || _c === void 0 ? void 0 : _c.dynamicFilters) !== null && _d !== void 0 ? _d : [];
8802
- state.redirect = (_f = (_e = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.interactions) === null || _e === void 0 ? void 0 : _e.redirect) !== null && _f !== void 0 ? _f : null;
8803
8799
  state.searchStatus = "success";
8804
8800
  return sessionResponse;
8805
8801
  }), Rectangle.mapLeft(handleSearchError("components")))();
@@ -8815,6 +8811,24 @@ const useSearchStore = (showInWidget) => showInWidget
8815
8811
  onChange: onChangeComponentsState,
8816
8812
  storeName: "components",
8817
8813
  };
8814
+ const makeAutoSuggestRequest = async (store, query, token, apiPath) => {
8815
+ const state = useStore(store);
8816
+ const body = {
8817
+ query,
8818
+ };
8819
+ return Rectangle.pipe(getTokenWithBody(token, body), Rectangle.setBodyAndHeaders, Rectangle.fromEither, Rectangle.chain$1((request) => Rectangle.autoSuggestClient(request, apiPath)), Rectangle.map((response) => {
8820
+ if (response.data.query !== state.textSearchQuery)
8821
+ return response;
8822
+ const matchingCompletion = response.data.completions.find((completion) => completion.suggestion === query && (completion === null || completion === void 0 ? void 0 : completion.url));
8823
+ if (matchingCompletion === null || matchingCompletion === void 0 ? void 0 : matchingCompletion.url) {
8824
+ state.redirect = { url: matchingCompletion.url, query };
8825
+ }
8826
+ else {
8827
+ state.redirect = null;
8828
+ }
8829
+ return response;
8830
+ }), Rectangle.mapLeft((error) => error))();
8831
+ };
8818
8832
 
8819
8833
  exports._ArrayExports = _ArrayExports;
8820
8834
  exports.addIfNotEmpty = addIfNotEmpty;
@@ -8829,6 +8843,7 @@ exports.isDesktop = isDesktop;
8829
8843
  exports.isIntervalMatch = isIntervalMatch;
8830
8844
  exports.isMobile = isMobile;
8831
8845
  exports.isValueMatch = isValueMatch;
8846
+ exports.makeAutoSuggestRequest = makeAutoSuggestRequest;
8832
8847
  exports.makeProductListingPageRequest = makeProductListingPageRequest;
8833
8848
  exports.makeTextSearchRequest = makeTextSearchRequest;
8834
8849
  exports.makeUploadFileRequest = makeUploadFileRequest;
@@ -2,12 +2,12 @@
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
4
  var store = require('./store-jPZ4ROqV.js');
5
- var search_store = require('./search.store-BkzR38tx.js');
5
+ var search_store = require('./search.store-D8olpx19.js');
6
6
  var customizedSlots = require('./customized-slots-CqOPLiML.js');
7
- var _package = require('./package-C0edizYZ.js');
7
+ var _package = require('./package-D-xjGv2R.js');
8
8
  var SecondaryActionIcon = require('./SecondaryActionIcon-BZg-ADIW.js');
9
9
  var index$1 = require('./index-DLEDOlRe.js');
10
- var Rectangle = require('./Rectangle-HHzovsJi.js');
10
+ var Rectangle = require('./Rectangle-7dF6_xf3.js');
11
11
  var index$2 = require('./index-CzqCGUTk.js');
12
12
 
13
13
  const CrossIcon = () => (index.h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
- var Rectangle = require('./Rectangle-HHzovsJi.js');
5
- var search_store = require('./search.store-BkzR38tx.js');
4
+ var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
+ var search_store = require('./search.store-D8olpx19.js');
6
6
  var customizedSlots = require('./customized-slots-CqOPLiML.js');
7
- var index$1 = require('./index-C4yTr10x.js');
7
+ var index$1 = require('./index-BUgslslf.js');
8
8
  var store = require('./store-jPZ4ROqV.js');
9
9
  var cropperUtils = require('./cropperUtils-DCDOLeBS.js');
10
- var _package = require('./package-C0edizYZ.js');
10
+ var _package = require('./package-D-xjGv2R.js');
11
11
  var index$2 = require('./index-DLEDOlRe.js');
12
12
  var cssUrlHelper = require('./cssUrlHelper-BRaQnye7.js');
13
13
  var index$3 = require('./index-CzqCGUTk.js');
@@ -570,7 +570,6 @@ const VviinnResults = class {
570
570
  this.vviinnProductClick = index.createEvent(this, "vviinnProductClick");
571
571
  this.vviinnResultLoad = index.createEvent(this, "vviinnResultLoad");
572
572
  this.vviinnResultView = index.createEvent(this, "vviinnResultView");
573
- this.vviinnRedirect = index.createEvent(this, "vviinnRedirect");
574
573
  this.vviinnTextSearchStarted = index.createEvent(this, "vviinnTextSearchStarted");
575
574
  this.vviinnFiltersChanged = index.createEvent(this, "vviinnFiltersChanged");
576
575
  this.vviinnCropperResetState = index.createEvent(this, "vviinnCropperResetState");
@@ -621,7 +620,6 @@ const VviinnResults = class {
621
620
  this.initResultEvents = () => {
622
621
  this.state.resultLoaded = false;
623
622
  this.state.resultViewed = false;
624
- this.state.redirect = null;
625
623
  };
626
624
  this.updateCampaignIds = () => {
627
625
  this.state.campaignIdTextSearch = this.campaignIdTextSearch;
@@ -807,15 +805,9 @@ const VviinnResults = class {
807
805
  if (searchStatus === "loading")
808
806
  this.resetDiscoveryAppendIndexes();
809
807
  });
810
- const disposeRedirectListener = onChange("redirect", (redirect) => {
811
- if (redirect)
812
- this.emitRedirectIfPresent();
813
- });
814
808
  this.disposeStoreListener = () => {
815
809
  disposeSearchStatusListener();
816
- disposeRedirectListener();
817
810
  };
818
- this.emitRedirectIfPresent();
819
811
  if (this.el.id)
820
812
  this.widgetElementId = this.el.id;
821
813
  if (!this.uiSessionId) {
@@ -944,13 +936,6 @@ const VviinnResults = class {
944
936
  return "empty-results";
945
937
  return null;
946
938
  }
947
- emitRedirectIfPresent() {
948
- if (this.state.redirect) {
949
- const { url } = this.state.redirect;
950
- const redirectData = Object.assign(Object.assign({}, this.getBasicEventData()), { url });
951
- this.vviinnRedirect.emit(redirectData);
952
- }
953
- }
954
939
  renderResults() {
955
940
  const widgetData = this.getBasicEventData();
956
941
  if (!this.state.resultLoaded) {
@@ -1000,13 +985,13 @@ const VviinnResults = class {
1000
985
  render() {
1001
986
  var _a;
1002
987
  const resultsLength = this.getResults().length;
1003
- return (index.h(index.Host, { key: '4ccc7b2e66fe96f2b051096d8bd8bccabcbb557b', id: "results-block", class: {
988
+ return (index.h(index.Host, { key: '9b5fb7234d37c3e7f4baae53fb3c262168c3a81c', id: "results-block", class: {
1004
989
  "show-in-widget": this.showInWidget,
1005
990
  "matching-discovery": this.oneClickDiscoveryMode === "append-slider",
1006
- }, exportparts: `${_package.productCardParts}, ${_package.listCardParts}, ${_package.contentCardParts}, ${_package.productCardsGridPart}` }, cssUrlHelper.renderExternalCSS(this.cssUrl), index.h("div", { key: 'e1f2b316b6fd16892d51559ec520158e2ec1579e', class: "nothing-found" }, this.getCurrentErrorType() && (index.h("vviinn-error", { key: '26e35f526cd1fd665a0d9cc65c4eeed53d304f05', errorType: this.getCurrentErrorType(), handler: this.resetWidgetState, hasBackground: this.showInWidget, searchType: this.state.searchType }))), index.h("div", { key: '65f08ac13777c1914444ee9bca42c9dfe0b1b38a', class: {
991
+ }, exportparts: `${_package.productCardParts}, ${_package.listCardParts}, ${_package.contentCardParts}, ${_package.productCardsGridPart}` }, cssUrlHelper.renderExternalCSS(this.cssUrl), index.h("div", { key: 'e2b28b5fa1c971ddf3886a98a737f632b4a83a2c', class: "nothing-found" }, this.getCurrentErrorType() && (index.h("vviinn-error", { key: '1d845981ae2a8a5bd5ee42b18b038d4adb004608', errorType: this.getCurrentErrorType(), handler: this.resetWidgetState, hasBackground: this.showInWidget, searchType: this.state.searchType }))), index.h("div", { key: '43fdff5021e52517924f59eece0ae959e1380974', class: {
1007
992
  hidden: this.showAspectRatioError || resultsLength === 0,
1008
993
  products: true,
1009
- }, part: _package.productCardsGridPart, id: "vviinn-results-products" }, resultsLength > 0 && this.renderResults(), index.h("div", { key: '2cb28d43cbc424054bdca70c33297b2fb3884e99', id: "one-click-discovery-append", style: {
994
+ }, part: _package.productCardsGridPart, id: "vviinn-results-products" }, resultsLength > 0 && this.renderResults(), index.h("div", { key: 'f23699b3fc9b9118473d4cee505dc7e454ab657f', id: "one-click-discovery-append", style: {
1010
995
  order: ((_a = this.oneClickDiscoveryAppendIndex) !== null && _a !== void 0 ? _a : resultsLength).toString(),
1011
996
  } }))));
1012
997
  }
@@ -1699,6 +1684,8 @@ const VviinnVpsWidget = class {
1699
1684
  this.showIntervalInputs = false;
1700
1685
  /** URL to external CSS file for custom styling */
1701
1686
  this.cssUrl = null;
1687
+ /** Show search results in modal or on page */
1688
+ this.showResultsInModal = true;
1702
1689
  /** Set true when showing the widget in button */
1703
1690
  /** @internal */
1704
1691
  this.showingInButton = false;
@@ -1706,8 +1693,6 @@ const VviinnVpsWidget = class {
1706
1693
  this.mode = "modal";
1707
1694
  /** @internal */
1708
1695
  this.parentSlots = [];
1709
- /** @internal */
1710
- this.showInWidget = true;
1711
1696
  this.slidePosition = 0;
1712
1697
  this.uploadSource = null;
1713
1698
  this.stream = null;
@@ -1826,7 +1811,7 @@ const VviinnVpsWidget = class {
1826
1811
  }
1827
1812
  };
1828
1813
  this.resetInnerState = () => {
1829
- search_store.setTextSearchQuery(this.storeName, null);
1814
+ this.showInWidget && search_store.setTextSearchQuery(this.storeName, null);
1830
1815
  this.wrongImageFormat = false;
1831
1816
  this.resetScroll("results-block");
1832
1817
  this.stopStreamTracks();
@@ -1845,6 +1830,9 @@ const VviinnVpsWidget = class {
1845
1830
  this.showInWidget && search_store.resetStore(this.storeName, "appStateAndReceivedData");
1846
1831
  };
1847
1832
  }
1833
+ get showInWidget() {
1834
+ return this.showResultsInModal;
1835
+ }
1848
1836
  initResultEvents() {
1849
1837
  this.state.resultLoaded = false;
1850
1838
  this.state.resultViewed = false;
@@ -1909,7 +1897,17 @@ const VviinnVpsWidget = class {
1909
1897
  }
1910
1898
  textSearchFinishedHandler({ detail }) {
1911
1899
  search_store.setTextSearchQuery(this.storeName, detail.query);
1912
- this.slidePosition = 1;
1900
+ if (this.showInWidget) {
1901
+ this.slidePosition = 1;
1902
+ }
1903
+ else {
1904
+ this.closeModalAndResetState();
1905
+ }
1906
+ }
1907
+ textSearchStartedHandler({ detail }) {
1908
+ if (!this.showInWidget && !detail.isTriggeredByVpsWidget) {
1909
+ this.closeModalAndResetState();
1910
+ }
1913
1911
  }
1914
1912
  resultLoadHandler() {
1915
1913
  this.state.resultLoaded = true;
@@ -1971,13 +1969,18 @@ const VviinnVpsWidget = class {
1971
1969
  const searchEvent = index$1.createImageSearchEvent(Object.assign({ session_id: this.uiSessionId, search_area: "full", source: "upload" }, rest));
1972
1970
  store.trackEvent(searchEvent, this.token, this.apiPath);
1973
1971
  }
1972
+ closeModalAndResetState() {
1973
+ var _a;
1974
+ (_a = this.resetVpsButton) === null || _a === void 0 ? void 0 : _a.call(this);
1975
+ this.resetState();
1976
+ this.active = false;
1977
+ }
1974
1978
  handleImageSelection() {
1975
1979
  if (this.showInWidget) {
1976
1980
  this.slidePosition = 1;
1977
1981
  }
1978
1982
  else {
1979
- this.resetVpsButton && this.resetVpsButton();
1980
- this.resetState();
1983
+ this.closeModalAndResetState();
1981
1984
  }
1982
1985
  }
1983
1986
  renderButtons() {
@@ -2020,31 +2023,31 @@ const VviinnVpsWidget = class {
2020
2023
  }
2021
2024
  render() {
2022
2025
  var _a, _b, _c;
2023
- return (index.h(index.Host, { key: 'ba07647b4cc9581d2d3be0b529f4b91ced7088f5', exportparts: `${_package.modalParts}, ${_package.productCardParts}, ${_package.searchBarParts}, ${_package.searchWidgetFilterParts}, ${_package.searchWidgetButtonParts}, ${_package.productCardsGridPart}, ${_package.suggestionsParts}` }, cssUrlHelper.renderExternalCSS(this.cssUrl), !this.showingInButton && customizedSlots.SlotSkeleton("search"), index.h("vviinn-overlayed-modal", { key: '3cc89d4c87e23137d167fc27b820638472d69a30', class: { "first-screen": this.isOnboardingSlide() }, isFirstScreen: this.isOnboardingSlide(), active: this.active, resetState: this.resetState, onVviinnWidgetClose: ({ detail }) => {
2026
+ return (index.h(index.Host, { key: '553724dc391ced08a869b087f71574c2748c12fd', exportparts: `${_package.modalParts}, ${_package.productCardParts}, ${_package.searchBarParts}, ${_package.searchWidgetFilterParts}, ${_package.searchWidgetButtonParts}, ${_package.productCardsGridPart}, ${_package.suggestionsParts}` }, cssUrlHelper.renderExternalCSS(this.cssUrl), !this.showingInButton && customizedSlots.SlotSkeleton("search"), index.h("vviinn-overlayed-modal", { key: 'd5074bbc7a9a023a92754251867c4c0359e01437', class: { "first-screen": this.isOnboardingSlide() }, isFirstScreen: this.isOnboardingSlide(), active: this.active, resetState: this.resetState, onVviinnWidgetClose: ({ detail }) => {
2024
2027
  if (detail.campaignTypeId !== "VPR")
2025
2028
  this.handleModalClose();
2026
2029
  }, buttonElementId: (_a = this.buttonElementId) !== null && _a !== void 0 ? _a : this.widgetElementId, widgetVersion: _package.version, hideBackButton: (this.mode === "upload" && this.showingInButton) ||
2027
- (!this.isCameraEnabled && this.isOnboardingSlide()) }, index.h("vviinn-slider", { key: 'd93493328eed9a3870567b1db2fcb20c48109fdd', position: this.slidePosition }, index.h("vviinn-slide", { key: '42da56e6d5030b80a74e45656b1056e6a251b1c1', class: {
2030
+ (!this.isCameraEnabled && this.isOnboardingSlide()) }, index.h("vviinn-slider", { key: '4ee3bf39e803241f199fec6f85174384fa066443', position: this.slidePosition }, index.h("vviinn-slide", { key: 'c784c27f2771f73cb01d1409556445624e9e7012', class: {
2028
2031
  "start-page": true,
2029
2032
  "camera-enabled": this.isCameraEnabled,
2030
- } }, index.h("vviinn-camera", { key: 'b3dfbf1b64e9ca8f6e07d3ea63f0bc553eeb6afd', token: this.token, onVviinnImageUploadFinished: this.handleVviinnImageUploadFinished, onVviinnImageUploadStarted: () => {
2033
+ } }, index.h("vviinn-camera", { key: 'bea8d9e24807d7315e27b289ee96b76f18e4918d', token: this.token, onVviinnImageUploadFinished: this.handleVviinnImageUploadFinished, onVviinnImageUploadStarted: () => {
2031
2034
  this.handleVviinnImageUpload("startCamera");
2032
- }, apiPath: this.apiPath, basicEventData: this.getBasicEventData(), srcObject: this.stream, cameraButtonClicked: this.isCameraButtonClicked, exampleImageSource: this.exampleImageSource, showInWidget: this.showInWidget, storeName: this.storeName, state: this.state }), index.h("div", { key: 'abd862cbdbd99c1f37ac9725fe44d4418fe60b84', class: {
2035
+ }, apiPath: this.apiPath, basicEventData: this.getBasicEventData(), srcObject: this.stream, cameraButtonClicked: this.isCameraButtonClicked, exampleImageSource: this.exampleImageSource, showInWidget: this.showInWidget, storeName: this.storeName, state: this.state }), index.h("div", { key: '3f187da6b72d36c3aac3f1cc3ecb96db35e6e42d', class: {
2033
2036
  error: this.haveErrors(),
2034
- }, id: "start-page_block" }, index.h("div", { key: 'dca4686e9c8d8e829bb265dcd1e36de7f08da930', class: "start-page_main-content" }, (this.wrongImageFormat ||
2035
- this.state.searchStatus === "error") && (index.h("div", { key: 'ac54a8ccc3c1be3b6241e2b8bbd4bf2b32020c1c', class: "start-page_errors-block" }, this.getCurrentErrorType() && (index.h("vviinn-error", { key: 'a8bc5a5d40c281288c966b83dbd21719cfddac8b', errorType: this.getCurrentErrorType(), handler: this.resetState, hasBackground: true, searchType: this.state.searchType })))), !this.haveErrors() && (index.h(index.Fragment, { key: '6156bd59636ddbffea6842e6e89d1b1465f74e95' }, index.h("vviinn-teaser", { key: 'cfabd14f8e7b381dcc75f6b73787a507a404f3ce' }), index.h("div", { key: '0cb78d0c5037614c6906066fa205b3ca64836343', class: "buttons-group" }, this.renderButtons()), this.textSearchShow && (index.h("vviinn-text-search", { key: '3721918ba5953e8074f54b664af8e3cfba8d2274', token: this.token, apiPath: this.apiPath, locale: this.locale, showInWidget: true, showOnFirstScreen: true, uiSessionId: this.uiSessionId, basicEventData: this.getBasicEventData(true), "save-image-mode": "never" }))))), index.h("vviinn-privacy-badge", { key: '72ca62b9c014fa60f0fecdbb879380383e90a982', privacyBadgeText: store.instance.t("privacyBadgeText", {
2037
+ }, id: "start-page_block" }, index.h("div", { key: '0cf2302e0c9fac6055e6e4282c2c3f2607d7ceec', class: "start-page_main-content" }, (this.wrongImageFormat ||
2038
+ this.state.searchStatus === "error") && (index.h("div", { key: '6a59ac0dff3f96cb151380f8e0a740d1c33fd11a', class: "start-page_errors-block" }, this.getCurrentErrorType() && (index.h("vviinn-error", { key: '28f57a2f42fd2da75b1cbae3da78d988f98f12f2', errorType: this.getCurrentErrorType(), handler: this.resetState, hasBackground: true, searchType: this.state.searchType })))), !this.haveErrors() && (index.h(index.Fragment, { key: '38b0a01519d3e46487a06bc81ce3af664a09a22a' }, index.h("vviinn-teaser", { key: 'b41db6f74a5b7c4bcb6f17e1d80126b7996e5a2e' }), index.h("div", { key: 'b538f4dd995dc2c2c3f7b80f172ac1f25fe8cb7a', class: "buttons-group" }, this.renderButtons()), this.textSearchShow && !this.isResultSlide() && (index.h("vviinn-text-search", { key: '4c94da55f6416884cd0c171fd264f56f1bada114', token: this.token, apiPath: this.apiPath, locale: this.locale, showInWidget: this.showInWidget, showOnFirstScreen: true, uiSessionId: this.uiSessionId, basicEventData: this.getBasicEventData(true), "save-image-mode": "never" }))))), index.h("vviinn-privacy-badge", { key: '46ce4b737c1b5581507fd5dc591a78cc80fdaa7f', privacyBadgeText: store.instance.t("privacyBadgeText", {
2036
2039
  interpolation: { escapeValue: false },
2037
- }), class: { invisible: this.haveErrors() } }))), index.h("vviinn-slide", { key: 'deb2b87df14021df2a862b8d94adce5324d01761', class: {
2040
+ }), class: { invisible: this.haveErrors() } }))), index.h("vviinn-slide", { key: '8d2ea8d5b009fabb741be43d37898de8c0c67a05', class: {
2038
2041
  "results-page": true,
2039
2042
  active: this.isResultSlide(),
2040
- } }, this.isResultSlide() && (index.h("div", { key: 'd999718ed7e4590d5d172662da5092667ae374ac', class: "source-wrapper" }, this.isTextSearch() && (index.h("vviinn-text-search", { key: 'abd9eaa29ea155bd824d177a0533caa85133a10c', token: this.token, showInWidget: true, apiPath: this.apiPath, locale: this.locale, uiSessionId: this.uiSessionId, basicEventData: this.getBasicEventData(true), "save-image-mode": "never" })), !this.isTextSearch() && (index.h("vviinn-cropper", { key: '6e985d8f23498d87dc90a0d925f5531bb3ab4511', token: this.token, basicEventData: this.getBasicEventData(), showAspectRatioError: this.showAspectRatioError, apiPath: this.apiPath, showInWidget: true, "save-image-mode": "never" })), this.isTextSearch() && (index.h("vviinn-suggestions", { key: '310e5d1da47a8025dc3759ad1df3f5ddcd7d7c1d', showInWidget: true, token: this.token, apiPath: this.apiPath, locale: this.locale })), index.h("vviinn-selected-filters", { key: 'e676e29ffe4fd946a3870762b6f4b36906ec749a', locale: this.locale, currencySign: this.currencySign, showInWidget: true, exportparts: _package.filtersParts }), ((_b = this.state.dynamicFilters) === null || _b === void 0 ? void 0 : _b.length) > 0 && (index.h("div", { key: '11388a14ba6b23e5aca56c6d3bc7ca5f66ef5a0e', class: {
2043
+ } }, this.isResultSlide() && (index.h("div", { key: 'c1376939c0e82f2b202e0e7388892665a41c4271', class: "source-wrapper" }, this.isTextSearch() && (index.h("vviinn-text-search", { key: '76d08b7b03fcfd0261d7d05ccf5b684afe988749', token: this.token, showInWidget: this.showInWidget, apiPath: this.apiPath, locale: this.locale, uiSessionId: this.uiSessionId, basicEventData: this.getBasicEventData(true), "save-image-mode": "never" })), !this.isTextSearch() && (index.h("vviinn-cropper", { key: 'a7b335cc15a1ef936125f74f17b5c26624d097e9', token: this.token, basicEventData: this.getBasicEventData(), showAspectRatioError: this.showAspectRatioError, apiPath: this.apiPath, showInWidget: this.showInWidget, "save-image-mode": "never" })), this.isTextSearch() && (index.h("vviinn-suggestions", { key: '76e44a8e53feab89015c5bfdf8d6c9547879db3c', showInWidget: this.showInWidget, token: this.token, apiPath: this.apiPath, locale: this.locale })), index.h("vviinn-selected-filters", { key: '0c67aadb8d4d0b1f616438ae3a26ed7b5b89af0b', locale: this.locale, currencySign: this.currencySign, showInWidget: this.showInWidget, exportparts: _package.filtersParts }), ((_b = this.state.dynamicFilters) === null || _b === void 0 ? void 0 : _b.length) > 0 && (index.h("div", { key: '3162b6086f73779a26a7509ea09a723c02f747db', class: {
2041
2044
  "filters-wrapper": true,
2042
2045
  hidden: this.showAspectRatioError,
2043
- } }, index.h("vviinn-filters", { key: 'c16f117458f81fd82e2cda9bb14a8c5250838cd1', showInWidget: true, showIntervalInputs: this.showIntervalInputs }), index.h("vviinn-extended-filters", { key: '077952962261c56d3e9c9beb9921a4a414ccaad1', mode: "preview", showHeader: false, showInWidget: true, locale: this.locale, currencySign: this.currencySign, showIntervalInputs: this.showIntervalInputs }), index.h("vviinn-extended-filters-button", { key: '00b8c50ba023edd458aa1e8826eb9725a00381c4', class: {
2046
+ } }, index.h("vviinn-filters", { key: '4ce1457f815ee7e02086907e894204c5836c2d86', showInWidget: this.showInWidget, showIntervalInputs: this.showIntervalInputs }), index.h("vviinn-extended-filters", { key: 'd68fc94849618c79b4da9f2c8b650eb402e11e2c', mode: "preview", showHeader: false, showInWidget: this.showInWidget, locale: this.locale, currencySign: this.currencySign, showIntervalInputs: this.showIntervalInputs }), index.h("vviinn-extended-filters-button", { key: '610c000948a065c5ed37fd300329b07bfd9a942e', class: {
2044
2047
  "extended-filters-button": true,
2045
2048
  "has-primary-filters": this.state.dynamicFilters.filter((f) => f.isPrimary)
2046
2049
  .length > 0,
2047
- }, showInWidget: true }))))), this.isResultSlide() && (index.h(index.Fragment, { key: 'e7796798fb930972dde279d488769839f40a7617' }, index.h("vviinn-results", { key: '1942ef6a20878ad27c2cfbf294e42595d66b7e15', token: this.token, locale: this.locale, numberLocale: this.numberLocale, pricePrefix: this.pricePrefix, "currency-sign": this.currencySign, apiPath: this.apiPath, campaignIdTextSearch: this.campaignIdTextSearch, campaignIdVisualSearch: this.campaignIdVisualSearch, uiSessionId: this.uiSessionId, widgetElementId: (_c = this.buttonElementId) !== null && _c !== void 0 ? _c : this.widgetElementId, showInWidget: true, buttonElementId: this.buttonElementId, imageResolutionWidth: this.imageResolutionWidth, showMultipleImages: this.showMultipleImages, productDetailsNewTab: this.productDetailsNewTab, productDetailsRedirect: this.productDetailsRedirect, addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, showAspectRatioError: this.showAspectRatioError, resetWidgetState: this.resetState, replaceSlotsContentInWidget: this.replaceSlotsContent.bind(this), replaceSlotsContentInButton: this.replaceSlotsContentInButton, addPriceContainer: this.addPriceContainer, oneClickDiscoveryMode: this.oneClickDiscoveryMode, oneClickDiscoveryCampaigns: this.oneClickDiscoveryCampaigns, parentSlots: [...this.parentSlots, ...this.slots], scrollableModalBody: this.modalBody }))))), index.h("vviinn-extended-filters", { key: '2521fd874a868311c61763051b82688a67159542', class: "modal-extended-filters", mode: "modal", exportparts: _package.extendedFiltersParts, showInWidget: true, locale: this.locale, currencySign: this.currencySign, showIntervalInputs: this.showIntervalInputs }))));
2050
+ }, showInWidget: this.showInWidget }))))), this.isResultSlide() && (index.h(index.Fragment, { key: '62c8f9a5fa885681e4ce109669fb201c2441888d' }, index.h("vviinn-results", { key: '87ab31bc987b7e4388c6f2055486269ba0632e7a', token: this.token, locale: this.locale, numberLocale: this.numberLocale, pricePrefix: this.pricePrefix, "currency-sign": this.currencySign, apiPath: this.apiPath, campaignIdTextSearch: this.campaignIdTextSearch, campaignIdVisualSearch: this.campaignIdVisualSearch, uiSessionId: this.uiSessionId, widgetElementId: (_c = this.buttonElementId) !== null && _c !== void 0 ? _c : this.widgetElementId, showInWidget: this.showInWidget, buttonElementId: this.buttonElementId, imageResolutionWidth: this.imageResolutionWidth, showMultipleImages: this.showMultipleImages, productDetailsNewTab: this.productDetailsNewTab, productDetailsRedirect: this.productDetailsRedirect, addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, showAspectRatioError: this.showAspectRatioError, resetWidgetState: this.resetState, replaceSlotsContentInWidget: this.replaceSlotsContent.bind(this), replaceSlotsContentInButton: this.replaceSlotsContentInButton, addPriceContainer: this.addPriceContainer, oneClickDiscoveryMode: this.oneClickDiscoveryMode, oneClickDiscoveryCampaigns: this.oneClickDiscoveryCampaigns, parentSlots: [...this.parentSlots, ...this.slots], scrollableModalBody: this.modalBody }))))), index.h("vviinn-extended-filters", { key: 'ca61b8d015af6dd716240b64c6bf5dc60b070273', class: "modal-extended-filters", mode: "modal", exportparts: _package.extendedFiltersParts, showInWidget: this.showInWidget, locale: this.locale, currencySign: this.currencySign, showIntervalInputs: this.showIntervalInputs }))));
2048
2051
  }
2049
2052
  get el() { return index.getElement(this); }
2050
2053
  static get watchers() { return {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
- var search_store = require('./search.store-BkzR38tx.js');
5
- var Rectangle = require('./Rectangle-HHzovsJi.js');
4
+ var search_store = require('./search.store-D8olpx19.js');
5
+ var Rectangle = require('./Rectangle-7dF6_xf3.js');
6
6
  var store = require('./store-jPZ4ROqV.js');
7
- var _package = require('./package-C0edizYZ.js');
8
- var index$2 = require('./index-C4yTr10x.js');
7
+ var _package = require('./package-D-xjGv2R.js');
8
+ var index$2 = require('./index-BUgslslf.js');
9
9
  var index$1 = require('./index-DLEDOlRe.js');
10
10
  var customizedSlots = require('./customized-slots-CqOPLiML.js');
11
11
  var index$3 = require('./index-CzqCGUTk.js');
@@ -1284,7 +1284,10 @@ const VviinnImage = class {
1284
1284
  }
1285
1285
  getContainerStyles() {
1286
1286
  const styles = {};
1287
- if (!this.responsive && this.width && !this.isContentType && !this.isListType) {
1287
+ if (!this.responsive &&
1288
+ this.width &&
1289
+ !this.isContentType &&
1290
+ !this.isListType) {
1288
1291
  styles.width = `${this.width}px`;
1289
1292
  }
1290
1293
  if (this.borderRadius)
@@ -1329,16 +1332,16 @@ const VviinnImage = class {
1329
1332
  return (index.h("div", { class: "image-skeleton", part: "image-skeleton" }, index.h("vviinn-skeleton", null)));
1330
1333
  }
1331
1334
  render() {
1332
- return (index.h(index.Host, { key: 'ffe435e936cc9cff048c194c841c73886ac42e43', exportparts: _package.imageParts, class: {
1335
+ return (index.h(index.Host, { key: '5f0a58b7271229ae34f84188f24487901bf23ff3', exportparts: _package.imageParts, class: {
1333
1336
  "has-skeleton-icon": this.isSetMode,
1334
1337
  "set-mode-transition": this.isSetMode && this.shouldShowSkeleton,
1335
- } }, index.h("div", { key: '2ef04155524b34d5a89f5fe6cc474c221c850192', class: {
1338
+ } }, index.h("div", { key: '59742b75db4f00da1b06583aceb0cac59a162d81', class: {
1336
1339
  "image-container": true,
1337
1340
  "content-card-image-container": this.isContentType,
1338
1341
  "list-card-image-container": this.isListType,
1339
1342
  loading: this.shouldShowSkeleton,
1340
1343
  loaded: this.imageLoaded,
1341
- }, part: `image-container ${this.entityType}-card-image-container`, style: this.getContainerStyles() }, index.h("picture", { key: '25053076e7d0ad19d8020d5cc79f1cca6cdfa165', part: `image-picture ${this.entityType}-card-image-picture` }, this.renderImage()), this.shouldShowSkeleton && this.renderSkeleton())));
1344
+ }, part: `image-container ${this.entityType}-card-image-container`, style: this.getContainerStyles() }, index.h("picture", { key: '3f7b91ce630e3e86e5d617310d9ca4e5c6547e0d', part: `image-picture ${this.entityType}-card-image-picture` }, this.renderImage()), this.shouldShowSkeleton && this.renderSkeleton())));
1342
1345
  }
1343
1346
  get host() { return index.getElement(this); }
1344
1347
  };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
- var Rectangle = require('./Rectangle-HHzovsJi.js');
4
+ var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
5
  var store = require('./store-jPZ4ROqV.js');
6
6
 
7
7
  const vviinnDetectedObjectCss = ":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration:0.5s;}:host{--button-size:36px;display:block;position:absolute;left:calc(var(--x-position));top:calc(var(--y-position));z-index:2}.detected-object-button{background:transparent;border:none;padding:0;margin:0;font:inherit;color:inherit;position:absolute;left:calc(-1 * var(--button-size) / 2);top:calc(-1 * var(--button-size) / 2);width:var(--button-size);height:var(--button-size);border-radius:50%;cursor:pointer;z-index:3}:host::before,:host::after{content:\"\";cursor:pointer;position:absolute;height:var(--size);width:var(--size);left:calc(-1 * var(--size) / 2);top:calc(-1 * var(--size) / 2);will-change:transform;transform:translateZ(0)}:host::before{--size:var(--button-size);border-radius:50%;z-index:0;background:rgba(0, 0, 0, 0.16);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:transform 0.07s ease-in-out}:host::after{--size:13px;border-radius:50%;z-index:1;background:white;box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.15);transition:transform 0.07s ease-in-out}:host(.active)::before{transform:scale(0.88);background:rgba(0, 0, 0, 0.4)}:host(.active)::after{transform:scale(0.67)}@media (min-width: 768px){:host(:not(.active):hover)::before{transform:scale(1.08);background:rgba(0, 0, 0, 0.32)}}";
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-OrE9ITel.js');
4
- var Rectangle = require('./Rectangle-HHzovsJi.js');
4
+ var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
5
  var cropperUtils = require('./cropperUtils-DCDOLeBS.js');
6
6
  var swiperElement = require('./swiper-element-CY759uFL.js');
7
- var search_store = require('./search.store-BkzR38tx.js');
7
+ var search_store = require('./search.store-D8olpx19.js');
8
8
  var SecondaryActionIcon = require('./SecondaryActionIcon-BZg-ADIW.js');
9
9
  var index$1 = require('./index-CzqCGUTk.js');
10
10
  var store = require('./store-jPZ4ROqV.js');