vviinn-widgets 2.142.1 → 2.142.3
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/{index-5aeee4dd.js → index-5d79410b.js} +1 -1
- package/dist/cjs/index-711d38e6.js +0 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-074270b0.js → package-d13cb205.js} +1 -1
- package/dist/cjs/search-filters_19.cjs.entry.js +107 -94
- package/dist/cjs/{search.store-2527c63a.js → search.store-14aad63f.js} +10 -6
- package/dist/cjs/vviinn-carousel_9.cjs.entry.js +5 -4
- package/dist/cjs/vviinn-preloader.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +12 -6
- package/dist/cjs/vviinn-widgets.cjs.js +1 -1
- package/dist/collection/Image/sizing.js +7 -0
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +2 -1
- package/dist/collection/components/vviinn-cropper/vviinn-cropper.css +46 -6
- package/dist/collection/components/vviinn-cropper/vviinn-cropper.js +137 -46
- package/dist/collection/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.js +78 -15
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +1 -1
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +10 -4
- package/dist/collection/store/search.store.js +2 -4
- package/dist/esm/index-8e1dd483.js +0 -4
- package/dist/esm/{index-57cd80c9.js → index-c4e34346.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-0bd80abb.js → package-92bf31cf.js} +1 -1
- package/dist/esm/search-filters_19.entry.js +108 -95
- package/dist/esm/{search.store-9c7a1035.js → search.store-6a910ac5.js} +10 -5
- package/dist/esm/vviinn-carousel_9.entry.js +5 -4
- package/dist/esm/vviinn-preloader.entry.js +1 -1
- package/dist/esm/vviinn-vps-button.entry.js +1 -1
- package/dist/esm/vviinn-vps-widget.entry.js +12 -6
- package/dist/esm/vviinn-widgets.js +1 -1
- package/dist/types/Image/sizing.d.ts +1 -0
- package/dist/types/components/vviinn-cropper/types.d.ts +1 -7
- package/dist/types/components/vviinn-cropper/vviinn-cropper.d.ts +20 -9
- package/dist/types/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.d.ts +4 -0
- package/dist/types/components.d.ts +18 -26
- package/dist/types/recommendation/events.d.ts +2 -0
- package/dist/types/store/search.store.d.ts +1 -4
- package/dist/vviinn-widgets/p-1091fa40.entry.js +1 -0
- package/dist/vviinn-widgets/{p-5981eae2.entry.js → p-2df495de.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-7dd07471.js → p-37ebfb20.js} +1 -1
- package/dist/vviinn-widgets/p-62a82ec9.entry.js +1 -0
- package/{www/build/p-bf6e514d.js → dist/vviinn-widgets/p-89f3ed68.js} +1 -1
- package/dist/vviinn-widgets/p-a0eef852.entry.js +11 -0
- package/dist/vviinn-widgets/{p-255b5e96.entry.js → p-a7b9dbb0.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-fbe451d5.js → p-d158b8f9.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-1091fa40.entry.js +1 -0
- package/www/build/{p-5981eae2.entry.js → p-2df495de.entry.js} +1 -1
- package/www/build/{p-7dd07471.js → p-37ebfb20.js} +1 -1
- package/www/build/p-62a82ec9.entry.js +1 -0
- package/{dist/vviinn-widgets/p-bf6e514d.js → www/build/p-89f3ed68.js} +1 -1
- package/www/build/p-a0eef852.entry.js +11 -0
- package/www/build/{p-255b5e96.entry.js → p-a7b9dbb0.entry.js} +1 -1
- package/www/build/{p-fbe451d5.js → p-d158b8f9.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/dist/cjs/vviinn-detected-object.cjs.entry.js +0 -57
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -48
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +0 -141
- package/dist/esm/vviinn-detected-object.entry.js +0 -53
- package/dist/types/components/vviinn-image-view/vviinn-image-view.d.ts +0 -23
- package/dist/vviinn-widgets/p-4678c96c.entry.js +0 -11
- package/dist/vviinn-widgets/p-6e684f32.entry.js +0 -1
- package/dist/vviinn-widgets/p-79d806b7.entry.js +0 -1
- package/dist/vviinn-widgets/p-a4b2758a.entry.js +0 -1
- package/www/build/p-4678c96c.entry.js +0 -11
- package/www/build/p-6e684f32.entry.js +0 -1
- package/www/build/p-79d806b7.entry.js +0 -1
- package/www/build/p-a4b2758a.entry.js +0 -1
|
@@ -1737,10 +1737,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1737
1737
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1738
1738
|
/* webpackMode: "lazy" */
|
|
1739
1739
|
'./vviinn-button_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1740
|
-
case 'vviinn-detected-object.cjs':
|
|
1741
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1742
|
-
/* webpackMode: "lazy" */
|
|
1743
|
-
'./vviinn-detected-object.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1744
1740
|
case 'vviinn-preloader.cjs':
|
|
1745
1741
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1746
1742
|
/* webpackMode: "lazy" */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy(JSON.parse("[[\"vviinn-detected-object.cjs\",[[1,\"vviinn-detected-object\",{\"detectedObject\":[16],\"basicEventData\":[16],\"position\":[32]}]]],[\"vviinn-preloader.cjs\",[[1,\"vviinn-preloader\"]]],[\"vviinn-error.cjs\",[[1,\"vviinn-error\"]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"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\"],\"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\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"state\":[32],\"sourceProduct\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"]]],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"search-filters_19.cjs\",[[1,\"vviinn-results\",{\"token\":[1],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"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\"],\"textSearchRequestId\":[1,\"text-search-request-id\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showInWidget\":[4,\"show-in-widget\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"trackingDeactivated\":[1028,\"tracking-deactivated\"],\"resetState\":[16],\"replaceSlotsContentInWidget\":[16],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"recommendations\":[32],\"innerTextSearchQuery\":[32],\"innerTextSearchRequestId\":[32],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"isTextSearch\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"]]],[1,\"vviinn-image-view\",{\"basicEventData\":[16],\"setShowAspectRatioError\":[16],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"url\":[32],\"width\":[32],\"height\":[32],\"cropper\":[32],\"hidePreloader\":[32]}],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"searchQuery\":[1025,\"search-query\"],\"apiPath\":[1,\"api-path\"],\"isLoading\":[32],\"isRecording\":[32],\"showTooltip\":[32]},[[0,\"vviinnImageUploadFinished\",\"imageUploadFinished\"]]],[1,\"vviinn-server-error\",{\"handler\":[16]}],[1,\"vviinn-wrong-format\",{\"handler\":[16]}],[1,\"search-filters\",{\"filter\":[16],\"basicEventData\":[16],\"selectedFilter\":[32],\"hideFilters\":[32]}],[1,\"vviinn-example-image\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16],\"srcObject\":[16],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]}],[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]}],[1,\"vviinn-teaser\"],[1,\"vviinn-vpr-button\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-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\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"appendSidebarTo\":[1,\"append-sidebar-to\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16],\"apiPath\":[1,\"api-path\"],\"targetAppendSidebarTo\":[32]}],[1,\"vviinn-cropper\",{\"basicEventDataString\":[1,\"basic-event-data-string\"],\"detectedObjectsString\":[1,\"detected-objects-string\"],\"url\":[1],\"width\":[2],\"height\":[2],\"detectedObjects\":[32],\"basicEventData\":[32],\"cropper\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"]]],[1,\"vviinn-empty-results\",{\"handler\":[16]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInTextSearch\":[4,\"show-in-text-search\"],\"uploadStartedHandler\":[16]}],[1,\"vviinn-wrong-aspect-ratio\",{\"handler\":[16]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]}],[1,\"vviinn-overlay\"]]],[\"vviinn-vps-widget.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"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\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"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],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"slidePosition\":[32],\"width\":[32],\"wrongImageFormat\":[32],\"trackingDeactivated\":[32],\"stream\":[32],\"cameraInitializing\":[32],\"cameraEnabled\":[32],\"cameraButtonClicked\":[32],\"uploadSource\":[32],\"showAspectRatioError\":[32],\"products\":[32],\"searchQuery\":[32],\"requestId\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"trachSearchAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackFilterSelected\"]]]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"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\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]],[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"filters\":[32],\"requestFilters\":[32]}]]],[\"vviinn-carousel_9.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\"],\"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],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"recommendationsLoading\":[32],\"trackingDeactivated\":[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,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]]],[0,\"vviinn-carousel\",{\"mode\":[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],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16],\"setModeDiscountsArray\":[16],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"setItemsAmount\":[2,\"set-items-amount\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"]]],[1,\"vviinn-extended-filters\",{\"filters\":[1040],\"locale\":[1],\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"currencySign\":[1,\"currency-sign\"],\"innerFilters\":[32],\"selectedFilter\":[32],\"requestFilters\":[32]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"locale\":[1],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"pricePrefix\":[1,\"price-prefix\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"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],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"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\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]]],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16],\"selectedInterval\":[16],\"currencySign\":[1,\"currency-sign\"],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"vviinn-preloader.cjs\",[[1,\"vviinn-preloader\"]]],[\"vviinn-error.cjs\",[[1,\"vviinn-error\"]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"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\"],\"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\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"state\":[32],\"sourceProduct\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"]]],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"search-filters_19.cjs\",[[1,\"vviinn-results\",{\"token\":[1],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"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\"],\"textSearchRequestId\":[1,\"text-search-request-id\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showInWidget\":[4,\"show-in-widget\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"trackingDeactivated\":[1028,\"tracking-deactivated\"],\"resetState\":[16],\"replaceSlotsContentInWidget\":[16],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"recommendations\":[32],\"innerTextSearchQuery\":[32],\"innerTextSearchRequestId\":[32],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"isTextSearch\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"]]],[1,\"vviinn-cropper\",{\"basicEventDataString\":[1,\"basic-event-data-string\"],\"detectedObjectsString\":[1,\"detected-objects-string\"],\"basicEventData\":[1040],\"url\":[1025],\"width\":[1026],\"height\":[1026],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"detectedObjects\":[32],\"cropper\":[32],\"hidePreloader\":[32],\"selectedDetectedObject\":[32],\"imageBounds\":[32],\"searchArea\":[32],\"imageElement\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"searchQuery\":[1025,\"search-query\"],\"apiPath\":[1,\"api-path\"],\"isLoading\":[32],\"isRecording\":[32],\"showTooltip\":[32]},[[0,\"vviinnImageUploadFinished\",\"imageUploadFinished\"]]],[1,\"vviinn-server-error\",{\"handler\":[16]}],[1,\"vviinn-wrong-format\",{\"handler\":[16]}],[1,\"search-filters\",{\"filter\":[16],\"basicEventData\":[16],\"selectedFilter\":[32],\"hideFilters\":[32]}],[1,\"vviinn-example-image\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16],\"srcObject\":[16],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]}],[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]}],[1,\"vviinn-teaser\"],[1,\"vviinn-vpr-button\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-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\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"appendSidebarTo\":[1,\"append-sidebar-to\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16],\"apiPath\":[1,\"api-path\"],\"targetAppendSidebarTo\":[32]}],[1,\"vviinn-empty-results\",{\"handler\":[16]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInTextSearch\":[4,\"show-in-text-search\"],\"uploadStartedHandler\":[16]}],[1,\"vviinn-wrong-aspect-ratio\",{\"handler\":[16]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16],\"selectedDetectedObject\":[16],\"basicEventData\":[16],\"imageBounds\":[16],\"searchArea\":[16],\"position\":[32]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]}],[1,\"vviinn-overlay\"]]],[\"vviinn-vps-widget.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"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\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"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],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"slidePosition\":[32],\"width\":[32],\"wrongImageFormat\":[32],\"trackingDeactivated\":[32],\"stream\":[32],\"cameraInitializing\":[32],\"cameraEnabled\":[32],\"cameraButtonClicked\":[32],\"uploadSource\":[32],\"showAspectRatioError\":[32],\"products\":[32],\"searchQuery\":[32],\"requestId\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"trachSearchAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackFilterSelected\"]]]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"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\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]],[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"filters\":[32],\"requestFilters\":[32]}]]],[\"vviinn-carousel_9.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\"],\"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],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"recommendationsLoading\":[32],\"trackingDeactivated\":[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,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]]],[0,\"vviinn-carousel\",{\"mode\":[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],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16],\"setModeDiscountsArray\":[16],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"setItemsAmount\":[2,\"set-items-amount\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"]]],[1,\"vviinn-extended-filters\",{\"filters\":[1040],\"locale\":[1],\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"currencySign\":[1,\"currency-sign\"],\"innerFilters\":[32],\"selectedFilter\":[32],\"requestFilters\":[32]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"locale\":[1],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"pricePrefix\":[1,\"price-prefix\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"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],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"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\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]]],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16],\"selectedInterval\":[16],\"currencySign\":[1,\"currency-sign\"],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -141,7 +141,7 @@ const slotChangeListener = (component, element) => {
|
|
|
141
141
|
component.connectedCallback.call(component);
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
const version = "2.142.
|
|
144
|
+
const version = "2.142.3";
|
|
145
145
|
|
|
146
146
|
exports.SlotSkeleton = SlotSkeleton;
|
|
147
147
|
exports.campaignTypeNames = campaignTypeNames;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
|
-
const search_store = require('./search.store-
|
|
6
|
+
const search_store = require('./search.store-14aad63f.js');
|
|
7
7
|
const Rectangle = require('./Rectangle-99c25901.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
9
|
-
const _package = require('./package-
|
|
8
|
+
const index$1 = require('./index-5d79410b.js');
|
|
9
|
+
const _package = require('./package-d13cb205.js');
|
|
10
10
|
const index$2 = require('./index-4c9a5dbb.js');
|
|
11
11
|
const index$3 = require('./index-0f1b8791.js');
|
|
12
12
|
const index$4 = require('./index-d5006d29.js');
|
|
@@ -3419,7 +3419,7 @@ var cropper = search_store.createCommonjsModule(function (module, exports) {
|
|
|
3419
3419
|
}));
|
|
3420
3420
|
});
|
|
3421
3421
|
|
|
3422
|
-
const vviinnCropperCss = "
|
|
3422
|
+
const vviinnCropperCss = ":host {\n display: flex;\n justify-content: center;\n background-color: rgba(0, 0, 0, 0.32);\n}\n\n:host(.show-in-widget) {\n min-height: 160px;\n}\n\n:host(.bordered) {\n background-color: transparent;\n border: 1px solid #eaeaea;\n}\n\n@media (max-width: 768px) {\n :host {\n min-height: unset;\n }\n\n :host(.bordered) {\n border: none;\n margin-top: 48px;\n }\n}\n\n.container {\n max-width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.image-preloader {\n background: rgba(0, 0, 0, 0.25);\n border-radius: 4px;\n bottom: 18px;\n right: 18px;\n padding: 4px;\n pointer-events: none;\n color: white;\n position: absolute;\n z-index: 4;\n}\n\nvviinn-preloader {\n --preloader-size: 12px;\n}\n\n.image-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.image-container > img {\n display: block;\n max-width: 100%;\n}\n\n.cropper-container {\n direction: ltr;\n font-size: 0;\n line-height: 0;\n position: relative;\n touch-action: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n\n & img {\n backface-visibility: hidden;\n display: block;\n height: 100%;\n image-orientation: 0deg;\n max-height: none !important;\n max-width: none !important;\n min-height: 0 !important;\n min-width: 0 !important;\n width: 100%;\n }\n}\n\n.cropper-wrap-box,\n.cropper-canvas,\n.cropper-drag-box,\n.cropper-crop-box,\n.cropper-modal {\n bottom: 0;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.cropper-wrap-box,\n.cropper-canvas {\n overflow: hidden;\n}\n\n.cropper-drag-box {\n background-color: #fff;\n opacity: 0;\n}\n\n.cropper-modal {\n background-color: #000;\n opacity: 0.4;\n}\n\n.cropper-view-box {\n display: block;\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n\n.cropper-view-box,\n.cropper-face {\n border-radius: 5px;\n}\n\n.cropper-face,\n.cropper-point {\n display: block;\n height: 100%;\n opacity: 0.1;\n position: absolute;\n width: 100%;\n}\n\n.cropper-face {\n left: 0;\n top: 0;\n}\n\n.cropper-point {\n --cropper-point-width: 44px;\n height: var(--cropper-point-width);\n width: var(--cropper-point-width);\n opacity: 1;\n}\n\n.point-e,\n.point-s,\n.point-w,\n.point-n {\n display: none;\n}\n\n.point-ne,\n.point-nw,\n.point-sw,\n.point-se {\n --delta: -9px;\n}\n\n.point-ne {\n cursor: nesw-resize;\n right: var(--delta);\n top: var(--delta);\n}\n\n.point-nw {\n cursor: nwse-resize;\n left: var(--delta);\n top: var(--delta);\n}\n\n.point-sw {\n cursor: nesw-resize;\n bottom: var(--delta);\n left: var(--delta);\n}\n\n.point-se {\n cursor: nwse-resize;\n bottom: var(--delta);\n right: var(--delta);\n}\n\n.cropper-point::before {\n position: absolute;\n content: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38' fill='none'%3E%3Cpath d='M3 35H23C29.6274 35 35 29.6274 35 23V3' stroke='white' stroke-width='6' stroke-linecap='square'/%3E%3C/svg%3E\");\n display: block;\n pointer-events: none;\n}\n\n.point-ne::before {\n transform: rotate(-90deg);\n left: 0px;\n top: 6px;\n}\n\n.point-nw::before {\n transform: rotate(180deg);\n left: 6px;\n top: 6px;\n}\n\n.point-sw::before {\n transform: rotate(90deg);\n left: 6px;\n top: 0px;\n}\n\n.point-se::before {\n left: 0px;\n top: 0px;\n}\n\n.cropper-invisible {\n opacity: 0;\n}\n\n.cropper-hide {\n display: block;\n height: 0;\n position: absolute;\n width: 0;\n}\n\n.cropper-hidden {\n display: none !important;\n}\n\n.cropper-move {\n cursor: move;\n}\n\n.cropper-crop {\n cursor: crosshair;\n}\n\n.cropper-disabled .cropper-drag-box,\n.cropper-disabled .cropper-face,\n.cropper-disabled .cropper-line,\n.cropper-disabled .cropper-point {\n cursor: not-allowed;\n}\n";
|
|
3423
3423
|
|
|
3424
3424
|
const INITIAL_CROP_AREA = 0.9;
|
|
3425
3425
|
const INITIAL_CROP_AREA_OFFSET = 1 - INITIAL_CROP_AREA;
|
|
@@ -3464,6 +3464,7 @@ const ValidateCropBoxData = (cropBoxData) => {
|
|
|
3464
3464
|
return result;
|
|
3465
3465
|
};
|
|
3466
3466
|
|
|
3467
|
+
const DEFAULT_IMAGE_SIZE = 288;
|
|
3467
3468
|
const VviinnCropper = class {
|
|
3468
3469
|
constructor(hostRef) {
|
|
3469
3470
|
index.registerInstance(this, hostRef);
|
|
@@ -3471,24 +3472,32 @@ const VviinnCropper = class {
|
|
|
3471
3472
|
this.vviinnCropperLoadImage = index.createEvent(this, "vviinnCropperLoadImage", 7);
|
|
3472
3473
|
this.vviinnCropperCropEnd = index.createEvent(this, "vviinnCropperCropEnd", 7);
|
|
3473
3474
|
this.vviinnCropperAspectRatioError = index.createEvent(this, "vviinnCropperAspectRatioError", 7);
|
|
3474
|
-
this.vviinnCropperHidePreloader = index.createEvent(this, "vviinnCropperHidePreloader", 7);
|
|
3475
3475
|
this.cropEnd = () => {
|
|
3476
3476
|
const cropboxData = this.getCropboxData();
|
|
3477
3477
|
this.vviinnCropperCropEnd.emit(cropboxData);
|
|
3478
|
+
this.searchArea = cropboxData;
|
|
3479
|
+
search_store.makeRectangularSearchRequest(this.searchArea, this.imageBounds);
|
|
3480
|
+
this.selectedDetectedObject = undefined;
|
|
3478
3481
|
this.vviinnImageCrop.emit(this.basicEventData);
|
|
3479
3482
|
};
|
|
3483
|
+
this.showPreloader = () => (search_store.searchState.loading || search_store.searchState.objectDetectionInProgress) &&
|
|
3484
|
+
!this.showAspectRatioError &&
|
|
3485
|
+
!this.hidePreloader;
|
|
3480
3486
|
this.basicEventDataString = undefined;
|
|
3481
3487
|
this.detectedObjectsString = undefined;
|
|
3488
|
+
this.basicEventData = undefined;
|
|
3482
3489
|
this.url = undefined;
|
|
3483
3490
|
this.width = undefined;
|
|
3484
3491
|
this.height = undefined;
|
|
3485
|
-
this.
|
|
3486
|
-
this.
|
|
3492
|
+
this.showAspectRatioError = undefined;
|
|
3493
|
+
this.showInWidget = false;
|
|
3494
|
+
this.detectedObjects = [];
|
|
3487
3495
|
this.cropper = null;
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3496
|
+
this.hidePreloader = false;
|
|
3497
|
+
this.selectedDetectedObject = undefined;
|
|
3498
|
+
this.imageBounds = undefined;
|
|
3499
|
+
this.searchArea = undefined;
|
|
3500
|
+
this.imageElement = undefined;
|
|
3492
3501
|
}
|
|
3493
3502
|
connectedCallback() {
|
|
3494
3503
|
this.stringParser(true, true);
|
|
@@ -3507,7 +3516,20 @@ const VviinnCropper = class {
|
|
|
3507
3516
|
this.detectedObjects = JSON.parse(this.detectedObjectsString);
|
|
3508
3517
|
}
|
|
3509
3518
|
}
|
|
3519
|
+
disconnectedCallback() {
|
|
3520
|
+
if (this.cropper)
|
|
3521
|
+
this.cropper.destroy();
|
|
3522
|
+
}
|
|
3523
|
+
componentWillRender() {
|
|
3524
|
+
this.renderImage();
|
|
3525
|
+
//FIXME: #37535
|
|
3526
|
+
if (!this.showInWidget) {
|
|
3527
|
+
this.hidePreloader = true;
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3510
3530
|
selectDetectedObject({ detail }) {
|
|
3531
|
+
this.selectedDetectedObject = detail.detectedObject;
|
|
3532
|
+
this.searchArea = detail.searchArea;
|
|
3511
3533
|
const { top, left, width, height } = detail.detectedObject.value.rectangle;
|
|
3512
3534
|
const data = this.cropper.getImageData();
|
|
3513
3535
|
const cropBoxData = {
|
|
@@ -3528,14 +3550,14 @@ const VviinnCropper = class {
|
|
|
3528
3550
|
};
|
|
3529
3551
|
}
|
|
3530
3552
|
loadImage() {
|
|
3531
|
-
|
|
3532
|
-
if (imageElement) {
|
|
3553
|
+
this.imageElement = this.el.shadowRoot.querySelector("img");
|
|
3554
|
+
if (this.imageElement) {
|
|
3533
3555
|
let data = {};
|
|
3534
3556
|
if (this.cropper) {
|
|
3535
3557
|
data = this.cropper.getData(true);
|
|
3536
3558
|
this.cropper.destroy();
|
|
3537
3559
|
}
|
|
3538
|
-
const imageBounds = Rectangle.fromImage(imageElement);
|
|
3560
|
+
const imageBounds = Rectangle.fromImage(this.imageElement);
|
|
3539
3561
|
const { x, y, width, height } = imageBounds;
|
|
3540
3562
|
const searchArea = {
|
|
3541
3563
|
x,
|
|
@@ -3544,8 +3566,8 @@ const VviinnCropper = class {
|
|
|
3544
3566
|
height: height - height * INITIAL_CROP_AREA_OFFSET,
|
|
3545
3567
|
};
|
|
3546
3568
|
this.vviinnCropperLoadImage.emit({ imageBounds, searchArea });
|
|
3547
|
-
|
|
3548
|
-
|
|
3569
|
+
this.imageBounds = imageBounds;
|
|
3570
|
+
this.searchArea = searchArea;
|
|
3549
3571
|
if (width / height < SUPPORTED_ASPECT_RATIO ||
|
|
3550
3572
|
height / width < SUPPORTED_ASPECT_RATIO) {
|
|
3551
3573
|
this.vviinnCropperAspectRatioError.emit(true);
|
|
@@ -3553,18 +3575,33 @@ const VviinnCropper = class {
|
|
|
3553
3575
|
}
|
|
3554
3576
|
if (width < MIN_IMAGE_SIDE_FOR_CROPPER ||
|
|
3555
3577
|
height < MIN_IMAGE_SIDE_FOR_CROPPER) {
|
|
3556
|
-
this.
|
|
3578
|
+
this.hidePreloader = true;
|
|
3557
3579
|
return;
|
|
3558
3580
|
}
|
|
3559
|
-
this.cropper = new cropper(imageElement, Object.assign(Object.assign({}, cropperOptions), { cropend: this.cropEnd, data }));
|
|
3581
|
+
this.cropper = new cropper(this.imageElement, Object.assign(Object.assign({}, cropperOptions), { cropend: this.cropEnd, data }));
|
|
3560
3582
|
}
|
|
3561
3583
|
}
|
|
3562
|
-
|
|
3563
|
-
|
|
3584
|
+
renderImage() {
|
|
3585
|
+
//FIXME: #37535
|
|
3586
|
+
if (!this.showInWidget)
|
|
3587
|
+
return;
|
|
3588
|
+
const imageUrl = this.showInWidget
|
|
3589
|
+
? search_store.searchState.imageUrl
|
|
3590
|
+
: search_store.Option.some(this.url);
|
|
3591
|
+
const imageElement = this.showInWidget
|
|
3592
|
+
? search_store.searchState.image
|
|
3593
|
+
: search_store.Option.some(this.imageElement);
|
|
3594
|
+
return search_store._function.pipe(search_store.sequenceToOption(imageUrl, imageElement), search_store.Option.map(([url, refImage]) => {
|
|
3595
|
+
const [width, height] = search_store.getImageSizes(refImage, DEFAULT_IMAGE_SIZE);
|
|
3596
|
+
this.width = width;
|
|
3597
|
+
this.height = height;
|
|
3598
|
+
this.url = url;
|
|
3599
|
+
}), search_store.Option.getOrElse(() => null));
|
|
3564
3600
|
}
|
|
3565
3601
|
render() {
|
|
3566
|
-
return (index.h(index.Host,
|
|
3567
|
-
|
|
3602
|
+
return (index.h(index.Host, { class: this.showInWidget ? "show-in-widget" : "" }, index.h("div", { class: "container" }, index.h("div", { class: "image-container", style: { width: `${this.width.toString()}px`, overflow: "hidden" } }, index.h("img", { decoding: "async", width: this.width, height: this.height, src: this.url, draggable: false, onLoad: () => this.loadImage() }), (this.showInWidget
|
|
3603
|
+
? search_store.searchState.detectedObjects
|
|
3604
|
+
: this.detectedObjects).map((object) => (index.h("vviinn-detected-object", { detectedObject: object, selectedDetectedObject: this.selectedDetectedObject, basicEventData: this.basicEventData, imageBounds: this.imageBounds, searchArea: this.searchArea })))), this.showPreloader() ? (index.h("div", { class: "image-preloader" }, index.h("vviinn-preloader", null))) : null)));
|
|
3568
3605
|
}
|
|
3569
3606
|
get el() { return index.getElement(this); }
|
|
3570
3607
|
static get watchers() { return {
|
|
@@ -3574,6 +3611,53 @@ const VviinnCropper = class {
|
|
|
3574
3611
|
};
|
|
3575
3612
|
VviinnCropper.style = vviinnCropperCss;
|
|
3576
3613
|
|
|
3614
|
+
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-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-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-size:155px;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}:host{display:block;position:absolute;left:calc(var(--x-position));top:calc(var(--y-position));z-index:2}: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)}:host::before{--size:36px;border-radius:50%;z-index:0;background:rgba(0, 0, 0, 0.16);-webkit-backdrop-filter:blur(4px);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)}}";
|
|
3615
|
+
|
|
3616
|
+
const VviinnDetectedObject = class {
|
|
3617
|
+
constructor(hostRef) {
|
|
3618
|
+
index.registerInstance(this, hostRef);
|
|
3619
|
+
this.vviinnSelectObject = index.createEvent(this, "vviinnSelectObject", 7);
|
|
3620
|
+
this.detectedObject = undefined;
|
|
3621
|
+
this.selectedDetectedObject = undefined;
|
|
3622
|
+
this.basicEventData = undefined;
|
|
3623
|
+
this.imageBounds = undefined;
|
|
3624
|
+
this.searchArea = undefined;
|
|
3625
|
+
this.position = ["0", "0"];
|
|
3626
|
+
}
|
|
3627
|
+
getObjectPosition() {
|
|
3628
|
+
return search_store._function.pipe(search_store.Option.fromNullable(this.imageBounds), search_store.Option.map((bounds) => {
|
|
3629
|
+
const objectRectangle = Rectangle.fromAlt(search_store.foldValueObject(this.detectedObject).rectangle);
|
|
3630
|
+
const { x, y } = search_store._function.pipe(objectRectangle, Rectangle.scaleWithSized(bounds), Rectangle.center);
|
|
3631
|
+
return [`${x}px`, `${y}px`];
|
|
3632
|
+
}), search_store.Option.getOrElse(() => ["0", "0"]));
|
|
3633
|
+
}
|
|
3634
|
+
selectDetectedObject() {
|
|
3635
|
+
const scaledRect = search_store._function.pipe(search_store.Option.fromNullable(this.imageBounds), search_store.Option.map((bounds) => {
|
|
3636
|
+
const rectangle = search_store.foldValueObject(this.detectedObject).rectangle;
|
|
3637
|
+
const transformedRect = Rectangle.fromAlt(rectangle);
|
|
3638
|
+
return Rectangle.scaleWithSized(bounds)(transformedRect);
|
|
3639
|
+
}), search_store.Option.toNullable);
|
|
3640
|
+
search_store.makeRectangularSearchRequest(this.searchArea, this.imageBounds);
|
|
3641
|
+
this.vviinnSelectObject.emit(Object.assign(Object.assign({}, this.basicEventData), { detectedObject: this.detectedObject, searchArea: scaledRect }));
|
|
3642
|
+
}
|
|
3643
|
+
isActive() {
|
|
3644
|
+
if (!this.detectedObject || !this.selectedDetectedObject)
|
|
3645
|
+
return false;
|
|
3646
|
+
const thisObject = search_store.foldValueObject(this.detectedObject);
|
|
3647
|
+
const savedObject = search_store.foldValueObject(this.selectedDetectedObject);
|
|
3648
|
+
return search_store.detectedObjectEq.equals(thisObject, savedObject);
|
|
3649
|
+
}
|
|
3650
|
+
render() {
|
|
3651
|
+
return (index.h(index.Host, { class: {
|
|
3652
|
+
active: this.isActive(),
|
|
3653
|
+
}, onClick: () => this.selectDetectedObject(), style: {
|
|
3654
|
+
"--x-position": this.getObjectPosition()[0],
|
|
3655
|
+
"--y-position": this.getObjectPosition()[1],
|
|
3656
|
+
} }));
|
|
3657
|
+
}
|
|
3658
|
+
};
|
|
3659
|
+
VviinnDetectedObject.style = vviinnDetectedObjectCss;
|
|
3660
|
+
|
|
3577
3661
|
const VviinnEmptyResults = class {
|
|
3578
3662
|
constructor(hostRef) {
|
|
3579
3663
|
index.registerInstance(this, hostRef);
|
|
@@ -3767,77 +3851,6 @@ const VviinnImageSelector = class {
|
|
|
3767
3851
|
};
|
|
3768
3852
|
VviinnImageSelector.style = vviinnImageSelectorCss;
|
|
3769
3853
|
|
|
3770
|
-
const vviinnImageViewCss = ":host{min-height:160px;display:flex;justify-content:center;background-color:rgba(0, 0, 0, 0.32)}:host(.bordered){background-color:transparent;border:1px solid #eaeaea}@media (max-width: 768px){:host{min-height:unset}:host(.bordered){border:none;margin-top:48px}}.container{max-width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.image-preloader{background:rgba(0, 0, 0, 0.25);border-radius:4px;bottom:18px;right:18px;padding:4px;pointer-events:none;color:white;position:absolute;z-index:4}vviinn-preloader{--preloader-size:12px}";
|
|
3771
|
-
|
|
3772
|
-
const DEFAULT_IMAGE_SIZE = 288;
|
|
3773
|
-
const getImageSizes = (i) => {
|
|
3774
|
-
const dimensions = search_store.dimensionsFromImage(i);
|
|
3775
|
-
const resize = search_store.scaleByLargestSide(DEFAULT_IMAGE_SIZE);
|
|
3776
|
-
const newDimensions = resize(dimensions);
|
|
3777
|
-
const sizes = newDimensions.map((d) => d.size);
|
|
3778
|
-
return [sizes[0], sizes[1]];
|
|
3779
|
-
};
|
|
3780
|
-
const VviinnImageView = class {
|
|
3781
|
-
constructor(hostRef) {
|
|
3782
|
-
index.registerInstance(this, hostRef);
|
|
3783
|
-
this.basicEventData = undefined;
|
|
3784
|
-
this.setShowAspectRatioError = undefined;
|
|
3785
|
-
this.showAspectRatioError = undefined;
|
|
3786
|
-
this.url = undefined;
|
|
3787
|
-
this.width = undefined;
|
|
3788
|
-
this.height = undefined;
|
|
3789
|
-
this.cropper = null;
|
|
3790
|
-
this.hidePreloader = false;
|
|
3791
|
-
}
|
|
3792
|
-
componentWillRender() {
|
|
3793
|
-
this.renderImage();
|
|
3794
|
-
}
|
|
3795
|
-
connectedCallback() {
|
|
3796
|
-
document.addEventListener("vviinnCropperLoadImage", this.vviinnCropperLoadImage);
|
|
3797
|
-
document.addEventListener("vviinnCropperAspectRatioError", this.vviinnCropperAspectRatioError);
|
|
3798
|
-
document.addEventListener("vviinnCropperHidePreloader", this.vviinnCropperHidePreloader);
|
|
3799
|
-
document.addEventListener("vviinnCropperCropEnd", this.vviinnCropperCropEnd);
|
|
3800
|
-
}
|
|
3801
|
-
disconnectedCallback() {
|
|
3802
|
-
document.removeEventListener("vviinnCropperLoadImage", this.vviinnCropperLoadImage);
|
|
3803
|
-
document.removeEventListener("vviinnCropperAspectRatioError", this.vviinnCropperAspectRatioError);
|
|
3804
|
-
document.removeEventListener("vviinnCropperHidePreloader", this.vviinnCropperHidePreloader);
|
|
3805
|
-
document.removeEventListener("vviinnCropperCropEnd", this.vviinnCropperCropEnd);
|
|
3806
|
-
}
|
|
3807
|
-
vviinnCropperLoadImage({ detail }) {
|
|
3808
|
-
search_store.searchState.imageBounds = search_store.Option.some(detail.imageBounds);
|
|
3809
|
-
search_store.searchState.searchArea = search_store.Option.some(detail.searchArea);
|
|
3810
|
-
}
|
|
3811
|
-
vviinnCropperCropEnd({ detail }) {
|
|
3812
|
-
search_store.searchState.searchArea = search_store.Option.some(detail);
|
|
3813
|
-
search_store.makeRectangularSearchRequest();
|
|
3814
|
-
search_store.searchState.detectedObject = undefined;
|
|
3815
|
-
}
|
|
3816
|
-
vviinnCropperAspectRatioError({ detail }) {
|
|
3817
|
-
this.setShowAspectRatioError(detail);
|
|
3818
|
-
this.el.classList.add("bordered");
|
|
3819
|
-
}
|
|
3820
|
-
vviinnCropperHidePreloader({ detail }) {
|
|
3821
|
-
this.el.classList.add("bordered");
|
|
3822
|
-
this.hidePreloader = detail;
|
|
3823
|
-
}
|
|
3824
|
-
renderImage() {
|
|
3825
|
-
return search_store._function.pipe(search_store.sequenceToOption(search_store.searchState.imageUrl, search_store.searchState.image), search_store.Option.map(([url, refImage]) => {
|
|
3826
|
-
const [width, height] = getImageSizes(refImage);
|
|
3827
|
-
this.width = width;
|
|
3828
|
-
this.height = height;
|
|
3829
|
-
this.url = url;
|
|
3830
|
-
}), search_store.Option.getOrElse(() => null));
|
|
3831
|
-
}
|
|
3832
|
-
render() {
|
|
3833
|
-
return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("vviinn-cropper", { width: this.width, height: this.height, url: this.url, detectedObjectsString: JSON.stringify(search_store.searchState.detectedObjects), basicEventDataString: JSON.stringify(this.basicEventData) }), (search_store.searchState.loading || search_store.searchState.objectDetectionInProgress) &&
|
|
3834
|
-
!this.showAspectRatioError &&
|
|
3835
|
-
!this.hidePreloader ? (index.h("div", { class: "image-preloader" }, index.h("vviinn-preloader", null))) : null)));
|
|
3836
|
-
}
|
|
3837
|
-
get el() { return index.getElement(this); }
|
|
3838
|
-
};
|
|
3839
|
-
VviinnImageView.style = vviinnImageViewCss;
|
|
3840
|
-
|
|
3841
3854
|
const vviinnModalCss = ":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--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-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-size:155px;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}:host{background:white;border-radius:var(--modal-border-radius, var(--border-radius-300));box-sizing:border-box;display:grid;grid-template-rows:min-content auto;max-width:960px;overflow:auto;position:relative}.head{font-family:var(--font-family, var(--font-family-base));position:absolute;width:100%;box-sizing:border-box;display:flex;align-items:center;z-index:1;padding:16px}.title{display:flex;align-items:center;transform:translateX(-6px);font-weight:var(--font-weight-600);font-size:18px;line-height:24px;margin:0 auto}.title-image{border-radius:50%;border:1px solid rgb(244, 244, 244);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;margin-right:8px}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:grid;padding:6px;color:#8d8d8d}button:hover{color:#000}@media (max-width: 768px){:host{animation-name:fade-in;animation-duration:0.5s;animation-fill-mode:forwards;border-radius:24px 24px 0 0}:host(.closed){animation-name:fade-out;animation-fill-mode:none}.head{z-index:1}:host(:not(.first-screen)) .head{position:sticky;background:#ffffff}.body{overflow-y:auto}:host(:not(.first-screen)) .body{padding-bottom:160px}.title{color:#161616;display:flex;align-items:center;font-weight:500;font-size:16px;line-height:24px;margin:0 auto}.title-image{border-radius:50%;border:1px solid rgb(244, 244, 244);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;margin-right:8px}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:grid;color:#6f6f6f;padding:0}button:hover{color:#000}:host(.first-screen) button,:host(.first-screen) button:hover{color:white}}@keyframes fade-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fade-out{from{transform:translateY(0)}to{transform:translateY(100%)}}";
|
|
3842
3855
|
|
|
3843
3856
|
const VviinnModal = class {
|
|
@@ -4759,10 +4772,10 @@ const VviinnWrongFormat = class {
|
|
|
4759
4772
|
|
|
4760
4773
|
exports.search_filters = SearchFilters;
|
|
4761
4774
|
exports.vviinn_cropper = VviinnCropper;
|
|
4775
|
+
exports.vviinn_detected_object = VviinnDetectedObject;
|
|
4762
4776
|
exports.vviinn_empty_results = VviinnEmptyResults;
|
|
4763
4777
|
exports.vviinn_example_image = VviinnExampleImage;
|
|
4764
4778
|
exports.vviinn_image_selector = VviinnImageSelector;
|
|
4765
|
-
exports.vviinn_image_view = VviinnImageView;
|
|
4766
4779
|
exports.vviinn_modal = VviinnModal;
|
|
4767
4780
|
exports.vviinn_overlay = VviinnOverlay;
|
|
4768
4781
|
exports.vviinn_overlayed_modal = VviinnOverlayedModal;
|
|
@@ -17148,6 +17148,13 @@ const dimensionsFromImage = (image) => {
|
|
|
17148
17148
|
const { naturalWidth, naturalHeight } = image;
|
|
17149
17149
|
return [makeWidth(naturalWidth), makeHeight(naturalHeight)];
|
|
17150
17150
|
};
|
|
17151
|
+
const getImageSizes = (i, defaultImageSize) => {
|
|
17152
|
+
const dimensions = dimensionsFromImage(i);
|
|
17153
|
+
const resize = scaleByLargestSide(defaultImageSize);
|
|
17154
|
+
const newDimensions = resize(dimensions);
|
|
17155
|
+
const sizes = newDimensions.map((d) => d.size);
|
|
17156
|
+
return [sizes[0], sizes[1]];
|
|
17157
|
+
};
|
|
17151
17158
|
|
|
17152
17159
|
const createCanvasWithContext = () => {
|
|
17153
17160
|
const canvas = document.createElement("canvas");
|
|
@@ -17236,8 +17243,6 @@ const { state, onChange } = createStore({
|
|
|
17236
17243
|
imageWidth: RESIZED_IMAGE_WIDTH,
|
|
17237
17244
|
image: Option.none,
|
|
17238
17245
|
imageUrl: Option.none,
|
|
17239
|
-
imageBounds: Option.none,
|
|
17240
|
-
searchArea: Option.none,
|
|
17241
17246
|
serverError: false,
|
|
17242
17247
|
loading: false,
|
|
17243
17248
|
});
|
|
@@ -17271,9 +17276,9 @@ const uploadHiResFile = async (sessionResponse, file) => {
|
|
|
17271
17276
|
const form = sessionResponse.uploadHighResolutionImage;
|
|
17272
17277
|
await pipe(makeAuthorizedRequest(state.token), fromEither, chainW(formRequest(form, formPayload)))();
|
|
17273
17278
|
};
|
|
17274
|
-
const makeRectangularSearchRequest = async () => {
|
|
17279
|
+
const makeRectangularSearchRequest = async (searchArea, imageBounds) => {
|
|
17275
17280
|
state.loading = true;
|
|
17276
|
-
pipe(sequenceToOption(
|
|
17281
|
+
pipe(sequenceToOption(Option.fromNullable(imageBounds), Option.fromNullable(searchArea)), Option.map(async ([bounds, searchArea]) => {
|
|
17277
17282
|
const scaled = Rectangle.divideOnSized(bounds)(searchArea);
|
|
17278
17283
|
const searchRectangle = {
|
|
17279
17284
|
width: scaled.width,
|
|
@@ -17405,10 +17410,10 @@ exports.commonjsGlobal = commonjsGlobal;
|
|
|
17405
17410
|
exports.createCommonjsModule = createCommonjsModule;
|
|
17406
17411
|
exports.createInitPostRequest = createInitPostRequest;
|
|
17407
17412
|
exports.detectedObjectEq = detectedObjectEq;
|
|
17408
|
-
exports.dimensionsFromImage = dimensionsFromImage;
|
|
17409
17413
|
exports.foldValueObject = foldValueObject;
|
|
17410
17414
|
exports.fromEither = fromEither;
|
|
17411
17415
|
exports.getApiPath = getApiPath;
|
|
17416
|
+
exports.getImageSizes = getImageSizes;
|
|
17412
17417
|
exports.getOrElse = getOrElse$1;
|
|
17413
17418
|
exports.has = has;
|
|
17414
17419
|
exports.makeProductListingPageRequest = makeProductListingPageRequest;
|
|
@@ -17421,7 +17426,6 @@ exports.match = match$1;
|
|
|
17421
17426
|
exports.parseExcludedToParams = parseExcludedToParams;
|
|
17422
17427
|
exports.pipe = pipe;
|
|
17423
17428
|
exports.processSelectedFile = processSelectedFile;
|
|
17424
|
-
exports.scaleByLargestSide = scaleByLargestSide;
|
|
17425
17429
|
exports.searchState = searchState;
|
|
17426
17430
|
exports.sequenceToOption = sequenceToOption;
|
|
17427
17431
|
exports.state = state$1;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
|
-
const search_store = require('./search.store-
|
|
7
|
-
const _package = require('./package-
|
|
6
|
+
const search_store = require('./search.store-14aad63f.js');
|
|
7
|
+
const _package = require('./package-d13cb205.js');
|
|
8
8
|
const index$1 = require('./index-4c9a5dbb.js');
|
|
9
|
-
const index$2 = require('./index-
|
|
9
|
+
const index$2 = require('./index-5d79410b.js');
|
|
10
10
|
const index$3 = require('./index-0f1b8791.js');
|
|
11
11
|
const triggerFilter = require('./triggerFilter-fcab6cac.js');
|
|
12
12
|
const Rectangle = require('./Rectangle-99c25901.js');
|
|
@@ -238,7 +238,8 @@ const VviinnCarousel = class {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
calculateMoveStep() {
|
|
241
|
-
const
|
|
241
|
+
const imageGroups = this.getContent().filter((el) => !el.matches("button"));
|
|
242
|
+
const contentWidths = imageGroups.map((el) => el.getBoundingClientRect().width);
|
|
242
243
|
const sum = contentWidths.reduce((acc, val) => acc + val, 0);
|
|
243
244
|
const contentGap = search_store._function.pipe(window.getComputedStyle(this.getContentNode()), (computedStyle) => computedStyle.getPropertyValue("gap"), (contentGapString) => parseInt(contentGapString.split("px")[0]), (contentGap) => (isNaN(contentGap) ? 0 : contentGap));
|
|
244
245
|
return sum / contentWidths.length + contentGap;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
|
-
const search_store = require('./search.store-
|
|
6
|
+
const search_store = require('./search.store-14aad63f.js');
|
|
7
7
|
require('./Rectangle-99c25901.js');
|
|
8
8
|
|
|
9
9
|
const vviinnPreloaderCss = ":host{--preloader-size:24px;--preloader-width:calc(var(--preloader-size) / 6);transform-origin:center;animation:rotate 3s linear infinite;border:var(--preloader-width) solid currentColor;border-radius:50%;border-top-color:transparent;display:none;outline:0;width:var(--preloader-size);height:var(--preloader-size);box-sizing:border-box}:host(.active){display:flex}@keyframes rotate{from{transform:rotate(-360deg)}to{transform:rotate(360deg)}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
|
-
const _package = require('./package-
|
|
6
|
+
const _package = require('./package-d13cb205.js');
|
|
7
7
|
const SearchModalUploadIcon = require('./SearchModalUploadIcon-23f00a14.js');
|
|
8
8
|
const constants = require('./constants-7684cbfc.js');
|
|
9
9
|
const index$1 = require('./index-d5006d29.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
|
-
const search_store = require('./search.store-
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const _package = require('./package-
|
|
6
|
+
const search_store = require('./search.store-14aad63f.js');
|
|
7
|
+
const index$1 = require('./index-5d79410b.js');
|
|
8
|
+
const _package = require('./package-d13cb205.js');
|
|
9
9
|
const constants = require('./constants-7684cbfc.js');
|
|
10
10
|
const index$3 = require('./index-0f1b8791.js');
|
|
11
11
|
const index$2 = require('./index-d5006d29.js');
|
|
@@ -165,6 +165,10 @@ const VviinnVpsWidget = class {
|
|
|
165
165
|
widgetVersion: _package.version,
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
|
+
this.handleAspectRatioError = ({ detail }) => {
|
|
169
|
+
this.setShowAspectRatioError(detail);
|
|
170
|
+
this.el.classList.add("bordered");
|
|
171
|
+
};
|
|
168
172
|
this.LinkText = ({ href, children }) => {
|
|
169
173
|
return index.h("a", { href: href || "" }, children);
|
|
170
174
|
};
|
|
@@ -318,6 +322,10 @@ const VviinnVpsWidget = class {
|
|
|
318
322
|
this.uiSessionId = index$1.v4();
|
|
319
323
|
this.trackingApi = index$1.createTrackingApi(this.apiPath, this.token);
|
|
320
324
|
this.widgetElementId = this.el.id;
|
|
325
|
+
document.addEventListener("vviinnCropperAspectRatioError", this.handleAspectRatioError);
|
|
326
|
+
}
|
|
327
|
+
disconnectedCallback() {
|
|
328
|
+
document.removeEventListener("vviinnCropperAspectRatioError", this.handleAspectRatioError);
|
|
321
329
|
}
|
|
322
330
|
trackWidgetEvent(action) {
|
|
323
331
|
if (this.trackingDeactivated)
|
|
@@ -368,8 +376,6 @@ const VviinnVpsWidget = class {
|
|
|
368
376
|
search_store.searchState.activeIonLink = undefined;
|
|
369
377
|
search_store.searchState.image = search_store.Option.none;
|
|
370
378
|
search_store.searchState.imageUrl = search_store.Option.none;
|
|
371
|
-
search_store.searchState.imageBounds = search_store.Option.none;
|
|
372
|
-
search_store.searchState.searchArea = search_store.Option.none;
|
|
373
379
|
search_store.searchState.results = [];
|
|
374
380
|
search_store.searchState.filters = [];
|
|
375
381
|
search_store.searchState.dynamicFilters = [];
|
|
@@ -422,7 +428,7 @@ const VviinnVpsWidget = class {
|
|
|
422
428
|
}), class: { invisible: this.haveErrors() } }))), index.h("vviinn-slide", { class: {
|
|
423
429
|
"results-page": true,
|
|
424
430
|
active: this.isResultSlide(),
|
|
425
|
-
} }, this.isResultSlide() && search_store.searchState.searchType === "image" && (index.h("div", { class: "source-wrapper image-wrapper" }, index.h("vviinn-
|
|
431
|
+
} }, this.isResultSlide() && search_store.searchState.searchType === "image" && (index.h("div", { class: "source-wrapper image-wrapper" }, index.h("vviinn-cropper", { basicEventData: this.getBasicEventData(), showAspectRatioError: this.showAspectRatioError, showInWidget: true }), index.h("div", { class: {
|
|
426
432
|
"filters-wrapper": true,
|
|
427
433
|
hidden: this.showAspectRatioError,
|
|
428
434
|
} }, index.h("div", { class: "filters" }, search_store.searchState.filters.map((filter) => (index.h("search-filters", { filter: filter, basicEventData: this.getBasicEventData() }))))))), this.isResultSlide() && search_store.searchState.searchType === "text" && (index.h("div", { class: "source-wrapper text-search-wrapper" }, index.h("vviinn-text-search", { token: this.token, showInWidget: true, searchQuery: this.searchQuery, apiPath: this.apiPath, locale: this.locale }), index.h("div", { class: {
|