vviinn-widgets 2.182.1 → 2.184.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.
- package/dist/cjs/{triggerFilter-DMhMlhX4.js → RenderFilterButton-CDKkTyXd.js} +0 -98
- package/dist/cjs/{checkDeviceType-DWX__tq5.js → checkDeviceType-d9LZIrpz.js} +1 -1
- package/dist/cjs/{customized-slots-7egKJD19.js → customized-slots-DCm-Mmy6.js} +12 -1
- package/dist/cjs/{index-DEhw22uI.js → index-A-UT7WYI.js} +14 -0
- package/dist/cjs/{index-BJt-LReT.js → index-CEYxgMv-.js} +1 -1
- package/dist/cjs/index-OrE9ITel.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-Cq_EoEHl.js → package-CRJpufLd.js} +1 -1
- package/dist/cjs/{resources-BiXHeKzE.js → resources-DA1EE1qO.js} +9 -1
- package/dist/cjs/{search.store-DmjLp4ek.js → search.store-Ds1gOlaG.js} +3 -1
- package/dist/cjs/triggerFilter-DFGg92Xh.js +100 -0
- package/dist/cjs/vviinn-button_6.cjs.entry.js +4 -4
- package/dist/cjs/{vviinn-camera_10.cjs.entry.js → vviinn-camera_11.cjs.entry.js} +335 -18
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +17 -16
- package/dist/cjs/vviinn-selected-filters.cjs.entry.js +10 -9
- package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +39 -22
- package/dist/cjs/vviinn-text-search.cjs.entry.js +4 -4
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +3 -3
- package/dist/cjs/vviinn-widgets.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/customized-slots.js +12 -1
- package/dist/collection/components/vviinn-icons/icons/SparkIcon.js +2 -0
- package/dist/collection/components/vviinn-results/vviinn-results.css +2 -2
- package/dist/collection/components/vviinn-shop-the-look/render-helpers.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.css +19 -9
- package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.js +40 -2
- package/dist/collection/components/vviinn-suggestions/helpers.js +51 -0
- package/dist/collection/components/vviinn-suggestions/render-helpers.js +75 -0
- package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.css +319 -0
- package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.js +399 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +14 -1
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +37 -6
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +14 -10
- package/dist/collection/cssParts/index.js +13 -0
- package/dist/collection/helpers/device/checkDeviceType.js +5 -5
- package/dist/collection/locale/resources.js +9 -1
- package/dist/collection/store/search.store.js +3 -1
- package/dist/esm/{triggerFilter-DEQtuJV4.js → RenderFilterButton-BaBqjNwD.js} +1 -96
- package/dist/esm/{checkDeviceType-l-vlLk5J.js → checkDeviceType-CVK6UYiH.js} +1 -1
- package/dist/esm/{customized-slots-R6SaZo4w.js → customized-slots-BXfoVnDY.js} +12 -1
- package/dist/esm/index-C5qrIvmr.js +2 -2
- package/dist/esm/{index-gkWCyLkv.js → index-D-87Zosv.js} +14 -1
- package/dist/esm/{index-ANwRS0jW.js → index-Dzu0QW6G.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DX9Lm8NL.js → package-Dt8QMtnL.js} +1 -1
- package/dist/esm/{resources-DHIouHIx.js → resources-C8-P6h2G.js} +9 -1
- package/dist/esm/{search.store-DvEsDzym.js → search.store-DG7BIcZL.js} +3 -1
- package/dist/esm/triggerFilter-B4e4JwCJ.js +96 -0
- package/dist/esm/vviinn-button_6.entry.js +4 -4
- package/dist/esm/{vviinn-camera_10.entry.js → vviinn-camera_11.entry.js} +335 -19
- package/dist/esm/vviinn-carousel_10.entry.js +8 -7
- package/dist/esm/vviinn-selected-filters.entry.js +4 -3
- package/dist/esm/vviinn-shop-the-look.entry.js +39 -22
- package/dist/esm/vviinn-text-search.entry.js +4 -4
- package/dist/esm/vviinn-vps-button.entry.js +3 -3
- package/dist/esm/vviinn-widgets.js +1 -1
- package/dist/types/campaign/VPRCampaignService.d.ts +1 -1
- package/dist/types/components/vviinn-icons/icons/SparkIcon.d.ts +1 -0
- package/dist/types/components/vviinn-shop-the-look/render-helpers.d.ts +1 -1
- package/dist/types/components/vviinn-shop-the-look/vviinn-shop-the-look.d.ts +4 -0
- package/dist/types/components/vviinn-suggestions/helpers.d.ts +5 -0
- package/dist/types/components/vviinn-suggestions/render-helpers.d.ts +60 -0
- package/dist/types/components/vviinn-suggestions/vviinn-suggestions.d.ts +57 -0
- package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +13 -0
- package/dist/types/components.d.ts +54 -0
- package/dist/types/cssParts/index.d.ts +2 -0
- package/dist/types/interfaces/filter.d.ts +1 -0
- package/dist/types/interfaces/generated.d.ts +146 -0
- package/dist/types/interfaces/product.d.ts +4 -0
- package/dist/types/store/search.store.d.ts +15 -12
- package/{www/build/p-8d6587ac.entry.js → dist/vviinn-widgets/p-008576a3.entry.js} +1 -1
- package/{www/build/p-7ebf131a.entry.js → dist/vviinn-widgets/p-2d36232a.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-a16749e4.entry.js → p-768449ea.entry.js} +1 -1
- package/dist/vviinn-widgets/p-8a8f277a.entry.js +1 -0
- package/dist/vviinn-widgets/p-B4e4JwCJ.js +1 -0
- package/dist/vviinn-widgets/{p-B-HTpkVd.js → p-B8mEEFoi.js} +1 -1
- package/dist/vviinn-widgets/p-C8-P6h2G.js +1 -0
- package/dist/vviinn-widgets/{p-gkWCyLkv.js → p-D-87Zosv.js} +1 -1
- package/dist/vviinn-widgets/p-DhcszMa_.js +1 -0
- package/dist/vviinn-widgets/{p-DX9Lm8NL.js → p-Dt8QMtnL.js} +1 -1
- package/dist/vviinn-widgets/{p-BBcb8BSg.js → p-JOyIVa2J.js} +1 -1
- package/dist/vviinn-widgets/p-ce997d12.entry.js +1 -0
- package/dist/vviinn-widgets/p-e743f94f.entry.js +10 -0
- package/dist/vviinn-widgets/{p-eeda6e50.entry.js → p-f1c4f145.entry.js} +1 -1
- package/dist/vviinn-widgets/p-pIqJQfE7.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +2 -1
- package/{dist/vviinn-widgets/p-8d6587ac.entry.js → www/build/p-008576a3.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-7ebf131a.entry.js → www/build/p-2d36232a.entry.js} +1 -1
- package/www/build/p-3e459d51.js +1 -0
- package/www/build/{p-a16749e4.entry.js → p-768449ea.entry.js} +1 -1
- package/www/build/p-8a8f277a.entry.js +1 -0
- package/www/build/p-B4e4JwCJ.js +1 -0
- package/www/build/{p-B-HTpkVd.js → p-B8mEEFoi.js} +1 -1
- package/www/build/p-C8-P6h2G.js +1 -0
- package/www/build/{p-gkWCyLkv.js → p-D-87Zosv.js} +1 -1
- package/www/build/p-DhcszMa_.js +1 -0
- package/www/build/{p-DX9Lm8NL.js → p-Dt8QMtnL.js} +1 -1
- package/www/build/{p-BBcb8BSg.js → p-JOyIVa2J.js} +1 -1
- package/www/build/p-ce997d12.entry.js +1 -0
- package/www/build/p-e743f94f.entry.js +10 -0
- package/www/build/{p-eeda6e50.entry.js → p-f1c4f145.entry.js} +1 -1
- package/www/build/p-pIqJQfE7.js +1 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/vviinn-widgets/p-229bccdd.entry.js +0 -10
- package/dist/vviinn-widgets/p-6f13083c.entry.js +0 -1
- package/dist/vviinn-widgets/p-DHIouHIx.js +0 -1
- package/dist/vviinn-widgets/p-Z6kWax5f.js +0 -1
- package/dist/vviinn-widgets/p-efb4b887.entry.js +0 -1
- package/dist/vviinn-widgets/p-yvJms2U5.js +0 -1
- package/www/build/p-229bccdd.entry.js +0 -10
- package/www/build/p-6f13083c.entry.js +0 -1
- package/www/build/p-DHIouHIx.js +0 -1
- package/www/build/p-Z6kWax5f.js +0 -1
- package/www/build/p-b598df0d.js +0 -1
- package/www/build/p-efb4b887.entry.js +0 -1
- package/www/build/p-yvJms2U5.js +0 -1
- /package/dist/vviinn-widgets/{p-l-vlLk5J.js → p-CVK6UYiH.js} +0 -0
- /package/www/build/{p-l-vlLk5J.js → p-CVK6UYiH.js} +0 -0
|
@@ -93,101 +93,6 @@ const RenderFilterButton = ({ handleSubFilterSelection, value, label, active, se
|
|
|
93
93
|
isRemovable && index.h(FilterIconClose, null))));
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
const isFullRangeInterval = (selectedFilter, interval) => {
|
|
97
|
-
if (selectedFilter.type !== "interval")
|
|
98
|
-
return false;
|
|
99
|
-
const intervalFilter = selectedFilter;
|
|
100
|
-
const fullRange = intervalFilter.full;
|
|
101
|
-
return interval.start === fullRange.start && interval.end === fullRange.end;
|
|
102
|
-
};
|
|
103
|
-
const subFilterSelection = (filters, selectedFilter, filterValue) => {
|
|
104
|
-
var _a, _b, _c;
|
|
105
|
-
const selectedColumn = selectedFilter.column;
|
|
106
|
-
const value = (_b = (_a = filterValue.interval) !== null && _a !== void 0 ? _a : filterValue.value) !== null && _b !== void 0 ? _b : filterValue;
|
|
107
|
-
const index = filters.findIndex(({ column }) => column === selectedColumn);
|
|
108
|
-
if (selectedFilter.type === "interval" && filterValue.interval) {
|
|
109
|
-
const interval = filterValue.interval;
|
|
110
|
-
if (isFullRangeInterval(selectedFilter, interval)) {
|
|
111
|
-
if (index > -1) {
|
|
112
|
-
filters = [
|
|
113
|
-
...filters.filter((filter) => filter.column !== selectedColumn),
|
|
114
|
-
];
|
|
115
|
-
return { filters, action: "deselect" };
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
return { filters: [...filters], action: "deselect" };
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
const valueIndex = (_c = filters[index]) === null || _c === void 0 ? void 0 : _c.values.findIndex((val) => val === value);
|
|
123
|
-
const action = valueIndex == -1 || index == -1 ? "select" : "deselect";
|
|
124
|
-
const pushObject = index === -1 || (selectedFilter === null || selectedFilter === void 0 ? void 0 : selectedFilter.type) === "interval"
|
|
125
|
-
? { column: selectedColumn, values: [] }
|
|
126
|
-
: filters[index];
|
|
127
|
-
if (valueIndex > -1)
|
|
128
|
-
pushObject.values.splice(valueIndex, 1);
|
|
129
|
-
else
|
|
130
|
-
pushObject.values.push(value);
|
|
131
|
-
if (index === -1) {
|
|
132
|
-
filters = [...filters, pushObject];
|
|
133
|
-
if (document.getElementById("filters-footer"))
|
|
134
|
-
document.getElementById("filters-footer").scrollLeft = 0;
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
filters[index] = pushObject;
|
|
138
|
-
if (filters[index].values.length === 0) {
|
|
139
|
-
filters = [...filters.filter((filter) => filters[index] !== filter)];
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
filters = [...filters];
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return { filters, action };
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
const triggerFilter = ({ filterValue, selectedFilter, requestFilters, vviinnFilterTriggered, vviinnFiltersChanged, el, isTriggeredByVpsWidget, }) => {
|
|
149
|
-
const { filters, action } = subFilterSelection(requestFilters, selectedFilter, filterValue);
|
|
150
|
-
vviinnFilterTriggered.emit({
|
|
151
|
-
kind: selectedFilter.column,
|
|
152
|
-
action,
|
|
153
|
-
isTriggeredByVpsWidget,
|
|
154
|
-
value: filterValue,
|
|
155
|
-
filter: selectedFilter,
|
|
156
|
-
});
|
|
157
|
-
vviinnFiltersChanged.emit({
|
|
158
|
-
filters,
|
|
159
|
-
el,
|
|
160
|
-
isTriggeredByVpsWidget,
|
|
161
|
-
});
|
|
162
|
-
return filters;
|
|
163
|
-
};
|
|
164
|
-
const triggerResetFilters = ({ vviinnFilterTriggered, vviinnFiltersChanged, el, isTriggeredByVpsWidget, }) => {
|
|
165
|
-
vviinnFilterTriggered.emit({
|
|
166
|
-
action: "reset",
|
|
167
|
-
isTriggeredByVpsWidget,
|
|
168
|
-
});
|
|
169
|
-
vviinnFiltersChanged &&
|
|
170
|
-
vviinnFiltersChanged.emit({
|
|
171
|
-
filters: [],
|
|
172
|
-
el,
|
|
173
|
-
isTriggeredByVpsWidget,
|
|
174
|
-
});
|
|
175
|
-
};
|
|
176
|
-
const triggerRemoveIntervalFilter = ({ column, requestFilters, el, isTriggeredByVpsWidget, vviinnFilterTriggered, vviinnFiltersChanged, }) => {
|
|
177
|
-
const updatedFilters = requestFilters.filter((filter) => filter.column !== column);
|
|
178
|
-
vviinnFilterTriggered.emit({
|
|
179
|
-
kind: column,
|
|
180
|
-
action: "deselect",
|
|
181
|
-
isTriggeredByVpsWidget,
|
|
182
|
-
});
|
|
183
|
-
vviinnFiltersChanged.emit({
|
|
184
|
-
filters: updatedFilters,
|
|
185
|
-
el,
|
|
186
|
-
isTriggeredByVpsWidget,
|
|
187
|
-
});
|
|
188
|
-
return updatedFilters;
|
|
189
|
-
};
|
|
190
|
-
|
|
191
96
|
exports.FilterIconClose = FilterIconClose;
|
|
192
97
|
exports.RenderFilterButton = RenderFilterButton;
|
|
193
98
|
exports.announceToScreenReader = announceToScreenReader;
|
|
@@ -195,6 +100,3 @@ exports.getIntervalLabel = getIntervalLabel;
|
|
|
195
100
|
exports.getRemoveFilterAriaLabel = getRemoveFilterAriaLabel;
|
|
196
101
|
exports.isPriceFilter = isPriceFilter;
|
|
197
102
|
exports.isSubFilterActive = isSubFilterActive;
|
|
198
|
-
exports.triggerFilter = triggerFilter;
|
|
199
|
-
exports.triggerRemoveIntervalFilter = triggerRemoveIntervalFilter;
|
|
200
|
-
exports.triggerResetFilters = triggerResetFilters;
|
|
@@ -16,7 +16,7 @@ const checkDeviceType = () => {
|
|
|
16
16
|
};
|
|
17
17
|
// Screen size based responsive detection
|
|
18
18
|
const isDesktop = (breakpoint = DEFAULT_BREAKPOINTS.DESKTOP) => {
|
|
19
|
-
if (typeof window ===
|
|
19
|
+
if (typeof window === "undefined")
|
|
20
20
|
return false;
|
|
21
21
|
return window.innerWidth >= breakpoint;
|
|
22
22
|
};
|
|
@@ -27,6 +27,11 @@ const filtersSlotNames = [
|
|
|
27
27
|
"vviinn-image-filter-text",
|
|
28
28
|
"vviinn-crop-filter-text",
|
|
29
29
|
];
|
|
30
|
+
const suggestionsSlotNames = [
|
|
31
|
+
"vviinn-suggestions-title",
|
|
32
|
+
"vviinn-suggestions-description",
|
|
33
|
+
"vviinn-suggestions-icon",
|
|
34
|
+
];
|
|
30
35
|
const productCardSlotNames = [
|
|
31
36
|
"vviinn-basket-button-icon",
|
|
32
37
|
"vviinn-basket-button-text",
|
|
@@ -48,7 +53,12 @@ const renderNamedSlot = (name) => index.h("slot", { name: name });
|
|
|
48
53
|
const getSlotNamesList = (renderType) => {
|
|
49
54
|
switch (renderType) {
|
|
50
55
|
case "search": {
|
|
51
|
-
return [
|
|
56
|
+
return [
|
|
57
|
+
...vpsSlotNames,
|
|
58
|
+
...filtersSlotNames,
|
|
59
|
+
...productCardSlotNames,
|
|
60
|
+
...suggestionsSlotNames,
|
|
61
|
+
];
|
|
52
62
|
}
|
|
53
63
|
case "discovery": {
|
|
54
64
|
return [...vprSlotNames, ...filtersSlotNames, ...productCardSlotNames];
|
|
@@ -100,6 +110,7 @@ const slotChangeListener = (component, element) => {
|
|
|
100
110
|
"VVIINN-TEXT-SEARCH",
|
|
101
111
|
"VVIINN-EXTENDED-FILTERS",
|
|
102
112
|
"VVIINN-SELECTED-FILTERS",
|
|
113
|
+
"VVIINN-SUGGESTIONS",
|
|
103
114
|
].includes(elementTagName);
|
|
104
115
|
const productCardChildrenTags = ["VVIINN-ENERGY-LABEL"];
|
|
105
116
|
const elementsAreDifferent = element !== detail.element;
|
|
@@ -140,6 +140,19 @@ const modalParts = makeExportPartsString([
|
|
|
140
140
|
"close-button",
|
|
141
141
|
"secondary-action",
|
|
142
142
|
]);
|
|
143
|
+
const suggestionsPartsList = [
|
|
144
|
+
"suggestions-container",
|
|
145
|
+
"suggestions-header",
|
|
146
|
+
"suggestions-icon",
|
|
147
|
+
"suggestions-title",
|
|
148
|
+
"suggestions-description",
|
|
149
|
+
"suggestions-wrapper",
|
|
150
|
+
"suggestions-list",
|
|
151
|
+
"suggestion-item",
|
|
152
|
+
"suggestion-link",
|
|
153
|
+
"suggestion-filter-button",
|
|
154
|
+
];
|
|
155
|
+
const suggestionsParts = makeExportPartsString(suggestionsPartsList);
|
|
143
156
|
|
|
144
157
|
exports.carouselParts = carouselParts;
|
|
145
158
|
exports.contentCardParts = contentCardParts;
|
|
@@ -154,3 +167,4 @@ exports.productCardsGridPart = productCardsGridPart;
|
|
|
154
167
|
exports.searchBarParts = searchBarParts;
|
|
155
168
|
exports.searchWidgetButtonParts = searchWidgetButtonParts;
|
|
156
169
|
exports.searchWidgetFilterParts = searchWidgetFilterParts;
|
|
170
|
+
exports.suggestionsParts = suggestionsParts;
|
|
@@ -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-
|
|
4
|
+
var search_store = require('./search.store-Ds1gOlaG.js');
|
|
5
5
|
|
|
6
6
|
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" },
|
|
7
7
|
index.h("path", { d: "M14.6667 17.3333H8.00001C7.62223 17.3333 7.30556 17.2056 7.05001 16.95C6.79445 16.6944 6.66667 16.3778 6.66667 16C6.66667 15.6222 6.79445 15.3056 7.05001 15.05C7.30556 14.7944 7.62223 14.6667 8.00001 14.6667H14.6667V8.00001C14.6667 7.62223 14.7944 7.30556 15.05 7.05001C15.3056 6.79445 15.6222 6.66667 16 6.66667C16.3778 6.66667 16.6944 6.79445 16.95 7.05001C17.2056 7.30556 17.3333 7.62223 17.3333 8.00001V14.6667H24C24.3778 14.6667 24.6944 14.7944 24.95 15.05C25.2056 15.3056 25.3333 15.6222 25.3333 16C25.3333 16.3778 25.2056 16.6944 24.95 16.95C24.6944 17.2056 24.3778 17.3333 24 17.3333H17.3333V24C17.3333 24.3778 17.2056 24.6944 16.95 24.95C16.6944 25.2056 16.3778 25.3333 16 25.3333C15.6222 25.3333 15.3056 25.2056 15.05 24.95C14.7944 24.6944 14.6667 24.3778 14.6667 24V17.3333Z", fill: "currentColor" })));
|
|
@@ -90,10 +90,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
90
90
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
91
91
|
/* webpackMode: "lazy" */
|
|
92
92
|
'./vviinn-button_6.cjs.entry.js')); }).then(processMod, consoleError);
|
|
93
|
-
case 'vviinn-
|
|
93
|
+
case 'vviinn-camera_11.cjs':
|
|
94
94
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
95
95
|
/* webpackMode: "lazy" */
|
|
96
|
-
'./vviinn-
|
|
96
|
+
'./vviinn-camera_11.cjs.entry.js')); }).then(processMod, consoleError);
|
|
97
97
|
case 'vviinn-carousel_10.cjs':
|
|
98
98
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
99
99
|
/* webpackMode: "lazy" */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"imageSrc\":[32],\"intervalCustomFilters\":[32]}]]],[\"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],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"imageRatio\":[2,\"image-ratio\"],\"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\"],\"apiPath\":[1,\"api-path\"],\"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],\"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\"],\"imageRatio\":[2,\"image-ratio\"],\"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\":[1],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"showingInButton\":[4,\"showing-in-button\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]],{\"showMore\":[\"showMoreWatcher\"],\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-filters\",{\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"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],\"currency\":[1],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"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],\"productId\":[1,\"product-id\"],\"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],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32],\"imageLoaded\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]],{\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"productId\":[\"productIdWatcher\"]}],[1,\"vviinn-range-filter\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"intervalChangeHandler\":[16,\"interval-change-handler\"],\"selectedInterval\":[16,\"selected-interval\"],\"showCurrency\":[4,\"show-currency\"],\"scalingFactor\":[32],\"minValue\":[32],\"maxValue\":[32],\"fromValue\":[32],\"toValue\":[32]},null,{\"selectedInterval\":[\"initializeValues\"],\"histogram\":[\"initializeValues\"]}],[1,\"vviinn-image\",{\"src\":[1],\"width\":[2],\"height\":[2],\"aspectRatio\":[2,\"aspect-ratio\"],\"alt\":[1],\"imageTitle\":[1,\"image-title\"],\"responsive\":[4],\"fullHeight\":[4,\"full-height\"],\"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\",{\"imageUrls\":[1,\"image-urls\"],\"height\":[2],\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"campaignId\":[1,\"campaign-id\"],\"locale\":[1],\"apiPath\":[1,\"api-path\"],\"selectedDetectedObject\":[32],\"showModal\":[32],\"currentResultIndex\":[32],\"modalPosition\":[32],\"isSearching\":[32],\"componentToken\":[32],\"isIntersecting\":[32],\"currentImageIndex\":[32],\"totalImages\":[32],\"imageUrlsList\":[32],\"showSliderView\":[32],\"currentProductIndex\":[32],\"currentViewMode\":[32],\"swiperKey\":[32],\"showArrows\":[32],\"isSearchInProgress\":[32],\"rerenderTrigger\":[32]},null,{\"currentViewMode\":[\"onViewModeChange\"]}]]],[\"vviinn-button_6.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"locale\":[1],\"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\"],\"imageRatio\":[2,\"image-ratio\"],\"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\"],\"apiPath\":[1,\"api-path\"],\"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],\"hasTopMargin\":[4,\"has-top-margin\"],\"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],\"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\"],\"imageRatio\":[2,\"image-ratio\"],\"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],\"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\"],\"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\"],\"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],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"showOnFirstScreen\":[4,\"show-on-first-screen\"],\"apiPath\":[1,\"api-path\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16,\"basic-event-data\"],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-camera_10.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"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\"],\"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\"],\"apiPath\":[1,\"api-path\"],\"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],\"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\"],\"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\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"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\",{\"saveImageMode\":[1,\"save-image-mode\"],\"width\":[1026],\"apiPath\":[1,\"api-path\"],\"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\",{\"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],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]},null,{\"srcObject\":[\"handleSrcObjectChange\"]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]},null,{\"position\":[\"positionWatchHandler\"]}],[1,\"vviinn-teaser\"]]]]"), options);
|
|
9
|
+
return index.bootstrapLazy(JSON.parse("[[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"imageSrc\":[32],\"intervalCustomFilters\":[32]}]]],[\"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],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"imageRatio\":[2,\"image-ratio\"],\"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\"],\"apiPath\":[1,\"api-path\"],\"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],\"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\"],\"imageRatio\":[2,\"image-ratio\"],\"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\":[1],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"showingInButton\":[4,\"showing-in-button\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]],{\"showMore\":[\"showMoreWatcher\"],\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-filters\",{\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"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],\"currency\":[1],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"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],\"productId\":[1,\"product-id\"],\"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],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32],\"imageLoaded\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]],{\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"productId\":[\"productIdWatcher\"]}],[1,\"vviinn-range-filter\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"intervalChangeHandler\":[16,\"interval-change-handler\"],\"selectedInterval\":[16,\"selected-interval\"],\"showCurrency\":[4,\"show-currency\"],\"scalingFactor\":[32],\"minValue\":[32],\"maxValue\":[32],\"fromValue\":[32],\"toValue\":[32]},null,{\"selectedInterval\":[\"initializeValues\"],\"histogram\":[\"initializeValues\"]}],[1,\"vviinn-image\",{\"src\":[1],\"width\":[2],\"height\":[2],\"aspectRatio\":[2,\"aspect-ratio\"],\"alt\":[1],\"imageTitle\":[1,\"image-title\"],\"responsive\":[4],\"fullHeight\":[4,\"full-height\"],\"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\",{\"imageUrls\":[1,\"image-urls\"],\"height\":[2],\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"campaignId\":[1,\"campaign-id\"],\"locale\":[1],\"widgetStyle\":[1,\"widget-style\"],\"apiPath\":[1,\"api-path\"],\"selectedDetectedObject\":[32],\"showModal\":[32],\"currentResultIndex\":[32],\"modalPosition\":[32],\"isSearching\":[32],\"componentToken\":[32],\"isIntersecting\":[32],\"currentImageIndex\":[32],\"totalImages\":[32],\"imageUrlsList\":[32],\"showSliderView\":[32],\"currentProductIndex\":[32],\"currentViewMode\":[32],\"swiperKey\":[32],\"showArrows\":[32],\"isSearchInProgress\":[32],\"rerenderTrigger\":[32]},null,{\"currentViewMode\":[\"onViewModeChange\"]}]]],[\"vviinn-button_6.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"locale\":[1],\"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\"],\"imageRatio\":[2,\"image-ratio\"],\"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\"],\"apiPath\":[1,\"api-path\"],\"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],\"hasTopMargin\":[4,\"has-top-margin\"],\"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],\"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\"],\"imageRatio\":[2,\"image-ratio\"],\"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],\"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\"],\"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\"],\"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],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"showOnFirstScreen\":[4,\"show-on-first-screen\"],\"apiPath\":[1,\"api-path\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16,\"basic-event-data\"],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-camera_11.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"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\"],\"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\"],\"apiPath\":[1,\"api-path\"],\"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],\"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\"],\"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\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"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\",{\"saveImageMode\":[1,\"save-image-mode\"],\"width\":[1026],\"apiPath\":[1,\"api-path\"],\"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\",{\"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],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]},null,{\"srcObject\":[\"handleSrcObjectChange\"]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[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;
|
|
@@ -22,8 +22,12 @@ const resources = {
|
|
|
22
22
|
cameraButtonTextStop: "Kamera stoppen",
|
|
23
23
|
privacyBadgeText: `Durch das Hochladen eines Bildes willigst Du in die Verarbeitung durch unseren Partner ${VVIINN_LINK} ein. Das Bild wird nach einer Stunde Inaktivität gelöscht.`,
|
|
24
24
|
teaserText: "Finde Dein Produkt",
|
|
25
|
-
imageSearchModalTitle: "
|
|
25
|
+
imageSearchModalTitle: "KI-Suche",
|
|
26
26
|
textSearchPlaceholder: "mit Text suchen",
|
|
27
|
+
suggestions: {
|
|
28
|
+
title: "KI-Vorschläge",
|
|
29
|
+
description: "Hier sind einige Vorschläge, die Ihnen helfen, das perfekte zu finden.",
|
|
30
|
+
},
|
|
27
31
|
speechRecognition: {
|
|
28
32
|
placeholder: "Aufnahme...",
|
|
29
33
|
tooltip: {
|
|
@@ -140,6 +144,10 @@ const resources = {
|
|
|
140
144
|
teaserText: "Find Your Product",
|
|
141
145
|
imageSearchModalTitle: "AI Search",
|
|
142
146
|
textSearchPlaceholder: "Search by text",
|
|
147
|
+
suggestions: {
|
|
148
|
+
title: "AI Suggestions",
|
|
149
|
+
description: "Here are some suggestions to help you find the perfect match.",
|
|
150
|
+
},
|
|
143
151
|
speechRecognition: {
|
|
144
152
|
placeholder: "Listening...",
|
|
145
153
|
tooltip: {
|
|
@@ -8265,6 +8265,7 @@ const receivedDataDefaults = {
|
|
|
8265
8265
|
sourceProduct: null,
|
|
8266
8266
|
dynamicFilters: [],
|
|
8267
8267
|
detectedObjects: [],
|
|
8268
|
+
stream: null,
|
|
8268
8269
|
};
|
|
8269
8270
|
const storeDefaults = Object.assign(Object.assign(Object.assign({}, appStateGlobalDefaults), appStateDefaults), receivedDataDefaults);
|
|
8270
8271
|
const { state: searchState, onChange: onChangeWidgetState } = store.createStore(storeDefaults);
|
|
@@ -8415,11 +8416,12 @@ const makeTextSearchRequest = async (store$1, query, requestId, resultsCount) =>
|
|
|
8415
8416
|
state.searchStatus = "loading";
|
|
8416
8417
|
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))));
|
|
8417
8418
|
return Option.pipe(getTokenWithBody(store.globalState.token, body), Option.setBodyAndHeaders, Option.fromEither, Option.chain$1((request) => Option.textSearchSessionClient(request)), Option.map((sessionResponse) => {
|
|
8418
|
-
var _a, _b, _c, _d;
|
|
8419
|
+
var _a, _b, _c, _d, _e;
|
|
8419
8420
|
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 : [];
|
|
8420
8421
|
state.textSearchId = sessionResponse.requestId;
|
|
8421
8422
|
state.dynamicFilters =
|
|
8422
8423
|
(_d = (_c = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.interactions) === null || _c === void 0 ? void 0 : _c.dynamicFilters) !== null && _d !== void 0 ? _d : [];
|
|
8424
|
+
state.stream = (_e = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.stream) !== null && _e !== void 0 ? _e : null;
|
|
8423
8425
|
state.searchStatus = "success";
|
|
8424
8426
|
return sessionResponse;
|
|
8425
8427
|
}), Option.mapLeft((error) => {
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const isFullRangeInterval = (selectedFilter, interval) => {
|
|
4
|
+
if (selectedFilter.type !== "interval")
|
|
5
|
+
return false;
|
|
6
|
+
const intervalFilter = selectedFilter;
|
|
7
|
+
const fullRange = intervalFilter.full;
|
|
8
|
+
return interval.start === fullRange.start && interval.end === fullRange.end;
|
|
9
|
+
};
|
|
10
|
+
const subFilterSelection = (filters, selectedFilter, filterValue) => {
|
|
11
|
+
var _a, _b, _c;
|
|
12
|
+
const selectedColumn = selectedFilter.column;
|
|
13
|
+
const value = (_b = (_a = filterValue.interval) !== null && _a !== void 0 ? _a : filterValue.value) !== null && _b !== void 0 ? _b : filterValue;
|
|
14
|
+
const index = filters.findIndex(({ column }) => column === selectedColumn);
|
|
15
|
+
if (selectedFilter.type === "interval" && filterValue.interval) {
|
|
16
|
+
const interval = filterValue.interval;
|
|
17
|
+
if (isFullRangeInterval(selectedFilter, interval)) {
|
|
18
|
+
if (index > -1) {
|
|
19
|
+
filters = [
|
|
20
|
+
...filters.filter((filter) => filter.column !== selectedColumn),
|
|
21
|
+
];
|
|
22
|
+
return { filters, action: "deselect" };
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
return { filters: [...filters], action: "deselect" };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const valueIndex = (_c = filters[index]) === null || _c === void 0 ? void 0 : _c.values.findIndex((val) => val === value);
|
|
30
|
+
const action = valueIndex == -1 || index == -1 ? "select" : "deselect";
|
|
31
|
+
const pushObject = index === -1 || (selectedFilter === null || selectedFilter === void 0 ? void 0 : selectedFilter.type) === "interval"
|
|
32
|
+
? { column: selectedColumn, values: [] }
|
|
33
|
+
: filters[index];
|
|
34
|
+
if (valueIndex > -1)
|
|
35
|
+
pushObject.values.splice(valueIndex, 1);
|
|
36
|
+
else
|
|
37
|
+
pushObject.values.push(value);
|
|
38
|
+
if (index === -1) {
|
|
39
|
+
filters = [...filters, pushObject];
|
|
40
|
+
if (document.getElementById("filters-footer"))
|
|
41
|
+
document.getElementById("filters-footer").scrollLeft = 0;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
filters[index] = pushObject;
|
|
45
|
+
if (filters[index].values.length === 0) {
|
|
46
|
+
filters = [...filters.filter((filter) => filters[index] !== filter)];
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
filters = [...filters];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return { filters, action };
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const triggerFilter = ({ filterValue, selectedFilter, requestFilters, vviinnFilterTriggered, vviinnFiltersChanged, el, isTriggeredByVpsWidget, }) => {
|
|
56
|
+
const { filters, action } = subFilterSelection(requestFilters, selectedFilter, filterValue);
|
|
57
|
+
vviinnFilterTriggered.emit({
|
|
58
|
+
kind: selectedFilter.column,
|
|
59
|
+
action,
|
|
60
|
+
isTriggeredByVpsWidget,
|
|
61
|
+
value: filterValue,
|
|
62
|
+
filter: selectedFilter,
|
|
63
|
+
});
|
|
64
|
+
vviinnFiltersChanged.emit({
|
|
65
|
+
filters,
|
|
66
|
+
el,
|
|
67
|
+
isTriggeredByVpsWidget,
|
|
68
|
+
});
|
|
69
|
+
return filters;
|
|
70
|
+
};
|
|
71
|
+
const triggerResetFilters = ({ vviinnFilterTriggered, vviinnFiltersChanged, el, isTriggeredByVpsWidget, }) => {
|
|
72
|
+
vviinnFilterTriggered.emit({
|
|
73
|
+
action: "reset",
|
|
74
|
+
isTriggeredByVpsWidget,
|
|
75
|
+
});
|
|
76
|
+
vviinnFiltersChanged &&
|
|
77
|
+
vviinnFiltersChanged.emit({
|
|
78
|
+
filters: [],
|
|
79
|
+
el,
|
|
80
|
+
isTriggeredByVpsWidget,
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
const triggerRemoveIntervalFilter = ({ column, requestFilters, el, isTriggeredByVpsWidget, vviinnFilterTriggered, vviinnFiltersChanged, }) => {
|
|
84
|
+
const updatedFilters = requestFilters.filter((filter) => filter.column !== column);
|
|
85
|
+
vviinnFilterTriggered.emit({
|
|
86
|
+
kind: column,
|
|
87
|
+
action: "deselect",
|
|
88
|
+
isTriggeredByVpsWidget,
|
|
89
|
+
});
|
|
90
|
+
vviinnFiltersChanged.emit({
|
|
91
|
+
filters: updatedFilters,
|
|
92
|
+
el,
|
|
93
|
+
isTriggeredByVpsWidget,
|
|
94
|
+
});
|
|
95
|
+
return updatedFilters;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
exports.triggerFilter = triggerFilter;
|
|
99
|
+
exports.triggerRemoveIntervalFilter = triggerRemoveIntervalFilter;
|
|
100
|
+
exports.triggerResetFilters = triggerResetFilters;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-OrE9ITel.js');
|
|
4
4
|
var i18next = require('./i18next-DkN_8H9H.js');
|
|
5
|
-
var customizedSlots = require('./customized-slots-
|
|
6
|
-
var _package = require('./package-
|
|
5
|
+
var customizedSlots = require('./customized-slots-DCm-Mmy6.js');
|
|
6
|
+
var _package = require('./package-CRJpufLd.js');
|
|
7
7
|
var SecondaryActionIcon = require('./SecondaryActionIcon-BZg-ADIW.js');
|
|
8
|
-
var index$1 = require('./index-
|
|
9
|
-
var search_store = require('./search.store-
|
|
8
|
+
var index$1 = require('./index-A-UT7WYI.js');
|
|
9
|
+
var search_store = require('./search.store-Ds1gOlaG.js');
|
|
10
10
|
var constants = require('./constants-BlwqMvns.js');
|
|
11
11
|
var Option = require('./Option-fC918eIO.js');
|
|
12
12
|
var index$2 = require('./index-C7Umv4Cj.js');
|